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