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