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