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