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