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