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_1_H
51#define QOPENGLVERSIONFUNCTIONS_1_1_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_1 : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_1_1();
67 ~QOpenGLFunctions_1_1();
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.0 deprecated functions
140 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
141 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
142 void glScalef(GLfloat x, GLfloat y, GLfloat z);
143 void glScaled(GLdouble x, GLdouble y, GLdouble z);
144 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
145 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
146 void glPushMatrix();
147 void glPopMatrix();
148 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
149 void glMultMatrixd(const GLdouble *m);
150 void glMultMatrixf(const GLfloat *m);
151 void glMatrixMode(GLenum mode);
152 void glLoadMatrixd(const GLdouble *m);
153 void glLoadMatrixf(const GLfloat *m);
154 void glLoadIdentity();
155 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
156 GLboolean glIsList(GLuint list);
157 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
158 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
159 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
160 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
161 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
162 void glGetPolygonStipple(GLubyte *mask);
163 void glGetPixelMapusv(GLenum map, GLushort *values);
164 void glGetPixelMapuiv(GLenum map, GLuint *values);
165 void glGetPixelMapfv(GLenum map, GLfloat *values);
166 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
167 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
168 void glGetMapiv(GLenum target, GLenum query, GLint *v);
169 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
170 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
171 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
172 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
173 void glGetClipPlane(GLenum plane, GLdouble *equation);
174 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
175 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
176 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
177 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
178 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
179 void glPixelTransferi(GLenum pname, GLint param);
180 void glPixelTransferf(GLenum pname, GLfloat param);
181 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
182 void glAlphaFunc(GLenum func, GLfloat ref);
183 void glEvalPoint2(GLint i, GLint j);
184 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
185 void glEvalPoint1(GLint i);
186 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
187 void glEvalCoord2fv(const GLfloat *u);
188 void glEvalCoord2f(GLfloat u, GLfloat v);
189 void glEvalCoord2dv(const GLdouble *u);
190 void glEvalCoord2d(GLdouble u, GLdouble v);
191 void glEvalCoord1fv(const GLfloat *u);
192 void glEvalCoord1f(GLfloat u);
193 void glEvalCoord1dv(const GLdouble *u);
194 void glEvalCoord1d(GLdouble u);
195 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
196 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
197 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
198 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
199 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
200 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
201 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
202 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
203 void glPushAttrib(GLbitfield mask);
204 void glPopAttrib();
205 void glAccum(GLenum op, GLfloat value);
206 void glIndexMask(GLuint mask);
207 void glClearIndex(GLfloat c);
208 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
209 void glPushName(GLuint name);
210 void glPopName();
211 void glPassThrough(GLfloat token);
212 void glLoadName(GLuint name);
213 void glInitNames();
214 GLint glRenderMode(GLenum mode);
215 void glSelectBuffer(GLsizei size, GLuint *buffer);
216 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
217 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
218 void glTexGeni(GLenum coord, GLenum pname, GLint param);
219 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
220 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
221 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
222 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
223 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
224 void glTexEnvi(GLenum target, GLenum pname, GLint param);
225 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
226 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
227 void glShadeModel(GLenum mode);
228 void glPolygonStipple(const GLubyte *mask);
229 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
230 void glMateriali(GLenum face, GLenum pname, GLint param);
231 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
232 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
233 void glLineStipple(GLint factor, GLushort pattern);
234 void glLightModeliv(GLenum pname, const GLint *params);
235 void glLightModeli(GLenum pname, GLint param);
236 void glLightModelfv(GLenum pname, const GLfloat *params);
237 void glLightModelf(GLenum pname, GLfloat param);
238 void glLightiv(GLenum light, GLenum pname, const GLint *params);
239 void glLighti(GLenum light, GLenum pname, GLint param);
240 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
241 void glLightf(GLenum light, GLenum pname, GLfloat param);
242 void glFogiv(GLenum pname, const GLint *params);
243 void glFogi(GLenum pname, GLint param);
244 void glFogfv(GLenum pname, const GLfloat *params);
245 void glFogf(GLenum pname, GLfloat param);
246 void glColorMaterial(GLenum face, GLenum mode);
247 void glClipPlane(GLenum plane, const GLdouble *equation);
248 void glVertex4sv(const GLshort *v);
249 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
250 void glVertex4iv(const GLint *v);
251 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
252 void glVertex4fv(const GLfloat *v);
253 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
254 void glVertex4dv(const GLdouble *v);
255 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
256 void glVertex3sv(const GLshort *v);
257 void glVertex3s(GLshort x, GLshort y, GLshort z);
258 void glVertex3iv(const GLint *v);
259 void glVertex3i(GLint x, GLint y, GLint z);
260 void glVertex3fv(const GLfloat *v);
261 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
262 void glVertex3dv(const GLdouble *v);
263 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
264 void glVertex2sv(const GLshort *v);
265 void glVertex2s(GLshort x, GLshort y);
266 void glVertex2iv(const GLint *v);
267 void glVertex2i(GLint x, GLint y);
268 void glVertex2fv(const GLfloat *v);
269 void glVertex2f(GLfloat x, GLfloat y);
270 void glVertex2dv(const GLdouble *v);
271 void glVertex2d(GLdouble x, GLdouble y);
272 void glTexCoord4sv(const GLshort *v);
273 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
274 void glTexCoord4iv(const GLint *v);
275 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
276 void glTexCoord4fv(const GLfloat *v);
277 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
278 void glTexCoord4dv(const GLdouble *v);
279 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
280 void glTexCoord3sv(const GLshort *v);
281 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
282 void glTexCoord3iv(const GLint *v);
283 void glTexCoord3i(GLint s, GLint t, GLint r);
284 void glTexCoord3fv(const GLfloat *v);
285 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
286 void glTexCoord3dv(const GLdouble *v);
287 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
288 void glTexCoord2sv(const GLshort *v);
289 void glTexCoord2s(GLshort s, GLshort t);
290 void glTexCoord2iv(const GLint *v);
291 void glTexCoord2i(GLint s, GLint t);
292 void glTexCoord2fv(const GLfloat *v);
293 void glTexCoord2f(GLfloat s, GLfloat t);
294 void glTexCoord2dv(const GLdouble *v);
295 void glTexCoord2d(GLdouble s, GLdouble t);
296 void glTexCoord1sv(const GLshort *v);
297 void glTexCoord1s(GLshort s);
298 void glTexCoord1iv(const GLint *v);
299 void glTexCoord1i(GLint s);
300 void glTexCoord1fv(const GLfloat *v);
301 void glTexCoord1f(GLfloat s);
302 void glTexCoord1dv(const GLdouble *v);
303 void glTexCoord1d(GLdouble s);
304 void glRectsv(const GLshort *v1, const GLshort *v2);
305 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
306 void glRectiv(const GLint *v1, const GLint *v2);
307 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
308 void glRectfv(const GLfloat *v1, const GLfloat *v2);
309 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
310 void glRectdv(const GLdouble *v1, const GLdouble *v2);
311 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
312 void glRasterPos4sv(const GLshort *v);
313 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
314 void glRasterPos4iv(const GLint *v);
315 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
316 void glRasterPos4fv(const GLfloat *v);
317 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
318 void glRasterPos4dv(const GLdouble *v);
319 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
320 void glRasterPos3sv(const GLshort *v);
321 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
322 void glRasterPos3iv(const GLint *v);
323 void glRasterPos3i(GLint x, GLint y, GLint z);
324 void glRasterPos3fv(const GLfloat *v);
325 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
326 void glRasterPos3dv(const GLdouble *v);
327 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
328 void glRasterPos2sv(const GLshort *v);
329 void glRasterPos2s(GLshort x, GLshort y);
330 void glRasterPos2iv(const GLint *v);
331 void glRasterPos2i(GLint x, GLint y);
332 void glRasterPos2fv(const GLfloat *v);
333 void glRasterPos2f(GLfloat x, GLfloat y);
334 void glRasterPos2dv(const GLdouble *v);
335 void glRasterPos2d(GLdouble x, GLdouble y);
336 void glNormal3sv(const GLshort *v);
337 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
338 void glNormal3iv(const GLint *v);
339 void glNormal3i(GLint nx, GLint ny, GLint nz);
340 void glNormal3fv(const GLfloat *v);
341 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
342 void glNormal3dv(const GLdouble *v);
343 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
344 void glNormal3bv(const GLbyte *v);
345 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
346 void glIndexsv(const GLshort *c);
347 void glIndexs(GLshort c);
348 void glIndexiv(const GLint *c);
349 void glIndexi(GLint c);
350 void glIndexfv(const GLfloat *c);
351 void glIndexf(GLfloat c);
352 void glIndexdv(const GLdouble *c);
353 void glIndexd(GLdouble c);
354 void glEnd();
355 void glEdgeFlagv(const GLboolean *flag);
356 void glEdgeFlag(GLboolean flag);
357 void glColor4usv(const GLushort *v);
358 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
359 void glColor4uiv(const GLuint *v);
360 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
361 void glColor4ubv(const GLubyte *v);
362 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
363 void glColor4sv(const GLshort *v);
364 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
365 void glColor4iv(const GLint *v);
366 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
367 void glColor4fv(const GLfloat *v);
368 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
369 void glColor4dv(const GLdouble *v);
370 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
371 void glColor4bv(const GLbyte *v);
372 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
373 void glColor3usv(const GLushort *v);
374 void glColor3us(GLushort red, GLushort green, GLushort blue);
375 void glColor3uiv(const GLuint *v);
376 void glColor3ui(GLuint red, GLuint green, GLuint blue);
377 void glColor3ubv(const GLubyte *v);
378 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
379 void glColor3sv(const GLshort *v);
380 void glColor3s(GLshort red, GLshort green, GLshort blue);
381 void glColor3iv(const GLint *v);
382 void glColor3i(GLint red, GLint green, GLint blue);
383 void glColor3fv(const GLfloat *v);
384 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
385 void glColor3dv(const GLdouble *v);
386 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
387 void glColor3bv(const GLbyte *v);
388 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
389 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
390 void glBegin(GLenum mode);
391 void glListBase(GLuint base);
392 GLuint glGenLists(GLsizei range);
393 void glDeleteLists(GLuint list, GLsizei range);
394 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
395 void glCallList(GLuint list);
396 void glEndList();
397 void glNewList(GLuint list, GLenum mode);
398
399 // OpenGL 1.1 deprecated functions
400 void glPushClientAttrib(GLbitfield mask);
401 void glPopClientAttrib();
402 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
403 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
404 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
405 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
406 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
407 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
408 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
409 void glEnableClientState(GLenum array);
410 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
411 void glDisableClientState(GLenum array);
412 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
413 void glArrayElement(GLint i);
414
415private:
416 friend class QOpenGLVersionFunctionsFactory;
417
418 static bool isContextCompatible(QOpenGLContext *context);
419 static QOpenGLVersionProfile versionProfile();
420
421 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
422 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
423 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
424 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
425};
426
427// OpenGL 1.0 core functions
428inline void QOpenGLFunctions_1_1::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
429{
430 d_1_0_Core->f.Viewport(x, y, width, height);
431}
432
433inline void QOpenGLFunctions_1_1::glDepthRange(GLdouble nearVal, GLdouble farVal)
434{
435 d_1_0_Core->f.DepthRange(nearVal, farVal);
436}
437
438inline GLboolean QOpenGLFunctions_1_1::glIsEnabled(GLenum cap)
439{
440 return d_1_0_Core->f.IsEnabled(cap);
441}
442
443inline void QOpenGLFunctions_1_1::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
444{
445 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
446}
447
448inline void QOpenGLFunctions_1_1::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
449{
450 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
451}
452
453inline void QOpenGLFunctions_1_1::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
454{
455 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
456}
457
458inline void QOpenGLFunctions_1_1::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
459{
460 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
461}
462
463inline void QOpenGLFunctions_1_1::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
464{
465 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
466}
467
468inline const GLubyte * QOpenGLFunctions_1_1::glGetString(GLenum name)
469{
470 return d_1_0_Core->f.GetString(name);
471}
472
473inline void QOpenGLFunctions_1_1::glGetIntegerv(GLenum pname, GLint *params)
474{
475 d_1_0_Core->f.GetIntegerv(pname, params);
476}
477
478inline void QOpenGLFunctions_1_1::glGetFloatv(GLenum pname, GLfloat *params)
479{
480 d_1_0_Core->f.GetFloatv(pname, params);
481}
482
483inline GLenum QOpenGLFunctions_1_1::glGetError()
484{
485 return d_1_0_Core->f.GetError();
486}
487
488inline void QOpenGLFunctions_1_1::glGetDoublev(GLenum pname, GLdouble *params)
489{
490 d_1_0_Core->f.GetDoublev(pname, params);
491}
492
493inline void QOpenGLFunctions_1_1::glGetBooleanv(GLenum pname, GLboolean *params)
494{
495 d_1_0_Core->f.GetBooleanv(pname, params);
496}
497
498inline void QOpenGLFunctions_1_1::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
499{
500 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
501}
502
503inline void QOpenGLFunctions_1_1::glReadBuffer(GLenum mode)
504{
505 d_1_0_Core->f.ReadBuffer(mode);
506}
507
508inline void QOpenGLFunctions_1_1::glPixelStorei(GLenum pname, GLint param)
509{
510 d_1_0_Core->f.PixelStorei(pname, param);
511}
512
513inline void QOpenGLFunctions_1_1::glPixelStoref(GLenum pname, GLfloat param)
514{
515 d_1_0_Core->f.PixelStoref(pname, param);
516}
517
518inline void QOpenGLFunctions_1_1::glDepthFunc(GLenum func)
519{
520 d_1_0_Core->f.DepthFunc(func);
521}
522
523inline void QOpenGLFunctions_1_1::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
524{
525 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
526}
527
528inline void QOpenGLFunctions_1_1::glStencilFunc(GLenum func, GLint ref, GLuint mask)
529{
530 d_1_0_Core->f.StencilFunc(func, ref, mask);
531}
532
533inline void QOpenGLFunctions_1_1::glLogicOp(GLenum opcode)
534{
535 d_1_0_Core->f.LogicOp(opcode);
536}
537
538inline void QOpenGLFunctions_1_1::glBlendFunc(GLenum sfactor, GLenum dfactor)
539{
540 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
541}
542
543inline void QOpenGLFunctions_1_1::glFlush()
544{
545 d_1_0_Core->f.Flush();
546}
547
548inline void QOpenGLFunctions_1_1::glFinish()
549{
550 d_1_0_Core->f.Finish();
551}
552
553inline void QOpenGLFunctions_1_1::glEnable(GLenum cap)
554{
555 d_1_0_Core->f.Enable(cap);
556}
557
558inline void QOpenGLFunctions_1_1::glDisable(GLenum cap)
559{
560 d_1_0_Core->f.Disable(cap);
561}
562
563inline void QOpenGLFunctions_1_1::glDepthMask(GLboolean flag)
564{
565 d_1_0_Core->f.DepthMask(flag);
566}
567
568inline void QOpenGLFunctions_1_1::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
569{
570 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
571}
572
573inline void QOpenGLFunctions_1_1::glStencilMask(GLuint mask)
574{
575 d_1_0_Core->f.StencilMask(mask);
576}
577
578inline void QOpenGLFunctions_1_1::glClearDepth(GLdouble depth)
579{
580 d_1_0_Core->f.ClearDepth(depth);
581}
582
583inline void QOpenGLFunctions_1_1::glClearStencil(GLint s)
584{
585 d_1_0_Core->f.ClearStencil(s);
586}
587
588inline void QOpenGLFunctions_1_1::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
589{
590 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
591}
592
593inline void QOpenGLFunctions_1_1::glClear(GLbitfield mask)
594{
595 d_1_0_Core->f.Clear(mask);
596}
597
598inline void QOpenGLFunctions_1_1::glDrawBuffer(GLenum mode)
599{
600 d_1_0_Core->f.DrawBuffer(mode);
601}
602
603inline void QOpenGLFunctions_1_1::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
604{
605 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
606}
607
608inline void QOpenGLFunctions_1_1::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
609{
610 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
611}
612
613inline void QOpenGLFunctions_1_1::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
614{
615 d_1_0_Core->f.TexParameteriv(target, pname, params);
616}
617
618inline void QOpenGLFunctions_1_1::glTexParameteri(GLenum target, GLenum pname, GLint param)
619{
620 d_1_0_Core->f.TexParameteri(target, pname, param);
621}
622
623inline void QOpenGLFunctions_1_1::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
624{
625 d_1_0_Core->f.TexParameterfv(target, pname, params);
626}
627
628inline void QOpenGLFunctions_1_1::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
629{
630 d_1_0_Core->f.TexParameterf(target, pname, param);
631}
632
633inline void QOpenGLFunctions_1_1::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
634{
635 d_1_0_Core->f.Scissor(x, y, width, height);
636}
637
638inline void QOpenGLFunctions_1_1::glPolygonMode(GLenum face, GLenum mode)
639{
640 d_1_0_Core->f.PolygonMode(face, mode);
641}
642
643inline void QOpenGLFunctions_1_1::glPointSize(GLfloat size)
644{
645 d_1_0_Core->f.PointSize(size);
646}
647
648inline void QOpenGLFunctions_1_1::glLineWidth(GLfloat width)
649{
650 d_1_0_Core->f.LineWidth(width);
651}
652
653inline void QOpenGLFunctions_1_1::glHint(GLenum target, GLenum mode)
654{
655 d_1_0_Core->f.Hint(target, mode);
656}
657
658inline void QOpenGLFunctions_1_1::glFrontFace(GLenum mode)
659{
660 d_1_0_Core->f.FrontFace(mode);
661}
662
663inline void QOpenGLFunctions_1_1::glCullFace(GLenum mode)
664{
665 d_1_0_Core->f.CullFace(mode);
666}
667
668
669// OpenGL 1.1 core functions
670inline void QOpenGLFunctions_1_1::glIndexubv(const GLubyte *c)
671{
672 d_1_1_Deprecated->f.Indexubv(c);
673}
674
675inline void QOpenGLFunctions_1_1::glIndexub(GLubyte c)
676{
677 d_1_1_Deprecated->f.Indexub(c);
678}
679
680inline GLboolean QOpenGLFunctions_1_1::glIsTexture(GLuint texture)
681{
682 return d_1_1_Core->f.IsTexture(texture);
683}
684
685inline void QOpenGLFunctions_1_1::glGenTextures(GLsizei n, GLuint *textures)
686{
687 d_1_1_Core->f.GenTextures(n, textures);
688}
689
690inline void QOpenGLFunctions_1_1::glDeleteTextures(GLsizei n, const GLuint *textures)
691{
692 d_1_1_Core->f.DeleteTextures(n, textures);
693}
694
695inline void QOpenGLFunctions_1_1::glBindTexture(GLenum target, GLuint texture)
696{
697 d_1_1_Core->f.BindTexture(target, texture);
698}
699
700inline void QOpenGLFunctions_1_1::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
701{
702 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
703}
704
705inline void QOpenGLFunctions_1_1::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
706{
707 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
708}
709
710inline void QOpenGLFunctions_1_1::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
711{
712 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
713}
714
715inline void QOpenGLFunctions_1_1::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
716{
717 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
718}
719
720inline void QOpenGLFunctions_1_1::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
721{
722 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
723}
724
725inline void QOpenGLFunctions_1_1::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
726{
727 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
728}
729
730inline void QOpenGLFunctions_1_1::glPolygonOffset(GLfloat factor, GLfloat units)
731{
732 d_1_1_Core->f.PolygonOffset(factor, units);
733}
734
735inline void QOpenGLFunctions_1_1::glGetPointerv(GLenum pname, GLvoid* *params)
736{
737 d_1_1_Deprecated->f.GetPointerv(pname, params);
738}
739
740inline void QOpenGLFunctions_1_1::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
741{
742 d_1_1_Core->f.DrawElements(mode, count, type, indices);
743}
744
745inline void QOpenGLFunctions_1_1::glDrawArrays(GLenum mode, GLint first, GLsizei count)
746{
747 d_1_1_Core->f.DrawArrays(mode, first, count);
748}
749
750
751// OpenGL 1.0 deprecated functions
752inline void QOpenGLFunctions_1_1::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
753{
754 d_1_0_Deprecated->f.Translatef(x, y, z);
755}
756
757inline void QOpenGLFunctions_1_1::glTranslated(GLdouble x, GLdouble y, GLdouble z)
758{
759 d_1_0_Deprecated->f.Translated(x, y, z);
760}
761
762inline void QOpenGLFunctions_1_1::glScalef(GLfloat x, GLfloat y, GLfloat z)
763{
764 d_1_0_Deprecated->f.Scalef(x, y, z);
765}
766
767inline void QOpenGLFunctions_1_1::glScaled(GLdouble x, GLdouble y, GLdouble z)
768{
769 d_1_0_Deprecated->f.Scaled(x, y, z);
770}
771
772inline void QOpenGLFunctions_1_1::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
773{
774 d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
775}
776
777inline void QOpenGLFunctions_1_1::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
778{
779 d_1_0_Deprecated->f.Rotated(angle, x, y, z);
780}
781
782inline void QOpenGLFunctions_1_1::glPushMatrix()
783{
784 d_1_0_Deprecated->f.PushMatrix();
785}
786
787inline void QOpenGLFunctions_1_1::glPopMatrix()
788{
789 d_1_0_Deprecated->f.PopMatrix();
790}
791
792inline void QOpenGLFunctions_1_1::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
793{
794 d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
795}
796
797inline void QOpenGLFunctions_1_1::glMultMatrixd(const GLdouble *m)
798{
799 d_1_0_Deprecated->f.MultMatrixd(m);
800}
801
802inline void QOpenGLFunctions_1_1::glMultMatrixf(const GLfloat *m)
803{
804 d_1_0_Deprecated->f.MultMatrixf(m);
805}
806
807inline void QOpenGLFunctions_1_1::glMatrixMode(GLenum mode)
808{
809 d_1_0_Deprecated->f.MatrixMode(mode);
810}
811
812inline void QOpenGLFunctions_1_1::glLoadMatrixd(const GLdouble *m)
813{
814 d_1_0_Deprecated->f.LoadMatrixd(m);
815}
816
817inline void QOpenGLFunctions_1_1::glLoadMatrixf(const GLfloat *m)
818{
819 d_1_0_Deprecated->f.LoadMatrixf(m);
820}
821
822inline void QOpenGLFunctions_1_1::glLoadIdentity()
823{
824 d_1_0_Deprecated->f.LoadIdentity();
825}
826
827inline void QOpenGLFunctions_1_1::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
828{
829 d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
830}
831
832inline GLboolean QOpenGLFunctions_1_1::glIsList(GLuint list)
833{
834 return d_1_0_Deprecated->f.IsList(list);
835}
836
837inline void QOpenGLFunctions_1_1::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
838{
839 d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
840}
841
842inline void QOpenGLFunctions_1_1::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
843{
844 d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
845}
846
847inline void QOpenGLFunctions_1_1::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
848{
849 d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
850}
851
852inline void QOpenGLFunctions_1_1::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
853{
854 d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
855}
856
857inline void QOpenGLFunctions_1_1::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
858{
859 d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
860}
861
862inline void QOpenGLFunctions_1_1::glGetPolygonStipple(GLubyte *mask)
863{
864 d_1_0_Deprecated->f.GetPolygonStipple(mask);
865}
866
867inline void QOpenGLFunctions_1_1::glGetPixelMapusv(GLenum map, GLushort *values)
868{
869 d_1_0_Deprecated->f.GetPixelMapusv(map, values);
870}
871
872inline void QOpenGLFunctions_1_1::glGetPixelMapuiv(GLenum map, GLuint *values)
873{
874 d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
875}
876
877inline void QOpenGLFunctions_1_1::glGetPixelMapfv(GLenum map, GLfloat *values)
878{
879 d_1_0_Deprecated->f.GetPixelMapfv(map, values);
880}
881
882inline void QOpenGLFunctions_1_1::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
883{
884 d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
885}
886
887inline void QOpenGLFunctions_1_1::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
888{
889 d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
890}
891
892inline void QOpenGLFunctions_1_1::glGetMapiv(GLenum target, GLenum query, GLint *v)
893{
894 d_1_0_Deprecated->f.GetMapiv(target, query, v);
895}
896
897inline void QOpenGLFunctions_1_1::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
898{
899 d_1_0_Deprecated->f.GetMapfv(target, query, v);
900}
901
902inline void QOpenGLFunctions_1_1::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
903{
904 d_1_0_Deprecated->f.GetMapdv(target, query, v);
905}
906
907inline void QOpenGLFunctions_1_1::glGetLightiv(GLenum light, GLenum pname, GLint *params)
908{
909 d_1_0_Deprecated->f.GetLightiv(light, pname, params);
910}
911
912inline void QOpenGLFunctions_1_1::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
913{
914 d_1_0_Deprecated->f.GetLightfv(light, pname, params);
915}
916
917inline void QOpenGLFunctions_1_1::glGetClipPlane(GLenum plane, GLdouble *equation)
918{
919 d_1_0_Deprecated->f.GetClipPlane(plane, equation);
920}
921
922inline void QOpenGLFunctions_1_1::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
923{
924 d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
925}
926
927inline void QOpenGLFunctions_1_1::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
928{
929 d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
930}
931
932inline void QOpenGLFunctions_1_1::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
933{
934 d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
935}
936
937inline void QOpenGLFunctions_1_1::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
938{
939 d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
940}
941
942inline void QOpenGLFunctions_1_1::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
943{
944 d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
945}
946
947inline void QOpenGLFunctions_1_1::glPixelTransferi(GLenum pname, GLint param)
948{
949 d_1_0_Deprecated->f.PixelTransferi(pname, param);
950}
951
952inline void QOpenGLFunctions_1_1::glPixelTransferf(GLenum pname, GLfloat param)
953{
954 d_1_0_Deprecated->f.PixelTransferf(pname, param);
955}
956
957inline void QOpenGLFunctions_1_1::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
958{
959 d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
960}
961
962inline void QOpenGLFunctions_1_1::glAlphaFunc(GLenum func, GLfloat ref)
963{
964 d_1_0_Deprecated->f.AlphaFunc(func, ref);
965}
966
967inline void QOpenGLFunctions_1_1::glEvalPoint2(GLint i, GLint j)
968{
969 d_1_0_Deprecated->f.EvalPoint2(i, j);
970}
971
972inline void QOpenGLFunctions_1_1::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
973{
974 d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
975}
976
977inline void QOpenGLFunctions_1_1::glEvalPoint1(GLint i)
978{
979 d_1_0_Deprecated->f.EvalPoint1(i);
980}
981
982inline void QOpenGLFunctions_1_1::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
983{
984 d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
985}
986
987inline void QOpenGLFunctions_1_1::glEvalCoord2fv(const GLfloat *u)
988{
989 d_1_0_Deprecated->f.EvalCoord2fv(u);
990}
991
992inline void QOpenGLFunctions_1_1::glEvalCoord2f(GLfloat u, GLfloat v)
993{
994 d_1_0_Deprecated->f.EvalCoord2f(u, v);
995}
996
997inline void QOpenGLFunctions_1_1::glEvalCoord2dv(const GLdouble *u)
998{
999 d_1_0_Deprecated->f.EvalCoord2dv(u);
1000}
1001
1002inline void QOpenGLFunctions_1_1::glEvalCoord2d(GLdouble u, GLdouble v)
1003{
1004 d_1_0_Deprecated->f.EvalCoord2d(u, v);
1005}
1006
1007inline void QOpenGLFunctions_1_1::glEvalCoord1fv(const GLfloat *u)
1008{
1009 d_1_0_Deprecated->f.EvalCoord1fv(u);
1010}
1011
1012inline void QOpenGLFunctions_1_1::glEvalCoord1f(GLfloat u)
1013{
1014 d_1_0_Deprecated->f.EvalCoord1f(u);
1015}
1016
1017inline void QOpenGLFunctions_1_1::glEvalCoord1dv(const GLdouble *u)
1018{
1019 d_1_0_Deprecated->f.EvalCoord1dv(u);
1020}
1021
1022inline void QOpenGLFunctions_1_1::glEvalCoord1d(GLdouble u)
1023{
1024 d_1_0_Deprecated->f.EvalCoord1d(u);
1025}
1026
1027inline void QOpenGLFunctions_1_1::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
1028{
1029 d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
1030}
1031
1032inline void QOpenGLFunctions_1_1::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
1033{
1034 d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
1035}
1036
1037inline void QOpenGLFunctions_1_1::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
1038{
1039 d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
1040}
1041
1042inline void QOpenGLFunctions_1_1::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
1043{
1044 d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
1045}
1046
1047inline void QOpenGLFunctions_1_1::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
1048{
1049 d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1050}
1051
1052inline void QOpenGLFunctions_1_1::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
1053{
1054 d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
1055}
1056
1057inline void QOpenGLFunctions_1_1::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
1058{
1059 d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
1060}
1061
1062inline void QOpenGLFunctions_1_1::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
1063{
1064 d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
1065}
1066
1067inline void QOpenGLFunctions_1_1::glPushAttrib(GLbitfield mask)
1068{
1069 d_1_0_Deprecated->f.PushAttrib(mask);
1070}
1071
1072inline void QOpenGLFunctions_1_1::glPopAttrib()
1073{
1074 d_1_0_Deprecated->f.PopAttrib();
1075}
1076
1077inline void QOpenGLFunctions_1_1::glAccum(GLenum op, GLfloat value)
1078{
1079 d_1_0_Deprecated->f.Accum(op, value);
1080}
1081
1082inline void QOpenGLFunctions_1_1::glIndexMask(GLuint mask)
1083{
1084 d_1_0_Deprecated->f.IndexMask(mask);
1085}
1086
1087inline void QOpenGLFunctions_1_1::glClearIndex(GLfloat c)
1088{
1089 d_1_0_Deprecated->f.ClearIndex(c);
1090}
1091
1092inline void QOpenGLFunctions_1_1::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1093{
1094 d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
1095}
1096
1097inline void QOpenGLFunctions_1_1::glPushName(GLuint name)
1098{
1099 d_1_0_Deprecated->f.PushName(name);
1100}
1101
1102inline void QOpenGLFunctions_1_1::glPopName()
1103{
1104 d_1_0_Deprecated->f.PopName();
1105}
1106
1107inline void QOpenGLFunctions_1_1::glPassThrough(GLfloat token)
1108{
1109 d_1_0_Deprecated->f.PassThrough(token);
1110}
1111
1112inline void QOpenGLFunctions_1_1::glLoadName(GLuint name)
1113{
1114 d_1_0_Deprecated->f.LoadName(name);
1115}
1116
1117inline void QOpenGLFunctions_1_1::glInitNames()
1118{
1119 d_1_0_Deprecated->f.InitNames();
1120}
1121
1122inline GLint QOpenGLFunctions_1_1::glRenderMode(GLenum mode)
1123{
1124 return d_1_0_Deprecated->f.RenderMode(mode);
1125}
1126
1127inline void QOpenGLFunctions_1_1::glSelectBuffer(GLsizei size, GLuint *buffer)
1128{
1129 d_1_0_Deprecated->f.SelectBuffer(size, buffer);
1130}
1131
1132inline void QOpenGLFunctions_1_1::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
1133{
1134 d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
1135}
1136
1137inline void QOpenGLFunctions_1_1::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
1138{
1139 d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
1140}
1141
1142inline void QOpenGLFunctions_1_1::glTexGeni(GLenum coord, GLenum pname, GLint param)
1143{
1144 d_1_0_Deprecated->f.TexGeni(coord, pname, param);
1145}
1146
1147inline void QOpenGLFunctions_1_1::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
1148{
1149 d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
1150}
1151
1152inline void QOpenGLFunctions_1_1::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
1153{
1154 d_1_0_Deprecated->f.TexGenf(coord, pname, param);
1155}
1156
1157inline void QOpenGLFunctions_1_1::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
1158{
1159 d_1_0_Deprecated->f.TexGendv(coord, pname, params);
1160}
1161
1162inline void QOpenGLFunctions_1_1::glTexGend(GLenum coord, GLenum pname, GLdouble param)
1163{
1164 d_1_0_Deprecated->f.TexGend(coord, pname, param);
1165}
1166
1167inline void QOpenGLFunctions_1_1::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
1168{
1169 d_1_0_Deprecated->f.TexEnviv(target, pname, params);
1170}
1171
1172inline void QOpenGLFunctions_1_1::glTexEnvi(GLenum target, GLenum pname, GLint param)
1173{
1174 d_1_0_Deprecated->f.TexEnvi(target, pname, param);
1175}
1176
1177inline void QOpenGLFunctions_1_1::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
1178{
1179 d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
1180}
1181
1182inline void QOpenGLFunctions_1_1::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
1183{
1184 d_1_0_Deprecated->f.TexEnvf(target, pname, param);
1185}
1186
1187inline void QOpenGLFunctions_1_1::glShadeModel(GLenum mode)
1188{
1189 d_1_0_Deprecated->f.ShadeModel(mode);
1190}
1191
1192inline void QOpenGLFunctions_1_1::glPolygonStipple(const GLubyte *mask)
1193{
1194 d_1_0_Deprecated->f.PolygonStipple(mask);
1195}
1196
1197inline void QOpenGLFunctions_1_1::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
1198{
1199 d_1_0_Deprecated->f.Materialiv(face, pname, params);
1200}
1201
1202inline void QOpenGLFunctions_1_1::glMateriali(GLenum face, GLenum pname, GLint param)
1203{
1204 d_1_0_Deprecated->f.Materiali(face, pname, param);
1205}
1206
1207inline void QOpenGLFunctions_1_1::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
1208{
1209 d_1_0_Deprecated->f.Materialfv(face, pname, params);
1210}
1211
1212inline void QOpenGLFunctions_1_1::glMaterialf(GLenum face, GLenum pname, GLfloat param)
1213{
1214 d_1_0_Deprecated->f.Materialf(face, pname, param);
1215}
1216
1217inline void QOpenGLFunctions_1_1::glLineStipple(GLint factor, GLushort pattern)
1218{
1219 d_1_0_Deprecated->f.LineStipple(factor, pattern);
1220}
1221
1222inline void QOpenGLFunctions_1_1::glLightModeliv(GLenum pname, const GLint *params)
1223{
1224 d_1_0_Deprecated->f.LightModeliv(pname, params);
1225}
1226
1227inline void QOpenGLFunctions_1_1::glLightModeli(GLenum pname, GLint param)
1228{
1229 d_1_0_Deprecated->f.LightModeli(pname, param);
1230}
1231
1232inline void QOpenGLFunctions_1_1::glLightModelfv(GLenum pname, const GLfloat *params)
1233{
1234 d_1_0_Deprecated->f.LightModelfv(pname, params);
1235}
1236
1237inline void QOpenGLFunctions_1_1::glLightModelf(GLenum pname, GLfloat param)
1238{
1239 d_1_0_Deprecated->f.LightModelf(pname, param);
1240}
1241
1242inline void QOpenGLFunctions_1_1::glLightiv(GLenum light, GLenum pname, const GLint *params)
1243{
1244 d_1_0_Deprecated->f.Lightiv(light, pname, params);
1245}
1246
1247inline void QOpenGLFunctions_1_1::glLighti(GLenum light, GLenum pname, GLint param)
1248{
1249 d_1_0_Deprecated->f.Lighti(light, pname, param);
1250}
1251
1252inline void QOpenGLFunctions_1_1::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
1253{
1254 d_1_0_Deprecated->f.Lightfv(light, pname, params);
1255}
1256
1257inline void QOpenGLFunctions_1_1::glLightf(GLenum light, GLenum pname, GLfloat param)
1258{
1259 d_1_0_Deprecated->f.Lightf(light, pname, param);
1260}
1261
1262inline void QOpenGLFunctions_1_1::glFogiv(GLenum pname, const GLint *params)
1263{
1264 d_1_0_Deprecated->f.Fogiv(pname, params);
1265}
1266
1267inline void QOpenGLFunctions_1_1::glFogi(GLenum pname, GLint param)
1268{
1269 d_1_0_Deprecated->f.Fogi(pname, param);
1270}
1271
1272inline void QOpenGLFunctions_1_1::glFogfv(GLenum pname, const GLfloat *params)
1273{
1274 d_1_0_Deprecated->f.Fogfv(pname, params);
1275}
1276
1277inline void QOpenGLFunctions_1_1::glFogf(GLenum pname, GLfloat param)
1278{
1279 d_1_0_Deprecated->f.Fogf(pname, param);
1280}
1281
1282inline void QOpenGLFunctions_1_1::glColorMaterial(GLenum face, GLenum mode)
1283{
1284 d_1_0_Deprecated->f.ColorMaterial(face, mode);
1285}
1286
1287inline void QOpenGLFunctions_1_1::glClipPlane(GLenum plane, const GLdouble *equation)
1288{
1289 d_1_0_Deprecated->f.ClipPlane(plane, equation);
1290}
1291
1292inline void QOpenGLFunctions_1_1::glVertex4sv(const GLshort *v)
1293{
1294 d_1_0_Deprecated->f.Vertex4sv(v);
1295}
1296
1297inline void QOpenGLFunctions_1_1::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
1298{
1299 d_1_0_Deprecated->f.Vertex4s(x, y, z, w);
1300}
1301
1302inline void QOpenGLFunctions_1_1::glVertex4iv(const GLint *v)
1303{
1304 d_1_0_Deprecated->f.Vertex4iv(v);
1305}
1306
1307inline void QOpenGLFunctions_1_1::glVertex4i(GLint x, GLint y, GLint z, GLint w)
1308{
1309 d_1_0_Deprecated->f.Vertex4i(x, y, z, w);
1310}
1311
1312inline void QOpenGLFunctions_1_1::glVertex4fv(const GLfloat *v)
1313{
1314 d_1_0_Deprecated->f.Vertex4fv(v);
1315}
1316
1317inline void QOpenGLFunctions_1_1::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1318{
1319 d_1_0_Deprecated->f.Vertex4f(x, y, z, w);
1320}
1321
1322inline void QOpenGLFunctions_1_1::glVertex4dv(const GLdouble *v)
1323{
1324 d_1_0_Deprecated->f.Vertex4dv(v);
1325}
1326
1327inline void QOpenGLFunctions_1_1::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1328{
1329 d_1_0_Deprecated->f.Vertex4d(x, y, z, w);
1330}
1331
1332inline void QOpenGLFunctions_1_1::glVertex3sv(const GLshort *v)
1333{
1334 d_1_0_Deprecated->f.Vertex3sv(v);
1335}
1336
1337inline void QOpenGLFunctions_1_1::glVertex3s(GLshort x, GLshort y, GLshort z)
1338{
1339 d_1_0_Deprecated->f.Vertex3s(x, y, z);
1340}
1341
1342inline void QOpenGLFunctions_1_1::glVertex3iv(const GLint *v)
1343{
1344 d_1_0_Deprecated->f.Vertex3iv(v);
1345}
1346
1347inline void QOpenGLFunctions_1_1::glVertex3i(GLint x, GLint y, GLint z)
1348{
1349 d_1_0_Deprecated->f.Vertex3i(x, y, z);
1350}
1351
1352inline void QOpenGLFunctions_1_1::glVertex3fv(const GLfloat *v)
1353{
1354 d_1_0_Deprecated->f.Vertex3fv(v);
1355}
1356
1357inline void QOpenGLFunctions_1_1::glVertex3f(GLfloat x, GLfloat y, GLfloat z)
1358{
1359 d_1_0_Deprecated->f.Vertex3f(x, y, z);
1360}
1361
1362inline void QOpenGLFunctions_1_1::glVertex3dv(const GLdouble *v)
1363{
1364 d_1_0_Deprecated->f.Vertex3dv(v);
1365}
1366
1367inline void QOpenGLFunctions_1_1::glVertex3d(GLdouble x, GLdouble y, GLdouble z)
1368{
1369 d_1_0_Deprecated->f.Vertex3d(x, y, z);
1370}
1371
1372inline void QOpenGLFunctions_1_1::glVertex2sv(const GLshort *v)
1373{
1374 d_1_0_Deprecated->f.Vertex2sv(v);
1375}
1376
1377inline void QOpenGLFunctions_1_1::glVertex2s(GLshort x, GLshort y)
1378{
1379 d_1_0_Deprecated->f.Vertex2s(x, y);
1380}
1381
1382inline void QOpenGLFunctions_1_1::glVertex2iv(const GLint *v)
1383{
1384 d_1_0_Deprecated->f.Vertex2iv(v);
1385}
1386
1387inline void QOpenGLFunctions_1_1::glVertex2i(GLint x, GLint y)
1388{
1389 d_1_0_Deprecated->f.Vertex2i(x, y);
1390}
1391
1392inline void QOpenGLFunctions_1_1::glVertex2fv(const GLfloat *v)
1393{
1394 d_1_0_Deprecated->f.Vertex2fv(v);
1395}
1396
1397inline void QOpenGLFunctions_1_1::glVertex2f(GLfloat x, GLfloat y)
1398{
1399 d_1_0_Deprecated->f.Vertex2f(x, y);
1400}
1401
1402inline void QOpenGLFunctions_1_1::glVertex2dv(const GLdouble *v)
1403{
1404 d_1_0_Deprecated->f.Vertex2dv(v);
1405}
1406
1407inline void QOpenGLFunctions_1_1::glVertex2d(GLdouble x, GLdouble y)
1408{
1409 d_1_0_Deprecated->f.Vertex2d(x, y);
1410}
1411
1412inline void QOpenGLFunctions_1_1::glTexCoord4sv(const GLshort *v)
1413{
1414 d_1_0_Deprecated->f.TexCoord4sv(v);
1415}
1416
1417inline void QOpenGLFunctions_1_1::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
1418{
1419 d_1_0_Deprecated->f.TexCoord4s(s, t, r, q);
1420}
1421
1422inline void QOpenGLFunctions_1_1::glTexCoord4iv(const GLint *v)
1423{
1424 d_1_0_Deprecated->f.TexCoord4iv(v);
1425}
1426
1427inline void QOpenGLFunctions_1_1::glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
1428{
1429 d_1_0_Deprecated->f.TexCoord4i(s, t, r, q);
1430}
1431
1432inline void QOpenGLFunctions_1_1::glTexCoord4fv(const GLfloat *v)
1433{
1434 d_1_0_Deprecated->f.TexCoord4fv(v);
1435}
1436
1437inline void QOpenGLFunctions_1_1::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
1438{
1439 d_1_0_Deprecated->f.TexCoord4f(s, t, r, q);
1440}
1441
1442inline void QOpenGLFunctions_1_1::glTexCoord4dv(const GLdouble *v)
1443{
1444 d_1_0_Deprecated->f.TexCoord4dv(v);
1445}
1446
1447inline void QOpenGLFunctions_1_1::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
1448{
1449 d_1_0_Deprecated->f.TexCoord4d(s, t, r, q);
1450}
1451
1452inline void QOpenGLFunctions_1_1::glTexCoord3sv(const GLshort *v)
1453{
1454 d_1_0_Deprecated->f.TexCoord3sv(v);
1455}
1456
1457inline void QOpenGLFunctions_1_1::glTexCoord3s(GLshort s, GLshort t, GLshort r)
1458{
1459 d_1_0_Deprecated->f.TexCoord3s(s, t, r);
1460}
1461
1462inline void QOpenGLFunctions_1_1::glTexCoord3iv(const GLint *v)
1463{
1464 d_1_0_Deprecated->f.TexCoord3iv(v);
1465}
1466
1467inline void QOpenGLFunctions_1_1::glTexCoord3i(GLint s, GLint t, GLint r)
1468{
1469 d_1_0_Deprecated->f.TexCoord3i(s, t, r);
1470}
1471
1472inline void QOpenGLFunctions_1_1::glTexCoord3fv(const GLfloat *v)
1473{
1474 d_1_0_Deprecated->f.TexCoord3fv(v);
1475}
1476
1477inline void QOpenGLFunctions_1_1::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
1478{
1479 d_1_0_Deprecated->f.TexCoord3f(s, t, r);
1480}
1481
1482inline void QOpenGLFunctions_1_1::glTexCoord3dv(const GLdouble *v)
1483{
1484 d_1_0_Deprecated->f.TexCoord3dv(v);
1485}
1486
1487inline void QOpenGLFunctions_1_1::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
1488{
1489 d_1_0_Deprecated->f.TexCoord3d(s, t, r);
1490}
1491
1492inline void QOpenGLFunctions_1_1::glTexCoord2sv(const GLshort *v)
1493{
1494 d_1_0_Deprecated->f.TexCoord2sv(v);
1495}
1496
1497inline void QOpenGLFunctions_1_1::glTexCoord2s(GLshort s, GLshort t)
1498{
1499 d_1_0_Deprecated->f.TexCoord2s(s, t);
1500}
1501
1502inline void QOpenGLFunctions_1_1::glTexCoord2iv(const GLint *v)
1503{
1504 d_1_0_Deprecated->f.TexCoord2iv(v);
1505}
1506
1507inline void QOpenGLFunctions_1_1::glTexCoord2i(GLint s, GLint t)
1508{
1509 d_1_0_Deprecated->f.TexCoord2i(s, t);
1510}
1511
1512inline void QOpenGLFunctions_1_1::glTexCoord2fv(const GLfloat *v)
1513{
1514 d_1_0_Deprecated->f.TexCoord2fv(v);
1515}
1516
1517inline void QOpenGLFunctions_1_1::glTexCoord2f(GLfloat s, GLfloat t)
1518{
1519 d_1_0_Deprecated->f.TexCoord2f(s, t);
1520}
1521
1522inline void QOpenGLFunctions_1_1::glTexCoord2dv(const GLdouble *v)
1523{
1524 d_1_0_Deprecated->f.TexCoord2dv(v);
1525}
1526
1527inline void QOpenGLFunctions_1_1::glTexCoord2d(GLdouble s, GLdouble t)
1528{
1529 d_1_0_Deprecated->f.TexCoord2d(s, t);
1530}
1531
1532inline void QOpenGLFunctions_1_1::glTexCoord1sv(const GLshort *v)
1533{
1534 d_1_0_Deprecated->f.TexCoord1sv(v);
1535}
1536
1537inline void QOpenGLFunctions_1_1::glTexCoord1s(GLshort s)
1538{
1539 d_1_0_Deprecated->f.TexCoord1s(s);
1540}
1541
1542inline void QOpenGLFunctions_1_1::glTexCoord1iv(const GLint *v)
1543{
1544 d_1_0_Deprecated->f.TexCoord1iv(v);
1545}
1546
1547inline void QOpenGLFunctions_1_1::glTexCoord1i(GLint s)
1548{
1549 d_1_0_Deprecated->f.TexCoord1i(s);
1550}
1551
1552inline void QOpenGLFunctions_1_1::glTexCoord1fv(const GLfloat *v)
1553{
1554 d_1_0_Deprecated->f.TexCoord1fv(v);
1555}
1556
1557inline void QOpenGLFunctions_1_1::glTexCoord1f(GLfloat s)
1558{
1559 d_1_0_Deprecated->f.TexCoord1f(s);
1560}
1561
1562inline void QOpenGLFunctions_1_1::glTexCoord1dv(const GLdouble *v)
1563{
1564 d_1_0_Deprecated->f.TexCoord1dv(v);
1565}
1566
1567inline void QOpenGLFunctions_1_1::glTexCoord1d(GLdouble s)
1568{
1569 d_1_0_Deprecated->f.TexCoord1d(s);
1570}
1571
1572inline void QOpenGLFunctions_1_1::glRectsv(const GLshort *v1, const GLshort *v2)
1573{
1574 d_1_0_Deprecated->f.Rectsv(v1, v2);
1575}
1576
1577inline void QOpenGLFunctions_1_1::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
1578{
1579 d_1_0_Deprecated->f.Rects(x1, y1, x2, y2);
1580}
1581
1582inline void QOpenGLFunctions_1_1::glRectiv(const GLint *v1, const GLint *v2)
1583{
1584 d_1_0_Deprecated->f.Rectiv(v1, v2);
1585}
1586
1587inline void QOpenGLFunctions_1_1::glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
1588{
1589 d_1_0_Deprecated->f.Recti(x1, y1, x2, y2);
1590}
1591
1592inline void QOpenGLFunctions_1_1::glRectfv(const GLfloat *v1, const GLfloat *v2)
1593{
1594 d_1_0_Deprecated->f.Rectfv(v1, v2);
1595}
1596
1597inline void QOpenGLFunctions_1_1::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
1598{
1599 d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2);
1600}
1601
1602inline void QOpenGLFunctions_1_1::glRectdv(const GLdouble *v1, const GLdouble *v2)
1603{
1604 d_1_0_Deprecated->f.Rectdv(v1, v2);
1605}
1606
1607inline void QOpenGLFunctions_1_1::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
1608{
1609 d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2);
1610}
1611
1612inline void QOpenGLFunctions_1_1::glRasterPos4sv(const GLshort *v)
1613{
1614 d_1_0_Deprecated->f.RasterPos4sv(v);
1615}
1616
1617inline void QOpenGLFunctions_1_1::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
1618{
1619 d_1_0_Deprecated->f.RasterPos4s(x, y, z, w);
1620}
1621
1622inline void QOpenGLFunctions_1_1::glRasterPos4iv(const GLint *v)
1623{
1624 d_1_0_Deprecated->f.RasterPos4iv(v);
1625}
1626
1627inline void QOpenGLFunctions_1_1::glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
1628{
1629 d_1_0_Deprecated->f.RasterPos4i(x, y, z, w);
1630}
1631
1632inline void QOpenGLFunctions_1_1::glRasterPos4fv(const GLfloat *v)
1633{
1634 d_1_0_Deprecated->f.RasterPos4fv(v);
1635}
1636
1637inline void QOpenGLFunctions_1_1::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
1638{
1639 d_1_0_Deprecated->f.RasterPos4f(x, y, z, w);
1640}
1641
1642inline void QOpenGLFunctions_1_1::glRasterPos4dv(const GLdouble *v)
1643{
1644 d_1_0_Deprecated->f.RasterPos4dv(v);
1645}
1646
1647inline void QOpenGLFunctions_1_1::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
1648{
1649 d_1_0_Deprecated->f.RasterPos4d(x, y, z, w);
1650}
1651
1652inline void QOpenGLFunctions_1_1::glRasterPos3sv(const GLshort *v)
1653{
1654 d_1_0_Deprecated->f.RasterPos3sv(v);
1655}
1656
1657inline void QOpenGLFunctions_1_1::glRasterPos3s(GLshort x, GLshort y, GLshort z)
1658{
1659 d_1_0_Deprecated->f.RasterPos3s(x, y, z);
1660}
1661
1662inline void QOpenGLFunctions_1_1::glRasterPos3iv(const GLint *v)
1663{
1664 d_1_0_Deprecated->f.RasterPos3iv(v);
1665}
1666
1667inline void QOpenGLFunctions_1_1::glRasterPos3i(GLint x, GLint y, GLint z)
1668{
1669 d_1_0_Deprecated->f.RasterPos3i(x, y, z);
1670}
1671
1672inline void QOpenGLFunctions_1_1::glRasterPos3fv(const GLfloat *v)
1673{
1674 d_1_0_Deprecated->f.RasterPos3fv(v);
1675}
1676
1677inline void QOpenGLFunctions_1_1::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
1678{
1679 d_1_0_Deprecated->f.RasterPos3f(x, y, z);
1680}
1681
1682inline void QOpenGLFunctions_1_1::glRasterPos3dv(const GLdouble *v)
1683{
1684 d_1_0_Deprecated->f.RasterPos3dv(v);
1685}
1686
1687inline void QOpenGLFunctions_1_1::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
1688{
1689 d_1_0_Deprecated->f.RasterPos3d(x, y, z);
1690}
1691
1692inline void QOpenGLFunctions_1_1::glRasterPos2sv(const GLshort *v)
1693{
1694 d_1_0_Deprecated->f.RasterPos2sv(v);
1695}
1696
1697inline void QOpenGLFunctions_1_1::glRasterPos2s(GLshort x, GLshort y)
1698{
1699 d_1_0_Deprecated->f.RasterPos2s(x, y);
1700}
1701
1702inline void QOpenGLFunctions_1_1::glRasterPos2iv(const GLint *v)
1703{
1704 d_1_0_Deprecated->f.RasterPos2iv(v);
1705}
1706
1707inline void QOpenGLFunctions_1_1::glRasterPos2i(GLint x, GLint y)
1708{
1709 d_1_0_Deprecated->f.RasterPos2i(x, y);
1710}
1711
1712inline void QOpenGLFunctions_1_1::glRasterPos2fv(const GLfloat *v)
1713{
1714 d_1_0_Deprecated->f.RasterPos2fv(v);
1715}
1716
1717inline void QOpenGLFunctions_1_1::glRasterPos2f(GLfloat x, GLfloat y)
1718{
1719 d_1_0_Deprecated->f.RasterPos2f(x, y);
1720}
1721
1722inline void QOpenGLFunctions_1_1::glRasterPos2dv(const GLdouble *v)
1723{
1724 d_1_0_Deprecated->f.RasterPos2dv(v);
1725}
1726
1727inline void QOpenGLFunctions_1_1::glRasterPos2d(GLdouble x, GLdouble y)
1728{
1729 d_1_0_Deprecated->f.RasterPos2d(x, y);
1730}
1731
1732inline void QOpenGLFunctions_1_1::glNormal3sv(const GLshort *v)
1733{
1734 d_1_0_Deprecated->f.Normal3sv(v);
1735}
1736
1737inline void QOpenGLFunctions_1_1::glNormal3s(GLshort nx, GLshort ny, GLshort nz)
1738{
1739 d_1_0_Deprecated->f.Normal3s(nx, ny, nz);
1740}
1741
1742inline void QOpenGLFunctions_1_1::glNormal3iv(const GLint *v)
1743{
1744 d_1_0_Deprecated->f.Normal3iv(v);
1745}
1746
1747inline void QOpenGLFunctions_1_1::glNormal3i(GLint nx, GLint ny, GLint nz)
1748{
1749 d_1_0_Deprecated->f.Normal3i(nx, ny, nz);
1750}
1751
1752inline void QOpenGLFunctions_1_1::glNormal3fv(const GLfloat *v)
1753{
1754 d_1_0_Deprecated->f.Normal3fv(v);
1755}
1756
1757inline void QOpenGLFunctions_1_1::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
1758{
1759 d_1_0_Deprecated->f.Normal3f(nx, ny, nz);
1760}
1761
1762inline void QOpenGLFunctions_1_1::glNormal3dv(const GLdouble *v)
1763{
1764 d_1_0_Deprecated->f.Normal3dv(v);
1765}
1766
1767inline void QOpenGLFunctions_1_1::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
1768{
1769 d_1_0_Deprecated->f.Normal3d(nx, ny, nz);
1770}
1771
1772inline void QOpenGLFunctions_1_1::glNormal3bv(const GLbyte *v)
1773{
1774 d_1_0_Deprecated->f.Normal3bv(v);
1775}
1776
1777inline void QOpenGLFunctions_1_1::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
1778{
1779 d_1_0_Deprecated->f.Normal3b(nx, ny, nz);
1780}
1781
1782inline void QOpenGLFunctions_1_1::glIndexsv(const GLshort *c)
1783{
1784 d_1_0_Deprecated->f.Indexsv(c);
1785}
1786
1787inline void QOpenGLFunctions_1_1::glIndexs(GLshort c)
1788{
1789 d_1_0_Deprecated->f.Indexs(c);
1790}
1791
1792inline void QOpenGLFunctions_1_1::glIndexiv(const GLint *c)
1793{
1794 d_1_0_Deprecated->f.Indexiv(c);
1795}
1796
1797inline void QOpenGLFunctions_1_1::glIndexi(GLint c)
1798{
1799 d_1_0_Deprecated->f.Indexi(c);
1800}
1801
1802inline void QOpenGLFunctions_1_1::glIndexfv(const GLfloat *c)
1803{
1804 d_1_0_Deprecated->f.Indexfv(c);
1805}
1806
1807inline void QOpenGLFunctions_1_1::glIndexf(GLfloat c)
1808{
1809 d_1_0_Deprecated->f.Indexf(c);
1810}
1811
1812inline void QOpenGLFunctions_1_1::glIndexdv(const GLdouble *c)
1813{
1814 d_1_0_Deprecated->f.Indexdv(c);
1815}
1816
1817inline void QOpenGLFunctions_1_1::glIndexd(GLdouble c)
1818{
1819 d_1_0_Deprecated->f.Indexd(c);
1820}
1821
1822inline void QOpenGLFunctions_1_1::glEnd()
1823{
1824 d_1_0_Deprecated->f.End();
1825}
1826
1827inline void QOpenGLFunctions_1_1::glEdgeFlagv(const GLboolean *flag)
1828{
1829 d_1_0_Deprecated->f.EdgeFlagv(flag);
1830}
1831
1832inline void QOpenGLFunctions_1_1::glEdgeFlag(GLboolean flag)
1833{
1834 d_1_0_Deprecated->f.EdgeFlag(flag);
1835}
1836
1837inline void QOpenGLFunctions_1_1::glColor4usv(const GLushort *v)
1838{
1839 d_1_0_Deprecated->f.Color4usv(v);
1840}
1841
1842inline void QOpenGLFunctions_1_1::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
1843{
1844 d_1_0_Deprecated->f.Color4us(red, green, blue, alpha);
1845}
1846
1847inline void QOpenGLFunctions_1_1::glColor4uiv(const GLuint *v)
1848{
1849 d_1_0_Deprecated->f.Color4uiv(v);
1850}
1851
1852inline void QOpenGLFunctions_1_1::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
1853{
1854 d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha);
1855}
1856
1857inline void QOpenGLFunctions_1_1::glColor4ubv(const GLubyte *v)
1858{
1859 d_1_0_Deprecated->f.Color4ubv(v);
1860}
1861
1862inline void QOpenGLFunctions_1_1::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
1863{
1864 d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha);
1865}
1866
1867inline void QOpenGLFunctions_1_1::glColor4sv(const GLshort *v)
1868{
1869 d_1_0_Deprecated->f.Color4sv(v);
1870}
1871
1872inline void QOpenGLFunctions_1_1::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
1873{
1874 d_1_0_Deprecated->f.Color4s(red, green, blue, alpha);
1875}
1876
1877inline void QOpenGLFunctions_1_1::glColor4iv(const GLint *v)
1878{
1879 d_1_0_Deprecated->f.Color4iv(v);
1880}
1881
1882inline void QOpenGLFunctions_1_1::glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
1883{
1884 d_1_0_Deprecated->f.Color4i(red, green, blue, alpha);
1885}
1886
1887inline void QOpenGLFunctions_1_1::glColor4fv(const GLfloat *v)
1888{
1889 d_1_0_Deprecated->f.Color4fv(v);
1890}
1891
1892inline void QOpenGLFunctions_1_1::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1893{
1894 d_1_0_Deprecated->f.Color4f(red, green, blue, alpha);
1895}
1896
1897inline void QOpenGLFunctions_1_1::glColor4dv(const GLdouble *v)
1898{
1899 d_1_0_Deprecated->f.Color4dv(v);
1900}
1901
1902inline void QOpenGLFunctions_1_1::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
1903{
1904 d_1_0_Deprecated->f.Color4d(red, green, blue, alpha);
1905}
1906
1907inline void QOpenGLFunctions_1_1::glColor4bv(const GLbyte *v)
1908{
1909 d_1_0_Deprecated->f.Color4bv(v);
1910}
1911
1912inline void QOpenGLFunctions_1_1::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
1913{
1914 d_1_0_Deprecated->f.Color4b(red, green, blue, alpha);
1915}
1916
1917inline void QOpenGLFunctions_1_1::glColor3usv(const GLushort *v)
1918{
1919 d_1_0_Deprecated->f.Color3usv(v);
1920}
1921
1922inline void QOpenGLFunctions_1_1::glColor3us(GLushort red, GLushort green, GLushort blue)
1923{
1924 d_1_0_Deprecated->f.Color3us(red, green, blue);
1925}
1926
1927inline void QOpenGLFunctions_1_1::glColor3uiv(const GLuint *v)
1928{
1929 d_1_0_Deprecated->f.Color3uiv(v);
1930}
1931
1932inline void QOpenGLFunctions_1_1::glColor3ui(GLuint red, GLuint green, GLuint blue)
1933{
1934 d_1_0_Deprecated->f.Color3ui(red, green, blue);
1935}
1936
1937inline void QOpenGLFunctions_1_1::glColor3ubv(const GLubyte *v)
1938{
1939 d_1_0_Deprecated->f.Color3ubv(v);
1940}
1941
1942inline void QOpenGLFunctions_1_1::glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
1943{
1944 d_1_0_Deprecated->f.Color3ub(red, green, blue);
1945}
1946
1947inline void QOpenGLFunctions_1_1::glColor3sv(const GLshort *v)
1948{
1949 d_1_0_Deprecated->f.Color3sv(v);
1950}
1951
1952inline void QOpenGLFunctions_1_1::glColor3s(GLshort red, GLshort green, GLshort blue)
1953{
1954 d_1_0_Deprecated->f.Color3s(red, green, blue);
1955}
1956
1957inline void QOpenGLFunctions_1_1::glColor3iv(const GLint *v)
1958{
1959 d_1_0_Deprecated->f.Color3iv(v);
1960}
1961
1962inline void QOpenGLFunctions_1_1::glColor3i(GLint red, GLint green, GLint blue)
1963{
1964 d_1_0_Deprecated->f.Color3i(red, green, blue);
1965}
1966
1967inline void QOpenGLFunctions_1_1::glColor3fv(const GLfloat *v)
1968{
1969 d_1_0_Deprecated->f.Color3fv(v);
1970}
1971
1972inline void QOpenGLFunctions_1_1::glColor3f(GLfloat red, GLfloat green, GLfloat blue)
1973{
1974 d_1_0_Deprecated->f.Color3f(red, green, blue);
1975}
1976
1977inline void QOpenGLFunctions_1_1::glColor3dv(const GLdouble *v)
1978{
1979 d_1_0_Deprecated->f.Color3dv(v);
1980}
1981
1982inline void QOpenGLFunctions_1_1::glColor3d(GLdouble red, GLdouble green, GLdouble blue)
1983{
1984 d_1_0_Deprecated->f.Color3d(red, green, blue);
1985}
1986
1987inline void QOpenGLFunctions_1_1::glColor3bv(const GLbyte *v)
1988{
1989 d_1_0_Deprecated->f.Color3bv(v);
1990}
1991
1992inline void QOpenGLFunctions_1_1::glColor3b(GLbyte red, GLbyte green, GLbyte blue)
1993{
1994 d_1_0_Deprecated->f.Color3b(red, green, blue);
1995}
1996
1997inline void QOpenGLFunctions_1_1::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
1998{
1999 d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
2000}
2001
2002inline void QOpenGLFunctions_1_1::glBegin(GLenum mode)
2003{
2004 d_1_0_Deprecated->f.Begin(mode);
2005}
2006
2007inline void QOpenGLFunctions_1_1::glListBase(GLuint base)
2008{
2009 d_1_0_Deprecated->f.ListBase(base);
2010}
2011
2012inline GLuint QOpenGLFunctions_1_1::glGenLists(GLsizei range)
2013{
2014 return d_1_0_Deprecated->f.GenLists(range);
2015}
2016
2017inline void QOpenGLFunctions_1_1::glDeleteLists(GLuint list, GLsizei range)
2018{
2019 d_1_0_Deprecated->f.DeleteLists(list, range);
2020}
2021
2022inline void QOpenGLFunctions_1_1::glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
2023{
2024 d_1_0_Deprecated->f.CallLists(n, type, lists);
2025}
2026
2027inline void QOpenGLFunctions_1_1::glCallList(GLuint list)
2028{
2029 d_1_0_Deprecated->f.CallList(list);
2030}
2031
2032inline void QOpenGLFunctions_1_1::glEndList()
2033{
2034 d_1_0_Deprecated->f.EndList();
2035}
2036
2037inline void QOpenGLFunctions_1_1::glNewList(GLuint list, GLenum mode)
2038{
2039 d_1_0_Deprecated->f.NewList(list, mode);
2040}
2041
2042
2043// OpenGL 1.1 deprecated functions
2044inline void QOpenGLFunctions_1_1::glPushClientAttrib(GLbitfield mask)
2045{
2046 d_1_1_Deprecated->f.PushClientAttrib(mask);
2047}
2048
2049inline void QOpenGLFunctions_1_1::glPopClientAttrib()
2050{
2051 d_1_1_Deprecated->f.PopClientAttrib();
2052}
2053
2054inline void QOpenGLFunctions_1_1::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
2055{
2056 d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities);
2057}
2058
2059inline GLboolean QOpenGLFunctions_1_1::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
2060{
2061 return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences);
2062}
2063
2064inline void QOpenGLFunctions_1_1::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2065{
2066 d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer);
2067}
2068
2069inline void QOpenGLFunctions_1_1::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2070{
2071 d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer);
2072}
2073
2074inline void QOpenGLFunctions_1_1::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2075{
2076 d_1_1_Deprecated->f.NormalPointer(type, stride, pointer);
2077}
2078
2079inline void QOpenGLFunctions_1_1::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
2080{
2081 d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer);
2082}
2083
2084inline void QOpenGLFunctions_1_1::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
2085{
2086 d_1_1_Deprecated->f.IndexPointer(type, stride, pointer);
2087}
2088
2089inline void QOpenGLFunctions_1_1::glEnableClientState(GLenum array)
2090{
2091 d_1_1_Deprecated->f.EnableClientState(array);
2092}
2093
2094inline void QOpenGLFunctions_1_1::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
2095{
2096 d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer);
2097}
2098
2099inline void QOpenGLFunctions_1_1::glDisableClientState(GLenum array)
2100{
2101 d_1_1_Deprecated->f.DisableClientState(array);
2102}
2103
2104inline void QOpenGLFunctions_1_1::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2105{
2106 d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer);
2107}
2108
2109inline void QOpenGLFunctions_1_1::glArrayElement(GLint i)
2110{
2111 d_1_1_Deprecated->f.ArrayElement(i);
2112}
2113
2114
2115
2116QT_END_NAMESPACE
2117
2118#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
2119
2120#endif
2121