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