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

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