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_COMPATIBILITY_H
51#define QOPENGLVERSIONFUNCTIONS_3_3_COMPATIBILITY_H
52
53#include <QtOpenGL/qtopenglglobal.h>
54
55#if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2)
56
57#include <QtOpenGL/QOpenGLVersionProfile>
58#include <QtOpenGL/QOpenGLVersionFunctions>
59#include <QtGui/qopenglcontext.h>
60
61QT_BEGIN_NAMESPACE
62
63class Q_OPENGL_EXPORT QOpenGLFunctions_3_3_Compatibility : public QAbstractOpenGLFunctions
64{
65public:
66 QOpenGLFunctions_3_3_Compatibility();
67 ~QOpenGLFunctions_3_3_Compatibility();
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 void glIndexubv(const GLubyte *c);
123 void glIndexub(GLubyte c);
124 GLboolean glIsTexture(GLuint texture);
125 void glGenTextures(GLsizei n, GLuint *textures);
126 void glDeleteTextures(GLsizei n, const GLuint *textures);
127 void glBindTexture(GLenum target, GLuint texture);
128 void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
129 void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
130 void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
131 void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
132 void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
133 void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
134 void glPolygonOffset(GLfloat factor, GLfloat units);
135 void glGetPointerv(GLenum pname, GLvoid* *params);
136 void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
137 void glDrawArrays(GLenum mode, GLint first, GLsizei count);
138
139 // OpenGL 1.2 core functions
140 void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
141 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);
142 void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
143 void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
144 void glBlendEquation(GLenum mode);
145 void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
146
147 // OpenGL 1.3 core functions
148 void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img);
149 void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
150 void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
151 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);
152 void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
153 void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
154 void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
155 void glSampleCoverage(GLfloat value, GLboolean invert);
156 void glActiveTexture(GLenum texture);
157
158 // OpenGL 1.4 core functions
159 void glPointParameteriv(GLenum pname, const GLint *params);
160 void glPointParameteri(GLenum pname, GLint param);
161 void glPointParameterfv(GLenum pname, const GLfloat *params);
162 void glPointParameterf(GLenum pname, GLfloat param);
163 void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
164 void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
165 void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
166
167 // OpenGL 1.5 core functions
168 void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params);
169 void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params);
170 GLboolean glUnmapBuffer(GLenum target);
171 GLvoid* glMapBuffer(GLenum target, GLenum access);
172 void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
173 void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
174 void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
175 GLboolean glIsBuffer(GLuint buffer);
176 void glGenBuffers(GLsizei n, GLuint *buffers);
177 void glDeleteBuffers(GLsizei n, const GLuint *buffers);
178 void glBindBuffer(GLenum target, GLuint buffer);
179 void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params);
180 void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params);
181 void glGetQueryiv(GLenum target, GLenum pname, GLint *params);
182 void glEndQuery(GLenum target);
183 void glBeginQuery(GLenum target, GLuint id);
184 GLboolean glIsQuery(GLuint id);
185 void glDeleteQueries(GLsizei n, const GLuint *ids);
186 void glGenQueries(GLsizei n, GLuint *ids);
187
188 // OpenGL 2.0 core functions
189 void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
190 void glValidateProgram(GLuint program);
191 void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
192 void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
193 void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
194 void glUniform4iv(GLint location, GLsizei count, const GLint *value);
195 void glUniform3iv(GLint location, GLsizei count, const GLint *value);
196 void glUniform2iv(GLint location, GLsizei count, const GLint *value);
197 void glUniform1iv(GLint location, GLsizei count, const GLint *value);
198 void glUniform4fv(GLint location, GLsizei count, const GLfloat *value);
199 void glUniform3fv(GLint location, GLsizei count, const GLfloat *value);
200 void glUniform2fv(GLint location, GLsizei count, const GLfloat *value);
201 void glUniform1fv(GLint location, GLsizei count, const GLfloat *value);
202 void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
203 void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2);
204 void glUniform2i(GLint location, GLint v0, GLint v1);
205 void glUniform1i(GLint location, GLint v0);
206 void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
207 void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
208 void glUniform2f(GLint location, GLfloat v0, GLfloat v1);
209 void glUniform1f(GLint location, GLfloat v0);
210 void glUseProgram(GLuint program);
211 void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
212 void glLinkProgram(GLuint program);
213 GLboolean glIsShader(GLuint shader);
214 GLboolean glIsProgram(GLuint program);
215 void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer);
216 void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params);
217 void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params);
218 void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params);
219 void glGetUniformiv(GLuint program, GLint location, GLint *params);
220 void glGetUniformfv(GLuint program, GLint location, GLfloat *params);
221 GLint glGetUniformLocation(GLuint program, const GLchar *name);
222 void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
223 void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
224 void glGetShaderiv(GLuint shader, GLenum pname, GLint *params);
225 void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
226 void glGetProgramiv(GLuint program, GLenum pname, GLint *params);
227 GLint glGetAttribLocation(GLuint program, const GLchar *name);
228 void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
229 void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
230 void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
231 void glEnableVertexAttribArray(GLuint index);
232 void glDisableVertexAttribArray(GLuint index);
233 void glDetachShader(GLuint program, GLuint shader);
234 void glDeleteShader(GLuint shader);
235 void glDeleteProgram(GLuint program);
236 GLuint glCreateShader(GLenum type);
237 GLuint glCreateProgram();
238 void glCompileShader(GLuint shader);
239 void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name);
240 void glAttachShader(GLuint program, GLuint shader);
241 void glStencilMaskSeparate(GLenum face, GLuint mask);
242 void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask);
243 void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
244 void glDrawBuffers(GLsizei n, const GLenum *bufs);
245 void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha);
246
247 // OpenGL 2.1 core functions
248 void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
249 void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
250 void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
251 void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
252 void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
253 void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
254
255 // OpenGL 3.0 core functions
256 GLboolean glIsVertexArray(GLuint array);
257 void glGenVertexArrays(GLsizei n, GLuint *arrays);
258 void glDeleteVertexArrays(GLsizei n, const GLuint *arrays);
259 void glBindVertexArray(GLuint array);
260 void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length);
261 GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
262 void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
263 void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
264 void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
265 void glGenerateMipmap(GLenum target);
266 void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params);
267 void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
268 void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
269 void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
270 void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
271 GLenum glCheckFramebufferStatus(GLenum target);
272 void glGenFramebuffers(GLsizei n, GLuint *framebuffers);
273 void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers);
274 void glBindFramebuffer(GLenum target, GLuint framebuffer);
275 GLboolean glIsFramebuffer(GLuint framebuffer);
276 void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params);
277 void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
278 void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers);
279 void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers);
280 void glBindRenderbuffer(GLenum target, GLuint renderbuffer);
281 GLboolean glIsRenderbuffer(GLuint renderbuffer);
282 const GLubyte * glGetStringi(GLenum name, GLuint index);
283 void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
284 void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value);
285 void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value);
286 void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value);
287 void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params);
288 void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params);
289 void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params);
290 void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params);
291 void glUniform4uiv(GLint location, GLsizei count, const GLuint *value);
292 void glUniform3uiv(GLint location, GLsizei count, const GLuint *value);
293 void glUniform2uiv(GLint location, GLsizei count, const GLuint *value);
294 void glUniform1uiv(GLint location, GLsizei count, const GLuint *value);
295 void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
296 void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2);
297 void glUniform2ui(GLint location, GLuint v0, GLuint v1);
298 void glUniform1ui(GLint location, GLuint v0);
299 GLint glGetFragDataLocation(GLuint program, const GLchar *name);
300 void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name);
301 void glGetUniformuiv(GLuint program, GLint location, GLuint *params);
302 void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params);
303 void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params);
304 void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
305 void glEndConditionalRender();
306 void glBeginConditionalRender(GLuint id, GLenum mode);
307 void glClampColor(GLenum target, GLenum clamp);
308 void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
309 void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
310 void glBindBufferBase(GLenum target, GLuint index, GLuint buffer);
311 void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
312 void glEndTransformFeedback();
313 void glBeginTransformFeedback(GLenum primitiveMode);
314 GLboolean glIsEnabledi(GLenum target, GLuint index);
315 void glDisablei(GLenum target, GLuint index);
316 void glEnablei(GLenum target, GLuint index);
317 void glGetIntegeri_v(GLenum target, GLuint index, GLint *data);
318 void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data);
319 void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
320
321 // OpenGL 3.1 core functions
322 void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
323 void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
324 void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
325 void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
326 GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName);
327 void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
328 void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
329 void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
330 void glPrimitiveRestartIndex(GLuint index);
331 void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer);
332 void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
333 void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
334
335 // OpenGL 3.2 core functions
336 void glSampleMaski(GLuint index, GLbitfield mask);
337 void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val);
338 void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
339 void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
340 void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
341 void glGetInteger64v(GLenum pname, GLint64 *params);
342 void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
343 GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout);
344 void glDeleteSync(GLsync sync);
345 GLboolean glIsSync(GLsync sync);
346 GLsync glFenceSync(GLenum condition, GLbitfield flags);
347 void glProvokingVertex(GLenum mode);
348 void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
349 void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
350 void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
351 void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
352 void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level);
353 void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params);
354 void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data);
355
356 // OpenGL 3.3 core functions
357 void glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
358 void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
359 void glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
360 void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
361 void glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
362 void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
363 void glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
364 void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value);
365 void glSecondaryColorP3uiv(GLenum type, const GLuint *color);
366 void glSecondaryColorP3ui(GLenum type, GLuint color);
367 void glColorP4uiv(GLenum type, const GLuint *color);
368 void glColorP4ui(GLenum type, GLuint color);
369 void glColorP3uiv(GLenum type, const GLuint *color);
370 void glColorP3ui(GLenum type, GLuint color);
371 void glNormalP3uiv(GLenum type, const GLuint *coords);
372 void glNormalP3ui(GLenum type, GLuint coords);
373 void glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords);
374 void glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords);
375 void glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords);
376 void glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords);
377 void glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords);
378 void glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords);
379 void glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords);
380 void glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords);
381 void glTexCoordP4uiv(GLenum type, const GLuint *coords);
382 void glTexCoordP4ui(GLenum type, GLuint coords);
383 void glTexCoordP3uiv(GLenum type, const GLuint *coords);
384 void glTexCoordP3ui(GLenum type, GLuint coords);
385 void glTexCoordP2uiv(GLenum type, const GLuint *coords);
386 void glTexCoordP2ui(GLenum type, GLuint coords);
387 void glTexCoordP1uiv(GLenum type, const GLuint *coords);
388 void glTexCoordP1ui(GLenum type, GLuint coords);
389 void glVertexP4uiv(GLenum type, const GLuint *value);
390 void glVertexP4ui(GLenum type, GLuint value);
391 void glVertexP3uiv(GLenum type, const GLuint *value);
392 void glVertexP3ui(GLenum type, GLuint value);
393 void glVertexP2uiv(GLenum type, const GLuint *value);
394 void glVertexP2ui(GLenum type, GLuint value);
395 void glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params);
396 void glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params);
397 void glQueryCounter(GLuint id, GLenum target);
398 void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params);
399 void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params);
400 void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params);
401 void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params);
402 void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param);
403 void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param);
404 void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param);
405 void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param);
406 void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param);
407 void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param);
408 void glBindSampler(GLuint unit, GLuint sampler);
409 GLboolean glIsSampler(GLuint sampler);
410 void glDeleteSamplers(GLsizei count, const GLuint *samplers);
411 void glGenSamplers(GLsizei count, GLuint *samplers);
412 GLint glGetFragDataIndex(GLuint program, const GLchar *name);
413 void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
414 void glVertexAttribDivisor(GLuint index, GLuint divisor);
415
416 // OpenGL 1.0 deprecated functions
417 void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
418 void glTranslated(GLdouble x, GLdouble y, GLdouble z);
419 void glScalef(GLfloat x, GLfloat y, GLfloat z);
420 void glScaled(GLdouble x, GLdouble y, GLdouble z);
421 void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
422 void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
423 void glPushMatrix();
424 void glPopMatrix();
425 void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
426 void glMultMatrixd(const GLdouble *m);
427 void glMultMatrixf(const GLfloat *m);
428 void glMatrixMode(GLenum mode);
429 void glLoadMatrixd(const GLdouble *m);
430 void glLoadMatrixf(const GLfloat *m);
431 void glLoadIdentity();
432 void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
433 GLboolean glIsList(GLuint list);
434 void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
435 void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
436 void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
437 void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
438 void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
439 void glGetPolygonStipple(GLubyte *mask);
440 void glGetPixelMapusv(GLenum map, GLushort *values);
441 void glGetPixelMapuiv(GLenum map, GLuint *values);
442 void glGetPixelMapfv(GLenum map, GLfloat *values);
443 void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
444 void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
445 void glGetMapiv(GLenum target, GLenum query, GLint *v);
446 void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
447 void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
448 void glGetLightiv(GLenum light, GLenum pname, GLint *params);
449 void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
450 void glGetClipPlane(GLenum plane, GLdouble *equation);
451 void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
452 void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
453 void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
454 void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
455 void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
456 void glPixelTransferi(GLenum pname, GLint param);
457 void glPixelTransferf(GLenum pname, GLfloat param);
458 void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
459 void glAlphaFunc(GLenum func, GLfloat ref);
460 void glEvalPoint2(GLint i, GLint j);
461 void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
462 void glEvalPoint1(GLint i);
463 void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
464 void glEvalCoord2fv(const GLfloat *u);
465 void glEvalCoord2f(GLfloat u, GLfloat v);
466 void glEvalCoord2dv(const GLdouble *u);
467 void glEvalCoord2d(GLdouble u, GLdouble v);
468 void glEvalCoord1fv(const GLfloat *u);
469 void glEvalCoord1f(GLfloat u);
470 void glEvalCoord1dv(const GLdouble *u);
471 void glEvalCoord1d(GLdouble u);
472 void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
473 void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
474 void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
475 void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
476 void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
477 void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
478 void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
479 void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
480 void glPushAttrib(GLbitfield mask);
481 void glPopAttrib();
482 void glAccum(GLenum op, GLfloat value);
483 void glIndexMask(GLuint mask);
484 void glClearIndex(GLfloat c);
485 void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
486 void glPushName(GLuint name);
487 void glPopName();
488 void glPassThrough(GLfloat token);
489 void glLoadName(GLuint name);
490 void glInitNames();
491 GLint glRenderMode(GLenum mode);
492 void glSelectBuffer(GLsizei size, GLuint *buffer);
493 void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
494 void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
495 void glTexGeni(GLenum coord, GLenum pname, GLint param);
496 void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
497 void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
498 void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
499 void glTexGend(GLenum coord, GLenum pname, GLdouble param);
500 void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
501 void glTexEnvi(GLenum target, GLenum pname, GLint param);
502 void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
503 void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
504 void glShadeModel(GLenum mode);
505 void glPolygonStipple(const GLubyte *mask);
506 void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
507 void glMateriali(GLenum face, GLenum pname, GLint param);
508 void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
509 void glMaterialf(GLenum face, GLenum pname, GLfloat param);
510 void glLineStipple(GLint factor, GLushort pattern);
511 void glLightModeliv(GLenum pname, const GLint *params);
512 void glLightModeli(GLenum pname, GLint param);
513 void glLightModelfv(GLenum pname, const GLfloat *params);
514 void glLightModelf(GLenum pname, GLfloat param);
515 void glLightiv(GLenum light, GLenum pname, const GLint *params);
516 void glLighti(GLenum light, GLenum pname, GLint param);
517 void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
518 void glLightf(GLenum light, GLenum pname, GLfloat param);
519 void glFogiv(GLenum pname, const GLint *params);
520 void glFogi(GLenum pname, GLint param);
521 void glFogfv(GLenum pname, const GLfloat *params);
522 void glFogf(GLenum pname, GLfloat param);
523 void glColorMaterial(GLenum face, GLenum mode);
524 void glClipPlane(GLenum plane, const GLdouble *equation);
525 void glVertex4sv(const GLshort *v);
526 void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
527 void glVertex4iv(const GLint *v);
528 void glVertex4i(GLint x, GLint y, GLint z, GLint w);
529 void glVertex4fv(const GLfloat *v);
530 void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
531 void glVertex4dv(const GLdouble *v);
532 void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
533 void glVertex3sv(const GLshort *v);
534 void glVertex3s(GLshort x, GLshort y, GLshort z);
535 void glVertex3iv(const GLint *v);
536 void glVertex3i(GLint x, GLint y, GLint z);
537 void glVertex3fv(const GLfloat *v);
538 void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
539 void glVertex3dv(const GLdouble *v);
540 void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
541 void glVertex2sv(const GLshort *v);
542 void glVertex2s(GLshort x, GLshort y);
543 void glVertex2iv(const GLint *v);
544 void glVertex2i(GLint x, GLint y);
545 void glVertex2fv(const GLfloat *v);
546 void glVertex2f(GLfloat x, GLfloat y);
547 void glVertex2dv(const GLdouble *v);
548 void glVertex2d(GLdouble x, GLdouble y);
549 void glTexCoord4sv(const GLshort *v);
550 void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
551 void glTexCoord4iv(const GLint *v);
552 void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
553 void glTexCoord4fv(const GLfloat *v);
554 void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
555 void glTexCoord4dv(const GLdouble *v);
556 void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
557 void glTexCoord3sv(const GLshort *v);
558 void glTexCoord3s(GLshort s, GLshort t, GLshort r);
559 void glTexCoord3iv(const GLint *v);
560 void glTexCoord3i(GLint s, GLint t, GLint r);
561 void glTexCoord3fv(const GLfloat *v);
562 void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
563 void glTexCoord3dv(const GLdouble *v);
564 void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
565 void glTexCoord2sv(const GLshort *v);
566 void glTexCoord2s(GLshort s, GLshort t);
567 void glTexCoord2iv(const GLint *v);
568 void glTexCoord2i(GLint s, GLint t);
569 void glTexCoord2fv(const GLfloat *v);
570 void glTexCoord2f(GLfloat s, GLfloat t);
571 void glTexCoord2dv(const GLdouble *v);
572 void glTexCoord2d(GLdouble s, GLdouble t);
573 void glTexCoord1sv(const GLshort *v);
574 void glTexCoord1s(GLshort s);
575 void glTexCoord1iv(const GLint *v);
576 void glTexCoord1i(GLint s);
577 void glTexCoord1fv(const GLfloat *v);
578 void glTexCoord1f(GLfloat s);
579 void glTexCoord1dv(const GLdouble *v);
580 void glTexCoord1d(GLdouble s);
581 void glRectsv(const GLshort *v1, const GLshort *v2);
582 void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
583 void glRectiv(const GLint *v1, const GLint *v2);
584 void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
585 void glRectfv(const GLfloat *v1, const GLfloat *v2);
586 void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
587 void glRectdv(const GLdouble *v1, const GLdouble *v2);
588 void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
589 void glRasterPos4sv(const GLshort *v);
590 void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
591 void glRasterPos4iv(const GLint *v);
592 void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
593 void glRasterPos4fv(const GLfloat *v);
594 void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
595 void glRasterPos4dv(const GLdouble *v);
596 void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
597 void glRasterPos3sv(const GLshort *v);
598 void glRasterPos3s(GLshort x, GLshort y, GLshort z);
599 void glRasterPos3iv(const GLint *v);
600 void glRasterPos3i(GLint x, GLint y, GLint z);
601 void glRasterPos3fv(const GLfloat *v);
602 void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
603 void glRasterPos3dv(const GLdouble *v);
604 void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
605 void glRasterPos2sv(const GLshort *v);
606 void glRasterPos2s(GLshort x, GLshort y);
607 void glRasterPos2iv(const GLint *v);
608 void glRasterPos2i(GLint x, GLint y);
609 void glRasterPos2fv(const GLfloat *v);
610 void glRasterPos2f(GLfloat x, GLfloat y);
611 void glRasterPos2dv(const GLdouble *v);
612 void glRasterPos2d(GLdouble x, GLdouble y);
613 void glNormal3sv(const GLshort *v);
614 void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
615 void glNormal3iv(const GLint *v);
616 void glNormal3i(GLint nx, GLint ny, GLint nz);
617 void glNormal3fv(const GLfloat *v);
618 void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
619 void glNormal3dv(const GLdouble *v);
620 void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
621 void glNormal3bv(const GLbyte *v);
622 void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
623 void glIndexsv(const GLshort *c);
624 void glIndexs(GLshort c);
625 void glIndexiv(const GLint *c);
626 void glIndexi(GLint c);
627 void glIndexfv(const GLfloat *c);
628 void glIndexf(GLfloat c);
629 void glIndexdv(const GLdouble *c);
630 void glIndexd(GLdouble c);
631 void glEnd();
632 void glEdgeFlagv(const GLboolean *flag);
633 void glEdgeFlag(GLboolean flag);
634 void glColor4usv(const GLushort *v);
635 void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
636 void glColor4uiv(const GLuint *v);
637 void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
638 void glColor4ubv(const GLubyte *v);
639 void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
640 void glColor4sv(const GLshort *v);
641 void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
642 void glColor4iv(const GLint *v);
643 void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
644 void glColor4fv(const GLfloat *v);
645 void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
646 void glColor4dv(const GLdouble *v);
647 void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
648 void glColor4bv(const GLbyte *v);
649 void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
650 void glColor3usv(const GLushort *v);
651 void glColor3us(GLushort red, GLushort green, GLushort blue);
652 void glColor3uiv(const GLuint *v);
653 void glColor3ui(GLuint red, GLuint green, GLuint blue);
654 void glColor3ubv(const GLubyte *v);
655 void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
656 void glColor3sv(const GLshort *v);
657 void glColor3s(GLshort red, GLshort green, GLshort blue);
658 void glColor3iv(const GLint *v);
659 void glColor3i(GLint red, GLint green, GLint blue);
660 void glColor3fv(const GLfloat *v);
661 void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
662 void glColor3dv(const GLdouble *v);
663 void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
664 void glColor3bv(const GLbyte *v);
665 void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
666 void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
667 void glBegin(GLenum mode);
668 void glListBase(GLuint base);
669 GLuint glGenLists(GLsizei range);
670 void glDeleteLists(GLuint list, GLsizei range);
671 void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
672 void glCallList(GLuint list);
673 void glEndList();
674 void glNewList(GLuint list, GLenum mode);
675
676 // OpenGL 1.1 deprecated functions
677 void glPushClientAttrib(GLbitfield mask);
678 void glPopClientAttrib();
679 void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
680 GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
681 void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
682 void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
683 void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
684 void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
685 void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
686 void glEnableClientState(GLenum array);
687 void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
688 void glDisableClientState(GLenum array);
689 void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
690 void glArrayElement(GLint i);
691
692 // OpenGL 1.2 deprecated functions
693 void glResetMinmax(GLenum target);
694 void glResetHistogram(GLenum target);
695 void glMinmax(GLenum target, GLenum internalformat, GLboolean sink);
696 void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
697 void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params);
698 void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params);
699 void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
700 void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params);
701 void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params);
702 void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
703 void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
704 void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
705 void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params);
706 void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params);
707 void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image);
708 void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
709 void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
710 void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params);
711 void glConvolutionParameteri(GLenum target, GLenum pname, GLint params);
712 void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params);
713 void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params);
714 void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
715 void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
716 void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
717 void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
718 void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params);
719 void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params);
720 void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table);
721 void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
722 void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params);
723 void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params);
724 void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
725
726 // OpenGL 1.3 deprecated functions
727 void glMultTransposeMatrixd(const GLdouble *m);
728 void glMultTransposeMatrixf(const GLfloat *m);
729 void glLoadTransposeMatrixd(const GLdouble *m);
730 void glLoadTransposeMatrixf(const GLfloat *m);
731 void glMultiTexCoord4sv(GLenum target, const GLshort *v);
732 void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
733 void glMultiTexCoord4iv(GLenum target, const GLint *v);
734 void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q);
735 void glMultiTexCoord4fv(GLenum target, const GLfloat *v);
736 void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
737 void glMultiTexCoord4dv(GLenum target, const GLdouble *v);
738 void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
739 void glMultiTexCoord3sv(GLenum target, const GLshort *v);
740 void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r);
741 void glMultiTexCoord3iv(GLenum target, const GLint *v);
742 void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r);
743 void glMultiTexCoord3fv(GLenum target, const GLfloat *v);
744 void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r);
745 void glMultiTexCoord3dv(GLenum target, const GLdouble *v);
746 void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r);
747 void glMultiTexCoord2sv(GLenum target, const GLshort *v);
748 void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t);
749 void glMultiTexCoord2iv(GLenum target, const GLint *v);
750 void glMultiTexCoord2i(GLenum target, GLint s, GLint t);
751 void glMultiTexCoord2fv(GLenum target, const GLfloat *v);
752 void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t);
753 void glMultiTexCoord2dv(GLenum target, const GLdouble *v);
754 void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t);
755 void glMultiTexCoord1sv(GLenum target, const GLshort *v);
756 void glMultiTexCoord1s(GLenum target, GLshort s);
757 void glMultiTexCoord1iv(GLenum target, const GLint *v);
758 void glMultiTexCoord1i(GLenum target, GLint s);
759 void glMultiTexCoord1fv(GLenum target, const GLfloat *v);
760 void glMultiTexCoord1f(GLenum target, GLfloat s);
761 void glMultiTexCoord1dv(GLenum target, const GLdouble *v);
762 void glMultiTexCoord1d(GLenum target, GLdouble s);
763 void glClientActiveTexture(GLenum texture);
764
765 // OpenGL 1.4 deprecated functions
766 void glWindowPos3sv(const GLshort *v);
767 void glWindowPos3s(GLshort x, GLshort y, GLshort z);
768 void glWindowPos3iv(const GLint *v);
769 void glWindowPos3i(GLint x, GLint y, GLint z);
770 void glWindowPos3fv(const GLfloat *v);
771 void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z);
772 void glWindowPos3dv(const GLdouble *v);
773 void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z);
774 void glWindowPos2sv(const GLshort *v);
775 void glWindowPos2s(GLshort x, GLshort y);
776 void glWindowPos2iv(const GLint *v);
777 void glWindowPos2i(GLint x, GLint y);
778 void glWindowPos2fv(const GLfloat *v);
779 void glWindowPos2f(GLfloat x, GLfloat y);
780 void glWindowPos2dv(const GLdouble *v);
781 void glWindowPos2d(GLdouble x, GLdouble y);
782 void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
783 void glSecondaryColor3usv(const GLushort *v);
784 void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue);
785 void glSecondaryColor3uiv(const GLuint *v);
786 void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue);
787 void glSecondaryColor3ubv(const GLubyte *v);
788 void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue);
789 void glSecondaryColor3sv(const GLshort *v);
790 void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue);
791 void glSecondaryColor3iv(const GLint *v);
792 void glSecondaryColor3i(GLint red, GLint green, GLint blue);
793 void glSecondaryColor3fv(const GLfloat *v);
794 void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue);
795 void glSecondaryColor3dv(const GLdouble *v);
796 void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue);
797 void glSecondaryColor3bv(const GLbyte *v);
798 void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue);
799 void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
800 void glFogCoorddv(const GLdouble *coord);
801 void glFogCoordd(GLdouble coord);
802 void glFogCoordfv(const GLfloat *coord);
803 void glFogCoordf(GLfloat coord);
804
805 // OpenGL 1.5 deprecated functions
806
807 // OpenGL 2.0 deprecated functions
808 void glVertexAttrib4usv(GLuint index, const GLushort *v);
809 void glVertexAttrib4uiv(GLuint index, const GLuint *v);
810 void glVertexAttrib4ubv(GLuint index, const GLubyte *v);
811 void glVertexAttrib4sv(GLuint index, const GLshort *v);
812 void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
813 void glVertexAttrib4iv(GLuint index, const GLint *v);
814 void glVertexAttrib4fv(GLuint index, const GLfloat *v);
815 void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
816 void glVertexAttrib4dv(GLuint index, const GLdouble *v);
817 void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
818 void glVertexAttrib4bv(GLuint index, const GLbyte *v);
819 void glVertexAttrib4Nusv(GLuint index, const GLushort *v);
820 void glVertexAttrib4Nuiv(GLuint index, const GLuint *v);
821 void glVertexAttrib4Nubv(GLuint index, const GLubyte *v);
822 void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
823 void glVertexAttrib4Nsv(GLuint index, const GLshort *v);
824 void glVertexAttrib4Niv(GLuint index, const GLint *v);
825 void glVertexAttrib4Nbv(GLuint index, const GLbyte *v);
826 void glVertexAttrib3sv(GLuint index, const GLshort *v);
827 void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z);
828 void glVertexAttrib3fv(GLuint index, const GLfloat *v);
829 void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z);
830 void glVertexAttrib3dv(GLuint index, const GLdouble *v);
831 void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z);
832 void glVertexAttrib2sv(GLuint index, const GLshort *v);
833 void glVertexAttrib2s(GLuint index, GLshort x, GLshort y);
834 void glVertexAttrib2fv(GLuint index, const GLfloat *v);
835 void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y);
836 void glVertexAttrib2dv(GLuint index, const GLdouble *v);
837 void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y);
838 void glVertexAttrib1sv(GLuint index, const GLshort *v);
839 void glVertexAttrib1s(GLuint index, GLshort x);
840 void glVertexAttrib1fv(GLuint index, const GLfloat *v);
841 void glVertexAttrib1f(GLuint index, GLfloat x);
842 void glVertexAttrib1dv(GLuint index, const GLdouble *v);
843 void glVertexAttrib1d(GLuint index, GLdouble x);
844
845 // OpenGL 2.1 deprecated functions
846
847 // OpenGL 3.0 deprecated functions
848 void glVertexAttribI4usv(GLuint index, const GLushort *v);
849 void glVertexAttribI4ubv(GLuint index, const GLubyte *v);
850 void glVertexAttribI4sv(GLuint index, const GLshort *v);
851 void glVertexAttribI4bv(GLuint index, const GLbyte *v);
852 void glVertexAttribI4uiv(GLuint index, const GLuint *v);
853 void glVertexAttribI3uiv(GLuint index, const GLuint *v);
854 void glVertexAttribI2uiv(GLuint index, const GLuint *v);
855 void glVertexAttribI1uiv(GLuint index, const GLuint *v);
856 void glVertexAttribI4iv(GLuint index, const GLint *v);
857 void glVertexAttribI3iv(GLuint index, const GLint *v);
858 void glVertexAttribI2iv(GLuint index, const GLint *v);
859 void glVertexAttribI1iv(GLuint index, const GLint *v);
860 void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
861 void glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z);
862 void glVertexAttribI2ui(GLuint index, GLuint x, GLuint y);
863 void glVertexAttribI1ui(GLuint index, GLuint x);
864 void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w);
865 void glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z);
866 void glVertexAttribI2i(GLuint index, GLint x, GLint y);
867 void glVertexAttribI1i(GLuint index, GLint x);
868
869 // OpenGL 3.1 deprecated functions
870
871 // OpenGL 3.2 deprecated functions
872
873 // OpenGL 3.3 deprecated functions
874
875private:
876 friend class QOpenGLVersionFunctionsFactory;
877
878 static bool isContextCompatible(QOpenGLContext *context);
879 static QOpenGLVersionProfile versionProfile();
880
881 QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
882 QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
883 QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core;
884 QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core;
885 QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core;
886 QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core;
887 QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core;
888 QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core;
889 QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core;
890 QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core;
891 QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core;
892 QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core;
893 QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
894 QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
895 QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated;
896 QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated;
897 QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated;
898 void *m_reserved_2_0_Deprecated; // To maintain BC
899 QOpenGLFunctions_3_3_DeprecatedBackend* d_3_3_Deprecated;
900};
901
902// OpenGL 1.0 core functions
903inline void QOpenGLFunctions_3_3_Compatibility::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
904{
905 d_1_0_Core->f.Viewport(x, y, width, height);
906}
907
908inline void QOpenGLFunctions_3_3_Compatibility::glDepthRange(GLdouble nearVal, GLdouble farVal)
909{
910 d_1_0_Core->f.DepthRange(nearVal, farVal);
911}
912
913inline GLboolean QOpenGLFunctions_3_3_Compatibility::glIsEnabled(GLenum cap)
914{
915 return d_1_0_Core->f.IsEnabled(cap);
916}
917
918inline void QOpenGLFunctions_3_3_Compatibility::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
919{
920 d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
921}
922
923inline void QOpenGLFunctions_3_3_Compatibility::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
924{
925 d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
926}
927
928inline void QOpenGLFunctions_3_3_Compatibility::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
929{
930 d_1_0_Core->f.GetTexParameteriv(target, pname, params);
931}
932
933inline void QOpenGLFunctions_3_3_Compatibility::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
934{
935 d_1_0_Core->f.GetTexParameterfv(target, pname, params);
936}
937
938inline void QOpenGLFunctions_3_3_Compatibility::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
939{
940 d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
941}
942
943inline const GLubyte * QOpenGLFunctions_3_3_Compatibility::glGetString(GLenum name)
944{
945 return d_1_0_Core->f.GetString(name);
946}
947
948inline void QOpenGLFunctions_3_3_Compatibility::glGetIntegerv(GLenum pname, GLint *params)
949{
950 d_1_0_Core->f.GetIntegerv(pname, params);
951}
952
953inline void QOpenGLFunctions_3_3_Compatibility::glGetFloatv(GLenum pname, GLfloat *params)
954{
955 d_1_0_Core->f.GetFloatv(pname, params);
956}
957
958inline GLenum QOpenGLFunctions_3_3_Compatibility::glGetError()
959{
960 return d_1_0_Core->f.GetError();
961}
962
963inline void QOpenGLFunctions_3_3_Compatibility::glGetDoublev(GLenum pname, GLdouble *params)
964{
965 d_1_0_Core->f.GetDoublev(pname, params);
966}
967
968inline void QOpenGLFunctions_3_3_Compatibility::glGetBooleanv(GLenum pname, GLboolean *params)
969{
970 d_1_0_Core->f.GetBooleanv(pname, params);
971}
972
973inline void QOpenGLFunctions_3_3_Compatibility::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
974{
975 d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
976}
977
978inline void QOpenGLFunctions_3_3_Compatibility::glReadBuffer(GLenum mode)
979{
980 d_1_0_Core->f.ReadBuffer(mode);
981}
982
983inline void QOpenGLFunctions_3_3_Compatibility::glPixelStorei(GLenum pname, GLint param)
984{
985 d_1_0_Core->f.PixelStorei(pname, param);
986}
987
988inline void QOpenGLFunctions_3_3_Compatibility::glPixelStoref(GLenum pname, GLfloat param)
989{
990 d_1_0_Core->f.PixelStoref(pname, param);
991}
992
993inline void QOpenGLFunctions_3_3_Compatibility::glDepthFunc(GLenum func)
994{
995 d_1_0_Core->f.DepthFunc(func);
996}
997
998inline void QOpenGLFunctions_3_3_Compatibility::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
999{
1000 d_1_0_Core->f.StencilOp(fail, zfail, zpass);
1001}
1002
1003inline void QOpenGLFunctions_3_3_Compatibility::glStencilFunc(GLenum func, GLint ref, GLuint mask)
1004{
1005 d_1_0_Core->f.StencilFunc(func, ref, mask);
1006}
1007
1008inline void QOpenGLFunctions_3_3_Compatibility::glLogicOp(GLenum opcode)
1009{
1010 d_1_0_Core->f.LogicOp(opcode);
1011}
1012
1013inline void QOpenGLFunctions_3_3_Compatibility::glBlendFunc(GLenum sfactor, GLenum dfactor)
1014{
1015 d_1_0_Core->f.BlendFunc(sfactor, dfactor);
1016}
1017
1018inline void QOpenGLFunctions_3_3_Compatibility::glFlush()
1019{
1020 d_1_0_Core->f.Flush();
1021}
1022
1023inline void QOpenGLFunctions_3_3_Compatibility::glFinish()
1024{
1025 d_1_0_Core->f.Finish();
1026}
1027
1028inline void QOpenGLFunctions_3_3_Compatibility::glEnable(GLenum cap)
1029{
1030 d_1_0_Core->f.Enable(cap);
1031}
1032
1033inline void QOpenGLFunctions_3_3_Compatibility::glDisable(GLenum cap)
1034{
1035 d_1_0_Core->f.Disable(cap);
1036}
1037
1038inline void QOpenGLFunctions_3_3_Compatibility::glDepthMask(GLboolean flag)
1039{
1040 d_1_0_Core->f.DepthMask(flag);
1041}
1042
1043inline void QOpenGLFunctions_3_3_Compatibility::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
1044{
1045 d_1_0_Core->f.ColorMask(red, green, blue, alpha);
1046}
1047
1048inline void QOpenGLFunctions_3_3_Compatibility::glStencilMask(GLuint mask)
1049{
1050 d_1_0_Core->f.StencilMask(mask);
1051}
1052
1053inline void QOpenGLFunctions_3_3_Compatibility::glClearDepth(GLdouble depth)
1054{
1055 d_1_0_Core->f.ClearDepth(depth);
1056}
1057
1058inline void QOpenGLFunctions_3_3_Compatibility::glClearStencil(GLint s)
1059{
1060 d_1_0_Core->f.ClearStencil(s);
1061}
1062
1063inline void QOpenGLFunctions_3_3_Compatibility::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
1064{
1065 d_1_0_Core->f.ClearColor(red, green, blue, alpha);
1066}
1067
1068inline void QOpenGLFunctions_3_3_Compatibility::glClear(GLbitfield mask)
1069{
1070 d_1_0_Core->f.Clear(mask);
1071}
1072
1073inline void QOpenGLFunctions_3_3_Compatibility::glDrawBuffer(GLenum mode)
1074{
1075 d_1_0_Core->f.DrawBuffer(mode);
1076}
1077
1078inline void QOpenGLFunctions_3_3_Compatibility::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1079{
1080 d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
1081}
1082
1083inline void QOpenGLFunctions_3_3_Compatibility::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
1084{
1085 d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
1086}
1087
1088inline void QOpenGLFunctions_3_3_Compatibility::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
1089{
1090 d_1_0_Core->f.TexParameteriv(target, pname, params);
1091}
1092
1093inline void QOpenGLFunctions_3_3_Compatibility::glTexParameteri(GLenum target, GLenum pname, GLint param)
1094{
1095 d_1_0_Core->f.TexParameteri(target, pname, param);
1096}
1097
1098inline void QOpenGLFunctions_3_3_Compatibility::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
1099{
1100 d_1_0_Core->f.TexParameterfv(target, pname, params);
1101}
1102
1103inline void QOpenGLFunctions_3_3_Compatibility::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
1104{
1105 d_1_0_Core->f.TexParameterf(target, pname, param);
1106}
1107
1108inline void QOpenGLFunctions_3_3_Compatibility::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
1109{
1110 d_1_0_Core->f.Scissor(x, y, width, height);
1111}
1112
1113inline void QOpenGLFunctions_3_3_Compatibility::glPolygonMode(GLenum face, GLenum mode)
1114{
1115 d_1_0_Core->f.PolygonMode(face, mode);
1116}
1117
1118inline void QOpenGLFunctions_3_3_Compatibility::glPointSize(GLfloat size)
1119{
1120 d_1_0_Core->f.PointSize(size);
1121}
1122
1123inline void QOpenGLFunctions_3_3_Compatibility::glLineWidth(GLfloat width)
1124{
1125 d_1_0_Core->f.LineWidth(width);
1126}
1127
1128inline void QOpenGLFunctions_3_3_Compatibility::glHint(GLenum target, GLenum mode)
1129{
1130 d_1_0_Core->f.Hint(target, mode);
1131}
1132
1133inline void QOpenGLFunctions_3_3_Compatibility::glFrontFace(GLenum mode)
1134{
1135