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