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