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

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