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