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_3_3_CORE_H
51#define QOPENGLVERSIONFUNCTIONS_3_3_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_3_3_Core : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_3_3_Core();
67 ~QOpenGLFunctions_3_3_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
383private:
384 friend class QOpenGLVersionFunctionsFactory;
385
386 static bool isContextCompatible(QOpenGLContext *context);
387 static QOpenGLVersionProfile versionProfile();
388
389 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
390 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
391 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
392 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
393 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
394 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
395 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
396 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
397 QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core;
398 QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core;
399 QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core;
400 QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core;
401};
402
403// OpenGL 1.0 core functions
404inline void QOpenGLFunctions_3_3_Core::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
405{
406 d_1_0_Core->f.Viewport(x, y, width, height);
407}
408
409inline void QOpenGLFunctions_3_3_Core::glDepthRange(GLdouble nearVal, GLdouble farVal)
410{
411 d_1_0_Core->f.DepthRange(nearVal, farVal);
412}
413
414inline GLboolean QOpenGLFunctions_3_3_Core::glIsEnabled(GLenum cap)
415{
416 return d_1_0_Core->f.IsEnabled(cap);
417}
418
419inline void QOpenGLFunctions_3_3_Core::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
420{
421 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
422}
423
424inline void QOpenGLFunctions_3_3_Core::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
425{
426 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
427}
428
429inline void QOpenGLFunctions_3_3_Core::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
430{
431 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
432}
433
434inline void QOpenGLFunctions_3_3_Core::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
435{
436 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
437}
438
439inline void QOpenGLFunctions_3_3_Core::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
440{
441 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
442}
443
444inline const GLubyte * QOpenGLFunctions_3_3_Core::glGetString(GLenum name)
445{
446 return d_1_0_Core->f.GetString(name);
447}
448
449inline void QOpenGLFunctions_3_3_Core::glGetIntegerv(GLenum pname, GLint *params)
450{
451 d_1_0_Core->f.GetIntegerv(pname, params);
452}
453
454inline void QOpenGLFunctions_3_3_Core::glGetFloatv(GLenum pname, GLfloat *params)
455{
456 d_1_0_Core->f.GetFloatv(pname, params);
457}
458
459inline GLenum QOpenGLFunctions_3_3_Core::glGetError()
460{
461 return d_1_0_Core->f.GetError();
462}
463
464inline void QOpenGLFunctions_3_3_Core::glGetDoublev(GLenum pname, GLdouble *params)
465{
466 d_1_0_Core->f.GetDoublev(pname, params);
467}
468
469inline void QOpenGLFunctions_3_3_Core::glGetBooleanv(GLenum pname, GLboolean *params)
470{
471 d_1_0_Core->f.GetBooleanv(pname, params);
472}
473
474inline void QOpenGLFunctions_3_3_Core::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
475{
476 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
477}
478
479inline void QOpenGLFunctions_3_3_Core::glReadBuffer(GLenum mode)
480{
481 d_1_0_Core->f.ReadBuffer(mode);
482}
483
484inline void QOpenGLFunctions_3_3_Core::glPixelStorei(GLenum pname, GLint param)
485{
486 d_1_0_Core->f.PixelStorei(pname, param);
487}
488
489inline void QOpenGLFunctions_3_3_Core::glPixelStoref(GLenum pname, GLfloat param)
490{
491 d_1_0_Core->f.PixelStoref(pname, param);
492}
493
494inline void QOpenGLFunctions_3_3_Core::glDepthFunc(GLenum func)
495{
496 d_1_0_Core->f.DepthFunc(func);
497}
498
499inline void QOpenGLFunctions_3_3_Core::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
500{
501 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
502}
503
504inline void QOpenGLFunctions_3_3_Core::glStencilFunc(GLenum func, GLint ref, GLuint mask)
505{
506 d_1_0_Core->f.StencilFunc(func, ref, mask);
507}
508
509inline void QOpenGLFunctions_3_3_Core::glLogicOp(GLenum opcode)
510{
511 d_1_0_Core->f.LogicOp(opcode);
512}
513
514inline void QOpenGLFunctions_3_3_Core::glBlendFunc(GLenum sfactor, GLenum dfactor)
515{
516 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
517}
518
519inline void QOpenGLFunctions_3_3_Core::glFlush()
520{
521 d_1_0_Core->f.Flush();
522}
523
524inline void QOpenGLFunctions_3_3_Core::glFinish()
525{
526 d_1_0_Core->f.Finish();
527}
528
529inline void QOpenGLFunctions_3_3_Core::glEnable(GLenum cap)
530{
531 d_1_0_Core->f.Enable(cap);
532}
533
534inline void QOpenGLFunctions_3_3_Core::glDisable(GLenum cap)
535{
536 d_1_0_Core->f.Disable(cap);
537}
538
539inline void QOpenGLFunctions_3_3_Core::glDepthMask(GLboolean flag)
540{
541 d_1_0_Core->f.DepthMask(flag);
542}
543
544inline void QOpenGLFunctions_3_3_Core::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
545{
546 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
547}
548
549inline void QOpenGLFunctions_3_3_Core::glStencilMask(GLuint mask)
550{
551 d_1_0_Core->f.StencilMask(mask);
552}
553
554inline void QOpenGLFunctions_3_3_Core::glClearDepth(GLdouble depth)
555{
556 d_1_0_Core->f.ClearDepth(depth);
557}
558
559inline void QOpenGLFunctions_3_3_Core::glClearStencil(GLint s)
560{
561 d_1_0_Core->f.ClearStencil(s);
562}
563
564inline void QOpenGLFunctions_3_3_Core::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
565{
566 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
567}
568
569inline void QOpenGLFunctions_3_3_Core::glClear(GLbitfield mask)
570{
571 d_1_0_Core->f.Clear(mask);
572}
573
574inline void QOpenGLFunctions_3_3_Core::glDrawBuffer(GLenum mode)
575{
576 d_1_0_Core->f.DrawBuffer(mode);
577}
578
579inline void QOpenGLFunctions_3_3_Core::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
580{
581 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
582}
583
584inline void QOpenGLFunctions_3_3_Core::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
585{
586 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
587}
588
589inline void QOpenGLFunctions_3_3_Core::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
590{
591 d_1_0_Core->f.TexParameteriv(target, pname, params);
592}
593
594inline void QOpenGLFunctions_3_3_Core::glTexParameteri(GLenum target, GLenum pname, GLint param)
595{
596 d_1_0_Core->f.TexParameteri(target, pname, param);
597}
598
599inline void QOpenGLFunctions_3_3_Core::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
600{
601 d_1_0_Core->f.TexParameterfv(target, pname, params);
602}
603
604inline void QOpenGLFunctions_3_3_Core::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
605{
606 d_1_0_Core->f.TexParameterf(target, pname, param);
607}
608
609inline void QOpenGLFunctions_3_3_Core::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
610{
611 d_1_0_Core->f.Scissor(x, y, width, height);
612}
613
614inline void QOpenGLFunctions_3_3_Core::glPolygonMode(GLenum face, GLenum mode)
615{
616 d_1_0_Core->f.PolygonMode(face, mode);
617}
618
619inline void QOpenGLFunctions_3_3_Core::glPointSize(GLfloat size)
620{
621 d_1_0_Core->f.PointSize(size);
622}
623
624inline void QOpenGLFunctions_3_3_Core::glLineWidth(GLfloat width)
625{
626 d_1_0_Core->f.LineWidth(width);
627}
628
629inline void QOpenGLFunctions_3_3_Core::glHint(GLenum target, GLenum mode)
630{
631 d_1_0_Core->f.Hint(target, mode);
632}
633
634inline void QOpenGLFunctions_3_3_Core::glFrontFace(GLenum mode)
635{
636 d_1_0_Core->f.FrontFace(mode);
637}
638
639inline void QOpenGLFunctions_3_3_Core::glCullFace(GLenum mode)
640{
641 d_1_0_Core->f.CullFace(mode);
642}
643
644
645// OpenGL 1.1 core functions
646inline GLboolean QOpenGLFunctions_3_3_Core::glIsTexture(GLuint texture)
647{
648 return d_1_1_Core->f.IsTexture(texture);
649}
650
651inline void QOpenGLFunctions_3_3_Core::glGenTextures(GLsizei n, GLuint *textures)
652{
653 d_1_1_Core->f.GenTextures(n, textures);
654}
655
656inline void QOpenGLFunctions_3_3_Core::glDeleteTextures(GLsizei n, const GLuint *textures)
657{
658 d_1_1_Core->f.DeleteTextures(n, textures);
659}
660
661inline void QOpenGLFunctions_3_3_Core::glBindTexture(GLenum target, GLuint texture)
662{
663 d_1_1_Core->f.BindTexture(target, texture);
664}
665
666inline void QOpenGLFunctions_3_3_Core::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
667{
668 d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
669}
670
671inline void QOpenGLFunctions_3_3_Core::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
672{
673 d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
674}
675
676inline void QOpenGLFunctions_3_3_Core::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
677{
678 d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
679}
680
681inline void QOpenGLFunctions_3_3_Core::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
682{
683 d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
684}
685
686inline void QOpenGLFunctions_3_3_Core::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
687{
688 d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
689}
690
691inline void QOpenGLFunctions_3_3_Core::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
692{
693 d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
694}
695
696inline void QOpenGLFunctions_3_3_Core::glPolygonOffset(GLfloat factor, GLfloat units)
697{
698 d_1_1_Core->f.PolygonOffset(factor, units);
699}
700
701inline void QOpenGLFunctions_3_3_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
702{
703 d_1_1_Core->f.DrawElements(mode, count, type, indices);
704}
705
706inline void QOpenGLFunctions_3_3_Core::glDrawArrays(GLenum mode, GLint first, GLsizei count)
707{
708 d_1_1_Core->f.DrawArrays(mode, first, count);
709}
710
711
712// OpenGL 1.2 core functions
713inline void QOpenGLFunctions_3_3_Core::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height)
714{
715 d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height);
716}
717
718inline void QOpenGLFunctions_3_3_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)
719{
720 d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels);
721}
722
723inline void QOpenGLFunctions_3_3_Core::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
724{
725 d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels);
726}
727
728inline void QOpenGLFunctions_3_3_Core::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices)
729{
730 d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices);
731}
732
733inline void QOpenGLFunctions_3_3_Core::glBlendEquation(GLenum mode)
734{
735 d_1_2_Core->f.BlendEquation(mode);
736}
737
738inline void QOpenGLFunctions_3_3_Core::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
739{
740 d_1_2_Core->f.BlendColor(red, green, blue, alpha);
741}
742
743
744// OpenGL 1.3 core functions
745inline void QOpenGLFunctions_3_3_Core::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img)
746{
747 d_1_3_Core->f.GetCompressedTexImage(target, level, img);
748}
749
750inline void QOpenGLFunctions_3_3_Core::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data)
751{
752 d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data);
753}
754
755inline void QOpenGLFunctions_3_3_Core::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data)
756{
757 d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data);
758}
759
760inline void QOpenGLFunctions_3_3_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)
761{
762 d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data);
763}
764
765inline void QOpenGLFunctions_3_3_Core::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data)
766{
767 d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data);
768}
769
770inline void QOpenGLFunctions_3_3_Core::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data)
771{
772 d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data);
773}
774
775inline void QOpenGLFunctions_3_3_Core::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data)
776{
777 d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data);
778}
779
780inline void QOpenGLFunctions_3_3_Core::glSampleCoverage(GLfloat value, GLboolean invert)
781{
782 d_1_3_Core->f.SampleCoverage(value, invert);
783}
784
785inline void QOpenGLFunctions_3_3_Core::glActiveTexture(GLenum texture)
786{
787 d_1_3_Core->f.ActiveTexture(texture);
788}
789
790
791// OpenGL 1.4 core functions
792inline void QOpenGLFunctions_3_3_Core::glPointParameteriv(GLenum pname, const GLint *params)
793{
794 d_1_4_Core->f.PointParameteriv(pname, params);
795}
796
797inline void QOpenGLFunctions_3_3_Core::glPointParameteri(GLenum pname, GLint param)
798{
799 d_1_4_Core->f.PointParameteri(pname, param);
800}
801
802inline void QOpenGLFunctions_3_3_Core::glPointParameterfv(GLenum pname, const GLfloat *params)
803{
804 d_1_4_Core->f.PointParameterfv(pname, params);
805}
806
807inline void QOpenGLFunctions_3_3_Core::glPointParameterf(GLenum pname, GLfloat param)
808{
809 d_1_4_Core->f.PointParameterf(pname, param);
810}
811
812inline void QOpenGLFunctions_3_3_Core::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount)
813{
814 d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount);
815}
816
817inline void QOpenGLFunctions_3_3_Core::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount)
818{
819 d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount);
820}
821
822inline void QOpenGLFunctions_3_3_Core::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha)
823{
824 d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha);
825}
826
827
828// OpenGL 1.5 core functions
829inline void QOpenGLFunctions_3_3_Core::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params)
830{
831 d_1_5_Core->f.GetBufferPointerv(target, pname, params);
832}
833
834inline void QOpenGLFunctions_3_3_Core::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params)
835{
836 d_1_5_Core->f.GetBufferParameteriv(target, pname, params);
837}
838
839inline GLboolean QOpenGLFunctions_3_3_Core::glUnmapBuffer(GLenum target)
840{
841 return d_1_5_Core->f.UnmapBuffer(target);
842}
843
844inline GLvoid* QOpenGLFunctions_3_3_Core::glMapBuffer(GLenum target, GLenum access)
845{
846 return d_1_5_Core->f.MapBuffer(target, access);
847}
848
849inline void QOpenGLFunctions_3_3_Core::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data)
850{
851 d_1_5_Core->f.GetBufferSubData(target, offset, size, data);
852}
853
854inline void QOpenGLFunctions_3_3_Core::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data)
855{
856 d_1_5_Core->f.BufferSubData(target, offset, size, data);
857}
858
859inline void QOpenGLFunctions_3_3_Core::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage)
860{
861 d_1_5_Core->f.BufferData(target, size, data, usage);
862}
863
864inline GLboolean QOpenGLFunctions_3_3_Core::glIsBuffer(GLuint buffer)
865{
866 return d_1_5_Core->f.IsBuffer(buffer);
867}
868
869inline void QOpenGLFunctions_3_3_Core::glGenBuffers(GLsizei n, GLuint *buffers)
870{
871 d_1_5_Core->f.GenBuffers(n, buffers);
872}
873
874inline void QOpenGLFunctions_3_3_Core::glDeleteBuffers(GLsizei n, const GLuint *buffers)
875{
876 d_1_5_Core->f.DeleteBuffers(n, buffers);
877}
878
879inline void QOpenGLFunctions_3_3_Core::glBindBuffer(GLenum target, GLuint buffer)
880{
881 d_1_5_Core->f.BindBuffer(target, buffer);
882}
883
884inline void QOpenGLFunctions_3_3_Core::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params)
885{
886 d_1_5_Core->f.GetQueryObjectuiv(id, pname, params);
887}
888
889inline void QOpenGLFunctions_3_3_Core::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params)
890{
891 d_1_5_Core->f.GetQueryObjectiv(id, pname, params);
892}
893
894inline void QOpenGLFunctions_3_3_Core::glGetQueryiv(GLenum target, GLenum pname, GLint *params)
895{
896 d_1_5_Core->f.GetQueryiv(target, pname, params);
897}
898
899inline void QOpenGLFunctions_3_3_Core::glEndQuery(GLenum target)
900{
901 d_1_5_Core->f.EndQuery(target);
902}
903
904inline void QOpenGLFunctions_3_3_Core::glBeginQuery(GLenum target, GLuint id)
905{
906 d_1_5_Core->f.BeginQuery(target, id);
907}
908
909inline GLboolean QOpenGLFunctions_3_3_Core::glIsQuery(GLuint id)
910{
911 return d_1_5_Core->f.IsQuery(id);
912}
913
914inline void QOpenGLFunctions_3_3_Core::glDeleteQueries(GLsizei n, const GLuint *ids)
915{
916 d_1_5_Core->f.DeleteQueries(n, ids);
917}
918
919inline void QOpenGLFunctions_3_3_Core::glGenQueries(GLsizei n, GLuint *ids)
920{
921 d_1_5_Core->f.GenQueries(n, ids);
922}
923
924
925// OpenGL 2.0 core functions
926inline void QOpenGLFunctions_3_3_Core::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer)
927{
928 d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer);
929}
930
931inline void QOpenGLFunctions_3_3_Core::glValidateProgram(GLuint program)
932{
933 d_2_0_Core->f.ValidateProgram(program);
934}
935
936inline void QOpenGLFunctions_3_3_Core::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
937{
938 d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value);
939}
940
941inline void QOpenGLFunctions_3_3_Core::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
942{
943 d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value);
944}
945
946inline void QOpenGLFunctions_3_3_Core::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
947{
948 d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value);
949}
950
951inline void QOpenGLFunctions_3_3_Core::glUniform4iv(GLint location, GLsizei count, const GLint *value)
952{
953 d_2_0_Core->f.Uniform4iv(location, count, value);
954}
955
956inline void QOpenGLFunctions_3_3_Core::glUniform3iv(GLint location, GLsizei count, const GLint *value)
957{
958 d_2_0_Core->f.Uniform3iv(location, count, value);
959}
960
961inline void QOpenGLFunctions_3_3_Core::glUniform2iv(GLint location, GLsizei count, const GLint *value)
962{
963 d_2_0_Core->f.Uniform2iv(location, count, value);
964}
965
966inline void QOpenGLFunctions_3_3_Core::glUniform1iv(GLint location, GLsizei count, const GLint *value)
967{
968 d_2_0_Core->f.Uniform1iv(location, count, value);
969}
970
971inline void QOpenGLFunctions_3_3_Core::glUniform4fv(GLint location, GLsizei count, const GLfloat *value)
972{
973 d_2_0_Core->f.Uniform4fv(location, count, value);
974}
975
976inline void QOpenGLFunctions_3_3_Core::glUniform3fv(GLint location, GLsizei count, const GLfloat *value)
977{
978 d_2_0_Core->f.Uniform3fv(location, count, value);
979}
980
981inline void QOpenGLFunctions_3_3_Core::glUniform2fv(GLint location, GLsizei count, const GLfloat *value)
982{
983 d_2_0_Core->f.Uniform2fv(location, count, value);
984}
985
986inline void QOpenGLFunctions_3_3_Core::glUniform1fv(GLint location, GLsizei count, const GLfloat *value)
987{
988 d_2_0_Core->f.Uniform1fv(location, count, value);
989}
990
991inline void QOpenGLFunctions_3_3_Core::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3)
992{
993 d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3);
994}
995
996inline void QOpenGLFunctions_3_3_Core::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2)
997{
998 d_2_0_Core->f.Uniform3i(location, v0, v1, v2);
999}
1000
1001inline void QOpenGLFunctions_3_3_Core::glUniform2i(GLint location, GLint v0, GLint v1)
1002{
1003 d_2_0_Core->f.Uniform2i(location, v0, v1);
1004}
1005
1006inline void QOpenGLFunctions_3_3_Core::glUniform1i(GLint location, GLint v0)
1007{
1008 d_2_0_Core->f.Uniform1i(location, v0);
1009}
1010
1011inline void QOpenGLFunctions_3_3_Core::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3)
1012{
1013 d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3);
1014}
1015
1016inline void QOpenGLFunctions_3_3_Core::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2)
1017{
1018 d_2_0_Core->f.Uniform3f(location, v0, v1, v2);
1019}
1020
1021inline void QOpenGLFunctions_3_3_Core::glUniform2f(GLint location, GLfloat v0, GLfloat v1)
1022{
1023 d_2_0_Core->f.Uniform2f(location, v0, v1);
1024}
1025
1026inline void QOpenGLFunctions_3_3_Core::glUniform1f(GLint location, GLfloat v0)
1027{
1028 d_2_0_Core->f.Uniform1f(location, v0);
1029}
1030
1031inline void QOpenGLFunctions_3_3_Core::glUseProgram(GLuint program)
1032{
1033 d_2_0_Core->f.UseProgram(program);
1034}
1035
1036inline void QOpenGLFunctions_3_3_Core::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length)
1037{
1038 d_2_0_Core->f.ShaderSource(shader, count, string, length);
1039}
1040
1041inline void QOpenGLFunctions_3_3_Core::glLinkProgram(GLuint program)
1042{
1043 d_2_0_Core->f.LinkProgram(program);
1044}
1045
1046inline GLboolean QOpenGLFunctions_3_3_Core::glIsShader(GLuint shader)
1047{
1048 return d_2_0_Core->f.IsShader(shader);
1049}
1050
1051inline GLboolean QOpenGLFunctions_3_3_Core::glIsProgram(GLuint program)
1052{
1053 return d_2_0_Core->f.IsProgram(program);
1054}
1055
1056inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer)
1057{
1058 d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer);
1059}
1060
1061inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params)
1062{
1063 d_2_0_Core->f.GetVertexAttribiv(index, pname, params);
1064}
1065
1066inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params)
1067{
1068 d_2_0_Core->f.GetVertexAttribfv(index, pname, params);
1069}
1070
1071inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params)
1072{
1073 d_2_0_Core->f.GetVertexAttribdv(index, pname, params);
1074}
1075
1076inline void QOpenGLFunctions_3_3_Core::glGetUniformiv(GLuint program, GLint location, GLint *params)
1077{
1078 d_2_0_Core->f.GetUniformiv(program, location, params);
1079}
1080
1081inline void QOpenGLFunctions_3_3_Core::glGetUniformfv(GLuint program, GLint location, GLfloat *params)
1082{
1083 d_2_0_Core->f.GetUniformfv(program, location, params);
1084}
1085
1086inline GLint QOpenGLFunctions_3_3_Core::glGetUniformLocation(GLuint program, const GLchar *name)
1087{
1088 return d_2_0_Core->f.GetUniformLocation(program, name);
1089}
1090
1091inline void QOpenGLFunctions_3_3_Core::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source)
1092{
1093 d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source);
1094}
1095
1096inline void QOpenGLFunctions_3_3_Core::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1097{
1098 d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog);
1099}
1100
1101inline void QOpenGLFunctions_3_3_Core::glGetShaderiv(GLuint shader, GLenum pname, GLint *params)
1102{
1103 d_2_0_Core->f.GetShaderiv(shader, pname, params);
1104}
1105
1106inline void QOpenGLFunctions_3_3_Core::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog)
1107{
1108 d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog);
1109}
1110
1111inline void QOpenGLFunctions_3_3_Core::glGetProgramiv(GLuint program, GLenum pname, GLint *params)
1112{
1113 d_2_0_Core->f.GetProgramiv(program, pname, params);
1114}
1115
1116inline GLint QOpenGLFunctions_3_3_Core::glGetAttribLocation(GLuint program, const GLchar *name)
1117{
1118 return d_2_0_Core->f.GetAttribLocation(program, name);
1119}
1120
1121inline void QOpenGLFunctions_3_3_Core::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj)
1122{
1123 d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj);
1124}
1125
1126inline void QOpenGLFunctions_3_3_Core::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1127{
1128 d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name);
1129}
1130
1131inline void QOpenGLFunctions_3_3_Core::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name)
1132{
1133 d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name);
1134}
1135
1136inline void QOpenGLFunctions_3_3_Core::glEnableVertexAttribArray(GLuint index)
1137{
1138 d_2_0_Core->f.EnableVertexAttribArray(index);
1139}
1140
1141inline void QOpenGLFunctions_3_3_Core::glDisableVertexAttribArray(GLuint index)
1142{
1143 d_2_0_Core->f.DisableVertexAttribArray(index);
1144}
1145
1146inline void QOpenGLFunctions_3_3_Core::glDetachShader(GLuint program, GLuint shader)
1147{
1148 d_2_0_Core->f.DetachShader(program, shader);
1149}
1150
1151inline void QOpenGLFunctions_3_3_Core::glDeleteShader(GLuint shader)
1152{
1153 d_2_0_Core->f.DeleteShader(shader);
1154}
1155
1156inline void QOpenGLFunctions_3_3_Core::glDeleteProgram(GLuint program)
1157{
1158 d_2_0_Core->f.DeleteProgram(program);
1159}
1160
1161inline GLuint QOpenGLFunctions_3_3_Core::glCreateShader(GLenum type)
1162{
1163 return d_2_0_Core->f.CreateShader(type);
1164}
1165
1166inline GLuint QOpenGLFunctions_3_3_Core::glCreateProgram()
1167{
1168 return d_2_0_Core->f.CreateProgram();
1169}
1170
1171inline void QOpenGLFunctions_3_3_Core::glCompileShader(GLuint shader)
1172{
1173 d_2_0_Core->f.CompileShader(shader);
1174}
1175
1176inline void QOpenGLFunctions_3_3_Core::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name)
1177{
1178 d_2_0_Core->f.BindAttribLocation(program, index, name);
1179}
1180
1181inline void QOpenGLFunctions_3_3_Core::glAttachShader(GLuint program, GLuint shader)
1182{
1183 d_2_0_Core->f.AttachShader(program, shader);
1184}
1185
1186inline void QOpenGLFunctions_3_3_Core::glStencilMaskSeparate(GLenum face, GLuint mask)
1187{
1188 d_2_0_Core->f.StencilMaskSeparate(face, mask);
1189}
1190
1191inline void QOpenGLFunctions_3_3_Core::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask)
1192{
1193 d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask);
1194}
1195
1196inline void QOpenGLFunctions_3_3_Core::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass)
1197{
1198 d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass);
1199}
1200
1201inline void QOpenGLFunctions_3_3_Core::glDrawBuffers(GLsizei n, const GLenum *bufs)
1202{
1203 d_2_0_Core->f.DrawBuffers(n, bufs);
1204}
1205
1206inline void QOpenGLFunctions_3_3_Core::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha)
1207{
1208 d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha);
1209}
1210
1211
1212// OpenGL 2.1 core functions
1213inline void QOpenGLFunctions_3_3_Core::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1214{
1215 d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value);
1216}
1217
1218inline void QOpenGLFunctions_3_3_Core::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1219{
1220 d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value);
1221}
1222
1223inline void QOpenGLFunctions_3_3_Core::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1224{
1225 d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value);
1226}
1227
1228inline void QOpenGLFunctions_3_3_Core::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1229{
1230 d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value);
1231}
1232
1233inline void QOpenGLFunctions_3_3_Core::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1234{
1235 d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value);
1236}
1237
1238inline void QOpenGLFunctions_3_3_Core::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value)
1239{
1240 d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value);
1241}
1242
1243
1244// OpenGL 3.0 core functions
1245inline GLboolean QOpenGLFunctions_3_3_Core::glIsVertexArray(GLuint array)
1246{
1247 return d_3_0_Core->f.IsVertexArray(array);
1248}
1249
1250inline void QOpenGLFunctions_3_3_Core::glGenVertexArrays(GLsizei n, GLuint *arrays)
1251{
1252 d_3_0_Core->f.GenVertexArrays(n, arrays);
1253}
1254
1255inline void QOpenGLFunctions_3_3_Core::glDeleteVertexArrays(GLsizei n, const GLuint *arrays)
1256{
1257 d_3_0_Core->f.DeleteVertexArrays(n, arrays);
1258}
1259
1260inline void QOpenGLFunctions_3_3_Core::glBindVertexArray(GLuint array)
1261{
1262 d_3_0_Core->f.BindVertexArray(array);
1263}
1264
1265inline void QOpenGLFunctions_3_3_Core::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length)
1266{
1267 d_3_0_Core->f.FlushMappedBufferRange(target, offset, length);
1268}
1269
1270inline GLvoid* QOpenGLFunctions_3_3_Core::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access)
1271{
1272 return d_3_0_Core->f.MapBufferRange(target, offset, length, access);
1273}
1274
1275inline void QOpenGLFunctions_3_3_Core::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer)
1276{
1277 d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer);
1278}
1279
1280inline void QOpenGLFunctions_3_3_Core::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height)
1281{
1282 d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height);
1283}
1284
1285inline void QOpenGLFunctions_3_3_Core::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter)
1286{
1287 d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter);
1288}
1289
1290inline void QOpenGLFunctions_3_3_Core::glGenerateMipmap(GLenum target)
1291{
1292 d_3_0_Core->f.GenerateMipmap(target);
1293}
1294
1295inline void QOpenGLFunctions_3_3_Core::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params)
1296{
1297 d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params);
1298}
1299
1300inline void QOpenGLFunctions_3_3_Core::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer)
1301{
1302 d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer);
1303}
1304
1305inline void QOpenGLFunctions_3_3_Core::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset)
1306{
1307 d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset);
1308}
1309
1310inline void QOpenGLFunctions_3_3_Core::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1311{
1312 d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level);
1313}
1314
1315inline void QOpenGLFunctions_3_3_Core::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level)
1316{
1317 d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level);
1318}
1319
1320inline GLenum QOpenGLFunctions_3_3_Core::glCheckFramebufferStatus(GLenum target)
1321{
1322 return d_3_0_Core->f.CheckFramebufferStatus(target);
1323}
1324
1325inline void QOpenGLFunctions_3_3_Core::glGenFramebuffers(GLsizei n, GLuint *framebuffers)
1326{
1327 d_3_0_Core->f.GenFramebuffers(n, framebuffers);
1328}
1329
1330inline void QOpenGLFunctions_3_3_Core::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers)
1331{
1332 d_3_0_Core->f.DeleteFramebuffers(n, framebuffers);
1333}
1334
1335inline void QOpenGLFunctions_3_3_Core::glBindFramebuffer(GLenum target, GLuint framebuffer)
1336{
1337 d_3_0_Core->f.BindFramebuffer(target, framebuffer);
1338}
1339
1340inline GLboolean QOpenGLFunctions_3_3_Core::glIsFramebuffer(GLuint framebuffer)
1341{
1342 return d_3_0_Core->f.IsFramebuffer(framebuffer);
1343}
1344
1345inline void QOpenGLFunctions_3_3_Core::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params)
1346{
1347 d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params);
1348}
1349
1350inline void QOpenGLFunctions_3_3_Core::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height)
1351{
1352 d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height);
1353}
1354
1355inline void QOpenGLFunctions_3_3_Core::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers)
1356{
1357 d_3_0_Core->f.GenRenderbuffers(n, renderbuffers);
1358}
1359
1360inline void QOpenGLFunctions_3_3_Core::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers)
1361{
1362 d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers);
1363}
1364
1365inline void QOpenGLFunctions_3_3_Core::glBindRenderbuffer(GLenum target, GLuint renderbuffer)
1366{
1367 d_3_0_Core->f.BindRenderbuffer(target, renderbuffer);
1368}
1369
1370inline GLboolean QOpenGLFunctions_3_3_Core::glIsRenderbuffer(GLuint renderbuffer)
1371{
1372 return d_3_0_Core->f.IsRenderbuffer(renderbuffer);
1373}
1374
1375inline const GLubyte * QOpenGLFunctions_3_3_Core::glGetStringi(GLenum name, GLuint index)
1376{
1377 return d_3_0_Core->f.GetStringi(name, index);
1378}
1379
1380inline void QOpenGLFunctions_3_3_Core::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil)
1381{
1382 d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil);
1383}
1384
1385inline void QOpenGLFunctions_3_3_Core::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value)
1386{
1387 d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value);
1388}
1389
1390inline void QOpenGLFunctions_3_3_Core::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value)
1391{
1392 d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value);
1393}
1394
1395inline void QOpenGLFunctions_3_3_Core::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value)
1396{
1397 d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value);
1398}
1399
1400inline void QOpenGLFunctions_3_3_Core::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params)
1401{
1402 d_3_0_Core->f.GetTexParameterIuiv(target, pname, params);
1403}
1404
1405inline void QOpenGLFunctions_3_3_Core::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params)
1406{
1407 d_3_0_Core->f.GetTexParameterIiv(target, pname, params);
1408}
1409
1410inline void QOpenGLFunctions_3_3_Core::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params)
1411{
1412 d_3_0_Core->f.TexParameterIuiv(target, pname, params);
1413}
1414
1415inline void QOpenGLFunctions_3_3_Core::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params)
1416{
1417 d_3_0_Core->f.TexParameterIiv(target, pname, params);
1418}
1419
1420inline void QOpenGLFunctions_3_3_Core::glUniform4uiv(GLint location, GLsizei count, const GLuint *value)
1421{
1422 d_3_0_Core->f.Uniform4uiv(location, count, value);
1423}
1424
1425inline void QOpenGLFunctions_3_3_Core::glUniform3uiv(GLint location, GLsizei count, const GLuint *value)
1426{
1427 d_3_0_Core->f.Uniform3uiv(location, count, value);
1428}
1429
1430inline void QOpenGLFunctions_3_3_Core::glUniform2uiv(GLint location, GLsizei count, const GLuint *value)
1431{
1432 d_3_0_Core->f.Uniform2uiv(location, count, value);
1433}
1434
1435inline void QOpenGLFunctions_3_3_Core::glUniform1uiv(GLint location, GLsizei count, const GLuint *value)
1436{
1437 d_3_0_Core->f.Uniform1uiv(location, count, value);
1438}
1439
1440inline void QOpenGLFunctions_3_3_Core::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3)
1441{
1442 d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3);
1443}
1444
1445inline void QOpenGLFunctions_3_3_Core::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2)
1446{
1447 d_3_0_Core->f.Uniform3ui(location, v0, v1, v2);
1448}
1449
1450inline void QOpenGLFunctions_3_3_Core::glUniform2ui(GLint location, GLuint v0, GLuint v1)
1451{
1452 d_3_0_Core->f.Uniform2ui(location, v0, v1);
1453}
1454
1455inline void QOpenGLFunctions_3_3_Core::glUniform1ui(GLint location, GLuint v0)
1456{
1457 d_3_0_Core->f.Uniform1ui(location, v0);
1458}
1459
1460inline GLint QOpenGLFunctions_3_3_Core::glGetFragDataLocation(GLuint program, const GLchar *name)
1461{
1462 return d_3_0_Core->f.GetFragDataLocation(program, name);
1463}
1464
1465inline void QOpenGLFunctions_3_3_Core::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name)
1466{
1467 d_3_0_Core->f.BindFragDataLocation(program, color, name);
1468}
1469
1470inline void QOpenGLFunctions_3_3_Core::glGetUniformuiv(GLuint program, GLint location, GLuint *params)
1471{
1472 d_3_0_Core->f.GetUniformuiv(program, location, params);
1473}
1474
1475inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params)
1476{
1477 d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params);
1478}
1479
1480inline void QOpenGLFunctions_3_3_Core::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params)
1481{
1482 d_3_0_Core->f.GetVertexAttribIiv(index, pname, params);
1483}
1484
1485inline void QOpenGLFunctions_3_3_Core::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
1486{
1487 d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer);
1488}
1489
1490inline void QOpenGLFunctions_3_3_Core::glEndConditionalRender()
1491{
1492 d_3_0_Core->f.EndConditionalRender();
1493}
1494
1495inline void QOpenGLFunctions_3_3_Core::glBeginConditionalRender(GLuint id, GLenum mode)
1496{
1497 d_3_0_Core->f.BeginConditionalRender(id, mode);
1498}
1499
1500inline void QOpenGLFunctions_3_3_Core::glClampColor(GLenum target, GLenum clamp)
1501{
1502 d_3_0_Core->f.ClampColor(target, clamp);
1503}
1504
1505inline void QOpenGLFunctions_3_3_Core::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name)
1506{
1507 d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name);
1508}
1509
1510inline void QOpenGLFunctions_3_3_Core::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode)
1511{
1512 d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode);
1513}
1514
1515inline void QOpenGLFunctions_3_3_Core::glBindBufferBase(GLenum target, GLuint index, GLuint buffer)
1516{
1517 d_3_0_Core->f.BindBufferBase(target, index, buffer);
1518}
1519
1520inline void QOpenGLFunctions_3_3_Core::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size)
1521{
1522 d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size);
1523}
1524
1525inline void QOpenGLFunctions_3_3_Core::glEndTransformFeedback()
1526{
1527 d_3_0_Core->f.EndTransformFeedback();
1528}
1529
1530inline void QOpenGLFunctions_3_3_Core::glBeginTransformFeedback(GLenum primitiveMode)
1531{
1532 d_3_0_Core->f.BeginTransformFeedback(primitiveMode);
1533}
1534
1535inline GLboolean QOpenGLFunctions_3_3_Core::glIsEnabledi(GLenum target, GLuint index)
1536{
1537 return d_3_0_Core->f.IsEnabledi(target, index);
1538}
1539
1540inline void QOpenGLFunctions_3_3_Core::glDisablei(GLenum target, GLuint index)
1541{
1542 d_3_0_Core->f.Disablei(target, index);
1543}
1544
1545inline void QOpenGLFunctions_3_3_Core::glEnablei(GLenum target, GLuint index)
1546{
1547 d_3_0_Core->f.Enablei(target, index);
1548}
1549
1550inline void QOpenGLFunctions_3_3_Core::glGetIntegeri_v(GLenum target, GLuint index, GLint *data)
1551{
1552 d_3_0_Core->f.GetIntegeri_v(target, index, data);
1553}
1554
1555inline void QOpenGLFunctions_3_3_Core::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data)
1556{
1557 d_3_0_Core->f.GetBooleani_v(target, index, data);
1558}
1559
1560inline void QOpenGLFunctions_3_3_Core::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a)
1561{
1562 d_3_0_Core->f.ColorMaski(index, r, g, b, a);
1563}
1564
1565
1566// OpenGL 3.1 core functions
1567inline void QOpenGLFunctions_3_3_Core::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size)
1568{
1569 d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size);
1570}
1571
1572inline void QOpenGLFunctions_3_3_Core::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding)
1573{
1574 d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding);
1575}
1576
1577inline void QOpenGLFunctions_3_3_Core::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName)
1578{
1579 d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName);
1580}
1581
1582inline void QOpenGLFunctions_3_3_Core::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params)
1583{
1584 d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params);
1585}
1586
1587inline GLuint QOpenGLFunctions_3_3_Core::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName)
1588{
1589 return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName);
1590}
1591
1592inline void QOpenGLFunctions_3_3_Core::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName)
1593{
1594 d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName);
1595}
1596
1597inline void QOpenGLFunctions_3_3_Core::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params)
1598{
1599 d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params);
1600}
1601
1602inline void QOpenGLFunctions_3_3_Core::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices)
1603{
1604 d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices);
1605}
1606
1607inline void QOpenGLFunctions_3_3_Core::glPrimitiveRestartIndex(GLuint index)
1608{
1609 d_3_1_Core->f.PrimitiveRestartIndex(index);
1610}
1611
1612inline void QOpenGLFunctions_3_3_Core::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer)
1613{
1614 d_3_1_Core->f.TexBuffer(target, internalformat, buffer);
1615}
1616
1617inline void QOpenGLFunctions_3_3_Core::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount)
1618{
1619 d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount);
1620}
1621
1622inline void QOpenGLFunctions_3_3_Core::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount)
1623{
1624 d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount);
1625}
1626
1627
1628// OpenGL 3.2 core functions
1629inline void QOpenGLFunctions_3_3_Core::glSampleMaski(GLuint index, GLbitfield mask)
1630{
1631 d_3_2_Core->f.SampleMaski(index, mask);
1632}
1633
1634inline void QOpenGLFunctions_3_3_Core::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val)
1635{
1636 d_3_2_Core->f.GetMultisamplefv(pname, index, val);
1637}
1638
1639inline void QOpenGLFunctions_3_3_Core::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations)
1640{
1641 d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations);
1642}
1643
1644inline void QOpenGLFunctions_3_3_Core::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations)
1645{
1646 d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations);
1647}
1648
1649inline void QOpenGLFunctions_3_3_Core::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values)
1650{
1651 d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values);
1652}
1653
1654inline void QOpenGLFunctions_3_3_Core::glGetInteger64v(GLenum pname, GLint64 *params)
1655{
1656 d_3_2_Core->f.GetInteger64v(pname, params);
1657}
1658
1659inline void QOpenGLFunctions_3_3_Core::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1660{
1661 d_3_2_Core->f.WaitSync(sync, flags, timeout);
1662}
1663
1664inline GLenum QOpenGLFunctions_3_3_Core::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout)
1665{
1666 return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout);
1667}
1668
1669inline void QOpenGLFunctions_3_3_Core::glDeleteSync(GLsync sync)
1670{
1671 d_3_2_Core->f.DeleteSync(sync);
1672}
1673
1674inline GLboolean QOpenGLFunctions_3_3_Core::glIsSync(GLsync sync)
1675{
1676 return d_3_2_Core->f.IsSync(sync);
1677}
1678
1679inline GLsync QOpenGLFunctions_3_3_Core::glFenceSync(GLenum condition, GLbitfield flags)
1680{
1681 return d_3_2_Core->f.FenceSync(condition, flags);
1682}
1683
1684inline void QOpenGLFunctions_3_3_Core::glProvokingVertex(GLenum mode)
1685{
1686 d_3_2_Core->f.ProvokingVertex(mode);
1687}
1688
1689inline void QOpenGLFunctions_3_3_Core::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex)
1690{
1691 d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex);
1692}
1693
1694inline void QOpenGLFunctions_3_3_Core::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex)
1695{
1696 d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex);
1697}
1698
1699inline void QOpenGLFunctions_3_3_Core::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1700{
1701 d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex);
1702}
1703
1704inline void QOpenGLFunctions_3_3_Core::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex)
1705{
1706 d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex);
1707}
1708
1709inline void QOpenGLFunctions_3_3_Core::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level)
1710{
1711 d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level);
1712}
1713
1714inline void QOpenGLFunctions_3_3_Core::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params)
1715{
1716 d_3_2_Core->f.GetBufferParameteri64v(target, pname, params);
1717}
1718
1719inline void QOpenGLFunctions_3_3_Core::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data)
1720{
1721 d_3_2_Core->f.GetInteger64i_v(target, index, data);
1722}
1723
1724
1725// OpenGL 3.3 core functions
1726inline void QOpenGLFunctions_3_3_Core::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1727{
1728 d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value);
1729}
1730
1731inline void QOpenGLFunctions_3_3_Core::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1732{
1733 d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value);
1734}
1735
1736inline void QOpenGLFunctions_3_3_Core::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1737{
1738 d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value);
1739}
1740
1741inline void QOpenGLFunctions_3_3_Core::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1742{
1743 d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value);
1744}
1745
1746inline void QOpenGLFunctions_3_3_Core::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1747{
1748 d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value);
1749}
1750
1751inline void QOpenGLFunctions_3_3_Core::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1752{
1753 d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value);
1754}
1755
1756inline void QOpenGLFunctions_3_3_Core::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value)
1757{
1758 d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value);
1759}
1760
1761inline void QOpenGLFunctions_3_3_Core::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value)
1762{
1763 d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value);
1764}
1765
1766inline void QOpenGLFunctions_3_3_Core::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params)
1767{
1768 d_3_3_Core->f.GetQueryObjectui64v(id, pname, params);
1769}
1770
1771inline void QOpenGLFunctions_3_3_Core::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params)
1772{
1773 d_3_3_Core->f.GetQueryObjecti64v(id, pname, params);
1774}
1775
1776inline void QOpenGLFunctions_3_3_Core::glQueryCounter(GLuint id, GLenum target)
1777{
1778 d_3_3_Core->f.QueryCounter(id, target);
1779}
1780
1781inline void QOpenGLFunctions_3_3_Core::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params)
1782{
1783 d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params);
1784}
1785
1786inline void QOpenGLFunctions_3_3_Core::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params)
1787{
1788 d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params);
1789}
1790
1791inline void QOpenGLFunctions_3_3_Core::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params)
1792{
1793 d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params);
1794}
1795
1796inline void QOpenGLFunctions_3_3_Core::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params)
1797{
1798 d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params);
1799}
1800
1801inline void QOpenGLFunctions_3_3_Core::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param)
1802{
1803 d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param);
1804}
1805
1806inline void QOpenGLFunctions_3_3_Core::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param)
1807{
1808 d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param);
1809}
1810
1811inline void QOpenGLFunctions_3_3_Core::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param)
1812{
1813 d_3_3_Core->f.SamplerParameterfv(sampler, pname, param);
1814}
1815
1816inline void QOpenGLFunctions_3_3_Core::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param)
1817{
1818 d_3_3_Core->f.SamplerParameterf(sampler, pname, param);
1819}
1820
1821inline void QOpenGLFunctions_3_3_Core::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param)
1822{
1823 d_3_3_Core->f.SamplerParameteriv(sampler, pname, param);
1824}
1825
1826inline void QOpenGLFunctions_3_3_Core::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param)
1827{
1828 d_3_3_Core->f.SamplerParameteri(sampler, pname, param);
1829}
1830
1831inline void QOpenGLFunctions_3_3_Core::glBindSampler(GLuint unit, GLuint sampler)
1832{
1833 d_3_3_Core->f.BindSampler(unit, sampler);
1834}
1835
1836inline GLboolean QOpenGLFunctions_3_3_Core::glIsSampler(GLuint sampler)
1837{
1838 return d_3_3_Core->f.IsSampler(sampler);
1839}
1840
1841inline void QOpenGLFunctions_3_3_Core::glDeleteSamplers(GLsizei count, const GLuint *samplers)
1842{
1843 d_3_3_Core->f.DeleteSamplers(count, samplers);
1844}
1845
1846inline void QOpenGLFunctions_3_3_Core::glGenSamplers(GLsizei count, GLuint *samplers)
1847{
1848 d_3_3_Core->f.GenSamplers(count, samplers);
1849}
1850
1851inline GLint QOpenGLFunctions_3_3_Core::glGetFragDataIndex(GLuint program, const GLchar *name)
1852{
1853 return d_3_3_Core->f.GetFragDataIndex(program, name);
1854}
1855
1856inline void QOpenGLFunctions_3_3_Core::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name)
1857{
1858 d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name);
1859}
1860
1861inline void QOpenGLFunctions_3_3_Core::glVertexAttribDivisor(GLuint index, GLuint divisor)
1862{
1863 d_3_3_Core->f.VertexAttribDivisor(index, divisor);
1864}
1865
1866
1867
1868QT_END_NAMESPACE
1869
1870#endif // QT_NO_OPENGL && !QT_CONFIG(opengles2)
1871
1872#endif
1873