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