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