1 | // Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
2 | // Copyright (C) 2016 The Qt Company Ltd. |
3 | // SPDX-License-Identifier: LicenseRef-Qt-Commercial OR LGPL-3.0-only OR GPL-2.0-only OR GPL-3.0-only |
4 | /**************************************************************************** |
5 | ** This file was generated by glgen version 0.1 |
6 | ** Command line was: glgen |
7 | ** |
8 | ** glgen is Copyright (C) 2013 Klaralvdalens Datakonsult AB (KDAB) |
9 | ** |
10 | ** This is an auto-generated file. |
11 | ** Do not edit! All changes made to it will be lost. |
12 | ** |
13 | ****************************************************************************/ |
14 | |
15 | #ifndef QOPENGLVERSIONFUNCTIONS_3_2_CORE_H |
16 | #define QOPENGLVERSIONFUNCTIONS_3_2_CORE_H |
17 | |
18 | #include <QtOpenGL/qtopenglglobal.h> |
19 | |
20 | #if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2) |
21 | |
22 | #include <QtOpenGL/QOpenGLVersionProfile> |
23 | #include <QtOpenGL/QOpenGLVersionFunctions> |
24 | #include <QtGui/qopenglcontext.h> |
25 | |
26 | QT_BEGIN_NAMESPACE |
27 | |
28 | class Q_OPENGL_EXPORT QOpenGLFunctions_3_2_Core : public QAbstractOpenGLFunctions |
29 | { |
30 | public: |
31 | QOpenGLFunctions_3_2_Core(); |
32 | ~QOpenGLFunctions_3_2_Core(); |
33 | |
34 | bool initializeOpenGLFunctions() override; |
35 | |
36 | // OpenGL 1.0 core functions |
37 | void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
38 | void glDepthRange(GLdouble nearVal, GLdouble farVal); |
39 | GLboolean glIsEnabled(GLenum cap); |
40 | void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); |
41 | void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); |
42 | void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); |
43 | void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); |
44 | void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); |
45 | const GLubyte * glGetString(GLenum name); |
46 | void glGetIntegerv(GLenum pname, GLint *params); |
47 | void glGetFloatv(GLenum pname, GLfloat *params); |
48 | GLenum glGetError(); |
49 | void glGetDoublev(GLenum pname, GLdouble *params); |
50 | void glGetBooleanv(GLenum pname, GLboolean *params); |
51 | void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); |
52 | void glReadBuffer(GLenum mode); |
53 | void glPixelStorei(GLenum pname, GLint param); |
54 | void glPixelStoref(GLenum pname, GLfloat param); |
55 | void glDepthFunc(GLenum func); |
56 | void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
57 | void glStencilFunc(GLenum func, GLint ref, GLuint mask); |
58 | void glLogicOp(GLenum opcode); |
59 | void glBlendFunc(GLenum sfactor, GLenum dfactor); |
60 | void glFlush(); |
61 | void glFinish(); |
62 | void glEnable(GLenum cap); |
63 | void glDisable(GLenum cap); |
64 | void glDepthMask(GLboolean flag); |
65 | void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
66 | void glStencilMask(GLuint mask); |
67 | void glClearDepth(GLdouble depth); |
68 | void glClearStencil(GLint s); |
69 | void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
70 | void glClear(GLbitfield mask); |
71 | void glDrawBuffer(GLenum mode); |
72 | void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
73 | void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
74 | void glTexParameteriv(GLenum target, GLenum pname, const GLint *params); |
75 | void glTexParameteri(GLenum target, GLenum pname, GLint param); |
76 | void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
77 | void glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
78 | void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
79 | void glPolygonMode(GLenum face, GLenum mode); |
80 | void glPointSize(GLfloat size); |
81 | void glLineWidth(GLfloat width); |
82 | void glHint(GLenum target, GLenum mode); |
83 | void glFrontFace(GLenum mode); |
84 | void glCullFace(GLenum mode); |
85 | |
86 | // OpenGL 1.1 core functions |
87 | GLboolean glIsTexture(GLuint texture); |
88 | void glGenTextures(GLsizei n, GLuint *textures); |
89 | void glDeleteTextures(GLsizei n, const GLuint *textures); |
90 | void glBindTexture(GLenum target, GLuint texture); |
91 | void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
92 | void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); |
93 | void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
94 | void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); |
95 | void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
96 | void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); |
97 | void glPolygonOffset(GLfloat factor, GLfloat units); |
98 | void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); |
99 | void glDrawArrays(GLenum mode, GLint first, GLsizei count); |
100 | |
101 | // OpenGL 1.2 core functions |
102 | void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
103 | 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); |
104 | void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
105 | void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
106 | void glBlendEquation(GLenum mode); |
107 | void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
108 | |
109 | // OpenGL 1.3 core functions |
110 | void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img); |
111 | void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); |
112 | void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); |
113 | 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); |
114 | void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
115 | void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
116 | void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
117 | void glSampleCoverage(GLfloat value, GLboolean invert); |
118 | void glActiveTexture(GLenum texture); |
119 | |
120 | // OpenGL 1.4 core functions |
121 | void glPointParameteriv(GLenum pname, const GLint *params); |
122 | void glPointParameteri(GLenum pname, GLint param); |
123 | void glPointParameterfv(GLenum pname, const GLfloat *params); |
124 | void glPointParameterf(GLenum pname, GLfloat param); |
125 | void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); |
126 | void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); |
127 | void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
128 | |
129 | // OpenGL 1.5 core functions |
130 | void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params); |
131 | void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params); |
132 | GLboolean glUnmapBuffer(GLenum target); |
133 | GLvoid* glMapBuffer(GLenum target, GLenum access); |
134 | void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); |
135 | void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); |
136 | void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); |
137 | GLboolean glIsBuffer(GLuint buffer); |
138 | void glGenBuffers(GLsizei n, GLuint *buffers); |
139 | void glDeleteBuffers(GLsizei n, const GLuint *buffers); |
140 | void glBindBuffer(GLenum target, GLuint buffer); |
141 | void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); |
142 | void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params); |
143 | void glGetQueryiv(GLenum target, GLenum pname, GLint *params); |
144 | void glEndQuery(GLenum target); |
145 | void glBeginQuery(GLenum target, GLuint id); |
146 | GLboolean glIsQuery(GLuint id); |
147 | void glDeleteQueries(GLsizei n, const GLuint *ids); |
148 | void glGenQueries(GLsizei n, GLuint *ids); |
149 | |
150 | // OpenGL 2.0 core functions |
151 | void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); |
152 | void glValidateProgram(GLuint program); |
153 | void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
154 | void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
155 | void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
156 | void glUniform4iv(GLint location, GLsizei count, const GLint *value); |
157 | void glUniform3iv(GLint location, GLsizei count, const GLint *value); |
158 | void glUniform2iv(GLint location, GLsizei count, const GLint *value); |
159 | void glUniform1iv(GLint location, GLsizei count, const GLint *value); |
160 | void glUniform4fv(GLint location, GLsizei count, const GLfloat *value); |
161 | void glUniform3fv(GLint location, GLsizei count, const GLfloat *value); |
162 | void glUniform2fv(GLint location, GLsizei count, const GLfloat *value); |
163 | void glUniform1fv(GLint location, GLsizei count, const GLfloat *value); |
164 | void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
165 | void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); |
166 | void glUniform2i(GLint location, GLint v0, GLint v1); |
167 | void glUniform1i(GLint location, GLint v0); |
168 | void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
169 | void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
170 | void glUniform2f(GLint location, GLfloat v0, GLfloat v1); |
171 | void glUniform1f(GLint location, GLfloat v0); |
172 | void glUseProgram(GLuint program); |
173 | void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
174 | void glLinkProgram(GLuint program); |
175 | GLboolean glIsShader(GLuint shader); |
176 | GLboolean glIsProgram(GLuint program); |
177 | void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer); |
178 | void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params); |
179 | void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); |
180 | void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); |
181 | void glGetUniformiv(GLuint program, GLint location, GLint *params); |
182 | void glGetUniformfv(GLuint program, GLint location, GLfloat *params); |
183 | GLint glGetUniformLocation(GLuint program, const GLchar *name); |
184 | void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); |
185 | void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
186 | void glGetShaderiv(GLuint shader, GLenum pname, GLint *params); |
187 | void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
188 | void glGetProgramiv(GLuint program, GLenum pname, GLint *params); |
189 | GLint glGetAttribLocation(GLuint program, const GLchar *name); |
190 | void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); |
191 | void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
192 | void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
193 | void glEnableVertexAttribArray(GLuint index); |
194 | void glDisableVertexAttribArray(GLuint index); |
195 | void glDetachShader(GLuint program, GLuint shader); |
196 | void glDeleteShader(GLuint shader); |
197 | void glDeleteProgram(GLuint program); |
198 | GLuint glCreateShader(GLenum type); |
199 | GLuint glCreateProgram(); |
200 | void glCompileShader(GLuint shader); |
201 | void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name); |
202 | void glAttachShader(GLuint program, GLuint shader); |
203 | void glStencilMaskSeparate(GLenum face, GLuint mask); |
204 | void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
205 | void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); |
206 | void glDrawBuffers(GLsizei n, const GLenum *bufs); |
207 | void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
208 | |
209 | // OpenGL 2.1 core functions |
210 | void glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
211 | void glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
212 | void glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
213 | void glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
214 | void glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
215 | void glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
216 | |
217 | // OpenGL 3.0 core functions |
218 | GLboolean glIsVertexArray(GLuint array); |
219 | void glGenVertexArrays(GLsizei n, GLuint *arrays); |
220 | void glDeleteVertexArrays(GLsizei n, const GLuint *arrays); |
221 | void glBindVertexArray(GLuint array); |
222 | void glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length); |
223 | GLvoid* glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access); |
224 | void glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer); |
225 | void glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height); |
226 | void glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter); |
227 | void glGenerateMipmap(GLenum target); |
228 | void glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params); |
229 | void glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer); |
230 | void glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset); |
231 | void glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
232 | void glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level); |
233 | GLenum glCheckFramebufferStatus(GLenum target); |
234 | void glGenFramebuffers(GLsizei n, GLuint *framebuffers); |
235 | void glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers); |
236 | void glBindFramebuffer(GLenum target, GLuint framebuffer); |
237 | GLboolean glIsFramebuffer(GLuint framebuffer); |
238 | void glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params); |
239 | void glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height); |
240 | void glGenRenderbuffers(GLsizei n, GLuint *renderbuffers); |
241 | void glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers); |
242 | void glBindRenderbuffer(GLenum target, GLuint renderbuffer); |
243 | GLboolean glIsRenderbuffer(GLuint renderbuffer); |
244 | const GLubyte * glGetStringi(GLenum name, GLuint index); |
245 | void glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil); |
246 | void glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value); |
247 | void glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value); |
248 | void glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value); |
249 | void glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params); |
250 | void glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params); |
251 | void glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params); |
252 | void glTexParameterIiv(GLenum target, GLenum pname, const GLint *params); |
253 | void glUniform4uiv(GLint location, GLsizei count, const GLuint *value); |
254 | void glUniform3uiv(GLint location, GLsizei count, const GLuint *value); |
255 | void glUniform2uiv(GLint location, GLsizei count, const GLuint *value); |
256 | void glUniform1uiv(GLint location, GLsizei count, const GLuint *value); |
257 | void glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3); |
258 | void glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2); |
259 | void glUniform2ui(GLint location, GLuint v0, GLuint v1); |
260 | void glUniform1ui(GLint location, GLuint v0); |
261 | GLint glGetFragDataLocation(GLuint program, const GLchar *name); |
262 | void glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name); |
263 | void glGetUniformuiv(GLuint program, GLint location, GLuint *params); |
264 | void glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params); |
265 | void glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params); |
266 | void glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
267 | void glEndConditionalRender(); |
268 | void glBeginConditionalRender(GLuint id, GLenum mode); |
269 | void glClampColor(GLenum target, GLenum clamp); |
270 | void glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name); |
271 | void glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode); |
272 | void glBindBufferBase(GLenum target, GLuint index, GLuint buffer); |
273 | void glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size); |
274 | void glEndTransformFeedback(); |
275 | void glBeginTransformFeedback(GLenum primitiveMode); |
276 | GLboolean glIsEnabledi(GLenum target, GLuint index); |
277 | void glDisablei(GLenum target, GLuint index); |
278 | void glEnablei(GLenum target, GLuint index); |
279 | void glGetIntegeri_v(GLenum target, GLuint index, GLint *data); |
280 | void glGetBooleani_v(GLenum target, GLuint index, GLboolean *data); |
281 | void glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a); |
282 | |
283 | // OpenGL 3.1 core functions |
284 | void glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size); |
285 | void glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding); |
286 | void glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName); |
287 | void glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params); |
288 | GLuint glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName); |
289 | void glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName); |
290 | void glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params); |
291 | void glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices); |
292 | void glPrimitiveRestartIndex(GLuint index); |
293 | void glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer); |
294 | void glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount); |
295 | void glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount); |
296 | |
297 | // OpenGL 3.2 core functions |
298 | void glSampleMaski(GLuint index, GLbitfield mask); |
299 | void glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val); |
300 | void glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations); |
301 | void glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations); |
302 | void glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values); |
303 | void glGetInteger64v(GLenum pname, GLint64 *params); |
304 | void glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
305 | GLenum glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout); |
306 | void glDeleteSync(GLsync sync); |
307 | GLboolean glIsSync(GLsync sync); |
308 | GLsync glFenceSync(GLenum condition, GLbitfield flags); |
309 | void glProvokingVertex(GLenum mode); |
310 | void glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex); |
311 | void glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex); |
312 | void glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
313 | void glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex); |
314 | void glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level); |
315 | void glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params); |
316 | void glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data); |
317 | |
318 | private: |
319 | friend class QOpenGLVersionFunctionsFactory; |
320 | |
321 | static bool isContextCompatible(QOpenGLContext *context); |
322 | static QOpenGLVersionProfile versionProfile(); |
323 | |
324 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
325 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
326 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
327 | QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core; |
328 | QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core; |
329 | QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core; |
330 | QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core; |
331 | QOpenGLFunctions_2_1_CoreBackend* d_2_1_Core; |
332 | QOpenGLFunctions_3_0_CoreBackend* d_3_0_Core; |
333 | QOpenGLFunctions_3_1_CoreBackend* d_3_1_Core; |
334 | QOpenGLFunctions_3_2_CoreBackend* d_3_2_Core; |
335 | }; |
336 | |
337 | // OpenGL 1.0 core functions |
338 | inline void QOpenGLFunctions_3_2_Core::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
339 | { |
340 | d_1_0_Core->f.Viewport(x, y, width, height); |
341 | } |
342 | |
343 | inline void QOpenGLFunctions_3_2_Core::glDepthRange(GLdouble nearVal, GLdouble farVal) |
344 | { |
345 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
346 | } |
347 | |
348 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsEnabled(GLenum cap) |
349 | { |
350 | return d_1_0_Core->f.IsEnabled(cap); |
351 | } |
352 | |
353 | inline void QOpenGLFunctions_3_2_Core::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
354 | { |
355 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
356 | } |
357 | |
358 | inline void QOpenGLFunctions_3_2_Core::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
359 | { |
360 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
361 | } |
362 | |
363 | inline void QOpenGLFunctions_3_2_Core::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
364 | { |
365 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
366 | } |
367 | |
368 | inline void QOpenGLFunctions_3_2_Core::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
369 | { |
370 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
371 | } |
372 | |
373 | inline void QOpenGLFunctions_3_2_Core::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
374 | { |
375 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
376 | } |
377 | |
378 | inline const GLubyte * QOpenGLFunctions_3_2_Core::glGetString(GLenum name) |
379 | { |
380 | return d_1_0_Core->f.GetString(name); |
381 | } |
382 | |
383 | inline void QOpenGLFunctions_3_2_Core::glGetIntegerv(GLenum pname, GLint *params) |
384 | { |
385 | d_1_0_Core->f.GetIntegerv(pname, params); |
386 | } |
387 | |
388 | inline void QOpenGLFunctions_3_2_Core::glGetFloatv(GLenum pname, GLfloat *params) |
389 | { |
390 | d_1_0_Core->f.GetFloatv(pname, params); |
391 | } |
392 | |
393 | inline GLenum QOpenGLFunctions_3_2_Core::glGetError() |
394 | { |
395 | return d_1_0_Core->f.GetError(); |
396 | } |
397 | |
398 | inline void QOpenGLFunctions_3_2_Core::glGetDoublev(GLenum pname, GLdouble *params) |
399 | { |
400 | d_1_0_Core->f.GetDoublev(pname, params); |
401 | } |
402 | |
403 | inline void QOpenGLFunctions_3_2_Core::glGetBooleanv(GLenum pname, GLboolean *params) |
404 | { |
405 | d_1_0_Core->f.GetBooleanv(pname, params); |
406 | } |
407 | |
408 | inline void QOpenGLFunctions_3_2_Core::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
409 | { |
410 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
411 | } |
412 | |
413 | inline void QOpenGLFunctions_3_2_Core::glReadBuffer(GLenum mode) |
414 | { |
415 | d_1_0_Core->f.ReadBuffer(mode); |
416 | } |
417 | |
418 | inline void QOpenGLFunctions_3_2_Core::glPixelStorei(GLenum pname, GLint param) |
419 | { |
420 | d_1_0_Core->f.PixelStorei(pname, param); |
421 | } |
422 | |
423 | inline void QOpenGLFunctions_3_2_Core::glPixelStoref(GLenum pname, GLfloat param) |
424 | { |
425 | d_1_0_Core->f.PixelStoref(pname, param); |
426 | } |
427 | |
428 | inline void QOpenGLFunctions_3_2_Core::glDepthFunc(GLenum func) |
429 | { |
430 | d_1_0_Core->f.DepthFunc(func); |
431 | } |
432 | |
433 | inline void QOpenGLFunctions_3_2_Core::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
434 | { |
435 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
436 | } |
437 | |
438 | inline void QOpenGLFunctions_3_2_Core::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
439 | { |
440 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
441 | } |
442 | |
443 | inline void QOpenGLFunctions_3_2_Core::glLogicOp(GLenum opcode) |
444 | { |
445 | d_1_0_Core->f.LogicOp(opcode); |
446 | } |
447 | |
448 | inline void QOpenGLFunctions_3_2_Core::glBlendFunc(GLenum sfactor, GLenum dfactor) |
449 | { |
450 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
451 | } |
452 | |
453 | inline void QOpenGLFunctions_3_2_Core::glFlush() |
454 | { |
455 | d_1_0_Core->f.Flush(); |
456 | } |
457 | |
458 | inline void QOpenGLFunctions_3_2_Core::glFinish() |
459 | { |
460 | d_1_0_Core->f.Finish(); |
461 | } |
462 | |
463 | inline void QOpenGLFunctions_3_2_Core::glEnable(GLenum cap) |
464 | { |
465 | d_1_0_Core->f.Enable(cap); |
466 | } |
467 | |
468 | inline void QOpenGLFunctions_3_2_Core::glDisable(GLenum cap) |
469 | { |
470 | d_1_0_Core->f.Disable(cap); |
471 | } |
472 | |
473 | inline void QOpenGLFunctions_3_2_Core::glDepthMask(GLboolean flag) |
474 | { |
475 | d_1_0_Core->f.DepthMask(flag); |
476 | } |
477 | |
478 | inline void QOpenGLFunctions_3_2_Core::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
479 | { |
480 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
481 | } |
482 | |
483 | inline void QOpenGLFunctions_3_2_Core::glStencilMask(GLuint mask) |
484 | { |
485 | d_1_0_Core->f.StencilMask(mask); |
486 | } |
487 | |
488 | inline void QOpenGLFunctions_3_2_Core::glClearDepth(GLdouble depth) |
489 | { |
490 | d_1_0_Core->f.ClearDepth(depth); |
491 | } |
492 | |
493 | inline void QOpenGLFunctions_3_2_Core::glClearStencil(GLint s) |
494 | { |
495 | d_1_0_Core->f.ClearStencil(s); |
496 | } |
497 | |
498 | inline void QOpenGLFunctions_3_2_Core::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
499 | { |
500 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
501 | } |
502 | |
503 | inline void QOpenGLFunctions_3_2_Core::glClear(GLbitfield mask) |
504 | { |
505 | d_1_0_Core->f.Clear(mask); |
506 | } |
507 | |
508 | inline void QOpenGLFunctions_3_2_Core::glDrawBuffer(GLenum mode) |
509 | { |
510 | d_1_0_Core->f.DrawBuffer(mode); |
511 | } |
512 | |
513 | inline void QOpenGLFunctions_3_2_Core::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
514 | { |
515 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
516 | } |
517 | |
518 | inline void QOpenGLFunctions_3_2_Core::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
519 | { |
520 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
521 | } |
522 | |
523 | inline void QOpenGLFunctions_3_2_Core::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
524 | { |
525 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
526 | } |
527 | |
528 | inline void QOpenGLFunctions_3_2_Core::glTexParameteri(GLenum target, GLenum pname, GLint param) |
529 | { |
530 | d_1_0_Core->f.TexParameteri(target, pname, param); |
531 | } |
532 | |
533 | inline void QOpenGLFunctions_3_2_Core::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
534 | { |
535 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
536 | } |
537 | |
538 | inline void QOpenGLFunctions_3_2_Core::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
539 | { |
540 | d_1_0_Core->f.TexParameterf(target, pname, param); |
541 | } |
542 | |
543 | inline void QOpenGLFunctions_3_2_Core::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
544 | { |
545 | d_1_0_Core->f.Scissor(x, y, width, height); |
546 | } |
547 | |
548 | inline void QOpenGLFunctions_3_2_Core::glPolygonMode(GLenum face, GLenum mode) |
549 | { |
550 | d_1_0_Core->f.PolygonMode(face, mode); |
551 | } |
552 | |
553 | inline void QOpenGLFunctions_3_2_Core::glPointSize(GLfloat size) |
554 | { |
555 | d_1_0_Core->f.PointSize(size); |
556 | } |
557 | |
558 | inline void QOpenGLFunctions_3_2_Core::glLineWidth(GLfloat width) |
559 | { |
560 | d_1_0_Core->f.LineWidth(width); |
561 | } |
562 | |
563 | inline void QOpenGLFunctions_3_2_Core::glHint(GLenum target, GLenum mode) |
564 | { |
565 | d_1_0_Core->f.Hint(target, mode); |
566 | } |
567 | |
568 | inline void QOpenGLFunctions_3_2_Core::glFrontFace(GLenum mode) |
569 | { |
570 | d_1_0_Core->f.FrontFace(mode); |
571 | } |
572 | |
573 | inline void QOpenGLFunctions_3_2_Core::glCullFace(GLenum mode) |
574 | { |
575 | d_1_0_Core->f.CullFace(mode); |
576 | } |
577 | |
578 | |
579 | // OpenGL 1.1 core functions |
580 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsTexture(GLuint texture) |
581 | { |
582 | return d_1_1_Core->f.IsTexture(texture); |
583 | } |
584 | |
585 | inline void QOpenGLFunctions_3_2_Core::glGenTextures(GLsizei n, GLuint *textures) |
586 | { |
587 | d_1_1_Core->f.GenTextures(n, textures); |
588 | } |
589 | |
590 | inline void QOpenGLFunctions_3_2_Core::glDeleteTextures(GLsizei n, const GLuint *textures) |
591 | { |
592 | d_1_1_Core->f.DeleteTextures(n, textures); |
593 | } |
594 | |
595 | inline void QOpenGLFunctions_3_2_Core::glBindTexture(GLenum target, GLuint texture) |
596 | { |
597 | d_1_1_Core->f.BindTexture(target, texture); |
598 | } |
599 | |
600 | inline void QOpenGLFunctions_3_2_Core::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
601 | { |
602 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
603 | } |
604 | |
605 | inline void QOpenGLFunctions_3_2_Core::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
606 | { |
607 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
608 | } |
609 | |
610 | inline void QOpenGLFunctions_3_2_Core::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
611 | { |
612 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
613 | } |
614 | |
615 | inline void QOpenGLFunctions_3_2_Core::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
616 | { |
617 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
618 | } |
619 | |
620 | inline void QOpenGLFunctions_3_2_Core::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
621 | { |
622 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
623 | } |
624 | |
625 | inline void QOpenGLFunctions_3_2_Core::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
626 | { |
627 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
628 | } |
629 | |
630 | inline void QOpenGLFunctions_3_2_Core::glPolygonOffset(GLfloat factor, GLfloat units) |
631 | { |
632 | d_1_1_Core->f.PolygonOffset(factor, units); |
633 | } |
634 | |
635 | inline void QOpenGLFunctions_3_2_Core::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
636 | { |
637 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
638 | } |
639 | |
640 | inline void QOpenGLFunctions_3_2_Core::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
641 | { |
642 | d_1_1_Core->f.DrawArrays(mode, first, count); |
643 | } |
644 | |
645 | |
646 | // OpenGL 1.2 core functions |
647 | inline void QOpenGLFunctions_3_2_Core::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
648 | { |
649 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
650 | } |
651 | |
652 | inline void QOpenGLFunctions_3_2_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) |
653 | { |
654 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
655 | } |
656 | |
657 | inline void QOpenGLFunctions_3_2_Core::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
658 | { |
659 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
660 | } |
661 | |
662 | inline void QOpenGLFunctions_3_2_Core::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
663 | { |
664 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
665 | } |
666 | |
667 | inline void QOpenGLFunctions_3_2_Core::glBlendEquation(GLenum mode) |
668 | { |
669 | d_1_2_Core->f.BlendEquation(mode); |
670 | } |
671 | |
672 | inline void QOpenGLFunctions_3_2_Core::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
673 | { |
674 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
675 | } |
676 | |
677 | |
678 | // OpenGL 1.3 core functions |
679 | inline void QOpenGLFunctions_3_2_Core::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img) |
680 | { |
681 | d_1_3_Core->f.GetCompressedTexImage(target, level, img); |
682 | } |
683 | |
684 | inline void QOpenGLFunctions_3_2_Core::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
685 | { |
686 | d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); |
687 | } |
688 | |
689 | inline void QOpenGLFunctions_3_2_Core::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
690 | { |
691 | d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
692 | } |
693 | |
694 | inline void QOpenGLFunctions_3_2_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) |
695 | { |
696 | d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
697 | } |
698 | |
699 | inline void QOpenGLFunctions_3_2_Core::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
700 | { |
701 | d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); |
702 | } |
703 | |
704 | inline void QOpenGLFunctions_3_2_Core::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
705 | { |
706 | d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); |
707 | } |
708 | |
709 | inline void QOpenGLFunctions_3_2_Core::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
710 | { |
711 | d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); |
712 | } |
713 | |
714 | inline void QOpenGLFunctions_3_2_Core::glSampleCoverage(GLfloat value, GLboolean invert) |
715 | { |
716 | d_1_3_Core->f.SampleCoverage(value, invert); |
717 | } |
718 | |
719 | inline void QOpenGLFunctions_3_2_Core::glActiveTexture(GLenum texture) |
720 | { |
721 | d_1_3_Core->f.ActiveTexture(texture); |
722 | } |
723 | |
724 | |
725 | // OpenGL 1.4 core functions |
726 | inline void QOpenGLFunctions_3_2_Core::glPointParameteriv(GLenum pname, const GLint *params) |
727 | { |
728 | d_1_4_Core->f.PointParameteriv(pname, params); |
729 | } |
730 | |
731 | inline void QOpenGLFunctions_3_2_Core::glPointParameteri(GLenum pname, GLint param) |
732 | { |
733 | d_1_4_Core->f.PointParameteri(pname, param); |
734 | } |
735 | |
736 | inline void QOpenGLFunctions_3_2_Core::glPointParameterfv(GLenum pname, const GLfloat *params) |
737 | { |
738 | d_1_4_Core->f.PointParameterfv(pname, params); |
739 | } |
740 | |
741 | inline void QOpenGLFunctions_3_2_Core::glPointParameterf(GLenum pname, GLfloat param) |
742 | { |
743 | d_1_4_Core->f.PointParameterf(pname, param); |
744 | } |
745 | |
746 | inline void QOpenGLFunctions_3_2_Core::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) |
747 | { |
748 | d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount); |
749 | } |
750 | |
751 | inline void QOpenGLFunctions_3_2_Core::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) |
752 | { |
753 | d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount); |
754 | } |
755 | |
756 | inline void QOpenGLFunctions_3_2_Core::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
757 | { |
758 | d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
759 | } |
760 | |
761 | |
762 | // OpenGL 1.5 core functions |
763 | inline void QOpenGLFunctions_3_2_Core::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params) |
764 | { |
765 | d_1_5_Core->f.GetBufferPointerv(target, pname, params); |
766 | } |
767 | |
768 | inline void QOpenGLFunctions_3_2_Core::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
769 | { |
770 | d_1_5_Core->f.GetBufferParameteriv(target, pname, params); |
771 | } |
772 | |
773 | inline GLboolean QOpenGLFunctions_3_2_Core::glUnmapBuffer(GLenum target) |
774 | { |
775 | return d_1_5_Core->f.UnmapBuffer(target); |
776 | } |
777 | |
778 | inline GLvoid* QOpenGLFunctions_3_2_Core::glMapBuffer(GLenum target, GLenum access) |
779 | { |
780 | return d_1_5_Core->f.MapBuffer(target, access); |
781 | } |
782 | |
783 | inline void QOpenGLFunctions_3_2_Core::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
784 | { |
785 | d_1_5_Core->f.GetBufferSubData(target, offset, size, data); |
786 | } |
787 | |
788 | inline void QOpenGLFunctions_3_2_Core::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
789 | { |
790 | d_1_5_Core->f.BufferSubData(target, offset, size, data); |
791 | } |
792 | |
793 | inline void QOpenGLFunctions_3_2_Core::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
794 | { |
795 | d_1_5_Core->f.BufferData(target, size, data, usage); |
796 | } |
797 | |
798 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsBuffer(GLuint buffer) |
799 | { |
800 | return d_1_5_Core->f.IsBuffer(buffer); |
801 | } |
802 | |
803 | inline void QOpenGLFunctions_3_2_Core::glGenBuffers(GLsizei n, GLuint *buffers) |
804 | { |
805 | d_1_5_Core->f.GenBuffers(n, buffers); |
806 | } |
807 | |
808 | inline void QOpenGLFunctions_3_2_Core::glDeleteBuffers(GLsizei n, const GLuint *buffers) |
809 | { |
810 | d_1_5_Core->f.DeleteBuffers(n, buffers); |
811 | } |
812 | |
813 | inline void QOpenGLFunctions_3_2_Core::glBindBuffer(GLenum target, GLuint buffer) |
814 | { |
815 | d_1_5_Core->f.BindBuffer(target, buffer); |
816 | } |
817 | |
818 | inline void QOpenGLFunctions_3_2_Core::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
819 | { |
820 | d_1_5_Core->f.GetQueryObjectuiv(id, pname, params); |
821 | } |
822 | |
823 | inline void QOpenGLFunctions_3_2_Core::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
824 | { |
825 | d_1_5_Core->f.GetQueryObjectiv(id, pname, params); |
826 | } |
827 | |
828 | inline void QOpenGLFunctions_3_2_Core::glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
829 | { |
830 | d_1_5_Core->f.GetQueryiv(target, pname, params); |
831 | } |
832 | |
833 | inline void QOpenGLFunctions_3_2_Core::glEndQuery(GLenum target) |
834 | { |
835 | d_1_5_Core->f.EndQuery(target); |
836 | } |
837 | |
838 | inline void QOpenGLFunctions_3_2_Core::glBeginQuery(GLenum target, GLuint id) |
839 | { |
840 | d_1_5_Core->f.BeginQuery(target, id); |
841 | } |
842 | |
843 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsQuery(GLuint id) |
844 | { |
845 | return d_1_5_Core->f.IsQuery(id); |
846 | } |
847 | |
848 | inline void QOpenGLFunctions_3_2_Core::glDeleteQueries(GLsizei n, const GLuint *ids) |
849 | { |
850 | d_1_5_Core->f.DeleteQueries(n, ids); |
851 | } |
852 | |
853 | inline void QOpenGLFunctions_3_2_Core::glGenQueries(GLsizei n, GLuint *ids) |
854 | { |
855 | d_1_5_Core->f.GenQueries(n, ids); |
856 | } |
857 | |
858 | |
859 | // OpenGL 2.0 core functions |
860 | inline void QOpenGLFunctions_3_2_Core::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
861 | { |
862 | d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer); |
863 | } |
864 | |
865 | inline void QOpenGLFunctions_3_2_Core::glValidateProgram(GLuint program) |
866 | { |
867 | d_2_0_Core->f.ValidateProgram(program); |
868 | } |
869 | |
870 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
871 | { |
872 | d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value); |
873 | } |
874 | |
875 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
876 | { |
877 | d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value); |
878 | } |
879 | |
880 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
881 | { |
882 | d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value); |
883 | } |
884 | |
885 | inline void QOpenGLFunctions_3_2_Core::glUniform4iv(GLint location, GLsizei count, const GLint *value) |
886 | { |
887 | d_2_0_Core->f.Uniform4iv(location, count, value); |
888 | } |
889 | |
890 | inline void QOpenGLFunctions_3_2_Core::glUniform3iv(GLint location, GLsizei count, const GLint *value) |
891 | { |
892 | d_2_0_Core->f.Uniform3iv(location, count, value); |
893 | } |
894 | |
895 | inline void QOpenGLFunctions_3_2_Core::glUniform2iv(GLint location, GLsizei count, const GLint *value) |
896 | { |
897 | d_2_0_Core->f.Uniform2iv(location, count, value); |
898 | } |
899 | |
900 | inline void QOpenGLFunctions_3_2_Core::glUniform1iv(GLint location, GLsizei count, const GLint *value) |
901 | { |
902 | d_2_0_Core->f.Uniform1iv(location, count, value); |
903 | } |
904 | |
905 | inline void QOpenGLFunctions_3_2_Core::glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
906 | { |
907 | d_2_0_Core->f.Uniform4fv(location, count, value); |
908 | } |
909 | |
910 | inline void QOpenGLFunctions_3_2_Core::glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
911 | { |
912 | d_2_0_Core->f.Uniform3fv(location, count, value); |
913 | } |
914 | |
915 | inline void QOpenGLFunctions_3_2_Core::glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
916 | { |
917 | d_2_0_Core->f.Uniform2fv(location, count, value); |
918 | } |
919 | |
920 | inline void QOpenGLFunctions_3_2_Core::glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
921 | { |
922 | d_2_0_Core->f.Uniform1fv(location, count, value); |
923 | } |
924 | |
925 | inline void QOpenGLFunctions_3_2_Core::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
926 | { |
927 | d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3); |
928 | } |
929 | |
930 | inline void QOpenGLFunctions_3_2_Core::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
931 | { |
932 | d_2_0_Core->f.Uniform3i(location, v0, v1, v2); |
933 | } |
934 | |
935 | inline void QOpenGLFunctions_3_2_Core::glUniform2i(GLint location, GLint v0, GLint v1) |
936 | { |
937 | d_2_0_Core->f.Uniform2i(location, v0, v1); |
938 | } |
939 | |
940 | inline void QOpenGLFunctions_3_2_Core::glUniform1i(GLint location, GLint v0) |
941 | { |
942 | d_2_0_Core->f.Uniform1i(location, v0); |
943 | } |
944 | |
945 | inline void QOpenGLFunctions_3_2_Core::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
946 | { |
947 | d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3); |
948 | } |
949 | |
950 | inline void QOpenGLFunctions_3_2_Core::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
951 | { |
952 | d_2_0_Core->f.Uniform3f(location, v0, v1, v2); |
953 | } |
954 | |
955 | inline void QOpenGLFunctions_3_2_Core::glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
956 | { |
957 | d_2_0_Core->f.Uniform2f(location, v0, v1); |
958 | } |
959 | |
960 | inline void QOpenGLFunctions_3_2_Core::glUniform1f(GLint location, GLfloat v0) |
961 | { |
962 | d_2_0_Core->f.Uniform1f(location, v0); |
963 | } |
964 | |
965 | inline void QOpenGLFunctions_3_2_Core::glUseProgram(GLuint program) |
966 | { |
967 | d_2_0_Core->f.UseProgram(program); |
968 | } |
969 | |
970 | inline void QOpenGLFunctions_3_2_Core::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) |
971 | { |
972 | d_2_0_Core->f.ShaderSource(shader, count, string, length); |
973 | } |
974 | |
975 | inline void QOpenGLFunctions_3_2_Core::glLinkProgram(GLuint program) |
976 | { |
977 | d_2_0_Core->f.LinkProgram(program); |
978 | } |
979 | |
980 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsShader(GLuint shader) |
981 | { |
982 | return d_2_0_Core->f.IsShader(shader); |
983 | } |
984 | |
985 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsProgram(GLuint program) |
986 | { |
987 | return d_2_0_Core->f.IsProgram(program); |
988 | } |
989 | |
990 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer) |
991 | { |
992 | d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer); |
993 | } |
994 | |
995 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
996 | { |
997 | d_2_0_Core->f.GetVertexAttribiv(index, pname, params); |
998 | } |
999 | |
1000 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
1001 | { |
1002 | d_2_0_Core->f.GetVertexAttribfv(index, pname, params); |
1003 | } |
1004 | |
1005 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
1006 | { |
1007 | d_2_0_Core->f.GetVertexAttribdv(index, pname, params); |
1008 | } |
1009 | |
1010 | inline void QOpenGLFunctions_3_2_Core::glGetUniformiv(GLuint program, GLint location, GLint *params) |
1011 | { |
1012 | d_2_0_Core->f.GetUniformiv(program, location, params); |
1013 | } |
1014 | |
1015 | inline void QOpenGLFunctions_3_2_Core::glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
1016 | { |
1017 | d_2_0_Core->f.GetUniformfv(program, location, params); |
1018 | } |
1019 | |
1020 | inline GLint QOpenGLFunctions_3_2_Core::glGetUniformLocation(GLuint program, const GLchar *name) |
1021 | { |
1022 | return d_2_0_Core->f.GetUniformLocation(program, name); |
1023 | } |
1024 | |
1025 | inline void QOpenGLFunctions_3_2_Core::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
1026 | { |
1027 | d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source); |
1028 | } |
1029 | |
1030 | inline void QOpenGLFunctions_3_2_Core::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1031 | { |
1032 | d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog); |
1033 | } |
1034 | |
1035 | inline void QOpenGLFunctions_3_2_Core::glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
1036 | { |
1037 | d_2_0_Core->f.GetShaderiv(shader, pname, params); |
1038 | } |
1039 | |
1040 | inline void QOpenGLFunctions_3_2_Core::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
1041 | { |
1042 | d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog); |
1043 | } |
1044 | |
1045 | inline void QOpenGLFunctions_3_2_Core::glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
1046 | { |
1047 | d_2_0_Core->f.GetProgramiv(program, pname, params); |
1048 | } |
1049 | |
1050 | inline GLint QOpenGLFunctions_3_2_Core::glGetAttribLocation(GLuint program, const GLchar *name) |
1051 | { |
1052 | return d_2_0_Core->f.GetAttribLocation(program, name); |
1053 | } |
1054 | |
1055 | inline void QOpenGLFunctions_3_2_Core::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
1056 | { |
1057 | d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj); |
1058 | } |
1059 | |
1060 | inline void QOpenGLFunctions_3_2_Core::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1061 | { |
1062 | d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name); |
1063 | } |
1064 | |
1065 | inline void QOpenGLFunctions_3_2_Core::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
1066 | { |
1067 | d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name); |
1068 | } |
1069 | |
1070 | inline void QOpenGLFunctions_3_2_Core::glEnableVertexAttribArray(GLuint index) |
1071 | { |
1072 | d_2_0_Core->f.EnableVertexAttribArray(index); |
1073 | } |
1074 | |
1075 | inline void QOpenGLFunctions_3_2_Core::glDisableVertexAttribArray(GLuint index) |
1076 | { |
1077 | d_2_0_Core->f.DisableVertexAttribArray(index); |
1078 | } |
1079 | |
1080 | inline void QOpenGLFunctions_3_2_Core::glDetachShader(GLuint program, GLuint shader) |
1081 | { |
1082 | d_2_0_Core->f.DetachShader(program, shader); |
1083 | } |
1084 | |
1085 | inline void QOpenGLFunctions_3_2_Core::glDeleteShader(GLuint shader) |
1086 | { |
1087 | d_2_0_Core->f.DeleteShader(shader); |
1088 | } |
1089 | |
1090 | inline void QOpenGLFunctions_3_2_Core::glDeleteProgram(GLuint program) |
1091 | { |
1092 | d_2_0_Core->f.DeleteProgram(program); |
1093 | } |
1094 | |
1095 | inline GLuint QOpenGLFunctions_3_2_Core::glCreateShader(GLenum type) |
1096 | { |
1097 | return d_2_0_Core->f.CreateShader(type); |
1098 | } |
1099 | |
1100 | inline GLuint QOpenGLFunctions_3_2_Core::glCreateProgram() |
1101 | { |
1102 | return d_2_0_Core->f.CreateProgram(); |
1103 | } |
1104 | |
1105 | inline void QOpenGLFunctions_3_2_Core::glCompileShader(GLuint shader) |
1106 | { |
1107 | d_2_0_Core->f.CompileShader(shader); |
1108 | } |
1109 | |
1110 | inline void QOpenGLFunctions_3_2_Core::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
1111 | { |
1112 | d_2_0_Core->f.BindAttribLocation(program, index, name); |
1113 | } |
1114 | |
1115 | inline void QOpenGLFunctions_3_2_Core::glAttachShader(GLuint program, GLuint shader) |
1116 | { |
1117 | d_2_0_Core->f.AttachShader(program, shader); |
1118 | } |
1119 | |
1120 | inline void QOpenGLFunctions_3_2_Core::glStencilMaskSeparate(GLenum face, GLuint mask) |
1121 | { |
1122 | d_2_0_Core->f.StencilMaskSeparate(face, mask); |
1123 | } |
1124 | |
1125 | inline void QOpenGLFunctions_3_2_Core::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
1126 | { |
1127 | d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask); |
1128 | } |
1129 | |
1130 | inline void QOpenGLFunctions_3_2_Core::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
1131 | { |
1132 | d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass); |
1133 | } |
1134 | |
1135 | inline void QOpenGLFunctions_3_2_Core::glDrawBuffers(GLsizei n, const GLenum *bufs) |
1136 | { |
1137 | d_2_0_Core->f.DrawBuffers(n, bufs); |
1138 | } |
1139 | |
1140 | inline void QOpenGLFunctions_3_2_Core::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
1141 | { |
1142 | d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha); |
1143 | } |
1144 | |
1145 | |
1146 | // OpenGL 2.1 core functions |
1147 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix4x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1148 | { |
1149 | d_2_1_Core->f.UniformMatrix4x3fv(location, count, transpose, value); |
1150 | } |
1151 | |
1152 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix3x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1153 | { |
1154 | d_2_1_Core->f.UniformMatrix3x4fv(location, count, transpose, value); |
1155 | } |
1156 | |
1157 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix4x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1158 | { |
1159 | d_2_1_Core->f.UniformMatrix4x2fv(location, count, transpose, value); |
1160 | } |
1161 | |
1162 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix2x4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1163 | { |
1164 | d_2_1_Core->f.UniformMatrix2x4fv(location, count, transpose, value); |
1165 | } |
1166 | |
1167 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix3x2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1168 | { |
1169 | d_2_1_Core->f.UniformMatrix3x2fv(location, count, transpose, value); |
1170 | } |
1171 | |
1172 | inline void QOpenGLFunctions_3_2_Core::glUniformMatrix2x3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
1173 | { |
1174 | d_2_1_Core->f.UniformMatrix2x3fv(location, count, transpose, value); |
1175 | } |
1176 | |
1177 | |
1178 | // OpenGL 3.0 core functions |
1179 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsVertexArray(GLuint array) |
1180 | { |
1181 | return d_3_0_Core->f.IsVertexArray(array); |
1182 | } |
1183 | |
1184 | inline void QOpenGLFunctions_3_2_Core::glGenVertexArrays(GLsizei n, GLuint *arrays) |
1185 | { |
1186 | d_3_0_Core->f.GenVertexArrays(n, arrays); |
1187 | } |
1188 | |
1189 | inline void QOpenGLFunctions_3_2_Core::glDeleteVertexArrays(GLsizei n, const GLuint *arrays) |
1190 | { |
1191 | d_3_0_Core->f.DeleteVertexArrays(n, arrays); |
1192 | } |
1193 | |
1194 | inline void QOpenGLFunctions_3_2_Core::glBindVertexArray(GLuint array) |
1195 | { |
1196 | d_3_0_Core->f.BindVertexArray(array); |
1197 | } |
1198 | |
1199 | inline void QOpenGLFunctions_3_2_Core::glFlushMappedBufferRange(GLenum target, GLintptr offset, GLsizeiptr length) |
1200 | { |
1201 | d_3_0_Core->f.FlushMappedBufferRange(target, offset, length); |
1202 | } |
1203 | |
1204 | inline GLvoid* QOpenGLFunctions_3_2_Core::glMapBufferRange(GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access) |
1205 | { |
1206 | return d_3_0_Core->f.MapBufferRange(target, offset, length, access); |
1207 | } |
1208 | |
1209 | inline void QOpenGLFunctions_3_2_Core::glFramebufferTextureLayer(GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer) |
1210 | { |
1211 | d_3_0_Core->f.FramebufferTextureLayer(target, attachment, texture, level, layer); |
1212 | } |
1213 | |
1214 | inline void QOpenGLFunctions_3_2_Core::glRenderbufferStorageMultisample(GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height) |
1215 | { |
1216 | d_3_0_Core->f.RenderbufferStorageMultisample(target, samples, internalformat, width, height); |
1217 | } |
1218 | |
1219 | inline void QOpenGLFunctions_3_2_Core::glBlitFramebuffer(GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter) |
1220 | { |
1221 | d_3_0_Core->f.BlitFramebuffer(srcX0, srcY0, srcX1, srcY1, dstX0, dstY0, dstX1, dstY1, mask, filter); |
1222 | } |
1223 | |
1224 | inline void QOpenGLFunctions_3_2_Core::glGenerateMipmap(GLenum target) |
1225 | { |
1226 | d_3_0_Core->f.GenerateMipmap(target); |
1227 | } |
1228 | |
1229 | inline void QOpenGLFunctions_3_2_Core::glGetFramebufferAttachmentParameteriv(GLenum target, GLenum attachment, GLenum pname, GLint *params) |
1230 | { |
1231 | d_3_0_Core->f.GetFramebufferAttachmentParameteriv(target, attachment, pname, params); |
1232 | } |
1233 | |
1234 | inline void QOpenGLFunctions_3_2_Core::glFramebufferRenderbuffer(GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer) |
1235 | { |
1236 | d_3_0_Core->f.FramebufferRenderbuffer(target, attachment, renderbuffertarget, renderbuffer); |
1237 | } |
1238 | |
1239 | inline void QOpenGLFunctions_3_2_Core::glFramebufferTexture3D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset) |
1240 | { |
1241 | d_3_0_Core->f.FramebufferTexture3D(target, attachment, textarget, texture, level, zoffset); |
1242 | } |
1243 | |
1244 | inline void QOpenGLFunctions_3_2_Core::glFramebufferTexture2D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1245 | { |
1246 | d_3_0_Core->f.FramebufferTexture2D(target, attachment, textarget, texture, level); |
1247 | } |
1248 | |
1249 | inline void QOpenGLFunctions_3_2_Core::glFramebufferTexture1D(GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level) |
1250 | { |
1251 | d_3_0_Core->f.FramebufferTexture1D(target, attachment, textarget, texture, level); |
1252 | } |
1253 | |
1254 | inline GLenum QOpenGLFunctions_3_2_Core::glCheckFramebufferStatus(GLenum target) |
1255 | { |
1256 | return d_3_0_Core->f.CheckFramebufferStatus(target); |
1257 | } |
1258 | |
1259 | inline void QOpenGLFunctions_3_2_Core::glGenFramebuffers(GLsizei n, GLuint *framebuffers) |
1260 | { |
1261 | d_3_0_Core->f.GenFramebuffers(n, framebuffers); |
1262 | } |
1263 | |
1264 | inline void QOpenGLFunctions_3_2_Core::glDeleteFramebuffers(GLsizei n, const GLuint *framebuffers) |
1265 | { |
1266 | d_3_0_Core->f.DeleteFramebuffers(n, framebuffers); |
1267 | } |
1268 | |
1269 | inline void QOpenGLFunctions_3_2_Core::glBindFramebuffer(GLenum target, GLuint framebuffer) |
1270 | { |
1271 | d_3_0_Core->f.BindFramebuffer(target, framebuffer); |
1272 | } |
1273 | |
1274 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsFramebuffer(GLuint framebuffer) |
1275 | { |
1276 | return d_3_0_Core->f.IsFramebuffer(framebuffer); |
1277 | } |
1278 | |
1279 | inline void QOpenGLFunctions_3_2_Core::glGetRenderbufferParameteriv(GLenum target, GLenum pname, GLint *params) |
1280 | { |
1281 | d_3_0_Core->f.GetRenderbufferParameteriv(target, pname, params); |
1282 | } |
1283 | |
1284 | inline void QOpenGLFunctions_3_2_Core::glRenderbufferStorage(GLenum target, GLenum internalformat, GLsizei width, GLsizei height) |
1285 | { |
1286 | d_3_0_Core->f.RenderbufferStorage(target, internalformat, width, height); |
1287 | } |
1288 | |
1289 | inline void QOpenGLFunctions_3_2_Core::glGenRenderbuffers(GLsizei n, GLuint *renderbuffers) |
1290 | { |
1291 | d_3_0_Core->f.GenRenderbuffers(n, renderbuffers); |
1292 | } |
1293 | |
1294 | inline void QOpenGLFunctions_3_2_Core::glDeleteRenderbuffers(GLsizei n, const GLuint *renderbuffers) |
1295 | { |
1296 | d_3_0_Core->f.DeleteRenderbuffers(n, renderbuffers); |
1297 | } |
1298 | |
1299 | inline void QOpenGLFunctions_3_2_Core::glBindRenderbuffer(GLenum target, GLuint renderbuffer) |
1300 | { |
1301 | d_3_0_Core->f.BindRenderbuffer(target, renderbuffer); |
1302 | } |
1303 | |
1304 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsRenderbuffer(GLuint renderbuffer) |
1305 | { |
1306 | return d_3_0_Core->f.IsRenderbuffer(renderbuffer); |
1307 | } |
1308 | |
1309 | inline const GLubyte * QOpenGLFunctions_3_2_Core::glGetStringi(GLenum name, GLuint index) |
1310 | { |
1311 | return d_3_0_Core->f.GetStringi(name, index); |
1312 | } |
1313 | |
1314 | inline void QOpenGLFunctions_3_2_Core::glClearBufferfi(GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil) |
1315 | { |
1316 | d_3_0_Core->f.ClearBufferfi(buffer, drawbuffer, depth, stencil); |
1317 | } |
1318 | |
1319 | inline void QOpenGLFunctions_3_2_Core::glClearBufferfv(GLenum buffer, GLint drawbuffer, const GLfloat *value) |
1320 | { |
1321 | d_3_0_Core->f.ClearBufferfv(buffer, drawbuffer, value); |
1322 | } |
1323 | |
1324 | inline void QOpenGLFunctions_3_2_Core::glClearBufferuiv(GLenum buffer, GLint drawbuffer, const GLuint *value) |
1325 | { |
1326 | d_3_0_Core->f.ClearBufferuiv(buffer, drawbuffer, value); |
1327 | } |
1328 | |
1329 | inline void QOpenGLFunctions_3_2_Core::glClearBufferiv(GLenum buffer, GLint drawbuffer, const GLint *value) |
1330 | { |
1331 | d_3_0_Core->f.ClearBufferiv(buffer, drawbuffer, value); |
1332 | } |
1333 | |
1334 | inline void QOpenGLFunctions_3_2_Core::glGetTexParameterIuiv(GLenum target, GLenum pname, GLuint *params) |
1335 | { |
1336 | d_3_0_Core->f.GetTexParameterIuiv(target, pname, params); |
1337 | } |
1338 | |
1339 | inline void QOpenGLFunctions_3_2_Core::glGetTexParameterIiv(GLenum target, GLenum pname, GLint *params) |
1340 | { |
1341 | d_3_0_Core->f.GetTexParameterIiv(target, pname, params); |
1342 | } |
1343 | |
1344 | inline void QOpenGLFunctions_3_2_Core::glTexParameterIuiv(GLenum target, GLenum pname, const GLuint *params) |
1345 | { |
1346 | d_3_0_Core->f.TexParameterIuiv(target, pname, params); |
1347 | } |
1348 | |
1349 | inline void QOpenGLFunctions_3_2_Core::glTexParameterIiv(GLenum target, GLenum pname, const GLint *params) |
1350 | { |
1351 | d_3_0_Core->f.TexParameterIiv(target, pname, params); |
1352 | } |
1353 | |
1354 | inline void QOpenGLFunctions_3_2_Core::glUniform4uiv(GLint location, GLsizei count, const GLuint *value) |
1355 | { |
1356 | d_3_0_Core->f.Uniform4uiv(location, count, value); |
1357 | } |
1358 | |
1359 | inline void QOpenGLFunctions_3_2_Core::glUniform3uiv(GLint location, GLsizei count, const GLuint *value) |
1360 | { |
1361 | d_3_0_Core->f.Uniform3uiv(location, count, value); |
1362 | } |
1363 | |
1364 | inline void QOpenGLFunctions_3_2_Core::glUniform2uiv(GLint location, GLsizei count, const GLuint *value) |
1365 | { |
1366 | d_3_0_Core->f.Uniform2uiv(location, count, value); |
1367 | } |
1368 | |
1369 | inline void QOpenGLFunctions_3_2_Core::glUniform1uiv(GLint location, GLsizei count, const GLuint *value) |
1370 | { |
1371 | d_3_0_Core->f.Uniform1uiv(location, count, value); |
1372 | } |
1373 | |
1374 | inline void QOpenGLFunctions_3_2_Core::glUniform4ui(GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3) |
1375 | { |
1376 | d_3_0_Core->f.Uniform4ui(location, v0, v1, v2, v3); |
1377 | } |
1378 | |
1379 | inline void QOpenGLFunctions_3_2_Core::glUniform3ui(GLint location, GLuint v0, GLuint v1, GLuint v2) |
1380 | { |
1381 | d_3_0_Core->f.Uniform3ui(location, v0, v1, v2); |
1382 | } |
1383 | |
1384 | inline void QOpenGLFunctions_3_2_Core::glUniform2ui(GLint location, GLuint v0, GLuint v1) |
1385 | { |
1386 | d_3_0_Core->f.Uniform2ui(location, v0, v1); |
1387 | } |
1388 | |
1389 | inline void QOpenGLFunctions_3_2_Core::glUniform1ui(GLint location, GLuint v0) |
1390 | { |
1391 | d_3_0_Core->f.Uniform1ui(location, v0); |
1392 | } |
1393 | |
1394 | inline GLint QOpenGLFunctions_3_2_Core::glGetFragDataLocation(GLuint program, const GLchar *name) |
1395 | { |
1396 | return d_3_0_Core->f.GetFragDataLocation(program, name); |
1397 | } |
1398 | |
1399 | inline void QOpenGLFunctions_3_2_Core::glBindFragDataLocation(GLuint program, GLuint color, const GLchar *name) |
1400 | { |
1401 | d_3_0_Core->f.BindFragDataLocation(program, color, name); |
1402 | } |
1403 | |
1404 | inline void QOpenGLFunctions_3_2_Core::glGetUniformuiv(GLuint program, GLint location, GLuint *params) |
1405 | { |
1406 | d_3_0_Core->f.GetUniformuiv(program, location, params); |
1407 | } |
1408 | |
1409 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribIuiv(GLuint index, GLenum pname, GLuint *params) |
1410 | { |
1411 | d_3_0_Core->f.GetVertexAttribIuiv(index, pname, params); |
1412 | } |
1413 | |
1414 | inline void QOpenGLFunctions_3_2_Core::glGetVertexAttribIiv(GLuint index, GLenum pname, GLint *params) |
1415 | { |
1416 | d_3_0_Core->f.GetVertexAttribIiv(index, pname, params); |
1417 | } |
1418 | |
1419 | inline void QOpenGLFunctions_3_2_Core::glVertexAttribIPointer(GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
1420 | { |
1421 | d_3_0_Core->f.VertexAttribIPointer(index, size, type, stride, pointer); |
1422 | } |
1423 | |
1424 | inline void QOpenGLFunctions_3_2_Core::glEndConditionalRender() |
1425 | { |
1426 | d_3_0_Core->f.EndConditionalRender(); |
1427 | } |
1428 | |
1429 | inline void QOpenGLFunctions_3_2_Core::glBeginConditionalRender(GLuint id, GLenum mode) |
1430 | { |
1431 | d_3_0_Core->f.BeginConditionalRender(id, mode); |
1432 | } |
1433 | |
1434 | inline void QOpenGLFunctions_3_2_Core::glClampColor(GLenum target, GLenum clamp) |
1435 | { |
1436 | d_3_0_Core->f.ClampColor(target, clamp); |
1437 | } |
1438 | |
1439 | inline void QOpenGLFunctions_3_2_Core::glGetTransformFeedbackVarying(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name) |
1440 | { |
1441 | d_3_0_Core->f.GetTransformFeedbackVarying(program, index, bufSize, length, size, type, name); |
1442 | } |
1443 | |
1444 | inline void QOpenGLFunctions_3_2_Core::glTransformFeedbackVaryings(GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode) |
1445 | { |
1446 | d_3_0_Core->f.TransformFeedbackVaryings(program, count, varyings, bufferMode); |
1447 | } |
1448 | |
1449 | inline void QOpenGLFunctions_3_2_Core::glBindBufferBase(GLenum target, GLuint index, GLuint buffer) |
1450 | { |
1451 | d_3_0_Core->f.BindBufferBase(target, index, buffer); |
1452 | } |
1453 | |
1454 | inline void QOpenGLFunctions_3_2_Core::glBindBufferRange(GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size) |
1455 | { |
1456 | d_3_0_Core->f.BindBufferRange(target, index, buffer, offset, size); |
1457 | } |
1458 | |
1459 | inline void QOpenGLFunctions_3_2_Core::glEndTransformFeedback() |
1460 | { |
1461 | d_3_0_Core->f.EndTransformFeedback(); |
1462 | } |
1463 | |
1464 | inline void QOpenGLFunctions_3_2_Core::glBeginTransformFeedback(GLenum primitiveMode) |
1465 | { |
1466 | d_3_0_Core->f.BeginTransformFeedback(primitiveMode); |
1467 | } |
1468 | |
1469 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsEnabledi(GLenum target, GLuint index) |
1470 | { |
1471 | return d_3_0_Core->f.IsEnabledi(target, index); |
1472 | } |
1473 | |
1474 | inline void QOpenGLFunctions_3_2_Core::glDisablei(GLenum target, GLuint index) |
1475 | { |
1476 | d_3_0_Core->f.Disablei(target, index); |
1477 | } |
1478 | |
1479 | inline void QOpenGLFunctions_3_2_Core::glEnablei(GLenum target, GLuint index) |
1480 | { |
1481 | d_3_0_Core->f.Enablei(target, index); |
1482 | } |
1483 | |
1484 | inline void QOpenGLFunctions_3_2_Core::glGetIntegeri_v(GLenum target, GLuint index, GLint *data) |
1485 | { |
1486 | d_3_0_Core->f.GetIntegeri_v(target, index, data); |
1487 | } |
1488 | |
1489 | inline void QOpenGLFunctions_3_2_Core::glGetBooleani_v(GLenum target, GLuint index, GLboolean *data) |
1490 | { |
1491 | d_3_0_Core->f.GetBooleani_v(target, index, data); |
1492 | } |
1493 | |
1494 | inline void QOpenGLFunctions_3_2_Core::glColorMaski(GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a) |
1495 | { |
1496 | d_3_0_Core->f.ColorMaski(index, r, g, b, a); |
1497 | } |
1498 | |
1499 | |
1500 | // OpenGL 3.1 core functions |
1501 | inline void QOpenGLFunctions_3_2_Core::glCopyBufferSubData(GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size) |
1502 | { |
1503 | d_3_1_Core->f.CopyBufferSubData(readTarget, writeTarget, readOffset, writeOffset, size); |
1504 | } |
1505 | |
1506 | inline void QOpenGLFunctions_3_2_Core::glUniformBlockBinding(GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding) |
1507 | { |
1508 | d_3_1_Core->f.UniformBlockBinding(program, uniformBlockIndex, uniformBlockBinding); |
1509 | } |
1510 | |
1511 | inline void QOpenGLFunctions_3_2_Core::glGetActiveUniformBlockName(GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName) |
1512 | { |
1513 | d_3_1_Core->f.GetActiveUniformBlockName(program, uniformBlockIndex, bufSize, length, uniformBlockName); |
1514 | } |
1515 | |
1516 | inline void QOpenGLFunctions_3_2_Core::glGetActiveUniformBlockiv(GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params) |
1517 | { |
1518 | d_3_1_Core->f.GetActiveUniformBlockiv(program, uniformBlockIndex, pname, params); |
1519 | } |
1520 | |
1521 | inline GLuint QOpenGLFunctions_3_2_Core::glGetUniformBlockIndex(GLuint program, const GLchar *uniformBlockName) |
1522 | { |
1523 | return d_3_1_Core->f.GetUniformBlockIndex(program, uniformBlockName); |
1524 | } |
1525 | |
1526 | inline void QOpenGLFunctions_3_2_Core::glGetActiveUniformName(GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName) |
1527 | { |
1528 | d_3_1_Core->f.GetActiveUniformName(program, uniformIndex, bufSize, length, uniformName); |
1529 | } |
1530 | |
1531 | inline void QOpenGLFunctions_3_2_Core::glGetActiveUniformsiv(GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params) |
1532 | { |
1533 | d_3_1_Core->f.GetActiveUniformsiv(program, uniformCount, uniformIndices, pname, params); |
1534 | } |
1535 | |
1536 | inline void QOpenGLFunctions_3_2_Core::glGetUniformIndices(GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices) |
1537 | { |
1538 | d_3_1_Core->f.GetUniformIndices(program, uniformCount, uniformNames, uniformIndices); |
1539 | } |
1540 | |
1541 | inline void QOpenGLFunctions_3_2_Core::glPrimitiveRestartIndex(GLuint index) |
1542 | { |
1543 | d_3_1_Core->f.PrimitiveRestartIndex(index); |
1544 | } |
1545 | |
1546 | inline void QOpenGLFunctions_3_2_Core::glTexBuffer(GLenum target, GLenum internalformat, GLuint buffer) |
1547 | { |
1548 | d_3_1_Core->f.TexBuffer(target, internalformat, buffer); |
1549 | } |
1550 | |
1551 | inline void QOpenGLFunctions_3_2_Core::glDrawElementsInstanced(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount) |
1552 | { |
1553 | d_3_1_Core->f.DrawElementsInstanced(mode, count, type, indices, instancecount); |
1554 | } |
1555 | |
1556 | inline void QOpenGLFunctions_3_2_Core::glDrawArraysInstanced(GLenum mode, GLint first, GLsizei count, GLsizei instancecount) |
1557 | { |
1558 | d_3_1_Core->f.DrawArraysInstanced(mode, first, count, instancecount); |
1559 | } |
1560 | |
1561 | |
1562 | // OpenGL 3.2 core functions |
1563 | inline void QOpenGLFunctions_3_2_Core::glSampleMaski(GLuint index, GLbitfield mask) |
1564 | { |
1565 | d_3_2_Core->f.SampleMaski(index, mask); |
1566 | } |
1567 | |
1568 | inline void QOpenGLFunctions_3_2_Core::glGetMultisamplefv(GLenum pname, GLuint index, GLfloat *val) |
1569 | { |
1570 | d_3_2_Core->f.GetMultisamplefv(pname, index, val); |
1571 | } |
1572 | |
1573 | inline void QOpenGLFunctions_3_2_Core::glTexImage3DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations) |
1574 | { |
1575 | d_3_2_Core->f.TexImage3DMultisample(target, samples, internalformat, width, height, depth, fixedsamplelocations); |
1576 | } |
1577 | |
1578 | inline void QOpenGLFunctions_3_2_Core::glTexImage2DMultisample(GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations) |
1579 | { |
1580 | d_3_2_Core->f.TexImage2DMultisample(target, samples, internalformat, width, height, fixedsamplelocations); |
1581 | } |
1582 | |
1583 | inline void QOpenGLFunctions_3_2_Core::glGetSynciv(GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values) |
1584 | { |
1585 | d_3_2_Core->f.GetSynciv(sync, pname, bufSize, length, values); |
1586 | } |
1587 | |
1588 | inline void QOpenGLFunctions_3_2_Core::glGetInteger64v(GLenum pname, GLint64 *params) |
1589 | { |
1590 | d_3_2_Core->f.GetInteger64v(pname, params); |
1591 | } |
1592 | |
1593 | inline void QOpenGLFunctions_3_2_Core::glWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
1594 | { |
1595 | d_3_2_Core->f.WaitSync(sync, flags, timeout); |
1596 | } |
1597 | |
1598 | inline GLenum QOpenGLFunctions_3_2_Core::glClientWaitSync(GLsync sync, GLbitfield flags, GLuint64 timeout) |
1599 | { |
1600 | return d_3_2_Core->f.ClientWaitSync(sync, flags, timeout); |
1601 | } |
1602 | |
1603 | inline void QOpenGLFunctions_3_2_Core::glDeleteSync(GLsync sync) |
1604 | { |
1605 | d_3_2_Core->f.DeleteSync(sync); |
1606 | } |
1607 | |
1608 | inline GLboolean QOpenGLFunctions_3_2_Core::glIsSync(GLsync sync) |
1609 | { |
1610 | return d_3_2_Core->f.IsSync(sync); |
1611 | } |
1612 | |
1613 | inline GLsync QOpenGLFunctions_3_2_Core::glFenceSync(GLenum condition, GLbitfield flags) |
1614 | { |
1615 | return d_3_2_Core->f.FenceSync(condition, flags); |
1616 | } |
1617 | |
1618 | inline void QOpenGLFunctions_3_2_Core::glProvokingVertex(GLenum mode) |
1619 | { |
1620 | d_3_2_Core->f.ProvokingVertex(mode); |
1621 | } |
1622 | |
1623 | inline void QOpenGLFunctions_3_2_Core::glMultiDrawElementsBaseVertex(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex) |
1624 | { |
1625 | d_3_2_Core->f.MultiDrawElementsBaseVertex(mode, count, type, indices, drawcount, basevertex); |
1626 | } |
1627 | |
1628 | inline void QOpenGLFunctions_3_2_Core::glDrawElementsInstancedBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex) |
1629 | { |
1630 | d_3_2_Core->f.DrawElementsInstancedBaseVertex(mode, count, type, indices, instancecount, basevertex); |
1631 | } |
1632 | |
1633 | inline void QOpenGLFunctions_3_2_Core::glDrawRangeElementsBaseVertex(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
1634 | { |
1635 | d_3_2_Core->f.DrawRangeElementsBaseVertex(mode, start, end, count, type, indices, basevertex); |
1636 | } |
1637 | |
1638 | inline void QOpenGLFunctions_3_2_Core::glDrawElementsBaseVertex(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex) |
1639 | { |
1640 | d_3_2_Core->f.DrawElementsBaseVertex(mode, count, type, indices, basevertex); |
1641 | } |
1642 | |
1643 | inline void QOpenGLFunctions_3_2_Core::glFramebufferTexture(GLenum target, GLenum attachment, GLuint texture, GLint level) |
1644 | { |
1645 | d_3_2_Core->f.FramebufferTexture(target, attachment, texture, level); |
1646 | } |
1647 | |
1648 | inline void QOpenGLFunctions_3_2_Core::glGetBufferParameteri64v(GLenum target, GLenum pname, GLint64 *params) |
1649 | { |
1650 | d_3_2_Core->f.GetBufferParameteri64v(target, pname, params); |
1651 | } |
1652 | |
1653 | inline void QOpenGLFunctions_3_2_Core::glGetInteger64i_v(GLenum target, GLuint index, GLint64 *data) |
1654 | { |
1655 | d_3_2_Core->f.GetInteger64i_v(target, index, data); |
1656 | } |
1657 | |
1658 | |
1659 | |
1660 | QT_END_NAMESPACE |
1661 | |
1662 | #endif // QT_NO_OPENGL && !QT_CONFIG(opengles2) |
1663 | |
1664 | #endif |
1665 | |