1/****************************************************************************
2**
3** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
4** Copyright (C) 2016 The Qt Company Ltd.
5** Contact: https://www.qt.io/licensing/
6**
7** This file is part of the QtOpenGL module of the Qt Toolkit.
8**
9** $QT_BEGIN_LICENSE:LGPL$
10** Commercial License Usage
11** Licensees holding valid commercial Qt licenses may use this file in
12** accordance with the commercial license agreement provided with the
13** Software or, alternatively, in accordance with the terms contained in
14** a written agreement between you and The Qt Company. For licensing terms
15** and conditions see https://www.qt.io/terms-conditions. For further
16** information use the contact form at https://www.qt.io/contact-us.
17**
18** GNU Lesser General Public License Usage
19** Alternatively, this file may be used under the terms of the GNU Lesser
20** General Public License version 3 as published by the Free Software
21** Foundation and appearing in the file LICENSE.LGPL3 included in the
22** packaging of this file. Please review the following information to
23** ensure the GNU Lesser General Public License version 3 requirements
24** will be met: https://www.gnu.org/licenses/lgpl-3.0.html.
25**
26** GNU General Public License Usage
27** Alternatively, this file may be used under the terms of the GNU
28** General Public License version 2.0 or (at your option) the GNU General
29** Public license version 3 or any later version approved by the KDE Free
30** Qt Foundation. The licenses are as published by the Free Software
31** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3
32** included in the packaging of this file. Please review the following
33** information to ensure the GNU General Public License requirements will
34** be met: https://www.gnu.org/licenses/gpl-2.0.html and
35** https://www.gnu.org/licenses/gpl-3.0.html.
36**
37** $QT_END_LICENSE$
38**
39**
40** This file was generated by glgen version 0.1
41** Command line was: glgen
42**
43** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB)
44**
45** This is an auto-generated file.
46** Do not edit! All changes made to it will be lost.
47**
48****************************************************************************/
49
50#ifndef QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
51#define QOPENGLVERSIONFUNCTIONS_4_1_CORE_H
52
53#include <QtOpenGL/qtopenglglobal.h>
54
55#if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2)
56
57#include <QtOpenGL/QOpenGLVersionProfile>
58#include <QtOpenGL/QOpenGLVersionFunctions>
59#include <QtGui/qopenglcontext.h>
60
61QT_BEGIN_NAMESPACE
62
63class Q_OPENGL_EXPORT QOpenGLFunctions_4_1_Core : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_4_1_Core();
67 ~QOpenGLFunctions_4_1_Core();
68
69 bool initializeOpenGLFunctions() override;
70
71 // OpenGL 1.0 core functions
72 void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
73 void glDepthRange(GLdouble nearVal, GLdouble farVal);
74 GLboolean glIsEnabled(GLenum cap);
75 void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
76 void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
77 void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
78 void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
79 void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
80 const GLubyte * glGetString(GLenum name);
81 void glGetIntegerv(GLenum pname, GLint *params);
82 void glGetFloatv(GLenum pname, GLfloat *params);
83 GLenum glGetError();
84 void glGetDoublev(GLenum pname, GLdouble *params);
85 void glGetBooleanv(GLenum pname, GLboolean *params);
86 void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
87 void glReadBuffer(GLenum mode);
88 void glPixelStorei(GLenum pname, GLint param);
89 void glPixelStoref(GLenum pname, GLfloat param);
90 void glDepthFunc(GLenum func);
91 void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
92 void glStencilFunc(GLenum func, GLint ref, GLuint mask);
93 void glLogicOp(GLenum opcode);
94 void glBlendFunc(GLenum sfactor, GLenum dfactor);
95 void glFlush();
96 void glFinish();
97 void glEnable(GLenum cap);
98 void glDisable(GLenum cap);
99 void glDepthMask(GLboolean flag);
100 void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
101 void glStencilMask(GLuint mask);
102 void glClearDepth(GLdouble depth);
103 void glClearStencil(GLint s);
104 void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
105 void glClear(GLbitfield mask);
106 void glDrawBuffer(GLenum mode);
107 void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
108 void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
109 void glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
110 void glTexParameteri(GLenum target, GLenum pname, GLint param);
111 void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
112 void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
113 void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
114 void glPolygonMode(GLenum face, GLenum mode);
115 void glPointSize(GLfloat size);
116 void glLineWidth(GLfloat width);
117 void glHint(GLenum target, GLenum mode);
118 void glFrontFace(GLenum mode);
119 void glCullFace(GLenum mode);
120
121 // OpenGL 1.1 core functions
122 GLboolean glIsTexture(GLuint texture);
123 void glGenTextures(GLsizei n, GLuint *textures);
124 void glDeleteTextures(GLsizei n, const GLuint *textures);
125 void glBindTexture(GLenum target, GLuint texture);
126 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
127 void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
128 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
129 void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
130 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
131 void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
132 void glPolygonOffset(GLfloat factor, GLfloat units);
133 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
134 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
135
136 // OpenGL 1.2 core functions
137 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
138 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);
139 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
140 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
141 void glBlendEquation(GLenum mode);
142 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
143
144 // OpenGL 1.3 core functions
145 void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img);
146 void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
147 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
148 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);
149 void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
150 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
151 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
152 void glSampleCoverage(GLfloat value, GLboolean invert);
153 void glActiveTexture(GLenum texture);
154
155 // OpenGL 1.4 core functions
156 void glPointParameteriv(GLenum pname, const GLint *params);
157 void glPointParameteri(GLenum pname, GLint param);
158 void glPointParameterfv(GLenum pname, const GLfloat *params);
159 void glPointParameterf(GLenum pname, GLfloat param);
160 void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
161 void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
162 void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
163
164 // OpenGL 1.5 core functions
165 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params);
166 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
167 GLboolean glUnmapBuffer(GLenum target);
168 GLvoid* glMapBuffer(GLenum target, GLenum access);
169 void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
170 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
171 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
172 GLboolean glIsBuffer(GLuint buffer);
173 void glGenBuffers(GLsizei n, GLuint *buffers);
174 void glDeleteBuffers(GLsizei n, const GLuint *buffers);
175 void glBindBuffer(GLenum target, GLuint buffer);
176 void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params);
177 void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params);
178 void glGetQueryiv(GLenum target, GLenum pname, GLint *params);
179 void glEndQuery(GLenum target);
180 void glBeginQuery(GLenum target, GLuint id);
181 GLboolean glIsQuery(GLuint id);
182 void glDeleteQueries(GLsizei n, const GLuint *ids);
183 void glGenQueries(GLsizei n, GLuint *ids);
184
185 // OpenGL 2.0 core functions
186 void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
187 void glValidateProgram(GLuint program);
188 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
189 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
190 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
191 void glUniform4iv(GLint location, GLsizei count, const GLint *value);
192 void glUniform3iv(GLint location, GLsizei count, const GLint *value);
193 void glUniform2iv(GLint location, GLsizei count, const GLint *value);
194 void glUniform1iv(GLint location, GLsizei count, const GLint *value);
195 void glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
196 void glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
197 void glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
198 void glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
199 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
200 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
201 void glUniform2i(GLint location, GLint v0, GLint v1);
202 void glUniform1i(GLint location, GLint v0);
203 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
204 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
205 void glUniform2f(GLint location, GLfloat v0, GLfloat v1);
206 void glUniform1f(GLint location, GLfloat v0);
207 void glUseProgram(GLuint program);
208 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
209 void glLinkProgram(GLuint program);
210 GLboolean glIsShader(GLuint shader);
211 GLboolean glIsProgram(GLuint program);
212 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer);
213 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
214 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
215 void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params);
216 void glGetUniformiv(GLuint program, GLint location, GLint *params);
217 void glGetUniformfv(GLuint program, GLint location, GLfloat *params);
218 GLint glGetUniformLocation(GLuint program, const GLchar *name);
219 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
220 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
221 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
222 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
223 void glGetProgramiv(GLuint program, GLenum pname, GLint *params);
224 GLint glGetAttribLocation(GLuint program, const GLchar *name);
225 void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
226 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
227 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
228 void glEnableVertexAttribArray(GLuint index);
229 void glDisableVertexAttribArray(GLuint index);
230 void glDetachShader(GLuint program, GLuint shader);
231 void glDeleteShader(GLuint shader);
232 void glDeleteProgram(GLuint program);
233 GLuint glCreateShader(GLenum type);
234 GLuint glCreateProgram();
235 void glCompileShader(GLuint shader);
236 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
237 void glAttachShader(GLuint program, GLuint shader);
238 void glStencilMaskSeparate(GLenum face, GLuint mask);
239 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
240 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
241 void glDrawBuffers(GLsizei n, const GLenum *bufs);
242 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
243
244 // OpenGL 2.1 core functions
245 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
246 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
247 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
248 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
249 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
250 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
251
252 // OpenGL 3.0 core functions
253 GLboolean glIsVertexArray(GLuint array);
254 void glGenVertexArrays(GLsizei n, GLuint *arrays);
255 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays);
256 void glBindVertexArray(GLuint array);
257 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
258 GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
259 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
260 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
261 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
262 void glGenerateMipmap(GLenum target);
263 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params);
264 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
265 void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
266 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
267 void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
268 GLenum glCheckFramebufferStatus(GLenum target);
269 void glGenFramebuffers(GLsizei n, GLuint *framebuffers);
270 void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
271 void glBindFramebuffer(GLenum target, GLuint framebuffer);
272 GLboolean glIsFramebuffer(GLuint framebuffer);
273 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
274 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
275 void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
276 void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
277 void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
278 GLboolean glIsRenderbuffer(GLuint renderbuffer);
279 const GLubyte * glGetStringi(GLenum name, GLuint index);
280 void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
281 void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value);
282 void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);
283 void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
284 void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params);
285 void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params);
286 void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params);
287 void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params);
288 void glUniform4uiv(GLint location, GLsizei count, const GLuint *value);
289 void glUniform3uiv(GLint location, GLsizei count, const GLuint *value);
290 void glUniform2uiv(GLint location, GLsizei count, const GLuint *value);
291 void glUniform1uiv(GLint location, GLsizei count, const GLuint *value);
292 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
293 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
294 void glUniform2ui(GLint location, GLuint v0, GLuint v1);
295 void glUniform1ui(GLint location, GLuint v0);
296 GLint glGetFragDataLocation(GLuint program, const GLchar *name);
297 void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name);
298 void glGetUniformuiv(GLuint program, GLint location, GLuint *params);
299 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
300 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
301 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
302 void glEndConditionalRender();
303 void glBeginConditionalRender(GLuint id, GLenum mode);
304 void glClampColor(GLenum target, GLenum clamp);
305 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
306 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
307 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
308 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
309 void glEndTransformFeedback();
310 void glBeginTransformFeedback(GLenum primitiveMode);
311 GLboolean glIsEnabledi(GLenum target, GLuint index);
312 void glDisablei(GLenum target, GLuint index);
313 void glEnablei(GLenum target, GLuint index);
314 void glGetIntegeri_v(GLenum target, GLuint index, GLint *data);
315 void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data);
316 void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
317
318 // OpenGL 3.1 core functions
319 void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
320 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
321 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
322 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
323 GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName);
324 void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
325 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
326 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
327 void glPrimitiveRestartIndex(GLuint index);
328 void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer);
329 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
330 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
331
332 // OpenGL 3.2 core functions
333 void glSampleMaski(GLuint index, GLbitfield mask);
334 void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
335 void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
336 void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
337 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
338 void glGetInteger64v(GLenum pname, GLint64 *params);
339 void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
340 GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
341 void glDeleteSync(GLsync sync);
342 GLboolean glIsSync(GLsync sync);
343 GLsync glFenceSync(GLenum condition, GLbitfield flags);
344 void glProvokingVertex(GLenum mode);
345 void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
346 void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
347 void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
348 void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
349 void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level);
350 void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params);
351 void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data);
352
353 // OpenGL 3.3 core functions
354 void glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
355 void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
356 void glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
357 void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
358 void glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
359 void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
360 void glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
361 void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
362 void glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params);
363 void glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params);
364 void glQueryCounter(GLuint id, GLenum target);
365 void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params);
366 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params);
367 void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params);
368 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params);
369 void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param);
370 void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param);
371 void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param);
372 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
373 void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param);
374 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
375 void glBindSampler(GLuint unit, GLuint sampler);
376 GLboolean glIsSampler(GLuint sampler);
377 void glDeleteSamplers(GLsizei count, const GLuint *samplers);
378 void glGenSamplers(GLsizei count, GLuint *samplers);
379 GLint glGetFragDataIndex(GLuint program, const GLchar *name);
380 void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
381 void glVertexAttribDivisor(GLuint index, GLuint divisor);
382
383 // OpenGL 4.0 core functions
384 void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params);
385 void glEndQueryIndexed(GLenum target, GLuint index);
386 void glBeginQueryIndexed(GLenum target, GLuint index, GLuint id);
387 void glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream);
388 void glDrawTransformFeedback(GLenum mode, GLuint id);
389 void glResumeTransformFeedback();
390 void glPauseTransformFeedback();
391 GLboolean glIsTransformFeedback(GLuint id);
392 void glGenTransformFeedbacks(GLsizei n, GLuint *ids);
393 void glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids);
394 void glBindTransformFeedback(GLenum target, GLuint id);
395 void glPatchParameterfv(GLenum pname, const GLfloat *values);
396 void glPatchParameteri(GLenum pname, GLint value);
397 void glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values);
398 void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params);
399 void glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices);
400 void glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
401 void glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
402 void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
403 GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name);
404 GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name);
405 void glGetUniformdv(GLuint program, GLint location, GLdouble *params);
406 void glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
407 void glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
408 void glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
409 void glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
410 void glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
411 void glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
412 void glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
413 void glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
414 void glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
415 void glUniform4dv(GLint location, GLsizei count, const GLdouble *value);
416 void glUniform3dv(GLint location, GLsizei count, const GLdouble *value);
417 void glUniform2dv(GLint location, GLsizei count, const GLdouble *value);
418 void glUniform1dv(GLint location, GLsizei count, const GLdouble *value);
419 void glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
420 void glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z);
421 void glUniform2d(GLint location, GLdouble x, GLdouble y);
422 void glUniform1d(GLint location, GLdouble x);
423 void glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect);
424 void glDrawArraysIndirect(GLenum mode, const GLvoid *indirect);
425 void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
426 void glBlendFunci(GLuint buf, GLenum src, GLenum dst);
427 void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha);
428 void glBlendEquationi(GLuint buf, GLenum mode);
429 void glMinSampleShading(GLfloat value);
430
431 // OpenGL 4.1 core functions
432 void glGetDoublei_v(GLenum target, GLuint index, GLdouble *data);
433 void glGetFloati_v(GLenum target, GLuint index, GLfloat *data);
434 void glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f);
435 void glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v);
436 void glScissorIndexedv(GLuint index, const GLint *v);
437 void glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
438 void glScissorArrayv(GLuint first, GLsizei count, const GLint *v);
439 void glViewportIndexedfv(GLuint index, const GLfloat *v);
440 void glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
441 void glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v);
442 void glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params);
443 void glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
444 void glVertexAttribL4dv(GLuint index, const GLdouble *v);
445 void glVertexAttribL3dv(GLuint index, const GLdouble *v);
446 void glVertexAttribL2dv(GLuint index, const GLdouble *v);
447 void glVertexAttribL1dv(GLuint index, const GLdouble *v);
448 void glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
449 void glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
450 void glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y);
451 void glVertexAttribL1d(GLuint index, GLdouble x);
452 void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
453 void glValidateProgramPipeline(GLuint pipeline);
454 void glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
455 void glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
456 void glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
457 void glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
458 void glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
459 void glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
460 void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
461 void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
462 void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
463 void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
464 void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
465 void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
466 void glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
467 void glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
468 void glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
469 void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
470 void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
471 void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
472 void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
473 void glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
474 void glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value);
475 void glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
476 void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
477 void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
478 void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value);
479 void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
480 void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
481 void glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
482 void glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value);
483 void glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
484 void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
485 void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
486 void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value);
487 void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
488 void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
489 void glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1);
490 void glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value);
491 void glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1);
492 void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
493 void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1);
494 void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value);
495 void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1);
496 void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value);
497 void glProgramUniform1ui(GLuint program, GLint location, GLuint v0);
498 void glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value);
499 void glProgramUniform1d(GLuint program, GLint location, GLdouble v0);
500 void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value);
501 void glProgramUniform1f(GLuint program, GLint location, GLfloat v0);
502 void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value);
503 void glProgramUniform1i(GLuint program, GLint location, GLint v0);
504 void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params);
505 GLboolean glIsProgramPipeline(GLuint pipeline);
506 void glGenProgramPipelines(GLsizei n, GLuint *pipelines);
507 void glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines);
508 void glBindProgramPipeline(GLuint pipeline);
509 GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings);
510 void glActiveShaderProgram(GLuint pipeline, GLuint program);
511 void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program);
512 void glProgramParameteri(GLuint program, GLenum pname, GLint value);
513 void glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
514 void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
515 void glClearDepthf(GLfloat dd);
516 void glDepthRangef(GLfloat n, GLfloat f);
517 void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
518 void glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
519 void glReleaseShaderCompiler();
520
521private:
522 friend class QOpenGLVersionFunctionsFactory;
523
524 static bool isContextCompatible(QOpenGLContext *context);
525 static QOpenGLVersionProfile versionProfile();
526
527 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
528 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
529 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
530 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
531 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
532 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
533 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
534 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
535 QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core;
536 QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core;
537 QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core;
538 QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core;
539 QOpenGLFunctions_4_0_CoreBackend* d_4_0_Core;
540 QOpenGLFunctions_4_1_CoreBackend* d_4_1_Core;
541};
542
543// OpenGL 1.0 core functions
544inline void QOpenGLFunctions_4_1_Core::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
545{
546 d_1_0_Core->f.Viewport(x, y, width, height);
547}
548
549inline void QOpenGLFunctions_4_1_Core::glDepthRange(GLdouble nearVal, GLdouble farVal)
550{
551 d_1_0_Core->f.DepthRange(nearVal, farVal);
552}
553
554inline GLboolean QOpenGLFunctions_4_1_Core::glIsEnabled(GLenum cap)
555{
556 return d_1_0_Core->f.IsEnabled(cap);
557}
558
559inline void QOpenGLFunctions_4_1_Core::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
560{
561 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
562}
563
564inline void QOpenGLFunctions_4_1_Core::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
565{
566 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
567}
568
569inline void QOpenGLFunctions_4_1_Core::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
570{
571 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
572}
573
574inline void QOpenGLFunctions_4_1_Core::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
575{
576 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
577}
578
579inline void QOpenGLFunctions_4_1_Core::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
580{
581 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
582}
583
584inline const GLubyte * QOpenGLFunctions_4_1_Core::glGetString(GLenum name)
585{
586 return d_1_0_Core->f.GetString(name);
587}
588
589inline void QOpenGLFunctions_4_1_Core::glGetIntegerv(GLenum pname, GLint *params)
590{
591 d_1_0_Core->f.GetIntegerv(pname, params);
592}
593
594inline void QOpenGLFunctions_4_1_Core::glGetFloatv(GLenum pname, GLfloat *params)
595{
596 d_1_0_Core->f.GetFloatv(pname, params);
597}
598
599inline GLenum QOpenGLFunctions_4_1_Core::glGetError()
600{
601 return d_1_0_Core->f.GetError();
602}
603
604inline void QOpenGLFunctions_4_1_Core::glGetDoublev(GLenum pname, GLdouble *params)
605{
606 d_1_0_Core->f.GetDoublev(pname, params);
607}
608
609inline void QOpenGLFunctions_4_1_Core::glGetBooleanv(GLenum pname, GLboolean *params)
610{
611 d_1_0_Core->f.GetBooleanv(pname, params);
612}
613
614inline void QOpenGLFunctions_4_1_Core::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
615{
616 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
617}
618
619inline void QOpenGLFunctions_4_1_Core::glReadBuffer(GLenum mode)
620{
621 d_1_0_Core->f.ReadBuffer(mode);
622}
623
624inline void QOpenGLFunctions_4_1_Core::glPixelStorei(GLenum pname, GLint param)
625{
626 d_1_0_Core->f.PixelStorei(pname, param);
627}
628
629inline void QOpenGLFunctions_4_1_Core::glPixelStoref(GLenum pname, GLfloat param)
630{
631 d_1_0_Core->f.PixelStoref(pname, param);
632}
633
634inline void QOpenGLFunctions_4_1_Core::glDepthFunc(GLenum func)
635{
636 d_1_0_Core->f.DepthFunc(func);
637}
638
639inline void QOpenGLFunctions_4_1_Core::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
640{
641 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
642}
643
644inline void QOpenGLFunctions_4_1_Core::glStencilFunc(GLenum func, GLint ref, GLuint mask)
645{
646 d_1_0_Core->f.StencilFunc(func, ref, mask);
647}
648
649inline void QOpenGLFunctions_4_1_Core::glLogicOp(GLenum opcode)
650{
651 d_1_0_Core->f.LogicOp(opcode);
652}
653
654inline void QOpenGLFunctions_4_1_Core::glBlendFunc(GLenum sfactor, GLenum dfactor)
655{
656 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
657}
658
659inline void QOpenGLFunctions_4_1_Core::glFlush()
660{
661 d_1_0_Core->f.Flush();
662}
663
664inline void QOpenGLFunctions_4_1_Core::glFinish()
665{
666 d_1_0_Core->f.Finish();
667}
668
669inline void QOpenGLFunctions_4_1_Core::glEnable(GLenum cap)
670{
671 d_1_0_Core->f.Enable(cap);
672}
673
674inline void QOpenGLFunctions_4_1_Core::glDisable(GLenum cap)
675{
676 d_1_0_Core->f.Disable(cap);
677}
678
679inline void QOpenGLFunctions_4_1_Core::glDepthMask(GLboolean flag)
680{
681 d_1_0_Core->f.DepthMask(flag);
682}
683
684inline void QOpenGLFunctions_4_1_Core::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
685{
686 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
687}
688
689inline void QOpenGLFunctions_4_1_Core::glStencilMask(GLuint mask)
690{
691 d_1_0_Core->f.StencilMask(mask);
692}
693
694inline void QOpenGLFunctions_4_1_Core::glClearDepth(GLdouble depth)
695{
696 d_1_0_Core->f.ClearDepth(depth);
697}
698
699inline void QOpenGLFunctions_4_1_Core::glClearStencil(GLint s)
700{
701 d_1_0_Core->f.ClearStencil(s);
702}
703
704inline void QOpenGLFunctions_4_1_Core::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
705{
706 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
707}
708
709inline void QOpenGLFunctions_4_1_Core::glClear(GLbitfield mask)
710{
711 d_1_0_Core->f.Clear(mask);
712}
713
714inline void QOpenGLFunctions_4_1_Core::glDrawBuffer(GLenum mode)
715{
716 d_1_0_Core->f.DrawBuffer(mode);
717}
718
719inline void QOpenGLFunctions_4_1_Core::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
720{
721 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
722}
723
724inline void QOpenGLFunctions_4_1_Core::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
725{
726 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
727}
728
729inline void QOpenGLFunctions_4_1_Core::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
730{
731 d_1_0_Core->f.TexParameteriv(target, pname, params);
732}
733
734inline void QOpenGLFunctions_4_1_Core::glTexParameteri(GLenum target, GLenum pname, GLint param)
735{
736 d_1_0_Core->f.TexParameteri(target, pname, param);
737}
738
739inline void QOpenGLFunctions_4_1_Core::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
740{
741 d_1_0_Core->f.TexParameterfv(target, pname, params);
742}
743
744inline void QOpenGLFunctions_4_1_Core::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
745{
746 d_1_0_Core->f.TexParameterf(target, pname, param);
747}
748
749inline void QOpenGLFunctions_4_1_Core::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
750{
751 d_1_0_Core->f.Scissor(x, y, width, height);
752}
753
754inline void QOpenGLFunctions_4_1_Core::glPolygonMode(GLenum face, GLenum mode)
755{
756 d_1_0_Core->f.PolygonMode(face, mode);
757}
758
759inline void QOpenGLFunctions_4_1_Core::glPointSize(GLfloat size)
760{
761 d_1_0_Core->f.PointSize(size);
762}
763
764inline void QOpenGLFunctions_4_1_Core::glLineWidth(GLfloat width)
765{
766 d_1_0_Core->f.LineWidth(width);
767}
768
769inline void QOpenGLFunctions_4_1_Core::glHint(GLenum target, GLenum mode)
770{
771 d_1_0_Core->f.Hint(target, mode);
772}
773
774inline void QOpenGLFunctions_4_1_Core::glFrontFace(GLenum mode)
775{
776 d_1_0_Core->f.FrontFace(mode);
777}
778
779inline void QOpenGLFunctions_4_1_Core::glCullFace(GLenum mode)
780{
781 d_1_0_Core->f.CullFace(mode);
782}
783
784
785// OpenGL 1.1 core functions
786inline GLboolean QOpenGLFunctions_4_1_Core::glIsTexture(GLuint texture)
787{
788 return d_1_1_Core->f.IsTexture(texture);
789}
790
791inline void QOpenGLFunctions_4_1_Core::glGenTextures(GLsizei n, GLuint *textures)
792{
793 d_1_1_Core->f.GenTextures(n, textures);
794}
795
796inline void QOpenGLFunctions_4_1_Core::glDeleteTextures(GLsizei n, const GLuint *textures)
797{
798 d_1_1_Core->f.DeleteTextures(n, textures);
799}
800
801inline void QOpenGLFunctions_4_1_Core::glBindTexture(GLenum target, GLuint texture)
802{
803 d_1_1_Core->f.BindTexture(target, texture);
804}
805
806inline void QOpenGLFunctions_4_1_Core::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
807{
808 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
809}
810
811inline void QOpenGLFunctions_4_1_Core::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
812{
813 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
814}
815
816inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
817{
818 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
819}
820
821inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
822{
823 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
824}
825
826inline void QOpenGLFunctions_4_1_Core::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
827{
828 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
829}
830
831inline void QOpenGLFunctions_4_1_Core::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
832{
833 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
834}
835
836inline void QOpenGLFunctions_4_1_Core::glPolygonOffset(GLfloat factor, GLfloat units)
837{
838 d_1_1_Core->f.PolygonOffset(factor, units);
839}
840
841inline void QOpenGLFunctions_4_1_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
842{
843 d_1_1_Core->f.DrawElements(mode, count, type, indices);
844}
845
846inline void QOpenGLFunctions_4_1_Core::glDrawArrays(GLenum mode, GLint first, GLsizei count)
847{
848 d_1_1_Core->f.DrawArrays(mode, first, count);
849}
850
851
852// OpenGL 1.2 core functions
853inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
854{
855 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
856}
857
858inline void QOpenGLFunctions_4_1_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)
859{
860 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
861}
862
863inline void QOpenGLFunctions_4_1_Core::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
864{
865 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
866}
867
868inline void QOpenGLFunctions_4_1_Core::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
869{
870 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
871}
872
873inline void QOpenGLFunctions_4_1_Core::glBlendEquation(GLenum mode)
874{
875 d_1_2_Core->f.BlendEquation(mode);
876}
877
878inline void QOpenGLFunctions_4_1_Core::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
879{
880 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
881}
882
883
884// OpenGL 1.3 core functions
885inline void QOpenGLFunctions_4_1_Core::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
886{
887 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
888}
889
890inline void QOpenGLFunctions_4_1_Core::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
891{
892 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
893}
894
895inline void QOpenGLFunctions_4_1_Core::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
896{
897 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
898}
899
900inline void QOpenGLFunctions_4_1_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)
901{
902 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
903}
904
905inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
906{
907 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
908}
909
910inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
911{
912 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
913}
914
915inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
916{
917 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
918}
919
920inline void QOpenGLFunctions_4_1_Core::glSampleCoverage(GLfloat value, GLboolean invert)
921{
922 d_1_3_Core->f.SampleCoverage(value, invert);
923}
924
925inline void QOpenGLFunctions_4_1_Core::glActiveTexture(GLenum texture)
926{
927 d_1_3_Core->f.ActiveTexture(texture);
928}
929
930
931// OpenGL 1.4 core functions
932inline void QOpenGLFunctions_4_1_Core::glPointParameteriv(GLenum pname, const GLint *params)
933{
934 d_1_4_Core->f.PointParameteriv(pname, params);
935}
936
937inline void QOpenGLFunctions_4_1_Core::glPointParameteri(GLenum pname, GLint param)
938{
939 d_1_4_Core->f.PointParameteri(pname, param);
940}
941
942inline void QOpenGLFunctions_4_1_Core::glPointParameterfv(GLenum pname, const GLfloat *params)
943{
944 d_1_4_Core->f.PointParameterfv(pname, params);
945}
946
947inline void QOpenGLFunctions_4_1_Core::glPointParameterf(GLenum pname, GLfloat param)
948{
949 d_1_4_Core->f.PointParameterf(pname, param);
950}
951
952inline void QOpenGLFunctions_4_1_Core::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
953{
954 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
955}
956
957inline void QOpenGLFunctions_4_1_Core::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
958{
959 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
960}
961
962inline void QOpenGLFunctions_4_1_Core::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
963{
964 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
965}
966
967
968// OpenGL 1.5 core functions
969inline void QOpenGLFunctions_4_1_Core::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
970{
971 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
972}
973
974inline void QOpenGLFunctions_4_1_Core::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
975{
976 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
977}
978
979inline GLboolean QOpenGLFunctions_4_1_Core::glUnmapBuffer(GLenum target)
980{
981 return d_1_5_Core->f.UnmapBuffer(target);
982}
983
984inline GLvoid* QOpenGLFunctions_4_1_Core::glMapBuffer(GLenum target, GLenum access)
985{
986 return d_1_5_Core->f.MapBuffer(target, access);
987}
988
989inline void QOpenGLFunctions_4_1_Core::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
990{
991 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
992}
993
994inline void QOpenGLFunctions_4_1_Core::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
995{
996 d_1_5_Core->f.BufferSubData(target, offset, size, data);
997}
998
999inline void QOpenGLFunctions_4_1_Core::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
1000{
1001 d_1_5_Core->f.BufferData(target, size, data, usage);
1002}
1003
1004inline GLboolean QOpenGLFunctions_4_1_Core::glIsBuffer(GLuint buffer)
1005{
1006 return d_1_5_Core->f.IsBuffer(buffer);
1007}
1008
1009inline void QOpenGLFunctions_4_1_Core::glGenBuffers(GLsizei n, GLuint *buffers)
1010{
1011 d_1_5_Core->f.GenBuffers(n, buffers);
1012}
1013
1014inline void QOpenGLFunctions_4_1_Core::glDeleteBuffers(GLsizei n, const GLuint *buffers)
1015{
1016 d_1_5_Core->f.DeleteBuffers(n, buffers);
1017}
1018
1019inline void QOpenGLFunctions_4_1_Core::glBindBuffer(GLenum target, GLuint buffer)
1020{
1021 d_1_5_Core->f.BindBuffer(target, buffer);
1022}
1023
1024inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
1025{
1026 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
1027}
1028
1029inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
1030{
1031 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
1032}
1033
1034inline void QOpenGLFunctions_4_1_Core::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
1035{
1036 d_1_5_Core->f.GetQueryiv(target, pname, params);
1037}
1038
1039inline void QOpenGLFunctions_4_1_Core::glEndQuery(GLenum target)
1040{
1041 d_1_5_Core->f.EndQuery(target);
1042}
1043
1044inline void QOpenGLFunctions_4_1_Core::glBeginQuery(GLenum target, GLuint id)
1045{
1046 d_1_5_Core->f.BeginQuery(target, id);
1047}
1048
1049inline GLboolean QOpenGLFunctions_4_1_Core::glIsQuery(GLuint id)
1050{
1051 return d_1_5_Core->f.IsQuery(id);
1052}
1053
1054inline void QOpenGLFunctions_4_1_Core::glDeleteQueries(GLsizei n, const GLuint *ids)
1055{
1056 d_1_5_Core->f.DeleteQueries(n, ids);
1057}
1058
1059inline void QOpenGLFunctions_4_1_Core::glGenQueries(GLsizei n, GLuint *ids)
1060{
1061 d_1_5_Core->f.GenQueries(n, ids);
1062}
1063
1064
1065// OpenGL 2.0 core functions
1066inline void QOpenGLFunctions_4_1_Core::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
1067{
1068 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
1069}
1070
1071inline void QOpenGLFunctions_4_1_Core::glValidateProgram(GLuint program)
1072{
1073 d_2_0_Core->f.ValidateProgram(program);
1074}
1075
1076inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1077{
1078 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
1079}
1080
1081inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1082{
1083 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
1084}
1085
1086inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1087{
1088 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
1089}
1090
1091inline void QOpenGLFunctions_4_1_Core::glUniform4iv(GLint location, GLsizei count, const GLint *value)
1092{
1093 d_2_0_Core->f.Uniform4iv(location, count, value);
1094}
1095
1096inline void QOpenGLFunctions_4_1_Core::glUniform3iv(GLint location, GLsizei count, const GLint *value)
1097{
1098 d_2_0_Core->f.Uniform3iv(location, count, value);
1099}
1100
1101inline void QOpenGLFunctions_4_1_Core::glUniform2iv(GLint location, GLsizei count, const GLint *value)
1102{
1103 d_2_0_Core->f.Uniform2iv(location, count, value);
1104}
1105
1106inline void QOpenGLFunctions_4_1_Core::glUniform1iv(GLint location, GLsizei count, const GLint *value)
1107{
1108 d_2_0_Core->f.Uniform1iv(location, count, value);
1109}
1110
1111inline void QOpenGLFunctions_4_1_Core::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
1112{
1113 d_2_0_Core->f.Uniform4fv(location, count, value);
1114}
1115
1116inline void QOpenGLFunctions_4_1_Core::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
1117{
1118 d_2_0_Core->f.Uniform3fv(location, count, value);
1119}
1120
1121inline void QOpenGLFunctions_4_1_Core::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
1122{
1123 d_2_0_Core->f.Uniform2fv(location, count, value);
1124}
1125
1126inline void QOpenGLFunctions_4_1_Core::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
1127{
1128 d_2_0_Core->f.Uniform1fv(location, count, value);
1129}
1130
1131inline void QOpenGLFunctions_4_1_Core::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
1132{
1133 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
1134}
1135
1136inline void QOpenGLFunctions_4_1_Core::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
1137{
1138 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
1139}
1140
1141inline void QOpenGLFunctions_4_1_Core::glUniform2i(GLint location, GLint v0, GLint v1)
1142{
1143 d_2_0_Core->f.Uniform2i(location, v0, v1);
1144}
1145
1146inline void QOpenGLFunctions_4_1_Core::glUniform1i(GLint location, GLint v0)
1147{
1148 d_2_0_Core->f.Uniform1i(location, v0);
1149}
1150
1151inline void QOpenGLFunctions_4_1_Core::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1152{
1153 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1154}
1155
1156inline void QOpenGLFunctions_4_1_Core::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1157{
1158 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1159}
1160
1161inline void QOpenGLFunctions_4_1_Core::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1162{
1163 d_2_0_Core->f.Uniform2f(location, v0, v1);
1164}
1165
1166inline void QOpenGLFunctions_4_1_Core::glUniform1f(GLint location, GLfloat v0)
1167{
1168 d_2_0_Core->f.Uniform1f(location, v0);
1169}
1170
1171inline void QOpenGLFunctions_4_1_Core::glUseProgram(GLuint program)
1172{
1173 d_2_0_Core->f.UseProgram(program);
1174}
1175
1176inline void QOpenGLFunctions_4_1_Core::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1177{
1178 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1179}
1180
1181inline void QOpenGLFunctions_4_1_Core::glLinkProgram(GLuint program)
1182{
1183 d_2_0_Core->f.LinkProgram(program);
1184}
1185
1186inline GLboolean QOpenGLFunctions_4_1_Core::glIsShader(GLuint shader)
1187{
1188 return d_2_0_Core->f.IsShader(shader);
1189}
1190
1191inline GLboolean QOpenGLFunctions_4_1_Core::glIsProgram(GLuint program)
1192{
1193 return d_2_0_Core->f.IsProgram(program);
1194}
1195
1196inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1197{
1198 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1199}
1200
1201inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1202{
1203 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1204}
1205
1206inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1207{
1208 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1209}
1210
1211inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1212{
1213 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1214}
1215
1216inline void QOpenGLFunctions_4_1_Core::glGetUniformiv(GLuint program, GLint location, GLint *params)
1217{
1218 d_2_0_Core->f.GetUniformiv(program, location, params);
1219}
1220
1221inline void QOpenGLFunctions_4_1_Core::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1222{
1223 d_2_0_Core->f.GetUniformfv(program, location, params);
1224}
1225
1226inline GLint QOpenGLFunctions_4_1_Core::glGetUniformLocation(GLuint program, const GLchar *name)
1227{
1228 return d_2_0_Core->f.GetUniformLocation(program, name);
1229}
1230
1231inline void QOpenGLFunctions_4_1_Core::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1232{
1233 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1234}
1235
1236inline void QOpenGLFunctions_4_1_Core::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1237{
1238 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1239}
1240
1241inline void QOpenGLFunctions_4_1_Core::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1242{
1243 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1244}
1245
1246inline void QOpenGLFunctions_4_1_Core::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1247{
1248 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1249}
1250
1251inline void QOpenGLFunctions_4_1_Core::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1252{
1253 d_2_0_Core->f.GetProgramiv(program, pname, params);
1254}
1255
1256inline GLint QOpenGLFunctions_4_1_Core::glGetAttribLocation(GLuint program, const GLchar *name)
1257{
1258 return d_2_0_Core->f.GetAttribLocation(program, name);
1259}
1260
1261inline void QOpenGLFunctions_4_1_Core::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1262{
1263 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1264}
1265
1266inline void QOpenGLFunctions_4_1_Core::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1267{
1268 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1269}
1270
1271inline void QOpenGLFunctions_4_1_Core::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1272{
1273 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1274}
1275
1276inline void QOpenGLFunctions_4_1_Core::glEnableVertexAttribArray(GLuint index)
1277{
1278 d_2_0_Core->f.EnableVertexAttribArray(index);
1279}
1280
1281inline void QOpenGLFunctions_4_1_Core::glDisableVertexAttribArray(GLuint index)
1282{
1283 d_2_0_Core->f.DisableVertexAttribArray(index);
1284}
1285
1286inline void QOpenGLFunctions_4_1_Core::glDetachShader(GLuint program, GLuint shader)
1287{
1288 d_2_0_Core->f.DetachShader(program, shader);
1289}
1290
1291inline void QOpenGLFunctions_4_1_Core::glDeleteShader(GLuint shader)
1292{
1293 d_2_0_Core->f.DeleteShader(shader);
1294}
1295
1296inline void QOpenGLFunctions_4_1_Core::glDeleteProgram(GLuint program)
1297{
1298 d_2_0_Core->f.DeleteProgram(program);
1299}
1300
1301inline GLuint QOpenGLFunctions_4_1_Core::glCreateShader(GLenum type)
1302{
1303 return d_2_0_Core->f.CreateShader(type);
1304}
1305
1306inline GLuint QOpenGLFunctions_4_1_Core::glCreateProgram()
1307{
1308 return d_2_0_Core->f.CreateProgram();
1309}
1310
1311inline void QOpenGLFunctions_4_1_Core::glCompileShader(GLuint shader)
1312{
1313 d_2_0_Core->f.CompileShader(shader);
1314}
1315
1316inline void QOpenGLFunctions_4_1_Core::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1317{
1318 d_2_0_Core->f.BindAttribLocation(program, index, name);
1319}
1320
1321inline void QOpenGLFunctions_4_1_Core::glAttachShader(GLuint program, GLuint shader)
1322{
1323 d_2_0_Core->f.AttachShader(program, shader);
1324}
1325
1326inline void QOpenGLFunctions_4_1_Core::glStencilMaskSeparate(GLenum face, GLuint mask)
1327{
1328 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1329}
1330
1331inline void QOpenGLFunctions_4_1_Core::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1332{
1333 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1334}
1335
1336inline void QOpenGLFunctions_4_1_Core::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1337{
1338 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1339}
1340
1341inline void QOpenGLFunctions_4_1_Core::glDrawBuffers(GLsizei n, const GLenum *bufs)
1342{
1343 d_2_0_Core->f.DrawBuffers(n, bufs);
1344}
1345
1346inline void QOpenGLFunctions_4_1_Core::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1347{
1348 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1349}
1350
1351
1352// OpenGL 2.1 core functions
1353inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1354{
1355 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1356}
1357
1358inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1359{
1360 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1361}
1362
1363inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1364{
1365 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1366}
1367
1368inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1369{
1370 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1371}
1372
1373inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1374{
1375 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1376}
1377
1378inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1379{
1380 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1381}
1382
1383
1384// OpenGL 3.0 core functions
1385inline GLboolean QOpenGLFunctions_4_1_Core::glIsVertexArray(GLuint array)
1386{
1387 return d_3_0_Core->f.IsVertexArray(array);
1388}
1389
1390inline void QOpenGLFunctions_4_1_Core::glGenVertexArrays(GLsizei n, GLuint *arrays)
1391{
1392 d_3_0_Core->f.GenVertexArrays(n, arrays);
1393}
1394
1395inline void QOpenGLFunctions_4_1_Core::glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
1396{
1397 d_3_0_Core->f.DeleteVertexArrays(n, arrays);
1398}
1399
1400inline void QOpenGLFunctions_4_1_Core::glBindVertexArray(GLuint array)
1401{
1402 d_3_0_Core->f.BindVertexArray(array);
1403}
1404
1405inline void QOpenGLFunctions_4_1_Core::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
1406{
1407 d_3_0_Core->f.FlushMappedBufferRange(target, offset, length);
1408}
1409
1410inline GLvoid* QOpenGLFunctions_4_1_Core::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
1411{
1412 return d_3_0_Core->f.MapBufferRange(target, offset, length, access);
1413}
1414
1415inline void QOpenGLFunctions_4_1_Core::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
1416{
1417 d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer);
1418}
1419
1420inline void QOpenGLFunctions_4_1_Core::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
1421{
1422 d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height);
1423}
1424
1425inline void QOpenGLFunctions_4_1_Core::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
1426{
1427 d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1428}
1429
1430inline void QOpenGLFunctions_4_1_Core::glGenerateMipmap(GLenum target)
1431{
1432 d_3_0_Core->f.GenerateMipmap(target);
1433}
1434
1435inline void QOpenGLFunctions_4_1_Core::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
1436{
1437 d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
1438}
1439
1440inline void QOpenGLFunctions_4_1_Core::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1441{
1442 d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1443}
1444
1445inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1446{
1447 d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
1448}
1449
1450inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1451{
1452 d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level);
1453}
1454
1455inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1456{
1457 d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level);
1458}
1459
1460inline GLenum QOpenGLFunctions_4_1_Core::glCheckFramebufferStatus(GLenum target)
1461{
1462 return d_3_0_Core->f.CheckFramebufferStatus(target);
1463}
1464
1465inline void QOpenGLFunctions_4_1_Core::glGenFramebuffers(GLsizei n, GLuint *framebuffers)
1466{
1467 d_3_0_Core->f.GenFramebuffers(n, framebuffers);
1468}
1469
1470inline void QOpenGLFunctions_4_1_Core::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
1471{
1472 d_3_0_Core->f.DeleteFramebuffers(n, framebuffers);
1473}
1474
1475inline void QOpenGLFunctions_4_1_Core::glBindFramebuffer(GLenum target, GLuint framebuffer)
1476{
1477 d_3_0_Core->f.BindFramebuffer(target, framebuffer);
1478}
1479
1480inline GLboolean QOpenGLFunctions_4_1_Core::glIsFramebuffer(GLuint framebuffer)
1481{
1482 return d_3_0_Core->f.IsFramebuffer(framebuffer);
1483}
1484
1485inline void QOpenGLFunctions_4_1_Core::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
1486{
1487 d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params);
1488}
1489
1490inline void QOpenGLFunctions_4_1_Core::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
1491{
1492 d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height);
1493}
1494
1495inline void QOpenGLFunctions_4_1_Core::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
1496{
1497 d_3_0_Core->f.GenRenderbuffers(n, renderbuffers);
1498}
1499
1500inline void QOpenGLFunctions_4_1_Core::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
1501{
1502 d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers);
1503}
1504
1505inline void QOpenGLFunctions_4_1_Core::glBindRenderbuffer(GLenum target, GLuint renderbuffer)
1506{
1507 d_3_0_Core->f.BindRenderbuffer(target, renderbuffer);
1508}
1509
1510inline GLboolean QOpenGLFunctions_4_1_Core::glIsRenderbuffer(GLuint renderbuffer)
1511{
1512 return d_3_0_Core->f.IsRenderbuffer(renderbuffer);
1513}
1514
1515inline const GLubyte * QOpenGLFunctions_4_1_Core::glGetStringi(GLenum name, GLuint index)
1516{
1517 return d_3_0_Core->f.GetStringi(name, index);
1518}
1519
1520inline void QOpenGLFunctions_4_1_Core::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
1521{
1522 d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil);
1523}
1524
1525inline void QOpenGLFunctions_4_1_Core::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
1526{
1527 d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value);
1528}
1529
1530inline void QOpenGLFunctions_4_1_Core::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
1531{
1532 d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value);
1533}
1534
1535inline void QOpenGLFunctions_4_1_Core::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
1536{
1537 d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value);
1538}
1539
1540inline void QOpenGLFunctions_4_1_Core::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
1541{
1542 d_3_0_Core->f.GetTexParameterIuiv(target, pname, params);
1543}
1544
1545inline void QOpenGLFunctions_4_1_Core::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
1546{
1547 d_3_0_Core->f.GetTexParameterIiv(target, pname, params);
1548}
1549
1550inline void QOpenGLFunctions_4_1_Core::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
1551{
1552 d_3_0_Core->f.TexParameterIuiv(target, pname, params);
1553}
1554
1555inline void QOpenGLFunctions_4_1_Core::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
1556{
1557 d_3_0_Core->f.TexParameterIiv(target, pname, params);
1558}
1559
1560inline void QOpenGLFunctions_4_1_Core::glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
1561{
1562 d_3_0_Core->f.Uniform4uiv(location, count, value);
1563}
1564
1565inline void QOpenGLFunctions_4_1_Core::glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
1566{
1567 d_3_0_Core->f.Uniform3uiv(location, count, value);
1568}
1569
1570inline void QOpenGLFunctions_4_1_Core::glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
1571{
1572 d_3_0_Core->f.Uniform2uiv(location, count, value);
1573}
1574
1575inline void QOpenGLFunctions_4_1_Core::glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
1576{
1577 d_3_0_Core->f.Uniform1uiv(location, count, value);
1578}
1579
1580inline void QOpenGLFunctions_4_1_Core::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
1581{
1582 d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3);
1583}
1584
1585inline void QOpenGLFunctions_4_1_Core::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
1586{
1587 d_3_0_Core->f.Uniform3ui(location, v0, v1, v2);
1588}
1589
1590inline void QOpenGLFunctions_4_1_Core::glUniform2ui(GLint location, GLuint v0, GLuint v1)
1591{
1592 d_3_0_Core->f.Uniform2ui(location, v0, v1);
1593}
1594
1595inline void QOpenGLFunctions_4_1_Core::glUniform1ui(GLint location, GLuint v0)
1596{
1597 d_3_0_Core->f.Uniform1ui(location, v0);
1598}
1599
1600inline GLint QOpenGLFunctions_4_1_Core::glGetFragDataLocation(GLuint program, const GLchar *name)
1601{
1602 return d_3_0_Core->f.GetFragDataLocation(program, name);
1603}
1604
1605inline void QOpenGLFunctions_4_1_Core::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
1606{
1607 d_3_0_Core->f.BindFragDataLocation(program, color, name);
1608}
1609
1610inline void QOpenGLFunctions_4_1_Core::glGetUniformuiv(GLuint program, GLint location, GLuint *params)
1611{
1612 d_3_0_Core->f.GetUniformuiv(program, location, params);
1613}
1614
1615inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
1616{
1617 d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params);
1618}
1619
1620inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
1621{
1622 d_3_0_Core->f.GetVertexAttribIiv(index, pname, params);
1623}
1624
1625inline void QOpenGLFunctions_4_1_Core::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
1626{
1627 d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer);
1628}
1629
1630inline void QOpenGLFunctions_4_1_Core::glEndConditionalRender()
1631{
1632 d_3_0_Core->f.EndConditionalRender();
1633}
1634
1635inline void QOpenGLFunctions_4_1_Core::glBeginConditionalRender(GLuint id, GLenum mode)
1636{
1637 d_3_0_Core->f.BeginConditionalRender(id, mode);
1638}
1639
1640inline void QOpenGLFunctions_4_1_Core::glClampColor(GLenum target, GLenum clamp)
1641{
1642 d_3_0_Core->f.ClampColor(target, clamp);
1643}
1644
1645inline void QOpenGLFunctions_4_1_Core::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
1646{
1647 d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
1648}
1649
1650inline void QOpenGLFunctions_4_1_Core::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode)
1651{
1652 d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode);
1653}
1654
1655inline void QOpenGLFunctions_4_1_Core::glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
1656{
1657 d_3_0_Core->f.BindBufferBase(target, index, buffer);
1658}
1659
1660inline void QOpenGLFunctions_4_1_Core::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
1661{
1662 d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size);
1663}
1664
1665inline void QOpenGLFunctions_4_1_Core::glEndTransformFeedback()
1666{
1667 d_3_0_Core->f.EndTransformFeedback();
1668}
1669
1670inline void QOpenGLFunctions_4_1_Core::glBeginTransformFeedback(GLenum primitiveMode)
1671{
1672 d_3_0_Core->f.BeginTransformFeedback(primitiveMode);
1673}
1674
1675inline GLboolean QOpenGLFunctions_4_1_Core::glIsEnabledi(GLenum target, GLuint index)
1676{
1677 return d_3_0_Core->f.IsEnabledi(target, index);
1678}
1679
1680inline void QOpenGLFunctions_4_1_Core::glDisablei(GLenum target, GLuint index)
1681{
1682 d_3_0_Core->f.Disablei(target, index);
1683}
1684
1685inline void QOpenGLFunctions_4_1_Core::glEnablei(GLenum target, GLuint index)
1686{
1687 d_3_0_Core->f.Enablei(target, index);
1688}
1689
1690inline void QOpenGLFunctions_4_1_Core::glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
1691{
1692 d_3_0_Core->f.GetIntegeri_v(target, index, data);
1693}
1694
1695inline void QOpenGLFunctions_4_1_Core::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
1696{
1697 d_3_0_Core->f.GetBooleani_v(target, index, data);
1698}
1699
1700inline void QOpenGLFunctions_4_1_Core::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
1701{
1702 d_3_0_Core->f.ColorMaski(index, r, g, b, a);
1703}
1704
1705
1706// OpenGL 3.1 core functions
1707inline void QOpenGLFunctions_4_1_Core::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
1708{
1709 d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
1710}
1711
1712inline void QOpenGLFunctions_4_1_Core::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
1713{
1714 d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
1715}
1716
1717inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
1718{
1719 d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName);
1720}
1721
1722inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
1723{
1724 d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
1725}
1726
1727inline GLuint QOpenGLFunctions_4_1_Core::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
1728{
1729 return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName);
1730}
1731
1732inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
1733{
1734 d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
1735}
1736
1737inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
1738{
1739 d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
1740}
1741
1742inline void QOpenGLFunctions_4_1_Core::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices)
1743{
1744 d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices);
1745}
1746
1747inline void QOpenGLFunctions_4_1_Core::glPrimitiveRestartIndex(GLuint index)
1748{
1749 d_3_1_Core->f.PrimitiveRestartIndex(index);
1750}
1751
1752inline void QOpenGLFunctions_4_1_Core::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
1753{
1754 d_3_1_Core->f.TexBuffer(target, internalformat, buffer);
1755}
1756
1757inline void QOpenGLFunctions_4_1_Core::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount)
1758{
1759 d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount);
1760}
1761
1762inline void QOpenGLFunctions_4_1_Core::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
1763{
1764 d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount);
1765}
1766
1767
1768// OpenGL 3.2 core functions
1769inline void QOpenGLFunctions_4_1_Core::glSampleMaski(GLuint index, GLbitfield mask)
1770{
1771 d_3_2_Core->f.SampleMaski(index, mask);
1772}
1773
1774inline void QOpenGLFunctions_4_1_Core::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
1775{
1776 d_3_2_Core->f.GetMultisamplefv(pname, index, val);
1777}
1778
1779inline void QOpenGLFunctions_4_1_Core::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
1780{
1781 d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
1782}
1783
1784inline void QOpenGLFunctions_4_1_Core::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
1785{
1786 d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
1787}
1788
1789inline void QOpenGLFunctions_4_1_Core::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
1790{
1791 d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values);
1792}
1793
1794inline void QOpenGLFunctions_4_1_Core::glGetInteger64v(GLenum pname, GLint64 *params)
1795{
1796 d_3_2_Core->f.GetInteger64v(pname, params);
1797}
1798
1799inline void QOpenGLFunctions_4_1_Core::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1800{
1801 d_3_2_Core->f.WaitSync(sync, flags, timeout);
1802}
1803
1804inline GLenum QOpenGLFunctions_4_1_Core::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1805{
1806 return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout);
1807}
1808
1809inline void QOpenGLFunctions_4_1_Core::glDeleteSync(GLsync sync)
1810{
1811 d_3_2_Core->f.DeleteSync(sync);
1812}
1813
1814inline GLboolean QOpenGLFunctions_4_1_Core::glIsSync(GLsync sync)
1815{
1816 return d_3_2_Core->f.IsSync(sync);
1817}
1818
1819inline GLsync QOpenGLFunctions_4_1_Core::glFenceSync(GLenum condition, GLbitfield flags)
1820{
1821 return d_3_2_Core->f.FenceSync(condition, flags);
1822}
1823
1824inline void QOpenGLFunctions_4_1_Core::glProvokingVertex(GLenum mode)
1825{
1826 d_3_2_Core->f.ProvokingVertex(mode);
1827}
1828
1829inline void QOpenGLFunctions_4_1_Core::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex)
1830{
1831 d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
1832}
1833
1834inline void QOpenGLFunctions_4_1_Core::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex)
1835{
1836 d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex);
1837}
1838
1839inline void QOpenGLFunctions_4_1_Core::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1840{
1841 d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
1842}
1843
1844inline void QOpenGLFunctions_4_1_Core::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1845{
1846 d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex);
1847}
1848
1849inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
1850{
1851 d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level);
1852}
1853
1854inline void QOpenGLFunctions_4_1_Core::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
1855{
1856 d_3_2_Core->f.GetBufferParameteri64v(target, pname, params);
1857}
1858
1859inline void QOpenGLFunctions_4_1_Core::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
1860{
1861 d_3_2_Core->f.GetInteger64i_v(target, index, data);
1862}
1863
1864
1865// OpenGL 3.3 core functions
1866inline void QOpenGLFunctions_4_1_Core::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1867{
1868 d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value);
1869}
1870
1871inline void QOpenGLFunctions_4_1_Core::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1872{
1873 d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value);
1874}
1875
1876inline void QOpenGLFunctions_4_1_Core::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1877{
1878 d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value);
1879}
1880
1881inline void QOpenGLFunctions_4_1_Core::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1882{
1883 d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value);
1884}
1885
1886inline void QOpenGLFunctions_4_1_Core::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1887{
1888 d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value);
1889}
1890
1891inline void QOpenGLFunctions_4_1_Core::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1892{
1893 d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value);
1894}
1895
1896inline void QOpenGLFunctions_4_1_Core::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1897{
1898 d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value);
1899}
1900
1901inline void QOpenGLFunctions_4_1_Core::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1902{
1903 d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value);
1904}
1905
1906inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
1907{
1908 d_3_3_Core->f.GetQueryObjectui64v(id, pname, params);
1909}
1910
1911inline void QOpenGLFunctions_4_1_Core::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
1912{
1913 d_3_3_Core->f.GetQueryObjecti64v(id, pname, params);
1914}
1915
1916inline void QOpenGLFunctions_4_1_Core::glQueryCounter(GLuint id, GLenum target)
1917{
1918 d_3_3_Core->f.QueryCounter(id, target);
1919}
1920
1921inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
1922{
1923 d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params);
1924}
1925
1926inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
1927{
1928 d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params);
1929}
1930
1931inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
1932{
1933 d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params);
1934}
1935
1936inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
1937{
1938 d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params);
1939}
1940
1941inline void QOpenGLFunctions_4_1_Core::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
1942{
1943 d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param);
1944}
1945
1946inline void QOpenGLFunctions_4_1_Core::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
1947{
1948 d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param);
1949}
1950
1951inline void QOpenGLFunctions_4_1_Core::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
1952{
1953 d_3_3_Core->f.SamplerParameterfv(sampler, pname, param);
1954}
1955
1956inline void QOpenGLFunctions_4_1_Core::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
1957{
1958 d_3_3_Core->f.SamplerParameterf(sampler, pname, param);
1959}
1960
1961inline void QOpenGLFunctions_4_1_Core::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
1962{
1963 d_3_3_Core->f.SamplerParameteriv(sampler, pname, param);
1964}
1965
1966inline void QOpenGLFunctions_4_1_Core::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
1967{
1968 d_3_3_Core->f.SamplerParameteri(sampler, pname, param);
1969}
1970
1971inline void QOpenGLFunctions_4_1_Core::glBindSampler(GLuint unit, GLuint sampler)
1972{
1973 d_3_3_Core->f.BindSampler(unit, sampler);
1974}
1975
1976inline GLboolean QOpenGLFunctions_4_1_Core::glIsSampler(GLuint sampler)
1977{
1978 return d_3_3_Core->f.IsSampler(sampler);
1979}
1980
1981inline void QOpenGLFunctions_4_1_Core::glDeleteSamplers(GLsizei count, const GLuint *samplers)
1982{
1983 d_3_3_Core->f.DeleteSamplers(count, samplers);
1984}
1985
1986inline void QOpenGLFunctions_4_1_Core::glGenSamplers(GLsizei count, GLuint *samplers)
1987{
1988 d_3_3_Core->f.GenSamplers(count, samplers);
1989}
1990
1991inline GLint QOpenGLFunctions_4_1_Core::glGetFragDataIndex(GLuint program, const GLchar *name)
1992{
1993 return d_3_3_Core->f.GetFragDataIndex(program, name);
1994}
1995
1996inline void QOpenGLFunctions_4_1_Core::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
1997{
1998 d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name);
1999}
2000
2001inline void QOpenGLFunctions_4_1_Core::glVertexAttribDivisor(GLuint index, GLuint divisor)
2002{
2003 d_3_3_Core->f.VertexAttribDivisor(index, divisor);
2004}
2005
2006
2007// OpenGL 4.0 core functions
2008inline void QOpenGLFunctions_4_1_Core::glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params)
2009{
2010 d_4_0_Core->f.GetQueryIndexediv(target, index, pname, params);
2011}
2012
2013inline void QOpenGLFunctions_4_1_Core::glEndQueryIndexed(GLenum target, GLuint index)
2014{
2015 d_4_0_Core->f.EndQueryIndexed(target, index);
2016}
2017
2018inline void QOpenGLFunctions_4_1_Core::glBeginQueryIndexed(GLenum target, GLuint index, GLuint id)
2019{
2020 d_4_0_Core->f.BeginQueryIndexed(target, index, id);
2021}
2022
2023inline void QOpenGLFunctions_4_1_Core::glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream)
2024{
2025 d_4_0_Core->f.DrawTransformFeedbackStream(mode, id, stream);
2026}
2027
2028inline void QOpenGLFunctions_4_1_Core::glDrawTransformFeedback(GLenum mode, GLuint id)
2029{
2030 d_4_0_Core->f.DrawTransformFeedback(mode, id);
2031}
2032
2033inline void QOpenGLFunctions_4_1_Core::glResumeTransformFeedback()
2034{
2035 d_4_0_Core->f.ResumeTransformFeedback();
2036}
2037
2038inline void QOpenGLFunctions_4_1_Core::glPauseTransformFeedback()
2039{
2040 d_4_0_Core->f.PauseTransformFeedback();
2041}
2042
2043inline GLboolean QOpenGLFunctions_4_1_Core::glIsTransformFeedback(GLuint id)
2044{
2045 return d_4_0_Core->f.IsTransformFeedback(id);
2046}
2047
2048inline void QOpenGLFunctions_4_1_Core::glGenTransformFeedbacks(GLsizei n, GLuint *ids)
2049{
2050 d_4_0_Core->f.GenTransformFeedbacks(n, ids);
2051}
2052
2053inline void QOpenGLFunctions_4_1_Core::glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids)
2054{
2055 d_4_0_Core->f.DeleteTransformFeedbacks(n, ids);
2056}
2057
2058inline void QOpenGLFunctions_4_1_Core::glBindTransformFeedback(GLenum target, GLuint id)
2059{
2060 d_4_0_Core->f.BindTransformFeedback(target, id);
2061}
2062
2063inline void QOpenGLFunctions_4_1_Core::glPatchParameterfv(GLenum pname, const GLfloat *values)
2064{
2065 d_4_0_Core->f.PatchParameterfv(pname, values);
2066}
2067
2068inline void QOpenGLFunctions_4_1_Core::glPatchParameteri(GLenum pname, GLint value)
2069{
2070 d_4_0_Core->f.PatchParameteri(pname, value);
2071}
2072
2073inline void QOpenGLFunctions_4_1_Core::glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values)
2074{
2075 d_4_0_Core->f.GetProgramStageiv(program, shadertype, pname, values);
2076}
2077
2078inline void QOpenGLFunctions_4_1_Core::glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params)
2079{
2080 d_4_0_Core->f.GetUniformSubroutineuiv(shadertype, location, params);
2081}
2082
2083inline void QOpenGLFunctions_4_1_Core::glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices)
2084{
2085 d_4_0_Core->f.UniformSubroutinesuiv(shadertype, count, indices);
2086}
2087
2088inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2089{
2090 d_4_0_Core->f.GetActiveSubroutineName(program, shadertype, index, bufsize, length, name);
2091}
2092
2093inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name)
2094{
2095 d_4_0_Core->f.GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name);
2096}
2097
2098inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values)
2099{
2100 d_4_0_Core->f.GetActiveSubroutineUniformiv(program, shadertype, index, pname, values);
2101}
2102
2103inline GLuint QOpenGLFunctions_4_1_Core::glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name)
2104{
2105 return d_4_0_Core->f.GetSubroutineIndex(program, shadertype, name);
2106}
2107
2108inline GLint QOpenGLFunctions_4_1_Core::glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name)
2109{
2110 return d_4_0_Core->f.GetSubroutineUniformLocation(program, shadertype, name);
2111}
2112
2113inline void QOpenGLFunctions_4_1_Core::glGetUniformdv(GLuint program, GLint location, GLdouble *params)
2114{
2115 d_4_0_Core->f.GetUniformdv(program, location, params);
2116}
2117
2118inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2119{
2120 d_4_0_Core->f.UniformMatrix4x3dv(location, count, transpose, value);
2121}
2122
2123inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2124{
2125 d_4_0_Core->f.UniformMatrix4x2dv(location, count, transpose, value);
2126}
2127
2128inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2129{
2130 d_4_0_Core->f.UniformMatrix3x4dv(location, count, transpose, value);
2131}
2132
2133inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2134{
2135 d_4_0_Core->f.UniformMatrix3x2dv(location, count, transpose, value);
2136}
2137
2138inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2139{
2140 d_4_0_Core->f.UniformMatrix2x4dv(location, count, transpose, value);
2141}
2142
2143inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2144{
2145 d_4_0_Core->f.UniformMatrix2x3dv(location, count, transpose, value);
2146}
2147
2148inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2149{
2150 d_4_0_Core->f.UniformMatrix4dv(location, count, transpose, value);
2151}
2152
2153inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2154{
2155 d_4_0_Core->f.UniformMatrix3dv(location, count, transpose, value);
2156}
2157
2158inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2159{
2160 d_4_0_Core->f.UniformMatrix2dv(location, count, transpose, value);
2161}
2162
2163inline void QOpenGLFunctions_4_1_Core::glUniform4dv(GLint location, GLsizei count, const GLdouble *value)
2164{
2165 d_4_0_Core->f.Uniform4dv(location, count, value);
2166}
2167
2168inline void QOpenGLFunctions_4_1_Core::glUniform3dv(GLint location, GLsizei count, const GLdouble *value)
2169{
2170 d_4_0_Core->f.Uniform3dv(location, count, value);
2171}
2172
2173inline void QOpenGLFunctions_4_1_Core::glUniform2dv(GLint location, GLsizei count, const GLdouble *value)
2174{
2175 d_4_0_Core->f.Uniform2dv(location, count, value);
2176}
2177
2178inline void QOpenGLFunctions_4_1_Core::glUniform1dv(GLint location, GLsizei count, const GLdouble *value)
2179{
2180 d_4_0_Core->f.Uniform1dv(location, count, value);
2181}
2182
2183inline void QOpenGLFunctions_4_1_Core::glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2184{
2185 d_4_0_Core->f.Uniform4d(location, x, y, z, w);
2186}
2187
2188inline void QOpenGLFunctions_4_1_Core::glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z)
2189{
2190 d_4_0_Core->f.Uniform3d(location, x, y, z);
2191}
2192
2193inline void QOpenGLFunctions_4_1_Core::glUniform2d(GLint location, GLdouble x, GLdouble y)
2194{
2195 d_4_0_Core->f.Uniform2d(location, x, y);
2196}
2197
2198inline void QOpenGLFunctions_4_1_Core::glUniform1d(GLint location, GLdouble x)
2199{
2200 d_4_0_Core->f.Uniform1d(location, x);
2201}
2202
2203inline void QOpenGLFunctions_4_1_Core::glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect)
2204{
2205 d_4_0_Core->f.DrawElementsIndirect(mode, type, indirect);
2206}
2207
2208inline void QOpenGLFunctions_4_1_Core::glDrawArraysIndirect(GLenum mode, const GLvoid *indirect)
2209{
2210 d_4_0_Core->f.DrawArraysIndirect(mode, indirect);
2211}
2212
2213inline void QOpenGLFunctions_4_1_Core::glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha)
2214{
2215 d_4_0_Core->f.BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha);
2216}
2217
2218inline void QOpenGLFunctions_4_1_Core::glBlendFunci(GLuint buf, GLenum src, GLenum dst)
2219{
2220 d_4_0_Core->f.BlendFunci(buf, src, dst);
2221}
2222
2223inline void QOpenGLFunctions_4_1_Core::glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha)
2224{
2225 d_4_0_Core->f.BlendEquationSeparatei(buf, modeRGB, modeAlpha);
2226}
2227
2228inline void QOpenGLFunctions_4_1_Core::glBlendEquationi(GLuint buf, GLenum mode)
2229{
2230 d_4_0_Core->f.BlendEquationi(buf, mode);
2231}
2232
2233inline void QOpenGLFunctions_4_1_Core::glMinSampleShading(GLfloat value)
2234{
2235 d_4_0_Core->f.MinSampleShading(value);
2236}
2237
2238
2239// OpenGL 4.1 core functions
2240inline void QOpenGLFunctions_4_1_Core::glGetDoublei_v(GLenum target, GLuint index, GLdouble *data)
2241{
2242 d_4_1_Core->f.GetDoublei_v(target, index, data);
2243}
2244
2245inline void QOpenGLFunctions_4_1_Core::glGetFloati_v(GLenum target, GLuint index, GLfloat *data)
2246{
2247 d_4_1_Core->f.GetFloati_v(target, index, data);
2248}
2249
2250inline void QOpenGLFunctions_4_1_Core::glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f)
2251{
2252 d_4_1_Core->f.DepthRangeIndexed(index, n, f);
2253}
2254
2255inline void QOpenGLFunctions_4_1_Core::glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v)
2256{
2257 d_4_1_Core->f.DepthRangeArrayv(first, count, v);
2258}
2259
2260inline void QOpenGLFunctions_4_1_Core::glScissorIndexedv(GLuint index, const GLint *v)
2261{
2262 d_4_1_Core->f.ScissorIndexedv(index, v);
2263}
2264
2265inline void QOpenGLFunctions_4_1_Core::glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height)
2266{
2267 d_4_1_Core->f.ScissorIndexed(index, left, bottom, width, height);
2268}
2269
2270inline void QOpenGLFunctions_4_1_Core::glScissorArrayv(GLuint first, GLsizei count, const GLint *v)
2271{
2272 d_4_1_Core->f.ScissorArrayv(first, count, v);
2273}
2274
2275inline void QOpenGLFunctions_4_1_Core::glViewportIndexedfv(GLuint index, const GLfloat *v)
2276{
2277 d_4_1_Core->f.ViewportIndexedfv(index, v);
2278}
2279
2280inline void QOpenGLFunctions_4_1_Core::glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h)
2281{
2282 d_4_1_Core->f.ViewportIndexedf(index, x, y, w, h);
2283}
2284
2285inline void QOpenGLFunctions_4_1_Core::glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v)
2286{
2287 d_4_1_Core->f.ViewportArrayv(first, count, v);
2288}
2289
2290inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params)
2291{
2292 d_4_1_Core->f.GetVertexAttribLdv(index, pname, params);
2293}
2294
2295inline void QOpenGLFunctions_4_1_Core::glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
2296{
2297 d_4_1_Core->f.VertexAttribLPointer(index, size, type, stride, pointer);
2298}
2299
2300inline void QOpenGLFunctions_4_1_Core::glVertexAttribL4dv(GLuint index, const GLdouble *v)
2301{
2302 d_4_1_Core->f.VertexAttribL4dv(index, v);
2303}
2304
2305inline void QOpenGLFunctions_4_1_Core::glVertexAttribL3dv(GLuint index, const GLdouble *v)
2306{
2307 d_4_1_Core->f.VertexAttribL3dv(index, v);
2308}
2309
2310inline void QOpenGLFunctions_4_1_Core::glVertexAttribL2dv(GLuint index, const GLdouble *v)
2311{
2312 d_4_1_Core->f.VertexAttribL2dv(index, v);
2313}
2314
2315inline void QOpenGLFunctions_4_1_Core::glVertexAttribL1dv(GLuint index, const GLdouble *v)
2316{
2317 d_4_1_Core->f.VertexAttribL1dv(index, v);
2318}
2319
2320inline void QOpenGLFunctions_4_1_Core::glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w)
2321{
2322 d_4_1_Core->f.VertexAttribL4d(index, x, y, z, w);
2323}
2324
2325inline void QOpenGLFunctions_4_1_Core::glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z)
2326{
2327 d_4_1_Core->f.VertexAttribL3d(index, x, y, z);
2328}
2329
2330inline void QOpenGLFunctions_4_1_Core::glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y)
2331{
2332 d_4_1_Core->f.VertexAttribL2d(index, x, y);
2333}
2334
2335inline void QOpenGLFunctions_4_1_Core::glVertexAttribL1d(GLuint index, GLdouble x)
2336{
2337 d_4_1_Core->f.VertexAttribL1d(index, x);
2338}
2339
2340inline void QOpenGLFunctions_4_1_Core::glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
2341{
2342 d_4_1_Core->f.GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog);
2343}
2344
2345inline void QOpenGLFunctions_4_1_Core::glValidateProgramPipeline(GLuint pipeline)
2346{
2347 d_4_1_Core->f.ValidateProgramPipeline(pipeline);
2348}
2349
2350inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2351{
2352 d_4_1_Core->f.ProgramUniformMatrix4x3dv(program, location, count, transpose, value);
2353}
2354
2355inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2356{
2357 d_4_1_Core->f.ProgramUniformMatrix3x4dv(program, location, count, transpose, value);
2358}
2359
2360inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2361{
2362 d_4_1_Core->f.ProgramUniformMatrix4x2dv(program, location, count, transpose, value);
2363}
2364
2365inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2366{
2367 d_4_1_Core->f.ProgramUniformMatrix2x4dv(program, location, count, transpose, value);
2368}
2369
2370inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2371{
2372 d_4_1_Core->f.ProgramUniformMatrix3x2dv(program, location, count, transpose, value);
2373}
2374
2375inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2376{
2377 d_4_1_Core->f.ProgramUniformMatrix2x3dv(program, location, count, transpose, value);
2378}
2379
2380inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2381{
2382 d_4_1_Core->f.ProgramUniformMatrix4x3fv(program, location, count, transpose, value);
2383}
2384
2385inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2386{
2387 d_4_1_Core->f.ProgramUniformMatrix3x4fv(program, location, count, transpose, value);
2388}
2389
2390inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2391{
2392 d_4_1_Core->f.ProgramUniformMatrix4x2fv(program, location, count, transpose, value);
2393}
2394
2395inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2396{
2397 d_4_1_Core->f.ProgramUniformMatrix2x4fv(program, location, count, transpose, value);
2398}
2399
2400inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2401{
2402 d_4_1_Core->f.ProgramUniformMatrix3x2fv(program, location, count, transpose, value);
2403}
2404
2405inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2406{
2407 d_4_1_Core->f.ProgramUniformMatrix2x3fv(program, location, count, transpose, value);
2408}
2409
2410inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2411{
2412 d_4_1_Core->f.ProgramUniformMatrix4dv(program, location, count, transpose, value);
2413}
2414
2415inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2416{
2417 d_4_1_Core->f.ProgramUniformMatrix3dv(program, location, count, transpose, value);
2418}
2419
2420inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value)
2421{
2422 d_4_1_Core->f.ProgramUniformMatrix2dv(program, location, count, transpose, value);
2423}
2424
2425inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2426{
2427 d_4_1_Core->f.ProgramUniformMatrix4fv(program, location, count, transpose, value);
2428}
2429
2430inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2431{
2432 d_4_1_Core->f.ProgramUniformMatrix3fv(program, location, count, transpose, value);
2433}
2434
2435inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
2436{
2437 d_4_1_Core->f.ProgramUniformMatrix2fv(program, location, count, transpose, value);
2438}
2439
2440inline void QOpenGLFunctions_4_1_Core::glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2441{
2442 d_4_1_Core->f.ProgramUniform4uiv(program, location, count, value);
2443}
2444
2445inline void QOpenGLFunctions_4_1_Core::glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
2446{
2447 d_4_1_Core->f.ProgramUniform4ui(program, location, v0, v1, v2, v3);
2448}
2449
2450inline void QOpenGLFunctions_4_1_Core::glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2451{
2452 d_4_1_Core->f.ProgramUniform4dv(program, location, count, value);
2453}
2454
2455inline void QOpenGLFunctions_4_1_Core::glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3)
2456{
2457 d_4_1_Core->f.ProgramUniform4d(program, location, v0, v1, v2, v3);
2458}
2459
2460inline void QOpenGLFunctions_4_1_Core::glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2461{
2462 d_4_1_Core->f.ProgramUniform4fv(program, location, count, value);
2463}
2464
2465inline void QOpenGLFunctions_4_1_Core::glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
2466{
2467 d_4_1_Core->f.ProgramUniform4f(program, location, v0, v1, v2, v3);
2468}
2469
2470inline void QOpenGLFunctions_4_1_Core::glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2471{
2472 d_4_1_Core->f.ProgramUniform4iv(program, location, count, value);
2473}
2474
2475inline void QOpenGLFunctions_4_1_Core::glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
2476{
2477 d_4_1_Core->f.ProgramUniform4i(program, location, v0, v1, v2, v3);
2478}
2479
2480inline void QOpenGLFunctions_4_1_Core::glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2481{
2482 d_4_1_Core->f.ProgramUniform3uiv(program, location, count, value);
2483}
2484
2485inline void QOpenGLFunctions_4_1_Core::glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2)
2486{
2487 d_4_1_Core->f.ProgramUniform3ui(program, location, v0, v1, v2);
2488}
2489
2490inline void QOpenGLFunctions_4_1_Core::glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2491{
2492 d_4_1_Core->f.ProgramUniform3dv(program, location, count, value);
2493}
2494
2495inline void QOpenGLFunctions_4_1_Core::glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2)
2496{
2497 d_4_1_Core->f.ProgramUniform3d(program, location, v0, v1, v2);
2498}
2499
2500inline void QOpenGLFunctions_4_1_Core::glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2501{
2502 d_4_1_Core->f.ProgramUniform3fv(program, location, count, value);
2503}
2504
2505inline void QOpenGLFunctions_4_1_Core::glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
2506{
2507 d_4_1_Core->f.ProgramUniform3f(program, location, v0, v1, v2);
2508}
2509
2510inline void QOpenGLFunctions_4_1_Core::glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2511{
2512 d_4_1_Core->f.ProgramUniform3iv(program, location, count, value);
2513}
2514
2515inline void QOpenGLFunctions_4_1_Core::glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2)
2516{
2517 d_4_1_Core->f.ProgramUniform3i(program, location, v0, v1, v2);
2518}
2519
2520inline void QOpenGLFunctions_4_1_Core::glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2521{
2522 d_4_1_Core->f.ProgramUniform2uiv(program, location, count, value);
2523}
2524
2525inline void QOpenGLFunctions_4_1_Core::glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1)
2526{
2527 d_4_1_Core->f.ProgramUniform2ui(program, location, v0, v1);
2528}
2529
2530inline void QOpenGLFunctions_4_1_Core::glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2531{
2532 d_4_1_Core->f.ProgramUniform2dv(program, location, count, value);
2533}
2534
2535inline void QOpenGLFunctions_4_1_Core::glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1)
2536{
2537 d_4_1_Core->f.ProgramUniform2d(program, location, v0, v1);
2538}
2539
2540inline void QOpenGLFunctions_4_1_Core::glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2541{
2542 d_4_1_Core->f.ProgramUniform2fv(program, location, count, value);
2543}
2544
2545inline void QOpenGLFunctions_4_1_Core::glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1)
2546{
2547 d_4_1_Core->f.ProgramUniform2f(program, location, v0, v1);
2548}
2549
2550inline void QOpenGLFunctions_4_1_Core::glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2551{
2552 d_4_1_Core->f.ProgramUniform2iv(program, location, count, value);
2553}
2554
2555inline void QOpenGLFunctions_4_1_Core::glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1)
2556{
2557 d_4_1_Core->f.ProgramUniform2i(program, location, v0, v1);
2558}
2559
2560inline void QOpenGLFunctions_4_1_Core::glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value)
2561{
2562 d_4_1_Core->f.ProgramUniform1uiv(program, location, count, value);
2563}
2564
2565inline void QOpenGLFunctions_4_1_Core::glProgramUniform1ui(GLuint program, GLint location, GLuint v0)
2566{
2567 d_4_1_Core->f.ProgramUniform1ui(program, location, v0);
2568}
2569
2570inline void QOpenGLFunctions_4_1_Core::glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value)
2571{
2572 d_4_1_Core->f.ProgramUniform1dv(program, location, count, value);
2573}
2574
2575inline void QOpenGLFunctions_4_1_Core::glProgramUniform1d(GLuint program, GLint location, GLdouble v0)
2576{
2577 d_4_1_Core->f.ProgramUniform1d(program, location, v0);
2578}
2579
2580inline void QOpenGLFunctions_4_1_Core::glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value)
2581{
2582 d_4_1_Core->f.ProgramUniform1fv(program, location, count, value);
2583}
2584
2585inline void QOpenGLFunctions_4_1_Core::glProgramUniform1f(GLuint program, GLint location, GLfloat v0)
2586{
2587 d_4_1_Core->f.ProgramUniform1f(program, location, v0);
2588}
2589
2590inline void QOpenGLFunctions_4_1_Core::glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value)
2591{
2592 d_4_1_Core->f.ProgramUniform1iv(program, location, count, value);
2593}
2594
2595inline void QOpenGLFunctions_4_1_Core::glProgramUniform1i(GLuint program, GLint location, GLint v0)
2596{
2597 d_4_1_Core->f.ProgramUniform1i(program, location, v0);
2598}
2599
2600inline void QOpenGLFunctions_4_1_Core::glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params)
2601{
2602 d_4_1_Core->f.GetProgramPipelineiv(pipeline, pname, params);
2603}
2604
2605inline GLboolean QOpenGLFunctions_4_1_Core::glIsProgramPipeline(GLuint pipeline)
2606{
2607 return d_4_1_Core->f.IsProgramPipeline(pipeline);
2608}
2609
2610inline void QOpenGLFunctions_4_1_Core::glGenProgramPipelines(GLsizei n, GLuint *pipelines)
2611{
2612 d_4_1_Core->f.GenProgramPipelines(n, pipelines);
2613}
2614
2615inline void QOpenGLFunctions_4_1_Core::glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines)
2616{
2617 d_4_1_Core->f.DeleteProgramPipelines(n, pipelines);
2618}
2619
2620inline void QOpenGLFunctions_4_1_Core::glBindProgramPipeline(GLuint pipeline)
2621{
2622 d_4_1_Core->f.BindProgramPipeline(pipeline);
2623}
2624
2625inline GLuint QOpenGLFunctions_4_1_Core::glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings)
2626{
2627 return d_4_1_Core->f.CreateShaderProgramv(type, count, strings);
2628}
2629
2630inline void QOpenGLFunctions_4_1_Core::glActiveShaderProgram(GLuint pipeline, GLuint program)
2631{
2632 d_4_1_Core->f.ActiveShaderProgram(pipeline, program);
2633}
2634
2635inline void QOpenGLFunctions_4_1_Core::glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program)
2636{
2637 d_4_1_Core->f.UseProgramStages(pipeline, stages, program);
2638}
2639
2640inline void QOpenGLFunctions_4_1_Core::glProgramParameteri(GLuint program, GLenum pname, GLint value)
2641{
2642 d_4_1_Core->f.ProgramParameteri(program, pname, value);
2643}
2644
2645inline void QOpenGLFunctions_4_1_Core::glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length)
2646{
2647 d_4_1_Core->f.ProgramBinary(program, binaryFormat, binary, length);
2648}
2649
2650inline void QOpenGLFunctions_4_1_Core::glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary)
2651{
2652 d_4_1_Core->f.GetProgramBinary(program, bufSize, length, binaryFormat, binary);
2653}
2654
2655inline void QOpenGLFunctions_4_1_Core::glClearDepthf(GLfloat dd)
2656{
2657 d_4_1_Core->f.ClearDepthf(dd);
2658}
2659
2660inline void QOpenGLFunctions_4_1_Core::glDepthRangef(GLfloat n, GLfloat f)
2661{
2662 d_4_1_Core->f.DepthRangef(n, f);
2663}
2664
2665inline void QOpenGLFunctions_4_1_Core::glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision)
2666{
2667 d_4_1_Core->f.GetShaderPrecisionFormat(shadertype, precisiontype, range, precision);
2668}
2669
2670inline void QOpenGLFunctions_4_1_Core::glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length)
2671{
2672 d_4_1_Core->f.ShaderBinary(count, shaders, binaryformat, binary, length);
2673}
2674
2675inline void QOpenGLFunctions_4_1_Core::glReleaseShaderCompiler()
2676{
2677 d_4_1_Core->f.ReleaseShaderCompiler();
2678}
2679
2680
2681
2682QT_END_NAMESPACE
2683
2684#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
2685
2686#endif
2687