1/****************************************************************************
2**
3** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the QtGui module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU Lesser General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU Lesser
20** General Public License version 3 as published by the Free Software
21** Foundation and appearing in the file LICENSE.LGPL3 included in the
22** packaging of this file. Please review the following information to
23** ensure the GNU Lesser General Public License version 3 requirements
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25**
26** GNU General Public License Usage
27** Alternatively, this file may be used under the terms of the GNU
28** General Public License version 2.0 or (at your option) the GNU General
29** Public license version 3 or any later version approved by the KDE Free
30** Qt Foundation. The licenses are as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32** included in the packaging of this file. Please review the following
33** information to ensure the GNU General Public License requirements will
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35** https://www.gnu.org/licenses/gpl-3.0.html.
36**
37** $QT_END_LICENSE$
38**
39**
40** This file was generated by glgen version 0.1
41** Command line was: glgen
42**
43** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
44**
45** This is an auto-generated file.
46** Do not edit! All changes made to it will be lost.
47**
48****************************************************************************/
49
50#ifndef QOPENGLVERSIONFUNCTIONS_1_4_H
51#define QOPENGLVERSIONFUNCTIONS_1_4_H
52
53#include <QtGui/qtguiglobal.h>
54
55#if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
56
57#include <QtGui/QOpenGLVersionFunctions>
58#include <QtGui/qopenglcontext.h>
59
60QT_BEGIN_NAMESPACE
61
62class Q_GUI_EXPORT QOpenGLFunctions_1_4 : public QAbstractOpenGLFunctions
63{
64public:
65 QOpenGLFunctions_1_4();
66 ~QOpenGLFunctions_1_4();
67
68 bool initializeOpenGLFunctions() override;
69
70 // OpenGL 1.0 core functions
71 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
72 void glDepthRange(GLdouble nearVal, GLdouble farVal);
73 GLboolean glIsEnabled(GLenum cap);
74 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
75 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
76 void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
77 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
78 void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
79 const GLubyte * glGetString(GLenum name);
80 void glGetIntegerv(GLenum pname, GLint *params);
81 void glGetFloatv(GLenum pname, GLfloat *params);
82 GLenum glGetError();
83 void glGetDoublev(GLenum pname, GLdouble *params);
84 void glGetBooleanv(GLenum pname, GLboolean *params);
85 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
86 void glReadBuffer(GLenum mode);
87 void glPixelStorei(GLenum pname, GLint param);
88 void glPixelStoref(GLenum pname, GLfloat param);
89 void glDepthFunc(GLenum func);
90 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
91 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
92 void glLogicOp(GLenum opcode);
93 void glBlendFunc(GLenum sfactor, GLenum dfactor);
94 void glFlush();
95 void glFinish();
96 void glEnable(GLenum cap);
97 void glDisable(GLenum cap);
98 void glDepthMask(GLboolean flag);
99 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
100 void glStencilMask(GLuint mask);
101 void glClearDepth(GLdouble depth);
102 void glClearStencil(GLint s);
103 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
104 void glClear(GLbitfield mask);
105 void glDrawBuffer(GLenum mode);
106 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
107 void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
108 void glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
109 void glTexParameteri(GLenum target, GLenum pname, GLint param);
110 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
111 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
112 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
113 void glPolygonMode(GLenum face, GLenum mode);
114 void glPointSize(GLfloat size);
115 void glLineWidth(GLfloat width);
116 void glHint(GLenum target, GLenum mode);
117 void glFrontFace(GLenum mode);
118 void glCullFace(GLenum mode);
119
120 // OpenGL 1.1 core functions
121 void glIndexubv(const GLubyte *c);
122 void glIndexub(GLubyte c);
123 GLboolean glIsTexture(GLuint texture);
124 void glGenTextures(GLsizei n, GLuint *textures);
125 void glDeleteTextures(GLsizei n, const GLuint *textures);
126 void glBindTexture(GLenum target, GLuint texture);
127 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
128 void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
129 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
130 void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
131 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
132 void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
133 void glPolygonOffset(GLfloat factor, GLfloat units);
134 void glGetPointerv(GLenum pname, GLvoid* *params);
135 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
136 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
137
138 // OpenGL 1.2 core functions
139 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
140 void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
141 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
142 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
143 void glBlendEquation(GLenum mode);
144 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
145
146 // OpenGL 1.3 core functions
147 void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img);
148 void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
149 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
150 void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
151 void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
152 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
153 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
154 void glSampleCoverage(GLfloat value, GLboolean invert);
155 void glActiveTexture(GLenum texture);
156
157 // OpenGL 1.4 core functions
158 void glPointParameteriv(GLenum pname, const GLint *params);
159 void glPointParameteri(GLenum pname, GLint param);
160 void glPointParameterfv(GLenum pname, const GLfloat *params);
161 void glPointParameterf(GLenum pname, GLfloat param);
162 void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
163 void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
164 void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
165
166 // OpenGL 1.0 deprecated functions
167 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
168 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
169 void glScalef(GLfloat x, GLfloat y, GLfloat z);
170 void glScaled(GLdouble x, GLdouble y, GLdouble z);
171 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
172 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
173 void glPushMatrix();
174 void glPopMatrix();
175 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
176 void glMultMatrixd(const GLdouble *m);
177 void glMultMatrixf(const GLfloat *m);
178 void glMatrixMode(GLenum mode);
179 void glLoadMatrixd(const GLdouble *m);
180 void glLoadMatrixf(const GLfloat *m);
181 void glLoadIdentity();
182 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
183 GLboolean glIsList(GLuint list);
184 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
185 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
186 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
187 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
188 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
189 void glGetPolygonStipple(GLubyte *mask);
190 void glGetPixelMapusv(GLenum map, GLushort *values);
191 void glGetPixelMapuiv(GLenum map, GLuint *values);
192 void glGetPixelMapfv(GLenum map, GLfloat *values);
193 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
194 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
195 void glGetMapiv(GLenum target, GLenum query, GLint *v);
196 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
197 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
198 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
199 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
200 void glGetClipPlane(GLenum plane, GLdouble *equation);
201 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
202 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
203 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
204 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
205 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
206 void glPixelTransferi(GLenum pname, GLint param);
207 void glPixelTransferf(GLenum pname, GLfloat param);
208 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
209 void glAlphaFunc(GLenum func, GLfloat ref);
210 void glEvalPoint2(GLint i, GLint j);
211 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
212 void glEvalPoint1(GLint i);
213 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
214 void glEvalCoord2fv(const GLfloat *u);
215 void glEvalCoord2f(GLfloat u, GLfloat v);
216 void glEvalCoord2dv(const GLdouble *u);
217 void glEvalCoord2d(GLdouble u, GLdouble v);
218 void glEvalCoord1fv(const GLfloat *u);
219 void glEvalCoord1f(GLfloat u);
220 void glEvalCoord1dv(const GLdouble *u);
221 void glEvalCoord1d(GLdouble u);
222 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
223 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
224 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
225 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
226 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
227 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
228 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
229 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
230 void glPushAttrib(GLbitfield mask);
231 void glPopAttrib();
232 void glAccum(GLenum op, GLfloat value);
233 void glIndexMask(GLuint mask);
234 void glClearIndex(GLfloat c);
235 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
236 void glPushName(GLuint name);
237 void glPopName();
238 void glPassThrough(GLfloat token);
239 void glLoadName(GLuint name);
240 void glInitNames();
241 GLint glRenderMode(GLenum mode);
242 void glSelectBuffer(GLsizei size, GLuint *buffer);
243 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
244 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
245 void glTexGeni(GLenum coord, GLenum pname, GLint param);
246 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
247 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
248 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
249 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
250 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
251 void glTexEnvi(GLenum target, GLenum pname, GLint param);
252 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
253 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
254 void glShadeModel(GLenum mode);
255 void glPolygonStipple(const GLubyte *mask);
256 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
257 void glMateriali(GLenum face, GLenum pname, GLint param);
258 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
259 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
260 void glLineStipple(GLint factor, GLushort pattern);
261 void glLightModeliv(GLenum pname, const GLint *params);
262 void glLightModeli(GLenum pname, GLint param);
263 void glLightModelfv(GLenum pname, const GLfloat *params);
264 void glLightModelf(GLenum pname, GLfloat param);
265 void glLightiv(GLenum light, GLenum pname, const GLint *params);
266 void glLighti(GLenum light, GLenum pname, GLint param);
267 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
268 void glLightf(GLenum light, GLenum pname, GLfloat param);
269 void glFogiv(GLenum pname, const GLint *params);
270 void glFogi(GLenum pname, GLint param);
271 void glFogfv(GLenum pname, const GLfloat *params);
272 void glFogf(GLenum pname, GLfloat param);
273 void glColorMaterial(GLenum face, GLenum mode);
274 void glClipPlane(GLenum plane, const GLdouble *equation);
275 void glVertex4sv(const GLshort *v);
276 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
277 void glVertex4iv(const GLint *v);
278 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
279 void glVertex4fv(const GLfloat *v);
280 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
281 void glVertex4dv(const GLdouble *v);
282 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
283 void glVertex3sv(const GLshort *v);
284 void glVertex3s(GLshort x, GLshort y, GLshort z);
285 void glVertex3iv(const GLint *v);
286 void glVertex3i(GLint x, GLint y, GLint z);
287 void glVertex3fv(const GLfloat *v);
288 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
289 void glVertex3dv(const GLdouble *v);
290 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
291 void glVertex2sv(const GLshort *v);
292 void glVertex2s(GLshort x, GLshort y);
293 void glVertex2iv(const GLint *v);
294 void glVertex2i(GLint x, GLint y);
295 void glVertex2fv(const GLfloat *v);
296 void glVertex2f(GLfloat x, GLfloat y);
297 void glVertex2dv(const GLdouble *v);
298 void glVertex2d(GLdouble x, GLdouble y);
299 void glTexCoord4sv(const GLshort *v);
300 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
301 void glTexCoord4iv(const GLint *v);
302 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
303 void glTexCoord4fv(const GLfloat *v);
304 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
305 void glTexCoord4dv(const GLdouble *v);
306 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
307 void glTexCoord3sv(const GLshort *v);
308 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
309 void glTexCoord3iv(const GLint *v);
310 void glTexCoord3i(GLint s, GLint t, GLint r);
311 void glTexCoord3fv(const GLfloat *v);
312 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
313 void glTexCoord3dv(const GLdouble *v);
314 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
315 void glTexCoord2sv(const GLshort *v);
316 void glTexCoord2s(GLshort s, GLshort t);
317 void glTexCoord2iv(const GLint *v);
318 void glTexCoord2i(GLint s, GLint t);
319 void glTexCoord2fv(const GLfloat *v);
320 void glTexCoord2f(GLfloat s, GLfloat t);
321 void glTexCoord2dv(const GLdouble *v);
322 void glTexCoord2d(GLdouble s, GLdouble t);
323 void glTexCoord1sv(const GLshort *v);
324 void glTexCoord1s(GLshort s);
325 void glTexCoord1iv(const GLint *v);
326 void glTexCoord1i(GLint s);
327 void glTexCoord1fv(const GLfloat *v);
328 void glTexCoord1f(GLfloat s);
329 void glTexCoord1dv(const GLdouble *v);
330 void glTexCoord1d(GLdouble s);
331 void glRectsv(const GLshort *v1, const GLshort *v2);
332 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
333 void glRectiv(const GLint *v1, const GLint *v2);
334 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
335 void glRectfv(const GLfloat *v1, const GLfloat *v2);
336 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
337 void glRectdv(const GLdouble *v1, const GLdouble *v2);
338 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
339 void glRasterPos4sv(const GLshort *v);
340 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
341 void glRasterPos4iv(const GLint *v);
342 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
343 void glRasterPos4fv(const GLfloat *v);
344 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
345 void glRasterPos4dv(const GLdouble *v);
346 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
347 void glRasterPos3sv(const GLshort *v);
348 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
349 void glRasterPos3iv(const GLint *v);
350 void glRasterPos3i(GLint x, GLint y, GLint z);
351 void glRasterPos3fv(const GLfloat *v);
352 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
353 void glRasterPos3dv(const GLdouble *v);
354 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
355 void glRasterPos2sv(const GLshort *v);
356 void glRasterPos2s(GLshort x, GLshort y);
357 void glRasterPos2iv(const GLint *v);
358 void glRasterPos2i(GLint x, GLint y);
359 void glRasterPos2fv(const GLfloat *v);
360 void glRasterPos2f(GLfloat x, GLfloat y);
361 void glRasterPos2dv(const GLdouble *v);
362 void glRasterPos2d(GLdouble x, GLdouble y);
363 void glNormal3sv(const GLshort *v);
364 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
365 void glNormal3iv(const GLint *v);
366 void glNormal3i(GLint nx, GLint ny, GLint nz);
367 void glNormal3fv(const GLfloat *v);
368 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
369 void glNormal3dv(const GLdouble *v);
370 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
371 void glNormal3bv(const GLbyte *v);
372 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
373 void glIndexsv(const GLshort *c);
374 void glIndexs(GLshort c);
375 void glIndexiv(const GLint *c);
376 void glIndexi(GLint c);
377 void glIndexfv(const GLfloat *c);
378 void glIndexf(GLfloat c);
379 void glIndexdv(const GLdouble *c);
380 void glIndexd(GLdouble c);
381 void glEnd();
382 void glEdgeFlagv(const GLboolean *flag);
383 void glEdgeFlag(GLboolean flag);
384 void glColor4usv(const GLushort *v);
385 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
386 void glColor4uiv(const GLuint *v);
387 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
388 void glColor4ubv(const GLubyte *v);
389 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
390 void glColor4sv(const GLshort *v);
391 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
392 void glColor4iv(const GLint *v);
393 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
394 void glColor4fv(const GLfloat *v);
395 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
396 void glColor4dv(const GLdouble *v);
397 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
398 void glColor4bv(const GLbyte *v);
399 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
400 void glColor3usv(const GLushort *v);
401 void glColor3us(GLushort red, GLushort green, GLushort blue);
402 void glColor3uiv(const GLuint *v);
403 void glColor3ui(GLuint red, GLuint green, GLuint blue);
404 void glColor3ubv(const GLubyte *v);
405 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
406 void glColor3sv(const GLshort *v);
407 void glColor3s(GLshort red, GLshort green, GLshort blue);
408 void glColor3iv(const GLint *v);
409 void glColor3i(GLint red, GLint green, GLint blue);
410 void glColor3fv(const GLfloat *v);
411 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
412 void glColor3dv(const GLdouble *v);
413 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
414 void glColor3bv(const GLbyte *v);
415 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
416 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
417 void glBegin(GLenum mode);
418 void glListBase(GLuint base);
419 GLuint glGenLists(GLsizei range);
420 void glDeleteLists(GLuint list, GLsizei range);
421 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
422 void glCallList(GLuint list);
423 void glEndList();
424 void glNewList(GLuint list, GLenum mode);
425
426 // OpenGL 1.1 deprecated functions
427 void glPushClientAttrib(GLbitfield mask);
428 void glPopClientAttrib();
429 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
430 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
431 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
432 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
433 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
434 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
435 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
436 void glEnableClientState(GLenum array);
437 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
438 void glDisableClientState(GLenum array);
439 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
440 void glArrayElement(GLint i);
441
442 // OpenGL 1.2 deprecated functions
443 void glResetMinmax(GLenum target);
444 void glResetHistogram(GLenum target);
445 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
446 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
447 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
448 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
449 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
450 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
451 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
452 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
453 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
454 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
455 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
456 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
457 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
458 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
459 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
460 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
461 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
462 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
463 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
464 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
465 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
466 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
467 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
468 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
469 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
470 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
471 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
472 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
473 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
474 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
475
476 // OpenGL 1.3 deprecated functions
477 void glMultTransposeMatrixd(const GLdouble *m);
478 void glMultTransposeMatrixf(const GLfloat *m);
479 void glLoadTransposeMatrixd(const GLdouble *m);
480 void glLoadTransposeMatrixf(const GLfloat *m);
481 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
482 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
483 void glMultiTexCoord4iv(GLenum target, const GLint *v);
484 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
485 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
486 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
487 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
488 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
489 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
490 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
491 void glMultiTexCoord3iv(GLenum target, const GLint *v);
492 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
493 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
494 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
495 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
496 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
497 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
498 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
499 void glMultiTexCoord2iv(GLenum target, const GLint *v);
500 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
501 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
502 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
503 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
504 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
505 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
506 void glMultiTexCoord1s(GLenum target, GLshort s);
507 void glMultiTexCoord1iv(GLenum target, const GLint *v);
508 void glMultiTexCoord1i(GLenum target, GLint s);
509 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
510 void glMultiTexCoord1f(GLenum target, GLfloat s);
511 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
512 void glMultiTexCoord1d(GLenum target, GLdouble s);
513 void glClientActiveTexture(GLenum texture);
514
515 // OpenGL 1.4 deprecated functions
516 void glWindowPos3sv(const GLshort *v);
517 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
518 void glWindowPos3iv(const GLint *v);
519 void glWindowPos3i(GLint x, GLint y, GLint z);
520 void glWindowPos3fv(const GLfloat *v);
521 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
522 void glWindowPos3dv(const GLdouble *v);
523 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
524 void glWindowPos2sv(const GLshort *v);
525 void glWindowPos2s(GLshort x, GLshort y);
526 void glWindowPos2iv(const GLint *v);
527 void glWindowPos2i(GLint x, GLint y);
528 void glWindowPos2fv(const GLfloat *v);
529 void glWindowPos2f(GLfloat x, GLfloat y);
530 void glWindowPos2dv(const GLdouble *v);
531 void glWindowPos2d(GLdouble x, GLdouble y);
532 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
533 void glSecondaryColor3usv(const GLushort *v);
534 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
535 void glSecondaryColor3uiv(const GLuint *v);
536 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
537 void glSecondaryColor3ubv(const GLubyte *v);
538 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
539 void glSecondaryColor3sv(const GLshort *v);
540 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
541 void glSecondaryColor3iv(const GLint *v);
542 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
543 void glSecondaryColor3fv(const GLfloat *v);
544 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
545 void glSecondaryColor3dv(const GLdouble *v);
546 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
547 void glSecondaryColor3bv(const GLbyte *v);
548 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
549 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
550 void glFogCoorddv(const GLdouble *coord);
551 void glFogCoordd(GLdouble coord);
552 void glFogCoordfv(const GLfloat *coord);
553 void glFogCoordf(GLfloat coord);
554
555private:
556 friend class QOpenGLContext;
557
558 static bool isContextCompatible(QOpenGLContext *context);
559 static QOpenGLVersionProfile versionProfile();
560
561 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
562 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
563 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
564 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
565 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
566 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
567 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
568 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
569 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
570 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
571};
572
573// OpenGL 1.0 core functions
574inline void QOpenGLFunctions_1_4::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
575{
576 d_1_0_Core->f.Viewport(x, y, width, height);
577}
578
579inline void QOpenGLFunctions_1_4::glDepthRange(GLdouble nearVal, GLdouble farVal)
580{
581 d_1_0_Core->f.DepthRange(nearVal, farVal);
582}
583
584inline GLboolean QOpenGLFunctions_1_4::glIsEnabled(GLenum cap)
585{
586 return d_1_0_Core->f.IsEnabled(cap);
587}
588
589inline void QOpenGLFunctions_1_4::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
590{
591 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
592}
593
594inline void QOpenGLFunctions_1_4::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
595{
596 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
597}
598
599inline void QOpenGLFunctions_1_4::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
600{
601 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
602}
603
604inline void QOpenGLFunctions_1_4::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
605{
606 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
607}
608
609inline void QOpenGLFunctions_1_4::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
610{
611 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
612}
613
614inline const GLubyte * QOpenGLFunctions_1_4::glGetString(GLenum name)
615{
616 return d_1_0_Core->f.GetString(name);
617}
618
619inline void QOpenGLFunctions_1_4::glGetIntegerv(GLenum pname, GLint *params)
620{
621 d_1_0_Core->f.GetIntegerv(pname, params);
622}
623
624inline void QOpenGLFunctions_1_4::glGetFloatv(GLenum pname, GLfloat *params)
625{
626 d_1_0_Core->f.GetFloatv(pname, params);
627}
628
629inline GLenum QOpenGLFunctions_1_4::glGetError()
630{
631 return d_1_0_Core->f.GetError();
632}
633
634inline void QOpenGLFunctions_1_4::glGetDoublev(GLenum pname, GLdouble *params)
635{
636 d_1_0_Core->f.GetDoublev(pname, params);
637}
638
639inline void QOpenGLFunctions_1_4::glGetBooleanv(GLenum pname, GLboolean *params)
640{
641 d_1_0_Core->f.GetBooleanv(pname, params);
642}
643
644inline void QOpenGLFunctions_1_4::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
645{
646 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
647}
648
649inline void QOpenGLFunctions_1_4::glReadBuffer(GLenum mode)
650{
651 d_1_0_Core->f.ReadBuffer(mode);
652}
653
654inline void QOpenGLFunctions_1_4::glPixelStorei(GLenum pname, GLint param)
655{
656 d_1_0_Core->f.PixelStorei(pname, param);
657}
658
659inline void QOpenGLFunctions_1_4::glPixelStoref(GLenum pname, GLfloat param)
660{
661 d_1_0_Core->f.PixelStoref(pname, param);
662}
663
664inline void QOpenGLFunctions_1_4::glDepthFunc(GLenum func)
665{
666 d_1_0_Core->f.DepthFunc(func);
667}
668
669inline void QOpenGLFunctions_1_4::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
670{
671 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
672}
673
674inline void QOpenGLFunctions_1_4::glStencilFunc(GLenum func, GLint ref, GLuint mask)
675{
676 d_1_0_Core->f.StencilFunc(func, ref, mask);
677}
678
679inline void QOpenGLFunctions_1_4::glLogicOp(GLenum opcode)
680{
681 d_1_0_Core->f.LogicOp(opcode);
682}
683
684inline void QOpenGLFunctions_1_4::glBlendFunc(GLenum sfactor, GLenum dfactor)
685{
686 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
687}
688
689inline void QOpenGLFunctions_1_4::glFlush()
690{
691 d_1_0_Core->f.Flush();
692}
693
694inline void QOpenGLFunctions_1_4::glFinish()
695{
696 d_1_0_Core->f.Finish();
697}
698
699inline void QOpenGLFunctions_1_4::glEnable(GLenum cap)
700{
701 d_1_0_Core->f.Enable(cap);
702}
703
704inline void QOpenGLFunctions_1_4::glDisable(GLenum cap)
705{
706 d_1_0_Core->f.Disable(cap);
707}
708
709inline void QOpenGLFunctions_1_4::glDepthMask(GLboolean flag)
710{
711 d_1_0_Core->f.DepthMask(flag);
712}
713
714inline void QOpenGLFunctions_1_4::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
715{
716 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
717}
718
719inline void QOpenGLFunctions_1_4::glStencilMask(GLuint mask)
720{
721 d_1_0_Core->f.StencilMask(mask);
722}
723
724inline void QOpenGLFunctions_1_4::glClearDepth(GLdouble depth)
725{
726 d_1_0_Core->f.ClearDepth(depth);
727}
728
729inline void QOpenGLFunctions_1_4::glClearStencil(GLint s)
730{
731 d_1_0_Core->f.ClearStencil(s);
732}
733
734inline void QOpenGLFunctions_1_4::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
735{
736 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
737}
738
739inline void QOpenGLFunctions_1_4::glClear(GLbitfield mask)
740{
741 d_1_0_Core->f.Clear(mask);
742}
743
744inline void QOpenGLFunctions_1_4::glDrawBuffer(GLenum mode)
745{
746 d_1_0_Core->f.DrawBuffer(mode);
747}
748
749inline void QOpenGLFunctions_1_4::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
750{
751 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
752}
753
754inline void QOpenGLFunctions_1_4::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
755{
756 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
757}
758
759inline void QOpenGLFunctions_1_4::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
760{
761 d_1_0_Core->f.TexParameteriv(target, pname, params);
762}
763
764inline void QOpenGLFunctions_1_4::glTexParameteri(GLenum target, GLenum pname, GLint param)
765{
766 d_1_0_Core->f.TexParameteri(target, pname, param);
767}
768
769inline void QOpenGLFunctions_1_4::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
770{
771 d_1_0_Core->f.TexParameterfv(target, pname, params);
772}
773
774inline void QOpenGLFunctions_1_4::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
775{
776 d_1_0_Core->f.TexParameterf(target, pname, param);
777}
778
779inline void QOpenGLFunctions_1_4::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
780{
781 d_1_0_Core->f.Scissor(x, y, width, height);
782}
783
784inline void QOpenGLFunctions_1_4::glPolygonMode(GLenum face, GLenum mode)
785{
786 d_1_0_Core->f.PolygonMode(face, mode);
787}
788
789inline void QOpenGLFunctions_1_4::glPointSize(GLfloat size)
790{
791 d_1_0_Core->f.PointSize(size);
792}
793
794inline void QOpenGLFunctions_1_4::glLineWidth(GLfloat width)
795{
796 d_1_0_Core->f.LineWidth(width);
797}
798
799inline void QOpenGLFunctions_1_4::glHint(GLenum target, GLenum mode)
800{
801 d_1_0_Core->f.Hint(target, mode);
802}
803
804inline void QOpenGLFunctions_1_4::glFrontFace(GLenum mode)
805{
806 d_1_0_Core->f.FrontFace(mode);
807}
808
809inline void QOpenGLFunctions_1_4::glCullFace(GLenum mode)
810{
811 d_1_0_Core->f.CullFace(mode);
812}
813
814
815// OpenGL 1.1 core functions
816inline void QOpenGLFunctions_1_4::glIndexubv(const GLubyte *c)
817{
818 d_1_1_Deprecated->f.Indexubv(c);
819}
820
821inline void QOpenGLFunctions_1_4::glIndexub(GLubyte c)
822{
823 d_1_1_Deprecated->f.Indexub(c);
824}
825
826inline GLboolean QOpenGLFunctions_1_4::glIsTexture(GLuint texture)
827{
828 return d_1_1_Core->f.IsTexture(texture);
829}
830
831inline void QOpenGLFunctions_1_4::glGenTextures(GLsizei n, GLuint *textures)
832{
833 d_1_1_Core->f.GenTextures(n, textures);
834}
835
836inline void QOpenGLFunctions_1_4::glDeleteTextures(GLsizei n, const GLuint *textures)
837{
838 d_1_1_Core->f.DeleteTextures(n, textures);
839}
840
841inline void QOpenGLFunctions_1_4::glBindTexture(GLenum target, GLuint texture)
842{
843 d_1_1_Core->f.BindTexture(target, texture);
844}
845
846inline void QOpenGLFunctions_1_4::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
847{
848 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
849}
850
851inline void QOpenGLFunctions_1_4::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
852{
853 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
854}
855
856inline void QOpenGLFunctions_1_4::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
857{
858 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
859}
860
861inline void QOpenGLFunctions_1_4::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
862{
863 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
864}
865
866inline void QOpenGLFunctions_1_4::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
867{
868 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
869}
870
871inline void QOpenGLFunctions_1_4::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
872{
873 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
874}
875
876inline void QOpenGLFunctions_1_4::glPolygonOffset(GLfloat factor, GLfloat units)
877{
878 d_1_1_Core->f.PolygonOffset(factor, units);
879}
880
881inline void QOpenGLFunctions_1_4::glGetPointerv(GLenum pname, GLvoid* *params)
882{
883 d_1_1_Deprecated->f.GetPointerv(pname, params);
884}
885
886inline void QOpenGLFunctions_1_4::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
887{
888 d_1_1_Core->f.DrawElements(mode, count, type, indices);
889}
890
891inline void QOpenGLFunctions_1_4::glDrawArrays(GLenum mode, GLint first, GLsizei count)
892{
893 d_1_1_Core->f.DrawArrays(mode, first, count);
894}
895
896
897// OpenGL 1.2 core functions
898inline void QOpenGLFunctions_1_4::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
899{
900 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
901}
902
903inline void QOpenGLFunctions_1_4::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
904{
905 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
906}
907
908inline void QOpenGLFunctions_1_4::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
909{
910 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
911}
912
913inline void QOpenGLFunctions_1_4::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
914{
915 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
916}
917
918inline void QOpenGLFunctions_1_4::glBlendEquation(GLenum mode)
919{
920 d_1_2_Core->f.BlendEquation(mode);
921}
922
923inline void QOpenGLFunctions_1_4::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
924{
925 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
926}
927
928
929// OpenGL 1.3 core functions
930inline void QOpenGLFunctions_1_4::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
931{
932 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
933}
934
935inline void QOpenGLFunctions_1_4::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
936{
937 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
938}
939
940inline void QOpenGLFunctions_1_4::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
941{
942 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
943}
944
945inline void QOpenGLFunctions_1_4::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
946{
947 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
948}
949
950inline void QOpenGLFunctions_1_4::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
951{
952 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
953}
954
955inline void QOpenGLFunctions_1_4::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
956{
957 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
958}
959
960inline void QOpenGLFunctions_1_4::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
961{
962 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
963}
964
965inline void QOpenGLFunctions_1_4::glSampleCoverage(GLfloat value, GLboolean invert)
966{
967 d_1_3_Core->f.SampleCoverage(value, invert);
968}
969
970inline void QOpenGLFunctions_1_4::glActiveTexture(GLenum texture)
971{
972 d_1_3_Core->f.ActiveTexture(texture);
973}
974
975
976// OpenGL 1.4 core functions
977inline void QOpenGLFunctions_1_4::glPointParameteriv(GLenum pname, const GLint *params)
978{
979 d_1_4_Core->f.PointParameteriv(pname, params);
980}
981
982inline void QOpenGLFunctions_1_4::glPointParameteri(GLenum pname, GLint param)
983{
984 d_1_4_Core->f.PointParameteri(pname, param);
985}
986
987inline void QOpenGLFunctions_1_4::glPointParameterfv(GLenum pname, const GLfloat *params)
988{
989 d_1_4_Core->f.PointParameterfv(pname, params);
990}
991
992inline void QOpenGLFunctions_1_4::glPointParameterf(GLenum pname, GLfloat param)
993{
994 d_1_4_Core->f.PointParameterf(pname, param);
995}
996
997inline void QOpenGLFunctions_1_4::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
998{
999 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1000}
1001
1002inline void QOpenGLFunctions_1_4::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1003{
1004 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1005}
1006
1007inline void QOpenGLFunctions_1_4::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1008{
1009 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1010}
1011
1012
1013// OpenGL 1.0 deprecated functions
1014inline void QOpenGLFunctions_1_4::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
1015{
1016 d_1_0_Deprecated->f.Translatef(x, y, z);
1017}
1018
1019inline void QOpenGLFunctions_1_4::glTranslated(GLdouble x, GLdouble y, GLdouble z)
1020{
1021 d_1_0_Deprecated->f.Translated(x, y, z);
1022}
1023
1024inline void QOpenGLFunctions_1_4::glScalef(GLfloat x, GLfloat y, GLfloat z)
1025{
1026 d_1_0_Deprecated->f.Scalef(x, y, z);
1027}
1028
1029inline void QOpenGLFunctions_1_4::glScaled(GLdouble x, GLdouble y, GLdouble z)
1030{
1031 d_1_0_Deprecated->f.Scaled(x, y, z);
1032}
1033
1034inline void QOpenGLFunctions_1_4::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
1035{
1036 d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
1037}
1038
1039inline void QOpenGLFunctions_1_4::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
1040{
1041 d_1_0_Deprecated->f.Rotated(angle, x, y, z);
1042}
1043
1044inline void QOpenGLFunctions_1_4::glPushMatrix()
1045{
1046 d_1_0_Deprecated->f.PushMatrix();
1047}
1048
1049inline void QOpenGLFunctions_1_4::glPopMatrix()
1050{
1051 d_1_0_Deprecated->f.PopMatrix();
1052}
1053
1054inline void QOpenGLFunctions_1_4::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1055{
1056 d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
1057}
1058
1059inline void QOpenGLFunctions_1_4::glMultMatrixd(const GLdouble *m)
1060{
1061 d_1_0_Deprecated->f.MultMatrixd(m);
1062}
1063
1064inline void QOpenGLFunctions_1_4::glMultMatrixf(const GLfloat *m)
1065{
1066 d_1_0_Deprecated->f.MultMatrixf(m);
1067}
1068
1069inline void QOpenGLFunctions_1_4::glMatrixMode(GLenum mode)
1070{
1071 d_1_0_Deprecated->f.MatrixMode(mode);
1072}
1073
1074inline void QOpenGLFunctions_1_4::glLoadMatrixd(const GLdouble *m)
1075{
1076 d_1_0_Deprecated->f.LoadMatrixd(m);
1077}
1078
1079inline void QOpenGLFunctions_1_4::glLoadMatrixf(const GLfloat *m)
1080{
1081 d_1_0_Deprecated->f.LoadMatrixf(m);
1082}
1083
1084inline void QOpenGLFunctions_1_4::glLoadIdentity()
1085{
1086 d_1_0_Deprecated->f.LoadIdentity();
1087}
1088
1089inline void QOpenGLFunctions_1_4::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
1090{
1091 d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
1092}
1093
1094inline GLboolean QOpenGLFunctions_1_4::glIsList(GLuint list)
1095{
1096 return d_1_0_Deprecated->f.IsList(list);
1097}
1098
1099inline void QOpenGLFunctions_1_4::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
1100{
1101 d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
1102}
1103
1104inline void QOpenGLFunctions_1_4::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
1105{
1106 d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
1107}
1108
1109inline void QOpenGLFunctions_1_4::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
1110{
1111 d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
1112}
1113
1114inline void QOpenGLFunctions_1_4::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
1115{
1116 d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
1117}
1118
1119inline void QOpenGLFunctions_1_4::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
1120{
1121 d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
1122}
1123
1124inline void QOpenGLFunctions_1_4::glGetPolygonStipple(GLubyte *mask)
1125{
1126 d_1_0_Deprecated->f.GetPolygonStipple(mask);
1127}
1128
1129inline void QOpenGLFunctions_1_4::glGetPixelMapusv(GLenum map, GLushort *values)
1130{
1131 d_1_0_Deprecated->f.GetPixelMapusv(map, values);
1132}
1133
1134inline void QOpenGLFunctions_1_4::glGetPixelMapuiv(GLenum map, GLuint *values)
1135{
1136 d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
1137}
1138
1139inline void QOpenGLFunctions_1_4::glGetPixelMapfv(GLenum map, GLfloat *values)
1140{
1141 d_1_0_Deprecated->f.GetPixelMapfv(map, values);
1142}
1143
1144inline void QOpenGLFunctions_1_4::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
1145{
1146 d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
1147}
1148
1149inline void QOpenGLFunctions_1_4::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
1150{
1151 d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
1152}
1153
1154inline void QOpenGLFunctions_1_4::glGetMapiv(GLenum target, GLenum query, GLint *v)
1155{
1156 d_1_0_Deprecated->f.GetMapiv(target, query, v);
1157}
1158
1159inline void QOpenGLFunctions_1_4::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
1160{
1161 d_1_0_Deprecated->f.GetMapfv(target, query, v);
1162}
1163
1164inline void QOpenGLFunctions_1_4::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
1165{
1166 d_1_0_Deprecated->f.GetMapdv(target, query, v);
1167}
1168
1169inline void QOpenGLFunctions_1_4::glGetLightiv(GLenum light, GLenum pname, GLint *params)
1170{
1171 d_1_0_Deprecated->f.GetLightiv(light, pname, params);
1172}
1173
1174inline void QOpenGLFunctions_1_4::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
1175{
1176 d_1_0_Deprecated->f.GetLightfv(light, pname, params);
1177}
1178
1179inline void QOpenGLFunctions_1_4::glGetClipPlane(GLenum plane, GLdouble *equation)
1180{
1181 d_1_0_Deprecated->f.GetClipPlane(plane, equation);
1182}
1183
1184inline void QOpenGLFunctions_1_4::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
1185{
1186 d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
1187}
1188
1189inline void QOpenGLFunctions_1_4::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
1190{
1191 d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
1192}
1193
1194inline void QOpenGLFunctions_1_4::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
1195{
1196 d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
1197}
1198
1199inline void QOpenGLFunctions_1_4::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
1200{
1201 d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
1202}
1203
1204inline void QOpenGLFunctions_1_4::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
1205{
1206 d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
1207}
1208
1209inline void QOpenGLFunctions_1_4::glPixelTransferi(GLenum pname, GLint param)
1210{
1211 d_1_0_Deprecated->f.PixelTransferi(pname, param);
1212}
1213
1214inline void QOpenGLFunctions_1_4::glPixelTransferf(GLenum pname, GLfloat param)
1215{
1216 d_1_0_Deprecated->f.PixelTransferf(pname, param);
1217}
1218
1219inline void QOpenGLFunctions_1_4::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
1220{
1221 d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
1222}
1223
1224inline void QOpenGLFunctions_1_4::glAlphaFunc(GLenum func, GLfloat ref)
1225{
1226 d_1_0_Deprecated->f.AlphaFunc(func, ref);
1227}
1228
1229inline void QOpenGLFunctions_1_4::glEvalPoint2(GLint i, GLint j)
1230{
1231 d_1_0_Deprecated->f.EvalPoint2(i, j);
1232}
1233
1234inline void QOpenGLFunctions_1_4::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
1235{
1236 d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
1237}
1238
1239inline void QOpenGLFunctions_1_4::glEvalPoint1(GLint i)
1240{
1241 d_1_0_Deprecated->f.EvalPoint1(i);
1242}
1243
1244inline void QOpenGLFunctions_1_4::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
1245{
1246 d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
1247}
1248
1249inline void QOpenGLFunctions_1_4::glEvalCoord2fv(const GLfloat *u)
1250{
1251 d_1_0_Deprecated->f.EvalCoord2fv(u);
1252}
1253
1254inline void QOpenGLFunctions_1_4::glEvalCoord2f(GLfloat u, GLfloat v)
1255{
1256 d_1_0_Deprecated->f.EvalCoord2f(u, v);
1257}
1258
1259inline void QOpenGLFunctions_1_4::glEvalCoord2dv(const GLdouble *u)
1260{
1261 d_1_0_Deprecated->f.EvalCoord2dv(u);
1262}
1263
1264inline void QOpenGLFunctions_1_4::glEvalCoord2d(GLdouble u, GLdouble v)
1265{
1266 d_1_0_Deprecated->f.EvalCoord2d(u, v);
1267}
1268
1269inline void QOpenGLFunctions_1_4::glEvalCoord1fv(const GLfloat *u)
1270{
1271 d_1_0_Deprecated->f.EvalCoord1fv(u);
1272}
1273
1274inline void QOpenGLFunctions_1_4::glEvalCoord1f(GLfloat u)
1275{
1276 d_1_0_Deprecated->f.EvalCoord1f(u);
1277}
1278
1279inline void QOpenGLFunctions_1_4::glEvalCoord1dv(const GLdouble *u)
1280{
1281 d_1_0_Deprecated->f.EvalCoord1dv(u);
1282}
1283
1284inline void QOpenGLFunctions_1_4::glEvalCoord1d(GLdouble u)
1285{
1286 d_1_0_Deprecated->f.EvalCoord1d(u);
1287}
1288
1289inline void QOpenGLFunctions_1_4::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
1290{
1291 d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
1292}
1293
1294inline void QOpenGLFunctions_1_4::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
1295{
1296 d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
1297}
1298
1299inline void QOpenGLFunctions_1_4::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
1300{
1301 d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
1302}
1303
1304inline void QOpenGLFunctions_1_4::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
1305{
1306 d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
1307}
1308
1309inline void QOpenGLFunctions_1_4::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
1310{
1311 d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1312}
1313
1314inline void QOpenGLFunctions_1_4::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
1315{
1316 d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1317}
1318
1319inline void QOpenGLFunctions_1_4::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
1320{
1321 d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
1322}
1323
1324inline void QOpenGLFunctions_1_4::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
1325{
1326 d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
1327}
1328
1329inline void QOpenGLFunctions_1_4::glPushAttrib(GLbitfield mask)
1330{
1331 d_1_0_Deprecated->f.PushAttrib(mask);
1332}
1333
1334inline void QOpenGLFunctions_1_4::glPopAttrib()
1335{
1336 d_1_0_Deprecated->f.PopAttrib();
1337}
1338
1339inline void QOpenGLFunctions_1_4::glAccum(GLenum op, GLfloat value)
1340{
1341 d_1_0_Deprecated->f.Accum(op, value);
1342}
1343
1344inline void QOpenGLFunctions_1_4::glIndexMask(GLuint mask)
1345{
1346 d_1_0_Deprecated->f.IndexMask(mask);
1347}
1348
1349inline void QOpenGLFunctions_1_4::glClearIndex(GLfloat c)
1350{
1351 d_1_0_Deprecated->f.ClearIndex(c);
1352}
1353
1354inline void QOpenGLFunctions_1_4::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1355{
1356 d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
1357}
1358
1359inline void QOpenGLFunctions_1_4::glPushName(GLuint name)
1360{
1361 d_1_0_Deprecated->f.PushName(name);
1362}
1363
1364inline void QOpenGLFunctions_1_4::glPopName()
1365{
1366 d_1_0_Deprecated->f.PopName();
1367}
1368
1369inline void QOpenGLFunctions_1_4::glPassThrough(GLfloat token)
1370{
1371 d_1_0_Deprecated->f.PassThrough(token);
1372}
1373
1374inline void QOpenGLFunctions_1_4::glLoadName(GLuint name)
1375{
1376 d_1_0_Deprecated->f.LoadName(name);
1377}
1378
1379inline void QOpenGLFunctions_1_4::glInitNames()
1380{
1381 d_1_0_Deprecated->f.InitNames();
1382}
1383
1384inline GLint QOpenGLFunctions_1_4::glRenderMode(GLenum mode)
1385{
1386 return d_1_0_Deprecated->f.RenderMode(mode);
1387}
1388
1389inline void QOpenGLFunctions_1_4::glSelectBuffer(GLsizei size, GLuint *buffer)
1390{
1391 d_1_0_Deprecated->f.SelectBuffer(size, buffer);
1392}
1393
1394inline void QOpenGLFunctions_1_4::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
1395{
1396 d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
1397}
1398
1399inline void QOpenGLFunctions_1_4::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1400{
1401 d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
1402}
1403
1404inline void QOpenGLFunctions_1_4::glTexGeni(GLenum coord, GLenum pname, GLint param)
1405{
1406 d_1_0_Deprecated->f.TexGeni(coord, pname, param);
1407}
1408
1409inline void QOpenGLFunctions_1_4::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1410{
1411 d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
1412}
1413
1414inline void QOpenGLFunctions_1_4::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1415{
1416 d_1_0_Deprecated->f.TexGenf(coord, pname, param);
1417}
1418
1419inline void QOpenGLFunctions_1_4::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1420{
1421 d_1_0_Deprecated->f.TexGendv(coord, pname, params);
1422}
1423
1424inline void QOpenGLFunctions_1_4::glTexGend(GLenum coord, GLenum pname, GLdouble param)
1425{
1426 d_1_0_Deprecated->f.TexGend(coord, pname, param);
1427}
1428
1429inline void QOpenGLFunctions_1_4::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
1430{
1431 d_1_0_Deprecated->f.TexEnviv(target, pname, params);
1432}
1433
1434inline void QOpenGLFunctions_1_4::glTexEnvi(GLenum target, GLenum pname, GLint param)
1435{
1436 d_1_0_Deprecated->f.TexEnvi(target, pname, param);
1437}
1438
1439inline void QOpenGLFunctions_1_4::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
1440{
1441 d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
1442}
1443
1444inline void QOpenGLFunctions_1_4::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1445{
1446 d_1_0_Deprecated->f.TexEnvf(target, pname, param);
1447}
1448
1449inline void QOpenGLFunctions_1_4::glShadeModel(GLenum mode)
1450{
1451 d_1_0_Deprecated->f.ShadeModel(mode);
1452}
1453
1454inline void QOpenGLFunctions_1_4::glPolygonStipple(const GLubyte *mask)
1455{
1456 d_1_0_Deprecated->f.PolygonStipple(mask);
1457}
1458
1459inline void QOpenGLFunctions_1_4::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
1460{
1461 d_1_0_Deprecated->f.Materialiv(face, pname, params);
1462}
1463
1464inline void QOpenGLFunctions_1_4::glMateriali(GLenum face, GLenum pname, GLint param)
1465{
1466 d_1_0_Deprecated->f.Materiali(face, pname, param);
1467}
1468
1469inline void QOpenGLFunctions_1_4::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
1470{
1471 d_1_0_Deprecated->f.Materialfv(face, pname, params);
1472}
1473
1474inline void QOpenGLFunctions_1_4::glMaterialf(GLenum face, GLenum pname, GLfloat param)
1475{
1476 d_1_0_Deprecated->f.Materialf(face, pname, param);
1477}
1478
1479inline void QOpenGLFunctions_1_4::glLineStipple(GLint factor, GLushort pattern)
1480{
1481 d_1_0_Deprecated->f.LineStipple(factor, pattern);
1482}
1483
1484inline void QOpenGLFunctions_1_4::glLightModeliv(GLenum pname, const GLint *params)
1485{
1486 d_1_0_Deprecated->f.LightModeliv(pname, params);
1487}
1488
1489inline void QOpenGLFunctions_1_4::glLightModeli(GLenum pname, GLint param)
1490{
1491 d_1_0_Deprecated->f.LightModeli(pname, param);
1492}
1493
1494inline void QOpenGLFunctions_1_4::glLightModelfv(GLenum pname, const GLfloat *params)
1495{
1496 d_1_0_Deprecated->f.LightModelfv(pname, params);
1497}
1498
1499inline void QOpenGLFunctions_1_4::glLightModelf(GLenum pname, GLfloat param)
1500{
1501 d_1_0_Deprecated->f.LightModelf(pname, param);
1502}
1503
1504inline void QOpenGLFunctions_1_4::glLightiv(GLenum light, GLenum pname, const GLint *params)
1505{
1506 d_1_0_Deprecated->f.Lightiv(light, pname, params);
1507}
1508
1509inline void QOpenGLFunctions_1_4::glLighti(GLenum light, GLenum pname, GLint param)
1510{
1511 d_1_0_Deprecated->f.Lighti(light, pname, param);
1512}
1513
1514inline void QOpenGLFunctions_1_4::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
1515{
1516 d_1_0_Deprecated->f.Lightfv(light, pname, params);
1517}
1518
1519inline void QOpenGLFunctions_1_4::glLightf(GLenum light, GLenum pname, GLfloat param)
1520{
1521 d_1_0_Deprecated->f.Lightf(light, pname, param);
1522}
1523
1524inline void QOpenGLFunctions_1_4::glFogiv(GLenum pname, const GLint *params)
1525{
1526 d_1_0_Deprecated->f.Fogiv(pname, params);
1527}
1528
1529inline void QOpenGLFunctions_1_4::glFogi(GLenum pname, GLint param)
1530{
1531 d_1_0_Deprecated->f.Fogi(pname, param);
1532}
1533
1534inline void QOpenGLFunctions_1_4::glFogfv(GLenum pname, const GLfloat *params)
1535{
1536 d_1_0_Deprecated->f.Fogfv(pname, params);
1537}
1538
1539inline void QOpenGLFunctions_1_4::glFogf(GLenum pname, GLfloat param)
1540{
1541 d_1_0_Deprecated->f.Fogf(pname, param);
1542}
1543
1544inline void QOpenGLFunctions_1_4::glColorMaterial(GLenum face, GLenum mode)
1545{
1546