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