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