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_4_0_COMPATIBILITY_H
51#define QOPENGLVERSIONFUNCTIONS_4_0_COMPATIBILITY_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_4_0_Compatibility : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_4_0_Compatibility();
67 ~QOpenGLFunctions_4_0_Compatibility();
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 2.1 core functions
248 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
249 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
250 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
251 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
252 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
253 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
254
255 // OpenGL 3.0 core functions
256 GLboolean glIsVertexArray(GLuint array);
257 void glGenVertexArrays(GLsizei n, GLuint *arrays);
258 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays);
259 void glBindVertexArray(GLuint array);
260 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
261 GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
262 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
263 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
264 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
265 void glGenerateMipmap(GLenum target);
266 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params);
267 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
268 void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
269 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
270 void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
271 GLenum glCheckFramebufferStatus(GLenum target);
272 void glGenFramebuffers(GLsizei n, GLuint *framebuffers);
273 void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
274 void glBindFramebuffer(GLenum target, GLuint framebuffer);
275 GLboolean glIsFramebuffer(GLuint framebuffer);
276 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
277 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
278 void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
279 void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
280 void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
281 GLboolean glIsRenderbuffer(GLuint renderbuffer);
282 const GLubyte * glGetStringi(GLenum name, GLuint index);
283 void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
284 void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value);
285 void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);
286 void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
287 void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params);
288 void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params);
289 void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params);
290 void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params);
291 void glUniform4uiv(GLint location, GLsizei count, const GLuint *value);
292 void glUniform3uiv(GLint location, GLsizei count, const GLuint *value);
293 void glUniform2uiv(GLint location, GLsizei count, const GLuint *value);
294 void glUniform1uiv(GLint location, GLsizei count, const GLuint *value);
295 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
296 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
297 void glUniform2ui(GLint location, GLuint v0, GLuint v1);
298 void glUniform1ui(GLint location, GLuint v0);
299 GLint glGetFragDataLocation(GLuint program, const GLchar *name);
300 void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name);
301 void glGetUniformuiv(GLuint program, GLint location, GLuint *params);
302 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
303 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
304 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
305 void glEndConditionalRender();
306 void glBeginConditionalRender(GLuint id, GLenum mode);
307 void glClampColor(GLenum target, GLenum clamp);
308 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
309 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
310 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
311 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
312 void glEndTransformFeedback();
313 void glBeginTransformFeedback(GLenum primitiveMode);
314 GLboolean glIsEnabledi(GLenum target, GLuint index);
315 void glDisablei(GLenum target, GLuint index);
316 void glEnablei(GLenum target, GLuint index);
317 void glGetIntegeri_v(GLenum target, GLuint index, GLint *data);
318 void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data);
319 void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
320
321 // OpenGL 3.1 core functions
322 void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
323 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
324 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
325 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
326 GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName);
327 void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
328 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
329 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
330 void glPrimitiveRestartIndex(GLuint index);
331 void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer);
332 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
333 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
334
335 // OpenGL 3.2 core functions
336 void glSampleMaski(GLuint index, GLbitfield mask);
337 void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
338 void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
339 void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
340 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
341 void glGetInteger64v(GLenum pname, GLint64 *params);
342 void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
343 GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
344 void glDeleteSync(GLsync sync);
345 GLboolean glIsSync(GLsync sync);
346 GLsync glFenceSync(GLenum condition, GLbitfield flags);
347 void glProvokingVertex(GLenum mode);
348 void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
349 void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
350 void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
351 void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
352 void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level);
353 void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params);
354 void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data);
355
356 // OpenGL 3.3 core functions
357 void glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
358 void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
359 void glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
360 void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
361 void glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
362 void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
363 void glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
364 void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
365 void glSecondaryColorP3uiv(GLenum type, const GLuint *color);
366 void glSecondaryColorP3ui(GLenum type, GLuint color);
367 void glColorP4uiv(GLenum type, const GLuint *color);
368 void glColorP4ui(GLenum type, GLuint color);
369 void glColorP3uiv(GLenum type, const GLuint *color);
370 void glColorP3ui(GLenum type, GLuint color);
371 void glNormalP3uiv(GLenum type, const GLuint *coords);
372 void glNormalP3ui(GLenum type, GLuint coords);
373 void glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords);
374 void glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords);
375 void glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords);
376 void glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords);
377 void glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords);
378 void glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords);
379 void glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords);
380 void glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords);
381 void glTexCoordP4uiv(GLenum type, const GLuint *coords);
382 void glTexCoordP4ui(GLenum type, GLuint coords);
383 void glTexCoordP3uiv(GLenum type, const GLuint *coords);
384 void glTexCoordP3ui(GLenum type, GLuint coords);
385 void glTexCoordP2uiv(GLenum type, const GLuint *coords);
386 void glTexCoordP2ui(GLenum type, GLuint coords);
387 void glTexCoordP1uiv(GLenum type, const GLuint *coords);
388 void glTexCoordP1ui(GLenum type, GLuint coords);
389 void glVertexP4uiv(GLenum type, const GLuint *value);
390 void glVertexP4ui(GLenum type, GLuint value);
391 void glVertexP3uiv(GLenum type, const GLuint *value);
392 void glVertexP3ui(GLenum type, GLuint value);
393 void glVertexP2uiv(GLenum type, const GLuint *value);
394 void glVertexP2ui(GLenum type, GLuint value);
395 void glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params);
396 void glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params);
397 void glQueryCounter(GLuint id, GLenum target);
398 void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params);
399 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params);
400 void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params);
401 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params);
402 void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param);
403 void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param);
404 void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param);
405 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
406 void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param);
407 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
408 void glBindSampler(GLuint unit, GLuint sampler);
409 GLboolean glIsSampler(GLuint sampler);
410 void glDeleteSamplers(GLsizei count, const GLuint *samplers);
411 void glGenSamplers(GLsizei count, GLuint *samplers);
412 GLint glGetFragDataIndex(GLuint program, const GLchar *name);
413 void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
414 void glVertexAttribDivisor(GLuint index, GLuint divisor);
415
416 // OpenGL 4.0 core functions
417 void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params);
418 void glEndQueryIndexed(GLenum target, GLuint index);
419 void glBeginQueryIndexed(GLenum target, GLuint index, GLuint id);
420 void glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream);
421 void glDrawTransformFeedback(GLenum mode, GLuint id);
422 void glResumeTransformFeedback();
423 void glPauseTransformFeedback();
424 GLboolean glIsTransformFeedback(GLuint id);
425 void glGenTransformFeedbacks(GLsizei n, GLuint *ids);
426 void glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids);
427 void glBindTransformFeedback(GLenum target, GLuint id);
428 void glPatchParameterfv(GLenum pname, const GLfloat *values);
429 void glPatchParameteri(GLenum pname, GLint value);
430 void glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values);
431 void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params);
432 void glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices);
433 void glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
434 void glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
435 void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
436 GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name);
437 GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name);
438 void glGetUniformdv(GLuint program, GLint location, GLdouble *params);
439 void glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
440 void glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
441 void glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
442 void glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
443 void glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
444 void glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
445 void glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
446 void glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
447 void glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
448 void glUniform4dv(GLint location, GLsizei count, const GLdouble *value);
449 void glUniform3dv(GLint location, GLsizei count, const GLdouble *value);
450 void glUniform2dv(GLint location, GLsizei count, const GLdouble *value);
451 void glUniform1dv(GLint location, GLsizei count, const GLdouble *value);
452 void glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
453 void glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z);
454 void glUniform2d(GLint location, GLdouble x, GLdouble y);
455 void glUniform1d(GLint location, GLdouble x);
456 void glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect);
457 void glDrawArraysIndirect(GLenum mode, const GLvoid *indirect);
458 void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
459 void glBlendFunci(GLuint buf, GLenum src, GLenum dst);
460 void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha);
461 void glBlendEquationi(GLuint buf, GLenum mode);
462 void glMinSampleShading(GLfloat value);
463
464 // OpenGL 1.0 deprecated functions
465 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
466 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
467 void glScalef(GLfloat x, GLfloat y, GLfloat z);
468 void glScaled(GLdouble x, GLdouble y, GLdouble z);
469 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
470 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
471 void glPushMatrix();
472 void glPopMatrix();
473 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
474 void glMultMatrixd(const GLdouble *m);
475 void glMultMatrixf(const GLfloat *m);
476 void glMatrixMode(GLenum mode);
477 void glLoadMatrixd(const GLdouble *m);
478 void glLoadMatrixf(const GLfloat *m);
479 void glLoadIdentity();
480 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
481 GLboolean glIsList(GLuint list);
482 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
483 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
484 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
485 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
486 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
487 void glGetPolygonStipple(GLubyte *mask);
488 void glGetPixelMapusv(GLenum map, GLushort *values);
489 void glGetPixelMapuiv(GLenum map, GLuint *values);
490 void glGetPixelMapfv(GLenum map, GLfloat *values);
491 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
492 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
493 void glGetMapiv(GLenum target, GLenum query, GLint *v);
494 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
495 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
496 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
497 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
498 void glGetClipPlane(GLenum plane, GLdouble *equation);
499 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
500 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
501 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
502 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
503 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
504 void glPixelTransferi(GLenum pname, GLint param);
505 void glPixelTransferf(GLenum pname, GLfloat param);
506 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
507 void glAlphaFunc(GLenum func, GLfloat ref);
508 void glEvalPoint2(GLint i, GLint j);
509 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
510 void glEvalPoint1(GLint i);
511 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
512 void glEvalCoord2fv(const GLfloat *u);
513 void glEvalCoord2f(GLfloat u, GLfloat v);
514 void glEvalCoord2dv(const GLdouble *u);
515 void glEvalCoord2d(GLdouble u, GLdouble v);
516 void glEvalCoord1fv(const GLfloat *u);
517 void glEvalCoord1f(GLfloat u);
518 void glEvalCoord1dv(const GLdouble *u);
519 void glEvalCoord1d(GLdouble u);
520 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
521 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
522 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
523 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
524 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
525 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
526 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
527 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
528 void glPushAttrib(GLbitfield mask);
529 void glPopAttrib();
530 void glAccum(GLenum op, GLfloat value);
531 void glIndexMask(GLuint mask);
532 void glClearIndex(GLfloat c);
533 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
534 void glPushName(GLuint name);
535 void glPopName();
536 void glPassThrough(GLfloat token);
537 void glLoadName(GLuint name);
538 void glInitNames();
539 GLint glRenderMode(GLenum mode);
540 void glSelectBuffer(GLsizei size, GLuint *buffer);
541 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
542 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
543 void glTexGeni(GLenum coord, GLenum pname, GLint param);
544 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
545 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
546 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
547 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
548 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
549 void glTexEnvi(GLenum target, GLenum pname, GLint param);
550 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
551 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
552 void glShadeModel(GLenum mode);
553 void glPolygonStipple(const GLubyte *mask);
554 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
555 void glMateriali(GLenum face, GLenum pname, GLint param);
556 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
557 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
558 void glLineStipple(GLint factor, GLushort pattern);
559 void glLightModeliv(GLenum pname, const GLint *params);
560 void glLightModeli(GLenum pname, GLint param);
561 void glLightModelfv(GLenum pname, const GLfloat *params);
562 void glLightModelf(GLenum pname, GLfloat param);
563 void glLightiv(GLenum light, GLenum pname, const GLint *params);
564 void glLighti(GLenum light, GLenum pname, GLint param);
565 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
566 void glLightf(GLenum light, GLenum pname, GLfloat param);
567 void glFogiv(GLenum pname, const GLint *params);
568 void glFogi(GLenum pname, GLint param);
569 void glFogfv(GLenum pname, const GLfloat *params);
570 void glFogf(GLenum pname, GLfloat param);
571 void glColorMaterial(GLenum face, GLenum mode);
572 void glClipPlane(GLenum plane, const GLdouble *equation);
573 void glVertex4sv(const GLshort *v);
574 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
575 void glVertex4iv(const GLint *v);
576 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
577 void glVertex4fv(const GLfloat *v);
578 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
579 void glVertex4dv(const GLdouble *v);
580 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
581 void glVertex3sv(const GLshort *v);
582 void glVertex3s(GLshort x, GLshort y, GLshort z);
583 void glVertex3iv(const GLint *v);
584 void glVertex3i(GLint x, GLint y, GLint z);
585 void glVertex3fv(const GLfloat *v);
586 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
587 void glVertex3dv(const GLdouble *v);
588 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
589 void glVertex2sv(const GLshort *v);
590 void glVertex2s(GLshort x, GLshort y);
591 void glVertex2iv(const GLint *v);
592 void glVertex2i(GLint x, GLint y);
593 void glVertex2fv(const GLfloat *v);
594 void glVertex2f(GLfloat x, GLfloat y);
595 void glVertex2dv(const GLdouble *v);
596 void glVertex2d(GLdouble x, GLdouble y);
597 void glTexCoord4sv(const GLshort *v);
598 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
599 void glTexCoord4iv(const GLint *v);
600 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
601 void glTexCoord4fv(const GLfloat *v);
602 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
603 void glTexCoord4dv(const GLdouble *v);
604 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
605 void glTexCoord3sv(const GLshort *v);
606 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
607 void glTexCoord3iv(const GLint *v);
608 void glTexCoord3i(GLint s, GLint t, GLint r);
609 void glTexCoord3fv(const GLfloat *v);
610 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
611 void glTexCoord3dv(const GLdouble *v);
612 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
613 void glTexCoord2sv(const GLshort *v);
614 void glTexCoord2s(GLshort s, GLshort t);
615 void glTexCoord2iv(const GLint *v);
616 void glTexCoord2i(GLint s, GLint t);
617 void glTexCoord2fv(const GLfloat *v);
618 void glTexCoord2f(GLfloat s, GLfloat t);
619 void glTexCoord2dv(const GLdouble *v);
620 void glTexCoord2d(GLdouble s, GLdouble t);
621 void glTexCoord1sv(const GLshort *v);
622 void glTexCoord1s(GLshort s);
623 void glTexCoord1iv(const GLint *v);
624 void glTexCoord1i(GLint s);
625 void glTexCoord1fv(const GLfloat *v);
626 void glTexCoord1f(GLfloat s);
627 void glTexCoord1dv(const GLdouble *v);
628 void glTexCoord1d(GLdouble s);
629 void glRectsv(const GLshort *v1, const GLshort *v2);
630 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
631 void glRectiv(const GLint *v1, const GLint *v2);
632 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
633 void glRectfv(const GLfloat *v1, const GLfloat *v2);
634 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
635 void glRectdv(const GLdouble *v1, const GLdouble *v2);
636 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
637 void glRasterPos4sv(const GLshort *v);
638 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
639 void glRasterPos4iv(const GLint *v);
640 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
641 void glRasterPos4fv(const GLfloat *v);
642 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
643 void glRasterPos4dv(const GLdouble *v);
644 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
645 void glRasterPos3sv(const GLshort *v);
646 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
647 void glRasterPos3iv(const GLint *v);
648 void glRasterPos3i(GLint x, GLint y, GLint z);
649 void glRasterPos3fv(const GLfloat *v);
650 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
651 void glRasterPos3dv(const GLdouble *v);
652 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
653 void glRasterPos2sv(const GLshort *v);
654 void glRasterPos2s(GLshort x, GLshort y);
655 void glRasterPos2iv(const GLint *v);
656 void glRasterPos2i(GLint x, GLint y);
657 void glRasterPos2fv(const GLfloat *v);
658 void glRasterPos2f(GLfloat x, GLfloat y);
659 void glRasterPos2dv(const GLdouble *v);
660 void glRasterPos2d(GLdouble x, GLdouble y);
661 void glNormal3sv(const GLshort *v);
662 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
663 void glNormal3iv(const GLint *v);
664 void glNormal3i(GLint nx, GLint ny, GLint nz);
665 void glNormal3fv(const GLfloat *v);
666 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
667 void glNormal3dv(const GLdouble *v);
668 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
669 void glNormal3bv(const GLbyte *v);
670 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
671 void glIndexsv(const GLshort *c);
672 void glIndexs(GLshort c);
673 void glIndexiv(const GLint *c);
674 void glIndexi(GLint c);
675 void glIndexfv(const GLfloat *c);
676 void glIndexf(GLfloat c);
677 void glIndexdv(const GLdouble *c);
678 void glIndexd(GLdouble c);
679 void glEnd();
680 void glEdgeFlagv(const GLboolean *flag);
681 void glEdgeFlag(GLboolean flag);
682 void glColor4usv(const GLushort *v);
683 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
684 void glColor4uiv(const GLuint *v);
685 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
686 void glColor4ubv(const GLubyte *v);
687 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
688 void glColor4sv(const GLshort *v);
689 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
690 void glColor4iv(const GLint *v);
691 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
692 void glColor4fv(const GLfloat *v);
693 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
694 void glColor4dv(const GLdouble *v);
695 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
696 void glColor4bv(const GLbyte *v);
697 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
698 void glColor3usv(const GLushort *v);
699 void glColor3us(GLushort red, GLushort green, GLushort blue);
700 void glColor3uiv(const GLuint *v);
701 void glColor3ui(GLuint red, GLuint green, GLuint blue);
702 void glColor3ubv(const GLubyte *v);
703 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
704 void glColor3sv(const GLshort *v);
705 void glColor3s(GLshort red, GLshort green, GLshort blue);
706 void glColor3iv(const GLint *v);
707 void glColor3i(GLint red, GLint green, GLint blue);
708 void glColor3fv(const GLfloat *v);
709 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
710 void glColor3dv(const GLdouble *v);
711 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
712 void glColor3bv(const GLbyte *v);
713 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
714 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
715 void glBegin(GLenum mode);
716 void glListBase(GLuint base);
717 GLuint glGenLists(GLsizei range);
718 void glDeleteLists(GLuint list, GLsizei range);
719 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
720 void glCallList(GLuint list);
721 void glEndList();
722 void glNewList(GLuint list, GLenum mode);
723
724 // OpenGL 1.1 deprecated functions
725 void glPushClientAttrib(GLbitfield mask);
726 void glPopClientAttrib();
727 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
728 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
729 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
730 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
731 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
732 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
733 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
734 void glEnableClientState(GLenum array);
735 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
736 void glDisableClientState(GLenum array);
737 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
738 void glArrayElement(GLint i);
739
740 // OpenGL 1.2 deprecated functions
741 void glResetMinmax(GLenum target);
742 void glResetHistogram(GLenum target);
743 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
744 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
745 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
746 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
747 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
748 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
749 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
750 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
751 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
752 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
753 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
754 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
755 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
756 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
757 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
758 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
759 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
760 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
761 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
762 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
763 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
764 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
765 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
766 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
767 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
768 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
769 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
770 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
771 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
772 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
773
774 // OpenGL 1.3 deprecated functions
775 void glMultTransposeMatrixd(const GLdouble *m);
776 void glMultTransposeMatrixf(const GLfloat *m);
777 void glLoadTransposeMatrixd(const GLdouble *m);
778 void glLoadTransposeMatrixf(const GLfloat *m);
779 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
780 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
781 void glMultiTexCoord4iv(GLenum target, const GLint *v);
782 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
783 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
784 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
785 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
786 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
787 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
788 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
789 void glMultiTexCoord3iv(GLenum target, const GLint *v);
790 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
791 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
792 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
793 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
794 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
795 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
796 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
797 void glMultiTexCoord2iv(GLenum target, const GLint *v);
798 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
799 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
800 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
801 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
802 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
803 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
804 void glMultiTexCoord1s(GLenum target, GLshort s);
805 void glMultiTexCoord1iv(GLenum target, const GLint *v);
806 void glMultiTexCoord1i(GLenum target, GLint s);
807 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
808 void glMultiTexCoord1f(GLenum target, GLfloat s);
809 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
810 void glMultiTexCoord1d(GLenum target, GLdouble s);
811 void glClientActiveTexture(GLenum texture);
812
813 // OpenGL 1.4 deprecated functions
814 void glWindowPos3sv(const GLshort *v);
815 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
816 void glWindowPos3iv(const GLint *v);
817 void glWindowPos3i(GLint x, GLint y, GLint z);
818 void glWindowPos3fv(const GLfloat *v);
819 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
820 void glWindowPos3dv(const GLdouble *v);
821 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
822 void glWindowPos2sv(const GLshort *v);
823 void glWindowPos2s(GLshort x, GLshort y);
824 void glWindowPos2iv(const GLint *v);
825 void glWindowPos2i(GLint x, GLint y);
826 void glWindowPos2fv(const GLfloat *v);
827 void glWindowPos2f(GLfloat x, GLfloat y);
828 void glWindowPos2dv(const GLdouble *v);
829 void glWindowPos2d(GLdouble x, GLdouble y);
830 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
831 void glSecondaryColor3usv(const GLushort *v);
832 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
833 void glSecondaryColor3uiv(const GLuint *v);
834 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
835 void glSecondaryColor3ubv(const GLubyte *v);
836 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
837 void glSecondaryColor3sv(const GLshort *v);
838 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
839 void glSecondaryColor3iv(const GLint *v);
840 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
841 void glSecondaryColor3fv(const GLfloat *v);
842 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
843 void glSecondaryColor3dv(const GLdouble *v);
844 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
845 void glSecondaryColor3bv(const GLbyte *v);
846 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
847 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
848 void glFogCoorddv(const GLdouble *coord);
849 void glFogCoordd(GLdouble coord);
850 void glFogCoordfv(const GLfloat *coord);
851 void glFogCoordf(GLfloat coord);
852
853 // OpenGL 1.5 deprecated functions
854
855 // OpenGL 2.0 deprecated functions
856 void glVertexAttrib4usv(GLuint index, const GLushort *v);
857 void glVertexAttrib4uiv(GLuint index, const GLuint *v);
858 void glVertexAttrib4ubv(GLuint index, const GLubyte *v);
859 void glVertexAttrib4sv(GLuint index, const GLshort *v);
860 void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
861 void glVertexAttrib4iv(GLuint index, const GLint *v);
862 void glVertexAttrib4fv(GLuint index, const GLfloat *v);
863 void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
864 void glVertexAttrib4dv(GLuint index, const GLdouble *v);
865 void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
866 void glVertexAttrib4bv(GLuint index, const GLbyte *v);
867 void glVertexAttrib4Nusv(GLuint index, const GLushort *v);
868 void glVertexAttrib4Nuiv(GLuint index, const GLuint *v);
869 void glVertexAttrib4Nubv(GLuint index, const GLubyte *v);
870 void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
871 void glVertexAttrib4Nsv(GLuint index, const GLshort *v);
872 void glVertexAttrib4Niv(GLuint index, const GLint *v);
873 void glVertexAttrib4Nbv(GLuint index, const GLbyte *v);
874 void glVertexAttrib3sv(GLuint index, const GLshort *v);
875 void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
876 void glVertexAttrib3fv(GLuint index, const GLfloat *v);
877 void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z);
878 void glVertexAttrib3dv(GLuint index, const GLdouble *v);
879 void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
880 void glVertexAttrib2sv(GLuint index, const GLshort *v);
881 void glVertexAttrib2s(GLuint index, GLshort x, GLshort y);
882 void glVertexAttrib2fv(GLuint index, const GLfloat *v);
883 void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y);
884 void glVertexAttrib2dv(GLuint index, const GLdouble *v);
885 void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
886 void glVertexAttrib1sv(GLuint index, const GLshort *v);
887 void glVertexAttrib1s(GLuint index, GLshort x);
888 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
889 void glVertexAttrib1f(GLuint index, GLfloat x);
890 void glVertexAttrib1dv(GLuint index, const GLdouble *v);
891 void glVertexAttrib1d(GLuint index, GLdouble x);
892
893 // OpenGL 2.1 deprecated functions
894
895 // OpenGL 3.0 deprecated functions
896 void glVertexAttribI4usv(GLuint index, const GLushort *v);
897 void glVertexAttribI4ubv(GLuint index, const GLubyte *v);
898 void glVertexAttribI4sv(GLuint index, const GLshort *v);
899 void glVertexAttribI4bv(GLuint index, const GLbyte *v);
900 void glVertexAttribI4uiv(GLuint index, const GLuint *v);
901 void glVertexAttribI3uiv(GLuint index, const GLuint *v);
902 void glVertexAttribI2uiv(GLuint index, const GLuint *v);
903 void glVertexAttribI1uiv(GLuint index, const GLuint *v);
904 void glVertexAttribI4iv(GLuint index, const GLint *v);
905 void glVertexAttribI3iv(GLuint index, const GLint *v);
906 void glVertexAttribI2iv(GLuint index, const GLint *v);
907 void glVertexAttribI1iv(GLuint index, const GLint *v);
908 void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
909 void glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z);
910 void glVertexAttribI2ui(GLuint index, GLuint x, GLuint y);
911 void glVertexAttribI1ui(GLuint index, GLuint x);
912 void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
913 void glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z);
914 void glVertexAttribI2i(GLuint index, GLint x, GLint y);
915 void glVertexAttribI1i(GLuint index, GLint x);
916
917 // OpenGL 3.1 deprecated functions
918
919 // OpenGL 3.2 deprecated functions
920
921 // OpenGL 3.3 deprecated functions
922
923 // OpenGL 4.0 deprecated functions
924
925private:
926 friend class QOpenGLVersionFunctionsFactory;
927
928 static bool isContextCompatible(QOpenGLContext *context);
929 static QOpenGLVersionProfile versionProfile();
930
931 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
932 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
933 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
934 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
935 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
936 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
937 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
938 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
939 QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core;
940 QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core;
941 QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core;
942 QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core;
943 QOpenGLFunctions_4_0_CoreBackend* d_4_0_Core;
944 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
945 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
946 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
947 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
948 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
949 void *m_reserved_2_0_Deprecated; // To maintain BC
950 QOpenGLFunctions_3_3_DeprecatedBackend* d_3_3_Deprecated;
951};
952
953// OpenGL 1.0 core functions
954inline void QOpenGLFunctions_4_0_Compatibility::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
955{
956 d_1_0_Core->f.Viewport(x, y, width, height);
957}
958
959inline void QOpenGLFunctions_4_0_Compatibility::glDepthRange(GLdouble nearVal, GLdouble farVal)
960{
961 d_1_0_Core->f.DepthRange(nearVal, farVal);
962}
963
964inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsEnabled(GLenum cap)
965{
966 return d_1_0_Core->f.IsEnabled(cap);
967}
968
969inline void QOpenGLFunctions_4_0_Compatibility::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
970{
971 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
972}
973
974inline void QOpenGLFunctions_4_0_Compatibility::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
975{
976 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
977}
978
979inline void QOpenGLFunctions_4_0_Compatibility::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
980{
981 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
982}
983
984inline void QOpenGLFunctions_4_0_Compatibility::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
985{
986 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
987}
988
989inline void QOpenGLFunctions_4_0_Compatibility::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
990{
991 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
992}
993
994inline const GLubyte * QOpenGLFunctions_4_0_Compatibility::glGetString(GLenum name)
995{
996 return d_1_0_Core->f.GetString(name);
997}
998
999inline void QOpenGLFunctions_4_0_Compatibility::glGetIntegerv(GLenum pname, GLint *params)
1000{
1001 d_1_0_Core->f.GetIntegerv(pname, params);
1002}
1003
1004inline void QOpenGLFunctions_4_0_Compatibility::glGetFloatv(GLenum pname, GLfloat *params)
1005{
1006 d_1_0_Core->f.GetFloatv(pname, params);
1007}
1008
1009inline GLenum QOpenGLFunctions_4_0_Compatibility::glGetError()
1010{
1011 return d_1_0_Core->f.GetError();
1012}
1013
1014inline void QOpenGLFunctions_4_0_Compatibility::glGetDoublev(GLenum pname, GLdouble *params)
1015{
1016 d_1_0_Core->f.GetDoublev(pname, params);
1017}
1018
1019inline void QOpenGLFunctions_4_0_Compatibility::glGetBooleanv(GLenum pname, GLboolean *params)
1020{
1021 d_1_0_Core->f.GetBooleanv(pname, params);
1022}
1023
1024inline void QOpenGLFunctions_4_0_Compatibility::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
1025{
1026 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
1027}
1028
1029inline void QOpenGLFunctions_4_0_Compatibility::glReadBuffer(GLenum mode)
1030{
1031 d_1_0_Core->f.ReadBuffer(mode);
1032}
1033
1034inline void QOpenGLFunctions_4_0_Compatibility::glPixelStorei(GLenum pname, GLint param)
1035{
1036 d_1_0_Core->f.PixelStorei(pname, param);
1037}
1038
1039inline void QOpenGLFunctions_4_0_Compatibility::glPixelStoref(GLenum pname, GLfloat param)
1040{
1041 d_1_0_Core->f.PixelStoref(pname, param);
1042}
1043
1044inline void QOpenGLFunctions_4_0_Compatibility::glDepthFunc(GLenum func)
1045{
1046 d_1_0_Core->f.DepthFunc(func);
1047}
1048
1049inline void QOpenGLFunctions_4_0_Compatibility::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
1050{
1051 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
1052}
1053
1054inline void QOpenGLFunctions_4_0_Compatibility::glStencilFunc(GLenum func, GLint ref, GLuint mask)
1055{
1056 d_1_0_Core->f.StencilFunc(func, ref, mask);
1057}
1058
1059inline void QOpenGLFunctions_4_0_Compatibility::glLogicOp(GLenum opcode)
1060{
1061 d_1_0_Core->f.LogicOp(opcode);
1062}
1063
1064inline void QOpenGLFunctions_4_0_Compatibility::glBlendFunc(GLenum sfactor, GLenum dfactor)
1065{
1066 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
1067}
1068
1069inline void QOpenGLFunctions_4_0_Compatibility::glFlush()
1070{
1071 d_1_0_Core->f.Flush();
1072}
1073
1074inline void QOpenGLFunctions_4_0_Compatibility::glFinish()
1075{
1076 d_1_0_Core->f.Finish();
1077}
1078
1079inline void QOpenGLFunctions_4_0_Compatibility::glEnable(GLenum cap)
1080{
1081 d_1_0_Core->f.Enable(cap);
1082}
1083
1084inline void QOpenGLFunctions_4_0_Compatibility::glDisable(GLenum cap)
1085{
1086 d_1_0_Core->f.Disable(cap);
1087}
1088
1089inline void QOpenGLFunctions_4_0_Compatibility::glDepthMask(GLboolean flag)
1090{
1091 d_1_0_Core->f.DepthMask(flag);
1092}
1093
1094inline void QOpenGLFunctions_4_0_Compatibility::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
1095{
1096 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
1097}
1098
1099inline void QOpenGLFunctions_4_0_Compatibility::glStencilMask(GLuint mask)
1100{
1101 d_1_0_Core->f.StencilMask(mask);
1102}
1103
1104inline void QOpenGLFunctions_4_0_Compatibility::glClearDepth(GLdouble depth)
1105{
1106 d_1_0_Core->f.ClearDepth(depth);
1107}
1108
1109inline void QOpenGLFunctions_4_0_Compatibility::glClearStencil(GLint s)
1110{
1111 d_1_0_Core->f.ClearStencil(s);
1112}
1113
1114inline void QOpenGLFunctions_4_0_Compatibility::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1115{
1116 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
1117}
1118
1119inline void QOpenGLFunctions_4_0_Compatibility::glClear(GLbitfield mask)
1120{
1121 d_1_0_Core->f.Clear(mask);
1122}
1123
1124inline void QOpenGLFunctions_4_0_Compatibility::glDrawBuffer(GLenum mode)
1125{
1126 d_1_0_Core->f.DrawBuffer(mode);
1127}
1128
1129inline void QOpenGLFunctions_4_0_Compatibility::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1130{
1131 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
1132}
1133
1134inline void QOpenGLFunctions_4_0_Compatibility::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1135{
1136 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
1137}
1138
1139inline void QOpenGLFunctions_4_0_Compatibility::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
1140{
1141 d_1_0_Core->f.TexParameteriv(target, pname, params);
1142}
1143
1144inline void QOpenGLFunctions_4_0_Compatibility::glTexParameteri(GLenum target, GLenum pname, GLint param)
1145{
1146 d_1_0_Core->f.TexParameteri(target, pname, param);
1147}
1148
1149inline void QOpenGLFunctions_4_0_Compatibility::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1150{
1151 d_1_0_Core->f.TexParameterfv(target, pname, params);
1152}
1153
1154inline void QOpenGLFunctions_4_0_Compatibility::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
1155{
1156 d_1_0_Core->f.TexParameterf(target, pname, param);
1157}
1158
1159inline void QOpenGLFunctions_4_0_Compatibility::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
1160{
1161 d_1_0_Core->f.Scissor(x, y, width, height);
1162}
1163
1164inline void QOpenGLFunctions_4_0_Compatibility::glPolygonMode(GLenum face, GLenum mode)
1165{
1166 d_1_0_Core->f.PolygonMode(face, mode);
1167}
1168
1169inline void QOpenGLFunctions_4_0_Compatibility::glPointSize(GLfloat size)
1170{
1171 d_1_0_Core->f.PointSize(size);
1172}
1173
1174inline void QOpenGLFunctions_4_0_Compatibility::glLineWidth(GLfloat width)
1175{
1176 d_1_0_Core->f.LineWidth(width);
1177}
1178
1179inline void QOpenGLFunctions_4_0_Compatibility::glHint(GLenum target, GLenum mode)
1180{
1181 d_1_0_Core->f.Hint(target, mode);
1182}
1183
1184inline void QOpenGLFunctions_4_0_Compatibility::glFrontFace(GLenum mode)
1185{
1186 d_1_0_Core->f.FrontFace(mode);
1187}
1188
1189inline void QOpenGLFunctions_4_0_Compatibility::glCullFace(GLenum mode)
1190{
1191 d_1_0_Core->f.CullFace(mode);
1192}
1193
1194
1195// OpenGL 1.1 core functions
1196inline void QOpenGLFunctions_4_0_Compatibility::glIndexubv(const GLubyte *c)
1197{
1198 d_1_1_Deprecated->f.Indexubv(c);
1199}
1200
1201inline void QOpenGLFunctions_4_0_Compatibility::glIndexub(GLubyte c)
1202{
1203 d_1_1_Deprecated->f.Indexub(c);
1204}
1205
1206inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsTexture(GLuint texture)
1207{
1208 return d_1_1_Core->f.IsTexture(texture);
1209}
1210
1211inline void QOpenGLFunctions_4_0_Compatibility::glGenTextures(GLsizei n, GLuint *textures)
1212{
1213 d_1_1_Core->f.GenTextures(n, textures);
1214}
1215
1216inline void QOpenGLFunctions_4_0_Compatibility::glDeleteTextures(GLsizei n, const GLuint *textures)
1217{
1218 d_1_1_Core->f.DeleteTextures(n, textures);
1219}
1220
1221inline void QOpenGLFunctions_4_0_Compatibility::glBindTexture(GLenum target, GLuint texture)
1222{
1223 d_1_1_Core->f.BindTexture(target, texture);
1224}
1225
1226inline void QOpenGLFunctions_4_0_Compatibility::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
1227{
1228 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
1229}
1230
1231inline void QOpenGLFunctions_4_0_Compatibility::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
1232{
1233 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
1234}
1235
1236inline void QOpenGLFunctions_4_0_Compatibility::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1237{
1238 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
1239}
1240
1241inline void QOpenGLFunctions_4_0_Compatibility::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
1242{
1243 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
1244}
1245
1246inline void QOpenGLFunctions_4_0_Compatibility::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
1247{
1248 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
1249}
1250
1251inline void QOpenGLFunctions_4_0_Compatibility::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
1252{
1253 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
1254}
1255
1256inline void QOpenGLFunctions_4_0_Compatibility::glPolygonOffset(GLfloat factor, GLfloat units)
1257{
1258 d_1_1_Core->f.PolygonOffset(factor, units);
1259}
1260
1261inline void QOpenGLFunctions_4_0_Compatibility::glGetPointerv(GLenum pname, GLvoid* *params)
1262{
1263 d_1_1_Deprecated->f.GetPointerv(pname, params);
1264}
1265
1266inline void QOpenGLFunctions_4_0_Compatibility::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
1267{
1268 d_1_1_Core->f.DrawElements(mode, count, type, indices);
1269}
1270
1271inline void QOpenGLFunctions_4_0_Compatibility::glDrawArrays(GLenum mode, GLint first, GLsizei count)
1272{
1273 d_1_1_Core->f.DrawArrays(mode, first, count);
1274}
1275
1276
1277// OpenGL 1.2 core functions
1278inline void QOpenGLFunctions_4_0_Compatibility::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
1279{
1280 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
1281}
1282
1283inline void QOpenGLFunctions_4_0_Compatibility::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
1284{
1285 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
1286}
1287
1288inline void QOpenGLFunctions_4_0_Compatibility::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1289{
1290 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
1291}
1292
1293inline void QOpenGLFunctions_4_0_Compatibility::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
1294{
1295 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
1296}
1297
1298inline void QOpenGLFunctions_4_0_Compatibility::glBlendEquation(GLenum mode)
1299{
1300 d_1_2_Core->f.BlendEquation(mode);
1301}
1302
1303inline void QOpenGLFunctions_4_0_Compatibility::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1304{
1305 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
1306}
1307
1308
1309// OpenGL 1.3 core functions
1310inline void QOpenGLFunctions_4_0_Compatibility::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
1311{
1312 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
1313}
1314
1315inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
1316{
1317 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
1318}
1319
1320inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
1321{
1322 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
1323}
1324
1325inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
1326{
1327 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
1328}
1329
1330inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
1331{
1332 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
1333}
1334
1335inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
1336{
1337 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
1338}
1339
1340inline void QOpenGLFunctions_4_0_Compatibility::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
1341{
1342 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
1343}
1344
1345inline void QOpenGLFunctions_4_0_Compatibility::glSampleCoverage(GLfloat value, GLboolean invert)
1346{
1347 d_1_3_Core->f.SampleCoverage(value, invert);
1348}
1349
1350inline void QOpenGLFunctions_4_0_Compatibility::glActiveTexture(GLenum texture)
1351{
1352 d_1_3_Core->f.ActiveTexture(texture);
1353}
1354
1355
1356// OpenGL 1.4 core functions
1357inline void QOpenGLFunctions_4_0_Compatibility::glPointParameteriv(GLenum pname, const GLint *params)
1358{
1359 d_1_4_Core->f.PointParameteriv(pname, params);
1360}
1361
1362inline void QOpenGLFunctions_4_0_Compatibility::glPointParameteri(GLenum pname, GLint param)
1363{
1364 d_1_4_Core->f.PointParameteri(pname, param);
1365}
1366
1367inline void QOpenGLFunctions_4_0_Compatibility::glPointParameterfv(GLenum pname, const GLfloat *params)
1368{
1369 d_1_4_Core->f.PointParameterfv(pname, params);
1370}
1371
1372inline void QOpenGLFunctions_4_0_Compatibility::glPointParameterf(GLenum pname, GLfloat param)
1373{
1374 d_1_4_Core->f.PointParameterf(pname, param);
1375}
1376
1377inline void QOpenGLFunctions_4_0_Compatibility::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
1378{
1379 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1380}
1381
1382inline void QOpenGLFunctions_4_0_Compatibility::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1383{
1384 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1385}
1386
1387inline void QOpenGLFunctions_4_0_Compatibility::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1388{
1389 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1390}
1391
1392
1393// OpenGL 1.5 core functions
1394inline void QOpenGLFunctions_4_0_Compatibility::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
1395{
1396 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
1397}
1398
1399inline void QOpenGLFunctions_4_0_Compatibility::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
1400{
1401 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
1402}
1403
1404inline GLboolean QOpenGLFunctions_4_0_Compatibility::glUnmapBuffer(GLenum target)
1405{
1406 return d_1_5_Core->f.UnmapBuffer(target);
1407}
1408
1409inline GLvoid* QOpenGLFunctions_4_0_Compatibility::glMapBuffer(GLenum target, GLenum access)
1410{
1411 return d_1_5_Core->f.MapBuffer(target, access);
1412}
1413
1414inline void QOpenGLFunctions_4_0_Compatibility::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
1415{
1416 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
1417}
1418
1419inline void QOpenGLFunctions_4_0_Compatibility::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
1420{
1421 d_1_5_Core->f.BufferSubData(target, offset, size, data);
1422}
1423
1424inline void QOpenGLFunctions_4_0_Compatibility::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1425{
1426 d_1_5_Core->f.BufferData(target, size, data, usage);
1427}
1428
1429inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsBuffer(GLuint buffer)
1430{
1431 return d_1_5_Core->f.IsBuffer(buffer);
1432}
1433
1434inline void QOpenGLFunctions_4_0_Compatibility::glGenBuffers(GLsizei n, GLuint *buffers)
1435{
1436 d_1_5_Core->f.GenBuffers(n, buffers);
1437}
1438
1439inline void QOpenGLFunctions_4_0_Compatibility::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1440{
1441 d_1_5_Core->f.DeleteBuffers(n, buffers);
1442}
1443
1444inline void QOpenGLFunctions_4_0_Compatibility::glBindBuffer(GLenum target, GLuint buffer)
1445{
1446 d_1_5_Core->f.BindBuffer(target, buffer);
1447}
1448
1449inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1450{
1451 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1452}
1453
1454inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1455{
1456 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1457}
1458
1459inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1460{
1461 d_1_5_Core->f.GetQueryiv(target, pname, params);
1462}
1463
1464inline void QOpenGLFunctions_4_0_Compatibility::glEndQuery(GLenum target)
1465{
1466 d_1_5_Core->f.EndQuery(target);
1467}
1468
1469inline void QOpenGLFunctions_4_0_Compatibility::glBeginQuery(GLenum target, GLuint id)
1470{
1471 d_1_5_Core->f.BeginQuery(target, id);
1472}
1473
1474inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsQuery(GLuint id)
1475{
1476 return d_1_5_Core->f.IsQuery(id);
1477}
1478
1479inline void QOpenGLFunctions_4_0_Compatibility::glDeleteQueries(GLsizei n, const GLuint *ids)
1480{
1481 d_1_5_Core->f.DeleteQueries(n, ids);
1482}
1483
1484inline void QOpenGLFunctions_4_0_Compatibility::glGenQueries(GLsizei n, GLuint *ids)
1485{
1486 d_1_5_Core->f.GenQueries(n, ids);
1487}
1488
1489
1490// OpenGL 2.0 core functions
1491inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1492{
1493 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1494}
1495
1496inline void QOpenGLFunctions_4_0_Compatibility::glValidateProgram(GLuint program)
1497{
1498 d_2_0_Core->f.ValidateProgram(program);
1499}
1500
1501inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1502{
1503 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1504}
1505
1506inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1507{
1508 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1509}
1510
1511inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1512{
1513 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1514}
1515
1516inline void QOpenGLFunctions_4_0_Compatibility::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1517{
1518 d_2_0_Core->f.Uniform4iv(location, count, value);
1519}
1520
1521inline void QOpenGLFunctions_4_0_Compatibility::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1522{
1523 d_2_0_Core->f.Uniform3iv(location, count, value);
1524}
1525
1526inline void QOpenGLFunctions_4_0_Compatibility::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1527{
1528 d_2_0_Core->f.Uniform2iv(location, count, value);
1529}
1530
1531inline void QOpenGLFunctions_4_0_Compatibility::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1532{
1533 d_2_0_Core->f.Uniform1iv(location, count, value);
1534}
1535
1536inline void QOpenGLFunctions_4_0_Compatibility::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1537{
1538 d_2_0_Core->f.Uniform4fv(location, count, value);
1539}
1540
1541inline void QOpenGLFunctions_4_0_Compatibility::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1542{
1543 d_2_0_Core->f.Uniform3fv(location, count, value);
1544}
1545
1546inline void QOpenGLFunctions_4_0_Compatibility::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1547{
1548 d_2_0_Core->f.Uniform2fv(location, count, value);
1549}
1550
1551inline void QOpenGLFunctions_4_0_Compatibility::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1552{
1553 d_2_0_Core->f.Uniform1fv(location, count, value);
1554}
1555
1556inline void QOpenGLFunctions_4_0_Compatibility::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1557{
1558 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1559}
1560
1561inline void QOpenGLFunctions_4_0_Compatibility::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1562{
1563 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1564}
1565
1566inline void QOpenGLFunctions_4_0_Compatibility::glUniform2i(GLint location, GLint v0, GLint v1)
1567{
1568 d_2_0_Core->f.Uniform2i(location, v0, v1);
1569}
1570
1571inline void QOpenGLFunctions_4_0_Compatibility::glUniform1i(GLint location, GLint v0)
1572{
1573 d_2_0_Core->f.Uniform1i(location, v0);
1574}
1575
1576inline void QOpenGLFunctions_4_0_Compatibility::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1577{
1578 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1579}
1580
1581inline void QOpenGLFunctions_4_0_Compatibility::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1582{
1583 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1584}
1585
1586inline void QOpenGLFunctions_4_0_Compatibility::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1587{
1588 d_2_0_Core->f.Uniform2f(location, v0, v1);
1589}
1590
1591inline void QOpenGLFunctions_4_0_Compatibility::glUniform1f(GLint location, GLfloat v0)
1592{
1593 d_2_0_Core->f.Uniform1f(location, v0);
1594}
1595
1596inline void QOpenGLFunctions_4_0_Compatibility::glUseProgram(GLuint program)
1597{
1598 d_2_0_Core->f.UseProgram(program);
1599}
1600
1601inline void QOpenGLFunctions_4_0_Compatibility::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1602{
1603 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1604}
1605
1606inline void QOpenGLFunctions_4_0_Compatibility::glLinkProgram(GLuint program)
1607{
1608 d_2_0_Core->f.LinkProgram(program);
1609}
1610
1611inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsShader(GLuint shader)
1612{
1613 return d_2_0_Core->f.IsShader(shader);
1614}
1615
1616inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsProgram(GLuint program)
1617{
1618 return d_2_0_Core->f.IsProgram(program);
1619}
1620
1621inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1622{
1623 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1624}
1625
1626inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1627{
1628 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1629}
1630
1631inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1632{
1633 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1634}
1635
1636inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1637{
1638 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1639}
1640
1641inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformiv(GLuint program, GLint location, GLint *params)
1642{
1643 d_2_0_Core->f.GetUniformiv(program, location, params);
1644}
1645
1646inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1647{
1648 d_2_0_Core->f.GetUniformfv(program, location, params);
1649}
1650
1651inline GLint QOpenGLFunctions_4_0_Compatibility::glGetUniformLocation(GLuint program, const GLchar *name)
1652{
1653 return d_2_0_Core->f.GetUniformLocation(program, name);
1654}
1655
1656inline void QOpenGLFunctions_4_0_Compatibility::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1657{
1658 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1659}
1660
1661inline void QOpenGLFunctions_4_0_Compatibility::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1662{
1663 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1664}
1665
1666inline void QOpenGLFunctions_4_0_Compatibility::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1667{
1668 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1669}
1670
1671inline void QOpenGLFunctions_4_0_Compatibility::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1672{
1673 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1674}
1675
1676inline void QOpenGLFunctions_4_0_Compatibility::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1677{
1678 d_2_0_Core->f.GetProgramiv(program, pname, params);
1679}
1680
1681inline GLint QOpenGLFunctions_4_0_Compatibility::glGetAttribLocation(GLuint program, const GLchar *name)
1682{
1683 return d_2_0_Core->f.GetAttribLocation(program, name);
1684}
1685
1686inline void QOpenGLFunctions_4_0_Compatibility::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1687{
1688 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1689}
1690
1691inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1692{
1693 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1694}
1695
1696inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1697{
1698 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1699}
1700
1701inline void QOpenGLFunctions_4_0_Compatibility::glEnableVertexAttribArray(GLuint index)
1702{
1703 d_2_0_Core->f.EnableVertexAttribArray(index);
1704}
1705
1706inline void QOpenGLFunctions_4_0_Compatibility::glDisableVertexAttribArray(GLuint index)
1707{
1708 d_2_0_Core->f.DisableVertexAttribArray(index);
1709}
1710
1711inline void QOpenGLFunctions_4_0_Compatibility::glDetachShader(GLuint program, GLuint shader)
1712{
1713 d_2_0_Core->f.DetachShader(program, shader);
1714}
1715
1716inline void QOpenGLFunctions_4_0_Compatibility::glDeleteShader(GLuint shader)
1717{
1718 d_2_0_Core->f.DeleteShader(shader);
1719}
1720
1721inline void QOpenGLFunctions_4_0_Compatibility::glDeleteProgram(GLuint program)
1722{
1723 d_2_0_Core->f.DeleteProgram(program);
1724}
1725
1726inline GLuint QOpenGLFunctions_4_0_Compatibility::glCreateShader(GLenum type)
1727{
1728 return d_2_0_Core->f.CreateShader(type);
1729}
1730
1731inline GLuint QOpenGLFunctions_4_0_Compatibility::glCreateProgram()
1732{
1733 return d_2_0_Core->f.CreateProgram();
1734}
1735
1736inline void QOpenGLFunctions_4_0_Compatibility::glCompileShader(GLuint shader)
1737{
1738 d_2_0_Core->f.CompileShader(shader);
1739}
1740
1741inline void QOpenGLFunctions_4_0_Compatibility::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1742{
1743 d_2_0_Core->f.BindAttribLocation(program, index, name);
1744}
1745
1746inline void QOpenGLFunctions_4_0_Compatibility::glAttachShader(GLuint program, GLuint shader)
1747{
1748 d_2_0_Core->f.AttachShader(program, shader);
1749}
1750
1751inline void QOpenGLFunctions_4_0_Compatibility::glStencilMaskSeparate(GLenum face, GLuint mask)
1752{
1753 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1754}
1755
1756inline void QOpenGLFunctions_4_0_Compatibility::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1757{
1758 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1759}
1760
1761inline void QOpenGLFunctions_4_0_Compatibility::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1762{
1763 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1764}
1765
1766inline void QOpenGLFunctions_4_0_Compatibility::glDrawBuffers(GLsizei n, const GLenum *bufs)
1767{
1768 d_2_0_Core->f.DrawBuffers(n, bufs);
1769}
1770
1771inline void QOpenGLFunctions_4_0_Compatibility::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1772{
1773 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1774}
1775
1776
1777// OpenGL 2.1 core functions
1778inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1779{
1780 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1781}
1782
1783inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1784{
1785 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1786}
1787
1788inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1789{
1790 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1791}
1792
1793inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1794{
1795 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1796}
1797
1798inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1799{
1800 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1801}
1802
1803inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1804{
1805 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1806}
1807
1808
1809// OpenGL 3.0 core functions
1810inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsVertexArray(GLuint array)
1811{
1812 return d_3_0_Core->f.IsVertexArray(array);
1813}
1814
1815inline void QOpenGLFunctions_4_0_Compatibility::glGenVertexArrays(GLsizei n, GLuint *arrays)
1816{
1817 d_3_0_Core->f.GenVertexArrays(n, arrays);
1818}
1819
1820inline void QOpenGLFunctions_4_0_Compatibility::glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
1821{
1822 d_3_0_Core->f.DeleteVertexArrays(n, arrays);
1823}
1824
1825inline void QOpenGLFunctions_4_0_Compatibility::glBindVertexArray(GLuint array)
1826{
1827 d_3_0_Core->f.BindVertexArray(array);
1828}
1829
1830inline void QOpenGLFunctions_4_0_Compatibility::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
1831{
1832 d_3_0_Core->f.FlushMappedBufferRange(target, offset, length);
1833}
1834
1835inline GLvoid* QOpenGLFunctions_4_0_Compatibility::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
1836{
1837 return d_3_0_Core->f.MapBufferRange(target, offset, length, access);
1838}
1839
1840inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
1841{
1842 d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer);
1843}
1844
1845inline void QOpenGLFunctions_4_0_Compatibility::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
1846{
1847 d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height);
1848}
1849
1850inline void QOpenGLFunctions_4_0_Compatibility::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
1851{
1852 d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1853}
1854
1855inline void QOpenGLFunctions_4_0_Compatibility::glGenerateMipmap(GLenum target)
1856{
1857 d_3_0_Core->f.GenerateMipmap(target);
1858}
1859
1860inline void QOpenGLFunctions_4_0_Compatibility::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
1861{
1862 d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
1863}
1864
1865inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1866{
1867 d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1868}
1869
1870inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1871{
1872 d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
1873}
1874
1875inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1876{
1877 d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level);
1878}
1879
1880inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1881{
1882 d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level);
1883}
1884
1885inline GLenum QOpenGLFunctions_4_0_Compatibility::glCheckFramebufferStatus(GLenum target)
1886{
1887 return d_3_0_Core->f.CheckFramebufferStatus(target);
1888}
1889
1890inline void QOpenGLFunctions_4_0_Compatibility::glGenFramebuffers(GLsizei n, GLuint *framebuffers)
1891{
1892 d_3_0_Core->f.GenFramebuffers(n, framebuffers);
1893}
1894
1895inline void QOpenGLFunctions_4_0_Compatibility::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
1896{
1897 d_3_0_Core->f.DeleteFramebuffers(n, framebuffers);
1898}
1899
1900inline void QOpenGLFunctions_4_0_Compatibility::glBindFramebuffer(GLenum target, GLuint framebuffer)
1901{
1902 d_3_0_Core->f.BindFramebuffer(target, framebuffer);
1903}
1904
1905inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsFramebuffer(GLuint framebuffer)
1906{
1907 return d_3_0_Core->f.IsFramebuffer(framebuffer);
1908}
1909
1910inline void QOpenGLFunctions_4_0_Compatibility::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
1911{
1912 d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params);
1913}
1914
1915inline void QOpenGLFunctions_4_0_Compatibility::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
1916{
1917 d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height);
1918}
1919
1920inline void QOpenGLFunctions_4_0_Compatibility::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
1921{
1922 d_3_0_Core->f.GenRenderbuffers(n, renderbuffers);
1923}
1924
1925inline void QOpenGLFunctions_4_0_Compatibility::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
1926{
1927 d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers);
1928}
1929
1930inline void QOpenGLFunctions_4_0_Compatibility::glBindRenderbuffer(GLenum target, GLuint renderbuffer)
1931{
1932 d_3_0_Core->f.BindRenderbuffer(target, renderbuffer);
1933}
1934
1935inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsRenderbuffer(GLuint renderbuffer)
1936{
1937 return d_3_0_Core->f.IsRenderbuffer(renderbuffer);
1938}
1939
1940inline const GLubyte * QOpenGLFunctions_4_0_Compatibility::glGetStringi(GLenum name, GLuint index)
1941{
1942 return d_3_0_Core->f.GetStringi(name, index);
1943}
1944
1945inline void QOpenGLFunctions_4_0_Compatibility::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
1946{
1947 d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil);
1948}
1949
1950inline void QOpenGLFunctions_4_0_Compatibility::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
1951{
1952 d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value);
1953}
1954
1955inline void QOpenGLFunctions_4_0_Compatibility::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
1956{
1957 d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value);
1958}
1959
1960inline void QOpenGLFunctions_4_0_Compatibility::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
1961{
1962 d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value);
1963}
1964
1965inline void QOpenGLFunctions_4_0_Compatibility::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
1966{
1967 d_3_0_Core->f.GetTexParameterIuiv(target, pname, params);
1968}
1969
1970inline void QOpenGLFunctions_4_0_Compatibility::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
1971{
1972 d_3_0_Core->f.GetTexParameterIiv(target, pname, params);
1973}
1974
1975inline void QOpenGLFunctions_4_0_Compatibility::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
1976{
1977 d_3_0_Core->f.TexParameterIuiv(target, pname, params);
1978}
1979
1980inline void QOpenGLFunctions_4_0_Compatibility::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
1981{
1982 d_3_0_Core->f.TexParameterIiv(target, pname, params);
1983}
1984
1985inline void QOpenGLFunctions_4_0_Compatibility::glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
1986{
1987 d_3_0_Core->f.Uniform4uiv(location, count, value);
1988}
1989
1990inline void QOpenGLFunctions_4_0_Compatibility::glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
1991{
1992 d_3_0_Core->f.Uniform3uiv(location, count, value);
1993}
1994
1995inline void QOpenGLFunctions_4_0_Compatibility::glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
1996{
1997 d_3_0_Core->f.Uniform2uiv(location, count, value);
1998}
1999
2000inline void QOpenGLFunctions_4_0_Compatibility::glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
2001{
2002 d_3_0_Core->f.Uniform1uiv(location, count, value);
2003}
2004
2005inline void QOpenGLFunctions_4_0_Compatibility::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
2006{
2007 d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3);
2008}
2009
2010inline void QOpenGLFunctions_4_0_Compatibility::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
2011{
2012 d_3_0_Core->f.Uniform3ui(location, v0, v1, v2);
2013}
2014
2015inline void QOpenGLFunctions_4_0_Compatibility::glUniform2ui(GLint location, GLuint v0, GLuint v1)
2016{
2017 d_3_0_Core->f.Uniform2ui(location, v0, v1);
2018}
2019
2020inline void QOpenGLFunctions_4_0_Compatibility::glUniform1ui(GLint location, GLuint v0)
2021{
2022 d_3_0_Core->f.Uniform1ui(location, v0);
2023}
2024
2025inline GLint QOpenGLFunctions_4_0_Compatibility::glGetFragDataLocation(GLuint program, const GLchar *name)
2026{
2027 return d_3_0_Core->f.GetFragDataLocation(program, name);
2028}
2029
2030inline void QOpenGLFunctions_4_0_Compatibility::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
2031{
2032 d_3_0_Core->f.BindFragDataLocation(program, color, name);
2033}
2034
2035inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformuiv(GLuint program, GLint location, GLuint *params)
2036{
2037 d_3_0_Core->f.GetUniformuiv(program, location, params);
2038}
2039
2040inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
2041{
2042 d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params);
2043}
2044
2045inline void QOpenGLFunctions_4_0_Compatibility::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
2046{
2047 d_3_0_Core->f.GetVertexAttribIiv(index, pname, params);
2048}
2049
2050inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2051{
2052 d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer);
2053}
2054
2055inline void QOpenGLFunctions_4_0_Compatibility::glEndConditionalRender()
2056{
2057 d_3_0_Core->f.EndConditionalRender();
2058}
2059
2060inline void QOpenGLFunctions_4_0_Compatibility::glBeginConditionalRender(GLuint id, GLenum mode)
2061{
2062 d_3_0_Core->f.BeginConditionalRender(id, mode);
2063}
2064
2065inline void QOpenGLFunctions_4_0_Compatibility::glClampColor(GLenum target, GLenum clamp)
2066{
2067 d_3_0_Core->f.ClampColor(target, clamp);
2068}
2069
2070inline void QOpenGLFunctions_4_0_Compatibility::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
2071{
2072 d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
2073}
2074
2075inline void QOpenGLFunctions_4_0_Compatibility::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode)
2076{
2077 d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode);
2078}
2079
2080inline void QOpenGLFunctions_4_0_Compatibility::glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
2081{
2082 d_3_0_Core->f.BindBufferBase(target, index, buffer);
2083}
2084
2085inline void QOpenGLFunctions_4_0_Compatibility::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
2086{
2087 d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size);
2088}
2089
2090inline void QOpenGLFunctions_4_0_Compatibility::glEndTransformFeedback()
2091{
2092 d_3_0_Core->f.EndTransformFeedback();
2093}
2094
2095inline void QOpenGLFunctions_4_0_Compatibility::glBeginTransformFeedback(GLenum primitiveMode)
2096{
2097 d_3_0_Core->f.BeginTransformFeedback(primitiveMode);
2098}
2099
2100inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsEnabledi(GLenum target, GLuint index)
2101{
2102 return d_3_0_Core->f.IsEnabledi(target, index);
2103}
2104
2105inline void QOpenGLFunctions_4_0_Compatibility::glDisablei(GLenum target, GLuint index)
2106{
2107 d_3_0_Core->f.Disablei(target, index);
2108}
2109
2110inline void QOpenGLFunctions_4_0_Compatibility::glEnablei(GLenum target, GLuint index)
2111{
2112 d_3_0_Core->f.Enablei(target, index);
2113}
2114
2115inline void QOpenGLFunctions_4_0_Compatibility::glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
2116{
2117 d_3_0_Core->f.GetIntegeri_v(target, index, data);
2118}
2119
2120inline void QOpenGLFunctions_4_0_Compatibility::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
2121{
2122 d_3_0_Core->f.GetBooleani_v(target, index, data);
2123}
2124
2125inline void QOpenGLFunctions_4_0_Compatibility::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
2126{
2127 d_3_0_Core->f.ColorMaski(index, r, g, b, a);
2128}
2129
2130
2131// OpenGL 3.1 core functions
2132inline void QOpenGLFunctions_4_0_Compatibility::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
2133{
2134 d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
2135}
2136
2137inline void QOpenGLFunctions_4_0_Compatibility::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
2138{
2139 d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
2140}
2141
2142inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
2143{
2144 d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName);
2145}
2146
2147inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
2148{
2149 d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
2150}
2151
2152inline GLuint QOpenGLFunctions_4_0_Compatibility::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
2153{
2154 return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName);
2155}
2156
2157inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
2158{
2159 d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
2160}
2161
2162inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
2163{
2164 d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
2165}
2166
2167inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices)
2168{
2169 d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices);
2170}
2171
2172inline void QOpenGLFunctions_4_0_Compatibility::glPrimitiveRestartIndex(GLuint index)
2173{
2174 d_3_1_Core->f.PrimitiveRestartIndex(index);
2175}
2176
2177inline void QOpenGLFunctions_4_0_Compatibility::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
2178{
2179 d_3_1_Core->f.TexBuffer(target, internalformat, buffer);
2180}
2181
2182inline void QOpenGLFunctions_4_0_Compatibility::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount)
2183{
2184 d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount);
2185}
2186
2187inline void QOpenGLFunctions_4_0_Compatibility::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
2188{
2189 d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount);
2190}
2191
2192
2193// OpenGL 3.2 core functions
2194inline void QOpenGLFunctions_4_0_Compatibility::glSampleMaski(GLuint index, GLbitfield mask)
2195{
2196 d_3_2_Core->f.SampleMaski(index, mask);
2197}
2198
2199inline void QOpenGLFunctions_4_0_Compatibility::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
2200{
2201 d_3_2_Core->f.GetMultisamplefv(pname, index, val);
2202}
2203
2204inline void QOpenGLFunctions_4_0_Compatibility::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
2205{
2206 d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
2207}
2208
2209inline void QOpenGLFunctions_4_0_Compatibility::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
2210{
2211 d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
2212}
2213
2214inline void QOpenGLFunctions_4_0_Compatibility::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
2215{
2216 d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values);
2217}
2218
2219inline void QOpenGLFunctions_4_0_Compatibility::glGetInteger64v(GLenum pname, GLint64 *params)
2220{
2221 d_3_2_Core->f.GetInteger64v(pname, params);
2222}
2223
2224inline void QOpenGLFunctions_4_0_Compatibility::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
2225{
2226 d_3_2_Core->f.WaitSync(sync, flags, timeout);
2227}
2228
2229inline GLenum QOpenGLFunctions_4_0_Compatibility::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
2230{
2231 return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout);
2232}
2233
2234inline void QOpenGLFunctions_4_0_Compatibility::glDeleteSync(GLsync sync)
2235{
2236 d_3_2_Core->f.DeleteSync(sync);
2237}
2238
2239inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsSync(GLsync sync)
2240{
2241 return d_3_2_Core->f.IsSync(sync);
2242}
2243
2244inline GLsync QOpenGLFunctions_4_0_Compatibility::glFenceSync(GLenum condition, GLbitfield flags)
2245{
2246 return d_3_2_Core->f.FenceSync(condition, flags);
2247}
2248
2249inline void QOpenGLFunctions_4_0_Compatibility::glProvokingVertex(GLenum mode)
2250{
2251 d_3_2_Core->f.ProvokingVertex(mode);
2252}
2253
2254inline void QOpenGLFunctions_4_0_Compatibility::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex)
2255{
2256 d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
2257}
2258
2259inline void QOpenGLFunctions_4_0_Compatibility::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex)
2260{
2261 d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex);
2262}
2263
2264inline void QOpenGLFunctions_4_0_Compatibility::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
2265{
2266 d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
2267}
2268
2269inline void QOpenGLFunctions_4_0_Compatibility::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
2270{
2271 d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex);
2272}
2273
2274inline void QOpenGLFunctions_4_0_Compatibility::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
2275{
2276 d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level);
2277}
2278
2279inline void QOpenGLFunctions_4_0_Compatibility::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
2280{
2281 d_3_2_Core->f.GetBufferParameteri64v(target, pname, params);
2282}
2283
2284inline void QOpenGLFunctions_4_0_Compatibility::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
2285{
2286 d_3_2_Core->f.GetInteger64i_v(target, index, data);
2287}
2288
2289
2290// OpenGL 3.3 core functions
2291inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
2292{
2293 d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value);
2294}
2295
2296inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
2297{
2298 d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value);
2299}
2300
2301inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
2302{
2303 d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value);
2304}
2305
2306inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
2307{
2308 d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value);
2309}
2310
2311inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
2312{
2313 d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value);
2314}
2315
2316inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
2317{
2318 d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value);
2319}
2320
2321inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
2322{
2323 d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value);
2324}
2325
2326inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
2327{
2328 d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value);
2329}
2330
2331inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColorP3uiv(GLenum type, const GLuint *color)
2332{
2333 d_3_3_Deprecated->f.SecondaryColorP3uiv(type, color);
2334}
2335
2336inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColorP3ui(GLenum type, GLuint color)
2337{
2338 d_3_3_Deprecated->f.SecondaryColorP3ui(type, color);
2339}
2340
2341inline void QOpenGLFunctions_4_0_Compatibility::glColorP4uiv(GLenum type, const GLuint *color)
2342{
2343 d_3_3_Deprecated->f.ColorP4uiv(type, color);
2344}
2345
2346inline void QOpenGLFunctions_4_0_Compatibility::glColorP4ui(GLenum type, GLuint color)
2347{
2348 d_3_3_Deprecated->f.ColorP4ui(type, color);
2349}
2350
2351inline void QOpenGLFunctions_4_0_Compatibility::glColorP3uiv(GLenum type, const GLuint *color)
2352{
2353 d_3_3_Deprecated->f.ColorP3uiv(type, color);
2354}
2355
2356inline void QOpenGLFunctions_4_0_Compatibility::glColorP3ui(GLenum type, GLuint color)
2357{
2358 d_3_3_Deprecated->f.ColorP3ui(type, color);
2359}
2360
2361inline void QOpenGLFunctions_4_0_Compatibility::glNormalP3uiv(GLenum type, const GLuint *coords)
2362{
2363 d_3_3_Deprecated->f.NormalP3uiv(type, coords);
2364}
2365
2366inline void QOpenGLFunctions_4_0_Compatibility::glNormalP3ui(GLenum type, GLuint coords)
2367{
2368 d_3_3_Deprecated->f.NormalP3ui(type, coords);
2369}
2370
2371inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords)
2372{
2373 d_3_3_Deprecated->f.MultiTexCoordP4uiv(texture, type, coords);
2374}
2375
2376inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords)
2377{
2378 d_3_3_Deprecated->f.MultiTexCoordP4ui(texture, type, coords);
2379}
2380
2381inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords)
2382{
2383 d_3_3_Deprecated->f.MultiTexCoordP3uiv(texture, type, coords);
2384}
2385
2386inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords)
2387{
2388 d_3_3_Deprecated->f.MultiTexCoordP3ui(texture, type, coords);
2389}
2390
2391inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords)
2392{
2393 d_3_3_Deprecated->f.MultiTexCoordP2uiv(texture, type, coords);
2394}
2395
2396inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords)
2397{
2398 d_3_3_Deprecated->f.MultiTexCoordP2ui(texture, type, coords);
2399}
2400
2401inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords)
2402{
2403 d_3_3_Deprecated->f.MultiTexCoordP1uiv(texture, type, coords);
2404}
2405
2406inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords)
2407{
2408 d_3_3_Deprecated->f.MultiTexCoordP1ui(texture, type, coords);
2409}
2410
2411inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP4uiv(GLenum type, const GLuint *coords)
2412{
2413 d_3_3_Deprecated->f.TexCoordP4uiv(type, coords);
2414}
2415
2416inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP4ui(GLenum type, GLuint coords)
2417{
2418 d_3_3_Deprecated->f.TexCoordP4ui(type, coords);
2419}
2420
2421inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP3uiv(GLenum type, const GLuint *coords)
2422{
2423 d_3_3_Deprecated->f.TexCoordP3uiv(type, coords);
2424}
2425
2426inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP3ui(GLenum type, GLuint coords)
2427{
2428 d_3_3_Deprecated->f.TexCoordP3ui(type, coords);
2429}
2430
2431inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP2uiv(GLenum type, const GLuint *coords)
2432{
2433 d_3_3_Deprecated->f.TexCoordP2uiv(type, coords);
2434}
2435
2436inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP2ui(GLenum type, GLuint coords)
2437{
2438 d_3_3_Deprecated->f.TexCoordP2ui(type, coords);
2439}
2440
2441inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP1uiv(GLenum type, const GLuint *coords)
2442{
2443 d_3_3_Deprecated->f.TexCoordP1uiv(type, coords);
2444}
2445
2446inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordP1ui(GLenum type, GLuint coords)
2447{
2448 d_3_3_Deprecated->f.TexCoordP1ui(type, coords);
2449}
2450
2451inline void QOpenGLFunctions_4_0_Compatibility::glVertexP4uiv(GLenum type, const GLuint *value)
2452{
2453 d_3_3_Deprecated->f.VertexP4uiv(type, value);
2454}
2455
2456inline void QOpenGLFunctions_4_0_Compatibility::glVertexP4ui(GLenum type, GLuint value)
2457{
2458 d_3_3_Deprecated->f.VertexP4ui(type, value);
2459}
2460
2461inline void QOpenGLFunctions_4_0_Compatibility::glVertexP3uiv(GLenum type, const GLuint *value)
2462{
2463 d_3_3_Deprecated->f.VertexP3uiv(type, value);
2464}
2465
2466inline void QOpenGLFunctions_4_0_Compatibility::glVertexP3ui(GLenum type, GLuint value)
2467{
2468 d_3_3_Deprecated->f.VertexP3ui(type, value);
2469}
2470
2471inline void QOpenGLFunctions_4_0_Compatibility::glVertexP2uiv(GLenum type, const GLuint *value)
2472{
2473 d_3_3_Deprecated->f.VertexP2uiv(type, value);
2474}
2475
2476inline void QOpenGLFunctions_4_0_Compatibility::glVertexP2ui(GLenum type, GLuint value)
2477{
2478 d_3_3_Deprecated->f.VertexP2ui(type, value);
2479}
2480
2481inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
2482{
2483 d_3_3_Core->f.GetQueryObjectui64v(id, pname, params);
2484}
2485
2486inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
2487{
2488 d_3_3_Core->f.GetQueryObjecti64v(id, pname, params);
2489}
2490
2491inline void QOpenGLFunctions_4_0_Compatibility::glQueryCounter(GLuint id, GLenum target)
2492{
2493 d_3_3_Core->f.QueryCounter(id, target);
2494}
2495
2496inline void QOpenGLFunctions_4_0_Compatibility::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
2497{
2498 d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params);
2499}
2500
2501inline void QOpenGLFunctions_4_0_Compatibility::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
2502{
2503 d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params);
2504}
2505
2506inline void QOpenGLFunctions_4_0_Compatibility::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
2507{
2508 d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params);
2509}
2510
2511inline void QOpenGLFunctions_4_0_Compatibility::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
2512{
2513 d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params);
2514}
2515
2516inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
2517{
2518 d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param);
2519}
2520
2521inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
2522{
2523 d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param);
2524}
2525
2526inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
2527{
2528 d_3_3_Core->f.SamplerParameterfv(sampler, pname, param);
2529}
2530
2531inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
2532{
2533 d_3_3_Core->f.SamplerParameterf(sampler, pname, param);
2534}
2535
2536inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
2537{
2538 d_3_3_Core->f.SamplerParameteriv(sampler, pname, param);
2539}
2540
2541inline void QOpenGLFunctions_4_0_Compatibility::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
2542{
2543 d_3_3_Core->f.SamplerParameteri(sampler, pname, param);
2544}
2545
2546inline void QOpenGLFunctions_4_0_Compatibility::glBindSampler(GLuint unit, GLuint sampler)
2547{
2548 d_3_3_Core->f.BindSampler(unit, sampler);
2549}
2550
2551inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsSampler(GLuint sampler)
2552{
2553 return d_3_3_Core->f.IsSampler(sampler);
2554}
2555
2556inline void QOpenGLFunctions_4_0_Compatibility::glDeleteSamplers(GLsizei count, const GLuint *samplers)
2557{
2558 d_3_3_Core->f.DeleteSamplers(count, samplers);
2559}
2560
2561inline void QOpenGLFunctions_4_0_Compatibility::glGenSamplers(GLsizei count, GLuint *samplers)
2562{
2563 d_3_3_Core->f.GenSamplers(count, samplers);
2564}
2565
2566inline GLint QOpenGLFunctions_4_0_Compatibility::glGetFragDataIndex(GLuint program, const GLchar *name)
2567{
2568 return d_3_3_Core->f.GetFragDataIndex(program, name);
2569}
2570
2571inline void QOpenGLFunctions_4_0_Compatibility::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
2572{
2573 d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name);
2574}
2575
2576inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribDivisor(GLuint index, GLuint divisor)
2577{
2578 d_3_3_Core->f.VertexAttribDivisor(index, divisor);
2579}
2580
2581
2582// OpenGL 4.0 core functions
2583inline void QOpenGLFunctions_4_0_Compatibility::glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params)
2584{
2585 d_4_0_Core->f.GetQueryIndexediv(target, index, pname, params);
2586}
2587
2588inline void QOpenGLFunctions_4_0_Compatibility::glEndQueryIndexed(GLenum target, GLuint index)
2589{
2590 d_4_0_Core->f.EndQueryIndexed(target, index);
2591}
2592
2593inline void QOpenGLFunctions_4_0_Compatibility::glBeginQueryIndexed(GLenum target, GLuint index, GLuint id)
2594{
2595 d_4_0_Core->f.BeginQueryIndexed(target, index, id);
2596}
2597
2598inline void QOpenGLFunctions_4_0_Compatibility::glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream)
2599{
2600 d_4_0_Core->f.DrawTransformFeedbackStream(mode, id, stream);
2601}
2602
2603inline void QOpenGLFunctions_4_0_Compatibility::glDrawTransformFeedback(GLenum mode, GLuint id)
2604{
2605 d_4_0_Core->f.DrawTransformFeedback(mode, id);
2606}
2607
2608inline void QOpenGLFunctions_4_0_Compatibility::glResumeTransformFeedback()
2609{
2610 d_4_0_Core->f.ResumeTransformFeedback();
2611}
2612
2613inline void QOpenGLFunctions_4_0_Compatibility::glPauseTransformFeedback()
2614{
2615 d_4_0_Core->f.PauseTransformFeedback();
2616}
2617
2618inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsTransformFeedback(GLuint id)
2619{
2620 return d_4_0_Core->f.IsTransformFeedback(id);
2621}
2622
2623inline void QOpenGLFunctions_4_0_Compatibility::glGenTransformFeedbacks(GLsizei n, GLuint *ids)
2624{
2625 d_4_0_Core->f.GenTransformFeedbacks(n, ids);
2626}
2627
2628inline void QOpenGLFunctions_4_0_Compatibility::glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids)
2629{
2630 d_4_0_Core->f.DeleteTransformFeedbacks(n, ids);
2631}
2632
2633inline void QOpenGLFunctions_4_0_Compatibility::glBindTransformFeedback(GLenum target, GLuint id)
2634{
2635 d_4_0_Core->f.BindTransformFeedback(target, id);
2636}
2637
2638inline void QOpenGLFunctions_4_0_Compatibility::glPatchParameterfv(GLenum pname, const GLfloat *values)
2639{
2640 d_4_0_Core->f.PatchParameterfv(pname, values);
2641}
2642
2643inline void QOpenGLFunctions_4_0_Compatibility::glPatchParameteri(GLenum pname, GLint value)
2644{
2645 d_4_0_Core->f.PatchParameteri(pname, value);
2646}
2647
2648inline void QOpenGLFunctions_4_0_Compatibility::glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values)
2649{
2650 d_4_0_Core->f.GetProgramStageiv(program, shadertype, pname, values);
2651}
2652
2653inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params)
2654{
2655 d_4_0_Core->f.GetUniformSubroutineuiv(shadertype, location, params);
2656}
2657
2658inline void QOpenGLFunctions_4_0_Compatibility::glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices)
2659{
2660 d_4_0_Core->f.UniformSubroutinesuiv(shadertype, count, indices);
2661}
2662
2663inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2664{
2665 d_4_0_Core->f.GetActiveSubroutineName(program, shadertype, index, bufsize, length, name);
2666}
2667
2668inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2669{
2670 d_4_0_Core->f.GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name);
2671}
2672
2673inline void QOpenGLFunctions_4_0_Compatibility::glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values)
2674{
2675 d_4_0_Core->f.GetActiveSubroutineUniformiv(program, shadertype, index, pname, values);
2676}
2677
2678inline GLuint QOpenGLFunctions_4_0_Compatibility::glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name)
2679{
2680 return d_4_0_Core->f.GetSubroutineIndex(program, shadertype, name);
2681}
2682
2683inline GLint QOpenGLFunctions_4_0_Compatibility::glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name)
2684{
2685 return d_4_0_Core->f.GetSubroutineUniformLocation(program, shadertype, name);
2686}
2687
2688inline void QOpenGLFunctions_4_0_Compatibility::glGetUniformdv(GLuint program, GLint location, GLdouble *params)
2689{
2690 d_4_0_Core->f.GetUniformdv(program, location, params);
2691}
2692
2693inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2694{
2695 d_4_0_Core->f.UniformMatrix4x3dv(location, count, transpose, value);
2696}
2697
2698inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2699{
2700 d_4_0_Core->f.UniformMatrix4x2dv(location, count, transpose, value);
2701}
2702
2703inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2704{
2705 d_4_0_Core->f.UniformMatrix3x4dv(location, count, transpose, value);
2706}
2707
2708inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2709{
2710 d_4_0_Core->f.UniformMatrix3x2dv(location, count, transpose, value);
2711}
2712
2713inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2714{
2715 d_4_0_Core->f.UniformMatrix2x4dv(location, count, transpose, value);
2716}
2717
2718inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2719{
2720 d_4_0_Core->f.UniformMatrix2x3dv(location, count, transpose, value);
2721}
2722
2723inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2724{
2725 d_4_0_Core->f.UniformMatrix4dv(location, count, transpose, value);
2726}
2727
2728inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2729{
2730 d_4_0_Core->f.UniformMatrix3dv(location, count, transpose, value);
2731}
2732
2733inline void QOpenGLFunctions_4_0_Compatibility::glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2734{
2735 d_4_0_Core->f.UniformMatrix2dv(location, count, transpose, value);
2736}
2737
2738inline void QOpenGLFunctions_4_0_Compatibility::glUniform4dv(GLint location, GLsizei count, const GLdouble *value)
2739{
2740 d_4_0_Core->f.Uniform4dv(location, count, value);
2741}
2742
2743inline void QOpenGLFunctions_4_0_Compatibility::glUniform3dv(GLint location, GLsizei count, const GLdouble *value)
2744{
2745 d_4_0_Core->f.Uniform3dv(location, count, value);
2746}
2747
2748inline void QOpenGLFunctions_4_0_Compatibility::glUniform2dv(GLint location, GLsizei count, const GLdouble *value)
2749{
2750 d_4_0_Core->f.Uniform2dv(location, count, value);
2751}
2752
2753inline void QOpenGLFunctions_4_0_Compatibility::glUniform1dv(GLint location, GLsizei count, const GLdouble *value)
2754{
2755 d_4_0_Core->f.Uniform1dv(location, count, value);
2756}
2757
2758inline void QOpenGLFunctions_4_0_Compatibility::glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2759{
2760 d_4_0_Core->f.Uniform4d(location, x, y, z, w);
2761}
2762
2763inline void QOpenGLFunctions_4_0_Compatibility::glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z)
2764{
2765 d_4_0_Core->f.Uniform3d(location, x, y, z);
2766}
2767
2768inline void QOpenGLFunctions_4_0_Compatibility::glUniform2d(GLint location, GLdouble x, GLdouble y)
2769{
2770 d_4_0_Core->f.Uniform2d(location, x, y);
2771}
2772
2773inline void QOpenGLFunctions_4_0_Compatibility::glUniform1d(GLint location, GLdouble x)
2774{
2775 d_4_0_Core->f.Uniform1d(location, x);
2776}
2777
2778inline void QOpenGLFunctions_4_0_Compatibility::glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect)
2779{
2780 d_4_0_Core->f.DrawElementsIndirect(mode, type, indirect);
2781}
2782
2783inline void QOpenGLFunctions_4_0_Compatibility::glDrawArraysIndirect(GLenum mode, const GLvoid *indirect)
2784{
2785 d_4_0_Core->f.DrawArraysIndirect(mode, indirect);
2786}
2787
2788inline void QOpenGLFunctions_4_0_Compatibility::glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
2789{
2790 d_4_0_Core->f.BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
2791}
2792
2793inline void QOpenGLFunctions_4_0_Compatibility::glBlendFunci(GLuint buf, GLenum src, GLenum dst)
2794{
2795 d_4_0_Core->f.BlendFunci(buf, src, dst);
2796}
2797
2798inline void QOpenGLFunctions_4_0_Compatibility::glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)
2799{
2800 d_4_0_Core->f.BlendEquationSeparatei(buf, modeRGB, modeAlpha);
2801}
2802
2803inline void QOpenGLFunctions_4_0_Compatibility::glBlendEquationi(GLuint buf, GLenum mode)
2804{
2805 d_4_0_Core->f.BlendEquationi(buf, mode);
2806}
2807
2808inline void QOpenGLFunctions_4_0_Compatibility::glMinSampleShading(GLfloat value)
2809{
2810 d_4_0_Core->f.MinSampleShading(value);
2811}
2812
2813
2814// OpenGL 1.0 deprecated functions
2815inline void QOpenGLFunctions_4_0_Compatibility::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
2816{
2817 d_1_0_Deprecated->f.Translatef(x, y, z);
2818}
2819
2820inline void QOpenGLFunctions_4_0_Compatibility::glTranslated(GLdouble x, GLdouble y, GLdouble z)
2821{
2822 d_1_0_Deprecated->f.Translated(x, y, z);
2823}
2824
2825inline void QOpenGLFunctions_4_0_Compatibility::glScalef(GLfloat x, GLfloat y, GLfloat z)
2826{
2827 d_1_0_Deprecated->f.Scalef(x, y, z);
2828}
2829
2830inline void QOpenGLFunctions_4_0_Compatibility::glScaled(GLdouble x, GLdouble y, GLdouble z)
2831{
2832 d_1_0_Deprecated->f.Scaled(x, y, z);
2833}
2834
2835inline void QOpenGLFunctions_4_0_Compatibility::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
2836{
2837 d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
2838}
2839
2840inline void QOpenGLFunctions_4_0_Compatibility::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
2841{
2842 d_1_0_Deprecated->f.Rotated(angle, x, y, z);
2843}
2844
2845inline void QOpenGLFunctions_4_0_Compatibility::glPushMatrix()
2846{
2847 d_1_0_Deprecated->f.PushMatrix();
2848}
2849
2850inline void QOpenGLFunctions_4_0_Compatibility::glPopMatrix()
2851{
2852 d_1_0_Deprecated->f.PopMatrix();
2853}
2854
2855inline void QOpenGLFunctions_4_0_Compatibility::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
2856{
2857 d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
2858}
2859
2860inline void QOpenGLFunctions_4_0_Compatibility::glMultMatrixd(const GLdouble *m)
2861{
2862 d_1_0_Deprecated->f.MultMatrixd(m);
2863}
2864
2865inline void QOpenGLFunctions_4_0_Compatibility::glMultMatrixf(const GLfloat *m)
2866{
2867 d_1_0_Deprecated->f.MultMatrixf(m);
2868}
2869
2870inline void QOpenGLFunctions_4_0_Compatibility::glMatrixMode(GLenum mode)
2871{
2872 d_1_0_Deprecated->f.MatrixMode(mode);
2873}
2874
2875inline void QOpenGLFunctions_4_0_Compatibility::glLoadMatrixd(const GLdouble *m)
2876{
2877 d_1_0_Deprecated->f.LoadMatrixd(m);
2878}
2879
2880inline void QOpenGLFunctions_4_0_Compatibility::glLoadMatrixf(const GLfloat *m)
2881{
2882 d_1_0_Deprecated->f.LoadMatrixf(m);
2883}
2884
2885inline void QOpenGLFunctions_4_0_Compatibility::glLoadIdentity()
2886{
2887 d_1_0_Deprecated->f.LoadIdentity();
2888}
2889
2890inline void QOpenGLFunctions_4_0_Compatibility::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
2891{
2892 d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
2893}
2894
2895inline GLboolean QOpenGLFunctions_4_0_Compatibility::glIsList(GLuint list)
2896{
2897 return d_1_0_Deprecated->f.IsList(list);
2898}
2899
2900inline void QOpenGLFunctions_4_0_Compatibility::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
2901{
2902 d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
2903}
2904
2905inline void QOpenGLFunctions_4_0_Compatibility::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
2906{
2907 d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
2908}
2909
2910inline void QOpenGLFunctions_4_0_Compatibility::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
2911{
2912 d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
2913}
2914
2915inline void QOpenGLFunctions_4_0_Compatibility::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
2916{
2917 d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
2918}
2919
2920inline void QOpenGLFunctions_4_0_Compatibility::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
2921{
2922 d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
2923}
2924
2925inline void QOpenGLFunctions_4_0_Compatibility::glGetPolygonStipple(GLubyte *mask)
2926{
2927 d_1_0_Deprecated->f.GetPolygonStipple(mask);
2928}
2929
2930inline void QOpenGLFunctions_4_0_Compatibility::glGetPixelMapusv(GLenum map, GLushort *values)
2931{
2932 d_1_0_Deprecated->f.GetPixelMapusv(map, values);
2933}
2934
2935inline void QOpenGLFunctions_4_0_Compatibility::glGetPixelMapuiv(GLenum map, GLuint *values)
2936{
2937 d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
2938}
2939
2940inline void QOpenGLFunctions_4_0_Compatibility::glGetPixelMapfv(GLenum map, GLfloat *values)
2941{
2942 d_1_0_Deprecated->f.GetPixelMapfv(map, values);
2943}
2944
2945inline void QOpenGLFunctions_4_0_Compatibility::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
2946{
2947 d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
2948}
2949
2950inline void QOpenGLFunctions_4_0_Compatibility::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
2951{
2952 d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
2953}
2954
2955inline void QOpenGLFunctions_4_0_Compatibility::glGetMapiv(GLenum target, GLenum query, GLint *v)
2956{
2957 d_1_0_Deprecated->f.GetMapiv(target, query, v);
2958}
2959
2960inline void QOpenGLFunctions_4_0_Compatibility::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
2961{
2962 d_1_0_Deprecated->f.GetMapfv(target, query, v);
2963}
2964
2965inline void QOpenGLFunctions_4_0_Compatibility::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
2966{
2967 d_1_0_Deprecated->f.GetMapdv(target, query, v);
2968}
2969
2970inline void QOpenGLFunctions_4_0_Compatibility::glGetLightiv(GLenum light, GLenum pname, GLint *params)
2971{
2972 d_1_0_Deprecated->f.GetLightiv(light, pname, params);
2973}
2974
2975inline void QOpenGLFunctions_4_0_Compatibility::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
2976{
2977 d_1_0_Deprecated->f.GetLightfv(light, pname, params);
2978}
2979
2980inline void QOpenGLFunctions_4_0_Compatibility::glGetClipPlane(GLenum plane, GLdouble *equation)
2981{
2982 d_1_0_Deprecated->f.GetClipPlane(plane, equation);
2983}
2984
2985inline void QOpenGLFunctions_4_0_Compatibility::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
2986{
2987 d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
2988}
2989
2990inline void QOpenGLFunctions_4_0_Compatibility::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
2991{
2992 d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
2993}
2994
2995inline void QOpenGLFunctions_4_0_Compatibility::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
2996{
2997 d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
2998}
2999
3000inline void QOpenGLFunctions_4_0_Compatibility::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
3001{
3002 d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
3003}
3004
3005inline void QOpenGLFunctions_4_0_Compatibility::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
3006{
3007 d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
3008}
3009
3010inline void QOpenGLFunctions_4_0_Compatibility::glPixelTransferi(GLenum pname, GLint param)
3011{
3012 d_1_0_Deprecated->f.PixelTransferi(pname, param);
3013}
3014
3015inline void QOpenGLFunctions_4_0_Compatibility::glPixelTransferf(GLenum pname, GLfloat param)
3016{
3017 d_1_0_Deprecated->f.PixelTransferf(pname, param);
3018}
3019
3020inline void QOpenGLFunctions_4_0_Compatibility::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
3021{
3022 d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
3023}
3024
3025inline void QOpenGLFunctions_4_0_Compatibility::glAlphaFunc(GLenum func, GLfloat ref)
3026{
3027 d_1_0_Deprecated->f.AlphaFunc(func, ref);
3028}
3029
3030inline void QOpenGLFunctions_4_0_Compatibility::glEvalPoint2(GLint i, GLint j)
3031{
3032 d_1_0_Deprecated->f.EvalPoint2(i, j);
3033}
3034
3035inline void QOpenGLFunctions_4_0_Compatibility::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
3036{
3037 d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
3038}
3039
3040inline void QOpenGLFunctions_4_0_Compatibility::glEvalPoint1(GLint i)
3041{
3042 d_1_0_Deprecated->f.EvalPoint1(i);
3043}
3044
3045inline void QOpenGLFunctions_4_0_Compatibility::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
3046{
3047 d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
3048}
3049
3050inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord2fv(const GLfloat *u)
3051{
3052 d_1_0_Deprecated->f.EvalCoord2fv(u);
3053}
3054
3055inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord2f(GLfloat u, GLfloat v)
3056{
3057 d_1_0_Deprecated->f.EvalCoord2f(u, v);
3058}
3059
3060inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord2dv(const GLdouble *u)
3061{
3062 d_1_0_Deprecated->f.EvalCoord2dv(u);
3063}
3064
3065inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord2d(GLdouble u, GLdouble v)
3066{
3067 d_1_0_Deprecated->f.EvalCoord2d(u, v);
3068}
3069
3070inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord1fv(const GLfloat *u)
3071{
3072 d_1_0_Deprecated->f.EvalCoord1fv(u);
3073}
3074
3075inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord1f(GLfloat u)
3076{
3077 d_1_0_Deprecated->f.EvalCoord1f(u);
3078}
3079
3080inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord1dv(const GLdouble *u)
3081{
3082 d_1_0_Deprecated->f.EvalCoord1dv(u);
3083}
3084
3085inline void QOpenGLFunctions_4_0_Compatibility::glEvalCoord1d(GLdouble u)
3086{
3087 d_1_0_Deprecated->f.EvalCoord1d(u);
3088}
3089
3090inline void QOpenGLFunctions_4_0_Compatibility::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
3091{
3092 d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
3093}
3094
3095inline void QOpenGLFunctions_4_0_Compatibility::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
3096{
3097 d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
3098}
3099
3100inline void QOpenGLFunctions_4_0_Compatibility::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
3101{
3102 d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
3103}
3104
3105inline void QOpenGLFunctions_4_0_Compatibility::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
3106{
3107 d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
3108}
3109
3110inline void QOpenGLFunctions_4_0_Compatibility::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
3111{
3112 d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
3113}
3114
3115inline void QOpenGLFunctions_4_0_Compatibility::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
3116{
3117 d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
3118}
3119
3120inline void QOpenGLFunctions_4_0_Compatibility::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
3121{
3122 d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
3123}
3124
3125inline void QOpenGLFunctions_4_0_Compatibility::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
3126{
3127 d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
3128}
3129
3130inline void QOpenGLFunctions_4_0_Compatibility::glPushAttrib(GLbitfield mask)
3131{
3132 d_1_0_Deprecated->f.PushAttrib(mask);
3133}
3134
3135inline void QOpenGLFunctions_4_0_Compatibility::glPopAttrib()
3136{
3137 d_1_0_Deprecated->f.PopAttrib();
3138}
3139
3140inline void QOpenGLFunctions_4_0_Compatibility::glAccum(GLenum op, GLfloat value)
3141{
3142 d_1_0_Deprecated->f.Accum(op, value);
3143}
3144
3145inline void QOpenGLFunctions_4_0_Compatibility::glIndexMask(GLuint mask)
3146{
3147 d_1_0_Deprecated->f.IndexMask(mask);
3148}
3149
3150inline void QOpenGLFunctions_4_0_Compatibility::glClearIndex(GLfloat c)
3151{
3152 d_1_0_Deprecated->f.ClearIndex(c);
3153}
3154
3155inline void QOpenGLFunctions_4_0_Compatibility::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
3156{
3157 d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
3158}
3159
3160inline void QOpenGLFunctions_4_0_Compatibility::glPushName(GLuint name)
3161{
3162 d_1_0_Deprecated->f.PushName(name);
3163}
3164
3165inline void QOpenGLFunctions_4_0_Compatibility::glPopName()
3166{
3167 d_1_0_Deprecated->f.PopName();
3168}
3169
3170inline void QOpenGLFunctions_4_0_Compatibility::glPassThrough(GLfloat token)
3171{
3172 d_1_0_Deprecated->f.PassThrough(token);
3173}
3174
3175inline void QOpenGLFunctions_4_0_Compatibility::glLoadName(GLuint name)
3176{
3177 d_1_0_Deprecated->f.LoadName(name);
3178}
3179
3180inline void QOpenGLFunctions_4_0_Compatibility::glInitNames()
3181{
3182 d_1_0_Deprecated->f.InitNames();
3183}
3184
3185inline GLint QOpenGLFunctions_4_0_Compatibility::glRenderMode(GLenum mode)
3186{
3187 return d_1_0_Deprecated->f.RenderMode(mode);
3188}
3189
3190inline void QOpenGLFunctions_4_0_Compatibility::glSelectBuffer(GLsizei size, GLuint *buffer)
3191{
3192 d_1_0_Deprecated->f.SelectBuffer(size, buffer);
3193}
3194
3195inline void QOpenGLFunctions_4_0_Compatibility::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
3196{
3197 d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
3198}
3199
3200inline void QOpenGLFunctions_4_0_Compatibility::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
3201{
3202 d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
3203}
3204
3205inline void QOpenGLFunctions_4_0_Compatibility::glTexGeni(GLenum coord, GLenum pname, GLint param)
3206{
3207 d_1_0_Deprecated->f.TexGeni(coord, pname, param);
3208}
3209
3210inline void QOpenGLFunctions_4_0_Compatibility::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
3211{
3212 d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
3213}
3214
3215inline void QOpenGLFunctions_4_0_Compatibility::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
3216{
3217 d_1_0_Deprecated->f.TexGenf(coord, pname, param);
3218}
3219
3220inline void QOpenGLFunctions_4_0_Compatibility::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
3221{
3222 d_1_0_Deprecated->f.TexGendv(coord, pname, params);
3223}
3224
3225inline void QOpenGLFunctions_4_0_Compatibility::glTexGend(GLenum coord, GLenum pname, GLdouble param)
3226{
3227 d_1_0_Deprecated->f.TexGend(coord, pname, param);
3228}
3229
3230inline void QOpenGLFunctions_4_0_Compatibility::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
3231{
3232 d_1_0_Deprecated->f.TexEnviv(target, pname, params);
3233}
3234
3235inline void QOpenGLFunctions_4_0_Compatibility::glTexEnvi(GLenum target, GLenum pname, GLint param)
3236{
3237 d_1_0_Deprecated->f.TexEnvi(target, pname, param);
3238}
3239
3240inline void QOpenGLFunctions_4_0_Compatibility::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
3241{
3242 d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
3243}
3244
3245inline void QOpenGLFunctions_4_0_Compatibility::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
3246{
3247 d_1_0_Deprecated->f.TexEnvf(target, pname, param);
3248}
3249
3250inline void QOpenGLFunctions_4_0_Compatibility::glShadeModel(GLenum mode)
3251{
3252 d_1_0_Deprecated->f.ShadeModel(mode);
3253}
3254
3255inline void QOpenGLFunctions_4_0_Compatibility::glPolygonStipple(const GLubyte *mask)
3256{
3257 d_1_0_Deprecated->f.PolygonStipple(mask);
3258}
3259
3260inline void QOpenGLFunctions_4_0_Compatibility::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
3261{
3262 d_1_0_Deprecated->f.Materialiv(face, pname, params);
3263}
3264
3265inline void QOpenGLFunctions_4_0_Compatibility::glMateriali(GLenum face, GLenum pname, GLint param)
3266{
3267 d_1_0_Deprecated->f.Materiali(face, pname, param);
3268}
3269
3270inline void QOpenGLFunctions_4_0_Compatibility::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
3271{
3272 d_1_0_Deprecated->f.Materialfv(face, pname, params);
3273}
3274
3275inline void QOpenGLFunctions_4_0_Compatibility::glMaterialf(GLenum face, GLenum pname, GLfloat param)
3276{
3277 d_1_0_Deprecated->f.Materialf(face, pname, param);
3278}
3279
3280inline void QOpenGLFunctions_4_0_Compatibility::glLineStipple(GLint factor, GLushort pattern)
3281{
3282 d_1_0_Deprecated->f.LineStipple(factor, pattern);
3283}
3284
3285inline void QOpenGLFunctions_4_0_Compatibility::glLightModeliv(GLenum pname, const GLint *params)
3286{
3287 d_1_0_Deprecated->f.LightModeliv(pname, params);
3288}
3289
3290inline void QOpenGLFunctions_4_0_Compatibility::glLightModeli(GLenum pname, GLint param)
3291{
3292 d_1_0_Deprecated->f.LightModeli(pname, param);
3293}
3294
3295inline void QOpenGLFunctions_4_0_Compatibility::glLightModelfv(GLenum pname, const GLfloat *params)
3296{
3297 d_1_0_Deprecated->f.LightModelfv(pname, params);
3298}
3299
3300inline void QOpenGLFunctions_4_0_Compatibility::glLightModelf(GLenum pname, GLfloat param)
3301{
3302 d_1_0_Deprecated->f.LightModelf(pname, param);
3303}
3304
3305inline void QOpenGLFunctions_4_0_Compatibility::glLightiv(GLenum light, GLenum pname, const GLint *params)
3306{
3307 d_1_0_Deprecated->f.Lightiv(light, pname, params);
3308}
3309
3310inline void QOpenGLFunctions_4_0_Compatibility::glLighti(GLenum light, GLenum pname, GLint param)
3311{
3312 d_1_0_Deprecated->f.Lighti(light, pname, param);
3313}
3314
3315inline void QOpenGLFunctions_4_0_Compatibility::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
3316{
3317 d_1_0_Deprecated->f.Lightfv(light, pname, params);
3318}
3319
3320inline void QOpenGLFunctions_4_0_Compatibility::glLightf(GLenum light, GLenum pname, GLfloat param)
3321{
3322 d_1_0_Deprecated->f.Lightf(light, pname, param);
3323}
3324
3325inline void QOpenGLFunctions_4_0_Compatibility::glFogiv(GLenum pname, const GLint *params)
3326{
3327 d_1_0_Deprecated->f.Fogiv(pname, params);
3328}
3329
3330inline void QOpenGLFunctions_4_0_Compatibility::glFogi(GLenum pname, GLint param)
3331{
3332 d_1_0_Deprecated->f.Fogi(pname, param);
3333}
3334
3335inline void QOpenGLFunctions_4_0_Compatibility::glFogfv(GLenum pname, const GLfloat *params)
3336{
3337 d_1_0_Deprecated->f.Fogfv(pname, params);
3338}
3339
3340inline void QOpenGLFunctions_4_0_Compatibility::glFogf(GLenum pname, GLfloat param)
3341{
3342 d_1_0_Deprecated->f.Fogf(pname, param);
3343}
3344
3345inline void QOpenGLFunctions_4_0_Compatibility::glColorMaterial(GLenum face, GLenum mode)
3346{
3347 d_1_0_Deprecated->f.ColorMaterial(face, mode);
3348}
3349
3350inline void QOpenGLFunctions_4_0_Compatibility::glClipPlane(GLenum plane, const GLdouble *equation)
3351{
3352 d_1_0_Deprecated->f.ClipPlane(plane, equation);
3353}
3354
3355inline void QOpenGLFunctions_4_0_Compatibility::glVertex4sv(const GLshort *v)
3356{
3357 d_1_0_Deprecated->f.Vertex4sv(v);
3358}
3359
3360inline void QOpenGLFunctions_4_0_Compatibility::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
3361{
3362 d_1_0_Deprecated->f.Vertex4s(x, y, z, w);
3363}
3364
3365inline void QOpenGLFunctions_4_0_Compatibility::glVertex4iv(const GLint *v)
3366{
3367 d_1_0_Deprecated->f.Vertex4iv(v);
3368}
3369
3370inline void QOpenGLFunctions_4_0_Compatibility::glVertex4i(GLint x, GLint y, GLint z, GLint w)
3371{
3372 d_1_0_Deprecated->f.Vertex4i(x, y, z, w);
3373}
3374
3375inline void QOpenGLFunctions_4_0_Compatibility::glVertex4fv(const GLfloat *v)
3376{
3377 d_1_0_Deprecated->f.Vertex4fv(v);
3378}
3379
3380inline void QOpenGLFunctions_4_0_Compatibility::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
3381{
3382 d_1_0_Deprecated->f.Vertex4f(x, y, z, w);
3383}
3384
3385inline void QOpenGLFunctions_4_0_Compatibility::glVertex4dv(const GLdouble *v)
3386{
3387 d_1_0_Deprecated->f.Vertex4dv(v);
3388}
3389
3390inline void QOpenGLFunctions_4_0_Compatibility::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
3391{
3392 d_1_0_Deprecated->f.Vertex4d(x, y, z, w);
3393}
3394
3395inline void QOpenGLFunctions_4_0_Compatibility::glVertex3sv(const GLshort *v)
3396{
3397 d_1_0_Deprecated->f.Vertex3sv(v);
3398}
3399
3400inline void QOpenGLFunctions_4_0_Compatibility::glVertex3s(GLshort x, GLshort y, GLshort z)
3401{
3402 d_1_0_Deprecated->f.Vertex3s(x, y, z);
3403}
3404
3405inline void QOpenGLFunctions_4_0_Compatibility::glVertex3iv(const GLint *v)
3406{
3407 d_1_0_Deprecated->f.Vertex3iv(v);
3408}
3409
3410inline void QOpenGLFunctions_4_0_Compatibility::glVertex3i(GLint x, GLint y, GLint z)
3411{
3412 d_1_0_Deprecated->f.Vertex3i(x, y, z);
3413}
3414
3415inline void QOpenGLFunctions_4_0_Compatibility::glVertex3fv(const GLfloat *v)
3416{
3417 d_1_0_Deprecated->f.Vertex3fv(v);
3418}
3419
3420inline void QOpenGLFunctions_4_0_Compatibility::glVertex3f(GLfloat x, GLfloat y, GLfloat z)
3421{
3422 d_1_0_Deprecated->f.Vertex3f(x, y, z);
3423}
3424
3425inline void QOpenGLFunctions_4_0_Compatibility::glVertex3dv(const GLdouble *v)
3426{
3427 d_1_0_Deprecated->f.Vertex3dv(v);
3428}
3429
3430inline void QOpenGLFunctions_4_0_Compatibility::glVertex3d(GLdouble x, GLdouble y, GLdouble z)
3431{
3432 d_1_0_Deprecated->f.Vertex3d(x, y, z);
3433}
3434
3435inline void QOpenGLFunctions_4_0_Compatibility::glVertex2sv(const GLshort *v)
3436{
3437 d_1_0_Deprecated->f.Vertex2sv(v);
3438}
3439
3440inline void QOpenGLFunctions_4_0_Compatibility::glVertex2s(GLshort x, GLshort y)
3441{
3442 d_1_0_Deprecated->f.Vertex2s(x, y);
3443}
3444
3445inline void QOpenGLFunctions_4_0_Compatibility::glVertex2iv(const GLint *v)
3446{
3447 d_1_0_Deprecated->f.Vertex2iv(v);
3448}
3449
3450inline void QOpenGLFunctions_4_0_Compatibility::glVertex2i(GLint x, GLint y)
3451{
3452 d_1_0_Deprecated->f.Vertex2i(x, y);
3453}
3454
3455inline void QOpenGLFunctions_4_0_Compatibility::glVertex2fv(const GLfloat *v)
3456{
3457 d_1_0_Deprecated->f.Vertex2fv(v);
3458}
3459
3460inline void QOpenGLFunctions_4_0_Compatibility::glVertex2f(GLfloat x, GLfloat y)
3461{
3462 d_1_0_Deprecated->f.Vertex2f(x, y);
3463}
3464
3465inline void QOpenGLFunctions_4_0_Compatibility::glVertex2dv(const GLdouble *v)
3466{
3467 d_1_0_Deprecated->f.Vertex2dv(v);
3468}
3469
3470inline void QOpenGLFunctions_4_0_Compatibility::glVertex2d(GLdouble x, GLdouble y)
3471{
3472 d_1_0_Deprecated->f.Vertex2d(x, y);
3473}
3474
3475inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4sv(const GLshort *v)
3476{
3477 d_1_0_Deprecated->f.TexCoord4sv(v);
3478}
3479
3480inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
3481{
3482 d_1_0_Deprecated->f.TexCoord4s(s, t, r, q);
3483}
3484
3485inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4iv(const GLint *v)
3486{
3487 d_1_0_Deprecated->f.TexCoord4iv(v);
3488}
3489
3490inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
3491{
3492 d_1_0_Deprecated->f.TexCoord4i(s, t, r, q);
3493}
3494
3495inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4fv(const GLfloat *v)
3496{
3497 d_1_0_Deprecated->f.TexCoord4fv(v);
3498}
3499
3500inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
3501{
3502 d_1_0_Deprecated->f.TexCoord4f(s, t, r, q);
3503}
3504
3505inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4dv(const GLdouble *v)
3506{
3507 d_1_0_Deprecated->f.TexCoord4dv(v);
3508}
3509
3510inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
3511{
3512 d_1_0_Deprecated->f.TexCoord4d(s, t, r, q);
3513}
3514
3515inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3sv(const GLshort *v)
3516{
3517 d_1_0_Deprecated->f.TexCoord3sv(v);
3518}
3519
3520inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3s(GLshort s, GLshort t, GLshort r)
3521{
3522 d_1_0_Deprecated->f.TexCoord3s(s, t, r);
3523}
3524
3525inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3iv(const GLint *v)
3526{
3527 d_1_0_Deprecated->f.TexCoord3iv(v);
3528}
3529
3530inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3i(GLint s, GLint t, GLint r)
3531{
3532 d_1_0_Deprecated->f.TexCoord3i(s, t, r);
3533}
3534
3535inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3fv(const GLfloat *v)
3536{
3537 d_1_0_Deprecated->f.TexCoord3fv(v);
3538}
3539
3540inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
3541{
3542 d_1_0_Deprecated->f.TexCoord3f(s, t, r);
3543}
3544
3545inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3dv(const GLdouble *v)
3546{
3547 d_1_0_Deprecated->f.TexCoord3dv(v);
3548}
3549
3550inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
3551{
3552 d_1_0_Deprecated->f.TexCoord3d(s, t, r);
3553}
3554
3555inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2sv(const GLshort *v)
3556{
3557 d_1_0_Deprecated->f.TexCoord2sv(v);
3558}
3559
3560inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2s(GLshort s, GLshort t)
3561{
3562 d_1_0_Deprecated->f.TexCoord2s(s, t);
3563}
3564
3565inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2iv(const GLint *v)
3566{
3567 d_1_0_Deprecated->f.TexCoord2iv(v);
3568}
3569
3570inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2i(GLint s, GLint t)
3571{
3572 d_1_0_Deprecated->f.TexCoord2i(s, t);
3573}
3574
3575inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2fv(const GLfloat *v)
3576{
3577 d_1_0_Deprecated->f.TexCoord2fv(v);
3578}
3579
3580inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2f(GLfloat s, GLfloat t)
3581{
3582 d_1_0_Deprecated->f.TexCoord2f(s, t);
3583}
3584
3585inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2dv(const GLdouble *v)
3586{
3587 d_1_0_Deprecated->f.TexCoord2dv(v);
3588}
3589
3590inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord2d(GLdouble s, GLdouble t)
3591{
3592 d_1_0_Deprecated->f.TexCoord2d(s, t);
3593}
3594
3595inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1sv(const GLshort *v)
3596{
3597 d_1_0_Deprecated->f.TexCoord1sv(v);
3598}
3599
3600inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1s(GLshort s)
3601{
3602 d_1_0_Deprecated->f.TexCoord1s(s);
3603}
3604
3605inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1iv(const GLint *v)
3606{
3607 d_1_0_Deprecated->f.TexCoord1iv(v);
3608}
3609
3610inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1i(GLint s)
3611{
3612 d_1_0_Deprecated->f.TexCoord1i(s);
3613}
3614
3615inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1fv(const GLfloat *v)
3616{
3617 d_1_0_Deprecated->f.TexCoord1fv(v);
3618}
3619
3620inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1f(GLfloat s)
3621{
3622 d_1_0_Deprecated->f.TexCoord1f(s);
3623}
3624
3625inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1dv(const GLdouble *v)
3626{
3627 d_1_0_Deprecated->f.TexCoord1dv(v);
3628}
3629
3630inline void QOpenGLFunctions_4_0_Compatibility::glTexCoord1d(GLdouble s)
3631{
3632 d_1_0_Deprecated->f.TexCoord1d(s);
3633}
3634
3635inline void QOpenGLFunctions_4_0_Compatibility::glRectsv(const GLshort *v1, const GLshort *v2)
3636{
3637 d_1_0_Deprecated->f.Rectsv(v1, v2);
3638}
3639
3640inline void QOpenGLFunctions_4_0_Compatibility::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
3641{
3642 d_1_0_Deprecated->f.Rects(x1, y1, x2, y2);
3643}
3644
3645inline void QOpenGLFunctions_4_0_Compatibility::glRectiv(const GLint *v1, const GLint *v2)
3646{
3647 d_1_0_Deprecated->f.Rectiv(v1, v2);
3648}
3649
3650inline void QOpenGLFunctions_4_0_Compatibility::glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
3651{
3652 d_1_0_Deprecated->f.Recti(x1, y1, x2, y2);
3653}
3654
3655inline void QOpenGLFunctions_4_0_Compatibility::glRectfv(const GLfloat *v1, const GLfloat *v2)
3656{
3657 d_1_0_Deprecated->f.Rectfv(v1, v2);
3658}
3659
3660inline void QOpenGLFunctions_4_0_Compatibility::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
3661{
3662 d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2);
3663}
3664
3665inline void QOpenGLFunctions_4_0_Compatibility::glRectdv(const GLdouble *v1, const GLdouble *v2)
3666{
3667 d_1_0_Deprecated->f.Rectdv(v1, v2);
3668}
3669
3670inline void QOpenGLFunctions_4_0_Compatibility::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
3671{
3672 d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2);
3673}
3674
3675inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4sv(const GLshort *v)
3676{
3677 d_1_0_Deprecated->f.RasterPos4sv(v);
3678}
3679
3680inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
3681{
3682 d_1_0_Deprecated->f.RasterPos4s(x, y, z, w);
3683}
3684
3685inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4iv(const GLint *v)
3686{
3687 d_1_0_Deprecated->f.RasterPos4iv(v);
3688}
3689
3690inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
3691{
3692 d_1_0_Deprecated->f.RasterPos4i(x, y, z, w);
3693}
3694
3695inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4fv(const GLfloat *v)
3696{
3697 d_1_0_Deprecated->f.RasterPos4fv(v);
3698}
3699
3700inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
3701{
3702 d_1_0_Deprecated->f.RasterPos4f(x, y, z, w);
3703}
3704
3705inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4dv(const GLdouble *v)
3706{
3707 d_1_0_Deprecated->f.RasterPos4dv(v);
3708}
3709
3710inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
3711{
3712 d_1_0_Deprecated->f.RasterPos4d(x, y, z, w);
3713}
3714
3715inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3sv(const GLshort *v)
3716{
3717 d_1_0_Deprecated->f.RasterPos3sv(v);
3718}
3719
3720inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3s(GLshort x, GLshort y, GLshort z)
3721{
3722 d_1_0_Deprecated->f.RasterPos3s(x, y, z);
3723}
3724
3725inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3iv(const GLint *v)
3726{
3727 d_1_0_Deprecated->f.RasterPos3iv(v);
3728}
3729
3730inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3i(GLint x, GLint y, GLint z)
3731{
3732 d_1_0_Deprecated->f.RasterPos3i(x, y, z);
3733}
3734
3735inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3fv(const GLfloat *v)
3736{
3737 d_1_0_Deprecated->f.RasterPos3fv(v);
3738}
3739
3740inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
3741{
3742 d_1_0_Deprecated->f.RasterPos3f(x, y, z);
3743}
3744
3745inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3dv(const GLdouble *v)
3746{
3747 d_1_0_Deprecated->f.RasterPos3dv(v);
3748}
3749
3750inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
3751{
3752 d_1_0_Deprecated->f.RasterPos3d(x, y, z);
3753}
3754
3755inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2sv(const GLshort *v)
3756{
3757 d_1_0_Deprecated->f.RasterPos2sv(v);
3758}
3759
3760inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2s(GLshort x, GLshort y)
3761{
3762 d_1_0_Deprecated->f.RasterPos2s(x, y);
3763}
3764
3765inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2iv(const GLint *v)
3766{
3767 d_1_0_Deprecated->f.RasterPos2iv(v);
3768}
3769
3770inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2i(GLint x, GLint y)
3771{
3772 d_1_0_Deprecated->f.RasterPos2i(x, y);
3773}
3774
3775inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2fv(const GLfloat *v)
3776{
3777 d_1_0_Deprecated->f.RasterPos2fv(v);
3778}
3779
3780inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2f(GLfloat x, GLfloat y)
3781{
3782 d_1_0_Deprecated->f.RasterPos2f(x, y);
3783}
3784
3785inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2dv(const GLdouble *v)
3786{
3787 d_1_0_Deprecated->f.RasterPos2dv(v);
3788}
3789
3790inline void QOpenGLFunctions_4_0_Compatibility::glRasterPos2d(GLdouble x, GLdouble y)
3791{
3792 d_1_0_Deprecated->f.RasterPos2d(x, y);
3793}
3794
3795inline void QOpenGLFunctions_4_0_Compatibility::glNormal3sv(const GLshort *v)
3796{
3797 d_1_0_Deprecated->f.Normal3sv(v);
3798}
3799
3800inline void QOpenGLFunctions_4_0_Compatibility::glNormal3s(GLshort nx, GLshort ny, GLshort nz)
3801{
3802 d_1_0_Deprecated->f.Normal3s(nx, ny, nz);
3803}
3804
3805inline void QOpenGLFunctions_4_0_Compatibility::glNormal3iv(const GLint *v)
3806{
3807 d_1_0_Deprecated->f.Normal3iv(v);
3808}
3809
3810inline void QOpenGLFunctions_4_0_Compatibility::glNormal3i(GLint nx, GLint ny, GLint nz)
3811{
3812 d_1_0_Deprecated->f.Normal3i(nx, ny, nz);
3813}
3814
3815inline void QOpenGLFunctions_4_0_Compatibility::glNormal3fv(const GLfloat *v)
3816{
3817 d_1_0_Deprecated->f.Normal3fv(v);
3818}
3819
3820inline void QOpenGLFunctions_4_0_Compatibility::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
3821{
3822 d_1_0_Deprecated->f.Normal3f(nx, ny, nz);
3823}
3824
3825inline void QOpenGLFunctions_4_0_Compatibility::glNormal3dv(const GLdouble *v)
3826{
3827 d_1_0_Deprecated->f.Normal3dv(v);
3828}
3829
3830inline void QOpenGLFunctions_4_0_Compatibility::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
3831{
3832 d_1_0_Deprecated->f.Normal3d(nx, ny, nz);
3833}
3834
3835inline void QOpenGLFunctions_4_0_Compatibility::glNormal3bv(const GLbyte *v)
3836{
3837 d_1_0_Deprecated->f.Normal3bv(v);
3838}
3839
3840inline void QOpenGLFunctions_4_0_Compatibility::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
3841{
3842 d_1_0_Deprecated->f.Normal3b(nx, ny, nz);
3843}
3844
3845inline void QOpenGLFunctions_4_0_Compatibility::glIndexsv(const GLshort *c)
3846{
3847 d_1_0_Deprecated->f.Indexsv(c);
3848}
3849
3850inline void QOpenGLFunctions_4_0_Compatibility::glIndexs(GLshort c)
3851{
3852 d_1_0_Deprecated->f.Indexs(c);
3853}
3854
3855inline void QOpenGLFunctions_4_0_Compatibility::glIndexiv(const GLint *c)
3856{
3857 d_1_0_Deprecated->f.Indexiv(c);
3858}
3859
3860inline void QOpenGLFunctions_4_0_Compatibility::glIndexi(GLint c)
3861{
3862 d_1_0_Deprecated->f.Indexi(c);
3863}
3864
3865inline void QOpenGLFunctions_4_0_Compatibility::glIndexfv(const GLfloat *c)
3866{
3867 d_1_0_Deprecated->f.Indexfv(c);
3868}
3869
3870inline void QOpenGLFunctions_4_0_Compatibility::glIndexf(GLfloat c)
3871{
3872 d_1_0_Deprecated->f.Indexf(c);
3873}
3874
3875inline void QOpenGLFunctions_4_0_Compatibility::glIndexdv(const GLdouble *c)
3876{
3877 d_1_0_Deprecated->f.Indexdv(c);
3878}
3879
3880inline void QOpenGLFunctions_4_0_Compatibility::glIndexd(GLdouble c)
3881{
3882 d_1_0_Deprecated->f.Indexd(c);
3883}
3884
3885inline void QOpenGLFunctions_4_0_Compatibility::glEnd()
3886{
3887 d_1_0_Deprecated->f.End();
3888}
3889
3890inline void QOpenGLFunctions_4_0_Compatibility::glEdgeFlagv(const GLboolean *flag)
3891{
3892 d_1_0_Deprecated->f.EdgeFlagv(flag);
3893}
3894
3895inline void QOpenGLFunctions_4_0_Compatibility::glEdgeFlag(GLboolean flag)
3896{
3897 d_1_0_Deprecated->f.EdgeFlag(flag);
3898}
3899
3900inline void QOpenGLFunctions_4_0_Compatibility::glColor4usv(const GLushort *v)
3901{
3902 d_1_0_Deprecated->f.Color4usv(v);
3903}
3904
3905inline void QOpenGLFunctions_4_0_Compatibility::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
3906{
3907 d_1_0_Deprecated->f.Color4us(red, green, blue, alpha);
3908}
3909
3910inline void QOpenGLFunctions_4_0_Compatibility::glColor4uiv(const GLuint *v)
3911{
3912 d_1_0_Deprecated->f.Color4uiv(v);
3913}
3914
3915inline void QOpenGLFunctions_4_0_Compatibility::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
3916{
3917 d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha);
3918}
3919
3920inline void QOpenGLFunctions_4_0_Compatibility::glColor4ubv(const GLubyte *v)
3921{
3922 d_1_0_Deprecated->f.Color4ubv(v);
3923}
3924
3925inline void QOpenGLFunctions_4_0_Compatibility::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
3926{
3927 d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha);
3928}
3929
3930inline void QOpenGLFunctions_4_0_Compatibility::glColor4sv(const GLshort *v)
3931{
3932 d_1_0_Deprecated->f.Color4sv(v);
3933}
3934
3935inline void QOpenGLFunctions_4_0_Compatibility::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
3936{
3937 d_1_0_Deprecated->f.Color4s(red, green, blue, alpha);
3938}
3939
3940inline void QOpenGLFunctions_4_0_Compatibility::glColor4iv(const GLint *v)
3941{
3942 d_1_0_Deprecated->f.Color4iv(v);
3943}
3944
3945inline void QOpenGLFunctions_4_0_Compatibility::glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
3946{
3947 d_1_0_Deprecated->f.Color4i(red, green, blue, alpha);
3948}
3949
3950inline void QOpenGLFunctions_4_0_Compatibility::glColor4fv(const GLfloat *v)
3951{
3952 d_1_0_Deprecated->f.Color4fv(v);
3953}
3954
3955inline void QOpenGLFunctions_4_0_Compatibility::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
3956{
3957 d_1_0_Deprecated->f.Color4f(red, green, blue, alpha);
3958}
3959
3960inline void QOpenGLFunctions_4_0_Compatibility::glColor4dv(const GLdouble *v)
3961{
3962 d_1_0_Deprecated->f.Color4dv(v);
3963}
3964
3965inline void QOpenGLFunctions_4_0_Compatibility::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
3966{
3967 d_1_0_Deprecated->f.Color4d(red, green, blue, alpha);
3968}
3969
3970inline void QOpenGLFunctions_4_0_Compatibility::glColor4bv(const GLbyte *v)
3971{
3972 d_1_0_Deprecated->f.Color4bv(v);
3973}
3974
3975inline void QOpenGLFunctions_4_0_Compatibility::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
3976{
3977 d_1_0_Deprecated->f.Color4b(red, green, blue, alpha);
3978}
3979
3980inline void QOpenGLFunctions_4_0_Compatibility::glColor3usv(const GLushort *v)
3981{
3982 d_1_0_Deprecated->f.Color3usv(v);
3983}
3984
3985inline void QOpenGLFunctions_4_0_Compatibility::glColor3us(GLushort red, GLushort green, GLushort blue)
3986{
3987 d_1_0_Deprecated->f.Color3us(red, green, blue);
3988}
3989
3990inline void QOpenGLFunctions_4_0_Compatibility::glColor3uiv(const GLuint *v)
3991{
3992 d_1_0_Deprecated->f.Color3uiv(v);
3993}
3994
3995inline void QOpenGLFunctions_4_0_Compatibility::glColor3ui(GLuint red, GLuint green, GLuint blue)
3996{
3997 d_1_0_Deprecated->f.Color3ui(red, green, blue);
3998}
3999
4000inline void QOpenGLFunctions_4_0_Compatibility::glColor3ubv(const GLubyte *v)
4001{
4002 d_1_0_Deprecated->f.Color3ubv(v);
4003}
4004
4005inline void QOpenGLFunctions_4_0_Compatibility::glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
4006{
4007 d_1_0_Deprecated->f.Color3ub(red, green, blue);
4008}
4009
4010inline void QOpenGLFunctions_4_0_Compatibility::glColor3sv(const GLshort *v)
4011{
4012 d_1_0_Deprecated->f.Color3sv(v);
4013}
4014
4015inline void QOpenGLFunctions_4_0_Compatibility::glColor3s(GLshort red, GLshort green, GLshort blue)
4016{
4017 d_1_0_Deprecated->f.Color3s(red, green, blue);
4018}
4019
4020inline void QOpenGLFunctions_4_0_Compatibility::glColor3iv(const GLint *v)
4021{
4022 d_1_0_Deprecated->f.Color3iv(v);
4023}
4024
4025inline void QOpenGLFunctions_4_0_Compatibility::glColor3i(GLint red, GLint green, GLint blue)
4026{
4027 d_1_0_Deprecated->f.Color3i(red, green, blue);
4028}
4029
4030inline void QOpenGLFunctions_4_0_Compatibility::glColor3fv(const GLfloat *v)
4031{
4032 d_1_0_Deprecated->f.Color3fv(v);
4033}
4034
4035inline void QOpenGLFunctions_4_0_Compatibility::glColor3f(GLfloat red, GLfloat green, GLfloat blue)
4036{
4037 d_1_0_Deprecated->f.Color3f(red, green, blue);
4038}
4039
4040inline void QOpenGLFunctions_4_0_Compatibility::glColor3dv(const GLdouble *v)
4041{
4042 d_1_0_Deprecated->f.Color3dv(v);
4043}
4044
4045inline void QOpenGLFunctions_4_0_Compatibility::glColor3d(GLdouble red, GLdouble green, GLdouble blue)
4046{
4047 d_1_0_Deprecated->f.Color3d(red, green, blue);
4048}
4049
4050inline void QOpenGLFunctions_4_0_Compatibility::glColor3bv(const GLbyte *v)
4051{
4052 d_1_0_Deprecated->f.Color3bv(v);
4053}
4054
4055inline void QOpenGLFunctions_4_0_Compatibility::glColor3b(GLbyte red, GLbyte green, GLbyte blue)
4056{
4057 d_1_0_Deprecated->f.Color3b(red, green, blue);
4058}
4059
4060inline void QOpenGLFunctions_4_0_Compatibility::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
4061{
4062 d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
4063}
4064
4065inline void QOpenGLFunctions_4_0_Compatibility::glBegin(GLenum mode)
4066{
4067 d_1_0_Deprecated->f.Begin(mode);
4068}
4069
4070inline void QOpenGLFunctions_4_0_Compatibility::glListBase(GLuint base)
4071{
4072 d_1_0_Deprecated->f.ListBase(base);
4073}
4074
4075inline GLuint QOpenGLFunctions_4_0_Compatibility::glGenLists(GLsizei range)
4076{
4077 return d_1_0_Deprecated->f.GenLists(range);
4078}
4079
4080inline void QOpenGLFunctions_4_0_Compatibility::glDeleteLists(GLuint list, GLsizei range)
4081{
4082 d_1_0_Deprecated->f.DeleteLists(list, range);
4083}
4084
4085inline void QOpenGLFunctions_4_0_Compatibility::glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
4086{
4087 d_1_0_Deprecated->f.CallLists(n, type, lists);
4088}
4089
4090inline void QOpenGLFunctions_4_0_Compatibility::glCallList(GLuint list)
4091{
4092 d_1_0_Deprecated->f.CallList(list);
4093}
4094
4095inline void QOpenGLFunctions_4_0_Compatibility::glEndList()
4096{
4097 d_1_0_Deprecated->f.EndList();
4098}
4099
4100inline void QOpenGLFunctions_4_0_Compatibility::glNewList(GLuint list, GLenum mode)
4101{
4102 d_1_0_Deprecated->f.NewList(list, mode);
4103}
4104
4105
4106// OpenGL 1.1 deprecated functions
4107inline void QOpenGLFunctions_4_0_Compatibility::glPushClientAttrib(GLbitfield mask)
4108{
4109 d_1_1_Deprecated->f.PushClientAttrib(mask);
4110}
4111
4112inline void QOpenGLFunctions_4_0_Compatibility::glPopClientAttrib()
4113{
4114 d_1_1_Deprecated->f.PopClientAttrib();
4115}
4116
4117inline void QOpenGLFunctions_4_0_Compatibility::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
4118{
4119 d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities);
4120}
4121
4122inline GLboolean QOpenGLFunctions_4_0_Compatibility::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
4123{
4124 return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences);
4125}
4126
4127inline void QOpenGLFunctions_4_0_Compatibility::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
4128{
4129 d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer);
4130}
4131
4132inline void QOpenGLFunctions_4_0_Compatibility::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
4133{
4134 d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer);
4135}
4136
4137inline void QOpenGLFunctions_4_0_Compatibility::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
4138{
4139 d_1_1_Deprecated->f.NormalPointer(type, stride, pointer);
4140}
4141
4142inline void QOpenGLFunctions_4_0_Compatibility::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
4143{
4144 d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer);
4145}
4146
4147inline void QOpenGLFunctions_4_0_Compatibility::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
4148{
4149 d_1_1_Deprecated->f.IndexPointer(type, stride, pointer);
4150}
4151
4152inline void QOpenGLFunctions_4_0_Compatibility::glEnableClientState(GLenum array)
4153{
4154 d_1_1_Deprecated->f.EnableClientState(array);
4155}
4156
4157inline void QOpenGLFunctions_4_0_Compatibility::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
4158{
4159 d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer);
4160}
4161
4162inline void QOpenGLFunctions_4_0_Compatibility::glDisableClientState(GLenum array)
4163{
4164 d_1_1_Deprecated->f.DisableClientState(array);
4165}
4166
4167inline void QOpenGLFunctions_4_0_Compatibility::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
4168{
4169 d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer);
4170}
4171
4172inline void QOpenGLFunctions_4_0_Compatibility::glArrayElement(GLint i)
4173{
4174 d_1_1_Deprecated->f.ArrayElement(i);
4175}
4176
4177
4178// OpenGL 1.2 deprecated functions
4179inline void QOpenGLFunctions_4_0_Compatibility::glResetMinmax(GLenum target)
4180{
4181 d_1_2_Deprecated->f.ResetMinmax(target);
4182}
4183
4184inline void QOpenGLFunctions_4_0_Compatibility::glResetHistogram(GLenum target)
4185{
4186 d_1_2_Deprecated->f.ResetHistogram(target);
4187}
4188
4189inline void QOpenGLFunctions_4_0_Compatibility::glMinmax(GLenum target, GLenum internalformat, GLboolean sink)
4190{
4191 d_1_2_Deprecated->f.Minmax(target, internalformat, sink);
4192}
4193
4194inline void QOpenGLFunctions_4_0_Compatibility::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink)
4195{
4196 d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink);
4197}
4198
4199inline void QOpenGLFunctions_4_0_Compatibility::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params)
4200{
4201 d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params);
4202}
4203
4204inline void QOpenGLFunctions_4_0_Compatibility::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params)
4205{
4206 d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params);
4207}
4208
4209inline void QOpenGLFunctions_4_0_Compatibility::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
4210{
4211 d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values);
4212}
4213
4214inline void QOpenGLFunctions_4_0_Compatibility::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params)
4215{
4216 d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params);
4217}
4218
4219inline void QOpenGLFunctions_4_0_Compatibility::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params)
4220{
4221 d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params);
4222}
4223
4224inline void QOpenGLFunctions_4_0_Compatibility::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values)
4225{
4226 d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values);
4227}
4228
4229inline void QOpenGLFunctions_4_0_Compatibility::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column)
4230{
4231 d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column);
4232}
4233
4234inline void QOpenGLFunctions_4_0_Compatibility::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span)
4235{
4236 d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span);
4237}
4238
4239inline void QOpenGLFunctions_4_0_Compatibility::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params)
4240{
4241 d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params);
4242}
4243
4244inline void QOpenGLFunctions_4_0_Compatibility::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params)
4245{
4246 d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params);
4247}
4248
4249inline void QOpenGLFunctions_4_0_Compatibility::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image)
4250{
4251 d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image);
4252}
4253
4254inline void QOpenGLFunctions_4_0_Compatibility::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height)
4255{
4256 d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height);
4257}
4258
4259inline void QOpenGLFunctions_4_0_Compatibility::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
4260{
4261 d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width);
4262}
4263
4264inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params)
4265{
4266 d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params);
4267}
4268
4269inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionParameteri(GLenum target, GLenum pname, GLint params)
4270{
4271 d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params);
4272}
4273
4274inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params)
4275{
4276 d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params);
4277}
4278
4279inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params)
4280{
4281 d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params);
4282}
4283
4284inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image)
4285{
4286 d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image);
4287}
4288
4289inline void QOpenGLFunctions_4_0_Compatibility::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image)
4290{
4291 d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image);
4292}
4293
4294inline void QOpenGLFunctions_4_0_Compatibility::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width)
4295{
4296 d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width);
4297}
4298
4299inline void QOpenGLFunctions_4_0_Compatibility::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data)
4300{
4301 d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data);
4302}
4303
4304inline void QOpenGLFunctions_4_0_Compatibility::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params)
4305{
4306 d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params);
4307}
4308
4309inline void QOpenGLFunctions_4_0_Compatibility::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params)
4310{
4311 d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params);
4312}
4313
4314inline void QOpenGLFunctions_4_0_Compatibility::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table)
4315{
4316 d_1_2_Deprecated->f.GetColorTable(target, format, type, table);
4317}
4318
4319inline void QOpenGLFunctions_4_0_Compatibility::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width)
4320{
4321 d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width);
4322}
4323
4324inline void QOpenGLFunctions_4_0_Compatibility::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params)
4325{
4326 d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params);
4327}
4328
4329inline void QOpenGLFunctions_4_0_Compatibility::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params)
4330{
4331 d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params);
4332}
4333
4334inline void QOpenGLFunctions_4_0_Compatibility::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table)
4335{
4336 d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table);
4337}
4338
4339
4340// OpenGL 1.3 deprecated functions
4341inline void QOpenGLFunctions_4_0_Compatibility::glMultTransposeMatrixd(const GLdouble *m)
4342{
4343 d_1_3_Deprecated->f.MultTransposeMatrixd(m);
4344}
4345
4346inline void QOpenGLFunctions_4_0_Compatibility::glMultTransposeMatrixf(const GLfloat *m)
4347{
4348 d_1_3_Deprecated->f.MultTransposeMatrixf(m);
4349}
4350
4351inline void QOpenGLFunctions_4_0_Compatibility::glLoadTransposeMatrixd(const GLdouble *m)
4352{
4353 d_1_3_Deprecated->f.LoadTransposeMatrixd(m);
4354}
4355
4356inline void QOpenGLFunctions_4_0_Compatibility::glLoadTransposeMatrixf(const GLfloat *m)
4357{
4358 d_1_3_Deprecated->f.LoadTransposeMatrixf(m);
4359}
4360
4361inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4sv(GLenum target, const GLshort *v)
4362{
4363 d_1_3_Deprecated->f.MultiTexCoord4sv(target, v);
4364}
4365
4366inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q)
4367{
4368 d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q);
4369}
4370
4371inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4iv(GLenum target, const GLint *v)
4372{
4373 d_1_3_Deprecated->f.MultiTexCoord4iv(target, v);
4374}
4375
4376inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q)
4377{
4378 d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q);
4379}
4380
4381inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4fv(GLenum target, const GLfloat *v)
4382{
4383 d_1_3_Deprecated->f.MultiTexCoord4fv(target, v);
4384}
4385
4386inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q)
4387{
4388 d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q);
4389}
4390
4391inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4dv(GLenum target, const GLdouble *v)
4392{
4393 d_1_3_Deprecated->f.MultiTexCoord4dv(target, v);
4394}
4395
4396inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q)
4397{
4398 d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q);
4399}
4400
4401inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3sv(GLenum target, const GLshort *v)
4402{
4403 d_1_3_Deprecated->f.MultiTexCoord3sv(target, v);
4404}
4405
4406inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r)
4407{
4408 d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r);
4409}
4410
4411inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3iv(GLenum target, const GLint *v)
4412{
4413 d_1_3_Deprecated->f.MultiTexCoord3iv(target, v);
4414}
4415
4416inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r)
4417{
4418 d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r);
4419}
4420
4421inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3fv(GLenum target, const GLfloat *v)
4422{
4423 d_1_3_Deprecated->f.MultiTexCoord3fv(target, v);
4424}
4425
4426inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r)
4427{
4428 d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r);
4429}
4430
4431inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3dv(GLenum target, const GLdouble *v)
4432{
4433 d_1_3_Deprecated->f.MultiTexCoord3dv(target, v);
4434}
4435
4436inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r)
4437{
4438 d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r);
4439}
4440
4441inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2sv(GLenum target, const GLshort *v)
4442{
4443 d_1_3_Deprecated->f.MultiTexCoord2sv(target, v);
4444}
4445
4446inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t)
4447{
4448 d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t);
4449}
4450
4451inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2iv(GLenum target, const GLint *v)
4452{
4453 d_1_3_Deprecated->f.MultiTexCoord2iv(target, v);
4454}
4455
4456inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2i(GLenum target, GLint s, GLint t)
4457{
4458 d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t);
4459}
4460
4461inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2fv(GLenum target, const GLfloat *v)
4462{
4463 d_1_3_Deprecated->f.MultiTexCoord2fv(target, v);
4464}
4465
4466inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t)
4467{
4468 d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t);
4469}
4470
4471inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2dv(GLenum target, const GLdouble *v)
4472{
4473 d_1_3_Deprecated->f.MultiTexCoord2dv(target, v);
4474}
4475
4476inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t)
4477{
4478 d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t);
4479}
4480
4481inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1sv(GLenum target, const GLshort *v)
4482{
4483 d_1_3_Deprecated->f.MultiTexCoord1sv(target, v);
4484}
4485
4486inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1s(GLenum target, GLshort s)
4487{
4488 d_1_3_Deprecated->f.MultiTexCoord1s(target, s);
4489}
4490
4491inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1iv(GLenum target, const GLint *v)
4492{
4493 d_1_3_Deprecated->f.MultiTexCoord1iv(target, v);
4494}
4495
4496inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1i(GLenum target, GLint s)
4497{
4498 d_1_3_Deprecated->f.MultiTexCoord1i(target, s);
4499}
4500
4501inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1fv(GLenum target, const GLfloat *v)
4502{
4503 d_1_3_Deprecated->f.MultiTexCoord1fv(target, v);
4504}
4505
4506inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1f(GLenum target, GLfloat s)
4507{
4508 d_1_3_Deprecated->f.MultiTexCoord1f(target, s);
4509}
4510
4511inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1dv(GLenum target, const GLdouble *v)
4512{
4513 d_1_3_Deprecated->f.MultiTexCoord1dv(target, v);
4514}
4515
4516inline void QOpenGLFunctions_4_0_Compatibility::glMultiTexCoord1d(GLenum target, GLdouble s)
4517{
4518 d_1_3_Deprecated->f.MultiTexCoord1d(target, s);
4519}
4520
4521inline void QOpenGLFunctions_4_0_Compatibility::glClientActiveTexture(GLenum texture)
4522{
4523 d_1_3_Deprecated->f.ClientActiveTexture(texture);
4524}
4525
4526
4527// OpenGL 1.4 deprecated functions
4528inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3sv(const GLshort *v)
4529{
4530 d_1_4_Deprecated->f.WindowPos3sv(v);
4531}
4532
4533inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3s(GLshort x, GLshort y, GLshort z)
4534{
4535 d_1_4_Deprecated->f.WindowPos3s(x, y, z);
4536}
4537
4538inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3iv(const GLint *v)
4539{
4540 d_1_4_Deprecated->f.WindowPos3iv(v);
4541}
4542
4543inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3i(GLint x, GLint y, GLint z)
4544{
4545 d_1_4_Deprecated->f.WindowPos3i(x, y, z);
4546}
4547
4548inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3fv(const GLfloat *v)
4549{
4550 d_1_4_Deprecated->f.WindowPos3fv(v);
4551}
4552
4553inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z)
4554{
4555 d_1_4_Deprecated->f.WindowPos3f(x, y, z);
4556}
4557
4558inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3dv(const GLdouble *v)
4559{
4560 d_1_4_Deprecated->f.WindowPos3dv(v);
4561}
4562
4563inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z)
4564{
4565 d_1_4_Deprecated->f.WindowPos3d(x, y, z);
4566}
4567
4568inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2sv(const GLshort *v)
4569{
4570 d_1_4_Deprecated->f.WindowPos2sv(v);
4571}
4572
4573inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2s(GLshort x, GLshort y)
4574{
4575 d_1_4_Deprecated->f.WindowPos2s(x, y);
4576}
4577
4578inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2iv(const GLint *v)
4579{
4580 d_1_4_Deprecated->f.WindowPos2iv(v);
4581}
4582
4583inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2i(GLint x, GLint y)
4584{
4585 d_1_4_Deprecated->f.WindowPos2i(x, y);
4586}
4587
4588inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2fv(const GLfloat *v)
4589{
4590 d_1_4_Deprecated->f.WindowPos2fv(v);
4591}
4592
4593inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2f(GLfloat x, GLfloat y)
4594{
4595 d_1_4_Deprecated->f.WindowPos2f(x, y);
4596}
4597
4598inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2dv(const GLdouble *v)
4599{
4600 d_1_4_Deprecated->f.WindowPos2dv(v);
4601}
4602
4603inline void QOpenGLFunctions_4_0_Compatibility::glWindowPos2d(GLdouble x, GLdouble y)
4604{
4605 d_1_4_Deprecated->f.WindowPos2d(x, y);
4606}
4607
4608inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
4609{
4610 d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer);
4611}
4612
4613inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3usv(const GLushort *v)
4614{
4615 d_1_4_Deprecated->f.SecondaryColor3usv(v);
4616}
4617
4618inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue)
4619{
4620 d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue);
4621}
4622
4623inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3uiv(const GLuint *v)
4624{
4625 d_1_4_Deprecated->f.SecondaryColor3uiv(v);
4626}
4627
4628inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue)
4629{
4630 d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue);
4631}
4632
4633inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3ubv(const GLubyte *v)
4634{
4635 d_1_4_Deprecated->f.SecondaryColor3ubv(v);
4636}
4637
4638inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue)
4639{
4640 d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue);
4641}
4642
4643inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3sv(const GLshort *v)
4644{
4645 d_1_4_Deprecated->f.SecondaryColor3sv(v);
4646}
4647
4648inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue)
4649{
4650 d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue);
4651}
4652
4653inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3iv(const GLint *v)
4654{
4655 d_1_4_Deprecated->f.SecondaryColor3iv(v);
4656}
4657
4658inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3i(GLint red, GLint green, GLint blue)
4659{
4660 d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue);
4661}
4662
4663inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3fv(const GLfloat *v)
4664{
4665 d_1_4_Deprecated->f.SecondaryColor3fv(v);
4666}
4667
4668inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue)
4669{
4670 d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue);
4671}
4672
4673inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3dv(const GLdouble *v)
4674{
4675 d_1_4_Deprecated->f.SecondaryColor3dv(v);
4676}
4677
4678inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue)
4679{
4680 d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue);
4681}
4682
4683inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3bv(const GLbyte *v)
4684{
4685 d_1_4_Deprecated->f.SecondaryColor3bv(v);
4686}
4687
4688inline void QOpenGLFunctions_4_0_Compatibility::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue)
4689{
4690 d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue);
4691}
4692
4693inline void QOpenGLFunctions_4_0_Compatibility::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
4694{
4695 d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer);
4696}
4697
4698inline void QOpenGLFunctions_4_0_Compatibility::glFogCoorddv(const GLdouble *coord)
4699{
4700 d_1_4_Deprecated->f.FogCoorddv(coord);
4701}
4702
4703inline void QOpenGLFunctions_4_0_Compatibility::glFogCoordd(GLdouble coord)
4704{
4705 d_1_4_Deprecated->f.FogCoordd(coord);
4706}
4707
4708inline void QOpenGLFunctions_4_0_Compatibility::glFogCoordfv(const GLfloat *coord)
4709{
4710 d_1_4_Deprecated->f.FogCoordfv(coord);
4711}
4712
4713inline void QOpenGLFunctions_4_0_Compatibility::glFogCoordf(GLfloat coord)
4714{
4715 d_1_4_Deprecated->f.FogCoordf(coord);
4716}
4717
4718
4719// OpenGL 1.5 deprecated functions
4720
4721// OpenGL 2.0 deprecated functions
4722inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4usv(GLuint index, const GLushort *v)
4723{
4724 d_2_0_Core->f.VertexAttrib4usv(index, v);
4725}
4726
4727inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4uiv(GLuint index, const GLuint *v)
4728{
4729 d_2_0_Core->f.VertexAttrib4uiv(index, v);
4730}
4731
4732inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4ubv(GLuint index, const GLubyte *v)
4733{
4734 d_2_0_Core->f.VertexAttrib4ubv(index, v);
4735}
4736
4737inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4sv(GLuint index, const GLshort *v)
4738{
4739 d_2_0_Core->f.VertexAttrib4sv(index, v);
4740}
4741
4742inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w)
4743{
4744 d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w);
4745}
4746
4747inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4iv(GLuint index, const GLint *v)
4748{
4749 d_2_0_Core->f.VertexAttrib4iv(index, v);
4750}
4751
4752inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4fv(GLuint index, const GLfloat *v)
4753{
4754 d_2_0_Core->f.VertexAttrib4fv(index, v);
4755}
4756
4757inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w)
4758{
4759 d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w);
4760}
4761
4762inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4dv(GLuint index, const GLdouble *v)
4763{
4764 d_2_0_Core->f.VertexAttrib4dv(index, v);
4765}
4766
4767inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
4768{
4769 d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w);
4770}
4771
4772inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4bv(GLuint index, const GLbyte *v)
4773{
4774 d_2_0_Core->f.VertexAttrib4bv(index, v);
4775}
4776
4777inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nusv(GLuint index, const GLushort *v)
4778{
4779 d_2_0_Core->f.VertexAttrib4Nusv(index, v);
4780}
4781
4782inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nuiv(GLuint index, const GLuint *v)
4783{
4784 d_2_0_Core->f.VertexAttrib4Nuiv(index, v);
4785}
4786
4787inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nubv(GLuint index, const GLubyte *v)
4788{
4789 d_2_0_Core->f.VertexAttrib4Nubv(index, v);
4790}
4791
4792inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w)
4793{
4794 d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w);
4795}
4796
4797inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nsv(GLuint index, const GLshort *v)
4798{
4799 d_2_0_Core->f.VertexAttrib4Nsv(index, v);
4800}
4801
4802inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Niv(GLuint index, const GLint *v)
4803{
4804 d_2_0_Core->f.VertexAttrib4Niv(index, v);
4805}
4806
4807inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib4Nbv(GLuint index, const GLbyte *v)
4808{
4809 d_2_0_Core->f.VertexAttrib4Nbv(index, v);
4810}
4811
4812inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3sv(GLuint index, const GLshort *v)
4813{
4814 d_2_0_Core->f.VertexAttrib3sv(index, v);
4815}
4816
4817inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z)
4818{
4819 d_2_0_Core->f.VertexAttrib3s(index, x, y, z);
4820}
4821
4822inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3fv(GLuint index, const GLfloat *v)
4823{
4824 d_2_0_Core->f.VertexAttrib3fv(index, v);
4825}
4826
4827inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z)
4828{
4829 d_2_0_Core->f.VertexAttrib3f(index, x, y, z);
4830}
4831
4832inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3dv(GLuint index, const GLdouble *v)
4833{
4834 d_2_0_Core->f.VertexAttrib3dv(index, v);
4835}
4836
4837inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
4838{
4839 d_2_0_Core->f.VertexAttrib3d(index, x, y, z);
4840}
4841
4842inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2sv(GLuint index, const GLshort *v)
4843{
4844 d_2_0_Core->f.VertexAttrib2sv(index, v);
4845}
4846
4847inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2s(GLuint index, GLshort x, GLshort y)
4848{
4849 d_2_0_Core->f.VertexAttrib2s(index, x, y);
4850}
4851
4852inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2fv(GLuint index, const GLfloat *v)
4853{
4854 d_2_0_Core->f.VertexAttrib2fv(index, v);
4855}
4856
4857inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y)
4858{
4859 d_2_0_Core->f.VertexAttrib2f(index, x, y);
4860}
4861
4862inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2dv(GLuint index, const GLdouble *v)
4863{
4864 d_2_0_Core->f.VertexAttrib2dv(index, v);
4865}
4866
4867inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y)
4868{
4869 d_2_0_Core->f.VertexAttrib2d(index, x, y);
4870}
4871
4872inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1sv(GLuint index, const GLshort *v)
4873{
4874 d_2_0_Core->f.VertexAttrib1sv(index, v);
4875}
4876
4877inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1s(GLuint index, GLshort x)
4878{
4879 d_2_0_Core->f.VertexAttrib1s(index, x);
4880}
4881
4882inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1fv(GLuint index, const GLfloat *v)
4883{
4884 d_2_0_Core->f.VertexAttrib1fv(index, v);
4885}
4886
4887inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1f(GLuint index, GLfloat x)
4888{
4889 d_2_0_Core->f.VertexAttrib1f(index, x);
4890}
4891
4892inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1dv(GLuint index, const GLdouble *v)
4893{
4894 d_2_0_Core->f.VertexAttrib1dv(index, v);
4895}
4896
4897inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttrib1d(GLuint index, GLdouble x)
4898{
4899 d_2_0_Core->f.VertexAttrib1d(index, x);
4900}
4901
4902
4903// OpenGL 2.1 deprecated functions
4904
4905// OpenGL 3.0 deprecated functions
4906inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4usv(GLuint index, const GLushort *v)
4907{
4908 d_3_0_Core->f.VertexAttribI4usv(index, v);
4909}
4910
4911inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4ubv(GLuint index, const GLubyte *v)
4912{
4913 d_3_0_Core->f.VertexAttribI4ubv(index, v);
4914}
4915
4916inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4sv(GLuint index, const GLshort *v)
4917{
4918 d_3_0_Core->f.VertexAttribI4sv(index, v);
4919}
4920
4921inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4bv(GLuint index, const GLbyte *v)
4922{
4923 d_3_0_Core->f.VertexAttribI4bv(index, v);
4924}
4925
4926inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4uiv(GLuint index, const GLuint *v)
4927{
4928 d_3_0_Core->f.VertexAttribI4uiv(index, v);
4929}
4930
4931inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI3uiv(GLuint index, const GLuint *v)
4932{
4933 d_3_0_Core->f.VertexAttribI3uiv(index, v);
4934}
4935
4936inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI2uiv(GLuint index, const GLuint *v)
4937{
4938 d_3_0_Core->f.VertexAttribI2uiv(index, v);
4939}
4940
4941inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1uiv(GLuint index, const GLuint *v)
4942{
4943 d_3_0_Core->f.VertexAttribI1uiv(index, v);
4944}
4945
4946inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4iv(GLuint index, const GLint *v)
4947{
4948 d_3_0_Core->f.VertexAttribI4iv(index, v);
4949}
4950
4951inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI3iv(GLuint index, const GLint *v)
4952{
4953 d_3_0_Core->f.VertexAttribI3iv(index, v);
4954}
4955
4956inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI2iv(GLuint index, const GLint *v)
4957{
4958 d_3_0_Core->f.VertexAttribI2iv(index, v);
4959}
4960
4961inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1iv(GLuint index, const GLint *v)
4962{
4963 d_3_0_Core->f.VertexAttribI1iv(index, v);
4964}
4965
4966inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w)
4967{
4968 d_3_0_Core->f.VertexAttribI4ui(index, x, y, z, w);
4969}
4970
4971inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z)
4972{
4973 d_3_0_Core->f.VertexAttribI3ui(index, x, y, z);
4974}
4975
4976inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI2ui(GLuint index, GLuint x, GLuint y)
4977{
4978 d_3_0_Core->f.VertexAttribI2ui(index, x, y);
4979}
4980
4981inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1ui(GLuint index, GLuint x)
4982{
4983 d_3_0_Core->f.VertexAttribI1ui(index, x);
4984}
4985
4986inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w)
4987{
4988 d_3_0_Core->f.VertexAttribI4i(index, x, y, z, w);
4989}
4990
4991inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z)
4992{
4993 d_3_0_Core->f.VertexAttribI3i(index, x, y, z);
4994}
4995
4996inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI2i(GLuint index, GLint x, GLint y)
4997{
4998 d_3_0_Core->f.VertexAttribI2i(index, x, y);
4999}
5000
5001inline void QOpenGLFunctions_4_0_Compatibility::glVertexAttribI1i(GLuint index, GLint x)
5002{
5003 d_3_0_Core->f.VertexAttribI1i(index, x);
5004}
5005
5006
5007// OpenGL 3.1 deprecated functions
5008
5009// OpenGL 3.2 deprecated functions
5010
5011// OpenGL 3.3 deprecated functions
5012
5013// OpenGL 4.0 deprecated functions
5014
5015
5016QT_END_NAMESPACE
5017
5018#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
5019
5020#endif
5021