1 | // Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
2 | // Copyright (C) 2016 The Qt Company Ltd. |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | /*************************************************************************** |
5 | ** This file was generated by glgen version 0.1 |
6 | ** Command line was: glgen |
7 | ** |
8 | ** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
9 | ** |
10 | ** This is an auto-generated file. |
11 | ** Do not edit! All changes made to it will be lost. |
12 | ** |
13 | ****************************************************************************/ |
14 | |
15 | #ifndef QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H |
16 | #define QOPENGLVERSIONFUNCTIONS_3_2_COMPATIBILITY_H |
17 | |
18 | #include <QtOpenGL/qtopenglglobal.h> |
19 | |
20 | #if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2) |
21 | |
22 | #include <QtOpenGL/QOpenGLVersionProfile> |
23 | #include <QtOpenGL/QOpenGLVersionFunctions> |
24 | #include <QtGui/qopenglcontext.h> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | class Q_OPENGL_EXPORT QOpenGLFunctions_3_2_Compatibility : public QAbstractOpenGLFunctions |
29 | { |
30 | public: |
31 | QOpenGLFunctions_3_2_Compatibility(); |
32 | ~QOpenGLFunctions_3_2_Compatibility(); |
33 | |
34 | bool initializeOpenGLFunctions() override; |
35 | |
36 | // OpenGL 1.0 core functions |
37 | void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
38 | void glDepthRange(GLdouble nearVal, GLdouble farVal); |
39 | GLboolean glIsEnabled(GLenum cap); |
40 | void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); |
41 | void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); |
42 | void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); |
43 | void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); |
44 | void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); |
45 | const GLubyte * glGetString(GLenum name); |
46 | void glGetIntegerv(GLenum pname, GLint *params); |
47 | void glGetFloatv(GLenum pname, GLfloat *params); |
48 | GLenum glGetError(); |
49 | void glGetDoublev(GLenum pname, GLdouble *params); |
50 | void glGetBooleanv(GLenum pname, GLboolean *params); |
51 | void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); |
52 | void glReadBuffer(GLenum mode); |
53 | void glPixelStorei(GLenum pname, GLint param); |
54 | void glPixelStoref(GLenum pname, GLfloat param); |
55 | void glDepthFunc(GLenum func); |
56 | void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
57 | void glStencilFunc(GLenum func, GLint ref, GLuint mask); |
58 | void glLogicOp(GLenum opcode); |
59 | void glBlendFunc(GLenum sfactor, GLenum dfactor); |
60 | void glFlush(); |
61 | void glFinish(); |
62 | void glEnable(GLenum cap); |
63 | void glDisable(GLenum cap); |
64 | void glDepthMask(GLboolean flag); |
65 | void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
66 | void glStencilMask(GLuint mask); |
67 | void glClearDepth(GLdouble depth); |
68 | void glClearStencil(GLint s); |
69 | void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
70 | void glClear(GLbitfield mask); |
71 | void glDrawBuffer(GLenum mode); |
72 | void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
73 | void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
74 | void glTexParameteriv(GLenum target, GLenum pname, const GLint *params); |
75 | void glTexParameteri(GLenum target, GLenum pname, GLint param); |
76 | void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
77 | void glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
78 | void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
79 | void glPolygonMode(GLenum face, GLenum mode); |
80 | void glPointSize(GLfloat size); |
81 | void glLineWidth(GLfloat width); |
82 | void glHint(GLenum target, GLenum mode); |
83 | void glFrontFace(GLenum mode); |
84 | void glCullFace(GLenum mode); |
85 | |
86 | // OpenGL 1.1 core functions |
87 | void glIndexubv(const GLubyte *c); |
88 | void glIndexub(GLubyte c); |
89 | GLboolean glIsTexture(GLuint texture); |
90 | void glGenTextures(GLsizei n, GLuint *textures); |
91 | void glDeleteTextures(GLsizei n, const GLuint *textures); |
92 | void glBindTexture(GLenum target, GLuint texture); |
93 | void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
94 | void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); |
95 | void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
96 | void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); |
97 | void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
98 | void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); |
99 | void glPolygonOffset(GLfloat factor, GLfloat units); |
100 | void glGetPointerv(GLenum pname, GLvoid* *params); |
101 | void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); |
102 | void glDrawArrays(GLenum mode, GLint first, GLsizei count); |
103 | |
104 | // OpenGL 1.2 core functions |
105 | void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
106 | 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); |
107 | void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
108 | void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
109 | void glBlendEquation(GLenum mode); |
110 | void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
111 | |
112 | // OpenGL 1.3 core functions |
113 | void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img); |
114 | void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); |
115 | void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); |
116 | 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); |
117 | void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
118 | void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
119 | void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
120 | void glSampleCoverage(GLfloat value, GLboolean invert); |
121 | void glActiveTexture(GLenum texture); |
122 | |
123 | // OpenGL 1.4 core functions |
124 | void glPointParameteriv(GLenum pname, const GLint *params); |
125 | void glPointParameteri(GLenum pname, GLint param); |
126 | void glPointParameterfv(GLenum pname, const GLfloat *params); |
127 | void glPointParameterf(GLenum pname, GLfloat param); |
128 | void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); |
129 | void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); |
130 | void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
131 | |
132 | // OpenGL 1.5 core functions |
133 | void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params); |
134 | void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params); |
135 | GLboolean glUnmapBuffer(GLenum target); |
136 | GLvoid* glMapBuffer(GLenum target, GLenum access); |
137 | void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); |
138 | void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); |
139 | void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); |
140 | GLboolean glIsBuffer(GLuint buffer); |
141 | void glGenBuffers(GLsizei n, GLuint *buffers); |
142 | void glDeleteBuffers(GLsizei n, const GLuint *buffers); |
143 | void glBindBuffer(GLenum target, GLuint buffer); |
144 | void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); |
145 | void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params); |
146 | void glGetQueryiv(GLenum target, GLenum pname, GLint *params); |
147 | void glEndQuery(GLenum target); |
148 | void glBeginQuery(GLenum target, GLuint id); |
149 | GLboolean glIsQuery(GLuint id); |
150 | void glDeleteQueries(GLsizei n, const GLuint *ids); |
151 | void glGenQueries(GLsizei n, GLuint *ids); |
152 | |
153 | // OpenGL 2.0 core functions |
154 | void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); |
155 | void glValidateProgram(GLuint program); |
156 | void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
157 | void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
158 | void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
159 | void glUniform4iv(GLint location, GLsizei count, const GLint *value); |
160 | void glUniform3iv(GLint location, GLsizei count, const GLint *value); |
161 | void glUniform2iv(GLint location, GLsizei count, const GLint *value); |
162 | void glUniform1iv(GLint location, GLsizei count, const GLint *value); |
163 | void glUniform4fv(GLint location, GLsizei count, const GLfloat *value); |
164 | void glUniform3fv(GLint location, GLsizei count, const GLfloat *value); |
165 | void glUniform2fv(GLint location, GLsizei count, const GLfloat *value); |
166 | void glUniform1fv(GLint location, GLsizei count, const GLfloat *value); |
167 | void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
168 | void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); |
169 | void glUniform2i(GLint location, GLint v0, GLint v1); |
170 | void glUniform1i(GLint location, GLint v0); |
171 | void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
172 | void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
173 | void glUniform2f(GLint location, GLfloat v0, GLfloat v1); |
174 | void glUniform1f(GLint location, GLfloat v0); |
175 | void glUseProgram(GLuint program); |
176 | void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
177 | void glLinkProgram(GLuint program); |
178 | GLboolean glIsShader(GLuint shader); |
179 | GLboolean glIsProgram(GLuint program); |
180 | void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer); |
181 | void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params); |
182 | void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); |
183 | void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); |
184 | void glGetUniformiv(GLuint program, GLint location, GLint *params); |
185 | void glGetUniformfv(GLuint program, GLint location, GLfloat *params); |
186 | GLint glGetUniformLocation(GLuint program, const GLchar *name); |
187 | void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); |
188 | void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
189 | void glGetShaderiv(GLuint shader, GLenum pname, GLint *params); |
190 | void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
191 | void glGetProgramiv(GLuint program, GLenum pname, GLint *params); |
192 | GLint glGetAttribLocation(GLuint program, const GLchar *name); |
193 | void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); |
194 | void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
195 | void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
196 | void glEnableVertexAttribArray(GLuint index); |
197 | void glDisableVertexAttribArray(GLuint index); |
198 | void glDetachShader(GLuint program, GLuint shader); |
199 | void glDeleteShader(GLuint shader); |
200 | void glDeleteProgram(GLuint program); |
201 | GLuint glCreateShader(GLenum type); |
202 | GLuint glCreateProgram(); |
203 | void glCompileShader(GLuint shader); |
204 | void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name); |
205 | void glAttachShader(GLuint program, GLuint shader); |
206 | void glStencilMaskSeparate(GLenum face, GLuint mask); |
207 | void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
208 | void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); |
209 | void glDrawBuffers(GLsizei n, const GLenum *bufs); |
210 | void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
211 | |
212 | // OpenGL 2.1 core functions |
213 | void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
214 | void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
215 | void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
216 | void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
217 | void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
218 | void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
219 | |
220 | // OpenGL 3.0 core functions |
221 | GLboolean glIsVertexArray(GLuint array); |
222 | void glGenVertexArrays(GLsizei n, GLuint *arrays); |
223 | void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); |
224 | void glBindVertexArray(GLuint array); |
225 | void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); |
226 | GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); |
227 | void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); |
228 | void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
229 | void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); |
230 | void glGenerateMipmap(GLenum target); |
231 | void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); |
232 | void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
233 | void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
234 | void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
235 | void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
236 | GLenum glCheckFramebufferStatus(GLenum target); |
237 | void glGenFramebuffers(GLsizei n, GLuint *framebuffers); |
238 | void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers); |
239 | void glBindFramebuffer(GLenum target, GLuint framebuffer); |
240 | GLboolean glIsFramebuffer(GLuint framebuffer); |
241 | void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params); |
242 | void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
243 | void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); |
244 | void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); |
245 | void glBindRenderbuffer(GLenum target, GLuint renderbuffer); |
246 | GLboolean glIsRenderbuffer(GLuint renderbuffer); |
247 | const GLubyte * glGetStringi(GLenum name, GLuint index); |
248 | void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); |
249 | void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); |
250 | void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); |
251 | void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); |
252 | void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); |
253 | void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params); |
254 | void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params); |
255 | void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params); |
256 | void glUniform4uiv(GLint location, GLsizei count, const GLuint *value); |
257 | void glUniform3uiv(GLint location, GLsizei count, const GLuint *value); |
258 | void glUniform2uiv(GLint location, GLsizei count, const GLuint *value); |
259 | void glUniform1uiv(GLint location, GLsizei count, const GLuint *value); |
260 | void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
261 | void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); |
262 | void glUniform2ui(GLint location, GLuint v0, GLuint v1); |
263 | void glUniform1ui(GLint location, GLuint v0); |
264 | GLint glGetFragDataLocation(GLuint program, const GLchar *name); |
265 | void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name); |
266 | void glGetUniformuiv(GLuint program, GLint location, GLuint *params); |
267 | void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); |
268 | void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); |
269 | void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
270 | void glEndConditionalRender(); |
271 | void glBeginConditionalRender(GLuint id, GLenum mode); |
272 | void glClampColor(GLenum target, GLenum clamp); |
273 | void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
274 | void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
275 | void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); |
276 | void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
277 | void glEndTransformFeedback(); |
278 | void glBeginTransformFeedback(GLenum primitiveMode); |
279 | GLboolean glIsEnabledi(GLenum target, GLuint index); |
280 | void glDisablei(GLenum target, GLuint index); |
281 | void glEnablei(GLenum target, GLuint index); |
282 | void glGetIntegeri_v(GLenum target, GLuint index, GLint *data); |
283 | void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data); |
284 | void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); |
285 | |
286 | // OpenGL 3.1 core functions |
287 | void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); |
288 | void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); |
289 | void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
290 | void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); |
291 | GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName); |
292 | void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
293 | void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
294 | void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
295 | void glPrimitiveRestartIndex(GLuint index); |
296 | void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer); |
297 | void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount); |
298 | void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); |
299 | |
300 | // OpenGL 3.2 core functions |
301 | void glSampleMaski(GLuint index, GLbitfield mask); |
302 | void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); |
303 | void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); |
304 | void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); |
305 | void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); |
306 | void glGetInteger64v(GLenum pname, GLint64 *params); |
307 | void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
308 | GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
309 | void glDeleteSync(GLsync sync); |
310 | GLboolean glIsSync(GLsync sync); |
311 | GLsync glFenceSync(GLenum condition, GLbitfield flags); |
312 | void glProvokingVertex(GLenum mode); |
313 | void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex); |
314 | void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex); |
315 | void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
316 | void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
317 | void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level); |
318 | void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); |
319 | void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data); |
320 | |
321 | // OpenGL 1.0 deprecated functions |
322 | void glTranslatef(GLfloat x, GLfloat y, GLfloat z); |
323 | void glTranslated(GLdouble x, GLdouble y, GLdouble z); |
324 | void glScalef(GLfloat x, GLfloat y, GLfloat z); |
325 | void glScaled(GLdouble x, GLdouble y, GLdouble z); |
326 | void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); |
327 | void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); |
328 | void glPushMatrix(); |
329 | void glPopMatrix(); |
330 | void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
331 | void glMultMatrixd(const GLdouble *m); |
332 | void glMultMatrixf(const GLfloat *m); |
333 | void glMatrixMode(GLenum mode); |
334 | void glLoadMatrixd(const GLdouble *m); |
335 | void glLoadMatrixf(const GLfloat *m); |
336 | void glLoadIdentity(); |
337 | void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
338 | GLboolean glIsList(GLuint list); |
339 | void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params); |
340 | void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params); |
341 | void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params); |
342 | void glGetTexEnviv(GLenum target, GLenum pname, GLint *params); |
343 | void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); |
344 | void glGetPolygonStipple(GLubyte *mask); |
345 | void glGetPixelMapusv(GLenum map, GLushort *values); |
346 | void glGetPixelMapuiv(GLenum map, GLuint *values); |
347 | void glGetPixelMapfv(GLenum map, GLfloat *values); |
348 | void glGetMaterialiv(GLenum face, GLenum pname, GLint *params); |
349 | void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); |
350 | void glGetMapiv(GLenum target, GLenum query, GLint *v); |
351 | void glGetMapfv(GLenum target, GLenum query, GLfloat *v); |
352 | void glGetMapdv(GLenum target, GLenum query, GLdouble *v); |
353 | void glGetLightiv(GLenum light, GLenum pname, GLint *params); |
354 | void glGetLightfv(GLenum light, GLenum pname, GLfloat *params); |
355 | void glGetClipPlane(GLenum plane, GLdouble *equation); |
356 | void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
357 | void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); |
358 | void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values); |
359 | void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values); |
360 | void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values); |
361 | void glPixelTransferi(GLenum pname, GLint param); |
362 | void glPixelTransferf(GLenum pname, GLfloat param); |
363 | void glPixelZoom(GLfloat xfactor, GLfloat yfactor); |
364 | void glAlphaFunc(GLenum func, GLfloat ref); |
365 | void glEvalPoint2(GLint i, GLint j); |
366 | void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); |
367 | void glEvalPoint1(GLint i); |
368 | void glEvalMesh1(GLenum mode, GLint i1, GLint i2); |
369 | void glEvalCoord2fv(const GLfloat *u); |
370 | void glEvalCoord2f(GLfloat u, GLfloat v); |
371 | void glEvalCoord2dv(const GLdouble *u); |
372 | void glEvalCoord2d(GLdouble u, GLdouble v); |
373 | void glEvalCoord1fv(const GLfloat *u); |
374 | void glEvalCoord1f(GLfloat u); |
375 | void glEvalCoord1dv(const GLdouble *u); |
376 | void glEvalCoord1d(GLdouble u); |
377 | void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); |
378 | void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); |
379 | void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); |
380 | void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); |
381 | void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); |
382 | void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); |
383 | void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); |
384 | void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); |
385 | void glPushAttrib(GLbitfield mask); |
386 | void glPopAttrib(); |
387 | void glAccum(GLenum op, GLfloat value); |
388 | void glIndexMask(GLuint mask); |
389 | void glClearIndex(GLfloat c); |
390 | void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
391 | void glPushName(GLuint name); |
392 | void glPopName(); |
393 | void glPassThrough(GLfloat token); |
394 | void glLoadName(GLuint name); |
395 | void glInitNames(); |
396 | GLint glRenderMode(GLenum mode); |
397 | void glSelectBuffer(GLsizei size, GLuint *buffer); |
398 | void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); |
399 | void glTexGeniv(GLenum coord, GLenum pname, const GLint *params); |
400 | void glTexGeni(GLenum coord, GLenum pname, GLint param); |
401 | void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); |
402 | void glTexGenf(GLenum coord, GLenum pname, GLfloat param); |
403 | void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); |
404 | void glTexGend(GLenum coord, GLenum pname, GLdouble param); |
405 | void glTexEnviv(GLenum target, GLenum pname, const GLint *params); |
406 | void glTexEnvi(GLenum target, GLenum pname, GLint param); |
407 | void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); |
408 | void glTexEnvf(GLenum target, GLenum pname, GLfloat param); |
409 | void glShadeModel(GLenum mode); |
410 | void glPolygonStipple(const GLubyte *mask); |
411 | void glMaterialiv(GLenum face, GLenum pname, const GLint *params); |
412 | void glMateriali(GLenum face, GLenum pname, GLint param); |
413 | void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); |
414 | void glMaterialf(GLenum face, GLenum pname, GLfloat param); |
415 | void glLineStipple(GLint factor, GLushort pattern); |
416 | void glLightModeliv(GLenum pname, const GLint *params); |
417 | void glLightModeli(GLenum pname, GLint param); |
418 | void glLightModelfv(GLenum pname, const GLfloat *params); |
419 | void glLightModelf(GLenum pname, GLfloat param); |
420 | void glLightiv(GLenum light, GLenum pname, const GLint *params); |
421 | void glLighti(GLenum light, GLenum pname, GLint param); |
422 | void glLightfv(GLenum light, GLenum pname, const GLfloat *params); |
423 | void glLightf(GLenum light, GLenum pname, GLfloat param); |
424 | void glFogiv(GLenum pname, const GLint *params); |
425 | void glFogi(GLenum pname, GLint param); |
426 | void glFogfv(GLenum pname, const GLfloat *params); |
427 | void glFogf(GLenum pname, GLfloat param); |
428 | void glColorMaterial(GLenum face, GLenum mode); |
429 | void glClipPlane(GLenum plane, const GLdouble *equation); |
430 | void glVertex4sv(const GLshort *v); |
431 | void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w); |
432 | void glVertex4iv(const GLint *v); |
433 | void glVertex4i(GLint x, GLint y, GLint z, GLint w); |
434 | void glVertex4fv(const GLfloat *v); |
435 | void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
436 | void glVertex4dv(const GLdouble *v); |
437 | void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
438 | void glVertex3sv(const GLshort *v); |
439 | void glVertex3s(GLshort x, GLshort y, GLshort z); |
440 | void glVertex3iv(const GLint *v); |
441 | void glVertex3i(GLint x, GLint y, GLint z); |
442 | void glVertex3fv(const GLfloat *v); |
443 | void glVertex3f(GLfloat x, GLfloat y, GLfloat z); |
444 | void glVertex3dv(const GLdouble *v); |
445 | void glVertex3d(GLdouble x, GLdouble y, GLdouble z); |
446 | void glVertex2sv(const GLshort *v); |
447 | void glVertex2s(GLshort x, GLshort y); |
448 | void glVertex2iv(const GLint *v); |
449 | void glVertex2i(GLint x, GLint y); |
450 | void glVertex2fv(const GLfloat *v); |
451 | void glVertex2f(GLfloat x, GLfloat y); |
452 | void glVertex2dv(const GLdouble *v); |
453 | void glVertex2d(GLdouble x, GLdouble y); |
454 | void glTexCoord4sv(const GLshort *v); |
455 | void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q); |
456 | void glTexCoord4iv(const GLint *v); |
457 | void glTexCoord4i(GLint s, GLint t, GLint r, GLint q); |
458 | void glTexCoord4fv(const GLfloat *v); |
459 | void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
460 | void glTexCoord4dv(const GLdouble *v); |
461 | void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
462 | void glTexCoord3sv(const GLshort *v); |
463 | void glTexCoord3s(GLshort s, GLshort t, GLshort r); |
464 | void glTexCoord3iv(const GLint *v); |
465 | void glTexCoord3i(GLint s, GLint t, GLint r); |
466 | void glTexCoord3fv(const GLfloat *v); |
467 | void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); |
468 | void glTexCoord3dv(const GLdouble *v); |
469 | void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r); |
470 | void glTexCoord2sv(const GLshort *v); |
471 | void glTexCoord2s(GLshort s, GLshort t); |
472 | void glTexCoord2iv(const GLint *v); |
473 | void glTexCoord2i(GLint s, GLint t); |
474 | void glTexCoord2fv(const GLfloat *v); |
475 | void glTexCoord2f(GLfloat s, GLfloat t); |
476 | void glTexCoord2dv(const GLdouble *v); |
477 | void glTexCoord2d(GLdouble s, GLdouble t); |
478 | void glTexCoord1sv(const GLshort *v); |
479 | void glTexCoord1s(GLshort s); |
480 | void glTexCoord1iv(const GLint *v); |
481 | void glTexCoord1i(GLint s); |
482 | void glTexCoord1fv(const GLfloat *v); |
483 | void glTexCoord1f(GLfloat s); |
484 | void glTexCoord1dv(const GLdouble *v); |
485 | void glTexCoord1d(GLdouble s); |
486 | void glRectsv(const GLshort *v1, const GLshort *v2); |
487 | void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2); |
488 | void glRectiv(const GLint *v1, const GLint *v2); |
489 | void glRecti(GLint x1, GLint y1, GLint x2, GLint y2); |
490 | void glRectfv(const GLfloat *v1, const GLfloat *v2); |
491 | void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); |
492 | void glRectdv(const GLdouble *v1, const GLdouble *v2); |
493 | void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); |
494 | void glRasterPos4sv(const GLshort *v); |
495 | void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); |
496 | void glRasterPos4iv(const GLint *v); |
497 | void glRasterPos4i(GLint x, GLint y, GLint z, GLint w); |
498 | void glRasterPos4fv(const GLfloat *v); |
499 | void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
500 | void glRasterPos4dv(const GLdouble *v); |
501 | void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
502 | void glRasterPos3sv(const GLshort *v); |
503 | void glRasterPos3s(GLshort x, GLshort y, GLshort z); |
504 | void glRasterPos3iv(const GLint *v); |
505 | void glRasterPos3i(GLint x, GLint y, GLint z); |
506 | void glRasterPos3fv(const GLfloat *v); |
507 | void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); |
508 | void glRasterPos3dv(const GLdouble *v); |
509 | void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z); |
510 | void glRasterPos2sv(const GLshort *v); |
511 | void glRasterPos2s(GLshort x, GLshort y); |
512 | void glRasterPos2iv(const GLint *v); |
513 | void glRasterPos2i(GLint x, GLint y); |
514 | void glRasterPos2fv(const GLfloat *v); |
515 | void glRasterPos2f(GLfloat x, GLfloat y); |
516 | void glRasterPos2dv(const GLdouble *v); |
517 | void glRasterPos2d(GLdouble x, GLdouble y); |
518 | void glNormal3sv(const GLshort *v); |
519 | void glNormal3s(GLshort nx, GLshort ny, GLshort nz); |
520 | void glNormal3iv(const GLint *v); |
521 | void glNormal3i(GLint nx, GLint ny, GLint nz); |
522 | void glNormal3fv(const GLfloat *v); |
523 | void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); |
524 | void glNormal3dv(const GLdouble *v); |
525 | void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz); |
526 | void glNormal3bv(const GLbyte *v); |
527 | void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz); |
528 | void glIndexsv(const GLshort *c); |
529 | void glIndexs(GLshort c); |
530 | void glIndexiv(const GLint *c); |
531 | void glIndexi(GLint c); |
532 | void glIndexfv(const GLfloat *c); |
533 | void glIndexf(GLfloat c); |
534 | void glIndexdv(const GLdouble *c); |
535 | void glIndexd(GLdouble c); |
536 | void glEnd(); |
537 | void glEdgeFlagv(const GLboolean *flag); |
538 | void glEdgeFlag(GLboolean flag); |
539 | void glColor4usv(const GLushort *v); |
540 | void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha); |
541 | void glColor4uiv(const GLuint *v); |
542 | void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha); |
543 | void glColor4ubv(const GLubyte *v); |
544 | void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); |
545 | void glColor4sv(const GLshort *v); |
546 | void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha); |
547 | void glColor4iv(const GLint *v); |
548 | void glColor4i(GLint red, GLint green, GLint blue, GLint alpha); |
549 | void glColor4fv(const GLfloat *v); |
550 | void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
551 | void glColor4dv(const GLdouble *v); |
552 | void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); |
553 | void glColor4bv(const GLbyte *v); |
554 | void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); |
555 | void glColor3usv(const GLushort *v); |
556 | void glColor3us(GLushort red, GLushort green, GLushort blue); |
557 | void glColor3uiv(const GLuint *v); |
558 | void glColor3ui(GLuint red, GLuint green, GLuint blue); |
559 | void glColor3ubv(const GLubyte *v); |
560 | void glColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
561 | void glColor3sv(const GLshort *v); |
562 | void glColor3s(GLshort red, GLshort green, GLshort blue); |
563 | void glColor3iv(const GLint *v); |
564 | void glColor3i(GLint red, GLint green, GLint blue); |
565 | void glColor3fv(const GLfloat *v); |
566 | void glColor3f(GLfloat red, GLfloat green, GLfloat blue); |
567 | void glColor3dv(const GLdouble *v); |
568 | void glColor3d(GLdouble red, GLdouble green, GLdouble blue); |
569 | void glColor3bv(const GLbyte *v); |
570 | void glColor3b(GLbyte red, GLbyte green, GLbyte blue); |
571 | void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); |
572 | void glBegin(GLenum mode); |
573 | void glListBase(GLuint base); |
574 | GLuint glGenLists(GLsizei range); |
575 | void glDeleteLists(GLuint list, GLsizei range); |
576 | void glCallLists(GLsizei n, GLenum type, const GLvoid *lists); |
577 | void glCallList(GLuint list); |
578 | void glEndList(); |
579 | void glNewList(GLuint list, GLenum mode); |
580 | |
581 | // OpenGL 1.1 deprecated functions |
582 | void glPushClientAttrib(GLbitfield mask); |
583 | void glPopClientAttrib(); |
584 | void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); |
585 | GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); |
586 | void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
587 | void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
588 | void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
589 | void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer); |
590 | void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
591 | void glEnableClientState(GLenum array); |
592 | void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer); |
593 | void glDisableClientState(GLenum array); |
594 | void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
595 | void glArrayElement(GLint i); |
596 | |
597 | // OpenGL 1.2 deprecated functions |
598 | void glResetMinmax(GLenum target); |
599 | void glResetHistogram(GLenum target); |
600 | void glMinmax(GLenum target, GLenum internalformat, GLboolean sink); |
601 | void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); |
602 | void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params); |
603 | void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params); |
604 | void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
605 | void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params); |
606 | void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params); |
607 | void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
608 | void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); |
609 | void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); |
610 | void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); |
611 | void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); |
612 | void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image); |
613 | void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); |
614 | void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
615 | void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); |
616 | void glConvolutionParameteri(GLenum target, GLenum pname, GLint params); |
617 | void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
618 | void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); |
619 | void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); |
620 | void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); |
621 | void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); |
622 | void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); |
623 | void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params); |
624 | void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params); |
625 | void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table); |
626 | void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
627 | void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); |
628 | void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
629 | void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); |
630 | |
631 | // OpenGL 1.3 deprecated functions |
632 | void glMultTransposeMatrixd(const GLdouble *m); |
633 | void glMultTransposeMatrixf(const GLfloat *m); |
634 | void glLoadTransposeMatrixd(const GLdouble *m); |
635 | void glLoadTransposeMatrixf(const GLfloat *m); |
636 | void glMultiTexCoord4sv(GLenum target, const GLshort *v); |
637 | void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); |
638 | void glMultiTexCoord4iv(GLenum target, const GLint *v); |
639 | void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); |
640 | void glMultiTexCoord4fv(GLenum target, const GLfloat *v); |
641 | void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
642 | void glMultiTexCoord4dv(GLenum target, const GLdouble *v); |
643 | void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
644 | void glMultiTexCoord3sv(GLenum target, const GLshort *v); |
645 | void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); |
646 | void glMultiTexCoord3iv(GLenum target, const GLint *v); |
647 | void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); |
648 | void glMultiTexCoord3fv(GLenum target, const GLfloat *v); |
649 | void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); |
650 | void glMultiTexCoord3dv(GLenum target, const GLdouble *v); |
651 | void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); |
652 | void glMultiTexCoord2sv(GLenum target, const GLshort *v); |
653 | void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t); |
654 | void glMultiTexCoord2iv(GLenum target, const GLint *v); |
655 | void glMultiTexCoord2i(GLenum target, GLint s, GLint t); |
656 | void glMultiTexCoord2fv(GLenum target, const GLfloat *v); |
657 | void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); |
658 | void glMultiTexCoord2dv(GLenum target, const GLdouble *v); |
659 | void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t); |
660 | void glMultiTexCoord1sv(GLenum target, const GLshort *v); |
661 | void glMultiTexCoord1s(GLenum target, GLshort s); |
662 | void glMultiTexCoord1iv(GLenum target, const GLint *v); |
663 | void glMultiTexCoord1i(GLenum target, GLint s); |
664 | void glMultiTexCoord1fv(GLenum target, const GLfloat *v); |
665 | void glMultiTexCoord1f(GLenum target, GLfloat s); |
666 | void glMultiTexCoord1dv(GLenum target, const GLdouble *v); |
667 | void glMultiTexCoord1d(GLenum target, GLdouble s); |
668 | void glClientActiveTexture(GLenum texture); |
669 | |
670 | // OpenGL 1.4 deprecated functions |
671 | void glWindowPos3sv(const GLshort *v); |
672 | void glWindowPos3s(GLshort x, GLshort y, GLshort z); |
673 | void glWindowPos3iv(const GLint *v); |
674 | void glWindowPos3i(GLint x, GLint y, GLint z); |
675 | void glWindowPos3fv(const GLfloat *v); |
676 | void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); |
677 | void glWindowPos3dv(const GLdouble *v); |
678 | void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z); |
679 | void glWindowPos2sv(const GLshort *v); |
680 | void glWindowPos2s(GLshort x, GLshort y); |
681 | void glWindowPos2iv(const GLint *v); |
682 | void glWindowPos2i(GLint x, GLint y); |
683 | void glWindowPos2fv(const GLfloat *v); |
684 | void glWindowPos2f(GLfloat x, GLfloat y); |
685 | void glWindowPos2dv(const GLdouble *v); |
686 | void glWindowPos2d(GLdouble x, GLdouble y); |
687 | void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
688 | void glSecondaryColor3usv(const GLushort *v); |
689 | void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue); |
690 | void glSecondaryColor3uiv(const GLuint *v); |
691 | void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue); |
692 | void glSecondaryColor3ubv(const GLubyte *v); |
693 | void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
694 | void glSecondaryColor3sv(const GLshort *v); |
695 | void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue); |
696 | void glSecondaryColor3iv(const GLint *v); |
697 | void glSecondaryColor3i(GLint red, GLint green, GLint blue); |
698 | void glSecondaryColor3fv(const GLfloat *v); |
699 | void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); |
700 | void glSecondaryColor3dv(const GLdouble *v); |
701 | void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); |
702 | void glSecondaryColor3bv(const GLbyte *v); |
703 | void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); |
704 | void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
705 | void glFogCoorddv(const GLdouble *coord); |
706 | void glFogCoordd(GLdouble coord); |
707 | void glFogCoordfv(const GLfloat *coord); |
708 | void glFogCoordf(GLfloat coord); |
709 | |
710 | // OpenGL 1.5 deprecated functions |
711 | |
712 | // OpenGL 2.0 deprecated functions |
713 | void glVertexAttrib4usv(GLuint index, const GLushort *v); |
714 | void glVertexAttrib4uiv(GLuint index, const GLuint *v); |
715 | void glVertexAttrib4ubv(GLuint index, const GLubyte *v); |
716 | void glVertexAttrib4sv(GLuint index, const GLshort *v); |
717 | void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); |
718 | void glVertexAttrib4iv(GLuint index, const GLint *v); |
719 | void glVertexAttrib4fv(GLuint index, const GLfloat *v); |
720 | void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
721 | void glVertexAttrib4dv(GLuint index, const GLdouble *v); |
722 | void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
723 | void glVertexAttrib4bv(GLuint index, const GLbyte *v); |
724 | void glVertexAttrib4Nusv(GLuint index, const GLushort *v); |
725 | void glVertexAttrib4Nuiv(GLuint index, const GLuint *v); |
726 | void glVertexAttrib4Nubv(GLuint index, const GLubyte *v); |
727 | void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); |
728 | void glVertexAttrib4Nsv(GLuint index, const GLshort *v); |
729 | void glVertexAttrib4Niv(GLuint index, const GLint *v); |
730 | void glVertexAttrib4Nbv(GLuint index, const GLbyte *v); |
731 | void glVertexAttrib3sv(GLuint index, const GLshort *v); |
732 | void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z); |
733 | void glVertexAttrib3fv(GLuint index, const GLfloat *v); |
734 | void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); |
735 | void glVertexAttrib3dv(GLuint index, const GLdouble *v); |
736 | void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); |
737 | void glVertexAttrib2sv(GLuint index, const GLshort *v); |
738 | void glVertexAttrib2s(GLuint index, GLshort x, GLshort y); |
739 | void glVertexAttrib2fv(GLuint index, const GLfloat *v); |
740 | void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y); |
741 | void glVertexAttrib2dv(GLuint index, const GLdouble *v); |
742 | void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y); |
743 | void glVertexAttrib1sv(GLuint index, const GLshort *v); |
744 | void glVertexAttrib1s(GLuint index, GLshort x); |
745 | void glVertexAttrib1fv(GLuint index, const GLfloat *v); |
746 | void glVertexAttrib1f(GLuint index, GLfloat x); |
747 | void glVertexAttrib1dv(GLuint index, const GLdouble *v); |
748 | void glVertexAttrib1d(GLuint index, GLdouble x); |
749 | |
750 | // OpenGL 2.1 deprecated functions |
751 | |
752 | // OpenGL 3.0 deprecated functions |
753 | void glVertexAttribI4usv(GLuint index, const GLushort *v); |
754 | void glVertexAttribI4ubv(GLuint index, const GLubyte *v); |
755 | void glVertexAttribI4sv(GLuint index, const GLshort *v); |
756 | void glVertexAttribI4bv(GLuint index, const GLbyte *v); |
757 | void glVertexAttribI4uiv(GLuint index, const GLuint *v); |
758 | void glVertexAttribI3uiv(GLuint index, const GLuint *v); |
759 | void glVertexAttribI2uiv(GLuint index, const GLuint *v); |
760 | void glVertexAttribI1uiv(GLuint index, const GLuint *v); |
761 | void glVertexAttribI4iv(GLuint index, const GLint *v); |
762 | void glVertexAttribI3iv(GLuint index, const GLint *v); |
763 | void glVertexAttribI2iv(GLuint index, const GLint *v); |
764 | void glVertexAttribI1iv(GLuint index, const GLint *v); |
765 | void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); |
766 | void glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z); |
767 | void glVertexAttribI2ui(GLuint index, GLuint x, GLuint y); |
768 | void glVertexAttribI1ui(GLuint index, GLuint x); |
769 | void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); |
770 | void glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z); |
771 | void glVertexAttribI2i(GLuint index, GLint x, GLint y); |
772 | void glVertexAttribI1i(GLuint index, GLint x); |
773 | |
774 | // OpenGL 3.1 deprecated functions |
775 | |
776 | // OpenGL 3.2 deprecated functions |
777 | |
778 | private: |
779 | friend class QOpenGLVersionFunctionsFactory; |
780 | |
781 | static bool isContextCompatible(QOpenGLContext *context); |
782 | static QOpenGLVersionProfile versionProfile(); |
783 | |
784 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
785 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
786 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
787 | QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core; |
788 | QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core; |
789 | QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core; |
790 | QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core; |
791 | QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core; |
792 | QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core; |
793 | QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core; |
794 | QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core; |
795 | QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated; |
796 | QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated; |
797 | QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated; |
798 | QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated; |
799 | QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated; |
800 | Q_DECL_UNUSED_MEMBER void *m_reserved_2_0_Deprecated = nullptr; // To maintain BC |
801 | Q_DECL_UNUSED_MEMBER void *m_reserved_3_0_Deprecated = nullptr; // To maintain BC |
802 | }; |
803 | |
804 | // OpenGL 1.0 core functions |
805 | inline void QOpenGLFunctions_3_2_Compatibility::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
806 | { |
807 | d_1_0_Core->f.Viewport(x, y, width, height); |
808 | } |
809 | |
810 | inline void QOpenGLFunctions_3_2_Compatibility::glDepthRange(GLdouble nearVal, GLdouble farVal) |
811 | { |
812 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
813 | } |
814 | |
815 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsEnabled(GLenum cap) |
816 | { |
817 | return d_1_0_Core->f.IsEnabled(cap); |
818 | } |
819 | |
820 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
821 | { |
822 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
823 | } |
824 | |
825 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
826 | { |
827 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
828 | } |
829 | |
830 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
831 | { |
832 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
833 | } |
834 | |
835 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
836 | { |
837 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
838 | } |
839 | |
840 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
841 | { |
842 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
843 | } |
844 | |
845 | inline const GLubyte * QOpenGLFunctions_3_2_Compatibility::glGetString(GLenum name) |
846 | { |
847 | return d_1_0_Core->f.GetString(name); |
848 | } |
849 | |
850 | inline void QOpenGLFunctions_3_2_Compatibility::glGetIntegerv(GLenum pname, GLint *params) |
851 | { |
852 | d_1_0_Core->f.GetIntegerv(pname, params); |
853 | } |
854 | |
855 | inline void QOpenGLFunctions_3_2_Compatibility::glGetFloatv(GLenum pname, GLfloat *params) |
856 | { |
857 | d_1_0_Core->f.GetFloatv(pname, params); |
858 | } |
859 | |
860 | inline GLenum QOpenGLFunctions_3_2_Compatibility::glGetError() |
861 | { |
862 | return d_1_0_Core->f.GetError(); |
863 | } |
864 | |
865 | inline void QOpenGLFunctions_3_2_Compatibility::glGetDoublev(GLenum pname, GLdouble *params) |
866 | { |
867 | d_1_0_Core->f.GetDoublev(pname, params); |
868 | } |
869 | |
870 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBooleanv(GLenum pname, GLboolean *params) |
871 | { |
872 | d_1_0_Core->f.GetBooleanv(pname, params); |
873 | } |
874 | |
875 | inline void QOpenGLFunctions_3_2_Compatibility::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
876 | { |
877 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
878 | } |
879 | |
880 | inline void QOpenGLFunctions_3_2_Compatibility::glReadBuffer(GLenum mode) |
881 | { |
882 | d_1_0_Core->f.ReadBuffer(mode); |
883 | } |
884 | |
885 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelStorei(GLenum pname, GLint param) |
886 | { |
887 | d_1_0_Core->f.PixelStorei(pname, param); |
888 | } |
889 | |
890 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelStoref(GLenum pname, GLfloat param) |
891 | { |
892 | d_1_0_Core->f.PixelStoref(pname, param); |
893 | } |
894 | |
895 | inline void QOpenGLFunctions_3_2_Compatibility::glDepthFunc(GLenum func) |
896 | { |
897 | d_1_0_Core->f.DepthFunc(func); |
898 | } |
899 | |
900 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
901 | { |
902 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
903 | } |
904 | |
905 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
906 | { |
907 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
908 | } |
909 | |
910 | inline void QOpenGLFunctions_3_2_Compatibility::glLogicOp(GLenum opcode) |
911 | { |
912 | d_1_0_Core->f.LogicOp(opcode); |
913 | } |
914 | |
915 | inline void QOpenGLFunctions_3_2_Compatibility::glBlendFunc(GLenum sfactor, GLenum dfactor) |
916 | { |
917 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
918 | } |
919 | |
920 | inline void QOpenGLFunctions_3_2_Compatibility::glFlush() |
921 | { |
922 | d_1_0_Core->f.Flush(); |
923 | } |
924 | |
925 | inline void QOpenGLFunctions_3_2_Compatibility::glFinish() |
926 | { |
927 | d_1_0_Core->f.Finish(); |
928 | } |
929 | |
930 | inline void QOpenGLFunctions_3_2_Compatibility::glEnable(GLenum cap) |
931 | { |
932 | d_1_0_Core->f.Enable(cap); |
933 | } |
934 | |
935 | inline void QOpenGLFunctions_3_2_Compatibility::glDisable(GLenum cap) |
936 | { |
937 | d_1_0_Core->f.Disable(cap); |
938 | } |
939 | |
940 | inline void QOpenGLFunctions_3_2_Compatibility::glDepthMask(GLboolean flag) |
941 | { |
942 | d_1_0_Core->f.DepthMask(flag); |
943 | } |
944 | |
945 | inline void QOpenGLFunctions_3_2_Compatibility::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
946 | { |
947 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
948 | } |
949 | |
950 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilMask(GLuint mask) |
951 | { |
952 | d_1_0_Core->f.StencilMask(mask); |
953 | } |
954 | |
955 | inline void QOpenGLFunctions_3_2_Compatibility::glClearDepth(GLdouble depth) |
956 | { |
957 | d_1_0_Core->f.ClearDepth(depth); |
958 | } |
959 | |
960 | inline void QOpenGLFunctions_3_2_Compatibility::glClearStencil(GLint s) |
961 | { |
962 | d_1_0_Core->f.ClearStencil(s); |
963 | } |
964 | |
965 | inline void QOpenGLFunctions_3_2_Compatibility::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
966 | { |
967 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
968 | } |
969 | |
970 | inline void QOpenGLFunctions_3_2_Compatibility::glClear(GLbitfield mask) |
971 | { |
972 | d_1_0_Core->f.Clear(mask); |
973 | } |
974 | |
975 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawBuffer(GLenum mode) |
976 | { |
977 | d_1_0_Core->f.DrawBuffer(mode); |
978 | } |
979 | |
980 | inline void QOpenGLFunctions_3_2_Compatibility::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
981 | { |
982 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
983 | } |
984 | |
985 | inline void QOpenGLFunctions_3_2_Compatibility::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
986 | { |
987 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
988 | } |
989 | |
990 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
991 | { |
992 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
993 | } |
994 | |
995 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameteri(GLenum target, GLenum pname, GLint param) |
996 | { |
997 | d_1_0_Core->f.TexParameteri(target, pname, param); |
998 | } |
999 | |
1000 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
1001 | { |
1002 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
1003 | } |
1004 | |
1005 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
1006 | { |
1007 | d_1_0_Core->f.TexParameterf(target, pname, param); |
1008 | } |
1009 | |
1010 | inline void QOpenGLFunctions_3_2_Compatibility::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
1011 | { |
1012 | d_1_0_Core->f.Scissor(x, y, width, height); |
1013 | } |
1014 | |
1015 | inline void QOpenGLFunctions_3_2_Compatibility::glPolygonMode(GLenum face, GLenum mode) |
1016 | { |
1017 | d_1_0_Core->f.PolygonMode(face, mode); |
1018 | } |
1019 | |
1020 | inline void QOpenGLFunctions_3_2_Compatibility::glPointSize(GLfloat size) |
1021 | { |
1022 | d_1_0_Core->f.PointSize(size); |
1023 | } |
1024 | |
1025 | inline void QOpenGLFunctions_3_2_Compatibility::glLineWidth(GLfloat width) |
1026 | { |
1027 | d_1_0_Core->f.LineWidth(width); |
1028 | } |
1029 | |
1030 | inline void QOpenGLFunctions_3_2_Compatibility::glHint(GLenum target, GLenum mode) |
1031 | { |
1032 | d_1_0_Core->f.Hint(target, mode); |
1033 | } |
1034 | |
1035 | inline void QOpenGLFunctions_3_2_Compatibility::glFrontFace(GLenum mode) |
1036 | { |
1037 | d_1_0_Core->f.FrontFace(mode); |
1038 | } |
1039 | |
1040 | inline void QOpenGLFunctions_3_2_Compatibility::glCullFace(GLenum mode) |
1041 | { |
1042 | d_1_0_Core->f.CullFace(mode); |
1043 | } |
1044 | |
1045 | |
1046 | // OpenGL 1.1 core functions |
1047 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexubv(const GLubyte *c) |
1048 | { |
1049 | d_1_1_Deprecated->f.Indexubv(c); |
1050 | } |
1051 | |
1052 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexub(GLubyte c) |
1053 | { |
1054 | d_1_1_Deprecated->f.Indexub(c); |
1055 | } |
1056 | |
1057 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsTexture(GLuint texture) |
1058 | { |
1059 | return d_1_1_Core->f.IsTexture(texture); |
1060 | } |
1061 | |
1062 | inline void QOpenGLFunctions_3_2_Compatibility::glGenTextures(GLsizei n, GLuint *textures) |
1063 | { |
1064 | d_1_1_Core->f.GenTextures(n, textures); |
1065 | } |
1066 | |
1067 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteTextures(GLsizei n, const GLuint *textures) |
1068 | { |
1069 | d_1_1_Core->f.DeleteTextures(n, textures); |
1070 | } |
1071 | |
1072 | inline void QOpenGLFunctions_3_2_Compatibility::glBindTexture(GLenum target, GLuint texture) |
1073 | { |
1074 | d_1_1_Core->f.BindTexture(target, texture); |
1075 | } |
1076 | |
1077 | inline void QOpenGLFunctions_3_2_Compatibility::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
1078 | { |
1079 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
1080 | } |
1081 | |
1082 | inline void QOpenGLFunctions_3_2_Compatibility::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
1083 | { |
1084 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
1085 | } |
1086 | |
1087 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
1088 | { |
1089 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
1090 | } |
1091 | |
1092 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
1093 | { |
1094 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
1095 | } |
1096 | |
1097 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
1098 | { |
1099 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
1100 | } |
1101 | |
1102 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
1103 | { |
1104 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
1105 | } |
1106 | |
1107 | inline void QOpenGLFunctions_3_2_Compatibility::glPolygonOffset(GLfloat factor, GLfloat units) |
1108 | { |
1109 | d_1_1_Core->f.PolygonOffset(factor, units); |
1110 | } |
1111 | |
1112 | inline void QOpenGLFunctions_3_2_Compatibility::glGetPointerv(GLenum pname, GLvoid* *params) |
1113 | { |
1114 | d_1_1_Deprecated->f.GetPointerv(pname, params); |
1115 | } |
1116 | |
1117 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
1118 | { |
1119 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
1120 | } |
1121 | |
1122 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
1123 | { |
1124 | d_1_1_Core->f.DrawArrays(mode, first, count); |
1125 | } |
1126 | |
1127 | |
1128 | // OpenGL 1.2 core functions |
1129 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
1130 | { |
1131 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
1132 | } |
1133 | |
1134 | inline void QOpenGLFunctions_3_2_Compatibility::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
1135 | { |
1136 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
1137 | } |
1138 | |
1139 | inline void QOpenGLFunctions_3_2_Compatibility::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
1140 | { |
1141 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
1142 | } |
1143 | |
1144 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
1145 | { |
1146 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
1147 | } |
1148 | |
1149 | inline void QOpenGLFunctions_3_2_Compatibility::glBlendEquation(GLenum mode) |
1150 | { |
1151 | d_1_2_Core->f.BlendEquation(mode); |
1152 | } |
1153 | |
1154 | inline void QOpenGLFunctions_3_2_Compatibility::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
1155 | { |
1156 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
1157 | } |
1158 | |
1159 | |
1160 | // OpenGL 1.3 core functions |
1161 | inline void QOpenGLFunctions_3_2_Compatibility::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img) |
1162 | { |
1163 | d_1_3_Core->f.GetCompressedTexImage(target, level, img); |
1164 | } |
1165 | |
1166 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
1167 | { |
1168 | d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); |
1169 | } |
1170 | |
1171 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
1172 | { |
1173 | d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
1174 | } |
1175 | |
1176 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
1177 | { |
1178 | d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
1179 | } |
1180 | |
1181 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
1182 | { |
1183 | d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); |
1184 | } |
1185 | |
1186 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
1187 | { |
1188 | d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); |
1189 | } |
1190 | |
1191 | inline void QOpenGLFunctions_3_2_Compatibility::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
1192 | { |
1193 | d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); |
1194 | } |
1195 | |
1196 | inline void QOpenGLFunctions_3_2_Compatibility::glSampleCoverage(GLfloat value, GLboolean invert) |
1197 | { |
1198 | d_1_3_Core->f.SampleCoverage(value, invert); |
1199 | } |
1200 | |
1201 | inline void QOpenGLFunctions_3_2_Compatibility::glActiveTexture(GLenum texture) |
1202 | { |
1203 | d_1_3_Core->f.ActiveTexture(texture); |
1204 | } |
1205 | |
1206 | |
1207 | // OpenGL 1.4 core functions |
1208 | inline void QOpenGLFunctions_3_2_Compatibility::glPointParameteriv(GLenum pname, const GLint *params) |
1209 | { |
1210 | d_1_4_Core->f.PointParameteriv(pname, params); |
1211 | } |
1212 | |
1213 | inline void QOpenGLFunctions_3_2_Compatibility::glPointParameteri(GLenum pname, GLint param) |
1214 | { |
1215 | d_1_4_Core->f.PointParameteri(pname, param); |
1216 | } |
1217 | |
1218 | inline void QOpenGLFunctions_3_2_Compatibility::glPointParameterfv(GLenum pname, const GLfloat *params) |
1219 | { |
1220 | d_1_4_Core->f.PointParameterfv(pname, params); |
1221 | } |
1222 | |
1223 | inline void QOpenGLFunctions_3_2_Compatibility::glPointParameterf(GLenum pname, GLfloat param) |
1224 | { |
1225 | d_1_4_Core->f.PointParameterf(pname, param); |
1226 | } |
1227 | |
1228 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) |
1229 | { |
1230 | d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount); |
1231 | } |
1232 | |
1233 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) |
1234 | { |
1235 | d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount); |
1236 | } |
1237 | |
1238 | inline void QOpenGLFunctions_3_2_Compatibility::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
1239 | { |
1240 | d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
1241 | } |
1242 | |
1243 | |
1244 | // OpenGL 1.5 core functions |
1245 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params) |
1246 | { |
1247 | d_1_5_Core->f.GetBufferPointerv(target, pname, params); |
1248 | } |
1249 | |
1250 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1251 | { |
1252 | d_1_5_Core->f.GetBufferParameteriv(target, pname, params); |
1253 | } |
1254 | |
1255 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glUnmapBuffer(GLenum target) |
1256 | { |
1257 | return d_1_5_Core->f.UnmapBuffer(target); |
1258 | } |
1259 | |
1260 | inline GLvoid* QOpenGLFunctions_3_2_Compatibility::glMapBuffer(GLenum target, GLenum access) |
1261 | { |
1262 | return d_1_5_Core->f.MapBuffer(target, access); |
1263 | } |
1264 | |
1265 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
1266 | { |
1267 | d_1_5_Core->f.GetBufferSubData(target, offset, size, data); |
1268 | } |
1269 | |
1270 | inline void QOpenGLFunctions_3_2_Compatibility::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
1271 | { |
1272 | d_1_5_Core->f.BufferSubData(target, offset, size, data); |
1273 | } |
1274 | |
1275 | inline void QOpenGLFunctions_3_2_Compatibility::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
1276 | { |
1277 | d_1_5_Core->f.BufferData(target, size, data, usage); |
1278 | } |
1279 | |
1280 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsBuffer(GLuint buffer) |
1281 | { |
1282 | return d_1_5_Core->f.IsBuffer(buffer); |
1283 | } |
1284 | |
1285 | inline void QOpenGLFunctions_3_2_Compatibility::glGenBuffers(GLsizei n, GLuint *buffers) |
1286 | { |
1287 | d_1_5_Core->f.GenBuffers(n, buffers); |
1288 | } |
1289 | |
1290 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteBuffers(GLsizei n, const GLuint *buffers) |
1291 | { |
1292 | d_1_5_Core->f.DeleteBuffers(n, buffers); |
1293 | } |
1294 | |
1295 | inline void QOpenGLFunctions_3_2_Compatibility::glBindBuffer(GLenum target, GLuint buffer) |
1296 | { |
1297 | d_1_5_Core->f.BindBuffer(target, buffer); |
1298 | } |
1299 | |
1300 | inline void QOpenGLFunctions_3_2_Compatibility::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
1301 | { |
1302 | d_1_5_Core->f.GetQueryObjectuiv(id, pname, params); |
1303 | } |
1304 | |
1305 | inline void QOpenGLFunctions_3_2_Compatibility::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
1306 | { |
1307 | d_1_5_Core->f.GetQueryObjectiv(id, pname, params); |
1308 | } |
1309 | |
1310 | inline void QOpenGLFunctions_3_2_Compatibility::glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
1311 | { |
1312 | d_1_5_Core->f.GetQueryiv(target, pname, params); |
1313 | } |
1314 | |
1315 | inline void QOpenGLFunctions_3_2_Compatibility::glEndQuery(GLenum target) |
1316 | { |
1317 | d_1_5_Core->f.EndQuery(target); |
1318 | } |
1319 | |
1320 | inline void QOpenGLFunctions_3_2_Compatibility::glBeginQuery(GLenum target, GLuint id) |
1321 | { |
1322 | d_1_5_Core->f.BeginQuery(target, id); |
1323 | } |
1324 | |
1325 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsQuery(GLuint id) |
1326 | { |
1327 | return d_1_5_Core->f.IsQuery(id); |
1328 | } |
1329 | |
1330 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteQueries(GLsizei n, const GLuint *ids) |
1331 | { |
1332 | d_1_5_Core->f.DeleteQueries(n, ids); |
1333 | } |
1334 | |
1335 | inline void QOpenGLFunctions_3_2_Compatibility::glGenQueries(GLsizei n, GLuint *ids) |
1336 | { |
1337 | d_1_5_Core->f.GenQueries(n, ids); |
1338 | } |
1339 | |
1340 | |
1341 | // OpenGL 2.0 core functions |
1342 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
1343 | { |
1344 | d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer); |
1345 | } |
1346 | |
1347 | inline void QOpenGLFunctions_3_2_Compatibility::glValidateProgram(GLuint program) |
1348 | { |
1349 | d_2_0_Core->f.ValidateProgram(program); |
1350 | } |
1351 | |
1352 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1353 | { |
1354 | d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value); |
1355 | } |
1356 | |
1357 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1358 | { |
1359 | d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value); |
1360 | } |
1361 | |
1362 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1363 | { |
1364 | d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value); |
1365 | } |
1366 | |
1367 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4iv(GLint location, GLsizei count, const GLint *value) |
1368 | { |
1369 | d_2_0_Core->f.Uniform4iv(location, count, value); |
1370 | } |
1371 | |
1372 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3iv(GLint location, GLsizei count, const GLint *value) |
1373 | { |
1374 | d_2_0_Core->f.Uniform3iv(location, count, value); |
1375 | } |
1376 | |
1377 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2iv(GLint location, GLsizei count, const GLint *value) |
1378 | { |
1379 | d_2_0_Core->f.Uniform2iv(location, count, value); |
1380 | } |
1381 | |
1382 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1iv(GLint location, GLsizei count, const GLint *value) |
1383 | { |
1384 | d_2_0_Core->f.Uniform1iv(location, count, value); |
1385 | } |
1386 | |
1387 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
1388 | { |
1389 | d_2_0_Core->f.Uniform4fv(location, count, value); |
1390 | } |
1391 | |
1392 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
1393 | { |
1394 | d_2_0_Core->f.Uniform3fv(location, count, value); |
1395 | } |
1396 | |
1397 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
1398 | { |
1399 | d_2_0_Core->f.Uniform2fv(location, count, value); |
1400 | } |
1401 | |
1402 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
1403 | { |
1404 | d_2_0_Core->f.Uniform1fv(location, count, value); |
1405 | } |
1406 | |
1407 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
1408 | { |
1409 | d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3); |
1410 | } |
1411 | |
1412 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
1413 | { |
1414 | d_2_0_Core->f.Uniform3i(location, v0, v1, v2); |
1415 | } |
1416 | |
1417 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2i(GLint location, GLint v0, GLint v1) |
1418 | { |
1419 | d_2_0_Core->f.Uniform2i(location, v0, v1); |
1420 | } |
1421 | |
1422 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1i(GLint location, GLint v0) |
1423 | { |
1424 | d_2_0_Core->f.Uniform1i(location, v0); |
1425 | } |
1426 | |
1427 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
1428 | { |
1429 | d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3); |
1430 | } |
1431 | |
1432 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
1433 | { |
1434 | d_2_0_Core->f.Uniform3f(location, v0, v1, v2); |
1435 | } |
1436 | |
1437 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
1438 | { |
1439 | d_2_0_Core->f.Uniform2f(location, v0, v1); |
1440 | } |
1441 | |
1442 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1f(GLint location, GLfloat v0) |
1443 | { |
1444 | d_2_0_Core->f.Uniform1f(location, v0); |
1445 | } |
1446 | |
1447 | inline void QOpenGLFunctions_3_2_Compatibility::glUseProgram(GLuint program) |
1448 | { |
1449 | d_2_0_Core->f.UseProgram(program); |
1450 | } |
1451 | |
1452 | inline void QOpenGLFunctions_3_2_Compatibility::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) |
1453 | { |
1454 | d_2_0_Core->f.ShaderSource(shader, count, string, length); |
1455 | } |
1456 | |
1457 | inline void QOpenGLFunctions_3_2_Compatibility::glLinkProgram(GLuint program) |
1458 | { |
1459 | d_2_0_Core->f.LinkProgram(program); |
1460 | } |
1461 | |
1462 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsShader(GLuint shader) |
1463 | { |
1464 | return d_2_0_Core->f.IsShader(shader); |
1465 | } |
1466 | |
1467 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsProgram(GLuint program) |
1468 | { |
1469 | return d_2_0_Core->f.IsProgram(program); |
1470 | } |
1471 | |
1472 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer) |
1473 | { |
1474 | d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer); |
1475 | } |
1476 | |
1477 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
1478 | { |
1479 | d_2_0_Core->f.GetVertexAttribiv(index, pname, params); |
1480 | } |
1481 | |
1482 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
1483 | { |
1484 | d_2_0_Core->f.GetVertexAttribfv(index, pname, params); |
1485 | } |
1486 | |
1487 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
1488 | { |
1489 | d_2_0_Core->f.GetVertexAttribdv(index, pname, params); |
1490 | } |
1491 | |
1492 | inline void QOpenGLFunctions_3_2_Compatibility::glGetUniformiv(GLuint program, GLint location, GLint *params) |
1493 | { |
1494 | d_2_0_Core->f.GetUniformiv(program, location, params); |
1495 | } |
1496 | |
1497 | inline void QOpenGLFunctions_3_2_Compatibility::glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
1498 | { |
1499 | d_2_0_Core->f.GetUniformfv(program, location, params); |
1500 | } |
1501 | |
1502 | inline GLint QOpenGLFunctions_3_2_Compatibility::glGetUniformLocation(GLuint program, const GLchar *name) |
1503 | { |
1504 | return d_2_0_Core->f.GetUniformLocation(program, name); |
1505 | } |
1506 | |
1507 | inline void QOpenGLFunctions_3_2_Compatibility::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
1508 | { |
1509 | d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source); |
1510 | } |
1511 | |
1512 | inline void QOpenGLFunctions_3_2_Compatibility::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1513 | { |
1514 | d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog); |
1515 | } |
1516 | |
1517 | inline void QOpenGLFunctions_3_2_Compatibility::glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
1518 | { |
1519 | d_2_0_Core->f.GetShaderiv(shader, pname, params); |
1520 | } |
1521 | |
1522 | inline void QOpenGLFunctions_3_2_Compatibility::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1523 | { |
1524 | d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog); |
1525 | } |
1526 | |
1527 | inline void QOpenGLFunctions_3_2_Compatibility::glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
1528 | { |
1529 | d_2_0_Core->f.GetProgramiv(program, pname, params); |
1530 | } |
1531 | |
1532 | inline GLint QOpenGLFunctions_3_2_Compatibility::glGetAttribLocation(GLuint program, const GLchar *name) |
1533 | { |
1534 | return d_2_0_Core->f.GetAttribLocation(program, name); |
1535 | } |
1536 | |
1537 | inline void QOpenGLFunctions_3_2_Compatibility::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
1538 | { |
1539 | d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj); |
1540 | } |
1541 | |
1542 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1543 | { |
1544 | d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name); |
1545 | } |
1546 | |
1547 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1548 | { |
1549 | d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name); |
1550 | } |
1551 | |
1552 | inline void QOpenGLFunctions_3_2_Compatibility::glEnableVertexAttribArray(GLuint index) |
1553 | { |
1554 | d_2_0_Core->f.EnableVertexAttribArray(index); |
1555 | } |
1556 | |
1557 | inline void QOpenGLFunctions_3_2_Compatibility::glDisableVertexAttribArray(GLuint index) |
1558 | { |
1559 | d_2_0_Core->f.DisableVertexAttribArray(index); |
1560 | } |
1561 | |
1562 | inline void QOpenGLFunctions_3_2_Compatibility::glDetachShader(GLuint program, GLuint shader) |
1563 | { |
1564 | d_2_0_Core->f.DetachShader(program, shader); |
1565 | } |
1566 | |
1567 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteShader(GLuint shader) |
1568 | { |
1569 | d_2_0_Core->f.DeleteShader(shader); |
1570 | } |
1571 | |
1572 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteProgram(GLuint program) |
1573 | { |
1574 | d_2_0_Core->f.DeleteProgram(program); |
1575 | } |
1576 | |
1577 | inline GLuint QOpenGLFunctions_3_2_Compatibility::glCreateShader(GLenum type) |
1578 | { |
1579 | return d_2_0_Core->f.CreateShader(type); |
1580 | } |
1581 | |
1582 | inline GLuint QOpenGLFunctions_3_2_Compatibility::glCreateProgram() |
1583 | { |
1584 | return d_2_0_Core->f.CreateProgram(); |
1585 | } |
1586 | |
1587 | inline void QOpenGLFunctions_3_2_Compatibility::glCompileShader(GLuint shader) |
1588 | { |
1589 | d_2_0_Core->f.CompileShader(shader); |
1590 | } |
1591 | |
1592 | inline void QOpenGLFunctions_3_2_Compatibility::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
1593 | { |
1594 | d_2_0_Core->f.BindAttribLocation(program, index, name); |
1595 | } |
1596 | |
1597 | inline void QOpenGLFunctions_3_2_Compatibility::glAttachShader(GLuint program, GLuint shader) |
1598 | { |
1599 | d_2_0_Core->f.AttachShader(program, shader); |
1600 | } |
1601 | |
1602 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilMaskSeparate(GLenum face, GLuint mask) |
1603 | { |
1604 | d_2_0_Core->f.StencilMaskSeparate(face, mask); |
1605 | } |
1606 | |
1607 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
1608 | { |
1609 | d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask); |
1610 | } |
1611 | |
1612 | inline void QOpenGLFunctions_3_2_Compatibility::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
1613 | { |
1614 | d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass); |
1615 | } |
1616 | |
1617 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawBuffers(GLsizei n, const GLenum *bufs) |
1618 | { |
1619 | d_2_0_Core->f.DrawBuffers(n, bufs); |
1620 | } |
1621 | |
1622 | inline void QOpenGLFunctions_3_2_Compatibility::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
1623 | { |
1624 | d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha); |
1625 | } |
1626 | |
1627 | |
1628 | // OpenGL 2.1 core functions |
1629 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1630 | { |
1631 | d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value); |
1632 | } |
1633 | |
1634 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1635 | { |
1636 | d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value); |
1637 | } |
1638 | |
1639 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1640 | { |
1641 | d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value); |
1642 | } |
1643 | |
1644 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1645 | { |
1646 | d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value); |
1647 | } |
1648 | |
1649 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1650 | { |
1651 | d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value); |
1652 | } |
1653 | |
1654 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1655 | { |
1656 | d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value); |
1657 | } |
1658 | |
1659 | |
1660 | // OpenGL 3.0 core functions |
1661 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsVertexArray(GLuint array) |
1662 | { |
1663 | return d_3_0_Core->f.IsVertexArray(array); |
1664 | } |
1665 | |
1666 | inline void QOpenGLFunctions_3_2_Compatibility::glGenVertexArrays(GLsizei n, GLuint *arrays) |
1667 | { |
1668 | d_3_0_Core->f.GenVertexArrays(n, arrays); |
1669 | } |
1670 | |
1671 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
1672 | { |
1673 | d_3_0_Core->f.DeleteVertexArrays(n, arrays); |
1674 | } |
1675 | |
1676 | inline void QOpenGLFunctions_3_2_Compatibility::glBindVertexArray(GLuint array) |
1677 | { |
1678 | d_3_0_Core->f.BindVertexArray(array); |
1679 | } |
1680 | |
1681 | inline void QOpenGLFunctions_3_2_Compatibility::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
1682 | { |
1683 | d_3_0_Core->f.FlushMappedBufferRange(target, offset, length); |
1684 | } |
1685 | |
1686 | inline GLvoid* QOpenGLFunctions_3_2_Compatibility::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
1687 | { |
1688 | return d_3_0_Core->f.MapBufferRange(target, offset, length, access); |
1689 | } |
1690 | |
1691 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
1692 | { |
1693 | d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer); |
1694 | } |
1695 | |
1696 | inline void QOpenGLFunctions_3_2_Compatibility::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
1697 | { |
1698 | d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height); |
1699 | } |
1700 | |
1701 | inline void QOpenGLFunctions_3_2_Compatibility::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
1702 | { |
1703 | d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
1704 | } |
1705 | |
1706 | inline void QOpenGLFunctions_3_2_Compatibility::glGenerateMipmap(GLenum target) |
1707 | { |
1708 | d_3_0_Core->f.GenerateMipmap(target); |
1709 | } |
1710 | |
1711 | inline void QOpenGLFunctions_3_2_Compatibility::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
1712 | { |
1713 | d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
1714 | } |
1715 | |
1716 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
1717 | { |
1718 | d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); |
1719 | } |
1720 | |
1721 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
1722 | { |
1723 | d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); |
1724 | } |
1725 | |
1726 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1727 | { |
1728 | d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level); |
1729 | } |
1730 | |
1731 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1732 | { |
1733 | d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level); |
1734 | } |
1735 | |
1736 | inline GLenum QOpenGLFunctions_3_2_Compatibility::glCheckFramebufferStatus(GLenum target) |
1737 | { |
1738 | return d_3_0_Core->f.CheckFramebufferStatus(target); |
1739 | } |
1740 | |
1741 | inline void QOpenGLFunctions_3_2_Compatibility::glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
1742 | { |
1743 | d_3_0_Core->f.GenFramebuffers(n, framebuffers); |
1744 | } |
1745 | |
1746 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
1747 | { |
1748 | d_3_0_Core->f.DeleteFramebuffers(n, framebuffers); |
1749 | } |
1750 | |
1751 | inline void QOpenGLFunctions_3_2_Compatibility::glBindFramebuffer(GLenum target, GLuint framebuffer) |
1752 | { |
1753 | d_3_0_Core->f.BindFramebuffer(target, framebuffer); |
1754 | } |
1755 | |
1756 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsFramebuffer(GLuint framebuffer) |
1757 | { |
1758 | return d_3_0_Core->f.IsFramebuffer(framebuffer); |
1759 | } |
1760 | |
1761 | inline void QOpenGLFunctions_3_2_Compatibility::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1762 | { |
1763 | d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params); |
1764 | } |
1765 | |
1766 | inline void QOpenGLFunctions_3_2_Compatibility::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
1767 | { |
1768 | d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height); |
1769 | } |
1770 | |
1771 | inline void QOpenGLFunctions_3_2_Compatibility::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
1772 | { |
1773 | d_3_0_Core->f.GenRenderbuffers(n, renderbuffers); |
1774 | } |
1775 | |
1776 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
1777 | { |
1778 | d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers); |
1779 | } |
1780 | |
1781 | inline void QOpenGLFunctions_3_2_Compatibility::glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
1782 | { |
1783 | d_3_0_Core->f.BindRenderbuffer(target, renderbuffer); |
1784 | } |
1785 | |
1786 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsRenderbuffer(GLuint renderbuffer) |
1787 | { |
1788 | return d_3_0_Core->f.IsRenderbuffer(renderbuffer); |
1789 | } |
1790 | |
1791 | inline const GLubyte * QOpenGLFunctions_3_2_Compatibility::glGetStringi(GLenum name, GLuint index) |
1792 | { |
1793 | return d_3_0_Core->f.GetStringi(name, index); |
1794 | } |
1795 | |
1796 | inline void QOpenGLFunctions_3_2_Compatibility::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
1797 | { |
1798 | d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil); |
1799 | } |
1800 | |
1801 | inline void QOpenGLFunctions_3_2_Compatibility::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
1802 | { |
1803 | d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value); |
1804 | } |
1805 | |
1806 | inline void QOpenGLFunctions_3_2_Compatibility::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
1807 | { |
1808 | d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value); |
1809 | } |
1810 | |
1811 | inline void QOpenGLFunctions_3_2_Compatibility::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
1812 | { |
1813 | d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value); |
1814 | } |
1815 | |
1816 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) |
1817 | { |
1818 | d_3_0_Core->f.GetTexParameterIuiv(target, pname, params); |
1819 | } |
1820 | |
1821 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) |
1822 | { |
1823 | d_3_0_Core->f.GetTexParameterIiv(target, pname, params); |
1824 | } |
1825 | |
1826 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) |
1827 | { |
1828 | d_3_0_Core->f.TexParameterIuiv(target, pname, params); |
1829 | } |
1830 | |
1831 | inline void QOpenGLFunctions_3_2_Compatibility::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) |
1832 | { |
1833 | d_3_0_Core->f.TexParameterIiv(target, pname, params); |
1834 | } |
1835 | |
1836 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
1837 | { |
1838 | d_3_0_Core->f.Uniform4uiv(location, count, value); |
1839 | } |
1840 | |
1841 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
1842 | { |
1843 | d_3_0_Core->f.Uniform3uiv(location, count, value); |
1844 | } |
1845 | |
1846 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
1847 | { |
1848 | d_3_0_Core->f.Uniform2uiv(location, count, value); |
1849 | } |
1850 | |
1851 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
1852 | { |
1853 | d_3_0_Core->f.Uniform1uiv(location, count, value); |
1854 | } |
1855 | |
1856 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
1857 | { |
1858 | d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3); |
1859 | } |
1860 | |
1861 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
1862 | { |
1863 | d_3_0_Core->f.Uniform3ui(location, v0, v1, v2); |
1864 | } |
1865 | |
1866 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform2ui(GLint location, GLuint v0, GLuint v1) |
1867 | { |
1868 | d_3_0_Core->f.Uniform2ui(location, v0, v1); |
1869 | } |
1870 | |
1871 | inline void QOpenGLFunctions_3_2_Compatibility::glUniform1ui(GLint location, GLuint v0) |
1872 | { |
1873 | d_3_0_Core->f.Uniform1ui(location, v0); |
1874 | } |
1875 | |
1876 | inline GLint QOpenGLFunctions_3_2_Compatibility::glGetFragDataLocation(GLuint program, const GLchar *name) |
1877 | { |
1878 | return d_3_0_Core->f.GetFragDataLocation(program, name); |
1879 | } |
1880 | |
1881 | inline void QOpenGLFunctions_3_2_Compatibility::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name) |
1882 | { |
1883 | d_3_0_Core->f.BindFragDataLocation(program, color, name); |
1884 | } |
1885 | |
1886 | inline void QOpenGLFunctions_3_2_Compatibility::glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
1887 | { |
1888 | d_3_0_Core->f.GetUniformuiv(program, location, params); |
1889 | } |
1890 | |
1891 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
1892 | { |
1893 | d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params); |
1894 | } |
1895 | |
1896 | inline void QOpenGLFunctions_3_2_Compatibility::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
1897 | { |
1898 | d_3_0_Core->f.GetVertexAttribIiv(index, pname, params); |
1899 | } |
1900 | |
1901 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
1902 | { |
1903 | d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer); |
1904 | } |
1905 | |
1906 | inline void QOpenGLFunctions_3_2_Compatibility::glEndConditionalRender() |
1907 | { |
1908 | d_3_0_Core->f.EndConditionalRender(); |
1909 | } |
1910 | |
1911 | inline void QOpenGLFunctions_3_2_Compatibility::glBeginConditionalRender(GLuint id, GLenum mode) |
1912 | { |
1913 | d_3_0_Core->f.BeginConditionalRender(id, mode); |
1914 | } |
1915 | |
1916 | inline void QOpenGLFunctions_3_2_Compatibility::glClampColor(GLenum target, GLenum clamp) |
1917 | { |
1918 | d_3_0_Core->f.ClampColor(target, clamp); |
1919 | } |
1920 | |
1921 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
1922 | { |
1923 | d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); |
1924 | } |
1925 | |
1926 | inline void QOpenGLFunctions_3_2_Compatibility::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode) |
1927 | { |
1928 | d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode); |
1929 | } |
1930 | |
1931 | inline void QOpenGLFunctions_3_2_Compatibility::glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
1932 | { |
1933 | d_3_0_Core->f.BindBufferBase(target, index, buffer); |
1934 | } |
1935 | |
1936 | inline void QOpenGLFunctions_3_2_Compatibility::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
1937 | { |
1938 | d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size); |
1939 | } |
1940 | |
1941 | inline void QOpenGLFunctions_3_2_Compatibility::glEndTransformFeedback() |
1942 | { |
1943 | d_3_0_Core->f.EndTransformFeedback(); |
1944 | } |
1945 | |
1946 | inline void QOpenGLFunctions_3_2_Compatibility::glBeginTransformFeedback(GLenum primitiveMode) |
1947 | { |
1948 | d_3_0_Core->f.BeginTransformFeedback(primitiveMode); |
1949 | } |
1950 | |
1951 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsEnabledi(GLenum target, GLuint index) |
1952 | { |
1953 | return d_3_0_Core->f.IsEnabledi(target, index); |
1954 | } |
1955 | |
1956 | inline void QOpenGLFunctions_3_2_Compatibility::glDisablei(GLenum target, GLuint index) |
1957 | { |
1958 | d_3_0_Core->f.Disablei(target, index); |
1959 | } |
1960 | |
1961 | inline void QOpenGLFunctions_3_2_Compatibility::glEnablei(GLenum target, GLuint index) |
1962 | { |
1963 | d_3_0_Core->f.Enablei(target, index); |
1964 | } |
1965 | |
1966 | inline void QOpenGLFunctions_3_2_Compatibility::glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
1967 | { |
1968 | d_3_0_Core->f.GetIntegeri_v(target, index, data); |
1969 | } |
1970 | |
1971 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
1972 | { |
1973 | d_3_0_Core->f.GetBooleani_v(target, index, data); |
1974 | } |
1975 | |
1976 | inline void QOpenGLFunctions_3_2_Compatibility::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
1977 | { |
1978 | d_3_0_Core->f.ColorMaski(index, r, g, b, a); |
1979 | } |
1980 | |
1981 | |
1982 | // OpenGL 3.1 core functions |
1983 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
1984 | { |
1985 | d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); |
1986 | } |
1987 | |
1988 | inline void QOpenGLFunctions_3_2_Compatibility::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
1989 | { |
1990 | d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); |
1991 | } |
1992 | |
1993 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
1994 | { |
1995 | d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); |
1996 | } |
1997 | |
1998 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
1999 | { |
2000 | d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); |
2001 | } |
2002 | |
2003 | inline GLuint QOpenGLFunctions_3_2_Compatibility::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
2004 | { |
2005 | return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName); |
2006 | } |
2007 | |
2008 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
2009 | { |
2010 | d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); |
2011 | } |
2012 | |
2013 | inline void QOpenGLFunctions_3_2_Compatibility::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
2014 | { |
2015 | d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); |
2016 | } |
2017 | |
2018 | inline void QOpenGLFunctions_3_2_Compatibility::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices) |
2019 | { |
2020 | d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); |
2021 | } |
2022 | |
2023 | inline void QOpenGLFunctions_3_2_Compatibility::glPrimitiveRestartIndex(GLuint index) |
2024 | { |
2025 | d_3_1_Core->f.PrimitiveRestartIndex(index); |
2026 | } |
2027 | |
2028 | inline void QOpenGLFunctions_3_2_Compatibility::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) |
2029 | { |
2030 | d_3_1_Core->f.TexBuffer(target, internalformat, buffer); |
2031 | } |
2032 | |
2033 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount) |
2034 | { |
2035 | d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount); |
2036 | } |
2037 | |
2038 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) |
2039 | { |
2040 | d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount); |
2041 | } |
2042 | |
2043 | |
2044 | // OpenGL 3.2 core functions |
2045 | inline void QOpenGLFunctions_3_2_Compatibility::glSampleMaski(GLuint index, GLbitfield mask) |
2046 | { |
2047 | d_3_2_Core->f.SampleMaski(index, mask); |
2048 | } |
2049 | |
2050 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
2051 | { |
2052 | d_3_2_Core->f.GetMultisamplefv(pname, index, val); |
2053 | } |
2054 | |
2055 | inline void QOpenGLFunctions_3_2_Compatibility::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
2056 | { |
2057 | d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
2058 | } |
2059 | |
2060 | inline void QOpenGLFunctions_3_2_Compatibility::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
2061 | { |
2062 | d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); |
2063 | } |
2064 | |
2065 | inline void QOpenGLFunctions_3_2_Compatibility::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
2066 | { |
2067 | d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values); |
2068 | } |
2069 | |
2070 | inline void QOpenGLFunctions_3_2_Compatibility::glGetInteger64v(GLenum pname, GLint64 *params) |
2071 | { |
2072 | d_3_2_Core->f.GetInteger64v(pname, params); |
2073 | } |
2074 | |
2075 | inline void QOpenGLFunctions_3_2_Compatibility::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
2076 | { |
2077 | d_3_2_Core->f.WaitSync(sync, flags, timeout); |
2078 | } |
2079 | |
2080 | inline GLenum QOpenGLFunctions_3_2_Compatibility::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
2081 | { |
2082 | return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout); |
2083 | } |
2084 | |
2085 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteSync(GLsync sync) |
2086 | { |
2087 | d_3_2_Core->f.DeleteSync(sync); |
2088 | } |
2089 | |
2090 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsSync(GLsync sync) |
2091 | { |
2092 | return d_3_2_Core->f.IsSync(sync); |
2093 | } |
2094 | |
2095 | inline GLsync QOpenGLFunctions_3_2_Compatibility::glFenceSync(GLenum condition, GLbitfield flags) |
2096 | { |
2097 | return d_3_2_Core->f.FenceSync(condition, flags); |
2098 | } |
2099 | |
2100 | inline void QOpenGLFunctions_3_2_Compatibility::glProvokingVertex(GLenum mode) |
2101 | { |
2102 | d_3_2_Core->f.ProvokingVertex(mode); |
2103 | } |
2104 | |
2105 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex) |
2106 | { |
2107 | d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); |
2108 | } |
2109 | |
2110 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex) |
2111 | { |
2112 | d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); |
2113 | } |
2114 | |
2115 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
2116 | { |
2117 | d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); |
2118 | } |
2119 | |
2120 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
2121 | { |
2122 | d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex); |
2123 | } |
2124 | |
2125 | inline void QOpenGLFunctions_3_2_Compatibility::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) |
2126 | { |
2127 | d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level); |
2128 | } |
2129 | |
2130 | inline void QOpenGLFunctions_3_2_Compatibility::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
2131 | { |
2132 | d_3_2_Core->f.GetBufferParameteri64v(target, pname, params); |
2133 | } |
2134 | |
2135 | inline void QOpenGLFunctions_3_2_Compatibility::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
2136 | { |
2137 | d_3_2_Core->f.GetInteger64i_v(target, index, data); |
2138 | } |
2139 | |
2140 | |
2141 | // OpenGL 1.0 deprecated functions |
2142 | inline void QOpenGLFunctions_3_2_Compatibility::glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
2143 | { |
2144 | d_1_0_Deprecated->f.Translatef(x, y, z); |
2145 | } |
2146 | |
2147 | inline void QOpenGLFunctions_3_2_Compatibility::glTranslated(GLdouble x, GLdouble y, GLdouble z) |
2148 | { |
2149 | d_1_0_Deprecated->f.Translated(x, y, z); |
2150 | } |
2151 | |
2152 | inline void QOpenGLFunctions_3_2_Compatibility::glScalef(GLfloat x, GLfloat y, GLfloat z) |
2153 | { |
2154 | d_1_0_Deprecated->f.Scalef(x, y, z); |
2155 | } |
2156 | |
2157 | inline void QOpenGLFunctions_3_2_Compatibility::glScaled(GLdouble x, GLdouble y, GLdouble z) |
2158 | { |
2159 | d_1_0_Deprecated->f.Scaled(x, y, z); |
2160 | } |
2161 | |
2162 | inline void QOpenGLFunctions_3_2_Compatibility::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
2163 | { |
2164 | d_1_0_Deprecated->f.Rotatef(angle, x, y, z); |
2165 | } |
2166 | |
2167 | inline void QOpenGLFunctions_3_2_Compatibility::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
2168 | { |
2169 | d_1_0_Deprecated->f.Rotated(angle, x, y, z); |
2170 | } |
2171 | |
2172 | inline void QOpenGLFunctions_3_2_Compatibility::glPushMatrix() |
2173 | { |
2174 | d_1_0_Deprecated->f.PushMatrix(); |
2175 | } |
2176 | |
2177 | inline void QOpenGLFunctions_3_2_Compatibility::glPopMatrix() |
2178 | { |
2179 | d_1_0_Deprecated->f.PopMatrix(); |
2180 | } |
2181 | |
2182 | inline void QOpenGLFunctions_3_2_Compatibility::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
2183 | { |
2184 | d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar); |
2185 | } |
2186 | |
2187 | inline void QOpenGLFunctions_3_2_Compatibility::glMultMatrixd(const GLdouble *m) |
2188 | { |
2189 | d_1_0_Deprecated->f.MultMatrixd(m); |
2190 | } |
2191 | |
2192 | inline void QOpenGLFunctions_3_2_Compatibility::glMultMatrixf(const GLfloat *m) |
2193 | { |
2194 | d_1_0_Deprecated->f.MultMatrixf(m); |
2195 | } |
2196 | |
2197 | inline void QOpenGLFunctions_3_2_Compatibility::glMatrixMode(GLenum mode) |
2198 | { |
2199 | d_1_0_Deprecated->f.MatrixMode(mode); |
2200 | } |
2201 | |
2202 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadMatrixd(const GLdouble *m) |
2203 | { |
2204 | d_1_0_Deprecated->f.LoadMatrixd(m); |
2205 | } |
2206 | |
2207 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadMatrixf(const GLfloat *m) |
2208 | { |
2209 | d_1_0_Deprecated->f.LoadMatrixf(m); |
2210 | } |
2211 | |
2212 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadIdentity() |
2213 | { |
2214 | d_1_0_Deprecated->f.LoadIdentity(); |
2215 | } |
2216 | |
2217 | inline void QOpenGLFunctions_3_2_Compatibility::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
2218 | { |
2219 | d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar); |
2220 | } |
2221 | |
2222 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glIsList(GLuint list) |
2223 | { |
2224 | return d_1_0_Deprecated->f.IsList(list); |
2225 | } |
2226 | |
2227 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) |
2228 | { |
2229 | d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params); |
2230 | } |
2231 | |
2232 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) |
2233 | { |
2234 | d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params); |
2235 | } |
2236 | |
2237 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) |
2238 | { |
2239 | d_1_0_Deprecated->f.GetTexGendv(coord, pname, params); |
2240 | } |
2241 | |
2242 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
2243 | { |
2244 | d_1_0_Deprecated->f.GetTexEnviv(target, pname, params); |
2245 | } |
2246 | |
2247 | inline void QOpenGLFunctions_3_2_Compatibility::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
2248 | { |
2249 | d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params); |
2250 | } |
2251 | |
2252 | inline void QOpenGLFunctions_3_2_Compatibility::glGetPolygonStipple(GLubyte *mask) |
2253 | { |
2254 | d_1_0_Deprecated->f.GetPolygonStipple(mask); |
2255 | } |
2256 | |
2257 | inline void QOpenGLFunctions_3_2_Compatibility::glGetPixelMapusv(GLenum map, GLushort *values) |
2258 | { |
2259 | d_1_0_Deprecated->f.GetPixelMapusv(map, values); |
2260 | } |
2261 | |
2262 | inline void QOpenGLFunctions_3_2_Compatibility::glGetPixelMapuiv(GLenum map, GLuint *values) |
2263 | { |
2264 | d_1_0_Deprecated->f.GetPixelMapuiv(map, values); |
2265 | } |
2266 | |
2267 | inline void QOpenGLFunctions_3_2_Compatibility::glGetPixelMapfv(GLenum map, GLfloat *values) |
2268 | { |
2269 | d_1_0_Deprecated->f.GetPixelMapfv(map, values); |
2270 | } |
2271 | |
2272 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
2273 | { |
2274 | d_1_0_Deprecated->f.GetMaterialiv(face, pname, params); |
2275 | } |
2276 | |
2277 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
2278 | { |
2279 | d_1_0_Deprecated->f.GetMaterialfv(face, pname, params); |
2280 | } |
2281 | |
2282 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMapiv(GLenum target, GLenum query, GLint *v) |
2283 | { |
2284 | d_1_0_Deprecated->f.GetMapiv(target, query, v); |
2285 | } |
2286 | |
2287 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
2288 | { |
2289 | d_1_0_Deprecated->f.GetMapfv(target, query, v); |
2290 | } |
2291 | |
2292 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
2293 | { |
2294 | d_1_0_Deprecated->f.GetMapdv(target, query, v); |
2295 | } |
2296 | |
2297 | inline void QOpenGLFunctions_3_2_Compatibility::glGetLightiv(GLenum light, GLenum pname, GLint *params) |
2298 | { |
2299 | d_1_0_Deprecated->f.GetLightiv(light, pname, params); |
2300 | } |
2301 | |
2302 | inline void QOpenGLFunctions_3_2_Compatibility::glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
2303 | { |
2304 | d_1_0_Deprecated->f.GetLightfv(light, pname, params); |
2305 | } |
2306 | |
2307 | inline void QOpenGLFunctions_3_2_Compatibility::glGetClipPlane(GLenum plane, GLdouble *equation) |
2308 | { |
2309 | d_1_0_Deprecated->f.GetClipPlane(plane, equation); |
2310 | } |
2311 | |
2312 | inline void QOpenGLFunctions_3_2_Compatibility::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
2313 | { |
2314 | d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels); |
2315 | } |
2316 | |
2317 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
2318 | { |
2319 | d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type); |
2320 | } |
2321 | |
2322 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) |
2323 | { |
2324 | d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values); |
2325 | } |
2326 | |
2327 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) |
2328 | { |
2329 | d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values); |
2330 | } |
2331 | |
2332 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) |
2333 | { |
2334 | d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values); |
2335 | } |
2336 | |
2337 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelTransferi(GLenum pname, GLint param) |
2338 | { |
2339 | d_1_0_Deprecated->f.PixelTransferi(pname, param); |
2340 | } |
2341 | |
2342 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelTransferf(GLenum pname, GLfloat param) |
2343 | { |
2344 | d_1_0_Deprecated->f.PixelTransferf(pname, param); |
2345 | } |
2346 | |
2347 | inline void QOpenGLFunctions_3_2_Compatibility::glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
2348 | { |
2349 | d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor); |
2350 | } |
2351 | |
2352 | inline void QOpenGLFunctions_3_2_Compatibility::glAlphaFunc(GLenum func, GLfloat ref) |
2353 | { |
2354 | d_1_0_Deprecated->f.AlphaFunc(func, ref); |
2355 | } |
2356 | |
2357 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalPoint2(GLint i, GLint j) |
2358 | { |
2359 | d_1_0_Deprecated->f.EvalPoint2(i, j); |
2360 | } |
2361 | |
2362 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
2363 | { |
2364 | d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2); |
2365 | } |
2366 | |
2367 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalPoint1(GLint i) |
2368 | { |
2369 | d_1_0_Deprecated->f.EvalPoint1(i); |
2370 | } |
2371 | |
2372 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
2373 | { |
2374 | d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2); |
2375 | } |
2376 | |
2377 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord2fv(const GLfloat *u) |
2378 | { |
2379 | d_1_0_Deprecated->f.EvalCoord2fv(u); |
2380 | } |
2381 | |
2382 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord2f(GLfloat u, GLfloat v) |
2383 | { |
2384 | d_1_0_Deprecated->f.EvalCoord2f(u, v); |
2385 | } |
2386 | |
2387 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord2dv(const GLdouble *u) |
2388 | { |
2389 | d_1_0_Deprecated->f.EvalCoord2dv(u); |
2390 | } |
2391 | |
2392 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord2d(GLdouble u, GLdouble v) |
2393 | { |
2394 | d_1_0_Deprecated->f.EvalCoord2d(u, v); |
2395 | } |
2396 | |
2397 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord1fv(const GLfloat *u) |
2398 | { |
2399 | d_1_0_Deprecated->f.EvalCoord1fv(u); |
2400 | } |
2401 | |
2402 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord1f(GLfloat u) |
2403 | { |
2404 | d_1_0_Deprecated->f.EvalCoord1f(u); |
2405 | } |
2406 | |
2407 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord1dv(const GLdouble *u) |
2408 | { |
2409 | d_1_0_Deprecated->f.EvalCoord1dv(u); |
2410 | } |
2411 | |
2412 | inline void QOpenGLFunctions_3_2_Compatibility::glEvalCoord1d(GLdouble u) |
2413 | { |
2414 | d_1_0_Deprecated->f.EvalCoord1d(u); |
2415 | } |
2416 | |
2417 | inline void QOpenGLFunctions_3_2_Compatibility::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
2418 | { |
2419 | d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2); |
2420 | } |
2421 | |
2422 | inline void QOpenGLFunctions_3_2_Compatibility::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
2423 | { |
2424 | d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2); |
2425 | } |
2426 | |
2427 | inline void QOpenGLFunctions_3_2_Compatibility::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
2428 | { |
2429 | d_1_0_Deprecated->f.MapGrid1f(un, u1, u2); |
2430 | } |
2431 | |
2432 | inline void QOpenGLFunctions_3_2_Compatibility::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
2433 | { |
2434 | d_1_0_Deprecated->f.MapGrid1d(un, u1, u2); |
2435 | } |
2436 | |
2437 | inline void QOpenGLFunctions_3_2_Compatibility::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
2438 | { |
2439 | d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
2440 | } |
2441 | |
2442 | inline void QOpenGLFunctions_3_2_Compatibility::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
2443 | { |
2444 | d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
2445 | } |
2446 | |
2447 | inline void QOpenGLFunctions_3_2_Compatibility::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
2448 | { |
2449 | d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points); |
2450 | } |
2451 | |
2452 | inline void QOpenGLFunctions_3_2_Compatibility::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
2453 | { |
2454 | d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points); |
2455 | } |
2456 | |
2457 | inline void QOpenGLFunctions_3_2_Compatibility::glPushAttrib(GLbitfield mask) |
2458 | { |
2459 | d_1_0_Deprecated->f.PushAttrib(mask); |
2460 | } |
2461 | |
2462 | inline void QOpenGLFunctions_3_2_Compatibility::glPopAttrib() |
2463 | { |
2464 | d_1_0_Deprecated->f.PopAttrib(); |
2465 | } |
2466 | |
2467 | inline void QOpenGLFunctions_3_2_Compatibility::glAccum(GLenum op, GLfloat value) |
2468 | { |
2469 | d_1_0_Deprecated->f.Accum(op, value); |
2470 | } |
2471 | |
2472 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexMask(GLuint mask) |
2473 | { |
2474 | d_1_0_Deprecated->f.IndexMask(mask); |
2475 | } |
2476 | |
2477 | inline void QOpenGLFunctions_3_2_Compatibility::glClearIndex(GLfloat c) |
2478 | { |
2479 | d_1_0_Deprecated->f.ClearIndex(c); |
2480 | } |
2481 | |
2482 | inline void QOpenGLFunctions_3_2_Compatibility::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
2483 | { |
2484 | d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha); |
2485 | } |
2486 | |
2487 | inline void QOpenGLFunctions_3_2_Compatibility::glPushName(GLuint name) |
2488 | { |
2489 | d_1_0_Deprecated->f.PushName(name); |
2490 | } |
2491 | |
2492 | inline void QOpenGLFunctions_3_2_Compatibility::glPopName() |
2493 | { |
2494 | d_1_0_Deprecated->f.PopName(); |
2495 | } |
2496 | |
2497 | inline void QOpenGLFunctions_3_2_Compatibility::glPassThrough(GLfloat token) |
2498 | { |
2499 | d_1_0_Deprecated->f.PassThrough(token); |
2500 | } |
2501 | |
2502 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadName(GLuint name) |
2503 | { |
2504 | d_1_0_Deprecated->f.LoadName(name); |
2505 | } |
2506 | |
2507 | inline void QOpenGLFunctions_3_2_Compatibility::glInitNames() |
2508 | { |
2509 | d_1_0_Deprecated->f.InitNames(); |
2510 | } |
2511 | |
2512 | inline GLint QOpenGLFunctions_3_2_Compatibility::glRenderMode(GLenum mode) |
2513 | { |
2514 | return d_1_0_Deprecated->f.RenderMode(mode); |
2515 | } |
2516 | |
2517 | inline void QOpenGLFunctions_3_2_Compatibility::glSelectBuffer(GLsizei size, GLuint *buffer) |
2518 | { |
2519 | d_1_0_Deprecated->f.SelectBuffer(size, buffer); |
2520 | } |
2521 | |
2522 | inline void QOpenGLFunctions_3_2_Compatibility::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
2523 | { |
2524 | d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer); |
2525 | } |
2526 | |
2527 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
2528 | { |
2529 | d_1_0_Deprecated->f.TexGeniv(coord, pname, params); |
2530 | } |
2531 | |
2532 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGeni(GLenum coord, GLenum pname, GLint param) |
2533 | { |
2534 | d_1_0_Deprecated->f.TexGeni(coord, pname, param); |
2535 | } |
2536 | |
2537 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
2538 | { |
2539 | d_1_0_Deprecated->f.TexGenfv(coord, pname, params); |
2540 | } |
2541 | |
2542 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
2543 | { |
2544 | d_1_0_Deprecated->f.TexGenf(coord, pname, param); |
2545 | } |
2546 | |
2547 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
2548 | { |
2549 | d_1_0_Deprecated->f.TexGendv(coord, pname, params); |
2550 | } |
2551 | |
2552 | inline void QOpenGLFunctions_3_2_Compatibility::glTexGend(GLenum coord, GLenum pname, GLdouble param) |
2553 | { |
2554 | d_1_0_Deprecated->f.TexGend(coord, pname, param); |
2555 | } |
2556 | |
2557 | inline void QOpenGLFunctions_3_2_Compatibility::glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
2558 | { |
2559 | d_1_0_Deprecated->f.TexEnviv(target, pname, params); |
2560 | } |
2561 | |
2562 | inline void QOpenGLFunctions_3_2_Compatibility::glTexEnvi(GLenum target, GLenum pname, GLint param) |
2563 | { |
2564 | d_1_0_Deprecated->f.TexEnvi(target, pname, param); |
2565 | } |
2566 | |
2567 | inline void QOpenGLFunctions_3_2_Compatibility::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
2568 | { |
2569 | d_1_0_Deprecated->f.TexEnvfv(target, pname, params); |
2570 | } |
2571 | |
2572 | inline void QOpenGLFunctions_3_2_Compatibility::glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
2573 | { |
2574 | d_1_0_Deprecated->f.TexEnvf(target, pname, param); |
2575 | } |
2576 | |
2577 | inline void QOpenGLFunctions_3_2_Compatibility::glShadeModel(GLenum mode) |
2578 | { |
2579 | d_1_0_Deprecated->f.ShadeModel(mode); |
2580 | } |
2581 | |
2582 | inline void QOpenGLFunctions_3_2_Compatibility::glPolygonStipple(const GLubyte *mask) |
2583 | { |
2584 | d_1_0_Deprecated->f.PolygonStipple(mask); |
2585 | } |
2586 | |
2587 | inline void QOpenGLFunctions_3_2_Compatibility::glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
2588 | { |
2589 | d_1_0_Deprecated->f.Materialiv(face, pname, params); |
2590 | } |
2591 | |
2592 | inline void QOpenGLFunctions_3_2_Compatibility::glMateriali(GLenum face, GLenum pname, GLint param) |
2593 | { |
2594 | d_1_0_Deprecated->f.Materiali(face, pname, param); |
2595 | } |
2596 | |
2597 | inline void QOpenGLFunctions_3_2_Compatibility::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
2598 | { |
2599 | d_1_0_Deprecated->f.Materialfv(face, pname, params); |
2600 | } |
2601 | |
2602 | inline void QOpenGLFunctions_3_2_Compatibility::glMaterialf(GLenum face, GLenum pname, GLfloat param) |
2603 | { |
2604 | d_1_0_Deprecated->f.Materialf(face, pname, param); |
2605 | } |
2606 | |
2607 | inline void QOpenGLFunctions_3_2_Compatibility::glLineStipple(GLint factor, GLushort pattern) |
2608 | { |
2609 | d_1_0_Deprecated->f.LineStipple(factor, pattern); |
2610 | } |
2611 | |
2612 | inline void QOpenGLFunctions_3_2_Compatibility::glLightModeliv(GLenum pname, const GLint *params) |
2613 | { |
2614 | d_1_0_Deprecated->f.LightModeliv(pname, params); |
2615 | } |
2616 | |
2617 | inline void QOpenGLFunctions_3_2_Compatibility::glLightModeli(GLenum pname, GLint param) |
2618 | { |
2619 | d_1_0_Deprecated->f.LightModeli(pname, param); |
2620 | } |
2621 | |
2622 | inline void QOpenGLFunctions_3_2_Compatibility::glLightModelfv(GLenum pname, const GLfloat *params) |
2623 | { |
2624 | d_1_0_Deprecated->f.LightModelfv(pname, params); |
2625 | } |
2626 | |
2627 | inline void QOpenGLFunctions_3_2_Compatibility::glLightModelf(GLenum pname, GLfloat param) |
2628 | { |
2629 | d_1_0_Deprecated->f.LightModelf(pname, param); |
2630 | } |
2631 | |
2632 | inline void QOpenGLFunctions_3_2_Compatibility::glLightiv(GLenum light, GLenum pname, const GLint *params) |
2633 | { |
2634 | d_1_0_Deprecated->f.Lightiv(light, pname, params); |
2635 | } |
2636 | |
2637 | inline void QOpenGLFunctions_3_2_Compatibility::glLighti(GLenum light, GLenum pname, GLint param) |
2638 | { |
2639 | d_1_0_Deprecated->f.Lighti(light, pname, param); |
2640 | } |
2641 | |
2642 | inline void QOpenGLFunctions_3_2_Compatibility::glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
2643 | { |
2644 | d_1_0_Deprecated->f.Lightfv(light, pname, params); |
2645 | } |
2646 | |
2647 | inline void QOpenGLFunctions_3_2_Compatibility::glLightf(GLenum light, GLenum pname, GLfloat param) |
2648 | { |
2649 | d_1_0_Deprecated->f.Lightf(light, pname, param); |
2650 | } |
2651 | |
2652 | inline void QOpenGLFunctions_3_2_Compatibility::glFogiv(GLenum pname, const GLint *params) |
2653 | { |
2654 | d_1_0_Deprecated->f.Fogiv(pname, params); |
2655 | } |
2656 | |
2657 | inline void QOpenGLFunctions_3_2_Compatibility::glFogi(GLenum pname, GLint param) |
2658 | { |
2659 | d_1_0_Deprecated->f.Fogi(pname, param); |
2660 | } |
2661 | |
2662 | inline void QOpenGLFunctions_3_2_Compatibility::glFogfv(GLenum pname, const GLfloat *params) |
2663 | { |
2664 | d_1_0_Deprecated->f.Fogfv(pname, params); |
2665 | } |
2666 | |
2667 | inline void QOpenGLFunctions_3_2_Compatibility::glFogf(GLenum pname, GLfloat param) |
2668 | { |
2669 | d_1_0_Deprecated->f.Fogf(pname, param); |
2670 | } |
2671 | |
2672 | inline void QOpenGLFunctions_3_2_Compatibility::glColorMaterial(GLenum face, GLenum mode) |
2673 | { |
2674 | d_1_0_Deprecated->f.ColorMaterial(face, mode); |
2675 | } |
2676 | |
2677 | inline void QOpenGLFunctions_3_2_Compatibility::glClipPlane(GLenum plane, const GLdouble *equation) |
2678 | { |
2679 | d_1_0_Deprecated->f.ClipPlane(plane, equation); |
2680 | } |
2681 | |
2682 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4sv(const GLshort *v) |
2683 | { |
2684 | d_1_0_Deprecated->f.Vertex4sv(v); |
2685 | } |
2686 | |
2687 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
2688 | { |
2689 | d_1_0_Deprecated->f.Vertex4s(x, y, z, w); |
2690 | } |
2691 | |
2692 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4iv(const GLint *v) |
2693 | { |
2694 | d_1_0_Deprecated->f.Vertex4iv(v); |
2695 | } |
2696 | |
2697 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4i(GLint x, GLint y, GLint z, GLint w) |
2698 | { |
2699 | d_1_0_Deprecated->f.Vertex4i(x, y, z, w); |
2700 | } |
2701 | |
2702 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4fv(const GLfloat *v) |
2703 | { |
2704 | d_1_0_Deprecated->f.Vertex4fv(v); |
2705 | } |
2706 | |
2707 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
2708 | { |
2709 | d_1_0_Deprecated->f.Vertex4f(x, y, z, w); |
2710 | } |
2711 | |
2712 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4dv(const GLdouble *v) |
2713 | { |
2714 | d_1_0_Deprecated->f.Vertex4dv(v); |
2715 | } |
2716 | |
2717 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
2718 | { |
2719 | d_1_0_Deprecated->f.Vertex4d(x, y, z, w); |
2720 | } |
2721 | |
2722 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3sv(const GLshort *v) |
2723 | { |
2724 | d_1_0_Deprecated->f.Vertex3sv(v); |
2725 | } |
2726 | |
2727 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3s(GLshort x, GLshort y, GLshort z) |
2728 | { |
2729 | d_1_0_Deprecated->f.Vertex3s(x, y, z); |
2730 | } |
2731 | |
2732 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3iv(const GLint *v) |
2733 | { |
2734 | d_1_0_Deprecated->f.Vertex3iv(v); |
2735 | } |
2736 | |
2737 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3i(GLint x, GLint y, GLint z) |
2738 | { |
2739 | d_1_0_Deprecated->f.Vertex3i(x, y, z); |
2740 | } |
2741 | |
2742 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3fv(const GLfloat *v) |
2743 | { |
2744 | d_1_0_Deprecated->f.Vertex3fv(v); |
2745 | } |
2746 | |
2747 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
2748 | { |
2749 | d_1_0_Deprecated->f.Vertex3f(x, y, z); |
2750 | } |
2751 | |
2752 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3dv(const GLdouble *v) |
2753 | { |
2754 | d_1_0_Deprecated->f.Vertex3dv(v); |
2755 | } |
2756 | |
2757 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
2758 | { |
2759 | d_1_0_Deprecated->f.Vertex3d(x, y, z); |
2760 | } |
2761 | |
2762 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2sv(const GLshort *v) |
2763 | { |
2764 | d_1_0_Deprecated->f.Vertex2sv(v); |
2765 | } |
2766 | |
2767 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2s(GLshort x, GLshort y) |
2768 | { |
2769 | d_1_0_Deprecated->f.Vertex2s(x, y); |
2770 | } |
2771 | |
2772 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2iv(const GLint *v) |
2773 | { |
2774 | d_1_0_Deprecated->f.Vertex2iv(v); |
2775 | } |
2776 | |
2777 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2i(GLint x, GLint y) |
2778 | { |
2779 | d_1_0_Deprecated->f.Vertex2i(x, y); |
2780 | } |
2781 | |
2782 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2fv(const GLfloat *v) |
2783 | { |
2784 | d_1_0_Deprecated->f.Vertex2fv(v); |
2785 | } |
2786 | |
2787 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2f(GLfloat x, GLfloat y) |
2788 | { |
2789 | d_1_0_Deprecated->f.Vertex2f(x, y); |
2790 | } |
2791 | |
2792 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2dv(const GLdouble *v) |
2793 | { |
2794 | d_1_0_Deprecated->f.Vertex2dv(v); |
2795 | } |
2796 | |
2797 | inline void QOpenGLFunctions_3_2_Compatibility::glVertex2d(GLdouble x, GLdouble y) |
2798 | { |
2799 | d_1_0_Deprecated->f.Vertex2d(x, y); |
2800 | } |
2801 | |
2802 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4sv(const GLshort *v) |
2803 | { |
2804 | d_1_0_Deprecated->f.TexCoord4sv(v); |
2805 | } |
2806 | |
2807 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
2808 | { |
2809 | d_1_0_Deprecated->f.TexCoord4s(s, t, r, q); |
2810 | } |
2811 | |
2812 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4iv(const GLint *v) |
2813 | { |
2814 | d_1_0_Deprecated->f.TexCoord4iv(v); |
2815 | } |
2816 | |
2817 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
2818 | { |
2819 | d_1_0_Deprecated->f.TexCoord4i(s, t, r, q); |
2820 | } |
2821 | |
2822 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4fv(const GLfloat *v) |
2823 | { |
2824 | d_1_0_Deprecated->f.TexCoord4fv(v); |
2825 | } |
2826 | |
2827 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
2828 | { |
2829 | d_1_0_Deprecated->f.TexCoord4f(s, t, r, q); |
2830 | } |
2831 | |
2832 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4dv(const GLdouble *v) |
2833 | { |
2834 | d_1_0_Deprecated->f.TexCoord4dv(v); |
2835 | } |
2836 | |
2837 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
2838 | { |
2839 | d_1_0_Deprecated->f.TexCoord4d(s, t, r, q); |
2840 | } |
2841 | |
2842 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3sv(const GLshort *v) |
2843 | { |
2844 | d_1_0_Deprecated->f.TexCoord3sv(v); |
2845 | } |
2846 | |
2847 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3s(GLshort s, GLshort t, GLshort r) |
2848 | { |
2849 | d_1_0_Deprecated->f.TexCoord3s(s, t, r); |
2850 | } |
2851 | |
2852 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3iv(const GLint *v) |
2853 | { |
2854 | d_1_0_Deprecated->f.TexCoord3iv(v); |
2855 | } |
2856 | |
2857 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3i(GLint s, GLint t, GLint r) |
2858 | { |
2859 | d_1_0_Deprecated->f.TexCoord3i(s, t, r); |
2860 | } |
2861 | |
2862 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3fv(const GLfloat *v) |
2863 | { |
2864 | d_1_0_Deprecated->f.TexCoord3fv(v); |
2865 | } |
2866 | |
2867 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
2868 | { |
2869 | d_1_0_Deprecated->f.TexCoord3f(s, t, r); |
2870 | } |
2871 | |
2872 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3dv(const GLdouble *v) |
2873 | { |
2874 | d_1_0_Deprecated->f.TexCoord3dv(v); |
2875 | } |
2876 | |
2877 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
2878 | { |
2879 | d_1_0_Deprecated->f.TexCoord3d(s, t, r); |
2880 | } |
2881 | |
2882 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2sv(const GLshort *v) |
2883 | { |
2884 | d_1_0_Deprecated->f.TexCoord2sv(v); |
2885 | } |
2886 | |
2887 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2s(GLshort s, GLshort t) |
2888 | { |
2889 | d_1_0_Deprecated->f.TexCoord2s(s, t); |
2890 | } |
2891 | |
2892 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2iv(const GLint *v) |
2893 | { |
2894 | d_1_0_Deprecated->f.TexCoord2iv(v); |
2895 | } |
2896 | |
2897 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2i(GLint s, GLint t) |
2898 | { |
2899 | d_1_0_Deprecated->f.TexCoord2i(s, t); |
2900 | } |
2901 | |
2902 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2fv(const GLfloat *v) |
2903 | { |
2904 | d_1_0_Deprecated->f.TexCoord2fv(v); |
2905 | } |
2906 | |
2907 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2f(GLfloat s, GLfloat t) |
2908 | { |
2909 | d_1_0_Deprecated->f.TexCoord2f(s, t); |
2910 | } |
2911 | |
2912 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2dv(const GLdouble *v) |
2913 | { |
2914 | d_1_0_Deprecated->f.TexCoord2dv(v); |
2915 | } |
2916 | |
2917 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord2d(GLdouble s, GLdouble t) |
2918 | { |
2919 | d_1_0_Deprecated->f.TexCoord2d(s, t); |
2920 | } |
2921 | |
2922 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1sv(const GLshort *v) |
2923 | { |
2924 | d_1_0_Deprecated->f.TexCoord1sv(v); |
2925 | } |
2926 | |
2927 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1s(GLshort s) |
2928 | { |
2929 | d_1_0_Deprecated->f.TexCoord1s(s); |
2930 | } |
2931 | |
2932 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1iv(const GLint *v) |
2933 | { |
2934 | d_1_0_Deprecated->f.TexCoord1iv(v); |
2935 | } |
2936 | |
2937 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1i(GLint s) |
2938 | { |
2939 | d_1_0_Deprecated->f.TexCoord1i(s); |
2940 | } |
2941 | |
2942 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1fv(const GLfloat *v) |
2943 | { |
2944 | d_1_0_Deprecated->f.TexCoord1fv(v); |
2945 | } |
2946 | |
2947 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1f(GLfloat s) |
2948 | { |
2949 | d_1_0_Deprecated->f.TexCoord1f(s); |
2950 | } |
2951 | |
2952 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1dv(const GLdouble *v) |
2953 | { |
2954 | d_1_0_Deprecated->f.TexCoord1dv(v); |
2955 | } |
2956 | |
2957 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoord1d(GLdouble s) |
2958 | { |
2959 | d_1_0_Deprecated->f.TexCoord1d(s); |
2960 | } |
2961 | |
2962 | inline void QOpenGLFunctions_3_2_Compatibility::glRectsv(const GLshort *v1, const GLshort *v2) |
2963 | { |
2964 | d_1_0_Deprecated->f.Rectsv(v1, v2); |
2965 | } |
2966 | |
2967 | inline void QOpenGLFunctions_3_2_Compatibility::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
2968 | { |
2969 | d_1_0_Deprecated->f.Rects(x1, y1, x2, y2); |
2970 | } |
2971 | |
2972 | inline void QOpenGLFunctions_3_2_Compatibility::glRectiv(const GLint *v1, const GLint *v2) |
2973 | { |
2974 | d_1_0_Deprecated->f.Rectiv(v1, v2); |
2975 | } |
2976 | |
2977 | inline void QOpenGLFunctions_3_2_Compatibility::glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
2978 | { |
2979 | d_1_0_Deprecated->f.Recti(x1, y1, x2, y2); |
2980 | } |
2981 | |
2982 | inline void QOpenGLFunctions_3_2_Compatibility::glRectfv(const GLfloat *v1, const GLfloat *v2) |
2983 | { |
2984 | d_1_0_Deprecated->f.Rectfv(v1, v2); |
2985 | } |
2986 | |
2987 | inline void QOpenGLFunctions_3_2_Compatibility::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
2988 | { |
2989 | d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2); |
2990 | } |
2991 | |
2992 | inline void QOpenGLFunctions_3_2_Compatibility::glRectdv(const GLdouble *v1, const GLdouble *v2) |
2993 | { |
2994 | d_1_0_Deprecated->f.Rectdv(v1, v2); |
2995 | } |
2996 | |
2997 | inline void QOpenGLFunctions_3_2_Compatibility::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
2998 | { |
2999 | d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2); |
3000 | } |
3001 | |
3002 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4sv(const GLshort *v) |
3003 | { |
3004 | d_1_0_Deprecated->f.RasterPos4sv(v); |
3005 | } |
3006 | |
3007 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
3008 | { |
3009 | d_1_0_Deprecated->f.RasterPos4s(x, y, z, w); |
3010 | } |
3011 | |
3012 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4iv(const GLint *v) |
3013 | { |
3014 | d_1_0_Deprecated->f.RasterPos4iv(v); |
3015 | } |
3016 | |
3017 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
3018 | { |
3019 | d_1_0_Deprecated->f.RasterPos4i(x, y, z, w); |
3020 | } |
3021 | |
3022 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4fv(const GLfloat *v) |
3023 | { |
3024 | d_1_0_Deprecated->f.RasterPos4fv(v); |
3025 | } |
3026 | |
3027 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
3028 | { |
3029 | d_1_0_Deprecated->f.RasterPos4f(x, y, z, w); |
3030 | } |
3031 | |
3032 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4dv(const GLdouble *v) |
3033 | { |
3034 | d_1_0_Deprecated->f.RasterPos4dv(v); |
3035 | } |
3036 | |
3037 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
3038 | { |
3039 | d_1_0_Deprecated->f.RasterPos4d(x, y, z, w); |
3040 | } |
3041 | |
3042 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3sv(const GLshort *v) |
3043 | { |
3044 | d_1_0_Deprecated->f.RasterPos3sv(v); |
3045 | } |
3046 | |
3047 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3s(GLshort x, GLshort y, GLshort z) |
3048 | { |
3049 | d_1_0_Deprecated->f.RasterPos3s(x, y, z); |
3050 | } |
3051 | |
3052 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3iv(const GLint *v) |
3053 | { |
3054 | d_1_0_Deprecated->f.RasterPos3iv(v); |
3055 | } |
3056 | |
3057 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3i(GLint x, GLint y, GLint z) |
3058 | { |
3059 | d_1_0_Deprecated->f.RasterPos3i(x, y, z); |
3060 | } |
3061 | |
3062 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3fv(const GLfloat *v) |
3063 | { |
3064 | d_1_0_Deprecated->f.RasterPos3fv(v); |
3065 | } |
3066 | |
3067 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
3068 | { |
3069 | d_1_0_Deprecated->f.RasterPos3f(x, y, z); |
3070 | } |
3071 | |
3072 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3dv(const GLdouble *v) |
3073 | { |
3074 | d_1_0_Deprecated->f.RasterPos3dv(v); |
3075 | } |
3076 | |
3077 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
3078 | { |
3079 | d_1_0_Deprecated->f.RasterPos3d(x, y, z); |
3080 | } |
3081 | |
3082 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2sv(const GLshort *v) |
3083 | { |
3084 | d_1_0_Deprecated->f.RasterPos2sv(v); |
3085 | } |
3086 | |
3087 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2s(GLshort x, GLshort y) |
3088 | { |
3089 | d_1_0_Deprecated->f.RasterPos2s(x, y); |
3090 | } |
3091 | |
3092 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2iv(const GLint *v) |
3093 | { |
3094 | d_1_0_Deprecated->f.RasterPos2iv(v); |
3095 | } |
3096 | |
3097 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2i(GLint x, GLint y) |
3098 | { |
3099 | d_1_0_Deprecated->f.RasterPos2i(x, y); |
3100 | } |
3101 | |
3102 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2fv(const GLfloat *v) |
3103 | { |
3104 | d_1_0_Deprecated->f.RasterPos2fv(v); |
3105 | } |
3106 | |
3107 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2f(GLfloat x, GLfloat y) |
3108 | { |
3109 | d_1_0_Deprecated->f.RasterPos2f(x, y); |
3110 | } |
3111 | |
3112 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2dv(const GLdouble *v) |
3113 | { |
3114 | d_1_0_Deprecated->f.RasterPos2dv(v); |
3115 | } |
3116 | |
3117 | inline void QOpenGLFunctions_3_2_Compatibility::glRasterPos2d(GLdouble x, GLdouble y) |
3118 | { |
3119 | d_1_0_Deprecated->f.RasterPos2d(x, y); |
3120 | } |
3121 | |
3122 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3sv(const GLshort *v) |
3123 | { |
3124 | d_1_0_Deprecated->f.Normal3sv(v); |
3125 | } |
3126 | |
3127 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
3128 | { |
3129 | d_1_0_Deprecated->f.Normal3s(nx, ny, nz); |
3130 | } |
3131 | |
3132 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3iv(const GLint *v) |
3133 | { |
3134 | d_1_0_Deprecated->f.Normal3iv(v); |
3135 | } |
3136 | |
3137 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3i(GLint nx, GLint ny, GLint nz) |
3138 | { |
3139 | d_1_0_Deprecated->f.Normal3i(nx, ny, nz); |
3140 | } |
3141 | |
3142 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3fv(const GLfloat *v) |
3143 | { |
3144 | d_1_0_Deprecated->f.Normal3fv(v); |
3145 | } |
3146 | |
3147 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
3148 | { |
3149 | d_1_0_Deprecated->f.Normal3f(nx, ny, nz); |
3150 | } |
3151 | |
3152 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3dv(const GLdouble *v) |
3153 | { |
3154 | d_1_0_Deprecated->f.Normal3dv(v); |
3155 | } |
3156 | |
3157 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
3158 | { |
3159 | d_1_0_Deprecated->f.Normal3d(nx, ny, nz); |
3160 | } |
3161 | |
3162 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3bv(const GLbyte *v) |
3163 | { |
3164 | d_1_0_Deprecated->f.Normal3bv(v); |
3165 | } |
3166 | |
3167 | inline void QOpenGLFunctions_3_2_Compatibility::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
3168 | { |
3169 | d_1_0_Deprecated->f.Normal3b(nx, ny, nz); |
3170 | } |
3171 | |
3172 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexsv(const GLshort *c) |
3173 | { |
3174 | d_1_0_Deprecated->f.Indexsv(c); |
3175 | } |
3176 | |
3177 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexs(GLshort c) |
3178 | { |
3179 | d_1_0_Deprecated->f.Indexs(c); |
3180 | } |
3181 | |
3182 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexiv(const GLint *c) |
3183 | { |
3184 | d_1_0_Deprecated->f.Indexiv(c); |
3185 | } |
3186 | |
3187 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexi(GLint c) |
3188 | { |
3189 | d_1_0_Deprecated->f.Indexi(c); |
3190 | } |
3191 | |
3192 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexfv(const GLfloat *c) |
3193 | { |
3194 | d_1_0_Deprecated->f.Indexfv(c); |
3195 | } |
3196 | |
3197 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexf(GLfloat c) |
3198 | { |
3199 | d_1_0_Deprecated->f.Indexf(c); |
3200 | } |
3201 | |
3202 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexdv(const GLdouble *c) |
3203 | { |
3204 | d_1_0_Deprecated->f.Indexdv(c); |
3205 | } |
3206 | |
3207 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexd(GLdouble c) |
3208 | { |
3209 | d_1_0_Deprecated->f.Indexd(c); |
3210 | } |
3211 | |
3212 | inline void QOpenGLFunctions_3_2_Compatibility::glEnd() |
3213 | { |
3214 | d_1_0_Deprecated->f.End(); |
3215 | } |
3216 | |
3217 | inline void QOpenGLFunctions_3_2_Compatibility::glEdgeFlagv(const GLboolean *flag) |
3218 | { |
3219 | d_1_0_Deprecated->f.EdgeFlagv(flag); |
3220 | } |
3221 | |
3222 | inline void QOpenGLFunctions_3_2_Compatibility::glEdgeFlag(GLboolean flag) |
3223 | { |
3224 | d_1_0_Deprecated->f.EdgeFlag(flag); |
3225 | } |
3226 | |
3227 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4usv(const GLushort *v) |
3228 | { |
3229 | d_1_0_Deprecated->f.Color4usv(v); |
3230 | } |
3231 | |
3232 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
3233 | { |
3234 | d_1_0_Deprecated->f.Color4us(red, green, blue, alpha); |
3235 | } |
3236 | |
3237 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4uiv(const GLuint *v) |
3238 | { |
3239 | d_1_0_Deprecated->f.Color4uiv(v); |
3240 | } |
3241 | |
3242 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
3243 | { |
3244 | d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha); |
3245 | } |
3246 | |
3247 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4ubv(const GLubyte *v) |
3248 | { |
3249 | d_1_0_Deprecated->f.Color4ubv(v); |
3250 | } |
3251 | |
3252 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
3253 | { |
3254 | d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha); |
3255 | } |
3256 | |
3257 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4sv(const GLshort *v) |
3258 | { |
3259 | d_1_0_Deprecated->f.Color4sv(v); |
3260 | } |
3261 | |
3262 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
3263 | { |
3264 | d_1_0_Deprecated->f.Color4s(red, green, blue, alpha); |
3265 | } |
3266 | |
3267 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4iv(const GLint *v) |
3268 | { |
3269 | d_1_0_Deprecated->f.Color4iv(v); |
3270 | } |
3271 | |
3272 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
3273 | { |
3274 | d_1_0_Deprecated->f.Color4i(red, green, blue, alpha); |
3275 | } |
3276 | |
3277 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4fv(const GLfloat *v) |
3278 | { |
3279 | d_1_0_Deprecated->f.Color4fv(v); |
3280 | } |
3281 | |
3282 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
3283 | { |
3284 | d_1_0_Deprecated->f.Color4f(red, green, blue, alpha); |
3285 | } |
3286 | |
3287 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4dv(const GLdouble *v) |
3288 | { |
3289 | d_1_0_Deprecated->f.Color4dv(v); |
3290 | } |
3291 | |
3292 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
3293 | { |
3294 | d_1_0_Deprecated->f.Color4d(red, green, blue, alpha); |
3295 | } |
3296 | |
3297 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4bv(const GLbyte *v) |
3298 | { |
3299 | d_1_0_Deprecated->f.Color4bv(v); |
3300 | } |
3301 | |
3302 | inline void QOpenGLFunctions_3_2_Compatibility::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
3303 | { |
3304 | d_1_0_Deprecated->f.Color4b(red, green, blue, alpha); |
3305 | } |
3306 | |
3307 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3usv(const GLushort *v) |
3308 | { |
3309 | d_1_0_Deprecated->f.Color3usv(v); |
3310 | } |
3311 | |
3312 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3us(GLushort red, GLushort green, GLushort blue) |
3313 | { |
3314 | d_1_0_Deprecated->f.Color3us(red, green, blue); |
3315 | } |
3316 | |
3317 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3uiv(const GLuint *v) |
3318 | { |
3319 | d_1_0_Deprecated->f.Color3uiv(v); |
3320 | } |
3321 | |
3322 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3ui(GLuint red, GLuint green, GLuint blue) |
3323 | { |
3324 | d_1_0_Deprecated->f.Color3ui(red, green, blue); |
3325 | } |
3326 | |
3327 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3ubv(const GLubyte *v) |
3328 | { |
3329 | d_1_0_Deprecated->f.Color3ubv(v); |
3330 | } |
3331 | |
3332 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
3333 | { |
3334 | d_1_0_Deprecated->f.Color3ub(red, green, blue); |
3335 | } |
3336 | |
3337 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3sv(const GLshort *v) |
3338 | { |
3339 | d_1_0_Deprecated->f.Color3sv(v); |
3340 | } |
3341 | |
3342 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3s(GLshort red, GLshort green, GLshort blue) |
3343 | { |
3344 | d_1_0_Deprecated->f.Color3s(red, green, blue); |
3345 | } |
3346 | |
3347 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3iv(const GLint *v) |
3348 | { |
3349 | d_1_0_Deprecated->f.Color3iv(v); |
3350 | } |
3351 | |
3352 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3i(GLint red, GLint green, GLint blue) |
3353 | { |
3354 | d_1_0_Deprecated->f.Color3i(red, green, blue); |
3355 | } |
3356 | |
3357 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3fv(const GLfloat *v) |
3358 | { |
3359 | d_1_0_Deprecated->f.Color3fv(v); |
3360 | } |
3361 | |
3362 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
3363 | { |
3364 | d_1_0_Deprecated->f.Color3f(red, green, blue); |
3365 | } |
3366 | |
3367 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3dv(const GLdouble *v) |
3368 | { |
3369 | d_1_0_Deprecated->f.Color3dv(v); |
3370 | } |
3371 | |
3372 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
3373 | { |
3374 | d_1_0_Deprecated->f.Color3d(red, green, blue); |
3375 | } |
3376 | |
3377 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3bv(const GLbyte *v) |
3378 | { |
3379 | d_1_0_Deprecated->f.Color3bv(v); |
3380 | } |
3381 | |
3382 | inline void QOpenGLFunctions_3_2_Compatibility::glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
3383 | { |
3384 | d_1_0_Deprecated->f.Color3b(red, green, blue); |
3385 | } |
3386 | |
3387 | inline void QOpenGLFunctions_3_2_Compatibility::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
3388 | { |
3389 | d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap); |
3390 | } |
3391 | |
3392 | inline void QOpenGLFunctions_3_2_Compatibility::glBegin(GLenum mode) |
3393 | { |
3394 | d_1_0_Deprecated->f.Begin(mode); |
3395 | } |
3396 | |
3397 | inline void QOpenGLFunctions_3_2_Compatibility::glListBase(GLuint base) |
3398 | { |
3399 | d_1_0_Deprecated->f.ListBase(base); |
3400 | } |
3401 | |
3402 | inline GLuint QOpenGLFunctions_3_2_Compatibility::glGenLists(GLsizei range) |
3403 | { |
3404 | return d_1_0_Deprecated->f.GenLists(range); |
3405 | } |
3406 | |
3407 | inline void QOpenGLFunctions_3_2_Compatibility::glDeleteLists(GLuint list, GLsizei range) |
3408 | { |
3409 | d_1_0_Deprecated->f.DeleteLists(list, range); |
3410 | } |
3411 | |
3412 | inline void QOpenGLFunctions_3_2_Compatibility::glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
3413 | { |
3414 | d_1_0_Deprecated->f.CallLists(n, type, lists); |
3415 | } |
3416 | |
3417 | inline void QOpenGLFunctions_3_2_Compatibility::glCallList(GLuint list) |
3418 | { |
3419 | d_1_0_Deprecated->f.CallList(list); |
3420 | } |
3421 | |
3422 | inline void QOpenGLFunctions_3_2_Compatibility::glEndList() |
3423 | { |
3424 | d_1_0_Deprecated->f.EndList(); |
3425 | } |
3426 | |
3427 | inline void QOpenGLFunctions_3_2_Compatibility::glNewList(GLuint list, GLenum mode) |
3428 | { |
3429 | d_1_0_Deprecated->f.NewList(list, mode); |
3430 | } |
3431 | |
3432 | |
3433 | // OpenGL 1.1 deprecated functions |
3434 | inline void QOpenGLFunctions_3_2_Compatibility::glPushClientAttrib(GLbitfield mask) |
3435 | { |
3436 | d_1_1_Deprecated->f.PushClientAttrib(mask); |
3437 | } |
3438 | |
3439 | inline void QOpenGLFunctions_3_2_Compatibility::glPopClientAttrib() |
3440 | { |
3441 | d_1_1_Deprecated->f.PopClientAttrib(); |
3442 | } |
3443 | |
3444 | inline void QOpenGLFunctions_3_2_Compatibility::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities) |
3445 | { |
3446 | d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities); |
3447 | } |
3448 | |
3449 | inline GLboolean QOpenGLFunctions_3_2_Compatibility::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
3450 | { |
3451 | return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences); |
3452 | } |
3453 | |
3454 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
3455 | { |
3456 | d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer); |
3457 | } |
3458 | |
3459 | inline void QOpenGLFunctions_3_2_Compatibility::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
3460 | { |
3461 | d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer); |
3462 | } |
3463 | |
3464 | inline void QOpenGLFunctions_3_2_Compatibility::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
3465 | { |
3466 | d_1_1_Deprecated->f.NormalPointer(type, stride, pointer); |
3467 | } |
3468 | |
3469 | inline void QOpenGLFunctions_3_2_Compatibility::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
3470 | { |
3471 | d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer); |
3472 | } |
3473 | |
3474 | inline void QOpenGLFunctions_3_2_Compatibility::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
3475 | { |
3476 | d_1_1_Deprecated->f.IndexPointer(type, stride, pointer); |
3477 | } |
3478 | |
3479 | inline void QOpenGLFunctions_3_2_Compatibility::glEnableClientState(GLenum array) |
3480 | { |
3481 | d_1_1_Deprecated->f.EnableClientState(array); |
3482 | } |
3483 | |
3484 | inline void QOpenGLFunctions_3_2_Compatibility::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer) |
3485 | { |
3486 | d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer); |
3487 | } |
3488 | |
3489 | inline void QOpenGLFunctions_3_2_Compatibility::glDisableClientState(GLenum array) |
3490 | { |
3491 | d_1_1_Deprecated->f.DisableClientState(array); |
3492 | } |
3493 | |
3494 | inline void QOpenGLFunctions_3_2_Compatibility::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
3495 | { |
3496 | d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer); |
3497 | } |
3498 | |
3499 | inline void QOpenGLFunctions_3_2_Compatibility::glArrayElement(GLint i) |
3500 | { |
3501 | d_1_1_Deprecated->f.ArrayElement(i); |
3502 | } |
3503 | |
3504 | |
3505 | // OpenGL 1.2 deprecated functions |
3506 | inline void QOpenGLFunctions_3_2_Compatibility::glResetMinmax(GLenum target) |
3507 | { |
3508 | d_1_2_Deprecated->f.ResetMinmax(target); |
3509 | } |
3510 | |
3511 | inline void QOpenGLFunctions_3_2_Compatibility::glResetHistogram(GLenum target) |
3512 | { |
3513 | d_1_2_Deprecated->f.ResetHistogram(target); |
3514 | } |
3515 | |
3516 | inline void QOpenGLFunctions_3_2_Compatibility::glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
3517 | { |
3518 | d_1_2_Deprecated->f.Minmax(target, internalformat, sink); |
3519 | } |
3520 | |
3521 | inline void QOpenGLFunctions_3_2_Compatibility::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
3522 | { |
3523 | d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink); |
3524 | } |
3525 | |
3526 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
3527 | { |
3528 | d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params); |
3529 | } |
3530 | |
3531 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
3532 | { |
3533 | d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params); |
3534 | } |
3535 | |
3536 | inline void QOpenGLFunctions_3_2_Compatibility::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
3537 | { |
3538 | d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values); |
3539 | } |
3540 | |
3541 | inline void QOpenGLFunctions_3_2_Compatibility::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
3542 | { |
3543 | d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params); |
3544 | } |
3545 | |
3546 | inline void QOpenGLFunctions_3_2_Compatibility::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
3547 | { |
3548 | d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params); |
3549 | } |
3550 | |
3551 | inline void QOpenGLFunctions_3_2_Compatibility::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
3552 | { |
3553 | d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values); |
3554 | } |
3555 | |
3556 | inline void QOpenGLFunctions_3_2_Compatibility::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
3557 | { |
3558 | d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column); |
3559 | } |
3560 | |
3561 | inline void QOpenGLFunctions_3_2_Compatibility::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
3562 | { |
3563 | d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span); |
3564 | } |
3565 | |
3566 | inline void QOpenGLFunctions_3_2_Compatibility::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
3567 | { |
3568 | d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params); |
3569 | } |
3570 | |
3571 | inline void QOpenGLFunctions_3_2_Compatibility::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
3572 | { |
3573 | d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params); |
3574 | } |
3575 | |
3576 | inline void QOpenGLFunctions_3_2_Compatibility::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
3577 | { |
3578 | d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image); |
3579 | } |
3580 | |
3581 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
3582 | { |
3583 | d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height); |
3584 | } |
3585 | |
3586 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
3587 | { |
3588 | d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width); |
3589 | } |
3590 | |
3591 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
3592 | { |
3593 | d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params); |
3594 | } |
3595 | |
3596 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
3597 | { |
3598 | d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params); |
3599 | } |
3600 | |
3601 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
3602 | { |
3603 | d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params); |
3604 | } |
3605 | |
3606 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
3607 | { |
3608 | d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params); |
3609 | } |
3610 | |
3611 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
3612 | { |
3613 | d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image); |
3614 | } |
3615 | |
3616 | inline void QOpenGLFunctions_3_2_Compatibility::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
3617 | { |
3618 | d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image); |
3619 | } |
3620 | |
3621 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
3622 | { |
3623 | d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width); |
3624 | } |
3625 | |
3626 | inline void QOpenGLFunctions_3_2_Compatibility::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
3627 | { |
3628 | d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data); |
3629 | } |
3630 | |
3631 | inline void QOpenGLFunctions_3_2_Compatibility::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
3632 | { |
3633 | d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params); |
3634 | } |
3635 | |
3636 | inline void QOpenGLFunctions_3_2_Compatibility::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
3637 | { |
3638 | d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params); |
3639 | } |
3640 | |
3641 | inline void QOpenGLFunctions_3_2_Compatibility::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
3642 | { |
3643 | d_1_2_Deprecated->f.GetColorTable(target, format, type, table); |
3644 | } |
3645 | |
3646 | inline void QOpenGLFunctions_3_2_Compatibility::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
3647 | { |
3648 | d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width); |
3649 | } |
3650 | |
3651 | inline void QOpenGLFunctions_3_2_Compatibility::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
3652 | { |
3653 | d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params); |
3654 | } |
3655 | |
3656 | inline void QOpenGLFunctions_3_2_Compatibility::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
3657 | { |
3658 | d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params); |
3659 | } |
3660 | |
3661 | inline void QOpenGLFunctions_3_2_Compatibility::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
3662 | { |
3663 | d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table); |
3664 | } |
3665 | |
3666 | |
3667 | // OpenGL 1.3 deprecated functions |
3668 | inline void QOpenGLFunctions_3_2_Compatibility::glMultTransposeMatrixd(const GLdouble *m) |
3669 | { |
3670 | d_1_3_Deprecated->f.MultTransposeMatrixd(m); |
3671 | } |
3672 | |
3673 | inline void QOpenGLFunctions_3_2_Compatibility::glMultTransposeMatrixf(const GLfloat *m) |
3674 | { |
3675 | d_1_3_Deprecated->f.MultTransposeMatrixf(m); |
3676 | } |
3677 | |
3678 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadTransposeMatrixd(const GLdouble *m) |
3679 | { |
3680 | d_1_3_Deprecated->f.LoadTransposeMatrixd(m); |
3681 | } |
3682 | |
3683 | inline void QOpenGLFunctions_3_2_Compatibility::glLoadTransposeMatrixf(const GLfloat *m) |
3684 | { |
3685 | d_1_3_Deprecated->f.LoadTransposeMatrixf(m); |
3686 | } |
3687 | |
3688 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4sv(GLenum target, const GLshort *v) |
3689 | { |
3690 | d_1_3_Deprecated->f.MultiTexCoord4sv(target, v); |
3691 | } |
3692 | |
3693 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
3694 | { |
3695 | d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q); |
3696 | } |
3697 | |
3698 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4iv(GLenum target, const GLint *v) |
3699 | { |
3700 | d_1_3_Deprecated->f.MultiTexCoord4iv(target, v); |
3701 | } |
3702 | |
3703 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) |
3704 | { |
3705 | d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q); |
3706 | } |
3707 | |
3708 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4fv(GLenum target, const GLfloat *v) |
3709 | { |
3710 | d_1_3_Deprecated->f.MultiTexCoord4fv(target, v); |
3711 | } |
3712 | |
3713 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
3714 | { |
3715 | d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q); |
3716 | } |
3717 | |
3718 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4dv(GLenum target, const GLdouble *v) |
3719 | { |
3720 | d_1_3_Deprecated->f.MultiTexCoord4dv(target, v); |
3721 | } |
3722 | |
3723 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
3724 | { |
3725 | d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q); |
3726 | } |
3727 | |
3728 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3sv(GLenum target, const GLshort *v) |
3729 | { |
3730 | d_1_3_Deprecated->f.MultiTexCoord3sv(target, v); |
3731 | } |
3732 | |
3733 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) |
3734 | { |
3735 | d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r); |
3736 | } |
3737 | |
3738 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3iv(GLenum target, const GLint *v) |
3739 | { |
3740 | d_1_3_Deprecated->f.MultiTexCoord3iv(target, v); |
3741 | } |
3742 | |
3743 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) |
3744 | { |
3745 | d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r); |
3746 | } |
3747 | |
3748 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3fv(GLenum target, const GLfloat *v) |
3749 | { |
3750 | d_1_3_Deprecated->f.MultiTexCoord3fv(target, v); |
3751 | } |
3752 | |
3753 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
3754 | { |
3755 | d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r); |
3756 | } |
3757 | |
3758 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3dv(GLenum target, const GLdouble *v) |
3759 | { |
3760 | d_1_3_Deprecated->f.MultiTexCoord3dv(target, v); |
3761 | } |
3762 | |
3763 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
3764 | { |
3765 | d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r); |
3766 | } |
3767 | |
3768 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2sv(GLenum target, const GLshort *v) |
3769 | { |
3770 | d_1_3_Deprecated->f.MultiTexCoord2sv(target, v); |
3771 | } |
3772 | |
3773 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) |
3774 | { |
3775 | d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t); |
3776 | } |
3777 | |
3778 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2iv(GLenum target, const GLint *v) |
3779 | { |
3780 | d_1_3_Deprecated->f.MultiTexCoord2iv(target, v); |
3781 | } |
3782 | |
3783 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2i(GLenum target, GLint s, GLint t) |
3784 | { |
3785 | d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t); |
3786 | } |
3787 | |
3788 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2fv(GLenum target, const GLfloat *v) |
3789 | { |
3790 | d_1_3_Deprecated->f.MultiTexCoord2fv(target, v); |
3791 | } |
3792 | |
3793 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) |
3794 | { |
3795 | d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t); |
3796 | } |
3797 | |
3798 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2dv(GLenum target, const GLdouble *v) |
3799 | { |
3800 | d_1_3_Deprecated->f.MultiTexCoord2dv(target, v); |
3801 | } |
3802 | |
3803 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) |
3804 | { |
3805 | d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t); |
3806 | } |
3807 | |
3808 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1sv(GLenum target, const GLshort *v) |
3809 | { |
3810 | d_1_3_Deprecated->f.MultiTexCoord1sv(target, v); |
3811 | } |
3812 | |
3813 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1s(GLenum target, GLshort s) |
3814 | { |
3815 | d_1_3_Deprecated->f.MultiTexCoord1s(target, s); |
3816 | } |
3817 | |
3818 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1iv(GLenum target, const GLint *v) |
3819 | { |
3820 | d_1_3_Deprecated->f.MultiTexCoord1iv(target, v); |
3821 | } |
3822 | |
3823 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1i(GLenum target, GLint s) |
3824 | { |
3825 | d_1_3_Deprecated->f.MultiTexCoord1i(target, s); |
3826 | } |
3827 | |
3828 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1fv(GLenum target, const GLfloat *v) |
3829 | { |
3830 | d_1_3_Deprecated->f.MultiTexCoord1fv(target, v); |
3831 | } |
3832 | |
3833 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1f(GLenum target, GLfloat s) |
3834 | { |
3835 | d_1_3_Deprecated->f.MultiTexCoord1f(target, s); |
3836 | } |
3837 | |
3838 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1dv(GLenum target, const GLdouble *v) |
3839 | { |
3840 | d_1_3_Deprecated->f.MultiTexCoord1dv(target, v); |
3841 | } |
3842 | |
3843 | inline void QOpenGLFunctions_3_2_Compatibility::glMultiTexCoord1d(GLenum target, GLdouble s) |
3844 | { |
3845 | d_1_3_Deprecated->f.MultiTexCoord1d(target, s); |
3846 | } |
3847 | |
3848 | inline void QOpenGLFunctions_3_2_Compatibility::glClientActiveTexture(GLenum texture) |
3849 | { |
3850 | d_1_3_Deprecated->f.ClientActiveTexture(texture); |
3851 | } |
3852 | |
3853 | |
3854 | // OpenGL 1.4 deprecated functions |
3855 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3sv(const GLshort *v) |
3856 | { |
3857 | d_1_4_Deprecated->f.WindowPos3sv(v); |
3858 | } |
3859 | |
3860 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3s(GLshort x, GLshort y, GLshort z) |
3861 | { |
3862 | d_1_4_Deprecated->f.WindowPos3s(x, y, z); |
3863 | } |
3864 | |
3865 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3iv(const GLint *v) |
3866 | { |
3867 | d_1_4_Deprecated->f.WindowPos3iv(v); |
3868 | } |
3869 | |
3870 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3i(GLint x, GLint y, GLint z) |
3871 | { |
3872 | d_1_4_Deprecated->f.WindowPos3i(x, y, z); |
3873 | } |
3874 | |
3875 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3fv(const GLfloat *v) |
3876 | { |
3877 | d_1_4_Deprecated->f.WindowPos3fv(v); |
3878 | } |
3879 | |
3880 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) |
3881 | { |
3882 | d_1_4_Deprecated->f.WindowPos3f(x, y, z); |
3883 | } |
3884 | |
3885 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3dv(const GLdouble *v) |
3886 | { |
3887 | d_1_4_Deprecated->f.WindowPos3dv(v); |
3888 | } |
3889 | |
3890 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) |
3891 | { |
3892 | d_1_4_Deprecated->f.WindowPos3d(x, y, z); |
3893 | } |
3894 | |
3895 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2sv(const GLshort *v) |
3896 | { |
3897 | d_1_4_Deprecated->f.WindowPos2sv(v); |
3898 | } |
3899 | |
3900 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2s(GLshort x, GLshort y) |
3901 | { |
3902 | d_1_4_Deprecated->f.WindowPos2s(x, y); |
3903 | } |
3904 | |
3905 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2iv(const GLint *v) |
3906 | { |
3907 | d_1_4_Deprecated->f.WindowPos2iv(v); |
3908 | } |
3909 | |
3910 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2i(GLint x, GLint y) |
3911 | { |
3912 | d_1_4_Deprecated->f.WindowPos2i(x, y); |
3913 | } |
3914 | |
3915 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2fv(const GLfloat *v) |
3916 | { |
3917 | d_1_4_Deprecated->f.WindowPos2fv(v); |
3918 | } |
3919 | |
3920 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2f(GLfloat x, GLfloat y) |
3921 | { |
3922 | d_1_4_Deprecated->f.WindowPos2f(x, y); |
3923 | } |
3924 | |
3925 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2dv(const GLdouble *v) |
3926 | { |
3927 | d_1_4_Deprecated->f.WindowPos2dv(v); |
3928 | } |
3929 | |
3930 | inline void QOpenGLFunctions_3_2_Compatibility::glWindowPos2d(GLdouble x, GLdouble y) |
3931 | { |
3932 | d_1_4_Deprecated->f.WindowPos2d(x, y); |
3933 | } |
3934 | |
3935 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
3936 | { |
3937 | d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer); |
3938 | } |
3939 | |
3940 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3usv(const GLushort *v) |
3941 | { |
3942 | d_1_4_Deprecated->f.SecondaryColor3usv(v); |
3943 | } |
3944 | |
3945 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) |
3946 | { |
3947 | d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue); |
3948 | } |
3949 | |
3950 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3uiv(const GLuint *v) |
3951 | { |
3952 | d_1_4_Deprecated->f.SecondaryColor3uiv(v); |
3953 | } |
3954 | |
3955 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) |
3956 | { |
3957 | d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue); |
3958 | } |
3959 | |
3960 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3ubv(const GLubyte *v) |
3961 | { |
3962 | d_1_4_Deprecated->f.SecondaryColor3ubv(v); |
3963 | } |
3964 | |
3965 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
3966 | { |
3967 | d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue); |
3968 | } |
3969 | |
3970 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3sv(const GLshort *v) |
3971 | { |
3972 | d_1_4_Deprecated->f.SecondaryColor3sv(v); |
3973 | } |
3974 | |
3975 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) |
3976 | { |
3977 | d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue); |
3978 | } |
3979 | |
3980 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3iv(const GLint *v) |
3981 | { |
3982 | d_1_4_Deprecated->f.SecondaryColor3iv(v); |
3983 | } |
3984 | |
3985 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3i(GLint red, GLint green, GLint blue) |
3986 | { |
3987 | d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue); |
3988 | } |
3989 | |
3990 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3fv(const GLfloat *v) |
3991 | { |
3992 | d_1_4_Deprecated->f.SecondaryColor3fv(v); |
3993 | } |
3994 | |
3995 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) |
3996 | { |
3997 | d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue); |
3998 | } |
3999 | |
4000 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3dv(const GLdouble *v) |
4001 | { |
4002 | d_1_4_Deprecated->f.SecondaryColor3dv(v); |
4003 | } |
4004 | |
4005 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) |
4006 | { |
4007 | d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue); |
4008 | } |
4009 | |
4010 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3bv(const GLbyte *v) |
4011 | { |
4012 | d_1_4_Deprecated->f.SecondaryColor3bv(v); |
4013 | } |
4014 | |
4015 | inline void QOpenGLFunctions_3_2_Compatibility::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) |
4016 | { |
4017 | d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue); |
4018 | } |
4019 | |
4020 | inline void QOpenGLFunctions_3_2_Compatibility::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
4021 | { |
4022 | d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer); |
4023 | } |
4024 | |
4025 | inline void QOpenGLFunctions_3_2_Compatibility::glFogCoorddv(const GLdouble *coord) |
4026 | { |
4027 | d_1_4_Deprecated->f.FogCoorddv(coord); |
4028 | } |
4029 | |
4030 | inline void QOpenGLFunctions_3_2_Compatibility::glFogCoordd(GLdouble coord) |
4031 | { |
4032 | d_1_4_Deprecated->f.FogCoordd(coord); |
4033 | } |
4034 | |
4035 | inline void QOpenGLFunctions_3_2_Compatibility::glFogCoordfv(const GLfloat *coord) |
4036 | { |
4037 | d_1_4_Deprecated->f.FogCoordfv(coord); |
4038 | } |
4039 | |
4040 | inline void QOpenGLFunctions_3_2_Compatibility::glFogCoordf(GLfloat coord) |
4041 | { |
4042 | d_1_4_Deprecated->f.FogCoordf(coord); |
4043 | } |
4044 | |
4045 | |
4046 | // OpenGL 1.5 deprecated functions |
4047 | |
4048 | // OpenGL 2.0 deprecated functions |
4049 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4usv(GLuint index, const GLushort *v) |
4050 | { |
4051 | d_2_0_Core->f.VertexAttrib4usv(index, v); |
4052 | } |
4053 | |
4054 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4uiv(GLuint index, const GLuint *v) |
4055 | { |
4056 | d_2_0_Core->f.VertexAttrib4uiv(index, v); |
4057 | } |
4058 | |
4059 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4ubv(GLuint index, const GLubyte *v) |
4060 | { |
4061 | d_2_0_Core->f.VertexAttrib4ubv(index, v); |
4062 | } |
4063 | |
4064 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4sv(GLuint index, const GLshort *v) |
4065 | { |
4066 | d_2_0_Core->f.VertexAttrib4sv(index, v); |
4067 | } |
4068 | |
4069 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
4070 | { |
4071 | d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w); |
4072 | } |
4073 | |
4074 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4iv(GLuint index, const GLint *v) |
4075 | { |
4076 | d_2_0_Core->f.VertexAttrib4iv(index, v); |
4077 | } |
4078 | |
4079 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4fv(GLuint index, const GLfloat *v) |
4080 | { |
4081 | d_2_0_Core->f.VertexAttrib4fv(index, v); |
4082 | } |
4083 | |
4084 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
4085 | { |
4086 | d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w); |
4087 | } |
4088 | |
4089 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4dv(GLuint index, const GLdouble *v) |
4090 | { |
4091 | d_2_0_Core->f.VertexAttrib4dv(index, v); |
4092 | } |
4093 | |
4094 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
4095 | { |
4096 | d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w); |
4097 | } |
4098 | |
4099 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4bv(GLuint index, const GLbyte *v) |
4100 | { |
4101 | d_2_0_Core->f.VertexAttrib4bv(index, v); |
4102 | } |
4103 | |
4104 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nusv(GLuint index, const GLushort *v) |
4105 | { |
4106 | d_2_0_Core->f.VertexAttrib4Nusv(index, v); |
4107 | } |
4108 | |
4109 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nuiv(GLuint index, const GLuint *v) |
4110 | { |
4111 | d_2_0_Core->f.VertexAttrib4Nuiv(index, v); |
4112 | } |
4113 | |
4114 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nubv(GLuint index, const GLubyte *v) |
4115 | { |
4116 | d_2_0_Core->f.VertexAttrib4Nubv(index, v); |
4117 | } |
4118 | |
4119 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
4120 | { |
4121 | d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w); |
4122 | } |
4123 | |
4124 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nsv(GLuint index, const GLshort *v) |
4125 | { |
4126 | d_2_0_Core->f.VertexAttrib4Nsv(index, v); |
4127 | } |
4128 | |
4129 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Niv(GLuint index, const GLint *v) |
4130 | { |
4131 | d_2_0_Core->f.VertexAttrib4Niv(index, v); |
4132 | } |
4133 | |
4134 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib4Nbv(GLuint index, const GLbyte *v) |
4135 | { |
4136 | d_2_0_Core->f.VertexAttrib4Nbv(index, v); |
4137 | } |
4138 | |
4139 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3sv(GLuint index, const GLshort *v) |
4140 | { |
4141 | d_2_0_Core->f.VertexAttrib3sv(index, v); |
4142 | } |
4143 | |
4144 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) |
4145 | { |
4146 | d_2_0_Core->f.VertexAttrib3s(index, x, y, z); |
4147 | } |
4148 | |
4149 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3fv(GLuint index, const GLfloat *v) |
4150 | { |
4151 | d_2_0_Core->f.VertexAttrib3fv(index, v); |
4152 | } |
4153 | |
4154 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
4155 | { |
4156 | d_2_0_Core->f.VertexAttrib3f(index, x, y, z); |
4157 | } |
4158 | |
4159 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3dv(GLuint index, const GLdouble *v) |
4160 | { |
4161 | d_2_0_Core->f.VertexAttrib3dv(index, v); |
4162 | } |
4163 | |
4164 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
4165 | { |
4166 | d_2_0_Core->f.VertexAttrib3d(index, x, y, z); |
4167 | } |
4168 | |
4169 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2sv(GLuint index, const GLshort *v) |
4170 | { |
4171 | d_2_0_Core->f.VertexAttrib2sv(index, v); |
4172 | } |
4173 | |
4174 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2s(GLuint index, GLshort x, GLshort y) |
4175 | { |
4176 | d_2_0_Core->f.VertexAttrib2s(index, x, y); |
4177 | } |
4178 | |
4179 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2fv(GLuint index, const GLfloat *v) |
4180 | { |
4181 | d_2_0_Core->f.VertexAttrib2fv(index, v); |
4182 | } |
4183 | |
4184 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) |
4185 | { |
4186 | d_2_0_Core->f.VertexAttrib2f(index, x, y); |
4187 | } |
4188 | |
4189 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2dv(GLuint index, const GLdouble *v) |
4190 | { |
4191 | d_2_0_Core->f.VertexAttrib2dv(index, v); |
4192 | } |
4193 | |
4194 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y) |
4195 | { |
4196 | d_2_0_Core->f.VertexAttrib2d(index, x, y); |
4197 | } |
4198 | |
4199 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1sv(GLuint index, const GLshort *v) |
4200 | { |
4201 | d_2_0_Core->f.VertexAttrib1sv(index, v); |
4202 | } |
4203 | |
4204 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1s(GLuint index, GLshort x) |
4205 | { |
4206 | d_2_0_Core->f.VertexAttrib1s(index, x); |
4207 | } |
4208 | |
4209 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1fv(GLuint index, const GLfloat *v) |
4210 | { |
4211 | d_2_0_Core->f.VertexAttrib1fv(index, v); |
4212 | } |
4213 | |
4214 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1f(GLuint index, GLfloat x) |
4215 | { |
4216 | d_2_0_Core->f.VertexAttrib1f(index, x); |
4217 | } |
4218 | |
4219 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1dv(GLuint index, const GLdouble *v) |
4220 | { |
4221 | d_2_0_Core->f.VertexAttrib1dv(index, v); |
4222 | } |
4223 | |
4224 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttrib1d(GLuint index, GLdouble x) |
4225 | { |
4226 | d_2_0_Core->f.VertexAttrib1d(index, x); |
4227 | } |
4228 | |
4229 | |
4230 | // OpenGL 2.1 deprecated functions |
4231 | |
4232 | // OpenGL 3.0 deprecated functions |
4233 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4usv(GLuint index, const GLushort *v) |
4234 | { |
4235 | d_3_0_Core->f.VertexAttribI4usv(index, v); |
4236 | } |
4237 | |
4238 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4ubv(GLuint index, const GLubyte *v) |
4239 | { |
4240 | d_3_0_Core->f.VertexAttribI4ubv(index, v); |
4241 | } |
4242 | |
4243 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4sv(GLuint index, const GLshort *v) |
4244 | { |
4245 | d_3_0_Core->f.VertexAttribI4sv(index, v); |
4246 | } |
4247 | |
4248 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4bv(GLuint index, const GLbyte *v) |
4249 | { |
4250 | d_3_0_Core->f.VertexAttribI4bv(index, v); |
4251 | } |
4252 | |
4253 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4uiv(GLuint index, const GLuint *v) |
4254 | { |
4255 | d_3_0_Core->f.VertexAttribI4uiv(index, v); |
4256 | } |
4257 | |
4258 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI3uiv(GLuint index, const GLuint *v) |
4259 | { |
4260 | d_3_0_Core->f.VertexAttribI3uiv(index, v); |
4261 | } |
4262 | |
4263 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI2uiv(GLuint index, const GLuint *v) |
4264 | { |
4265 | d_3_0_Core->f.VertexAttribI2uiv(index, v); |
4266 | } |
4267 | |
4268 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1uiv(GLuint index, const GLuint *v) |
4269 | { |
4270 | d_3_0_Core->f.VertexAttribI1uiv(index, v); |
4271 | } |
4272 | |
4273 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4iv(GLuint index, const GLint *v) |
4274 | { |
4275 | d_3_0_Core->f.VertexAttribI4iv(index, v); |
4276 | } |
4277 | |
4278 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI3iv(GLuint index, const GLint *v) |
4279 | { |
4280 | d_3_0_Core->f.VertexAttribI3iv(index, v); |
4281 | } |
4282 | |
4283 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI2iv(GLuint index, const GLint *v) |
4284 | { |
4285 | d_3_0_Core->f.VertexAttribI2iv(index, v); |
4286 | } |
4287 | |
4288 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1iv(GLuint index, const GLint *v) |
4289 | { |
4290 | d_3_0_Core->f.VertexAttribI1iv(index, v); |
4291 | } |
4292 | |
4293 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
4294 | { |
4295 | d_3_0_Core->f.VertexAttribI4ui(index, x, y, z, w); |
4296 | } |
4297 | |
4298 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z) |
4299 | { |
4300 | d_3_0_Core->f.VertexAttribI3ui(index, x, y, z); |
4301 | } |
4302 | |
4303 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI2ui(GLuint index, GLuint x, GLuint y) |
4304 | { |
4305 | d_3_0_Core->f.VertexAttribI2ui(index, x, y); |
4306 | } |
4307 | |
4308 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1ui(GLuint index, GLuint x) |
4309 | { |
4310 | d_3_0_Core->f.VertexAttribI1ui(index, x); |
4311 | } |
4312 | |
4313 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) |
4314 | { |
4315 | d_3_0_Core->f.VertexAttribI4i(index, x, y, z, w); |
4316 | } |
4317 | |
4318 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z) |
4319 | { |
4320 | d_3_0_Core->f.VertexAttribI3i(index, x, y, z); |
4321 | } |
4322 | |
4323 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI2i(GLuint index, GLint x, GLint y) |
4324 | { |
4325 | d_3_0_Core->f.VertexAttribI2i(index, x, y); |
4326 | } |
4327 | |
4328 | inline void QOpenGLFunctions_3_2_Compatibility::glVertexAttribI1i(GLuint index, GLint x) |
4329 | { |
4330 | d_3_0_Core->f.VertexAttribI1i(index, x); |
4331 | } |
4332 | |
4333 | |
4334 | // OpenGL 3.1 deprecated functions |
4335 | |
4336 | // OpenGL 3.2 deprecated functions |
4337 | |
4338 | |
4339 | QT_END_NAMESPACE |
4340 | |
4341 | #endif // QT_NO_OPENGL && !QT_CONFIG(opengles2) |
4342 | |
4343 | #endif |
4344 | |