1 | /**************************************************************************** |
2 | ** |
3 | ** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
4 | ** Copyright (C) 2016 The Qt Company Ltd. |
5 | ** Contact: https://www.qt.io/licensing/ |
6 | ** |
7 | ** This file is part of the QtOpenGL module of the Qt Toolkit. |
8 | ** |
9 | ** $QT_BEGIN_LICENSE:LGPL$ |
10 | ** Commercial License Usage |
11 | ** Licensees holding valid commercial Qt licenses may use this file in |
12 | ** accordance with the commercial license agreement provided with the |
13 | ** Software or, alternatively, in accordance with the terms contained in |
14 | ** a written agreement between you and The Qt Company. For licensing terms |
15 | ** and conditions see https://www.qt.io/terms-conditions. For further |
16 | ** information use the contact form at https://www.qt.io/contact-us. |
17 | ** |
18 | ** GNU Lesser General Public License Usage |
19 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
20 | ** General Public License version 3 as published by the Free Software |
21 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
22 | ** packaging of this file. Please review the following information to |
23 | ** ensure the GNU Lesser General Public License version 3 requirements |
24 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
25 | ** |
26 | ** GNU General Public License Usage |
27 | ** Alternatively, this file may be used under the terms of the GNU |
28 | ** General Public License version 2.0 or (at your option) the GNU General |
29 | ** Public license version 3 or any later version approved by the KDE Free |
30 | ** Qt Foundation. The licenses are as published by the Free Software |
31 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
32 | ** included in the packaging of this file. Please review the following |
33 | ** information to ensure the GNU General Public License requirements will |
34 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
35 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
36 | ** |
37 | ** $QT_END_LICENSE$ |
38 | ** |
39 | ** |
40 | ** This file was generated by glgen version 0.1 |
41 | ** Command line was: glgen |
42 | ** |
43 | ** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
44 | ** |
45 | ** This is an auto-generated file. |
46 | ** Do not edit! All changes made to it will be lost. |
47 | ** |
48 | ****************************************************************************/ |
49 | |
50 | #ifndef QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H |
51 | #define QOPENGLVERSIONFUNCTIONS_4_1_COMPATIBILITY_H |
52 | |
53 | #include <QtOpenGL/qtopenglglobal.h> |
54 | |
55 | #if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2) |
56 | |
57 | #include <QtOpenGL/QOpenGLVersionProfile> |
58 | #include <QtOpenGL/QOpenGLVersionFunctions> |
59 | #include <QtGui/qopenglcontext.h> |
60 | |
61 | QT_BEGIN_NAMESPACE |
62 | |
63 | class Q_OPENGL_EXPORT QOpenGLFunctions_4_1_Compatibility : public QAbstractOpenGLFunctions |
64 | { |
65 | public: |
66 | QOpenGLFunctions_4_1_Compatibility(); |
67 | ~QOpenGLFunctions_4_1_Compatibility(); |
68 | |
69 | bool initializeOpenGLFunctions() override; |
70 | |
71 | // OpenGL 1.0 core functions |
72 | void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
73 | void glDepthRange(GLdouble nearVal, GLdouble farVal); |
74 | GLboolean glIsEnabled(GLenum cap); |
75 | void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); |
76 | void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); |
77 | void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); |
78 | void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); |
79 | void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); |
80 | const GLubyte * glGetString(GLenum name); |
81 | void glGetIntegerv(GLenum pname, GLint *params); |
82 | void glGetFloatv(GLenum pname, GLfloat *params); |
83 | GLenum glGetError(); |
84 | void glGetDoublev(GLenum pname, GLdouble *params); |
85 | void glGetBooleanv(GLenum pname, GLboolean *params); |
86 | void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); |
87 | void glReadBuffer(GLenum mode); |
88 | void glPixelStorei(GLenum pname, GLint param); |
89 | void glPixelStoref(GLenum pname, GLfloat param); |
90 | void glDepthFunc(GLenum func); |
91 | void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
92 | void glStencilFunc(GLenum func, GLint ref, GLuint mask); |
93 | void glLogicOp(GLenum opcode); |
94 | void glBlendFunc(GLenum sfactor, GLenum dfactor); |
95 | void glFlush(); |
96 | void glFinish(); |
97 | void glEnable(GLenum cap); |
98 | void glDisable(GLenum cap); |
99 | void glDepthMask(GLboolean flag); |
100 | void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
101 | void glStencilMask(GLuint mask); |
102 | void glClearDepth(GLdouble depth); |
103 | void glClearStencil(GLint s); |
104 | void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
105 | void glClear(GLbitfield mask); |
106 | void glDrawBuffer(GLenum mode); |
107 | void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
108 | void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
109 | void glTexParameteriv(GLenum target, GLenum pname, const GLint *params); |
110 | void glTexParameteri(GLenum target, GLenum pname, GLint param); |
111 | void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
112 | void glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
113 | void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
114 | void glPolygonMode(GLenum face, GLenum mode); |
115 | void glPointSize(GLfloat size); |
116 | void glLineWidth(GLfloat width); |
117 | void glHint(GLenum target, GLenum mode); |
118 | void glFrontFace(GLenum mode); |
119 | void glCullFace(GLenum mode); |
120 | |
121 | // OpenGL 1.1 core functions |
122 | void glIndexubv(const GLubyte *c); |
123 | void glIndexub(GLubyte c); |
124 | GLboolean glIsTexture(GLuint texture); |
125 | void glGenTextures(GLsizei n, GLuint *textures); |
126 | void glDeleteTextures(GLsizei n, const GLuint *textures); |
127 | void glBindTexture(GLenum target, GLuint texture); |
128 | void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
129 | void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); |
130 | void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
131 | void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); |
132 | void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
133 | void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); |
134 | void glPolygonOffset(GLfloat factor, GLfloat units); |
135 | void glGetPointerv(GLenum pname, GLvoid* *params); |
136 | void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); |
137 | void glDrawArrays(GLenum mode, GLint first, GLsizei count); |
138 | |
139 | // OpenGL 1.2 core functions |
140 | void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
141 | void glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels); |
142 | void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
143 | void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
144 | void glBlendEquation(GLenum mode); |
145 | void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
146 | |
147 | // OpenGL 1.3 core functions |
148 | void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img); |
149 | void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); |
150 | void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); |
151 | void glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data); |
152 | void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
153 | void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
154 | void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
155 | void glSampleCoverage(GLfloat value, GLboolean invert); |
156 | void glActiveTexture(GLenum texture); |
157 | |
158 | // OpenGL 1.4 core functions |
159 | void glPointParameteriv(GLenum pname, const GLint *params); |
160 | void glPointParameteri(GLenum pname, GLint param); |
161 | void glPointParameterfv(GLenum pname, const GLfloat *params); |
162 | void glPointParameterf(GLenum pname, GLfloat param); |
163 | void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); |
164 | void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); |
165 | void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
166 | |
167 | // OpenGL 1.5 core functions |
168 | void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params); |
169 | void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params); |
170 | GLboolean glUnmapBuffer(GLenum target); |
171 | GLvoid* glMapBuffer(GLenum target, GLenum access); |
172 | void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); |
173 | void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); |
174 | void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); |
175 | GLboolean glIsBuffer(GLuint buffer); |
176 | void glGenBuffers(GLsizei n, GLuint *buffers); |
177 | void glDeleteBuffers(GLsizei n, const GLuint *buffers); |
178 | void glBindBuffer(GLenum target, GLuint buffer); |
179 | void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); |
180 | void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params); |
181 | void glGetQueryiv(GLenum target, GLenum pname, GLint *params); |
182 | void glEndQuery(GLenum target); |
183 | void glBeginQuery(GLenum target, GLuint id); |
184 | GLboolean glIsQuery(GLuint id); |
185 | void glDeleteQueries(GLsizei n, const GLuint *ids); |
186 | void glGenQueries(GLsizei n, GLuint *ids); |
187 | |
188 | // OpenGL 2.0 core functions |
189 | void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); |
190 | void glValidateProgram(GLuint program); |
191 | void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
192 | void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
193 | void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
194 | void glUniform4iv(GLint location, GLsizei count, const GLint *value); |
195 | void glUniform3iv(GLint location, GLsizei count, const GLint *value); |
196 | void glUniform2iv(GLint location, GLsizei count, const GLint *value); |
197 | void glUniform1iv(GLint location, GLsizei count, const GLint *value); |
198 | void glUniform4fv(GLint location, GLsizei count, const GLfloat *value); |
199 | void glUniform3fv(GLint location, GLsizei count, const GLfloat *value); |
200 | void glUniform2fv(GLint location, GLsizei count, const GLfloat *value); |
201 | void glUniform1fv(GLint location, GLsizei count, const GLfloat *value); |
202 | void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
203 | void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); |
204 | void glUniform2i(GLint location, GLint v0, GLint v1); |
205 | void glUniform1i(GLint location, GLint v0); |
206 | void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
207 | void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
208 | void glUniform2f(GLint location, GLfloat v0, GLfloat v1); |
209 | void glUniform1f(GLint location, GLfloat v0); |
210 | void glUseProgram(GLuint program); |
211 | void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
212 | void glLinkProgram(GLuint program); |
213 | GLboolean glIsShader(GLuint shader); |
214 | GLboolean glIsProgram(GLuint program); |
215 | void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer); |
216 | void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params); |
217 | void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); |
218 | void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); |
219 | void glGetUniformiv(GLuint program, GLint location, GLint *params); |
220 | void glGetUniformfv(GLuint program, GLint location, GLfloat *params); |
221 | GLint glGetUniformLocation(GLuint program, const GLchar *name); |
222 | void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); |
223 | void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
224 | void glGetShaderiv(GLuint shader, GLenum pname, GLint *params); |
225 | void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
226 | void glGetProgramiv(GLuint program, GLenum pname, GLint *params); |
227 | GLint glGetAttribLocation(GLuint program, const GLchar *name); |
228 | void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); |
229 | void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
230 | void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
231 | void glEnableVertexAttribArray(GLuint index); |
232 | void glDisableVertexAttribArray(GLuint index); |
233 | void glDetachShader(GLuint program, GLuint shader); |
234 | void glDeleteShader(GLuint shader); |
235 | void glDeleteProgram(GLuint program); |
236 | GLuint glCreateShader(GLenum type); |
237 | GLuint glCreateProgram(); |
238 | void glCompileShader(GLuint shader); |
239 | void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name); |
240 | void glAttachShader(GLuint program, GLuint shader); |
241 | void glStencilMaskSeparate(GLenum face, GLuint mask); |
242 | void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
243 | void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); |
244 | void glDrawBuffers(GLsizei n, const GLenum *bufs); |
245 | void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
246 | |
247 | // OpenGL 2.1 core functions |
248 | void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
249 | void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
250 | void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
251 | void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
252 | void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
253 | void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
254 | |
255 | // OpenGL 3.0 core functions |
256 | GLboolean glIsVertexArray(GLuint array); |
257 | void glGenVertexArrays(GLsizei n, GLuint *arrays); |
258 | void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); |
259 | void glBindVertexArray(GLuint array); |
260 | void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); |
261 | GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); |
262 | void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); |
263 | void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
264 | void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); |
265 | void glGenerateMipmap(GLenum target); |
266 | void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); |
267 | void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
268 | void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
269 | void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
270 | void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
271 | GLenum glCheckFramebufferStatus(GLenum target); |
272 | void glGenFramebuffers(GLsizei n, GLuint *framebuffers); |
273 | void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers); |
274 | void glBindFramebuffer(GLenum target, GLuint framebuffer); |
275 | GLboolean glIsFramebuffer(GLuint framebuffer); |
276 | void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params); |
277 | void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
278 | void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); |
279 | void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); |
280 | void glBindRenderbuffer(GLenum target, GLuint renderbuffer); |
281 | GLboolean glIsRenderbuffer(GLuint renderbuffer); |
282 | const GLubyte * glGetStringi(GLenum name, GLuint index); |
283 | void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); |
284 | void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); |
285 | void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); |
286 | void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); |
287 | void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); |
288 | void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params); |
289 | void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params); |
290 | void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params); |
291 | void glUniform4uiv(GLint location, GLsizei count, const GLuint *value); |
292 | void glUniform3uiv(GLint location, GLsizei count, const GLuint *value); |
293 | void glUniform2uiv(GLint location, GLsizei count, const GLuint *value); |
294 | void glUniform1uiv(GLint location, GLsizei count, const GLuint *value); |
295 | void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
296 | void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); |
297 | void glUniform2ui(GLint location, GLuint v0, GLuint v1); |
298 | void glUniform1ui(GLint location, GLuint v0); |
299 | GLint glGetFragDataLocation(GLuint program, const GLchar *name); |
300 | void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name); |
301 | void glGetUniformuiv(GLuint program, GLint location, GLuint *params); |
302 | void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); |
303 | void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); |
304 | void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
305 | void glEndConditionalRender(); |
306 | void glBeginConditionalRender(GLuint id, GLenum mode); |
307 | void glClampColor(GLenum target, GLenum clamp); |
308 | void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
309 | void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
310 | void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); |
311 | void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
312 | void glEndTransformFeedback(); |
313 | void glBeginTransformFeedback(GLenum primitiveMode); |
314 | GLboolean glIsEnabledi(GLenum target, GLuint index); |
315 | void glDisablei(GLenum target, GLuint index); |
316 | void glEnablei(GLenum target, GLuint index); |
317 | void glGetIntegeri_v(GLenum target, GLuint index, GLint *data); |
318 | void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data); |
319 | void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); |
320 | |
321 | // OpenGL 3.1 core functions |
322 | void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); |
323 | void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); |
324 | void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
325 | void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); |
326 | GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName); |
327 | void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
328 | void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
329 | void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
330 | void glPrimitiveRestartIndex(GLuint index); |
331 | void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer); |
332 | void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount); |
333 | void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); |
334 | |
335 | // OpenGL 3.2 core functions |
336 | void glSampleMaski(GLuint index, GLbitfield mask); |
337 | void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); |
338 | void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); |
339 | void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); |
340 | void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); |
341 | void glGetInteger64v(GLenum pname, GLint64 *params); |
342 | void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
343 | GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
344 | void glDeleteSync(GLsync sync); |
345 | GLboolean glIsSync(GLsync sync); |
346 | GLsync glFenceSync(GLenum condition, GLbitfield flags); |
347 | void glProvokingVertex(GLenum mode); |
348 | void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex); |
349 | void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex); |
350 | void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
351 | void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
352 | void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level); |
353 | void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); |
354 | void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data); |
355 | |
356 | // OpenGL 3.3 core functions |
357 | void glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
358 | void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
359 | void glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
360 | void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
361 | void glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
362 | void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
363 | void glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
364 | void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
365 | void glSecondaryColorP3uiv(GLenum type, const GLuint *color); |
366 | void glSecondaryColorP3ui(GLenum type, GLuint color); |
367 | void glColorP4uiv(GLenum type, const GLuint *color); |
368 | void glColorP4ui(GLenum type, GLuint color); |
369 | void glColorP3uiv(GLenum type, const GLuint *color); |
370 | void glColorP3ui(GLenum type, GLuint color); |
371 | void glNormalP3uiv(GLenum type, const GLuint *coords); |
372 | void glNormalP3ui(GLenum type, GLuint coords); |
373 | void glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords); |
374 | void glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords); |
375 | void glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords); |
376 | void glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords); |
377 | void glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords); |
378 | void glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords); |
379 | void glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords); |
380 | void glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords); |
381 | void glTexCoordP4uiv(GLenum type, const GLuint *coords); |
382 | void glTexCoordP4ui(GLenum type, GLuint coords); |
383 | void glTexCoordP3uiv(GLenum type, const GLuint *coords); |
384 | void glTexCoordP3ui(GLenum type, GLuint coords); |
385 | void glTexCoordP2uiv(GLenum type, const GLuint *coords); |
386 | void glTexCoordP2ui(GLenum type, GLuint coords); |
387 | void glTexCoordP1uiv(GLenum type, const GLuint *coords); |
388 | void glTexCoordP1ui(GLenum type, GLuint coords); |
389 | void glVertexP4uiv(GLenum type, const GLuint *value); |
390 | void glVertexP4ui(GLenum type, GLuint value); |
391 | void glVertexP3uiv(GLenum type, const GLuint *value); |
392 | void glVertexP3ui(GLenum type, GLuint value); |
393 | void glVertexP2uiv(GLenum type, const GLuint *value); |
394 | void glVertexP2ui(GLenum type, GLuint value); |
395 | void glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params); |
396 | void glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params); |
397 | void glQueryCounter(GLuint id, GLenum target); |
398 | void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params); |
399 | void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params); |
400 | void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params); |
401 | void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params); |
402 | void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param); |
403 | void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param); |
404 | void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param); |
405 | void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); |
406 | void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param); |
407 | void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param); |
408 | void glBindSampler(GLuint unit, GLuint sampler); |
409 | GLboolean glIsSampler(GLuint sampler); |
410 | void glDeleteSamplers(GLsizei count, const GLuint *samplers); |
411 | void glGenSamplers(GLsizei count, GLuint *samplers); |
412 | GLint glGetFragDataIndex(GLuint program, const GLchar *name); |
413 | void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); |
414 | void glVertexAttribDivisor(GLuint index, GLuint divisor); |
415 | |
416 | // OpenGL 4.0 core functions |
417 | void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params); |
418 | void glEndQueryIndexed(GLenum target, GLuint index); |
419 | void glBeginQueryIndexed(GLenum target, GLuint index, GLuint id); |
420 | void glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream); |
421 | void glDrawTransformFeedback(GLenum mode, GLuint id); |
422 | void glResumeTransformFeedback(); |
423 | void glPauseTransformFeedback(); |
424 | GLboolean glIsTransformFeedback(GLuint id); |
425 | void glGenTransformFeedbacks(GLsizei n, GLuint *ids); |
426 | void glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids); |
427 | void glBindTransformFeedback(GLenum target, GLuint id); |
428 | void glPatchParameterfv(GLenum pname, const GLfloat *values); |
429 | void glPatchParameteri(GLenum pname, GLint value); |
430 | void glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values); |
431 | void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params); |
432 | void glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices); |
433 | void glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); |
434 | void glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); |
435 | void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); |
436 | GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name); |
437 | GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name); |
438 | void glGetUniformdv(GLuint program, GLint location, GLdouble *params); |
439 | void glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
440 | void glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
441 | void glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
442 | void glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
443 | void glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
444 | void glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
445 | void glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
446 | void glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
447 | void glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
448 | void glUniform4dv(GLint location, GLsizei count, const GLdouble *value); |
449 | void glUniform3dv(GLint location, GLsizei count, const GLdouble *value); |
450 | void glUniform2dv(GLint location, GLsizei count, const GLdouble *value); |
451 | void glUniform1dv(GLint location, GLsizei count, const GLdouble *value); |
452 | void glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
453 | void glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z); |
454 | void glUniform2d(GLint location, GLdouble x, GLdouble y); |
455 | void glUniform1d(GLint location, GLdouble x); |
456 | void glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect); |
457 | void glDrawArraysIndirect(GLenum mode, const GLvoid *indirect); |
458 | void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); |
459 | void glBlendFunci(GLuint buf, GLenum src, GLenum dst); |
460 | void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha); |
461 | void glBlendEquationi(GLuint buf, GLenum mode); |
462 | void glMinSampleShading(GLfloat value); |
463 | |
464 | // OpenGL 4.1 core functions |
465 | void glGetDoublei_v(GLenum target, GLuint index, GLdouble *data); |
466 | void glGetFloati_v(GLenum target, GLuint index, GLfloat *data); |
467 | void glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f); |
468 | void glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v); |
469 | void glScissorIndexedv(GLuint index, const GLint *v); |
470 | void glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); |
471 | void glScissorArrayv(GLuint first, GLsizei count, const GLint *v); |
472 | void glViewportIndexedfv(GLuint index, const GLfloat *v); |
473 | void glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); |
474 | void glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v); |
475 | void glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params); |
476 | void glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
477 | void glVertexAttribL4dv(GLuint index, const GLdouble *v); |
478 | void glVertexAttribL3dv(GLuint index, const GLdouble *v); |
479 | void glVertexAttribL2dv(GLuint index, const GLdouble *v); |
480 | void glVertexAttribL1dv(GLuint index, const GLdouble *v); |
481 | void glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
482 | void glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); |
483 | void glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y); |
484 | void glVertexAttribL1d(GLuint index, GLdouble x); |
485 | void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
486 | void glValidateProgramPipeline(GLuint pipeline); |
487 | void glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
488 | void glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
489 | void glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
490 | void glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
491 | void glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
492 | void glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
493 | void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
494 | void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
495 | void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
496 | void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
497 | void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
498 | void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
499 | void glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
500 | void glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
501 | void glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
502 | void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
503 | void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
504 | void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
505 | void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
506 | void glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
507 | void glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
508 | void glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); |
509 | void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
510 | void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
511 | void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
512 | void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
513 | void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
514 | void glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); |
515 | void glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
516 | void glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); |
517 | void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
518 | void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
519 | void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
520 | void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); |
521 | void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
522 | void glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1); |
523 | void glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
524 | void glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1); |
525 | void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
526 | void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1); |
527 | void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
528 | void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1); |
529 | void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
530 | void glProgramUniform1ui(GLuint program, GLint location, GLuint v0); |
531 | void glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
532 | void glProgramUniform1d(GLuint program, GLint location, GLdouble v0); |
533 | void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
534 | void glProgramUniform1f(GLuint program, GLint location, GLfloat v0); |
535 | void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
536 | void glProgramUniform1i(GLuint program, GLint location, GLint v0); |
537 | void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params); |
538 | GLboolean glIsProgramPipeline(GLuint pipeline); |
539 | void glGenProgramPipelines(GLsizei n, GLuint *pipelines); |
540 | void glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines); |
541 | void glBindProgramPipeline(GLuint pipeline); |
542 | GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings); |
543 | void glActiveShaderProgram(GLuint pipeline, GLuint program); |
544 | void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program); |
545 | void glProgramParameteri(GLuint program, GLenum pname, GLint value); |
546 | void glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); |
547 | void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
548 | void glClearDepthf(GLfloat dd); |
549 | void glDepthRangef(GLfloat n, GLfloat f); |
550 | void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); |
551 | void glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); |
552 | void glReleaseShaderCompiler(); |
553 | |
554 | // OpenGL 1.0 deprecated functions |
555 | void glTranslatef(GLfloat x, GLfloat y, GLfloat z); |
556 | void glTranslated(GLdouble x, GLdouble y, GLdouble z); |
557 | void glScalef(GLfloat x, GLfloat y, GLfloat z); |
558 | void glScaled(GLdouble x, GLdouble y, GLdouble z); |
559 | void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); |
560 | void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); |
561 | void glPushMatrix(); |
562 | void glPopMatrix(); |
563 | void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
564 | void glMultMatrixd(const GLdouble *m); |
565 | void glMultMatrixf(const GLfloat *m); |
566 | void glMatrixMode(GLenum mode); |
567 | void glLoadMatrixd(const GLdouble *m); |
568 | void glLoadMatrixf(const GLfloat *m); |
569 | void glLoadIdentity(); |
570 | void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
571 | GLboolean glIsList(GLuint list); |
572 | void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params); |
573 | void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params); |
574 | void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params); |
575 | void glGetTexEnviv(GLenum target, GLenum pname, GLint *params); |
576 | void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); |
577 | void glGetPolygonStipple(GLubyte *mask); |
578 | void glGetPixelMapusv(GLenum map, GLushort *values); |
579 | void glGetPixelMapuiv(GLenum map, GLuint *values); |
580 | void glGetPixelMapfv(GLenum map, GLfloat *values); |
581 | void glGetMaterialiv(GLenum face, GLenum pname, GLint *params); |
582 | void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); |
583 | void glGetMapiv(GLenum target, GLenum query, GLint *v); |
584 | void glGetMapfv(GLenum target, GLenum query, GLfloat *v); |
585 | void glGetMapdv(GLenum target, GLenum query, GLdouble *v); |
586 | void glGetLightiv(GLenum light, GLenum pname, GLint *params); |
587 | void glGetLightfv(GLenum light, GLenum pname, GLfloat *params); |
588 | void glGetClipPlane(GLenum plane, GLdouble *equation); |
589 | void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
590 | void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); |
591 | void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values); |
592 | void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values); |
593 | void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values); |
594 | void glPixelTransferi(GLenum pname, GLint param); |
595 | void glPixelTransferf(GLenum pname, GLfloat param); |
596 | void glPixelZoom(GLfloat xfactor, GLfloat yfactor); |
597 | void glAlphaFunc(GLenum func, GLfloat ref); |
598 | void glEvalPoint2(GLint i, GLint j); |
599 | void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); |
600 | void glEvalPoint1(GLint i); |
601 | void glEvalMesh1(GLenum mode, GLint i1, GLint i2); |
602 | void glEvalCoord2fv(const GLfloat *u); |
603 | void glEvalCoord2f(GLfloat u, GLfloat v); |
604 | void glEvalCoord2dv(const GLdouble *u); |
605 | void glEvalCoord2d(GLdouble u, GLdouble v); |
606 | void glEvalCoord1fv(const GLfloat *u); |
607 | void glEvalCoord1f(GLfloat u); |
608 | void glEvalCoord1dv(const GLdouble *u); |
609 | void glEvalCoord1d(GLdouble u); |
610 | void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); |
611 | void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); |
612 | void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); |
613 | void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); |
614 | void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); |
615 | void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); |
616 | void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); |
617 | void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); |
618 | void glPushAttrib(GLbitfield mask); |
619 | void glPopAttrib(); |
620 | void glAccum(GLenum op, GLfloat value); |
621 | void glIndexMask(GLuint mask); |
622 | void glClearIndex(GLfloat c); |
623 | void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
624 | void glPushName(GLuint name); |
625 | void glPopName(); |
626 | void glPassThrough(GLfloat token); |
627 | void glLoadName(GLuint name); |
628 | void glInitNames(); |
629 | GLint glRenderMode(GLenum mode); |
630 | void glSelectBuffer(GLsizei size, GLuint *buffer); |
631 | void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); |
632 | void glTexGeniv(GLenum coord, GLenum pname, const GLint *params); |
633 | void glTexGeni(GLenum coord, GLenum pname, GLint param); |
634 | void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); |
635 | void glTexGenf(GLenum coord, GLenum pname, GLfloat param); |
636 | void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); |
637 | void glTexGend(GLenum coord, GLenum pname, GLdouble param); |
638 | void glTexEnviv(GLenum target, GLenum pname, const GLint *params); |
639 | void glTexEnvi(GLenum target, GLenum pname, GLint param); |
640 | void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); |
641 | void glTexEnvf(GLenum target, GLenum pname, GLfloat param); |
642 | void glShadeModel(GLenum mode); |
643 | void glPolygonStipple(const GLubyte *mask); |
644 | void glMaterialiv(GLenum face, GLenum pname, const GLint *params); |
645 | void glMateriali(GLenum face, GLenum pname, GLint param); |
646 | void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); |
647 | void glMaterialf(GLenum face, GLenum pname, GLfloat param); |
648 | void glLineStipple(GLint factor, GLushort pattern); |
649 | void glLightModeliv(GLenum pname, const GLint *params); |
650 | void glLightModeli(GLenum pname, GLint param); |
651 | void glLightModelfv(GLenum pname, const GLfloat *params); |
652 | void glLightModelf(GLenum pname, GLfloat param); |
653 | void glLightiv(GLenum light, GLenum pname, const GLint *params); |
654 | void glLighti(GLenum light, GLenum pname, GLint param); |
655 | void glLightfv(GLenum light, GLenum pname, const GLfloat *params); |
656 | void glLightf(GLenum light, GLenum pname, GLfloat param); |
657 | void glFogiv(GLenum pname, const GLint *params); |
658 | void glFogi(GLenum pname, GLint param); |
659 | void glFogfv(GLenum pname, const GLfloat *params); |
660 | void glFogf(GLenum pname, GLfloat param); |
661 | void glColorMaterial(GLenum face, GLenum mode); |
662 | void glClipPlane(GLenum plane, const GLdouble *equation); |
663 | void glVertex4sv(const GLshort *v); |
664 | void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w); |
665 | void glVertex4iv(const GLint *v); |
666 | void glVertex4i(GLint x, GLint y, GLint z, GLint w); |
667 | void glVertex4fv(const GLfloat *v); |
668 | void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
669 | void glVertex4dv(const GLdouble *v); |
670 | void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
671 | void glVertex3sv(const GLshort *v); |
672 | void glVertex3s(GLshort x, GLshort y, GLshort z); |
673 | void glVertex3iv(const GLint *v); |
674 | void glVertex3i(GLint x, GLint y, GLint z); |
675 | void glVertex3fv(const GLfloat *v); |
676 | void glVertex3f(GLfloat x, GLfloat y, GLfloat z); |
677 | void glVertex3dv(const GLdouble *v); |
678 | void glVertex3d(GLdouble x, GLdouble y, GLdouble z); |
679 | void glVertex2sv(const GLshort *v); |
680 | void glVertex2s(GLshort x, GLshort y); |
681 | void glVertex2iv(const GLint *v); |
682 | void glVertex2i(GLint x, GLint y); |
683 | void glVertex2fv(const GLfloat *v); |
684 | void glVertex2f(GLfloat x, GLfloat y); |
685 | void glVertex2dv(const GLdouble *v); |
686 | void glVertex2d(GLdouble x, GLdouble y); |
687 | void glTexCoord4sv(const GLshort *v); |
688 | void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q); |
689 | void glTexCoord4iv(const GLint *v); |
690 | void glTexCoord4i(GLint s, GLint t, GLint r, GLint q); |
691 | void glTexCoord4fv(const GLfloat *v); |
692 | void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
693 | void glTexCoord4dv(const GLdouble *v); |
694 | void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
695 | void glTexCoord3sv(const GLshort *v); |
696 | void glTexCoord3s(GLshort s, GLshort t, GLshort r); |
697 | void glTexCoord3iv(const GLint *v); |
698 | void glTexCoord3i(GLint s, GLint t, GLint r); |
699 | void glTexCoord3fv(const GLfloat *v); |
700 | void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); |
701 | void glTexCoord3dv(const GLdouble *v); |
702 | void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r); |
703 | void glTexCoord2sv(const GLshort *v); |
704 | void glTexCoord2s(GLshort s, GLshort t); |
705 | void glTexCoord2iv(const GLint *v); |
706 | void glTexCoord2i(GLint s, GLint t); |
707 | void glTexCoord2fv(const GLfloat *v); |
708 | void glTexCoord2f(GLfloat s, GLfloat t); |
709 | void glTexCoord2dv(const GLdouble *v); |
710 | void glTexCoord2d(GLdouble s, GLdouble t); |
711 | void glTexCoord1sv(const GLshort *v); |
712 | void glTexCoord1s(GLshort s); |
713 | void glTexCoord1iv(const GLint *v); |
714 | void glTexCoord1i(GLint s); |
715 | void glTexCoord1fv(const GLfloat *v); |
716 | void glTexCoord1f(GLfloat s); |
717 | void glTexCoord1dv(const GLdouble *v); |
718 | void glTexCoord1d(GLdouble s); |
719 | void glRectsv(const GLshort *v1, const GLshort *v2); |
720 | void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2); |
721 | void glRectiv(const GLint *v1, const GLint *v2); |
722 | void glRecti(GLint x1, GLint y1, GLint x2, GLint y2); |
723 | void glRectfv(const GLfloat *v1, const GLfloat *v2); |
724 | void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); |
725 | void glRectdv(const GLdouble *v1, const GLdouble *v2); |
726 | void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); |
727 | void glRasterPos4sv(const GLshort *v); |
728 | void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); |
729 | void glRasterPos4iv(const GLint *v); |
730 | void glRasterPos4i(GLint x, GLint y, GLint z, GLint w); |
731 | void glRasterPos4fv(const GLfloat *v); |
732 | void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
733 | void glRasterPos4dv(const GLdouble *v); |
734 | void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
735 | void glRasterPos3sv(const GLshort *v); |
736 | void glRasterPos3s(GLshort x, GLshort y, GLshort z); |
737 | void glRasterPos3iv(const GLint *v); |
738 | void glRasterPos3i(GLint x, GLint y, GLint z); |
739 | void glRasterPos3fv(const GLfloat *v); |
740 | void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); |
741 | void glRasterPos3dv(const GLdouble *v); |
742 | void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z); |
743 | void glRasterPos2sv(const GLshort *v); |
744 | void glRasterPos2s(GLshort x, GLshort y); |
745 | void glRasterPos2iv(const GLint *v); |
746 | void glRasterPos2i(GLint x, GLint y); |
747 | void glRasterPos2fv(const GLfloat *v); |
748 | void glRasterPos2f(GLfloat x, GLfloat y); |
749 | void glRasterPos2dv(const GLdouble *v); |
750 | void glRasterPos2d(GLdouble x, GLdouble y); |
751 | void glNormal3sv(const GLshort *v); |
752 | void glNormal3s(GLshort nx, GLshort ny, GLshort nz); |
753 | void glNormal3iv(const GLint *v); |
754 | void glNormal3i(GLint nx, GLint ny, GLint nz); |
755 | void glNormal3fv(const GLfloat *v); |
756 | void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); |
757 | void glNormal3dv(const GLdouble *v); |
758 | void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz); |
759 | void glNormal3bv(const GLbyte *v); |
760 | void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz); |
761 | void glIndexsv(const GLshort *c); |
762 | void glIndexs(GLshort c); |
763 | void glIndexiv(const GLint *c); |
764 | void glIndexi(GLint c); |
765 | void glIndexfv(const GLfloat *c); |
766 | void glIndexf(GLfloat c); |
767 | void glIndexdv(const GLdouble *c); |
768 | void glIndexd(GLdouble c); |
769 | void glEnd(); |
770 | void glEdgeFlagv(const GLboolean *flag); |
771 | void glEdgeFlag(GLboolean flag); |
772 | void glColor4usv(const GLushort *v); |
773 | void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha); |
774 | void glColor4uiv(const GLuint *v); |
775 | void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha); |
776 | void glColor4ubv(const GLubyte *v); |
777 | void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); |
778 | void glColor4sv(const GLshort *v); |
779 | void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha); |
780 | void glColor4iv(const GLint *v); |
781 | void glColor4i(GLint red, GLint green, GLint blue, GLint alpha); |
782 | void glColor4fv(const GLfloat *v); |
783 | void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
784 | void glColor4dv(const GLdouble *v); |
785 | void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); |
786 | void glColor4bv(const GLbyte *v); |
787 | void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); |
788 | void glColor3usv(const GLushort *v); |
789 | void glColor3us(GLushort red, GLushort green, GLushort blue); |
790 | void glColor3uiv(const GLuint *v); |
791 | void glColor3ui(GLuint red, GLuint green, GLuint blue); |
792 | void glColor3ubv(const GLubyte *v); |
793 | void glColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
794 | void glColor3sv(const GLshort *v); |
795 | void glColor3s(GLshort red, GLshort green, GLshort blue); |
796 | void glColor3iv(const GLint *v); |
797 | void glColor3i(GLint red, GLint green, GLint blue); |
798 | void glColor3fv(const GLfloat *v); |
799 | void glColor3f(GLfloat red, GLfloat green, GLfloat blue); |
800 | void glColor3dv(const GLdouble *v); |
801 | void glColor3d(GLdouble red, GLdouble green, GLdouble blue); |
802 | void glColor3bv(const GLbyte *v); |
803 | void glColor3b(GLbyte red, GLbyte green, GLbyte blue); |
804 | void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); |
805 | void glBegin(GLenum mode); |
806 | void glListBase(GLuint base); |
807 | GLuint glGenLists(GLsizei range); |
808 | void glDeleteLists(GLuint list, GLsizei range); |
809 | void glCallLists(GLsizei n, GLenum type, const GLvoid *lists); |
810 | void glCallList(GLuint list); |
811 | void glEndList(); |
812 | void glNewList(GLuint list, GLenum mode); |
813 | |
814 | // OpenGL 1.1 deprecated functions |
815 | void glPushClientAttrib(GLbitfield mask); |
816 | void glPopClientAttrib(); |
817 | void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); |
818 | GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); |
819 | void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
820 | void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
821 | void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
822 | void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer); |
823 | void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
824 | void glEnableClientState(GLenum array); |
825 | void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer); |
826 | void glDisableClientState(GLenum array); |
827 | void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
828 | void glArrayElement(GLint i); |
829 | |
830 | // OpenGL 1.2 deprecated functions |
831 | void glResetMinmax(GLenum target); |
832 | void glResetHistogram(GLenum target); |
833 | void glMinmax(GLenum target, GLenum internalformat, GLboolean sink); |
834 | void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); |
835 | void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params); |
836 | void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params); |
837 | void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
838 | void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params); |
839 | void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params); |
840 | void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
841 | void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); |
842 | void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); |
843 | void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); |
844 | void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); |
845 | void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image); |
846 | void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); |
847 | void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
848 | void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); |
849 | void glConvolutionParameteri(GLenum target, GLenum pname, GLint params); |
850 | void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
851 | void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); |
852 | void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); |
853 | void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); |
854 | void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); |
855 | void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); |
856 | void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params); |
857 | void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params); |
858 | void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table); |
859 | void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
860 | void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); |
861 | void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
862 | void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); |
863 | |
864 | // OpenGL 1.3 deprecated functions |
865 | void glMultTransposeMatrixd(const GLdouble *m); |
866 | void glMultTransposeMatrixf(const GLfloat *m); |
867 | void glLoadTransposeMatrixd(const GLdouble *m); |
868 | void glLoadTransposeMatrixf(const GLfloat *m); |
869 | void glMultiTexCoord4sv(GLenum target, const GLshort *v); |
870 | void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); |
871 | void glMultiTexCoord4iv(GLenum target, const GLint *v); |
872 | void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); |
873 | void glMultiTexCoord4fv(GLenum target, const GLfloat *v); |
874 | void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
875 | void glMultiTexCoord4dv(GLenum target, const GLdouble *v); |
876 | void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
877 | void glMultiTexCoord3sv(GLenum target, const GLshort *v); |
878 | void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); |
879 | void glMultiTexCoord3iv(GLenum target, const GLint *v); |
880 | void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); |
881 | void glMultiTexCoord3fv(GLenum target, const GLfloat *v); |
882 | void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); |
883 | void glMultiTexCoord3dv(GLenum target, const GLdouble *v); |
884 | void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); |
885 | void glMultiTexCoord2sv(GLenum target, const GLshort *v); |
886 | void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t); |
887 | void glMultiTexCoord2iv(GLenum target, const GLint *v); |
888 | void glMultiTexCoord2i(GLenum target, GLint s, GLint t); |
889 | void glMultiTexCoord2fv(GLenum target, const GLfloat *v); |
890 | void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); |
891 | void glMultiTexCoord2dv(GLenum target, const GLdouble *v); |
892 | void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t); |
893 | void glMultiTexCoord1sv(GLenum target, const GLshort *v); |
894 | void glMultiTexCoord1s(GLenum target, GLshort s); |
895 | void glMultiTexCoord1iv(GLenum target, const GLint *v); |
896 | void glMultiTexCoord1i(GLenum target, GLint s); |
897 | void glMultiTexCoord1fv(GLenum target, const GLfloat *v); |
898 | void glMultiTexCoord1f(GLenum target, GLfloat s); |
899 | void glMultiTexCoord1dv(GLenum target, const GLdouble *v); |
900 | void glMultiTexCoord1d(GLenum target, GLdouble s); |
901 | void glClientActiveTexture(GLenum texture); |
902 | |
903 | // OpenGL 1.4 deprecated functions |
904 | void glWindowPos3sv(const GLshort *v); |
905 | void glWindowPos3s(GLshort x, GLshort y, GLshort z); |
906 | void glWindowPos3iv(const GLint *v); |
907 | void glWindowPos3i(GLint x, GLint y, GLint z); |
908 | void glWindowPos3fv(const GLfloat *v); |
909 | void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); |
910 | void glWindowPos3dv(const GLdouble *v); |
911 | void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z); |
912 | void glWindowPos2sv(const GLshort *v); |
913 | void glWindowPos2s(GLshort x, GLshort y); |
914 | void glWindowPos2iv(const GLint *v); |
915 | void glWindowPos2i(GLint x, GLint y); |
916 | void glWindowPos2fv(const GLfloat *v); |
917 | void glWindowPos2f(GLfloat x, GLfloat y); |
918 | void glWindowPos2dv(const GLdouble *v); |
919 | void glWindowPos2d(GLdouble x, GLdouble y); |
920 | void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
921 | void glSecondaryColor3usv(const GLushort *v); |
922 | void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue); |
923 | void glSecondaryColor3uiv(const GLuint *v); |
924 | void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue); |
925 | void glSecondaryColor3ubv(const GLubyte *v); |
926 | void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
927 | void glSecondaryColor3sv(const GLshort *v); |
928 | void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue); |
929 | void glSecondaryColor3iv(const GLint *v); |
930 | void glSecondaryColor3i(GLint red, GLint green, GLint blue); |
931 | void glSecondaryColor3fv(const GLfloat *v); |
932 | void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); |
933 | void glSecondaryColor3dv(const GLdouble *v); |
934 | void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); |
935 | void glSecondaryColor3bv(const GLbyte *v); |
936 | void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); |
937 | void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
938 | void glFogCoorddv(const GLdouble *coord); |
939 | void glFogCoordd(GLdouble coord); |
940 | void glFogCoordfv(const GLfloat *coord); |
941 | void glFogCoordf(GLfloat coord); |
942 | |
943 | // OpenGL 1.5 deprecated functions |
944 | |
945 | // OpenGL 2.0 deprecated functions |
946 | void glVertexAttrib4usv(GLuint index, const GLushort *v); |
947 | void glVertexAttrib4uiv(GLuint index, const GLuint *v); |
948 | void glVertexAttrib4ubv(GLuint index, const GLubyte *v); |
949 | void glVertexAttrib4sv(GLuint index, const GLshort *v); |
950 | void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); |
951 | void glVertexAttrib4iv(GLuint index, const GLint *v); |
952 | void glVertexAttrib4fv(GLuint index, const GLfloat *v); |
953 | void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
954 | void glVertexAttrib4dv(GLuint index, const GLdouble *v); |
955 | void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
956 | void glVertexAttrib4bv(GLuint index, const GLbyte *v); |
957 | void glVertexAttrib4Nusv(GLuint index, const GLushort *v); |
958 | void glVertexAttrib4Nuiv(GLuint index, const GLuint *v); |
959 | void glVertexAttrib4Nubv(GLuint index, const GLubyte *v); |
960 | void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); |
961 | void glVertexAttrib4Nsv(GLuint index, const GLshort *v); |
962 | void glVertexAttrib4Niv(GLuint index, const GLint *v); |
963 | void glVertexAttrib4Nbv(GLuint index, const GLbyte *v); |
964 | void glVertexAttrib3sv(GLuint index, const GLshort *v); |
965 | void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z); |
966 | void glVertexAttrib3fv(GLuint index, const GLfloat *v); |
967 | void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); |
968 | void glVertexAttrib3dv(GLuint index, const GLdouble *v); |
969 | void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); |
970 | void glVertexAttrib2sv(GLuint index, const GLshort *v); |
971 | void glVertexAttrib2s(GLuint index, GLshort x, GLshort y); |
972 | void glVertexAttrib2fv(GLuint index, const GLfloat *v); |
973 | void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y); |
974 | void glVertexAttrib2dv(GLuint index, const GLdouble *v); |
975 | void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y); |
976 | void glVertexAttrib1sv(GLuint index, const GLshort *v); |
977 | void glVertexAttrib1s(GLuint index, GLshort x); |
978 | void glVertexAttrib1fv(GLuint index, const GLfloat *v); |
979 | void glVertexAttrib1f(GLuint index, GLfloat x); |
980 | void glVertexAttrib1dv(GLuint index, const GLdouble *v); |
981 | void glVertexAttrib1d(GLuint index, GLdouble x); |
982 | |
983 | // OpenGL 2.1 deprecated functions |
984 | |
985 | // OpenGL 3.0 deprecated functions |
986 | void glVertexAttribI4usv(GLuint index, const GLushort *v); |
987 | void glVertexAttribI4ubv(GLuint index, const GLubyte *v); |
988 | void glVertexAttribI4sv(GLuint index, const GLshort *v); |
989 | void glVertexAttribI4bv(GLuint index, const GLbyte *v); |
990 | void glVertexAttribI4uiv(GLuint index, const GLuint *v); |
991 | void glVertexAttribI3uiv(GLuint index, const GLuint *v); |
992 | void glVertexAttribI2uiv(GLuint index, const GLuint *v); |
993 | void glVertexAttribI1uiv(GLuint index, const GLuint *v); |
994 | void glVertexAttribI4iv(GLuint index, const GLint *v); |
995 | void glVertexAttribI3iv(GLuint index, const GLint *v); |
996 | void glVertexAttribI2iv(GLuint index, const GLint *v); |
997 | void glVertexAttribI1iv(GLuint index, const GLint *v); |
998 | void glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w); |
999 | void glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z); |
1000 | void glVertexAttribI2ui(GLuint index, GLuint x, GLuint y); |
1001 | void glVertexAttribI1ui(GLuint index, GLuint x); |
1002 | void glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w); |
1003 | void glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z); |
1004 | void glVertexAttribI2i(GLuint index, GLint x, GLint y); |
1005 | void glVertexAttribI1i(GLuint index, GLint x); |
1006 | |
1007 | // OpenGL 3.1 deprecated functions |
1008 | |
1009 | // OpenGL 3.2 deprecated functions |
1010 | |
1011 | // OpenGL 3.3 deprecated functions |
1012 | |
1013 | // OpenGL 4.0 deprecated functions |
1014 | |
1015 | // OpenGL 4.1 deprecated functions |
1016 | |
1017 | private: |
1018 | friend class QOpenGLVersionFunctionsFactory; |
1019 | |
1020 | static bool isContextCompatible(QOpenGLContext *context); |
1021 | static QOpenGLVersionProfile versionProfile(); |
1022 | |
1023 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
1024 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
1025 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
1026 | QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core; |
1027 | QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core; |
1028 | QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core; |
1029 | QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core; |
1030 | QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core; |
1031 | QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core; |
1032 | QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core; |
1033 | QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core; |
1034 | QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core; |
1035 | QOpenGLFunctions_4_0_CoreBackend* d_4_0_Core; |
1036 | QOpenGLFunctions_4_1_CoreBackend* d_4_1_Core; |
1037 | QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated; |
1038 | QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated; |
1039 | QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated; |
1040 | QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated; |
1041 | QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated; |
1042 | void *m_reserved_2_0_Deprecated; // To maintain BC |
1043 | QOpenGLFunctions_3_3_DeprecatedBackend* d_3_3_Deprecated; |
1044 | }; |
1045 | |
1046 | // OpenGL 1.0 core functions |
1047 | inline void QOpenGLFunctions_4_1_Compatibility::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
1048 | { |
1049 | d_1_0_Core->f.Viewport(x, y, width, height); |
1050 | } |
1051 | |
1052 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthRange(GLdouble nearVal, GLdouble farVal) |
1053 | { |
1054 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
1055 | } |
1056 | |
1057 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsEnabled(GLenum cap) |
1058 | { |
1059 | return d_1_0_Core->f.IsEnabled(cap); |
1060 | } |
1061 | |
1062 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
1063 | { |
1064 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
1065 | } |
1066 | |
1067 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
1068 | { |
1069 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
1070 | } |
1071 | |
1072 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
1073 | { |
1074 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
1075 | } |
1076 | |
1077 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
1078 | { |
1079 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
1080 | } |
1081 | |
1082 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
1083 | { |
1084 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
1085 | } |
1086 | |
1087 | inline const GLubyte * QOpenGLFunctions_4_1_Compatibility::glGetString(GLenum name) |
1088 | { |
1089 | return d_1_0_Core->f.GetString(name); |
1090 | } |
1091 | |
1092 | inline void QOpenGLFunctions_4_1_Compatibility::glGetIntegerv(GLenum pname, GLint *params) |
1093 | { |
1094 | d_1_0_Core->f.GetIntegerv(pname, params); |
1095 | } |
1096 | |
1097 | inline void QOpenGLFunctions_4_1_Compatibility::glGetFloatv(GLenum pname, GLfloat *params) |
1098 | { |
1099 | d_1_0_Core->f.GetFloatv(pname, params); |
1100 | } |
1101 | |
1102 | inline GLenum QOpenGLFunctions_4_1_Compatibility::glGetError() |
1103 | { |
1104 | return d_1_0_Core->f.GetError(); |
1105 | } |
1106 | |
1107 | inline void QOpenGLFunctions_4_1_Compatibility::glGetDoublev(GLenum pname, GLdouble *params) |
1108 | { |
1109 | d_1_0_Core->f.GetDoublev(pname, params); |
1110 | } |
1111 | |
1112 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBooleanv(GLenum pname, GLboolean *params) |
1113 | { |
1114 | d_1_0_Core->f.GetBooleanv(pname, params); |
1115 | } |
1116 | |
1117 | inline void QOpenGLFunctions_4_1_Compatibility::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
1118 | { |
1119 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
1120 | } |
1121 | |
1122 | inline void QOpenGLFunctions_4_1_Compatibility::glReadBuffer(GLenum mode) |
1123 | { |
1124 | d_1_0_Core->f.ReadBuffer(mode); |
1125 | } |
1126 | |
1127 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelStorei(GLenum pname, GLint param) |
1128 | { |
1129 | d_1_0_Core->f.PixelStorei(pname, param); |
1130 | } |
1131 | |
1132 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelStoref(GLenum pname, GLfloat param) |
1133 | { |
1134 | d_1_0_Core->f.PixelStoref(pname, param); |
1135 | } |
1136 | |
1137 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthFunc(GLenum func) |
1138 | { |
1139 | d_1_0_Core->f.DepthFunc(func); |
1140 | } |
1141 | |
1142 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
1143 | { |
1144 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
1145 | } |
1146 | |
1147 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
1148 | { |
1149 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
1150 | } |
1151 | |
1152 | inline void QOpenGLFunctions_4_1_Compatibility::glLogicOp(GLenum opcode) |
1153 | { |
1154 | d_1_0_Core->f.LogicOp(opcode); |
1155 | } |
1156 | |
1157 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendFunc(GLenum sfactor, GLenum dfactor) |
1158 | { |
1159 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
1160 | } |
1161 | |
1162 | inline void QOpenGLFunctions_4_1_Compatibility::glFlush() |
1163 | { |
1164 | d_1_0_Core->f.Flush(); |
1165 | } |
1166 | |
1167 | inline void QOpenGLFunctions_4_1_Compatibility::glFinish() |
1168 | { |
1169 | d_1_0_Core->f.Finish(); |
1170 | } |
1171 | |
1172 | inline void QOpenGLFunctions_4_1_Compatibility::glEnable(GLenum cap) |
1173 | { |
1174 | d_1_0_Core->f.Enable(cap); |
1175 | } |
1176 | |
1177 | inline void QOpenGLFunctions_4_1_Compatibility::glDisable(GLenum cap) |
1178 | { |
1179 | d_1_0_Core->f.Disable(cap); |
1180 | } |
1181 | |
1182 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthMask(GLboolean flag) |
1183 | { |
1184 | d_1_0_Core->f.DepthMask(flag); |
1185 | } |
1186 | |
1187 | inline void QOpenGLFunctions_4_1_Compatibility::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
1188 | { |
1189 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
1190 | } |
1191 | |
1192 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilMask(GLuint mask) |
1193 | { |
1194 | d_1_0_Core->f.StencilMask(mask); |
1195 | } |
1196 | |
1197 | inline void QOpenGLFunctions_4_1_Compatibility::glClearDepth(GLdouble depth) |
1198 | { |
1199 | d_1_0_Core->f.ClearDepth(depth); |
1200 | } |
1201 | |
1202 | inline void QOpenGLFunctions_4_1_Compatibility::glClearStencil(GLint s) |
1203 | { |
1204 | d_1_0_Core->f.ClearStencil(s); |
1205 | } |
1206 | |
1207 | inline void QOpenGLFunctions_4_1_Compatibility::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
1208 | { |
1209 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
1210 | } |
1211 | |
1212 | inline void QOpenGLFunctions_4_1_Compatibility::glClear(GLbitfield mask) |
1213 | { |
1214 | d_1_0_Core->f.Clear(mask); |
1215 | } |
1216 | |
1217 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawBuffer(GLenum mode) |
1218 | { |
1219 | d_1_0_Core->f.DrawBuffer(mode); |
1220 | } |
1221 | |
1222 | inline void QOpenGLFunctions_4_1_Compatibility::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
1223 | { |
1224 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
1225 | } |
1226 | |
1227 | inline void QOpenGLFunctions_4_1_Compatibility::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
1228 | { |
1229 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
1230 | } |
1231 | |
1232 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
1233 | { |
1234 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
1235 | } |
1236 | |
1237 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameteri(GLenum target, GLenum pname, GLint param) |
1238 | { |
1239 | d_1_0_Core->f.TexParameteri(target, pname, param); |
1240 | } |
1241 | |
1242 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
1243 | { |
1244 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
1245 | } |
1246 | |
1247 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
1248 | { |
1249 | d_1_0_Core->f.TexParameterf(target, pname, param); |
1250 | } |
1251 | |
1252 | inline void QOpenGLFunctions_4_1_Compatibility::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
1253 | { |
1254 | d_1_0_Core->f.Scissor(x, y, width, height); |
1255 | } |
1256 | |
1257 | inline void QOpenGLFunctions_4_1_Compatibility::glPolygonMode(GLenum face, GLenum mode) |
1258 | { |
1259 | d_1_0_Core->f.PolygonMode(face, mode); |
1260 | } |
1261 | |
1262 | inline void QOpenGLFunctions_4_1_Compatibility::glPointSize(GLfloat size) |
1263 | { |
1264 | d_1_0_Core->f.PointSize(size); |
1265 | } |
1266 | |
1267 | inline void QOpenGLFunctions_4_1_Compatibility::glLineWidth(GLfloat width) |
1268 | { |
1269 | d_1_0_Core->f.LineWidth(width); |
1270 | } |
1271 | |
1272 | inline void QOpenGLFunctions_4_1_Compatibility::glHint(GLenum target, GLenum mode) |
1273 | { |
1274 | d_1_0_Core->f.Hint(target, mode); |
1275 | } |
1276 | |
1277 | inline void QOpenGLFunctions_4_1_Compatibility::glFrontFace(GLenum mode) |
1278 | { |
1279 | d_1_0_Core->f.FrontFace(mode); |
1280 | } |
1281 | |
1282 | inline void QOpenGLFunctions_4_1_Compatibility::glCullFace(GLenum mode) |
1283 | { |
1284 | d_1_0_Core->f.CullFace(mode); |
1285 | } |
1286 | |
1287 | |
1288 | // OpenGL 1.1 core functions |
1289 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexubv(const GLubyte *c) |
1290 | { |
1291 | d_1_1_Deprecated->f.Indexubv(c); |
1292 | } |
1293 | |
1294 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexub(GLubyte c) |
1295 | { |
1296 | d_1_1_Deprecated->f.Indexub(c); |
1297 | } |
1298 | |
1299 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsTexture(GLuint texture) |
1300 | { |
1301 | return d_1_1_Core->f.IsTexture(texture); |
1302 | } |
1303 | |
1304 | inline void QOpenGLFunctions_4_1_Compatibility::glGenTextures(GLsizei n, GLuint *textures) |
1305 | { |
1306 | d_1_1_Core->f.GenTextures(n, textures); |
1307 | } |
1308 | |
1309 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteTextures(GLsizei n, const GLuint *textures) |
1310 | { |
1311 | d_1_1_Core->f.DeleteTextures(n, textures); |
1312 | } |
1313 | |
1314 | inline void QOpenGLFunctions_4_1_Compatibility::glBindTexture(GLenum target, GLuint texture) |
1315 | { |
1316 | d_1_1_Core->f.BindTexture(target, texture); |
1317 | } |
1318 | |
1319 | inline void QOpenGLFunctions_4_1_Compatibility::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
1320 | { |
1321 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
1322 | } |
1323 | |
1324 | inline void QOpenGLFunctions_4_1_Compatibility::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
1325 | { |
1326 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
1327 | } |
1328 | |
1329 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
1330 | { |
1331 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
1332 | } |
1333 | |
1334 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
1335 | { |
1336 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
1337 | } |
1338 | |
1339 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
1340 | { |
1341 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
1342 | } |
1343 | |
1344 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
1345 | { |
1346 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
1347 | } |
1348 | |
1349 | inline void QOpenGLFunctions_4_1_Compatibility::glPolygonOffset(GLfloat factor, GLfloat units) |
1350 | { |
1351 | d_1_1_Core->f.PolygonOffset(factor, units); |
1352 | } |
1353 | |
1354 | inline void QOpenGLFunctions_4_1_Compatibility::glGetPointerv(GLenum pname, GLvoid* *params) |
1355 | { |
1356 | d_1_1_Deprecated->f.GetPointerv(pname, params); |
1357 | } |
1358 | |
1359 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
1360 | { |
1361 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
1362 | } |
1363 | |
1364 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
1365 | { |
1366 | d_1_1_Core->f.DrawArrays(mode, first, count); |
1367 | } |
1368 | |
1369 | |
1370 | // OpenGL 1.2 core functions |
1371 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
1372 | { |
1373 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
1374 | } |
1375 | |
1376 | inline void QOpenGLFunctions_4_1_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) |
1377 | { |
1378 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
1379 | } |
1380 | |
1381 | inline void QOpenGLFunctions_4_1_Compatibility::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
1382 | { |
1383 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
1384 | } |
1385 | |
1386 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
1387 | { |
1388 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
1389 | } |
1390 | |
1391 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendEquation(GLenum mode) |
1392 | { |
1393 | d_1_2_Core->f.BlendEquation(mode); |
1394 | } |
1395 | |
1396 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
1397 | { |
1398 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
1399 | } |
1400 | |
1401 | |
1402 | // OpenGL 1.3 core functions |
1403 | inline void QOpenGLFunctions_4_1_Compatibility::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img) |
1404 | { |
1405 | d_1_3_Core->f.GetCompressedTexImage(target, level, img); |
1406 | } |
1407 | |
1408 | inline void QOpenGLFunctions_4_1_Compatibility::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
1409 | { |
1410 | d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); |
1411 | } |
1412 | |
1413 | inline void QOpenGLFunctions_4_1_Compatibility::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
1414 | { |
1415 | d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
1416 | } |
1417 | |
1418 | inline void QOpenGLFunctions_4_1_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) |
1419 | { |
1420 | d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
1421 | } |
1422 | |
1423 | inline void QOpenGLFunctions_4_1_Compatibility::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
1424 | { |
1425 | d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); |
1426 | } |
1427 | |
1428 | inline void QOpenGLFunctions_4_1_Compatibility::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
1429 | { |
1430 | d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); |
1431 | } |
1432 | |
1433 | inline void QOpenGLFunctions_4_1_Compatibility::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
1434 | { |
1435 | d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); |
1436 | } |
1437 | |
1438 | inline void QOpenGLFunctions_4_1_Compatibility::glSampleCoverage(GLfloat value, GLboolean invert) |
1439 | { |
1440 | d_1_3_Core->f.SampleCoverage(value, invert); |
1441 | } |
1442 | |
1443 | inline void QOpenGLFunctions_4_1_Compatibility::glActiveTexture(GLenum texture) |
1444 | { |
1445 | d_1_3_Core->f.ActiveTexture(texture); |
1446 | } |
1447 | |
1448 | |
1449 | // OpenGL 1.4 core functions |
1450 | inline void QOpenGLFunctions_4_1_Compatibility::glPointParameteriv(GLenum pname, const GLint *params) |
1451 | { |
1452 | d_1_4_Core->f.PointParameteriv(pname, params); |
1453 | } |
1454 | |
1455 | inline void QOpenGLFunctions_4_1_Compatibility::glPointParameteri(GLenum pname, GLint param) |
1456 | { |
1457 | d_1_4_Core->f.PointParameteri(pname, param); |
1458 | } |
1459 | |
1460 | inline void QOpenGLFunctions_4_1_Compatibility::glPointParameterfv(GLenum pname, const GLfloat *params) |
1461 | { |
1462 | d_1_4_Core->f.PointParameterfv(pname, params); |
1463 | } |
1464 | |
1465 | inline void QOpenGLFunctions_4_1_Compatibility::glPointParameterf(GLenum pname, GLfloat param) |
1466 | { |
1467 | d_1_4_Core->f.PointParameterf(pname, param); |
1468 | } |
1469 | |
1470 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) |
1471 | { |
1472 | d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount); |
1473 | } |
1474 | |
1475 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) |
1476 | { |
1477 | d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount); |
1478 | } |
1479 | |
1480 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
1481 | { |
1482 | d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
1483 | } |
1484 | |
1485 | |
1486 | // OpenGL 1.5 core functions |
1487 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params) |
1488 | { |
1489 | d_1_5_Core->f.GetBufferPointerv(target, pname, params); |
1490 | } |
1491 | |
1492 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1493 | { |
1494 | d_1_5_Core->f.GetBufferParameteriv(target, pname, params); |
1495 | } |
1496 | |
1497 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glUnmapBuffer(GLenum target) |
1498 | { |
1499 | return d_1_5_Core->f.UnmapBuffer(target); |
1500 | } |
1501 | |
1502 | inline GLvoid* QOpenGLFunctions_4_1_Compatibility::glMapBuffer(GLenum target, GLenum access) |
1503 | { |
1504 | return d_1_5_Core->f.MapBuffer(target, access); |
1505 | } |
1506 | |
1507 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
1508 | { |
1509 | d_1_5_Core->f.GetBufferSubData(target, offset, size, data); |
1510 | } |
1511 | |
1512 | inline void QOpenGLFunctions_4_1_Compatibility::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
1513 | { |
1514 | d_1_5_Core->f.BufferSubData(target, offset, size, data); |
1515 | } |
1516 | |
1517 | inline void QOpenGLFunctions_4_1_Compatibility::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
1518 | { |
1519 | d_1_5_Core->f.BufferData(target, size, data, usage); |
1520 | } |
1521 | |
1522 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsBuffer(GLuint buffer) |
1523 | { |
1524 | return d_1_5_Core->f.IsBuffer(buffer); |
1525 | } |
1526 | |
1527 | inline void QOpenGLFunctions_4_1_Compatibility::glGenBuffers(GLsizei n, GLuint *buffers) |
1528 | { |
1529 | d_1_5_Core->f.GenBuffers(n, buffers); |
1530 | } |
1531 | |
1532 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteBuffers(GLsizei n, const GLuint *buffers) |
1533 | { |
1534 | d_1_5_Core->f.DeleteBuffers(n, buffers); |
1535 | } |
1536 | |
1537 | inline void QOpenGLFunctions_4_1_Compatibility::glBindBuffer(GLenum target, GLuint buffer) |
1538 | { |
1539 | d_1_5_Core->f.BindBuffer(target, buffer); |
1540 | } |
1541 | |
1542 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
1543 | { |
1544 | d_1_5_Core->f.GetQueryObjectuiv(id, pname, params); |
1545 | } |
1546 | |
1547 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
1548 | { |
1549 | d_1_5_Core->f.GetQueryObjectiv(id, pname, params); |
1550 | } |
1551 | |
1552 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
1553 | { |
1554 | d_1_5_Core->f.GetQueryiv(target, pname, params); |
1555 | } |
1556 | |
1557 | inline void QOpenGLFunctions_4_1_Compatibility::glEndQuery(GLenum target) |
1558 | { |
1559 | d_1_5_Core->f.EndQuery(target); |
1560 | } |
1561 | |
1562 | inline void QOpenGLFunctions_4_1_Compatibility::glBeginQuery(GLenum target, GLuint id) |
1563 | { |
1564 | d_1_5_Core->f.BeginQuery(target, id); |
1565 | } |
1566 | |
1567 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsQuery(GLuint id) |
1568 | { |
1569 | return d_1_5_Core->f.IsQuery(id); |
1570 | } |
1571 | |
1572 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteQueries(GLsizei n, const GLuint *ids) |
1573 | { |
1574 | d_1_5_Core->f.DeleteQueries(n, ids); |
1575 | } |
1576 | |
1577 | inline void QOpenGLFunctions_4_1_Compatibility::glGenQueries(GLsizei n, GLuint *ids) |
1578 | { |
1579 | d_1_5_Core->f.GenQueries(n, ids); |
1580 | } |
1581 | |
1582 | |
1583 | // OpenGL 2.0 core functions |
1584 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
1585 | { |
1586 | d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer); |
1587 | } |
1588 | |
1589 | inline void QOpenGLFunctions_4_1_Compatibility::glValidateProgram(GLuint program) |
1590 | { |
1591 | d_2_0_Core->f.ValidateProgram(program); |
1592 | } |
1593 | |
1594 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1595 | { |
1596 | d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value); |
1597 | } |
1598 | |
1599 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1600 | { |
1601 | d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value); |
1602 | } |
1603 | |
1604 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1605 | { |
1606 | d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value); |
1607 | } |
1608 | |
1609 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4iv(GLint location, GLsizei count, const GLint *value) |
1610 | { |
1611 | d_2_0_Core->f.Uniform4iv(location, count, value); |
1612 | } |
1613 | |
1614 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3iv(GLint location, GLsizei count, const GLint *value) |
1615 | { |
1616 | d_2_0_Core->f.Uniform3iv(location, count, value); |
1617 | } |
1618 | |
1619 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2iv(GLint location, GLsizei count, const GLint *value) |
1620 | { |
1621 | d_2_0_Core->f.Uniform2iv(location, count, value); |
1622 | } |
1623 | |
1624 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1iv(GLint location, GLsizei count, const GLint *value) |
1625 | { |
1626 | d_2_0_Core->f.Uniform1iv(location, count, value); |
1627 | } |
1628 | |
1629 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
1630 | { |
1631 | d_2_0_Core->f.Uniform4fv(location, count, value); |
1632 | } |
1633 | |
1634 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
1635 | { |
1636 | d_2_0_Core->f.Uniform3fv(location, count, value); |
1637 | } |
1638 | |
1639 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
1640 | { |
1641 | d_2_0_Core->f.Uniform2fv(location, count, value); |
1642 | } |
1643 | |
1644 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
1645 | { |
1646 | d_2_0_Core->f.Uniform1fv(location, count, value); |
1647 | } |
1648 | |
1649 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
1650 | { |
1651 | d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3); |
1652 | } |
1653 | |
1654 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
1655 | { |
1656 | d_2_0_Core->f.Uniform3i(location, v0, v1, v2); |
1657 | } |
1658 | |
1659 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2i(GLint location, GLint v0, GLint v1) |
1660 | { |
1661 | d_2_0_Core->f.Uniform2i(location, v0, v1); |
1662 | } |
1663 | |
1664 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1i(GLint location, GLint v0) |
1665 | { |
1666 | d_2_0_Core->f.Uniform1i(location, v0); |
1667 | } |
1668 | |
1669 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
1670 | { |
1671 | d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3); |
1672 | } |
1673 | |
1674 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
1675 | { |
1676 | d_2_0_Core->f.Uniform3f(location, v0, v1, v2); |
1677 | } |
1678 | |
1679 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
1680 | { |
1681 | d_2_0_Core->f.Uniform2f(location, v0, v1); |
1682 | } |
1683 | |
1684 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1f(GLint location, GLfloat v0) |
1685 | { |
1686 | d_2_0_Core->f.Uniform1f(location, v0); |
1687 | } |
1688 | |
1689 | inline void QOpenGLFunctions_4_1_Compatibility::glUseProgram(GLuint program) |
1690 | { |
1691 | d_2_0_Core->f.UseProgram(program); |
1692 | } |
1693 | |
1694 | inline void QOpenGLFunctions_4_1_Compatibility::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) |
1695 | { |
1696 | d_2_0_Core->f.ShaderSource(shader, count, string, length); |
1697 | } |
1698 | |
1699 | inline void QOpenGLFunctions_4_1_Compatibility::glLinkProgram(GLuint program) |
1700 | { |
1701 | d_2_0_Core->f.LinkProgram(program); |
1702 | } |
1703 | |
1704 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsShader(GLuint shader) |
1705 | { |
1706 | return d_2_0_Core->f.IsShader(shader); |
1707 | } |
1708 | |
1709 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsProgram(GLuint program) |
1710 | { |
1711 | return d_2_0_Core->f.IsProgram(program); |
1712 | } |
1713 | |
1714 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer) |
1715 | { |
1716 | d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer); |
1717 | } |
1718 | |
1719 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
1720 | { |
1721 | d_2_0_Core->f.GetVertexAttribiv(index, pname, params); |
1722 | } |
1723 | |
1724 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
1725 | { |
1726 | d_2_0_Core->f.GetVertexAttribfv(index, pname, params); |
1727 | } |
1728 | |
1729 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
1730 | { |
1731 | d_2_0_Core->f.GetVertexAttribdv(index, pname, params); |
1732 | } |
1733 | |
1734 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformiv(GLuint program, GLint location, GLint *params) |
1735 | { |
1736 | d_2_0_Core->f.GetUniformiv(program, location, params); |
1737 | } |
1738 | |
1739 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
1740 | { |
1741 | d_2_0_Core->f.GetUniformfv(program, location, params); |
1742 | } |
1743 | |
1744 | inline GLint QOpenGLFunctions_4_1_Compatibility::glGetUniformLocation(GLuint program, const GLchar *name) |
1745 | { |
1746 | return d_2_0_Core->f.GetUniformLocation(program, name); |
1747 | } |
1748 | |
1749 | inline void QOpenGLFunctions_4_1_Compatibility::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
1750 | { |
1751 | d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source); |
1752 | } |
1753 | |
1754 | inline void QOpenGLFunctions_4_1_Compatibility::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1755 | { |
1756 | d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog); |
1757 | } |
1758 | |
1759 | inline void QOpenGLFunctions_4_1_Compatibility::glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
1760 | { |
1761 | d_2_0_Core->f.GetShaderiv(shader, pname, params); |
1762 | } |
1763 | |
1764 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1765 | { |
1766 | d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog); |
1767 | } |
1768 | |
1769 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
1770 | { |
1771 | d_2_0_Core->f.GetProgramiv(program, pname, params); |
1772 | } |
1773 | |
1774 | inline GLint QOpenGLFunctions_4_1_Compatibility::glGetAttribLocation(GLuint program, const GLchar *name) |
1775 | { |
1776 | return d_2_0_Core->f.GetAttribLocation(program, name); |
1777 | } |
1778 | |
1779 | inline void QOpenGLFunctions_4_1_Compatibility::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
1780 | { |
1781 | d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj); |
1782 | } |
1783 | |
1784 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1785 | { |
1786 | d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name); |
1787 | } |
1788 | |
1789 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1790 | { |
1791 | d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name); |
1792 | } |
1793 | |
1794 | inline void QOpenGLFunctions_4_1_Compatibility::glEnableVertexAttribArray(GLuint index) |
1795 | { |
1796 | d_2_0_Core->f.EnableVertexAttribArray(index); |
1797 | } |
1798 | |
1799 | inline void QOpenGLFunctions_4_1_Compatibility::glDisableVertexAttribArray(GLuint index) |
1800 | { |
1801 | d_2_0_Core->f.DisableVertexAttribArray(index); |
1802 | } |
1803 | |
1804 | inline void QOpenGLFunctions_4_1_Compatibility::glDetachShader(GLuint program, GLuint shader) |
1805 | { |
1806 | d_2_0_Core->f.DetachShader(program, shader); |
1807 | } |
1808 | |
1809 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteShader(GLuint shader) |
1810 | { |
1811 | d_2_0_Core->f.DeleteShader(shader); |
1812 | } |
1813 | |
1814 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteProgram(GLuint program) |
1815 | { |
1816 | d_2_0_Core->f.DeleteProgram(program); |
1817 | } |
1818 | |
1819 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glCreateShader(GLenum type) |
1820 | { |
1821 | return d_2_0_Core->f.CreateShader(type); |
1822 | } |
1823 | |
1824 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glCreateProgram() |
1825 | { |
1826 | return d_2_0_Core->f.CreateProgram(); |
1827 | } |
1828 | |
1829 | inline void QOpenGLFunctions_4_1_Compatibility::glCompileShader(GLuint shader) |
1830 | { |
1831 | d_2_0_Core->f.CompileShader(shader); |
1832 | } |
1833 | |
1834 | inline void QOpenGLFunctions_4_1_Compatibility::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
1835 | { |
1836 | d_2_0_Core->f.BindAttribLocation(program, index, name); |
1837 | } |
1838 | |
1839 | inline void QOpenGLFunctions_4_1_Compatibility::glAttachShader(GLuint program, GLuint shader) |
1840 | { |
1841 | d_2_0_Core->f.AttachShader(program, shader); |
1842 | } |
1843 | |
1844 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilMaskSeparate(GLenum face, GLuint mask) |
1845 | { |
1846 | d_2_0_Core->f.StencilMaskSeparate(face, mask); |
1847 | } |
1848 | |
1849 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
1850 | { |
1851 | d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask); |
1852 | } |
1853 | |
1854 | inline void QOpenGLFunctions_4_1_Compatibility::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
1855 | { |
1856 | d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass); |
1857 | } |
1858 | |
1859 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawBuffers(GLsizei n, const GLenum *bufs) |
1860 | { |
1861 | d_2_0_Core->f.DrawBuffers(n, bufs); |
1862 | } |
1863 | |
1864 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
1865 | { |
1866 | d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha); |
1867 | } |
1868 | |
1869 | |
1870 | // OpenGL 2.1 core functions |
1871 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1872 | { |
1873 | d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value); |
1874 | } |
1875 | |
1876 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1877 | { |
1878 | d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value); |
1879 | } |
1880 | |
1881 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1882 | { |
1883 | d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value); |
1884 | } |
1885 | |
1886 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1887 | { |
1888 | d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value); |
1889 | } |
1890 | |
1891 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1892 | { |
1893 | d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value); |
1894 | } |
1895 | |
1896 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1897 | { |
1898 | d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value); |
1899 | } |
1900 | |
1901 | |
1902 | // OpenGL 3.0 core functions |
1903 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsVertexArray(GLuint array) |
1904 | { |
1905 | return d_3_0_Core->f.IsVertexArray(array); |
1906 | } |
1907 | |
1908 | inline void QOpenGLFunctions_4_1_Compatibility::glGenVertexArrays(GLsizei n, GLuint *arrays) |
1909 | { |
1910 | d_3_0_Core->f.GenVertexArrays(n, arrays); |
1911 | } |
1912 | |
1913 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
1914 | { |
1915 | d_3_0_Core->f.DeleteVertexArrays(n, arrays); |
1916 | } |
1917 | |
1918 | inline void QOpenGLFunctions_4_1_Compatibility::glBindVertexArray(GLuint array) |
1919 | { |
1920 | d_3_0_Core->f.BindVertexArray(array); |
1921 | } |
1922 | |
1923 | inline void QOpenGLFunctions_4_1_Compatibility::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
1924 | { |
1925 | d_3_0_Core->f.FlushMappedBufferRange(target, offset, length); |
1926 | } |
1927 | |
1928 | inline GLvoid* QOpenGLFunctions_4_1_Compatibility::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
1929 | { |
1930 | return d_3_0_Core->f.MapBufferRange(target, offset, length, access); |
1931 | } |
1932 | |
1933 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
1934 | { |
1935 | d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer); |
1936 | } |
1937 | |
1938 | inline void QOpenGLFunctions_4_1_Compatibility::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
1939 | { |
1940 | d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height); |
1941 | } |
1942 | |
1943 | inline void QOpenGLFunctions_4_1_Compatibility::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
1944 | { |
1945 | d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
1946 | } |
1947 | |
1948 | inline void QOpenGLFunctions_4_1_Compatibility::glGenerateMipmap(GLenum target) |
1949 | { |
1950 | d_3_0_Core->f.GenerateMipmap(target); |
1951 | } |
1952 | |
1953 | inline void QOpenGLFunctions_4_1_Compatibility::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
1954 | { |
1955 | d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
1956 | } |
1957 | |
1958 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
1959 | { |
1960 | d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); |
1961 | } |
1962 | |
1963 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
1964 | { |
1965 | d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); |
1966 | } |
1967 | |
1968 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1969 | { |
1970 | d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level); |
1971 | } |
1972 | |
1973 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1974 | { |
1975 | d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level); |
1976 | } |
1977 | |
1978 | inline GLenum QOpenGLFunctions_4_1_Compatibility::glCheckFramebufferStatus(GLenum target) |
1979 | { |
1980 | return d_3_0_Core->f.CheckFramebufferStatus(target); |
1981 | } |
1982 | |
1983 | inline void QOpenGLFunctions_4_1_Compatibility::glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
1984 | { |
1985 | d_3_0_Core->f.GenFramebuffers(n, framebuffers); |
1986 | } |
1987 | |
1988 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
1989 | { |
1990 | d_3_0_Core->f.DeleteFramebuffers(n, framebuffers); |
1991 | } |
1992 | |
1993 | inline void QOpenGLFunctions_4_1_Compatibility::glBindFramebuffer(GLenum target, GLuint framebuffer) |
1994 | { |
1995 | d_3_0_Core->f.BindFramebuffer(target, framebuffer); |
1996 | } |
1997 | |
1998 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsFramebuffer(GLuint framebuffer) |
1999 | { |
2000 | return d_3_0_Core->f.IsFramebuffer(framebuffer); |
2001 | } |
2002 | |
2003 | inline void QOpenGLFunctions_4_1_Compatibility::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
2004 | { |
2005 | d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params); |
2006 | } |
2007 | |
2008 | inline void QOpenGLFunctions_4_1_Compatibility::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
2009 | { |
2010 | d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height); |
2011 | } |
2012 | |
2013 | inline void QOpenGLFunctions_4_1_Compatibility::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
2014 | { |
2015 | d_3_0_Core->f.GenRenderbuffers(n, renderbuffers); |
2016 | } |
2017 | |
2018 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
2019 | { |
2020 | d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers); |
2021 | } |
2022 | |
2023 | inline void QOpenGLFunctions_4_1_Compatibility::glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
2024 | { |
2025 | d_3_0_Core->f.BindRenderbuffer(target, renderbuffer); |
2026 | } |
2027 | |
2028 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsRenderbuffer(GLuint renderbuffer) |
2029 | { |
2030 | return d_3_0_Core->f.IsRenderbuffer(renderbuffer); |
2031 | } |
2032 | |
2033 | inline const GLubyte * QOpenGLFunctions_4_1_Compatibility::glGetStringi(GLenum name, GLuint index) |
2034 | { |
2035 | return d_3_0_Core->f.GetStringi(name, index); |
2036 | } |
2037 | |
2038 | inline void QOpenGLFunctions_4_1_Compatibility::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
2039 | { |
2040 | d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil); |
2041 | } |
2042 | |
2043 | inline void QOpenGLFunctions_4_1_Compatibility::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
2044 | { |
2045 | d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value); |
2046 | } |
2047 | |
2048 | inline void QOpenGLFunctions_4_1_Compatibility::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
2049 | { |
2050 | d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value); |
2051 | } |
2052 | |
2053 | inline void QOpenGLFunctions_4_1_Compatibility::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
2054 | { |
2055 | d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value); |
2056 | } |
2057 | |
2058 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) |
2059 | { |
2060 | d_3_0_Core->f.GetTexParameterIuiv(target, pname, params); |
2061 | } |
2062 | |
2063 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) |
2064 | { |
2065 | d_3_0_Core->f.GetTexParameterIiv(target, pname, params); |
2066 | } |
2067 | |
2068 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) |
2069 | { |
2070 | d_3_0_Core->f.TexParameterIuiv(target, pname, params); |
2071 | } |
2072 | |
2073 | inline void QOpenGLFunctions_4_1_Compatibility::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) |
2074 | { |
2075 | d_3_0_Core->f.TexParameterIiv(target, pname, params); |
2076 | } |
2077 | |
2078 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
2079 | { |
2080 | d_3_0_Core->f.Uniform4uiv(location, count, value); |
2081 | } |
2082 | |
2083 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
2084 | { |
2085 | d_3_0_Core->f.Uniform3uiv(location, count, value); |
2086 | } |
2087 | |
2088 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
2089 | { |
2090 | d_3_0_Core->f.Uniform2uiv(location, count, value); |
2091 | } |
2092 | |
2093 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
2094 | { |
2095 | d_3_0_Core->f.Uniform1uiv(location, count, value); |
2096 | } |
2097 | |
2098 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
2099 | { |
2100 | d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3); |
2101 | } |
2102 | |
2103 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
2104 | { |
2105 | d_3_0_Core->f.Uniform3ui(location, v0, v1, v2); |
2106 | } |
2107 | |
2108 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2ui(GLint location, GLuint v0, GLuint v1) |
2109 | { |
2110 | d_3_0_Core->f.Uniform2ui(location, v0, v1); |
2111 | } |
2112 | |
2113 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1ui(GLint location, GLuint v0) |
2114 | { |
2115 | d_3_0_Core->f.Uniform1ui(location, v0); |
2116 | } |
2117 | |
2118 | inline GLint QOpenGLFunctions_4_1_Compatibility::glGetFragDataLocation(GLuint program, const GLchar *name) |
2119 | { |
2120 | return d_3_0_Core->f.GetFragDataLocation(program, name); |
2121 | } |
2122 | |
2123 | inline void QOpenGLFunctions_4_1_Compatibility::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name) |
2124 | { |
2125 | d_3_0_Core->f.BindFragDataLocation(program, color, name); |
2126 | } |
2127 | |
2128 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
2129 | { |
2130 | d_3_0_Core->f.GetUniformuiv(program, location, params); |
2131 | } |
2132 | |
2133 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
2134 | { |
2135 | d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params); |
2136 | } |
2137 | |
2138 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
2139 | { |
2140 | d_3_0_Core->f.GetVertexAttribIiv(index, pname, params); |
2141 | } |
2142 | |
2143 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
2144 | { |
2145 | d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer); |
2146 | } |
2147 | |
2148 | inline void QOpenGLFunctions_4_1_Compatibility::glEndConditionalRender() |
2149 | { |
2150 | d_3_0_Core->f.EndConditionalRender(); |
2151 | } |
2152 | |
2153 | inline void QOpenGLFunctions_4_1_Compatibility::glBeginConditionalRender(GLuint id, GLenum mode) |
2154 | { |
2155 | d_3_0_Core->f.BeginConditionalRender(id, mode); |
2156 | } |
2157 | |
2158 | inline void QOpenGLFunctions_4_1_Compatibility::glClampColor(GLenum target, GLenum clamp) |
2159 | { |
2160 | d_3_0_Core->f.ClampColor(target, clamp); |
2161 | } |
2162 | |
2163 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
2164 | { |
2165 | d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); |
2166 | } |
2167 | |
2168 | inline void QOpenGLFunctions_4_1_Compatibility::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode) |
2169 | { |
2170 | d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode); |
2171 | } |
2172 | |
2173 | inline void QOpenGLFunctions_4_1_Compatibility::glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
2174 | { |
2175 | d_3_0_Core->f.BindBufferBase(target, index, buffer); |
2176 | } |
2177 | |
2178 | inline void QOpenGLFunctions_4_1_Compatibility::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
2179 | { |
2180 | d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size); |
2181 | } |
2182 | |
2183 | inline void QOpenGLFunctions_4_1_Compatibility::glEndTransformFeedback() |
2184 | { |
2185 | d_3_0_Core->f.EndTransformFeedback(); |
2186 | } |
2187 | |
2188 | inline void QOpenGLFunctions_4_1_Compatibility::glBeginTransformFeedback(GLenum primitiveMode) |
2189 | { |
2190 | d_3_0_Core->f.BeginTransformFeedback(primitiveMode); |
2191 | } |
2192 | |
2193 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsEnabledi(GLenum target, GLuint index) |
2194 | { |
2195 | return d_3_0_Core->f.IsEnabledi(target, index); |
2196 | } |
2197 | |
2198 | inline void QOpenGLFunctions_4_1_Compatibility::glDisablei(GLenum target, GLuint index) |
2199 | { |
2200 | d_3_0_Core->f.Disablei(target, index); |
2201 | } |
2202 | |
2203 | inline void QOpenGLFunctions_4_1_Compatibility::glEnablei(GLenum target, GLuint index) |
2204 | { |
2205 | d_3_0_Core->f.Enablei(target, index); |
2206 | } |
2207 | |
2208 | inline void QOpenGLFunctions_4_1_Compatibility::glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
2209 | { |
2210 | d_3_0_Core->f.GetIntegeri_v(target, index, data); |
2211 | } |
2212 | |
2213 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
2214 | { |
2215 | d_3_0_Core->f.GetBooleani_v(target, index, data); |
2216 | } |
2217 | |
2218 | inline void QOpenGLFunctions_4_1_Compatibility::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
2219 | { |
2220 | d_3_0_Core->f.ColorMaski(index, r, g, b, a); |
2221 | } |
2222 | |
2223 | |
2224 | // OpenGL 3.1 core functions |
2225 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
2226 | { |
2227 | d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); |
2228 | } |
2229 | |
2230 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
2231 | { |
2232 | d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); |
2233 | } |
2234 | |
2235 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
2236 | { |
2237 | d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); |
2238 | } |
2239 | |
2240 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
2241 | { |
2242 | d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); |
2243 | } |
2244 | |
2245 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
2246 | { |
2247 | return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName); |
2248 | } |
2249 | |
2250 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
2251 | { |
2252 | d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); |
2253 | } |
2254 | |
2255 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
2256 | { |
2257 | d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); |
2258 | } |
2259 | |
2260 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices) |
2261 | { |
2262 | d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); |
2263 | } |
2264 | |
2265 | inline void QOpenGLFunctions_4_1_Compatibility::glPrimitiveRestartIndex(GLuint index) |
2266 | { |
2267 | d_3_1_Core->f.PrimitiveRestartIndex(index); |
2268 | } |
2269 | |
2270 | inline void QOpenGLFunctions_4_1_Compatibility::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) |
2271 | { |
2272 | d_3_1_Core->f.TexBuffer(target, internalformat, buffer); |
2273 | } |
2274 | |
2275 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount) |
2276 | { |
2277 | d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount); |
2278 | } |
2279 | |
2280 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) |
2281 | { |
2282 | d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount); |
2283 | } |
2284 | |
2285 | |
2286 | // OpenGL 3.2 core functions |
2287 | inline void QOpenGLFunctions_4_1_Compatibility::glSampleMaski(GLuint index, GLbitfield mask) |
2288 | { |
2289 | d_3_2_Core->f.SampleMaski(index, mask); |
2290 | } |
2291 | |
2292 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
2293 | { |
2294 | d_3_2_Core->f.GetMultisamplefv(pname, index, val); |
2295 | } |
2296 | |
2297 | inline void QOpenGLFunctions_4_1_Compatibility::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
2298 | { |
2299 | d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
2300 | } |
2301 | |
2302 | inline void QOpenGLFunctions_4_1_Compatibility::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
2303 | { |
2304 | d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); |
2305 | } |
2306 | |
2307 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
2308 | { |
2309 | d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values); |
2310 | } |
2311 | |
2312 | inline void QOpenGLFunctions_4_1_Compatibility::glGetInteger64v(GLenum pname, GLint64 *params) |
2313 | { |
2314 | d_3_2_Core->f.GetInteger64v(pname, params); |
2315 | } |
2316 | |
2317 | inline void QOpenGLFunctions_4_1_Compatibility::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
2318 | { |
2319 | d_3_2_Core->f.WaitSync(sync, flags, timeout); |
2320 | } |
2321 | |
2322 | inline GLenum QOpenGLFunctions_4_1_Compatibility::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
2323 | { |
2324 | return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout); |
2325 | } |
2326 | |
2327 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteSync(GLsync sync) |
2328 | { |
2329 | d_3_2_Core->f.DeleteSync(sync); |
2330 | } |
2331 | |
2332 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsSync(GLsync sync) |
2333 | { |
2334 | return d_3_2_Core->f.IsSync(sync); |
2335 | } |
2336 | |
2337 | inline GLsync QOpenGLFunctions_4_1_Compatibility::glFenceSync(GLenum condition, GLbitfield flags) |
2338 | { |
2339 | return d_3_2_Core->f.FenceSync(condition, flags); |
2340 | } |
2341 | |
2342 | inline void QOpenGLFunctions_4_1_Compatibility::glProvokingVertex(GLenum mode) |
2343 | { |
2344 | d_3_2_Core->f.ProvokingVertex(mode); |
2345 | } |
2346 | |
2347 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex) |
2348 | { |
2349 | d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); |
2350 | } |
2351 | |
2352 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex) |
2353 | { |
2354 | d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); |
2355 | } |
2356 | |
2357 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
2358 | { |
2359 | d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); |
2360 | } |
2361 | |
2362 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
2363 | { |
2364 | d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex); |
2365 | } |
2366 | |
2367 | inline void QOpenGLFunctions_4_1_Compatibility::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) |
2368 | { |
2369 | d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level); |
2370 | } |
2371 | |
2372 | inline void QOpenGLFunctions_4_1_Compatibility::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
2373 | { |
2374 | d_3_2_Core->f.GetBufferParameteri64v(target, pname, params); |
2375 | } |
2376 | |
2377 | inline void QOpenGLFunctions_4_1_Compatibility::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
2378 | { |
2379 | d_3_2_Core->f.GetInteger64i_v(target, index, data); |
2380 | } |
2381 | |
2382 | |
2383 | // OpenGL 3.3 core functions |
2384 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
2385 | { |
2386 | d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value); |
2387 | } |
2388 | |
2389 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
2390 | { |
2391 | d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value); |
2392 | } |
2393 | |
2394 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
2395 | { |
2396 | d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value); |
2397 | } |
2398 | |
2399 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
2400 | { |
2401 | d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value); |
2402 | } |
2403 | |
2404 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
2405 | { |
2406 | d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value); |
2407 | } |
2408 | |
2409 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
2410 | { |
2411 | d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value); |
2412 | } |
2413 | |
2414 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
2415 | { |
2416 | d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value); |
2417 | } |
2418 | |
2419 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
2420 | { |
2421 | d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value); |
2422 | } |
2423 | |
2424 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColorP3uiv(GLenum type, const GLuint *color) |
2425 | { |
2426 | d_3_3_Deprecated->f.SecondaryColorP3uiv(type, color); |
2427 | } |
2428 | |
2429 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColorP3ui(GLenum type, GLuint color) |
2430 | { |
2431 | d_3_3_Deprecated->f.SecondaryColorP3ui(type, color); |
2432 | } |
2433 | |
2434 | inline void QOpenGLFunctions_4_1_Compatibility::glColorP4uiv(GLenum type, const GLuint *color) |
2435 | { |
2436 | d_3_3_Deprecated->f.ColorP4uiv(type, color); |
2437 | } |
2438 | |
2439 | inline void QOpenGLFunctions_4_1_Compatibility::glColorP4ui(GLenum type, GLuint color) |
2440 | { |
2441 | d_3_3_Deprecated->f.ColorP4ui(type, color); |
2442 | } |
2443 | |
2444 | inline void QOpenGLFunctions_4_1_Compatibility::glColorP3uiv(GLenum type, const GLuint *color) |
2445 | { |
2446 | d_3_3_Deprecated->f.ColorP3uiv(type, color); |
2447 | } |
2448 | |
2449 | inline void QOpenGLFunctions_4_1_Compatibility::glColorP3ui(GLenum type, GLuint color) |
2450 | { |
2451 | d_3_3_Deprecated->f.ColorP3ui(type, color); |
2452 | } |
2453 | |
2454 | inline void QOpenGLFunctions_4_1_Compatibility::glNormalP3uiv(GLenum type, const GLuint *coords) |
2455 | { |
2456 | d_3_3_Deprecated->f.NormalP3uiv(type, coords); |
2457 | } |
2458 | |
2459 | inline void QOpenGLFunctions_4_1_Compatibility::glNormalP3ui(GLenum type, GLuint coords) |
2460 | { |
2461 | d_3_3_Deprecated->f.NormalP3ui(type, coords); |
2462 | } |
2463 | |
2464 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords) |
2465 | { |
2466 | d_3_3_Deprecated->f.MultiTexCoordP4uiv(texture, type, coords); |
2467 | } |
2468 | |
2469 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords) |
2470 | { |
2471 | d_3_3_Deprecated->f.MultiTexCoordP4ui(texture, type, coords); |
2472 | } |
2473 | |
2474 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords) |
2475 | { |
2476 | d_3_3_Deprecated->f.MultiTexCoordP3uiv(texture, type, coords); |
2477 | } |
2478 | |
2479 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords) |
2480 | { |
2481 | d_3_3_Deprecated->f.MultiTexCoordP3ui(texture, type, coords); |
2482 | } |
2483 | |
2484 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords) |
2485 | { |
2486 | d_3_3_Deprecated->f.MultiTexCoordP2uiv(texture, type, coords); |
2487 | } |
2488 | |
2489 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords) |
2490 | { |
2491 | d_3_3_Deprecated->f.MultiTexCoordP2ui(texture, type, coords); |
2492 | } |
2493 | |
2494 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords) |
2495 | { |
2496 | d_3_3_Deprecated->f.MultiTexCoordP1uiv(texture, type, coords); |
2497 | } |
2498 | |
2499 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords) |
2500 | { |
2501 | d_3_3_Deprecated->f.MultiTexCoordP1ui(texture, type, coords); |
2502 | } |
2503 | |
2504 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP4uiv(GLenum type, const GLuint *coords) |
2505 | { |
2506 | d_3_3_Deprecated->f.TexCoordP4uiv(type, coords); |
2507 | } |
2508 | |
2509 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP4ui(GLenum type, GLuint coords) |
2510 | { |
2511 | d_3_3_Deprecated->f.TexCoordP4ui(type, coords); |
2512 | } |
2513 | |
2514 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP3uiv(GLenum type, const GLuint *coords) |
2515 | { |
2516 | d_3_3_Deprecated->f.TexCoordP3uiv(type, coords); |
2517 | } |
2518 | |
2519 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP3ui(GLenum type, GLuint coords) |
2520 | { |
2521 | d_3_3_Deprecated->f.TexCoordP3ui(type, coords); |
2522 | } |
2523 | |
2524 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP2uiv(GLenum type, const GLuint *coords) |
2525 | { |
2526 | d_3_3_Deprecated->f.TexCoordP2uiv(type, coords); |
2527 | } |
2528 | |
2529 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP2ui(GLenum type, GLuint coords) |
2530 | { |
2531 | d_3_3_Deprecated->f.TexCoordP2ui(type, coords); |
2532 | } |
2533 | |
2534 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP1uiv(GLenum type, const GLuint *coords) |
2535 | { |
2536 | d_3_3_Deprecated->f.TexCoordP1uiv(type, coords); |
2537 | } |
2538 | |
2539 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordP1ui(GLenum type, GLuint coords) |
2540 | { |
2541 | d_3_3_Deprecated->f.TexCoordP1ui(type, coords); |
2542 | } |
2543 | |
2544 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP4uiv(GLenum type, const GLuint *value) |
2545 | { |
2546 | d_3_3_Deprecated->f.VertexP4uiv(type, value); |
2547 | } |
2548 | |
2549 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP4ui(GLenum type, GLuint value) |
2550 | { |
2551 | d_3_3_Deprecated->f.VertexP4ui(type, value); |
2552 | } |
2553 | |
2554 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP3uiv(GLenum type, const GLuint *value) |
2555 | { |
2556 | d_3_3_Deprecated->f.VertexP3uiv(type, value); |
2557 | } |
2558 | |
2559 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP3ui(GLenum type, GLuint value) |
2560 | { |
2561 | d_3_3_Deprecated->f.VertexP3ui(type, value); |
2562 | } |
2563 | |
2564 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP2uiv(GLenum type, const GLuint *value) |
2565 | { |
2566 | d_3_3_Deprecated->f.VertexP2uiv(type, value); |
2567 | } |
2568 | |
2569 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexP2ui(GLenum type, GLuint value) |
2570 | { |
2571 | d_3_3_Deprecated->f.VertexP2ui(type, value); |
2572 | } |
2573 | |
2574 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params) |
2575 | { |
2576 | d_3_3_Core->f.GetQueryObjectui64v(id, pname, params); |
2577 | } |
2578 | |
2579 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params) |
2580 | { |
2581 | d_3_3_Core->f.GetQueryObjecti64v(id, pname, params); |
2582 | } |
2583 | |
2584 | inline void QOpenGLFunctions_4_1_Compatibility::glQueryCounter(GLuint id, GLenum target) |
2585 | { |
2586 | d_3_3_Core->f.QueryCounter(id, target); |
2587 | } |
2588 | |
2589 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) |
2590 | { |
2591 | d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params); |
2592 | } |
2593 | |
2594 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) |
2595 | { |
2596 | d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params); |
2597 | } |
2598 | |
2599 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) |
2600 | { |
2601 | d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params); |
2602 | } |
2603 | |
2604 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) |
2605 | { |
2606 | d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params); |
2607 | } |
2608 | |
2609 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param) |
2610 | { |
2611 | d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param); |
2612 | } |
2613 | |
2614 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param) |
2615 | { |
2616 | d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param); |
2617 | } |
2618 | |
2619 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) |
2620 | { |
2621 | d_3_3_Core->f.SamplerParameterfv(sampler, pname, param); |
2622 | } |
2623 | |
2624 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) |
2625 | { |
2626 | d_3_3_Core->f.SamplerParameterf(sampler, pname, param); |
2627 | } |
2628 | |
2629 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) |
2630 | { |
2631 | d_3_3_Core->f.SamplerParameteriv(sampler, pname, param); |
2632 | } |
2633 | |
2634 | inline void QOpenGLFunctions_4_1_Compatibility::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) |
2635 | { |
2636 | d_3_3_Core->f.SamplerParameteri(sampler, pname, param); |
2637 | } |
2638 | |
2639 | inline void QOpenGLFunctions_4_1_Compatibility::glBindSampler(GLuint unit, GLuint sampler) |
2640 | { |
2641 | d_3_3_Core->f.BindSampler(unit, sampler); |
2642 | } |
2643 | |
2644 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsSampler(GLuint sampler) |
2645 | { |
2646 | return d_3_3_Core->f.IsSampler(sampler); |
2647 | } |
2648 | |
2649 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteSamplers(GLsizei count, const GLuint *samplers) |
2650 | { |
2651 | d_3_3_Core->f.DeleteSamplers(count, samplers); |
2652 | } |
2653 | |
2654 | inline void QOpenGLFunctions_4_1_Compatibility::glGenSamplers(GLsizei count, GLuint *samplers) |
2655 | { |
2656 | d_3_3_Core->f.GenSamplers(count, samplers); |
2657 | } |
2658 | |
2659 | inline GLint QOpenGLFunctions_4_1_Compatibility::glGetFragDataIndex(GLuint program, const GLchar *name) |
2660 | { |
2661 | return d_3_3_Core->f.GetFragDataIndex(program, name); |
2662 | } |
2663 | |
2664 | inline void QOpenGLFunctions_4_1_Compatibility::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name) |
2665 | { |
2666 | d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name); |
2667 | } |
2668 | |
2669 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribDivisor(GLuint index, GLuint divisor) |
2670 | { |
2671 | d_3_3_Core->f.VertexAttribDivisor(index, divisor); |
2672 | } |
2673 | |
2674 | |
2675 | // OpenGL 4.0 core functions |
2676 | inline void QOpenGLFunctions_4_1_Compatibility::glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params) |
2677 | { |
2678 | d_4_0_Core->f.GetQueryIndexediv(target, index, pname, params); |
2679 | } |
2680 | |
2681 | inline void QOpenGLFunctions_4_1_Compatibility::glEndQueryIndexed(GLenum target, GLuint index) |
2682 | { |
2683 | d_4_0_Core->f.EndQueryIndexed(target, index); |
2684 | } |
2685 | |
2686 | inline void QOpenGLFunctions_4_1_Compatibility::glBeginQueryIndexed(GLenum target, GLuint index, GLuint id) |
2687 | { |
2688 | d_4_0_Core->f.BeginQueryIndexed(target, index, id); |
2689 | } |
2690 | |
2691 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream) |
2692 | { |
2693 | d_4_0_Core->f.DrawTransformFeedbackStream(mode, id, stream); |
2694 | } |
2695 | |
2696 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawTransformFeedback(GLenum mode, GLuint id) |
2697 | { |
2698 | d_4_0_Core->f.DrawTransformFeedback(mode, id); |
2699 | } |
2700 | |
2701 | inline void QOpenGLFunctions_4_1_Compatibility::glResumeTransformFeedback() |
2702 | { |
2703 | d_4_0_Core->f.ResumeTransformFeedback(); |
2704 | } |
2705 | |
2706 | inline void QOpenGLFunctions_4_1_Compatibility::glPauseTransformFeedback() |
2707 | { |
2708 | d_4_0_Core->f.PauseTransformFeedback(); |
2709 | } |
2710 | |
2711 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsTransformFeedback(GLuint id) |
2712 | { |
2713 | return d_4_0_Core->f.IsTransformFeedback(id); |
2714 | } |
2715 | |
2716 | inline void QOpenGLFunctions_4_1_Compatibility::glGenTransformFeedbacks(GLsizei n, GLuint *ids) |
2717 | { |
2718 | d_4_0_Core->f.GenTransformFeedbacks(n, ids); |
2719 | } |
2720 | |
2721 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids) |
2722 | { |
2723 | d_4_0_Core->f.DeleteTransformFeedbacks(n, ids); |
2724 | } |
2725 | |
2726 | inline void QOpenGLFunctions_4_1_Compatibility::glBindTransformFeedback(GLenum target, GLuint id) |
2727 | { |
2728 | d_4_0_Core->f.BindTransformFeedback(target, id); |
2729 | } |
2730 | |
2731 | inline void QOpenGLFunctions_4_1_Compatibility::glPatchParameterfv(GLenum pname, const GLfloat *values) |
2732 | { |
2733 | d_4_0_Core->f.PatchParameterfv(pname, values); |
2734 | } |
2735 | |
2736 | inline void QOpenGLFunctions_4_1_Compatibility::glPatchParameteri(GLenum pname, GLint value) |
2737 | { |
2738 | d_4_0_Core->f.PatchParameteri(pname, value); |
2739 | } |
2740 | |
2741 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values) |
2742 | { |
2743 | d_4_0_Core->f.GetProgramStageiv(program, shadertype, pname, values); |
2744 | } |
2745 | |
2746 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params) |
2747 | { |
2748 | d_4_0_Core->f.GetUniformSubroutineuiv(shadertype, location, params); |
2749 | } |
2750 | |
2751 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices) |
2752 | { |
2753 | d_4_0_Core->f.UniformSubroutinesuiv(shadertype, count, indices); |
2754 | } |
2755 | |
2756 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) |
2757 | { |
2758 | d_4_0_Core->f.GetActiveSubroutineName(program, shadertype, index, bufsize, length, name); |
2759 | } |
2760 | |
2761 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) |
2762 | { |
2763 | d_4_0_Core->f.GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name); |
2764 | } |
2765 | |
2766 | inline void QOpenGLFunctions_4_1_Compatibility::glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values) |
2767 | { |
2768 | d_4_0_Core->f.GetActiveSubroutineUniformiv(program, shadertype, index, pname, values); |
2769 | } |
2770 | |
2771 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name) |
2772 | { |
2773 | return d_4_0_Core->f.GetSubroutineIndex(program, shadertype, name); |
2774 | } |
2775 | |
2776 | inline GLint QOpenGLFunctions_4_1_Compatibility::glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name) |
2777 | { |
2778 | return d_4_0_Core->f.GetSubroutineUniformLocation(program, shadertype, name); |
2779 | } |
2780 | |
2781 | inline void QOpenGLFunctions_4_1_Compatibility::glGetUniformdv(GLuint program, GLint location, GLdouble *params) |
2782 | { |
2783 | d_4_0_Core->f.GetUniformdv(program, location, params); |
2784 | } |
2785 | |
2786 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2787 | { |
2788 | d_4_0_Core->f.UniformMatrix4x3dv(location, count, transpose, value); |
2789 | } |
2790 | |
2791 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2792 | { |
2793 | d_4_0_Core->f.UniformMatrix4x2dv(location, count, transpose, value); |
2794 | } |
2795 | |
2796 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2797 | { |
2798 | d_4_0_Core->f.UniformMatrix3x4dv(location, count, transpose, value); |
2799 | } |
2800 | |
2801 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2802 | { |
2803 | d_4_0_Core->f.UniformMatrix3x2dv(location, count, transpose, value); |
2804 | } |
2805 | |
2806 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2807 | { |
2808 | d_4_0_Core->f.UniformMatrix2x4dv(location, count, transpose, value); |
2809 | } |
2810 | |
2811 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2812 | { |
2813 | d_4_0_Core->f.UniformMatrix2x3dv(location, count, transpose, value); |
2814 | } |
2815 | |
2816 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2817 | { |
2818 | d_4_0_Core->f.UniformMatrix4dv(location, count, transpose, value); |
2819 | } |
2820 | |
2821 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2822 | { |
2823 | d_4_0_Core->f.UniformMatrix3dv(location, count, transpose, value); |
2824 | } |
2825 | |
2826 | inline void QOpenGLFunctions_4_1_Compatibility::glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2827 | { |
2828 | d_4_0_Core->f.UniformMatrix2dv(location, count, transpose, value); |
2829 | } |
2830 | |
2831 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4dv(GLint location, GLsizei count, const GLdouble *value) |
2832 | { |
2833 | d_4_0_Core->f.Uniform4dv(location, count, value); |
2834 | } |
2835 | |
2836 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3dv(GLint location, GLsizei count, const GLdouble *value) |
2837 | { |
2838 | d_4_0_Core->f.Uniform3dv(location, count, value); |
2839 | } |
2840 | |
2841 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2dv(GLint location, GLsizei count, const GLdouble *value) |
2842 | { |
2843 | d_4_0_Core->f.Uniform2dv(location, count, value); |
2844 | } |
2845 | |
2846 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1dv(GLint location, GLsizei count, const GLdouble *value) |
2847 | { |
2848 | d_4_0_Core->f.Uniform1dv(location, count, value); |
2849 | } |
2850 | |
2851 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
2852 | { |
2853 | d_4_0_Core->f.Uniform4d(location, x, y, z, w); |
2854 | } |
2855 | |
2856 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z) |
2857 | { |
2858 | d_4_0_Core->f.Uniform3d(location, x, y, z); |
2859 | } |
2860 | |
2861 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform2d(GLint location, GLdouble x, GLdouble y) |
2862 | { |
2863 | d_4_0_Core->f.Uniform2d(location, x, y); |
2864 | } |
2865 | |
2866 | inline void QOpenGLFunctions_4_1_Compatibility::glUniform1d(GLint location, GLdouble x) |
2867 | { |
2868 | d_4_0_Core->f.Uniform1d(location, x); |
2869 | } |
2870 | |
2871 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect) |
2872 | { |
2873 | d_4_0_Core->f.DrawElementsIndirect(mode, type, indirect); |
2874 | } |
2875 | |
2876 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawArraysIndirect(GLenum mode, const GLvoid *indirect) |
2877 | { |
2878 | d_4_0_Core->f.DrawArraysIndirect(mode, indirect); |
2879 | } |
2880 | |
2881 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
2882 | { |
2883 | d_4_0_Core->f.BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); |
2884 | } |
2885 | |
2886 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendFunci(GLuint buf, GLenum src, GLenum dst) |
2887 | { |
2888 | d_4_0_Core->f.BlendFunci(buf, src, dst); |
2889 | } |
2890 | |
2891 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
2892 | { |
2893 | d_4_0_Core->f.BlendEquationSeparatei(buf, modeRGB, modeAlpha); |
2894 | } |
2895 | |
2896 | inline void QOpenGLFunctions_4_1_Compatibility::glBlendEquationi(GLuint buf, GLenum mode) |
2897 | { |
2898 | d_4_0_Core->f.BlendEquationi(buf, mode); |
2899 | } |
2900 | |
2901 | inline void QOpenGLFunctions_4_1_Compatibility::glMinSampleShading(GLfloat value) |
2902 | { |
2903 | d_4_0_Core->f.MinSampleShading(value); |
2904 | } |
2905 | |
2906 | |
2907 | // OpenGL 4.1 core functions |
2908 | inline void QOpenGLFunctions_4_1_Compatibility::glGetDoublei_v(GLenum target, GLuint index, GLdouble *data) |
2909 | { |
2910 | d_4_1_Core->f.GetDoublei_v(target, index, data); |
2911 | } |
2912 | |
2913 | inline void QOpenGLFunctions_4_1_Compatibility::glGetFloati_v(GLenum target, GLuint index, GLfloat *data) |
2914 | { |
2915 | d_4_1_Core->f.GetFloati_v(target, index, data); |
2916 | } |
2917 | |
2918 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f) |
2919 | { |
2920 | d_4_1_Core->f.DepthRangeIndexed(index, n, f); |
2921 | } |
2922 | |
2923 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v) |
2924 | { |
2925 | d_4_1_Core->f.DepthRangeArrayv(first, count, v); |
2926 | } |
2927 | |
2928 | inline void QOpenGLFunctions_4_1_Compatibility::glScissorIndexedv(GLuint index, const GLint *v) |
2929 | { |
2930 | d_4_1_Core->f.ScissorIndexedv(index, v); |
2931 | } |
2932 | |
2933 | inline void QOpenGLFunctions_4_1_Compatibility::glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) |
2934 | { |
2935 | d_4_1_Core->f.ScissorIndexed(index, left, bottom, width, height); |
2936 | } |
2937 | |
2938 | inline void QOpenGLFunctions_4_1_Compatibility::glScissorArrayv(GLuint first, GLsizei count, const GLint *v) |
2939 | { |
2940 | d_4_1_Core->f.ScissorArrayv(first, count, v); |
2941 | } |
2942 | |
2943 | inline void QOpenGLFunctions_4_1_Compatibility::glViewportIndexedfv(GLuint index, const GLfloat *v) |
2944 | { |
2945 | d_4_1_Core->f.ViewportIndexedfv(index, v); |
2946 | } |
2947 | |
2948 | inline void QOpenGLFunctions_4_1_Compatibility::glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) |
2949 | { |
2950 | d_4_1_Core->f.ViewportIndexedf(index, x, y, w, h); |
2951 | } |
2952 | |
2953 | inline void QOpenGLFunctions_4_1_Compatibility::glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v) |
2954 | { |
2955 | d_4_1_Core->f.ViewportArrayv(first, count, v); |
2956 | } |
2957 | |
2958 | inline void QOpenGLFunctions_4_1_Compatibility::glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params) |
2959 | { |
2960 | d_4_1_Core->f.GetVertexAttribLdv(index, pname, params); |
2961 | } |
2962 | |
2963 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
2964 | { |
2965 | d_4_1_Core->f.VertexAttribLPointer(index, size, type, stride, pointer); |
2966 | } |
2967 | |
2968 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL4dv(GLuint index, const GLdouble *v) |
2969 | { |
2970 | d_4_1_Core->f.VertexAttribL4dv(index, v); |
2971 | } |
2972 | |
2973 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL3dv(GLuint index, const GLdouble *v) |
2974 | { |
2975 | d_4_1_Core->f.VertexAttribL3dv(index, v); |
2976 | } |
2977 | |
2978 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL2dv(GLuint index, const GLdouble *v) |
2979 | { |
2980 | d_4_1_Core->f.VertexAttribL2dv(index, v); |
2981 | } |
2982 | |
2983 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL1dv(GLuint index, const GLdouble *v) |
2984 | { |
2985 | d_4_1_Core->f.VertexAttribL1dv(index, v); |
2986 | } |
2987 | |
2988 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
2989 | { |
2990 | d_4_1_Core->f.VertexAttribL4d(index, x, y, z, w); |
2991 | } |
2992 | |
2993 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
2994 | { |
2995 | d_4_1_Core->f.VertexAttribL3d(index, x, y, z); |
2996 | } |
2997 | |
2998 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y) |
2999 | { |
3000 | d_4_1_Core->f.VertexAttribL2d(index, x, y); |
3001 | } |
3002 | |
3003 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribL1d(GLuint index, GLdouble x) |
3004 | { |
3005 | d_4_1_Core->f.VertexAttribL1d(index, x); |
3006 | } |
3007 | |
3008 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
3009 | { |
3010 | d_4_1_Core->f.GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); |
3011 | } |
3012 | |
3013 | inline void QOpenGLFunctions_4_1_Compatibility::glValidateProgramPipeline(GLuint pipeline) |
3014 | { |
3015 | d_4_1_Core->f.ValidateProgramPipeline(pipeline); |
3016 | } |
3017 | |
3018 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3019 | { |
3020 | d_4_1_Core->f.ProgramUniformMatrix4x3dv(program, location, count, transpose, value); |
3021 | } |
3022 | |
3023 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3024 | { |
3025 | d_4_1_Core->f.ProgramUniformMatrix3x4dv(program, location, count, transpose, value); |
3026 | } |
3027 | |
3028 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3029 | { |
3030 | d_4_1_Core->f.ProgramUniformMatrix4x2dv(program, location, count, transpose, value); |
3031 | } |
3032 | |
3033 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3034 | { |
3035 | d_4_1_Core->f.ProgramUniformMatrix2x4dv(program, location, count, transpose, value); |
3036 | } |
3037 | |
3038 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3039 | { |
3040 | d_4_1_Core->f.ProgramUniformMatrix3x2dv(program, location, count, transpose, value); |
3041 | } |
3042 | |
3043 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3044 | { |
3045 | d_4_1_Core->f.ProgramUniformMatrix2x3dv(program, location, count, transpose, value); |
3046 | } |
3047 | |
3048 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3049 | { |
3050 | d_4_1_Core->f.ProgramUniformMatrix4x3fv(program, location, count, transpose, value); |
3051 | } |
3052 | |
3053 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3054 | { |
3055 | d_4_1_Core->f.ProgramUniformMatrix3x4fv(program, location, count, transpose, value); |
3056 | } |
3057 | |
3058 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3059 | { |
3060 | d_4_1_Core->f.ProgramUniformMatrix4x2fv(program, location, count, transpose, value); |
3061 | } |
3062 | |
3063 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3064 | { |
3065 | d_4_1_Core->f.ProgramUniformMatrix2x4fv(program, location, count, transpose, value); |
3066 | } |
3067 | |
3068 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3069 | { |
3070 | d_4_1_Core->f.ProgramUniformMatrix3x2fv(program, location, count, transpose, value); |
3071 | } |
3072 | |
3073 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3074 | { |
3075 | d_4_1_Core->f.ProgramUniformMatrix2x3fv(program, location, count, transpose, value); |
3076 | } |
3077 | |
3078 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3079 | { |
3080 | d_4_1_Core->f.ProgramUniformMatrix4dv(program, location, count, transpose, value); |
3081 | } |
3082 | |
3083 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3084 | { |
3085 | d_4_1_Core->f.ProgramUniformMatrix3dv(program, location, count, transpose, value); |
3086 | } |
3087 | |
3088 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
3089 | { |
3090 | d_4_1_Core->f.ProgramUniformMatrix2dv(program, location, count, transpose, value); |
3091 | } |
3092 | |
3093 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3094 | { |
3095 | d_4_1_Core->f.ProgramUniformMatrix4fv(program, location, count, transpose, value); |
3096 | } |
3097 | |
3098 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3099 | { |
3100 | d_4_1_Core->f.ProgramUniformMatrix3fv(program, location, count, transpose, value); |
3101 | } |
3102 | |
3103 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
3104 | { |
3105 | d_4_1_Core->f.ProgramUniformMatrix2fv(program, location, count, transpose, value); |
3106 | } |
3107 | |
3108 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
3109 | { |
3110 | d_4_1_Core->f.ProgramUniform4uiv(program, location, count, value); |
3111 | } |
3112 | |
3113 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
3114 | { |
3115 | d_4_1_Core->f.ProgramUniform4ui(program, location, v0, v1, v2, v3); |
3116 | } |
3117 | |
3118 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
3119 | { |
3120 | d_4_1_Core->f.ProgramUniform4dv(program, location, count, value); |
3121 | } |
3122 | |
3123 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) |
3124 | { |
3125 | d_4_1_Core->f.ProgramUniform4d(program, location, v0, v1, v2, v3); |
3126 | } |
3127 | |
3128 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
3129 | { |
3130 | d_4_1_Core->f.ProgramUniform4fv(program, location, count, value); |
3131 | } |
3132 | |
3133 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
3134 | { |
3135 | d_4_1_Core->f.ProgramUniform4f(program, location, v0, v1, v2, v3); |
3136 | } |
3137 | |
3138 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
3139 | { |
3140 | d_4_1_Core->f.ProgramUniform4iv(program, location, count, value); |
3141 | } |
3142 | |
3143 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
3144 | { |
3145 | d_4_1_Core->f.ProgramUniform4i(program, location, v0, v1, v2, v3); |
3146 | } |
3147 | |
3148 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
3149 | { |
3150 | d_4_1_Core->f.ProgramUniform3uiv(program, location, count, value); |
3151 | } |
3152 | |
3153 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) |
3154 | { |
3155 | d_4_1_Core->f.ProgramUniform3ui(program, location, v0, v1, v2); |
3156 | } |
3157 | |
3158 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
3159 | { |
3160 | d_4_1_Core->f.ProgramUniform3dv(program, location, count, value); |
3161 | } |
3162 | |
3163 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2) |
3164 | { |
3165 | d_4_1_Core->f.ProgramUniform3d(program, location, v0, v1, v2); |
3166 | } |
3167 | |
3168 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
3169 | { |
3170 | d_4_1_Core->f.ProgramUniform3fv(program, location, count, value); |
3171 | } |
3172 | |
3173 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
3174 | { |
3175 | d_4_1_Core->f.ProgramUniform3f(program, location, v0, v1, v2); |
3176 | } |
3177 | |
3178 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
3179 | { |
3180 | d_4_1_Core->f.ProgramUniform3iv(program, location, count, value); |
3181 | } |
3182 | |
3183 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) |
3184 | { |
3185 | d_4_1_Core->f.ProgramUniform3i(program, location, v0, v1, v2); |
3186 | } |
3187 | |
3188 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
3189 | { |
3190 | d_4_1_Core->f.ProgramUniform2uiv(program, location, count, value); |
3191 | } |
3192 | |
3193 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) |
3194 | { |
3195 | d_4_1_Core->f.ProgramUniform2ui(program, location, v0, v1); |
3196 | } |
3197 | |
3198 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
3199 | { |
3200 | d_4_1_Core->f.ProgramUniform2dv(program, location, count, value); |
3201 | } |
3202 | |
3203 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1) |
3204 | { |
3205 | d_4_1_Core->f.ProgramUniform2d(program, location, v0, v1); |
3206 | } |
3207 | |
3208 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
3209 | { |
3210 | d_4_1_Core->f.ProgramUniform2fv(program, location, count, value); |
3211 | } |
3212 | |
3213 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) |
3214 | { |
3215 | d_4_1_Core->f.ProgramUniform2f(program, location, v0, v1); |
3216 | } |
3217 | |
3218 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
3219 | { |
3220 | d_4_1_Core->f.ProgramUniform2iv(program, location, count, value); |
3221 | } |
3222 | |
3223 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) |
3224 | { |
3225 | d_4_1_Core->f.ProgramUniform2i(program, location, v0, v1); |
3226 | } |
3227 | |
3228 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
3229 | { |
3230 | d_4_1_Core->f.ProgramUniform1uiv(program, location, count, value); |
3231 | } |
3232 | |
3233 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1ui(GLuint program, GLint location, GLuint v0) |
3234 | { |
3235 | d_4_1_Core->f.ProgramUniform1ui(program, location, v0); |
3236 | } |
3237 | |
3238 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
3239 | { |
3240 | d_4_1_Core->f.ProgramUniform1dv(program, location, count, value); |
3241 | } |
3242 | |
3243 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1d(GLuint program, GLint location, GLdouble v0) |
3244 | { |
3245 | d_4_1_Core->f.ProgramUniform1d(program, location, v0); |
3246 | } |
3247 | |
3248 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
3249 | { |
3250 | d_4_1_Core->f.ProgramUniform1fv(program, location, count, value); |
3251 | } |
3252 | |
3253 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1f(GLuint program, GLint location, GLfloat v0) |
3254 | { |
3255 | d_4_1_Core->f.ProgramUniform1f(program, location, v0); |
3256 | } |
3257 | |
3258 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
3259 | { |
3260 | d_4_1_Core->f.ProgramUniform1iv(program, location, count, value); |
3261 | } |
3262 | |
3263 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramUniform1i(GLuint program, GLint location, GLint v0) |
3264 | { |
3265 | d_4_1_Core->f.ProgramUniform1i(program, location, v0); |
3266 | } |
3267 | |
3268 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) |
3269 | { |
3270 | d_4_1_Core->f.GetProgramPipelineiv(pipeline, pname, params); |
3271 | } |
3272 | |
3273 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsProgramPipeline(GLuint pipeline) |
3274 | { |
3275 | return d_4_1_Core->f.IsProgramPipeline(pipeline); |
3276 | } |
3277 | |
3278 | inline void QOpenGLFunctions_4_1_Compatibility::glGenProgramPipelines(GLsizei n, GLuint *pipelines) |
3279 | { |
3280 | d_4_1_Core->f.GenProgramPipelines(n, pipelines); |
3281 | } |
3282 | |
3283 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines) |
3284 | { |
3285 | d_4_1_Core->f.DeleteProgramPipelines(n, pipelines); |
3286 | } |
3287 | |
3288 | inline void QOpenGLFunctions_4_1_Compatibility::glBindProgramPipeline(GLuint pipeline) |
3289 | { |
3290 | d_4_1_Core->f.BindProgramPipeline(pipeline); |
3291 | } |
3292 | |
3293 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings) |
3294 | { |
3295 | return d_4_1_Core->f.CreateShaderProgramv(type, count, strings); |
3296 | } |
3297 | |
3298 | inline void QOpenGLFunctions_4_1_Compatibility::glActiveShaderProgram(GLuint pipeline, GLuint program) |
3299 | { |
3300 | d_4_1_Core->f.ActiveShaderProgram(pipeline, program); |
3301 | } |
3302 | |
3303 | inline void QOpenGLFunctions_4_1_Compatibility::glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) |
3304 | { |
3305 | d_4_1_Core->f.UseProgramStages(pipeline, stages, program); |
3306 | } |
3307 | |
3308 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramParameteri(GLuint program, GLenum pname, GLint value) |
3309 | { |
3310 | d_4_1_Core->f.ProgramParameteri(program, pname, value); |
3311 | } |
3312 | |
3313 | inline void QOpenGLFunctions_4_1_Compatibility::glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) |
3314 | { |
3315 | d_4_1_Core->f.ProgramBinary(program, binaryFormat, binary, length); |
3316 | } |
3317 | |
3318 | inline void QOpenGLFunctions_4_1_Compatibility::glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) |
3319 | { |
3320 | d_4_1_Core->f.GetProgramBinary(program, bufSize, length, binaryFormat, binary); |
3321 | } |
3322 | |
3323 | inline void QOpenGLFunctions_4_1_Compatibility::glClearDepthf(GLfloat dd) |
3324 | { |
3325 | d_4_1_Core->f.ClearDepthf(dd); |
3326 | } |
3327 | |
3328 | inline void QOpenGLFunctions_4_1_Compatibility::glDepthRangef(GLfloat n, GLfloat f) |
3329 | { |
3330 | d_4_1_Core->f.DepthRangef(n, f); |
3331 | } |
3332 | |
3333 | inline void QOpenGLFunctions_4_1_Compatibility::glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
3334 | { |
3335 | d_4_1_Core->f.GetShaderPrecisionFormat(shadertype, precisiontype, range, precision); |
3336 | } |
3337 | |
3338 | inline void QOpenGLFunctions_4_1_Compatibility::glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length) |
3339 | { |
3340 | d_4_1_Core->f.ShaderBinary(count, shaders, binaryformat, binary, length); |
3341 | } |
3342 | |
3343 | inline void QOpenGLFunctions_4_1_Compatibility::glReleaseShaderCompiler() |
3344 | { |
3345 | d_4_1_Core->f.ReleaseShaderCompiler(); |
3346 | } |
3347 | |
3348 | |
3349 | // OpenGL 1.0 deprecated functions |
3350 | inline void QOpenGLFunctions_4_1_Compatibility::glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
3351 | { |
3352 | d_1_0_Deprecated->f.Translatef(x, y, z); |
3353 | } |
3354 | |
3355 | inline void QOpenGLFunctions_4_1_Compatibility::glTranslated(GLdouble x, GLdouble y, GLdouble z) |
3356 | { |
3357 | d_1_0_Deprecated->f.Translated(x, y, z); |
3358 | } |
3359 | |
3360 | inline void QOpenGLFunctions_4_1_Compatibility::glScalef(GLfloat x, GLfloat y, GLfloat z) |
3361 | { |
3362 | d_1_0_Deprecated->f.Scalef(x, y, z); |
3363 | } |
3364 | |
3365 | inline void QOpenGLFunctions_4_1_Compatibility::glScaled(GLdouble x, GLdouble y, GLdouble z) |
3366 | { |
3367 | d_1_0_Deprecated->f.Scaled(x, y, z); |
3368 | } |
3369 | |
3370 | inline void QOpenGLFunctions_4_1_Compatibility::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
3371 | { |
3372 | d_1_0_Deprecated->f.Rotatef(angle, x, y, z); |
3373 | } |
3374 | |
3375 | inline void QOpenGLFunctions_4_1_Compatibility::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
3376 | { |
3377 | d_1_0_Deprecated->f.Rotated(angle, x, y, z); |
3378 | } |
3379 | |
3380 | inline void QOpenGLFunctions_4_1_Compatibility::glPushMatrix() |
3381 | { |
3382 | d_1_0_Deprecated->f.PushMatrix(); |
3383 | } |
3384 | |
3385 | inline void QOpenGLFunctions_4_1_Compatibility::glPopMatrix() |
3386 | { |
3387 | d_1_0_Deprecated->f.PopMatrix(); |
3388 | } |
3389 | |
3390 | inline void QOpenGLFunctions_4_1_Compatibility::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
3391 | { |
3392 | d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar); |
3393 | } |
3394 | |
3395 | inline void QOpenGLFunctions_4_1_Compatibility::glMultMatrixd(const GLdouble *m) |
3396 | { |
3397 | d_1_0_Deprecated->f.MultMatrixd(m); |
3398 | } |
3399 | |
3400 | inline void QOpenGLFunctions_4_1_Compatibility::glMultMatrixf(const GLfloat *m) |
3401 | { |
3402 | d_1_0_Deprecated->f.MultMatrixf(m); |
3403 | } |
3404 | |
3405 | inline void QOpenGLFunctions_4_1_Compatibility::glMatrixMode(GLenum mode) |
3406 | { |
3407 | d_1_0_Deprecated->f.MatrixMode(mode); |
3408 | } |
3409 | |
3410 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadMatrixd(const GLdouble *m) |
3411 | { |
3412 | d_1_0_Deprecated->f.LoadMatrixd(m); |
3413 | } |
3414 | |
3415 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadMatrixf(const GLfloat *m) |
3416 | { |
3417 | d_1_0_Deprecated->f.LoadMatrixf(m); |
3418 | } |
3419 | |
3420 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadIdentity() |
3421 | { |
3422 | d_1_0_Deprecated->f.LoadIdentity(); |
3423 | } |
3424 | |
3425 | inline void QOpenGLFunctions_4_1_Compatibility::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
3426 | { |
3427 | d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar); |
3428 | } |
3429 | |
3430 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glIsList(GLuint list) |
3431 | { |
3432 | return d_1_0_Deprecated->f.IsList(list); |
3433 | } |
3434 | |
3435 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) |
3436 | { |
3437 | d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params); |
3438 | } |
3439 | |
3440 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) |
3441 | { |
3442 | d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params); |
3443 | } |
3444 | |
3445 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) |
3446 | { |
3447 | d_1_0_Deprecated->f.GetTexGendv(coord, pname, params); |
3448 | } |
3449 | |
3450 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
3451 | { |
3452 | d_1_0_Deprecated->f.GetTexEnviv(target, pname, params); |
3453 | } |
3454 | |
3455 | inline void QOpenGLFunctions_4_1_Compatibility::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
3456 | { |
3457 | d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params); |
3458 | } |
3459 | |
3460 | inline void QOpenGLFunctions_4_1_Compatibility::glGetPolygonStipple(GLubyte *mask) |
3461 | { |
3462 | d_1_0_Deprecated->f.GetPolygonStipple(mask); |
3463 | } |
3464 | |
3465 | inline void QOpenGLFunctions_4_1_Compatibility::glGetPixelMapusv(GLenum map, GLushort *values) |
3466 | { |
3467 | d_1_0_Deprecated->f.GetPixelMapusv(map, values); |
3468 | } |
3469 | |
3470 | inline void QOpenGLFunctions_4_1_Compatibility::glGetPixelMapuiv(GLenum map, GLuint *values) |
3471 | { |
3472 | d_1_0_Deprecated->f.GetPixelMapuiv(map, values); |
3473 | } |
3474 | |
3475 | inline void QOpenGLFunctions_4_1_Compatibility::glGetPixelMapfv(GLenum map, GLfloat *values) |
3476 | { |
3477 | d_1_0_Deprecated->f.GetPixelMapfv(map, values); |
3478 | } |
3479 | |
3480 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
3481 | { |
3482 | d_1_0_Deprecated->f.GetMaterialiv(face, pname, params); |
3483 | } |
3484 | |
3485 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
3486 | { |
3487 | d_1_0_Deprecated->f.GetMaterialfv(face, pname, params); |
3488 | } |
3489 | |
3490 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMapiv(GLenum target, GLenum query, GLint *v) |
3491 | { |
3492 | d_1_0_Deprecated->f.GetMapiv(target, query, v); |
3493 | } |
3494 | |
3495 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
3496 | { |
3497 | d_1_0_Deprecated->f.GetMapfv(target, query, v); |
3498 | } |
3499 | |
3500 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
3501 | { |
3502 | d_1_0_Deprecated->f.GetMapdv(target, query, v); |
3503 | } |
3504 | |
3505 | inline void QOpenGLFunctions_4_1_Compatibility::glGetLightiv(GLenum light, GLenum pname, GLint *params) |
3506 | { |
3507 | d_1_0_Deprecated->f.GetLightiv(light, pname, params); |
3508 | } |
3509 | |
3510 | inline void QOpenGLFunctions_4_1_Compatibility::glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
3511 | { |
3512 | d_1_0_Deprecated->f.GetLightfv(light, pname, params); |
3513 | } |
3514 | |
3515 | inline void QOpenGLFunctions_4_1_Compatibility::glGetClipPlane(GLenum plane, GLdouble *equation) |
3516 | { |
3517 | d_1_0_Deprecated->f.GetClipPlane(plane, equation); |
3518 | } |
3519 | |
3520 | inline void QOpenGLFunctions_4_1_Compatibility::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
3521 | { |
3522 | d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels); |
3523 | } |
3524 | |
3525 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
3526 | { |
3527 | d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type); |
3528 | } |
3529 | |
3530 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) |
3531 | { |
3532 | d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values); |
3533 | } |
3534 | |
3535 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) |
3536 | { |
3537 | d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values); |
3538 | } |
3539 | |
3540 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) |
3541 | { |
3542 | d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values); |
3543 | } |
3544 | |
3545 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelTransferi(GLenum pname, GLint param) |
3546 | { |
3547 | d_1_0_Deprecated->f.PixelTransferi(pname, param); |
3548 | } |
3549 | |
3550 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelTransferf(GLenum pname, GLfloat param) |
3551 | { |
3552 | d_1_0_Deprecated->f.PixelTransferf(pname, param); |
3553 | } |
3554 | |
3555 | inline void QOpenGLFunctions_4_1_Compatibility::glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
3556 | { |
3557 | d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor); |
3558 | } |
3559 | |
3560 | inline void QOpenGLFunctions_4_1_Compatibility::glAlphaFunc(GLenum func, GLfloat ref) |
3561 | { |
3562 | d_1_0_Deprecated->f.AlphaFunc(func, ref); |
3563 | } |
3564 | |
3565 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalPoint2(GLint i, GLint j) |
3566 | { |
3567 | d_1_0_Deprecated->f.EvalPoint2(i, j); |
3568 | } |
3569 | |
3570 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
3571 | { |
3572 | d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2); |
3573 | } |
3574 | |
3575 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalPoint1(GLint i) |
3576 | { |
3577 | d_1_0_Deprecated->f.EvalPoint1(i); |
3578 | } |
3579 | |
3580 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
3581 | { |
3582 | d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2); |
3583 | } |
3584 | |
3585 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord2fv(const GLfloat *u) |
3586 | { |
3587 | d_1_0_Deprecated->f.EvalCoord2fv(u); |
3588 | } |
3589 | |
3590 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord2f(GLfloat u, GLfloat v) |
3591 | { |
3592 | d_1_0_Deprecated->f.EvalCoord2f(u, v); |
3593 | } |
3594 | |
3595 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord2dv(const GLdouble *u) |
3596 | { |
3597 | d_1_0_Deprecated->f.EvalCoord2dv(u); |
3598 | } |
3599 | |
3600 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord2d(GLdouble u, GLdouble v) |
3601 | { |
3602 | d_1_0_Deprecated->f.EvalCoord2d(u, v); |
3603 | } |
3604 | |
3605 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord1fv(const GLfloat *u) |
3606 | { |
3607 | d_1_0_Deprecated->f.EvalCoord1fv(u); |
3608 | } |
3609 | |
3610 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord1f(GLfloat u) |
3611 | { |
3612 | d_1_0_Deprecated->f.EvalCoord1f(u); |
3613 | } |
3614 | |
3615 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord1dv(const GLdouble *u) |
3616 | { |
3617 | d_1_0_Deprecated->f.EvalCoord1dv(u); |
3618 | } |
3619 | |
3620 | inline void QOpenGLFunctions_4_1_Compatibility::glEvalCoord1d(GLdouble u) |
3621 | { |
3622 | d_1_0_Deprecated->f.EvalCoord1d(u); |
3623 | } |
3624 | |
3625 | inline void QOpenGLFunctions_4_1_Compatibility::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
3626 | { |
3627 | d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2); |
3628 | } |
3629 | |
3630 | inline void QOpenGLFunctions_4_1_Compatibility::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
3631 | { |
3632 | d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2); |
3633 | } |
3634 | |
3635 | inline void QOpenGLFunctions_4_1_Compatibility::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
3636 | { |
3637 | d_1_0_Deprecated->f.MapGrid1f(un, u1, u2); |
3638 | } |
3639 | |
3640 | inline void QOpenGLFunctions_4_1_Compatibility::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
3641 | { |
3642 | d_1_0_Deprecated->f.MapGrid1d(un, u1, u2); |
3643 | } |
3644 | |
3645 | inline void QOpenGLFunctions_4_1_Compatibility::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
3646 | { |
3647 | d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
3648 | } |
3649 | |
3650 | inline void QOpenGLFunctions_4_1_Compatibility::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
3651 | { |
3652 | d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
3653 | } |
3654 | |
3655 | inline void QOpenGLFunctions_4_1_Compatibility::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
3656 | { |
3657 | d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points); |
3658 | } |
3659 | |
3660 | inline void QOpenGLFunctions_4_1_Compatibility::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
3661 | { |
3662 | d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points); |
3663 | } |
3664 | |
3665 | inline void QOpenGLFunctions_4_1_Compatibility::glPushAttrib(GLbitfield mask) |
3666 | { |
3667 | d_1_0_Deprecated->f.PushAttrib(mask); |
3668 | } |
3669 | |
3670 | inline void QOpenGLFunctions_4_1_Compatibility::glPopAttrib() |
3671 | { |
3672 | d_1_0_Deprecated->f.PopAttrib(); |
3673 | } |
3674 | |
3675 | inline void QOpenGLFunctions_4_1_Compatibility::glAccum(GLenum op, GLfloat value) |
3676 | { |
3677 | d_1_0_Deprecated->f.Accum(op, value); |
3678 | } |
3679 | |
3680 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexMask(GLuint mask) |
3681 | { |
3682 | d_1_0_Deprecated->f.IndexMask(mask); |
3683 | } |
3684 | |
3685 | inline void QOpenGLFunctions_4_1_Compatibility::glClearIndex(GLfloat c) |
3686 | { |
3687 | d_1_0_Deprecated->f.ClearIndex(c); |
3688 | } |
3689 | |
3690 | inline void QOpenGLFunctions_4_1_Compatibility::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
3691 | { |
3692 | d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha); |
3693 | } |
3694 | |
3695 | inline void QOpenGLFunctions_4_1_Compatibility::glPushName(GLuint name) |
3696 | { |
3697 | d_1_0_Deprecated->f.PushName(name); |
3698 | } |
3699 | |
3700 | inline void QOpenGLFunctions_4_1_Compatibility::glPopName() |
3701 | { |
3702 | d_1_0_Deprecated->f.PopName(); |
3703 | } |
3704 | |
3705 | inline void QOpenGLFunctions_4_1_Compatibility::glPassThrough(GLfloat token) |
3706 | { |
3707 | d_1_0_Deprecated->f.PassThrough(token); |
3708 | } |
3709 | |
3710 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadName(GLuint name) |
3711 | { |
3712 | d_1_0_Deprecated->f.LoadName(name); |
3713 | } |
3714 | |
3715 | inline void QOpenGLFunctions_4_1_Compatibility::glInitNames() |
3716 | { |
3717 | d_1_0_Deprecated->f.InitNames(); |
3718 | } |
3719 | |
3720 | inline GLint QOpenGLFunctions_4_1_Compatibility::glRenderMode(GLenum mode) |
3721 | { |
3722 | return d_1_0_Deprecated->f.RenderMode(mode); |
3723 | } |
3724 | |
3725 | inline void QOpenGLFunctions_4_1_Compatibility::glSelectBuffer(GLsizei size, GLuint *buffer) |
3726 | { |
3727 | d_1_0_Deprecated->f.SelectBuffer(size, buffer); |
3728 | } |
3729 | |
3730 | inline void QOpenGLFunctions_4_1_Compatibility::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
3731 | { |
3732 | d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer); |
3733 | } |
3734 | |
3735 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
3736 | { |
3737 | d_1_0_Deprecated->f.TexGeniv(coord, pname, params); |
3738 | } |
3739 | |
3740 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGeni(GLenum coord, GLenum pname, GLint param) |
3741 | { |
3742 | d_1_0_Deprecated->f.TexGeni(coord, pname, param); |
3743 | } |
3744 | |
3745 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
3746 | { |
3747 | d_1_0_Deprecated->f.TexGenfv(coord, pname, params); |
3748 | } |
3749 | |
3750 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
3751 | { |
3752 | d_1_0_Deprecated->f.TexGenf(coord, pname, param); |
3753 | } |
3754 | |
3755 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
3756 | { |
3757 | d_1_0_Deprecated->f.TexGendv(coord, pname, params); |
3758 | } |
3759 | |
3760 | inline void QOpenGLFunctions_4_1_Compatibility::glTexGend(GLenum coord, GLenum pname, GLdouble param) |
3761 | { |
3762 | d_1_0_Deprecated->f.TexGend(coord, pname, param); |
3763 | } |
3764 | |
3765 | inline void QOpenGLFunctions_4_1_Compatibility::glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
3766 | { |
3767 | d_1_0_Deprecated->f.TexEnviv(target, pname, params); |
3768 | } |
3769 | |
3770 | inline void QOpenGLFunctions_4_1_Compatibility::glTexEnvi(GLenum target, GLenum pname, GLint param) |
3771 | { |
3772 | d_1_0_Deprecated->f.TexEnvi(target, pname, param); |
3773 | } |
3774 | |
3775 | inline void QOpenGLFunctions_4_1_Compatibility::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
3776 | { |
3777 | d_1_0_Deprecated->f.TexEnvfv(target, pname, params); |
3778 | } |
3779 | |
3780 | inline void QOpenGLFunctions_4_1_Compatibility::glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
3781 | { |
3782 | d_1_0_Deprecated->f.TexEnvf(target, pname, param); |
3783 | } |
3784 | |
3785 | inline void QOpenGLFunctions_4_1_Compatibility::glShadeModel(GLenum mode) |
3786 | { |
3787 | d_1_0_Deprecated->f.ShadeModel(mode); |
3788 | } |
3789 | |
3790 | inline void QOpenGLFunctions_4_1_Compatibility::glPolygonStipple(const GLubyte *mask) |
3791 | { |
3792 | d_1_0_Deprecated->f.PolygonStipple(mask); |
3793 | } |
3794 | |
3795 | inline void QOpenGLFunctions_4_1_Compatibility::glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
3796 | { |
3797 | d_1_0_Deprecated->f.Materialiv(face, pname, params); |
3798 | } |
3799 | |
3800 | inline void QOpenGLFunctions_4_1_Compatibility::glMateriali(GLenum face, GLenum pname, GLint param) |
3801 | { |
3802 | d_1_0_Deprecated->f.Materiali(face, pname, param); |
3803 | } |
3804 | |
3805 | inline void QOpenGLFunctions_4_1_Compatibility::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
3806 | { |
3807 | d_1_0_Deprecated->f.Materialfv(face, pname, params); |
3808 | } |
3809 | |
3810 | inline void QOpenGLFunctions_4_1_Compatibility::glMaterialf(GLenum face, GLenum pname, GLfloat param) |
3811 | { |
3812 | d_1_0_Deprecated->f.Materialf(face, pname, param); |
3813 | } |
3814 | |
3815 | inline void QOpenGLFunctions_4_1_Compatibility::glLineStipple(GLint factor, GLushort pattern) |
3816 | { |
3817 | d_1_0_Deprecated->f.LineStipple(factor, pattern); |
3818 | } |
3819 | |
3820 | inline void QOpenGLFunctions_4_1_Compatibility::glLightModeliv(GLenum pname, const GLint *params) |
3821 | { |
3822 | d_1_0_Deprecated->f.LightModeliv(pname, params); |
3823 | } |
3824 | |
3825 | inline void QOpenGLFunctions_4_1_Compatibility::glLightModeli(GLenum pname, GLint param) |
3826 | { |
3827 | d_1_0_Deprecated->f.LightModeli(pname, param); |
3828 | } |
3829 | |
3830 | inline void QOpenGLFunctions_4_1_Compatibility::glLightModelfv(GLenum pname, const GLfloat *params) |
3831 | { |
3832 | d_1_0_Deprecated->f.LightModelfv(pname, params); |
3833 | } |
3834 | |
3835 | inline void QOpenGLFunctions_4_1_Compatibility::glLightModelf(GLenum pname, GLfloat param) |
3836 | { |
3837 | d_1_0_Deprecated->f.LightModelf(pname, param); |
3838 | } |
3839 | |
3840 | inline void QOpenGLFunctions_4_1_Compatibility::glLightiv(GLenum light, GLenum pname, const GLint *params) |
3841 | { |
3842 | d_1_0_Deprecated->f.Lightiv(light, pname, params); |
3843 | } |
3844 | |
3845 | inline void QOpenGLFunctions_4_1_Compatibility::glLighti(GLenum light, GLenum pname, GLint param) |
3846 | { |
3847 | d_1_0_Deprecated->f.Lighti(light, pname, param); |
3848 | } |
3849 | |
3850 | inline void QOpenGLFunctions_4_1_Compatibility::glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
3851 | { |
3852 | d_1_0_Deprecated->f.Lightfv(light, pname, params); |
3853 | } |
3854 | |
3855 | inline void QOpenGLFunctions_4_1_Compatibility::glLightf(GLenum light, GLenum pname, GLfloat param) |
3856 | { |
3857 | d_1_0_Deprecated->f.Lightf(light, pname, param); |
3858 | } |
3859 | |
3860 | inline void QOpenGLFunctions_4_1_Compatibility::glFogiv(GLenum pname, const GLint *params) |
3861 | { |
3862 | d_1_0_Deprecated->f.Fogiv(pname, params); |
3863 | } |
3864 | |
3865 | inline void QOpenGLFunctions_4_1_Compatibility::glFogi(GLenum pname, GLint param) |
3866 | { |
3867 | d_1_0_Deprecated->f.Fogi(pname, param); |
3868 | } |
3869 | |
3870 | inline void QOpenGLFunctions_4_1_Compatibility::glFogfv(GLenum pname, const GLfloat *params) |
3871 | { |
3872 | d_1_0_Deprecated->f.Fogfv(pname, params); |
3873 | } |
3874 | |
3875 | inline void QOpenGLFunctions_4_1_Compatibility::glFogf(GLenum pname, GLfloat param) |
3876 | { |
3877 | d_1_0_Deprecated->f.Fogf(pname, param); |
3878 | } |
3879 | |
3880 | inline void QOpenGLFunctions_4_1_Compatibility::glColorMaterial(GLenum face, GLenum mode) |
3881 | { |
3882 | d_1_0_Deprecated->f.ColorMaterial(face, mode); |
3883 | } |
3884 | |
3885 | inline void QOpenGLFunctions_4_1_Compatibility::glClipPlane(GLenum plane, const GLdouble *equation) |
3886 | { |
3887 | d_1_0_Deprecated->f.ClipPlane(plane, equation); |
3888 | } |
3889 | |
3890 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4sv(const GLshort *v) |
3891 | { |
3892 | d_1_0_Deprecated->f.Vertex4sv(v); |
3893 | } |
3894 | |
3895 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
3896 | { |
3897 | d_1_0_Deprecated->f.Vertex4s(x, y, z, w); |
3898 | } |
3899 | |
3900 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4iv(const GLint *v) |
3901 | { |
3902 | d_1_0_Deprecated->f.Vertex4iv(v); |
3903 | } |
3904 | |
3905 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4i(GLint x, GLint y, GLint z, GLint w) |
3906 | { |
3907 | d_1_0_Deprecated->f.Vertex4i(x, y, z, w); |
3908 | } |
3909 | |
3910 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4fv(const GLfloat *v) |
3911 | { |
3912 | d_1_0_Deprecated->f.Vertex4fv(v); |
3913 | } |
3914 | |
3915 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
3916 | { |
3917 | d_1_0_Deprecated->f.Vertex4f(x, y, z, w); |
3918 | } |
3919 | |
3920 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4dv(const GLdouble *v) |
3921 | { |
3922 | d_1_0_Deprecated->f.Vertex4dv(v); |
3923 | } |
3924 | |
3925 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
3926 | { |
3927 | d_1_0_Deprecated->f.Vertex4d(x, y, z, w); |
3928 | } |
3929 | |
3930 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3sv(const GLshort *v) |
3931 | { |
3932 | d_1_0_Deprecated->f.Vertex3sv(v); |
3933 | } |
3934 | |
3935 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3s(GLshort x, GLshort y, GLshort z) |
3936 | { |
3937 | d_1_0_Deprecated->f.Vertex3s(x, y, z); |
3938 | } |
3939 | |
3940 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3iv(const GLint *v) |
3941 | { |
3942 | d_1_0_Deprecated->f.Vertex3iv(v); |
3943 | } |
3944 | |
3945 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3i(GLint x, GLint y, GLint z) |
3946 | { |
3947 | d_1_0_Deprecated->f.Vertex3i(x, y, z); |
3948 | } |
3949 | |
3950 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3fv(const GLfloat *v) |
3951 | { |
3952 | d_1_0_Deprecated->f.Vertex3fv(v); |
3953 | } |
3954 | |
3955 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
3956 | { |
3957 | d_1_0_Deprecated->f.Vertex3f(x, y, z); |
3958 | } |
3959 | |
3960 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3dv(const GLdouble *v) |
3961 | { |
3962 | d_1_0_Deprecated->f.Vertex3dv(v); |
3963 | } |
3964 | |
3965 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
3966 | { |
3967 | d_1_0_Deprecated->f.Vertex3d(x, y, z); |
3968 | } |
3969 | |
3970 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2sv(const GLshort *v) |
3971 | { |
3972 | d_1_0_Deprecated->f.Vertex2sv(v); |
3973 | } |
3974 | |
3975 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2s(GLshort x, GLshort y) |
3976 | { |
3977 | d_1_0_Deprecated->f.Vertex2s(x, y); |
3978 | } |
3979 | |
3980 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2iv(const GLint *v) |
3981 | { |
3982 | d_1_0_Deprecated->f.Vertex2iv(v); |
3983 | } |
3984 | |
3985 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2i(GLint x, GLint y) |
3986 | { |
3987 | d_1_0_Deprecated->f.Vertex2i(x, y); |
3988 | } |
3989 | |
3990 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2fv(const GLfloat *v) |
3991 | { |
3992 | d_1_0_Deprecated->f.Vertex2fv(v); |
3993 | } |
3994 | |
3995 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2f(GLfloat x, GLfloat y) |
3996 | { |
3997 | d_1_0_Deprecated->f.Vertex2f(x, y); |
3998 | } |
3999 | |
4000 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2dv(const GLdouble *v) |
4001 | { |
4002 | d_1_0_Deprecated->f.Vertex2dv(v); |
4003 | } |
4004 | |
4005 | inline void QOpenGLFunctions_4_1_Compatibility::glVertex2d(GLdouble x, GLdouble y) |
4006 | { |
4007 | d_1_0_Deprecated->f.Vertex2d(x, y); |
4008 | } |
4009 | |
4010 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4sv(const GLshort *v) |
4011 | { |
4012 | d_1_0_Deprecated->f.TexCoord4sv(v); |
4013 | } |
4014 | |
4015 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
4016 | { |
4017 | d_1_0_Deprecated->f.TexCoord4s(s, t, r, q); |
4018 | } |
4019 | |
4020 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4iv(const GLint *v) |
4021 | { |
4022 | d_1_0_Deprecated->f.TexCoord4iv(v); |
4023 | } |
4024 | |
4025 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
4026 | { |
4027 | d_1_0_Deprecated->f.TexCoord4i(s, t, r, q); |
4028 | } |
4029 | |
4030 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4fv(const GLfloat *v) |
4031 | { |
4032 | d_1_0_Deprecated->f.TexCoord4fv(v); |
4033 | } |
4034 | |
4035 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
4036 | { |
4037 | d_1_0_Deprecated->f.TexCoord4f(s, t, r, q); |
4038 | } |
4039 | |
4040 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4dv(const GLdouble *v) |
4041 | { |
4042 | d_1_0_Deprecated->f.TexCoord4dv(v); |
4043 | } |
4044 | |
4045 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
4046 | { |
4047 | d_1_0_Deprecated->f.TexCoord4d(s, t, r, q); |
4048 | } |
4049 | |
4050 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3sv(const GLshort *v) |
4051 | { |
4052 | d_1_0_Deprecated->f.TexCoord3sv(v); |
4053 | } |
4054 | |
4055 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3s(GLshort s, GLshort t, GLshort r) |
4056 | { |
4057 | d_1_0_Deprecated->f.TexCoord3s(s, t, r); |
4058 | } |
4059 | |
4060 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3iv(const GLint *v) |
4061 | { |
4062 | d_1_0_Deprecated->f.TexCoord3iv(v); |
4063 | } |
4064 | |
4065 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3i(GLint s, GLint t, GLint r) |
4066 | { |
4067 | d_1_0_Deprecated->f.TexCoord3i(s, t, r); |
4068 | } |
4069 | |
4070 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3fv(const GLfloat *v) |
4071 | { |
4072 | d_1_0_Deprecated->f.TexCoord3fv(v); |
4073 | } |
4074 | |
4075 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
4076 | { |
4077 | d_1_0_Deprecated->f.TexCoord3f(s, t, r); |
4078 | } |
4079 | |
4080 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3dv(const GLdouble *v) |
4081 | { |
4082 | d_1_0_Deprecated->f.TexCoord3dv(v); |
4083 | } |
4084 | |
4085 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
4086 | { |
4087 | d_1_0_Deprecated->f.TexCoord3d(s, t, r); |
4088 | } |
4089 | |
4090 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2sv(const GLshort *v) |
4091 | { |
4092 | d_1_0_Deprecated->f.TexCoord2sv(v); |
4093 | } |
4094 | |
4095 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2s(GLshort s, GLshort t) |
4096 | { |
4097 | d_1_0_Deprecated->f.TexCoord2s(s, t); |
4098 | } |
4099 | |
4100 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2iv(const GLint *v) |
4101 | { |
4102 | d_1_0_Deprecated->f.TexCoord2iv(v); |
4103 | } |
4104 | |
4105 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2i(GLint s, GLint t) |
4106 | { |
4107 | d_1_0_Deprecated->f.TexCoord2i(s, t); |
4108 | } |
4109 | |
4110 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2fv(const GLfloat *v) |
4111 | { |
4112 | d_1_0_Deprecated->f.TexCoord2fv(v); |
4113 | } |
4114 | |
4115 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2f(GLfloat s, GLfloat t) |
4116 | { |
4117 | d_1_0_Deprecated->f.TexCoord2f(s, t); |
4118 | } |
4119 | |
4120 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2dv(const GLdouble *v) |
4121 | { |
4122 | d_1_0_Deprecated->f.TexCoord2dv(v); |
4123 | } |
4124 | |
4125 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord2d(GLdouble s, GLdouble t) |
4126 | { |
4127 | d_1_0_Deprecated->f.TexCoord2d(s, t); |
4128 | } |
4129 | |
4130 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1sv(const GLshort *v) |
4131 | { |
4132 | d_1_0_Deprecated->f.TexCoord1sv(v); |
4133 | } |
4134 | |
4135 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1s(GLshort s) |
4136 | { |
4137 | d_1_0_Deprecated->f.TexCoord1s(s); |
4138 | } |
4139 | |
4140 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1iv(const GLint *v) |
4141 | { |
4142 | d_1_0_Deprecated->f.TexCoord1iv(v); |
4143 | } |
4144 | |
4145 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1i(GLint s) |
4146 | { |
4147 | d_1_0_Deprecated->f.TexCoord1i(s); |
4148 | } |
4149 | |
4150 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1fv(const GLfloat *v) |
4151 | { |
4152 | d_1_0_Deprecated->f.TexCoord1fv(v); |
4153 | } |
4154 | |
4155 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1f(GLfloat s) |
4156 | { |
4157 | d_1_0_Deprecated->f.TexCoord1f(s); |
4158 | } |
4159 | |
4160 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1dv(const GLdouble *v) |
4161 | { |
4162 | d_1_0_Deprecated->f.TexCoord1dv(v); |
4163 | } |
4164 | |
4165 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoord1d(GLdouble s) |
4166 | { |
4167 | d_1_0_Deprecated->f.TexCoord1d(s); |
4168 | } |
4169 | |
4170 | inline void QOpenGLFunctions_4_1_Compatibility::glRectsv(const GLshort *v1, const GLshort *v2) |
4171 | { |
4172 | d_1_0_Deprecated->f.Rectsv(v1, v2); |
4173 | } |
4174 | |
4175 | inline void QOpenGLFunctions_4_1_Compatibility::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
4176 | { |
4177 | d_1_0_Deprecated->f.Rects(x1, y1, x2, y2); |
4178 | } |
4179 | |
4180 | inline void QOpenGLFunctions_4_1_Compatibility::glRectiv(const GLint *v1, const GLint *v2) |
4181 | { |
4182 | d_1_0_Deprecated->f.Rectiv(v1, v2); |
4183 | } |
4184 | |
4185 | inline void QOpenGLFunctions_4_1_Compatibility::glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
4186 | { |
4187 | d_1_0_Deprecated->f.Recti(x1, y1, x2, y2); |
4188 | } |
4189 | |
4190 | inline void QOpenGLFunctions_4_1_Compatibility::glRectfv(const GLfloat *v1, const GLfloat *v2) |
4191 | { |
4192 | d_1_0_Deprecated->f.Rectfv(v1, v2); |
4193 | } |
4194 | |
4195 | inline void QOpenGLFunctions_4_1_Compatibility::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
4196 | { |
4197 | d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2); |
4198 | } |
4199 | |
4200 | inline void QOpenGLFunctions_4_1_Compatibility::glRectdv(const GLdouble *v1, const GLdouble *v2) |
4201 | { |
4202 | d_1_0_Deprecated->f.Rectdv(v1, v2); |
4203 | } |
4204 | |
4205 | inline void QOpenGLFunctions_4_1_Compatibility::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
4206 | { |
4207 | d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2); |
4208 | } |
4209 | |
4210 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4sv(const GLshort *v) |
4211 | { |
4212 | d_1_0_Deprecated->f.RasterPos4sv(v); |
4213 | } |
4214 | |
4215 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
4216 | { |
4217 | d_1_0_Deprecated->f.RasterPos4s(x, y, z, w); |
4218 | } |
4219 | |
4220 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4iv(const GLint *v) |
4221 | { |
4222 | d_1_0_Deprecated->f.RasterPos4iv(v); |
4223 | } |
4224 | |
4225 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
4226 | { |
4227 | d_1_0_Deprecated->f.RasterPos4i(x, y, z, w); |
4228 | } |
4229 | |
4230 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4fv(const GLfloat *v) |
4231 | { |
4232 | d_1_0_Deprecated->f.RasterPos4fv(v); |
4233 | } |
4234 | |
4235 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
4236 | { |
4237 | d_1_0_Deprecated->f.RasterPos4f(x, y, z, w); |
4238 | } |
4239 | |
4240 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4dv(const GLdouble *v) |
4241 | { |
4242 | d_1_0_Deprecated->f.RasterPos4dv(v); |
4243 | } |
4244 | |
4245 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
4246 | { |
4247 | d_1_0_Deprecated->f.RasterPos4d(x, y, z, w); |
4248 | } |
4249 | |
4250 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3sv(const GLshort *v) |
4251 | { |
4252 | d_1_0_Deprecated->f.RasterPos3sv(v); |
4253 | } |
4254 | |
4255 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3s(GLshort x, GLshort y, GLshort z) |
4256 | { |
4257 | d_1_0_Deprecated->f.RasterPos3s(x, y, z); |
4258 | } |
4259 | |
4260 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3iv(const GLint *v) |
4261 | { |
4262 | d_1_0_Deprecated->f.RasterPos3iv(v); |
4263 | } |
4264 | |
4265 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3i(GLint x, GLint y, GLint z) |
4266 | { |
4267 | d_1_0_Deprecated->f.RasterPos3i(x, y, z); |
4268 | } |
4269 | |
4270 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3fv(const GLfloat *v) |
4271 | { |
4272 | d_1_0_Deprecated->f.RasterPos3fv(v); |
4273 | } |
4274 | |
4275 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
4276 | { |
4277 | d_1_0_Deprecated->f.RasterPos3f(x, y, z); |
4278 | } |
4279 | |
4280 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3dv(const GLdouble *v) |
4281 | { |
4282 | d_1_0_Deprecated->f.RasterPos3dv(v); |
4283 | } |
4284 | |
4285 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
4286 | { |
4287 | d_1_0_Deprecated->f.RasterPos3d(x, y, z); |
4288 | } |
4289 | |
4290 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2sv(const GLshort *v) |
4291 | { |
4292 | d_1_0_Deprecated->f.RasterPos2sv(v); |
4293 | } |
4294 | |
4295 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2s(GLshort x, GLshort y) |
4296 | { |
4297 | d_1_0_Deprecated->f.RasterPos2s(x, y); |
4298 | } |
4299 | |
4300 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2iv(const GLint *v) |
4301 | { |
4302 | d_1_0_Deprecated->f.RasterPos2iv(v); |
4303 | } |
4304 | |
4305 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2i(GLint x, GLint y) |
4306 | { |
4307 | d_1_0_Deprecated->f.RasterPos2i(x, y); |
4308 | } |
4309 | |
4310 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2fv(const GLfloat *v) |
4311 | { |
4312 | d_1_0_Deprecated->f.RasterPos2fv(v); |
4313 | } |
4314 | |
4315 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2f(GLfloat x, GLfloat y) |
4316 | { |
4317 | d_1_0_Deprecated->f.RasterPos2f(x, y); |
4318 | } |
4319 | |
4320 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2dv(const GLdouble *v) |
4321 | { |
4322 | d_1_0_Deprecated->f.RasterPos2dv(v); |
4323 | } |
4324 | |
4325 | inline void QOpenGLFunctions_4_1_Compatibility::glRasterPos2d(GLdouble x, GLdouble y) |
4326 | { |
4327 | d_1_0_Deprecated->f.RasterPos2d(x, y); |
4328 | } |
4329 | |
4330 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3sv(const GLshort *v) |
4331 | { |
4332 | d_1_0_Deprecated->f.Normal3sv(v); |
4333 | } |
4334 | |
4335 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
4336 | { |
4337 | d_1_0_Deprecated->f.Normal3s(nx, ny, nz); |
4338 | } |
4339 | |
4340 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3iv(const GLint *v) |
4341 | { |
4342 | d_1_0_Deprecated->f.Normal3iv(v); |
4343 | } |
4344 | |
4345 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3i(GLint nx, GLint ny, GLint nz) |
4346 | { |
4347 | d_1_0_Deprecated->f.Normal3i(nx, ny, nz); |
4348 | } |
4349 | |
4350 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3fv(const GLfloat *v) |
4351 | { |
4352 | d_1_0_Deprecated->f.Normal3fv(v); |
4353 | } |
4354 | |
4355 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
4356 | { |
4357 | d_1_0_Deprecated->f.Normal3f(nx, ny, nz); |
4358 | } |
4359 | |
4360 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3dv(const GLdouble *v) |
4361 | { |
4362 | d_1_0_Deprecated->f.Normal3dv(v); |
4363 | } |
4364 | |
4365 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
4366 | { |
4367 | d_1_0_Deprecated->f.Normal3d(nx, ny, nz); |
4368 | } |
4369 | |
4370 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3bv(const GLbyte *v) |
4371 | { |
4372 | d_1_0_Deprecated->f.Normal3bv(v); |
4373 | } |
4374 | |
4375 | inline void QOpenGLFunctions_4_1_Compatibility::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
4376 | { |
4377 | d_1_0_Deprecated->f.Normal3b(nx, ny, nz); |
4378 | } |
4379 | |
4380 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexsv(const GLshort *c) |
4381 | { |
4382 | d_1_0_Deprecated->f.Indexsv(c); |
4383 | } |
4384 | |
4385 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexs(GLshort c) |
4386 | { |
4387 | d_1_0_Deprecated->f.Indexs(c); |
4388 | } |
4389 | |
4390 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexiv(const GLint *c) |
4391 | { |
4392 | d_1_0_Deprecated->f.Indexiv(c); |
4393 | } |
4394 | |
4395 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexi(GLint c) |
4396 | { |
4397 | d_1_0_Deprecated->f.Indexi(c); |
4398 | } |
4399 | |
4400 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexfv(const GLfloat *c) |
4401 | { |
4402 | d_1_0_Deprecated->f.Indexfv(c); |
4403 | } |
4404 | |
4405 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexf(GLfloat c) |
4406 | { |
4407 | d_1_0_Deprecated->f.Indexf(c); |
4408 | } |
4409 | |
4410 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexdv(const GLdouble *c) |
4411 | { |
4412 | d_1_0_Deprecated->f.Indexdv(c); |
4413 | } |
4414 | |
4415 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexd(GLdouble c) |
4416 | { |
4417 | d_1_0_Deprecated->f.Indexd(c); |
4418 | } |
4419 | |
4420 | inline void QOpenGLFunctions_4_1_Compatibility::glEnd() |
4421 | { |
4422 | d_1_0_Deprecated->f.End(); |
4423 | } |
4424 | |
4425 | inline void QOpenGLFunctions_4_1_Compatibility::glEdgeFlagv(const GLboolean *flag) |
4426 | { |
4427 | d_1_0_Deprecated->f.EdgeFlagv(flag); |
4428 | } |
4429 | |
4430 | inline void QOpenGLFunctions_4_1_Compatibility::glEdgeFlag(GLboolean flag) |
4431 | { |
4432 | d_1_0_Deprecated->f.EdgeFlag(flag); |
4433 | } |
4434 | |
4435 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4usv(const GLushort *v) |
4436 | { |
4437 | d_1_0_Deprecated->f.Color4usv(v); |
4438 | } |
4439 | |
4440 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
4441 | { |
4442 | d_1_0_Deprecated->f.Color4us(red, green, blue, alpha); |
4443 | } |
4444 | |
4445 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4uiv(const GLuint *v) |
4446 | { |
4447 | d_1_0_Deprecated->f.Color4uiv(v); |
4448 | } |
4449 | |
4450 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
4451 | { |
4452 | d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha); |
4453 | } |
4454 | |
4455 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4ubv(const GLubyte *v) |
4456 | { |
4457 | d_1_0_Deprecated->f.Color4ubv(v); |
4458 | } |
4459 | |
4460 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
4461 | { |
4462 | d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha); |
4463 | } |
4464 | |
4465 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4sv(const GLshort *v) |
4466 | { |
4467 | d_1_0_Deprecated->f.Color4sv(v); |
4468 | } |
4469 | |
4470 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
4471 | { |
4472 | d_1_0_Deprecated->f.Color4s(red, green, blue, alpha); |
4473 | } |
4474 | |
4475 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4iv(const GLint *v) |
4476 | { |
4477 | d_1_0_Deprecated->f.Color4iv(v); |
4478 | } |
4479 | |
4480 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
4481 | { |
4482 | d_1_0_Deprecated->f.Color4i(red, green, blue, alpha); |
4483 | } |
4484 | |
4485 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4fv(const GLfloat *v) |
4486 | { |
4487 | d_1_0_Deprecated->f.Color4fv(v); |
4488 | } |
4489 | |
4490 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
4491 | { |
4492 | d_1_0_Deprecated->f.Color4f(red, green, blue, alpha); |
4493 | } |
4494 | |
4495 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4dv(const GLdouble *v) |
4496 | { |
4497 | d_1_0_Deprecated->f.Color4dv(v); |
4498 | } |
4499 | |
4500 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
4501 | { |
4502 | d_1_0_Deprecated->f.Color4d(red, green, blue, alpha); |
4503 | } |
4504 | |
4505 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4bv(const GLbyte *v) |
4506 | { |
4507 | d_1_0_Deprecated->f.Color4bv(v); |
4508 | } |
4509 | |
4510 | inline void QOpenGLFunctions_4_1_Compatibility::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
4511 | { |
4512 | d_1_0_Deprecated->f.Color4b(red, green, blue, alpha); |
4513 | } |
4514 | |
4515 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3usv(const GLushort *v) |
4516 | { |
4517 | d_1_0_Deprecated->f.Color3usv(v); |
4518 | } |
4519 | |
4520 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3us(GLushort red, GLushort green, GLushort blue) |
4521 | { |
4522 | d_1_0_Deprecated->f.Color3us(red, green, blue); |
4523 | } |
4524 | |
4525 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3uiv(const GLuint *v) |
4526 | { |
4527 | d_1_0_Deprecated->f.Color3uiv(v); |
4528 | } |
4529 | |
4530 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3ui(GLuint red, GLuint green, GLuint blue) |
4531 | { |
4532 | d_1_0_Deprecated->f.Color3ui(red, green, blue); |
4533 | } |
4534 | |
4535 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3ubv(const GLubyte *v) |
4536 | { |
4537 | d_1_0_Deprecated->f.Color3ubv(v); |
4538 | } |
4539 | |
4540 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
4541 | { |
4542 | d_1_0_Deprecated->f.Color3ub(red, green, blue); |
4543 | } |
4544 | |
4545 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3sv(const GLshort *v) |
4546 | { |
4547 | d_1_0_Deprecated->f.Color3sv(v); |
4548 | } |
4549 | |
4550 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3s(GLshort red, GLshort green, GLshort blue) |
4551 | { |
4552 | d_1_0_Deprecated->f.Color3s(red, green, blue); |
4553 | } |
4554 | |
4555 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3iv(const GLint *v) |
4556 | { |
4557 | d_1_0_Deprecated->f.Color3iv(v); |
4558 | } |
4559 | |
4560 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3i(GLint red, GLint green, GLint blue) |
4561 | { |
4562 | d_1_0_Deprecated->f.Color3i(red, green, blue); |
4563 | } |
4564 | |
4565 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3fv(const GLfloat *v) |
4566 | { |
4567 | d_1_0_Deprecated->f.Color3fv(v); |
4568 | } |
4569 | |
4570 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
4571 | { |
4572 | d_1_0_Deprecated->f.Color3f(red, green, blue); |
4573 | } |
4574 | |
4575 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3dv(const GLdouble *v) |
4576 | { |
4577 | d_1_0_Deprecated->f.Color3dv(v); |
4578 | } |
4579 | |
4580 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
4581 | { |
4582 | d_1_0_Deprecated->f.Color3d(red, green, blue); |
4583 | } |
4584 | |
4585 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3bv(const GLbyte *v) |
4586 | { |
4587 | d_1_0_Deprecated->f.Color3bv(v); |
4588 | } |
4589 | |
4590 | inline void QOpenGLFunctions_4_1_Compatibility::glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
4591 | { |
4592 | d_1_0_Deprecated->f.Color3b(red, green, blue); |
4593 | } |
4594 | |
4595 | inline void QOpenGLFunctions_4_1_Compatibility::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
4596 | { |
4597 | d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap); |
4598 | } |
4599 | |
4600 | inline void QOpenGLFunctions_4_1_Compatibility::glBegin(GLenum mode) |
4601 | { |
4602 | d_1_0_Deprecated->f.Begin(mode); |
4603 | } |
4604 | |
4605 | inline void QOpenGLFunctions_4_1_Compatibility::glListBase(GLuint base) |
4606 | { |
4607 | d_1_0_Deprecated->f.ListBase(base); |
4608 | } |
4609 | |
4610 | inline GLuint QOpenGLFunctions_4_1_Compatibility::glGenLists(GLsizei range) |
4611 | { |
4612 | return d_1_0_Deprecated->f.GenLists(range); |
4613 | } |
4614 | |
4615 | inline void QOpenGLFunctions_4_1_Compatibility::glDeleteLists(GLuint list, GLsizei range) |
4616 | { |
4617 | d_1_0_Deprecated->f.DeleteLists(list, range); |
4618 | } |
4619 | |
4620 | inline void QOpenGLFunctions_4_1_Compatibility::glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
4621 | { |
4622 | d_1_0_Deprecated->f.CallLists(n, type, lists); |
4623 | } |
4624 | |
4625 | inline void QOpenGLFunctions_4_1_Compatibility::glCallList(GLuint list) |
4626 | { |
4627 | d_1_0_Deprecated->f.CallList(list); |
4628 | } |
4629 | |
4630 | inline void QOpenGLFunctions_4_1_Compatibility::glEndList() |
4631 | { |
4632 | d_1_0_Deprecated->f.EndList(); |
4633 | } |
4634 | |
4635 | inline void QOpenGLFunctions_4_1_Compatibility::glNewList(GLuint list, GLenum mode) |
4636 | { |
4637 | d_1_0_Deprecated->f.NewList(list, mode); |
4638 | } |
4639 | |
4640 | |
4641 | // OpenGL 1.1 deprecated functions |
4642 | inline void QOpenGLFunctions_4_1_Compatibility::glPushClientAttrib(GLbitfield mask) |
4643 | { |
4644 | d_1_1_Deprecated->f.PushClientAttrib(mask); |
4645 | } |
4646 | |
4647 | inline void QOpenGLFunctions_4_1_Compatibility::glPopClientAttrib() |
4648 | { |
4649 | d_1_1_Deprecated->f.PopClientAttrib(); |
4650 | } |
4651 | |
4652 | inline void QOpenGLFunctions_4_1_Compatibility::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities) |
4653 | { |
4654 | d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities); |
4655 | } |
4656 | |
4657 | inline GLboolean QOpenGLFunctions_4_1_Compatibility::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
4658 | { |
4659 | return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences); |
4660 | } |
4661 | |
4662 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
4663 | { |
4664 | d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer); |
4665 | } |
4666 | |
4667 | inline void QOpenGLFunctions_4_1_Compatibility::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
4668 | { |
4669 | d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer); |
4670 | } |
4671 | |
4672 | inline void QOpenGLFunctions_4_1_Compatibility::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
4673 | { |
4674 | d_1_1_Deprecated->f.NormalPointer(type, stride, pointer); |
4675 | } |
4676 | |
4677 | inline void QOpenGLFunctions_4_1_Compatibility::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
4678 | { |
4679 | d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer); |
4680 | } |
4681 | |
4682 | inline void QOpenGLFunctions_4_1_Compatibility::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
4683 | { |
4684 | d_1_1_Deprecated->f.IndexPointer(type, stride, pointer); |
4685 | } |
4686 | |
4687 | inline void QOpenGLFunctions_4_1_Compatibility::glEnableClientState(GLenum array) |
4688 | { |
4689 | d_1_1_Deprecated->f.EnableClientState(array); |
4690 | } |
4691 | |
4692 | inline void QOpenGLFunctions_4_1_Compatibility::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer) |
4693 | { |
4694 | d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer); |
4695 | } |
4696 | |
4697 | inline void QOpenGLFunctions_4_1_Compatibility::glDisableClientState(GLenum array) |
4698 | { |
4699 | d_1_1_Deprecated->f.DisableClientState(array); |
4700 | } |
4701 | |
4702 | inline void QOpenGLFunctions_4_1_Compatibility::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
4703 | { |
4704 | d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer); |
4705 | } |
4706 | |
4707 | inline void QOpenGLFunctions_4_1_Compatibility::glArrayElement(GLint i) |
4708 | { |
4709 | d_1_1_Deprecated->f.ArrayElement(i); |
4710 | } |
4711 | |
4712 | |
4713 | // OpenGL 1.2 deprecated functions |
4714 | inline void QOpenGLFunctions_4_1_Compatibility::glResetMinmax(GLenum target) |
4715 | { |
4716 | d_1_2_Deprecated->f.ResetMinmax(target); |
4717 | } |
4718 | |
4719 | inline void QOpenGLFunctions_4_1_Compatibility::glResetHistogram(GLenum target) |
4720 | { |
4721 | d_1_2_Deprecated->f.ResetHistogram(target); |
4722 | } |
4723 | |
4724 | inline void QOpenGLFunctions_4_1_Compatibility::glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
4725 | { |
4726 | d_1_2_Deprecated->f.Minmax(target, internalformat, sink); |
4727 | } |
4728 | |
4729 | inline void QOpenGLFunctions_4_1_Compatibility::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
4730 | { |
4731 | d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink); |
4732 | } |
4733 | |
4734 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
4735 | { |
4736 | d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params); |
4737 | } |
4738 | |
4739 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
4740 | { |
4741 | d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params); |
4742 | } |
4743 | |
4744 | inline void QOpenGLFunctions_4_1_Compatibility::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
4745 | { |
4746 | d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values); |
4747 | } |
4748 | |
4749 | inline void QOpenGLFunctions_4_1_Compatibility::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
4750 | { |
4751 | d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params); |
4752 | } |
4753 | |
4754 | inline void QOpenGLFunctions_4_1_Compatibility::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
4755 | { |
4756 | d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params); |
4757 | } |
4758 | |
4759 | inline void QOpenGLFunctions_4_1_Compatibility::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
4760 | { |
4761 | d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values); |
4762 | } |
4763 | |
4764 | inline void QOpenGLFunctions_4_1_Compatibility::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
4765 | { |
4766 | d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column); |
4767 | } |
4768 | |
4769 | inline void QOpenGLFunctions_4_1_Compatibility::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
4770 | { |
4771 | d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span); |
4772 | } |
4773 | |
4774 | inline void QOpenGLFunctions_4_1_Compatibility::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
4775 | { |
4776 | d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params); |
4777 | } |
4778 | |
4779 | inline void QOpenGLFunctions_4_1_Compatibility::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
4780 | { |
4781 | d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params); |
4782 | } |
4783 | |
4784 | inline void QOpenGLFunctions_4_1_Compatibility::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
4785 | { |
4786 | d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image); |
4787 | } |
4788 | |
4789 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
4790 | { |
4791 | d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height); |
4792 | } |
4793 | |
4794 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
4795 | { |
4796 | d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width); |
4797 | } |
4798 | |
4799 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
4800 | { |
4801 | d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params); |
4802 | } |
4803 | |
4804 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
4805 | { |
4806 | d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params); |
4807 | } |
4808 | |
4809 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
4810 | { |
4811 | d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params); |
4812 | } |
4813 | |
4814 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
4815 | { |
4816 | d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params); |
4817 | } |
4818 | |
4819 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
4820 | { |
4821 | d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image); |
4822 | } |
4823 | |
4824 | inline void QOpenGLFunctions_4_1_Compatibility::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
4825 | { |
4826 | d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image); |
4827 | } |
4828 | |
4829 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
4830 | { |
4831 | d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width); |
4832 | } |
4833 | |
4834 | inline void QOpenGLFunctions_4_1_Compatibility::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
4835 | { |
4836 | d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data); |
4837 | } |
4838 | |
4839 | inline void QOpenGLFunctions_4_1_Compatibility::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
4840 | { |
4841 | d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params); |
4842 | } |
4843 | |
4844 | inline void QOpenGLFunctions_4_1_Compatibility::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
4845 | { |
4846 | d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params); |
4847 | } |
4848 | |
4849 | inline void QOpenGLFunctions_4_1_Compatibility::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
4850 | { |
4851 | d_1_2_Deprecated->f.GetColorTable(target, format, type, table); |
4852 | } |
4853 | |
4854 | inline void QOpenGLFunctions_4_1_Compatibility::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
4855 | { |
4856 | d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width); |
4857 | } |
4858 | |
4859 | inline void QOpenGLFunctions_4_1_Compatibility::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
4860 | { |
4861 | d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params); |
4862 | } |
4863 | |
4864 | inline void QOpenGLFunctions_4_1_Compatibility::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
4865 | { |
4866 | d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params); |
4867 | } |
4868 | |
4869 | inline void QOpenGLFunctions_4_1_Compatibility::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
4870 | { |
4871 | d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table); |
4872 | } |
4873 | |
4874 | |
4875 | // OpenGL 1.3 deprecated functions |
4876 | inline void QOpenGLFunctions_4_1_Compatibility::glMultTransposeMatrixd(const GLdouble *m) |
4877 | { |
4878 | d_1_3_Deprecated->f.MultTransposeMatrixd(m); |
4879 | } |
4880 | |
4881 | inline void QOpenGLFunctions_4_1_Compatibility::glMultTransposeMatrixf(const GLfloat *m) |
4882 | { |
4883 | d_1_3_Deprecated->f.MultTransposeMatrixf(m); |
4884 | } |
4885 | |
4886 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadTransposeMatrixd(const GLdouble *m) |
4887 | { |
4888 | d_1_3_Deprecated->f.LoadTransposeMatrixd(m); |
4889 | } |
4890 | |
4891 | inline void QOpenGLFunctions_4_1_Compatibility::glLoadTransposeMatrixf(const GLfloat *m) |
4892 | { |
4893 | d_1_3_Deprecated->f.LoadTransposeMatrixf(m); |
4894 | } |
4895 | |
4896 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4sv(GLenum target, const GLshort *v) |
4897 | { |
4898 | d_1_3_Deprecated->f.MultiTexCoord4sv(target, v); |
4899 | } |
4900 | |
4901 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
4902 | { |
4903 | d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q); |
4904 | } |
4905 | |
4906 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4iv(GLenum target, const GLint *v) |
4907 | { |
4908 | d_1_3_Deprecated->f.MultiTexCoord4iv(target, v); |
4909 | } |
4910 | |
4911 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) |
4912 | { |
4913 | d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q); |
4914 | } |
4915 | |
4916 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4fv(GLenum target, const GLfloat *v) |
4917 | { |
4918 | d_1_3_Deprecated->f.MultiTexCoord4fv(target, v); |
4919 | } |
4920 | |
4921 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
4922 | { |
4923 | d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q); |
4924 | } |
4925 | |
4926 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4dv(GLenum target, const GLdouble *v) |
4927 | { |
4928 | d_1_3_Deprecated->f.MultiTexCoord4dv(target, v); |
4929 | } |
4930 | |
4931 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
4932 | { |
4933 | d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q); |
4934 | } |
4935 | |
4936 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3sv(GLenum target, const GLshort *v) |
4937 | { |
4938 | d_1_3_Deprecated->f.MultiTexCoord3sv(target, v); |
4939 | } |
4940 | |
4941 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) |
4942 | { |
4943 | d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r); |
4944 | } |
4945 | |
4946 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3iv(GLenum target, const GLint *v) |
4947 | { |
4948 | d_1_3_Deprecated->f.MultiTexCoord3iv(target, v); |
4949 | } |
4950 | |
4951 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) |
4952 | { |
4953 | d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r); |
4954 | } |
4955 | |
4956 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3fv(GLenum target, const GLfloat *v) |
4957 | { |
4958 | d_1_3_Deprecated->f.MultiTexCoord3fv(target, v); |
4959 | } |
4960 | |
4961 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
4962 | { |
4963 | d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r); |
4964 | } |
4965 | |
4966 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3dv(GLenum target, const GLdouble *v) |
4967 | { |
4968 | d_1_3_Deprecated->f.MultiTexCoord3dv(target, v); |
4969 | } |
4970 | |
4971 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
4972 | { |
4973 | d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r); |
4974 | } |
4975 | |
4976 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2sv(GLenum target, const GLshort *v) |
4977 | { |
4978 | d_1_3_Deprecated->f.MultiTexCoord2sv(target, v); |
4979 | } |
4980 | |
4981 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) |
4982 | { |
4983 | d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t); |
4984 | } |
4985 | |
4986 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2iv(GLenum target, const GLint *v) |
4987 | { |
4988 | d_1_3_Deprecated->f.MultiTexCoord2iv(target, v); |
4989 | } |
4990 | |
4991 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2i(GLenum target, GLint s, GLint t) |
4992 | { |
4993 | d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t); |
4994 | } |
4995 | |
4996 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2fv(GLenum target, const GLfloat *v) |
4997 | { |
4998 | d_1_3_Deprecated->f.MultiTexCoord2fv(target, v); |
4999 | } |
5000 | |
5001 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) |
5002 | { |
5003 | d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t); |
5004 | } |
5005 | |
5006 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2dv(GLenum target, const GLdouble *v) |
5007 | { |
5008 | d_1_3_Deprecated->f.MultiTexCoord2dv(target, v); |
5009 | } |
5010 | |
5011 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) |
5012 | { |
5013 | d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t); |
5014 | } |
5015 | |
5016 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1sv(GLenum target, const GLshort *v) |
5017 | { |
5018 | d_1_3_Deprecated->f.MultiTexCoord1sv(target, v); |
5019 | } |
5020 | |
5021 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1s(GLenum target, GLshort s) |
5022 | { |
5023 | d_1_3_Deprecated->f.MultiTexCoord1s(target, s); |
5024 | } |
5025 | |
5026 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1iv(GLenum target, const GLint *v) |
5027 | { |
5028 | d_1_3_Deprecated->f.MultiTexCoord1iv(target, v); |
5029 | } |
5030 | |
5031 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1i(GLenum target, GLint s) |
5032 | { |
5033 | d_1_3_Deprecated->f.MultiTexCoord1i(target, s); |
5034 | } |
5035 | |
5036 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1fv(GLenum target, const GLfloat *v) |
5037 | { |
5038 | d_1_3_Deprecated->f.MultiTexCoord1fv(target, v); |
5039 | } |
5040 | |
5041 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1f(GLenum target, GLfloat s) |
5042 | { |
5043 | d_1_3_Deprecated->f.MultiTexCoord1f(target, s); |
5044 | } |
5045 | |
5046 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1dv(GLenum target, const GLdouble *v) |
5047 | { |
5048 | d_1_3_Deprecated->f.MultiTexCoord1dv(target, v); |
5049 | } |
5050 | |
5051 | inline void QOpenGLFunctions_4_1_Compatibility::glMultiTexCoord1d(GLenum target, GLdouble s) |
5052 | { |
5053 | d_1_3_Deprecated->f.MultiTexCoord1d(target, s); |
5054 | } |
5055 | |
5056 | inline void QOpenGLFunctions_4_1_Compatibility::glClientActiveTexture(GLenum texture) |
5057 | { |
5058 | d_1_3_Deprecated->f.ClientActiveTexture(texture); |
5059 | } |
5060 | |
5061 | |
5062 | // OpenGL 1.4 deprecated functions |
5063 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3sv(const GLshort *v) |
5064 | { |
5065 | d_1_4_Deprecated->f.WindowPos3sv(v); |
5066 | } |
5067 | |
5068 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3s(GLshort x, GLshort y, GLshort z) |
5069 | { |
5070 | d_1_4_Deprecated->f.WindowPos3s(x, y, z); |
5071 | } |
5072 | |
5073 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3iv(const GLint *v) |
5074 | { |
5075 | d_1_4_Deprecated->f.WindowPos3iv(v); |
5076 | } |
5077 | |
5078 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3i(GLint x, GLint y, GLint z) |
5079 | { |
5080 | d_1_4_Deprecated->f.WindowPos3i(x, y, z); |
5081 | } |
5082 | |
5083 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3fv(const GLfloat *v) |
5084 | { |
5085 | d_1_4_Deprecated->f.WindowPos3fv(v); |
5086 | } |
5087 | |
5088 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) |
5089 | { |
5090 | d_1_4_Deprecated->f.WindowPos3f(x, y, z); |
5091 | } |
5092 | |
5093 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3dv(const GLdouble *v) |
5094 | { |
5095 | d_1_4_Deprecated->f.WindowPos3dv(v); |
5096 | } |
5097 | |
5098 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) |
5099 | { |
5100 | d_1_4_Deprecated->f.WindowPos3d(x, y, z); |
5101 | } |
5102 | |
5103 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2sv(const GLshort *v) |
5104 | { |
5105 | d_1_4_Deprecated->f.WindowPos2sv(v); |
5106 | } |
5107 | |
5108 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2s(GLshort x, GLshort y) |
5109 | { |
5110 | d_1_4_Deprecated->f.WindowPos2s(x, y); |
5111 | } |
5112 | |
5113 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2iv(const GLint *v) |
5114 | { |
5115 | d_1_4_Deprecated->f.WindowPos2iv(v); |
5116 | } |
5117 | |
5118 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2i(GLint x, GLint y) |
5119 | { |
5120 | d_1_4_Deprecated->f.WindowPos2i(x, y); |
5121 | } |
5122 | |
5123 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2fv(const GLfloat *v) |
5124 | { |
5125 | d_1_4_Deprecated->f.WindowPos2fv(v); |
5126 | } |
5127 | |
5128 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2f(GLfloat x, GLfloat y) |
5129 | { |
5130 | d_1_4_Deprecated->f.WindowPos2f(x, y); |
5131 | } |
5132 | |
5133 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2dv(const GLdouble *v) |
5134 | { |
5135 | d_1_4_Deprecated->f.WindowPos2dv(v); |
5136 | } |
5137 | |
5138 | inline void QOpenGLFunctions_4_1_Compatibility::glWindowPos2d(GLdouble x, GLdouble y) |
5139 | { |
5140 | d_1_4_Deprecated->f.WindowPos2d(x, y); |
5141 | } |
5142 | |
5143 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
5144 | { |
5145 | d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer); |
5146 | } |
5147 | |
5148 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3usv(const GLushort *v) |
5149 | { |
5150 | d_1_4_Deprecated->f.SecondaryColor3usv(v); |
5151 | } |
5152 | |
5153 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) |
5154 | { |
5155 | d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue); |
5156 | } |
5157 | |
5158 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3uiv(const GLuint *v) |
5159 | { |
5160 | d_1_4_Deprecated->f.SecondaryColor3uiv(v); |
5161 | } |
5162 | |
5163 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) |
5164 | { |
5165 | d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue); |
5166 | } |
5167 | |
5168 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3ubv(const GLubyte *v) |
5169 | { |
5170 | d_1_4_Deprecated->f.SecondaryColor3ubv(v); |
5171 | } |
5172 | |
5173 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
5174 | { |
5175 | d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue); |
5176 | } |
5177 | |
5178 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3sv(const GLshort *v) |
5179 | { |
5180 | d_1_4_Deprecated->f.SecondaryColor3sv(v); |
5181 | } |
5182 | |
5183 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) |
5184 | { |
5185 | d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue); |
5186 | } |
5187 | |
5188 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3iv(const GLint *v) |
5189 | { |
5190 | d_1_4_Deprecated->f.SecondaryColor3iv(v); |
5191 | } |
5192 | |
5193 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3i(GLint red, GLint green, GLint blue) |
5194 | { |
5195 | d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue); |
5196 | } |
5197 | |
5198 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3fv(const GLfloat *v) |
5199 | { |
5200 | d_1_4_Deprecated->f.SecondaryColor3fv(v); |
5201 | } |
5202 | |
5203 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) |
5204 | { |
5205 | d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue); |
5206 | } |
5207 | |
5208 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3dv(const GLdouble *v) |
5209 | { |
5210 | d_1_4_Deprecated->f.SecondaryColor3dv(v); |
5211 | } |
5212 | |
5213 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) |
5214 | { |
5215 | d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue); |
5216 | } |
5217 | |
5218 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3bv(const GLbyte *v) |
5219 | { |
5220 | d_1_4_Deprecated->f.SecondaryColor3bv(v); |
5221 | } |
5222 | |
5223 | inline void QOpenGLFunctions_4_1_Compatibility::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) |
5224 | { |
5225 | d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue); |
5226 | } |
5227 | |
5228 | inline void QOpenGLFunctions_4_1_Compatibility::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
5229 | { |
5230 | d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer); |
5231 | } |
5232 | |
5233 | inline void QOpenGLFunctions_4_1_Compatibility::glFogCoorddv(const GLdouble *coord) |
5234 | { |
5235 | d_1_4_Deprecated->f.FogCoorddv(coord); |
5236 | } |
5237 | |
5238 | inline void QOpenGLFunctions_4_1_Compatibility::glFogCoordd(GLdouble coord) |
5239 | { |
5240 | d_1_4_Deprecated->f.FogCoordd(coord); |
5241 | } |
5242 | |
5243 | inline void QOpenGLFunctions_4_1_Compatibility::glFogCoordfv(const GLfloat *coord) |
5244 | { |
5245 | d_1_4_Deprecated->f.FogCoordfv(coord); |
5246 | } |
5247 | |
5248 | inline void QOpenGLFunctions_4_1_Compatibility::glFogCoordf(GLfloat coord) |
5249 | { |
5250 | d_1_4_Deprecated->f.FogCoordf(coord); |
5251 | } |
5252 | |
5253 | |
5254 | // OpenGL 1.5 deprecated functions |
5255 | |
5256 | // OpenGL 2.0 deprecated functions |
5257 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4usv(GLuint index, const GLushort *v) |
5258 | { |
5259 | d_2_0_Core->f.VertexAttrib4usv(index, v); |
5260 | } |
5261 | |
5262 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4uiv(GLuint index, const GLuint *v) |
5263 | { |
5264 | d_2_0_Core->f.VertexAttrib4uiv(index, v); |
5265 | } |
5266 | |
5267 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4ubv(GLuint index, const GLubyte *v) |
5268 | { |
5269 | d_2_0_Core->f.VertexAttrib4ubv(index, v); |
5270 | } |
5271 | |
5272 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4sv(GLuint index, const GLshort *v) |
5273 | { |
5274 | d_2_0_Core->f.VertexAttrib4sv(index, v); |
5275 | } |
5276 | |
5277 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
5278 | { |
5279 | d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w); |
5280 | } |
5281 | |
5282 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4iv(GLuint index, const GLint *v) |
5283 | { |
5284 | d_2_0_Core->f.VertexAttrib4iv(index, v); |
5285 | } |
5286 | |
5287 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4fv(GLuint index, const GLfloat *v) |
5288 | { |
5289 | d_2_0_Core->f.VertexAttrib4fv(index, v); |
5290 | } |
5291 | |
5292 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
5293 | { |
5294 | d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w); |
5295 | } |
5296 | |
5297 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4dv(GLuint index, const GLdouble *v) |
5298 | { |
5299 | d_2_0_Core->f.VertexAttrib4dv(index, v); |
5300 | } |
5301 | |
5302 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
5303 | { |
5304 | d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w); |
5305 | } |
5306 | |
5307 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4bv(GLuint index, const GLbyte *v) |
5308 | { |
5309 | d_2_0_Core->f.VertexAttrib4bv(index, v); |
5310 | } |
5311 | |
5312 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nusv(GLuint index, const GLushort *v) |
5313 | { |
5314 | d_2_0_Core->f.VertexAttrib4Nusv(index, v); |
5315 | } |
5316 | |
5317 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nuiv(GLuint index, const GLuint *v) |
5318 | { |
5319 | d_2_0_Core->f.VertexAttrib4Nuiv(index, v); |
5320 | } |
5321 | |
5322 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nubv(GLuint index, const GLubyte *v) |
5323 | { |
5324 | d_2_0_Core->f.VertexAttrib4Nubv(index, v); |
5325 | } |
5326 | |
5327 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
5328 | { |
5329 | d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w); |
5330 | } |
5331 | |
5332 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nsv(GLuint index, const GLshort *v) |
5333 | { |
5334 | d_2_0_Core->f.VertexAttrib4Nsv(index, v); |
5335 | } |
5336 | |
5337 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Niv(GLuint index, const GLint *v) |
5338 | { |
5339 | d_2_0_Core->f.VertexAttrib4Niv(index, v); |
5340 | } |
5341 | |
5342 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib4Nbv(GLuint index, const GLbyte *v) |
5343 | { |
5344 | d_2_0_Core->f.VertexAttrib4Nbv(index, v); |
5345 | } |
5346 | |
5347 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3sv(GLuint index, const GLshort *v) |
5348 | { |
5349 | d_2_0_Core->f.VertexAttrib3sv(index, v); |
5350 | } |
5351 | |
5352 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) |
5353 | { |
5354 | d_2_0_Core->f.VertexAttrib3s(index, x, y, z); |
5355 | } |
5356 | |
5357 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3fv(GLuint index, const GLfloat *v) |
5358 | { |
5359 | d_2_0_Core->f.VertexAttrib3fv(index, v); |
5360 | } |
5361 | |
5362 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
5363 | { |
5364 | d_2_0_Core->f.VertexAttrib3f(index, x, y, z); |
5365 | } |
5366 | |
5367 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3dv(GLuint index, const GLdouble *v) |
5368 | { |
5369 | d_2_0_Core->f.VertexAttrib3dv(index, v); |
5370 | } |
5371 | |
5372 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
5373 | { |
5374 | d_2_0_Core->f.VertexAttrib3d(index, x, y, z); |
5375 | } |
5376 | |
5377 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2sv(GLuint index, const GLshort *v) |
5378 | { |
5379 | d_2_0_Core->f.VertexAttrib2sv(index, v); |
5380 | } |
5381 | |
5382 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2s(GLuint index, GLshort x, GLshort y) |
5383 | { |
5384 | d_2_0_Core->f.VertexAttrib2s(index, x, y); |
5385 | } |
5386 | |
5387 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2fv(GLuint index, const GLfloat *v) |
5388 | { |
5389 | d_2_0_Core->f.VertexAttrib2fv(index, v); |
5390 | } |
5391 | |
5392 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) |
5393 | { |
5394 | d_2_0_Core->f.VertexAttrib2f(index, x, y); |
5395 | } |
5396 | |
5397 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2dv(GLuint index, const GLdouble *v) |
5398 | { |
5399 | d_2_0_Core->f.VertexAttrib2dv(index, v); |
5400 | } |
5401 | |
5402 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y) |
5403 | { |
5404 | d_2_0_Core->f.VertexAttrib2d(index, x, y); |
5405 | } |
5406 | |
5407 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1sv(GLuint index, const GLshort *v) |
5408 | { |
5409 | d_2_0_Core->f.VertexAttrib1sv(index, v); |
5410 | } |
5411 | |
5412 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1s(GLuint index, GLshort x) |
5413 | { |
5414 | d_2_0_Core->f.VertexAttrib1s(index, x); |
5415 | } |
5416 | |
5417 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1fv(GLuint index, const GLfloat *v) |
5418 | { |
5419 | d_2_0_Core->f.VertexAttrib1fv(index, v); |
5420 | } |
5421 | |
5422 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1f(GLuint index, GLfloat x) |
5423 | { |
5424 | d_2_0_Core->f.VertexAttrib1f(index, x); |
5425 | } |
5426 | |
5427 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1dv(GLuint index, const GLdouble *v) |
5428 | { |
5429 | d_2_0_Core->f.VertexAttrib1dv(index, v); |
5430 | } |
5431 | |
5432 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttrib1d(GLuint index, GLdouble x) |
5433 | { |
5434 | d_2_0_Core->f.VertexAttrib1d(index, x); |
5435 | } |
5436 | |
5437 | |
5438 | // OpenGL 2.1 deprecated functions |
5439 | |
5440 | // OpenGL 3.0 deprecated functions |
5441 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4usv(GLuint index, const GLushort *v) |
5442 | { |
5443 | d_3_0_Core->f.VertexAttribI4usv(index, v); |
5444 | } |
5445 | |
5446 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4ubv(GLuint index, const GLubyte *v) |
5447 | { |
5448 | d_3_0_Core->f.VertexAttribI4ubv(index, v); |
5449 | } |
5450 | |
5451 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4sv(GLuint index, const GLshort *v) |
5452 | { |
5453 | d_3_0_Core->f.VertexAttribI4sv(index, v); |
5454 | } |
5455 | |
5456 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4bv(GLuint index, const GLbyte *v) |
5457 | { |
5458 | d_3_0_Core->f.VertexAttribI4bv(index, v); |
5459 | } |
5460 | |
5461 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4uiv(GLuint index, const GLuint *v) |
5462 | { |
5463 | d_3_0_Core->f.VertexAttribI4uiv(index, v); |
5464 | } |
5465 | |
5466 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI3uiv(GLuint index, const GLuint *v) |
5467 | { |
5468 | d_3_0_Core->f.VertexAttribI3uiv(index, v); |
5469 | } |
5470 | |
5471 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI2uiv(GLuint index, const GLuint *v) |
5472 | { |
5473 | d_3_0_Core->f.VertexAttribI2uiv(index, v); |
5474 | } |
5475 | |
5476 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1uiv(GLuint index, const GLuint *v) |
5477 | { |
5478 | d_3_0_Core->f.VertexAttribI1uiv(index, v); |
5479 | } |
5480 | |
5481 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4iv(GLuint index, const GLint *v) |
5482 | { |
5483 | d_3_0_Core->f.VertexAttribI4iv(index, v); |
5484 | } |
5485 | |
5486 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI3iv(GLuint index, const GLint *v) |
5487 | { |
5488 | d_3_0_Core->f.VertexAttribI3iv(index, v); |
5489 | } |
5490 | |
5491 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI2iv(GLuint index, const GLint *v) |
5492 | { |
5493 | d_3_0_Core->f.VertexAttribI2iv(index, v); |
5494 | } |
5495 | |
5496 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1iv(GLuint index, const GLint *v) |
5497 | { |
5498 | d_3_0_Core->f.VertexAttribI1iv(index, v); |
5499 | } |
5500 | |
5501 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4ui(GLuint index, GLuint x, GLuint y, GLuint z, GLuint w) |
5502 | { |
5503 | d_3_0_Core->f.VertexAttribI4ui(index, x, y, z, w); |
5504 | } |
5505 | |
5506 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI3ui(GLuint index, GLuint x, GLuint y, GLuint z) |
5507 | { |
5508 | d_3_0_Core->f.VertexAttribI3ui(index, x, y, z); |
5509 | } |
5510 | |
5511 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI2ui(GLuint index, GLuint x, GLuint y) |
5512 | { |
5513 | d_3_0_Core->f.VertexAttribI2ui(index, x, y); |
5514 | } |
5515 | |
5516 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1ui(GLuint index, GLuint x) |
5517 | { |
5518 | d_3_0_Core->f.VertexAttribI1ui(index, x); |
5519 | } |
5520 | |
5521 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI4i(GLuint index, GLint x, GLint y, GLint z, GLint w) |
5522 | { |
5523 | d_3_0_Core->f.VertexAttribI4i(index, x, y, z, w); |
5524 | } |
5525 | |
5526 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI3i(GLuint index, GLint x, GLint y, GLint z) |
5527 | { |
5528 | d_3_0_Core->f.VertexAttribI3i(index, x, y, z); |
5529 | } |
5530 | |
5531 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI2i(GLuint index, GLint x, GLint y) |
5532 | { |
5533 | d_3_0_Core->f.VertexAttribI2i(index, x, y); |
5534 | } |
5535 | |
5536 | inline void QOpenGLFunctions_4_1_Compatibility::glVertexAttribI1i(GLuint index, GLint x) |
5537 | { |
5538 | d_3_0_Core->f.VertexAttribI1i(index, x); |
5539 | } |
5540 | |
5541 | |
5542 | // OpenGL 3.1 deprecated functions |
5543 | |
5544 | // OpenGL 3.2 deprecated functions |
5545 | |
5546 | // OpenGL 3.3 deprecated functions |
5547 | |
5548 | // OpenGL 4.0 deprecated functions |
5549 | |
5550 | // OpenGL 4.1 deprecated functions |
5551 | |
5552 | |
5553 | QT_END_NAMESPACE |
5554 | |
5555 | #endif // QT_NO_OPENGL && !QT_CONFIG(opengles2) |
5556 | |
5557 | #endif |
5558 | |