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

source code of qtbase/src/gui/opengl/qopenglfunctions_1_1.h