1 | /**************************************************************************** |
2 | ** |
3 | ** Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
4 | ** Copyright (C) 2016 The Qt Company Ltd. |
5 | ** Contact: https://www.qt.io/licensing/ |
6 | ** |
7 | ** This file is part of the QtGui module of the Qt Toolkit. |
8 | ** |
9 | ** $QT_BEGIN_LICENSE:LGPL$ |
10 | ** Commercial License Usage |
11 | ** Licensees holding valid commercial Qt licenses may use this file in |
12 | ** accordance with the commercial license agreement provided with the |
13 | ** Software or, alternatively, in accordance with the terms contained in |
14 | ** a written agreement between you and The Qt Company. For licensing terms |
15 | ** and conditions see https://www.qt.io/terms-conditions. For further |
16 | ** information use the contact form at https://www.qt.io/contact-us. |
17 | ** |
18 | ** GNU Lesser General Public License Usage |
19 | ** Alternatively, this file may be used under the terms of the GNU Lesser |
20 | ** General Public License version 3 as published by the Free Software |
21 | ** Foundation and appearing in the file LICENSE.LGPL3 included in the |
22 | ** packaging of this file. Please review the following information to |
23 | ** ensure the GNU Lesser General Public License version 3 requirements |
24 | ** will be met: https://www.gnu.org/licenses/lgpl-3.0.html. |
25 | ** |
26 | ** GNU General Public License Usage |
27 | ** Alternatively, this file may be used under the terms of the GNU |
28 | ** General Public License version 2.0 or (at your option) the GNU General |
29 | ** Public license version 3 or any later version approved by the KDE Free |
30 | ** Qt Foundation. The licenses are as published by the Free Software |
31 | ** Foundation and appearing in the file LICENSE.GPL2 and LICENSE.GPL3 |
32 | ** included in the packaging of this file. Please review the following |
33 | ** information to ensure the GNU General Public License requirements will |
34 | ** be met: https://www.gnu.org/licenses/gpl-2.0.html and |
35 | ** https://www.gnu.org/licenses/gpl-3.0.html. |
36 | ** |
37 | ** $QT_END_LICENSE$ |
38 | ** |
39 | ** |
40 | ** This file was generated by glgen version 0.1 |
41 | ** Command line was: glgen |
42 | ** |
43 | ** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
44 | ** |
45 | ** This is an auto-generated file. |
46 | ** Do not edit! All changes made to it will be lost. |
47 | ** |
48 | ****************************************************************************/ |
49 | |
50 | #ifndef QOPENGLVERSIONFUNCTIONS_4_1_CORE_H |
51 | #define QOPENGLVERSIONFUNCTIONS_4_1_CORE_H |
52 | |
53 | #include <QtGui/qtguiglobal.h> |
54 | |
55 | #if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2) |
56 | |
57 | #include <QtGui/QOpenGLVersionFunctions> |
58 | #include <QtGui/qopenglcontext.h> |
59 | |
60 | QT_BEGIN_NAMESPACE |
61 | |
62 | class Q_GUI_EXPORT QOpenGLFunctions_4_1_Core : public QAbstractOpenGLFunctions |
63 | { |
64 | public: |
65 | QOpenGLFunctions_4_1_Core(); |
66 | ~QOpenGLFunctions_4_1_Core(); |
67 | |
68 | bool initializeOpenGLFunctions() override; |
69 | |
70 | // OpenGL 1.0 core functions |
71 | void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
72 | void glDepthRange(GLdouble nearVal, GLdouble farVal); |
73 | GLboolean glIsEnabled(GLenum cap); |
74 | void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); |
75 | void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); |
76 | void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); |
77 | void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); |
78 | void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); |
79 | const GLubyte * glGetString(GLenum name); |
80 | void glGetIntegerv(GLenum pname, GLint *params); |
81 | void glGetFloatv(GLenum pname, GLfloat *params); |
82 | GLenum glGetError(); |
83 | void glGetDoublev(GLenum pname, GLdouble *params); |
84 | void glGetBooleanv(GLenum pname, GLboolean *params); |
85 | void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); |
86 | void glReadBuffer(GLenum mode); |
87 | void glPixelStorei(GLenum pname, GLint param); |
88 | void glPixelStoref(GLenum pname, GLfloat param); |
89 | void glDepthFunc(GLenum func); |
90 | void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
91 | void glStencilFunc(GLenum func, GLint ref, GLuint mask); |
92 | void glLogicOp(GLenum opcode); |
93 | void glBlendFunc(GLenum sfactor, GLenum dfactor); |
94 | void glFlush(); |
95 | void glFinish(); |
96 | void glEnable(GLenum cap); |
97 | void glDisable(GLenum cap); |
98 | void glDepthMask(GLboolean flag); |
99 | void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
100 | void glStencilMask(GLuint mask); |
101 | void glClearDepth(GLdouble depth); |
102 | void glClearStencil(GLint s); |
103 | void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
104 | void glClear(GLbitfield mask); |
105 | void glDrawBuffer(GLenum mode); |
106 | void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
107 | void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
108 | void glTexParameteriv(GLenum target, GLenum pname, const GLint *params); |
109 | void glTexParameteri(GLenum target, GLenum pname, GLint param); |
110 | void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
111 | void glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
112 | void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
113 | void glPolygonMode(GLenum face, GLenum mode); |
114 | void glPointSize(GLfloat size); |
115 | void glLineWidth(GLfloat width); |
116 | void glHint(GLenum target, GLenum mode); |
117 | void glFrontFace(GLenum mode); |
118 | void glCullFace(GLenum mode); |
119 | |
120 | // OpenGL 1.1 core functions |
121 | void glIndexubv(const GLubyte *c); |
122 | void glIndexub(GLubyte c); |
123 | GLboolean glIsTexture(GLuint texture); |
124 | void glGenTextures(GLsizei n, GLuint *textures); |
125 | void glDeleteTextures(GLsizei n, const GLuint *textures); |
126 | void glBindTexture(GLenum target, GLuint texture); |
127 | void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
128 | void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); |
129 | void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
130 | void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); |
131 | void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
132 | void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); |
133 | void glPolygonOffset(GLfloat factor, GLfloat units); |
134 | void glGetPointerv(GLenum pname, GLvoid* *params); |
135 | void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); |
136 | void glDrawArrays(GLenum mode, GLint first, GLsizei count); |
137 | |
138 | // OpenGL 1.2 core functions |
139 | void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
140 | 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); |
141 | void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
142 | void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
143 | void glBlendEquation(GLenum mode); |
144 | void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
145 | |
146 | // OpenGL 1.3 core functions |
147 | void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img); |
148 | void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); |
149 | void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); |
150 | 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); |
151 | void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
152 | void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
153 | void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
154 | void glSampleCoverage(GLfloat value, GLboolean invert); |
155 | void glActiveTexture(GLenum texture); |
156 | |
157 | // OpenGL 1.4 core functions |
158 | void glPointParameteriv(GLenum pname, const GLint *params); |
159 | void glPointParameteri(GLenum pname, GLint param); |
160 | void glPointParameterfv(GLenum pname, const GLfloat *params); |
161 | void glPointParameterf(GLenum pname, GLfloat param); |
162 | void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); |
163 | void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); |
164 | void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
165 | |
166 | // OpenGL 1.5 core functions |
167 | void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params); |
168 | void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params); |
169 | GLboolean glUnmapBuffer(GLenum target); |
170 | GLvoid* glMapBuffer(GLenum target, GLenum access); |
171 | void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); |
172 | void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); |
173 | void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); |
174 | GLboolean glIsBuffer(GLuint buffer); |
175 | void glGenBuffers(GLsizei n, GLuint *buffers); |
176 | void glDeleteBuffers(GLsizei n, const GLuint *buffers); |
177 | void glBindBuffer(GLenum target, GLuint buffer); |
178 | void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); |
179 | void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params); |
180 | void glGetQueryiv(GLenum target, GLenum pname, GLint *params); |
181 | void glEndQuery(GLenum target); |
182 | void glBeginQuery(GLenum target, GLuint id); |
183 | GLboolean glIsQuery(GLuint id); |
184 | void glDeleteQueries(GLsizei n, const GLuint *ids); |
185 | void glGenQueries(GLsizei n, GLuint *ids); |
186 | |
187 | // OpenGL 2.0 core functions |
188 | void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); |
189 | void glValidateProgram(GLuint program); |
190 | void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
191 | void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
192 | void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
193 | void glUniform4iv(GLint location, GLsizei count, const GLint *value); |
194 | void glUniform3iv(GLint location, GLsizei count, const GLint *value); |
195 | void glUniform2iv(GLint location, GLsizei count, const GLint *value); |
196 | void glUniform1iv(GLint location, GLsizei count, const GLint *value); |
197 | void glUniform4fv(GLint location, GLsizei count, const GLfloat *value); |
198 | void glUniform3fv(GLint location, GLsizei count, const GLfloat *value); |
199 | void glUniform2fv(GLint location, GLsizei count, const GLfloat *value); |
200 | void glUniform1fv(GLint location, GLsizei count, const GLfloat *value); |
201 | void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
202 | void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); |
203 | void glUniform2i(GLint location, GLint v0, GLint v1); |
204 | void glUniform1i(GLint location, GLint v0); |
205 | void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
206 | void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
207 | void glUniform2f(GLint location, GLfloat v0, GLfloat v1); |
208 | void glUniform1f(GLint location, GLfloat v0); |
209 | void glUseProgram(GLuint program); |
210 | void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
211 | void glLinkProgram(GLuint program); |
212 | GLboolean glIsShader(GLuint shader); |
213 | GLboolean glIsProgram(GLuint program); |
214 | void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer); |
215 | void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params); |
216 | void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); |
217 | void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); |
218 | void glGetUniformiv(GLuint program, GLint location, GLint *params); |
219 | void glGetUniformfv(GLuint program, GLint location, GLfloat *params); |
220 | GLint glGetUniformLocation(GLuint program, const GLchar *name); |
221 | void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); |
222 | void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
223 | void glGetShaderiv(GLuint shader, GLenum pname, GLint *params); |
224 | void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
225 | void glGetProgramiv(GLuint program, GLenum pname, GLint *params); |
226 | GLint glGetAttribLocation(GLuint program, const GLchar *name); |
227 | void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); |
228 | void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
229 | void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
230 | void glEnableVertexAttribArray(GLuint index); |
231 | void glDisableVertexAttribArray(GLuint index); |
232 | void glDetachShader(GLuint program, GLuint shader); |
233 | void glDeleteShader(GLuint shader); |
234 | void glDeleteProgram(GLuint program); |
235 | GLuint glCreateShader(GLenum type); |
236 | GLuint glCreateProgram(); |
237 | void glCompileShader(GLuint shader); |
238 | void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name); |
239 | void glAttachShader(GLuint program, GLuint shader); |
240 | void glStencilMaskSeparate(GLenum face, GLuint mask); |
241 | void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
242 | void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); |
243 | void glDrawBuffers(GLsizei n, const GLenum *bufs); |
244 | void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
245 | |
246 | // OpenGL 2.1 core functions |
247 | void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
248 | void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
249 | void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
250 | void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
251 | void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
252 | void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
253 | |
254 | // OpenGL 3.0 core functions |
255 | GLboolean glIsVertexArray(GLuint array); |
256 | void glGenVertexArrays(GLsizei n, GLuint *arrays); |
257 | void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); |
258 | void glBindVertexArray(GLuint array); |
259 | void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); |
260 | GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); |
261 | void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); |
262 | void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
263 | void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); |
264 | void glGenerateMipmap(GLenum target); |
265 | void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); |
266 | void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
267 | void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
268 | void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
269 | void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
270 | GLenum glCheckFramebufferStatus(GLenum target); |
271 | void glGenFramebuffers(GLsizei n, GLuint *framebuffers); |
272 | void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers); |
273 | void glBindFramebuffer(GLenum target, GLuint framebuffer); |
274 | GLboolean glIsFramebuffer(GLuint framebuffer); |
275 | void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params); |
276 | void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
277 | void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); |
278 | void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); |
279 | void glBindRenderbuffer(GLenum target, GLuint renderbuffer); |
280 | GLboolean glIsRenderbuffer(GLuint renderbuffer); |
281 | const GLubyte * glGetStringi(GLenum name, GLuint index); |
282 | void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); |
283 | void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); |
284 | void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); |
285 | void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); |
286 | void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); |
287 | void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params); |
288 | void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params); |
289 | void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params); |
290 | void glUniform4uiv(GLint location, GLsizei count, const GLuint *value); |
291 | void glUniform3uiv(GLint location, GLsizei count, const GLuint *value); |
292 | void glUniform2uiv(GLint location, GLsizei count, const GLuint *value); |
293 | void glUniform1uiv(GLint location, GLsizei count, const GLuint *value); |
294 | void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
295 | void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); |
296 | void glUniform2ui(GLint location, GLuint v0, GLuint v1); |
297 | void glUniform1ui(GLint location, GLuint v0); |
298 | GLint glGetFragDataLocation(GLuint program, const GLchar *name); |
299 | void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name); |
300 | void glGetUniformuiv(GLuint program, GLint location, GLuint *params); |
301 | void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); |
302 | void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); |
303 | void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
304 | void glEndConditionalRender(); |
305 | void glBeginConditionalRender(GLuint id, GLenum mode); |
306 | void glClampColor(GLenum target, GLenum clamp); |
307 | void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
308 | void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
309 | void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); |
310 | void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
311 | void glEndTransformFeedback(); |
312 | void glBeginTransformFeedback(GLenum primitiveMode); |
313 | GLboolean glIsEnabledi(GLenum target, GLuint index); |
314 | void glDisablei(GLenum target, GLuint index); |
315 | void glEnablei(GLenum target, GLuint index); |
316 | void glGetIntegeri_v(GLenum target, GLuint index, GLint *data); |
317 | void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data); |
318 | void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); |
319 | |
320 | // OpenGL 3.1 core functions |
321 | void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); |
322 | void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); |
323 | void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
324 | void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); |
325 | GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName); |
326 | void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
327 | void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
328 | void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
329 | void glPrimitiveRestartIndex(GLuint index); |
330 | void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer); |
331 | void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount); |
332 | void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); |
333 | |
334 | // OpenGL 3.2 core functions |
335 | void glSampleMaski(GLuint index, GLbitfield mask); |
336 | void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); |
337 | void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); |
338 | void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); |
339 | void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); |
340 | void glGetInteger64v(GLenum pname, GLint64 *params); |
341 | void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
342 | GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
343 | void glDeleteSync(GLsync sync); |
344 | GLboolean glIsSync(GLsync sync); |
345 | GLsync glFenceSync(GLenum condition, GLbitfield flags); |
346 | void glProvokingVertex(GLenum mode); |
347 | void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex); |
348 | void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex); |
349 | void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
350 | void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
351 | void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level); |
352 | void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); |
353 | void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data); |
354 | |
355 | // OpenGL 3.3 core functions |
356 | void glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
357 | void glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
358 | void glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
359 | void glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
360 | void glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
361 | void glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
362 | void glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value); |
363 | void glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value); |
364 | void glSecondaryColorP3uiv(GLenum type, const GLuint *color); |
365 | void glSecondaryColorP3ui(GLenum type, GLuint color); |
366 | void glColorP4uiv(GLenum type, const GLuint *color); |
367 | void glColorP4ui(GLenum type, GLuint color); |
368 | void glColorP3uiv(GLenum type, const GLuint *color); |
369 | void glColorP3ui(GLenum type, GLuint color); |
370 | void glNormalP3uiv(GLenum type, const GLuint *coords); |
371 | void glNormalP3ui(GLenum type, GLuint coords); |
372 | void glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords); |
373 | void glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords); |
374 | void glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords); |
375 | void glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords); |
376 | void glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords); |
377 | void glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords); |
378 | void glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords); |
379 | void glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords); |
380 | void glTexCoordP4uiv(GLenum type, const GLuint *coords); |
381 | void glTexCoordP4ui(GLenum type, GLuint coords); |
382 | void glTexCoordP3uiv(GLenum type, const GLuint *coords); |
383 | void glTexCoordP3ui(GLenum type, GLuint coords); |
384 | void glTexCoordP2uiv(GLenum type, const GLuint *coords); |
385 | void glTexCoordP2ui(GLenum type, GLuint coords); |
386 | void glTexCoordP1uiv(GLenum type, const GLuint *coords); |
387 | void glTexCoordP1ui(GLenum type, GLuint coords); |
388 | void glVertexP4uiv(GLenum type, const GLuint *value); |
389 | void glVertexP4ui(GLenum type, GLuint value); |
390 | void glVertexP3uiv(GLenum type, const GLuint *value); |
391 | void glVertexP3ui(GLenum type, GLuint value); |
392 | void glVertexP2uiv(GLenum type, const GLuint *value); |
393 | void glVertexP2ui(GLenum type, GLuint value); |
394 | void glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params); |
395 | void glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params); |
396 | void glQueryCounter(GLuint id, GLenum target); |
397 | void glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params); |
398 | void glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params); |
399 | void glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params); |
400 | void glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params); |
401 | void glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param); |
402 | void glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param); |
403 | void glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param); |
404 | void glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param); |
405 | void glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param); |
406 | void glSamplerParameteri(GLuint sampler, GLenum pname, GLint param); |
407 | void glBindSampler(GLuint unit, GLuint sampler); |
408 | GLboolean glIsSampler(GLuint sampler); |
409 | void glDeleteSamplers(GLsizei count, const GLuint *samplers); |
410 | void glGenSamplers(GLsizei count, GLuint *samplers); |
411 | GLint glGetFragDataIndex(GLuint program, const GLchar *name); |
412 | void glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name); |
413 | void glVertexAttribDivisor(GLuint index, GLuint divisor); |
414 | |
415 | // OpenGL 4.0 core functions |
416 | void glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params); |
417 | void glEndQueryIndexed(GLenum target, GLuint index); |
418 | void glBeginQueryIndexed(GLenum target, GLuint index, GLuint id); |
419 | void glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream); |
420 | void glDrawTransformFeedback(GLenum mode, GLuint id); |
421 | void glResumeTransformFeedback(); |
422 | void glPauseTransformFeedback(); |
423 | GLboolean glIsTransformFeedback(GLuint id); |
424 | void glGenTransformFeedbacks(GLsizei n, GLuint *ids); |
425 | void glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids); |
426 | void glBindTransformFeedback(GLenum target, GLuint id); |
427 | void glPatchParameterfv(GLenum pname, const GLfloat *values); |
428 | void glPatchParameteri(GLenum pname, GLint value); |
429 | void glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values); |
430 | void glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params); |
431 | void glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices); |
432 | void glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); |
433 | void glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name); |
434 | void glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values); |
435 | GLuint glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name); |
436 | GLint glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name); |
437 | void glGetUniformdv(GLuint program, GLint location, GLdouble *params); |
438 | void glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
439 | void glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
440 | void glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
441 | void glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
442 | void glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
443 | void glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
444 | void glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
445 | void glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
446 | void glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
447 | void glUniform4dv(GLint location, GLsizei count, const GLdouble *value); |
448 | void glUniform3dv(GLint location, GLsizei count, const GLdouble *value); |
449 | void glUniform2dv(GLint location, GLsizei count, const GLdouble *value); |
450 | void glUniform1dv(GLint location, GLsizei count, const GLdouble *value); |
451 | void glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
452 | void glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z); |
453 | void glUniform2d(GLint location, GLdouble x, GLdouble y); |
454 | void glUniform1d(GLint location, GLdouble x); |
455 | void glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect); |
456 | void glDrawArraysIndirect(GLenum mode, const GLvoid *indirect); |
457 | void glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha); |
458 | void glBlendFunci(GLuint buf, GLenum src, GLenum dst); |
459 | void glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha); |
460 | void glBlendEquationi(GLuint buf, GLenum mode); |
461 | void glMinSampleShading(GLfloat value); |
462 | |
463 | // OpenGL 4.1 core functions |
464 | void glGetDoublei_v(GLenum target, GLuint index, GLdouble *data); |
465 | void glGetFloati_v(GLenum target, GLuint index, GLfloat *data); |
466 | void glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f); |
467 | void glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v); |
468 | void glScissorIndexedv(GLuint index, const GLint *v); |
469 | void glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height); |
470 | void glScissorArrayv(GLuint first, GLsizei count, const GLint *v); |
471 | void glViewportIndexedfv(GLuint index, const GLfloat *v); |
472 | void glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h); |
473 | void glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v); |
474 | void glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params); |
475 | void glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
476 | void glVertexAttribL4dv(GLuint index, const GLdouble *v); |
477 | void glVertexAttribL3dv(GLuint index, const GLdouble *v); |
478 | void glVertexAttribL2dv(GLuint index, const GLdouble *v); |
479 | void glVertexAttribL1dv(GLuint index, const GLdouble *v); |
480 | void glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
481 | void glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); |
482 | void glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y); |
483 | void glVertexAttribL1d(GLuint index, GLdouble x); |
484 | void glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
485 | void glValidateProgramPipeline(GLuint pipeline); |
486 | void glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
487 | void glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
488 | void glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
489 | void glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
490 | void glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
491 | void glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
492 | void glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
493 | void glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
494 | void glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
495 | void glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
496 | void glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
497 | void glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
498 | void glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
499 | void glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
500 | void glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value); |
501 | void glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
502 | void glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
503 | void glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
504 | void glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
505 | void glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
506 | void glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
507 | void glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3); |
508 | void glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
509 | void glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
510 | void glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
511 | void glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
512 | void glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
513 | void glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2); |
514 | void glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
515 | void glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2); |
516 | void glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
517 | void glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
518 | void glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
519 | void glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2); |
520 | void glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
521 | void glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1); |
522 | void glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
523 | void glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1); |
524 | void glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
525 | void glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1); |
526 | void glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
527 | void glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1); |
528 | void glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value); |
529 | void glProgramUniform1ui(GLuint program, GLint location, GLuint v0); |
530 | void glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value); |
531 | void glProgramUniform1d(GLuint program, GLint location, GLdouble v0); |
532 | void glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value); |
533 | void glProgramUniform1f(GLuint program, GLint location, GLfloat v0); |
534 | void glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value); |
535 | void glProgramUniform1i(GLuint program, GLint location, GLint v0); |
536 | void glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params); |
537 | GLboolean glIsProgramPipeline(GLuint pipeline); |
538 | void glGenProgramPipelines(GLsizei n, GLuint *pipelines); |
539 | void glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines); |
540 | void glBindProgramPipeline(GLuint pipeline); |
541 | GLuint glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings); |
542 | void glActiveShaderProgram(GLuint pipeline, GLuint program); |
543 | void glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program); |
544 | void glProgramParameteri(GLuint program, GLenum pname, GLint value); |
545 | void glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length); |
546 | void glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary); |
547 | void glClearDepthf(GLfloat dd); |
548 | void glDepthRangef(GLfloat n, GLfloat f); |
549 | void glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision); |
550 | void glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length); |
551 | void glReleaseShaderCompiler(); |
552 | |
553 | private: |
554 | friend class QOpenGLContext; |
555 | |
556 | static bool isContextCompatible(QOpenGLContext *context); |
557 | static QOpenGLVersionProfile versionProfile(); |
558 | |
559 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
560 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
561 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
562 | QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core; |
563 | QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core; |
564 | QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core; |
565 | QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core; |
566 | QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core; |
567 | QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core; |
568 | QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core; |
569 | QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core; |
570 | QOpenGLFunctions_3_3_CoreBackend* d_3_3_Core; |
571 | QOpenGLFunctions_4_0_CoreBackend* d_4_0_Core; |
572 | QOpenGLFunctions_4_1_CoreBackend* d_4_1_Core; |
573 | }; |
574 | |
575 | // OpenGL 1.0 core functions |
576 | inline void QOpenGLFunctions_4_1_Core::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
577 | { |
578 | d_1_0_Core->f.Viewport(x, y, width, height); |
579 | } |
580 | |
581 | inline void QOpenGLFunctions_4_1_Core::glDepthRange(GLdouble nearVal, GLdouble farVal) |
582 | { |
583 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
584 | } |
585 | |
586 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsEnabled(GLenum cap) |
587 | { |
588 | return d_1_0_Core->f.IsEnabled(cap); |
589 | } |
590 | |
591 | inline void QOpenGLFunctions_4_1_Core::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
592 | { |
593 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
594 | } |
595 | |
596 | inline void QOpenGLFunctions_4_1_Core::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
597 | { |
598 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
599 | } |
600 | |
601 | inline void QOpenGLFunctions_4_1_Core::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
602 | { |
603 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
604 | } |
605 | |
606 | inline void QOpenGLFunctions_4_1_Core::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
607 | { |
608 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
609 | } |
610 | |
611 | inline void QOpenGLFunctions_4_1_Core::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
612 | { |
613 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
614 | } |
615 | |
616 | inline const GLubyte * QOpenGLFunctions_4_1_Core::glGetString(GLenum name) |
617 | { |
618 | return d_1_0_Core->f.GetString(name); |
619 | } |
620 | |
621 | inline void QOpenGLFunctions_4_1_Core::glGetIntegerv(GLenum pname, GLint *params) |
622 | { |
623 | d_1_0_Core->f.GetIntegerv(pname, params); |
624 | } |
625 | |
626 | inline void QOpenGLFunctions_4_1_Core::glGetFloatv(GLenum pname, GLfloat *params) |
627 | { |
628 | d_1_0_Core->f.GetFloatv(pname, params); |
629 | } |
630 | |
631 | inline GLenum QOpenGLFunctions_4_1_Core::glGetError() |
632 | { |
633 | return d_1_0_Core->f.GetError(); |
634 | } |
635 | |
636 | inline void QOpenGLFunctions_4_1_Core::glGetDoublev(GLenum pname, GLdouble *params) |
637 | { |
638 | d_1_0_Core->f.GetDoublev(pname, params); |
639 | } |
640 | |
641 | inline void QOpenGLFunctions_4_1_Core::glGetBooleanv(GLenum pname, GLboolean *params) |
642 | { |
643 | d_1_0_Core->f.GetBooleanv(pname, params); |
644 | } |
645 | |
646 | inline void QOpenGLFunctions_4_1_Core::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
647 | { |
648 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
649 | } |
650 | |
651 | inline void QOpenGLFunctions_4_1_Core::glReadBuffer(GLenum mode) |
652 | { |
653 | d_1_0_Core->f.ReadBuffer(mode); |
654 | } |
655 | |
656 | inline void QOpenGLFunctions_4_1_Core::glPixelStorei(GLenum pname, GLint param) |
657 | { |
658 | d_1_0_Core->f.PixelStorei(pname, param); |
659 | } |
660 | |
661 | inline void QOpenGLFunctions_4_1_Core::glPixelStoref(GLenum pname, GLfloat param) |
662 | { |
663 | d_1_0_Core->f.PixelStoref(pname, param); |
664 | } |
665 | |
666 | inline void QOpenGLFunctions_4_1_Core::glDepthFunc(GLenum func) |
667 | { |
668 | d_1_0_Core->f.DepthFunc(func); |
669 | } |
670 | |
671 | inline void QOpenGLFunctions_4_1_Core::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
672 | { |
673 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
674 | } |
675 | |
676 | inline void QOpenGLFunctions_4_1_Core::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
677 | { |
678 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
679 | } |
680 | |
681 | inline void QOpenGLFunctions_4_1_Core::glLogicOp(GLenum opcode) |
682 | { |
683 | d_1_0_Core->f.LogicOp(opcode); |
684 | } |
685 | |
686 | inline void QOpenGLFunctions_4_1_Core::glBlendFunc(GLenum sfactor, GLenum dfactor) |
687 | { |
688 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
689 | } |
690 | |
691 | inline void QOpenGLFunctions_4_1_Core::glFlush() |
692 | { |
693 | d_1_0_Core->f.Flush(); |
694 | } |
695 | |
696 | inline void QOpenGLFunctions_4_1_Core::glFinish() |
697 | { |
698 | d_1_0_Core->f.Finish(); |
699 | } |
700 | |
701 | inline void QOpenGLFunctions_4_1_Core::glEnable(GLenum cap) |
702 | { |
703 | d_1_0_Core->f.Enable(cap); |
704 | } |
705 | |
706 | inline void QOpenGLFunctions_4_1_Core::glDisable(GLenum cap) |
707 | { |
708 | d_1_0_Core->f.Disable(cap); |
709 | } |
710 | |
711 | inline void QOpenGLFunctions_4_1_Core::glDepthMask(GLboolean flag) |
712 | { |
713 | d_1_0_Core->f.DepthMask(flag); |
714 | } |
715 | |
716 | inline void QOpenGLFunctions_4_1_Core::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
717 | { |
718 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
719 | } |
720 | |
721 | inline void QOpenGLFunctions_4_1_Core::glStencilMask(GLuint mask) |
722 | { |
723 | d_1_0_Core->f.StencilMask(mask); |
724 | } |
725 | |
726 | inline void QOpenGLFunctions_4_1_Core::glClearDepth(GLdouble depth) |
727 | { |
728 | d_1_0_Core->f.ClearDepth(depth); |
729 | } |
730 | |
731 | inline void QOpenGLFunctions_4_1_Core::glClearStencil(GLint s) |
732 | { |
733 | d_1_0_Core->f.ClearStencil(s); |
734 | } |
735 | |
736 | inline void QOpenGLFunctions_4_1_Core::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
737 | { |
738 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
739 | } |
740 | |
741 | inline void QOpenGLFunctions_4_1_Core::glClear(GLbitfield mask) |
742 | { |
743 | d_1_0_Core->f.Clear(mask); |
744 | } |
745 | |
746 | inline void QOpenGLFunctions_4_1_Core::glDrawBuffer(GLenum mode) |
747 | { |
748 | d_1_0_Core->f.DrawBuffer(mode); |
749 | } |
750 | |
751 | inline void QOpenGLFunctions_4_1_Core::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
752 | { |
753 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
754 | } |
755 | |
756 | inline void QOpenGLFunctions_4_1_Core::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
757 | { |
758 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
759 | } |
760 | |
761 | inline void QOpenGLFunctions_4_1_Core::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
762 | { |
763 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
764 | } |
765 | |
766 | inline void QOpenGLFunctions_4_1_Core::glTexParameteri(GLenum target, GLenum pname, GLint param) |
767 | { |
768 | d_1_0_Core->f.TexParameteri(target, pname, param); |
769 | } |
770 | |
771 | inline void QOpenGLFunctions_4_1_Core::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
772 | { |
773 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
774 | } |
775 | |
776 | inline void QOpenGLFunctions_4_1_Core::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
777 | { |
778 | d_1_0_Core->f.TexParameterf(target, pname, param); |
779 | } |
780 | |
781 | inline void QOpenGLFunctions_4_1_Core::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
782 | { |
783 | d_1_0_Core->f.Scissor(x, y, width, height); |
784 | } |
785 | |
786 | inline void QOpenGLFunctions_4_1_Core::glPolygonMode(GLenum face, GLenum mode) |
787 | { |
788 | d_1_0_Core->f.PolygonMode(face, mode); |
789 | } |
790 | |
791 | inline void QOpenGLFunctions_4_1_Core::glPointSize(GLfloat size) |
792 | { |
793 | d_1_0_Core->f.PointSize(size); |
794 | } |
795 | |
796 | inline void QOpenGLFunctions_4_1_Core::glLineWidth(GLfloat width) |
797 | { |
798 | d_1_0_Core->f.LineWidth(width); |
799 | } |
800 | |
801 | inline void QOpenGLFunctions_4_1_Core::glHint(GLenum target, GLenum mode) |
802 | { |
803 | d_1_0_Core->f.Hint(target, mode); |
804 | } |
805 | |
806 | inline void QOpenGLFunctions_4_1_Core::glFrontFace(GLenum mode) |
807 | { |
808 | d_1_0_Core->f.FrontFace(mode); |
809 | } |
810 | |
811 | inline void QOpenGLFunctions_4_1_Core::glCullFace(GLenum mode) |
812 | { |
813 | d_1_0_Core->f.CullFace(mode); |
814 | } |
815 | |
816 | |
817 | // OpenGL 1.1 core functions |
818 | inline void QOpenGLFunctions_4_1_Core::glIndexubv(const GLubyte *c) |
819 | { |
820 | Q_UNUSED(c); |
821 | QOPENGL_DEPRECATEDFUNCTION; |
822 | } |
823 | |
824 | inline void QOpenGLFunctions_4_1_Core::glIndexub(GLubyte c) |
825 | { |
826 | Q_UNUSED(c); |
827 | QOPENGL_DEPRECATEDFUNCTION; |
828 | } |
829 | |
830 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsTexture(GLuint texture) |
831 | { |
832 | return d_1_1_Core->f.IsTexture(texture); |
833 | } |
834 | |
835 | inline void QOpenGLFunctions_4_1_Core::glGenTextures(GLsizei n, GLuint *textures) |
836 | { |
837 | d_1_1_Core->f.GenTextures(n, textures); |
838 | } |
839 | |
840 | inline void QOpenGLFunctions_4_1_Core::glDeleteTextures(GLsizei n, const GLuint *textures) |
841 | { |
842 | d_1_1_Core->f.DeleteTextures(n, textures); |
843 | } |
844 | |
845 | inline void QOpenGLFunctions_4_1_Core::glBindTexture(GLenum target, GLuint texture) |
846 | { |
847 | d_1_1_Core->f.BindTexture(target, texture); |
848 | } |
849 | |
850 | inline void QOpenGLFunctions_4_1_Core::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
851 | { |
852 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
853 | } |
854 | |
855 | inline void QOpenGLFunctions_4_1_Core::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
856 | { |
857 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
858 | } |
859 | |
860 | inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
861 | { |
862 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
863 | } |
864 | |
865 | inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
866 | { |
867 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
868 | } |
869 | |
870 | inline void QOpenGLFunctions_4_1_Core::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
871 | { |
872 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
873 | } |
874 | |
875 | inline void QOpenGLFunctions_4_1_Core::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
876 | { |
877 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
878 | } |
879 | |
880 | inline void QOpenGLFunctions_4_1_Core::glPolygonOffset(GLfloat factor, GLfloat units) |
881 | { |
882 | d_1_1_Core->f.PolygonOffset(factor, units); |
883 | } |
884 | |
885 | inline void QOpenGLFunctions_4_1_Core::glGetPointerv(GLenum pname, GLvoid* *params) |
886 | { |
887 | Q_UNUSED(pname); |
888 | Q_UNUSED(params); |
889 | QOPENGL_DEPRECATEDFUNCTION; |
890 | } |
891 | |
892 | inline void QOpenGLFunctions_4_1_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
893 | { |
894 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
895 | } |
896 | |
897 | inline void QOpenGLFunctions_4_1_Core::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
898 | { |
899 | d_1_1_Core->f.DrawArrays(mode, first, count); |
900 | } |
901 | |
902 | |
903 | // OpenGL 1.2 core functions |
904 | inline void QOpenGLFunctions_4_1_Core::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
905 | { |
906 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
907 | } |
908 | |
909 | inline void QOpenGLFunctions_4_1_Core::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
910 | { |
911 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
912 | } |
913 | |
914 | inline void QOpenGLFunctions_4_1_Core::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
915 | { |
916 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
917 | } |
918 | |
919 | inline void QOpenGLFunctions_4_1_Core::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
920 | { |
921 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
922 | } |
923 | |
924 | inline void QOpenGLFunctions_4_1_Core::glBlendEquation(GLenum mode) |
925 | { |
926 | d_1_2_Core->f.BlendEquation(mode); |
927 | } |
928 | |
929 | inline void QOpenGLFunctions_4_1_Core::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
930 | { |
931 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
932 | } |
933 | |
934 | |
935 | // OpenGL 1.3 core functions |
936 | inline void QOpenGLFunctions_4_1_Core::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img) |
937 | { |
938 | d_1_3_Core->f.GetCompressedTexImage(target, level, img); |
939 | } |
940 | |
941 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
942 | { |
943 | d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); |
944 | } |
945 | |
946 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
947 | { |
948 | d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
949 | } |
950 | |
951 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
952 | { |
953 | d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
954 | } |
955 | |
956 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
957 | { |
958 | d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); |
959 | } |
960 | |
961 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
962 | { |
963 | d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); |
964 | } |
965 | |
966 | inline void QOpenGLFunctions_4_1_Core::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
967 | { |
968 | d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); |
969 | } |
970 | |
971 | inline void QOpenGLFunctions_4_1_Core::glSampleCoverage(GLfloat value, GLboolean invert) |
972 | { |
973 | d_1_3_Core->f.SampleCoverage(value, invert); |
974 | } |
975 | |
976 | inline void QOpenGLFunctions_4_1_Core::glActiveTexture(GLenum texture) |
977 | { |
978 | d_1_3_Core->f.ActiveTexture(texture); |
979 | } |
980 | |
981 | |
982 | // OpenGL 1.4 core functions |
983 | inline void QOpenGLFunctions_4_1_Core::glPointParameteriv(GLenum pname, const GLint *params) |
984 | { |
985 | d_1_4_Core->f.PointParameteriv(pname, params); |
986 | } |
987 | |
988 | inline void QOpenGLFunctions_4_1_Core::glPointParameteri(GLenum pname, GLint param) |
989 | { |
990 | d_1_4_Core->f.PointParameteri(pname, param); |
991 | } |
992 | |
993 | inline void QOpenGLFunctions_4_1_Core::glPointParameterfv(GLenum pname, const GLfloat *params) |
994 | { |
995 | d_1_4_Core->f.PointParameterfv(pname, params); |
996 | } |
997 | |
998 | inline void QOpenGLFunctions_4_1_Core::glPointParameterf(GLenum pname, GLfloat param) |
999 | { |
1000 | d_1_4_Core->f.PointParameterf(pname, param); |
1001 | } |
1002 | |
1003 | inline void QOpenGLFunctions_4_1_Core::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) |
1004 | { |
1005 | d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount); |
1006 | } |
1007 | |
1008 | inline void QOpenGLFunctions_4_1_Core::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) |
1009 | { |
1010 | d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount); |
1011 | } |
1012 | |
1013 | inline void QOpenGLFunctions_4_1_Core::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
1014 | { |
1015 | d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
1016 | } |
1017 | |
1018 | |
1019 | // OpenGL 1.5 core functions |
1020 | inline void QOpenGLFunctions_4_1_Core::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params) |
1021 | { |
1022 | d_1_5_Core->f.GetBufferPointerv(target, pname, params); |
1023 | } |
1024 | |
1025 | inline void QOpenGLFunctions_4_1_Core::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1026 | { |
1027 | d_1_5_Core->f.GetBufferParameteriv(target, pname, params); |
1028 | } |
1029 | |
1030 | inline GLboolean QOpenGLFunctions_4_1_Core::glUnmapBuffer(GLenum target) |
1031 | { |
1032 | return d_1_5_Core->f.UnmapBuffer(target); |
1033 | } |
1034 | |
1035 | inline GLvoid* QOpenGLFunctions_4_1_Core::glMapBuffer(GLenum target, GLenum access) |
1036 | { |
1037 | return d_1_5_Core->f.MapBuffer(target, access); |
1038 | } |
1039 | |
1040 | inline void QOpenGLFunctions_4_1_Core::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
1041 | { |
1042 | d_1_5_Core->f.GetBufferSubData(target, offset, size, data); |
1043 | } |
1044 | |
1045 | inline void QOpenGLFunctions_4_1_Core::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
1046 | { |
1047 | d_1_5_Core->f.BufferSubData(target, offset, size, data); |
1048 | } |
1049 | |
1050 | inline void QOpenGLFunctions_4_1_Core::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
1051 | { |
1052 | d_1_5_Core->f.BufferData(target, size, data, usage); |
1053 | } |
1054 | |
1055 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsBuffer(GLuint buffer) |
1056 | { |
1057 | return d_1_5_Core->f.IsBuffer(buffer); |
1058 | } |
1059 | |
1060 | inline void QOpenGLFunctions_4_1_Core::glGenBuffers(GLsizei n, GLuint *buffers) |
1061 | { |
1062 | d_1_5_Core->f.GenBuffers(n, buffers); |
1063 | } |
1064 | |
1065 | inline void QOpenGLFunctions_4_1_Core::glDeleteBuffers(GLsizei n, const GLuint *buffers) |
1066 | { |
1067 | d_1_5_Core->f.DeleteBuffers(n, buffers); |
1068 | } |
1069 | |
1070 | inline void QOpenGLFunctions_4_1_Core::glBindBuffer(GLenum target, GLuint buffer) |
1071 | { |
1072 | d_1_5_Core->f.BindBuffer(target, buffer); |
1073 | } |
1074 | |
1075 | inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
1076 | { |
1077 | d_1_5_Core->f.GetQueryObjectuiv(id, pname, params); |
1078 | } |
1079 | |
1080 | inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
1081 | { |
1082 | d_1_5_Core->f.GetQueryObjectiv(id, pname, params); |
1083 | } |
1084 | |
1085 | inline void QOpenGLFunctions_4_1_Core::glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
1086 | { |
1087 | d_1_5_Core->f.GetQueryiv(target, pname, params); |
1088 | } |
1089 | |
1090 | inline void QOpenGLFunctions_4_1_Core::glEndQuery(GLenum target) |
1091 | { |
1092 | d_1_5_Core->f.EndQuery(target); |
1093 | } |
1094 | |
1095 | inline void QOpenGLFunctions_4_1_Core::glBeginQuery(GLenum target, GLuint id) |
1096 | { |
1097 | d_1_5_Core->f.BeginQuery(target, id); |
1098 | } |
1099 | |
1100 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsQuery(GLuint id) |
1101 | { |
1102 | return d_1_5_Core->f.IsQuery(id); |
1103 | } |
1104 | |
1105 | inline void QOpenGLFunctions_4_1_Core::glDeleteQueries(GLsizei n, const GLuint *ids) |
1106 | { |
1107 | d_1_5_Core->f.DeleteQueries(n, ids); |
1108 | } |
1109 | |
1110 | inline void QOpenGLFunctions_4_1_Core::glGenQueries(GLsizei n, GLuint *ids) |
1111 | { |
1112 | d_1_5_Core->f.GenQueries(n, ids); |
1113 | } |
1114 | |
1115 | |
1116 | // OpenGL 2.0 core functions |
1117 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
1118 | { |
1119 | d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer); |
1120 | } |
1121 | |
1122 | inline void QOpenGLFunctions_4_1_Core::glValidateProgram(GLuint program) |
1123 | { |
1124 | d_2_0_Core->f.ValidateProgram(program); |
1125 | } |
1126 | |
1127 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1128 | { |
1129 | d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value); |
1130 | } |
1131 | |
1132 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1133 | { |
1134 | d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value); |
1135 | } |
1136 | |
1137 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1138 | { |
1139 | d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value); |
1140 | } |
1141 | |
1142 | inline void QOpenGLFunctions_4_1_Core::glUniform4iv(GLint location, GLsizei count, const GLint *value) |
1143 | { |
1144 | d_2_0_Core->f.Uniform4iv(location, count, value); |
1145 | } |
1146 | |
1147 | inline void QOpenGLFunctions_4_1_Core::glUniform3iv(GLint location, GLsizei count, const GLint *value) |
1148 | { |
1149 | d_2_0_Core->f.Uniform3iv(location, count, value); |
1150 | } |
1151 | |
1152 | inline void QOpenGLFunctions_4_1_Core::glUniform2iv(GLint location, GLsizei count, const GLint *value) |
1153 | { |
1154 | d_2_0_Core->f.Uniform2iv(location, count, value); |
1155 | } |
1156 | |
1157 | inline void QOpenGLFunctions_4_1_Core::glUniform1iv(GLint location, GLsizei count, const GLint *value) |
1158 | { |
1159 | d_2_0_Core->f.Uniform1iv(location, count, value); |
1160 | } |
1161 | |
1162 | inline void QOpenGLFunctions_4_1_Core::glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
1163 | { |
1164 | d_2_0_Core->f.Uniform4fv(location, count, value); |
1165 | } |
1166 | |
1167 | inline void QOpenGLFunctions_4_1_Core::glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
1168 | { |
1169 | d_2_0_Core->f.Uniform3fv(location, count, value); |
1170 | } |
1171 | |
1172 | inline void QOpenGLFunctions_4_1_Core::glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
1173 | { |
1174 | d_2_0_Core->f.Uniform2fv(location, count, value); |
1175 | } |
1176 | |
1177 | inline void QOpenGLFunctions_4_1_Core::glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
1178 | { |
1179 | d_2_0_Core->f.Uniform1fv(location, count, value); |
1180 | } |
1181 | |
1182 | inline void QOpenGLFunctions_4_1_Core::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
1183 | { |
1184 | d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3); |
1185 | } |
1186 | |
1187 | inline void QOpenGLFunctions_4_1_Core::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
1188 | { |
1189 | d_2_0_Core->f.Uniform3i(location, v0, v1, v2); |
1190 | } |
1191 | |
1192 | inline void QOpenGLFunctions_4_1_Core::glUniform2i(GLint location, GLint v0, GLint v1) |
1193 | { |
1194 | d_2_0_Core->f.Uniform2i(location, v0, v1); |
1195 | } |
1196 | |
1197 | inline void QOpenGLFunctions_4_1_Core::glUniform1i(GLint location, GLint v0) |
1198 | { |
1199 | d_2_0_Core->f.Uniform1i(location, v0); |
1200 | } |
1201 | |
1202 | inline void QOpenGLFunctions_4_1_Core::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
1203 | { |
1204 | d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3); |
1205 | } |
1206 | |
1207 | inline void QOpenGLFunctions_4_1_Core::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
1208 | { |
1209 | d_2_0_Core->f.Uniform3f(location, v0, v1, v2); |
1210 | } |
1211 | |
1212 | inline void QOpenGLFunctions_4_1_Core::glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
1213 | { |
1214 | d_2_0_Core->f.Uniform2f(location, v0, v1); |
1215 | } |
1216 | |
1217 | inline void QOpenGLFunctions_4_1_Core::glUniform1f(GLint location, GLfloat v0) |
1218 | { |
1219 | d_2_0_Core->f.Uniform1f(location, v0); |
1220 | } |
1221 | |
1222 | inline void QOpenGLFunctions_4_1_Core::glUseProgram(GLuint program) |
1223 | { |
1224 | d_2_0_Core->f.UseProgram(program); |
1225 | } |
1226 | |
1227 | inline void QOpenGLFunctions_4_1_Core::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) |
1228 | { |
1229 | d_2_0_Core->f.ShaderSource(shader, count, string, length); |
1230 | } |
1231 | |
1232 | inline void QOpenGLFunctions_4_1_Core::glLinkProgram(GLuint program) |
1233 | { |
1234 | d_2_0_Core->f.LinkProgram(program); |
1235 | } |
1236 | |
1237 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsShader(GLuint shader) |
1238 | { |
1239 | return d_2_0_Core->f.IsShader(shader); |
1240 | } |
1241 | |
1242 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsProgram(GLuint program) |
1243 | { |
1244 | return d_2_0_Core->f.IsProgram(program); |
1245 | } |
1246 | |
1247 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer) |
1248 | { |
1249 | d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer); |
1250 | } |
1251 | |
1252 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
1253 | { |
1254 | d_2_0_Core->f.GetVertexAttribiv(index, pname, params); |
1255 | } |
1256 | |
1257 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
1258 | { |
1259 | d_2_0_Core->f.GetVertexAttribfv(index, pname, params); |
1260 | } |
1261 | |
1262 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
1263 | { |
1264 | d_2_0_Core->f.GetVertexAttribdv(index, pname, params); |
1265 | } |
1266 | |
1267 | inline void QOpenGLFunctions_4_1_Core::glGetUniformiv(GLuint program, GLint location, GLint *params) |
1268 | { |
1269 | d_2_0_Core->f.GetUniformiv(program, location, params); |
1270 | } |
1271 | |
1272 | inline void QOpenGLFunctions_4_1_Core::glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
1273 | { |
1274 | d_2_0_Core->f.GetUniformfv(program, location, params); |
1275 | } |
1276 | |
1277 | inline GLint QOpenGLFunctions_4_1_Core::glGetUniformLocation(GLuint program, const GLchar *name) |
1278 | { |
1279 | return d_2_0_Core->f.GetUniformLocation(program, name); |
1280 | } |
1281 | |
1282 | inline void QOpenGLFunctions_4_1_Core::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
1283 | { |
1284 | d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source); |
1285 | } |
1286 | |
1287 | inline void QOpenGLFunctions_4_1_Core::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1288 | { |
1289 | d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog); |
1290 | } |
1291 | |
1292 | inline void QOpenGLFunctions_4_1_Core::glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
1293 | { |
1294 | d_2_0_Core->f.GetShaderiv(shader, pname, params); |
1295 | } |
1296 | |
1297 | inline void QOpenGLFunctions_4_1_Core::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1298 | { |
1299 | d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog); |
1300 | } |
1301 | |
1302 | inline void QOpenGLFunctions_4_1_Core::glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
1303 | { |
1304 | d_2_0_Core->f.GetProgramiv(program, pname, params); |
1305 | } |
1306 | |
1307 | inline GLint QOpenGLFunctions_4_1_Core::glGetAttribLocation(GLuint program, const GLchar *name) |
1308 | { |
1309 | return d_2_0_Core->f.GetAttribLocation(program, name); |
1310 | } |
1311 | |
1312 | inline void QOpenGLFunctions_4_1_Core::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
1313 | { |
1314 | d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj); |
1315 | } |
1316 | |
1317 | inline void QOpenGLFunctions_4_1_Core::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1318 | { |
1319 | d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name); |
1320 | } |
1321 | |
1322 | inline void QOpenGLFunctions_4_1_Core::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1323 | { |
1324 | d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name); |
1325 | } |
1326 | |
1327 | inline void QOpenGLFunctions_4_1_Core::glEnableVertexAttribArray(GLuint index) |
1328 | { |
1329 | d_2_0_Core->f.EnableVertexAttribArray(index); |
1330 | } |
1331 | |
1332 | inline void QOpenGLFunctions_4_1_Core::glDisableVertexAttribArray(GLuint index) |
1333 | { |
1334 | d_2_0_Core->f.DisableVertexAttribArray(index); |
1335 | } |
1336 | |
1337 | inline void QOpenGLFunctions_4_1_Core::glDetachShader(GLuint program, GLuint shader) |
1338 | { |
1339 | d_2_0_Core->f.DetachShader(program, shader); |
1340 | } |
1341 | |
1342 | inline void QOpenGLFunctions_4_1_Core::glDeleteShader(GLuint shader) |
1343 | { |
1344 | d_2_0_Core->f.DeleteShader(shader); |
1345 | } |
1346 | |
1347 | inline void QOpenGLFunctions_4_1_Core::glDeleteProgram(GLuint program) |
1348 | { |
1349 | d_2_0_Core->f.DeleteProgram(program); |
1350 | } |
1351 | |
1352 | inline GLuint QOpenGLFunctions_4_1_Core::glCreateShader(GLenum type) |
1353 | { |
1354 | return d_2_0_Core->f.CreateShader(type); |
1355 | } |
1356 | |
1357 | inline GLuint QOpenGLFunctions_4_1_Core::glCreateProgram() |
1358 | { |
1359 | return d_2_0_Core->f.CreateProgram(); |
1360 | } |
1361 | |
1362 | inline void QOpenGLFunctions_4_1_Core::glCompileShader(GLuint shader) |
1363 | { |
1364 | d_2_0_Core->f.CompileShader(shader); |
1365 | } |
1366 | |
1367 | inline void QOpenGLFunctions_4_1_Core::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
1368 | { |
1369 | d_2_0_Core->f.BindAttribLocation(program, index, name); |
1370 | } |
1371 | |
1372 | inline void QOpenGLFunctions_4_1_Core::glAttachShader(GLuint program, GLuint shader) |
1373 | { |
1374 | d_2_0_Core->f.AttachShader(program, shader); |
1375 | } |
1376 | |
1377 | inline void QOpenGLFunctions_4_1_Core::glStencilMaskSeparate(GLenum face, GLuint mask) |
1378 | { |
1379 | d_2_0_Core->f.StencilMaskSeparate(face, mask); |
1380 | } |
1381 | |
1382 | inline void QOpenGLFunctions_4_1_Core::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
1383 | { |
1384 | d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask); |
1385 | } |
1386 | |
1387 | inline void QOpenGLFunctions_4_1_Core::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
1388 | { |
1389 | d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass); |
1390 | } |
1391 | |
1392 | inline void QOpenGLFunctions_4_1_Core::glDrawBuffers(GLsizei n, const GLenum *bufs) |
1393 | { |
1394 | d_2_0_Core->f.DrawBuffers(n, bufs); |
1395 | } |
1396 | |
1397 | inline void QOpenGLFunctions_4_1_Core::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
1398 | { |
1399 | d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha); |
1400 | } |
1401 | |
1402 | |
1403 | // OpenGL 2.1 core functions |
1404 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1405 | { |
1406 | d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value); |
1407 | } |
1408 | |
1409 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1410 | { |
1411 | d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value); |
1412 | } |
1413 | |
1414 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1415 | { |
1416 | d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value); |
1417 | } |
1418 | |
1419 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1420 | { |
1421 | d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value); |
1422 | } |
1423 | |
1424 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1425 | { |
1426 | d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value); |
1427 | } |
1428 | |
1429 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1430 | { |
1431 | d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value); |
1432 | } |
1433 | |
1434 | |
1435 | // OpenGL 3.0 core functions |
1436 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsVertexArray(GLuint array) |
1437 | { |
1438 | return d_3_0_Core->f.IsVertexArray(array); |
1439 | } |
1440 | |
1441 | inline void QOpenGLFunctions_4_1_Core::glGenVertexArrays(GLsizei n, GLuint *arrays) |
1442 | { |
1443 | d_3_0_Core->f.GenVertexArrays(n, arrays); |
1444 | } |
1445 | |
1446 | inline void QOpenGLFunctions_4_1_Core::glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
1447 | { |
1448 | d_3_0_Core->f.DeleteVertexArrays(n, arrays); |
1449 | } |
1450 | |
1451 | inline void QOpenGLFunctions_4_1_Core::glBindVertexArray(GLuint array) |
1452 | { |
1453 | d_3_0_Core->f.BindVertexArray(array); |
1454 | } |
1455 | |
1456 | inline void QOpenGLFunctions_4_1_Core::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
1457 | { |
1458 | d_3_0_Core->f.FlushMappedBufferRange(target, offset, length); |
1459 | } |
1460 | |
1461 | inline GLvoid* QOpenGLFunctions_4_1_Core::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
1462 | { |
1463 | return d_3_0_Core->f.MapBufferRange(target, offset, length, access); |
1464 | } |
1465 | |
1466 | inline void QOpenGLFunctions_4_1_Core::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
1467 | { |
1468 | d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer); |
1469 | } |
1470 | |
1471 | inline void QOpenGLFunctions_4_1_Core::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
1472 | { |
1473 | d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height); |
1474 | } |
1475 | |
1476 | inline void QOpenGLFunctions_4_1_Core::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
1477 | { |
1478 | d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
1479 | } |
1480 | |
1481 | inline void QOpenGLFunctions_4_1_Core::glGenerateMipmap(GLenum target) |
1482 | { |
1483 | d_3_0_Core->f.GenerateMipmap(target); |
1484 | } |
1485 | |
1486 | inline void QOpenGLFunctions_4_1_Core::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
1487 | { |
1488 | d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
1489 | } |
1490 | |
1491 | inline void QOpenGLFunctions_4_1_Core::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
1492 | { |
1493 | d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); |
1494 | } |
1495 | |
1496 | inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
1497 | { |
1498 | d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); |
1499 | } |
1500 | |
1501 | inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1502 | { |
1503 | d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level); |
1504 | } |
1505 | |
1506 | inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1507 | { |
1508 | d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level); |
1509 | } |
1510 | |
1511 | inline GLenum QOpenGLFunctions_4_1_Core::glCheckFramebufferStatus(GLenum target) |
1512 | { |
1513 | return d_3_0_Core->f.CheckFramebufferStatus(target); |
1514 | } |
1515 | |
1516 | inline void QOpenGLFunctions_4_1_Core::glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
1517 | { |
1518 | d_3_0_Core->f.GenFramebuffers(n, framebuffers); |
1519 | } |
1520 | |
1521 | inline void QOpenGLFunctions_4_1_Core::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
1522 | { |
1523 | d_3_0_Core->f.DeleteFramebuffers(n, framebuffers); |
1524 | } |
1525 | |
1526 | inline void QOpenGLFunctions_4_1_Core::glBindFramebuffer(GLenum target, GLuint framebuffer) |
1527 | { |
1528 | d_3_0_Core->f.BindFramebuffer(target, framebuffer); |
1529 | } |
1530 | |
1531 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsFramebuffer(GLuint framebuffer) |
1532 | { |
1533 | return d_3_0_Core->f.IsFramebuffer(framebuffer); |
1534 | } |
1535 | |
1536 | inline void QOpenGLFunctions_4_1_Core::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1537 | { |
1538 | d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params); |
1539 | } |
1540 | |
1541 | inline void QOpenGLFunctions_4_1_Core::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
1542 | { |
1543 | d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height); |
1544 | } |
1545 | |
1546 | inline void QOpenGLFunctions_4_1_Core::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
1547 | { |
1548 | d_3_0_Core->f.GenRenderbuffers(n, renderbuffers); |
1549 | } |
1550 | |
1551 | inline void QOpenGLFunctions_4_1_Core::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
1552 | { |
1553 | d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers); |
1554 | } |
1555 | |
1556 | inline void QOpenGLFunctions_4_1_Core::glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
1557 | { |
1558 | d_3_0_Core->f.BindRenderbuffer(target, renderbuffer); |
1559 | } |
1560 | |
1561 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsRenderbuffer(GLuint renderbuffer) |
1562 | { |
1563 | return d_3_0_Core->f.IsRenderbuffer(renderbuffer); |
1564 | } |
1565 | |
1566 | inline const GLubyte * QOpenGLFunctions_4_1_Core::glGetStringi(GLenum name, GLuint index) |
1567 | { |
1568 | return d_3_0_Core->f.GetStringi(name, index); |
1569 | } |
1570 | |
1571 | inline void QOpenGLFunctions_4_1_Core::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
1572 | { |
1573 | d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil); |
1574 | } |
1575 | |
1576 | inline void QOpenGLFunctions_4_1_Core::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
1577 | { |
1578 | d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value); |
1579 | } |
1580 | |
1581 | inline void QOpenGLFunctions_4_1_Core::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
1582 | { |
1583 | d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value); |
1584 | } |
1585 | |
1586 | inline void QOpenGLFunctions_4_1_Core::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
1587 | { |
1588 | d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value); |
1589 | } |
1590 | |
1591 | inline void QOpenGLFunctions_4_1_Core::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) |
1592 | { |
1593 | d_3_0_Core->f.GetTexParameterIuiv(target, pname, params); |
1594 | } |
1595 | |
1596 | inline void QOpenGLFunctions_4_1_Core::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) |
1597 | { |
1598 | d_3_0_Core->f.GetTexParameterIiv(target, pname, params); |
1599 | } |
1600 | |
1601 | inline void QOpenGLFunctions_4_1_Core::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) |
1602 | { |
1603 | d_3_0_Core->f.TexParameterIuiv(target, pname, params); |
1604 | } |
1605 | |
1606 | inline void QOpenGLFunctions_4_1_Core::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) |
1607 | { |
1608 | d_3_0_Core->f.TexParameterIiv(target, pname, params); |
1609 | } |
1610 | |
1611 | inline void QOpenGLFunctions_4_1_Core::glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
1612 | { |
1613 | d_3_0_Core->f.Uniform4uiv(location, count, value); |
1614 | } |
1615 | |
1616 | inline void QOpenGLFunctions_4_1_Core::glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
1617 | { |
1618 | d_3_0_Core->f.Uniform3uiv(location, count, value); |
1619 | } |
1620 | |
1621 | inline void QOpenGLFunctions_4_1_Core::glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
1622 | { |
1623 | d_3_0_Core->f.Uniform2uiv(location, count, value); |
1624 | } |
1625 | |
1626 | inline void QOpenGLFunctions_4_1_Core::glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
1627 | { |
1628 | d_3_0_Core->f.Uniform1uiv(location, count, value); |
1629 | } |
1630 | |
1631 | inline void QOpenGLFunctions_4_1_Core::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
1632 | { |
1633 | d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3); |
1634 | } |
1635 | |
1636 | inline void QOpenGLFunctions_4_1_Core::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
1637 | { |
1638 | d_3_0_Core->f.Uniform3ui(location, v0, v1, v2); |
1639 | } |
1640 | |
1641 | inline void QOpenGLFunctions_4_1_Core::glUniform2ui(GLint location, GLuint v0, GLuint v1) |
1642 | { |
1643 | d_3_0_Core->f.Uniform2ui(location, v0, v1); |
1644 | } |
1645 | |
1646 | inline void QOpenGLFunctions_4_1_Core::glUniform1ui(GLint location, GLuint v0) |
1647 | { |
1648 | d_3_0_Core->f.Uniform1ui(location, v0); |
1649 | } |
1650 | |
1651 | inline GLint QOpenGLFunctions_4_1_Core::glGetFragDataLocation(GLuint program, const GLchar *name) |
1652 | { |
1653 | return d_3_0_Core->f.GetFragDataLocation(program, name); |
1654 | } |
1655 | |
1656 | inline void QOpenGLFunctions_4_1_Core::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name) |
1657 | { |
1658 | d_3_0_Core->f.BindFragDataLocation(program, color, name); |
1659 | } |
1660 | |
1661 | inline void QOpenGLFunctions_4_1_Core::glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
1662 | { |
1663 | d_3_0_Core->f.GetUniformuiv(program, location, params); |
1664 | } |
1665 | |
1666 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
1667 | { |
1668 | d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params); |
1669 | } |
1670 | |
1671 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
1672 | { |
1673 | d_3_0_Core->f.GetVertexAttribIiv(index, pname, params); |
1674 | } |
1675 | |
1676 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
1677 | { |
1678 | d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer); |
1679 | } |
1680 | |
1681 | inline void QOpenGLFunctions_4_1_Core::glEndConditionalRender() |
1682 | { |
1683 | d_3_0_Core->f.EndConditionalRender(); |
1684 | } |
1685 | |
1686 | inline void QOpenGLFunctions_4_1_Core::glBeginConditionalRender(GLuint id, GLenum mode) |
1687 | { |
1688 | d_3_0_Core->f.BeginConditionalRender(id, mode); |
1689 | } |
1690 | |
1691 | inline void QOpenGLFunctions_4_1_Core::glClampColor(GLenum target, GLenum clamp) |
1692 | { |
1693 | d_3_0_Core->f.ClampColor(target, clamp); |
1694 | } |
1695 | |
1696 | inline void QOpenGLFunctions_4_1_Core::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
1697 | { |
1698 | d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); |
1699 | } |
1700 | |
1701 | inline void QOpenGLFunctions_4_1_Core::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode) |
1702 | { |
1703 | d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode); |
1704 | } |
1705 | |
1706 | inline void QOpenGLFunctions_4_1_Core::glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
1707 | { |
1708 | d_3_0_Core->f.BindBufferBase(target, index, buffer); |
1709 | } |
1710 | |
1711 | inline void QOpenGLFunctions_4_1_Core::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
1712 | { |
1713 | d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size); |
1714 | } |
1715 | |
1716 | inline void QOpenGLFunctions_4_1_Core::glEndTransformFeedback() |
1717 | { |
1718 | d_3_0_Core->f.EndTransformFeedback(); |
1719 | } |
1720 | |
1721 | inline void QOpenGLFunctions_4_1_Core::glBeginTransformFeedback(GLenum primitiveMode) |
1722 | { |
1723 | d_3_0_Core->f.BeginTransformFeedback(primitiveMode); |
1724 | } |
1725 | |
1726 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsEnabledi(GLenum target, GLuint index) |
1727 | { |
1728 | return d_3_0_Core->f.IsEnabledi(target, index); |
1729 | } |
1730 | |
1731 | inline void QOpenGLFunctions_4_1_Core::glDisablei(GLenum target, GLuint index) |
1732 | { |
1733 | d_3_0_Core->f.Disablei(target, index); |
1734 | } |
1735 | |
1736 | inline void QOpenGLFunctions_4_1_Core::glEnablei(GLenum target, GLuint index) |
1737 | { |
1738 | d_3_0_Core->f.Enablei(target, index); |
1739 | } |
1740 | |
1741 | inline void QOpenGLFunctions_4_1_Core::glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
1742 | { |
1743 | d_3_0_Core->f.GetIntegeri_v(target, index, data); |
1744 | } |
1745 | |
1746 | inline void QOpenGLFunctions_4_1_Core::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
1747 | { |
1748 | d_3_0_Core->f.GetBooleani_v(target, index, data); |
1749 | } |
1750 | |
1751 | inline void QOpenGLFunctions_4_1_Core::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
1752 | { |
1753 | d_3_0_Core->f.ColorMaski(index, r, g, b, a); |
1754 | } |
1755 | |
1756 | |
1757 | // OpenGL 3.1 core functions |
1758 | inline void QOpenGLFunctions_4_1_Core::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
1759 | { |
1760 | d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); |
1761 | } |
1762 | |
1763 | inline void QOpenGLFunctions_4_1_Core::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
1764 | { |
1765 | d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); |
1766 | } |
1767 | |
1768 | inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
1769 | { |
1770 | d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); |
1771 | } |
1772 | |
1773 | inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
1774 | { |
1775 | d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); |
1776 | } |
1777 | |
1778 | inline GLuint QOpenGLFunctions_4_1_Core::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
1779 | { |
1780 | return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName); |
1781 | } |
1782 | |
1783 | inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
1784 | { |
1785 | d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); |
1786 | } |
1787 | |
1788 | inline void QOpenGLFunctions_4_1_Core::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
1789 | { |
1790 | d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); |
1791 | } |
1792 | |
1793 | inline void QOpenGLFunctions_4_1_Core::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices) |
1794 | { |
1795 | d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); |
1796 | } |
1797 | |
1798 | inline void QOpenGLFunctions_4_1_Core::glPrimitiveRestartIndex(GLuint index) |
1799 | { |
1800 | d_3_1_Core->f.PrimitiveRestartIndex(index); |
1801 | } |
1802 | |
1803 | inline void QOpenGLFunctions_4_1_Core::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) |
1804 | { |
1805 | d_3_1_Core->f.TexBuffer(target, internalformat, buffer); |
1806 | } |
1807 | |
1808 | inline void QOpenGLFunctions_4_1_Core::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount) |
1809 | { |
1810 | d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount); |
1811 | } |
1812 | |
1813 | inline void QOpenGLFunctions_4_1_Core::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) |
1814 | { |
1815 | d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount); |
1816 | } |
1817 | |
1818 | |
1819 | // OpenGL 3.2 core functions |
1820 | inline void QOpenGLFunctions_4_1_Core::glSampleMaski(GLuint index, GLbitfield mask) |
1821 | { |
1822 | d_3_2_Core->f.SampleMaski(index, mask); |
1823 | } |
1824 | |
1825 | inline void QOpenGLFunctions_4_1_Core::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
1826 | { |
1827 | d_3_2_Core->f.GetMultisamplefv(pname, index, val); |
1828 | } |
1829 | |
1830 | inline void QOpenGLFunctions_4_1_Core::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
1831 | { |
1832 | d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
1833 | } |
1834 | |
1835 | inline void QOpenGLFunctions_4_1_Core::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
1836 | { |
1837 | d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); |
1838 | } |
1839 | |
1840 | inline void QOpenGLFunctions_4_1_Core::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
1841 | { |
1842 | d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values); |
1843 | } |
1844 | |
1845 | inline void QOpenGLFunctions_4_1_Core::glGetInteger64v(GLenum pname, GLint64 *params) |
1846 | { |
1847 | d_3_2_Core->f.GetInteger64v(pname, params); |
1848 | } |
1849 | |
1850 | inline void QOpenGLFunctions_4_1_Core::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
1851 | { |
1852 | d_3_2_Core->f.WaitSync(sync, flags, timeout); |
1853 | } |
1854 | |
1855 | inline GLenum QOpenGLFunctions_4_1_Core::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
1856 | { |
1857 | return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout); |
1858 | } |
1859 | |
1860 | inline void QOpenGLFunctions_4_1_Core::glDeleteSync(GLsync sync) |
1861 | { |
1862 | d_3_2_Core->f.DeleteSync(sync); |
1863 | } |
1864 | |
1865 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsSync(GLsync sync) |
1866 | { |
1867 | return d_3_2_Core->f.IsSync(sync); |
1868 | } |
1869 | |
1870 | inline GLsync QOpenGLFunctions_4_1_Core::glFenceSync(GLenum condition, GLbitfield flags) |
1871 | { |
1872 | return d_3_2_Core->f.FenceSync(condition, flags); |
1873 | } |
1874 | |
1875 | inline void QOpenGLFunctions_4_1_Core::glProvokingVertex(GLenum mode) |
1876 | { |
1877 | d_3_2_Core->f.ProvokingVertex(mode); |
1878 | } |
1879 | |
1880 | inline void QOpenGLFunctions_4_1_Core::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex) |
1881 | { |
1882 | d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); |
1883 | } |
1884 | |
1885 | inline void QOpenGLFunctions_4_1_Core::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex) |
1886 | { |
1887 | d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); |
1888 | } |
1889 | |
1890 | inline void QOpenGLFunctions_4_1_Core::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
1891 | { |
1892 | d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); |
1893 | } |
1894 | |
1895 | inline void QOpenGLFunctions_4_1_Core::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
1896 | { |
1897 | d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex); |
1898 | } |
1899 | |
1900 | inline void QOpenGLFunctions_4_1_Core::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) |
1901 | { |
1902 | d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level); |
1903 | } |
1904 | |
1905 | inline void QOpenGLFunctions_4_1_Core::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
1906 | { |
1907 | d_3_2_Core->f.GetBufferParameteri64v(target, pname, params); |
1908 | } |
1909 | |
1910 | inline void QOpenGLFunctions_4_1_Core::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
1911 | { |
1912 | d_3_2_Core->f.GetInteger64i_v(target, index, data); |
1913 | } |
1914 | |
1915 | |
1916 | // OpenGL 3.3 core functions |
1917 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP4uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
1918 | { |
1919 | d_3_3_Core->f.VertexAttribP4uiv(index, type, normalized, value); |
1920 | } |
1921 | |
1922 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP4ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
1923 | { |
1924 | d_3_3_Core->f.VertexAttribP4ui(index, type, normalized, value); |
1925 | } |
1926 | |
1927 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP3uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
1928 | { |
1929 | d_3_3_Core->f.VertexAttribP3uiv(index, type, normalized, value); |
1930 | } |
1931 | |
1932 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP3ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
1933 | { |
1934 | d_3_3_Core->f.VertexAttribP3ui(index, type, normalized, value); |
1935 | } |
1936 | |
1937 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP2uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
1938 | { |
1939 | d_3_3_Core->f.VertexAttribP2uiv(index, type, normalized, value); |
1940 | } |
1941 | |
1942 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP2ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
1943 | { |
1944 | d_3_3_Core->f.VertexAttribP2ui(index, type, normalized, value); |
1945 | } |
1946 | |
1947 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP1uiv(GLuint index, GLenum type, GLboolean normalized, const GLuint *value) |
1948 | { |
1949 | d_3_3_Core->f.VertexAttribP1uiv(index, type, normalized, value); |
1950 | } |
1951 | |
1952 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribP1ui(GLuint index, GLenum type, GLboolean normalized, GLuint value) |
1953 | { |
1954 | d_3_3_Core->f.VertexAttribP1ui(index, type, normalized, value); |
1955 | } |
1956 | |
1957 | inline void QOpenGLFunctions_4_1_Core::glSecondaryColorP3uiv(GLenum type, const GLuint *color) |
1958 | { |
1959 | Q_UNUSED(type); |
1960 | Q_UNUSED(color); |
1961 | QOPENGL_DEPRECATEDFUNCTION; |
1962 | } |
1963 | |
1964 | inline void QOpenGLFunctions_4_1_Core::glSecondaryColorP3ui(GLenum type, GLuint color) |
1965 | { |
1966 | Q_UNUSED(type); |
1967 | Q_UNUSED(color); |
1968 | QOPENGL_DEPRECATEDFUNCTION; |
1969 | } |
1970 | |
1971 | inline void QOpenGLFunctions_4_1_Core::glColorP4uiv(GLenum type, const GLuint *color) |
1972 | { |
1973 | Q_UNUSED(type); |
1974 | Q_UNUSED(color); |
1975 | QOPENGL_DEPRECATEDFUNCTION; |
1976 | } |
1977 | |
1978 | inline void QOpenGLFunctions_4_1_Core::glColorP4ui(GLenum type, GLuint color) |
1979 | { |
1980 | Q_UNUSED(type); |
1981 | Q_UNUSED(color); |
1982 | QOPENGL_DEPRECATEDFUNCTION; |
1983 | } |
1984 | |
1985 | inline void QOpenGLFunctions_4_1_Core::glColorP3uiv(GLenum type, const GLuint *color) |
1986 | { |
1987 | Q_UNUSED(type); |
1988 | Q_UNUSED(color); |
1989 | QOPENGL_DEPRECATEDFUNCTION; |
1990 | } |
1991 | |
1992 | inline void QOpenGLFunctions_4_1_Core::glColorP3ui(GLenum type, GLuint color) |
1993 | { |
1994 | Q_UNUSED(type); |
1995 | Q_UNUSED(color); |
1996 | QOPENGL_DEPRECATEDFUNCTION; |
1997 | } |
1998 | |
1999 | inline void QOpenGLFunctions_4_1_Core::glNormalP3uiv(GLenum type, const GLuint *coords) |
2000 | { |
2001 | Q_UNUSED(type); |
2002 | Q_UNUSED(coords); |
2003 | QOPENGL_DEPRECATEDFUNCTION; |
2004 | } |
2005 | |
2006 | inline void QOpenGLFunctions_4_1_Core::glNormalP3ui(GLenum type, GLuint coords) |
2007 | { |
2008 | Q_UNUSED(type); |
2009 | Q_UNUSED(coords); |
2010 | QOPENGL_DEPRECATEDFUNCTION; |
2011 | } |
2012 | |
2013 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP4uiv(GLenum texture, GLenum type, const GLuint *coords) |
2014 | { |
2015 | Q_UNUSED(texture); |
2016 | Q_UNUSED(type); |
2017 | Q_UNUSED(coords); |
2018 | QOPENGL_DEPRECATEDFUNCTION; |
2019 | } |
2020 | |
2021 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP4ui(GLenum texture, GLenum type, GLuint coords) |
2022 | { |
2023 | Q_UNUSED(texture); |
2024 | Q_UNUSED(type); |
2025 | Q_UNUSED(coords); |
2026 | QOPENGL_DEPRECATEDFUNCTION; |
2027 | } |
2028 | |
2029 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP3uiv(GLenum texture, GLenum type, const GLuint *coords) |
2030 | { |
2031 | Q_UNUSED(texture); |
2032 | Q_UNUSED(type); |
2033 | Q_UNUSED(coords); |
2034 | QOPENGL_DEPRECATEDFUNCTION; |
2035 | } |
2036 | |
2037 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP3ui(GLenum texture, GLenum type, GLuint coords) |
2038 | { |
2039 | Q_UNUSED(texture); |
2040 | Q_UNUSED(type); |
2041 | Q_UNUSED(coords); |
2042 | QOPENGL_DEPRECATEDFUNCTION; |
2043 | } |
2044 | |
2045 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP2uiv(GLenum texture, GLenum type, const GLuint *coords) |
2046 | { |
2047 | Q_UNUSED(texture); |
2048 | Q_UNUSED(type); |
2049 | Q_UNUSED(coords); |
2050 | QOPENGL_DEPRECATEDFUNCTION; |
2051 | } |
2052 | |
2053 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP2ui(GLenum texture, GLenum type, GLuint coords) |
2054 | { |
2055 | Q_UNUSED(texture); |
2056 | Q_UNUSED(type); |
2057 | Q_UNUSED(coords); |
2058 | QOPENGL_DEPRECATEDFUNCTION; |
2059 | } |
2060 | |
2061 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP1uiv(GLenum texture, GLenum type, const GLuint *coords) |
2062 | { |
2063 | Q_UNUSED(texture); |
2064 | Q_UNUSED(type); |
2065 | Q_UNUSED(coords); |
2066 | QOPENGL_DEPRECATEDFUNCTION; |
2067 | } |
2068 | |
2069 | inline void QOpenGLFunctions_4_1_Core::glMultiTexCoordP1ui(GLenum texture, GLenum type, GLuint coords) |
2070 | { |
2071 | Q_UNUSED(texture); |
2072 | Q_UNUSED(type); |
2073 | Q_UNUSED(coords); |
2074 | QOPENGL_DEPRECATEDFUNCTION; |
2075 | } |
2076 | |
2077 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP4uiv(GLenum type, const GLuint *coords) |
2078 | { |
2079 | Q_UNUSED(type); |
2080 | Q_UNUSED(coords); |
2081 | QOPENGL_DEPRECATEDFUNCTION; |
2082 | } |
2083 | |
2084 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP4ui(GLenum type, GLuint coords) |
2085 | { |
2086 | Q_UNUSED(type); |
2087 | Q_UNUSED(coords); |
2088 | QOPENGL_DEPRECATEDFUNCTION; |
2089 | } |
2090 | |
2091 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP3uiv(GLenum type, const GLuint *coords) |
2092 | { |
2093 | Q_UNUSED(type); |
2094 | Q_UNUSED(coords); |
2095 | QOPENGL_DEPRECATEDFUNCTION; |
2096 | } |
2097 | |
2098 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP3ui(GLenum type, GLuint coords) |
2099 | { |
2100 | Q_UNUSED(type); |
2101 | Q_UNUSED(coords); |
2102 | QOPENGL_DEPRECATEDFUNCTION; |
2103 | } |
2104 | |
2105 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP2uiv(GLenum type, const GLuint *coords) |
2106 | { |
2107 | Q_UNUSED(type); |
2108 | Q_UNUSED(coords); |
2109 | QOPENGL_DEPRECATEDFUNCTION; |
2110 | } |
2111 | |
2112 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP2ui(GLenum type, GLuint coords) |
2113 | { |
2114 | Q_UNUSED(type); |
2115 | Q_UNUSED(coords); |
2116 | QOPENGL_DEPRECATEDFUNCTION; |
2117 | } |
2118 | |
2119 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP1uiv(GLenum type, const GLuint *coords) |
2120 | { |
2121 | Q_UNUSED(type); |
2122 | Q_UNUSED(coords); |
2123 | QOPENGL_DEPRECATEDFUNCTION; |
2124 | } |
2125 | |
2126 | inline void QOpenGLFunctions_4_1_Core::glTexCoordP1ui(GLenum type, GLuint coords) |
2127 | { |
2128 | Q_UNUSED(type); |
2129 | Q_UNUSED(coords); |
2130 | QOPENGL_DEPRECATEDFUNCTION; |
2131 | } |
2132 | |
2133 | inline void QOpenGLFunctions_4_1_Core::glVertexP4uiv(GLenum type, const GLuint *value) |
2134 | { |
2135 | Q_UNUSED(type); |
2136 | Q_UNUSED(value); |
2137 | QOPENGL_DEPRECATEDFUNCTION; |
2138 | } |
2139 | |
2140 | inline void QOpenGLFunctions_4_1_Core::glVertexP4ui(GLenum type, GLuint value) |
2141 | { |
2142 | Q_UNUSED(type); |
2143 | Q_UNUSED(value); |
2144 | QOPENGL_DEPRECATEDFUNCTION; |
2145 | } |
2146 | |
2147 | inline void QOpenGLFunctions_4_1_Core::glVertexP3uiv(GLenum type, const GLuint *value) |
2148 | { |
2149 | Q_UNUSED(type); |
2150 | Q_UNUSED(value); |
2151 | QOPENGL_DEPRECATEDFUNCTION; |
2152 | } |
2153 | |
2154 | inline void QOpenGLFunctions_4_1_Core::glVertexP3ui(GLenum type, GLuint value) |
2155 | { |
2156 | Q_UNUSED(type); |
2157 | Q_UNUSED(value); |
2158 | QOPENGL_DEPRECATEDFUNCTION; |
2159 | } |
2160 | |
2161 | inline void QOpenGLFunctions_4_1_Core::glVertexP2uiv(GLenum type, const GLuint *value) |
2162 | { |
2163 | Q_UNUSED(type); |
2164 | Q_UNUSED(value); |
2165 | QOPENGL_DEPRECATEDFUNCTION; |
2166 | } |
2167 | |
2168 | inline void QOpenGLFunctions_4_1_Core::glVertexP2ui(GLenum type, GLuint value) |
2169 | { |
2170 | Q_UNUSED(type); |
2171 | Q_UNUSED(value); |
2172 | QOPENGL_DEPRECATEDFUNCTION; |
2173 | } |
2174 | |
2175 | inline void QOpenGLFunctions_4_1_Core::glGetQueryObjectui64v(GLuint id, GLenum pname, GLuint64 *params) |
2176 | { |
2177 | d_3_3_Core->f.GetQueryObjectui64v(id, pname, params); |
2178 | } |
2179 | |
2180 | inline void QOpenGLFunctions_4_1_Core::glGetQueryObjecti64v(GLuint id, GLenum pname, GLint64 *params) |
2181 | { |
2182 | d_3_3_Core->f.GetQueryObjecti64v(id, pname, params); |
2183 | } |
2184 | |
2185 | inline void QOpenGLFunctions_4_1_Core::glQueryCounter(GLuint id, GLenum target) |
2186 | { |
2187 | d_3_3_Core->f.QueryCounter(id, target); |
2188 | } |
2189 | |
2190 | inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterIuiv(GLuint sampler, GLenum pname, GLuint *params) |
2191 | { |
2192 | d_3_3_Core->f.GetSamplerParameterIuiv(sampler, pname, params); |
2193 | } |
2194 | |
2195 | inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterfv(GLuint sampler, GLenum pname, GLfloat *params) |
2196 | { |
2197 | d_3_3_Core->f.GetSamplerParameterfv(sampler, pname, params); |
2198 | } |
2199 | |
2200 | inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameterIiv(GLuint sampler, GLenum pname, GLint *params) |
2201 | { |
2202 | d_3_3_Core->f.GetSamplerParameterIiv(sampler, pname, params); |
2203 | } |
2204 | |
2205 | inline void QOpenGLFunctions_4_1_Core::glGetSamplerParameteriv(GLuint sampler, GLenum pname, GLint *params) |
2206 | { |
2207 | d_3_3_Core->f.GetSamplerParameteriv(sampler, pname, params); |
2208 | } |
2209 | |
2210 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameterIuiv(GLuint sampler, GLenum pname, const GLuint *param) |
2211 | { |
2212 | d_3_3_Core->f.SamplerParameterIuiv(sampler, pname, param); |
2213 | } |
2214 | |
2215 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameterIiv(GLuint sampler, GLenum pname, const GLint *param) |
2216 | { |
2217 | d_3_3_Core->f.SamplerParameterIiv(sampler, pname, param); |
2218 | } |
2219 | |
2220 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameterfv(GLuint sampler, GLenum pname, const GLfloat *param) |
2221 | { |
2222 | d_3_3_Core->f.SamplerParameterfv(sampler, pname, param); |
2223 | } |
2224 | |
2225 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameterf(GLuint sampler, GLenum pname, GLfloat param) |
2226 | { |
2227 | d_3_3_Core->f.SamplerParameterf(sampler, pname, param); |
2228 | } |
2229 | |
2230 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameteriv(GLuint sampler, GLenum pname, const GLint *param) |
2231 | { |
2232 | d_3_3_Core->f.SamplerParameteriv(sampler, pname, param); |
2233 | } |
2234 | |
2235 | inline void QOpenGLFunctions_4_1_Core::glSamplerParameteri(GLuint sampler, GLenum pname, GLint param) |
2236 | { |
2237 | d_3_3_Core->f.SamplerParameteri(sampler, pname, param); |
2238 | } |
2239 | |
2240 | inline void QOpenGLFunctions_4_1_Core::glBindSampler(GLuint unit, GLuint sampler) |
2241 | { |
2242 | d_3_3_Core->f.BindSampler(unit, sampler); |
2243 | } |
2244 | |
2245 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsSampler(GLuint sampler) |
2246 | { |
2247 | return d_3_3_Core->f.IsSampler(sampler); |
2248 | } |
2249 | |
2250 | inline void QOpenGLFunctions_4_1_Core::glDeleteSamplers(GLsizei count, const GLuint *samplers) |
2251 | { |
2252 | d_3_3_Core->f.DeleteSamplers(count, samplers); |
2253 | } |
2254 | |
2255 | inline void QOpenGLFunctions_4_1_Core::glGenSamplers(GLsizei count, GLuint *samplers) |
2256 | { |
2257 | d_3_3_Core->f.GenSamplers(count, samplers); |
2258 | } |
2259 | |
2260 | inline GLint QOpenGLFunctions_4_1_Core::glGetFragDataIndex(GLuint program, const GLchar *name) |
2261 | { |
2262 | return d_3_3_Core->f.GetFragDataIndex(program, name); |
2263 | } |
2264 | |
2265 | inline void QOpenGLFunctions_4_1_Core::glBindFragDataLocationIndexed(GLuint program, GLuint colorNumber, GLuint index, const GLchar *name) |
2266 | { |
2267 | d_3_3_Core->f.BindFragDataLocationIndexed(program, colorNumber, index, name); |
2268 | } |
2269 | |
2270 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribDivisor(GLuint index, GLuint divisor) |
2271 | { |
2272 | d_3_3_Core->f.VertexAttribDivisor(index, divisor); |
2273 | } |
2274 | |
2275 | |
2276 | // OpenGL 4.0 core functions |
2277 | inline void QOpenGLFunctions_4_1_Core::glGetQueryIndexediv(GLenum target, GLuint index, GLenum pname, GLint *params) |
2278 | { |
2279 | d_4_0_Core->f.GetQueryIndexediv(target, index, pname, params); |
2280 | } |
2281 | |
2282 | inline void QOpenGLFunctions_4_1_Core::glEndQueryIndexed(GLenum target, GLuint index) |
2283 | { |
2284 | d_4_0_Core->f.EndQueryIndexed(target, index); |
2285 | } |
2286 | |
2287 | inline void QOpenGLFunctions_4_1_Core::glBeginQueryIndexed(GLenum target, GLuint index, GLuint id) |
2288 | { |
2289 | d_4_0_Core->f.BeginQueryIndexed(target, index, id); |
2290 | } |
2291 | |
2292 | inline void QOpenGLFunctions_4_1_Core::glDrawTransformFeedbackStream(GLenum mode, GLuint id, GLuint stream) |
2293 | { |
2294 | d_4_0_Core->f.DrawTransformFeedbackStream(mode, id, stream); |
2295 | } |
2296 | |
2297 | inline void QOpenGLFunctions_4_1_Core::glDrawTransformFeedback(GLenum mode, GLuint id) |
2298 | { |
2299 | d_4_0_Core->f.DrawTransformFeedback(mode, id); |
2300 | } |
2301 | |
2302 | inline void QOpenGLFunctions_4_1_Core::glResumeTransformFeedback() |
2303 | { |
2304 | d_4_0_Core->f.ResumeTransformFeedback(); |
2305 | } |
2306 | |
2307 | inline void QOpenGLFunctions_4_1_Core::glPauseTransformFeedback() |
2308 | { |
2309 | d_4_0_Core->f.PauseTransformFeedback(); |
2310 | } |
2311 | |
2312 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsTransformFeedback(GLuint id) |
2313 | { |
2314 | return d_4_0_Core->f.IsTransformFeedback(id); |
2315 | } |
2316 | |
2317 | inline void QOpenGLFunctions_4_1_Core::glGenTransformFeedbacks(GLsizei n, GLuint *ids) |
2318 | { |
2319 | d_4_0_Core->f.GenTransformFeedbacks(n, ids); |
2320 | } |
2321 | |
2322 | inline void QOpenGLFunctions_4_1_Core::glDeleteTransformFeedbacks(GLsizei n, const GLuint *ids) |
2323 | { |
2324 | d_4_0_Core->f.DeleteTransformFeedbacks(n, ids); |
2325 | } |
2326 | |
2327 | inline void QOpenGLFunctions_4_1_Core::glBindTransformFeedback(GLenum target, GLuint id) |
2328 | { |
2329 | d_4_0_Core->f.BindTransformFeedback(target, id); |
2330 | } |
2331 | |
2332 | inline void QOpenGLFunctions_4_1_Core::glPatchParameterfv(GLenum pname, const GLfloat *values) |
2333 | { |
2334 | d_4_0_Core->f.PatchParameterfv(pname, values); |
2335 | } |
2336 | |
2337 | inline void QOpenGLFunctions_4_1_Core::glPatchParameteri(GLenum pname, GLint value) |
2338 | { |
2339 | d_4_0_Core->f.PatchParameteri(pname, value); |
2340 | } |
2341 | |
2342 | inline void QOpenGLFunctions_4_1_Core::glGetProgramStageiv(GLuint program, GLenum shadertype, GLenum pname, GLint *values) |
2343 | { |
2344 | d_4_0_Core->f.GetProgramStageiv(program, shadertype, pname, values); |
2345 | } |
2346 | |
2347 | inline void QOpenGLFunctions_4_1_Core::glGetUniformSubroutineuiv(GLenum shadertype, GLint location, GLuint *params) |
2348 | { |
2349 | d_4_0_Core->f.GetUniformSubroutineuiv(shadertype, location, params); |
2350 | } |
2351 | |
2352 | inline void QOpenGLFunctions_4_1_Core::glUniformSubroutinesuiv(GLenum shadertype, GLsizei count, const GLuint *indices) |
2353 | { |
2354 | d_4_0_Core->f.UniformSubroutinesuiv(shadertype, count, indices); |
2355 | } |
2356 | |
2357 | inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) |
2358 | { |
2359 | d_4_0_Core->f.GetActiveSubroutineName(program, shadertype, index, bufsize, length, name); |
2360 | } |
2361 | |
2362 | inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineUniformName(GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name) |
2363 | { |
2364 | d_4_0_Core->f.GetActiveSubroutineUniformName(program, shadertype, index, bufsize, length, name); |
2365 | } |
2366 | |
2367 | inline void QOpenGLFunctions_4_1_Core::glGetActiveSubroutineUniformiv(GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values) |
2368 | { |
2369 | d_4_0_Core->f.GetActiveSubroutineUniformiv(program, shadertype, index, pname, values); |
2370 | } |
2371 | |
2372 | inline GLuint QOpenGLFunctions_4_1_Core::glGetSubroutineIndex(GLuint program, GLenum shadertype, const GLchar *name) |
2373 | { |
2374 | return d_4_0_Core->f.GetSubroutineIndex(program, shadertype, name); |
2375 | } |
2376 | |
2377 | inline GLint QOpenGLFunctions_4_1_Core::glGetSubroutineUniformLocation(GLuint program, GLenum shadertype, const GLchar *name) |
2378 | { |
2379 | return d_4_0_Core->f.GetSubroutineUniformLocation(program, shadertype, name); |
2380 | } |
2381 | |
2382 | inline void QOpenGLFunctions_4_1_Core::glGetUniformdv(GLuint program, GLint location, GLdouble *params) |
2383 | { |
2384 | d_4_0_Core->f.GetUniformdv(program, location, params); |
2385 | } |
2386 | |
2387 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2388 | { |
2389 | d_4_0_Core->f.UniformMatrix4x3dv(location, count, transpose, value); |
2390 | } |
2391 | |
2392 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2393 | { |
2394 | d_4_0_Core->f.UniformMatrix4x2dv(location, count, transpose, value); |
2395 | } |
2396 | |
2397 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2398 | { |
2399 | d_4_0_Core->f.UniformMatrix3x4dv(location, count, transpose, value); |
2400 | } |
2401 | |
2402 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3x2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2403 | { |
2404 | d_4_0_Core->f.UniformMatrix3x2dv(location, count, transpose, value); |
2405 | } |
2406 | |
2407 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2408 | { |
2409 | d_4_0_Core->f.UniformMatrix2x4dv(location, count, transpose, value); |
2410 | } |
2411 | |
2412 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2x3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2413 | { |
2414 | d_4_0_Core->f.UniformMatrix2x3dv(location, count, transpose, value); |
2415 | } |
2416 | |
2417 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix4dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2418 | { |
2419 | d_4_0_Core->f.UniformMatrix4dv(location, count, transpose, value); |
2420 | } |
2421 | |
2422 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix3dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2423 | { |
2424 | d_4_0_Core->f.UniformMatrix3dv(location, count, transpose, value); |
2425 | } |
2426 | |
2427 | inline void QOpenGLFunctions_4_1_Core::glUniformMatrix2dv(GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2428 | { |
2429 | d_4_0_Core->f.UniformMatrix2dv(location, count, transpose, value); |
2430 | } |
2431 | |
2432 | inline void QOpenGLFunctions_4_1_Core::glUniform4dv(GLint location, GLsizei count, const GLdouble *value) |
2433 | { |
2434 | d_4_0_Core->f.Uniform4dv(location, count, value); |
2435 | } |
2436 | |
2437 | inline void QOpenGLFunctions_4_1_Core::glUniform3dv(GLint location, GLsizei count, const GLdouble *value) |
2438 | { |
2439 | d_4_0_Core->f.Uniform3dv(location, count, value); |
2440 | } |
2441 | |
2442 | inline void QOpenGLFunctions_4_1_Core::glUniform2dv(GLint location, GLsizei count, const GLdouble *value) |
2443 | { |
2444 | d_4_0_Core->f.Uniform2dv(location, count, value); |
2445 | } |
2446 | |
2447 | inline void QOpenGLFunctions_4_1_Core::glUniform1dv(GLint location, GLsizei count, const GLdouble *value) |
2448 | { |
2449 | d_4_0_Core->f.Uniform1dv(location, count, value); |
2450 | } |
2451 | |
2452 | inline void QOpenGLFunctions_4_1_Core::glUniform4d(GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
2453 | { |
2454 | d_4_0_Core->f.Uniform4d(location, x, y, z, w); |
2455 | } |
2456 | |
2457 | inline void QOpenGLFunctions_4_1_Core::glUniform3d(GLint location, GLdouble x, GLdouble y, GLdouble z) |
2458 | { |
2459 | d_4_0_Core->f.Uniform3d(location, x, y, z); |
2460 | } |
2461 | |
2462 | inline void QOpenGLFunctions_4_1_Core::glUniform2d(GLint location, GLdouble x, GLdouble y) |
2463 | { |
2464 | d_4_0_Core->f.Uniform2d(location, x, y); |
2465 | } |
2466 | |
2467 | inline void QOpenGLFunctions_4_1_Core::glUniform1d(GLint location, GLdouble x) |
2468 | { |
2469 | d_4_0_Core->f.Uniform1d(location, x); |
2470 | } |
2471 | |
2472 | inline void QOpenGLFunctions_4_1_Core::glDrawElementsIndirect(GLenum mode, GLenum type, const GLvoid *indirect) |
2473 | { |
2474 | d_4_0_Core->f.DrawElementsIndirect(mode, type, indirect); |
2475 | } |
2476 | |
2477 | inline void QOpenGLFunctions_4_1_Core::glDrawArraysIndirect(GLenum mode, const GLvoid *indirect) |
2478 | { |
2479 | d_4_0_Core->f.DrawArraysIndirect(mode, indirect); |
2480 | } |
2481 | |
2482 | inline void QOpenGLFunctions_4_1_Core::glBlendFuncSeparatei(GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha) |
2483 | { |
2484 | d_4_0_Core->f.BlendFuncSeparatei(buf, srcRGB, dstRGB, srcAlpha, dstAlpha); |
2485 | } |
2486 | |
2487 | inline void QOpenGLFunctions_4_1_Core::glBlendFunci(GLuint buf, GLenum src, GLenum dst) |
2488 | { |
2489 | d_4_0_Core->f.BlendFunci(buf, src, dst); |
2490 | } |
2491 | |
2492 | inline void QOpenGLFunctions_4_1_Core::glBlendEquationSeparatei(GLuint buf, GLenum modeRGB, GLenum modeAlpha) |
2493 | { |
2494 | d_4_0_Core->f.BlendEquationSeparatei(buf, modeRGB, modeAlpha); |
2495 | } |
2496 | |
2497 | inline void QOpenGLFunctions_4_1_Core::glBlendEquationi(GLuint buf, GLenum mode) |
2498 | { |
2499 | d_4_0_Core->f.BlendEquationi(buf, mode); |
2500 | } |
2501 | |
2502 | inline void QOpenGLFunctions_4_1_Core::glMinSampleShading(GLfloat value) |
2503 | { |
2504 | d_4_0_Core->f.MinSampleShading(value); |
2505 | } |
2506 | |
2507 | |
2508 | // OpenGL 4.1 core functions |
2509 | inline void QOpenGLFunctions_4_1_Core::glGetDoublei_v(GLenum target, GLuint index, GLdouble *data) |
2510 | { |
2511 | d_4_1_Core->f.GetDoublei_v(target, index, data); |
2512 | } |
2513 | |
2514 | inline void QOpenGLFunctions_4_1_Core::glGetFloati_v(GLenum target, GLuint index, GLfloat *data) |
2515 | { |
2516 | d_4_1_Core->f.GetFloati_v(target, index, data); |
2517 | } |
2518 | |
2519 | inline void QOpenGLFunctions_4_1_Core::glDepthRangeIndexed(GLuint index, GLdouble n, GLdouble f) |
2520 | { |
2521 | d_4_1_Core->f.DepthRangeIndexed(index, n, f); |
2522 | } |
2523 | |
2524 | inline void QOpenGLFunctions_4_1_Core::glDepthRangeArrayv(GLuint first, GLsizei count, const GLdouble *v) |
2525 | { |
2526 | d_4_1_Core->f.DepthRangeArrayv(first, count, v); |
2527 | } |
2528 | |
2529 | inline void QOpenGLFunctions_4_1_Core::glScissorIndexedv(GLuint index, const GLint *v) |
2530 | { |
2531 | d_4_1_Core->f.ScissorIndexedv(index, v); |
2532 | } |
2533 | |
2534 | inline void QOpenGLFunctions_4_1_Core::glScissorIndexed(GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height) |
2535 | { |
2536 | d_4_1_Core->f.ScissorIndexed(index, left, bottom, width, height); |
2537 | } |
2538 | |
2539 | inline void QOpenGLFunctions_4_1_Core::glScissorArrayv(GLuint first, GLsizei count, const GLint *v) |
2540 | { |
2541 | d_4_1_Core->f.ScissorArrayv(first, count, v); |
2542 | } |
2543 | |
2544 | inline void QOpenGLFunctions_4_1_Core::glViewportIndexedfv(GLuint index, const GLfloat *v) |
2545 | { |
2546 | d_4_1_Core->f.ViewportIndexedfv(index, v); |
2547 | } |
2548 | |
2549 | inline void QOpenGLFunctions_4_1_Core::glViewportIndexedf(GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h) |
2550 | { |
2551 | d_4_1_Core->f.ViewportIndexedf(index, x, y, w, h); |
2552 | } |
2553 | |
2554 | inline void QOpenGLFunctions_4_1_Core::glViewportArrayv(GLuint first, GLsizei count, const GLfloat *v) |
2555 | { |
2556 | d_4_1_Core->f.ViewportArrayv(first, count, v); |
2557 | } |
2558 | |
2559 | inline void QOpenGLFunctions_4_1_Core::glGetVertexAttribLdv(GLuint index, GLenum pname, GLdouble *params) |
2560 | { |
2561 | d_4_1_Core->f.GetVertexAttribLdv(index, pname, params); |
2562 | } |
2563 | |
2564 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribLPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
2565 | { |
2566 | d_4_1_Core->f.VertexAttribLPointer(index, size, type, stride, pointer); |
2567 | } |
2568 | |
2569 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL4dv(GLuint index, const GLdouble *v) |
2570 | { |
2571 | d_4_1_Core->f.VertexAttribL4dv(index, v); |
2572 | } |
2573 | |
2574 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL3dv(GLuint index, const GLdouble *v) |
2575 | { |
2576 | d_4_1_Core->f.VertexAttribL3dv(index, v); |
2577 | } |
2578 | |
2579 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL2dv(GLuint index, const GLdouble *v) |
2580 | { |
2581 | d_4_1_Core->f.VertexAttribL2dv(index, v); |
2582 | } |
2583 | |
2584 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL1dv(GLuint index, const GLdouble *v) |
2585 | { |
2586 | d_4_1_Core->f.VertexAttribL1dv(index, v); |
2587 | } |
2588 | |
2589 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
2590 | { |
2591 | d_4_1_Core->f.VertexAttribL4d(index, x, y, z, w); |
2592 | } |
2593 | |
2594 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
2595 | { |
2596 | d_4_1_Core->f.VertexAttribL3d(index, x, y, z); |
2597 | } |
2598 | |
2599 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL2d(GLuint index, GLdouble x, GLdouble y) |
2600 | { |
2601 | d_4_1_Core->f.VertexAttribL2d(index, x, y); |
2602 | } |
2603 | |
2604 | inline void QOpenGLFunctions_4_1_Core::glVertexAttribL1d(GLuint index, GLdouble x) |
2605 | { |
2606 | d_4_1_Core->f.VertexAttribL1d(index, x); |
2607 | } |
2608 | |
2609 | inline void QOpenGLFunctions_4_1_Core::glGetProgramPipelineInfoLog(GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
2610 | { |
2611 | d_4_1_Core->f.GetProgramPipelineInfoLog(pipeline, bufSize, length, infoLog); |
2612 | } |
2613 | |
2614 | inline void QOpenGLFunctions_4_1_Core::glValidateProgramPipeline(GLuint pipeline) |
2615 | { |
2616 | d_4_1_Core->f.ValidateProgramPipeline(pipeline); |
2617 | } |
2618 | |
2619 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2620 | { |
2621 | d_4_1_Core->f.ProgramUniformMatrix4x3dv(program, location, count, transpose, value); |
2622 | } |
2623 | |
2624 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2625 | { |
2626 | d_4_1_Core->f.ProgramUniformMatrix3x4dv(program, location, count, transpose, value); |
2627 | } |
2628 | |
2629 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2630 | { |
2631 | d_4_1_Core->f.ProgramUniformMatrix4x2dv(program, location, count, transpose, value); |
2632 | } |
2633 | |
2634 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2635 | { |
2636 | d_4_1_Core->f.ProgramUniformMatrix2x4dv(program, location, count, transpose, value); |
2637 | } |
2638 | |
2639 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2640 | { |
2641 | d_4_1_Core->f.ProgramUniformMatrix3x2dv(program, location, count, transpose, value); |
2642 | } |
2643 | |
2644 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2645 | { |
2646 | d_4_1_Core->f.ProgramUniformMatrix2x3dv(program, location, count, transpose, value); |
2647 | } |
2648 | |
2649 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2650 | { |
2651 | d_4_1_Core->f.ProgramUniformMatrix4x3fv(program, location, count, transpose, value); |
2652 | } |
2653 | |
2654 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2655 | { |
2656 | d_4_1_Core->f.ProgramUniformMatrix3x4fv(program, location, count, transpose, value); |
2657 | } |
2658 | |
2659 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2660 | { |
2661 | d_4_1_Core->f.ProgramUniformMatrix4x2fv(program, location, count, transpose, value); |
2662 | } |
2663 | |
2664 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2665 | { |
2666 | d_4_1_Core->f.ProgramUniformMatrix2x4fv(program, location, count, transpose, value); |
2667 | } |
2668 | |
2669 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3x2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2670 | { |
2671 | d_4_1_Core->f.ProgramUniformMatrix3x2fv(program, location, count, transpose, value); |
2672 | } |
2673 | |
2674 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2x3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2675 | { |
2676 | d_4_1_Core->f.ProgramUniformMatrix2x3fv(program, location, count, transpose, value); |
2677 | } |
2678 | |
2679 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2680 | { |
2681 | d_4_1_Core->f.ProgramUniformMatrix4dv(program, location, count, transpose, value); |
2682 | } |
2683 | |
2684 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2685 | { |
2686 | d_4_1_Core->f.ProgramUniformMatrix3dv(program, location, count, transpose, value); |
2687 | } |
2688 | |
2689 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2dv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value) |
2690 | { |
2691 | d_4_1_Core->f.ProgramUniformMatrix2dv(program, location, count, transpose, value); |
2692 | } |
2693 | |
2694 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix4fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2695 | { |
2696 | d_4_1_Core->f.ProgramUniformMatrix4fv(program, location, count, transpose, value); |
2697 | } |
2698 | |
2699 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix3fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2700 | { |
2701 | d_4_1_Core->f.ProgramUniformMatrix3fv(program, location, count, transpose, value); |
2702 | } |
2703 | |
2704 | inline void QOpenGLFunctions_4_1_Core::glProgramUniformMatrix2fv(GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
2705 | { |
2706 | d_4_1_Core->f.ProgramUniformMatrix2fv(program, location, count, transpose, value); |
2707 | } |
2708 | |
2709 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
2710 | { |
2711 | d_4_1_Core->f.ProgramUniform4uiv(program, location, count, value); |
2712 | } |
2713 | |
2714 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
2715 | { |
2716 | d_4_1_Core->f.ProgramUniform4ui(program, location, v0, v1, v2, v3); |
2717 | } |
2718 | |
2719 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
2720 | { |
2721 | d_4_1_Core->f.ProgramUniform4dv(program, location, count, value); |
2722 | } |
2723 | |
2724 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3) |
2725 | { |
2726 | d_4_1_Core->f.ProgramUniform4d(program, location, v0, v1, v2, v3); |
2727 | } |
2728 | |
2729 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
2730 | { |
2731 | d_4_1_Core->f.ProgramUniform4fv(program, location, count, value); |
2732 | } |
2733 | |
2734 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
2735 | { |
2736 | d_4_1_Core->f.ProgramUniform4f(program, location, v0, v1, v2, v3); |
2737 | } |
2738 | |
2739 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
2740 | { |
2741 | d_4_1_Core->f.ProgramUniform4iv(program, location, count, value); |
2742 | } |
2743 | |
2744 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform4i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
2745 | { |
2746 | d_4_1_Core->f.ProgramUniform4i(program, location, v0, v1, v2, v3); |
2747 | } |
2748 | |
2749 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
2750 | { |
2751 | d_4_1_Core->f.ProgramUniform3uiv(program, location, count, value); |
2752 | } |
2753 | |
2754 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3ui(GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2) |
2755 | { |
2756 | d_4_1_Core->f.ProgramUniform3ui(program, location, v0, v1, v2); |
2757 | } |
2758 | |
2759 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
2760 | { |
2761 | d_4_1_Core->f.ProgramUniform3dv(program, location, count, value); |
2762 | } |
2763 | |
2764 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3d(GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2) |
2765 | { |
2766 | d_4_1_Core->f.ProgramUniform3d(program, location, v0, v1, v2); |
2767 | } |
2768 | |
2769 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
2770 | { |
2771 | d_4_1_Core->f.ProgramUniform3fv(program, location, count, value); |
2772 | } |
2773 | |
2774 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3f(GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
2775 | { |
2776 | d_4_1_Core->f.ProgramUniform3f(program, location, v0, v1, v2); |
2777 | } |
2778 | |
2779 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
2780 | { |
2781 | d_4_1_Core->f.ProgramUniform3iv(program, location, count, value); |
2782 | } |
2783 | |
2784 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform3i(GLuint program, GLint location, GLint v0, GLint v1, GLint v2) |
2785 | { |
2786 | d_4_1_Core->f.ProgramUniform3i(program, location, v0, v1, v2); |
2787 | } |
2788 | |
2789 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
2790 | { |
2791 | d_4_1_Core->f.ProgramUniform2uiv(program, location, count, value); |
2792 | } |
2793 | |
2794 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2ui(GLuint program, GLint location, GLuint v0, GLuint v1) |
2795 | { |
2796 | d_4_1_Core->f.ProgramUniform2ui(program, location, v0, v1); |
2797 | } |
2798 | |
2799 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
2800 | { |
2801 | d_4_1_Core->f.ProgramUniform2dv(program, location, count, value); |
2802 | } |
2803 | |
2804 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2d(GLuint program, GLint location, GLdouble v0, GLdouble v1) |
2805 | { |
2806 | d_4_1_Core->f.ProgramUniform2d(program, location, v0, v1); |
2807 | } |
2808 | |
2809 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
2810 | { |
2811 | d_4_1_Core->f.ProgramUniform2fv(program, location, count, value); |
2812 | } |
2813 | |
2814 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2f(GLuint program, GLint location, GLfloat v0, GLfloat v1) |
2815 | { |
2816 | d_4_1_Core->f.ProgramUniform2f(program, location, v0, v1); |
2817 | } |
2818 | |
2819 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
2820 | { |
2821 | d_4_1_Core->f.ProgramUniform2iv(program, location, count, value); |
2822 | } |
2823 | |
2824 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform2i(GLuint program, GLint location, GLint v0, GLint v1) |
2825 | { |
2826 | d_4_1_Core->f.ProgramUniform2i(program, location, v0, v1); |
2827 | } |
2828 | |
2829 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1uiv(GLuint program, GLint location, GLsizei count, const GLuint *value) |
2830 | { |
2831 | d_4_1_Core->f.ProgramUniform1uiv(program, location, count, value); |
2832 | } |
2833 | |
2834 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1ui(GLuint program, GLint location, GLuint v0) |
2835 | { |
2836 | d_4_1_Core->f.ProgramUniform1ui(program, location, v0); |
2837 | } |
2838 | |
2839 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1dv(GLuint program, GLint location, GLsizei count, const GLdouble *value) |
2840 | { |
2841 | d_4_1_Core->f.ProgramUniform1dv(program, location, count, value); |
2842 | } |
2843 | |
2844 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1d(GLuint program, GLint location, GLdouble v0) |
2845 | { |
2846 | d_4_1_Core->f.ProgramUniform1d(program, location, v0); |
2847 | } |
2848 | |
2849 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1fv(GLuint program, GLint location, GLsizei count, const GLfloat *value) |
2850 | { |
2851 | d_4_1_Core->f.ProgramUniform1fv(program, location, count, value); |
2852 | } |
2853 | |
2854 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1f(GLuint program, GLint location, GLfloat v0) |
2855 | { |
2856 | d_4_1_Core->f.ProgramUniform1f(program, location, v0); |
2857 | } |
2858 | |
2859 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1iv(GLuint program, GLint location, GLsizei count, const GLint *value) |
2860 | { |
2861 | d_4_1_Core->f.ProgramUniform1iv(program, location, count, value); |
2862 | } |
2863 | |
2864 | inline void QOpenGLFunctions_4_1_Core::glProgramUniform1i(GLuint program, GLint location, GLint v0) |
2865 | { |
2866 | d_4_1_Core->f.ProgramUniform1i(program, location, v0); |
2867 | } |
2868 | |
2869 | inline void QOpenGLFunctions_4_1_Core::glGetProgramPipelineiv(GLuint pipeline, GLenum pname, GLint *params) |
2870 | { |
2871 | d_4_1_Core->f.GetProgramPipelineiv(pipeline, pname, params); |
2872 | } |
2873 | |
2874 | inline GLboolean QOpenGLFunctions_4_1_Core::glIsProgramPipeline(GLuint pipeline) |
2875 | { |
2876 | return d_4_1_Core->f.IsProgramPipeline(pipeline); |
2877 | } |
2878 | |
2879 | inline void QOpenGLFunctions_4_1_Core::glGenProgramPipelines(GLsizei n, GLuint *pipelines) |
2880 | { |
2881 | d_4_1_Core->f.GenProgramPipelines(n, pipelines); |
2882 | } |
2883 | |
2884 | inline void QOpenGLFunctions_4_1_Core::glDeleteProgramPipelines(GLsizei n, const GLuint *pipelines) |
2885 | { |
2886 | d_4_1_Core->f.DeleteProgramPipelines(n, pipelines); |
2887 | } |
2888 | |
2889 | inline void QOpenGLFunctions_4_1_Core::glBindProgramPipeline(GLuint pipeline) |
2890 | { |
2891 | d_4_1_Core->f.BindProgramPipeline(pipeline); |
2892 | } |
2893 | |
2894 | inline GLuint QOpenGLFunctions_4_1_Core::glCreateShaderProgramv(GLenum type, GLsizei count, const GLchar* const *strings) |
2895 | { |
2896 | return d_4_1_Core->f.CreateShaderProgramv(type, count, strings); |
2897 | } |
2898 | |
2899 | inline void QOpenGLFunctions_4_1_Core::glActiveShaderProgram(GLuint pipeline, GLuint program) |
2900 | { |
2901 | d_4_1_Core->f.ActiveShaderProgram(pipeline, program); |
2902 | } |
2903 | |
2904 | inline void QOpenGLFunctions_4_1_Core::glUseProgramStages(GLuint pipeline, GLbitfield stages, GLuint program) |
2905 | { |
2906 | d_4_1_Core->f.UseProgramStages(pipeline, stages, program); |
2907 | } |
2908 | |
2909 | inline void QOpenGLFunctions_4_1_Core::glProgramParameteri(GLuint program, GLenum pname, GLint value) |
2910 | { |
2911 | d_4_1_Core->f.ProgramParameteri(program, pname, value); |
2912 | } |
2913 | |
2914 | inline void QOpenGLFunctions_4_1_Core::glProgramBinary(GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length) |
2915 | { |
2916 | d_4_1_Core->f.ProgramBinary(program, binaryFormat, binary, length); |
2917 | } |
2918 | |
2919 | inline void QOpenGLFunctions_4_1_Core::glGetProgramBinary(GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary) |
2920 | { |
2921 | d_4_1_Core->f.GetProgramBinary(program, bufSize, length, binaryFormat, binary); |
2922 | } |
2923 | |
2924 | inline void QOpenGLFunctions_4_1_Core::glClearDepthf(GLfloat dd) |
2925 | { |
2926 | d_4_1_Core->f.ClearDepthf(dd); |
2927 | } |
2928 | |
2929 | inline void QOpenGLFunctions_4_1_Core::glDepthRangef(GLfloat n, GLfloat f) |
2930 | { |
2931 | d_4_1_Core->f.DepthRangef(n, f); |
2932 | } |
2933 | |
2934 | inline void QOpenGLFunctions_4_1_Core::glGetShaderPrecisionFormat(GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision) |
2935 | { |
2936 | d_4_1_Core->f.GetShaderPrecisionFormat(shadertype, precisiontype, range, precision); |
2937 | } |
2938 | |
2939 | inline void QOpenGLFunctions_4_1_Core::glShaderBinary(GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length) |
2940 | { |
2941 | d_4_1_Core->f.ShaderBinary(count, shaders, binaryformat, binary, length); |
2942 | } |
2943 | |
2944 | inline void QOpenGLFunctions_4_1_Core::glReleaseShaderCompiler() |
2945 | { |
2946 | d_4_1_Core->f.ReleaseShaderCompiler(); |
2947 | } |
2948 | |
2949 | |
2950 | |
2951 | QT_END_NAMESPACE |
2952 | |
2953 | #endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 |
2954 | |
2955 | #endif |
2956 | |