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_CORE_H
51#define QOPENGLVERSIONFUNCTIONS_4_2_CORE_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_Core : public QAbstractOpenGLFunctions
69{
70public:
71 QOpenGLFunctions_4_2_Core();
72 ~QOpenGLFunctions_4_2_Core();
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
573private:
574 friend class QOpenGLContext;
575
576 static bool isContextCompatible(QOpenGLContext *context);
577 static QOpenGLVersionProfile versionProfile();
578
579 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
580 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
581 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
582 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
583 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
584 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
585 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
586 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
587 QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core;
588 QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core;
589 QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core;
590 QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core;
591 QOpenGLFunctions_4_0_CoreBackend* d_4_0_Core;
592 QOpenGLFunctions_4_1_CoreBackend* d_4_1_Core;
593 QOpenGLFunctions_4_2_CoreBackend* d_4_2_Core;
594};
595
596// OpenGL 1.0 core functions
597inline void QOpenGLFunctions_4_2_Core::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
598{
599 d_1_0_Core->f.Viewport(x, y, width, height);
600}
601
602inline void QOpenGLFunctions_4_2_Core::glDepthRange(GLdouble nearVal, GLdouble farVal)
603{
604 d_1_0_Core->f.DepthRange(nearVal, farVal);
605}
606
607inline GLboolean QOpenGLFunctions_4_2_Core::glIsEnabled(GLenum cap)
608{
609 return d_1_0_Core->f.IsEnabled(cap);
610}
611
612inline void QOpenGLFunctions_4_2_Core::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
613{
614 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
615}
616
617inline void QOpenGLFunctions_4_2_Core::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
618{
619 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
620}
621
622inline void QOpenGLFunctions_4_2_Core::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
623{
624 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
625}
626
627inline void QOpenGLFunctions_4_2_Core::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
628{
629 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
630}
631
632inline void QOpenGLFunctions_4_2_Core::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
633{
634 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
635}
636
637inline const GLubyte * QOpenGLFunctions_4_2_Core::glGetString(GLenum name)
638{
639 return d_1_0_Core->f.GetString(name);
640}
641
642inline void QOpenGLFunctions_4_2_Core::glGetIntegerv(GLenum pname, GLint *params)
643{
644 d_1_0_Core->f.GetIntegerv(pname, params);
645}
646
647inline void QOpenGLFunctions_4_2_Core::glGetFloatv(GLenum pname, GLfloat *params)
648{
649 d_1_0_Core->f.GetFloatv(pname, params);
650}
651
652inline GLenum QOpenGLFunctions_4_2_Core::glGetError()
653{
654 return d_1_0_Core->f.GetError();
655}
656
657inline void QOpenGLFunctions_4_2_Core::glGetDoublev(GLenum pname, GLdouble *params)
658{
659 d_1_0_Core->f.GetDoublev(pname, params);
660}
661
662inline void QOpenGLFunctions_4_2_Core::glGetBooleanv(GLenum pname, GLboolean *params)
663{
664 d_1_0_Core->f.GetBooleanv(pname, params);
665}
666
667inline void QOpenGLFunctions_4_2_Core::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
668{
669 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
670}
671
672inline void QOpenGLFunctions_4_2_Core::glReadBuffer(GLenum mode)
673{
674 d_1_0_Core->f.ReadBuffer(mode);
675}
676
677inline void QOpenGLFunctions_4_2_Core::glPixelStorei(GLenum pname, GLint param)
678{
679 d_1_0_Core->f.PixelStorei(pname, param);
680}
681
682inline void QOpenGLFunctions_4_2_Core::glPixelStoref(GLenum pname, GLfloat param)
683{
684 d_1_0_Core->f.PixelStoref(pname, param);
685}
686
687inline void QOpenGLFunctions_4_2_Core::glDepthFunc(GLenum func)
688{
689 d_1_0_Core->f.DepthFunc(func);
690}
691
692inline void QOpenGLFunctions_4_2_Core::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
693{
694 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
695}
696
697inline void QOpenGLFunctions_4_2_Core::glStencilFunc(GLenum func, GLint ref, GLuint mask)
698{
699 d_1_0_Core->f.StencilFunc(func, ref, mask);
700}
701
702inline void QOpenGLFunctions_4_2_Core::glLogicOp(GLenum opcode)
703{
704 d_1_0_Core->f.LogicOp(opcode);
705}
706
707inline void QOpenGLFunctions_4_2_Core::glBlendFunc(GLenum sfactor, GLenum dfactor)
708{
709 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
710}
711
712inline void QOpenGLFunctions_4_2_Core::glFlush()
713{
714 d_1_0_Core->f.Flush();
715}
716
717inline void QOpenGLFunctions_4_2_Core::glFinish()
718{
719 d_1_0_Core->f.Finish();
720}
721
722inline void QOpenGLFunctions_4_2_Core::glEnable(GLenum cap)
723{
724 d_1_0_Core->f.Enable(cap);
725}
726
727inline void QOpenGLFunctions_4_2_Core::glDisable(GLenum cap)
728{
729 d_1_0_Core->f.Disable(cap);
730}
731
732inline void QOpenGLFunctions_4_2_Core::glDepthMask(GLboolean flag)
733{
734 d_1_0_Core->f.DepthMask(flag);
735}
736
737inline void QOpenGLFunctions_4_2_Core::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
738{
739 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
740}
741
742inline void QOpenGLFunctions_4_2_Core::glStencilMask(GLuint mask)
743{
744 d_1_0_Core->f.StencilMask(mask);
745}
746
747inline void QOpenGLFunctions_4_2_Core::glClearDepth(GLdouble depth)
748{
749 d_1_0_Core->f.ClearDepth(depth);
750}
751
752inline void QOpenGLFunctions_4_2_Core::glClearStencil(GLint s)
753{
754 d_1_0_Core->f.ClearStencil(s);
755}
756
757inline void QOpenGLFunctions_4_2_Core::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
758{
759 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
760}
761
762inline void QOpenGLFunctions_4_2_Core::glClear(GLbitfield mask)
763{
764 d_1_0_Core->f.Clear(mask);
765}
766
767inline void QOpenGLFunctions_4_2_Core::glDrawBuffer(GLenum mode)
768{
769 d_1_0_Core->f.DrawBuffer(mode);
770}
771
772inline void QOpenGLFunctions_4_2_Core::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
773{
774 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
775}
776
777inline void QOpenGLFunctions_4_2_Core::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
778{
779 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
780}
781
782inline void QOpenGLFunctions_4_2_Core::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
783{
784 d_1_0_Core->f.TexParameteriv(target, pname, params);
785}
786
787inline void QOpenGLFunctions_4_2_Core::glTexParameteri(GLenum target, GLenum pname, GLint param)
788{
789 d_1_0_Core->f.TexParameteri(target, pname, param);
790}
791
792inline void QOpenGLFunctions_4_2_Core::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
793{
794 d_1_0_Core->f.TexParameterfv(target, pname, params);
795}
796
797inline void QOpenGLFunctions_4_2_Core::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
798{
799 d_1_0_Core->f.TexParameterf(target, pname, param);
800}
801
802inline void QOpenGLFunctions_4_2_Core::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
803{
804 d_1_0_Core->f.Scissor(x, y, width, height);
805}
806
807inline void QOpenGLFunctions_4_2_Core::glPolygonMode(GLenum face, GLenum mode)
808{
809 d_1_0_Core->f.PolygonMode(face, mode);
810}
811
812inline void QOpenGLFunctions_4_2_Core::glPointSize(GLfloat size)
813{
814 d_1_0_Core->f.PointSize(size);
815}
816
817inline void QOpenGLFunctions_4_2_Core::glLineWidth(GLfloat width)
818{
819 d_1_0_Core->f.LineWidth(width);
820}
821
822inline void QOpenGLFunctions_4_2_Core::glHint(GLenum target, GLenum mode)
823{
824 d_1_0_Core->f.Hint(target, mode);
825}
826
827inline void QOpenGLFunctions_4_2_Core::glFrontFace(GLenum mode)
828{
829 d_1_0_Core->f.FrontFace(mode);
830}
831
832inline void QOpenGLFunctions_4_2_Core::glCullFace(GLenum mode)
833{
834 d_1_0_Core->f.CullFace(mode);
835}
836
837
838// OpenGL 1.1 core functions
839inline void QOpenGLFunctions_4_2_Core::glIndexubv(const GLubyte *c)
840{
841 Q_UNUSED(c);
842 QOPENGL_DEPRECATEDFUNCTION;
843}
844
845inline void QOpenGLFunctions_4_2_Core::glIndexub(GLubyte c)
846{
847 Q_UNUSED(c);
848 QOPENGL_DEPRECATEDFUNCTION;
849}
850
851inline GLboolean QOpenGLFunctions_4_2_Core::glIsTexture(GLuint texture)
852{
853 return d_1_1_Core->f.IsTexture(texture);
854}
855
856inline void QOpenGLFunctions_4_2_Core::glGenTextures(GLsizei n, GLuint *textures)
857{
858 d_1_1_Core->f.GenTextures(n, textures);
859}
860
861inline void QOpenGLFunctions_4_2_Core::glDeleteTextures(GLsizei n, const GLuint *textures)
862{
863 d_1_1_Core->f.DeleteTextures(n, textures);
864}
865
866inline void QOpenGLFunctions_4_2_Core::glBindTexture(GLenum target, GLuint texture)
867{
868 d_1_1_Core->f.BindTexture(target, texture);
869}
870
871inline void QOpenGLFunctions_4_2_Core::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
872{
873 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
874}
875
876inline void QOpenGLFunctions_4_2_Core::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
877{
878 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
879}
880
881inline void QOpenGLFunctions_4_2_Core::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
882{
883 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
884}
885
886inline void QOpenGLFunctions_4_2_Core::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
887{
888 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
889}
890
891inline void QOpenGLFunctions_4_2_Core::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
892{
893 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
894}
895
896inline void QOpenGLFunctions_4_2_Core::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
897{
898 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
899}
900
901inline void QOpenGLFunctions_4_2_Core::glPolygonOffset(GLfloat factor, GLfloat units)
902{
903 d_1_1_Core->f.PolygonOffset(factor, units);
904}
905
906inline void QOpenGLFunctions_4_2_Core::glGetPointerv(GLenum pname, GLvoid* *params)
907{
908 Q_UNUSED(pname);
909 Q_UNUSED(params);
910 QOPENGL_DEPRECATEDFUNCTION;
911}
912
913inline void QOpenGLFunctions_4_2_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
914{
915 d_1_1_Core->f.DrawElements(mode, count, type, indices);
916}
917
918inline void QOpenGLFunctions_4_2_Core::glDrawArrays(GLenum mode, GLint first, GLsizei count)
919{
920 d_1_1_Core->f.DrawArrays(mode, first, count);
921}
922
923
924// OpenGL 1.2 core functions
925inline void QOpenGLFunctions_4_2_Core::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
926{
927 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
928}
929
930inline void QOpenGLFunctions_4_2_Core::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels)
931{
932 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
933}
934
935inline void QOpenGLFunctions_4_2_Core::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
936{
937 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
938}
939
940inline void QOpenGLFunctions_4_2_Core::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
941{
942 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
943}
944
945inline void QOpenGLFunctions_4_2_Core::glBlendEquation(GLenum mode)
946{
947 d_1_2_Core->f.BlendEquation(mode);
948}
949
950inline void QOpenGLFunctions_4_2_Core::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
951{
952 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
953}
954
955
956// OpenGL 1.3 core functions
957inline void QOpenGLFunctions_4_2_Core::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
958{
959 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
960}
961
962inline void QOpenGLFunctions_4_2_Core::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
963{
964 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
965}
966
967inline void QOpenGLFunctions_4_2_Core::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
968{
969 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
970}
971
972inline void QOpenGLFunctions_4_2_Core::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data)
973{
974 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
975}
976
977inline void QOpenGLFunctions_4_2_Core::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
978{
979 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
980}
981
982inline void QOpenGLFunctions_4_2_Core::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
983{
984 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
985}
986
987inline void QOpenGLFunctions_4_2_Core::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
988{
989 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
990}
991
992inline void QOpenGLFunctions_4_2_Core::glSampleCoverage(GLfloat value, GLboolean invert)
993{
994 d_1_3_Core->f.SampleCoverage(value, invert);
995}
996
997inline void QOpenGLFunctions_4_2_Core::glActiveTexture(GLenum texture)
998{
999 d_1_3_Core->f.ActiveTexture(texture);
1000}
1001
1002
1003// OpenGL 1.4 core functions
1004inline void QOpenGLFunctions_4_2_Core::glPointParameteriv(GLenum pname, const GLint *params)
1005{
1006 d_1_4_Core->f.PointParameteriv(pname, params);
1007}
1008
1009inline void QOpenGLFunctions_4_2_Core::glPointParameteri(GLenum pname, GLint param)
1010{
1011 d_1_4_Core->f.PointParameteri(pname, param);
1012}
1013
1014inline void QOpenGLFunctions_4_2_Core::glPointParameterfv(GLenum pname, const GLfloat *params)
1015{
1016 d_1_4_Core->f.PointParameterfv(pname, params);
1017}
1018
1019inline void QOpenGLFunctions_4_2_Core::glPointParameterf(GLenum pname, GLfloat param)
1020{
1021 d_1_4_Core->f.PointParameterf(pname, param);
1022}
1023
1024inline void QOpenGLFunctions_4_2_Core::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
1025{
1026 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
1027}
1028
1029inline void QOpenGLFunctions_4_2_Core::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
1030{
1031 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
1032}
1033
1034inline void QOpenGLFunctions_4_2_Core::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
1035{
1036 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
1037}
1038
1039
1040// OpenGL 1.5 core functions
1041inline void QOpenGLFunctions_4_2_Core::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
1042{
1043 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
1044}
1045
1046inline void QOpenGLFunctions_4_2_Core::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
1047{
1048 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
1049}
1050
1051inline GLboolean QOpenGLFunctions_4_2_Core::glUnmapBuffer(GLenum target)
1052{
1053 return d_1_5_Core->f.UnmapBuffer(target);
1054}
1055
1056inline GLvoid* QOpenGLFunctions_4_2_Core::glMapBuffer(GLenum target, GLenum access)
1057{
1058 return d_1_5_Core->f.MapBuffer(target, access);
1059}
1060
1061inline void QOpenGLFunctions_4_2_Core::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
1062{
1063 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
1064}
1065
1066inline void QOpenGLFunctions_4_2_Core::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
1067{
1068 d_1_5_Core->f.BufferSubData(target, offset, size, data);
1069}
1070
1071inline void QOpenGLFunctions_4_2_Core::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1072{
1073 d_1_5_Core->f.BufferData(target, size, data, usage);
1074}
1075
1076inline GLboolean QOpenGLFunctions_4_2_Core::glIsBuffer(GLuint buffer)
1077{
1078 return d_1_5_Core->f.IsBuffer(buffer);
1079}
1080
1081inline void QOpenGLFunctions_4_2_Core::glGenBuffers(GLsizei n, GLuint *buffers)
1082{
1083 d_1_5_Core->f.GenBuffers(n, buffers);
1084}
1085
1086inline void QOpenGLFunctions_4_2_Core::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1087{
1088 d_1_5_Core->f.DeleteBuffers(n, buffers);
1089}
1090
1091inline void QOpenGLFunctions_4_2_Core::glBindBuffer(GLenum target, GLuint buffer)
1092{
1093 d_1_5_Core->f.BindBuffer(target, buffer);
1094}
1095
1096inline void QOpenGLFunctions_4_2_Core::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1097{
1098 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1099}
1100
1101inline void QOpenGLFunctions_4_2_Core::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1102{
1103 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1104}
1105
1106inline void QOpenGLFunctions_4_2_Core::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1107{
1108 d_1_5_Core->f.GetQueryiv(target, pname, params);
1109}
1110
1111inline void QOpenGLFunctions_4_2_Core::glEndQuery(GLenum target)
1112{
1113 d_1_5_Core->f.EndQuery(target);
1114}
1115
1116inline void QOpenGLFunctions_4_2_Core::glBeginQuery(GLenum target, GLuint id)
1117{
1118 d_1_5_Core->f.BeginQuery(target, id);
1119}
1120
1121inline GLboolean QOpenGLFunctions_4_2_Core::glIsQuery(GLuint id)
1122{
1123 return d_1_5_Core->f.IsQuery(id);
1124}
1125
1126inline void QOpenGLFunctions_4_2_Core::glDeleteQueries(GLsizei n, const GLuint *ids)
1127{
1128 d_1_5_Core->f.DeleteQueries(n, ids);
1129}
1130
1131inline void QOpenGLFunctions_4_2_Core::glGenQueries(GLsizei n, GLuint *ids)
1132{
1133 d_1_5_Core->f.GenQueries(n, ids);
1134}
1135
1136
1137// OpenGL 2.0 core functions
1138inline void QOpenGLFunctions_4_2_Core::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1139{
1140 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1141}
1142
1143inline void QOpenGLFunctions_4_2_Core::glValidateProgram(GLuint program)
1144{
1145 d_2_0_Core->f.ValidateProgram(program);
1146}
1147
1148inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1149{
1150 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1151}
1152
1153inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1154{
1155 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1156}
1157
1158inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1159{
1160 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1161}
1162
1163inline void QOpenGLFunctions_4_2_Core::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1164{
1165 d_2_0_Core->f.Uniform4iv(location, count, value);
1166}
1167
1168inline void QOpenGLFunctions_4_2_Core::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1169{
1170 d_2_0_Core->f.Uniform3iv(location, count, value);
1171}
1172
1173inline void QOpenGLFunctions_4_2_Core::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1174{
1175 d_2_0_Core->f.Uniform2iv(location, count, value);
1176}
1177
1178inline void QOpenGLFunctions_4_2_Core::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1179{
1180 d_2_0_Core->f.Uniform1iv(location, count, value);
1181}
1182
1183inline void QOpenGLFunctions_4_2_Core::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1184{
1185 d_2_0_Core->f.Uniform4fv(location, count, value);
1186}
1187
1188inline void QOpenGLFunctions_4_2_Core::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1189{
1190 d_2_0_Core->f.Uniform3fv(location, count, value);
1191}
1192
1193inline void QOpenGLFunctions_4_2_Core::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1194{
1195 d_2_0_Core->f.Uniform2fv(location, count, value);
1196}
1197
1198inline void QOpenGLFunctions_4_2_Core::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1199{
1200 d_2_0_Core->f.Uniform1fv(location, count, value);
1201}
1202
1203inline void QOpenGLFunctions_4_2_Core::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1204{
1205 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1206}
1207
1208inline void QOpenGLFunctions_4_2_Core::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1209{
1210 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1211}
1212
1213inline void QOpenGLFunctions_4_2_Core::glUniform2i(GLint location, GLint v0, GLint v1)
1214{
1215 d_2_0_Core->f.Uniform2i(location, v0, v1);
1216}
1217
1218inline void QOpenGLFunctions_4_2_Core::glUniform1i(GLint location, GLint v0)
1219{
1220 d_2_0_Core->f.Uniform1i(location, v0);
1221}
1222
1223inline void QOpenGLFunctions_4_2_Core::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1224{
1225 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1226}
1227
1228inline void QOpenGLFunctions_4_2_Core::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1229{
1230 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1231}
1232
1233inline void QOpenGLFunctions_4_2_Core::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1234{
1235 d_2_0_Core->f.Uniform2f(location, v0, v1);
1236}
1237
1238inline void QOpenGLFunctions_4_2_Core::glUniform1f(GLint location, GLfloat v0)
1239{
1240 d_2_0_Core->f.Uniform1f(location, v0);
1241}
1242
1243inline void QOpenGLFunctions_4_2_Core::glUseProgram(GLuint program)
1244{
1245 d_2_0_Core->f.UseProgram(program);
1246}
1247
1248inline void QOpenGLFunctions_4_2_Core::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1249{
1250 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1251}
1252
1253inline void QOpenGLFunctions_4_2_Core::glLinkProgram(GLuint program)
1254{
1255 d_2_0_Core->f.LinkProgram(program);
1256}
1257
1258inline GLboolean QOpenGLFunctions_4_2_Core::glIsShader(GLuint shader)
1259{
1260 return d_2_0_Core->f.IsShader(shader);
1261}
1262
1263inline GLboolean QOpenGLFunctions_4_2_Core::glIsProgram(GLuint program)
1264{
1265 return d_2_0_Core->f.IsProgram(program);
1266}
1267
1268inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1269{
1270 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1271}
1272
1273inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1274{
1275 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1276}
1277
1278inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1279{
1280 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1281}
1282
1283inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1284{
1285 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1286}
1287
1288inline void QOpenGLFunctions_4_2_Core::glGetUniformiv(GLuint program, GLint location, GLint *params)
1289{
1290 d_2_0_Core->f.GetUniformiv(program, location, params);
1291}
1292
1293inline void QOpenGLFunctions_4_2_Core::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1294{
1295 d_2_0_Core->f.GetUniformfv(program, location, params);
1296}
1297
1298inline GLint QOpenGLFunctions_4_2_Core::glGetUniformLocation(GLuint program, const GLchar *name)
1299{
1300 return d_2_0_Core->f.GetUniformLocation(program, name);
1301}
1302
1303inline void QOpenGLFunctions_4_2_Core::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1304{
1305 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1306}
1307
1308inline void QOpenGLFunctions_4_2_Core::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1309{
1310 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1311}
1312
1313inline void QOpenGLFunctions_4_2_Core::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1314{
1315 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1316}
1317
1318inline void QOpenGLFunctions_4_2_Core::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1319{
1320 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1321}
1322
1323inline void QOpenGLFunctions_4_2_Core::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1324{
1325 d_2_0_Core->f.GetProgramiv(program, pname, params);
1326}
1327
1328inline GLint QOpenGLFunctions_4_2_Core::glGetAttribLocation(GLuint program, const GLchar *name)
1329{
1330 return d_2_0_Core->f.GetAttribLocation(program, name);
1331}
1332
1333inline void QOpenGLFunctions_4_2_Core::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1334{
1335 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1336}
1337
1338inline void QOpenGLFunctions_4_2_Core::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1339{
1340 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1341}
1342
1343inline void QOpenGLFunctions_4_2_Core::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1344{
1345 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1346}
1347
1348inline void QOpenGLFunctions_4_2_Core::glEnableVertexAttribArray(GLuint index)
1349{
1350 d_2_0_Core->f.EnableVertexAttribArray(index);
1351}
1352
1353inline void QOpenGLFunctions_4_2_Core::glDisableVertexAttribArray(GLuint index)
1354{
1355 d_2_0_Core->f.DisableVertexAttribArray(index);
1356}
1357
1358inline void QOpenGLFunctions_4_2_Core::glDetachShader(GLuint program, GLuint shader)
1359{
1360 d_2_0_Core->f.DetachShader(program, shader);
1361}
1362
1363inline void QOpenGLFunctions_4_2_Core::glDeleteShader(GLuint shader)
1364{
1365 d_2_0_Core->f.DeleteShader(shader);
1366}
1367
1368inline void QOpenGLFunctions_4_2_Core::glDeleteProgram(GLuint program)
1369{
1370 d_2_0_Core->f.DeleteProgram(program);
1371}
1372
1373inline GLuint QOpenGLFunctions_4_2_Core::glCreateShader(GLenum type)
1374{
1375 return d_2_0_Core->f.CreateShader(type);
1376}
1377
1378inline GLuint QOpenGLFunctions_4_2_Core::glCreateProgram()
1379{
1380 return d_2_0_Core->f.CreateProgram();
1381}
1382
1383inline void QOpenGLFunctions_4_2_Core::glCompileShader(GLuint shader)
1384{
1385 d_2_0_Core->f.CompileShader(shader);
1386}
1387
1388inline void QOpenGLFunctions_4_2_Core::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1389{
1390 d_2_0_Core->f.BindAttribLocation(program, index, name);
1391}
1392
1393inline void QOpenGLFunctions_4_2_Core::glAttachShader(GLuint program, GLuint shader)
1394{
1395 d_2_0_Core->f.AttachShader(program, shader);
1396}
1397
1398inline void QOpenGLFunctions_4_2_Core::glStencilMaskSeparate(GLenum face, GLuint mask)
1399{
1400 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1401}
1402
1403inline void QOpenGLFunctions_4_2_Core::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1404{
1405 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1406}
1407
1408inline void QOpenGLFunctions_4_2_Core::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1409{
1410 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1411}
1412
1413inline void QOpenGLFunctions_4_2_Core::glDrawBuffers(GLsizei n, const GLenum *bufs)
1414{
1415 d_2_0_Core->f.DrawBuffers(n, bufs);
1416}
1417
1418inline void QOpenGLFunctions_4_2_Core::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1419{
1420 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1421}
1422
1423
1424// OpenGL 2.1 core functions
1425inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1426{
1427 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1428}
1429
1430inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1431{
1432 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1433}
1434
1435inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1436{
1437 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1438}
1439
1440inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1441{
1442 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1443}
1444
1445inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1446{
1447 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1448}
1449
1450inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1451{
1452 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1453}
1454
1455
1456// OpenGL 3.0 core functions
1457inline GLboolean QOpenGLFunctions_4_2_Core::glIsVertexArray(GLuint array)
1458{
1459 return d_3_0_Core->f.IsVertexArray(array);
1460}
1461
1462inline void QOpenGLFunctions_4_2_Core::glGenVertexArrays(GLsizei n, GLuint *arrays)
1463{
1464 d_3_0_Core->f.GenVertexArrays(n, arrays);
1465}
1466
1467inline void QOpenGLFunctions_4_2_Core::glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
1468{
1469 d_3_0_Core->f.DeleteVertexArrays(n, arrays);
1470}
1471
1472inline void QOpenGLFunctions_4_2_Core::glBindVertexArray(GLuint array)
1473{
1474 d_3_0_Core->f.BindVertexArray(array);
1475}
1476
1477inline void QOpenGLFunctions_4_2_Core::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
1478{
1479 d_3_0_Core->f.FlushMappedBufferRange(target, offset, length);
1480}
1481
1482inline GLvoid* QOpenGLFunctions_4_2_Core::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
1483{
1484 return d_3_0_Core->f.MapBufferRange(target, offset, length, access);
1485}
1486
1487inline void QOpenGLFunctions_4_2_Core::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
1488{
1489 d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer);
1490}
1491
1492inline void QOpenGLFunctions_4_2_Core::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
1493{
1494 d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height);
1495}
1496
1497inline void QOpenGLFunctions_4_2_Core::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
1498{
1499 d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1500}
1501
1502inline void QOpenGLFunctions_4_2_Core::glGenerateMipmap(GLenum target)
1503{
1504 d_3_0_Core->f.GenerateMipmap(target);
1505}
1506
1507inline void QOpenGLFunctions_4_2_Core::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
1508{
1509 d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
1510}
1511
1512inline void QOpenGLFunctions_4_2_Core::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1513{
1514 d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1515}
1516
1517inline void QOpenGLFunctions_4_2_Core::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1518{
1519 d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
1520}
1521
1522inline void QOpenGLFunctions_4_2_Core::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1523{
1524 d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level);
1525}
1526
1527inline void QOpenGLFunctions_4_2_Core::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1528{
1529 d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level);
1530}
1531
1532inline GLenum QOpenGLFunctions_4_2_Core::glCheckFramebufferStatus(GLenum target)
1533{
1534 return d_3_0_Core->f.CheckFramebufferStatus(target);
1535}
1536
1537inline void QOpenGLFunctions_4_2_Core::glGenFramebuffers(GLsizei n, GLuint *framebuffers)
1538{
1539 d_3_0_Core->f.GenFramebuffers(n, framebuffers);
1540}
1541
1542inline void QOpenGLFunctions_4_2_Core::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
1543{
1544 d_3_0_Core->f.DeleteFramebuffers(n, framebuffers);
1545}
1546
1547inline void QOpenGLFunctions_4_2_Core::glBindFramebuffer(GLenum target, GLuint framebuffer)
1548{
1549 d_3_0_Core->f.BindFramebuffer(target, framebuffer);
1550}
1551
1552inline GLboolean QOpenGLFunctions_4_2_Core::glIsFramebuffer(GLuint framebuffer)
1553{
1554 return d_3_0_Core->f.IsFramebuffer(framebuffer);
1555}
1556
1557inline void QOpenGLFunctions_4_2_Core::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
1558{
1559 d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params);
1560}
1561
1562inline void QOpenGLFunctions_4_2_Core::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
1563{
1564 d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height);
1565}
1566
1567inline void QOpenGLFunctions_4_2_Core::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
1568{
1569 d_3_0_Core->f.GenRenderbuffers(n, renderbuffers);
1570}
1571
1572inline void QOpenGLFunctions_4_2_Core::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
1573{
1574 d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers);
1575}
1576
1577inline void QOpenGLFunctions_4_2_Core::glBindRenderbuffer(GLenum target, GLuint renderbuffer)
1578{
1579 d_3_0_Core->f.BindRenderbuffer(target, renderbuffer);
1580}
1581
1582inline GLboolean QOpenGLFunctions_4_2_Core::glIsRenderbuffer(GLuint renderbuffer)
1583{
1584 return d_3_0_Core->f.IsRenderbuffer(renderbuffer);
1585}
1586
1587inline const GLubyte * QOpenGLFunctions_4_2_Core::glGetStringi(GLenum name, GLuint index)
1588{
1589 return d_3_0_Core->f.GetStringi(name, index);
1590}
1591
1592inline void QOpenGLFunctions_4_2_Core::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
1593{
1594 d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil);
1595}
1596
1597inline void QOpenGLFunctions_4_2_Core::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
1598{
1599 d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value);
1600}
1601
1602inline void QOpenGLFunctions_4_2_Core::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
1603{
1604 d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value);
1605}
1606
1607inline void QOpenGLFunctions_4_2_Core::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
1608{
1609 d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value);
1610}
1611
1612inline void QOpenGLFunctions_4_2_Core::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
1613{
1614 d_3_0_Core->f.GetTexParameterIuiv(target, pname, params);
1615}
1616
1617inline void QOpenGLFunctions_4_2_Core::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
1618{
1619 d_3_0_Core->f.GetTexParameterIiv(target, pname, params);
1620}
1621
1622inline void QOpenGLFunctions_4_2_Core::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
1623{
1624 d_3_0_Core->f.TexParameterIuiv(target, pname, params);
1625}
1626
1627inline void QOpenGLFunctions_4_2_Core::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
1628{
1629 d_3_0_Core->f.TexParameterIiv(target, pname, params);
1630}
1631
1632inline void QOpenGLFunctions_4_2_Core::glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
1633{
1634 d_3_0_Core->f.Uniform4uiv(location, count, value);
1635}
1636
1637inline void QOpenGLFunctions_4_2_Core::glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
1638{
1639 d_3_0_Core->f.Uniform3uiv(location, count, value);
1640}
1641
1642inline void QOpenGLFunctions_4_2_Core::glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
1643{
1644 d_3_0_Core->f.Uniform2uiv(location, count, value);
1645}
1646
1647inline void QOpenGLFunctions_4_2_Core::glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
1648{
1649 d_3_0_Core->f.Uniform1uiv(location, count, value);
1650}
1651
1652inline void QOpenGLFunctions_4_2_Core::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
1653{
1654 d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3);
1655}
1656
1657inline void QOpenGLFunctions_4_2_Core::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
1658{
1659 d_3_0_Core->f.Uniform3ui(location, v0, v1, v2);
1660}
1661
1662inline void QOpenGLFunctions_4_2_Core::glUniform2ui(GLint location, GLuint v0, GLuint v1)
1663{
1664 d_3_0_Core->f.Uniform2ui(location, v0, v1);
1665}
1666
1667inline void QOpenGLFunctions_4_2_Core::glUniform1ui(GLint location, GLuint v0)
1668{
1669 d_3_0_Core->f.Uniform1ui(location, v0);
1670}
1671
1672inline GLint QOpenGLFunctions_4_2_Core::glGetFragDataLocation(GLuint program, const GLchar *name)
1673{
1674 return d_3_0_Core->f.GetFragDataLocation(program, name);
1675}
1676
1677inline void QOpenGLFunctions_4_2_Core::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
1678{
1679 d_3_0_Core->f.BindFragDataLocation(program, color, name);
1680}
1681
1682inline void QOpenGLFunctions_4_2_Core::glGetUniformuiv(GLuint program, GLint location, GLuint *params)
1683{
1684 d_3_0_Core->f.GetUniformuiv(program, location, params);
1685}
1686
1687inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
1688{
1689 d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params);
1690}
1691
1692inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
1693{
1694 d_3_0_Core->f.GetVertexAttribIiv(index, pname, params);
1695}
1696
1697inline void QOpenGLFunctions_4_2_Core::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
1698{
1699 d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer);
1700}
1701
1702inline void QOpenGLFunctions_4_2_Core::glEndConditionalRender()
1703{
1704 d_3_0_Core->f.EndConditionalRender();
1705}
1706
1707inline void QOpenGLFunctions_4_2_Core::glBeginConditionalRender(GLuint id, GLenum mode)
1708{
1709 d_3_0_Core->f.BeginConditionalRender(id, mode);
1710}
1711
1712inline void QOpenGLFunctions_4_2_Core::glClampColor(GLenum target, GLenum clamp)
1713{
1714 d_3_0_Core->f.ClampColor(target, clamp);
1715}
1716
1717inline void QOpenGLFunctions_4_2_Core::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
1718{
1719 d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
1720}
1721
1722inline void QOpenGLFunctions_4_2_Core::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode)
1723{
1724 d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode);
1725}
1726
1727inline void QOpenGLFunctions_4_2_Core::glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
1728{
1729 d_3_0_Core->f.BindBufferBase(target, index, buffer);
1730}
1731
1732inline void QOpenGLFunctions_4_2_Core::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
1733{
1734 d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size);
1735}
1736
1737inline void QOpenGLFunctions_4_2_Core::glEndTransformFeedback()
1738{
1739 d_3_0_Core->f.EndTransformFeedback();
1740}
1741
1742inline void QOpenGLFunctions_4_2_Core::glBeginTransformFeedback(GLenum primitiveMode)
1743{
1744 d_3_0_Core->f.BeginTransformFeedback(primitiveMode);
1745}
1746
1747inline GLboolean QOpenGLFunctions_4_2_Core::glIsEnabledi(GLenum target, GLuint index)
1748{
1749 return d_3_0_Core->f.IsEnabledi(target, index);
1750}
1751
1752inline void QOpenGLFunctions_4_2_Core::glDisablei(GLenum target, GLuint index)
1753{
1754 d_3_0_Core->f.Disablei(target, index);
1755}
1756
1757inline void QOpenGLFunctions_4_2_Core::glEnablei(GLenum target, GLuint index)
1758{
1759 d_3_0_Core->f.Enablei(target, index);
1760}
1761
1762inline void QOpenGLFunctions_4_2_Core::glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
1763{
1764 d_3_0_Core->f.GetIntegeri_v(target, index, data);
1765}
1766
1767inline void QOpenGLFunctions_4_2_Core::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
1768{
1769 d_3_0_Core->f.GetBooleani_v(target, index, data);
1770}
1771
1772inline void QOpenGLFunctions_4_2_Core::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
1773{
1774 d_3_0_Core->f.ColorMaski(index, r, g, b, a);
1775}
1776
1777
1778// OpenGL 3.1 core functions
1779inline void QOpenGLFunctions_4_2_Core::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
1780{
1781 d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
1782}
1783
1784inline void QOpenGLFunctions_4_2_Core::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
1785{
1786 d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
1787}
1788
1789inline void QOpenGLFunctions_4_2_Core::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
1790{
1791 d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName);
1792}
1793
1794inline void QOpenGLFunctions_4_2_Core::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
1795{
1796 d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
1797}
1798
1799inline GLuint QOpenGLFunctions_4_2_Core::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
1800{
1801 return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName);
1802}
1803
1804inline void QOpenGLFunctions_4_2_Core::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
1805{
1806 d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
1807}
1808
1809inline void QOpenGLFunctions_4_2_Core::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
1810{
1811 d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
1812}
1813
1814inline void QOpenGLFunctions_4_2_Core::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices)
1815{
1816 d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices);
1817}
1818
1819inline void QOpenGLFunctions_4_2_Core::glPrimitiveRestartIndex(GLuint index)
1820{
1821 d_3_1_Core->f.PrimitiveRestartIndex(index);
1822}
1823
1824inline void QOpenGLFunctions_4_2_Core::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
1825{
1826 d_3_1_Core->f.TexBuffer(target, internalformat, buffer);
1827}
1828
1829inline void QOpenGLFunctions_4_2_Core::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount)
1830{
1831 d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount);
1832}
1833
1834inline void QOpenGLFunctions_4_2_Core::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
1835{
1836 d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount);
1837}
1838
1839
1840// OpenGL 3.2 core functions
1841inline void QOpenGLFunctions_4_2_Core::glSampleMaski(GLuint index, GLbitfield mask)
1842{
1843 d_3_2_Core->f.SampleMaski(index, mask);
1844}
1845
1846inline void QOpenGLFunctions_4_2_Core::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
1847{
1848 d_3_2_Core->f.GetMultisamplefv(pname, index, val);
1849}
1850
1851inline void QOpenGLFunctions_4_2_Core::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
1852{
1853 d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
1854}
1855
1856inline void QOpenGLFunctions_4_2_Core::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
1857{
1858 d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
1859}
1860
1861inline void QOpenGLFunctions_4_2_Core::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
1862{
1863 d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values);
1864}
1865
1866inline void QOpenGLFunctions_4_2_Core::glGetInteger64v(GLenum pname, GLint64 *params)
1867{
1868 d_3_2_Core->f.GetInteger64v(pname, params);
1869}
1870
1871inline void QOpenGLFunctions_4_2_Core::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1872{
1873 d_3_2_Core->f.WaitSync(sync, flags, timeout);
1874}
1875
1876inline GLenum QOpenGLFunctions_4_2_Core::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1877{
1878 return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout);
1879}
1880
1881inline void QOpenGLFunctions_4_2_Core::glDeleteSync(GLsync sync)
1882{
1883 d_3_2_Core->f.DeleteSync(sync);
1884}
1885
1886inline GLboolean QOpenGLFunctions_4_2_Core::glIsSync(GLsync sync)
1887{
1888 return d_3_2_Core->f.IsSync(sync);
1889}
1890
1891inline GLsync QOpenGLFunctions_4_2_Core::glFenceSync(GLenum condition, GLbitfield flags)
1892{
1893 return d_3_2_Core->f.FenceSync(condition, flags);
1894}
1895
1896inline void QOpenGLFunctions_4_2_Core::glProvokingVertex(GLenum mode)
1897{
1898 d_3_2_Core->f.ProvokingVertex(mode);
1899}
1900
1901inline void QOpenGLFunctions_4_2_Core::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex)
1902{
1903 d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
1904}
1905
1906inline void QOpenGLFunctions_4_2_Core::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex)
1907{
1908 d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex);
1909}
1910
1911inline void QOpenGLFunctions_4_2_Core::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1912{
1913 d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
1914}
1915
1916inline void QOpenGLFunctions_4_2_Core::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1917{
1918 d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex);
1919}
1920
1921inline void QOpenGLFunctions_4_2_Core::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
1922{
1923 d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level);
1924}
1925
1926inline void QOpenGLFunctions_4_2_Core::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
1927{
1928 d_3_2_Core->f.GetBufferParameteri64v(target, pname, params);
1929}
1930
1931inline void QOpenGLFunctions_4_2_Core::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
1932{
1933 d_3_2_Core->f.GetInteger64i_v(target, index, data);
1934}
1935
1936
1937// OpenGL 3.3 core functions
1938inline void QOpenGLFunctions_4_2_Core::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1939{
1940 d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value);
1941}
1942
1943inline void QOpenGLFunctions_4_2_Core::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1944{
1945 d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value);
1946}
1947
1948inline void QOpenGLFunctions_4_2_Core::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1949{
1950 d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value);
1951}
1952
1953inline void QOpenGLFunctions_4_2_Core::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1954{
1955 d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value);
1956}
1957
1958inline void QOpenGLFunctions_4_2_Core::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1959{
1960 d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value);
1961}
1962
1963inline void QOpenGLFunctions_4_2_Core::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1964{
1965 d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value);
1966}
1967
1968inline void QOpenGLFunctions_4_2_Core::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1969{
1970 d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value);
1971}
1972
1973inline void QOpenGLFunctions_4_2_Core::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1974{
1975 d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value);
1976}
1977
1978inline void QOpenGLFunctions_4_2_Core::glSecondaryColorP3uiv(GLenum type, const GLuint *color)
1979{
1980 Q_UNUSED(type);
1981 Q_UNUSED(color);
1982 QOPENGL_DEPRECATEDFUNCTION;
1983}
1984
1985inline void QOpenGLFunctions_4_2_Core::glSecondaryColorP3ui(GLenum type, GLuint color)
1986{
1987 Q_UNUSED(type);
1988 Q_UNUSED(color);
1989 QOPENGL_DEPRECATEDFUNCTION;
1990}
1991
1992inline void QOpenGLFunctions_4_2_Core::glColorP4uiv(GLenum type, const GLuint *color)
1993{
1994 Q_UNUSED(type);
1995 Q_UNUSED(color);
1996 QOPENGL_DEPRECATEDFUNCTION;
1997}
1998
1999inline void QOpenGLFunctions_4_2_Core::glColorP4ui(GLenum type, GLuint color)
2000{
2001 Q_UNUSED(type);
2002 Q_UNUSED(color);
2003 QOPENGL_DEPRECATEDFUNCTION;
2004}
2005
2006inline void QOpenGLFunctions_4_2_Core::glColorP3uiv(GLenum type, const GLuint *color)
2007{
2008 Q_UNUSED(type);
2009 Q_UNUSED(color);
2010 QOPENGL_DEPRECATEDFUNCTION;
2011}
2012
2013inline void QOpenGLFunctions_4_2_Core::glColorP3ui(GLenum type, GLuint color)
2014{
2015 Q_UNUSED(type);
2016 Q_UNUSED(color);
2017 QOPENGL_DEPRECATEDFUNCTION;
2018}
2019
2020inline void QOpenGLFunctions_4_2_Core::glNormalP3uiv(GLenum type, const GLuint *coords)
2021{
2022 Q_UNUSED(type);
2023 Q_UNUSED(coords);
2024 QOPENGL_DEPRECATEDFUNCTION;
2025}
2026
2027inline void QOpenGLFunctions_4_2_Core::glNormalP3ui(GLenum type, GLuint coords)
2028{
2029 Q_UNUSED(type);
2030 Q_UNUSED(coords);
2031 QOPENGL_DEPRECATEDFUNCTION;
2032}
2033
2034inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords)
2035{
2036 Q_UNUSED(texture);
2037 Q_UNUSED(type);
2038 Q_UNUSED(coords);
2039 QOPENGL_DEPRECATEDFUNCTION;
2040}
2041
2042inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords)
2043{
2044 Q_UNUSED(texture);
2045 Q_UNUSED(type);
2046 Q_UNUSED(coords);
2047 QOPENGL_DEPRECATEDFUNCTION;
2048}
2049
2050inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords)
2051{
2052 Q_UNUSED(texture);
2053 Q_UNUSED(type);
2054 Q_UNUSED(coords);
2055 QOPENGL_DEPRECATEDFUNCTION;
2056}
2057
2058inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords)
2059{
2060 Q_UNUSED(texture);
2061 Q_UNUSED(type);
2062 Q_UNUSED(coords);
2063 QOPENGL_DEPRECATEDFUNCTION;
2064}
2065
2066inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords)
2067{
2068 Q_UNUSED(texture);
2069 Q_UNUSED(type);
2070 Q_UNUSED(coords);
2071 QOPENGL_DEPRECATEDFUNCTION;
2072}
2073
2074inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords)
2075{
2076 Q_UNUSED(texture);
2077 Q_UNUSED(type);
2078 Q_UNUSED(coords);
2079 QOPENGL_DEPRECATEDFUNCTION;
2080}
2081
2082inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords)
2083{
2084 Q_UNUSED(texture);
2085 Q_UNUSED(type);
2086 Q_UNUSED(coords);
2087 QOPENGL_DEPRECATEDFUNCTION;
2088}
2089
2090inline void QOpenGLFunctions_4_2_Core::glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords)
2091{
2092 Q_UNUSED(texture);
2093 Q_UNUSED(type);
2094 Q_UNUSED(coords);
2095 QOPENGL_DEPRECATEDFUNCTION;
2096}
2097
2098inline void QOpenGLFunctions_4_2_Core::glTexCoordP4uiv(GLenum type, const GLuint *coords)
2099{
2100 Q_UNUSED(type);
2101 Q_UNUSED(coords);
2102 QOPENGL_DEPRECATEDFUNCTION;
2103}
2104
2105inline void QOpenGLFunctions_4_2_Core::glTexCoordP4ui(GLenum type, GLuint coords)
2106{
2107 Q_UNUSED(type);
2108 Q_UNUSED(coords);
2109 QOPENGL_DEPRECATEDFUNCTION;
2110}
2111
2112inline void QOpenGLFunctions_4_2_Core::glTexCoordP3uiv(GLenum type, const GLuint *coords)
2113{
2114 Q_UNUSED(type);
2115 Q_UNUSED(coords);
2116 QOPENGL_DEPRECATEDFUNCTION;
2117}
2118
2119inline void QOpenGLFunctions_4_2_Core::glTexCoordP3ui(GLenum type, GLuint coords)
2120{
2121 Q_UNUSED(type);
2122 Q_UNUSED(coords);
2123 QOPENGL_DEPRECATEDFUNCTION;
2124}
2125
2126inline void QOpenGLFunctions_4_2_Core::glTexCoordP2uiv(GLenum type, const GLuint *coords)
2127{
2128 Q_UNUSED(type);
2129 Q_UNUSED(coords);
2130 QOPENGL_DEPRECATEDFUNCTION;
2131}
2132
2133inline void QOpenGLFunctions_4_2_Core::glTexCoordP2ui(GLenum type, GLuint coords)
2134{
2135 Q_UNUSED(type);
2136 Q_UNUSED(coords);
2137 QOPENGL_DEPRECATEDFUNCTION;
2138}
2139
2140inline void QOpenGLFunctions_4_2_Core::glTexCoordP1uiv(GLenum type, const GLuint *coords)
2141{
2142 Q_UNUSED(type);
2143 Q_UNUSED(coords);
2144 QOPENGL_DEPRECATEDFUNCTION;
2145}
2146
2147inline void QOpenGLFunctions_4_2_Core::glTexCoordP1ui(GLenum type, GLuint coords)
2148{
2149 Q_UNUSED(type);
2150 Q_UNUSED(coords);
2151 QOPENGL_DEPRECATEDFUNCTION;
2152}
2153
2154inline void QOpenGLFunctions_4_2_Core::glVertexP4uiv(GLenum type, const GLuint *value)
2155{
2156 Q_UNUSED(type);
2157 Q_UNUSED(value);
2158 QOPENGL_DEPRECATEDFUNCTION;
2159}
2160
2161inline void QOpenGLFunctions_4_2_Core::glVertexP4ui(GLenum type, GLuint value)
2162{
2163 Q_UNUSED(type);
2164 Q_UNUSED(value);
2165 QOPENGL_DEPRECATEDFUNCTION;
2166}
2167
2168inline void QOpenGLFunctions_4_2_Core::glVertexP3uiv(GLenum type, const GLuint *value)
2169{
2170 Q_UNUSED(type);
2171 Q_UNUSED(value);
2172 QOPENGL_DEPRECATEDFUNCTION;
2173}
2174
2175inline void QOpenGLFunctions_4_2_Core::glVertexP3ui(GLenum type, GLuint value)
2176{
2177 Q_UNUSED(type);
2178 Q_UNUSED(value);
2179 QOPENGL_DEPRECATEDFUNCTION;
2180}
2181
2182inline void QOpenGLFunctions_4_2_Core::glVertexP2uiv(GLenum type, const GLuint *value)
2183{
2184 Q_UNUSED(type);
2185 Q_UNUSED(value);
2186 QOPENGL_DEPRECATEDFUNCTION;
2187}
2188
2189inline void QOpenGLFunctions_4_2_Core::glVertexP2ui(GLenum type, GLuint value)
2190{
2191 Q_UNUSED(type);
2192 Q_UNUSED(value);
2193 QOPENGL_DEPRECATEDFUNCTION;
2194}
2195
2196inline void QOpenGLFunctions_4_2_Core::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
2197{
2198 d_3_3_Core->f.GetQueryObjectui64v(id, pname, params);
2199}
2200
2201inline void QOpenGLFunctions_4_2_Core::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
2202{
2203 d_3_3_Core->f.GetQueryObjecti64v(id, pname, params);
2204}
2205
2206inline void QOpenGLFunctions_4_2_Core::glQueryCounter(GLuint id, GLenum target)
2207{
2208 d_3_3_Core->f.QueryCounter(id, target);
2209}
2210
2211inline void QOpenGLFunctions_4_2_Core::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
2212{
2213 d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params);
2214}
2215
2216inline void QOpenGLFunctions_4_2_Core::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
2217{
2218 d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params);
2219}
2220
2221inline void QOpenGLFunctions_4_2_Core::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
2222{
2223 d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params);
2224}
2225
2226inline void QOpenGLFunctions_4_2_Core::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
2227{
2228 d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params);
2229}
2230
2231inline void QOpenGLFunctions_4_2_Core::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
2232{
2233 d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param);
2234}
2235
2236inline void QOpenGLFunctions_4_2_Core::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
2237{
2238 d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param);
2239}
2240
2241inline void QOpenGLFunctions_4_2_Core::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
2242{
2243 d_3_3_Core->f.SamplerParameterfv(sampler, pname, param);
2244}
2245
2246inline void QOpenGLFunctions_4_2_Core::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
2247{
2248 d_3_3_Core->f.SamplerParameterf(sampler, pname, param);
2249}
2250
2251inline void QOpenGLFunctions_4_2_Core::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
2252{
2253 d_3_3_Core->f.SamplerParameteriv(sampler, pname, param);
2254}
2255
2256inline void QOpenGLFunctions_4_2_Core::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
2257{
2258 d_3_3_Core->f.SamplerParameteri(sampler, pname, param);
2259}
2260
2261inline void QOpenGLFunctions_4_2_Core::glBindSampler(GLuint unit, GLuint sampler)
2262{
2263 d_3_3_Core->f.BindSampler(unit, sampler);
2264}
2265
2266inline GLboolean QOpenGLFunctions_4_2_Core::glIsSampler(GLuint sampler)
2267{
2268 return d_3_3_Core->f.IsSampler(sampler);
2269}
2270
2271inline void QOpenGLFunctions_4_2_Core::glDeleteSamplers(GLsizei count, const GLuint *samplers)
2272{
2273 d_3_3_Core->f.DeleteSamplers(count, samplers);
2274}
2275
2276inline void QOpenGLFunctions_4_2_Core::glGenSamplers(GLsizei count, GLuint *samplers)
2277{
2278 d_3_3_Core->f.GenSamplers(count, samplers);
2279}
2280
2281inline GLint QOpenGLFunctions_4_2_Core::glGetFragDataIndex(GLuint program, const GLchar *name)
2282{
2283 return d_3_3_Core->f.GetFragDataIndex(program, name);
2284}
2285
2286inline void QOpenGLFunctions_4_2_Core::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
2287{
2288 d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name);
2289}
2290
2291inline void QOpenGLFunctions_4_2_Core::glVertexAttribDivisor(GLuint index, GLuint divisor)
2292{
2293 d_3_3_Core->f.VertexAttribDivisor(index, divisor);
2294}
2295
2296
2297// OpenGL 4.0 core functions
2298inline void QOpenGLFunctions_4_2_Core::glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params)
2299{
2300 d_4_0_Core->f.GetQueryIndexediv(target, index, pname, params);
2301}
2302
2303inline void QOpenGLFunctions_4_2_Core::glEndQueryIndexed(GLenum target, GLuint index)
2304{
2305 d_4_0_Core->f.EndQueryIndexed(target, index);
2306}
2307
2308inline void QOpenGLFunctions_4_2_Core::glBeginQueryIndexed(GLenum target, GLuint index, GLuint id)
2309{
2310 d_4_0_Core->f.BeginQueryIndexed(target, index, id);
2311}
2312
2313inline void QOpenGLFunctions_4_2_Core::glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream)
2314{
2315 d_4_0_Core->f.DrawTransformFeedbackStream(mode, id, stream);
2316}
2317
2318inline void QOpenGLFunctions_4_2_Core::glDrawTransformFeedback(GLenum mode, GLuint id)
2319{
2320 d_4_0_Core->f.DrawTransformFeedback(mode, id);
2321}
2322
2323inline void QOpenGLFunctions_4_2_Core::glResumeTransformFeedback()
2324{
2325 d_4_0_Core->f.ResumeTransformFeedback();
2326}
2327
2328inline void QOpenGLFunctions_4_2_Core::glPauseTransformFeedback()
2329{
2330 d_4_0_Core->f.PauseTransformFeedback();
2331}
2332
2333inline GLboolean QOpenGLFunctions_4_2_Core::glIsTransformFeedback(GLuint id)
2334{
2335 return d_4_0_Core->f.IsTransformFeedback(id);
2336}
2337
2338inline void QOpenGLFunctions_4_2_Core::glGenTransformFeedbacks(GLsizei n, GLuint *ids)
2339{
2340 d_4_0_Core->f.GenTransformFeedbacks(n, ids);
2341}
2342
2343inline void QOpenGLFunctions_4_2_Core::glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids)
2344{
2345 d_4_0_Core->f.DeleteTransformFeedbacks(n, ids);
2346}
2347
2348inline void QOpenGLFunctions_4_2_Core::glBindTransformFeedback(GLenum target, GLuint id)
2349{
2350 d_4_0_Core->f.BindTransformFeedback(target, id);
2351}
2352
2353inline void QOpenGLFunctions_4_2_Core::glPatchParameterfv(GLenum pname, const GLfloat *values)
2354{
2355 d_4_0_Core->f.PatchParameterfv(pname, values);
2356}
2357
2358inline void QOpenGLFunctions_4_2_Core::glPatchParameteri(GLenum pname, GLint value)
2359{
2360 d_4_0_Core->f.PatchParameteri(pname, value);
2361}
2362
2363inline void QOpenGLFunctions_4_2_Core::glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values)
2364{
2365 d_4_0_Core->f.GetProgramStageiv(program, shadertype, pname, values);
2366}
2367
2368inline void QOpenGLFunctions_4_2_Core::glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params)
2369{
2370 d_4_0_Core->f.GetUniformSubroutineuiv(shadertype, location, params);
2371}
2372
2373inline void QOpenGLFunctions_4_2_Core::glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices)
2374{
2375 d_4_0_Core->f.UniformSubroutinesuiv(shadertype, count, indices);
2376}
2377
2378inline void QOpenGLFunctions_4_2_Core::glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2379{
2380 d_4_0_Core->f.GetActiveSubroutineName(program, shadertype, index, bufsize, length, name);
2381}
2382
2383inline void QOpenGLFunctions_4_2_Core::glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2384{
2385 d_4_0_Core->f.GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name);
2386}
2387
2388inline void QOpenGLFunctions_4_2_Core::glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values)
2389{
2390 d_4_0_Core->f.GetActiveSubroutineUniformiv(program, shadertype, index, pname, values);
2391}
2392
2393inline GLuint QOpenGLFunctions_4_2_Core::glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name)
2394{
2395 return d_4_0_Core->f.GetSubroutineIndex(program, shadertype, name);
2396}
2397
2398inline GLint QOpenGLFunctions_4_2_Core::glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name)
2399{
2400 return d_4_0_Core->f.GetSubroutineUniformLocation(program, shadertype, name);
2401}
2402
2403inline void QOpenGLFunctions_4_2_Core::glGetUniformdv(GLuint program, GLint location, GLdouble *params)
2404{
2405 d_4_0_Core->f.GetUniformdv(program, location, params);
2406}
2407
2408inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2409{
2410 d_4_0_Core->f.UniformMatrix4x3dv(location, count, transpose, value);
2411}
2412
2413inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2414{
2415 d_4_0_Core->f.UniformMatrix4x2dv(location, count, transpose, value);
2416}
2417
2418inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2419{
2420 d_4_0_Core->f.UniformMatrix3x4dv(location, count, transpose, value);
2421}
2422
2423inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2424{
2425 d_4_0_Core->f.UniformMatrix3x2dv(location, count, transpose, value);
2426}
2427
2428inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2429{
2430 d_4_0_Core->f.UniformMatrix2x4dv(location, count, transpose, value);
2431}
2432
2433inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2434{
2435 d_4_0_Core->f.UniformMatrix2x3dv(location, count, transpose, value);
2436}
2437
2438inline void QOpenGLFunctions_4_2_Core::glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2439{
2440 d_4_0_Core->f.UniformMatrix4dv(location, count, transpose, value);
2441}
2442
2443inline void QOpenGLFunctions_4_2_Core::glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2444{
2445 d_4_0_Core->f.UniformMatrix3dv(location, count, transpose, value);
2446}
2447
2448inline void QOpenGLFunctions_4_2_Core::glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2449{
2450 d_4_0_Core->f.UniformMatrix2dv(location, count, transpose, value);
2451}
2452
2453inline void QOpenGLFunctions_4_2_Core::glUniform4dv(GLint location, GLsizei count, const GLdouble *value)
2454{
2455 d_4_0_Core->f.Uniform4dv(location, count, value);
2456}
2457
2458inline void QOpenGLFunctions_4_2_Core::glUniform3dv(GLint location, GLsizei count, const GLdouble *value)
2459{
2460 d_4_0_Core->f.Uniform3dv(location, count, value);
2461}
2462
2463inline void QOpenGLFunctions_4_2_Core::glUniform2dv(GLint location, GLsizei count, const GLdouble *value)
2464{
2465 d_4_0_Core->f.Uniform2dv(location, count, value);
2466}
2467
2468inline void QOpenGLFunctions_4_2_Core::glUniform1dv(GLint location, GLsizei count, const GLdouble *value)
2469{
2470 d_4_0_Core->f.Uniform1dv(location, count, value);
2471}
2472
2473inline void QOpenGLFunctions_4_2_Core::glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2474{
2475 d_4_0_Core->f.Uniform4d(location, x, y, z, w);
2476}
2477
2478inline void QOpenGLFunctions_4_2_Core::glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z)
2479{
2480 d_4_0_Core->f.Uniform3d(location, x, y, z);
2481}
2482
2483inline void QOpenGLFunctions_4_2_Core::glUniform2d(GLint location, GLdouble x, GLdouble y)
2484{
2485 d_4_0_Core->f.Uniform2d(location, x, y);
2486}
2487
2488inline void QOpenGLFunctions_4_2_Core::glUniform1d(GLint location, GLdouble x)
2489{
2490 d_4_0_Core->f.Uniform1d(location, x);
2491}
2492
2493inline void QOpenGLFunctions_4_2_Core::glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect)
2494{
2495 d_4_0_Core->f.DrawElementsIndirect(mode, type, indirect);
2496}
2497
2498inline void QOpenGLFunctions_4_2_Core::glDrawArraysIndirect(GLenum mode, const GLvoid *indirect)
2499{
2500 d_4_0_Core->f.DrawArraysIndirect(mode, indirect);
2501}
2502
2503inline void QOpenGLFunctions_4_2_Core::glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
2504{
2505 d_4_0_Core->f.BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
2506}
2507
2508inline void QOpenGLFunctions_4_2_Core::glBlendFunci(GLuint buf, GLenum src, GLenum dst)
2509{
2510 d_4_0_Core->f.BlendFunci(buf, src, dst);
2511}
2512
2513inline void QOpenGLFunctions_4_2_Core::glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)
2514{
2515 d_4_0_Core->f.BlendEquationSeparatei(buf, modeRGB, modeAlpha);
2516}
2517
2518inline void QOpenGLFunctions_4_2_Core::glBlendEquationi(GLuint buf, GLenum mode)
2519{
2520 d_4_0_Core->f.BlendEquationi(buf, mode);
2521}
2522
2523inline void QOpenGLFunctions_4_2_Core::glMinSampleShading(GLfloat value)
2524{
2525 d_4_0_Core->f.MinSampleShading(value);
2526}
2527
2528
2529// OpenGL 4.1 core functions
2530inline void QOpenGLFunctions_4_2_Core::glGetDoublei_v(GLenum target, GLuint index, GLdouble *data)
2531{
2532 d_4_1_Core->f.GetDoublei_v(target, index, data);
2533}
2534
2535inline void QOpenGLFunctions_4_2_Core::glGetFloati_v(GLenum target, GLuint index, GLfloat *data)
2536{
2537 d_4_1_Core->f.GetFloati_v(target, index, data);
2538}
2539
2540inline void QOpenGLFunctions_4_2_Core::glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f)
2541{
2542 d_4_1_Core->f.DepthRangeIndexed(index, n, f);
2543}
2544
2545inline void QOpenGLFunctions_4_2_Core::glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v)
2546{
2547 d_4_1_Core->f.DepthRangeArrayv(first, count, v);
2548}
2549
2550inline void QOpenGLFunctions_4_2_Core::glScissorIndexedv(GLuint index, const GLint *v)
2551{
2552 d_4_1_Core->f.ScissorIndexedv(index, v);
2553}
2554
2555inline void QOpenGLFunctions_4_2_Core::glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height)
2556{
2557 d_4_1_Core->f.ScissorIndexed(index, left, bottom, width, height);
2558}
2559
2560inline void QOpenGLFunctions_4_2_Core::glScissorArrayv(GLuint first, GLsizei count, const GLint *v)
2561{
2562 d_4_1_Core->f.ScissorArrayv(first, count, v);
2563}
2564
2565inline void QOpenGLFunctions_4_2_Core::glViewportIndexedfv(GLuint index, const GLfloat *v)
2566{
2567 d_4_1_Core->f.ViewportIndexedfv(index, v);
2568}
2569
2570inline void QOpenGLFunctions_4_2_Core::glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
2571{
2572 d_4_1_Core->f.ViewportIndexedf(index, x, y, w, h);
2573}
2574
2575inline void QOpenGLFunctions_4_2_Core::glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v)
2576{
2577 d_4_1_Core->f.ViewportArrayv(first, count, v);
2578}
2579
2580inline void QOpenGLFunctions_4_2_Core::glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params)
2581{
2582 d_4_1_Core->f.GetVertexAttribLdv(index, pname, params);
2583}
2584
2585inline void QOpenGLFunctions_4_2_Core::glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2586{
2587 d_4_1_Core->f.VertexAttribLPointer(index, size, type, stride, pointer);
2588}
2589
2590inline void QOpenGLFunctions_4_2_Core::glVertexAttribL4dv(GLuint index, const GLdouble *v)
2591{
2592 d_4_1_Core->f.VertexAttribL4dv(index, v);
2593}
2594
2595inline void QOpenGLFunctions_4_2_Core::glVertexAttribL3dv(GLuint index, const GLdouble *v)
2596{
2597 d_4_1_Core->f.VertexAttribL3dv(index, v);
2598}
2599
2600inline void QOpenGLFunctions_4_2_Core::glVertexAttribL2dv(GLuint index, const GLdouble *v)
2601{
2602 d_4_1_Core->f.VertexAttribL2dv(index, v);
2603}
2604
2605inline void QOpenGLFunctions_4_2_Core::glVertexAttribL1dv(GLuint index, const GLdouble *v)
2606{
2607 d_4_1_Core->f.VertexAttribL1dv(index, v);
2608}
2609
2610inline void QOpenGLFunctions_4_2_Core::glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2611{
2612 d_4_1_Core->f.VertexAttribL4d(index, x, y, z, w);
2613}
2614
2615inline void QOpenGLFunctions_4_2_Core::glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
2616{
2617 d_4_1_Core->f.VertexAttribL3d(index, x, y, z);
2618}
2619
2620inline void QOpenGLFunctions_4_2_Core::glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y)
2621{
2622 d_4_1_Core->f.VertexAttribL2d(index, x, y);
2623}
2624
2625inline void QOpenGLFunctions_4_2_Core::glVertexAttribL1d(GLuint index, GLdouble x)
2626{
2627 d_4_1_Core->f.VertexAttribL1d(index, x);
2628}
2629
2630inline void QOpenGLFunctions_4_2_Core::glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
2631{
2632 d_4_1_Core->f.GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog);
2633}
2634
2635inline void QOpenGLFunctions_4_2_Core::glValidateProgramPipeline(GLuint pipeline)
2636{
2637 d_4_1_Core->f.ValidateProgramPipeline(pipeline);
2638}
2639
2640inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2641{
2642 d_4_1_Core->f.ProgramUniformMatrix4x3dv(program, location, count, transpose, value);
2643}
2644
2645inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2646{
2647 d_4_1_Core->f.ProgramUniformMatrix3x4dv(program, location, count, transpose, value);
2648}
2649
2650inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2651{
2652 d_4_1_Core->f.ProgramUniformMatrix4x2dv(program, location, count, transpose, value);
2653}
2654
2655inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2656{
2657 d_4_1_Core->f.ProgramUniformMatrix2x4dv(program, location, count, transpose, value);
2658}
2659
2660inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2661{
2662 d_4_1_Core->f.ProgramUniformMatrix3x2dv(program, location, count, transpose, value);
2663}
2664
2665inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2666{
2667 d_4_1_Core->f.ProgramUniformMatrix2x3dv(program, location, count, transpose, value);
2668}
2669
2670inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2671{
2672 d_4_1_Core->f.ProgramUniformMatrix4x3fv(program, location, count, transpose, value);
2673}
2674
2675inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2676{
2677 d_4_1_Core->f.ProgramUniformMatrix3x4fv(program, location, count, transpose, value);
2678}
2679
2680inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2681{
2682 d_4_1_Core->f.ProgramUniformMatrix4x2fv(program, location, count, transpose, value);
2683}
2684
2685inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2686{
2687 d_4_1_Core->f.ProgramUniformMatrix2x4fv(program, location, count, transpose, value);
2688}
2689
2690inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2691{
2692 d_4_1_Core->f.ProgramUniformMatrix3x2fv(program, location, count, transpose, value);
2693}
2694
2695inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2696{
2697 d_4_1_Core->f.ProgramUniformMatrix2x3fv(program, location, count, transpose, value);
2698}
2699
2700inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2701{
2702 d_4_1_Core->f.ProgramUniformMatrix4dv(program, location, count, transpose, value);
2703}
2704
2705inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2706{
2707 d_4_1_Core->f.ProgramUniformMatrix3dv(program, location, count, transpose, value);
2708}
2709
2710inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2711{
2712 d_4_1_Core->f.ProgramUniformMatrix2dv(program, location, count, transpose, value);
2713}
2714
2715inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2716{
2717 d_4_1_Core->f.ProgramUniformMatrix4fv(program, location, count, transpose, value);
2718}
2719
2720inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2721{
2722 d_4_1_Core->f.ProgramUniformMatrix3fv(program, location, count, transpose, value);
2723}
2724
2725inline void QOpenGLFunctions_4_2_Core::glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2726{
2727 d_4_1_Core->f.ProgramUniformMatrix2fv(program, location, count, transpose, value);
2728}
2729
2730inline void QOpenGLFunctions_4_2_Core::glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2731{
2732 d_4_1_Core->f.ProgramUniform4uiv(program, location, count, value);
2733}
2734
2735inline void QOpenGLFunctions_4_2_Core::glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
2736{
2737 d_4_1_Core->f.ProgramUniform4ui(program, location, v0, v1, v2, v3);
2738}
2739
2740inline void QOpenGLFunctions_4_2_Core::glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2741{
2742 d_4_1_Core->f.ProgramUniform4dv(program, location, count, value);
2743}
2744
2745inline void QOpenGLFunctions_4_2_Core::glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3)
2746{
2747 d_4_1_Core->f.ProgramUniform4d(program, location, v0, v1, v2, v3);
2748}
2749
2750inline void QOpenGLFunctions_4_2_Core::glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2751{
2752 d_4_1_Core->f.ProgramUniform4fv(program, location, count, value);
2753}
2754
2755inline void QOpenGLFunctions_4_2_Core::glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
2756{
2757 d_4_1_Core->f.ProgramUniform4f(program, location, v0, v1, v2, v3);
2758}
2759
2760inline void QOpenGLFunctions_4_2_Core::glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2761{
2762 d_4_1_Core->f.ProgramUniform4iv(program, location, count, value);
2763}
2764
2765inline void QOpenGLFunctions_4_2_Core::glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
2766{
2767 d_4_1_Core->f.ProgramUniform4i(program, location, v0, v1, v2, v3);
2768}
2769
2770inline void QOpenGLFunctions_4_2_Core::glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2771{
2772 d_4_1_Core->f.ProgramUniform3uiv(program, location, count, value);
2773}
2774
2775inline void QOpenGLFunctions_4_2_Core::glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2)
2776{
2777 d_4_1_Core->f.ProgramUniform3ui(program, location, v0, v1, v2);
2778}
2779
2780inline void QOpenGLFunctions_4_2_Core::glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2781{
2782 d_4_1_Core->f.ProgramUniform3dv(program, location, count, value);
2783}
2784
2785inline void QOpenGLFunctions_4_2_Core::glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2)
2786{
2787 d_4_1_Core->f.ProgramUniform3d(program, location, v0, v1, v2);
2788}
2789
2790inline void QOpenGLFunctions_4_2_Core::glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2791{
2792 d_4_1_Core->f.ProgramUniform3fv(program, location, count, value);
2793}
2794
2795inline void QOpenGLFunctions_4_2_Core::glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
2796{
2797 d_4_1_Core->f.ProgramUniform3f(program, location, v0, v1, v2);
2798}
2799
2800inline void QOpenGLFunctions_4_2_Core::glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2801{
2802 d_4_1_Core->f.ProgramUniform3iv(program, location, count, value);
2803}
2804
2805inline void QOpenGLFunctions_4_2_Core::glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
2806{
2807 d_4_1_Core->f.ProgramUniform3i(program, location, v0, v1, v2);
2808}
2809
2810inline void QOpenGLFunctions_4_2_Core::glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2811{
2812 d_4_1_Core->f.ProgramUniform2uiv(program, location, count, value);
2813}
2814
2815inline void QOpenGLFunctions_4_2_Core::glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1)
2816{
2817 d_4_1_Core->f.ProgramUniform2ui(program, location, v0, v1);
2818}
2819
2820inline void QOpenGLFunctions_4_2_Core::glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2821{
2822 d_4_1_Core->f.ProgramUniform2dv(program, location, count, value);
2823}
2824
2825inline void QOpenGLFunctions_4_2_Core::glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1)
2826{
2827 d_4_1_Core->f.ProgramUniform2d(program, location, v0, v1);
2828}
2829
2830inline void QOpenGLFunctions_4_2_Core::glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2831{
2832 d_4_1_Core->f.ProgramUniform2fv(program, location, count, value);
2833}
2834
2835inline void QOpenGLFunctions_4_2_Core::glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1)
2836{
2837 d_4_1_Core->f.ProgramUniform2f(program, location, v0, v1);
2838}
2839
2840inline void QOpenGLFunctions_4_2_Core::glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2841{
2842 d_4_1_Core->f.ProgramUniform2iv(program, location, count, value);
2843}
2844
2845inline void QOpenGLFunctions_4_2_Core::glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1)
2846{
2847 d_4_1_Core->f.ProgramUniform2i(program, location, v0, v1);
2848}
2849
2850inline void QOpenGLFunctions_4_2_Core::glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2851{
2852 d_4_1_Core->f.ProgramUniform1uiv(program, location, count, value);
2853}
2854
2855inline void QOpenGLFunctions_4_2_Core::glProgramUniform1ui(GLuint program, GLint location, GLuint v0)
2856{
2857 d_4_1_Core->f.ProgramUniform1ui(program, location, v0);
2858}
2859
2860inline void QOpenGLFunctions_4_2_Core::glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2861{
2862 d_4_1_Core->f.ProgramUniform1dv(program, location, count, value);
2863}
2864
2865inline void QOpenGLFunctions_4_2_Core::glProgramUniform1d(GLuint program, GLint location, GLdouble v0)
2866{
2867 d_4_1_Core->f.ProgramUniform1d(program, location, v0);
2868}
2869
2870inline void QOpenGLFunctions_4_2_Core::glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2871{
2872 d_4_1_Core->f.ProgramUniform1fv(program, location, count, value);
2873}
2874
2875inline void QOpenGLFunctions_4_2_Core::glProgramUniform1f(GLuint program, GLint location, GLfloat v0)
2876{
2877 d_4_1_Core->f.ProgramUniform1f(program, location, v0);
2878}
2879
2880inline void QOpenGLFunctions_4_2_Core::glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2881{
2882 d_4_1_Core->f.ProgramUniform1iv(program, location, count, value);
2883}
2884
2885inline void QOpenGLFunctions_4_2_Core::glProgramUniform1i(GLuint program, GLint location, GLint v0)
2886{
2887 d_4_1_Core->f.ProgramUniform1i(program, location, v0);
2888}
2889
2890inline void QOpenGLFunctions_4_2_Core::glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
2891{
2892 d_4_1_Core->f.GetProgramPipelineiv(pipeline, pname, params);
2893}
2894
2895inline GLboolean QOpenGLFunctions_4_2_Core::glIsProgramPipeline(GLuint pipeline)
2896{
2897 return d_4_1_Core->f.IsProgramPipeline(pipeline);
2898}
2899
2900inline void QOpenGLFunctions_4_2_Core::glGenProgramPipelines(GLsizei n, GLuint *pipelines)
2901{
2902 d_4_1_Core->f.GenProgramPipelines(n, pipelines);
2903}
2904
2905inline void QOpenGLFunctions_4_2_Core::glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines)
2906{
2907 d_4_1_Core->f.DeleteProgramPipelines(n, pipelines);
2908}
2909
2910inline void QOpenGLFunctions_4_2_Core::glBindProgramPipeline(GLuint pipeline)
2911{
2912 d_4_1_Core->f.BindProgramPipeline(pipeline);
2913}
2914
2915inline GLuint QOpenGLFunctions_4_2_Core::glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings)
2916{
2917 return d_4_1_Core->f.CreateShaderProgramv(type, count, strings);
2918}
2919
2920inline void QOpenGLFunctions_4_2_Core::glActiveShaderProgram(GLuint pipeline, GLuint program)
2921{
2922 d_4_1_Core->f.ActiveShaderProgram(pipeline, program);
2923}
2924
2925inline void QOpenGLFunctions_4_2_Core::glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
2926{
2927 d_4_1_Core->f.UseProgramStages(pipeline, stages, program);
2928}
2929
2930inline void QOpenGLFunctions_4_2_Core::glProgramParameteri(GLuint program, GLenum pname, GLint value)
2931{
2932 d_4_1_Core->f.ProgramParameteri(program, pname, value);
2933}
2934
2935inline void QOpenGLFunctions_4_2_Core::glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length)
2936{
2937 d_4_1_Core->f.ProgramBinary(program, binaryFormat, binary, length);
2938}
2939
2940inline void QOpenGLFunctions_4_2_Core::glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary)
2941{
2942 d_4_1_Core->f.GetProgramBinary(program, bufSize, length, binaryFormat, binary);
2943}
2944
2945inline void QOpenGLFunctions_4_2_Core::glClearDepthf(GLfloat dd)
2946{
2947 d_4_1_Core->f.ClearDepthf(dd);
2948}
2949
2950inline void QOpenGLFunctions_4_2_Core::glDepthRangef(GLfloat n, GLfloat f)
2951{
2952 d_4_1_Core->f.DepthRangef(n, f);
2953}
2954
2955inline void QOpenGLFunctions_4_2_Core::glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
2956{
2957 d_4_1_Core->f.GetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
2958}
2959
2960inline void QOpenGLFunctions_4_2_Core::glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length)
2961{
2962 d_4_1_Core->f.ShaderBinary(count, shaders, binaryformat, binary, length);
2963}
2964
2965inline void QOpenGLFunctions_4_2_Core::glReleaseShaderCompiler()
2966{
2967 d_4_1_Core->f.ReleaseShaderCompiler();
2968}
2969
2970
2971// OpenGL 4.2 core functions
2972inline void QOpenGLFunctions_4_2_Core::glTexStorage3D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth)
2973{
2974 d_4_2_Core->f.TexStorage3D(target, levels, internalformat, width, height, depth);
2975}
2976
2977inline void QOpenGLFunctions_4_2_Core::glTexStorage2D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height)
2978{
2979 d_4_2_Core->f.TexStorage2D(target, levels, internalformat, width, height);
2980}
2981
2982inline void QOpenGLFunctions_4_2_Core::glTexStorage1D(GLenum target, GLsizei levels, GLenum internalformat, GLsizei width)
2983{
2984 d_4_2_Core->f.TexStorage1D(target, levels, internalformat, width);
2985}
2986
2987inline void QOpenGLFunctions_4_2_Core::glMemoryBarrier(GLbitfield barriers)
2988{
2989 d_4_2_Core->f.MemoryBarrier(barriers);
2990}
2991
2992inline void QOpenGLFunctions_4_2_Core::glBindImageTexture(GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format)
2993{
2994 d_4_2_Core->f.BindImageTexture(unit, texture, level, layered, layer, access, format);
2995}
2996
2997inline void QOpenGLFunctions_4_2_Core::glGetActiveAtomicCounterBufferiv(GLuint program, GLuint bufferIndex, GLenum pname, GLint *params)
2998{
2999 d_4_2_Core->f.GetActiveAtomicCounterBufferiv(program, bufferIndex, pname, params);
3000}
3001
3002inline void QOpenGLFunctions_4_2_Core::glGetInternalformativ(GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params)
3003{
3004 d_4_2_Core->f.GetInternalformativ(target, internalformat, pname, bufSize, params);
3005}
3006
3007inline void QOpenGLFunctions_4_2_Core::glDrawTransformFeedbackStreamInstanced(GLenum mode, GLuint id, GLuint stream, GLsizei instancecount)
3008{
3009 d_4_2_Core->f.DrawTransformFeedbackStreamInstanced(mode, id, stream, instancecount);
3010}
3011
3012inline void QOpenGLFunctions_4_2_Core::glDrawTransformFeedbackInstanced(GLenum mode, GLuint id, GLsizei instancecount)
3013{
3014 d_4_2_Core->f.DrawTransformFeedbackInstanced(mode, id, instancecount);
3015}
3016
3017inline void QOpenGLFunctions_4_2_Core::glDrawElementsInstancedBaseVertexBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance)
3018{
3019 d_4_2_Core->f.DrawElementsInstancedBaseVertexBaseInstance(mode, count, type, indices, instancecount, basevertex, baseinstance);
3020}
3021
3022inline void QOpenGLFunctions_4_2_Core::glDrawElementsInstancedBaseInstance(GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance)
3023{
3024 d_4_2_Core->f.DrawElementsInstancedBaseInstance(mode, count, type, indices, instancecount, baseinstance);
3025}
3026
3027inline void QOpenGLFunctions_4_2_Core::glDrawArraysInstancedBaseInstance(GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance)
3028{
3029 d_4_2_Core->f.DrawArraysInstancedBaseInstance(mode, first, count, instancecount, baseinstance);
3030}
3031
3032
3033
3034QT_END_NAMESPACE
3035
3036#ifdef Q_OS_WIN
3037#pragma pop_macro("MemoryBarrier")
3038#endif
3039
3040#endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
3041
3042#endif
3043

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