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_2_0_H
51#define QOPENGLVERSIONFUNCTIONS_2_0_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_2_0 : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_2_0();
67 ~QOpenGLFunctions_2_0();
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 2.0 core functions
189 void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
190 void glValidateProgram(GLuint program);
191 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
192 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
193 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
194 void glUniform4iv(GLint location, GLsizei count, const GLint *value);
195 void glUniform3iv(GLint location, GLsizei count, const GLint *value);
196 void glUniform2iv(GLint location, GLsizei count, const GLint *value);
197 void glUniform1iv(GLint location, GLsizei count, const GLint *value);
198 void glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
199 void glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
200 void glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
201 void glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
202 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
203 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
204 void glUniform2i(GLint location, GLint v0, GLint v1);
205 void glUniform1i(GLint location, GLint v0);
206 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
207 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
208 void glUniform2f(GLint location, GLfloat v0, GLfloat v1);
209 void glUniform1f(GLint location, GLfloat v0);
210 void glUseProgram(GLuint program);
211 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
212 void glLinkProgram(GLuint program);
213 GLboolean glIsShader(GLuint shader);
214 GLboolean glIsProgram(GLuint program);
215 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer);
216 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
217 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
218 void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params);
219 void glGetUniformiv(GLuint program, GLint location, GLint *params);
220 void glGetUniformfv(GLuint program, GLint location, GLfloat *params);
221 GLint glGetUniformLocation(GLuint program, const GLchar *name);
222 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
223 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
224 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
225 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
226 void glGetProgramiv(GLuint program, GLenum pname, GLint *params);
227 GLint glGetAttribLocation(GLuint program, const GLchar *name);
228 void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
229 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
230 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
231 void glEnableVertexAttribArray(GLuint index);
232 void glDisableVertexAttribArray(GLuint index);
233 void glDetachShader(GLuint program, GLuint shader);
234 void glDeleteShader(GLuint shader);
235 void glDeleteProgram(GLuint program);
236 GLuint glCreateShader(GLenum type);
237 GLuint glCreateProgram();
238 void glCompileShader(GLuint shader);
239 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
240 void glAttachShader(GLuint program, GLuint shader);
241 void glStencilMaskSeparate(GLenum face, GLuint mask);
242 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
243 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
244 void glDrawBuffers(GLsizei n, const GLenum *bufs);
245 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
246
247 // OpenGL 1.0 deprecated functions
248 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
249 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
250 void glScalef(GLfloat x, GLfloat y, GLfloat z);
251 void glScaled(GLdouble x, GLdouble y, GLdouble z);
252 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
253 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
254 void glPushMatrix();
255 void glPopMatrix();
256 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
257 void glMultMatrixd(const GLdouble *m);
258 void glMultMatrixf(const GLfloat *m);
259 void glMatrixMode(GLenum mode);
260 void glLoadMatrixd(const GLdouble *m);
261 void glLoadMatrixf(const GLfloat *m);
262 void glLoadIdentity();
263 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
264 GLboolean glIsList(GLuint list);
265 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
266 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
267 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
268 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
269 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
270 void glGetPolygonStipple(GLubyte *mask);
271 void glGetPixelMapusv(GLenum map, GLushort *values);
272 void glGetPixelMapuiv(GLenum map, GLuint *values);
273 void glGetPixelMapfv(GLenum map, GLfloat *values);
274 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
275 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
276 void glGetMapiv(GLenum target, GLenum query, GLint *v);
277 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
278 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
279 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
280 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
281 void glGetClipPlane(GLenum plane, GLdouble *equation);
282 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
283 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
284 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
285 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
286 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
287 void glPixelTransferi(GLenum pname, GLint param);
288 void glPixelTransferf(GLenum pname, GLfloat param);
289 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
290 void glAlphaFunc(GLenum func, GLfloat ref);
291 void glEvalPoint2(GLint i, GLint j);
292 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
293 void glEvalPoint1(GLint i);
294 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
295 void glEvalCoord2fv(const GLfloat *u);
296 void glEvalCoord2f(GLfloat u, GLfloat v);
297 void glEvalCoord2dv(const GLdouble *u);
298 void glEvalCoord2d(GLdouble u, GLdouble v);
299 void glEvalCoord1fv(const GLfloat *u);
300 void glEvalCoord1f(GLfloat u);
301 void glEvalCoord1dv(const GLdouble *u);
302 void glEvalCoord1d(GLdouble u);
303 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
304 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
305 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
306 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
307 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
308 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
309 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
310 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
311 void glPushAttrib(GLbitfield mask);
312 void glPopAttrib();
313 void glAccum(GLenum op, GLfloat value);
314 void glIndexMask(GLuint mask);
315 void glClearIndex(GLfloat c);
316 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
317 void glPushName(GLuint name);
318 void glPopName();
319 void glPassThrough(GLfloat token);
320 void glLoadName(GLuint name);
321 void glInitNames();
322 GLint glRenderMode(GLenum mode);
323 void glSelectBuffer(GLsizei size, GLuint *buffer);
324 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
325 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
326 void glTexGeni(GLenum coord, GLenum pname, GLint param);
327 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
328 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
329 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
330 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
331 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
332 void glTexEnvi(GLenum target, GLenum pname, GLint param);
333 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
334 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
335 void glShadeModel(GLenum mode);
336 void glPolygonStipple(const GLubyte *mask);
337 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
338 void glMateriali(GLenum face, GLenum pname, GLint param);
339 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
340 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
341 void glLineStipple(GLint factor, GLushort pattern);
342 void glLightModeliv(GLenum pname, const GLint *params);
343 void glLightModeli(GLenum pname, GLint param);
344 void glLightModelfv(GLenum pname, const GLfloat *params);
345 void glLightModelf(GLenum pname, GLfloat param);
346 void glLightiv(GLenum light, GLenum pname, const GLint *params);
347 void glLighti(GLenum light, GLenum pname, GLint param);
348 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
349 void glLightf(GLenum light, GLenum pname, GLfloat param);
350 void glFogiv(GLenum pname, const GLint *params);
351 void glFogi(GLenum pname, GLint param);
352 void glFogfv(GLenum pname, const GLfloat *params);
353 void glFogf(GLenum pname, GLfloat param);
354 void glColorMaterial(GLenum face, GLenum mode);
355 void glClipPlane(GLenum plane, const GLdouble *equation);
356 void glVertex4sv(const GLshort *v);
357 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
358 void glVertex4iv(const GLint *v);
359 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
360 void glVertex4fv(const GLfloat *v);
361 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
362 void glVertex4dv(const GLdouble *v);
363 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
364 void glVertex3sv(const GLshort *v);
365 void glVertex3s(GLshort x, GLshort y, GLshort z);
366 void glVertex3iv(const GLint *v);
367 void glVertex3i(GLint x, GLint y, GLint z);
368 void glVertex3fv(const GLfloat *v);
369 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
370 void glVertex3dv(const GLdouble *v);
371 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
372 void glVertex2sv(const GLshort *v);
373 void glVertex2s(GLshort x, GLshort y);
374 void glVertex2iv(const GLint *v);
375 void glVertex2i(GLint x, GLint y);
376 void glVertex2fv(const GLfloat *v);
377 void glVertex2f(GLfloat x, GLfloat y);
378 void glVertex2dv(const GLdouble *v);
379 void glVertex2d(GLdouble x, GLdouble y);
380 void glTexCoord4sv(const GLshort *v);
381 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
382 void glTexCoord4iv(const GLint *v);
383 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
384 void glTexCoord4fv(const GLfloat *v);
385 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
386 void glTexCoord4dv(const GLdouble *v);
387 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
388 void glTexCoord3sv(const GLshort *v);
389 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
390 void glTexCoord3iv(const GLint *v);
391 void glTexCoord3i(GLint s, GLint t, GLint r);
392 void glTexCoord3fv(const GLfloat *v);
393 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
394 void glTexCoord3dv(const GLdouble *v);
395 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
396 void glTexCoord2sv(const GLshort *v);
397 void glTexCoord2s(GLshort s, GLshort t);
398 void glTexCoord2iv(const GLint *v);
399 void glTexCoord2i(GLint s, GLint t);
400 void glTexCoord2fv(const GLfloat *v);
401 void glTexCoord2f(GLfloat s, GLfloat t);
402 void glTexCoord2dv(const GLdouble *v);
403 void glTexCoord2d(GLdouble s, GLdouble t);
404 void glTexCoord1sv(const GLshort *v);
405 void glTexCoord1s(GLshort s);
406 void glTexCoord1iv(const GLint *v);
407 void glTexCoord1i(GLint s);
408 void glTexCoord1fv(const GLfloat *v);
409 void glTexCoord1f(GLfloat s);
410 void glTexCoord1dv(const GLdouble *v);
411 void glTexCoord1d(GLdouble s);
412 void glRectsv(const GLshort *v1, const GLshort *v2);
413 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
414 void glRectiv(const GLint *v1, const GLint *v2);
415 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
416 void glRectfv(const GLfloat *v1, const GLfloat *v2);
417 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
418 void glRectdv(const GLdouble *v1, const GLdouble *v2);
419 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
420 void glRasterPos4sv(const GLshort *v);
421 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
422 void glRasterPos4iv(const GLint *v);
423 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
424 void glRasterPos4fv(const GLfloat *v);
425 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
426 void glRasterPos4dv(const GLdouble *v);
427 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
428 void glRasterPos3sv(const GLshort *v);
429 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
430 void glRasterPos3iv(const GLint *v);
431 void glRasterPos3i(GLint x, GLint y, GLint z);
432 void glRasterPos3fv(const GLfloat *v);
433 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
434 void glRasterPos3dv(const GLdouble *v);
435 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
436 void glRasterPos2sv(const GLshort *v);
437 void glRasterPos2s(GLshort x, GLshort y);
438 void glRasterPos2iv(const GLint *v);
439 void glRasterPos2i(GLint x, GLint y);
440 void glRasterPos2fv(const GLfloat *v);
441 void glRasterPos2f(GLfloat x, GLfloat y);
442 void glRasterPos2dv(const GLdouble *v);
443 void glRasterPos2d(GLdouble x, GLdouble y);
444 void glNormal3sv(const GLshort *v);
445 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
446 void glNormal3iv(const GLint *v);
447 void glNormal3i(GLint nx, GLint ny, GLint nz);
448 void glNormal3fv(const GLfloat *v);
449 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
450 void glNormal3dv(const GLdouble *v);
451 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
452 void glNormal3bv(const GLbyte *v);
453 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
454 void glIndexsv(const GLshort *c);
455 void glIndexs(GLshort c);
456 void glIndexiv(const GLint *c);
457 void glIndexi(GLint c);
458 void glIndexfv(const GLfloat *c);
459 void glIndexf(GLfloat c);
460 void glIndexdv(const GLdouble *c);
461 void glIndexd(GLdouble c);
462 void glEnd();
463 void glEdgeFlagv(const GLboolean *flag);
464 void glEdgeFlag(GLboolean flag);
465 void glColor4usv(const GLushort *v);
466 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
467 void glColor4uiv(const GLuint *v);
468 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
469 void glColor4ubv(const GLubyte *v);
470 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
471 void glColor4sv(const GLshort *v);
472 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
473 void glColor4iv(const GLint *v);
474 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
475 void glColor4fv(const GLfloat *v);
476 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
477 void glColor4dv(const GLdouble *v);
478 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
479 void glColor4bv(const GLbyte *v);
480 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
481 void glColor3usv(const GLushort *v);
482 void glColor3us(GLushort red, GLushort green, GLushort blue);
483 void glColor3uiv(const GLuint *v);
484 void glColor3ui(GLuint red, GLuint green, GLuint blue);
485 void glColor3ubv(const GLubyte *v);
486 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
487 void glColor3sv(const GLshort *v);
488 void glColor3s(GLshort red, GLshort green, GLshort blue);
489 void glColor3iv(const GLint *v);
490 void glColor3i(GLint red, GLint green, GLint blue);
491 void glColor3fv(const GLfloat *v);
492 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
493 void glColor3dv(const GLdouble *v);
494 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
495 void glColor3bv(const GLbyte *v);
496 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
497 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
498 void glBegin(GLenum mode);
499 void glListBase(GLuint base);
500 GLuint glGenLists(GLsizei range);
501 void glDeleteLists(GLuint list, GLsizei range);
502 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
503 void glCallList(GLuint list);
504 void glEndList();
505 void glNewList(GLuint list, GLenum mode);
506
507 // OpenGL 1.1 deprecated functions
508 void glPushClientAttrib(GLbitfield mask);
509 void glPopClientAttrib();
510 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
511 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
512 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
513 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
514 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
515 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
516 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
517 void glEnableClientState(GLenum array);
518 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
519 void glDisableClientState(GLenum array);
520 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
521 void glArrayElement(GLint i);
522
523 // OpenGL 1.2 deprecated functions
524 void glResetMinmax(GLenum target);
525 void glResetHistogram(GLenum target);
526 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
527 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
528 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
529 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
530 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
531 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
532 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
533 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
534 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
535 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
536 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
537 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
538 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
539 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
540 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
541 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
542 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
543 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
544 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
545 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
546 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
547 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
548 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
549 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
550 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
551 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
552 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
553 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
554 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
555 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
556
557 // OpenGL 1.3 deprecated functions
558 void glMultTransposeMatrixd(const GLdouble *m);
559 void glMultTransposeMatrixf(const GLfloat *m);
560 void glLoadTransposeMatrixd(const GLdouble *m);
561 void glLoadTransposeMatrixf(const GLfloat *m);
562 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
563 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
564 void glMultiTexCoord4iv(GLenum target, const GLint *v);
565 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
566 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
567 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
568 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
569 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
570 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
571 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
572 void glMultiTexCoord3iv(GLenum target, const GLint *v);
573 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
574 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
575 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
576 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
577 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
578 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
579 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
580 void glMultiTexCoord2iv(GLenum target, const GLint *v);
581 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
582 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
583 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
584 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
585 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
586 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
587 void glMultiTexCoord1s(GLenum target, GLshort s);
588 void glMultiTexCoord1iv(GLenum target, const GLint *v);
589 void glMultiTexCoord1i(GLenum target, GLint s);
590 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
591 void glMultiTexCoord1f(GLenum target, GLfloat s);
592 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
593 void glMultiTexCoord1d(GLenum target, GLdouble s);
594 void glClientActiveTexture(GLenum texture);
595
596 // OpenGL 1.4 deprecated functions
597 void glWindowPos3sv(const GLshort *v);
598 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
599 void glWindowPos3iv(const GLint *v);
600 void glWindowPos3i(GLint x, GLint y, GLint z);
601 void glWindowPos3fv(const GLfloat *v);
602 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
603 void glWindowPos3dv(const GLdouble *v);
604 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
605 void glWindowPos2sv(const GLshort *v);
606 void glWindowPos2s(GLshort x, GLshort y);
607 void glWindowPos2iv(const GLint *v);
608 void glWindowPos2i(GLint x, GLint y);
609 void glWindowPos2fv(const GLfloat *v);
610 void glWindowPos2f(GLfloat x, GLfloat y);
611 void glWindowPos2dv(const GLdouble *v);
612 void glWindowPos2d(GLdouble x, GLdouble y);
613 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
614 void glSecondaryColor3usv(const GLushort *v);
615 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
616 void glSecondaryColor3uiv(const GLuint *v);
617 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
618 void glSecondaryColor3ubv(const GLubyte *v);
619 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
620 void glSecondaryColor3sv(const GLshort *v);
621 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
622 void glSecondaryColor3iv(const GLint *v);
623 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
624 void glSecondaryColor3fv(const GLfloat *v);
625 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
626 void glSecondaryColor3dv(const GLdouble *v);
627 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
628 void glSecondaryColor3bv(const GLbyte *v);
629 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
630 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
631 void glFogCoorddv(const GLdouble *coord);
632 void glFogCoordd(GLdouble coord);
633 void glFogCoordfv(const GLfloat *coord);
634 void glFogCoordf(GLfloat coord);
635
636 // OpenGL 1.5 deprecated functions
637
638 // OpenGL 2.0 deprecated functions
639 void glVertexAttrib4usv(GLuint index, const GLushort *v);
640 void glVertexAttrib4uiv(GLuint index, const GLuint *v);
641 void glVertexAttrib4ubv(GLuint index, const GLubyte *v);
642 void glVertexAttrib4sv(GLuint index, const GLshort *v);
643 void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
644 void glVertexAttrib4iv(GLuint index, const GLint *v);
645 void glVertexAttrib4fv(GLuint index, const GLfloat *v);
646 void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
647 void glVertexAttrib4dv(GLuint index, const GLdouble *v);
648 void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
649 void glVertexAttrib4bv(GLuint index, const GLbyte *v);
650 void glVertexAttrib4Nusv(GLuint index, const GLushort *v);
651 void glVertexAttrib4Nuiv(GLuint index, const GLuint *v);
652 void glVertexAttrib4Nubv(GLuint index, const GLubyte *v);
653 void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
654 void glVertexAttrib4Nsv(GLuint index, const GLshort *v);
655 void glVertexAttrib4Niv(GLuint index, const GLint *v);
656 void glVertexAttrib4Nbv(GLuint index, const GLbyte *v);
657 void glVertexAttrib3sv(GLuint index, const GLshort *v);
658 void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
659 void glVertexAttrib3fv(GLuint index, const GLfloat *v);
660 void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z);
661 void glVertexAttrib3dv(GLuint index, const GLdouble *v);
662 void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
663 void glVertexAttrib2sv(GLuint index, const GLshort *v);
664 void glVertexAttrib2s(GLuint index, GLshort x, GLshort y);
665 void glVertexAttrib2fv(GLuint index, const GLfloat *v);
666 void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y);
667 void glVertexAttrib2dv(GLuint index, const GLdouble *v);
668 void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
669 void glVertexAttrib1sv(GLuint index, const GLshort *v);
670 void glVertexAttrib1s(GLuint index, GLshort x);
671 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
672 void glVertexAttrib1f(GLuint index, GLfloat x);
673 void glVertexAttrib1dv(GLuint index, const GLdouble *v);
674 void glVertexAttrib1d(GLuint index, GLdouble x);
675
676private:
677 friend class QOpenGLVersionFunctionsFactory;
678
679 static bool isContextCompatible(QOpenGLContext *context);
680 static QOpenGLVersionProfile versionProfile();
681
682 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
683 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
684 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
685 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
686 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
687 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
688 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
689 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
690 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
691 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
692 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
693 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
694 void *m_reserved_2_0_Deprecated; // To maintain BC
695};
696
697// OpenGL 1.0 core functions
698inline void QOpenGLFunctions_2_0::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
699{
700 d_1_0_Core->f.Viewport(x, y, width, height);
701}
702
703inline void QOpenGLFunctions_2_0::glDepthRange(GLdouble nearVal, GLdouble farVal)
704{
705 d_1_0_Core->f.DepthRange(nearVal, farVal);
706}
707
708inline GLboolean QOpenGLFunctions_2_0::glIsEnabled(GLenum cap)
709{
710 return d_1_0_Core->f.IsEnabled(cap);
711}
712
713inline void QOpenGLFunctions_2_0::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
714{
715 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
716}
717
718inline void QOpenGLFunctions_2_0::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
719{
720 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
721}
722
723inline void QOpenGLFunctions_2_0::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
724{
725 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
726}
727
728inline void QOpenGLFunctions_2_0::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
729{
730 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
731}
732
733inline void QOpenGLFunctions_2_0::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
734{
735 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
736}
737
738inline const GLubyte * QOpenGLFunctions_2_0::glGetString(GLenum name)
739{
740 return d_1_0_Core->f.GetString(name);
741}
742
743inline void QOpenGLFunctions_2_0::glGetIntegerv(GLenum pname, GLint *params)
744{
745 d_1_0_Core->f.GetIntegerv(pname, params);
746}
747
748inline void QOpenGLFunctions_2_0::glGetFloatv(GLenum pname, GLfloat *params)
749{
750 d_1_0_Core->f.GetFloatv(pname, params);
751}
752
753inline GLenum QOpenGLFunctions_2_0::glGetError()
754{
755 return d_1_0_Core->f.GetError();
756}
757
758inline void QOpenGLFunctions_2_0::glGetDoublev(GLenum pname, GLdouble *params)
759{
760 d_1_0_Core->f.GetDoublev(pname, params);
761}
762
763inline void QOpenGLFunctions_2_0::glGetBooleanv(GLenum pname, GLboolean *params)
764{
765 d_1_0_Core->f.GetBooleanv(pname, params);
766}
767
768inline void QOpenGLFunctions_2_0::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
769{
770 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
771}
772
773inline void QOpenGLFunctions_2_0::glReadBuffer(GLenum mode)
774{
775 d_1_0_Core->f.ReadBuffer(mode);
776}
777
778inline void QOpenGLFunctions_2_0::glPixelStorei(GLenum pname, GLint param)
779{
780 d_1_0_Core->f.PixelStorei(pname, param);
781}
782
783inline void QOpenGLFunctions_2_0::glPixelStoref(GLenum pname, GLfloat param)
784{
785 d_1_0_Core->f.PixelStoref(pname, param);
786}
787
788inline void QOpenGLFunctions_2_0::glDepthFunc(GLenum func)
789{
790 d_1_0_Core->f.DepthFunc(func);
791}
792
793inline void QOpenGLFunctions_2_0::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
794{
795 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
796}
797
798inline void QOpenGLFunctions_2_0::glStencilFunc(GLenum func, GLint ref, GLuint mask)
799{
800 d_1_0_Core->f.StencilFunc(func, ref, mask);
801}
802
803inline void QOpenGLFunctions_2_0::glLogicOp(GLenum opcode)
804{
805 d_1_0_Core->f.LogicOp(opcode);
806}
807
808inline void QOpenGLFunctions_2_0::glBlendFunc(GLenum sfactor, GLenum dfactor)
809{
810 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
811}
812
813inline void QOpenGLFunctions_2_0::glFlush()
814{
815 d_1_0_Core->f.Flush();
816}
817
818inline void QOpenGLFunctions_2_0::glFinish()
819{
820 d_1_0_Core->f.Finish();
821}
822
823inline void QOpenGLFunctions_2_0::glEnable(GLenum cap)
824{
825 d_1_0_Core->f.Enable(cap);
826}
827
828inline void QOpenGLFunctions_2_0::glDisable(GLenum cap)
829{
830 d_1_0_Core->f.Disable(cap);
831}
832
833inline void QOpenGLFunctions_2_0::glDepthMask(GLboolean flag)
834{
835 d_1_0_Core->f.DepthMask(flag);
836}
837
838inline void QOpenGLFunctions_2_0::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
839{
840 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
841}
842
843inline void QOpenGLFunctions_2_0::glStencilMask(GLuint mask)
844{
845 d_1_0_Core->f.StencilMask(mask);
846}
847
848inline void QOpenGLFunctions_2_0::glClearDepth(GLdouble depth)
849{
850 d_1_0_Core->f.ClearDepth(depth);
851}
852
853inline void QOpenGLFunctions_2_0::glClearStencil(GLint s)
854{
855 d_1_0_Core->f.ClearStencil(s);
856}
857
858inline void QOpenGLFunctions_2_0::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
859{
860 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
861}
862
863inline void QOpenGLFunctions_2_0::glClear(GLbitfield mask)
864{
865 d_1_0_Core->f.Clear(mask);
866}
867
868inline void QOpenGLFunctions_2_0::glDrawBuffer(GLenum mode)
869{
870 d_1_0_Core->f.DrawBuffer(mode);
871}
872
873inline void QOpenGLFunctions_2_0::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
874{
875 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
876}
877
878inline void QOpenGLFunctions_2_0::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
879{
880 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
881}
882
883inline void QOpenGLFunctions_2_0::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
884{
885 d_1_0_Core->f.TexParameteriv(target, pname, params);
886}
887
888inline void QOpenGLFunctions_2_0::glTexParameteri(GLenum target, GLenum pname, GLint param)
889{
890 d_1_0_Core->f.TexParameteri(target, pname, param);
891}
892
893inline void QOpenGLFunctions_2_0::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
894{
895 d_1_0_Core->f.TexParameterfv(target, pname, params);
896}
897
898inline void QOpenGLFunctions_2_0::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
899{
900 d_1_0_Core->f.TexParameterf(target, pname, param);
901}
902
903inline void QOpenGLFunctions_2_0::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
904{
905 d_1_0_Core->f.Scissor(x, y, width, height);
906}
907
908inline void QOpenGLFunctions_2_0::glPolygonMode(GLenum face, GLenum mode)
909{
910 d_1_0_Core->f.PolygonMode(face, mode);
911}
912
913inline void QOpenGLFunctions_2_0::glPointSize(GLfloat size)
914{
915 d_1_0_Core->f.PointSize(size);
916}
917
918inline void QOpenGLFunctions_2_0::glLineWidth(GLfloat width)
919{
920 d_1_0_Core->f.LineWidth(width);
921}
922
923inline void QOpenGLFunctions_2_0::glHint(GLenum target, GLenum mode)
924{
925 d_1_0_Core->f.Hint(target, mode);
926}
927
928inline void QOpenGLFunctions_2_0::glFrontFace(GLenum mode)
929{
930 d_1_0_Core->f.FrontFace(mode);
931}
932
933inline void QOpenGLFunctions_2_0::glCullFace(GLenum mode)
934{
935 d_1_0_Core->f.CullFace(mode);
936}
937
938
939// OpenGL 1.1 core functions
940inline void QOpenGLFunctions_2_0::glIndexubv(const GLubyte *c)
941{
942 d_1_1_Deprecated->f.Indexubv(c);
943}
944
945inline void QOpenGLFunctions_2_0::glIndexub(GLubyte c)
946{
947 d_1_1_Deprecated->f.Indexub(c);
948}
949
950inline GLboolean QOpenGLFunctions_2_0::glIsTexture(GLuint texture)
951{
952 return d_1_1_Core->f.IsTexture(texture);
953}
954
955inline void QOpenGLFunctions_2_0::glGenTextures(GLsizei n, GLuint *textures)
956{
957 d_1_1_Core->f.GenTextures(n, textures);
958}
959
960inline void QOpenGLFunctions_2_0::glDeleteTextures(GLsizei n, const GLuint *textures)
961{
962 d_1_1_Core->f.DeleteTextures(n, textures);
963}
964
965inline void QOpenGLFunctions_2_0::glBindTexture(GLenum target, GLuint texture)
966{
967 d_1_1_Core->f.BindTexture(target, texture);
968}
969
970inline void QOpenGLFunctions_2_0::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
971{
972 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
973}
974
975inline void QOpenGLFunctions_2_0::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
976{
977 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
978}
979
980inline void QOpenGLFunctions_2_0::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
981{
982 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
983}
984
985inline void QOpenGLFunctions_2_0::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
986{
987 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
988}
989
990inline void QOpenGLFunctions_2_0::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
991{
992 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
993}
994
995inline void QOpenGLFunctions_2_0::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
996{
997 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
998}
999
1000inline void QOpenGLFunctions_2_0::glPolygonOffset(GLfloat factor, GLfloat units)
1001{
1002 d_1_1_Core->f.PolygonOffset(factor, units);
1003}
1004
1005inline void QOpenGLFunctions_2_0::glGetPointerv(GLenum pname, GLvoid* *params)
1006{
1007 d_1_1_Deprecated->f.GetPointerv(pname, params);
1008}
1009
1010inline void QOpenGLFunctions_2_0::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1011{
1012 d_1_1_Core->f.DrawElements(mode, count, type, indices);
1013}
1014
1015inline void QOpenGLFunctions_2_0::glDrawArrays(GLenum mode, GLint first, GLsizei count)
1016{
1017 d_1_1_Core->f.DrawArrays(mode, first, count);
1018}
1019
1020
1021// OpenGL 1.2 core functions
1022inline void QOpenGLFunctions_2_0::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1023{
1024 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1025}
1026
1027inline void QOpenGLFunctions_2_0::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
1028{
1029 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1030}
1031
1032inline void QOpenGLFunctions_2_0::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1033{
1034 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
1035}
1036
1037inline void QOpenGLFunctions_2_0::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
1038{
1039 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
1040}
1041
1042inline void QOpenGLFunctions_2_0::glBlendEquation(GLenum mode)
1043{
1044 d_1_2_Core->f.BlendEquation(mode);
1045}
1046
1047inline void QOpenGLFunctions_2_0::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1048{
1049 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
1050}
1051
1052
1053// OpenGL 1.3 core functions
1054inline void QOpenGLFunctions_2_0::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
1055{
1056 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
1057}
1058
1059inline void QOpenGLFunctions_2_0::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
1060{
1061 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
1062}
1063
1064inline void QOpenGLFunctions_2_0::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
1065{
1066 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
1067}
1068
1069inline void QOpenGLFunctions_2_0::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
1070{
1071 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
1072}
1073
1074inline void QOpenGLFunctions_2_0::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
1075{
1076 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
1077}
1078
1079inline void QOpenGLFunctions_2_0::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
1080{
1081 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
1082}
1083
1084inline void QOpenGLFunctions_2_0::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
1085{
1086 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
1087}
1088
1089inline void QOpenGLFunctions_2_0::glSampleCoverage(GLfloat value, GLboolean invert)
1090{
1091 d_1_3_Core->f.SampleCoverage(value, invert);
1092}
1093
1094inline void QOpenGLFunctions_2_0::glActiveTexture(GLenum texture)
1095{
1096 d_1_3_Core->f.ActiveTexture(texture);
1097}
1098
1099
1100// OpenGL 1.4 core functions
1101inline void QOpenGLFunctions_2_0::glPointParameteriv(GLenum pname, const GLint *params)
1102{
1103 d_1_4_Core->f.PointParameteriv(pname, params);
1104}
1105
1106inline void QOpenGLFunctions_2_0::glPointParameteri(GLenum pname, GLint param)
1107{
1108 d_1_4_Core->f.PointParameteri(pname, param);
1109}
1110
1111inline void QOpenGLFunctions_2_0::glPointParameterfv(GLenum pname, const GLfloat *params)
1112{
1113 d_1_4_Core->f.PointParameterfv(pname, params);
1114}
1115
1116inline void QOpenGLFunctions_2_0::glPointParameterf(GLenum pname, GLfloat param)
1117{
1118 d_1_4_Core->f.PointParameterf(pname, param);
1119}
1120
1121inline void QOpenGLFunctions_2_0::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
1122{
1123 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1124}
1125
1126inline void QOpenGLFunctions_2_0::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1127{
1128 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1129}
1130
1131inline void QOpenGLFunctions_2_0::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1132{
1133 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1134}
1135
1136
1137// OpenGL 1.5 core functions
1138inline void QOpenGLFunctions_2_0::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
1139{
1140 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
1141}
1142
1143inline void QOpenGLFunctions_2_0::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
1144{
1145 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
1146}
1147
1148inline GLboolean QOpenGLFunctions_2_0::glUnmapBuffer(GLenum target)
1149{
1150 return d_1_5_Core->f.UnmapBuffer(target);
1151}
1152
1153inline GLvoid* QOpenGLFunctions_2_0::glMapBuffer(GLenum target, GLenum access)
1154{
1155 return d_1_5_Core->f.MapBuffer(target, access);
1156}
1157
1158inline void QOpenGLFunctions_2_0::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
1159{
1160 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
1161}
1162
1163inline void QOpenGLFunctions_2_0::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
1164{
1165 d_1_5_Core->f.BufferSubData(target, offset, size, data);
1166}
1167
1168inline void QOpenGLFunctions_2_0::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1169{
1170 d_1_5_Core->f.BufferData(target, size, data, usage);
1171}
1172
1173inline GLboolean QOpenGLFunctions_2_0::glIsBuffer(GLuint buffer)
1174{
1175 return d_1_5_Core->f.IsBuffer(buffer);
1176}
1177
1178inline void QOpenGLFunctions_2_0::glGenBuffers(GLsizei n, GLuint *buffers)
1179{
1180 d_1_5_Core->f.GenBuffers(n, buffers);
1181}
1182
1183inline void QOpenGLFunctions_2_0::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1184{
1185 d_1_5_Core->f.DeleteBuffers(n, buffers);
1186}
1187
1188inline void QOpenGLFunctions_2_0::glBindBuffer(GLenum target, GLuint buffer)
1189{
1190 d_1_5_Core->f.BindBuffer(target, buffer);
1191}
1192
1193inline void QOpenGLFunctions_2_0::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1194{
1195 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1196}
1197
1198inline void QOpenGLFunctions_2_0::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1199{
1200 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1201}
1202
1203inline void QOpenGLFunctions_2_0::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1204{
1205 d_1_5_Core->f.GetQueryiv(target, pname, params);
1206}
1207
1208inline void QOpenGLFunctions_2_0::glEndQuery(GLenum target)
1209{
1210 d_1_5_Core->f.EndQuery(target);
1211}
1212
1213inline void QOpenGLFunctions_2_0::glBeginQuery(GLenum target, GLuint id)
1214{
1215 d_1_5_Core->f.BeginQuery(target, id);
1216}
1217
1218inline GLboolean QOpenGLFunctions_2_0::glIsQuery(GLuint id)
1219{
1220 return d_1_5_Core->f.IsQuery(id);
1221}
1222
1223inline void QOpenGLFunctions_2_0::glDeleteQueries(GLsizei n, const GLuint *ids)
1224{
1225 d_1_5_Core->f.DeleteQueries(n, ids);
1226}
1227
1228inline void QOpenGLFunctions_2_0::glGenQueries(GLsizei n, GLuint *ids)
1229{
1230 d_1_5_Core->f.GenQueries(n, ids);
1231}
1232
1233
1234// OpenGL 2.0 core functions
1235inline void QOpenGLFunctions_2_0::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1236{
1237 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1238}
1239
1240inline void QOpenGLFunctions_2_0::glValidateProgram(GLuint program)
1241{
1242 d_2_0_Core->f.ValidateProgram(program);
1243}
1244
1245inline void QOpenGLFunctions_2_0::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1246{
1247 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1248}
1249
1250inline void QOpenGLFunctions_2_0::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1251{
1252 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1253}
1254
1255inline void QOpenGLFunctions_2_0::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1256{
1257 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1258}
1259
1260inline void QOpenGLFunctions_2_0::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1261{
1262 d_2_0_Core->f.Uniform4iv(location, count, value);
1263}
1264
1265inline void QOpenGLFunctions_2_0::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1266{
1267 d_2_0_Core->f.Uniform3iv(location, count, value);
1268}
1269
1270inline void QOpenGLFunctions_2_0::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1271{
1272 d_2_0_Core->f.Uniform2iv(location, count, value);
1273}
1274
1275inline void QOpenGLFunctions_2_0::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1276{
1277 d_2_0_Core->f.Uniform1iv(location, count, value);
1278}
1279
1280inline void QOpenGLFunctions_2_0::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1281{
1282 d_2_0_Core->f.Uniform4fv(location, count, value);
1283}
1284
1285inline void QOpenGLFunctions_2_0::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1286{
1287 d_2_0_Core->f.Uniform3fv(location, count, value);
1288}
1289
1290inline void QOpenGLFunctions_2_0::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1291{
1292 d_2_0_Core->f.Uniform2fv(location, count, value);
1293}
1294
1295inline void QOpenGLFunctions_2_0::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1296{
1297 d_2_0_Core->f.Uniform1fv(location, count, value);
1298}
1299
1300inline void QOpenGLFunctions_2_0::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1301{
1302 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1303}
1304
1305inline void QOpenGLFunctions_2_0::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1306{
1307 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1308}
1309
1310inline void QOpenGLFunctions_2_0::glUniform2i(GLint location, GLint v0, GLint v1)
1311{
1312 d_2_0_Core->f.Uniform2i(location, v0, v1);
1313}
1314
1315inline void QOpenGLFunctions_2_0::glUniform1i(GLint location, GLint v0)
1316{
1317 d_2_0_Core->f.Uniform1i(location, v0);
1318}
1319
1320inline void QOpenGLFunctions_2_0::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1321{
1322 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1323}
1324
1325inline void QOpenGLFunctions_2_0::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1326{
1327 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1328}
1329
1330inline void QOpenGLFunctions_2_0::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1331{
1332 d_2_0_Core->f.Uniform2f(location, v0, v1);
1333}
1334
1335inline void QOpenGLFunctions_2_0::glUniform1f(GLint location, GLfloat v0)
1336{
1337 d_2_0_Core->f.Uniform1f(location, v0);
1338}
1339
1340inline void QOpenGLFunctions_2_0::glUseProgram(GLuint program)
1341{
1342 d_2_0_Core->f.UseProgram(program);
1343}
1344
1345inline void QOpenGLFunctions_2_0::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1346{
1347 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1348}
1349
1350inline void QOpenGLFunctions_2_0::glLinkProgram(GLuint program)
1351{
1352 d_2_0_Core->f.LinkProgram(program);
1353}
1354
1355inline GLboolean QOpenGLFunctions_2_0::glIsShader(GLuint shader)
1356{
1357 return d_2_0_Core->f.IsShader(shader);
1358}
1359
1360inline GLboolean QOpenGLFunctions_2_0::glIsProgram(GLuint program)
1361{
1362 return d_2_0_Core->f.IsProgram(program);
1363}
1364
1365inline void QOpenGLFunctions_2_0::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1366{
1367 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1368}
1369
1370inline void QOpenGLFunctions_2_0::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1371{
1372 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1373}
1374
1375inline void QOpenGLFunctions_2_0::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1376{
1377 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1378}
1379
1380inline void QOpenGLFunctions_2_0::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1381{
1382 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1383}
1384
1385inline void QOpenGLFunctions_2_0::glGetUniformiv(GLuint program, GLint location, GLint *params)
1386{
1387 d_2_0_Core->f.GetUniformiv(program, location, params);
1388}
1389
1390inline void QOpenGLFunctions_2_0::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1391{
1392 d_2_0_Core->f.GetUniformfv(program, location, params);
1393}
1394
1395inline GLint QOpenGLFunctions_2_0::glGetUniformLocation(GLuint program, const GLchar *name)
1396{
1397 return d_2_0_Core->f.GetUniformLocation(program, name);
1398}
1399
1400inline void QOpenGLFunctions_2_0::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1401{
1402 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1403}
1404
1405inline void QOpenGLFunctions_2_0::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1406{
1407 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1408}
1409
1410inline void QOpenGLFunctions_2_0::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1411{
1412 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1413}
1414
1415inline void QOpenGLFunctions_2_0::