| 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_1_2_H |
| 51 | #define QOPENGLVERSIONFUNCTIONS_1_2_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_1_2 : public QAbstractOpenGLFunctions |
| 63 | { |
| 64 | public: |
| 65 | QOpenGLFunctions_1_2(); |
| 66 | ~QOpenGLFunctions_1_2(); |
| 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.0 deprecated functions |
| 147 | void glTranslatef(GLfloat x, GLfloat y, GLfloat z); |
| 148 | void glTranslated(GLdouble x, GLdouble y, GLdouble z); |
| 149 | void glScalef(GLfloat x, GLfloat y, GLfloat z); |
| 150 | void glScaled(GLdouble x, GLdouble y, GLdouble z); |
| 151 | void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z); |
| 152 | void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z); |
| 153 | void glPushMatrix(); |
| 154 | void glPopMatrix(); |
| 155 | void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
| 156 | void glMultMatrixd(const GLdouble *m); |
| 157 | void glMultMatrixf(const GLfloat *m); |
| 158 | void glMatrixMode(GLenum mode); |
| 159 | void glLoadMatrixd(const GLdouble *m); |
| 160 | void glLoadMatrixf(const GLfloat *m); |
| 161 | void glLoadIdentity(); |
| 162 | void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar); |
| 163 | GLboolean glIsList(GLuint list); |
| 164 | void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params); |
| 165 | void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params); |
| 166 | void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params); |
| 167 | void glGetTexEnviv(GLenum target, GLenum pname, GLint *params); |
| 168 | void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params); |
| 169 | void glGetPolygonStipple(GLubyte *mask); |
| 170 | void glGetPixelMapusv(GLenum map, GLushort *values); |
| 171 | void glGetPixelMapuiv(GLenum map, GLuint *values); |
| 172 | void glGetPixelMapfv(GLenum map, GLfloat *values); |
| 173 | void glGetMaterialiv(GLenum face, GLenum pname, GLint *params); |
| 174 | void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params); |
| 175 | void glGetMapiv(GLenum target, GLenum query, GLint *v); |
| 176 | void glGetMapfv(GLenum target, GLenum query, GLfloat *v); |
| 177 | void glGetMapdv(GLenum target, GLenum query, GLdouble *v); |
| 178 | void glGetLightiv(GLenum light, GLenum pname, GLint *params); |
| 179 | void glGetLightfv(GLenum light, GLenum pname, GLfloat *params); |
| 180 | void glGetClipPlane(GLenum plane, GLdouble *equation); |
| 181 | void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels); |
| 182 | void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type); |
| 183 | void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values); |
| 184 | void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values); |
| 185 | void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values); |
| 186 | void glPixelTransferi(GLenum pname, GLint param); |
| 187 | void glPixelTransferf(GLenum pname, GLfloat param); |
| 188 | void glPixelZoom(GLfloat xfactor, GLfloat yfactor); |
| 189 | void glAlphaFunc(GLenum func, GLfloat ref); |
| 190 | void glEvalPoint2(GLint i, GLint j); |
| 191 | void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2); |
| 192 | void glEvalPoint1(GLint i); |
| 193 | void glEvalMesh1(GLenum mode, GLint i1, GLint i2); |
| 194 | void glEvalCoord2fv(const GLfloat *u); |
| 195 | void glEvalCoord2f(GLfloat u, GLfloat v); |
| 196 | void glEvalCoord2dv(const GLdouble *u); |
| 197 | void glEvalCoord2d(GLdouble u, GLdouble v); |
| 198 | void glEvalCoord1fv(const GLfloat *u); |
| 199 | void glEvalCoord1f(GLfloat u); |
| 200 | void glEvalCoord1dv(const GLdouble *u); |
| 201 | void glEvalCoord1d(GLdouble u); |
| 202 | void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2); |
| 203 | void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2); |
| 204 | void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2); |
| 205 | void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2); |
| 206 | void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points); |
| 207 | void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points); |
| 208 | void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points); |
| 209 | void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points); |
| 210 | void glPushAttrib(GLbitfield mask); |
| 211 | void glPopAttrib(); |
| 212 | void glAccum(GLenum op, GLfloat value); |
| 213 | void glIndexMask(GLuint mask); |
| 214 | void glClearIndex(GLfloat c); |
| 215 | void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 216 | void glPushName(GLuint name); |
| 217 | void glPopName(); |
| 218 | void glPassThrough(GLfloat token); |
| 219 | void glLoadName(GLuint name); |
| 220 | void glInitNames(); |
| 221 | GLint glRenderMode(GLenum mode); |
| 222 | void glSelectBuffer(GLsizei size, GLuint *buffer); |
| 223 | void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer); |
| 224 | void glTexGeniv(GLenum coord, GLenum pname, const GLint *params); |
| 225 | void glTexGeni(GLenum coord, GLenum pname, GLint param); |
| 226 | void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params); |
| 227 | void glTexGenf(GLenum coord, GLenum pname, GLfloat param); |
| 228 | void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params); |
| 229 | void glTexGend(GLenum coord, GLenum pname, GLdouble param); |
| 230 | void glTexEnviv(GLenum target, GLenum pname, const GLint *params); |
| 231 | void glTexEnvi(GLenum target, GLenum pname, GLint param); |
| 232 | void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params); |
| 233 | void glTexEnvf(GLenum target, GLenum pname, GLfloat param); |
| 234 | void glShadeModel(GLenum mode); |
| 235 | void glPolygonStipple(const GLubyte *mask); |
| 236 | void glMaterialiv(GLenum face, GLenum pname, const GLint *params); |
| 237 | void glMateriali(GLenum face, GLenum pname, GLint param); |
| 238 | void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params); |
| 239 | void glMaterialf(GLenum face, GLenum pname, GLfloat param); |
| 240 | void glLineStipple(GLint factor, GLushort pattern); |
| 241 | void glLightModeliv(GLenum pname, const GLint *params); |
| 242 | void glLightModeli(GLenum pname, GLint param); |
| 243 | void glLightModelfv(GLenum pname, const GLfloat *params); |
| 244 | void glLightModelf(GLenum pname, GLfloat param); |
| 245 | void glLightiv(GLenum light, GLenum pname, const GLint *params); |
| 246 | void glLighti(GLenum light, GLenum pname, GLint param); |
| 247 | void glLightfv(GLenum light, GLenum pname, const GLfloat *params); |
| 248 | void glLightf(GLenum light, GLenum pname, GLfloat param); |
| 249 | void glFogiv(GLenum pname, const GLint *params); |
| 250 | void glFogi(GLenum pname, GLint param); |
| 251 | void glFogfv(GLenum pname, const GLfloat *params); |
| 252 | void glFogf(GLenum pname, GLfloat param); |
| 253 | void glColorMaterial(GLenum face, GLenum mode); |
| 254 | void glClipPlane(GLenum plane, const GLdouble *equation); |
| 255 | void glVertex4sv(const GLshort *v); |
| 256 | void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w); |
| 257 | void glVertex4iv(const GLint *v); |
| 258 | void glVertex4i(GLint x, GLint y, GLint z, GLint w); |
| 259 | void glVertex4fv(const GLfloat *v); |
| 260 | void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 261 | void glVertex4dv(const GLdouble *v); |
| 262 | void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 263 | void glVertex3sv(const GLshort *v); |
| 264 | void glVertex3s(GLshort x, GLshort y, GLshort z); |
| 265 | void glVertex3iv(const GLint *v); |
| 266 | void glVertex3i(GLint x, GLint y, GLint z); |
| 267 | void glVertex3fv(const GLfloat *v); |
| 268 | void glVertex3f(GLfloat x, GLfloat y, GLfloat z); |
| 269 | void glVertex3dv(const GLdouble *v); |
| 270 | void glVertex3d(GLdouble x, GLdouble y, GLdouble z); |
| 271 | void glVertex2sv(const GLshort *v); |
| 272 | void glVertex2s(GLshort x, GLshort y); |
| 273 | void glVertex2iv(const GLint *v); |
| 274 | void glVertex2i(GLint x, GLint y); |
| 275 | void glVertex2fv(const GLfloat *v); |
| 276 | void glVertex2f(GLfloat x, GLfloat y); |
| 277 | void glVertex2dv(const GLdouble *v); |
| 278 | void glVertex2d(GLdouble x, GLdouble y); |
| 279 | void glTexCoord4sv(const GLshort *v); |
| 280 | void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q); |
| 281 | void glTexCoord4iv(const GLint *v); |
| 282 | void glTexCoord4i(GLint s, GLint t, GLint r, GLint q); |
| 283 | void glTexCoord4fv(const GLfloat *v); |
| 284 | void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q); |
| 285 | void glTexCoord4dv(const GLdouble *v); |
| 286 | void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q); |
| 287 | void glTexCoord3sv(const GLshort *v); |
| 288 | void glTexCoord3s(GLshort s, GLshort t, GLshort r); |
| 289 | void glTexCoord3iv(const GLint *v); |
| 290 | void glTexCoord3i(GLint s, GLint t, GLint r); |
| 291 | void glTexCoord3fv(const GLfloat *v); |
| 292 | void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r); |
| 293 | void glTexCoord3dv(const GLdouble *v); |
| 294 | void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r); |
| 295 | void glTexCoord2sv(const GLshort *v); |
| 296 | void glTexCoord2s(GLshort s, GLshort t); |
| 297 | void glTexCoord2iv(const GLint *v); |
| 298 | void glTexCoord2i(GLint s, GLint t); |
| 299 | void glTexCoord2fv(const GLfloat *v); |
| 300 | void glTexCoord2f(GLfloat s, GLfloat t); |
| 301 | void glTexCoord2dv(const GLdouble *v); |
| 302 | void glTexCoord2d(GLdouble s, GLdouble t); |
| 303 | void glTexCoord1sv(const GLshort *v); |
| 304 | void glTexCoord1s(GLshort s); |
| 305 | void glTexCoord1iv(const GLint *v); |
| 306 | void glTexCoord1i(GLint s); |
| 307 | void glTexCoord1fv(const GLfloat *v); |
| 308 | void glTexCoord1f(GLfloat s); |
| 309 | void glTexCoord1dv(const GLdouble *v); |
| 310 | void glTexCoord1d(GLdouble s); |
| 311 | void glRectsv(const GLshort *v1, const GLshort *v2); |
| 312 | void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2); |
| 313 | void glRectiv(const GLint *v1, const GLint *v2); |
| 314 | void glRecti(GLint x1, GLint y1, GLint x2, GLint y2); |
| 315 | void glRectfv(const GLfloat *v1, const GLfloat *v2); |
| 316 | void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2); |
| 317 | void glRectdv(const GLdouble *v1, const GLdouble *v2); |
| 318 | void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2); |
| 319 | void glRasterPos4sv(const GLshort *v); |
| 320 | void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w); |
| 321 | void glRasterPos4iv(const GLint *v); |
| 322 | void glRasterPos4i(GLint x, GLint y, GLint z, GLint w); |
| 323 | void glRasterPos4fv(const GLfloat *v); |
| 324 | void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w); |
| 325 | void glRasterPos4dv(const GLdouble *v); |
| 326 | void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w); |
| 327 | void glRasterPos3sv(const GLshort *v); |
| 328 | void glRasterPos3s(GLshort x, GLshort y, GLshort z); |
| 329 | void glRasterPos3iv(const GLint *v); |
| 330 | void glRasterPos3i(GLint x, GLint y, GLint z); |
| 331 | void glRasterPos3fv(const GLfloat *v); |
| 332 | void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z); |
| 333 | void glRasterPos3dv(const GLdouble *v); |
| 334 | void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z); |
| 335 | void glRasterPos2sv(const GLshort *v); |
| 336 | void glRasterPos2s(GLshort x, GLshort y); |
| 337 | void glRasterPos2iv(const GLint *v); |
| 338 | void glRasterPos2i(GLint x, GLint y); |
| 339 | void glRasterPos2fv(const GLfloat *v); |
| 340 | void glRasterPos2f(GLfloat x, GLfloat y); |
| 341 | void glRasterPos2dv(const GLdouble *v); |
| 342 | void glRasterPos2d(GLdouble x, GLdouble y); |
| 343 | void glNormal3sv(const GLshort *v); |
| 344 | void glNormal3s(GLshort nx, GLshort ny, GLshort nz); |
| 345 | void glNormal3iv(const GLint *v); |
| 346 | void glNormal3i(GLint nx, GLint ny, GLint nz); |
| 347 | void glNormal3fv(const GLfloat *v); |
| 348 | void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz); |
| 349 | void glNormal3dv(const GLdouble *v); |
| 350 | void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz); |
| 351 | void glNormal3bv(const GLbyte *v); |
| 352 | void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz); |
| 353 | void glIndexsv(const GLshort *c); |
| 354 | void glIndexs(GLshort c); |
| 355 | void glIndexiv(const GLint *c); |
| 356 | void glIndexi(GLint c); |
| 357 | void glIndexfv(const GLfloat *c); |
| 358 | void glIndexf(GLfloat c); |
| 359 | void glIndexdv(const GLdouble *c); |
| 360 | void glIndexd(GLdouble c); |
| 361 | void glEnd(); |
| 362 | void glEdgeFlagv(const GLboolean *flag); |
| 363 | void glEdgeFlag(GLboolean flag); |
| 364 | void glColor4usv(const GLushort *v); |
| 365 | void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha); |
| 366 | void glColor4uiv(const GLuint *v); |
| 367 | void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha); |
| 368 | void glColor4ubv(const GLubyte *v); |
| 369 | void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha); |
| 370 | void glColor4sv(const GLshort *v); |
| 371 | void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha); |
| 372 | void glColor4iv(const GLint *v); |
| 373 | void glColor4i(GLint red, GLint green, GLint blue, GLint alpha); |
| 374 | void glColor4fv(const GLfloat *v); |
| 375 | void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha); |
| 376 | void glColor4dv(const GLdouble *v); |
| 377 | void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha); |
| 378 | void glColor4bv(const GLbyte *v); |
| 379 | void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha); |
| 380 | void glColor3usv(const GLushort *v); |
| 381 | void glColor3us(GLushort red, GLushort green, GLushort blue); |
| 382 | void glColor3uiv(const GLuint *v); |
| 383 | void glColor3ui(GLuint red, GLuint green, GLuint blue); |
| 384 | void glColor3ubv(const GLubyte *v); |
| 385 | void glColor3ub(GLubyte red, GLubyte green, GLubyte blue); |
| 386 | void glColor3sv(const GLshort *v); |
| 387 | void glColor3s(GLshort red, GLshort green, GLshort blue); |
| 388 | void glColor3iv(const GLint *v); |
| 389 | void glColor3i(GLint red, GLint green, GLint blue); |
| 390 | void glColor3fv(const GLfloat *v); |
| 391 | void glColor3f(GLfloat red, GLfloat green, GLfloat blue); |
| 392 | void glColor3dv(const GLdouble *v); |
| 393 | void glColor3d(GLdouble red, GLdouble green, GLdouble blue); |
| 394 | void glColor3bv(const GLbyte *v); |
| 395 | void glColor3b(GLbyte red, GLbyte green, GLbyte blue); |
| 396 | void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap); |
| 397 | void glBegin(GLenum mode); |
| 398 | void glListBase(GLuint base); |
| 399 | GLuint glGenLists(GLsizei range); |
| 400 | void glDeleteLists(GLuint list, GLsizei range); |
| 401 | void glCallLists(GLsizei n, GLenum type, const GLvoid *lists); |
| 402 | void glCallList(GLuint list); |
| 403 | void glEndList(); |
| 404 | void glNewList(GLuint list, GLenum mode); |
| 405 | |
| 406 | // OpenGL 1.1 deprecated functions |
| 407 | void glPushClientAttrib(GLbitfield mask); |
| 408 | void glPopClientAttrib(); |
| 409 | void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities); |
| 410 | GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences); |
| 411 | void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 412 | void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 413 | void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 414 | void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer); |
| 415 | void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer); |
| 416 | void glEnableClientState(GLenum array); |
| 417 | void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer); |
| 418 | void glDisableClientState(GLenum array); |
| 419 | void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer); |
| 420 | void glArrayElement(GLint i); |
| 421 | |
| 422 | // OpenGL 1.2 deprecated functions |
| 423 | void glResetMinmax(GLenum target); |
| 424 | void glResetHistogram(GLenum target); |
| 425 | void glMinmax(GLenum target, GLenum internalformat, GLboolean sink); |
| 426 | void glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink); |
| 427 | void glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params); |
| 428 | void glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 429 | void glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
| 430 | void glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params); |
| 431 | void glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 432 | void glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values); |
| 433 | void glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column); |
| 434 | void glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span); |
| 435 | void glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params); |
| 436 | void glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 437 | void glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image); |
| 438 | void glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height); |
| 439 | void glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
| 440 | void glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params); |
| 441 | void glConvolutionParameteri(GLenum target, GLenum pname, GLint params); |
| 442 | void glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
| 443 | void glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params); |
| 444 | void glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image); |
| 445 | void glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image); |
| 446 | void glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width); |
| 447 | void glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data); |
| 448 | void glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params); |
| 449 | void glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params); |
| 450 | void glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table); |
| 451 | void glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width); |
| 452 | void glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params); |
| 453 | void glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params); |
| 454 | void glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table); |
| 455 | |
| 456 | private: |
| 457 | friend class QOpenGLContext; |
| 458 | |
| 459 | static bool isContextCompatible(QOpenGLContext *context); |
| 460 | static QOpenGLVersionProfile versionProfile(); |
| 461 | |
| 462 | QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core; |
| 463 | QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core; |
| 464 | QOpenGLFunctions_1_2_CoreBackend* d_1_2_Core; |
| 465 | QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated; |
| 466 | QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated; |
| 467 | QOpenGLFunctions_1_2_DeprecatedBackend* d_1_2_Deprecated; |
| 468 | }; |
| 469 | |
| 470 | // OpenGL 1.0 core functions |
| 471 | inline void QOpenGLFunctions_1_2::glViewport(GLint x, GLint y, GLsizei width, GLsizei height) |
| 472 | { |
| 473 | d_1_0_Core->f.Viewport(x, y, width, height); |
| 474 | } |
| 475 | |
| 476 | inline void QOpenGLFunctions_1_2::glDepthRange(GLdouble nearVal, GLdouble farVal) |
| 477 | { |
| 478 | d_1_0_Core->f.DepthRange(nearVal, farVal); |
| 479 | } |
| 480 | |
| 481 | inline GLboolean QOpenGLFunctions_1_2::glIsEnabled(GLenum cap) |
| 482 | { |
| 483 | return d_1_0_Core->f.IsEnabled(cap); |
| 484 | } |
| 485 | |
| 486 | inline void QOpenGLFunctions_1_2::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params) |
| 487 | { |
| 488 | d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params); |
| 489 | } |
| 490 | |
| 491 | inline void QOpenGLFunctions_1_2::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params) |
| 492 | { |
| 493 | d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params); |
| 494 | } |
| 495 | |
| 496 | inline void QOpenGLFunctions_1_2::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params) |
| 497 | { |
| 498 | d_1_0_Core->f.GetTexParameteriv(target, pname, params); |
| 499 | } |
| 500 | |
| 501 | inline void QOpenGLFunctions_1_2::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 502 | { |
| 503 | d_1_0_Core->f.GetTexParameterfv(target, pname, params); |
| 504 | } |
| 505 | |
| 506 | inline void QOpenGLFunctions_1_2::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels) |
| 507 | { |
| 508 | d_1_0_Core->f.GetTexImage(target, level, format, type, pixels); |
| 509 | } |
| 510 | |
| 511 | inline const GLubyte * QOpenGLFunctions_1_2::glGetString(GLenum name) |
| 512 | { |
| 513 | return d_1_0_Core->f.GetString(name); |
| 514 | } |
| 515 | |
| 516 | inline void QOpenGLFunctions_1_2::glGetIntegerv(GLenum pname, GLint *params) |
| 517 | { |
| 518 | d_1_0_Core->f.GetIntegerv(pname, params); |
| 519 | } |
| 520 | |
| 521 | inline void QOpenGLFunctions_1_2::glGetFloatv(GLenum pname, GLfloat *params) |
| 522 | { |
| 523 | d_1_0_Core->f.GetFloatv(pname, params); |
| 524 | } |
| 525 | |
| 526 | inline GLenum QOpenGLFunctions_1_2::glGetError() |
| 527 | { |
| 528 | return d_1_0_Core->f.GetError(); |
| 529 | } |
| 530 | |
| 531 | inline void QOpenGLFunctions_1_2::glGetDoublev(GLenum pname, GLdouble *params) |
| 532 | { |
| 533 | d_1_0_Core->f.GetDoublev(pname, params); |
| 534 | } |
| 535 | |
| 536 | inline void QOpenGLFunctions_1_2::glGetBooleanv(GLenum pname, GLboolean *params) |
| 537 | { |
| 538 | d_1_0_Core->f.GetBooleanv(pname, params); |
| 539 | } |
| 540 | |
| 541 | inline void QOpenGLFunctions_1_2::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels) |
| 542 | { |
| 543 | d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels); |
| 544 | } |
| 545 | |
| 546 | inline void QOpenGLFunctions_1_2::glReadBuffer(GLenum mode) |
| 547 | { |
| 548 | d_1_0_Core->f.ReadBuffer(mode); |
| 549 | } |
| 550 | |
| 551 | inline void QOpenGLFunctions_1_2::glPixelStorei(GLenum pname, GLint param) |
| 552 | { |
| 553 | d_1_0_Core->f.PixelStorei(pname, param); |
| 554 | } |
| 555 | |
| 556 | inline void QOpenGLFunctions_1_2::glPixelStoref(GLenum pname, GLfloat param) |
| 557 | { |
| 558 | d_1_0_Core->f.PixelStoref(pname, param); |
| 559 | } |
| 560 | |
| 561 | inline void QOpenGLFunctions_1_2::glDepthFunc(GLenum func) |
| 562 | { |
| 563 | d_1_0_Core->f.DepthFunc(func); |
| 564 | } |
| 565 | |
| 566 | inline void QOpenGLFunctions_1_2::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass) |
| 567 | { |
| 568 | d_1_0_Core->f.StencilOp(fail, zfail, zpass); |
| 569 | } |
| 570 | |
| 571 | inline void QOpenGLFunctions_1_2::glStencilFunc(GLenum func, GLint ref, GLuint mask) |
| 572 | { |
| 573 | d_1_0_Core->f.StencilFunc(func, ref, mask); |
| 574 | } |
| 575 | |
| 576 | inline void QOpenGLFunctions_1_2::glLogicOp(GLenum opcode) |
| 577 | { |
| 578 | d_1_0_Core->f.LogicOp(opcode); |
| 579 | } |
| 580 | |
| 581 | inline void QOpenGLFunctions_1_2::glBlendFunc(GLenum sfactor, GLenum dfactor) |
| 582 | { |
| 583 | d_1_0_Core->f.BlendFunc(sfactor, dfactor); |
| 584 | } |
| 585 | |
| 586 | inline void QOpenGLFunctions_1_2::glFlush() |
| 587 | { |
| 588 | d_1_0_Core->f.Flush(); |
| 589 | } |
| 590 | |
| 591 | inline void QOpenGLFunctions_1_2::glFinish() |
| 592 | { |
| 593 | d_1_0_Core->f.Finish(); |
| 594 | } |
| 595 | |
| 596 | inline void QOpenGLFunctions_1_2::glEnable(GLenum cap) |
| 597 | { |
| 598 | d_1_0_Core->f.Enable(cap); |
| 599 | } |
| 600 | |
| 601 | inline void QOpenGLFunctions_1_2::glDisable(GLenum cap) |
| 602 | { |
| 603 | d_1_0_Core->f.Disable(cap); |
| 604 | } |
| 605 | |
| 606 | inline void QOpenGLFunctions_1_2::glDepthMask(GLboolean flag) |
| 607 | { |
| 608 | d_1_0_Core->f.DepthMask(flag); |
| 609 | } |
| 610 | |
| 611 | inline void QOpenGLFunctions_1_2::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha) |
| 612 | { |
| 613 | d_1_0_Core->f.ColorMask(red, green, blue, alpha); |
| 614 | } |
| 615 | |
| 616 | inline void QOpenGLFunctions_1_2::glStencilMask(GLuint mask) |
| 617 | { |
| 618 | d_1_0_Core->f.StencilMask(mask); |
| 619 | } |
| 620 | |
| 621 | inline void QOpenGLFunctions_1_2::glClearDepth(GLdouble depth) |
| 622 | { |
| 623 | d_1_0_Core->f.ClearDepth(depth); |
| 624 | } |
| 625 | |
| 626 | inline void QOpenGLFunctions_1_2::glClearStencil(GLint s) |
| 627 | { |
| 628 | d_1_0_Core->f.ClearStencil(s); |
| 629 | } |
| 630 | |
| 631 | inline void QOpenGLFunctions_1_2::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 632 | { |
| 633 | d_1_0_Core->f.ClearColor(red, green, blue, alpha); |
| 634 | } |
| 635 | |
| 636 | inline void QOpenGLFunctions_1_2::glClear(GLbitfield mask) |
| 637 | { |
| 638 | d_1_0_Core->f.Clear(mask); |
| 639 | } |
| 640 | |
| 641 | inline void QOpenGLFunctions_1_2::glDrawBuffer(GLenum mode) |
| 642 | { |
| 643 | d_1_0_Core->f.DrawBuffer(mode); |
| 644 | } |
| 645 | |
| 646 | inline void QOpenGLFunctions_1_2::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 647 | { |
| 648 | d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels); |
| 649 | } |
| 650 | |
| 651 | inline void QOpenGLFunctions_1_2::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 652 | { |
| 653 | d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels); |
| 654 | } |
| 655 | |
| 656 | inline void QOpenGLFunctions_1_2::glTexParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 657 | { |
| 658 | d_1_0_Core->f.TexParameteriv(target, pname, params); |
| 659 | } |
| 660 | |
| 661 | inline void QOpenGLFunctions_1_2::glTexParameteri(GLenum target, GLenum pname, GLint param) |
| 662 | { |
| 663 | d_1_0_Core->f.TexParameteri(target, pname, param); |
| 664 | } |
| 665 | |
| 666 | inline void QOpenGLFunctions_1_2::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 667 | { |
| 668 | d_1_0_Core->f.TexParameterfv(target, pname, params); |
| 669 | } |
| 670 | |
| 671 | inline void QOpenGLFunctions_1_2::glTexParameterf(GLenum target, GLenum pname, GLfloat param) |
| 672 | { |
| 673 | d_1_0_Core->f.TexParameterf(target, pname, param); |
| 674 | } |
| 675 | |
| 676 | inline void QOpenGLFunctions_1_2::glScissor(GLint x, GLint y, GLsizei width, GLsizei height) |
| 677 | { |
| 678 | d_1_0_Core->f.Scissor(x, y, width, height); |
| 679 | } |
| 680 | |
| 681 | inline void QOpenGLFunctions_1_2::glPolygonMode(GLenum face, GLenum mode) |
| 682 | { |
| 683 | d_1_0_Core->f.PolygonMode(face, mode); |
| 684 | } |
| 685 | |
| 686 | inline void QOpenGLFunctions_1_2::glPointSize(GLfloat size) |
| 687 | { |
| 688 | d_1_0_Core->f.PointSize(size); |
| 689 | } |
| 690 | |
| 691 | inline void QOpenGLFunctions_1_2::glLineWidth(GLfloat width) |
| 692 | { |
| 693 | d_1_0_Core->f.LineWidth(width); |
| 694 | } |
| 695 | |
| 696 | inline void QOpenGLFunctions_1_2::glHint(GLenum target, GLenum mode) |
| 697 | { |
| 698 | d_1_0_Core->f.Hint(target, mode); |
| 699 | } |
| 700 | |
| 701 | inline void QOpenGLFunctions_1_2::glFrontFace(GLenum mode) |
| 702 | { |
| 703 | d_1_0_Core->f.FrontFace(mode); |
| 704 | } |
| 705 | |
| 706 | inline void QOpenGLFunctions_1_2::glCullFace(GLenum mode) |
| 707 | { |
| 708 | d_1_0_Core->f.CullFace(mode); |
| 709 | } |
| 710 | |
| 711 | |
| 712 | // OpenGL 1.1 core functions |
| 713 | inline void QOpenGLFunctions_1_2::glIndexubv(const GLubyte *c) |
| 714 | { |
| 715 | d_1_1_Deprecated->f.Indexubv(c); |
| 716 | } |
| 717 | |
| 718 | inline void QOpenGLFunctions_1_2::glIndexub(GLubyte c) |
| 719 | { |
| 720 | d_1_1_Deprecated->f.Indexub(c); |
| 721 | } |
| 722 | |
| 723 | inline GLboolean QOpenGLFunctions_1_2::glIsTexture(GLuint texture) |
| 724 | { |
| 725 | return d_1_1_Core->f.IsTexture(texture); |
| 726 | } |
| 727 | |
| 728 | inline void QOpenGLFunctions_1_2::glGenTextures(GLsizei n, GLuint *textures) |
| 729 | { |
| 730 | d_1_1_Core->f.GenTextures(n, textures); |
| 731 | } |
| 732 | |
| 733 | inline void QOpenGLFunctions_1_2::glDeleteTextures(GLsizei n, const GLuint *textures) |
| 734 | { |
| 735 | d_1_1_Core->f.DeleteTextures(n, textures); |
| 736 | } |
| 737 | |
| 738 | inline void QOpenGLFunctions_1_2::glBindTexture(GLenum target, GLuint texture) |
| 739 | { |
| 740 | d_1_1_Core->f.BindTexture(target, texture); |
| 741 | } |
| 742 | |
| 743 | inline void QOpenGLFunctions_1_2::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 744 | { |
| 745 | d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels); |
| 746 | } |
| 747 | |
| 748 | inline void QOpenGLFunctions_1_2::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels) |
| 749 | { |
| 750 | d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels); |
| 751 | } |
| 752 | |
| 753 | inline void QOpenGLFunctions_1_2::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 754 | { |
| 755 | d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height); |
| 756 | } |
| 757 | |
| 758 | inline void QOpenGLFunctions_1_2::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width) |
| 759 | { |
| 760 | d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width); |
| 761 | } |
| 762 | |
| 763 | inline void QOpenGLFunctions_1_2::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border) |
| 764 | { |
| 765 | d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border); |
| 766 | } |
| 767 | |
| 768 | inline void QOpenGLFunctions_1_2::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border) |
| 769 | { |
| 770 | d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border); |
| 771 | } |
| 772 | |
| 773 | inline void QOpenGLFunctions_1_2::glPolygonOffset(GLfloat factor, GLfloat units) |
| 774 | { |
| 775 | d_1_1_Core->f.PolygonOffset(factor, units); |
| 776 | } |
| 777 | |
| 778 | inline void QOpenGLFunctions_1_2::glGetPointerv(GLenum pname, GLvoid* *params) |
| 779 | { |
| 780 | d_1_1_Deprecated->f.GetPointerv(pname, params); |
| 781 | } |
| 782 | |
| 783 | inline void QOpenGLFunctions_1_2::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) |
| 784 | { |
| 785 | d_1_1_Core->f.DrawElements(mode, count, type, indices); |
| 786 | } |
| 787 | |
| 788 | inline void QOpenGLFunctions_1_2::glDrawArrays(GLenum mode, GLint first, GLsizei count) |
| 789 | { |
| 790 | d_1_1_Core->f.DrawArrays(mode, first, count); |
| 791 | } |
| 792 | |
| 793 | |
| 794 | // OpenGL 1.2 core functions |
| 795 | inline void QOpenGLFunctions_1_2::glCopyTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height) |
| 796 | { |
| 797 | d_1_2_Core->f.CopyTexSubImage3D(target, level, xoffset, yoffset, zoffset, x, y, width, height); |
| 798 | } |
| 799 | |
| 800 | inline void QOpenGLFunctions_1_2::glTexSubImage3D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels) |
| 801 | { |
| 802 | d_1_2_Core->f.TexSubImage3D(target, level, xoffset, yoffset, zoffset, width, height, depth, format, type, pixels); |
| 803 | } |
| 804 | |
| 805 | inline void QOpenGLFunctions_1_2::glTexImage3D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels) |
| 806 | { |
| 807 | d_1_2_Core->f.TexImage3D(target, level, internalformat, width, height, depth, border, format, type, pixels); |
| 808 | } |
| 809 | |
| 810 | inline void QOpenGLFunctions_1_2::glDrawRangeElements(GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices) |
| 811 | { |
| 812 | d_1_2_Core->f.DrawRangeElements(mode, start, end, count, type, indices); |
| 813 | } |
| 814 | |
| 815 | inline void QOpenGLFunctions_1_2::glBlendEquation(GLenum mode) |
| 816 | { |
| 817 | d_1_2_Core->f.BlendEquation(mode); |
| 818 | } |
| 819 | |
| 820 | inline void QOpenGLFunctions_1_2::glBlendColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 821 | { |
| 822 | d_1_2_Core->f.BlendColor(red, green, blue, alpha); |
| 823 | } |
| 824 | |
| 825 | |
| 826 | // OpenGL 1.0 deprecated functions |
| 827 | inline void QOpenGLFunctions_1_2::glTranslatef(GLfloat x, GLfloat y, GLfloat z) |
| 828 | { |
| 829 | d_1_0_Deprecated->f.Translatef(x, y, z); |
| 830 | } |
| 831 | |
| 832 | inline void QOpenGLFunctions_1_2::glTranslated(GLdouble x, GLdouble y, GLdouble z) |
| 833 | { |
| 834 | d_1_0_Deprecated->f.Translated(x, y, z); |
| 835 | } |
| 836 | |
| 837 | inline void QOpenGLFunctions_1_2::glScalef(GLfloat x, GLfloat y, GLfloat z) |
| 838 | { |
| 839 | d_1_0_Deprecated->f.Scalef(x, y, z); |
| 840 | } |
| 841 | |
| 842 | inline void QOpenGLFunctions_1_2::glScaled(GLdouble x, GLdouble y, GLdouble z) |
| 843 | { |
| 844 | d_1_0_Deprecated->f.Scaled(x, y, z); |
| 845 | } |
| 846 | |
| 847 | inline void QOpenGLFunctions_1_2::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z) |
| 848 | { |
| 849 | d_1_0_Deprecated->f.Rotatef(angle, x, y, z); |
| 850 | } |
| 851 | |
| 852 | inline void QOpenGLFunctions_1_2::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z) |
| 853 | { |
| 854 | d_1_0_Deprecated->f.Rotated(angle, x, y, z); |
| 855 | } |
| 856 | |
| 857 | inline void QOpenGLFunctions_1_2::glPushMatrix() |
| 858 | { |
| 859 | d_1_0_Deprecated->f.PushMatrix(); |
| 860 | } |
| 861 | |
| 862 | inline void QOpenGLFunctions_1_2::glPopMatrix() |
| 863 | { |
| 864 | d_1_0_Deprecated->f.PopMatrix(); |
| 865 | } |
| 866 | |
| 867 | inline void QOpenGLFunctions_1_2::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| 868 | { |
| 869 | d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar); |
| 870 | } |
| 871 | |
| 872 | inline void QOpenGLFunctions_1_2::glMultMatrixd(const GLdouble *m) |
| 873 | { |
| 874 | d_1_0_Deprecated->f.MultMatrixd(m); |
| 875 | } |
| 876 | |
| 877 | inline void QOpenGLFunctions_1_2::glMultMatrixf(const GLfloat *m) |
| 878 | { |
| 879 | d_1_0_Deprecated->f.MultMatrixf(m); |
| 880 | } |
| 881 | |
| 882 | inline void QOpenGLFunctions_1_2::glMatrixMode(GLenum mode) |
| 883 | { |
| 884 | d_1_0_Deprecated->f.MatrixMode(mode); |
| 885 | } |
| 886 | |
| 887 | inline void QOpenGLFunctions_1_2::glLoadMatrixd(const GLdouble *m) |
| 888 | { |
| 889 | d_1_0_Deprecated->f.LoadMatrixd(m); |
| 890 | } |
| 891 | |
| 892 | inline void QOpenGLFunctions_1_2::glLoadMatrixf(const GLfloat *m) |
| 893 | { |
| 894 | d_1_0_Deprecated->f.LoadMatrixf(m); |
| 895 | } |
| 896 | |
| 897 | inline void QOpenGLFunctions_1_2::glLoadIdentity() |
| 898 | { |
| 899 | d_1_0_Deprecated->f.LoadIdentity(); |
| 900 | } |
| 901 | |
| 902 | inline void QOpenGLFunctions_1_2::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar) |
| 903 | { |
| 904 | d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar); |
| 905 | } |
| 906 | |
| 907 | inline GLboolean QOpenGLFunctions_1_2::glIsList(GLuint list) |
| 908 | { |
| 909 | return d_1_0_Deprecated->f.IsList(list); |
| 910 | } |
| 911 | |
| 912 | inline void QOpenGLFunctions_1_2::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params) |
| 913 | { |
| 914 | d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params); |
| 915 | } |
| 916 | |
| 917 | inline void QOpenGLFunctions_1_2::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params) |
| 918 | { |
| 919 | d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params); |
| 920 | } |
| 921 | |
| 922 | inline void QOpenGLFunctions_1_2::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params) |
| 923 | { |
| 924 | d_1_0_Deprecated->f.GetTexGendv(coord, pname, params); |
| 925 | } |
| 926 | |
| 927 | inline void QOpenGLFunctions_1_2::glGetTexEnviv(GLenum target, GLenum pname, GLint *params) |
| 928 | { |
| 929 | d_1_0_Deprecated->f.GetTexEnviv(target, pname, params); |
| 930 | } |
| 931 | |
| 932 | inline void QOpenGLFunctions_1_2::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params) |
| 933 | { |
| 934 | d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params); |
| 935 | } |
| 936 | |
| 937 | inline void QOpenGLFunctions_1_2::glGetPolygonStipple(GLubyte *mask) |
| 938 | { |
| 939 | d_1_0_Deprecated->f.GetPolygonStipple(mask); |
| 940 | } |
| 941 | |
| 942 | inline void QOpenGLFunctions_1_2::glGetPixelMapusv(GLenum map, GLushort *values) |
| 943 | { |
| 944 | d_1_0_Deprecated->f.GetPixelMapusv(map, values); |
| 945 | } |
| 946 | |
| 947 | inline void QOpenGLFunctions_1_2::glGetPixelMapuiv(GLenum map, GLuint *values) |
| 948 | { |
| 949 | d_1_0_Deprecated->f.GetPixelMapuiv(map, values); |
| 950 | } |
| 951 | |
| 952 | inline void QOpenGLFunctions_1_2::glGetPixelMapfv(GLenum map, GLfloat *values) |
| 953 | { |
| 954 | d_1_0_Deprecated->f.GetPixelMapfv(map, values); |
| 955 | } |
| 956 | |
| 957 | inline void QOpenGLFunctions_1_2::glGetMaterialiv(GLenum face, GLenum pname, GLint *params) |
| 958 | { |
| 959 | d_1_0_Deprecated->f.GetMaterialiv(face, pname, params); |
| 960 | } |
| 961 | |
| 962 | inline void QOpenGLFunctions_1_2::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params) |
| 963 | { |
| 964 | d_1_0_Deprecated->f.GetMaterialfv(face, pname, params); |
| 965 | } |
| 966 | |
| 967 | inline void QOpenGLFunctions_1_2::glGetMapiv(GLenum target, GLenum query, GLint *v) |
| 968 | { |
| 969 | d_1_0_Deprecated->f.GetMapiv(target, query, v); |
| 970 | } |
| 971 | |
| 972 | inline void QOpenGLFunctions_1_2::glGetMapfv(GLenum target, GLenum query, GLfloat *v) |
| 973 | { |
| 974 | d_1_0_Deprecated->f.GetMapfv(target, query, v); |
| 975 | } |
| 976 | |
| 977 | inline void QOpenGLFunctions_1_2::glGetMapdv(GLenum target, GLenum query, GLdouble *v) |
| 978 | { |
| 979 | d_1_0_Deprecated->f.GetMapdv(target, query, v); |
| 980 | } |
| 981 | |
| 982 | inline void QOpenGLFunctions_1_2::glGetLightiv(GLenum light, GLenum pname, GLint *params) |
| 983 | { |
| 984 | d_1_0_Deprecated->f.GetLightiv(light, pname, params); |
| 985 | } |
| 986 | |
| 987 | inline void QOpenGLFunctions_1_2::glGetLightfv(GLenum light, GLenum pname, GLfloat *params) |
| 988 | { |
| 989 | d_1_0_Deprecated->f.GetLightfv(light, pname, params); |
| 990 | } |
| 991 | |
| 992 | inline void QOpenGLFunctions_1_2::glGetClipPlane(GLenum plane, GLdouble *equation) |
| 993 | { |
| 994 | d_1_0_Deprecated->f.GetClipPlane(plane, equation); |
| 995 | } |
| 996 | |
| 997 | inline void QOpenGLFunctions_1_2::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels) |
| 998 | { |
| 999 | d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels); |
| 1000 | } |
| 1001 | |
| 1002 | inline void QOpenGLFunctions_1_2::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type) |
| 1003 | { |
| 1004 | d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type); |
| 1005 | } |
| 1006 | |
| 1007 | inline void QOpenGLFunctions_1_2::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values) |
| 1008 | { |
| 1009 | d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values); |
| 1010 | } |
| 1011 | |
| 1012 | inline void QOpenGLFunctions_1_2::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values) |
| 1013 | { |
| 1014 | d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values); |
| 1015 | } |
| 1016 | |
| 1017 | inline void QOpenGLFunctions_1_2::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values) |
| 1018 | { |
| 1019 | d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values); |
| 1020 | } |
| 1021 | |
| 1022 | inline void QOpenGLFunctions_1_2::glPixelTransferi(GLenum pname, GLint param) |
| 1023 | { |
| 1024 | d_1_0_Deprecated->f.PixelTransferi(pname, param); |
| 1025 | } |
| 1026 | |
| 1027 | inline void QOpenGLFunctions_1_2::glPixelTransferf(GLenum pname, GLfloat param) |
| 1028 | { |
| 1029 | d_1_0_Deprecated->f.PixelTransferf(pname, param); |
| 1030 | } |
| 1031 | |
| 1032 | inline void QOpenGLFunctions_1_2::glPixelZoom(GLfloat xfactor, GLfloat yfactor) |
| 1033 | { |
| 1034 | d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor); |
| 1035 | } |
| 1036 | |
| 1037 | inline void QOpenGLFunctions_1_2::glAlphaFunc(GLenum func, GLfloat ref) |
| 1038 | { |
| 1039 | d_1_0_Deprecated->f.AlphaFunc(func, ref); |
| 1040 | } |
| 1041 | |
| 1042 | inline void QOpenGLFunctions_1_2::glEvalPoint2(GLint i, GLint j) |
| 1043 | { |
| 1044 | d_1_0_Deprecated->f.EvalPoint2(i, j); |
| 1045 | } |
| 1046 | |
| 1047 | inline void QOpenGLFunctions_1_2::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2) |
| 1048 | { |
| 1049 | d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2); |
| 1050 | } |
| 1051 | |
| 1052 | inline void QOpenGLFunctions_1_2::glEvalPoint1(GLint i) |
| 1053 | { |
| 1054 | d_1_0_Deprecated->f.EvalPoint1(i); |
| 1055 | } |
| 1056 | |
| 1057 | inline void QOpenGLFunctions_1_2::glEvalMesh1(GLenum mode, GLint i1, GLint i2) |
| 1058 | { |
| 1059 | d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2); |
| 1060 | } |
| 1061 | |
| 1062 | inline void QOpenGLFunctions_1_2::glEvalCoord2fv(const GLfloat *u) |
| 1063 | { |
| 1064 | d_1_0_Deprecated->f.EvalCoord2fv(u); |
| 1065 | } |
| 1066 | |
| 1067 | inline void QOpenGLFunctions_1_2::glEvalCoord2f(GLfloat u, GLfloat v) |
| 1068 | { |
| 1069 | d_1_0_Deprecated->f.EvalCoord2f(u, v); |
| 1070 | } |
| 1071 | |
| 1072 | inline void QOpenGLFunctions_1_2::glEvalCoord2dv(const GLdouble *u) |
| 1073 | { |
| 1074 | d_1_0_Deprecated->f.EvalCoord2dv(u); |
| 1075 | } |
| 1076 | |
| 1077 | inline void QOpenGLFunctions_1_2::glEvalCoord2d(GLdouble u, GLdouble v) |
| 1078 | { |
| 1079 | d_1_0_Deprecated->f.EvalCoord2d(u, v); |
| 1080 | } |
| 1081 | |
| 1082 | inline void QOpenGLFunctions_1_2::glEvalCoord1fv(const GLfloat *u) |
| 1083 | { |
| 1084 | d_1_0_Deprecated->f.EvalCoord1fv(u); |
| 1085 | } |
| 1086 | |
| 1087 | inline void QOpenGLFunctions_1_2::glEvalCoord1f(GLfloat u) |
| 1088 | { |
| 1089 | d_1_0_Deprecated->f.EvalCoord1f(u); |
| 1090 | } |
| 1091 | |
| 1092 | inline void QOpenGLFunctions_1_2::glEvalCoord1dv(const GLdouble *u) |
| 1093 | { |
| 1094 | d_1_0_Deprecated->f.EvalCoord1dv(u); |
| 1095 | } |
| 1096 | |
| 1097 | inline void QOpenGLFunctions_1_2::glEvalCoord1d(GLdouble u) |
| 1098 | { |
| 1099 | d_1_0_Deprecated->f.EvalCoord1d(u); |
| 1100 | } |
| 1101 | |
| 1102 | inline void QOpenGLFunctions_1_2::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2) |
| 1103 | { |
| 1104 | d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2); |
| 1105 | } |
| 1106 | |
| 1107 | inline void QOpenGLFunctions_1_2::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2) |
| 1108 | { |
| 1109 | d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2); |
| 1110 | } |
| 1111 | |
| 1112 | inline void QOpenGLFunctions_1_2::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2) |
| 1113 | { |
| 1114 | d_1_0_Deprecated->f.MapGrid1f(un, u1, u2); |
| 1115 | } |
| 1116 | |
| 1117 | inline void QOpenGLFunctions_1_2::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2) |
| 1118 | { |
| 1119 | d_1_0_Deprecated->f.MapGrid1d(un, u1, u2); |
| 1120 | } |
| 1121 | |
| 1122 | inline void QOpenGLFunctions_1_2::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points) |
| 1123 | { |
| 1124 | d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 1125 | } |
| 1126 | |
| 1127 | inline void QOpenGLFunctions_1_2::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points) |
| 1128 | { |
| 1129 | d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points); |
| 1130 | } |
| 1131 | |
| 1132 | inline void QOpenGLFunctions_1_2::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points) |
| 1133 | { |
| 1134 | d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points); |
| 1135 | } |
| 1136 | |
| 1137 | inline void QOpenGLFunctions_1_2::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points) |
| 1138 | { |
| 1139 | d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points); |
| 1140 | } |
| 1141 | |
| 1142 | inline void QOpenGLFunctions_1_2::glPushAttrib(GLbitfield mask) |
| 1143 | { |
| 1144 | d_1_0_Deprecated->f.PushAttrib(mask); |
| 1145 | } |
| 1146 | |
| 1147 | inline void QOpenGLFunctions_1_2::glPopAttrib() |
| 1148 | { |
| 1149 | d_1_0_Deprecated->f.PopAttrib(); |
| 1150 | } |
| 1151 | |
| 1152 | inline void QOpenGLFunctions_1_2::glAccum(GLenum op, GLfloat value) |
| 1153 | { |
| 1154 | d_1_0_Deprecated->f.Accum(op, value); |
| 1155 | } |
| 1156 | |
| 1157 | inline void QOpenGLFunctions_1_2::glIndexMask(GLuint mask) |
| 1158 | { |
| 1159 | d_1_0_Deprecated->f.IndexMask(mask); |
| 1160 | } |
| 1161 | |
| 1162 | inline void QOpenGLFunctions_1_2::glClearIndex(GLfloat c) |
| 1163 | { |
| 1164 | d_1_0_Deprecated->f.ClearIndex(c); |
| 1165 | } |
| 1166 | |
| 1167 | inline void QOpenGLFunctions_1_2::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 1168 | { |
| 1169 | d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha); |
| 1170 | } |
| 1171 | |
| 1172 | inline void QOpenGLFunctions_1_2::glPushName(GLuint name) |
| 1173 | { |
| 1174 | d_1_0_Deprecated->f.PushName(name); |
| 1175 | } |
| 1176 | |
| 1177 | inline void QOpenGLFunctions_1_2::glPopName() |
| 1178 | { |
| 1179 | d_1_0_Deprecated->f.PopName(); |
| 1180 | } |
| 1181 | |
| 1182 | inline void QOpenGLFunctions_1_2::glPassThrough(GLfloat token) |
| 1183 | { |
| 1184 | d_1_0_Deprecated->f.PassThrough(token); |
| 1185 | } |
| 1186 | |
| 1187 | inline void QOpenGLFunctions_1_2::glLoadName(GLuint name) |
| 1188 | { |
| 1189 | d_1_0_Deprecated->f.LoadName(name); |
| 1190 | } |
| 1191 | |
| 1192 | inline void QOpenGLFunctions_1_2::glInitNames() |
| 1193 | { |
| 1194 | d_1_0_Deprecated->f.InitNames(); |
| 1195 | } |
| 1196 | |
| 1197 | inline GLint QOpenGLFunctions_1_2::glRenderMode(GLenum mode) |
| 1198 | { |
| 1199 | return d_1_0_Deprecated->f.RenderMode(mode); |
| 1200 | } |
| 1201 | |
| 1202 | inline void QOpenGLFunctions_1_2::glSelectBuffer(GLsizei size, GLuint *buffer) |
| 1203 | { |
| 1204 | d_1_0_Deprecated->f.SelectBuffer(size, buffer); |
| 1205 | } |
| 1206 | |
| 1207 | inline void QOpenGLFunctions_1_2::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer) |
| 1208 | { |
| 1209 | d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer); |
| 1210 | } |
| 1211 | |
| 1212 | inline void QOpenGLFunctions_1_2::glTexGeniv(GLenum coord, GLenum pname, const GLint *params) |
| 1213 | { |
| 1214 | d_1_0_Deprecated->f.TexGeniv(coord, pname, params); |
| 1215 | } |
| 1216 | |
| 1217 | inline void QOpenGLFunctions_1_2::glTexGeni(GLenum coord, GLenum pname, GLint param) |
| 1218 | { |
| 1219 | d_1_0_Deprecated->f.TexGeni(coord, pname, param); |
| 1220 | } |
| 1221 | |
| 1222 | inline void QOpenGLFunctions_1_2::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params) |
| 1223 | { |
| 1224 | d_1_0_Deprecated->f.TexGenfv(coord, pname, params); |
| 1225 | } |
| 1226 | |
| 1227 | inline void QOpenGLFunctions_1_2::glTexGenf(GLenum coord, GLenum pname, GLfloat param) |
| 1228 | { |
| 1229 | d_1_0_Deprecated->f.TexGenf(coord, pname, param); |
| 1230 | } |
| 1231 | |
| 1232 | inline void QOpenGLFunctions_1_2::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params) |
| 1233 | { |
| 1234 | d_1_0_Deprecated->f.TexGendv(coord, pname, params); |
| 1235 | } |
| 1236 | |
| 1237 | inline void QOpenGLFunctions_1_2::glTexGend(GLenum coord, GLenum pname, GLdouble param) |
| 1238 | { |
| 1239 | d_1_0_Deprecated->f.TexGend(coord, pname, param); |
| 1240 | } |
| 1241 | |
| 1242 | inline void QOpenGLFunctions_1_2::glTexEnviv(GLenum target, GLenum pname, const GLint *params) |
| 1243 | { |
| 1244 | d_1_0_Deprecated->f.TexEnviv(target, pname, params); |
| 1245 | } |
| 1246 | |
| 1247 | inline void QOpenGLFunctions_1_2::glTexEnvi(GLenum target, GLenum pname, GLint param) |
| 1248 | { |
| 1249 | d_1_0_Deprecated->f.TexEnvi(target, pname, param); |
| 1250 | } |
| 1251 | |
| 1252 | inline void QOpenGLFunctions_1_2::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params) |
| 1253 | { |
| 1254 | d_1_0_Deprecated->f.TexEnvfv(target, pname, params); |
| 1255 | } |
| 1256 | |
| 1257 | inline void QOpenGLFunctions_1_2::glTexEnvf(GLenum target, GLenum pname, GLfloat param) |
| 1258 | { |
| 1259 | d_1_0_Deprecated->f.TexEnvf(target, pname, param); |
| 1260 | } |
| 1261 | |
| 1262 | inline void QOpenGLFunctions_1_2::glShadeModel(GLenum mode) |
| 1263 | { |
| 1264 | d_1_0_Deprecated->f.ShadeModel(mode); |
| 1265 | } |
| 1266 | |
| 1267 | inline void QOpenGLFunctions_1_2::glPolygonStipple(const GLubyte *mask) |
| 1268 | { |
| 1269 | d_1_0_Deprecated->f.PolygonStipple(mask); |
| 1270 | } |
| 1271 | |
| 1272 | inline void QOpenGLFunctions_1_2::glMaterialiv(GLenum face, GLenum pname, const GLint *params) |
| 1273 | { |
| 1274 | d_1_0_Deprecated->f.Materialiv(face, pname, params); |
| 1275 | } |
| 1276 | |
| 1277 | inline void QOpenGLFunctions_1_2::glMateriali(GLenum face, GLenum pname, GLint param) |
| 1278 | { |
| 1279 | d_1_0_Deprecated->f.Materiali(face, pname, param); |
| 1280 | } |
| 1281 | |
| 1282 | inline void QOpenGLFunctions_1_2::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params) |
| 1283 | { |
| 1284 | d_1_0_Deprecated->f.Materialfv(face, pname, params); |
| 1285 | } |
| 1286 | |
| 1287 | inline void QOpenGLFunctions_1_2::glMaterialf(GLenum face, GLenum pname, GLfloat param) |
| 1288 | { |
| 1289 | d_1_0_Deprecated->f.Materialf(face, pname, param); |
| 1290 | } |
| 1291 | |
| 1292 | inline void QOpenGLFunctions_1_2::glLineStipple(GLint factor, GLushort pattern) |
| 1293 | { |
| 1294 | d_1_0_Deprecated->f.LineStipple(factor, pattern); |
| 1295 | } |
| 1296 | |
| 1297 | inline void QOpenGLFunctions_1_2::glLightModeliv(GLenum pname, const GLint *params) |
| 1298 | { |
| 1299 | d_1_0_Deprecated->f.LightModeliv(pname, params); |
| 1300 | } |
| 1301 | |
| 1302 | inline void QOpenGLFunctions_1_2::glLightModeli(GLenum pname, GLint param) |
| 1303 | { |
| 1304 | d_1_0_Deprecated->f.LightModeli(pname, param); |
| 1305 | } |
| 1306 | |
| 1307 | inline void QOpenGLFunctions_1_2::glLightModelfv(GLenum pname, const GLfloat *params) |
| 1308 | { |
| 1309 | d_1_0_Deprecated->f.LightModelfv(pname, params); |
| 1310 | } |
| 1311 | |
| 1312 | inline void QOpenGLFunctions_1_2::glLightModelf(GLenum pname, GLfloat param) |
| 1313 | { |
| 1314 | d_1_0_Deprecated->f.LightModelf(pname, param); |
| 1315 | } |
| 1316 | |
| 1317 | inline void QOpenGLFunctions_1_2::glLightiv(GLenum light, GLenum pname, const GLint *params) |
| 1318 | { |
| 1319 | d_1_0_Deprecated->f.Lightiv(light, pname, params); |
| 1320 | } |
| 1321 | |
| 1322 | inline void QOpenGLFunctions_1_2::glLighti(GLenum light, GLenum pname, GLint param) |
| 1323 | { |
| 1324 | d_1_0_Deprecated->f.Lighti(light, pname, param); |
| 1325 | } |
| 1326 | |
| 1327 | inline void QOpenGLFunctions_1_2::glLightfv(GLenum light, GLenum pname, const GLfloat *params) |
| 1328 | { |
| 1329 | d_1_0_Deprecated->f.Lightfv(light, pname, params); |
| 1330 | } |
| 1331 | |
| 1332 | inline void QOpenGLFunctions_1_2::glLightf(GLenum light, GLenum pname, GLfloat param) |
| 1333 | { |
| 1334 | d_1_0_Deprecated->f.Lightf(light, pname, param); |
| 1335 | } |
| 1336 | |
| 1337 | inline void QOpenGLFunctions_1_2::glFogiv(GLenum pname, const GLint *params) |
| 1338 | { |
| 1339 | d_1_0_Deprecated->f.Fogiv(pname, params); |
| 1340 | } |
| 1341 | |
| 1342 | inline void QOpenGLFunctions_1_2::glFogi(GLenum pname, GLint param) |
| 1343 | { |
| 1344 | d_1_0_Deprecated->f.Fogi(pname, param); |
| 1345 | } |
| 1346 | |
| 1347 | inline void QOpenGLFunctions_1_2::glFogfv(GLenum pname, const GLfloat *params) |
| 1348 | { |
| 1349 | d_1_0_Deprecated->f.Fogfv(pname, params); |
| 1350 | } |
| 1351 | |
| 1352 | inline void QOpenGLFunctions_1_2::glFogf(GLenum pname, GLfloat param) |
| 1353 | { |
| 1354 | d_1_0_Deprecated->f.Fogf(pname, param); |
| 1355 | } |
| 1356 | |
| 1357 | inline void QOpenGLFunctions_1_2::glColorMaterial(GLenum face, GLenum mode) |
| 1358 | { |
| 1359 | d_1_0_Deprecated->f.ColorMaterial(face, mode); |
| 1360 | } |
| 1361 | |
| 1362 | inline void QOpenGLFunctions_1_2::glClipPlane(GLenum plane, const GLdouble *equation) |
| 1363 | { |
| 1364 | d_1_0_Deprecated->f.ClipPlane(plane, equation); |
| 1365 | } |
| 1366 | |
| 1367 | inline void QOpenGLFunctions_1_2::glVertex4sv(const GLshort *v) |
| 1368 | { |
| 1369 | d_1_0_Deprecated->f.Vertex4sv(v); |
| 1370 | } |
| 1371 | |
| 1372 | inline void QOpenGLFunctions_1_2::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 1373 | { |
| 1374 | d_1_0_Deprecated->f.Vertex4s(x, y, z, w); |
| 1375 | } |
| 1376 | |
| 1377 | inline void QOpenGLFunctions_1_2::glVertex4iv(const GLint *v) |
| 1378 | { |
| 1379 | d_1_0_Deprecated->f.Vertex4iv(v); |
| 1380 | } |
| 1381 | |
| 1382 | inline void QOpenGLFunctions_1_2::glVertex4i(GLint x, GLint y, GLint z, GLint w) |
| 1383 | { |
| 1384 | d_1_0_Deprecated->f.Vertex4i(x, y, z, w); |
| 1385 | } |
| 1386 | |
| 1387 | inline void QOpenGLFunctions_1_2::glVertex4fv(const GLfloat *v) |
| 1388 | { |
| 1389 | d_1_0_Deprecated->f.Vertex4fv(v); |
| 1390 | } |
| 1391 | |
| 1392 | inline void QOpenGLFunctions_1_2::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 1393 | { |
| 1394 | d_1_0_Deprecated->f.Vertex4f(x, y, z, w); |
| 1395 | } |
| 1396 | |
| 1397 | inline void QOpenGLFunctions_1_2::glVertex4dv(const GLdouble *v) |
| 1398 | { |
| 1399 | d_1_0_Deprecated->f.Vertex4dv(v); |
| 1400 | } |
| 1401 | |
| 1402 | inline void QOpenGLFunctions_1_2::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 1403 | { |
| 1404 | d_1_0_Deprecated->f.Vertex4d(x, y, z, w); |
| 1405 | } |
| 1406 | |
| 1407 | inline void QOpenGLFunctions_1_2::glVertex3sv(const GLshort *v) |
| 1408 | { |
| 1409 | d_1_0_Deprecated->f.Vertex3sv(v); |
| 1410 | } |
| 1411 | |
| 1412 | inline void QOpenGLFunctions_1_2::glVertex3s(GLshort x, GLshort y, GLshort z) |
| 1413 | { |
| 1414 | d_1_0_Deprecated->f.Vertex3s(x, y, z); |
| 1415 | } |
| 1416 | |
| 1417 | inline void QOpenGLFunctions_1_2::glVertex3iv(const GLint *v) |
| 1418 | { |
| 1419 | d_1_0_Deprecated->f.Vertex3iv(v); |
| 1420 | } |
| 1421 | |
| 1422 | inline void QOpenGLFunctions_1_2::glVertex3i(GLint x, GLint y, GLint z) |
| 1423 | { |
| 1424 | d_1_0_Deprecated->f.Vertex3i(x, y, z); |
| 1425 | } |
| 1426 | |
| 1427 | inline void QOpenGLFunctions_1_2::glVertex3fv(const GLfloat *v) |
| 1428 | { |
| 1429 | d_1_0_Deprecated->f.Vertex3fv(v); |
| 1430 | } |
| 1431 | |
| 1432 | inline void QOpenGLFunctions_1_2::glVertex3f(GLfloat x, GLfloat y, GLfloat z) |
| 1433 | { |
| 1434 | d_1_0_Deprecated->f.Vertex3f(x, y, z); |
| 1435 | } |
| 1436 | |
| 1437 | inline void QOpenGLFunctions_1_2::glVertex3dv(const GLdouble *v) |
| 1438 | { |
| 1439 | d_1_0_Deprecated->f.Vertex3dv(v); |
| 1440 | } |
| 1441 | |
| 1442 | inline void QOpenGLFunctions_1_2::glVertex3d(GLdouble x, GLdouble y, GLdouble z) |
| 1443 | { |
| 1444 | d_1_0_Deprecated->f.Vertex3d(x, y, z); |
| 1445 | } |
| 1446 | |
| 1447 | inline void QOpenGLFunctions_1_2::glVertex2sv(const GLshort *v) |
| 1448 | { |
| 1449 | d_1_0_Deprecated->f.Vertex2sv(v); |
| 1450 | } |
| 1451 | |
| 1452 | inline void QOpenGLFunctions_1_2::glVertex2s(GLshort x, GLshort y) |
| 1453 | { |
| 1454 | d_1_0_Deprecated->f.Vertex2s(x, y); |
| 1455 | } |
| 1456 | |
| 1457 | inline void QOpenGLFunctions_1_2::glVertex2iv(const GLint *v) |
| 1458 | { |
| 1459 | d_1_0_Deprecated->f.Vertex2iv(v); |
| 1460 | } |
| 1461 | |
| 1462 | inline void QOpenGLFunctions_1_2::glVertex2i(GLint x, GLint y) |
| 1463 | { |
| 1464 | d_1_0_Deprecated->f.Vertex2i(x, y); |
| 1465 | } |
| 1466 | |
| 1467 | inline void QOpenGLFunctions_1_2::glVertex2fv(const GLfloat *v) |
| 1468 | { |
| 1469 | d_1_0_Deprecated->f.Vertex2fv(v); |
| 1470 | } |
| 1471 | |
| 1472 | inline void QOpenGLFunctions_1_2::glVertex2f(GLfloat x, GLfloat y) |
| 1473 | { |
| 1474 | d_1_0_Deprecated->f.Vertex2f(x, y); |
| 1475 | } |
| 1476 | |
| 1477 | inline void QOpenGLFunctions_1_2::glVertex2dv(const GLdouble *v) |
| 1478 | { |
| 1479 | d_1_0_Deprecated->f.Vertex2dv(v); |
| 1480 | } |
| 1481 | |
| 1482 | inline void QOpenGLFunctions_1_2::glVertex2d(GLdouble x, GLdouble y) |
| 1483 | { |
| 1484 | d_1_0_Deprecated->f.Vertex2d(x, y); |
| 1485 | } |
| 1486 | |
| 1487 | inline void QOpenGLFunctions_1_2::glTexCoord4sv(const GLshort *v) |
| 1488 | { |
| 1489 | d_1_0_Deprecated->f.TexCoord4sv(v); |
| 1490 | } |
| 1491 | |
| 1492 | inline void QOpenGLFunctions_1_2::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q) |
| 1493 | { |
| 1494 | d_1_0_Deprecated->f.TexCoord4s(s, t, r, q); |
| 1495 | } |
| 1496 | |
| 1497 | inline void QOpenGLFunctions_1_2::glTexCoord4iv(const GLint *v) |
| 1498 | { |
| 1499 | d_1_0_Deprecated->f.TexCoord4iv(v); |
| 1500 | } |
| 1501 | |
| 1502 | inline void QOpenGLFunctions_1_2::glTexCoord4i(GLint s, GLint t, GLint r, GLint q) |
| 1503 | { |
| 1504 | d_1_0_Deprecated->f.TexCoord4i(s, t, r, q); |
| 1505 | } |
| 1506 | |
| 1507 | inline void QOpenGLFunctions_1_2::glTexCoord4fv(const GLfloat *v) |
| 1508 | { |
| 1509 | d_1_0_Deprecated->f.TexCoord4fv(v); |
| 1510 | } |
| 1511 | |
| 1512 | inline void QOpenGLFunctions_1_2::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q) |
| 1513 | { |
| 1514 | d_1_0_Deprecated->f.TexCoord4f(s, t, r, q); |
| 1515 | } |
| 1516 | |
| 1517 | inline void QOpenGLFunctions_1_2::glTexCoord4dv(const GLdouble *v) |
| 1518 | { |
| 1519 | d_1_0_Deprecated->f.TexCoord4dv(v); |
| 1520 | } |
| 1521 | |
| 1522 | inline void QOpenGLFunctions_1_2::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q) |
| 1523 | { |
| 1524 | d_1_0_Deprecated->f.TexCoord4d(s, t, r, q); |
| 1525 | } |
| 1526 | |
| 1527 | inline void QOpenGLFunctions_1_2::glTexCoord3sv(const GLshort *v) |
| 1528 | { |
| 1529 | d_1_0_Deprecated->f.TexCoord3sv(v); |
| 1530 | } |
| 1531 | |
| 1532 | inline void QOpenGLFunctions_1_2::glTexCoord3s(GLshort s, GLshort t, GLshort r) |
| 1533 | { |
| 1534 | d_1_0_Deprecated->f.TexCoord3s(s, t, r); |
| 1535 | } |
| 1536 | |
| 1537 | inline void QOpenGLFunctions_1_2::glTexCoord3iv(const GLint *v) |
| 1538 | { |
| 1539 | d_1_0_Deprecated->f.TexCoord3iv(v); |
| 1540 | } |
| 1541 | |
| 1542 | inline void QOpenGLFunctions_1_2::glTexCoord3i(GLint s, GLint t, GLint r) |
| 1543 | { |
| 1544 | d_1_0_Deprecated->f.TexCoord3i(s, t, r); |
| 1545 | } |
| 1546 | |
| 1547 | inline void QOpenGLFunctions_1_2::glTexCoord3fv(const GLfloat *v) |
| 1548 | { |
| 1549 | d_1_0_Deprecated->f.TexCoord3fv(v); |
| 1550 | } |
| 1551 | |
| 1552 | inline void QOpenGLFunctions_1_2::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r) |
| 1553 | { |
| 1554 | d_1_0_Deprecated->f.TexCoord3f(s, t, r); |
| 1555 | } |
| 1556 | |
| 1557 | inline void QOpenGLFunctions_1_2::glTexCoord3dv(const GLdouble *v) |
| 1558 | { |
| 1559 | d_1_0_Deprecated->f.TexCoord3dv(v); |
| 1560 | } |
| 1561 | |
| 1562 | inline void QOpenGLFunctions_1_2::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r) |
| 1563 | { |
| 1564 | d_1_0_Deprecated->f.TexCoord3d(s, t, r); |
| 1565 | } |
| 1566 | |
| 1567 | inline void QOpenGLFunctions_1_2::glTexCoord2sv(const GLshort *v) |
| 1568 | { |
| 1569 | d_1_0_Deprecated->f.TexCoord2sv(v); |
| 1570 | } |
| 1571 | |
| 1572 | inline void QOpenGLFunctions_1_2::glTexCoord2s(GLshort s, GLshort t) |
| 1573 | { |
| 1574 | d_1_0_Deprecated->f.TexCoord2s(s, t); |
| 1575 | } |
| 1576 | |
| 1577 | inline void QOpenGLFunctions_1_2::glTexCoord2iv(const GLint *v) |
| 1578 | { |
| 1579 | d_1_0_Deprecated->f.TexCoord2iv(v); |
| 1580 | } |
| 1581 | |
| 1582 | inline void QOpenGLFunctions_1_2::glTexCoord2i(GLint s, GLint t) |
| 1583 | { |
| 1584 | d_1_0_Deprecated->f.TexCoord2i(s, t); |
| 1585 | } |
| 1586 | |
| 1587 | inline void QOpenGLFunctions_1_2::glTexCoord2fv(const GLfloat *v) |
| 1588 | { |
| 1589 | d_1_0_Deprecated->f.TexCoord2fv(v); |
| 1590 | } |
| 1591 | |
| 1592 | inline void QOpenGLFunctions_1_2::glTexCoord2f(GLfloat s, GLfloat t) |
| 1593 | { |
| 1594 | d_1_0_Deprecated->f.TexCoord2f(s, t); |
| 1595 | } |
| 1596 | |
| 1597 | inline void QOpenGLFunctions_1_2::glTexCoord2dv(const GLdouble *v) |
| 1598 | { |
| 1599 | d_1_0_Deprecated->f.TexCoord2dv(v); |
| 1600 | } |
| 1601 | |
| 1602 | inline void QOpenGLFunctions_1_2::glTexCoord2d(GLdouble s, GLdouble t) |
| 1603 | { |
| 1604 | d_1_0_Deprecated->f.TexCoord2d(s, t); |
| 1605 | } |
| 1606 | |
| 1607 | inline void QOpenGLFunctions_1_2::glTexCoord1sv(const GLshort *v) |
| 1608 | { |
| 1609 | d_1_0_Deprecated->f.TexCoord1sv(v); |
| 1610 | } |
| 1611 | |
| 1612 | inline void QOpenGLFunctions_1_2::glTexCoord1s(GLshort s) |
| 1613 | { |
| 1614 | d_1_0_Deprecated->f.TexCoord1s(s); |
| 1615 | } |
| 1616 | |
| 1617 | inline void QOpenGLFunctions_1_2::glTexCoord1iv(const GLint *v) |
| 1618 | { |
| 1619 | d_1_0_Deprecated->f.TexCoord1iv(v); |
| 1620 | } |
| 1621 | |
| 1622 | inline void QOpenGLFunctions_1_2::glTexCoord1i(GLint s) |
| 1623 | { |
| 1624 | d_1_0_Deprecated->f.TexCoord1i(s); |
| 1625 | } |
| 1626 | |
| 1627 | inline void QOpenGLFunctions_1_2::glTexCoord1fv(const GLfloat *v) |
| 1628 | { |
| 1629 | d_1_0_Deprecated->f.TexCoord1fv(v); |
| 1630 | } |
| 1631 | |
| 1632 | inline void QOpenGLFunctions_1_2::glTexCoord1f(GLfloat s) |
| 1633 | { |
| 1634 | d_1_0_Deprecated->f.TexCoord1f(s); |
| 1635 | } |
| 1636 | |
| 1637 | inline void QOpenGLFunctions_1_2::glTexCoord1dv(const GLdouble *v) |
| 1638 | { |
| 1639 | d_1_0_Deprecated->f.TexCoord1dv(v); |
| 1640 | } |
| 1641 | |
| 1642 | inline void QOpenGLFunctions_1_2::glTexCoord1d(GLdouble s) |
| 1643 | { |
| 1644 | d_1_0_Deprecated->f.TexCoord1d(s); |
| 1645 | } |
| 1646 | |
| 1647 | inline void QOpenGLFunctions_1_2::glRectsv(const GLshort *v1, const GLshort *v2) |
| 1648 | { |
| 1649 | d_1_0_Deprecated->f.Rectsv(v1, v2); |
| 1650 | } |
| 1651 | |
| 1652 | inline void QOpenGLFunctions_1_2::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2) |
| 1653 | { |
| 1654 | d_1_0_Deprecated->f.Rects(x1, y1, x2, y2); |
| 1655 | } |
| 1656 | |
| 1657 | inline void QOpenGLFunctions_1_2::glRectiv(const GLint *v1, const GLint *v2) |
| 1658 | { |
| 1659 | d_1_0_Deprecated->f.Rectiv(v1, v2); |
| 1660 | } |
| 1661 | |
| 1662 | inline void QOpenGLFunctions_1_2::glRecti(GLint x1, GLint y1, GLint x2, GLint y2) |
| 1663 | { |
| 1664 | d_1_0_Deprecated->f.Recti(x1, y1, x2, y2); |
| 1665 | } |
| 1666 | |
| 1667 | inline void QOpenGLFunctions_1_2::glRectfv(const GLfloat *v1, const GLfloat *v2) |
| 1668 | { |
| 1669 | d_1_0_Deprecated->f.Rectfv(v1, v2); |
| 1670 | } |
| 1671 | |
| 1672 | inline void QOpenGLFunctions_1_2::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2) |
| 1673 | { |
| 1674 | d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2); |
| 1675 | } |
| 1676 | |
| 1677 | inline void QOpenGLFunctions_1_2::glRectdv(const GLdouble *v1, const GLdouble *v2) |
| 1678 | { |
| 1679 | d_1_0_Deprecated->f.Rectdv(v1, v2); |
| 1680 | } |
| 1681 | |
| 1682 | inline void QOpenGLFunctions_1_2::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2) |
| 1683 | { |
| 1684 | d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2); |
| 1685 | } |
| 1686 | |
| 1687 | inline void QOpenGLFunctions_1_2::glRasterPos4sv(const GLshort *v) |
| 1688 | { |
| 1689 | d_1_0_Deprecated->f.RasterPos4sv(v); |
| 1690 | } |
| 1691 | |
| 1692 | inline void QOpenGLFunctions_1_2::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w) |
| 1693 | { |
| 1694 | d_1_0_Deprecated->f.RasterPos4s(x, y, z, w); |
| 1695 | } |
| 1696 | |
| 1697 | inline void QOpenGLFunctions_1_2::glRasterPos4iv(const GLint *v) |
| 1698 | { |
| 1699 | d_1_0_Deprecated->f.RasterPos4iv(v); |
| 1700 | } |
| 1701 | |
| 1702 | inline void QOpenGLFunctions_1_2::glRasterPos4i(GLint x, GLint y, GLint z, GLint w) |
| 1703 | { |
| 1704 | d_1_0_Deprecated->f.RasterPos4i(x, y, z, w); |
| 1705 | } |
| 1706 | |
| 1707 | inline void QOpenGLFunctions_1_2::glRasterPos4fv(const GLfloat *v) |
| 1708 | { |
| 1709 | d_1_0_Deprecated->f.RasterPos4fv(v); |
| 1710 | } |
| 1711 | |
| 1712 | inline void QOpenGLFunctions_1_2::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w) |
| 1713 | { |
| 1714 | d_1_0_Deprecated->f.RasterPos4f(x, y, z, w); |
| 1715 | } |
| 1716 | |
| 1717 | inline void QOpenGLFunctions_1_2::glRasterPos4dv(const GLdouble *v) |
| 1718 | { |
| 1719 | d_1_0_Deprecated->f.RasterPos4dv(v); |
| 1720 | } |
| 1721 | |
| 1722 | inline void QOpenGLFunctions_1_2::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w) |
| 1723 | { |
| 1724 | d_1_0_Deprecated->f.RasterPos4d(x, y, z, w); |
| 1725 | } |
| 1726 | |
| 1727 | inline void QOpenGLFunctions_1_2::glRasterPos3sv(const GLshort *v) |
| 1728 | { |
| 1729 | d_1_0_Deprecated->f.RasterPos3sv(v); |
| 1730 | } |
| 1731 | |
| 1732 | inline void QOpenGLFunctions_1_2::glRasterPos3s(GLshort x, GLshort y, GLshort z) |
| 1733 | { |
| 1734 | d_1_0_Deprecated->f.RasterPos3s(x, y, z); |
| 1735 | } |
| 1736 | |
| 1737 | inline void QOpenGLFunctions_1_2::glRasterPos3iv(const GLint *v) |
| 1738 | { |
| 1739 | d_1_0_Deprecated->f.RasterPos3iv(v); |
| 1740 | } |
| 1741 | |
| 1742 | inline void QOpenGLFunctions_1_2::glRasterPos3i(GLint x, GLint y, GLint z) |
| 1743 | { |
| 1744 | d_1_0_Deprecated->f.RasterPos3i(x, y, z); |
| 1745 | } |
| 1746 | |
| 1747 | inline void QOpenGLFunctions_1_2::glRasterPos3fv(const GLfloat *v) |
| 1748 | { |
| 1749 | d_1_0_Deprecated->f.RasterPos3fv(v); |
| 1750 | } |
| 1751 | |
| 1752 | inline void QOpenGLFunctions_1_2::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z) |
| 1753 | { |
| 1754 | d_1_0_Deprecated->f.RasterPos3f(x, y, z); |
| 1755 | } |
| 1756 | |
| 1757 | inline void QOpenGLFunctions_1_2::glRasterPos3dv(const GLdouble *v) |
| 1758 | { |
| 1759 | d_1_0_Deprecated->f.RasterPos3dv(v); |
| 1760 | } |
| 1761 | |
| 1762 | inline void QOpenGLFunctions_1_2::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z) |
| 1763 | { |
| 1764 | d_1_0_Deprecated->f.RasterPos3d(x, y, z); |
| 1765 | } |
| 1766 | |
| 1767 | inline void QOpenGLFunctions_1_2::glRasterPos2sv(const GLshort *v) |
| 1768 | { |
| 1769 | d_1_0_Deprecated->f.RasterPos2sv(v); |
| 1770 | } |
| 1771 | |
| 1772 | inline void QOpenGLFunctions_1_2::glRasterPos2s(GLshort x, GLshort y) |
| 1773 | { |
| 1774 | d_1_0_Deprecated->f.RasterPos2s(x, y); |
| 1775 | } |
| 1776 | |
| 1777 | inline void QOpenGLFunctions_1_2::glRasterPos2iv(const GLint *v) |
| 1778 | { |
| 1779 | d_1_0_Deprecated->f.RasterPos2iv(v); |
| 1780 | } |
| 1781 | |
| 1782 | inline void QOpenGLFunctions_1_2::glRasterPos2i(GLint x, GLint y) |
| 1783 | { |
| 1784 | d_1_0_Deprecated->f.RasterPos2i(x, y); |
| 1785 | } |
| 1786 | |
| 1787 | inline void QOpenGLFunctions_1_2::glRasterPos2fv(const GLfloat *v) |
| 1788 | { |
| 1789 | d_1_0_Deprecated->f.RasterPos2fv(v); |
| 1790 | } |
| 1791 | |
| 1792 | inline void QOpenGLFunctions_1_2::glRasterPos2f(GLfloat x, GLfloat y) |
| 1793 | { |
| 1794 | d_1_0_Deprecated->f.RasterPos2f(x, y); |
| 1795 | } |
| 1796 | |
| 1797 | inline void QOpenGLFunctions_1_2::glRasterPos2dv(const GLdouble *v) |
| 1798 | { |
| 1799 | d_1_0_Deprecated->f.RasterPos2dv(v); |
| 1800 | } |
| 1801 | |
| 1802 | inline void QOpenGLFunctions_1_2::glRasterPos2d(GLdouble x, GLdouble y) |
| 1803 | { |
| 1804 | d_1_0_Deprecated->f.RasterPos2d(x, y); |
| 1805 | } |
| 1806 | |
| 1807 | inline void QOpenGLFunctions_1_2::glNormal3sv(const GLshort *v) |
| 1808 | { |
| 1809 | d_1_0_Deprecated->f.Normal3sv(v); |
| 1810 | } |
| 1811 | |
| 1812 | inline void QOpenGLFunctions_1_2::glNormal3s(GLshort nx, GLshort ny, GLshort nz) |
| 1813 | { |
| 1814 | d_1_0_Deprecated->f.Normal3s(nx, ny, nz); |
| 1815 | } |
| 1816 | |
| 1817 | inline void QOpenGLFunctions_1_2::glNormal3iv(const GLint *v) |
| 1818 | { |
| 1819 | d_1_0_Deprecated->f.Normal3iv(v); |
| 1820 | } |
| 1821 | |
| 1822 | inline void QOpenGLFunctions_1_2::glNormal3i(GLint nx, GLint ny, GLint nz) |
| 1823 | { |
| 1824 | d_1_0_Deprecated->f.Normal3i(nx, ny, nz); |
| 1825 | } |
| 1826 | |
| 1827 | inline void QOpenGLFunctions_1_2::glNormal3fv(const GLfloat *v) |
| 1828 | { |
| 1829 | d_1_0_Deprecated->f.Normal3fv(v); |
| 1830 | } |
| 1831 | |
| 1832 | inline void QOpenGLFunctions_1_2::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz) |
| 1833 | { |
| 1834 | d_1_0_Deprecated->f.Normal3f(nx, ny, nz); |
| 1835 | } |
| 1836 | |
| 1837 | inline void QOpenGLFunctions_1_2::glNormal3dv(const GLdouble *v) |
| 1838 | { |
| 1839 | d_1_0_Deprecated->f.Normal3dv(v); |
| 1840 | } |
| 1841 | |
| 1842 | inline void QOpenGLFunctions_1_2::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz) |
| 1843 | { |
| 1844 | d_1_0_Deprecated->f.Normal3d(nx, ny, nz); |
| 1845 | } |
| 1846 | |
| 1847 | inline void QOpenGLFunctions_1_2::glNormal3bv(const GLbyte *v) |
| 1848 | { |
| 1849 | d_1_0_Deprecated->f.Normal3bv(v); |
| 1850 | } |
| 1851 | |
| 1852 | inline void QOpenGLFunctions_1_2::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz) |
| 1853 | { |
| 1854 | d_1_0_Deprecated->f.Normal3b(nx, ny, nz); |
| 1855 | } |
| 1856 | |
| 1857 | inline void QOpenGLFunctions_1_2::glIndexsv(const GLshort *c) |
| 1858 | { |
| 1859 | d_1_0_Deprecated->f.Indexsv(c); |
| 1860 | } |
| 1861 | |
| 1862 | inline void QOpenGLFunctions_1_2::glIndexs(GLshort c) |
| 1863 | { |
| 1864 | d_1_0_Deprecated->f.Indexs(c); |
| 1865 | } |
| 1866 | |
| 1867 | inline void QOpenGLFunctions_1_2::glIndexiv(const GLint *c) |
| 1868 | { |
| 1869 | d_1_0_Deprecated->f.Indexiv(c); |
| 1870 | } |
| 1871 | |
| 1872 | inline void QOpenGLFunctions_1_2::glIndexi(GLint c) |
| 1873 | { |
| 1874 | d_1_0_Deprecated->f.Indexi(c); |
| 1875 | } |
| 1876 | |
| 1877 | inline void QOpenGLFunctions_1_2::glIndexfv(const GLfloat *c) |
| 1878 | { |
| 1879 | d_1_0_Deprecated->f.Indexfv(c); |
| 1880 | } |
| 1881 | |
| 1882 | inline void QOpenGLFunctions_1_2::glIndexf(GLfloat c) |
| 1883 | { |
| 1884 | d_1_0_Deprecated->f.Indexf(c); |
| 1885 | } |
| 1886 | |
| 1887 | inline void QOpenGLFunctions_1_2::glIndexdv(const GLdouble *c) |
| 1888 | { |
| 1889 | d_1_0_Deprecated->f.Indexdv(c); |
| 1890 | } |
| 1891 | |
| 1892 | inline void QOpenGLFunctions_1_2::glIndexd(GLdouble c) |
| 1893 | { |
| 1894 | d_1_0_Deprecated->f.Indexd(c); |
| 1895 | } |
| 1896 | |
| 1897 | inline void QOpenGLFunctions_1_2::glEnd() |
| 1898 | { |
| 1899 | d_1_0_Deprecated->f.End(); |
| 1900 | } |
| 1901 | |
| 1902 | inline void QOpenGLFunctions_1_2::glEdgeFlagv(const GLboolean *flag) |
| 1903 | { |
| 1904 | d_1_0_Deprecated->f.EdgeFlagv(flag); |
| 1905 | } |
| 1906 | |
| 1907 | inline void QOpenGLFunctions_1_2::glEdgeFlag(GLboolean flag) |
| 1908 | { |
| 1909 | d_1_0_Deprecated->f.EdgeFlag(flag); |
| 1910 | } |
| 1911 | |
| 1912 | inline void QOpenGLFunctions_1_2::glColor4usv(const GLushort *v) |
| 1913 | { |
| 1914 | d_1_0_Deprecated->f.Color4usv(v); |
| 1915 | } |
| 1916 | |
| 1917 | inline void QOpenGLFunctions_1_2::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha) |
| 1918 | { |
| 1919 | d_1_0_Deprecated->f.Color4us(red, green, blue, alpha); |
| 1920 | } |
| 1921 | |
| 1922 | inline void QOpenGLFunctions_1_2::glColor4uiv(const GLuint *v) |
| 1923 | { |
| 1924 | d_1_0_Deprecated->f.Color4uiv(v); |
| 1925 | } |
| 1926 | |
| 1927 | inline void QOpenGLFunctions_1_2::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha) |
| 1928 | { |
| 1929 | d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha); |
| 1930 | } |
| 1931 | |
| 1932 | inline void QOpenGLFunctions_1_2::glColor4ubv(const GLubyte *v) |
| 1933 | { |
| 1934 | d_1_0_Deprecated->f.Color4ubv(v); |
| 1935 | } |
| 1936 | |
| 1937 | inline void QOpenGLFunctions_1_2::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha) |
| 1938 | { |
| 1939 | d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha); |
| 1940 | } |
| 1941 | |
| 1942 | inline void QOpenGLFunctions_1_2::glColor4sv(const GLshort *v) |
| 1943 | { |
| 1944 | d_1_0_Deprecated->f.Color4sv(v); |
| 1945 | } |
| 1946 | |
| 1947 | inline void QOpenGLFunctions_1_2::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha) |
| 1948 | { |
| 1949 | d_1_0_Deprecated->f.Color4s(red, green, blue, alpha); |
| 1950 | } |
| 1951 | |
| 1952 | inline void QOpenGLFunctions_1_2::glColor4iv(const GLint *v) |
| 1953 | { |
| 1954 | d_1_0_Deprecated->f.Color4iv(v); |
| 1955 | } |
| 1956 | |
| 1957 | inline void QOpenGLFunctions_1_2::glColor4i(GLint red, GLint green, GLint blue, GLint alpha) |
| 1958 | { |
| 1959 | d_1_0_Deprecated->f.Color4i(red, green, blue, alpha); |
| 1960 | } |
| 1961 | |
| 1962 | inline void QOpenGLFunctions_1_2::glColor4fv(const GLfloat *v) |
| 1963 | { |
| 1964 | d_1_0_Deprecated->f.Color4fv(v); |
| 1965 | } |
| 1966 | |
| 1967 | inline void QOpenGLFunctions_1_2::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha) |
| 1968 | { |
| 1969 | d_1_0_Deprecated->f.Color4f(red, green, blue, alpha); |
| 1970 | } |
| 1971 | |
| 1972 | inline void QOpenGLFunctions_1_2::glColor4dv(const GLdouble *v) |
| 1973 | { |
| 1974 | d_1_0_Deprecated->f.Color4dv(v); |
| 1975 | } |
| 1976 | |
| 1977 | inline void QOpenGLFunctions_1_2::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha) |
| 1978 | { |
| 1979 | d_1_0_Deprecated->f.Color4d(red, green, blue, alpha); |
| 1980 | } |
| 1981 | |
| 1982 | inline void QOpenGLFunctions_1_2::glColor4bv(const GLbyte *v) |
| 1983 | { |
| 1984 | d_1_0_Deprecated->f.Color4bv(v); |
| 1985 | } |
| 1986 | |
| 1987 | inline void QOpenGLFunctions_1_2::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha) |
| 1988 | { |
| 1989 | d_1_0_Deprecated->f.Color4b(red, green, blue, alpha); |
| 1990 | } |
| 1991 | |
| 1992 | inline void QOpenGLFunctions_1_2::glColor3usv(const GLushort *v) |
| 1993 | { |
| 1994 | d_1_0_Deprecated->f.Color3usv(v); |
| 1995 | } |
| 1996 | |
| 1997 | inline void QOpenGLFunctions_1_2::glColor3us(GLushort red, GLushort green, GLushort blue) |
| 1998 | { |
| 1999 | d_1_0_Deprecated->f.Color3us(red, green, blue); |
| 2000 | } |
| 2001 | |
| 2002 | inline void QOpenGLFunctions_1_2::glColor3uiv(const GLuint *v) |
| 2003 | { |
| 2004 | d_1_0_Deprecated->f.Color3uiv(v); |
| 2005 | } |
| 2006 | |
| 2007 | inline void QOpenGLFunctions_1_2::glColor3ui(GLuint red, GLuint green, GLuint blue) |
| 2008 | { |
| 2009 | d_1_0_Deprecated->f.Color3ui(red, green, blue); |
| 2010 | } |
| 2011 | |
| 2012 | inline void QOpenGLFunctions_1_2::glColor3ubv(const GLubyte *v) |
| 2013 | { |
| 2014 | d_1_0_Deprecated->f.Color3ubv(v); |
| 2015 | } |
| 2016 | |
| 2017 | inline void QOpenGLFunctions_1_2::glColor3ub(GLubyte red, GLubyte green, GLubyte blue) |
| 2018 | { |
| 2019 | d_1_0_Deprecated->f.Color3ub(red, green, blue); |
| 2020 | } |
| 2021 | |
| 2022 | inline void QOpenGLFunctions_1_2::glColor3sv(const GLshort *v) |
| 2023 | { |
| 2024 | d_1_0_Deprecated->f.Color3sv(v); |
| 2025 | } |
| 2026 | |
| 2027 | inline void QOpenGLFunctions_1_2::glColor3s(GLshort red, GLshort green, GLshort blue) |
| 2028 | { |
| 2029 | d_1_0_Deprecated->f.Color3s(red, green, blue); |
| 2030 | } |
| 2031 | |
| 2032 | inline void QOpenGLFunctions_1_2::glColor3iv(const GLint *v) |
| 2033 | { |
| 2034 | d_1_0_Deprecated->f.Color3iv(v); |
| 2035 | } |
| 2036 | |
| 2037 | inline void QOpenGLFunctions_1_2::glColor3i(GLint red, GLint green, GLint blue) |
| 2038 | { |
| 2039 | d_1_0_Deprecated->f.Color3i(red, green, blue); |
| 2040 | } |
| 2041 | |
| 2042 | inline void QOpenGLFunctions_1_2::glColor3fv(const GLfloat *v) |
| 2043 | { |
| 2044 | d_1_0_Deprecated->f.Color3fv(v); |
| 2045 | } |
| 2046 | |
| 2047 | inline void QOpenGLFunctions_1_2::glColor3f(GLfloat red, GLfloat green, GLfloat blue) |
| 2048 | { |
| 2049 | d_1_0_Deprecated->f.Color3f(red, green, blue); |
| 2050 | } |
| 2051 | |
| 2052 | inline void QOpenGLFunctions_1_2::glColor3dv(const GLdouble *v) |
| 2053 | { |
| 2054 | d_1_0_Deprecated->f.Color3dv(v); |
| 2055 | } |
| 2056 | |
| 2057 | inline void QOpenGLFunctions_1_2::glColor3d(GLdouble red, GLdouble green, GLdouble blue) |
| 2058 | { |
| 2059 | d_1_0_Deprecated->f.Color3d(red, green, blue); |
| 2060 | } |
| 2061 | |
| 2062 | inline void QOpenGLFunctions_1_2::glColor3bv(const GLbyte *v) |
| 2063 | { |
| 2064 | d_1_0_Deprecated->f.Color3bv(v); |
| 2065 | } |
| 2066 | |
| 2067 | inline void QOpenGLFunctions_1_2::glColor3b(GLbyte red, GLbyte green, GLbyte blue) |
| 2068 | { |
| 2069 | d_1_0_Deprecated->f.Color3b(red, green, blue); |
| 2070 | } |
| 2071 | |
| 2072 | inline void QOpenGLFunctions_1_2::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap) |
| 2073 | { |
| 2074 | d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap); |
| 2075 | } |
| 2076 | |
| 2077 | inline void QOpenGLFunctions_1_2::glBegin(GLenum mode) |
| 2078 | { |
| 2079 | d_1_0_Deprecated->f.Begin(mode); |
| 2080 | } |
| 2081 | |
| 2082 | inline void QOpenGLFunctions_1_2::glListBase(GLuint base) |
| 2083 | { |
| 2084 | d_1_0_Deprecated->f.ListBase(base); |
| 2085 | } |
| 2086 | |
| 2087 | inline GLuint QOpenGLFunctions_1_2::glGenLists(GLsizei range) |
| 2088 | { |
| 2089 | return d_1_0_Deprecated->f.GenLists(range); |
| 2090 | } |
| 2091 | |
| 2092 | inline void QOpenGLFunctions_1_2::glDeleteLists(GLuint list, GLsizei range) |
| 2093 | { |
| 2094 | d_1_0_Deprecated->f.DeleteLists(list, range); |
| 2095 | } |
| 2096 | |
| 2097 | inline void QOpenGLFunctions_1_2::glCallLists(GLsizei n, GLenum type, const GLvoid *lists) |
| 2098 | { |
| 2099 | d_1_0_Deprecated->f.CallLists(n, type, lists); |
| 2100 | } |
| 2101 | |
| 2102 | inline void QOpenGLFunctions_1_2::glCallList(GLuint list) |
| 2103 | { |
| 2104 | d_1_0_Deprecated->f.CallList(list); |
| 2105 | } |
| 2106 | |
| 2107 | inline void QOpenGLFunctions_1_2::glEndList() |
| 2108 | { |
| 2109 | d_1_0_Deprecated->f.EndList(); |
| 2110 | } |
| 2111 | |
| 2112 | inline void QOpenGLFunctions_1_2::glNewList(GLuint list, GLenum mode) |
| 2113 | { |
| 2114 | d_1_0_Deprecated->f.NewList(list, mode); |
| 2115 | } |
| 2116 | |
| 2117 | |
| 2118 | // OpenGL 1.1 deprecated functions |
| 2119 | inline void QOpenGLFunctions_1_2::glPushClientAttrib(GLbitfield mask) |
| 2120 | { |
| 2121 | d_1_1_Deprecated->f.PushClientAttrib(mask); |
| 2122 | } |
| 2123 | |
| 2124 | inline void QOpenGLFunctions_1_2::glPopClientAttrib() |
| 2125 | { |
| 2126 | d_1_1_Deprecated->f.PopClientAttrib(); |
| 2127 | } |
| 2128 | |
| 2129 | inline void QOpenGLFunctions_1_2::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities) |
| 2130 | { |
| 2131 | d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities); |
| 2132 | } |
| 2133 | |
| 2134 | inline GLboolean QOpenGLFunctions_1_2::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences) |
| 2135 | { |
| 2136 | return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences); |
| 2137 | } |
| 2138 | |
| 2139 | inline void QOpenGLFunctions_1_2::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2140 | { |
| 2141 | d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer); |
| 2142 | } |
| 2143 | |
| 2144 | inline void QOpenGLFunctions_1_2::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2145 | { |
| 2146 | d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer); |
| 2147 | } |
| 2148 | |
| 2149 | inline void QOpenGLFunctions_1_2::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2150 | { |
| 2151 | d_1_1_Deprecated->f.NormalPointer(type, stride, pointer); |
| 2152 | } |
| 2153 | |
| 2154 | inline void QOpenGLFunctions_1_2::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer) |
| 2155 | { |
| 2156 | d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer); |
| 2157 | } |
| 2158 | |
| 2159 | inline void QOpenGLFunctions_1_2::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2160 | { |
| 2161 | d_1_1_Deprecated->f.IndexPointer(type, stride, pointer); |
| 2162 | } |
| 2163 | |
| 2164 | inline void QOpenGLFunctions_1_2::glEnableClientState(GLenum array) |
| 2165 | { |
| 2166 | d_1_1_Deprecated->f.EnableClientState(array); |
| 2167 | } |
| 2168 | |
| 2169 | inline void QOpenGLFunctions_1_2::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer) |
| 2170 | { |
| 2171 | d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer); |
| 2172 | } |
| 2173 | |
| 2174 | inline void QOpenGLFunctions_1_2::glDisableClientState(GLenum array) |
| 2175 | { |
| 2176 | d_1_1_Deprecated->f.DisableClientState(array); |
| 2177 | } |
| 2178 | |
| 2179 | inline void QOpenGLFunctions_1_2::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer) |
| 2180 | { |
| 2181 | d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer); |
| 2182 | } |
| 2183 | |
| 2184 | inline void QOpenGLFunctions_1_2::glArrayElement(GLint i) |
| 2185 | { |
| 2186 | d_1_1_Deprecated->f.ArrayElement(i); |
| 2187 | } |
| 2188 | |
| 2189 | |
| 2190 | // OpenGL 1.2 deprecated functions |
| 2191 | inline void QOpenGLFunctions_1_2::glResetMinmax(GLenum target) |
| 2192 | { |
| 2193 | d_1_2_Deprecated->f.ResetMinmax(target); |
| 2194 | } |
| 2195 | |
| 2196 | inline void QOpenGLFunctions_1_2::glResetHistogram(GLenum target) |
| 2197 | { |
| 2198 | d_1_2_Deprecated->f.ResetHistogram(target); |
| 2199 | } |
| 2200 | |
| 2201 | inline void QOpenGLFunctions_1_2::glMinmax(GLenum target, GLenum internalformat, GLboolean sink) |
| 2202 | { |
| 2203 | d_1_2_Deprecated->f.Minmax(target, internalformat, sink); |
| 2204 | } |
| 2205 | |
| 2206 | inline void QOpenGLFunctions_1_2::glHistogram(GLenum target, GLsizei width, GLenum internalformat, GLboolean sink) |
| 2207 | { |
| 2208 | d_1_2_Deprecated->f.Histogram(target, width, internalformat, sink); |
| 2209 | } |
| 2210 | |
| 2211 | inline void QOpenGLFunctions_1_2::glGetMinmaxParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2212 | { |
| 2213 | d_1_2_Deprecated->f.GetMinmaxParameteriv(target, pname, params); |
| 2214 | } |
| 2215 | |
| 2216 | inline void QOpenGLFunctions_1_2::glGetMinmaxParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2217 | { |
| 2218 | d_1_2_Deprecated->f.GetMinmaxParameterfv(target, pname, params); |
| 2219 | } |
| 2220 | |
| 2221 | inline void QOpenGLFunctions_1_2::glGetMinmax(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| 2222 | { |
| 2223 | d_1_2_Deprecated->f.GetMinmax(target, reset, format, type, values); |
| 2224 | } |
| 2225 | |
| 2226 | inline void QOpenGLFunctions_1_2::glGetHistogramParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2227 | { |
| 2228 | d_1_2_Deprecated->f.GetHistogramParameteriv(target, pname, params); |
| 2229 | } |
| 2230 | |
| 2231 | inline void QOpenGLFunctions_1_2::glGetHistogramParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2232 | { |
| 2233 | d_1_2_Deprecated->f.GetHistogramParameterfv(target, pname, params); |
| 2234 | } |
| 2235 | |
| 2236 | inline void QOpenGLFunctions_1_2::glGetHistogram(GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values) |
| 2237 | { |
| 2238 | d_1_2_Deprecated->f.GetHistogram(target, reset, format, type, values); |
| 2239 | } |
| 2240 | |
| 2241 | inline void QOpenGLFunctions_1_2::glSeparableFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column) |
| 2242 | { |
| 2243 | d_1_2_Deprecated->f.SeparableFilter2D(target, internalformat, width, height, format, type, row, column); |
| 2244 | } |
| 2245 | |
| 2246 | inline void QOpenGLFunctions_1_2::glGetSeparableFilter(GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span) |
| 2247 | { |
| 2248 | d_1_2_Deprecated->f.GetSeparableFilter(target, format, type, row, column, span); |
| 2249 | } |
| 2250 | |
| 2251 | inline void QOpenGLFunctions_1_2::glGetConvolutionParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2252 | { |
| 2253 | d_1_2_Deprecated->f.GetConvolutionParameteriv(target, pname, params); |
| 2254 | } |
| 2255 | |
| 2256 | inline void QOpenGLFunctions_1_2::glGetConvolutionParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2257 | { |
| 2258 | d_1_2_Deprecated->f.GetConvolutionParameterfv(target, pname, params); |
| 2259 | } |
| 2260 | |
| 2261 | inline void QOpenGLFunctions_1_2::glGetConvolutionFilter(GLenum target, GLenum format, GLenum type, GLvoid *image) |
| 2262 | { |
| 2263 | d_1_2_Deprecated->f.GetConvolutionFilter(target, format, type, image); |
| 2264 | } |
| 2265 | |
| 2266 | inline void QOpenGLFunctions_1_2::glCopyConvolutionFilter2D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height) |
| 2267 | { |
| 2268 | d_1_2_Deprecated->f.CopyConvolutionFilter2D(target, internalformat, x, y, width, height); |
| 2269 | } |
| 2270 | |
| 2271 | inline void QOpenGLFunctions_1_2::glCopyConvolutionFilter1D(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 2272 | { |
| 2273 | d_1_2_Deprecated->f.CopyConvolutionFilter1D(target, internalformat, x, y, width); |
| 2274 | } |
| 2275 | |
| 2276 | inline void QOpenGLFunctions_1_2::glConvolutionParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 2277 | { |
| 2278 | d_1_2_Deprecated->f.ConvolutionParameteriv(target, pname, params); |
| 2279 | } |
| 2280 | |
| 2281 | inline void QOpenGLFunctions_1_2::glConvolutionParameteri(GLenum target, GLenum pname, GLint params) |
| 2282 | { |
| 2283 | d_1_2_Deprecated->f.ConvolutionParameteri(target, pname, params); |
| 2284 | } |
| 2285 | |
| 2286 | inline void QOpenGLFunctions_1_2::glConvolutionParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 2287 | { |
| 2288 | d_1_2_Deprecated->f.ConvolutionParameterfv(target, pname, params); |
| 2289 | } |
| 2290 | |
| 2291 | inline void QOpenGLFunctions_1_2::glConvolutionParameterf(GLenum target, GLenum pname, GLfloat params) |
| 2292 | { |
| 2293 | d_1_2_Deprecated->f.ConvolutionParameterf(target, pname, params); |
| 2294 | } |
| 2295 | |
| 2296 | inline void QOpenGLFunctions_1_2::glConvolutionFilter2D(GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image) |
| 2297 | { |
| 2298 | d_1_2_Deprecated->f.ConvolutionFilter2D(target, internalformat, width, height, format, type, image); |
| 2299 | } |
| 2300 | |
| 2301 | inline void QOpenGLFunctions_1_2::glConvolutionFilter1D(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image) |
| 2302 | { |
| 2303 | d_1_2_Deprecated->f.ConvolutionFilter1D(target, internalformat, width, format, type, image); |
| 2304 | } |
| 2305 | |
| 2306 | inline void QOpenGLFunctions_1_2::glCopyColorSubTable(GLenum target, GLsizei start, GLint x, GLint y, GLsizei width) |
| 2307 | { |
| 2308 | d_1_2_Deprecated->f.CopyColorSubTable(target, start, x, y, width); |
| 2309 | } |
| 2310 | |
| 2311 | inline void QOpenGLFunctions_1_2::glColorSubTable(GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data) |
| 2312 | { |
| 2313 | d_1_2_Deprecated->f.ColorSubTable(target, start, count, format, type, data); |
| 2314 | } |
| 2315 | |
| 2316 | inline void QOpenGLFunctions_1_2::glGetColorTableParameteriv(GLenum target, GLenum pname, GLint *params) |
| 2317 | { |
| 2318 | d_1_2_Deprecated->f.GetColorTableParameteriv(target, pname, params); |
| 2319 | } |
| 2320 | |
| 2321 | inline void QOpenGLFunctions_1_2::glGetColorTableParameterfv(GLenum target, GLenum pname, GLfloat *params) |
| 2322 | { |
| 2323 | d_1_2_Deprecated->f.GetColorTableParameterfv(target, pname, params); |
| 2324 | } |
| 2325 | |
| 2326 | inline void QOpenGLFunctions_1_2::glGetColorTable(GLenum target, GLenum format, GLenum type, GLvoid *table) |
| 2327 | { |
| 2328 | d_1_2_Deprecated->f.GetColorTable(target, format, type, table); |
| 2329 | } |
| 2330 | |
| 2331 | inline void QOpenGLFunctions_1_2::glCopyColorTable(GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width) |
| 2332 | { |
| 2333 | d_1_2_Deprecated->f.CopyColorTable(target, internalformat, x, y, width); |
| 2334 | } |
| 2335 | |
| 2336 | inline void QOpenGLFunctions_1_2::glColorTableParameteriv(GLenum target, GLenum pname, const GLint *params) |
| 2337 | { |
| 2338 | d_1_2_Deprecated->f.ColorTableParameteriv(target, pname, params); |
| 2339 | } |
| 2340 | |
| 2341 | inline void QOpenGLFunctions_1_2::glColorTableParameterfv(GLenum target, GLenum pname, const GLfloat *params) |
| 2342 | { |
| 2343 | d_1_2_Deprecated->f.ColorTableParameterfv(target, pname, params); |
| 2344 | } |
| 2345 | |
| 2346 | inline void QOpenGLFunctions_1_2::glColorTable(GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table) |
| 2347 | { |
| 2348 | d_1_2_Deprecated->f.ColorTable(target, internalformat, width, format, type, table); |
| 2349 | } |
| 2350 | |
| 2351 | |
| 2352 | |
| 2353 | QT_END_NAMESPACE |
| 2354 | |
| 2355 | #endif // QT_NO_OPENGL && !QT_OPENGL_ES_2 |
| 2356 | |
| 2357 | #endif |
| 2358 | |