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