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

source code of qtbase/src/gui/opengl/qopenglfunctions_4_2_compatibility.h