| 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 QtOpenGL 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_2_0_H |
| 51 | #define QOPENGLVERSIONFUNCTIONS_2_0_H |
| 52 | |
| 53 | #include <QtOpenGL/qtopenglglobal.h> |
| 54 | |
| 55 | #if !defined(QT_NO_OPENGL) && !QT_CONFIG(opengles2) |
| 56 | |
| 57 | #include <QtOpenGL/QOpenGLVersionProfile> |
| 58 | #include <QtOpenGL/QOpenGLVersionFunctions> |
| 59 | #include <QtGui/qopenglcontext.h> |
| 60 | |
| 61 | QT_BEGIN_NAMESPACE |
| 62 | |
| 63 | class Q_OPENGL_EXPORT QOpenGLFunctions_2_0 : public QAbstractOpenGLFunctions |
| 64 | { |
| 65 | public: |
| 66 | QOpenGLFunctions_2_0(); |
| 67 | ~QOpenGLFunctions_2_0(); |
| 68 | |
| 69 | bool initializeOpenGLFunctions() override; |
| 70 | |
| 71 | // OpenGL 1.0 core functions |
| 72 | void glViewport(GLint x, GLint y, GLsizei width, GLsizei height); |
| 73 | void glDepthRange(GLdouble nearVal, GLdouble farVal); |
| 74 | GLboolean glIsEnabled(GLenum cap); |
| 75 | void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params); |
| 76 | void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params); |
| 77 | void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params); |
| 78 | void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 79 | void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels); |
| 80 | const GLubyte * glGetString(GLenum name); |
| 81 | void glGetIntegerv(GLenum pname, GLint *params); |
| 82 | void glGetFloatv(GLenum pname, GLfloat *params); |
| 83 | GLenum glGetError(); |
| 84 | void glGetDoublev(GLenum pname, GLdouble *params); |
| 85 | void glGetBooleanv(GLenum pname, GLboolean *params); |
| 86 | void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels); |
| 87 | void glReadBuffer(GLenum mode); |
| 88 | void glPixelStorei(GLenum pname, GLint param); |
| 89 | void glPixelStoref(GLenum pname, GLfloat param); |
| 90 | void glDepthFunc(GLenum func); |
| 91 | void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass); |
| 92 | void glStencilFunc(GLenum func, GLint ref, GLuint mask); |
| 93 | void glLogicOp(GLenum opcode); |
| 94 | void glBlendFunc(GLenum sfactor, GLenum dfactor); |
| 95 | void glFlush(); |
| 96 | void glFinish(); |
| 97 | void glEnable(GLenum cap); |
| 98 | void glDisable(GLenum cap); |
| 99 | void glDepthMask(GLboolean flag); |
| 100 | void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha); |
| 101 | void glStencilMask(GLuint mask); |
| 102 | void glClearDepth(GLdouble depth); |
| 103 | void glClearStencil(GLint s); |
| 104 | void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 105 | void glClear(GLbitfield mask); |
| 106 | void glDrawBuffer(GLenum mode); |
| 107 | void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
| 108 | void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
| 109 | void glTexParameteriv(GLenum target, GLenum pname, const GLint *params); |
| 110 | void glTexParameteri(GLenum target, GLenum pname, GLint param); |
| 111 | void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
| 112 | void glTexParameterf(GLenum target, GLenum pname, GLfloat param); |
| 113 | void glScissor(GLint x, GLint y, GLsizei width, GLsizei height); |
| 114 | void glPolygonMode(GLenum face, GLenum mode); |
| 115 | void glPointSize(GLfloat size); |
| 116 | void glLineWidth(GLfloat width); |
| 117 | void glHint(GLenum target, GLenum mode); |
| 118 | void glFrontFace(GLenum mode); |
| 119 | void glCullFace(GLenum mode); |
| 120 | |
| 121 | // OpenGL 1.1 core functions |
| 122 | void glIndexubv(const GLubyte *c); |
| 123 | void glIndexub(GLubyte c); |
| 124 | GLboolean glIsTexture(GLuint texture); |
| 125 | void glGenTextures(GLsizei n, GLuint *textures); |
| 126 | void glDeleteTextures(GLsizei n, const GLuint *textures); |
| 127 | void glBindTexture(GLenum target, GLuint texture); |
| 128 | void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
| 129 | void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels); |
| 130 | void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
| 131 | void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width); |
| 132 | void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border); |
| 133 | void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border); |
| 134 | void glPolygonOffset(GLfloat factor, GLfloat units); |
| 135 | void glGetPointerv(GLenum pname, GLvoid* *params); |
| 136 | void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices); |
| 137 | void glDrawArrays(GLenum mode, GLint first, GLsizei count); |
| 138 | |
| 139 | // OpenGL 1.2 core functions |
| 140 | void glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height); |
| 141 | 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); |
| 142 | void glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels); |
| 143 | void glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices); |
| 144 | void glBlendEquation(GLenum mode); |
| 145 | void glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 146 | |
| 147 | // OpenGL 1.3 core functions |
| 148 | void glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img); |
| 149 | void glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data); |
| 150 | void glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data); |
| 151 | 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); |
| 152 | void glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data); |
| 153 | void glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data); |
| 154 | void glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data); |
| 155 | void glSampleCoverage(GLfloat value, GLboolean invert); |
| 156 | void glActiveTexture(GLenum texture); |
| 157 | |
| 158 | // OpenGL 1.4 core functions |
| 159 | void glPointParameteriv(GLenum pname, const GLint *params); |
| 160 | void glPointParameteri(GLenum pname, GLint param); |
| 161 | void glPointParameterfv(GLenum pname, const GLfloat *params); |
| 162 | void glPointParameterf(GLenum pname, GLfloat param); |
| 163 | void glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount); |
| 164 | void glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount); |
| 165 | void glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha); |
| 166 | |
| 167 | // OpenGL 1.5 core functions |
| 168 | void glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params); |
| 169 | void glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params); |
| 170 | GLboolean glUnmapBuffer(GLenum target); |
| 171 | GLvoid* glMapBuffer(GLenum target, GLenum access); |
| 172 | void glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data); |
| 173 | void glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data); |
| 174 | void glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage); |
| 175 | GLboolean glIsBuffer(GLuint buffer); |
| 176 | void glGenBuffers(GLsizei n, GLuint *buffers); |
| 177 | void glDeleteBuffers(GLsizei n, const GLuint *buffers); |
| 178 | void glBindBuffer(GLenum target, GLuint buffer); |
| 179 | void glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params); |
| 180 | void glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params); |
| 181 | void glGetQueryiv(GLenum target, GLenum pname, GLint *params); |
| 182 | void glEndQuery(GLenum target); |
| 183 | void glBeginQuery(GLenum target, GLuint id); |
| 184 | GLboolean glIsQuery(GLuint id); |
| 185 | void glDeleteQueries(GLsizei n, const GLuint *ids); |
| 186 | void glGenQueries(GLsizei n, GLuint *ids); |
| 187 | |
| 188 | // OpenGL 2.0 core functions |
| 189 | void glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer); |
| 190 | void glValidateProgram(GLuint program); |
| 191 | void glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 192 | void glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 193 | void glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value); |
| 194 | void glUniform4iv(GLint location, GLsizei count, const GLint *value); |
| 195 | void glUniform3iv(GLint location, GLsizei count, const GLint *value); |
| 196 | void glUniform2iv(GLint location, GLsizei count, const GLint *value); |
| 197 | void glUniform1iv(GLint location, GLsizei count, const GLint *value); |
| 198 | void glUniform4fv(GLint location, GLsizei count, const GLfloat *value); |
| 199 | void glUniform3fv(GLint location, GLsizei count, const GLfloat *value); |
| 200 | void glUniform2fv(GLint location, GLsizei count, const GLfloat *value); |
| 201 | void glUniform1fv(GLint location, GLsizei count, const GLfloat *value); |
| 202 | void glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3); |
| 203 | void glUniform3i(GLint location, GLint v0, GLint v1, GLint v2); |
| 204 | void glUniform2i(GLint location, GLint v0, GLint v1); |
| 205 | void glUniform1i(GLint location, GLint v0); |
| 206 | void glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3); |
| 207 | void glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2); |
| 208 | void glUniform2f(GLint location, GLfloat v0, GLfloat v1); |
| 209 | void glUniform1f(GLint location, GLfloat v0); |
| 210 | void glUseProgram(GLuint program); |
| 211 | void glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length); |
| 212 | void glLinkProgram(GLuint program); |
| 213 | GLboolean glIsShader(GLuint shader); |
| 214 | GLboolean glIsProgram(GLuint program); |
| 215 | void glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer); |
| 216 | void glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params); |
| 217 | void glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params); |
| 218 | void glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params); |
| 219 | void glGetUniformiv(GLuint program, GLint location, GLint *params); |
| 220 | void glGetUniformfv(GLuint program, GLint location, GLfloat *params); |
| 221 | GLint glGetUniformLocation(GLuint program, const GLchar *name); |
| 222 | void glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source); |
| 223 | void glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
| 224 | void glGetShaderiv(GLuint shader, GLenum pname, GLint *params); |
| 225 | void glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog); |
| 226 | void glGetProgramiv(GLuint program, GLenum pname, GLint *params); |
| 227 | GLint glGetAttribLocation(GLuint program, const GLchar *name); |
| 228 | void glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj); |
| 229 | void glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
| 230 | void glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name); |
| 231 | void glEnableVertexAttribArray(GLuint index); |
| 232 | void glDisableVertexAttribArray(GLuint index); |
| 233 | void glDetachShader(GLuint program, GLuint shader); |
| 234 | void glDeleteShader(GLuint shader); |
| 235 | void glDeleteProgram(GLuint program); |
| 236 | GLuint glCreateShader(GLenum type); |
| 237 | GLuint glCreateProgram(); |
| 238 | void glCompileShader(GLuint shader); |
| 239 | void glBindAttribLocation(GLuint program, GLuint index, const GLchar *name); |
| 240 | void glAttachShader(GLuint program, GLuint shader); |
| 241 | void glStencilMaskSeparate(GLenum face, GLuint mask); |
| 242 | void glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask); |
| 243 | void glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass); |
| 244 | void glDrawBuffers(GLsizei n, const GLenum *bufs); |
| 245 | void glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha); |
| 246 | |
| 247 | // OpenGL 1.0 deprecated functions |
| 248 | void glTranslatef(GLfloat x, GLfloat y, GLfloat z); |
| 249 | void glTranslated(GLdouble x, GLdouble y, GLdouble z); |
| 250 | void glScalef(GLfloat x, GLfloat y, GLfloat z); |
| 251 | void glScaled(GLdouble x, GLdouble y, GLdouble z); |
| 252 | void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); |
| 253 | void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); |
| 254 | void glPushMatrix(); |
| 255 | void glPopMatrix(); |
| 256 | void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
| 257 | void glMultMatrixd(const GLdouble *m); |
| 258 | void glMultMatrixf(const GLfloat *m); |
| 259 | void glMatrixMode(GLenum mode); |
| 260 | void glLoadMatrixd(const GLdouble *m); |
| 261 | void glLoadMatrixf(const GLfloat *m); |
| 262 | void glLoadIdentity(); |
| 263 | void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
| 264 | GLboolean glIsList(GLuint list); |
| 265 | void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params); |
| 266 | void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params); |
| 267 | void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params); |
| 268 | void glGetTexEnviv(GLenum target, GLenum pname, GLint *params); |
| 269 | void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); |
| 270 | void glGetPolygonStipple(GLubyte *mask); |
| 271 | void glGetPixelMapusv(GLenum map, GLushort *values); |
| 272 | void glGetPixelMapuiv(GLenum map, GLuint *values); |
| 273 | void glGetPixelMapfv(GLenum map, GLfloat *values); |
| 274 | void glGetMaterialiv(GLenum face, GLenum pname, GLint *params); |
| 275 | void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); |
| 276 | void glGetMapiv(GLenum target, GLenum query, GLint *v); |
| 277 | void glGetMapfv(GLenum target, GLenum query, GLfloat *v); |
| 278 | void glGetMapdv(GLenum target, GLenum query, GLdouble *v); |
| 279 | void glGetLightiv(GLenum light, GLenum pname, GLint *params); |
| 280 | void glGetLightfv(GLenum light, GLenum pname, GLfloat *params); |
| 281 | void glGetClipPlane(GLenum plane, GLdouble *equation); |
| 282 | void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
| 283 | void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); |
| 284 | void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values); |
| 285 | void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values); |
| 286 | void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values); |
| 287 | void glPixelTransferi(GLenum pname, GLint param); |
| 288 | void glPixelTransferf(GLenum pname, GLfloat param); |
| 289 | void glPixelZoom(GLfloat xfactor, GLfloat yfactor); |
| 290 | void glAlphaFunc(GLenum func, GLfloat ref); |
| 291 | void glEvalPoint2(GLint i, GLint j); |
| 292 | void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); |
| 293 | void glEvalPoint1(GLint i); |
| 294 | void glEvalMesh1(GLenum mode, GLint i1, GLint i2); |
| 295 | void glEvalCoord2fv(const GLfloat *u); |
| 296 | void glEvalCoord2f(GLfloat u, GLfloat v); |
| 297 | void glEvalCoord2dv(const GLdouble *u); |
| 298 | void glEvalCoord2d(GLdouble u, GLdouble v); |
| 299 | void glEvalCoord1fv(const GLfloat *u); |
| 300 | void glEvalCoord1f(GLfloat u); |
| 301 | void glEvalCoord1dv(const GLdouble *u); |
| 302 | void glEvalCoord1d(GLdouble u); |
| 303 | void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); |
| 304 | void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); |
| 305 | void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); |
| 306 | void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); |
| 307 | void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); |
| 308 | void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); |
| 309 | void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); |
| 310 | void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); |
| 311 | void glPushAttrib(GLbitfield mask); |
| 312 | void glPopAttrib(); |
| 313 | void glAccum(GLenum op, GLfloat value); |
| 314 | void glIndexMask(GLuint mask); |
| 315 | void glClearIndex(GLfloat c); |
| 316 | void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 317 | void glPushName(GLuint name); |
| 318 | void glPopName(); |
| 319 | void glPassThrough(GLfloat token); |
| 320 | void glLoadName(GLuint name); |
| 321 | void glInitNames(); |
| 322 | GLint glRenderMode(GLenum mode); |
| 323 | void glSelectBuffer(GLsizei size, GLuint *buffer); |
| 324 | void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); |
| 325 | void glTexGeniv(GLenum coord, GLenum pname, const GLint *params); |
| 326 | void glTexGeni(GLenum coord, GLenum pname, GLint param); |
| 327 | void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); |
| 328 | void glTexGenf(GLenum coord, GLenum pname, GLfloat param); |
| 329 | void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); |
| 330 | void glTexGend(GLenum coord, GLenum pname, GLdouble param); |
| 331 | void glTexEnviv(GLenum target, GLenum pname, const GLint *params); |
| 332 | void glTexEnvi(GLenum target, GLenum pname, GLint param); |
| 333 | void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); |
| 334 | void glTexEnvf(GLenum target, GLenum pname, GLfloat param); |
| 335 | void glShadeModel(GLenum mode); |
| 336 | void glPolygonStipple(const GLubyte *mask); |
| 337 | void glMaterialiv(GLenum face, GLenum pname, const GLint *params); |
| 338 | void glMateriali(GLenum face, GLenum pname, GLint param); |
| 339 | void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); |
| 340 | void glMaterialf(GLenum face, GLenum pname, GLfloat param); |
| 341 | void glLineStipple(GLint factor, GLushort pattern); |
| 342 | void glLightModeliv(GLenum pname, const GLint *params); |
| 343 | void glLightModeli(GLenum pname, GLint param); |
| 344 | void glLightModelfv(GLenum pname, const GLfloat *params); |
| 345 | void glLightModelf(GLenum pname, GLfloat param); |
| 346 | void glLightiv(GLenum light, GLenum pname, const GLint *params); |
| 347 | void glLighti(GLenum light, GLenum pname, GLint param); |
| 348 | void glLightfv(GLenum light, GLenum pname, const GLfloat *params); |
| 349 | void glLightf(GLenum light, GLenum pname, GLfloat param); |
| 350 | void glFogiv(GLenum pname, const GLint *params); |
| 351 | void glFogi(GLenum pname, GLint param); |
| 352 | void glFogfv(GLenum pname, const GLfloat *params); |
| 353 | void glFogf(GLenum pname, GLfloat param); |
| 354 | void glColorMaterial(GLenum face, GLenum mode); |
| 355 | void glClipPlane(GLenum plane, const GLdouble *equation); |
| 356 | void glVertex4sv(const GLshort *v); |
| 357 | void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w); |
| 358 | void glVertex4iv(const GLint *v); |
| 359 | void glVertex4i(GLint x, GLint y, GLint z, GLint w); |
| 360 | void glVertex4fv(const GLfloat *v); |
| 361 | void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 362 | void glVertex4dv(const GLdouble *v); |
| 363 | void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 364 | void glVertex3sv(const GLshort *v); |
| 365 | void glVertex3s(GLshort x, GLshort y, GLshort z); |
| 366 | void glVertex3iv(const GLint *v); |
| 367 | void glVertex3i(GLint x, GLint y, GLint z); |
| 368 | void glVertex3fv(const GLfloat *v); |
| 369 | void glVertex3f(GLfloat x, GLfloat y, GLfloat z); |
| 370 | void glVertex3dv(const GLdouble *v); |
| 371 | void glVertex3d(GLdouble x, GLdouble y, GLdouble z); |
| 372 | void glVertex2sv(const GLshort *v); |
| 373 | void glVertex2s(GLshort x, GLshort y); |
| 374 | void glVertex2iv(const GLint *v); |
| 375 | void glVertex2i(GLint x, GLint y); |
| 376 | void glVertex2fv(const GLfloat *v); |
| 377 | void glVertex2f(GLfloat x, GLfloat y); |
| 378 | void glVertex2dv(const GLdouble *v); |
| 379 | void glVertex2d(GLdouble x, GLdouble y); |
| 380 | void glTexCoord4sv(const GLshort *v); |
| 381 | void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q); |
| 382 | void glTexCoord4iv(const GLint *v); |
| 383 | void glTexCoord4i(GLint s, GLint t, GLint r, GLint q); |
| 384 | void glTexCoord4fv(const GLfloat *v); |
| 385 | void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
| 386 | void glTexCoord4dv(const GLdouble *v); |
| 387 | void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
| 388 | void glTexCoord3sv(const GLshort *v); |
| 389 | void glTexCoord3s(GLshort s, GLshort t, GLshort r); |
| 390 | void glTexCoord3iv(const GLint *v); |
| 391 | void glTexCoord3i(GLint s, GLint t, GLint r); |
| 392 | void glTexCoord3fv(const GLfloat *v); |
| 393 | void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); |
| 394 | void glTexCoord3dv(const GLdouble *v); |
| 395 | void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r); |
| 396 | void glTexCoord2sv(const GLshort *v); |
| 397 | void glTexCoord2s(GLshort s, GLshort t); |
| 398 | void glTexCoord2iv(const GLint *v); |
| 399 | void glTexCoord2i(GLint s, GLint t); |
| 400 | void glTexCoord2fv(const GLfloat *v); |
| 401 | void glTexCoord2f(GLfloat s, GLfloat t); |
| 402 | void glTexCoord2dv(const GLdouble *v); |
| 403 | void glTexCoord2d(GLdouble s, GLdouble t); |
| 404 | void glTexCoord1sv(const GLshort *v); |
| 405 | void glTexCoord1s(GLshort s); |
| 406 | void glTexCoord1iv(const GLint *v); |
| 407 | void glTexCoord1i(GLint s); |
| 408 | void glTexCoord1fv(const GLfloat *v); |
| 409 | void glTexCoord1f(GLfloat s); |
| 410 | void glTexCoord1dv(const GLdouble *v); |
| 411 | void glTexCoord1d(GLdouble s); |
| 412 | void glRectsv(const GLshort *v1, const GLshort *v2); |
| 413 | void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2); |
| 414 | void glRectiv(const GLint *v1, const GLint *v2); |
| 415 | void glRecti(GLint x1, GLint y1, GLint x2, GLint y2); |
| 416 | void glRectfv(const GLfloat *v1, const GLfloat *v2); |
| 417 | void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); |
| 418 | void glRectdv(const GLdouble *v1, const GLdouble *v2); |
| 419 | void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); |
| 420 | void glRasterPos4sv(const GLshort *v); |
| 421 | void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); |
| 422 | void glRasterPos4iv(const GLint *v); |
| 423 | void glRasterPos4i(GLint x, GLint y, GLint z, GLint w); |
| 424 | void glRasterPos4fv(const GLfloat *v); |
| 425 | void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 426 | void glRasterPos4dv(const GLdouble *v); |
| 427 | void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 428 | void glRasterPos3sv(const GLshort *v); |
| 429 | void glRasterPos3s(GLshort x, GLshort y, GLshort z); |
| 430 | void glRasterPos3iv(const GLint *v); |
| 431 | void glRasterPos3i(GLint x, GLint y, GLint z); |
| 432 | void glRasterPos3fv(const GLfloat *v); |
| 433 | void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); |
| 434 | void glRasterPos3dv(const GLdouble *v); |
| 435 | void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z); |
| 436 | void glRasterPos2sv(const GLshort *v); |
| 437 | void glRasterPos2s(GLshort x, GLshort y); |
| 438 | void glRasterPos2iv(const GLint *v); |
| 439 | void glRasterPos2i(GLint x, GLint y); |
| 440 | void glRasterPos2fv(const GLfloat *v); |
| 441 | void glRasterPos2f(GLfloat x, GLfloat y); |
| 442 | void glRasterPos2dv(const GLdouble *v); |
| 443 | void glRasterPos2d(GLdouble x, GLdouble y); |
| 444 | void glNormal3sv(const GLshort *v); |
| 445 | void glNormal3s(GLshort nx, GLshort ny, GLshort nz); |
| 446 | void glNormal3iv(const GLint *v); |
| 447 | void glNormal3i(GLint nx, GLint ny, GLint nz); |
| 448 | void glNormal3fv(const GLfloat *v); |
| 449 | void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); |
| 450 | void glNormal3dv(const GLdouble *v); |
| 451 | void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz); |
| 452 | void glNormal3bv(const GLbyte *v); |
| 453 | void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz); |
| 454 | void glIndexsv(const GLshort *c); |
| 455 | void glIndexs(GLshort c); |
| 456 | void glIndexiv(const GLint *c); |
| 457 | void glIndexi(GLint c); |
| 458 | void glIndexfv(const GLfloat *c); |
| 459 | void glIndexf(GLfloat c); |
| 460 | void glIndexdv(const GLdouble *c); |
| 461 | void glIndexd(GLdouble c); |
| 462 | void glEnd(); |
| 463 | void glEdgeFlagv(const GLboolean *flag); |
| 464 | void glEdgeFlag(GLboolean flag); |
| 465 | void glColor4usv(const GLushort *v); |
| 466 | void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha); |
| 467 | void glColor4uiv(const GLuint *v); |
| 468 | void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha); |
| 469 | void glColor4ubv(const GLubyte *v); |
| 470 | void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); |
| 471 | void glColor4sv(const GLshort *v); |
| 472 | void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha); |
| 473 | void glColor4iv(const GLint *v); |
| 474 | void glColor4i(GLint red, GLint green, GLint blue, GLint alpha); |
| 475 | void glColor4fv(const GLfloat *v); |
| 476 | void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 477 | void glColor4dv(const GLdouble *v); |
| 478 | void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); |
| 479 | void glColor4bv(const GLbyte *v); |
| 480 | void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); |
| 481 | void glColor3usv(const GLushort *v); |
| 482 | void glColor3us(GLushort red, GLushort green, GLushort blue); |
| 483 | void glColor3uiv(const GLuint *v); |
| 484 | void glColor3ui(GLuint red, GLuint green, GLuint blue); |
| 485 | void glColor3ubv(const GLubyte *v); |
| 486 | void glColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
| 487 | void glColor3sv(const GLshort *v); |
| 488 | void glColor3s(GLshort red, GLshort green, GLshort blue); |
| 489 | void glColor3iv(const GLint *v); |
| 490 | void glColor3i(GLint red, GLint green, GLint blue); |
| 491 | void glColor3fv(const GLfloat *v); |
| 492 | void glColor3f(GLfloat red, GLfloat green, GLfloat blue); |
| 493 | void glColor3dv(const GLdouble *v); |
| 494 | void glColor3d(GLdouble red, GLdouble green, GLdouble blue); |
| 495 | void glColor3bv(const GLbyte *v); |
| 496 | void glColor3b(GLbyte red, GLbyte green, GLbyte blue); |
| 497 | void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); |
| 498 | void glBegin(GLenum mode); |
| 499 | void glListBase(GLuint base); |
| 500 | GLuint glGenLists(GLsizei range); |
| 501 | void glDeleteLists(GLuint list, GLsizei range); |
| 502 | void glCallLists(GLsizei n, GLenum type, const GLvoid *lists); |
| 503 | void glCallList(GLuint list); |
| 504 | void glEndList(); |
| 505 | void glNewList(GLuint list, GLenum mode); |
| 506 | |
| 507 | // OpenGL 1.1 deprecated functions |
| 508 | void glPushClientAttrib(GLbitfield mask); |
| 509 | void glPopClientAttrib(); |
| 510 | void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); |
| 511 | GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); |
| 512 | void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 513 | void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 514 | void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 515 | void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer); |
| 516 | void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 517 | void glEnableClientState(GLenum array); |
| 518 | void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer); |
| 519 | void glDisableClientState(GLenum array); |
| 520 | void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 521 | void glArrayElement(GLint i); |
| 522 | |
| 523 | // OpenGL 1.2 deprecated functions |
| 524 | void glResetMinmax(GLenum target); |
| 525 | void glResetHistogram(GLenum target); |
| 526 | void glMinmax(GLenum target, GLenum internalformat, GLboolean sink); |
| 527 | void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); |
| 528 | void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params); |
| 529 | void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 530 | void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
| 531 | void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params); |
| 532 | void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 533 | void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
| 534 | void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); |
| 535 | void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); |
| 536 | void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); |
| 537 | void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 538 | void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image); |
| 539 | void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); |
| 540 | void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
| 541 | void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); |
| 542 | void glConvolutionParameteri(GLenum target, GLenum pname, GLint params); |
| 543 | void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
| 544 | void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); |
| 545 | void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); |
| 546 | void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); |
| 547 | void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); |
| 548 | void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); |
| 549 | void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params); |
| 550 | void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 551 | void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table); |
| 552 | void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
| 553 | void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); |
| 554 | void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
| 555 | void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); |
| 556 | |
| 557 | // OpenGL 1.3 deprecated functions |
| 558 | void glMultTransposeMatrixd(const GLdouble *m); |
| 559 | void glMultTransposeMatrixf(const GLfloat *m); |
| 560 | void glLoadTransposeMatrixd(const GLdouble *m); |
| 561 | void glLoadTransposeMatrixf(const GLfloat *m); |
| 562 | void glMultiTexCoord4sv(GLenum target, const GLshort *v); |
| 563 | void glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q); |
| 564 | void glMultiTexCoord4iv(GLenum target, const GLint *v); |
| 565 | void glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q); |
| 566 | void glMultiTexCoord4fv(GLenum target, const GLfloat *v); |
| 567 | void glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
| 568 | void glMultiTexCoord4dv(GLenum target, const GLdouble *v); |
| 569 | void glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
| 570 | void glMultiTexCoord3sv(GLenum target, const GLshort *v); |
| 571 | void glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r); |
| 572 | void glMultiTexCoord3iv(GLenum target, const GLint *v); |
| 573 | void glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r); |
| 574 | void glMultiTexCoord3fv(GLenum target, const GLfloat *v); |
| 575 | void glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r); |
| 576 | void glMultiTexCoord3dv(GLenum target, const GLdouble *v); |
| 577 | void glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r); |
| 578 | void glMultiTexCoord2sv(GLenum target, const GLshort *v); |
| 579 | void glMultiTexCoord2s(GLenum target, GLshort s, GLshort t); |
| 580 | void glMultiTexCoord2iv(GLenum target, const GLint *v); |
| 581 | void glMultiTexCoord2i(GLenum target, GLint s, GLint t); |
| 582 | void glMultiTexCoord2fv(GLenum target, const GLfloat *v); |
| 583 | void glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t); |
| 584 | void glMultiTexCoord2dv(GLenum target, const GLdouble *v); |
| 585 | void glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t); |
| 586 | void glMultiTexCoord1sv(GLenum target, const GLshort *v); |
| 587 | void glMultiTexCoord1s(GLenum target, GLshort s); |
| 588 | void glMultiTexCoord1iv(GLenum target, const GLint *v); |
| 589 | void glMultiTexCoord1i(GLenum target, GLint s); |
| 590 | void glMultiTexCoord1fv(GLenum target, const GLfloat *v); |
| 591 | void glMultiTexCoord1f(GLenum target, GLfloat s); |
| 592 | void glMultiTexCoord1dv(GLenum target, const GLdouble *v); |
| 593 | void glMultiTexCoord1d(GLenum target, GLdouble s); |
| 594 | void glClientActiveTexture(GLenum texture); |
| 595 | |
| 596 | // OpenGL 1.4 deprecated functions |
| 597 | void glWindowPos3sv(const GLshort *v); |
| 598 | void glWindowPos3s(GLshort x, GLshort y, GLshort z); |
| 599 | void glWindowPos3iv(const GLint *v); |
| 600 | void glWindowPos3i(GLint x, GLint y, GLint z); |
| 601 | void glWindowPos3fv(const GLfloat *v); |
| 602 | void glWindowPos3f(GLfloat x, GLfloat y, GLfloat z); |
| 603 | void glWindowPos3dv(const GLdouble *v); |
| 604 | void glWindowPos3d(GLdouble x, GLdouble y, GLdouble z); |
| 605 | void glWindowPos2sv(const GLshort *v); |
| 606 | void glWindowPos2s(GLshort x, GLshort y); |
| 607 | void glWindowPos2iv(const GLint *v); |
| 608 | void glWindowPos2i(GLint x, GLint y); |
| 609 | void glWindowPos2fv(const GLfloat *v); |
| 610 | void glWindowPos2f(GLfloat x, GLfloat y); |
| 611 | void glWindowPos2dv(const GLdouble *v); |
| 612 | void glWindowPos2d(GLdouble x, GLdouble y); |
| 613 | void glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 614 | void glSecondaryColor3usv(const GLushort *v); |
| 615 | void glSecondaryColor3us(GLushort red, GLushort green, GLushort blue); |
| 616 | void glSecondaryColor3uiv(const GLuint *v); |
| 617 | void glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue); |
| 618 | void glSecondaryColor3ubv(const GLubyte *v); |
| 619 | void glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
| 620 | void glSecondaryColor3sv(const GLshort *v); |
| 621 | void glSecondaryColor3s(GLshort red, GLshort green, GLshort blue); |
| 622 | void glSecondaryColor3iv(const GLint *v); |
| 623 | void glSecondaryColor3i(GLint red, GLint green, GLint blue); |
| 624 | void glSecondaryColor3fv(const GLfloat *v); |
| 625 | void glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue); |
| 626 | void glSecondaryColor3dv(const GLdouble *v); |
| 627 | void glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue); |
| 628 | void glSecondaryColor3bv(const GLbyte *v); |
| 629 | void glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue); |
| 630 | void glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 631 | void glFogCoorddv(const GLdouble *coord); |
| 632 | void glFogCoordd(GLdouble coord); |
| 633 | void glFogCoordfv(const GLfloat *coord); |
| 634 | void glFogCoordf(GLfloat coord); |
| 635 | |
| 636 | // OpenGL 1.5 deprecated functions |
| 637 | |
| 638 | // OpenGL 2.0 deprecated functions |
| 639 | void glVertexAttrib4usv(GLuint index, const GLushort *v); |
| 640 | void glVertexAttrib4uiv(GLuint index, const GLuint *v); |
| 641 | void glVertexAttrib4ubv(GLuint index, const GLubyte *v); |
| 642 | void glVertexAttrib4sv(GLuint index, const GLshort *v); |
| 643 | void glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w); |
| 644 | void glVertexAttrib4iv(GLuint index, const GLint *v); |
| 645 | void glVertexAttrib4fv(GLuint index, const GLfloat *v); |
| 646 | void glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 647 | void glVertexAttrib4dv(GLuint index, const GLdouble *v); |
| 648 | void glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 649 | void glVertexAttrib4bv(GLuint index, const GLbyte *v); |
| 650 | void glVertexAttrib4Nusv(GLuint index, const GLushort *v); |
| 651 | void glVertexAttrib4Nuiv(GLuint index, const GLuint *v); |
| 652 | void glVertexAttrib4Nubv(GLuint index, const GLubyte *v); |
| 653 | void glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w); |
| 654 | void glVertexAttrib4Nsv(GLuint index, const GLshort *v); |
| 655 | void glVertexAttrib4Niv(GLuint index, const GLint *v); |
| 656 | void glVertexAttrib4Nbv(GLuint index, const GLbyte *v); |
| 657 | void glVertexAttrib3sv(GLuint index, const GLshort *v); |
| 658 | void glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z); |
| 659 | void glVertexAttrib3fv(GLuint index, const GLfloat *v); |
| 660 | void glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z); |
| 661 | void glVertexAttrib3dv(GLuint index, const GLdouble *v); |
| 662 | void glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z); |
| 663 | void glVertexAttrib2sv(GLuint index, const GLshort *v); |
| 664 | void glVertexAttrib2s(GLuint index, GLshort x, GLshort y); |
| 665 | void glVertexAttrib2fv(GLuint index, const GLfloat *v); |
| 666 | void glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y); |
| 667 | void glVertexAttrib2dv(GLuint index, const GLdouble *v); |
| 668 | void glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y); |
| 669 | void glVertexAttrib1sv(GLuint index, const GLshort *v); |
| 670 | void glVertexAttrib1s(GLuint index, GLshort x); |
| 671 | void glVertexAttrib1fv(GLuint index, const GLfloat *v); |
| 672 | void glVertexAttrib1f(GLuint index, GLfloat x); |
| 673 | void glVertexAttrib1dv(GLuint index, const GLdouble *v); |
| 674 | void glVertexAttrib1d(GLuint index, GLdouble x); |
| 675 | |
| 676 | private: |
| 677 | friend class QOpenGLVersionFunctionsFactory; |
| 678 | |
| 679 | static bool isContextCompatible(QOpenGLContext *context); |
| 680 | static QOpenGLVersionProfile versionProfile(); |
| 681 | |
| 682 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
| 683 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
| 684 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
| 685 | QOpenGLFunctions_1_3_CoreBackend* d_1_3_Core; |
| 686 | QOpenGLFunctions_1_4_CoreBackend* d_1_4_Core; |
| 687 | QOpenGLFunctions_1_5_CoreBackend* d_1_5_Core; |
| 688 | QOpenGLFunctions_2_0_CoreBackend* d_2_0_Core; |
| 689 | QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated; |
| 690 | QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated; |
| 691 | QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated; |
| 692 | QOpenGLFunctions_1_3_DeprecatedBackend* d_1_3_Deprecated; |
| 693 | QOpenGLFunctions_1_4_DeprecatedBackend* d_1_4_Deprecated; |
| 694 | void *m_reserved_2_0_Deprecated; // To maintain BC |
| 695 | }; |
| 696 | |
| 697 | // OpenGL 1.0 core functions |
| 698 | inline void QOpenGLFunctions_2_0::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
| 699 | { |
| 700 | d_1_0_Core->f.Viewport(x, y, width, height); |
| 701 | } |
| 702 | |
| 703 | inline void QOpenGLFunctions_2_0::glDepthRange(GLdouble nearVal, GLdouble farVal) |
| 704 | { |
| 705 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
| 706 | } |
| 707 | |
| 708 | inline GLboolean QOpenGLFunctions_2_0::glIsEnabled(GLenum cap) |
| 709 | { |
| 710 | return d_1_0_Core->f.IsEnabled(cap); |
| 711 | } |
| 712 | |
| 713 | inline void QOpenGLFunctions_2_0::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
| 714 | { |
| 715 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
| 716 | } |
| 717 | |
| 718 | inline void QOpenGLFunctions_2_0::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
| 719 | { |
| 720 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
| 721 | } |
| 722 | |
| 723 | inline void QOpenGLFunctions_2_0::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
| 724 | { |
| 725 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
| 726 | } |
| 727 | |
| 728 | inline void QOpenGLFunctions_2_0::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 729 | { |
| 730 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
| 731 | } |
| 732 | |
| 733 | inline void QOpenGLFunctions_2_0::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| 734 | { |
| 735 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
| 736 | } |
| 737 | |
| 738 | inline const GLubyte * QOpenGLFunctions_2_0::glGetString(GLenum name) |
| 739 | { |
| 740 | return d_1_0_Core->f.GetString(name); |
| 741 | } |
| 742 | |
| 743 | inline void QOpenGLFunctions_2_0::glGetIntegerv(GLenum pname, GLint *params) |
| 744 | { |
| 745 | d_1_0_Core->f.GetIntegerv(pname, params); |
| 746 | } |
| 747 | |
| 748 | inline void QOpenGLFunctions_2_0::glGetFloatv(GLenum pname, GLfloat *params) |
| 749 | { |
| 750 | d_1_0_Core->f.GetFloatv(pname, params); |
| 751 | } |
| 752 | |
| 753 | inline GLenum QOpenGLFunctions_2_0::glGetError() |
| 754 | { |
| 755 | return d_1_0_Core->f.GetError(); |
| 756 | } |
| 757 | |
| 758 | inline void QOpenGLFunctions_2_0::glGetDoublev(GLenum pname, GLdouble *params) |
| 759 | { |
| 760 | d_1_0_Core->f.GetDoublev(pname, params); |
| 761 | } |
| 762 | |
| 763 | inline void QOpenGLFunctions_2_0::glGetBooleanv(GLenum pname, GLboolean *params) |
| 764 | { |
| 765 | d_1_0_Core->f.GetBooleanv(pname, params); |
| 766 | } |
| 767 | |
| 768 | inline void QOpenGLFunctions_2_0::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
| 769 | { |
| 770 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
| 771 | } |
| 772 | |
| 773 | inline void QOpenGLFunctions_2_0::glReadBuffer(GLenum mode) |
| 774 | { |
| 775 | d_1_0_Core->f.ReadBuffer(mode); |
| 776 | } |
| 777 | |
| 778 | inline void QOpenGLFunctions_2_0::glPixelStorei(GLenum pname, GLint param) |
| 779 | { |
| 780 | d_1_0_Core->f.PixelStorei(pname, param); |
| 781 | } |
| 782 | |
| 783 | inline void QOpenGLFunctions_2_0::glPixelStoref(GLenum pname, GLfloat param) |
| 784 | { |
| 785 | d_1_0_Core->f.PixelStoref(pname, param); |
| 786 | } |
| 787 | |
| 788 | inline void QOpenGLFunctions_2_0::glDepthFunc(GLenum func) |
| 789 | { |
| 790 | d_1_0_Core->f.DepthFunc(func); |
| 791 | } |
| 792 | |
| 793 | inline void QOpenGLFunctions_2_0::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
| 794 | { |
| 795 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
| 796 | } |
| 797 | |
| 798 | inline void QOpenGLFunctions_2_0::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
| 799 | { |
| 800 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
| 801 | } |
| 802 | |
| 803 | inline void QOpenGLFunctions_2_0::glLogicOp(GLenum opcode) |
| 804 | { |
| 805 | d_1_0_Core->f.LogicOp(opcode); |
| 806 | } |
| 807 | |
| 808 | inline void QOpenGLFunctions_2_0::glBlendFunc(GLenum sfactor, GLenum dfactor) |
| 809 | { |
| 810 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
| 811 | } |
| 812 | |
| 813 | inline void QOpenGLFunctions_2_0::glFlush() |
| 814 | { |
| 815 | d_1_0_Core->f.Flush(); |
| 816 | } |
| 817 | |
| 818 | inline void QOpenGLFunctions_2_0::glFinish() |
| 819 | { |
| 820 | d_1_0_Core->f.Finish(); |
| 821 | } |
| 822 | |
| 823 | inline void QOpenGLFunctions_2_0::glEnable(GLenum cap) |
| 824 | { |
| 825 | d_1_0_Core->f.Enable(cap); |
| 826 | } |
| 827 | |
| 828 | inline void QOpenGLFunctions_2_0::glDisable(GLenum cap) |
| 829 | { |
| 830 | d_1_0_Core->f.Disable(cap); |
| 831 | } |
| 832 | |
| 833 | inline void QOpenGLFunctions_2_0::glDepthMask(GLboolean flag) |
| 834 | { |
| 835 | d_1_0_Core->f.DepthMask(flag); |
| 836 | } |
| 837 | |
| 838 | inline void QOpenGLFunctions_2_0::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| 839 | { |
| 840 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
| 841 | } |
| 842 | |
| 843 | inline void QOpenGLFunctions_2_0::glStencilMask(GLuint mask) |
| 844 | { |
| 845 | d_1_0_Core->f.StencilMask(mask); |
| 846 | } |
| 847 | |
| 848 | inline void QOpenGLFunctions_2_0::glClearDepth(GLdouble depth) |
| 849 | { |
| 850 | d_1_0_Core->f.ClearDepth(depth); |
| 851 | } |
| 852 | |
| 853 | inline void QOpenGLFunctions_2_0::glClearStencil(GLint s) |
| 854 | { |
| 855 | d_1_0_Core->f.ClearStencil(s); |
| 856 | } |
| 857 | |
| 858 | inline void QOpenGLFunctions_2_0::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 859 | { |
| 860 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
| 861 | } |
| 862 | |
| 863 | inline void QOpenGLFunctions_2_0::glClear(GLbitfield mask) |
| 864 | { |
| 865 | d_1_0_Core->f.Clear(mask); |
| 866 | } |
| 867 | |
| 868 | inline void QOpenGLFunctions_2_0::glDrawBuffer(GLenum mode) |
| 869 | { |
| 870 | d_1_0_Core->f.DrawBuffer(mode); |
| 871 | } |
| 872 | |
| 873 | inline void QOpenGLFunctions_2_0::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 874 | { |
| 875 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
| 876 | } |
| 877 | |
| 878 | inline void QOpenGLFunctions_2_0::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 879 | { |
| 880 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
| 881 | } |
| 882 | |
| 883 | inline void QOpenGLFunctions_2_0::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 884 | { |
| 885 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
| 886 | } |
| 887 | |
| 888 | inline void QOpenGLFunctions_2_0::glTexParameteri(GLenum target, GLenum pname, GLint param) |
| 889 | { |
| 890 | d_1_0_Core->f.TexParameteri(target, pname, param); |
| 891 | } |
| 892 | |
| 893 | inline void QOpenGLFunctions_2_0::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 894 | { |
| 895 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
| 896 | } |
| 897 | |
| 898 | inline void QOpenGLFunctions_2_0::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
| 899 | { |
| 900 | d_1_0_Core->f.TexParameterf(target, pname, param); |
| 901 | } |
| 902 | |
| 903 | inline void QOpenGLFunctions_2_0::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
| 904 | { |
| 905 | d_1_0_Core->f.Scissor(x, y, width, height); |
| 906 | } |
| 907 | |
| 908 | inline void QOpenGLFunctions_2_0::glPolygonMode(GLenum face, GLenum mode) |
| 909 | { |
| 910 | d_1_0_Core->f.PolygonMode(face, mode); |
| 911 | } |
| 912 | |
| 913 | inline void QOpenGLFunctions_2_0::glPointSize(GLfloat size) |
| 914 | { |
| 915 | d_1_0_Core->f.PointSize(size); |
| 916 | } |
| 917 | |
| 918 | inline void QOpenGLFunctions_2_0::glLineWidth(GLfloat width) |
| 919 | { |
| 920 | d_1_0_Core->f.LineWidth(width); |
| 921 | } |
| 922 | |
| 923 | inline void QOpenGLFunctions_2_0::glHint(GLenum target, GLenum mode) |
| 924 | { |
| 925 | d_1_0_Core->f.Hint(target, mode); |
| 926 | } |
| 927 | |
| 928 | inline void QOpenGLFunctions_2_0::glFrontFace(GLenum mode) |
| 929 | { |
| 930 | d_1_0_Core->f.FrontFace(mode); |
| 931 | } |
| 932 | |
| 933 | inline void QOpenGLFunctions_2_0::glCullFace(GLenum mode) |
| 934 | { |
| 935 | d_1_0_Core->f.CullFace(mode); |
| 936 | } |
| 937 | |
| 938 | |
| 939 | // OpenGL 1.1 core functions |
| 940 | inline void QOpenGLFunctions_2_0::glIndexubv(const GLubyte *c) |
| 941 | { |
| 942 | d_1_1_Deprecated->f.Indexubv(c); |
| 943 | } |
| 944 | |
| 945 | inline void QOpenGLFunctions_2_0::glIndexub(GLubyte c) |
| 946 | { |
| 947 | d_1_1_Deprecated->f.Indexub(c); |
| 948 | } |
| 949 | |
| 950 | inline GLboolean QOpenGLFunctions_2_0::glIsTexture(GLuint texture) |
| 951 | { |
| 952 | return d_1_1_Core->f.IsTexture(texture); |
| 953 | } |
| 954 | |
| 955 | inline void QOpenGLFunctions_2_0::glGenTextures(GLsizei n, GLuint *textures) |
| 956 | { |
| 957 | d_1_1_Core->f.GenTextures(n, textures); |
| 958 | } |
| 959 | |
| 960 | inline void QOpenGLFunctions_2_0::glDeleteTextures(GLsizei n, const GLuint *textures) |
| 961 | { |
| 962 | d_1_1_Core->f.DeleteTextures(n, textures); |
| 963 | } |
| 964 | |
| 965 | inline void QOpenGLFunctions_2_0::glBindTexture(GLenum target, GLuint texture) |
| 966 | { |
| 967 | d_1_1_Core->f.BindTexture(target, texture); |
| 968 | } |
| 969 | |
| 970 | inline void QOpenGLFunctions_2_0::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 971 | { |
| 972 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| 973 | } |
| 974 | |
| 975 | inline void QOpenGLFunctions_2_0::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| 976 | { |
| 977 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
| 978 | } |
| 979 | |
| 980 | inline void QOpenGLFunctions_2_0::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 981 | { |
| 982 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
| 983 | } |
| 984 | |
| 985 | inline void QOpenGLFunctions_2_0::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| 986 | { |
| 987 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
| 988 | } |
| 989 | |
| 990 | inline void QOpenGLFunctions_2_0::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| 991 | { |
| 992 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
| 993 | } |
| 994 | |
| 995 | inline void QOpenGLFunctions_2_0::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| 996 | { |
| 997 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
| 998 | } |
| 999 | |
| 1000 | inline void QOpenGLFunctions_2_0::glPolygonOffset(GLfloat factor, GLfloat units) |
| 1001 | { |
| 1002 | d_1_1_Core->f.PolygonOffset(factor, units); |
| 1003 | } |
| 1004 | |
| 1005 | inline void QOpenGLFunctions_2_0::glGetPointerv(GLenum pname, GLvoid* *params) |
| 1006 | { |
| 1007 | d_1_1_Deprecated->f.GetPointerv(pname, params); |
| 1008 | } |
| 1009 | |
| 1010 | inline void QOpenGLFunctions_2_0::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
| 1011 | { |
| 1012 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
| 1013 | } |
| 1014 | |
| 1015 | inline void QOpenGLFunctions_2_0::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
| 1016 | { |
| 1017 | d_1_1_Core->f.DrawArrays(mode, first, count); |
| 1018 | } |
| 1019 | |
| 1020 | |
| 1021 | // OpenGL 1.2 core functions |
| 1022 | inline void QOpenGLFunctions_2_0::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 1023 | { |
| 1024 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 1025 | } |
| 1026 | |
| 1027 | inline void QOpenGLFunctions_2_0::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| 1028 | { |
| 1029 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| 1030 | } |
| 1031 | |
| 1032 | inline void QOpenGLFunctions_2_0::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 1033 | { |
| 1034 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
| 1035 | } |
| 1036 | |
| 1037 | inline void QOpenGLFunctions_2_0::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
| 1038 | { |
| 1039 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
| 1040 | } |
| 1041 | |
| 1042 | inline void QOpenGLFunctions_2_0::glBlendEquation(GLenum mode) |
| 1043 | { |
| 1044 | d_1_2_Core->f.BlendEquation(mode); |
| 1045 | } |
| 1046 | |
| 1047 | inline void QOpenGLFunctions_2_0::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 1048 | { |
| 1049 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
| 1050 | } |
| 1051 | |
| 1052 | |
| 1053 | // OpenGL 1.3 core functions |
| 1054 | inline void QOpenGLFunctions_2_0::glGetCompressedTexImage(GLenum target, GLint level, GLvoid *img) |
| 1055 | { |
| 1056 | d_1_3_Core->f.GetCompressedTexImage(target, level, img); |
| 1057 | } |
| 1058 | |
| 1059 | inline void QOpenGLFunctions_2_0::glCompressedTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data) |
| 1060 | { |
| 1061 | d_1_3_Core->f.CompressedTexSubImage1D(target, level, xoffset, width, format, imageSize, data); |
| 1062 | } |
| 1063 | |
| 1064 | inline void QOpenGLFunctions_2_0::glCompressedTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data) |
| 1065 | { |
| 1066 | d_1_3_Core->f.CompressedTexSubImage2D(target, level, xoffset, yoffset, width, height, format, imageSize, data); |
| 1067 | } |
| 1068 | |
| 1069 | inline void QOpenGLFunctions_2_0::glCompressedTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data) |
| 1070 | { |
| 1071 | d_1_3_Core->f.CompressedTexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, imageSize, data); |
| 1072 | } |
| 1073 | |
| 1074 | inline void QOpenGLFunctions_2_0::glCompressedTexImage1D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data) |
| 1075 | { |
| 1076 | d_1_3_Core->f.CompressedTexImage1D(target, level, internalformat, width, border, imageSize, data); |
| 1077 | } |
| 1078 | |
| 1079 | inline void QOpenGLFunctions_2_0::glCompressedTexImage2D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data) |
| 1080 | { |
| 1081 | d_1_3_Core->f.CompressedTexImage2D(target, level, internalformat, width, height, border, imageSize, data); |
| 1082 | } |
| 1083 | |
| 1084 | inline void QOpenGLFunctions_2_0::glCompressedTexImage3D(GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data) |
| 1085 | { |
| 1086 | d_1_3_Core->f.CompressedTexImage3D(target, level, internalformat, width, height, depth, border, imageSize, data); |
| 1087 | } |
| 1088 | |
| 1089 | inline void QOpenGLFunctions_2_0::glSampleCoverage(GLfloat value, GLboolean invert) |
| 1090 | { |
| 1091 | d_1_3_Core->f.SampleCoverage(value, invert); |
| 1092 | } |
| 1093 | |
| 1094 | inline void QOpenGLFunctions_2_0::glActiveTexture(GLenum texture) |
| 1095 | { |
| 1096 | d_1_3_Core->f.ActiveTexture(texture); |
| 1097 | } |
| 1098 | |
| 1099 | |
| 1100 | // OpenGL 1.4 core functions |
| 1101 | inline void QOpenGLFunctions_2_0::glPointParameteriv(GLenum pname, const GLint *params) |
| 1102 | { |
| 1103 | d_1_4_Core->f.PointParameteriv(pname, params); |
| 1104 | } |
| 1105 | |
| 1106 | inline void QOpenGLFunctions_2_0::glPointParameteri(GLenum pname, GLint param) |
| 1107 | { |
| 1108 | d_1_4_Core->f.PointParameteri(pname, param); |
| 1109 | } |
| 1110 | |
| 1111 | inline void QOpenGLFunctions_2_0::glPointParameterfv(GLenum pname, const GLfloat *params) |
| 1112 | { |
| 1113 | d_1_4_Core->f.PointParameterfv(pname, params); |
| 1114 | } |
| 1115 | |
| 1116 | inline void QOpenGLFunctions_2_0::glPointParameterf(GLenum pname, GLfloat param) |
| 1117 | { |
| 1118 | d_1_4_Core->f.PointParameterf(pname, param); |
| 1119 | } |
| 1120 | |
| 1121 | inline void QOpenGLFunctions_2_0::glMultiDrawElements(GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount) |
| 1122 | { |
| 1123 | d_1_4_Core->f.MultiDrawElements(mode, count, type, indices, drawcount); |
| 1124 | } |
| 1125 | |
| 1126 | inline void QOpenGLFunctions_2_0::glMultiDrawArrays(GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount) |
| 1127 | { |
| 1128 | d_1_4_Core->f.MultiDrawArrays(mode, first, count, drawcount); |
| 1129 | } |
| 1130 | |
| 1131 | inline void QOpenGLFunctions_2_0::glBlendFuncSeparate(GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha) |
| 1132 | { |
| 1133 | d_1_4_Core->f.BlendFuncSeparate(sfactorRGB, dfactorRGB, sfactorAlpha, dfactorAlpha); |
| 1134 | } |
| 1135 | |
| 1136 | |
| 1137 | // OpenGL 1.5 core functions |
| 1138 | inline void QOpenGLFunctions_2_0::glGetBufferPointerv(GLenum target, GLenum pname, GLvoid* *params) |
| 1139 | { |
| 1140 | d_1_5_Core->f.GetBufferPointerv(target, pname, params); |
| 1141 | } |
| 1142 | |
| 1143 | inline void QOpenGLFunctions_2_0::glGetBufferParameteriv(GLenum target, GLenum pname, GLint *params) |
| 1144 | { |
| 1145 | d_1_5_Core->f.GetBufferParameteriv(target, pname, params); |
| 1146 | } |
| 1147 | |
| 1148 | inline GLboolean QOpenGLFunctions_2_0::glUnmapBuffer(GLenum target) |
| 1149 | { |
| 1150 | return d_1_5_Core->f.UnmapBuffer(target); |
| 1151 | } |
| 1152 | |
| 1153 | inline GLvoid* QOpenGLFunctions_2_0::glMapBuffer(GLenum target, GLenum access) |
| 1154 | { |
| 1155 | return d_1_5_Core->f.MapBuffer(target, access); |
| 1156 | } |
| 1157 | |
| 1158 | inline void QOpenGLFunctions_2_0::glGetBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data) |
| 1159 | { |
| 1160 | d_1_5_Core->f.GetBufferSubData(target, offset, size, data); |
| 1161 | } |
| 1162 | |
| 1163 | inline void QOpenGLFunctions_2_0::glBufferSubData(GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data) |
| 1164 | { |
| 1165 | d_1_5_Core->f.BufferSubData(target, offset, size, data); |
| 1166 | } |
| 1167 | |
| 1168 | inline void QOpenGLFunctions_2_0::glBufferData(GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage) |
| 1169 | { |
| 1170 | d_1_5_Core->f.BufferData(target, size, data, usage); |
| 1171 | } |
| 1172 | |
| 1173 | inline GLboolean QOpenGLFunctions_2_0::glIsBuffer(GLuint buffer) |
| 1174 | { |
| 1175 | return d_1_5_Core->f.IsBuffer(buffer); |
| 1176 | } |
| 1177 | |
| 1178 | inline void QOpenGLFunctions_2_0::glGenBuffers(GLsizei n, GLuint *buffers) |
| 1179 | { |
| 1180 | d_1_5_Core->f.GenBuffers(n, buffers); |
| 1181 | } |
| 1182 | |
| 1183 | inline void QOpenGLFunctions_2_0::glDeleteBuffers(GLsizei n, const GLuint *buffers) |
| 1184 | { |
| 1185 | d_1_5_Core->f.DeleteBuffers(n, buffers); |
| 1186 | } |
| 1187 | |
| 1188 | inline void QOpenGLFunctions_2_0::glBindBuffer(GLenum target, GLuint buffer) |
| 1189 | { |
| 1190 | d_1_5_Core->f.BindBuffer(target, buffer); |
| 1191 | } |
| 1192 | |
| 1193 | inline void QOpenGLFunctions_2_0::glGetQueryObjectuiv(GLuint id, GLenum pname, GLuint *params) |
| 1194 | { |
| 1195 | d_1_5_Core->f.GetQueryObjectuiv(id, pname, params); |
| 1196 | } |
| 1197 | |
| 1198 | inline void QOpenGLFunctions_2_0::glGetQueryObjectiv(GLuint id, GLenum pname, GLint *params) |
| 1199 | { |
| 1200 | d_1_5_Core->f.GetQueryObjectiv(id, pname, params); |
| 1201 | } |
| 1202 | |
| 1203 | inline void QOpenGLFunctions_2_0::glGetQueryiv(GLenum target, GLenum pname, GLint *params) |
| 1204 | { |
| 1205 | d_1_5_Core->f.GetQueryiv(target, pname, params); |
| 1206 | } |
| 1207 | |
| 1208 | inline void QOpenGLFunctions_2_0::glEndQuery(GLenum target) |
| 1209 | { |
| 1210 | d_1_5_Core->f.EndQuery(target); |
| 1211 | } |
| 1212 | |
| 1213 | inline void QOpenGLFunctions_2_0::glBeginQuery(GLenum target, GLuint id) |
| 1214 | { |
| 1215 | d_1_5_Core->f.BeginQuery(target, id); |
| 1216 | } |
| 1217 | |
| 1218 | inline GLboolean QOpenGLFunctions_2_0::glIsQuery(GLuint id) |
| 1219 | { |
| 1220 | return d_1_5_Core->f.IsQuery(id); |
| 1221 | } |
| 1222 | |
| 1223 | inline void QOpenGLFunctions_2_0::glDeleteQueries(GLsizei n, const GLuint *ids) |
| 1224 | { |
| 1225 | d_1_5_Core->f.DeleteQueries(n, ids); |
| 1226 | } |
| 1227 | |
| 1228 | inline void QOpenGLFunctions_2_0::glGenQueries(GLsizei n, GLuint *ids) |
| 1229 | { |
| 1230 | d_1_5_Core->f.GenQueries(n, ids); |
| 1231 | } |
| 1232 | |
| 1233 | |
| 1234 | // OpenGL 2.0 core functions |
| 1235 | inline void QOpenGLFunctions_2_0::glVertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer) |
| 1236 | { |
| 1237 | d_2_0_Core->f.VertexAttribPointer(index, size, type, normalized, stride, pointer); |
| 1238 | } |
| 1239 | |
| 1240 | inline void QOpenGLFunctions_2_0::glValidateProgram(GLuint program) |
| 1241 | { |
| 1242 | d_2_0_Core->f.ValidateProgram(program); |
| 1243 | } |
| 1244 | |
| 1245 | inline void QOpenGLFunctions_2_0::glUniformMatrix4fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| 1246 | { |
| 1247 | d_2_0_Core->f.UniformMatrix4fv(location, count, transpose, value); |
| 1248 | } |
| 1249 | |
| 1250 | inline void QOpenGLFunctions_2_0::glUniformMatrix3fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| 1251 | { |
| 1252 | d_2_0_Core->f.UniformMatrix3fv(location, count, transpose, value); |
| 1253 | } |
| 1254 | |
| 1255 | inline void QOpenGLFunctions_2_0::glUniformMatrix2fv(GLint location, GLsizei count, GLboolean transpose, const GLfloat *value) |
| 1256 | { |
| 1257 | d_2_0_Core->f.UniformMatrix2fv(location, count, transpose, value); |
| 1258 | } |
| 1259 | |
| 1260 | inline void QOpenGLFunctions_2_0::glUniform4iv(GLint location, GLsizei count, const GLint *value) |
| 1261 | { |
| 1262 | d_2_0_Core->f.Uniform4iv(location, count, value); |
| 1263 | } |
| 1264 | |
| 1265 | inline void QOpenGLFunctions_2_0::glUniform3iv(GLint location, GLsizei count, const GLint *value) |
| 1266 | { |
| 1267 | d_2_0_Core->f.Uniform3iv(location, count, value); |
| 1268 | } |
| 1269 | |
| 1270 | inline void QOpenGLFunctions_2_0::glUniform2iv(GLint location, GLsizei count, const GLint *value) |
| 1271 | { |
| 1272 | d_2_0_Core->f.Uniform2iv(location, count, value); |
| 1273 | } |
| 1274 | |
| 1275 | inline void QOpenGLFunctions_2_0::glUniform1iv(GLint location, GLsizei count, const GLint *value) |
| 1276 | { |
| 1277 | d_2_0_Core->f.Uniform1iv(location, count, value); |
| 1278 | } |
| 1279 | |
| 1280 | inline void QOpenGLFunctions_2_0::glUniform4fv(GLint location, GLsizei count, const GLfloat *value) |
| 1281 | { |
| 1282 | d_2_0_Core->f.Uniform4fv(location, count, value); |
| 1283 | } |
| 1284 | |
| 1285 | inline void QOpenGLFunctions_2_0::glUniform3fv(GLint location, GLsizei count, const GLfloat *value) |
| 1286 | { |
| 1287 | d_2_0_Core->f.Uniform3fv(location, count, value); |
| 1288 | } |
| 1289 | |
| 1290 | inline void QOpenGLFunctions_2_0::glUniform2fv(GLint location, GLsizei count, const GLfloat *value) |
| 1291 | { |
| 1292 | d_2_0_Core->f.Uniform2fv(location, count, value); |
| 1293 | } |
| 1294 | |
| 1295 | inline void QOpenGLFunctions_2_0::glUniform1fv(GLint location, GLsizei count, const GLfloat *value) |
| 1296 | { |
| 1297 | d_2_0_Core->f.Uniform1fv(location, count, value); |
| 1298 | } |
| 1299 | |
| 1300 | inline void QOpenGLFunctions_2_0::glUniform4i(GLint location, GLint v0, GLint v1, GLint v2, GLint v3) |
| 1301 | { |
| 1302 | d_2_0_Core->f.Uniform4i(location, v0, v1, v2, v3); |
| 1303 | } |
| 1304 | |
| 1305 | inline void QOpenGLFunctions_2_0::glUniform3i(GLint location, GLint v0, GLint v1, GLint v2) |
| 1306 | { |
| 1307 | d_2_0_Core->f.Uniform3i(location, v0, v1, v2); |
| 1308 | } |
| 1309 | |
| 1310 | inline void QOpenGLFunctions_2_0::glUniform2i(GLint location, GLint v0, GLint v1) |
| 1311 | { |
| 1312 | d_2_0_Core->f.Uniform2i(location, v0, v1); |
| 1313 | } |
| 1314 | |
| 1315 | inline void QOpenGLFunctions_2_0::glUniform1i(GLint location, GLint v0) |
| 1316 | { |
| 1317 | d_2_0_Core->f.Uniform1i(location, v0); |
| 1318 | } |
| 1319 | |
| 1320 | inline void QOpenGLFunctions_2_0::glUniform4f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3) |
| 1321 | { |
| 1322 | d_2_0_Core->f.Uniform4f(location, v0, v1, v2, v3); |
| 1323 | } |
| 1324 | |
| 1325 | inline void QOpenGLFunctions_2_0::glUniform3f(GLint location, GLfloat v0, GLfloat v1, GLfloat v2) |
| 1326 | { |
| 1327 | d_2_0_Core->f.Uniform3f(location, v0, v1, v2); |
| 1328 | } |
| 1329 | |
| 1330 | inline void QOpenGLFunctions_2_0::glUniform2f(GLint location, GLfloat v0, GLfloat v1) |
| 1331 | { |
| 1332 | d_2_0_Core->f.Uniform2f(location, v0, v1); |
| 1333 | } |
| 1334 | |
| 1335 | inline void QOpenGLFunctions_2_0::glUniform1f(GLint location, GLfloat v0) |
| 1336 | { |
| 1337 | d_2_0_Core->f.Uniform1f(location, v0); |
| 1338 | } |
| 1339 | |
| 1340 | inline void QOpenGLFunctions_2_0::glUseProgram(GLuint program) |
| 1341 | { |
| 1342 | d_2_0_Core->f.UseProgram(program); |
| 1343 | } |
| 1344 | |
| 1345 | inline void QOpenGLFunctions_2_0::glShaderSource(GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length) |
| 1346 | { |
| 1347 | d_2_0_Core->f.ShaderSource(shader, count, string, length); |
| 1348 | } |
| 1349 | |
| 1350 | inline void QOpenGLFunctions_2_0::glLinkProgram(GLuint program) |
| 1351 | { |
| 1352 | d_2_0_Core->f.LinkProgram(program); |
| 1353 | } |
| 1354 | |
| 1355 | inline GLboolean QOpenGLFunctions_2_0::glIsShader(GLuint shader) |
| 1356 | { |
| 1357 | return d_2_0_Core->f.IsShader(shader); |
| 1358 | } |
| 1359 | |
| 1360 | inline GLboolean QOpenGLFunctions_2_0::glIsProgram(GLuint program) |
| 1361 | { |
| 1362 | return d_2_0_Core->f.IsProgram(program); |
| 1363 | } |
| 1364 | |
| 1365 | inline void QOpenGLFunctions_2_0::glGetVertexAttribPointerv(GLuint index, GLenum pname, GLvoid* *pointer) |
| 1366 | { |
| 1367 | d_2_0_Core->f.GetVertexAttribPointerv(index, pname, pointer); |
| 1368 | } |
| 1369 | |
| 1370 | inline void QOpenGLFunctions_2_0::glGetVertexAttribiv(GLuint index, GLenum pname, GLint *params) |
| 1371 | { |
| 1372 | d_2_0_Core->f.GetVertexAttribiv(index, pname, params); |
| 1373 | } |
| 1374 | |
| 1375 | inline void QOpenGLFunctions_2_0::glGetVertexAttribfv(GLuint index, GLenum pname, GLfloat *params) |
| 1376 | { |
| 1377 | d_2_0_Core->f.GetVertexAttribfv(index, pname, params); |
| 1378 | } |
| 1379 | |
| 1380 | inline void QOpenGLFunctions_2_0::glGetVertexAttribdv(GLuint index, GLenum pname, GLdouble *params) |
| 1381 | { |
| 1382 | d_2_0_Core->f.GetVertexAttribdv(index, pname, params); |
| 1383 | } |
| 1384 | |
| 1385 | inline void QOpenGLFunctions_2_0::glGetUniformiv(GLuint program, GLint location, GLint *params) |
| 1386 | { |
| 1387 | d_2_0_Core->f.GetUniformiv(program, location, params); |
| 1388 | } |
| 1389 | |
| 1390 | inline void QOpenGLFunctions_2_0::glGetUniformfv(GLuint program, GLint location, GLfloat *params) |
| 1391 | { |
| 1392 | d_2_0_Core->f.GetUniformfv(program, location, params); |
| 1393 | } |
| 1394 | |
| 1395 | inline GLint QOpenGLFunctions_2_0::glGetUniformLocation(GLuint program, const GLchar *name) |
| 1396 | { |
| 1397 | return d_2_0_Core->f.GetUniformLocation(program, name); |
| 1398 | } |
| 1399 | |
| 1400 | inline void QOpenGLFunctions_2_0::glGetShaderSource(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source) |
| 1401 | { |
| 1402 | d_2_0_Core->f.GetShaderSource(shader, bufSize, length, source); |
| 1403 | } |
| 1404 | |
| 1405 | inline void QOpenGLFunctions_2_0::glGetShaderInfoLog(GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| 1406 | { |
| 1407 | d_2_0_Core->f.GetShaderInfoLog(shader, bufSize, length, infoLog); |
| 1408 | } |
| 1409 | |
| 1410 | inline void QOpenGLFunctions_2_0::glGetShaderiv(GLuint shader, GLenum pname, GLint *params) |
| 1411 | { |
| 1412 | d_2_0_Core->f.GetShaderiv(shader, pname, params); |
| 1413 | } |
| 1414 | |
| 1415 | inline void QOpenGLFunctions_2_0::glGetProgramInfoLog(GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog) |
| 1416 | { |
| 1417 | d_2_0_Core->f.GetProgramInfoLog(program, bufSize, length, infoLog); |
| 1418 | } |
| 1419 | |
| 1420 | inline void QOpenGLFunctions_2_0::glGetProgramiv(GLuint program, GLenum pname, GLint *params) |
| 1421 | { |
| 1422 | d_2_0_Core->f.GetProgramiv(program, pname, params); |
| 1423 | } |
| 1424 | |
| 1425 | inline GLint QOpenGLFunctions_2_0::glGetAttribLocation(GLuint program, const GLchar *name) |
| 1426 | { |
| 1427 | return d_2_0_Core->f.GetAttribLocation(program, name); |
| 1428 | } |
| 1429 | |
| 1430 | inline void QOpenGLFunctions_2_0::glGetAttachedShaders(GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj) |
| 1431 | { |
| 1432 | d_2_0_Core->f.GetAttachedShaders(program, maxCount, count, obj); |
| 1433 | } |
| 1434 | |
| 1435 | inline void QOpenGLFunctions_2_0::glGetActiveUniform(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| 1436 | { |
| 1437 | d_2_0_Core->f.GetActiveUniform(program, index, bufSize, length, size, type, name); |
| 1438 | } |
| 1439 | |
| 1440 | inline void QOpenGLFunctions_2_0::glGetActiveAttrib(GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name) |
| 1441 | { |
| 1442 | d_2_0_Core->f.GetActiveAttrib(program, index, bufSize, length, size, type, name); |
| 1443 | } |
| 1444 | |
| 1445 | inline void QOpenGLFunctions_2_0::glEnableVertexAttribArray(GLuint index) |
| 1446 | { |
| 1447 | d_2_0_Core->f.EnableVertexAttribArray(index); |
| 1448 | } |
| 1449 | |
| 1450 | inline void QOpenGLFunctions_2_0::glDisableVertexAttribArray(GLuint index) |
| 1451 | { |
| 1452 | d_2_0_Core->f.DisableVertexAttribArray(index); |
| 1453 | } |
| 1454 | |
| 1455 | inline void QOpenGLFunctions_2_0::glDetachShader(GLuint program, GLuint shader) |
| 1456 | { |
| 1457 | d_2_0_Core->f.DetachShader(program, shader); |
| 1458 | } |
| 1459 | |
| 1460 | inline void QOpenGLFunctions_2_0::glDeleteShader(GLuint shader) |
| 1461 | { |
| 1462 | d_2_0_Core->f.DeleteShader(shader); |
| 1463 | } |
| 1464 | |
| 1465 | inline void QOpenGLFunctions_2_0::glDeleteProgram(GLuint program) |
| 1466 | { |
| 1467 | d_2_0_Core->f.DeleteProgram(program); |
| 1468 | } |
| 1469 | |
| 1470 | inline GLuint QOpenGLFunctions_2_0::glCreateShader(GLenum type) |
| 1471 | { |
| 1472 | return d_2_0_Core->f.CreateShader(type); |
| 1473 | } |
| 1474 | |
| 1475 | inline GLuint QOpenGLFunctions_2_0::glCreateProgram() |
| 1476 | { |
| 1477 | return d_2_0_Core->f.CreateProgram(); |
| 1478 | } |
| 1479 | |
| 1480 | inline void QOpenGLFunctions_2_0::glCompileShader(GLuint shader) |
| 1481 | { |
| 1482 | d_2_0_Core->f.CompileShader(shader); |
| 1483 | } |
| 1484 | |
| 1485 | inline void QOpenGLFunctions_2_0::glBindAttribLocation(GLuint program, GLuint index, const GLchar *name) |
| 1486 | { |
| 1487 | d_2_0_Core->f.BindAttribLocation(program, index, name); |
| 1488 | } |
| 1489 | |
| 1490 | inline void QOpenGLFunctions_2_0::glAttachShader(GLuint program, GLuint shader) |
| 1491 | { |
| 1492 | d_2_0_Core->f.AttachShader(program, shader); |
| 1493 | } |
| 1494 | |
| 1495 | inline void QOpenGLFunctions_2_0::glStencilMaskSeparate(GLenum face, GLuint mask) |
| 1496 | { |
| 1497 | d_2_0_Core->f.StencilMaskSeparate(face, mask); |
| 1498 | } |
| 1499 | |
| 1500 | inline void QOpenGLFunctions_2_0::glStencilFuncSeparate(GLenum face, GLenum func, GLint ref, GLuint mask) |
| 1501 | { |
| 1502 | d_2_0_Core->f.StencilFuncSeparate(face, func, ref, mask); |
| 1503 | } |
| 1504 | |
| 1505 | inline void QOpenGLFunctions_2_0::glStencilOpSeparate(GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass) |
| 1506 | { |
| 1507 | d_2_0_Core->f.StencilOpSeparate(face, sfail, dpfail, dppass); |
| 1508 | } |
| 1509 | |
| 1510 | inline void QOpenGLFunctions_2_0::glDrawBuffers(GLsizei n, const GLenum *bufs) |
| 1511 | { |
| 1512 | d_2_0_Core->f.DrawBuffers(n, bufs); |
| 1513 | } |
| 1514 | |
| 1515 | inline void QOpenGLFunctions_2_0::glBlendEquationSeparate(GLenum modeRGB, GLenum modeAlpha) |
| 1516 | { |
| 1517 | d_2_0_Core->f.BlendEquationSeparate(modeRGB, modeAlpha); |
| 1518 | } |
| 1519 | |
| 1520 | |
| 1521 | // OpenGL 1.0 deprecated functions |
| 1522 | inline void QOpenGLFunctions_2_0::glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
| 1523 | { |
| 1524 | d_1_0_Deprecated->f.Translatef(x, y, z); |
| 1525 | } |
| 1526 | |
| 1527 | inline void QOpenGLFunctions_2_0::glTranslated(GLdouble x, GLdouble y, GLdouble z) |
| 1528 | { |
| 1529 | d_1_0_Deprecated->f.Translated(x, y, z); |
| 1530 | } |
| 1531 | |
| 1532 | inline void QOpenGLFunctions_2_0::glScalef(GLfloat x, GLfloat y, GLfloat z) |
| 1533 | { |
| 1534 | d_1_0_Deprecated->f.Scalef(x, y, z); |
| 1535 | } |
| 1536 | |
| 1537 | inline void QOpenGLFunctions_2_0::glScaled(GLdouble x, GLdouble y, GLdouble z) |
| 1538 | { |
| 1539 | d_1_0_Deprecated->f.Scaled(x, y, z); |
| 1540 | } |
| 1541 | |
| 1542 | inline void QOpenGLFunctions_2_0::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| 1543 | { |
| 1544 | d_1_0_Deprecated->f.Rotatef(angle, x, y, z); |
| 1545 | } |
| 1546 | |
| 1547 | inline void QOpenGLFunctions_2_0::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
| 1548 | { |
| 1549 | d_1_0_Deprecated->f.Rotated(angle, x, y, z); |
| 1550 | } |
| 1551 | |
| 1552 | inline void QOpenGLFunctions_2_0::glPushMatrix() |
| 1553 | { |
| 1554 | d_1_0_Deprecated->f.PushMatrix(); |
| 1555 | } |
| 1556 | |
| 1557 | inline void QOpenGLFunctions_2_0::glPopMatrix() |
| 1558 | { |
| 1559 | d_1_0_Deprecated->f.PopMatrix(); |
| 1560 | } |
| 1561 | |
| 1562 | inline void QOpenGLFunctions_2_0::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| 1563 | { |
| 1564 | d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar); |
| 1565 | } |
| 1566 | |
| 1567 | inline void QOpenGLFunctions_2_0::glMultMatrixd(const GLdouble *m) |
| 1568 | { |
| 1569 | d_1_0_Deprecated->f.MultMatrixd(m); |
| 1570 | } |
| 1571 | |
| 1572 | inline void QOpenGLFunctions_2_0::glMultMatrixf(const GLfloat *m) |
| 1573 | { |
| 1574 | d_1_0_Deprecated->f.MultMatrixf(m); |
| 1575 | } |
| 1576 | |
| 1577 | inline void QOpenGLFunctions_2_0::glMatrixMode(GLenum mode) |
| 1578 | { |
| 1579 | d_1_0_Deprecated->f.MatrixMode(mode); |
| 1580 | } |
| 1581 | |
| 1582 | inline void QOpenGLFunctions_2_0::glLoadMatrixd(const GLdouble *m) |
| 1583 | { |
| 1584 | d_1_0_Deprecated->f.LoadMatrixd(m); |
| 1585 | } |
| 1586 | |
| 1587 | inline void QOpenGLFunctions_2_0::glLoadMatrixf(const GLfloat *m) |
| 1588 | { |
| 1589 | d_1_0_Deprecated->f.LoadMatrixf(m); |
| 1590 | } |
| 1591 | |
| 1592 | inline void QOpenGLFunctions_2_0::glLoadIdentity() |
| 1593 | { |
| 1594 | d_1_0_Deprecated->f.LoadIdentity(); |
| 1595 | } |
| 1596 | |
| 1597 | inline void QOpenGLFunctions_2_0::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| 1598 | { |
| 1599 | d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar); |
| 1600 | } |
| 1601 | |
| 1602 | inline GLboolean QOpenGLFunctions_2_0::glIsList(GLuint list) |
| 1603 | { |
| 1604 | return d_1_0_Deprecated->f.IsList(list); |
| 1605 | } |
| 1606 | |
| 1607 | inline void QOpenGLFunctions_2_0::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) |
| 1608 | { |
| 1609 | d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params); |
| 1610 | } |
| 1611 | |
| 1612 | inline void QOpenGLFunctions_2_0::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) |
| 1613 | { |
| 1614 | d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params); |
| 1615 | } |
| 1616 | |
| 1617 | inline void QOpenGLFunctions_2_0::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) |
| 1618 | { |
| 1619 | d_1_0_Deprecated->f.GetTexGendv(coord, pname, params); |
| 1620 | } |
| 1621 | |
| 1622 | inline void QOpenGLFunctions_2_0::glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
| 1623 | { |
| 1624 | d_1_0_Deprecated->f.GetTexEnviv(target, pname, params); |
| 1625 | } |
| 1626 | |
| 1627 | inline void QOpenGLFunctions_2_0::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
| 1628 | { |
| 1629 | d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params); |
| 1630 | } |
| 1631 | |
| 1632 | inline void QOpenGLFunctions_2_0::glGetPolygonStipple(GLubyte *mask) |
| 1633 | { |
| 1634 | d_1_0_Deprecated->f.GetPolygonStipple(mask); |
| 1635 | } |
| 1636 | |
| 1637 | inline void QOpenGLFunctions_2_0::glGetPixelMapusv(GLenum map, GLushort *values) |
| 1638 | { |
| 1639 | d_1_0_Deprecated->f.GetPixelMapusv(map, values); |
| 1640 | } |
| 1641 | |
| 1642 | inline void QOpenGLFunctions_2_0::glGetPixelMapuiv(GLenum map, GLuint *values) |
| 1643 | { |
| 1644 | d_1_0_Deprecated->f.GetPixelMapuiv(map, values); |
| 1645 | } |
| 1646 | |
| 1647 | inline void QOpenGLFunctions_2_0::glGetPixelMapfv(GLenum map, GLfloat *values) |
| 1648 | { |
| 1649 | d_1_0_Deprecated->f.GetPixelMapfv(map, values); |
| 1650 | } |
| 1651 | |
| 1652 | inline void QOpenGLFunctions_2_0::glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
| 1653 | { |
| 1654 | d_1_0_Deprecated->f.GetMaterialiv(face, pname, params); |
| 1655 | } |
| 1656 | |
| 1657 | inline void QOpenGLFunctions_2_0::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
| 1658 | { |
| 1659 | d_1_0_Deprecated->f.GetMaterialfv(face, pname, params); |
| 1660 | } |
| 1661 | |
| 1662 | inline void QOpenGLFunctions_2_0::glGetMapiv(GLenum target, GLenum query, GLint *v) |
| 1663 | { |
| 1664 | d_1_0_Deprecated->f.GetMapiv(target, query, v); |
| 1665 | } |
| 1666 | |
| 1667 | inline void QOpenGLFunctions_2_0::glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
| 1668 | { |
| 1669 | d_1_0_Deprecated->f.GetMapfv(target, query, v); |
| 1670 | } |
| 1671 | |
| 1672 | inline void QOpenGLFunctions_2_0::glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
| 1673 | { |
| 1674 | d_1_0_Deprecated->f.GetMapdv(target, query, v); |
| 1675 | } |
| 1676 | |
| 1677 | inline void QOpenGLFunctions_2_0::glGetLightiv(GLenum light, GLenum pname, GLint *params) |
| 1678 | { |
| 1679 | d_1_0_Deprecated->f.GetLightiv(light, pname, params); |
| 1680 | } |
| 1681 | |
| 1682 | inline void QOpenGLFunctions_2_0::glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
| 1683 | { |
| 1684 | d_1_0_Deprecated->f.GetLightfv(light, pname, params); |
| 1685 | } |
| 1686 | |
| 1687 | inline void QOpenGLFunctions_2_0::glGetClipPlane(GLenum plane, GLdouble *equation) |
| 1688 | { |
| 1689 | d_1_0_Deprecated->f.GetClipPlane(plane, equation); |
| 1690 | } |
| 1691 | |
| 1692 | inline void QOpenGLFunctions_2_0::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 1693 | { |
| 1694 | d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels); |
| 1695 | } |
| 1696 | |
| 1697 | inline void QOpenGLFunctions_2_0::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
| 1698 | { |
| 1699 | d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type); |
| 1700 | } |
| 1701 | |
| 1702 | inline void QOpenGLFunctions_2_0::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) |
| 1703 | { |
| 1704 | d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values); |
| 1705 | } |
| 1706 | |
| 1707 | inline void QOpenGLFunctions_2_0::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) |
| 1708 | { |
| 1709 | d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values); |
| 1710 | } |
| 1711 | |
| 1712 | inline void QOpenGLFunctions_2_0::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) |
| 1713 | { |
| 1714 | d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values); |
| 1715 | } |
| 1716 | |
| 1717 | inline void QOpenGLFunctions_2_0::glPixelTransferi(GLenum pname, GLint param) |
| 1718 | { |
| 1719 | d_1_0_Deprecated->f.PixelTransferi(pname, param); |
| 1720 | } |
| 1721 | |
| 1722 | inline void QOpenGLFunctions_2_0::glPixelTransferf(GLenum pname, GLfloat param) |
| 1723 | { |
| 1724 | d_1_0_Deprecated->f.PixelTransferf(pname, param); |
| 1725 | } |
| 1726 | |
| 1727 | inline void QOpenGLFunctions_2_0::glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
| 1728 | { |
| 1729 | d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor); |
| 1730 | } |
| 1731 | |
| 1732 | inline void QOpenGLFunctions_2_0::glAlphaFunc(GLenum func, GLfloat ref) |
| 1733 | { |
| 1734 | d_1_0_Deprecated->f.AlphaFunc(func, ref); |
| 1735 | } |
| 1736 | |
| 1737 | inline void QOpenGLFunctions_2_0::glEvalPoint2(GLint i, GLint j) |
| 1738 | { |
| 1739 | d_1_0_Deprecated->f.EvalPoint2(i, j); |
| 1740 | } |
| 1741 | |
| 1742 | inline void QOpenGLFunctions_2_0::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
| 1743 | { |
| 1744 | d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2); |
| 1745 | } |
| 1746 | |
| 1747 | inline void QOpenGLFunctions_2_0::glEvalPoint1(GLint i) |
| 1748 | { |
| 1749 | d_1_0_Deprecated->f.EvalPoint1(i); |
| 1750 | } |
| 1751 | |
| 1752 | inline void QOpenGLFunctions_2_0::glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
| 1753 | { |
| 1754 | d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2); |
| 1755 | } |
| 1756 | |
| 1757 | inline void QOpenGLFunctions_2_0::glEvalCoord2fv(const GLfloat *u) |
| 1758 | { |
| 1759 | d_1_0_Deprecated->f.EvalCoord2fv(u); |
| 1760 | } |
| 1761 | |
| 1762 | inline void QOpenGLFunctions_2_0::glEvalCoord2f(GLfloat u, GLfloat v) |
| 1763 | { |
| 1764 | d_1_0_Deprecated->f.EvalCoord2f(u, v); |
| 1765 | } |
| 1766 | |
| 1767 | inline void QOpenGLFunctions_2_0::glEvalCoord2dv(const GLdouble *u) |
| 1768 | { |
| 1769 | d_1_0_Deprecated->f.EvalCoord2dv(u); |
| 1770 | } |
| 1771 | |
| 1772 | inline void QOpenGLFunctions_2_0::glEvalCoord2d(GLdouble u, GLdouble v) |
| 1773 | { |
| 1774 | d_1_0_Deprecated->f.EvalCoord2d(u, v); |
| 1775 | } |
| 1776 | |
| 1777 | inline void QOpenGLFunctions_2_0::glEvalCoord1fv(const GLfloat *u) |
| 1778 | { |
| 1779 | d_1_0_Deprecated->f.EvalCoord1fv(u); |
| 1780 | } |
| 1781 | |
| 1782 | inline void QOpenGLFunctions_2_0::glEvalCoord1f(GLfloat u) |
| 1783 | { |
| 1784 | d_1_0_Deprecated->f.EvalCoord1f(u); |
| 1785 | } |
| 1786 | |
| 1787 | inline void QOpenGLFunctions_2_0::glEvalCoord1dv(const GLdouble *u) |
| 1788 | { |
| 1789 | d_1_0_Deprecated->f.EvalCoord1dv(u); |
| 1790 | } |
| 1791 | |
| 1792 | inline void QOpenGLFunctions_2_0::glEvalCoord1d(GLdouble u) |
| 1793 | { |
| 1794 | d_1_0_Deprecated->f.EvalCoord1d(u); |
| 1795 | } |
| 1796 | |
| 1797 | inline void QOpenGLFunctions_2_0::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
| 1798 | { |
| 1799 | d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2); |
| 1800 | } |
| 1801 | |
| 1802 | inline void QOpenGLFunctions_2_0::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
| 1803 | { |
| 1804 | d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2); |
| 1805 | } |
| 1806 | |
| 1807 | inline void QOpenGLFunctions_2_0::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
| 1808 | { |
| 1809 | d_1_0_Deprecated->f.MapGrid1f(un, u1, u2); |
| 1810 | } |
| 1811 | |
| 1812 | inline void QOpenGLFunctions_2_0::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
| 1813 | { |
| 1814 | d_1_0_Deprecated->f.MapGrid1d(un, u1, u2); |
| 1815 | } |
| 1816 | |
| 1817 | inline void QOpenGLFunctions_2_0::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
| 1818 | { |
| 1819 | d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 1820 | } |
| 1821 | |
| 1822 | inline void QOpenGLFunctions_2_0::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
| 1823 | { |
| 1824 | d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 1825 | } |
| 1826 | |
| 1827 | inline void QOpenGLFunctions_2_0::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
| 1828 | { |
| 1829 | d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points); |
| 1830 | } |
| 1831 | |
| 1832 | inline void QOpenGLFunctions_2_0::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
| 1833 | { |
| 1834 | d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points); |
| 1835 | } |
| 1836 | |
| 1837 | inline void QOpenGLFunctions_2_0::glPushAttrib(GLbitfield mask) |
| 1838 | { |
| 1839 | d_1_0_Deprecated->f.PushAttrib(mask); |
| 1840 | } |
| 1841 | |
| 1842 | inline void QOpenGLFunctions_2_0::glPopAttrib() |
| 1843 | { |
| 1844 | d_1_0_Deprecated->f.PopAttrib(); |
| 1845 | } |
| 1846 | |
| 1847 | inline void QOpenGLFunctions_2_0::glAccum(GLenum op, GLfloat value) |
| 1848 | { |
| 1849 | d_1_0_Deprecated->f.Accum(op, value); |
| 1850 | } |
| 1851 | |
| 1852 | inline void QOpenGLFunctions_2_0::glIndexMask(GLuint mask) |
| 1853 | { |
| 1854 | d_1_0_Deprecated->f.IndexMask(mask); |
| 1855 | } |
| 1856 | |
| 1857 | inline void QOpenGLFunctions_2_0::glClearIndex(GLfloat c) |
| 1858 | { |
| 1859 | d_1_0_Deprecated->f.ClearIndex(c); |
| 1860 | } |
| 1861 | |
| 1862 | inline void QOpenGLFunctions_2_0::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 1863 | { |
| 1864 | d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha); |
| 1865 | } |
| 1866 | |
| 1867 | inline void QOpenGLFunctions_2_0::glPushName(GLuint name) |
| 1868 | { |
| 1869 | d_1_0_Deprecated->f.PushName(name); |
| 1870 | } |
| 1871 | |
| 1872 | inline void QOpenGLFunctions_2_0::glPopName() |
| 1873 | { |
| 1874 | d_1_0_Deprecated->f.PopName(); |
| 1875 | } |
| 1876 | |
| 1877 | inline void QOpenGLFunctions_2_0::glPassThrough(GLfloat token) |
| 1878 | { |
| 1879 | d_1_0_Deprecated->f.PassThrough(token); |
| 1880 | } |
| 1881 | |
| 1882 | inline void QOpenGLFunctions_2_0::glLoadName(GLuint name) |
| 1883 | { |
| 1884 | d_1_0_Deprecated->f.LoadName(name); |
| 1885 | } |
| 1886 | |
| 1887 | inline void QOpenGLFunctions_2_0::glInitNames() |
| 1888 | { |
| 1889 | d_1_0_Deprecated->f.InitNames(); |
| 1890 | } |
| 1891 | |
| 1892 | inline GLint QOpenGLFunctions_2_0::glRenderMode(GLenum mode) |
| 1893 | { |
| 1894 | return d_1_0_Deprecated->f.RenderMode(mode); |
| 1895 | } |
| 1896 | |
| 1897 | inline void QOpenGLFunctions_2_0::glSelectBuffer(GLsizei size, GLuint *buffer) |
| 1898 | { |
| 1899 | d_1_0_Deprecated->f.SelectBuffer(size, buffer); |
| 1900 | } |
| 1901 | |
| 1902 | inline void QOpenGLFunctions_2_0::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
| 1903 | { |
| 1904 | d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer); |
| 1905 | } |
| 1906 | |
| 1907 | inline void QOpenGLFunctions_2_0::glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
| 1908 | { |
| 1909 | d_1_0_Deprecated->f.TexGeniv(coord, pname, params); |
| 1910 | } |
| 1911 | |
| 1912 | inline void QOpenGLFunctions_2_0::glTexGeni(GLenum coord, GLenum pname, GLint param) |
| 1913 | { |
| 1914 | d_1_0_Deprecated->f.TexGeni(coord, pname, param); |
| 1915 | } |
| 1916 | |
| 1917 | inline void QOpenGLFunctions_2_0::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
| 1918 | { |
| 1919 | d_1_0_Deprecated->f.TexGenfv(coord, pname, params); |
| 1920 | } |
| 1921 | |
| 1922 | inline void QOpenGLFunctions_2_0::glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
| 1923 | { |
| 1924 | d_1_0_Deprecated->f.TexGenf(coord, pname, param); |
| 1925 | } |
| 1926 | |
| 1927 | inline void QOpenGLFunctions_2_0::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
| 1928 | { |
| 1929 | d_1_0_Deprecated->f.TexGendv(coord, pname, params); |
| 1930 | } |
| 1931 | |
| 1932 | inline void QOpenGLFunctions_2_0::glTexGend(GLenum coord, GLenum pname, GLdouble param) |
| 1933 | { |
| 1934 | d_1_0_Deprecated->f.TexGend(coord, pname, param); |
| 1935 | } |
| 1936 | |
| 1937 | inline void QOpenGLFunctions_2_0::glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
| 1938 | { |
| 1939 | d_1_0_Deprecated->f.TexEnviv(target, pname, params); |
| 1940 | } |
| 1941 | |
| 1942 | inline void QOpenGLFunctions_2_0::glTexEnvi(GLenum target, GLenum pname, GLint param) |
| 1943 | { |
| 1944 | d_1_0_Deprecated->f.TexEnvi(target, pname, param); |
| 1945 | } |
| 1946 | |
| 1947 | inline void QOpenGLFunctions_2_0::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
| 1948 | { |
| 1949 | d_1_0_Deprecated->f.TexEnvfv(target, pname, params); |
| 1950 | } |
| 1951 | |
| 1952 | inline void QOpenGLFunctions_2_0::glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
| 1953 | { |
| 1954 | d_1_0_Deprecated->f.TexEnvf(target, pname, param); |
| 1955 | } |
| 1956 | |
| 1957 | inline void QOpenGLFunctions_2_0::glShadeModel(GLenum mode) |
| 1958 | { |
| 1959 | d_1_0_Deprecated->f.ShadeModel(mode); |
| 1960 | } |
| 1961 | |
| 1962 | inline void QOpenGLFunctions_2_0::glPolygonStipple(const GLubyte *mask) |
| 1963 | { |
| 1964 | d_1_0_Deprecated->f.PolygonStipple(mask); |
| 1965 | } |
| 1966 | |
| 1967 | inline void QOpenGLFunctions_2_0::glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
| 1968 | { |
| 1969 | d_1_0_Deprecated->f.Materialiv(face, pname, params); |
| 1970 | } |
| 1971 | |
| 1972 | inline void QOpenGLFunctions_2_0::glMateriali(GLenum face, GLenum pname, GLint param) |
| 1973 | { |
| 1974 | d_1_0_Deprecated->f.Materiali(face, pname, param); |
| 1975 | } |
| 1976 | |
| 1977 | inline void QOpenGLFunctions_2_0::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
| 1978 | { |
| 1979 | d_1_0_Deprecated->f.Materialfv(face, pname, params); |
| 1980 | } |
| 1981 | |
| 1982 | inline void QOpenGLFunctions_2_0::glMaterialf(GLenum face, GLenum pname, GLfloat param) |
| 1983 | { |
| 1984 | d_1_0_Deprecated->f.Materialf(face, pname, param); |
| 1985 | } |
| 1986 | |
| 1987 | inline void QOpenGLFunctions_2_0::glLineStipple(GLint factor, GLushort pattern) |
| 1988 | { |
| 1989 | d_1_0_Deprecated->f.LineStipple(factor, pattern); |
| 1990 | } |
| 1991 | |
| 1992 | inline void QOpenGLFunctions_2_0::glLightModeliv(GLenum pname, const GLint *params) |
| 1993 | { |
| 1994 | d_1_0_Deprecated->f.LightModeliv(pname, params); |
| 1995 | } |
| 1996 | |
| 1997 | inline void QOpenGLFunctions_2_0::glLightModeli(GLenum pname, GLint param) |
| 1998 | { |
| 1999 | d_1_0_Deprecated->f.LightModeli(pname, param); |
| 2000 | } |
| 2001 | |
| 2002 | inline void QOpenGLFunctions_2_0::glLightModelfv(GLenum pname, const GLfloat *params) |
| 2003 | { |
| 2004 | d_1_0_Deprecated->f.LightModelfv(pname, params); |
| 2005 | } |
| 2006 | |
| 2007 | inline void QOpenGLFunctions_2_0::glLightModelf(GLenum pname, GLfloat param) |
| 2008 | { |
| 2009 | d_1_0_Deprecated->f.LightModelf(pname, param); |
| 2010 | } |
| 2011 | |
| 2012 | inline void QOpenGLFunctions_2_0::glLightiv(GLenum light, GLenum pname, const GLint *params) |
| 2013 | { |
| 2014 | d_1_0_Deprecated->f.Lightiv(light, pname, params); |
| 2015 | } |
| 2016 | |
| 2017 | inline void QOpenGLFunctions_2_0::glLighti(GLenum light, GLenum pname, GLint param) |
| 2018 | { |
| 2019 | d_1_0_Deprecated->f.Lighti(light, pname, param); |
| 2020 | } |
| 2021 | |
| 2022 | inline void QOpenGLFunctions_2_0::glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
| 2023 | { |
| 2024 | d_1_0_Deprecated->f.Lightfv(light, pname, params); |
| 2025 | } |
| 2026 | |
| 2027 | inline void QOpenGLFunctions_2_0::glLightf(GLenum light, GLenum pname, GLfloat param) |
| 2028 | { |
| 2029 | d_1_0_Deprecated->f.Lightf(light, pname, param); |
| 2030 | } |
| 2031 | |
| 2032 | inline void QOpenGLFunctions_2_0::glFogiv(GLenum pname, const GLint *params) |
| 2033 | { |
| 2034 | d_1_0_Deprecated->f.Fogiv(pname, params); |
| 2035 | } |
| 2036 | |
| 2037 | inline void QOpenGLFunctions_2_0::glFogi(GLenum pname, GLint param) |
| 2038 | { |
| 2039 | d_1_0_Deprecated->f.Fogi(pname, param); |
| 2040 | } |
| 2041 | |
| 2042 | inline void QOpenGLFunctions_2_0::glFogfv(GLenum pname, const GLfloat *params) |
| 2043 | { |
| 2044 | d_1_0_Deprecated->f.Fogfv(pname, params); |
| 2045 | } |
| 2046 | |
| 2047 | inline void QOpenGLFunctions_2_0::glFogf(GLenum pname, GLfloat param) |
| 2048 | { |
| 2049 | d_1_0_Deprecated->f.Fogf(pname, param); |
| 2050 | } |
| 2051 | |
| 2052 | inline void QOpenGLFunctions_2_0::glColorMaterial(GLenum face, GLenum mode) |
| 2053 | { |
| 2054 | d_1_0_Deprecated->f.ColorMaterial(face, mode); |
| 2055 | } |
| 2056 | |
| 2057 | inline void QOpenGLFunctions_2_0::glClipPlane(GLenum plane, const GLdouble *equation) |
| 2058 | { |
| 2059 | d_1_0_Deprecated->f.ClipPlane(plane, equation); |
| 2060 | } |
| 2061 | |
| 2062 | inline void QOpenGLFunctions_2_0::glVertex4sv(const GLshort *v) |
| 2063 | { |
| 2064 | d_1_0_Deprecated->f.Vertex4sv(v); |
| 2065 | } |
| 2066 | |
| 2067 | inline void QOpenGLFunctions_2_0::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 2068 | { |
| 2069 | d_1_0_Deprecated->f.Vertex4s(x, y, z, w); |
| 2070 | } |
| 2071 | |
| 2072 | inline void QOpenGLFunctions_2_0::glVertex4iv(const GLint *v) |
| 2073 | { |
| 2074 | d_1_0_Deprecated->f.Vertex4iv(v); |
| 2075 | } |
| 2076 | |
| 2077 | inline void QOpenGLFunctions_2_0::glVertex4i(GLint x, GLint y, GLint z, GLint w) |
| 2078 | { |
| 2079 | d_1_0_Deprecated->f.Vertex4i(x, y, z, w); |
| 2080 | } |
| 2081 | |
| 2082 | inline void QOpenGLFunctions_2_0::glVertex4fv(const GLfloat *v) |
| 2083 | { |
| 2084 | d_1_0_Deprecated->f.Vertex4fv(v); |
| 2085 | } |
| 2086 | |
| 2087 | inline void QOpenGLFunctions_2_0::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 2088 | { |
| 2089 | d_1_0_Deprecated->f.Vertex4f(x, y, z, w); |
| 2090 | } |
| 2091 | |
| 2092 | inline void QOpenGLFunctions_2_0::glVertex4dv(const GLdouble *v) |
| 2093 | { |
| 2094 | d_1_0_Deprecated->f.Vertex4dv(v); |
| 2095 | } |
| 2096 | |
| 2097 | inline void QOpenGLFunctions_2_0::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 2098 | { |
| 2099 | d_1_0_Deprecated->f.Vertex4d(x, y, z, w); |
| 2100 | } |
| 2101 | |
| 2102 | inline void QOpenGLFunctions_2_0::glVertex3sv(const GLshort *v) |
| 2103 | { |
| 2104 | d_1_0_Deprecated->f.Vertex3sv(v); |
| 2105 | } |
| 2106 | |
| 2107 | inline void QOpenGLFunctions_2_0::glVertex3s(GLshort x, GLshort y, GLshort z) |
| 2108 | { |
| 2109 | d_1_0_Deprecated->f.Vertex3s(x, y, z); |
| 2110 | } |
| 2111 | |
| 2112 | inline void QOpenGLFunctions_2_0::glVertex3iv(const GLint *v) |
| 2113 | { |
| 2114 | d_1_0_Deprecated->f.Vertex3iv(v); |
| 2115 | } |
| 2116 | |
| 2117 | inline void QOpenGLFunctions_2_0::glVertex3i(GLint x, GLint y, GLint z) |
| 2118 | { |
| 2119 | d_1_0_Deprecated->f.Vertex3i(x, y, z); |
| 2120 | } |
| 2121 | |
| 2122 | inline void QOpenGLFunctions_2_0::glVertex3fv(const GLfloat *v) |
| 2123 | { |
| 2124 | d_1_0_Deprecated->f.Vertex3fv(v); |
| 2125 | } |
| 2126 | |
| 2127 | inline void QOpenGLFunctions_2_0::glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
| 2128 | { |
| 2129 | d_1_0_Deprecated->f.Vertex3f(x, y, z); |
| 2130 | } |
| 2131 | |
| 2132 | inline void QOpenGLFunctions_2_0::glVertex3dv(const GLdouble *v) |
| 2133 | { |
| 2134 | d_1_0_Deprecated->f.Vertex3dv(v); |
| 2135 | } |
| 2136 | |
| 2137 | inline void QOpenGLFunctions_2_0::glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
| 2138 | { |
| 2139 | d_1_0_Deprecated->f.Vertex3d(x, y, z); |
| 2140 | } |
| 2141 | |
| 2142 | inline void QOpenGLFunctions_2_0::glVertex2sv(const GLshort *v) |
| 2143 | { |
| 2144 | d_1_0_Deprecated->f.Vertex2sv(v); |
| 2145 | } |
| 2146 | |
| 2147 | inline void QOpenGLFunctions_2_0::glVertex2s(GLshort x, GLshort y) |
| 2148 | { |
| 2149 | d_1_0_Deprecated->f.Vertex2s(x, y); |
| 2150 | } |
| 2151 | |
| 2152 | inline void QOpenGLFunctions_2_0::glVertex2iv(const GLint *v) |
| 2153 | { |
| 2154 | d_1_0_Deprecated->f.Vertex2iv(v); |
| 2155 | } |
| 2156 | |
| 2157 | inline void QOpenGLFunctions_2_0::glVertex2i(GLint x, GLint y) |
| 2158 | { |
| 2159 | d_1_0_Deprecated->f.Vertex2i(x, y); |
| 2160 | } |
| 2161 | |
| 2162 | inline void QOpenGLFunctions_2_0::glVertex2fv(const GLfloat *v) |
| 2163 | { |
| 2164 | d_1_0_Deprecated->f.Vertex2fv(v); |
| 2165 | } |
| 2166 | |
| 2167 | inline void QOpenGLFunctions_2_0::glVertex2f(GLfloat x, GLfloat y) |
| 2168 | { |
| 2169 | d_1_0_Deprecated->f.Vertex2f(x, y); |
| 2170 | } |
| 2171 | |
| 2172 | inline void QOpenGLFunctions_2_0::glVertex2dv(const GLdouble *v) |
| 2173 | { |
| 2174 | d_1_0_Deprecated->f.Vertex2dv(v); |
| 2175 | } |
| 2176 | |
| 2177 | inline void QOpenGLFunctions_2_0::glVertex2d(GLdouble x, GLdouble y) |
| 2178 | { |
| 2179 | d_1_0_Deprecated->f.Vertex2d(x, y); |
| 2180 | } |
| 2181 | |
| 2182 | inline void QOpenGLFunctions_2_0::glTexCoord4sv(const GLshort *v) |
| 2183 | { |
| 2184 | d_1_0_Deprecated->f.TexCoord4sv(v); |
| 2185 | } |
| 2186 | |
| 2187 | inline void QOpenGLFunctions_2_0::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
| 2188 | { |
| 2189 | d_1_0_Deprecated->f.TexCoord4s(s, t, r, q); |
| 2190 | } |
| 2191 | |
| 2192 | inline void QOpenGLFunctions_2_0::glTexCoord4iv(const GLint *v) |
| 2193 | { |
| 2194 | d_1_0_Deprecated->f.TexCoord4iv(v); |
| 2195 | } |
| 2196 | |
| 2197 | inline void QOpenGLFunctions_2_0::glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
| 2198 | { |
| 2199 | d_1_0_Deprecated->f.TexCoord4i(s, t, r, q); |
| 2200 | } |
| 2201 | |
| 2202 | inline void QOpenGLFunctions_2_0::glTexCoord4fv(const GLfloat *v) |
| 2203 | { |
| 2204 | d_1_0_Deprecated->f.TexCoord4fv(v); |
| 2205 | } |
| 2206 | |
| 2207 | inline void QOpenGLFunctions_2_0::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 2208 | { |
| 2209 | d_1_0_Deprecated->f.TexCoord4f(s, t, r, q); |
| 2210 | } |
| 2211 | |
| 2212 | inline void QOpenGLFunctions_2_0::glTexCoord4dv(const GLdouble *v) |
| 2213 | { |
| 2214 | d_1_0_Deprecated->f.TexCoord4dv(v); |
| 2215 | } |
| 2216 | |
| 2217 | inline void QOpenGLFunctions_2_0::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| 2218 | { |
| 2219 | d_1_0_Deprecated->f.TexCoord4d(s, t, r, q); |
| 2220 | } |
| 2221 | |
| 2222 | inline void QOpenGLFunctions_2_0::glTexCoord3sv(const GLshort *v) |
| 2223 | { |
| 2224 | d_1_0_Deprecated->f.TexCoord3sv(v); |
| 2225 | } |
| 2226 | |
| 2227 | inline void QOpenGLFunctions_2_0::glTexCoord3s(GLshort s, GLshort t, GLshort r) |
| 2228 | { |
| 2229 | d_1_0_Deprecated->f.TexCoord3s(s, t, r); |
| 2230 | } |
| 2231 | |
| 2232 | inline void QOpenGLFunctions_2_0::glTexCoord3iv(const GLint *v) |
| 2233 | { |
| 2234 | d_1_0_Deprecated->f.TexCoord3iv(v); |
| 2235 | } |
| 2236 | |
| 2237 | inline void QOpenGLFunctions_2_0::glTexCoord3i(GLint s, GLint t, GLint r) |
| 2238 | { |
| 2239 | d_1_0_Deprecated->f.TexCoord3i(s, t, r); |
| 2240 | } |
| 2241 | |
| 2242 | inline void QOpenGLFunctions_2_0::glTexCoord3fv(const GLfloat *v) |
| 2243 | { |
| 2244 | d_1_0_Deprecated->f.TexCoord3fv(v); |
| 2245 | } |
| 2246 | |
| 2247 | inline void QOpenGLFunctions_2_0::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
| 2248 | { |
| 2249 | d_1_0_Deprecated->f.TexCoord3f(s, t, r); |
| 2250 | } |
| 2251 | |
| 2252 | inline void QOpenGLFunctions_2_0::glTexCoord3dv(const GLdouble *v) |
| 2253 | { |
| 2254 | d_1_0_Deprecated->f.TexCoord3dv(v); |
| 2255 | } |
| 2256 | |
| 2257 | inline void QOpenGLFunctions_2_0::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
| 2258 | { |
| 2259 | d_1_0_Deprecated->f.TexCoord3d(s, t, r); |
| 2260 | } |
| 2261 | |
| 2262 | inline void QOpenGLFunctions_2_0::glTexCoord2sv(const GLshort *v) |
| 2263 | { |
| 2264 | d_1_0_Deprecated->f.TexCoord2sv(v); |
| 2265 | } |
| 2266 | |
| 2267 | inline void QOpenGLFunctions_2_0::glTexCoord2s(GLshort s, GLshort t) |
| 2268 | { |
| 2269 | d_1_0_Deprecated->f.TexCoord2s(s, t); |
| 2270 | } |
| 2271 | |
| 2272 | inline void QOpenGLFunctions_2_0::glTexCoord2iv(const GLint *v) |
| 2273 | { |
| 2274 | d_1_0_Deprecated->f.TexCoord2iv(v); |
| 2275 | } |
| 2276 | |
| 2277 | inline void QOpenGLFunctions_2_0::glTexCoord2i(GLint s, GLint t) |
| 2278 | { |
| 2279 | d_1_0_Deprecated->f.TexCoord2i(s, t); |
| 2280 | } |
| 2281 | |
| 2282 | inline void QOpenGLFunctions_2_0::glTexCoord2fv(const GLfloat *v) |
| 2283 | { |
| 2284 | d_1_0_Deprecated->f.TexCoord2fv(v); |
| 2285 | } |
| 2286 | |
| 2287 | inline void QOpenGLFunctions_2_0::glTexCoord2f(GLfloat s, GLfloat t) |
| 2288 | { |
| 2289 | d_1_0_Deprecated->f.TexCoord2f(s, t); |
| 2290 | } |
| 2291 | |
| 2292 | inline void QOpenGLFunctions_2_0::glTexCoord2dv(const GLdouble *v) |
| 2293 | { |
| 2294 | d_1_0_Deprecated->f.TexCoord2dv(v); |
| 2295 | } |
| 2296 | |
| 2297 | inline void QOpenGLFunctions_2_0::glTexCoord2d(GLdouble s, GLdouble t) |
| 2298 | { |
| 2299 | d_1_0_Deprecated->f.TexCoord2d(s, t); |
| 2300 | } |
| 2301 | |
| 2302 | inline void QOpenGLFunctions_2_0::glTexCoord1sv(const GLshort *v) |
| 2303 | { |
| 2304 | d_1_0_Deprecated->f.TexCoord1sv(v); |
| 2305 | } |
| 2306 | |
| 2307 | inline void QOpenGLFunctions_2_0::glTexCoord1s(GLshort s) |
| 2308 | { |
| 2309 | d_1_0_Deprecated->f.TexCoord1s(s); |
| 2310 | } |
| 2311 | |
| 2312 | inline void QOpenGLFunctions_2_0::glTexCoord1iv(const GLint *v) |
| 2313 | { |
| 2314 | d_1_0_Deprecated->f.TexCoord1iv(v); |
| 2315 | } |
| 2316 | |
| 2317 | inline void QOpenGLFunctions_2_0::glTexCoord1i(GLint s) |
| 2318 | { |
| 2319 | d_1_0_Deprecated->f.TexCoord1i(s); |
| 2320 | } |
| 2321 | |
| 2322 | inline void QOpenGLFunctions_2_0::glTexCoord1fv(const GLfloat *v) |
| 2323 | { |
| 2324 | d_1_0_Deprecated->f.TexCoord1fv(v); |
| 2325 | } |
| 2326 | |
| 2327 | inline void QOpenGLFunctions_2_0::glTexCoord1f(GLfloat s) |
| 2328 | { |
| 2329 | d_1_0_Deprecated->f.TexCoord1f(s); |
| 2330 | } |
| 2331 | |
| 2332 | inline void QOpenGLFunctions_2_0::glTexCoord1dv(const GLdouble *v) |
| 2333 | { |
| 2334 | d_1_0_Deprecated->f.TexCoord1dv(v); |
| 2335 | } |
| 2336 | |
| 2337 | inline void QOpenGLFunctions_2_0::glTexCoord1d(GLdouble s) |
| 2338 | { |
| 2339 | d_1_0_Deprecated->f.TexCoord1d(s); |
| 2340 | } |
| 2341 | |
| 2342 | inline void QOpenGLFunctions_2_0::glRectsv(const GLshort *v1, const GLshort *v2) |
| 2343 | { |
| 2344 | d_1_0_Deprecated->f.Rectsv(v1, v2); |
| 2345 | } |
| 2346 | |
| 2347 | inline void QOpenGLFunctions_2_0::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
| 2348 | { |
| 2349 | d_1_0_Deprecated->f.Rects(x1, y1, x2, y2); |
| 2350 | } |
| 2351 | |
| 2352 | inline void QOpenGLFunctions_2_0::glRectiv(const GLint *v1, const GLint *v2) |
| 2353 | { |
| 2354 | d_1_0_Deprecated->f.Rectiv(v1, v2); |
| 2355 | } |
| 2356 | |
| 2357 | inline void QOpenGLFunctions_2_0::glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
| 2358 | { |
| 2359 | d_1_0_Deprecated->f.Recti(x1, y1, x2, y2); |
| 2360 | } |
| 2361 | |
| 2362 | inline void QOpenGLFunctions_2_0::glRectfv(const GLfloat *v1, const GLfloat *v2) |
| 2363 | { |
| 2364 | d_1_0_Deprecated->f.Rectfv(v1, v2); |
| 2365 | } |
| 2366 | |
| 2367 | inline void QOpenGLFunctions_2_0::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
| 2368 | { |
| 2369 | d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2); |
| 2370 | } |
| 2371 | |
| 2372 | inline void QOpenGLFunctions_2_0::glRectdv(const GLdouble *v1, const GLdouble *v2) |
| 2373 | { |
| 2374 | d_1_0_Deprecated->f.Rectdv(v1, v2); |
| 2375 | } |
| 2376 | |
| 2377 | inline void QOpenGLFunctions_2_0::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
| 2378 | { |
| 2379 | d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2); |
| 2380 | } |
| 2381 | |
| 2382 | inline void QOpenGLFunctions_2_0::glRasterPos4sv(const GLshort *v) |
| 2383 | { |
| 2384 | d_1_0_Deprecated->f.RasterPos4sv(v); |
| 2385 | } |
| 2386 | |
| 2387 | inline void QOpenGLFunctions_2_0::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 2388 | { |
| 2389 | d_1_0_Deprecated->f.RasterPos4s(x, y, z, w); |
| 2390 | } |
| 2391 | |
| 2392 | inline void QOpenGLFunctions_2_0::glRasterPos4iv(const GLint *v) |
| 2393 | { |
| 2394 | d_1_0_Deprecated->f.RasterPos4iv(v); |
| 2395 | } |
| 2396 | |
| 2397 | inline void QOpenGLFunctions_2_0::glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
| 2398 | { |
| 2399 | d_1_0_Deprecated->f.RasterPos4i(x, y, z, w); |
| 2400 | } |
| 2401 | |
| 2402 | inline void QOpenGLFunctions_2_0::glRasterPos4fv(const GLfloat *v) |
| 2403 | { |
| 2404 | d_1_0_Deprecated->f.RasterPos4fv(v); |
| 2405 | } |
| 2406 | |
| 2407 | inline void QOpenGLFunctions_2_0::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 2408 | { |
| 2409 | d_1_0_Deprecated->f.RasterPos4f(x, y, z, w); |
| 2410 | } |
| 2411 | |
| 2412 | inline void QOpenGLFunctions_2_0::glRasterPos4dv(const GLdouble *v) |
| 2413 | { |
| 2414 | d_1_0_Deprecated->f.RasterPos4dv(v); |
| 2415 | } |
| 2416 | |
| 2417 | inline void QOpenGLFunctions_2_0::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 2418 | { |
| 2419 | d_1_0_Deprecated->f.RasterPos4d(x, y, z, w); |
| 2420 | } |
| 2421 | |
| 2422 | inline void QOpenGLFunctions_2_0::glRasterPos3sv(const GLshort *v) |
| 2423 | { |
| 2424 | d_1_0_Deprecated->f.RasterPos3sv(v); |
| 2425 | } |
| 2426 | |
| 2427 | inline void QOpenGLFunctions_2_0::glRasterPos3s(GLshort x, GLshort y, GLshort z) |
| 2428 | { |
| 2429 | d_1_0_Deprecated->f.RasterPos3s(x, y, z); |
| 2430 | } |
| 2431 | |
| 2432 | inline void QOpenGLFunctions_2_0::glRasterPos3iv(const GLint *v) |
| 2433 | { |
| 2434 | d_1_0_Deprecated->f.RasterPos3iv(v); |
| 2435 | } |
| 2436 | |
| 2437 | inline void QOpenGLFunctions_2_0::glRasterPos3i(GLint x, GLint y, GLint z) |
| 2438 | { |
| 2439 | d_1_0_Deprecated->f.RasterPos3i(x, y, z); |
| 2440 | } |
| 2441 | |
| 2442 | inline void QOpenGLFunctions_2_0::glRasterPos3fv(const GLfloat *v) |
| 2443 | { |
| 2444 | d_1_0_Deprecated->f.RasterPos3fv(v); |
| 2445 | } |
| 2446 | |
| 2447 | inline void QOpenGLFunctions_2_0::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
| 2448 | { |
| 2449 | d_1_0_Deprecated->f.RasterPos3f(x, y, z); |
| 2450 | } |
| 2451 | |
| 2452 | inline void QOpenGLFunctions_2_0::glRasterPos3dv(const GLdouble *v) |
| 2453 | { |
| 2454 | d_1_0_Deprecated->f.RasterPos3dv(v); |
| 2455 | } |
| 2456 | |
| 2457 | inline void QOpenGLFunctions_2_0::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
| 2458 | { |
| 2459 | d_1_0_Deprecated->f.RasterPos3d(x, y, z); |
| 2460 | } |
| 2461 | |
| 2462 | inline void QOpenGLFunctions_2_0::glRasterPos2sv(const GLshort *v) |
| 2463 | { |
| 2464 | d_1_0_Deprecated->f.RasterPos2sv(v); |
| 2465 | } |
| 2466 | |
| 2467 | inline void QOpenGLFunctions_2_0::glRasterPos2s(GLshort x, GLshort y) |
| 2468 | { |
| 2469 | d_1_0_Deprecated->f.RasterPos2s(x, y); |
| 2470 | } |
| 2471 | |
| 2472 | inline void QOpenGLFunctions_2_0::glRasterPos2iv(const GLint *v) |
| 2473 | { |
| 2474 | d_1_0_Deprecated->f.RasterPos2iv(v); |
| 2475 | } |
| 2476 | |
| 2477 | inline void QOpenGLFunctions_2_0::glRasterPos2i(GLint x, GLint y) |
| 2478 | { |
| 2479 | d_1_0_Deprecated->f.RasterPos2i(x, y); |
| 2480 | } |
| 2481 | |
| 2482 | inline void QOpenGLFunctions_2_0::glRasterPos2fv(const GLfloat *v) |
| 2483 | { |
| 2484 | d_1_0_Deprecated->f.RasterPos2fv(v); |
| 2485 | } |
| 2486 | |
| 2487 | inline void QOpenGLFunctions_2_0::glRasterPos2f(GLfloat x, GLfloat y) |
| 2488 | { |
| 2489 | d_1_0_Deprecated->f.RasterPos2f(x, y); |
| 2490 | } |
| 2491 | |
| 2492 | inline void QOpenGLFunctions_2_0::glRasterPos2dv(const GLdouble *v) |
| 2493 | { |
| 2494 | d_1_0_Deprecated->f.RasterPos2dv(v); |
| 2495 | } |
| 2496 | |
| 2497 | inline void QOpenGLFunctions_2_0::glRasterPos2d(GLdouble x, GLdouble y) |
| 2498 | { |
| 2499 | d_1_0_Deprecated->f.RasterPos2d(x, y); |
| 2500 | } |
| 2501 | |
| 2502 | inline void QOpenGLFunctions_2_0::glNormal3sv(const GLshort *v) |
| 2503 | { |
| 2504 | d_1_0_Deprecated->f.Normal3sv(v); |
| 2505 | } |
| 2506 | |
| 2507 | inline void QOpenGLFunctions_2_0::glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
| 2508 | { |
| 2509 | d_1_0_Deprecated->f.Normal3s(nx, ny, nz); |
| 2510 | } |
| 2511 | |
| 2512 | inline void QOpenGLFunctions_2_0::glNormal3iv(const GLint *v) |
| 2513 | { |
| 2514 | d_1_0_Deprecated->f.Normal3iv(v); |
| 2515 | } |
| 2516 | |
| 2517 | inline void QOpenGLFunctions_2_0::glNormal3i(GLint nx, GLint ny, GLint nz) |
| 2518 | { |
| 2519 | d_1_0_Deprecated->f.Normal3i(nx, ny, nz); |
| 2520 | } |
| 2521 | |
| 2522 | inline void QOpenGLFunctions_2_0::glNormal3fv(const GLfloat *v) |
| 2523 | { |
| 2524 | d_1_0_Deprecated->f.Normal3fv(v); |
| 2525 | } |
| 2526 | |
| 2527 | inline void QOpenGLFunctions_2_0::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
| 2528 | { |
| 2529 | d_1_0_Deprecated->f.Normal3f(nx, ny, nz); |
| 2530 | } |
| 2531 | |
| 2532 | inline void QOpenGLFunctions_2_0::glNormal3dv(const GLdouble *v) |
| 2533 | { |
| 2534 | d_1_0_Deprecated->f.Normal3dv(v); |
| 2535 | } |
| 2536 | |
| 2537 | inline void QOpenGLFunctions_2_0::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
| 2538 | { |
| 2539 | d_1_0_Deprecated->f.Normal3d(nx, ny, nz); |
| 2540 | } |
| 2541 | |
| 2542 | inline void QOpenGLFunctions_2_0::glNormal3bv(const GLbyte *v) |
| 2543 | { |
| 2544 | d_1_0_Deprecated->f.Normal3bv(v); |
| 2545 | } |
| 2546 | |
| 2547 | inline void QOpenGLFunctions_2_0::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
| 2548 | { |
| 2549 | d_1_0_Deprecated->f.Normal3b(nx, ny, nz); |
| 2550 | } |
| 2551 | |
| 2552 | inline void QOpenGLFunctions_2_0::glIndexsv(const GLshort *c) |
| 2553 | { |
| 2554 | d_1_0_Deprecated->f.Indexsv(c); |
| 2555 | } |
| 2556 | |
| 2557 | inline void QOpenGLFunctions_2_0::glIndexs(GLshort c) |
| 2558 | { |
| 2559 | d_1_0_Deprecated->f.Indexs(c); |
| 2560 | } |
| 2561 | |
| 2562 | inline void QOpenGLFunctions_2_0::glIndexiv(const GLint *c) |
| 2563 | { |
| 2564 | d_1_0_Deprecated->f.Indexiv(c); |
| 2565 | } |
| 2566 | |
| 2567 | inline void QOpenGLFunctions_2_0::glIndexi(GLint c) |
| 2568 | { |
| 2569 | d_1_0_Deprecated->f.Indexi(c); |
| 2570 | } |
| 2571 | |
| 2572 | inline void QOpenGLFunctions_2_0::glIndexfv(const GLfloat *c) |
| 2573 | { |
| 2574 | d_1_0_Deprecated->f.Indexfv(c); |
| 2575 | } |
| 2576 | |
| 2577 | inline void QOpenGLFunctions_2_0::glIndexf(GLfloat c) |
| 2578 | { |
| 2579 | d_1_0_Deprecated->f.Indexf(c); |
| 2580 | } |
| 2581 | |
| 2582 | inline void QOpenGLFunctions_2_0::glIndexdv(const GLdouble *c) |
| 2583 | { |
| 2584 | d_1_0_Deprecated->f.Indexdv(c); |
| 2585 | } |
| 2586 | |
| 2587 | inline void QOpenGLFunctions_2_0::glIndexd(GLdouble c) |
| 2588 | { |
| 2589 | d_1_0_Deprecated->f.Indexd(c); |
| 2590 | } |
| 2591 | |
| 2592 | inline void QOpenGLFunctions_2_0::glEnd() |
| 2593 | { |
| 2594 | d_1_0_Deprecated->f.End(); |
| 2595 | } |
| 2596 | |
| 2597 | inline void QOpenGLFunctions_2_0::glEdgeFlagv(const GLboolean *flag) |
| 2598 | { |
| 2599 | d_1_0_Deprecated->f.EdgeFlagv(flag); |
| 2600 | } |
| 2601 | |
| 2602 | inline void QOpenGLFunctions_2_0::glEdgeFlag(GLboolean flag) |
| 2603 | { |
| 2604 | d_1_0_Deprecated->f.EdgeFlag(flag); |
| 2605 | } |
| 2606 | |
| 2607 | inline void QOpenGLFunctions_2_0::glColor4usv(const GLushort *v) |
| 2608 | { |
| 2609 | d_1_0_Deprecated->f.Color4usv(v); |
| 2610 | } |
| 2611 | |
| 2612 | inline void QOpenGLFunctions_2_0::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
| 2613 | { |
| 2614 | d_1_0_Deprecated->f.Color4us(red, green, blue, alpha); |
| 2615 | } |
| 2616 | |
| 2617 | inline void QOpenGLFunctions_2_0::glColor4uiv(const GLuint *v) |
| 2618 | { |
| 2619 | d_1_0_Deprecated->f.Color4uiv(v); |
| 2620 | } |
| 2621 | |
| 2622 | inline void QOpenGLFunctions_2_0::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
| 2623 | { |
| 2624 | d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha); |
| 2625 | } |
| 2626 | |
| 2627 | inline void QOpenGLFunctions_2_0::glColor4ubv(const GLubyte *v) |
| 2628 | { |
| 2629 | d_1_0_Deprecated->f.Color4ubv(v); |
| 2630 | } |
| 2631 | |
| 2632 | inline void QOpenGLFunctions_2_0::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| 2633 | { |
| 2634 | d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha); |
| 2635 | } |
| 2636 | |
| 2637 | inline void QOpenGLFunctions_2_0::glColor4sv(const GLshort *v) |
| 2638 | { |
| 2639 | d_1_0_Deprecated->f.Color4sv(v); |
| 2640 | } |
| 2641 | |
| 2642 | inline void QOpenGLFunctions_2_0::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
| 2643 | { |
| 2644 | d_1_0_Deprecated->f.Color4s(red, green, blue, alpha); |
| 2645 | } |
| 2646 | |
| 2647 | inline void QOpenGLFunctions_2_0::glColor4iv(const GLint *v) |
| 2648 | { |
| 2649 | d_1_0_Deprecated->f.Color4iv(v); |
| 2650 | } |
| 2651 | |
| 2652 | inline void QOpenGLFunctions_2_0::glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
| 2653 | { |
| 2654 | d_1_0_Deprecated->f.Color4i(red, green, blue, alpha); |
| 2655 | } |
| 2656 | |
| 2657 | inline void QOpenGLFunctions_2_0::glColor4fv(const GLfloat *v) |
| 2658 | { |
| 2659 | d_1_0_Deprecated->f.Color4fv(v); |
| 2660 | } |
| 2661 | |
| 2662 | inline void QOpenGLFunctions_2_0::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 2663 | { |
| 2664 | d_1_0_Deprecated->f.Color4f(red, green, blue, alpha); |
| 2665 | } |
| 2666 | |
| 2667 | inline void QOpenGLFunctions_2_0::glColor4dv(const GLdouble *v) |
| 2668 | { |
| 2669 | d_1_0_Deprecated->f.Color4dv(v); |
| 2670 | } |
| 2671 | |
| 2672 | inline void QOpenGLFunctions_2_0::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
| 2673 | { |
| 2674 | d_1_0_Deprecated->f.Color4d(red, green, blue, alpha); |
| 2675 | } |
| 2676 | |
| 2677 | inline void QOpenGLFunctions_2_0::glColor4bv(const GLbyte *v) |
| 2678 | { |
| 2679 | d_1_0_Deprecated->f.Color4bv(v); |
| 2680 | } |
| 2681 | |
| 2682 | inline void QOpenGLFunctions_2_0::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
| 2683 | { |
| 2684 | d_1_0_Deprecated->f.Color4b(red, green, blue, alpha); |
| 2685 | } |
| 2686 | |
| 2687 | inline void QOpenGLFunctions_2_0::glColor3usv(const GLushort *v) |
| 2688 | { |
| 2689 | d_1_0_Deprecated->f.Color3usv(v); |
| 2690 | } |
| 2691 | |
| 2692 | inline void QOpenGLFunctions_2_0::glColor3us(GLushort red, GLushort green, GLushort blue) |
| 2693 | { |
| 2694 | d_1_0_Deprecated->f.Color3us(red, green, blue); |
| 2695 | } |
| 2696 | |
| 2697 | inline void QOpenGLFunctions_2_0::glColor3uiv(const GLuint *v) |
| 2698 | { |
| 2699 | d_1_0_Deprecated->f.Color3uiv(v); |
| 2700 | } |
| 2701 | |
| 2702 | inline void QOpenGLFunctions_2_0::glColor3ui(GLuint red, GLuint green, GLuint blue) |
| 2703 | { |
| 2704 | d_1_0_Deprecated->f.Color3ui(red, green, blue); |
| 2705 | } |
| 2706 | |
| 2707 | inline void QOpenGLFunctions_2_0::glColor3ubv(const GLubyte *v) |
| 2708 | { |
| 2709 | d_1_0_Deprecated->f.Color3ubv(v); |
| 2710 | } |
| 2711 | |
| 2712 | inline void QOpenGLFunctions_2_0::glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| 2713 | { |
| 2714 | d_1_0_Deprecated->f.Color3ub(red, green, blue); |
| 2715 | } |
| 2716 | |
| 2717 | inline void QOpenGLFunctions_2_0::glColor3sv(const GLshort *v) |
| 2718 | { |
| 2719 | d_1_0_Deprecated->f.Color3sv(v); |
| 2720 | } |
| 2721 | |
| 2722 | inline void QOpenGLFunctions_2_0::glColor3s(GLshort red, GLshort green, GLshort blue) |
| 2723 | { |
| 2724 | d_1_0_Deprecated->f.Color3s(red, green, blue); |
| 2725 | } |
| 2726 | |
| 2727 | inline void QOpenGLFunctions_2_0::glColor3iv(const GLint *v) |
| 2728 | { |
| 2729 | d_1_0_Deprecated->f.Color3iv(v); |
| 2730 | } |
| 2731 | |
| 2732 | inline void QOpenGLFunctions_2_0::glColor3i(GLint red, GLint green, GLint blue) |
| 2733 | { |
| 2734 | d_1_0_Deprecated->f.Color3i(red, green, blue); |
| 2735 | } |
| 2736 | |
| 2737 | inline void QOpenGLFunctions_2_0::glColor3fv(const GLfloat *v) |
| 2738 | { |
| 2739 | d_1_0_Deprecated->f.Color3fv(v); |
| 2740 | } |
| 2741 | |
| 2742 | inline void QOpenGLFunctions_2_0::glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| 2743 | { |
| 2744 | d_1_0_Deprecated->f.Color3f(red, green, blue); |
| 2745 | } |
| 2746 | |
| 2747 | inline void QOpenGLFunctions_2_0::glColor3dv(const GLdouble *v) |
| 2748 | { |
| 2749 | d_1_0_Deprecated->f.Color3dv(v); |
| 2750 | } |
| 2751 | |
| 2752 | inline void QOpenGLFunctions_2_0::glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| 2753 | { |
| 2754 | d_1_0_Deprecated->f.Color3d(red, green, blue); |
| 2755 | } |
| 2756 | |
| 2757 | inline void QOpenGLFunctions_2_0::glColor3bv(const GLbyte *v) |
| 2758 | { |
| 2759 | d_1_0_Deprecated->f.Color3bv(v); |
| 2760 | } |
| 2761 | |
| 2762 | inline void QOpenGLFunctions_2_0::glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| 2763 | { |
| 2764 | d_1_0_Deprecated->f.Color3b(red, green, blue); |
| 2765 | } |
| 2766 | |
| 2767 | inline void QOpenGLFunctions_2_0::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
| 2768 | { |
| 2769 | d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap); |
| 2770 | } |
| 2771 | |
| 2772 | inline void QOpenGLFunctions_2_0::glBegin(GLenum mode) |
| 2773 | { |
| 2774 | d_1_0_Deprecated->f.Begin(mode); |
| 2775 | } |
| 2776 | |
| 2777 | inline void QOpenGLFunctions_2_0::glListBase(GLuint base) |
| 2778 | { |
| 2779 | d_1_0_Deprecated->f.ListBase(base); |
| 2780 | } |
| 2781 | |
| 2782 | inline GLuint QOpenGLFunctions_2_0::glGenLists(GLsizei range) |
| 2783 | { |
| 2784 | return d_1_0_Deprecated->f.GenLists(range); |
| 2785 | } |
| 2786 | |
| 2787 | inline void QOpenGLFunctions_2_0::glDeleteLists(GLuint list, GLsizei range) |
| 2788 | { |
| 2789 | d_1_0_Deprecated->f.DeleteLists(list, range); |
| 2790 | } |
| 2791 | |
| 2792 | inline void QOpenGLFunctions_2_0::glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
| 2793 | { |
| 2794 | d_1_0_Deprecated->f.CallLists(n, type, lists); |
| 2795 | } |
| 2796 | |
| 2797 | inline void QOpenGLFunctions_2_0::glCallList(GLuint list) |
| 2798 | { |
| 2799 | d_1_0_Deprecated->f.CallList(list); |
| 2800 | } |
| 2801 | |
| 2802 | inline void QOpenGLFunctions_2_0::glEndList() |
| 2803 | { |
| 2804 | d_1_0_Deprecated->f.EndList(); |
| 2805 | } |
| 2806 | |
| 2807 | inline void QOpenGLFunctions_2_0::glNewList(GLuint list, GLenum mode) |
| 2808 | { |
| 2809 | d_1_0_Deprecated->f.NewList(list, mode); |
| 2810 | } |
| 2811 | |
| 2812 | |
| 2813 | // OpenGL 1.1 deprecated functions |
| 2814 | inline void QOpenGLFunctions_2_0::glPushClientAttrib(GLbitfield mask) |
| 2815 | { |
| 2816 | d_1_1_Deprecated->f.PushClientAttrib(mask); |
| 2817 | } |
| 2818 | |
| 2819 | inline void QOpenGLFunctions_2_0::glPopClientAttrib() |
| 2820 | { |
| 2821 | d_1_1_Deprecated->f.PopClientAttrib(); |
| 2822 | } |
| 2823 | |
| 2824 | inline void QOpenGLFunctions_2_0::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities) |
| 2825 | { |
| 2826 | d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities); |
| 2827 | } |
| 2828 | |
| 2829 | inline GLboolean QOpenGLFunctions_2_0::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
| 2830 | { |
| 2831 | return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences); |
| 2832 | } |
| 2833 | |
| 2834 | inline void QOpenGLFunctions_2_0::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2835 | { |
| 2836 | d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer); |
| 2837 | } |
| 2838 | |
| 2839 | inline void QOpenGLFunctions_2_0::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2840 | { |
| 2841 | d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer); |
| 2842 | } |
| 2843 | |
| 2844 | inline void QOpenGLFunctions_2_0::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2845 | { |
| 2846 | d_1_1_Deprecated->f.NormalPointer(type, stride, pointer); |
| 2847 | } |
| 2848 | |
| 2849 | inline void QOpenGLFunctions_2_0::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
| 2850 | { |
| 2851 | d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer); |
| 2852 | } |
| 2853 | |
| 2854 | inline void QOpenGLFunctions_2_0::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2855 | { |
| 2856 | d_1_1_Deprecated->f.IndexPointer(type, stride, pointer); |
| 2857 | } |
| 2858 | |
| 2859 | inline void QOpenGLFunctions_2_0::glEnableClientState(GLenum array) |
| 2860 | { |
| 2861 | d_1_1_Deprecated->f.EnableClientState(array); |
| 2862 | } |
| 2863 | |
| 2864 | inline void QOpenGLFunctions_2_0::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer) |
| 2865 | { |
| 2866 | d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer); |
| 2867 | } |
| 2868 | |
| 2869 | inline void QOpenGLFunctions_2_0::glDisableClientState(GLenum array) |
| 2870 | { |
| 2871 | d_1_1_Deprecated->f.DisableClientState(array); |
| 2872 | } |
| 2873 | |
| 2874 | inline void QOpenGLFunctions_2_0::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2875 | { |
| 2876 | d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer); |
| 2877 | } |
| 2878 | |
| 2879 | inline void QOpenGLFunctions_2_0::glArrayElement(GLint i) |
| 2880 | { |
| 2881 | d_1_1_Deprecated->f.ArrayElement(i); |
| 2882 | } |
| 2883 | |
| 2884 | |
| 2885 | // OpenGL 1.2 deprecated functions |
| 2886 | inline void QOpenGLFunctions_2_0::glResetMinmax(GLenum target) |
| 2887 | { |
| 2888 | d_1_2_Deprecated->f.ResetMinmax(target); |
| 2889 | } |
| 2890 | |
| 2891 | inline void QOpenGLFunctions_2_0::glResetHistogram(GLenum target) |
| 2892 | { |
| 2893 | d_1_2_Deprecated->f.ResetHistogram(target); |
| 2894 | } |
| 2895 | |
| 2896 | inline void QOpenGLFunctions_2_0::glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
| 2897 | { |
| 2898 | d_1_2_Deprecated->f.Minmax(target, internalformat, sink); |
| 2899 | } |
| 2900 | |
| 2901 | inline void QOpenGLFunctions_2_0::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
| 2902 | { |
| 2903 | d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink); |
| 2904 | } |
| 2905 | |
| 2906 | inline void QOpenGLFunctions_2_0::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2907 | { |
| 2908 | d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params); |
| 2909 | } |
| 2910 | |
| 2911 | inline void QOpenGLFunctions_2_0::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2912 | { |
| 2913 | d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params); |
| 2914 | } |
| 2915 | |
| 2916 | inline void QOpenGLFunctions_2_0::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| 2917 | { |
| 2918 | d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values); |
| 2919 | } |
| 2920 | |
| 2921 | inline void QOpenGLFunctions_2_0::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2922 | { |
| 2923 | d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params); |
| 2924 | } |
| 2925 | |
| 2926 | inline void QOpenGLFunctions_2_0::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2927 | { |
| 2928 | d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params); |
| 2929 | } |
| 2930 | |
| 2931 | inline void QOpenGLFunctions_2_0::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| 2932 | { |
| 2933 | d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values); |
| 2934 | } |
| 2935 | |
| 2936 | inline void QOpenGLFunctions_2_0::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
| 2937 | { |
| 2938 | d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column); |
| 2939 | } |
| 2940 | |
| 2941 | inline void QOpenGLFunctions_2_0::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
| 2942 | { |
| 2943 | d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span); |
| 2944 | } |
| 2945 | |
| 2946 | inline void QOpenGLFunctions_2_0::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2947 | { |
| 2948 | d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params); |
| 2949 | } |
| 2950 | |
| 2951 | inline void QOpenGLFunctions_2_0::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2952 | { |
| 2953 | d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params); |
| 2954 | } |
| 2955 | |
| 2956 | inline void QOpenGLFunctions_2_0::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
| 2957 | { |
| 2958 | d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image); |
| 2959 | } |
| 2960 | |
| 2961 | inline void QOpenGLFunctions_2_0::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
| 2962 | { |
| 2963 | d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height); |
| 2964 | } |
| 2965 | |
| 2966 | inline void QOpenGLFunctions_2_0::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 2967 | { |
| 2968 | d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width); |
| 2969 | } |
| 2970 | |
| 2971 | inline void QOpenGLFunctions_2_0::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 2972 | { |
| 2973 | d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params); |
| 2974 | } |
| 2975 | |
| 2976 | inline void QOpenGLFunctions_2_0::glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
| 2977 | { |
| 2978 | d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params); |
| 2979 | } |
| 2980 | |
| 2981 | inline void QOpenGLFunctions_2_0::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 2982 | { |
| 2983 | d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params); |
| 2984 | } |
| 2985 | |
| 2986 | inline void QOpenGLFunctions_2_0::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
| 2987 | { |
| 2988 | d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params); |
| 2989 | } |
| 2990 | |
| 2991 | inline void QOpenGLFunctions_2_0::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
| 2992 | { |
| 2993 | d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image); |
| 2994 | } |
| 2995 | |
| 2996 | inline void QOpenGLFunctions_2_0::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
| 2997 | { |
| 2998 | d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image); |
| 2999 | } |
| 3000 | |
| 3001 | inline void QOpenGLFunctions_2_0::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| 3002 | { |
| 3003 | d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width); |
| 3004 | } |
| 3005 | |
| 3006 | inline void QOpenGLFunctions_2_0::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
| 3007 | { |
| 3008 | d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data); |
| 3009 | } |
| 3010 | |
| 3011 | inline void QOpenGLFunctions_2_0::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
| 3012 | { |
| 3013 | d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params); |
| 3014 | } |
| 3015 | |
| 3016 | inline void QOpenGLFunctions_2_0::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 3017 | { |
| 3018 | d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params); |
| 3019 | } |
| 3020 | |
| 3021 | inline void QOpenGLFunctions_2_0::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| 3022 | { |
| 3023 | d_1_2_Deprecated->f.GetColorTable(target, format, type, table); |
| 3024 | } |
| 3025 | |
| 3026 | inline void QOpenGLFunctions_2_0::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 3027 | { |
| 3028 | d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width); |
| 3029 | } |
| 3030 | |
| 3031 | inline void QOpenGLFunctions_2_0::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 3032 | { |
| 3033 | d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params); |
| 3034 | } |
| 3035 | |
| 3036 | inline void QOpenGLFunctions_2_0::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 3037 | { |
| 3038 | d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params); |
| 3039 | } |
| 3040 | |
| 3041 | inline void QOpenGLFunctions_2_0::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| 3042 | { |
| 3043 | d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table); |
| 3044 | } |
| 3045 | |
| 3046 | |
| 3047 | // OpenGL 1.3 deprecated functions |
| 3048 | inline void QOpenGLFunctions_2_0::glMultTransposeMatrixd(const GLdouble *m) |
| 3049 | { |
| 3050 | d_1_3_Deprecated->f.MultTransposeMatrixd(m); |
| 3051 | } |
| 3052 | |
| 3053 | inline void QOpenGLFunctions_2_0::glMultTransposeMatrixf(const GLfloat *m) |
| 3054 | { |
| 3055 | d_1_3_Deprecated->f.MultTransposeMatrixf(m); |
| 3056 | } |
| 3057 | |
| 3058 | inline void QOpenGLFunctions_2_0::glLoadTransposeMatrixd(const GLdouble *m) |
| 3059 | { |
| 3060 | d_1_3_Deprecated->f.LoadTransposeMatrixd(m); |
| 3061 | } |
| 3062 | |
| 3063 | inline void QOpenGLFunctions_2_0::glLoadTransposeMatrixf(const GLfloat *m) |
| 3064 | { |
| 3065 | d_1_3_Deprecated->f.LoadTransposeMatrixf(m); |
| 3066 | } |
| 3067 | |
| 3068 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4sv(GLenum target, const GLshort *v) |
| 3069 | { |
| 3070 | d_1_3_Deprecated->f.MultiTexCoord4sv(target, v); |
| 3071 | } |
| 3072 | |
| 3073 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4s(GLenum target, GLshort s, GLshort t, GLshort r, GLshort q) |
| 3074 | { |
| 3075 | d_1_3_Deprecated->f.MultiTexCoord4s(target, s, t, r, q); |
| 3076 | } |
| 3077 | |
| 3078 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4iv(GLenum target, const GLint *v) |
| 3079 | { |
| 3080 | d_1_3_Deprecated->f.MultiTexCoord4iv(target, v); |
| 3081 | } |
| 3082 | |
| 3083 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4i(GLenum target, GLint s, GLint t, GLint r, GLint q) |
| 3084 | { |
| 3085 | d_1_3_Deprecated->f.MultiTexCoord4i(target, s, t, r, q); |
| 3086 | } |
| 3087 | |
| 3088 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4fv(GLenum target, const GLfloat *v) |
| 3089 | { |
| 3090 | d_1_3_Deprecated->f.MultiTexCoord4fv(target, v); |
| 3091 | } |
| 3092 | |
| 3093 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4f(GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 3094 | { |
| 3095 | d_1_3_Deprecated->f.MultiTexCoord4f(target, s, t, r, q); |
| 3096 | } |
| 3097 | |
| 3098 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4dv(GLenum target, const GLdouble *v) |
| 3099 | { |
| 3100 | d_1_3_Deprecated->f.MultiTexCoord4dv(target, v); |
| 3101 | } |
| 3102 | |
| 3103 | inline void QOpenGLFunctions_2_0::glMultiTexCoord4d(GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| 3104 | { |
| 3105 | d_1_3_Deprecated->f.MultiTexCoord4d(target, s, t, r, q); |
| 3106 | } |
| 3107 | |
| 3108 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3sv(GLenum target, const GLshort *v) |
| 3109 | { |
| 3110 | d_1_3_Deprecated->f.MultiTexCoord3sv(target, v); |
| 3111 | } |
| 3112 | |
| 3113 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3s(GLenum target, GLshort s, GLshort t, GLshort r) |
| 3114 | { |
| 3115 | d_1_3_Deprecated->f.MultiTexCoord3s(target, s, t, r); |
| 3116 | } |
| 3117 | |
| 3118 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3iv(GLenum target, const GLint *v) |
| 3119 | { |
| 3120 | d_1_3_Deprecated->f.MultiTexCoord3iv(target, v); |
| 3121 | } |
| 3122 | |
| 3123 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3i(GLenum target, GLint s, GLint t, GLint r) |
| 3124 | { |
| 3125 | d_1_3_Deprecated->f.MultiTexCoord3i(target, s, t, r); |
| 3126 | } |
| 3127 | |
| 3128 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3fv(GLenum target, const GLfloat *v) |
| 3129 | { |
| 3130 | d_1_3_Deprecated->f.MultiTexCoord3fv(target, v); |
| 3131 | } |
| 3132 | |
| 3133 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3f(GLenum target, GLfloat s, GLfloat t, GLfloat r) |
| 3134 | { |
| 3135 | d_1_3_Deprecated->f.MultiTexCoord3f(target, s, t, r); |
| 3136 | } |
| 3137 | |
| 3138 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3dv(GLenum target, const GLdouble *v) |
| 3139 | { |
| 3140 | d_1_3_Deprecated->f.MultiTexCoord3dv(target, v); |
| 3141 | } |
| 3142 | |
| 3143 | inline void QOpenGLFunctions_2_0::glMultiTexCoord3d(GLenum target, GLdouble s, GLdouble t, GLdouble r) |
| 3144 | { |
| 3145 | d_1_3_Deprecated->f.MultiTexCoord3d(target, s, t, r); |
| 3146 | } |
| 3147 | |
| 3148 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2sv(GLenum target, const GLshort *v) |
| 3149 | { |
| 3150 | d_1_3_Deprecated->f.MultiTexCoord2sv(target, v); |
| 3151 | } |
| 3152 | |
| 3153 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2s(GLenum target, GLshort s, GLshort t) |
| 3154 | { |
| 3155 | d_1_3_Deprecated->f.MultiTexCoord2s(target, s, t); |
| 3156 | } |
| 3157 | |
| 3158 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2iv(GLenum target, const GLint *v) |
| 3159 | { |
| 3160 | d_1_3_Deprecated->f.MultiTexCoord2iv(target, v); |
| 3161 | } |
| 3162 | |
| 3163 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2i(GLenum target, GLint s, GLint t) |
| 3164 | { |
| 3165 | d_1_3_Deprecated->f.MultiTexCoord2i(target, s, t); |
| 3166 | } |
| 3167 | |
| 3168 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2fv(GLenum target, const GLfloat *v) |
| 3169 | { |
| 3170 | d_1_3_Deprecated->f.MultiTexCoord2fv(target, v); |
| 3171 | } |
| 3172 | |
| 3173 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2f(GLenum target, GLfloat s, GLfloat t) |
| 3174 | { |
| 3175 | d_1_3_Deprecated->f.MultiTexCoord2f(target, s, t); |
| 3176 | } |
| 3177 | |
| 3178 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2dv(GLenum target, const GLdouble *v) |
| 3179 | { |
| 3180 | d_1_3_Deprecated->f.MultiTexCoord2dv(target, v); |
| 3181 | } |
| 3182 | |
| 3183 | inline void QOpenGLFunctions_2_0::glMultiTexCoord2d(GLenum target, GLdouble s, GLdouble t) |
| 3184 | { |
| 3185 | d_1_3_Deprecated->f.MultiTexCoord2d(target, s, t); |
| 3186 | } |
| 3187 | |
| 3188 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1sv(GLenum target, const GLshort *v) |
| 3189 | { |
| 3190 | d_1_3_Deprecated->f.MultiTexCoord1sv(target, v); |
| 3191 | } |
| 3192 | |
| 3193 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1s(GLenum target, GLshort s) |
| 3194 | { |
| 3195 | d_1_3_Deprecated->f.MultiTexCoord1s(target, s); |
| 3196 | } |
| 3197 | |
| 3198 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1iv(GLenum target, const GLint *v) |
| 3199 | { |
| 3200 | d_1_3_Deprecated->f.MultiTexCoord1iv(target, v); |
| 3201 | } |
| 3202 | |
| 3203 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1i(GLenum target, GLint s) |
| 3204 | { |
| 3205 | d_1_3_Deprecated->f.MultiTexCoord1i(target, s); |
| 3206 | } |
| 3207 | |
| 3208 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1fv(GLenum target, const GLfloat *v) |
| 3209 | { |
| 3210 | d_1_3_Deprecated->f.MultiTexCoord1fv(target, v); |
| 3211 | } |
| 3212 | |
| 3213 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1f(GLenum target, GLfloat s) |
| 3214 | { |
| 3215 | d_1_3_Deprecated->f.MultiTexCoord1f(target, s); |
| 3216 | } |
| 3217 | |
| 3218 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1dv(GLenum target, const GLdouble *v) |
| 3219 | { |
| 3220 | d_1_3_Deprecated->f.MultiTexCoord1dv(target, v); |
| 3221 | } |
| 3222 | |
| 3223 | inline void QOpenGLFunctions_2_0::glMultiTexCoord1d(GLenum target, GLdouble s) |
| 3224 | { |
| 3225 | d_1_3_Deprecated->f.MultiTexCoord1d(target, s); |
| 3226 | } |
| 3227 | |
| 3228 | inline void QOpenGLFunctions_2_0::glClientActiveTexture(GLenum texture) |
| 3229 | { |
| 3230 | d_1_3_Deprecated->f.ClientActiveTexture(texture); |
| 3231 | } |
| 3232 | |
| 3233 | |
| 3234 | // OpenGL 1.4 deprecated functions |
| 3235 | inline void QOpenGLFunctions_2_0::glWindowPos3sv(const GLshort *v) |
| 3236 | { |
| 3237 | d_1_4_Deprecated->f.WindowPos3sv(v); |
| 3238 | } |
| 3239 | |
| 3240 | inline void QOpenGLFunctions_2_0::glWindowPos3s(GLshort x, GLshort y, GLshort z) |
| 3241 | { |
| 3242 | d_1_4_Deprecated->f.WindowPos3s(x, y, z); |
| 3243 | } |
| 3244 | |
| 3245 | inline void QOpenGLFunctions_2_0::glWindowPos3iv(const GLint *v) |
| 3246 | { |
| 3247 | d_1_4_Deprecated->f.WindowPos3iv(v); |
| 3248 | } |
| 3249 | |
| 3250 | inline void QOpenGLFunctions_2_0::glWindowPos3i(GLint x, GLint y, GLint z) |
| 3251 | { |
| 3252 | d_1_4_Deprecated->f.WindowPos3i(x, y, z); |
| 3253 | } |
| 3254 | |
| 3255 | inline void QOpenGLFunctions_2_0::glWindowPos3fv(const GLfloat *v) |
| 3256 | { |
| 3257 | d_1_4_Deprecated->f.WindowPos3fv(v); |
| 3258 | } |
| 3259 | |
| 3260 | inline void QOpenGLFunctions_2_0::glWindowPos3f(GLfloat x, GLfloat y, GLfloat z) |
| 3261 | { |
| 3262 | d_1_4_Deprecated->f.WindowPos3f(x, y, z); |
| 3263 | } |
| 3264 | |
| 3265 | inline void QOpenGLFunctions_2_0::glWindowPos3dv(const GLdouble *v) |
| 3266 | { |
| 3267 | d_1_4_Deprecated->f.WindowPos3dv(v); |
| 3268 | } |
| 3269 | |
| 3270 | inline void QOpenGLFunctions_2_0::glWindowPos3d(GLdouble x, GLdouble y, GLdouble z) |
| 3271 | { |
| 3272 | d_1_4_Deprecated->f.WindowPos3d(x, y, z); |
| 3273 | } |
| 3274 | |
| 3275 | inline void QOpenGLFunctions_2_0::glWindowPos2sv(const GLshort *v) |
| 3276 | { |
| 3277 | d_1_4_Deprecated->f.WindowPos2sv(v); |
| 3278 | } |
| 3279 | |
| 3280 | inline void QOpenGLFunctions_2_0::glWindowPos2s(GLshort x, GLshort y) |
| 3281 | { |
| 3282 | d_1_4_Deprecated->f.WindowPos2s(x, y); |
| 3283 | } |
| 3284 | |
| 3285 | inline void QOpenGLFunctions_2_0::glWindowPos2iv(const GLint *v) |
| 3286 | { |
| 3287 | d_1_4_Deprecated->f.WindowPos2iv(v); |
| 3288 | } |
| 3289 | |
| 3290 | inline void QOpenGLFunctions_2_0::glWindowPos2i(GLint x, GLint y) |
| 3291 | { |
| 3292 | d_1_4_Deprecated->f.WindowPos2i(x, y); |
| 3293 | } |
| 3294 | |
| 3295 | inline void QOpenGLFunctions_2_0::glWindowPos2fv(const GLfloat *v) |
| 3296 | { |
| 3297 | d_1_4_Deprecated->f.WindowPos2fv(v); |
| 3298 | } |
| 3299 | |
| 3300 | inline void QOpenGLFunctions_2_0::glWindowPos2f(GLfloat x, GLfloat y) |
| 3301 | { |
| 3302 | d_1_4_Deprecated->f.WindowPos2f(x, y); |
| 3303 | } |
| 3304 | |
| 3305 | inline void QOpenGLFunctions_2_0::glWindowPos2dv(const GLdouble *v) |
| 3306 | { |
| 3307 | d_1_4_Deprecated->f.WindowPos2dv(v); |
| 3308 | } |
| 3309 | |
| 3310 | inline void QOpenGLFunctions_2_0::glWindowPos2d(GLdouble x, GLdouble y) |
| 3311 | { |
| 3312 | d_1_4_Deprecated->f.WindowPos2d(x, y); |
| 3313 | } |
| 3314 | |
| 3315 | inline void QOpenGLFunctions_2_0::glSecondaryColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 3316 | { |
| 3317 | d_1_4_Deprecated->f.SecondaryColorPointer(size, type, stride, pointer); |
| 3318 | } |
| 3319 | |
| 3320 | inline void QOpenGLFunctions_2_0::glSecondaryColor3usv(const GLushort *v) |
| 3321 | { |
| 3322 | d_1_4_Deprecated->f.SecondaryColor3usv(v); |
| 3323 | } |
| 3324 | |
| 3325 | inline void QOpenGLFunctions_2_0::glSecondaryColor3us(GLushort red, GLushort green, GLushort blue) |
| 3326 | { |
| 3327 | d_1_4_Deprecated->f.SecondaryColor3us(red, green, blue); |
| 3328 | } |
| 3329 | |
| 3330 | inline void QOpenGLFunctions_2_0::glSecondaryColor3uiv(const GLuint *v) |
| 3331 | { |
| 3332 | d_1_4_Deprecated->f.SecondaryColor3uiv(v); |
| 3333 | } |
| 3334 | |
| 3335 | inline void QOpenGLFunctions_2_0::glSecondaryColor3ui(GLuint red, GLuint green, GLuint blue) |
| 3336 | { |
| 3337 | d_1_4_Deprecated->f.SecondaryColor3ui(red, green, blue); |
| 3338 | } |
| 3339 | |
| 3340 | inline void QOpenGLFunctions_2_0::glSecondaryColor3ubv(const GLubyte *v) |
| 3341 | { |
| 3342 | d_1_4_Deprecated->f.SecondaryColor3ubv(v); |
| 3343 | } |
| 3344 | |
| 3345 | inline void QOpenGLFunctions_2_0::glSecondaryColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| 3346 | { |
| 3347 | d_1_4_Deprecated->f.SecondaryColor3ub(red, green, blue); |
| 3348 | } |
| 3349 | |
| 3350 | inline void QOpenGLFunctions_2_0::glSecondaryColor3sv(const GLshort *v) |
| 3351 | { |
| 3352 | d_1_4_Deprecated->f.SecondaryColor3sv(v); |
| 3353 | } |
| 3354 | |
| 3355 | inline void QOpenGLFunctions_2_0::glSecondaryColor3s(GLshort red, GLshort green, GLshort blue) |
| 3356 | { |
| 3357 | d_1_4_Deprecated->f.SecondaryColor3s(red, green, blue); |
| 3358 | } |
| 3359 | |
| 3360 | inline void QOpenGLFunctions_2_0::glSecondaryColor3iv(const GLint *v) |
| 3361 | { |
| 3362 | d_1_4_Deprecated->f.SecondaryColor3iv(v); |
| 3363 | } |
| 3364 | |
| 3365 | inline void QOpenGLFunctions_2_0::glSecondaryColor3i(GLint red, GLint green, GLint blue) |
| 3366 | { |
| 3367 | d_1_4_Deprecated->f.SecondaryColor3i(red, green, blue); |
| 3368 | } |
| 3369 | |
| 3370 | inline void QOpenGLFunctions_2_0::glSecondaryColor3fv(const GLfloat *v) |
| 3371 | { |
| 3372 | d_1_4_Deprecated->f.SecondaryColor3fv(v); |
| 3373 | } |
| 3374 | |
| 3375 | inline void QOpenGLFunctions_2_0::glSecondaryColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| 3376 | { |
| 3377 | d_1_4_Deprecated->f.SecondaryColor3f(red, green, blue); |
| 3378 | } |
| 3379 | |
| 3380 | inline void QOpenGLFunctions_2_0::glSecondaryColor3dv(const GLdouble *v) |
| 3381 | { |
| 3382 | d_1_4_Deprecated->f.SecondaryColor3dv(v); |
| 3383 | } |
| 3384 | |
| 3385 | inline void QOpenGLFunctions_2_0::glSecondaryColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| 3386 | { |
| 3387 | d_1_4_Deprecated->f.SecondaryColor3d(red, green, blue); |
| 3388 | } |
| 3389 | |
| 3390 | inline void QOpenGLFunctions_2_0::glSecondaryColor3bv(const GLbyte *v) |
| 3391 | { |
| 3392 | d_1_4_Deprecated->f.SecondaryColor3bv(v); |
| 3393 | } |
| 3394 | |
| 3395 | inline void QOpenGLFunctions_2_0::glSecondaryColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| 3396 | { |
| 3397 | d_1_4_Deprecated->f.SecondaryColor3b(red, green, blue); |
| 3398 | } |
| 3399 | |
| 3400 | inline void QOpenGLFunctions_2_0::glFogCoordPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| 3401 | { |
| 3402 | d_1_4_Deprecated->f.FogCoordPointer(type, stride, pointer); |
| 3403 | } |
| 3404 | |
| 3405 | inline void QOpenGLFunctions_2_0::glFogCoorddv(const GLdouble *coord) |
| 3406 | { |
| 3407 | d_1_4_Deprecated->f.FogCoorddv(coord); |
| 3408 | } |
| 3409 | |
| 3410 | inline void QOpenGLFunctions_2_0::glFogCoordd(GLdouble coord) |
| 3411 | { |
| 3412 | d_1_4_Deprecated->f.FogCoordd(coord); |
| 3413 | } |
| 3414 | |
| 3415 | inline void QOpenGLFunctions_2_0::glFogCoordfv(const GLfloat *coord) |
| 3416 | { |
| 3417 | d_1_4_Deprecated->f.FogCoordfv(coord); |
| 3418 | } |
| 3419 | |
| 3420 | inline void QOpenGLFunctions_2_0::glFogCoordf(GLfloat coord) |
| 3421 | { |
| 3422 | d_1_4_Deprecated->f.FogCoordf(coord); |
| 3423 | } |
| 3424 | |
| 3425 | |
| 3426 | // OpenGL 1.5 deprecated functions |
| 3427 | |
| 3428 | // OpenGL 2.0 deprecated functions |
| 3429 | inline void QOpenGLFunctions_2_0::glVertexAttrib4usv(GLuint index, const GLushort *v) |
| 3430 | { |
| 3431 | d_2_0_Core->f.VertexAttrib4usv(index, v); |
| 3432 | } |
| 3433 | |
| 3434 | inline void QOpenGLFunctions_2_0::glVertexAttrib4uiv(GLuint index, const GLuint *v) |
| 3435 | { |
| 3436 | d_2_0_Core->f.VertexAttrib4uiv(index, v); |
| 3437 | } |
| 3438 | |
| 3439 | inline void QOpenGLFunctions_2_0::glVertexAttrib4ubv(GLuint index, const GLubyte *v) |
| 3440 | { |
| 3441 | d_2_0_Core->f.VertexAttrib4ubv(index, v); |
| 3442 | } |
| 3443 | |
| 3444 | inline void QOpenGLFunctions_2_0::glVertexAttrib4sv(GLuint index, const GLshort *v) |
| 3445 | { |
| 3446 | d_2_0_Core->f.VertexAttrib4sv(index, v); |
| 3447 | } |
| 3448 | |
| 3449 | inline void QOpenGLFunctions_2_0::glVertexAttrib4s(GLuint index, GLshort x, GLshort y, GLshort z, GLshort w) |
| 3450 | { |
| 3451 | d_2_0_Core->f.VertexAttrib4s(index, x, y, z, w); |
| 3452 | } |
| 3453 | |
| 3454 | inline void QOpenGLFunctions_2_0::glVertexAttrib4iv(GLuint index, const GLint *v) |
| 3455 | { |
| 3456 | d_2_0_Core->f.VertexAttrib4iv(index, v); |
| 3457 | } |
| 3458 | |
| 3459 | inline void QOpenGLFunctions_2_0::glVertexAttrib4fv(GLuint index, const GLfloat *v) |
| 3460 | { |
| 3461 | d_2_0_Core->f.VertexAttrib4fv(index, v); |
| 3462 | } |
| 3463 | |
| 3464 | inline void QOpenGLFunctions_2_0::glVertexAttrib4f(GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 3465 | { |
| 3466 | d_2_0_Core->f.VertexAttrib4f(index, x, y, z, w); |
| 3467 | } |
| 3468 | |
| 3469 | inline void QOpenGLFunctions_2_0::glVertexAttrib4dv(GLuint index, const GLdouble *v) |
| 3470 | { |
| 3471 | d_2_0_Core->f.VertexAttrib4dv(index, v); |
| 3472 | } |
| 3473 | |
| 3474 | inline void QOpenGLFunctions_2_0::glVertexAttrib4d(GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 3475 | { |
| 3476 | d_2_0_Core->f.VertexAttrib4d(index, x, y, z, w); |
| 3477 | } |
| 3478 | |
| 3479 | inline void QOpenGLFunctions_2_0::glVertexAttrib4bv(GLuint index, const GLbyte *v) |
| 3480 | { |
| 3481 | d_2_0_Core->f.VertexAttrib4bv(index, v); |
| 3482 | } |
| 3483 | |
| 3484 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nusv(GLuint index, const GLushort *v) |
| 3485 | { |
| 3486 | d_2_0_Core->f.VertexAttrib4Nusv(index, v); |
| 3487 | } |
| 3488 | |
| 3489 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nuiv(GLuint index, const GLuint *v) |
| 3490 | { |
| 3491 | d_2_0_Core->f.VertexAttrib4Nuiv(index, v); |
| 3492 | } |
| 3493 | |
| 3494 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nubv(GLuint index, const GLubyte *v) |
| 3495 | { |
| 3496 | d_2_0_Core->f.VertexAttrib4Nubv(index, v); |
| 3497 | } |
| 3498 | |
| 3499 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nub(GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w) |
| 3500 | { |
| 3501 | d_2_0_Core->f.VertexAttrib4Nub(index, x, y, z, w); |
| 3502 | } |
| 3503 | |
| 3504 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nsv(GLuint index, const GLshort *v) |
| 3505 | { |
| 3506 | d_2_0_Core->f.VertexAttrib4Nsv(index, v); |
| 3507 | } |
| 3508 | |
| 3509 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Niv(GLuint index, const GLint *v) |
| 3510 | { |
| 3511 | d_2_0_Core->f.VertexAttrib4Niv(index, v); |
| 3512 | } |
| 3513 | |
| 3514 | inline void QOpenGLFunctions_2_0::glVertexAttrib4Nbv(GLuint index, const GLbyte *v) |
| 3515 | { |
| 3516 | d_2_0_Core->f.VertexAttrib4Nbv(index, v); |
| 3517 | } |
| 3518 | |
| 3519 | inline void QOpenGLFunctions_2_0::glVertexAttrib3sv(GLuint index, const GLshort *v) |
| 3520 | { |
| 3521 | d_2_0_Core->f.VertexAttrib3sv(index, v); |
| 3522 | } |
| 3523 | |
| 3524 | inline void QOpenGLFunctions_2_0::glVertexAttrib3s(GLuint index, GLshort x, GLshort y, GLshort z) |
| 3525 | { |
| 3526 | d_2_0_Core->f.VertexAttrib3s(index, x, y, z); |
| 3527 | } |
| 3528 | |
| 3529 | inline void QOpenGLFunctions_2_0::glVertexAttrib3fv(GLuint index, const GLfloat *v) |
| 3530 | { |
| 3531 | d_2_0_Core->f.VertexAttrib3fv(index, v); |
| 3532 | } |
| 3533 | |
| 3534 | inline void QOpenGLFunctions_2_0::glVertexAttrib3f(GLuint index, GLfloat x, GLfloat y, GLfloat z) |
| 3535 | { |
| 3536 | d_2_0_Core->f.VertexAttrib3f(index, x, y, z); |
| 3537 | } |
| 3538 | |
| 3539 | inline void QOpenGLFunctions_2_0::glVertexAttrib3dv(GLuint index, const GLdouble *v) |
| 3540 | { |
| 3541 | d_2_0_Core->f.VertexAttrib3dv(index, v); |
| 3542 | } |
| 3543 | |
| 3544 | inline void QOpenGLFunctions_2_0::glVertexAttrib3d(GLuint index, GLdouble x, GLdouble y, GLdouble z) |
| 3545 | { |
| 3546 | d_2_0_Core->f.VertexAttrib3d(index, x, y, z); |
| 3547 | } |
| 3548 | |
| 3549 | inline void QOpenGLFunctions_2_0::glVertexAttrib2sv(GLuint index, const GLshort *v) |
| 3550 | { |
| 3551 | d_2_0_Core->f.VertexAttrib2sv(index, v); |
| 3552 | } |
| 3553 | |
| 3554 | inline void QOpenGLFunctions_2_0::glVertexAttrib2s(GLuint index, GLshort x, GLshort y) |
| 3555 | { |
| 3556 | d_2_0_Core->f.VertexAttrib2s(index, x, y); |
| 3557 | } |
| 3558 | |
| 3559 | inline void QOpenGLFunctions_2_0::glVertexAttrib2fv(GLuint index, const GLfloat *v) |
| 3560 | { |
| 3561 | d_2_0_Core->f.VertexAttrib2fv(index, v); |
| 3562 | } |
| 3563 | |
| 3564 | inline void QOpenGLFunctions_2_0::glVertexAttrib2f(GLuint index, GLfloat x, GLfloat y) |
| 3565 | { |
| 3566 | d_2_0_Core->f.VertexAttrib2f(index, x, y); |
| 3567 | } |
| 3568 | |
| 3569 | inline void QOpenGLFunctions_2_0::glVertexAttrib2dv(GLuint index, const GLdouble *v) |
| 3570 | { |
| 3571 | d_2_0_Core->f.VertexAttrib2dv(index, v); |
| 3572 | } |
| 3573 | |
| 3574 | inline void QOpenGLFunctions_2_0::glVertexAttrib2d(GLuint index, GLdouble x, GLdouble y) |
| 3575 | { |
| 3576 | d_2_0_Core->f.VertexAttrib2d(index, x, y); |
| 3577 | } |
| 3578 | |
| 3579 | inline void QOpenGLFunctions_2_0::glVertexAttrib1sv(GLuint index, const GLshort *v) |
| 3580 | { |
| 3581 | d_2_0_Core->f.VertexAttrib1sv(index, v); |
| 3582 | } |
| 3583 | |
| 3584 | inline void QOpenGLFunctions_2_0::glVertexAttrib1s(GLuint index, GLshort x) |
| 3585 | { |
| 3586 | d_2_0_Core->f.VertexAttrib1s(index, x); |
| 3587 | } |
| 3588 | |
| 3589 | inline void QOpenGLFunctions_2_0::glVertexAttrib1fv(GLuint index, const GLfloat *v) |
| 3590 | { |
| 3591 | d_2_0_Core->f.VertexAttrib1fv(index, v); |
| 3592 | } |
| 3593 | |
| 3594 | inline void QOpenGLFunctions_2_0::glVertexAttrib1f(GLuint index, GLfloat x) |
| 3595 | { |
| 3596 | d_2_0_Core->f.VertexAttrib1f(index, x); |
| 3597 | } |
| 3598 | |
| 3599 | inline void QOpenGLFunctions_2_0::glVertexAttrib1dv(GLuint index, const GLdouble *v) |
| 3600 | { |
| 3601 | d_2_0_Core->f.VertexAttrib1dv(index, v); |
| 3602 | } |
| 3603 | |
| 3604 | inline void QOpenGLFunctions_2_0::glVertexAttrib1d(GLuint index, GLdouble x) |
| 3605 | { |
| 3606 | d_2_0_Core->f.VertexAttrib1d(index, x); |
| 3607 | } |
| 3608 | |
| 3609 | |
| 3610 | |
| 3611 | QT_END_NAMESPACE |
| 3612 | |
| 3613 | #endif // QT_NO_OPENGL && !QT_CONFIG(opengles2) |
| 3614 | |
| 3615 | #endif |
| 3616 | |