1/****************************************************************************
2**
3** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the QtGui module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU Lesser General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU Lesser
20** General Public License version 3 as published by the Free Software
21** Foundation and appearing in the file LICENSE.LGPL3 included in the
22** packaging of this file. Please review the following information to
23** ensure the GNU Lesser General Public License version 3 requirements
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25**
26** GNU General Public License Usage
27** Alternatively, this file may be used under the terms of the GNU
28** General Public License version 2.0 or (at your option) the GNU General
29** Public license version 3 or any later version approved by the KDE Free
30** Qt Foundation. The licenses are as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32** included in the packaging of this file. Please review the following
33** information to ensure the GNU General Public License requirements will
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35** https://www.gnu.org/licenses/gpl-3.0.html.
36**
37** $QT_END_LICENSE$
38**
39**
40** This file was generated by glgen version 0.1
41** Command line was: glgen
42**
43** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
44**
45** This is an auto-generated file.
46** Do not edit! All changes made to it will be lost.
47**
48****************************************************************************/
49
50#ifndef QOPENGLVERSIONFUNCTIONS_2_1_H
51#define QOPENGLVERSIONFUNCTIONS_2_1_H
52
53#include <QtGui/qtguiglobal.h>
54
55#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
56
57#include <QtGui/QOpenGLVersionFunctions>
58#include <QtGui/qopenglcontext.h>
59
60QT_BEGIN_NAMESPACE
61
62class Q_GUI_EXPORT QOpenGLFunctions_2_1 : public QAbstractOpenGLFunctions
63{
64public:
65 QOpenGLFunctions_2_1();
66 ~QOpenGLFunctions_2_1();
67
68 bool initializeOpenGLFunctions() override;
69
70 // OpenGL 1.0 core functions
71 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
72 void glDepthRange(GLdouble nearVal, GLdouble farVal);
73 GLboolean glIsEnabled(GLenum cap);
74 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
75 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
76 void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
77 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
78 void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
79 const GLubyte * glGetString(GLenum name);
80 void glGetIntegerv(GLenum pname, GLint *params);
81 void glGetFloatv(GLenum pname, GLfloat *params);
82 GLenum glGetError();
83 void glGetDoublev(GLenum pname, GLdouble *params);
84 void glGetBooleanv(GLenum pname, GLboolean *params);
85 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
86 void glReadBuffer(GLenum mode);
87 void glPixelStorei(GLenum pname, GLint param);
88 void glPixelStoref(GLenum pname, GLfloat param);
89 void glDepthFunc(GLenum func);
90 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
91 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
92 void glLogicOp(GLenum opcode);
93 void glBlendFunc(GLenum sfactor, GLenum dfactor);
94 void glFlush();
95 void glFinish();
96 void glEnable(GLenum cap);
97 void glDisable(GLenum cap);
98 void glDepthMask(GLboolean flag);
99 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
100 void glStencilMask(GLuint mask);
101 void glClearDepth(GLdouble depth);
102 void glClearStencil(GLint s);
103 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
104 void glClear(GLbitfield mask);
105 void glDrawBuffer(GLenum mode);
106 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
107 void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
108 void glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
109 void glTexParameteri(GLenum target, GLenum pname, GLint param);
110 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
111 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
112 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
113 void glPolygonMode(GLenum face, GLenum mode);
114 void glPointSize(GLfloat size);
115 void glLineWidth(GLfloat width);
116 void glHint(GLenum target, GLenum mode);
117 void glFrontFace(GLenum mode);
118 void glCullFace(GLenum mode);
119
120 // OpenGL 1.1 core functions
121 void glIndexubv(const GLubyte *c);
122 void glIndexub(GLubyte c);
123 GLboolean glIsTexture(GLuint texture);
124 void glGenTextures(GLsizei n, GLuint *textures);
125 void glDeleteTextures(GLsizei n, const GLuint *textures);
126 void glBindTexture(GLenum target, GLuint texture);
127 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
128 void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
129 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
130 void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
131 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
132 void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
133 void glPolygonOffset(GLfloat factor, GLfloat units);
134 void glGetPointerv(GLenum pname, GLvoid* *params);
135 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
136 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
137
138 // OpenGL 1.2 core functions
139 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
140 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
141 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
142 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
143 void glBlendEquation(GLenum mode);
144 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
145
146 // OpenGL 1.3 core functions
147 void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img);
148 void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
149 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
150 void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
151 void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
152 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
153 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
154 void glSampleCoverage(GLfloat value, GLboolean invert);
155 void glActiveTexture(GLenum texture);
156
157 // OpenGL 1.4 core functions
158 void glPointParameteriv(GLenum pname, const GLint *params);
159 void glPointParameteri(GLenum pname, GLint param);
160 void glPointParameterfv(GLenum pname, const GLfloat *params);
161 void glPointParameterf(GLenum pname, GLfloat param);
162 void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
163 void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
164 void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
165
166 // OpenGL 1.5 core functions
167 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params);
168 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
169 GLboolean glUnmapBuffer(GLenum target);
170 GLvoid* glMapBuffer(GLenum target, GLenum access);
171 void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
172 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
173 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
174 GLboolean glIsBuffer(GLuint buffer);
175 void glGenBuffers(GLsizei n, GLuint *buffers);
176 void glDeleteBuffers(GLsizei n, const GLuint *buffers);
177 void glBindBuffer(GLenum target, GLuint buffer);
178 void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params);
179 void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params);
180 void glGetQueryiv(GLenum target, GLenum pname, GLint *params);
181 void glEndQuery(GLenum target);
182 void glBeginQuery(GLenum target, GLuint id);
183 GLboolean glIsQuery(GLuint id);
184 void glDeleteQueries(GLsizei n, const GLuint *ids);
185 void glGenQueries(GLsizei n, GLuint *ids);
186
187 // OpenGL 2.0 core functions
188 void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
189 void glValidateProgram(GLuint program);
190 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
191 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
192 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
193 void glUniform4iv(GLint location, GLsizei count, const GLint *value);
194 void glUniform3iv(GLint location, GLsizei count, const GLint *value);
195 void glUniform2iv(GLint location, GLsizei count, const GLint *value);
196 void glUniform1iv(GLint location, GLsizei count, const GLint *value);
197 void glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
198 void glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
199 void glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
200 void glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
201 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
202 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
203 void glUniform2i(GLint location, GLint v0, GLint v1);
204 void glUniform1i(GLint location, GLint v0);
205 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
206 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
207 void glUniform2f(GLint location, GLfloat v0, GLfloat v1);
208 void glUniform1f(GLint location, GLfloat v0);
209 void glUseProgram(GLuint program);
210 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
211 void glLinkProgram(GLuint program);
212 GLboolean glIsShader(GLuint shader);
213 GLboolean glIsProgram(GLuint program);
214 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer);
215 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
216 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
217 void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params);
218 void glGetUniformiv(GLuint program, GLint location, GLint *params);
219 void glGetUniformfv(GLuint program, GLint location, GLfloat *params);
220 GLint glGetUniformLocation(GLuint program, const GLchar *name);
221 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
222 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
223 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
224 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
225 void glGetProgramiv(GLuint program, GLenum pname, GLint *params);
226 GLint glGetAttribLocation(GLuint program, const GLchar *name);
227 void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
228 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
229 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
230 void glEnableVertexAttribArray(GLuint index);
231 void glDisableVertexAttribArray(GLuint index);
232 void glDetachShader(GLuint program, GLuint shader);
233 void glDeleteShader(GLuint shader);
234 void glDeleteProgram(GLuint program);
235 GLuint glCreateShader(GLenum type);
236 GLuint glCreateProgram();
237 void glCompileShader(GLuint shader);
238 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
239 void glAttachShader(GLuint program, GLuint shader);
240 void glStencilMaskSeparate(GLenum face, GLuint mask);
241 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
242 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
243 void glDrawBuffers(GLsizei n, const GLenum *bufs);
244 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
245
246 // OpenGL 2.1 core functions
247 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
248 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
249 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
250 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
251 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
252 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
253
254 // OpenGL 1.0 deprecated functions
255 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
256 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
257 void glScalef(GLfloat x, GLfloat y, GLfloat z);
258 void glScaled(GLdouble x, GLdouble y, GLdouble z);
259 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
260 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
261 void glPushMatrix();
262 void glPopMatrix();
263 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
264 void glMultMatrixd(const GLdouble *m);
265 void glMultMatrixf(const GLfloat *m);
266 void glMatrixMode(GLenum mode);
267 void glLoadMatrixd(const GLdouble *m);
268 void glLoadMatrixf(const GLfloat *m);
269 void glLoadIdentity();
270 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
271 GLboolean glIsList(GLuint list);
272 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
273 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
274 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
275 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
276 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
277 void glGetPolygonStipple(GLubyte *mask);
278 void glGetPixelMapusv(GLenum map, GLushort *values);
279 void glGetPixelMapuiv(GLenum map, GLuint *values);
280 void glGetPixelMapfv(GLenum map, GLfloat *values);
281 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
282 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
283 void glGetMapiv(GLenum target, GLenum query, GLint *v);
284 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
285 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
286 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
287 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
288 void glGetClipPlane(GLenum plane, GLdouble *equation);
289 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
290 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
291 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
292 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
293 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
294 void glPixelTransferi(GLenum pname, GLint param);
295 void glPixelTransferf(GLenum pname, GLfloat param);
296 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
297 void glAlphaFunc(GLenum func, GLfloat ref);
298 void glEvalPoint2(GLint i, GLint j);
299 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
300 void glEvalPoint1(GLint i);
301 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
302 void glEvalCoord2fv(const GLfloat *u);
303 void glEvalCoord2f(GLfloat u, GLfloat v);
304 void glEvalCoord2dv(const GLdouble *u);
305 void glEvalCoord2d(GLdouble u, GLdouble v);
306 void glEvalCoord1fv(const GLfloat *u);
307 void glEvalCoord1f(GLfloat u);
308 void glEvalCoord1dv(const GLdouble *u);
309 void glEvalCoord1d(GLdouble u);
310 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
311 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
312 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
313 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
314 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
315 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
316 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
317 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
318 void glPushAttrib(GLbitfield mask);
319 void glPopAttrib();
320 void glAccum(GLenum op, GLfloat value);
321 void glIndexMask(GLuint mask);
322 void glClearIndex(GLfloat c);
323 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
324 void glPushName(GLuint name);
325 void glPopName();
326 void glPassThrough(GLfloat token);
327 void glLoadName(GLuint name);
328 void glInitNames();
329 GLint glRenderMode(GLenum mode);
330 void glSelectBuffer(GLsizei size, GLuint *buffer);
331 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
332 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
333 void glTexGeni(GLenum coord, GLenum pname, GLint param);
334 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
335 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
336 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
337 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
338 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
339 void glTexEnvi(GLenum target, GLenum pname, GLint param);
340 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
341 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
342 void glShadeModel(GLenum mode);
343 void glPolygonStipple(const GLubyte *mask);
344 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
345 void glMateriali(GLenum face, GLenum pname, GLint param);
346 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
347 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
348 void glLineStipple(GLint factor, GLushort pattern);
349 void glLightModeliv(GLenum pname, const GLint *params);
350 void glLightModeli(GLenum pname, GLint param);
351 void glLightModelfv(GLenum pname, const GLfloat *params);
352 void glLightModelf(GLenum pname, GLfloat param);
353 void glLightiv(GLenum light, GLenum pname, const GLint *params);
354 void glLighti(GLenum light, GLenum pname, GLint param);
355 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
356 void glLightf(GLenum light, GLenum pname, GLfloat param);
357 void glFogiv(GLenum pname, const GLint *params);
358 void glFogi(GLenum pname, GLint param);
359 void glFogfv(GLenum pname, const GLfloat *params);
360 void glFogf(GLenum pname, GLfloat param);
361 void glColorMaterial(GLenum face, GLenum mode);
362 void glClipPlane(GLenum plane, const GLdouble *equation);
363 void glVertex4sv(const GLshort *v);
364 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
365 void glVertex4iv(const GLint *v);
366 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
367 void glVertex4fv(const GLfloat *v);
368 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
369 void glVertex4dv(const GLdouble *v);
370 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
371 void glVertex3sv(const GLshort *v);
372 void glVertex3s(GLshort x, GLshort y, GLshort z);
373 void glVertex3iv(const GLint *v);
374 void glVertex3i(GLint x, GLint y, GLint z);
375 void glVertex3fv(const GLfloat *v);
376 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
377 void glVertex3dv(const GLdouble *v);
378 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
379 void glVertex2sv(const GLshort *v);
380 void glVertex2s(GLshort x, GLshort y);
381 void glVertex2iv(const GLint *v);
382 void glVertex2i(GLint x, GLint y);
383 void glVertex2fv(const GLfloat *v);
384 void glVertex2f(GLfloat x, GLfloat y);
385 void glVertex2dv(const GLdouble *v);
386 void glVertex2d(GLdouble x, GLdouble y);
387 void glTexCoord4sv(const GLshort *v);
388 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
389 void glTexCoord4iv(const GLint *v);
390 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
391 void glTexCoord4fv(const GLfloat *v);
392 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
393 void glTexCoord4dv(const GLdouble *v);
394 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
395 void glTexCoord3sv(const GLshort *v);
396 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
397 void glTexCoord3iv(const GLint *v);
398 void glTexCoord3i(GLint s, GLint t, GLint r);
399 void glTexCoord3fv(const GLfloat *v);
400 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
401 void glTexCoord3dv(const GLdouble *v);
402 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
403 void glTexCoord2sv(const GLshort *v);
404 void glTexCoord2s(GLshort s, GLshort t);
405 void glTexCoord2iv(const GLint *v);
406 void glTexCoord2i(GLint s, GLint t);
407 void glTexCoord2fv(const GLfloat *v);
408 void glTexCoord2f(GLfloat s, GLfloat t);
409 void glTexCoord2dv(const GLdouble *v);
410 void glTexCoord2d(GLdouble s, GLdouble t);
411 void glTexCoord1sv(const GLshort *v);
412 void glTexCoord1s(GLshort s);
413 void glTexCoord1iv(const GLint *v);
414 void glTexCoord1i(GLint s);
415 void glTexCoord1fv(const GLfloat *v);
416 void glTexCoord1f(GLfloat s);
417 void glTexCoord1dv(const GLdouble *v);
418 void glTexCoord1d(GLdouble s);
419 void glRectsv(const GLshort *v1, const GLshort *v2);
420 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
421 void glRectiv(const GLint *v1, const GLint *v2);
422 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
423 void glRectfv(const GLfloat *v1, const GLfloat *v2);
424 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
425 void glRectdv(const GLdouble *v1, const GLdouble *v2);
426 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
427 void glRasterPos4sv(const GLshort *v);
428 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
429 void glRasterPos4iv(const GLint *v);
430 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
431 void glRasterPos4fv(const GLfloat *v);
432 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
433 void glRasterPos4dv(const GLdouble *v);
434 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
435 void glRasterPos3sv(const GLshort *v);
436 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
437 void glRasterPos3iv(const GLint *v);
438 void glRasterPos3i(GLint x, GLint y, GLint z);
439 void glRasterPos3fv(const GLfloat *v);
440 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
441 void glRasterPos3dv(const GLdouble *v);
442 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
443 void glRasterPos2sv(const GLshort *v);
444 void glRasterPos2s(GLshort x, GLshort y);
445 void glRasterPos2iv(const GLint *v);
446 void glRasterPos2i(GLint x, GLint y);
447 void glRasterPos2fv(const GLfloat *v);
448 void glRasterPos2f(GLfloat x, GLfloat y);
449 void glRasterPos2dv(const GLdouble *v);
450 void glRasterPos2d(GLdouble x, GLdouble y);
451 void glNormal3sv(const GLshort *v);
452 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
453 void glNormal3iv(const GLint *v);
454 void glNormal3i(GLint nx, GLint ny, GLint nz);
455 void glNormal3fv(const GLfloat *v);
456 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
457 void glNormal3dv(const GLdouble *v);
458 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
459 void glNormal3bv(const GLbyte *v);
460 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
461 void glIndexsv(const GLshort *c);
462 void glIndexs(GLshort c);
463 void glIndexiv(const GLint *c);
464 void glIndexi(GLint c);
465 void glIndexfv(const GLfloat *c);
466 void glIndexf(GLfloat c);
467 void glIndexdv(const GLdouble *c);
468 void glIndexd(GLdouble c);
469 void glEnd();
470 void glEdgeFlagv(const GLboolean *flag);
471 void glEdgeFlag(GLboolean flag);
472 void glColor4usv(const GLushort *v);
473 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
474 void glColor4uiv(const GLuint *v);
475 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
476 void glColor4ubv(const GLubyte *v);
477 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
478 void glColor4sv(const GLshort *v);
479 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
480 void glColor4iv(const GLint *v);
481 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
482 void glColor4fv(const GLfloat *v);
483 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
484 void glColor4dv(const GLdouble *v);
485 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
486 void glColor4bv(const GLbyte *v);
487 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
488 void glColor3usv(const GLushort *v);
489 void glColor3us(GLushort red, GLushort green, GLushort blue);
490 void glColor3uiv(const GLuint *v);
491 void glColor3ui(GLuint red, GLuint green, GLuint blue);
492 void glColor3ubv(const GLubyte *v);
493 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
494 void glColor3sv(const GLshort *v);
495 void glColor3s(GLshort red, GLshort green, GLshort blue);
496 void glColor3iv(const GLint *v);
497 void glColor3i(GLint red, GLint green, GLint blue);
498 void glColor3fv(const GLfloat *v);
499 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
500 void glColor3dv(const GLdouble *v);
501 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
502 void glColor3bv(const GLbyte *v);
503 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
504 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
505 void glBegin(GLenum mode);
506 void glListBase(GLuint base);
507 GLuint glGenLists(GLsizei range);
508 void glDeleteLists(GLuint list, GLsizei range);
509 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
510 void glCallList(GLuint list);
511 void glEndList();
512 void glNewList(GLuint list, GLenum mode);
513
514 // OpenGL 1.1 deprecated functions
515 void glPushClientAttrib(GLbitfield mask);
516 void glPopClientAttrib();
517 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
518 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
519 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
520 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
521 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
522 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
523 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
524 void glEnableClientState(GLenum array);
525 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
526 void glDisableClientState(GLenum array);
527 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
528 void glArrayElement(GLint i);
529
530 // OpenGL 1.2 deprecated functions
531 void glResetMinmax(GLenum target);
532 void glResetHistogram(GLenum target);
533 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
534 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
535 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
536 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
537 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
538 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
539 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
540 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
541 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
542 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
543 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
544 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
545 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
546 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
547 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
548 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
549 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
550 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
551 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
552 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
553 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
554 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
555 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
556 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
557 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
558 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
559 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
560 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
561 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
562 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
563
564 // OpenGL 1.3 deprecated functions
565 void glMultTransposeMatrixd(const GLdouble *m);
566 void glMultTransposeMatrixf(const GLfloat *m);
567 void glLoadTransposeMatrixd(const GLdouble *m);
568 void glLoadTransposeMatrixf(const GLfloat *m);
569 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
570 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
571 void glMultiTexCoord4iv(GLenum target, const GLint *v);
572 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
573 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
574 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
575 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
576 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
577 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
578 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
579 void glMultiTexCoord3iv(GLenum target, const GLint *v);
580 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
581 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
582 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
583 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
584 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
585 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
586 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
587 void glMultiTexCoord2iv(GLenum target, const GLint *v);
588 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
589 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
590 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
591 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
592 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
593 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
594 void glMultiTexCoord1s(GLenum target, GLshort s);
595 void glMultiTexCoord1iv(GLenum target, const GLint *v);
596 void glMultiTexCoord1i(GLenum target, GLint s);
597 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
598 void glMultiTexCoord1f(GLenum target, GLfloat s);
599 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
600 void glMultiTexCoord1d(GLenum target, GLdouble s);
601 void glClientActiveTexture(GLenum texture);
602
603 // OpenGL 1.4 deprecated functions
604 void glWindowPos3sv(const GLshort *v);
605 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
606 void glWindowPos3iv(const GLint *v);
607 void glWindowPos3i(GLint x, GLint y, GLint z);
608 void glWindowPos3fv(const GLfloat *v);
609 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
610 void glWindowPos3dv(const GLdouble *v);
611 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
612 void glWindowPos2sv(const GLshort *v);
613 void glWindowPos2s(GLshort x, GLshort y);
614 void glWindowPos2iv(const GLint *v);
615 void glWindowPos2i(GLint x, GLint y);
616 void glWindowPos2fv(const GLfloat *v);
617 void glWindowPos2f(GLfloat x, GLfloat y);
618 void glWindowPos2dv(const GLdouble *v);
619 void glWindowPos2d(GLdouble x, GLdouble y);
620 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
621 void glSecondaryColor3usv(const GLushort *v);
622 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
623 void glSecondaryColor3uiv(const GLuint *v);
624 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
625 void glSecondaryColor3ubv(const GLubyte *v);
626 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
627 void glSecondaryColor3sv(const GLshort *v);
628 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
629 void glSecondaryColor3iv(const GLint *v);
630 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
631 void glSecondaryColor3fv(const GLfloat *v);
632 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
633 void glSecondaryColor3dv(const GLdouble *v);
634 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
635 void glSecondaryColor3bv(const GLbyte *v);
636 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
637 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
638 void glFogCoorddv(const GLdouble *coord);
639 void glFogCoordd(GLdouble coord);
640 void glFogCoordfv(const GLfloat *coord);
641 void glFogCoordf(GLfloat coord);
642
643 // OpenGL 1.5 deprecated functions
644
645 // OpenGL 2.0 deprecated functions
646 void glVertexAttrib4usv(GLuint index, const GLushort *v);
647 void glVertexAttrib4uiv(GLuint index, const GLuint *v);
648 void glVertexAttrib4ubv(GLuint index, const GLubyte *v);
649 void glVertexAttrib4sv(GLuint index, const GLshort *v);
650 void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
651 void glVertexAttrib4iv(GLuint index, const GLint *v);
652 void glVertexAttrib4fv(GLuint index, const GLfloat *v);
653 void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
654 void glVertexAttrib4dv(GLuint index, const GLdouble *v);
655 void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
656 void glVertexAttrib4bv(GLuint index, const GLbyte *v);
657 void glVertexAttrib4Nusv(GLuint index, const GLushort *v);
658 void glVertexAttrib4Nuiv(GLuint index, const GLuint *v);
659 void glVertexAttrib4Nubv(GLuint index, const GLubyte *v);
660 void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
661 void glVertexAttrib4Nsv(GLuint index, const GLshort *v);
662 void glVertexAttrib4Niv(GLuint index, const GLint *v);
663 void glVertexAttrib4Nbv(GLuint index, const GLbyte *v);
664 void glVertexAttrib3sv(GLuint index, const GLshort *v);
665 void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
666 void glVertexAttrib3fv(GLuint index, const GLfloat *v);
667 void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z);
668 void glVertexAttrib3dv(GLuint index, const GLdouble *v);
669 void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
670 void glVertexAttrib2sv(GLuint index, const GLshort *v);
671 void glVertexAttrib2s(GLuint index, GLshort x, GLshort y);
672 void glVertexAttrib2fv(GLuint index, const GLfloat *v);
673 void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y);
674 void glVertexAttrib2dv(GLuint index, const GLdouble *v);
675 void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
676 void glVertexAttrib1sv(GLuint index, const GLshort *v);
677 void glVertexAttrib1s(GLuint index, GLshort x);
678 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
679 void glVertexAttrib1f(GLuint index, GLfloat x);
680 void glVertexAttrib1dv(GLuint index, const GLdouble *v);
681 void glVertexAttrib1d(GLuint index, GLdouble x);
682
683 // OpenGL 2.1 deprecated functions
684
685private:
686 friend class QOpenGLContext;
687
688 static bool isContextCompatible(QOpenGLContext *context);
689 static QOpenGLVersionProfile versionProfile();
690
691 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
692 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
693 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
694 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
695 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
696 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
697 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
698 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
699 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
700 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
701 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
702 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
703 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
704 void *m_reserved_2_0_Deprecated; // To maintain BC
705};
706
707// OpenGL 1.0 core functions
708inline void QOpenGLFunctions_2_1::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
709{
710 d_1_0_Core->f.Viewport(x, y, width, height);
711}
712
713inline void QOpenGLFunctions_2_1::glDepthRange(GLdouble nearVal, GLdouble farVal)
714{
715 d_1_0_Core->f.DepthRange(nearVal, farVal);
716}
717
718inline GLboolean QOpenGLFunctions_2_1::glIsEnabled(GLenum cap)
719{
720 return d_1_0_Core->f.IsEnabled(cap);
721}
722
723inline void QOpenGLFunctions_2_1::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
724{
725 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
726}
727
728inline void QOpenGLFunctions_2_1::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
729{
730 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
731}
732
733inline void QOpenGLFunctions_2_1::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
734{
735 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
736}
737
738inline void QOpenGLFunctions_2_1::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
739{
740 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
741}
742
743inline void QOpenGLFunctions_2_1::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
744{
745 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
746}
747
748inline const GLubyte * QOpenGLFunctions_2_1::glGetString(GLenum name)
749{
750 return d_1_0_Core->f.GetString(name);
751}
752
753inline void QOpenGLFunctions_2_1::glGetIntegerv(GLenum pname, GLint *params)
754{
755 d_1_0_Core->f.GetIntegerv(pname, params);
756}
757
758inline void QOpenGLFunctions_2_1::glGetFloatv(GLenum pname, GLfloat *params)
759{
760 d_1_0_Core->f.GetFloatv(pname, params);
761}
762
763inline GLenum QOpenGLFunctions_2_1::glGetError()
764{
765 return d_1_0_Core->f.GetError();
766}
767
768inline void QOpenGLFunctions_2_1::glGetDoublev(GLenum pname, GLdouble *params)
769{
770 d_1_0_Core->f.GetDoublev(pname, params);
771}
772
773inline void QOpenGLFunctions_2_1::glGetBooleanv(GLenum pname, GLboolean *params)
774{
775 d_1_0_Core->f.GetBooleanv(pname, params);
776}
777
778inline void QOpenGLFunctions_2_1::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
779{
780 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
781}
782
783inline void QOpenGLFunctions_2_1::glReadBuffer(GLenum mode)
784{
785 d_1_0_Core->f.ReadBuffer(mode);
786}
787
788inline void QOpenGLFunctions_2_1::glPixelStorei(GLenum pname, GLint param)
789{
790 d_1_0_Core->f.PixelStorei(pname, param);
791}
792
793inline void QOpenGLFunctions_2_1::glPixelStoref(GLenum pname, GLfloat param)
794{
795 d_1_0_Core->f.PixelStoref(pname, param);
796}
797
798inline void QOpenGLFunctions_2_1::glDepthFunc(GLenum func)
799{
800 d_1_0_Core->f.DepthFunc(func);
801}
802
803inline void QOpenGLFunctions_2_1::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
804{
805 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
806}
807
808inline void QOpenGLFunctions_2_1::glStencilFunc(GLenum func, GLint ref, GLuint mask)
809{
810 d_1_0_Core->f.StencilFunc(func, ref, mask);
811}
812
813inline void QOpenGLFunctions_2_1::glLogicOp(GLenum opcode)
814{
815 d_1_0_Core->f.LogicOp(opcode);
816}
817
818inline void QOpenGLFunctions_2_1::glBlendFunc(GLenum sfactor, GLenum dfactor)
819{
820 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
821}
822
823inline void QOpenGLFunctions_2_1::glFlush()
824{
825 d_1_0_Core->f.Flush();
826}
827
828inline void QOpenGLFunctions_2_1::glFinish()
829{
830 d_1_0_Core->f.Finish();
831}
832
833inline void QOpenGLFunctions_2_1::glEnable(GLenum cap)
834{
835 d_1_0_Core->f.Enable(cap);
836}
837
838inline void QOpenGLFunctions_2_1::glDisable(GLenum cap)
839{
840 d_1_0_Core->f.Disable(cap);
841}
842
843inline void QOpenGLFunctions_2_1::glDepthMask(GLboolean flag)
844{
845 d_1_0_Core->f.DepthMask(flag);
846}
847
848inline void QOpenGLFunctions_2_1::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
849{
850 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
851}
852
853inline void QOpenGLFunctions_2_1::glStencilMask(GLuint mask)
854{
855 d_1_0_Core->f.StencilMask(mask);
856}
857
858inline void QOpenGLFunctions_2_1::glClearDepth(GLdouble depth)
859{
860 d_1_0_Core->f.ClearDepth(depth);
861}
862
863inline void QOpenGLFunctions_2_1::glClearStencil(GLint s)
864{
865 d_1_0_Core->f.ClearStencil(s);
866}
867
868inline void QOpenGLFunctions_2_1::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
869{
870 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
871}
872
873inline void QOpenGLFunctions_2_1::glClear(GLbitfield mask)
874{
875 d_1_0_Core->f.Clear(mask);
876}
877
878inline void QOpenGLFunctions_2_1::glDrawBuffer(GLenum mode)
879{
880 d_1_0_Core->f.DrawBuffer(mode);
881}
882
883inline void QOpenGLFunctions_2_1::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
884{
885 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
886}
887
888inline void QOpenGLFunctions_2_1::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
889{
890 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
891}
892
893inline void QOpenGLFunctions_2_1::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
894{
895 d_1_0_Core->f.TexParameteriv(target, pname, params);
896}
897
898inline void QOpenGLFunctions_2_1::glTexParameteri(GLenum target, GLenum pname, GLint param)
899{
900 d_1_0_Core->f.TexParameteri(target, pname, param);
901}
902
903inline void QOpenGLFunctions_2_1::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
904{
905 d_1_0_Core->f.TexParameterfv(target, pname, params);
906}
907
908inline void QOpenGLFunctions_2_1::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
909{
910 d_1_0_Core->f.TexParameterf(target, pname, param);
911}
912
913inline void QOpenGLFunctions_2_1::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
914{
915 d_1_0_Core->f.Scissor(x, y, width, height);
916}
917
918inline void QOpenGLFunctions_2_1::glPolygonMode(GLenum face, GLenum mode)
919{
920 d_1_0_Core->f.PolygonMode(face, mode);
921}
922
923inline void QOpenGLFunctions_2_1::glPointSize(GLfloat size)
924{
925 d_1_0_Core->f.PointSize(size);
926}
927
928inline void QOpenGLFunctions_2_1::glLineWidth(GLfloat width)
929{
930 d_1_0_Core->f.LineWidth(width);
931}
932
933inline void QOpenGLFunctions_2_1::glHint(GLenum target, GLenum mode)
934{
935 d_1_0_Core->f.Hint(target, mode);
936}
937
938inline void QOpenGLFunctions_2_1::glFrontFace(GLenum mode)
939{
940 d_1_0_Core->f.FrontFace(mode);
941}
942
943inline void QOpenGLFunctions_2_1::glCullFace(GLenum mode)
944{
945 d_1_0_Core->f.CullFace(mode);
946}
947
948
949// OpenGL 1.1 core functions
950inline void QOpenGLFunctions_2_1::glIndexubv(const GLubyte *c)
951{
952 d_1_1_Deprecated->f.Indexubv(c);
953}
954
955inline void QOpenGLFunctions_2_1::glIndexub(GLubyte c)
956{
957 d_1_1_Deprecated->f.Indexub(c);
958}
959
960inline GLboolean QOpenGLFunctions_2_1::glIsTexture(GLuint texture)
961{
962 return d_1_1_Core->f.IsTexture(texture);
963}
964
965inline void QOpenGLFunctions_2_1::glGenTextures(GLsizei n, GLuint *textures)
966{
967 d_1_1_Core->f.GenTextures(n, textures);
968}
969
970inline void QOpenGLFunctions_2_1::glDeleteTextures(GLsizei n, const GLuint *textures)
971{
972 d_1_1_Core->f.DeleteTextures(n, textures);
973}
974
975inline void QOpenGLFunctions_2_1::glBindTexture(GLenum target, GLuint texture)
976{
977 d_1_1_Core->f.BindTexture(target, texture);
978}
979
980inline void QOpenGLFunctions_2_1::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
981{
982 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
983}
984
985inline void QOpenGLFunctions_2_1::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
986{
987 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
988}
989
990inline void QOpenGLFunctions_2_1::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
991{
992 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
993}
994
995inline void QOpenGLFunctions_2_1::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
996{
997 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
998}
999
1000inline void QOpenGLFunctions_2_1::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
1001{
1002 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
1003}
1004
1005inline void QOpenGLFunctions_2_1::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
1006{
1007 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
1008}
1009
1010inline void QOpenGLFunctions_2_1::glPolygonOffset(GLfloat factor, GLfloat units)
1011{
1012 d_1_1_Core->f.PolygonOffset(factor, units);
1013}
1014
1015inline void QOpenGLFunctions_2_1::glGetPointerv(GLenum pname, GLvoid* *params)
1016{
1017 d_1_1_Deprecated->f.GetPointerv(pname, params);
1018}
1019
1020inline void QOpenGLFunctions_2_1::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1021{
1022 d_1_1_Core->f.DrawElements(mode, count, type, indices);
1023}
1024
1025inline void QOpenGLFunctions_2_1::glDrawArrays(GLenum mode, GLint first, GLsizei count)
1026{
1027 d_1_1_Core->f.DrawArrays(mode, first, count);
1028}
1029
1030
1031// OpenGL 1.2 core functions
1032inline void QOpenGLFunctions_2_1::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1033{
1034 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1035}
1036
1037inline void QOpenGLFunctions_2_1::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
1038{
1039 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1040}
1041
1042inline void QOpenGLFunctions_2_1::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1043{
1044 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
1045}
1046
1047inline void QOpenGLFunctions_2_1::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
1048{
1049 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
1050}
1051
1052inline void QOpenGLFunctions_2_1::glBlendEquation(GLenum mode)
1053{
1054 d_1_2_Core->f.BlendEquation(mode);
1055}
1056
1057inline void QOpenGLFunctions_2_1::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1058{
1059 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
1060}
1061
1062
1063// OpenGL 1.3 core functions
1064inline void QOpenGLFunctions_2_1::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
1065{
1066 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
1067}
1068
1069inline void QOpenGLFunctions_2_1::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
1070{
1071 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
1072}
1073
1074inline void QOpenGLFunctions_2_1::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
1075{
1076 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
1077}
1078
1079inline void QOpenGLFunctions_2_1::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
1080{
1081 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
1082}
1083
1084inline void QOpenGLFunctions_2_1::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
1085{
1086 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
1087}
1088
1089inline void QOpenGLFunctions_2_1::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
1090{
1091 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
1092}
1093
1094inline void QOpenGLFunctions_2_1::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
1095{
1096 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
1097}
1098
1099inline void QOpenGLFunctions_2_1::glSampleCoverage(GLfloat value, GLboolean invert)
1100{
1101 d_1_3_Core->f.SampleCoverage(value, invert);
1102}
1103
1104inline void QOpenGLFunctions_2_1::glActiveTexture(GLenum texture)
1105{
1106 d_1_3_Core->f.ActiveTexture(texture);
1107}
1108
1109
1110// OpenGL 1.4 core functions
1111inline void QOpenGLFunctions_2_1::glPointParameteriv(GLenum pname, const GLint *params)
1112{
1113 d_1_4_Core->f.PointParameteriv(pname, params);
1114}
1115
1116inline void QOpenGLFunctions_2_1::glPointParameteri(GLenum pname, GLint param)
1117{
1118 d_1_4_Core->f.PointParameteri(pname, param);
1119}
1120
1121inline void QOpenGLFunctions_2_1::glPointParameterfv(GLenum pname, const GLfloat *params)
1122{
1123 d_1_4_Core->f.PointParameterfv(pname, params);
1124}
1125
1126inline void QOpenGLFunctions_2_1::glPointParameterf(GLenum pname, GLfloat param)
1127{
1128 d_1_4_Core->f.PointParameterf(pname, param);
1129}
1130
1131inline void QOpenGLFunctions_2_1::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
1132{
1133 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1134}
1135
1136inline void QOpenGLFunctions_2_1::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1137{
1138 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1139}
1140
1141inline void QOpenGLFunctions_2_1::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1142{
1143 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1144}
1145
1146
1147// OpenGL 1.5 core functions
1148inline void QOpenGLFunctions_2_1::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
1149{
1150 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
1151}
1152
1153inline void QOpenGLFunctions_2_1::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
1154{
1155 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
1156}
1157
1158inline GLboolean QOpenGLFunctions_2_1::glUnmapBuffer(GLenum target)
1159{
1160 return d_1_5_Core->f.UnmapBuffer(target);
1161}
1162
1163inline GLvoid* QOpenGLFunctions_2_1::glMapBuffer(GLenum target, GLenum access)
1164{
1165 return d_1_5_Core->f.MapBuffer(target, access);
1166}
1167
1168inline void QOpenGLFunctions_2_1::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
1169{
1170 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
1171}
1172
1173inline void QOpenGLFunctions_2_1::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
1174{
1175 d_1_5_Core->f.BufferSubData(target, offset, size, data);
1176}
1177
1178inline void QOpenGLFunctions_2_1::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1179{
1180 d_1_5_Core->f.BufferData(target, size, data, usage);
1181}
1182
1183inline GLboolean QOpenGLFunctions_2_1::glIsBuffer(GLuint buffer)
1184{
1185 return d_1_5_Core->f.IsBuffer(buffer);
1186}
1187
1188inline void QOpenGLFunctions_2_1::glGenBuffers(GLsizei n, GLuint *buffers)
1189{
1190 d_1_5_Core->f.GenBuffers(n, buffers);
1191}
1192
1193inline void QOpenGLFunctions_2_1::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1194{
1195 d_1_5_Core->f.DeleteBuffers(n, buffers);
1196}
1197
1198inline void QOpenGLFunctions_2_1::glBindBuffer(GLenum target, GLuint buffer)
1199{
1200 d_1_5_Core->f.BindBuffer(target, buffer);
1201}
1202
1203inline void QOpenGLFunctions_2_1::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1204{
1205 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1206}
1207
1208inline void QOpenGLFunctions_2_1::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1209{
1210 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1211}
1212
1213inline void QOpenGLFunctions_2_1::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1214{
1215 d_1_5_Core->f.GetQueryiv(target, pname, params);
1216}
1217
1218inline void QOpenGLFunctions_2_1::glEndQuery(GLenum target)
1219{
1220 d_1_5_Core->f.EndQuery(target);
1221}
1222
1223inline void QOpenGLFunctions_2_1::glBeginQuery(GLenum target, GLuint id)
1224{
1225 d_1_5_Core->f.BeginQuery(target, id);
1226}
1227
1228inline GLboolean QOpenGLFunctions_2_1::glIsQuery(GLuint id)
1229{
1230 return d_1_5_Core->f.IsQuery(id);
1231}
1232
1233inline void QOpenGLFunctions_2_1::glDeleteQueries(GLsizei n, const GLuint *ids)
1234{
1235 d_1_5_Core->f.DeleteQueries(n, ids);
1236}
1237
1238inline void QOpenGLFunctions_2_1::glGenQueries(GLsizei n, GLuint *ids)
1239{
1240 d_1_5_Core->f.GenQueries(n, ids);
1241}
1242
1243
1244// OpenGL 2.0 core functions
1245inline void QOpenGLFunctions_2_1::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1246{
1247 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1248}
1249
1250inline void QOpenGLFunctions_2_1::glValidateProgram(GLuint program)
1251{
1252 d_2_0_Core->f.ValidateProgram(program);
1253}
1254
1255inline void QOpenGLFunctions_2_1::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1256{
1257 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1258}
1259
1260inline void QOpenGLFunctions_2_1::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1261{
1262 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1263}
1264
1265inline void QOpenGLFunctions_2_1::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1266{
1267 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1268}
1269
1270inline void QOpenGLFunctions_2_1::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1271{
1272 d_2_0_Core->f.Uniform4iv(location, count, value);
1273}
1274
1275inline void QOpenGLFunctions_2_1::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1276{
1277 d_2_0_Core->f.Uniform3iv(location, count, value);
1278}
1279
1280inline void QOpenGLFunctions_2_1::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1281{
1282 d_2_0_Core->f.Uniform2iv(location, count, value);
1283}
1284
1285inline void QOpenGLFunctions_2_1::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1286{
1287 d_2_0_Core->f.Uniform1iv(location, count, value);
1288}
1289
1290inline void QOpenGLFunctions_2_1::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1291{
1292 d_2_0_Core->f.Uniform4fv(location, count, value);
1293}
1294
1295inline void QOpenGLFunctions_2_1::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1296{
1297 d_2_0_Core->f.Uniform3fv(location, count, value);
1298}
1299
1300inline void QOpenGLFunctions_2_1::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1301{
1302 d_2_0_Core->f.Uniform2fv(location, count, value);
1303}
1304
1305inline void QOpenGLFunctions_2_1::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1306{
1307 d_2_0_Core->f.Uniform1fv(location, count, value);
1308}
1309
1310inline void QOpenGLFunctions_2_1::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1311{
1312 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1313}
1314
1315inline void QOpenGLFunctions_2_1::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1316{
1317 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1318}
1319
1320inline void QOpenGLFunctions_2_1::glUniform2i(GLint location, GLint v0, GLint v1)
1321{
1322 d_2_0_Core->f.Uniform2i(location, v0, v1);
1323}
1324
1325inline void QOpenGLFunctions_2_1::glUniform1i(GLint location, GLint v0)
1326{
1327 d_2_0_Core->f.Uniform1i(location, v0);
1328}
1329
1330inline void QOpenGLFunctions_2_1::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1331{
1332 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1333}
1334
1335inline void QOpenGLFunctions_2_1::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1336{
1337 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1338}
1339
1340inline void QOpenGLFunctions_2_1::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1341{
1342 d_2_0_Core->f.Uniform2f(location, v0, v1);
1343}
1344
1345inline void QOpenGLFunctions_2_1::glUniform1f(GLint location, GLfloat v0)
1346{
1347 d_2_0_Core->f.Uniform1f(location, v0);
1348}
1349
1350inline void QOpenGLFunctions_2_1::glUseProgram(GLuint program)
1351{
1352 d_2_0_Core->f.UseProgram(program);
1353}
1354
1355inline void QOpenGLFunctions_2_1::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1356{
1357 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1358}
1359
1360inline void QOpenGLFunctions_2_1::glLinkProgram(GLuint program)
1361{
1362 d_2_0_Core->f.LinkProgram(program);
1363}
1364
1365inline GLboolean QOpenGLFunctions_2_1::glIsShader(GLuint shader)
1366{
1367 return d_2_0_Core->f.IsShader(shader);
1368}
1369
1370inline GLboolean QOpenGLFunctions_2_1::glIsProgram(GLuint program)
1371{
1372 return d_2_0_Core->f.IsProgram(program);
1373}
1374
1375inline void QOpenGLFunctions_2_1::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1376{
1377 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1378}
1379
1380inline void QOpenGLFunctions_2_1::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1381{
1382 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1383}
1384
1385inline void QOpenGLFunctions_2_1::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1386{
1387 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1388}
1389
1390inline void QOpenGLFunctions_2_1::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1391{
1392 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1393}
1394
1395inline void QOpenGLFunctions_2_1::glGetUniformiv(GLuint program, GLint location, GLint *params)
1396{
1397 d_2_0_Core->f.GetUniformiv(program, location, params);
1398}
1399
1400inline void QOpenGLFunctions_2_1::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1401{
1402 d_2_0_Core->f.GetUniformfv(program, location, params);
1403}
1404
1405inline GLint QOpenGLFunctions_2_1::glGetUniformLocation(GLuint program, const GLchar *name)
1406{
1407 return d_2_0_Core->f.GetUniformLocation(program, name);
1408}
1409
1410inline void QOpenGLFunctions_2_1::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1411{
1412 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1413}
1414
1415inline void QOpenGLFunctions_2_1::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1416{
1417 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1418}
1419
1420inline void QOpenGLFunctions_2_1::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1421{
1422 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1423}
1424
1425inline void QOpenGLFunctions_2_1::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1426{
1427 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1428}
1429
1430inline void QOpenGLFunctions_2_1::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1431{
1432 d_2_0_Core->f.GetProgramiv(program, pname, params);
1433}
1434
1435inline GLint QOpenGLFunctions_2_1::glGetAttribLocation(GLuint program, const GLchar *name)
1436{
1437 return d_2_0_Core->f.GetAttribLocation(program, name);
1438}
1439
1440inline void QOpenGLFunctions_2_1::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1441{
1442 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1443}
1444
1445inline void QOpenGLFunctions_2_1::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1446{
1447 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1448}
1449
1450inline void QOpenGLFunctions_2_1::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1451{
1452 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1453}
1454
1455inline void QOpenGLFunctions_2_1::glEnableVertexAttribArray(GLuint index)
1456{
1457 d_2_0_Core->f.EnableVertexAttribArray(index);
1458}
1459
1460inline void QOpenGLFunctions_2_1::glDisableVertexAttribArray(GLuint index)
1461{
1462 d_2_0_Core->f.DisableVertexAttribArray(index);
1463}
1464
1465inline void QOpenGLFunctions_2_1::glDetachShader(GLuint program, GLuint shader)
1466{
1467 d_2_0_Core->f.DetachShader(program, shader);
1468}
1469
1470inline void QOpenGLFunctions_2_1::glDeleteShader(GLuint shader)
1471{
1472 d_2_0_Core->f.DeleteShader(shader);
1473}
1474
1475inline void QOpenGLFunctions_2_1::glDeleteProgram(GLuint program)
1476{
1477 d_2_0_Core->f.DeleteProgram(program);
1478}
1479
1480inline GLuint QOpenGLFunctions_2_1::glCreateShader(GLenum type)
1481{
1482 return d_2_0_Core->f.CreateShader(type);
1483}
1484
1485inline GLuint QOpenGLFunctions_2_1::glCreateProgram()
1486{
1487 return d_2_0_Core->f.CreateProgram();
1488}
1489
1490inline void QOpenGLFunctions_2_1::glCompileShader(GLuint shader)
1491{
1492 d_2_0_Core->f.CompileShader(shader);
1493}
1494
1495inline void QOpenGLFunctions_2_1::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1496{
1497 d_2_0_Core->f.BindAttribLocation(program, index, name);
1498}
1499
1500inline void QOpenGLFunctions_2_1::glAttachShader(GLuint program, GLuint shader)
1501{
1502 d_2_0_Core->f.AttachShader(program, shader);
1503}
1504
1505inline void QOpenGLFunctions_2_1::glStencilMaskSeparate(GLenum face, GLuint mask)
1506{
1507 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1508}
1509
1510inline void QOpenGLFunctions_2_1::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1511{
1512 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1513}
1514
1515inline void QOpenGLFunctions_2_1::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1516{
1517 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1518}
1519
1520inline void QOpenGLFunctions_2_1::glDrawBuffers(GLsizei n, const GLenum *bufs)
1521{
1522 d_2_0_Core->f.DrawBuffers(n, bufs);
1523}
1524
1525inline void QOpenGLFunctions_2_1::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1526{
1527 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1528}
1529
1530
1531// OpenGL 2.1 core functions
1532inline void QOpenGLFunctions_2_1::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1533{
1534 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1535}
1536
1537inline void QOpenGLFunctions_2_1::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1538{
1539 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1540}
1541
1542inline void QOpenGLFunctions_2_1::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1543{
1544 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1545}
1546
1547inline void QOpenGLFunctions_2_1::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1548{
1549 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1550}
1551
1552inline void QOpenGLFunctions_2_1::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1553{
1554 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1555}
1556
1557inline void QOpenGLFunctions_2_1::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1558{
1559 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1560}
1561
1562
1563// OpenGL 1.0 deprecated functions
1564inline void QOpenGLFunctions_2_1::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
1565{
1566 d_1_0_Deprecated->f.Translatef(x, y, z);
1567}
1568
1569inline void QOpenGLFunctions_2_1::glTranslated(GLdouble x, GLdouble y, GLdouble z)
1570{
1571 d_1_0_Deprecated->f.Translated(x, y, z);
1572}
1573
1574inline void QOpenGLFunctions_2_1::glScalef(GLfloat x, GLfloat y, GLfloat z)
1575{
1576 d_1_0_Deprecated->f.Scalef(x, y, z);
1577}
1578
1579inline void QOpenGLFunctions_2_1::glScaled(GLdouble x, GLdouble y, GLdouble z)
1580{
1581 d_1_0_Deprecated->f.Scaled(x, y, z);
1582}
1583
1584inline void QOpenGLFunctions_2_1::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
1585{
1586 d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
1587}
1588
1589inline void QOpenGLFunctions_2_1::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
1590{
1591 d_1_0_Deprecated->f.Rotated(angle, x, y, z);
1592}
1593
1594inline void QOpenGLFunctions_2_1::glPushMatrix()
1595{
1596 d_1_0_Deprecated->f.PushMatrix();
1597}
1598
1599inline void QOpenGLFunctions_2_1::glPopMatrix()
1600{
1601 d_1_0_Deprecated->f.PopMatrix();
1602}
1603
1604inline void QOpenGLFunctions_2_1::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1605{
1606 d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
1607}
1608
1609inline void QOpenGLFunctions_2_1::glMultMatrixd(const GLdouble *m)
1610{
1611 d_1_0_Deprecated->f.MultMatrixd(m);
1612}
1613
1614inline void QOpenGLFunctions_2_1::glMultMatrixf(const GLfloat *m)
1615{
1616 d_1_0_Deprecated->f.MultMatrixf(m);
1617}
1618
1619inline void QOpenGLFunctions_2_1::glMatrixMode(GLenum mode)
1620{
1621 d_1_0_Deprecated->f.MatrixMode(mode);
1622}
1623
1624inline void QOpenGLFunctions_2_1::glLoadMatrixd(const GLdouble *m)
1625{
1626 d_1_0_Deprecated->f.LoadMatrixd(m);
1627}
1628
1629inline void QOpenGLFunctions_2_1::glLoadMatrixf(const GLfloat *m)
1630{
1631 d_1_0_Deprecated->f.LoadMatrixf(m);
1632}
1633
1634inline void QOpenGLFunctions_2_1::glLoadIdentity()
1635{
1636 d_1_0_Deprecated->f.LoadIdentity();
1637}
1638
1639inline void QOpenGLFunctions_2_1::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1640{
1641 d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
1642}
1643
1644inline GLboolean QOpenGLFunctions_2_1::glIsList(GLuint list)
1645{
1646 return d_1_0_Deprecated->f.IsList(list);
1647}
1648
1649inline void QOpenGLFunctions_2_1::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
1650{
1651 d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
1652}
1653
1654inline void QOpenGLFunctions_2_1::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
1655{
1656 d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
1657}
1658
1659inline void QOpenGLFunctions_2_1::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
1660{
1661 d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
1662}
1663
1664inline void QOpenGLFunctions_2_1::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
1665{
1666 d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
1667}
1668
1669inline void QOpenGLFunctions_2_1::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
1670{
1671 d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
1672}
1673
1674inline void QOpenGLFunctions_2_1::glGetPolygonStipple(GLubyte *mask)
1675{
1676 d_1_0_Deprecated->f.GetPolygonStipple(mask);
1677}
1678
1679inline void QOpenGLFunctions_2_1::glGetPixelMapusv(GLenum map, GLushort *values)
1680{
1681 d_1_0_Deprecated->f.GetPixelMapusv(map, values);
1682}
1683
1684inline void QOpenGLFunctions_2_1::glGetPixelMapuiv(GLenum map, GLuint *values)
1685{
1686 d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
1687}
1688
1689inline void QOpenGLFunctions_2_1::glGetPixelMapfv(GLenum map, GLfloat *values)
1690{
1691 d_1_0_Deprecated->f.GetPixelMapfv(map, values);
1692}
1693
1694inline void QOpenGLFunctions_2_1::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
1695{
1696 d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
1697}
1698
1699inline void QOpenGLFunctions_2_1::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
1700{
1701 d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
1702}
1703
1704inline void QOpenGLFunctions_2_1::glGetMapiv(GLenum target, GLenum query, GLint *v)
1705{
1706 d_1_0_Deprecated->f.GetMapiv(target, query, v);
1707}
1708
1709inline void QOpenGLFunctions_2_1::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
1710{
1711 d_1_0_Deprecated->f.GetMapfv(target, query, v);
1712}
1713
1714inline void QOpenGLFunctions_2_1::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
1715{
1716 d_1_0_Deprecated->f.GetMapdv(target, query, v);
1717}
1718
1719inline void QOpenGLFunctions_2_1::glGetLightiv(GLenum light, GLenum pname, GLint *params)
1720{
1721 d_1_0_Deprecated->f.GetLightiv(light, pname, params);
1722}
1723
1724inline void QOpenGLFunctions_2_1::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
1725{
1726 d_1_0_Deprecated->f.GetLightfv(light, pname, params);
1727}
1728
1729inline void QOpenGLFunctions_2_1::glGetClipPlane(GLenum plane, GLdouble *equation)
1730{
1731 d_1_0_Deprecated->f.GetClipPlane(plane, equation);
1732}
1733
1734inline void QOpenGLFunctions_2_1::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
1735{
1736 d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
1737}
1738
1739inline void QOpenGLFunctions_2_1::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
1740{
1741 d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
1742}
1743
1744inline void QOpenGLFunctions_2_1::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
1745{
1746 d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
1747}
1748
1749inline void QOpenGLFunctions_2_1::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
1750{
1751 d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
1752}
1753
1754inline void QOpenGLFunctions_2_1::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
1755{
1756 d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
1757}
1758
1759inline void QOpenGLFunctions_2_1::glPixelTransferi(GLenum pname, GLint param)
1760{
1761 d_1_0_Deprecated->f.PixelTransferi(pname, param);
1762}
1763
1764inline void QOpenGLFunctions_2_1::glPixelTransferf(GLenum pname, GLfloat param)
1765{
1766 d_1_0_Deprecated->f.PixelTransferf(pname, param);
1767}
1768
1769inline void QOpenGLFunctions_2_1::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
1770{
1771 d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
1772}
1773
1774inline void QOpenGLFunctions_2_1::glAlphaFunc(GLenum func, GLfloat ref)
1775{
1776 d_1_0_Deprecated->f.AlphaFunc(func, ref);
1777}
1778
1779inline void QOpenGLFunctions_2_1::glEvalPoint2(GLint i, GLint j)
1780{
1781 d_1_0_Deprecated->f.EvalPoint2(i, j);
1782}
1783
1784inline void QOpenGLFunctions_2_1::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
1785{
1786 d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
1787}
1788
1789inline void QOpenGLFunctions_2_1::glEvalPoint1(GLint i)
1790{
1791 d_1_0_Deprecated->f.EvalPoint1(i);
1792}
1793
1794inline void QOpenGLFunctions_2_1::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
1795{
1796 d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
1797}
1798
1799inline void QOpenGLFunctions_2_1::glEvalCoord2fv(const GLfloat *u)
1800{
1801 d_1_0_Deprecated->f.EvalCoord2fv(u);
1802}
1803
1804inline void QOpenGLFunctions_2_1::glEvalCoord2f(GLfloat u, GLfloat v)
1805{
1806 d_1_0_Deprecated->f.EvalCoord2f(u, v);
1807}
1808
1809inline void QOpenGLFunctions_2_1::glEvalCoord2dv(const GLdouble *u)
1810{
1811 d_1_0_Deprecated->f.EvalCoord2dv(u);
1812}
1813
1814inline void QOpenGLFunctions_2_1::glEvalCoord2d(GLdouble u, GLdouble v)
1815{
1816 d_1_0_Deprecated->f.EvalCoord2d(u, v);
1817}
1818
1819inline void QOpenGLFunctions_2_1::glEvalCoord1fv(const GLfloat *u)
1820{
1821 d_1_0_Deprecated->f.EvalCoord1fv(u);
1822}
1823
1824inline void QOpenGLFunctions_2_1::glEvalCoord1f(GLfloat u)
1825{
1826 d_1_0_Deprecated->f.EvalCoord1f(u);
1827}
1828
1829inline void QOpenGLFunctions_2_1::glEvalCoord1dv(const GLdouble *u)
1830{
1831 d_1_0_Deprecated->f.EvalCoord1dv(u);
1832}
1833
1834inline void QOpenGLFunctions_2_1::glEvalCoord1d(GLdouble u)
1835{
1836 d_1_0_Deprecated->f.EvalCoord1d(u);
1837}
1838
1839inline void QOpenGLFunctions_2_1::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
1840{
1841 d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
1842}
1843
1844inline void QOpenGLFunctions_2_1::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
1845{
1846 d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
1847}
1848
1849inline void QOpenGLFunctions_2_1::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
1850{
1851 d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
1852}
1853
1854inline void QOpenGLFunctions_2_1::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
1855{
1856 d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
1857}
1858
1859inline 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)
1860{
1861 d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1862}
1863
1864inline 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)
1865{
1866 d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1867}
1868
1869inline void QOpenGLFunctions_2_1::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
1870{
1871 d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
1872}
1873
1874inline void QOpenGLFunctions_2_1::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
1875{
1876 d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
1877}
1878
1879inline void QOpenGLFunctions_2_1::glPushAttrib(GLbitfield mask)
1880{
1881 d_1_0_Deprecated->f.PushAttrib(mask);
1882}
1883
1884inline void QOpenGLFunctions_2_1::glPopAttrib()
1885{
1886 d_1_0_Deprecated->f.PopAttrib();
1887}
1888
1889inline void QOpenGLFunctions_2_1::glAccum(GLenum op, GLfloat value)
1890{
1891 d_1_0_Deprecated->f.Accum(op, value);
1892}
1893
1894inline void QOpenGLFunctions_2_1::glIndexMask(GLuint mask)
1895{
1896 d_1_0_Deprecated->f.IndexMask(mask);
1897}
1898
1899inline void QOpenGLFunctions_2_1::glClearIndex(GLfloat c)
1900{
1901 d_1_0_Deprecated->f.ClearIndex(c);
1902}
1903
1904inline void QOpenGLFunctions_2_1::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1905{
1906 d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
1907}
1908
1909inline void QOpenGLFunctions_2_1::glPushName(GLuint name)
1910{
1911 d_1_0_Deprecated->f.PushName(name);
1912}
1913
1914inline void QOpenGLFunctions_2_1::glPopName()
1915{
1916 d_1_0_Deprecated->f.PopName();
1917}
1918
1919inline void QOpenGLFunctions_2_1::glPassThrough(GLfloat token)
1920{
1921 d_1_0_Deprecated->f.PassThrough(token);
1922}
1923
1924inline void QOpenGLFunctions_2_1::glLoadName(GLuint name)
1925{
1926 d_1_0_Deprecated->f.LoadName(name);
1927}
1928
1929inline void QOpenGLFunctions_2_1::glInitNames()
1930{
1931 d_1_0_Deprecated->f.InitNames();
1932}
1933
1934inline GLint QOpenGLFunctions_2_1::glRenderMode(GLenum mode)
1935{
1936 return d_1_0_Deprecated->f.RenderMode(mode);
1937}
1938
1939inline void QOpenGLFunctions_2_1::glSelectBuffer(GLsizei size, GLuint *buffer)
1940{
1941 d_1_0_Deprecated->f.SelectBuffer(size, buffer);
1942}
1943
1944inline void QOpenGLFunctions_2_1::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
1945{
1946 d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
1947}
1948
1949inline void QOpenGLFunctions_2_1::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1950{
1951 d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
1952}
1953
1954inline void QOpenGLFunctions_2_1::glTexGeni(GLenum coord, GLenum pname, GLint param)
1955{
1956 d_1_0_Deprecated->f.TexGeni(coord, pname, param);
1957}
1958
1959inline void QOpenGLFunctions_2_1::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1960{
1961 d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
1962}
1963
1964inline void QOpenGLFunctions_2_1::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1965{
1966 d_1_0_Deprecated->f.TexGenf(coord, pname, param);
1967}
1968
1969inline void QOpenGLFunctions_2_1::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1970{
1971 d_1_0_Deprecated->f.TexGendv(coord, pname, params);
1972}
1973
1974inline void QOpenGLFunctions_2_1::glTexGend(GLenum coord, GLenum pname, GLdouble param)
1975{
1976 d_1_0_Deprecated->f.TexGend(coord, pname, param);
1977}
1978
1979inline void QOpenGLFunctions_2_1::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
1980{
1981 d_1_0_Deprecated->f.TexEnviv(target, pname, params);
1982}
1983
1984inline void QOpenGLFunctions_2_1::glTexEnvi(GLenum target, GLenum pname, GLint param)
1985{
1986 d_1_0_Deprecated->f.TexEnvi(target, pname, param);
1987}
1988
1989inline void QOpenGLFunctions_2_1::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
1990{
1991 d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
1992}
1993
1994inline void QOpenGLFunctions_2_1::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1995{
1996 d_1_0_Deprecated->f.TexEnvf(target, pname, param);
1997}
1998
1999inline void QOpenGLFunctions_2_1::glShadeModel(GLenum mode)
2000{
2001 d_1_0_Deprecated->f.ShadeModel(mode);
2002}
2003
2004inline void QOpenGLFunctions_2_1::glPolygonStipple(const GLubyte *mask)
2005{
2006 d_1_0_Deprecated->f.PolygonStipple(mask);
2007}
2008
2009inline void QOpenGLFunctions_2_1::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
2010{
2011 d_1_0_Deprecated->f.Materialiv(face, pname, params);
2012}
2013
2014inline void QOpenGLFunctions_2_1::glMateriali(GLenum face, GLenum pname, GLint param)
2015{
2016 d_1_0_Deprecated->f.Materiali(face, pname, param);
2017}
2018
2019inline void QOpenGLFunctions_2_1::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
2020{
2021 d_1_0_Deprecated->f.Materialfv(face, pname, params);
2022}
2023
2024inline void QOpenGLFunctions_2_1::glMaterialf(GLenum face, GLenum pname, GLfloat param)
2025{
2026 d_1_0_Deprecated->f.Materialf(face, pname, param);
2027}
2028
2029inline void QOpenGLFunctions_2_1::glLineStipple(GLint factor, GLushort pattern)
2030{
2031 d_1_0_Deprecated->f.LineStipple(factor, pattern);
2032}
2033
2034inline void QOpenGLFunctions_2_1::glLightModeliv(GLenum pname, const GLint *params)
2035{
2036 d_1_0_Deprecated->f.LightModeliv(pname, params);
2037}
2038
2039inline void QOpenGLFunctions_2_1::glLightModeli(GLenum pname, GLint param)
2040{
2041 d_1_0_Deprecated->f.LightModeli(pname, param);
2042}
2043
2044inline void QOpenGLFunctions_2_1::glLightModelfv(GLenum pname, const GLfloat *params)
2045{
2046 d_1_0_Deprecated->f.LightModelfv(pname, params);
2047}
2048
2049inline void QOpenGLFunctions_2_1::glLightModelf(GLenum pname, GLfloat param)
2050{
2051 d_1_0_Deprecated->f.LightModelf(pname, param);
2052}
2053
2054inline void QOpenGLFunctions_2_1::glLightiv(GLenum light, GLenum pname, const GLint *params)
2055{
2056 d_1_0_Deprecated->f.Lightiv(light, pname, params);
2057}
2058
2059inline void QOpenGLFunctions_2_1::glLighti(GLenum light, GLenum pname, GLint param)
2060{
2061 d_1_0_Deprecated->f.Lighti(light, pname, param);
2062}
2063
2064inline void QOpenGLFunctions_2_1::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
2065{
2066 d_1_0_Deprecated->f.Lightfv(light, pname, params);
2067}
2068
2069inline void QOpenGLFunctions_2_1::glLightf(GLenum light, GLenum pname, GLfloat param)
2070{
2071 d_1_0_Deprecated->f.Lightf(light, pname, param);
2072}
2073
2074inline void QOpenGLFunctions_2_1::glFogiv(GLenum pname, const GLint *params)
2075{
2076 d_1_0_Deprecated->f.Fogiv(pname, params);
2077}
2078
2079inline void QOpenGLFunctions_2_1::glFogi(GLenum pname, GLint param)
2080{
2081 d_1_0_Deprecated->f.Fogi(pname, param);
2082}
2083
2084inline void QOpenGLFunctions_2_1::glFogfv(GLenum pname, const GLfloat *params)
2085{
2086 d_1_0_Deprecated->f.Fogfv(pname, params);
2087}
2088
2089inline void QOpenGLFunctions_2_1::glFogf(GLenum pname, GLfloat param)
2090{
2091 d_1_0_Deprecated->f.Fogf(pname, param);
2092}
2093
2094inline void QOpenGLFunctions_2_1::glColorMaterial(GLenum face, GLenum mode)
2095{
2096 d_1_0_Deprecated->f.ColorMaterial(face, mode);
2097}
2098
2099inline void QOpenGLFunctions_2_1::glClipPlane(GLenum plane, const GLdouble *equation)
2100{
2101 d_1_0_Deprecated->f.ClipPlane(plane, equation);
2102}
2103
2104inline void QOpenGLFunctions_2_1::glVertex4sv(const GLshort *v)
2105{
2106 d_1_0_Deprecated->f.Vertex4sv(v);
2107}
2108
2109inline void QOpenGLFunctions_2_1::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
2110{
2111 d_1_0_Deprecated->f.Vertex4s(x, y, z, w);
2112}
2113
2114inline void QOpenGLFunctions_2_1::glVertex4iv(const GLint *v)
2115{
2116 d_1_0_Deprecated->f.Vertex4iv(v);
2117}
2118
2119inline void QOpenGLFunctions_2_1::glVertex4i(GLint x, GLint y, GLint z, GLint w)
2120{
2121 d_1_0_Deprecated->f.Vertex4i(x, y, z, w);
2122}
2123
2124inline void QOpenGLFunctions_2_1::glVertex4fv(const GLfloat *v)
2125{
2126 d_1_0_Deprecated->f.Vertex4fv(v);
2127}
2128
2129inline void QOpenGLFunctions_2_1::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2130{
2131 d_1_0_Deprecated->f.Vertex4f(x, y, z, w);
2132}
2133
2134inline void QOpenGLFunctions_2_1::glVertex4dv(const GLdouble *v)
2135{
2136 d_1_0_Deprecated->f.Vertex4dv(v);
2137}
2138
2139inline void QOpenGLFunctions_2_1::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2140{
2141 d_1_0_Deprecated->f.Vertex4d(x, y, z, w);
2142}
2143
2144inline void QOpenGLFunctions_2_1::glVertex3sv(const GLshort *v)
2145{
2146 d_1_0_Deprecated->f.Vertex3sv(v);
2147}
2148
2149inline void QOpenGLFunctions_2_1::glVertex3s(GLshort x, GLshort y, GLshort z)
2150{
2151 d_1_0_Deprecated->f.Vertex3s(x, y, z);
2152}
2153
2154inline void QOpenGLFunctions_2_1::glVertex3iv(const GLint *v)
2155{
2156 d_1_0_Deprecated->f.Vertex3iv(v);
2157}
2158
2159inline void QOpenGLFunctions_2_1::glVertex3i(GLint x, GLint y, GLint z)
2160{
2161 d_1_0_Deprecated->f.Vertex3i(x, y, z);
2162}
2163
2164inline void QOpenGLFunctions_2_1::glVertex3fv(const GLfloat *v)
2165{
2166 d_1_0_Deprecated->f.Vertex3fv(v);
2167}
2168
2169inline void QOpenGLFunctions_2_1::glVertex3f(GLfloat x, GLfloat y, GLfloat z)
2170{
2171 d_1_0_Deprecated->f.Vertex3f(x, y, z);
2172}
2173
2174inline void QOpenGLFunctions_2_1::glVertex3dv(const GLdouble *v)
2175{
2176 d_1_0_Deprecated->f.Vertex3dv(v);
2177}
2178
2179inline void QOpenGLFunctions_2_1::glVertex3d(GLdouble x, GLdouble y, GLdouble z)
2180{
2181 d_1_0_Deprecated->f.Vertex3d(x, y, z);
2182}
2183
2184inline void QOpenGLFunctions_2_1::glVertex2sv(const GLshort *v)
2185{
2186 d_1_0_Deprecated->f.Vertex2sv(v);
2187}
2188
2189inline void QOpenGLFunctions_2_1::glVertex2s(GLshort x, GLshort y)
2190{
2191 d_1_0_Deprecated->f.Vertex2s(x, y);
2192}
2193
2194inline void QOpenGLFunctions_2_1::glVertex2iv(const GLint *v)
2195{
2196 d_1_0_Deprecated->f.Vertex2iv(v);
2197}
2198
2199inline void QOpenGLFunctions_2_1::glVertex2i(GLint x, GLint y)
2200{
2201 d_1_0_Deprecated->f.Vertex2i(x, y);
2202}
2203
2204inline void QOpenGLFunctions_2_1::glVertex2fv(const GLfloat *v)
2205{
2206 d_1_0_Deprecated->f.Vertex2fv(v);
2207}
2208
2209inline void QOpenGLFunctions_2_1::glVertex2f(GLfloat x, GLfloat y)
2210{
2211 d_1_0_Deprecated->f.Vertex2f(x, y);
2212}
2213
2214inline void QOpenGLFunctions_2_1::glVertex2dv(const GLdouble *v)
2215{
2216 d_1_0_Deprecated->f.Vertex2dv(v);
2217}
2218
2219inline void QOpenGLFunctions_2_1::glVertex2d(GLdouble x, GLdouble y)
2220{
2221 d_1_0_Deprecated->f.Vertex2d(x, y);
2222}
2223
2224inline void QOpenGLFunctions_2_1::glTexCoord4sv(const GLshort *v)
2225{
2226 d_1_0_Deprecated->f.TexCoord4sv(v);
2227}
2228
2229inline void QOpenGLFunctions_2_1::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
2230{
2231 d_1_0_Deprecated->f.TexCoord4s(s, t, r, q);
2232}
2233
2234inline void QOpenGLFunctions_2_1::glTexCoord4iv(const GLint *v)
2235{
2236 d_1_0_Deprecated->f.TexCoord4iv(v);
2237}
2238
2239inline void QOpenGLFunctions_2_1::glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
2240{
2241 d_1_0_Deprecated->f.TexCoord4i(s, t, r, q);
2242}
2243
2244inline void QOpenGLFunctions_2_1::glTexCoord4fv(const GLfloat *v)
2245{
2246 d_1_0_Deprecated->f.TexCoord4fv(v);
2247}
2248
2249inline void QOpenGLFunctions_2_1::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
2250{
2251 d_1_0_Deprecated->f.TexCoord4f(s, t, r, q);
2252}
2253
2254inline void QOpenGLFunctions_2_1::glTexCoord4dv(const GLdouble *v)
2255{
2256 d_1_0_Deprecated->f.TexCoord4dv(v);
2257}
2258
2259inline void QOpenGLFunctions_2_1::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
2260{
2261 d_1_0_Deprecated->f.TexCoord4d(s, t, r, q);
2262}
2263
2264inline void QOpenGLFunctions_2_1::glTexCoord3sv(const GLshort *v)
2265{
2266 d_1_0_Deprecated->f.TexCoord3sv(v);
2267}
2268
2269inline void QOpenGLFunctions_2_1::glTexCoord3s(GLshort s, GLshort t, GLshort r)
2270{
2271 d_1_0_Deprecated->f.TexCoord3s(s, t, r);
2272}
2273
2274inline void QOpenGLFunctions_2_1::glTexCoord3iv(const GLint *v)
2275{
2276 d_1_0_Deprecated->f.TexCoord3iv(v);
2277}
2278
2279inline void QOpenGLFunctions_2_1::glTexCoord3i(GLint s, GLint t, GLint r)
2280{
2281 d_1_0_Deprecated->f.TexCoord3i(s, t, r);
2282}
2283
2284inline void QOpenGLFunctions_2_1::glTexCoord3fv(const GLfloat *v)
2285{
2286 d_1_0_Deprecated->f.TexCoord3fv(v);
2287}
2288
2289inline void QOpenGLFunctions_2_1::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
2290{
2291 d_1_0_Deprecated->f.TexCoord3f(s, t, r);
2292}
2293
2294inline void QOpenGLFunctions_2_1::glTexCoord3dv(const GLdouble *v)
2295{
2296 d_1_0_Deprecated->f.TexCoord3dv(v);
2297}
2298
2299inline void QOpenGLFunctions_2_1::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
2300{
2301 d_1_0_Deprecated->f.TexCoord3d(s, t, r);
2302}
2303
2304inline void QOpenGLFunctions_2_1::glTexCoord2sv(const GLshort *v)
2305{
2306 d_1_0_Deprecated->f.TexCoord2sv(v);
2307}
2308
2309inline void QOpenGLFunctions_2_1::glTexCoord2s(GLshort s, GLshort t)
2310{
2311 d_1_0_Deprecated->f.TexCoord2s(s, t);
2312}
2313
2314inline void QOpenGLFunctions_2_1::glTexCoord2iv(const GLint *v)
2315{
2316 d_1_0_Deprecated->f.TexCoord2iv(v);
2317}
2318
2319inline void QOpenGLFunctions_2_1::glTexCoord2i(GLint s, GLint t)
2320{
2321 d_1_0_Deprecated->f.TexCoord2i(s, t);
2322}
2323
2324inline void QOpenGLFunctions_2_1::glTexCoord2fv(const GLfloat *v)
2325{
2326 d_1_0_Deprecated->f.TexCoord2fv(v);
2327}
2328
2329inline void QOpenGLFunctions_2_1::glTexCoord2f(GLfloat s, GLfloat t)
2330{
2331 d_1_0_Deprecated->f.TexCoord2f(s, t);
2332}
2333
2334inline void QOpenGLFunctions_2_1::glTexCoord2dv(const GLdouble *v)
2335{
2336 d_1_0_Deprecated->f.TexCoord2dv(v);
2337}
2338
2339inline void QOpenGLFunctions_2_1::glTexCoord2d(GLdouble s, GLdouble t)
2340{
2341 d_1_0_Deprecated->f.TexCoord2d(s, t);
2342}
2343
2344inline void QOpenGLFunctions_2_1::glTexCoord1sv(const GLshort *v)
2345{
2346 d_1_0_Deprecated->f.TexCoord1sv(v);
2347}
2348
2349inline void QOpenGLFunctions_2_1::glTexCoord1s(GLshort s)
2350{
2351 d_1_0_Deprecated->f.TexCoord1s(s);
2352}
2353
2354inline void QOpenGLFunctions_2_1::glTexCoord1iv(const GLint *v)
2355{
2356 d_1_0_Deprecated->f.TexCoord1iv(v);
2357}
2358
2359inline void QOpenGLFunctions_2_1::glTexCoord1i(GLint s)
2360{
2361 d_1_0_Deprecated->f.TexCoord1i(s);
2362}
2363
2364inline void QOpenGLFunctions_2_1::glTexCoord1fv(const GLfloat *v)
2365{
2366 d_1_0_Deprecated->f.TexCoord1fv(v);
2367}
2368
2369inline void QOpenGLFunctions_2_1::glTexCoord1f(GLfloat s)
2370{
2371 d_1_0_Deprecated->f.TexCoord1f(s);
2372}
2373
2374inline void QOpenGLFunctions_2_1::glTexCoord1dv(const GLdouble *v)
2375{
2376 d_1_0_Deprecated->f.TexCoord1dv(v);
2377}
2378
2379inline void QOpenGLFunctions_2_1::glTexCoord1d(GLdouble s)
2380{
2381 d_1_0_Deprecated->f.TexCoord1d(s);
2382}
2383
2384inline void QOpenGLFunctions_2_1::glRectsv(const GLshort *v1, const GLshort *v2)
2385{
2386 d_1_0_Deprecated->f.Rectsv(v1, v2);
2387}
2388
2389inline void QOpenGLFunctions_2_1::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
2390{
2391 d_1_0_Deprecated->f.Rects(x1, y1, x2, y2);
2392}
2393
2394inline void QOpenGLFunctions_2_1::glRectiv(const GLint *v1, const GLint *v2)
2395{
2396 d_1_0_Deprecated->f.Rectiv(v1, v2);
2397}
2398
2399inline void QOpenGLFunctions_2_1::glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
2400{
2401 d_1_0_Deprecated->f.Recti(x1, y1, x2, y2);
2402}
2403
2404inline void QOpenGLFunctions_2_1::glRectfv(const GLfloat *v1, const GLfloat *v2)
2405{
2406 d_1_0_Deprecated->f.Rectfv(v1, v2);
2407}
2408
2409inline void QOpenGLFunctions_2_1::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
2410{
2411 d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2);
2412}
2413
2414inline void QOpenGLFunctions_2_1::glRectdv(const GLdouble *v1, const GLdouble *v2)
2415{
2416 d_1_0_Deprecated->f.Rectdv(v1, v2);
2417}
2418
2419inline void QOpenGLFunctions_2_1::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
2420{
2421 d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2);
2422}
2423
2424inline void QOpenGLFunctions_2_1::glRasterPos4sv(const GLshort *v)
2425{
2426 d_1_0_Deprecated->f.RasterPos4sv(v);
2427}
2428
2429inline void QOpenGLFunctions_2_1::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
2430{
2431 d_1_0_Deprecated->f.RasterPos4s(x, y, z, w);
2432}
2433
2434inline void QOpenGLFunctions_2_1::glRasterPos4iv(const GLint *v)
2435{
2436 d_1_0_Deprecated->f.RasterPos4iv(v);
2437}
2438
2439inline void QOpenGLFunctions_2_1::glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
2440{
2441 d_1_0_Deprecated->f.RasterPos4i(x, y, z, w);
2442}
2443
2444inline void QOpenGLFunctions_2_1::glRasterPos4fv(const GLfloat *v)
2445{
2446 d_1_0_Deprecated->f.RasterPos4fv(v);
2447}
2448
2449inline void QOpenGLFunctions_2_1::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
2450{
2451 d_1_0_Deprecated->f.RasterPos4f(x, y, z, w);
2452}
2453
2454inline void QOpenGLFunctions_2_1::glRasterPos4dv(const GLdouble *v)
2455{
2456 d_1_0_Deprecated->f.RasterPos4dv(v);
2457}
2458
2459inline void QOpenGLFunctions_2_1::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2460{
2461 d_1_0_Deprecated->f.RasterPos4d(x, y, z, w);
2462}
2463
2464inline void QOpenGLFunctions_2_1::glRasterPos3sv(const GLshort *v)
2465{
2466 d_1_0_Deprecated->f.RasterPos3sv(v);
2467}
2468
2469inline void QOpenGLFunctions_2_1::glRasterPos3s(GLshort x, GLshort y, GLshort z)
2470{
2471 d_1_0_Deprecated->f.RasterPos3s(x, y, z);
2472}
2473
2474inline void QOpenGLFunctions_2_1::glRasterPos3iv(const GLint *v)
2475{
2476 d_1_0_Deprecated->f.RasterPos3iv(v);
2477}
2478
2479inline void QOpenGLFunctions_2_1::glRasterPos3i(GLint x, GLint y, GLint z)
2480{
2481 d_1_0_Deprecated->f.RasterPos3i(x, y, z);
2482}
2483
2484inline void QOpenGLFunctions_2_1::glRasterPos3fv(const GLfloat *v)
2485{
2486 d_1_0_Deprecated->f.RasterPos3fv(v);
2487}
2488
2489inline void QOpenGLFunctions_2_1::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
2490{
2491 d_1_0_Deprecated->f.RasterPos3f(x, y, z);
2492}
2493
2494inline void QOpenGLFunctions_2_1::glRasterPos3dv(const GLdouble *v)
2495{
2496 d_1_0_Deprecated->f.RasterPos3dv(v);
2497}
2498
2499inline void QOpenGLFunctions_2_1::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
2500{
2501 d_1_0_Deprecated->f.RasterPos3d(x, y, z);
2502}
2503
2504inline void QOpenGLFunctions_2_1::glRasterPos2sv(const GLshort *v)
2505{
2506 d_1_0_Deprecated->f.RasterPos2sv(v);
2507}
2508
2509inline void QOpenGLFunctions_2_1::glRasterPos2s(GLshort x, GLshort y)
2510{
2511 d_1_0_Deprecated->f.RasterPos2s(x, y);
2512}
2513
2514inline void QOpenGLFunctions_2_1::glRasterPos2iv(const GLint *v)
2515{
2516 d_1_0_Deprecated->f.RasterPos2iv(v);
2517}
2518
2519inline void QOpenGLFunctions_2_1::glRasterPos2i(GLint x, GLint y)
2520{
2521 d_1_0_Deprecated->f.RasterPos2i(x, y);
2522}
2523
2524inline void QOpenGLFunctions_2_1::glRasterPos2fv(const GLfloat *v)
2525{
2526 d_1_0_Deprecated->f.RasterPos2fv(v);
2527}
2528
2529inline void QOpenGLFunctions_2_1::glRasterPos2f(GLfloat x, GLfloat y)
2530{
2531 d_1_0_Deprecated->f.RasterPos2f(x, y);
2532}
2533
2534inline void QOpenGLFunctions_2_1::glRasterPos2dv(const GLdouble *v)
2535{
2536 d_1_0_Deprecated->f.RasterPos2dv(v);
2537}
2538
2539inline void QOpenGLFunctions_2_1::glRasterPos2d(GLdouble x, GLdouble y)
2540{
2541 d_1_0_Deprecated->f.RasterPos2d(x, y);
2542}
2543
2544inline void QOpenGLFunctions_2_1::glNormal3sv(const GLshort *v)
2545{
2546 d_1_0_Deprecated->f.Normal3sv(v);
2547}
2548
2549inline void QOpenGLFunctions_2_1::glNormal3s(GLshort nx, GLshort ny, GLshort nz)
2550{
2551 d_1_0_Deprecated->f.Normal3s(nx, ny, nz);
2552}
2553
2554inline void QOpenGLFunctions_2_1::glNormal3iv(const GLint *v)
2555{
2556 d_1_0_Deprecated->f.Normal3iv(v);
2557}
2558
2559inline void QOpenGLFunctions_2_1::glNormal3i(GLint nx, GLint ny, GLint nz)
2560{
2561 d_1_0_Deprecated->f.Normal3i(nx, ny, nz);
2562}
2563
2564inline void QOpenGLFunctions_2_1::glNormal3fv(const GLfloat *v)
2565{
2566 d_1_0_Deprecated->f.Normal3fv(v);
2567}
2568
2569inline void QOpenGLFunctions_2_1::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
2570{
2571 d_1_0_Deprecated->f.Normal3f(nx, ny, nz);
2572}
2573
2574inline void QOpenGLFunctions_2_1::glNormal3dv(const GLdouble *v)
2575{
2576 d_1_0_Deprecated->f.Normal3dv(v);
2577}
2578
2579inline void QOpenGLFunctions_2_1::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
2580{
2581 d_1_0_Deprecated->f.Normal3d(nx, ny, nz);
2582}
2583
2584inline void QOpenGLFunctions_2_1::glNormal3bv(const GLbyte *v)
2585{
2586 d_1_0_Deprecated->f.Normal3bv(v);
2587}
2588
2589inline void QOpenGLFunctions_2_1::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
2590{
2591 d_1_0_Deprecated->f.Normal3b(nx, ny, nz);
2592}
2593
2594inline void QOpenGLFunctions_2_1::glIndexsv(const GLshort *c)
2595{
2596 d_1_0_Deprecated->f.Indexsv(c);
2597}
2598
2599inline void QOpenGLFunctions_2_1::glIndexs(GLshort c)
2600{
2601 d_1_0_Deprecated->f.Indexs(c);
2602}
2603
2604inline void QOpenGLFunctions_2_1::glIndexiv(const GLint *c)
2605{
2606 d_1_0_Deprecated->f.Indexiv(c);
2607}
2608
2609inline void QOpenGLFunctions_2_1::glIndexi(GLint c)
2610{
2611 d_1_0_Deprecated->f.Indexi(c);
2612}
2613
2614inline void QOpenGLFunctions_2_1::glIndexfv(const GLfloat *c)
2615{
2616 d_1_0_Deprecated->f.Indexfv(c);
2617}
2618
2619inline void QOpenGLFunctions_2_1::glIndexf(GLfloat c)
2620{
2621 d_1_0_Deprecated->f.Indexf(c);
2622}
2623
2624inline void QOpenGLFunctions_2_1::glIndexdv(const GLdouble *c)
2625{
2626 d_1_0_Deprecated->f.Indexdv(c);
2627}
2628
2629inline void QOpenGLFunctions_2_1::glIndexd(GLdouble c)
2630{
2631 d_1_0_Deprecated->f.Indexd(c);
2632}
2633
2634inline void QOpenGLFunctions_2_1::glEnd()
2635{
2636 d_1_0_Deprecated->f.End();
2637}
2638
2639inline void QOpenGLFunctions_2_1::glEdgeFlagv(const GLboolean *flag)
2640{
2641 d_1_0_Deprecated->f.EdgeFlagv(flag);
2642}
2643
2644inline void QOpenGLFunctions_2_1::glEdgeFlag(GLboolean flag)
2645{
2646 d_1_0_Deprecated->f.EdgeFlag(flag);
2647}
2648
2649inline void QOpenGLFunctions_2_1::glColor4usv(const GLushort *v)
2650{
2651 d_1_0_Deprecated->f.Color4usv(v);
2652}
2653
2654inline void QOpenGLFunctions_2_1::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
2655{
2656 d_1_0_Deprecated->f.Color4us(red, green, blue, alpha);
2657}
2658
2659inline void QOpenGLFunctions_2_1::glColor4uiv(const GLuint *v)
2660{
2661 d_1_0_Deprecated->f.Color4uiv(v);
2662}
2663
2664inline void QOpenGLFunctions_2_1::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
2665{
2666 d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha);
2667}
2668
2669inline void QOpenGLFunctions_2_1::glColor4ubv(const GLubyte *v)
2670{
2671 d_1_0_Deprecated->f.Color4ubv(v);
2672}
2673
2674inline void QOpenGLFunctions_2_1::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
2675{
2676 d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha);
2677}
2678
2679inline void QOpenGLFunctions_2_1::glColor4sv(const GLshort *v)
2680{
2681 d_1_0_Deprecated->f.Color4sv(v);
2682}
2683
2684inline void QOpenGLFunctions_2_1::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
2685{
2686 d_1_0_Deprecated->f.Color4s(red, green, blue, alpha);
2687}
2688
2689inline void QOpenGLFunctions_2_1::glColor4iv(const GLint *v)
2690{
2691 d_1_0_Deprecated->f.Color4iv(v);
2692}
2693
2694inline void QOpenGLFunctions_2_1::glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
2695{
2696 d_1_0_Deprecated->f.Color4i(red, green, blue, alpha);
2697}
2698
2699inline void QOpenGLFunctions_2_1::glColor4fv(const GLfloat *v)
2700{
2701 d_1_0_Deprecated->f.Color4fv(v);
2702}
2703
2704inline void QOpenGLFunctions_2_1::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
2705{
2706 d_1_0_Deprecated->f.Color4f(red, green, blue, alpha);
2707}
2708
2709inline void QOpenGLFunctions_2_1::glColor4dv(const GLdouble *v)
2710{
2711 d_1_0_Deprecated->f.Color4dv(v);
2712}
2713
2714inline void QOpenGLFunctions_2_1::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
2715{
2716 d_1_0_Deprecated->f.Color4d(red, green, blue, alpha);
2717}
2718
2719inline void QOpenGLFunctions_2_1::glColor4bv(const GLbyte *v)
2720{
2721 d_1_0_Deprecated->f.Color4bv(v);
2722}
2723
2724inline void QOpenGLFunctions_2_1::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
2725{
2726 d_1_0_Deprecated->f.Color4b(red, green, blue, alpha);
2727}
2728
2729inline void QOpenGLFunctions_2_1::glColor3usv(const GLushort *v)
2730{
2731 d_1_0_Deprecated->f.Color3usv(v);
2732}
2733
2734inline void QOpenGLFunctions_2_1::glColor3us(GLushort red, GLushort green, GLushort blue)
2735{
2736 d_1_0_Deprecated->f.Color3us(red, green, blue);
2737}
2738
2739inline void QOpenGLFunctions_2_1::glColor3uiv(const GLuint *v)
2740{
2741 d_1_0_Deprecated->f.Color3uiv(v);
2742}
2743
2744inline void QOpenGLFunctions_2_1::glColor3ui(GLuint red, GLuint green, GLuint blue)
2745{
2746 d_1_0_Deprecated->f.Color3ui(red, green, blue);
2747}
2748
2749inline void QOpenGLFunctions_2_1::glColor3ubv(const GLubyte *v)
2750{
2751 d_1_0_Deprecated->f.Color3ubv(v);
2752}
2753
2754inline void QOpenGLFunctions_2_1::glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
2755{
2756 d_1_0_Deprecated->f.Color3ub(red, green, blue);
2757}
2758
2759inline void QOpenGLFunctions_2_1::glColor3sv(const GLshort *v)
2760{
2761 d_1_0_Deprecated->f.Color3sv(v);
2762}
2763
2764inline void QOpenGLFunctions_2_1::glColor3s(GLshort red, GLshort green, GLshort blue)
2765{
2766 d_1_0_Deprecated->f.Color3s(red, green, blue);
2767}
2768
2769inline void QOpenGLFunctions_2_1::glColor3iv(const GLint *v)
2770{
2771 d_1_0_Deprecated->f.Color3iv(v);
2772}
2773
2774inline void QOpenGLFunctions_2_1::glColor3i(GLint red, GLint green, GLint blue)
2775{
2776 d_1_0_Deprecated->f.Color3i(red, green, blue);
2777}
2778
2779inline void QOpenGLFunctions_2_1::glColor3fv(const GLfloat *v)
2780{
2781 d_1_0_Deprecated->f.Color3fv(v);
2782}
2783
2784inline void QOpenGLFunctions_2_1::glColor3f(GLfloat red, GLfloat green, GLfloat blue)
2785{
2786 d_1_0_Deprecated->f.Color3f(red, green, blue);
2787}
2788
2789inline void QOpenGLFunctions_2_1::glColor3dv(const GLdouble *v)
2790{
2791 d_1_0_Deprecated->f.Color3dv(v);
2792}
2793
2794inline void QOpenGLFunctions_2_1::glColor3d(GLdouble red, GLdouble green, GLdouble blue)
2795{
2796 d_1_0_Deprecated->f.Color3d(red, green, blue);
2797}
2798
2799inline void QOpenGLFunctions_2_1::glColor3bv(const GLbyte *v)
2800{
2801 d_1_0_Deprecated->f.Color3bv(v);
2802}
2803
2804inline void QOpenGLFunctions_2_1::glColor3b(GLbyte red, GLbyte green, GLbyte blue)
2805{
2806 d_1_0_Deprecated->f.Color3b(red, green, blue);
2807}
2808
2809inline void QOpenGLFunctions_2_1::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
2810{
2811 d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
2812}
2813
2814inline void QOpenGLFunctions_2_1::glBegin(GLenum mode)
2815{
2816 d_1_0_Deprecated->f.Begin(mode);
2817}
2818
2819inline void QOpenGLFunctions_2_1::glListBase(GLuint base)
2820{
2821 d_1_0_Deprecated->f.ListBase(base);
2822}
2823
2824inline GLuint QOpenGLFunctions_2_1::glGenLists(GLsizei range)
2825{
2826 return d_1_0_Deprecated->f.GenLists(range);
2827}
2828
2829inline void QOpenGLFunctions_2_1::glDeleteLists(GLuint list, GLsizei range)
2830{
2831 d_1_0_Deprecated->f.DeleteLists(list, range);
2832}
2833
2834inline void QOpenGLFunctions_2_1::glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
2835{
2836 d_1_0_Deprecated->f.CallLists(n, type, lists);
2837}
2838
2839inline void QOpenGLFunctions_2_1::glCallList(GLuint list)
2840{
2841 d_1_0_Deprecated->f.CallList(list);
2842}
2843
2844inline void QOpenGLFunctions_2_1::glEndList()
2845{
2846 d_1_0_Deprecated->f.EndList();
2847}
2848
2849inline void QOpenGLFunctions_2_1::glNewList(GLuint list, GLenum mode)
2850{
2851 d_1_0_Deprecated->f.NewList(list, mode);
2852}
2853
2854
2855// OpenGL 1.1 deprecated functions
2856inline void QOpenGLFunctions_2_1::glPushClientAttrib(GLbitfield mask)
2857{
2858 d_1_1_Deprecated->f.PushClientAttrib(mask);
2859}
2860
2861inline void QOpenGLFunctions_2_1::glPopClientAttrib()
2862{
2863 d_1_1_Deprecated->f.PopClientAttrib();
2864}
2865
2866inline void QOpenGLFunctions_2_1::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
2867{
2868 d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities);
2869}
2870
2871inline GLboolean QOpenGLFunctions_2_1::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
2872{
2873 return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences);
2874}
2875
2876inline void QOpenGLFunctions_2_1::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2877{
2878 d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer);
2879}
2880
2881inline void QOpenGLFunctions_2_1::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2882{
2883 d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer);
2884}
2885
2886inline void QOpenGLFunctions_2_1::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2887{
2888 d_1_1_Deprecated->f.NormalPointer(type, stride, pointer);
2889}
2890
2891inline void QOpenGLFunctions_2_1::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
2892{
2893 d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer);
2894}
2895
2896inline void QOpenGLFunctions_2_1::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2897{
2898 d_1_1_Deprecated->f.IndexPointer(type, stride, pointer);
2899}
2900
2901inline void QOpenGLFunctions_2_1::glEnableClientState(GLenum array)
2902{
2903 d_1_1_Deprecated->f.EnableClientState(array);
2904}
2905
2906inline void QOpenGLFunctions_2_1::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
2907{
2908 d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer);
2909}
2910
2911inline void QOpenGLFunctions_2_1::glDisableClientState(GLenum array)
2912{
2913 d_1_1_Deprecated->f.DisableClientState(array);
2914}
2915
2916inline void QOpenGLFunctions_2_1::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2917{
2918 d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer);
2919}
2920
2921inline void QOpenGLFunctions_2_1::glArrayElement(GLint i)
2922{
2923 d_1_1_Deprecated->f.ArrayElement(i);
2924}
2925
2926
2927// OpenGL 1.2 deprecated functions
2928inline void QOpenGLFunctions_2_1::glResetMinmax(GLenum target)
2929{
2930 d_1_2_Deprecated->f.ResetMinmax(target);
2931}
2932
2933inline void QOpenGLFunctions_2_1::glResetHistogram(GLenum target)
2934{
2935 d_1_2_Deprecated->f.ResetHistogram(target);
2936}
2937
2938inline void QOpenGLFunctions_2_1::glMinmax(GLenum target, GLenum internalformat, GLboolean sink)
2939{
2940 d_1_2_Deprecated->f.Minmax(target, internalformat, sink);
2941}
2942
2943inline void QOpenGLFunctions_2_1::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)
2944{
2945 d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink);
2946}
2947
2948inline void QOpenGLFunctions_2_1::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
2949{
2950 d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params);
2951}
2952
2953inline void QOpenGLFunctions_2_1::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
2954{
2955 d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params);
2956}
2957
2958inline void QOpenGLFunctions_2_1::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
2959{
2960 d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values);
2961}
2962
2963inline void QOpenGLFunctions_2_1::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
2964{
2965 d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params);
2966}
2967
2968inline void QOpenGLFunctions_2_1::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
2969{
2970 d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params);
2971}
2972
2973inline void QOpenGLFunctions_2_1::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
2974{
2975 d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values);
2976}
2977
2978inline void QOpenGLFunctions_2_1::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
2979{
2980 d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column);
2981}
2982
2983inline void QOpenGLFunctions_2_1::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)
2984{
2985 d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span);
2986}
2987
2988inline void QOpenGLFunctions_2_1::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
2989{
2990 d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params);
2991}
2992
2993inline void QOpenGLFunctions_2_1::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
2994{
2995 d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params);
2996}
2997
2998inline void QOpenGLFunctions_2_1::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image)
2999{
3000 d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image);
3001}
3002
3003inline void QOpenGLFunctions_2_1::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)
3004{
3005 d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height);
3006}
3007
3008inline void QOpenGLFunctions_2_1::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
3009{
3010 d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width);
3011}
3012
3013inline void QOpenGLFunctions_2_1::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
3014{
3015 d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params);
3016}
3017
3018inline void QOpenGLFunctions_2_1::glConvolutionParameteri(GLenum target, GLenum pname, GLint params)
3019{
3020 d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params);
3021}
3022
3023inline void QOpenGLFunctions_2_1::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
3024{
3025 d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params);
3026}
3027
3028inline void QOpenGLFunctions_2_1::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params)
3029{
3030 d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params);
3031}
3032
3033inline void QOpenGLFunctions_2_1::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
3034{
3035 d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image);
3036}
3037
3038inline void QOpenGLFunctions_2_1::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
3039{
3040 d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image);
3041}
3042
3043inline void QOpenGLFunctions_2_1::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)
3044{
3045 d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width);
3046}
3047
3048inline void QOpenGLFunctions_2_1::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
3049{
3050 d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data);
3051}
3052
3053inline void QOpenGLFunctions_2_1::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params)
3054{
3055 d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params);
3056}
3057
3058inline void QOpenGLFunctions_2_1::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params)
3059{
3060 d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params);
3061}
3062
3063inline void QOpenGLFunctions_2_1::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table)
3064{
3065 d_1_2_Deprecated->f.GetColorTable(target, format, type, table);
3066}
3067
3068inline void QOpenGLFunctions_2_1::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
3069{
3070 d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width);
3071}
3072
3073inline void QOpenGLFunctions_2_1::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
3074{
3075 d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params);
3076}
3077
3078inline void QOpenGLFunctions_2_1::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
3079{
3080 d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params);
3081}
3082
3083inline void QOpenGLFunctions_2_1::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
3084{
3085 d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table);
3086}
3087
3088
3089// OpenGL 1.3 deprecated functions
3090inline void QOpenGLFunctions_2_1::glMultTransposeMatrixd(const GLdouble *m)
3091{
3092 d_1_3_Deprecated->f.MultTransposeMatrixd(m);
3093}
3094
3095inline void QOpenGLFunctions_2_1::glMultTransposeMatrixf(const GLfloat *m)
3096{
3097 d_1_3_Deprecated->f.MultTransposeMatrixf(m);
3098}
3099
3100inline void QOpenGLFunctions_2_1::glLoadTransposeMatrixd(const GLdouble *m)
3101{
3102 d_1_3_Deprecated->f.LoadTransposeMatrixd(m);
3103}
3104
3105inline void QOpenGLFunctions_2_1::glLoadTransposeMatrixf(const GLfloat *m)
3106{
3107 d_1_3_Deprecated->f.LoadTransposeMatrixf(m);
3108}
3109
3110inline void QOpenGLFunctions_2_1::glMultiTexCoord4sv(GLenum target, const GLshort *v)
3111{
3112 d_1_3_Deprecated->f.MultiTexCoord4sv(target, v);
3113}
3114
3115inline void QOpenGLFunctions_2_1::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
3116{
3117 d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q);
3118}
3119
3120inline void QOpenGLFunctions_2_1::glMultiTexCoord4iv(GLenum target, const GLint *v)
3121{
3122 d_1_3_Deprecated->f.MultiTexCoord4iv(target, v);
3123}
3124
3125inline void QOpenGLFunctions_2_1::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q)
3126{
3127 d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q);
3128}
3129
3130inline void QOpenGLFunctions_2_1::glMultiTexCoord4fv(GLenum target, const GLfloat *v)
3131{
3132 d_1_3_Deprecated->f.MultiTexCoord4fv(target, v);
3133}
3134
3135inline void QOpenGLFunctions_2_1::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
3136{
3137 d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q);
3138}
3139
3140inline void QOpenGLFunctions_2_1::glMultiTexCoord4dv(GLenum target, const GLdouble *v)
3141{
3142 d_1_3_Deprecated->f.MultiTexCoord4dv(target, v);
3143}
3144
3145inline void QOpenGLFunctions_2_1::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
3146{
3147 d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q);
3148}
3149
3150inline void QOpenGLFunctions_2_1::glMultiTexCoord3sv(GLenum target, const GLshort *v)
3151{
3152 d_1_3_Deprecated->f.MultiTexCoord3sv(target, v);
3153}
3154
3155inline void QOpenGLFunctions_2_1::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r)
3156{
3157 d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r);
3158}
3159
3160inline void QOpenGLFunctions_2_1::glMultiTexCoord3iv(GLenum target, const GLint *v)
3161{
3162 d_1_3_Deprecated->f.MultiTexCoord3iv(target, v);
3163}
3164
3165inline void QOpenGLFunctions_2_1::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r)
3166{
3167 d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r);
3168}
3169
3170inline void QOpenGLFunctions_2_1::glMultiTexCoord3fv(GLenum target, const GLfloat *v)
3171{
3172 d_1_3_Deprecated->f.MultiTexCoord3fv(target, v);
3173}
3174
3175inline void QOpenGLFunctions_2_1::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r)
3176{
3177 d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r);
3178}
3179
3180inline void QOpenGLFunctions_2_1::glMultiTexCoord3dv(GLenum target, const GLdouble *v)
3181{
3182 d_1_3_Deprecated->f.MultiTexCoord3dv(target, v);
3183}
3184
3185inline void QOpenGLFunctions_2_1::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r)
3186{
3187 d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r);
3188}
3189
3190inline void QOpenGLFunctions_2_1::glMultiTexCoord2sv(GLenum target, const GLshort *v)
3191{
3192 d_1_3_Deprecated->f.MultiTexCoord2sv(target, v);
3193}
3194
3195inline void QOpenGLFunctions_2_1::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t)
3196{
3197 d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t);
3198}
3199
3200inline void QOpenGLFunctions_2_1::glMultiTexCoord2iv(GLenum target, const GLint *v)
3201{
3202 d_1_3_Deprecated->f.MultiTexCoord2iv(target, v);
3203}
3204
3205inline void QOpenGLFunctions_2_1::glMultiTexCoord2i(GLenum target, GLint s, GLint t)
3206{
3207 d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t);
3208}
3209
3210inline void QOpenGLFunctions_2_1::glMultiTexCoord2fv(GLenum target, const GLfloat *v)
3211{
3212 d_1_3_Deprecated->f.MultiTexCoord2fv(target, v);
3213}
3214
3215inline void QOpenGLFunctions_2_1::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
3216{
3217 d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t);
3218}
3219
3220inline void QOpenGLFunctions_2_1::glMultiTexCoord2dv(GLenum target, const GLdouble *v)
3221{
3222 d_1_3_Deprecated->f.MultiTexCoord2dv(target, v);
3223}
3224
3225inline void QOpenGLFunctions_2_1::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t)
3226{
3227 d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t);
3228}
3229
3230inline void QOpenGLFunctions_2_1::glMultiTexCoord1sv(GLenum target, const GLshort *v)
3231{
3232 d_1_3_Deprecated->f.MultiTexCoord1sv(target, v);
3233}
3234
3235inline void QOpenGLFunctions_2_1::glMultiTexCoord1s(GLenum target, GLshort s)
3236{
3237 d_1_3_Deprecated->f.MultiTexCoord1s(target, s);
3238}
3239
3240inline void QOpenGLFunctions_2_1::glMultiTexCoord1iv(GLenum target, const GLint *v)
3241{
3242 d_1_3_Deprecated->f.MultiTexCoord1iv(target, v);
3243}
3244
3245inline void QOpenGLFunctions_2_1::glMultiTexCoord1i(GLenum target, GLint s)
3246{
3247 d_1_3_Deprecated->f.MultiTexCoord1i(target, s);
3248}
3249
3250inline void QOpenGLFunctions_2_1::glMultiTexCoord1fv(GLenum target, const GLfloat *v)
3251{
3252 d_1_3_Deprecated->f.MultiTexCoord1fv(target, v);
3253}
3254
3255inline void QOpenGLFunctions_2_1::glMultiTexCoord1f(GLenum target, GLfloat s)
3256{
3257 d_1_3_Deprecated->f.MultiTexCoord1f(target, s);
3258}
3259
3260inline void QOpenGLFunctions_2_1::glMultiTexCoord1dv(GLenum target, const GLdouble *v)
3261{
3262 d_1_3_Deprecated->f.MultiTexCoord1dv(target, v);
3263}
3264
3265inline void QOpenGLFunctions_2_1::glMultiTexCoord1d(GLenum target, GLdouble s)
3266{
3267 d_1_3_Deprecated->f.MultiTexCoord1d(target, s);
3268}
3269
3270inline void QOpenGLFunctions_2_1::glClientActiveTexture(GLenum texture)
3271{
3272 d_1_3_Deprecated->f.ClientActiveTexture(texture);
3273}
3274
3275
3276// OpenGL 1.4 deprecated functions
3277inline void QOpenGLFunctions_2_1::glWindowPos3sv(const GLshort *v)
3278{
3279 d_1_4_Deprecated->f.WindowPos3sv(v);
3280}
3281
3282inline void QOpenGLFunctions_2_1::glWindowPos3s(GLshort x, GLshort y, GLshort z)
3283{
3284 d_1_4_Deprecated->f.WindowPos3s(x, y, z);
3285}
3286
3287inline void QOpenGLFunctions_2_1::glWindowPos3iv(const GLint *v)
3288{
3289 d_1_4_Deprecated->f.WindowPos3iv(v);
3290}
3291
3292inline void QOpenGLFunctions_2_1::glWindowPos3i(GLint x, GLint y, GLint z)
3293{
3294 d_1_4_Deprecated->f.WindowPos3i(x, y, z);
3295}
3296
3297inline void QOpenGLFunctions_2_1::glWindowPos3fv(const GLfloat *v)
3298{
3299 d_1_4_Deprecated->f.WindowPos3fv(v);
3300}
3301
3302inline void QOpenGLFunctions_2_1::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z)
3303{
3304 d_1_4_Deprecated->f.WindowPos3f(x, y, z);
3305}
3306
3307inline void QOpenGLFunctions_2_1::glWindowPos3dv(const GLdouble *v)
3308{
3309 d_1_4_Deprecated->f.WindowPos3dv(v);
3310}
3311
3312inline void QOpenGLFunctions_2_1::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z)
3313{
3314 d_1_4_Deprecated->f.WindowPos3d(x, y, z);
3315}
3316
3317inline void QOpenGLFunctions_2_1::glWindowPos2sv(const GLshort *v)
3318{
3319 d_1_4_Deprecated->f.WindowPos2sv(v);
3320}
3321
3322inline void QOpenGLFunctions_2_1::glWindowPos2s(GLshort x, GLshort y)
3323{
3324 d_1_4_Deprecated->f.WindowPos2s(x, y);
3325}
3326
3327inline void QOpenGLFunctions_2_1::glWindowPos2iv(const GLint *v)
3328{
3329 d_1_4_Deprecated->f.WindowPos2iv(v);
3330}
3331
3332inline void QOpenGLFunctions_2_1::glWindowPos2i(GLint x, GLint y)
3333{
3334 d_1_4_Deprecated->f.WindowPos2i(x, y);
3335}
3336
3337inline void QOpenGLFunctions_2_1::glWindowPos2fv(const GLfloat *v)
3338{
3339 d_1_4_Deprecated->f.WindowPos2fv(v);
3340}
3341
3342inline void QOpenGLFunctions_2_1::glWindowPos2f(GLfloat x, GLfloat y)
3343{
3344 d_1_4_Deprecated->f.WindowPos2f(x, y);
3345}
3346
3347inline void QOpenGLFunctions_2_1::glWindowPos2dv(const GLdouble *v)
3348{
3349 d_1_4_Deprecated->f.WindowPos2dv(v);
3350}
3351
3352inline void QOpenGLFunctions_2_1::glWindowPos2d(GLdouble x, GLdouble y)
3353{
3354 d_1_4_Deprecated->f.WindowPos2d(x, y);
3355}
3356
3357inline void QOpenGLFunctions_2_1::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
3358{
3359 d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer);
3360}
3361
3362inline void QOpenGLFunctions_2_1::glSecondaryColor3usv(const GLushort *v)
3363{
3364 d_1_4_Deprecated->f.SecondaryColor3usv(v);
3365}
3366
3367inline void QOpenGLFunctions_2_1::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue)
3368{
3369 d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue);
3370}
3371
3372inline void QOpenGLFunctions_2_1::glSecondaryColor3uiv(const GLuint *v)
3373{
3374 d_1_4_Deprecated->f.SecondaryColor3uiv(v);
3375}
3376
3377inline void QOpenGLFunctions_2_1::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue)
3378{
3379 d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue);
3380}
3381
3382inline void QOpenGLFunctions_2_1::glSecondaryColor3ubv(const GLubyte *v)
3383{
3384 d_1_4_Deprecated->f.SecondaryColor3ubv(v);
3385}
3386
3387inline void QOpenGLFunctions_2_1::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue)
3388{
3389 d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue);
3390}
3391
3392inline void QOpenGLFunctions_2_1::glSecondaryColor3sv(const GLshort *v)
3393{
3394 d_1_4_Deprecated->f.SecondaryColor3sv(v);
3395}
3396
3397inline void QOpenGLFunctions_2_1::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue)
3398{
3399 d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue);
3400}
3401
3402inline void QOpenGLFunctions_2_1::glSecondaryColor3iv(const GLint *v)
3403{
3404 d_1_4_Deprecated->f.SecondaryColor3iv(v);
3405}
3406
3407inline void QOpenGLFunctions_2_1::glSecondaryColor3i(GLint red, GLint green, GLint blue)
3408{
3409 d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue);
3410}
3411
3412inline void QOpenGLFunctions_2_1::glSecondaryColor3fv(const GLfloat *v)
3413{
3414 d_1_4_Deprecated->f.SecondaryColor3fv(v);
3415}
3416
3417inline void QOpenGLFunctions_2_1::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue)
3418{
3419 d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue);
3420}
3421
3422inline void QOpenGLFunctions_2_1::glSecondaryColor3dv(const GLdouble *v)
3423{
3424 d_1_4_Deprecated->f.SecondaryColor3dv(v);
3425}
3426
3427inline void QOpenGLFunctions_2_1::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue)
3428{
3429 d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue);
3430}
3431
3432inline void QOpenGLFunctions_2_1::glSecondaryColor3bv(const GLbyte *v)
3433{
3434 d_1_4_Deprecated->f.SecondaryColor3bv(v);
3435}
3436
3437inline void QOpenGLFunctions_2_1::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue)
3438{
3439 d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue);
3440}
3441
3442inline void QOpenGLFunctions_2_1::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
3443{
3444 d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer);
3445}
3446
3447inline void QOpenGLFunctions_2_1::glFogCoorddv(const GLdouble *coord)
3448{
3449 d_1_4_Deprecated->f.FogCoorddv(coord);
3450}
3451
3452inline void QOpenGLFunctions_2_1::glFogCoordd(GLdouble coord)
3453{
3454 d_1_4_Deprecated->f.FogCoordd(coord);
3455}
3456
3457inline void QOpenGLFunctions_2_1::glFogCoordfv(const GLfloat *coord)
3458{
3459 d_1_4_Deprecated->f.FogCoordfv(coord);
3460}
3461
3462inline void QOpenGLFunctions_2_1::glFogCoordf(GLfloat coord)
3463{
3464 d_1_4_Deprecated->f.FogCoordf(coord);
3465}
3466
3467
3468// OpenGL 1.5 deprecated functions
3469
3470// OpenGL 2.0 deprecated functions
3471inline void QOpenGLFunctions_2_1::glVertexAttrib4usv(GLuint index, const GLushort *v)
3472{
3473 d_2_0_Core->f.VertexAttrib4usv(index, v);
3474}
3475
3476inline void QOpenGLFunctions_2_1::glVertexAttrib4uiv(GLuint index, const GLuint *v)
3477{
3478 d_2_0_Core->f.VertexAttrib4uiv(index, v);
3479}
3480
3481inline void QOpenGLFunctions_2_1::glVertexAttrib4ubv(GLuint index, const GLubyte *v)
3482{
3483 d_2_0_Core->f.VertexAttrib4ubv(index, v);
3484}
3485
3486inline void QOpenGLFunctions_2_1::glVertexAttrib4sv(GLuint index, const GLshort *v)
3487{
3488 d_2_0_Core->f.VertexAttrib4sv(index, v);
3489}
3490
3491inline void QOpenGLFunctions_2_1::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
3492{
3493 d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w);
3494}
3495
3496inline void QOpenGLFunctions_2_1::glVertexAttrib4iv(GLuint index, const GLint *v)
3497{
3498 d_2_0_Core->f.VertexAttrib4iv(index, v);
3499}
3500
3501inline void QOpenGLFunctions_2_1::glVertexAttrib4fv(GLuint index, const GLfloat *v)
3502{
3503 d_2_0_Core->f.VertexAttrib4fv(index, v);
3504}
3505
3506inline void QOpenGLFunctions_2_1::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
3507{
3508 d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w);
3509}
3510
3511inline void QOpenGLFunctions_2_1::glVertexAttrib4dv(GLuint index, const GLdouble *v)
3512{
3513 d_2_0_Core->f.VertexAttrib4dv(index, v);
3514}
3515
3516inline void QOpenGLFunctions_2_1::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
3517{
3518 d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w);
3519}
3520
3521inline void QOpenGLFunctions_2_1::glVertexAttrib4bv(GLuint index, const GLbyte *v)
3522{
3523 d_2_0_Core->f.VertexAttrib4bv(index, v);
3524}
3525
3526inline void QOpenGLFunctions_2_1::glVertexAttrib4Nusv(GLuint index, const GLushort *v)
3527{
3528 d_2_0_Core->f.VertexAttrib4Nusv(index, v);
3529}
3530
3531inline void QOpenGLFunctions_2_1::glVertexAttrib4Nuiv(GLuint index, const GLuint *v)
3532{
3533 d_2_0_Core->f.VertexAttrib4Nuiv(index, v);
3534}
3535
3536inline void QOpenGLFunctions_2_1::glVertexAttrib4Nubv(GLuint index, const GLubyte *v)
3537{
3538 d_2_0_Core->f.VertexAttrib4Nubv(index, v);
3539}
3540
3541inline void QOpenGLFunctions_2_1::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
3542{
3543 d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w);
3544}
3545
3546inline void QOpenGLFunctions_2_1::glVertexAttrib4Nsv(GLuint index, const GLshort *v)
3547{
3548 d_2_0_Core->f.VertexAttrib4Nsv(index, v);
3549}
3550
3551inline void QOpenGLFunctions_2_1::glVertexAttrib4Niv(GLuint index, const GLint *v)
3552{
3553 d_2_0_Core->f.VertexAttrib4Niv(index, v);
3554}
3555
3556inline void QOpenGLFunctions_2_1::glVertexAttrib4Nbv(GLuint index, const GLbyte *v)
3557{
3558 d_2_0_Core->f.VertexAttrib4Nbv(index, v);
3559}
3560
3561inline void QOpenGLFunctions_2_1::glVertexAttrib3sv(GLuint index, const GLshort *v)
3562{
3563 d_2_0_Core->f.VertexAttrib3sv(index, v);
3564}
3565
3566inline void QOpenGLFunctions_2_1::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z)
3567{
3568 d_2_0_Core->f.VertexAttrib3s(index, x, y, z);
3569}
3570
3571inline void QOpenGLFunctions_2_1::glVertexAttrib3fv(GLuint index, const GLfloat *v)
3572{
3573 d_2_0_Core->f.VertexAttrib3fv(index, v);
3574}
3575
3576inline void QOpenGLFunctions_2_1::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z)
3577{
3578 d_2_0_Core->f.VertexAttrib3f(index, x, y, z);
3579}
3580
3581inline void QOpenGLFunctions_2_1::glVertexAttrib3dv(GLuint index, const GLdouble *v)
3582{
3583 d_2_0_Core->f.VertexAttrib3dv(index, v);
3584}
3585
3586inline void QOpenGLFunctions_2_1::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
3587{
3588 d_2_0_Core->f.VertexAttrib3d(index, x, y, z);
3589}
3590
3591inline void QOpenGLFunctions_2_1::glVertexAttrib2sv(GLuint index, const GLshort *v)
3592{
3593 d_2_0_Core->f.VertexAttrib2sv(index, v);
3594}
3595
3596inline void QOpenGLFunctions_2_1::glVertexAttrib2s(GLuint index, GLshort x, GLshort y)
3597{
3598 d_2_0_Core->f.VertexAttrib2s(index, x, y);
3599}
3600
3601inline void QOpenGLFunctions_2_1::glVertexAttrib2fv(GLuint index, const GLfloat *v)
3602{
3603 d_2_0_Core->f.VertexAttrib2fv(index, v);
3604}
3605
3606inline void QOpenGLFunctions_2_1::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)
3607{
3608 d_2_0_Core->f.VertexAttrib2f(index, x, y);
3609}
3610
3611inline void QOpenGLFunctions_2_1::glVertexAttrib2dv(GLuint index, const GLdouble *v)
3612{
3613 d_2_0_Core->f.VertexAttrib2dv(index, v);
3614}
3615
3616inline void QOpenGLFunctions_2_1::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y)
3617{
3618 d_2_0_Core->f.VertexAttrib2d(index, x, y);
3619}
3620
3621inline void QOpenGLFunctions_2_1::glVertexAttrib1sv(GLuint index, const GLshort *v)
3622{
3623 d_2_0_Core->f.VertexAttrib1sv(index, v);
3624}
3625
3626inline void QOpenGLFunctions_2_1::glVertexAttrib1s(GLuint index, GLshort x)
3627{
3628 d_2_0_Core->f.VertexAttrib1s(index, x);
3629}
3630
3631inline void QOpenGLFunctions_2_1::glVertexAttrib1fv(GLuint index, const GLfloat *v)
3632{
3633 d_2_0_Core->f.VertexAttrib1fv(index, v);
3634}
3635
3636inline void QOpenGLFunctions_2_1::glVertexAttrib1f(GLuint index, GLfloat x)
3637{
3638 d_2_0_Core->f.VertexAttrib1f(index, x);
3639}
3640
3641inline void QOpenGLFunctions_2_1::glVertexAttrib1dv(GLuint index, const GLdouble *v)
3642{
3643 d_2_0_Core->f.VertexAttrib1dv(index, v);
3644}
3645
3646inline void QOpenGLFunctions_2_1::glVertexAttrib1d(GLuint index, GLdouble x)
3647{
3648 d_2_0_Core->f.VertexAttrib1d(index, x);
3649}
3650
3651
3652// OpenGL 2.1 deprecated functions
3653
3654
3655QT_END_NAMESPACE
3656
3657#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
3658
3659#endif
3660

source code of qtbase/src/gui/opengl/qopenglfunctions_2_1.h