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