qopenglfunctions_1_1.h 65 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119
  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. #ifndef QOPENGLVERSIONFUNCTIONS_1_1_H
  50. #define QOPENGLVERSIONFUNCTIONS_1_1_H
  51. #include <QtCore/qglobal.h>
  52. #if !defined(QT_NO_OPENGL) && !defined(QT_OPENGL_ES_2)
  53. #include <QtGui/QOpenGLVersionFunctions>
  54. #include <QtGui/qopenglcontext.h>
  55. QT_BEGIN_NAMESPACE
  56. class Q_GUI_EXPORT QOpenGLFunctions_1_1 : public QAbstractOpenGLFunctions
  57. {
  58. public:
  59. QOpenGLFunctions_1_1();
  60. ~QOpenGLFunctions_1_1();
  61. bool initializeOpenGLFunctions() Q_DECL_OVERRIDE;
  62. // OpenGL 1.0 core functions
  63. void glViewport(GLint x, GLint y, GLsizei width, GLsizei height);
  64. void glDepthRange(GLdouble nearVal, GLdouble farVal);
  65. GLboolean glIsEnabled(GLenum cap);
  66. void glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params);
  67. void glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params);
  68. void glGetTexParameteriv(GLenum target, GLenum pname, GLint *params);
  69. void glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params);
  70. void glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  71. const GLubyte * glGetString(GLenum name);
  72. void glGetIntegerv(GLenum pname, GLint *params);
  73. void glGetFloatv(GLenum pname, GLfloat *params);
  74. GLenum glGetError();
  75. void glGetDoublev(GLenum pname, GLdouble *params);
  76. void glGetBooleanv(GLenum pname, GLboolean *params);
  77. void glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
  78. void glReadBuffer(GLenum mode);
  79. void glPixelStorei(GLenum pname, GLint param);
  80. void glPixelStoref(GLenum pname, GLfloat param);
  81. void glDepthFunc(GLenum func);
  82. void glStencilOp(GLenum fail, GLenum zfail, GLenum zpass);
  83. void glStencilFunc(GLenum func, GLint ref, GLuint mask);
  84. void glLogicOp(GLenum opcode);
  85. void glBlendFunc(GLenum sfactor, GLenum dfactor);
  86. void glFlush();
  87. void glFinish();
  88. void glEnable(GLenum cap);
  89. void glDisable(GLenum cap);
  90. void glDepthMask(GLboolean flag);
  91. void glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  92. void glStencilMask(GLuint mask);
  93. void glClearDepth(GLdouble depth);
  94. void glClearStencil(GLint s);
  95. void glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  96. void glClear(GLbitfield mask);
  97. void glDrawBuffer(GLenum mode);
  98. void glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  99. void glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  100. void glTexParameteriv(GLenum target, GLenum pname, const GLint *params);
  101. void glTexParameteri(GLenum target, GLenum pname, GLint param);
  102. void glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params);
  103. void glTexParameterf(GLenum target, GLenum pname, GLfloat param);
  104. void glScissor(GLint x, GLint y, GLsizei width, GLsizei height);
  105. void glPolygonMode(GLenum face, GLenum mode);
  106. void glPointSize(GLfloat size);
  107. void glLineWidth(GLfloat width);
  108. void glHint(GLenum target, GLenum mode);
  109. void glFrontFace(GLenum mode);
  110. void glCullFace(GLenum mode);
  111. // OpenGL 1.1 core functions
  112. void glIndexubv(const GLubyte *c);
  113. void glIndexub(GLubyte c);
  114. GLboolean glIsTexture(GLuint texture);
  115. void glGenTextures(GLsizei n, GLuint *textures);
  116. void glDeleteTextures(GLsizei n, const GLuint *textures);
  117. void glBindTexture(GLenum target, GLuint texture);
  118. void glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  119. void glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  120. void glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  121. void glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  122. void glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  123. void glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  124. void glPolygonOffset(GLfloat factor, GLfloat units);
  125. void glGetPointerv(GLenum pname, GLvoid* *params);
  126. void glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
  127. void glDrawArrays(GLenum mode, GLint first, GLsizei count);
  128. // OpenGL 1.0 deprecated functions
  129. void glTranslatef(GLfloat x, GLfloat y, GLfloat z);
  130. void glTranslated(GLdouble x, GLdouble y, GLdouble z);
  131. void glScalef(GLfloat x, GLfloat y, GLfloat z);
  132. void glScaled(GLdouble x, GLdouble y, GLdouble z);
  133. void glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  134. void glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  135. void glPushMatrix();
  136. void glPopMatrix();
  137. void glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  138. void glMultMatrixd(const GLdouble *m);
  139. void glMultMatrixf(const GLfloat *m);
  140. void glMatrixMode(GLenum mode);
  141. void glLoadMatrixd(const GLdouble *m);
  142. void glLoadMatrixf(const GLfloat *m);
  143. void glLoadIdentity();
  144. void glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  145. GLboolean glIsList(GLuint list);
  146. void glGetTexGeniv(GLenum coord, GLenum pname, GLint *params);
  147. void glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params);
  148. void glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params);
  149. void glGetTexEnviv(GLenum target, GLenum pname, GLint *params);
  150. void glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params);
  151. void glGetPolygonStipple(GLubyte *mask);
  152. void glGetPixelMapusv(GLenum map, GLushort *values);
  153. void glGetPixelMapuiv(GLenum map, GLuint *values);
  154. void glGetPixelMapfv(GLenum map, GLfloat *values);
  155. void glGetMaterialiv(GLenum face, GLenum pname, GLint *params);
  156. void glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params);
  157. void glGetMapiv(GLenum target, GLenum query, GLint *v);
  158. void glGetMapfv(GLenum target, GLenum query, GLfloat *v);
  159. void glGetMapdv(GLenum target, GLenum query, GLdouble *v);
  160. void glGetLightiv(GLenum light, GLenum pname, GLint *params);
  161. void glGetLightfv(GLenum light, GLenum pname, GLfloat *params);
  162. void glGetClipPlane(GLenum plane, GLdouble *equation);
  163. void glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  164. void glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
  165. void glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values);
  166. void glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values);
  167. void glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values);
  168. void glPixelTransferi(GLenum pname, GLint param);
  169. void glPixelTransferf(GLenum pname, GLfloat param);
  170. void glPixelZoom(GLfloat xfactor, GLfloat yfactor);
  171. void glAlphaFunc(GLenum func, GLfloat ref);
  172. void glEvalPoint2(GLint i, GLint j);
  173. void glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
  174. void glEvalPoint1(GLint i);
  175. void glEvalMesh1(GLenum mode, GLint i1, GLint i2);
  176. void glEvalCoord2fv(const GLfloat *u);
  177. void glEvalCoord2f(GLfloat u, GLfloat v);
  178. void glEvalCoord2dv(const GLdouble *u);
  179. void glEvalCoord2d(GLdouble u, GLdouble v);
  180. void glEvalCoord1fv(const GLfloat *u);
  181. void glEvalCoord1f(GLfloat u);
  182. void glEvalCoord1dv(const GLdouble *u);
  183. void glEvalCoord1d(GLdouble u);
  184. void glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
  185. void glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
  186. void glMapGrid1f(GLint un, GLfloat u1, GLfloat u2);
  187. void glMapGrid1d(GLint un, GLdouble u1, GLdouble u2);
  188. void glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  189. void glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  190. void glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  191. void glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  192. void glPushAttrib(GLbitfield mask);
  193. void glPopAttrib();
  194. void glAccum(GLenum op, GLfloat value);
  195. void glIndexMask(GLuint mask);
  196. void glClearIndex(GLfloat c);
  197. void glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  198. void glPushName(GLuint name);
  199. void glPopName();
  200. void glPassThrough(GLfloat token);
  201. void glLoadName(GLuint name);
  202. void glInitNames();
  203. GLint glRenderMode(GLenum mode);
  204. void glSelectBuffer(GLsizei size, GLuint *buffer);
  205. void glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer);
  206. void glTexGeniv(GLenum coord, GLenum pname, const GLint *params);
  207. void glTexGeni(GLenum coord, GLenum pname, GLint param);
  208. void glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params);
  209. void glTexGenf(GLenum coord, GLenum pname, GLfloat param);
  210. void glTexGendv(GLenum coord, GLenum pname, const GLdouble *params);
  211. void glTexGend(GLenum coord, GLenum pname, GLdouble param);
  212. void glTexEnviv(GLenum target, GLenum pname, const GLint *params);
  213. void glTexEnvi(GLenum target, GLenum pname, GLint param);
  214. void glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params);
  215. void glTexEnvf(GLenum target, GLenum pname, GLfloat param);
  216. void glShadeModel(GLenum mode);
  217. void glPolygonStipple(const GLubyte *mask);
  218. void glMaterialiv(GLenum face, GLenum pname, const GLint *params);
  219. void glMateriali(GLenum face, GLenum pname, GLint param);
  220. void glMaterialfv(GLenum face, GLenum pname, const GLfloat *params);
  221. void glMaterialf(GLenum face, GLenum pname, GLfloat param);
  222. void glLineStipple(GLint factor, GLushort pattern);
  223. void glLightModeliv(GLenum pname, const GLint *params);
  224. void glLightModeli(GLenum pname, GLint param);
  225. void glLightModelfv(GLenum pname, const GLfloat *params);
  226. void glLightModelf(GLenum pname, GLfloat param);
  227. void glLightiv(GLenum light, GLenum pname, const GLint *params);
  228. void glLighti(GLenum light, GLenum pname, GLint param);
  229. void glLightfv(GLenum light, GLenum pname, const GLfloat *params);
  230. void glLightf(GLenum light, GLenum pname, GLfloat param);
  231. void glFogiv(GLenum pname, const GLint *params);
  232. void glFogi(GLenum pname, GLint param);
  233. void glFogfv(GLenum pname, const GLfloat *params);
  234. void glFogf(GLenum pname, GLfloat param);
  235. void glColorMaterial(GLenum face, GLenum mode);
  236. void glClipPlane(GLenum plane, const GLdouble *equation);
  237. void glVertex4sv(const GLshort *v);
  238. void glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w);
  239. void glVertex4iv(const GLint *v);
  240. void glVertex4i(GLint x, GLint y, GLint z, GLint w);
  241. void glVertex4fv(const GLfloat *v);
  242. void glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  243. void glVertex4dv(const GLdouble *v);
  244. void glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  245. void glVertex3sv(const GLshort *v);
  246. void glVertex3s(GLshort x, GLshort y, GLshort z);
  247. void glVertex3iv(const GLint *v);
  248. void glVertex3i(GLint x, GLint y, GLint z);
  249. void glVertex3fv(const GLfloat *v);
  250. void glVertex3f(GLfloat x, GLfloat y, GLfloat z);
  251. void glVertex3dv(const GLdouble *v);
  252. void glVertex3d(GLdouble x, GLdouble y, GLdouble z);
  253. void glVertex2sv(const GLshort *v);
  254. void glVertex2s(GLshort x, GLshort y);
  255. void glVertex2iv(const GLint *v);
  256. void glVertex2i(GLint x, GLint y);
  257. void glVertex2fv(const GLfloat *v);
  258. void glVertex2f(GLfloat x, GLfloat y);
  259. void glVertex2dv(const GLdouble *v);
  260. void glVertex2d(GLdouble x, GLdouble y);
  261. void glTexCoord4sv(const GLshort *v);
  262. void glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q);
  263. void glTexCoord4iv(const GLint *v);
  264. void glTexCoord4i(GLint s, GLint t, GLint r, GLint q);
  265. void glTexCoord4fv(const GLfloat *v);
  266. void glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  267. void glTexCoord4dv(const GLdouble *v);
  268. void glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  269. void glTexCoord3sv(const GLshort *v);
  270. void glTexCoord3s(GLshort s, GLshort t, GLshort r);
  271. void glTexCoord3iv(const GLint *v);
  272. void glTexCoord3i(GLint s, GLint t, GLint r);
  273. void glTexCoord3fv(const GLfloat *v);
  274. void glTexCoord3f(GLfloat s, GLfloat t, GLfloat r);
  275. void glTexCoord3dv(const GLdouble *v);
  276. void glTexCoord3d(GLdouble s, GLdouble t, GLdouble r);
  277. void glTexCoord2sv(const GLshort *v);
  278. void glTexCoord2s(GLshort s, GLshort t);
  279. void glTexCoord2iv(const GLint *v);
  280. void glTexCoord2i(GLint s, GLint t);
  281. void glTexCoord2fv(const GLfloat *v);
  282. void glTexCoord2f(GLfloat s, GLfloat t);
  283. void glTexCoord2dv(const GLdouble *v);
  284. void glTexCoord2d(GLdouble s, GLdouble t);
  285. void glTexCoord1sv(const GLshort *v);
  286. void glTexCoord1s(GLshort s);
  287. void glTexCoord1iv(const GLint *v);
  288. void glTexCoord1i(GLint s);
  289. void glTexCoord1fv(const GLfloat *v);
  290. void glTexCoord1f(GLfloat s);
  291. void glTexCoord1dv(const GLdouble *v);
  292. void glTexCoord1d(GLdouble s);
  293. void glRectsv(const GLshort *v1, const GLshort *v2);
  294. void glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2);
  295. void glRectiv(const GLint *v1, const GLint *v2);
  296. void glRecti(GLint x1, GLint y1, GLint x2, GLint y2);
  297. void glRectfv(const GLfloat *v1, const GLfloat *v2);
  298. void glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
  299. void glRectdv(const GLdouble *v1, const GLdouble *v2);
  300. void glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
  301. void glRasterPos4sv(const GLshort *v);
  302. void glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w);
  303. void glRasterPos4iv(const GLint *v);
  304. void glRasterPos4i(GLint x, GLint y, GLint z, GLint w);
  305. void glRasterPos4fv(const GLfloat *v);
  306. void glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  307. void glRasterPos4dv(const GLdouble *v);
  308. void glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  309. void glRasterPos3sv(const GLshort *v);
  310. void glRasterPos3s(GLshort x, GLshort y, GLshort z);
  311. void glRasterPos3iv(const GLint *v);
  312. void glRasterPos3i(GLint x, GLint y, GLint z);
  313. void glRasterPos3fv(const GLfloat *v);
  314. void glRasterPos3f(GLfloat x, GLfloat y, GLfloat z);
  315. void glRasterPos3dv(const GLdouble *v);
  316. void glRasterPos3d(GLdouble x, GLdouble y, GLdouble z);
  317. void glRasterPos2sv(const GLshort *v);
  318. void glRasterPos2s(GLshort x, GLshort y);
  319. void glRasterPos2iv(const GLint *v);
  320. void glRasterPos2i(GLint x, GLint y);
  321. void glRasterPos2fv(const GLfloat *v);
  322. void glRasterPos2f(GLfloat x, GLfloat y);
  323. void glRasterPos2dv(const GLdouble *v);
  324. void glRasterPos2d(GLdouble x, GLdouble y);
  325. void glNormal3sv(const GLshort *v);
  326. void glNormal3s(GLshort nx, GLshort ny, GLshort nz);
  327. void glNormal3iv(const GLint *v);
  328. void glNormal3i(GLint nx, GLint ny, GLint nz);
  329. void glNormal3fv(const GLfloat *v);
  330. void glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz);
  331. void glNormal3dv(const GLdouble *v);
  332. void glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz);
  333. void glNormal3bv(const GLbyte *v);
  334. void glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz);
  335. void glIndexsv(const GLshort *c);
  336. void glIndexs(GLshort c);
  337. void glIndexiv(const GLint *c);
  338. void glIndexi(GLint c);
  339. void glIndexfv(const GLfloat *c);
  340. void glIndexf(GLfloat c);
  341. void glIndexdv(const GLdouble *c);
  342. void glIndexd(GLdouble c);
  343. void glEnd();
  344. void glEdgeFlagv(const GLboolean *flag);
  345. void glEdgeFlag(GLboolean flag);
  346. void glColor4usv(const GLushort *v);
  347. void glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha);
  348. void glColor4uiv(const GLuint *v);
  349. void glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha);
  350. void glColor4ubv(const GLubyte *v);
  351. void glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
  352. void glColor4sv(const GLshort *v);
  353. void glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha);
  354. void glColor4iv(const GLint *v);
  355. void glColor4i(GLint red, GLint green, GLint blue, GLint alpha);
  356. void glColor4fv(const GLfloat *v);
  357. void glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  358. void glColor4dv(const GLdouble *v);
  359. void glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
  360. void glColor4bv(const GLbyte *v);
  361. void glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
  362. void glColor3usv(const GLushort *v);
  363. void glColor3us(GLushort red, GLushort green, GLushort blue);
  364. void glColor3uiv(const GLuint *v);
  365. void glColor3ui(GLuint red, GLuint green, GLuint blue);
  366. void glColor3ubv(const GLubyte *v);
  367. void glColor3ub(GLubyte red, GLubyte green, GLubyte blue);
  368. void glColor3sv(const GLshort *v);
  369. void glColor3s(GLshort red, GLshort green, GLshort blue);
  370. void glColor3iv(const GLint *v);
  371. void glColor3i(GLint red, GLint green, GLint blue);
  372. void glColor3fv(const GLfloat *v);
  373. void glColor3f(GLfloat red, GLfloat green, GLfloat blue);
  374. void glColor3dv(const GLdouble *v);
  375. void glColor3d(GLdouble red, GLdouble green, GLdouble blue);
  376. void glColor3bv(const GLbyte *v);
  377. void glColor3b(GLbyte red, GLbyte green, GLbyte blue);
  378. void glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  379. void glBegin(GLenum mode);
  380. void glListBase(GLuint base);
  381. GLuint glGenLists(GLsizei range);
  382. void glDeleteLists(GLuint list, GLsizei range);
  383. void glCallLists(GLsizei n, GLenum type, const GLvoid *lists);
  384. void glCallList(GLuint list);
  385. void glEndList();
  386. void glNewList(GLuint list, GLenum mode);
  387. // OpenGL 1.1 deprecated functions
  388. void glPushClientAttrib(GLbitfield mask);
  389. void glPopClientAttrib();
  390. void glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities);
  391. GLboolean glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences);
  392. void glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  393. void glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  394. void glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
  395. void glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer);
  396. void glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer);
  397. void glEnableClientState(GLenum array);
  398. void glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer);
  399. void glDisableClientState(GLenum array);
  400. void glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  401. void glArrayElement(GLint i);
  402. private:
  403. friend class QOpenGLContext;
  404. static bool isContextCompatible(QOpenGLContext *context);
  405. static QOpenGLVersionProfile versionProfile();
  406. QOpenGLFunctions_1_0_CoreBackend* d_1_0_Core;
  407. QOpenGLFunctions_1_1_CoreBackend* d_1_1_Core;
  408. QOpenGLFunctions_1_0_DeprecatedBackend* d_1_0_Deprecated;
  409. QOpenGLFunctions_1_1_DeprecatedBackend* d_1_1_Deprecated;
  410. };
  411. // OpenGL 1.0 core functions
  412. inline void QOpenGLFunctions_1_1::glViewport(GLint x, GLint y, GLsizei width, GLsizei height)
  413. {
  414. d_1_0_Core->f.Viewport(x, y, width, height);
  415. }
  416. inline void QOpenGLFunctions_1_1::glDepthRange(GLdouble nearVal, GLdouble farVal)
  417. {
  418. d_1_0_Core->f.DepthRange(nearVal, farVal);
  419. }
  420. inline GLboolean QOpenGLFunctions_1_1::glIsEnabled(GLenum cap)
  421. {
  422. return d_1_0_Core->f.IsEnabled(cap);
  423. }
  424. inline void QOpenGLFunctions_1_1::glGetTexLevelParameteriv(GLenum target, GLint level, GLenum pname, GLint *params)
  425. {
  426. d_1_0_Core->f.GetTexLevelParameteriv(target, level, pname, params);
  427. }
  428. inline void QOpenGLFunctions_1_1::glGetTexLevelParameterfv(GLenum target, GLint level, GLenum pname, GLfloat *params)
  429. {
  430. d_1_0_Core->f.GetTexLevelParameterfv(target, level, pname, params);
  431. }
  432. inline void QOpenGLFunctions_1_1::glGetTexParameteriv(GLenum target, GLenum pname, GLint *params)
  433. {
  434. d_1_0_Core->f.GetTexParameteriv(target, pname, params);
  435. }
  436. inline void QOpenGLFunctions_1_1::glGetTexParameterfv(GLenum target, GLenum pname, GLfloat *params)
  437. {
  438. d_1_0_Core->f.GetTexParameterfv(target, pname, params);
  439. }
  440. inline void QOpenGLFunctions_1_1::glGetTexImage(GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels)
  441. {
  442. d_1_0_Core->f.GetTexImage(target, level, format, type, pixels);
  443. }
  444. inline const GLubyte * QOpenGLFunctions_1_1::glGetString(GLenum name)
  445. {
  446. return d_1_0_Core->f.GetString(name);
  447. }
  448. inline void QOpenGLFunctions_1_1::glGetIntegerv(GLenum pname, GLint *params)
  449. {
  450. d_1_0_Core->f.GetIntegerv(pname, params);
  451. }
  452. inline void QOpenGLFunctions_1_1::glGetFloatv(GLenum pname, GLfloat *params)
  453. {
  454. d_1_0_Core->f.GetFloatv(pname, params);
  455. }
  456. inline GLenum QOpenGLFunctions_1_1::glGetError()
  457. {
  458. return d_1_0_Core->f.GetError();
  459. }
  460. inline void QOpenGLFunctions_1_1::glGetDoublev(GLenum pname, GLdouble *params)
  461. {
  462. d_1_0_Core->f.GetDoublev(pname, params);
  463. }
  464. inline void QOpenGLFunctions_1_1::glGetBooleanv(GLenum pname, GLboolean *params)
  465. {
  466. d_1_0_Core->f.GetBooleanv(pname, params);
  467. }
  468. inline void QOpenGLFunctions_1_1::glReadPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels)
  469. {
  470. d_1_0_Core->f.ReadPixels(x, y, width, height, format, type, pixels);
  471. }
  472. inline void QOpenGLFunctions_1_1::glReadBuffer(GLenum mode)
  473. {
  474. d_1_0_Core->f.ReadBuffer(mode);
  475. }
  476. inline void QOpenGLFunctions_1_1::glPixelStorei(GLenum pname, GLint param)
  477. {
  478. d_1_0_Core->f.PixelStorei(pname, param);
  479. }
  480. inline void QOpenGLFunctions_1_1::glPixelStoref(GLenum pname, GLfloat param)
  481. {
  482. d_1_0_Core->f.PixelStoref(pname, param);
  483. }
  484. inline void QOpenGLFunctions_1_1::glDepthFunc(GLenum func)
  485. {
  486. d_1_0_Core->f.DepthFunc(func);
  487. }
  488. inline void QOpenGLFunctions_1_1::glStencilOp(GLenum fail, GLenum zfail, GLenum zpass)
  489. {
  490. d_1_0_Core->f.StencilOp(fail, zfail, zpass);
  491. }
  492. inline void QOpenGLFunctions_1_1::glStencilFunc(GLenum func, GLint ref, GLuint mask)
  493. {
  494. d_1_0_Core->f.StencilFunc(func, ref, mask);
  495. }
  496. inline void QOpenGLFunctions_1_1::glLogicOp(GLenum opcode)
  497. {
  498. d_1_0_Core->f.LogicOp(opcode);
  499. }
  500. inline void QOpenGLFunctions_1_1::glBlendFunc(GLenum sfactor, GLenum dfactor)
  501. {
  502. d_1_0_Core->f.BlendFunc(sfactor, dfactor);
  503. }
  504. inline void QOpenGLFunctions_1_1::glFlush()
  505. {
  506. d_1_0_Core->f.Flush();
  507. }
  508. inline void QOpenGLFunctions_1_1::glFinish()
  509. {
  510. d_1_0_Core->f.Finish();
  511. }
  512. inline void QOpenGLFunctions_1_1::glEnable(GLenum cap)
  513. {
  514. d_1_0_Core->f.Enable(cap);
  515. }
  516. inline void QOpenGLFunctions_1_1::glDisable(GLenum cap)
  517. {
  518. d_1_0_Core->f.Disable(cap);
  519. }
  520. inline void QOpenGLFunctions_1_1::glDepthMask(GLboolean flag)
  521. {
  522. d_1_0_Core->f.DepthMask(flag);
  523. }
  524. inline void QOpenGLFunctions_1_1::glColorMask(GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha)
  525. {
  526. d_1_0_Core->f.ColorMask(red, green, blue, alpha);
  527. }
  528. inline void QOpenGLFunctions_1_1::glStencilMask(GLuint mask)
  529. {
  530. d_1_0_Core->f.StencilMask(mask);
  531. }
  532. inline void QOpenGLFunctions_1_1::glClearDepth(GLdouble depth)
  533. {
  534. d_1_0_Core->f.ClearDepth(depth);
  535. }
  536. inline void QOpenGLFunctions_1_1::glClearStencil(GLint s)
  537. {
  538. d_1_0_Core->f.ClearStencil(s);
  539. }
  540. inline void QOpenGLFunctions_1_1::glClearColor(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
  541. {
  542. d_1_0_Core->f.ClearColor(red, green, blue, alpha);
  543. }
  544. inline void QOpenGLFunctions_1_1::glClear(GLbitfield mask)
  545. {
  546. d_1_0_Core->f.Clear(mask);
  547. }
  548. inline void QOpenGLFunctions_1_1::glDrawBuffer(GLenum mode)
  549. {
  550. d_1_0_Core->f.DrawBuffer(mode);
  551. }
  552. inline void QOpenGLFunctions_1_1::glTexImage2D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
  553. {
  554. d_1_0_Core->f.TexImage2D(target, level, internalformat, width, height, border, format, type, pixels);
  555. }
  556. inline void QOpenGLFunctions_1_1::glTexImage1D(GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels)
  557. {
  558. d_1_0_Core->f.TexImage1D(target, level, internalformat, width, border, format, type, pixels);
  559. }
  560. inline void QOpenGLFunctions_1_1::glTexParameteriv(GLenum target, GLenum pname, const GLint *params)
  561. {
  562. d_1_0_Core->f.TexParameteriv(target, pname, params);
  563. }
  564. inline void QOpenGLFunctions_1_1::glTexParameteri(GLenum target, GLenum pname, GLint param)
  565. {
  566. d_1_0_Core->f.TexParameteri(target, pname, param);
  567. }
  568. inline void QOpenGLFunctions_1_1::glTexParameterfv(GLenum target, GLenum pname, const GLfloat *params)
  569. {
  570. d_1_0_Core->f.TexParameterfv(target, pname, params);
  571. }
  572. inline void QOpenGLFunctions_1_1::glTexParameterf(GLenum target, GLenum pname, GLfloat param)
  573. {
  574. d_1_0_Core->f.TexParameterf(target, pname, param);
  575. }
  576. inline void QOpenGLFunctions_1_1::glScissor(GLint x, GLint y, GLsizei width, GLsizei height)
  577. {
  578. d_1_0_Core->f.Scissor(x, y, width, height);
  579. }
  580. inline void QOpenGLFunctions_1_1::glPolygonMode(GLenum face, GLenum mode)
  581. {
  582. d_1_0_Core->f.PolygonMode(face, mode);
  583. }
  584. inline void QOpenGLFunctions_1_1::glPointSize(GLfloat size)
  585. {
  586. d_1_0_Core->f.PointSize(size);
  587. }
  588. inline void QOpenGLFunctions_1_1::glLineWidth(GLfloat width)
  589. {
  590. d_1_0_Core->f.LineWidth(width);
  591. }
  592. inline void QOpenGLFunctions_1_1::glHint(GLenum target, GLenum mode)
  593. {
  594. d_1_0_Core->f.Hint(target, mode);
  595. }
  596. inline void QOpenGLFunctions_1_1::glFrontFace(GLenum mode)
  597. {
  598. d_1_0_Core->f.FrontFace(mode);
  599. }
  600. inline void QOpenGLFunctions_1_1::glCullFace(GLenum mode)
  601. {
  602. d_1_0_Core->f.CullFace(mode);
  603. }
  604. // OpenGL 1.1 core functions
  605. inline void QOpenGLFunctions_1_1::glIndexubv(const GLubyte *c)
  606. {
  607. d_1_1_Deprecated->f.Indexubv(c);
  608. }
  609. inline void QOpenGLFunctions_1_1::glIndexub(GLubyte c)
  610. {
  611. d_1_1_Deprecated->f.Indexub(c);
  612. }
  613. inline GLboolean QOpenGLFunctions_1_1::glIsTexture(GLuint texture)
  614. {
  615. return d_1_1_Core->f.IsTexture(texture);
  616. }
  617. inline void QOpenGLFunctions_1_1::glGenTextures(GLsizei n, GLuint *textures)
  618. {
  619. d_1_1_Core->f.GenTextures(n, textures);
  620. }
  621. inline void QOpenGLFunctions_1_1::glDeleteTextures(GLsizei n, const GLuint *textures)
  622. {
  623. d_1_1_Core->f.DeleteTextures(n, textures);
  624. }
  625. inline void QOpenGLFunctions_1_1::glBindTexture(GLenum target, GLuint texture)
  626. {
  627. d_1_1_Core->f.BindTexture(target, texture);
  628. }
  629. inline void QOpenGLFunctions_1_1::glTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
  630. {
  631. d_1_1_Core->f.TexSubImage2D(target, level, xoffset, yoffset, width, height, format, type, pixels);
  632. }
  633. inline void QOpenGLFunctions_1_1::glTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels)
  634. {
  635. d_1_1_Core->f.TexSubImage1D(target, level, xoffset, width, format, type, pixels);
  636. }
  637. inline void QOpenGLFunctions_1_1::glCopyTexSubImage2D(GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height)
  638. {
  639. d_1_1_Core->f.CopyTexSubImage2D(target, level, xoffset, yoffset, x, y, width, height);
  640. }
  641. inline void QOpenGLFunctions_1_1::glCopyTexSubImage1D(GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width)
  642. {
  643. d_1_1_Core->f.CopyTexSubImage1D(target, level, xoffset, x, y, width);
  644. }
  645. inline void QOpenGLFunctions_1_1::glCopyTexImage2D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border)
  646. {
  647. d_1_1_Core->f.CopyTexImage2D(target, level, internalformat, x, y, width, height, border);
  648. }
  649. inline void QOpenGLFunctions_1_1::glCopyTexImage1D(GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border)
  650. {
  651. d_1_1_Core->f.CopyTexImage1D(target, level, internalformat, x, y, width, border);
  652. }
  653. inline void QOpenGLFunctions_1_1::glPolygonOffset(GLfloat factor, GLfloat units)
  654. {
  655. d_1_1_Core->f.PolygonOffset(factor, units);
  656. }
  657. inline void QOpenGLFunctions_1_1::glGetPointerv(GLenum pname, GLvoid* *params)
  658. {
  659. d_1_1_Deprecated->f.GetPointerv(pname, params);
  660. }
  661. inline void QOpenGLFunctions_1_1::glDrawElements(GLenum mode, GLsizei count, GLenum type, const GLvoid *indices)
  662. {
  663. d_1_1_Core->f.DrawElements(mode, count, type, indices);
  664. }
  665. inline void QOpenGLFunctions_1_1::glDrawArrays(GLenum mode, GLint first, GLsizei count)
  666. {
  667. d_1_1_Core->f.DrawArrays(mode, first, count);
  668. }
  669. // OpenGL 1.0 deprecated functions
  670. inline void QOpenGLFunctions_1_1::glTranslatef(GLfloat x, GLfloat y, GLfloat z)
  671. {
  672. d_1_0_Deprecated->f.Translatef(x, y, z);
  673. }
  674. inline void QOpenGLFunctions_1_1::glTranslated(GLdouble x, GLdouble y, GLdouble z)
  675. {
  676. d_1_0_Deprecated->f.Translated(x, y, z);
  677. }
  678. inline void QOpenGLFunctions_1_1::glScalef(GLfloat x, GLfloat y, GLfloat z)
  679. {
  680. d_1_0_Deprecated->f.Scalef(x, y, z);
  681. }
  682. inline void QOpenGLFunctions_1_1::glScaled(GLdouble x, GLdouble y, GLdouble z)
  683. {
  684. d_1_0_Deprecated->f.Scaled(x, y, z);
  685. }
  686. inline void QOpenGLFunctions_1_1::glRotatef(GLfloat angle, GLfloat x, GLfloat y, GLfloat z)
  687. {
  688. d_1_0_Deprecated->f.Rotatef(angle, x, y, z);
  689. }
  690. inline void QOpenGLFunctions_1_1::glRotated(GLdouble angle, GLdouble x, GLdouble y, GLdouble z)
  691. {
  692. d_1_0_Deprecated->f.Rotated(angle, x, y, z);
  693. }
  694. inline void QOpenGLFunctions_1_1::glPushMatrix()
  695. {
  696. d_1_0_Deprecated->f.PushMatrix();
  697. }
  698. inline void QOpenGLFunctions_1_1::glPopMatrix()
  699. {
  700. d_1_0_Deprecated->f.PopMatrix();
  701. }
  702. inline void QOpenGLFunctions_1_1::glOrtho(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
  703. {
  704. d_1_0_Deprecated->f.Ortho(left, right, bottom, top, zNear, zFar);
  705. }
  706. inline void QOpenGLFunctions_1_1::glMultMatrixd(const GLdouble *m)
  707. {
  708. d_1_0_Deprecated->f.MultMatrixd(m);
  709. }
  710. inline void QOpenGLFunctions_1_1::glMultMatrixf(const GLfloat *m)
  711. {
  712. d_1_0_Deprecated->f.MultMatrixf(m);
  713. }
  714. inline void QOpenGLFunctions_1_1::glMatrixMode(GLenum mode)
  715. {
  716. d_1_0_Deprecated->f.MatrixMode(mode);
  717. }
  718. inline void QOpenGLFunctions_1_1::glLoadMatrixd(const GLdouble *m)
  719. {
  720. d_1_0_Deprecated->f.LoadMatrixd(m);
  721. }
  722. inline void QOpenGLFunctions_1_1::glLoadMatrixf(const GLfloat *m)
  723. {
  724. d_1_0_Deprecated->f.LoadMatrixf(m);
  725. }
  726. inline void QOpenGLFunctions_1_1::glLoadIdentity()
  727. {
  728. d_1_0_Deprecated->f.LoadIdentity();
  729. }
  730. inline void QOpenGLFunctions_1_1::glFrustum(GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar)
  731. {
  732. d_1_0_Deprecated->f.Frustum(left, right, bottom, top, zNear, zFar);
  733. }
  734. inline GLboolean QOpenGLFunctions_1_1::glIsList(GLuint list)
  735. {
  736. return d_1_0_Deprecated->f.IsList(list);
  737. }
  738. inline void QOpenGLFunctions_1_1::glGetTexGeniv(GLenum coord, GLenum pname, GLint *params)
  739. {
  740. d_1_0_Deprecated->f.GetTexGeniv(coord, pname, params);
  741. }
  742. inline void QOpenGLFunctions_1_1::glGetTexGenfv(GLenum coord, GLenum pname, GLfloat *params)
  743. {
  744. d_1_0_Deprecated->f.GetTexGenfv(coord, pname, params);
  745. }
  746. inline void QOpenGLFunctions_1_1::glGetTexGendv(GLenum coord, GLenum pname, GLdouble *params)
  747. {
  748. d_1_0_Deprecated->f.GetTexGendv(coord, pname, params);
  749. }
  750. inline void QOpenGLFunctions_1_1::glGetTexEnviv(GLenum target, GLenum pname, GLint *params)
  751. {
  752. d_1_0_Deprecated->f.GetTexEnviv(target, pname, params);
  753. }
  754. inline void QOpenGLFunctions_1_1::glGetTexEnvfv(GLenum target, GLenum pname, GLfloat *params)
  755. {
  756. d_1_0_Deprecated->f.GetTexEnvfv(target, pname, params);
  757. }
  758. inline void QOpenGLFunctions_1_1::glGetPolygonStipple(GLubyte *mask)
  759. {
  760. d_1_0_Deprecated->f.GetPolygonStipple(mask);
  761. }
  762. inline void QOpenGLFunctions_1_1::glGetPixelMapusv(GLenum map, GLushort *values)
  763. {
  764. d_1_0_Deprecated->f.GetPixelMapusv(map, values);
  765. }
  766. inline void QOpenGLFunctions_1_1::glGetPixelMapuiv(GLenum map, GLuint *values)
  767. {
  768. d_1_0_Deprecated->f.GetPixelMapuiv(map, values);
  769. }
  770. inline void QOpenGLFunctions_1_1::glGetPixelMapfv(GLenum map, GLfloat *values)
  771. {
  772. d_1_0_Deprecated->f.GetPixelMapfv(map, values);
  773. }
  774. inline void QOpenGLFunctions_1_1::glGetMaterialiv(GLenum face, GLenum pname, GLint *params)
  775. {
  776. d_1_0_Deprecated->f.GetMaterialiv(face, pname, params);
  777. }
  778. inline void QOpenGLFunctions_1_1::glGetMaterialfv(GLenum face, GLenum pname, GLfloat *params)
  779. {
  780. d_1_0_Deprecated->f.GetMaterialfv(face, pname, params);
  781. }
  782. inline void QOpenGLFunctions_1_1::glGetMapiv(GLenum target, GLenum query, GLint *v)
  783. {
  784. d_1_0_Deprecated->f.GetMapiv(target, query, v);
  785. }
  786. inline void QOpenGLFunctions_1_1::glGetMapfv(GLenum target, GLenum query, GLfloat *v)
  787. {
  788. d_1_0_Deprecated->f.GetMapfv(target, query, v);
  789. }
  790. inline void QOpenGLFunctions_1_1::glGetMapdv(GLenum target, GLenum query, GLdouble *v)
  791. {
  792. d_1_0_Deprecated->f.GetMapdv(target, query, v);
  793. }
  794. inline void QOpenGLFunctions_1_1::glGetLightiv(GLenum light, GLenum pname, GLint *params)
  795. {
  796. d_1_0_Deprecated->f.GetLightiv(light, pname, params);
  797. }
  798. inline void QOpenGLFunctions_1_1::glGetLightfv(GLenum light, GLenum pname, GLfloat *params)
  799. {
  800. d_1_0_Deprecated->f.GetLightfv(light, pname, params);
  801. }
  802. inline void QOpenGLFunctions_1_1::glGetClipPlane(GLenum plane, GLdouble *equation)
  803. {
  804. d_1_0_Deprecated->f.GetClipPlane(plane, equation);
  805. }
  806. inline void QOpenGLFunctions_1_1::glDrawPixels(GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels)
  807. {
  808. d_1_0_Deprecated->f.DrawPixels(width, height, format, type, pixels);
  809. }
  810. inline void QOpenGLFunctions_1_1::glCopyPixels(GLint x, GLint y, GLsizei width, GLsizei height, GLenum type)
  811. {
  812. d_1_0_Deprecated->f.CopyPixels(x, y, width, height, type);
  813. }
  814. inline void QOpenGLFunctions_1_1::glPixelMapusv(GLenum map, GLint mapsize, const GLushort *values)
  815. {
  816. d_1_0_Deprecated->f.PixelMapusv(map, mapsize, values);
  817. }
  818. inline void QOpenGLFunctions_1_1::glPixelMapuiv(GLenum map, GLint mapsize, const GLuint *values)
  819. {
  820. d_1_0_Deprecated->f.PixelMapuiv(map, mapsize, values);
  821. }
  822. inline void QOpenGLFunctions_1_1::glPixelMapfv(GLenum map, GLint mapsize, const GLfloat *values)
  823. {
  824. d_1_0_Deprecated->f.PixelMapfv(map, mapsize, values);
  825. }
  826. inline void QOpenGLFunctions_1_1::glPixelTransferi(GLenum pname, GLint param)
  827. {
  828. d_1_0_Deprecated->f.PixelTransferi(pname, param);
  829. }
  830. inline void QOpenGLFunctions_1_1::glPixelTransferf(GLenum pname, GLfloat param)
  831. {
  832. d_1_0_Deprecated->f.PixelTransferf(pname, param);
  833. }
  834. inline void QOpenGLFunctions_1_1::glPixelZoom(GLfloat xfactor, GLfloat yfactor)
  835. {
  836. d_1_0_Deprecated->f.PixelZoom(xfactor, yfactor);
  837. }
  838. inline void QOpenGLFunctions_1_1::glAlphaFunc(GLenum func, GLfloat ref)
  839. {
  840. d_1_0_Deprecated->f.AlphaFunc(func, ref);
  841. }
  842. inline void QOpenGLFunctions_1_1::glEvalPoint2(GLint i, GLint j)
  843. {
  844. d_1_0_Deprecated->f.EvalPoint2(i, j);
  845. }
  846. inline void QOpenGLFunctions_1_1::glEvalMesh2(GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2)
  847. {
  848. d_1_0_Deprecated->f.EvalMesh2(mode, i1, i2, j1, j2);
  849. }
  850. inline void QOpenGLFunctions_1_1::glEvalPoint1(GLint i)
  851. {
  852. d_1_0_Deprecated->f.EvalPoint1(i);
  853. }
  854. inline void QOpenGLFunctions_1_1::glEvalMesh1(GLenum mode, GLint i1, GLint i2)
  855. {
  856. d_1_0_Deprecated->f.EvalMesh1(mode, i1, i2);
  857. }
  858. inline void QOpenGLFunctions_1_1::glEvalCoord2fv(const GLfloat *u)
  859. {
  860. d_1_0_Deprecated->f.EvalCoord2fv(u);
  861. }
  862. inline void QOpenGLFunctions_1_1::glEvalCoord2f(GLfloat u, GLfloat v)
  863. {
  864. d_1_0_Deprecated->f.EvalCoord2f(u, v);
  865. }
  866. inline void QOpenGLFunctions_1_1::glEvalCoord2dv(const GLdouble *u)
  867. {
  868. d_1_0_Deprecated->f.EvalCoord2dv(u);
  869. }
  870. inline void QOpenGLFunctions_1_1::glEvalCoord2d(GLdouble u, GLdouble v)
  871. {
  872. d_1_0_Deprecated->f.EvalCoord2d(u, v);
  873. }
  874. inline void QOpenGLFunctions_1_1::glEvalCoord1fv(const GLfloat *u)
  875. {
  876. d_1_0_Deprecated->f.EvalCoord1fv(u);
  877. }
  878. inline void QOpenGLFunctions_1_1::glEvalCoord1f(GLfloat u)
  879. {
  880. d_1_0_Deprecated->f.EvalCoord1f(u);
  881. }
  882. inline void QOpenGLFunctions_1_1::glEvalCoord1dv(const GLdouble *u)
  883. {
  884. d_1_0_Deprecated->f.EvalCoord1dv(u);
  885. }
  886. inline void QOpenGLFunctions_1_1::glEvalCoord1d(GLdouble u)
  887. {
  888. d_1_0_Deprecated->f.EvalCoord1d(u);
  889. }
  890. inline void QOpenGLFunctions_1_1::glMapGrid2f(GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2)
  891. {
  892. d_1_0_Deprecated->f.MapGrid2f(un, u1, u2, vn, v1, v2);
  893. }
  894. inline void QOpenGLFunctions_1_1::glMapGrid2d(GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2)
  895. {
  896. d_1_0_Deprecated->f.MapGrid2d(un, u1, u2, vn, v1, v2);
  897. }
  898. inline void QOpenGLFunctions_1_1::glMapGrid1f(GLint un, GLfloat u1, GLfloat u2)
  899. {
  900. d_1_0_Deprecated->f.MapGrid1f(un, u1, u2);
  901. }
  902. inline void QOpenGLFunctions_1_1::glMapGrid1d(GLint un, GLdouble u1, GLdouble u2)
  903. {
  904. d_1_0_Deprecated->f.MapGrid1d(un, u1, u2);
  905. }
  906. inline void QOpenGLFunctions_1_1::glMap2f(GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points)
  907. {
  908. d_1_0_Deprecated->f.Map2f(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  909. }
  910. inline void QOpenGLFunctions_1_1::glMap2d(GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points)
  911. {
  912. d_1_0_Deprecated->f.Map2d(target, u1, u2, ustride, uorder, v1, v2, vstride, vorder, points);
  913. }
  914. inline void QOpenGLFunctions_1_1::glMap1f(GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points)
  915. {
  916. d_1_0_Deprecated->f.Map1f(target, u1, u2, stride, order, points);
  917. }
  918. inline void QOpenGLFunctions_1_1::glMap1d(GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points)
  919. {
  920. d_1_0_Deprecated->f.Map1d(target, u1, u2, stride, order, points);
  921. }
  922. inline void QOpenGLFunctions_1_1::glPushAttrib(GLbitfield mask)
  923. {
  924. d_1_0_Deprecated->f.PushAttrib(mask);
  925. }
  926. inline void QOpenGLFunctions_1_1::glPopAttrib()
  927. {
  928. d_1_0_Deprecated->f.PopAttrib();
  929. }
  930. inline void QOpenGLFunctions_1_1::glAccum(GLenum op, GLfloat value)
  931. {
  932. d_1_0_Deprecated->f.Accum(op, value);
  933. }
  934. inline void QOpenGLFunctions_1_1::glIndexMask(GLuint mask)
  935. {
  936. d_1_0_Deprecated->f.IndexMask(mask);
  937. }
  938. inline void QOpenGLFunctions_1_1::glClearIndex(GLfloat c)
  939. {
  940. d_1_0_Deprecated->f.ClearIndex(c);
  941. }
  942. inline void QOpenGLFunctions_1_1::glClearAccum(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
  943. {
  944. d_1_0_Deprecated->f.ClearAccum(red, green, blue, alpha);
  945. }
  946. inline void QOpenGLFunctions_1_1::glPushName(GLuint name)
  947. {
  948. d_1_0_Deprecated->f.PushName(name);
  949. }
  950. inline void QOpenGLFunctions_1_1::glPopName()
  951. {
  952. d_1_0_Deprecated->f.PopName();
  953. }
  954. inline void QOpenGLFunctions_1_1::glPassThrough(GLfloat token)
  955. {
  956. d_1_0_Deprecated->f.PassThrough(token);
  957. }
  958. inline void QOpenGLFunctions_1_1::glLoadName(GLuint name)
  959. {
  960. d_1_0_Deprecated->f.LoadName(name);
  961. }
  962. inline void QOpenGLFunctions_1_1::glInitNames()
  963. {
  964. d_1_0_Deprecated->f.InitNames();
  965. }
  966. inline GLint QOpenGLFunctions_1_1::glRenderMode(GLenum mode)
  967. {
  968. return d_1_0_Deprecated->f.RenderMode(mode);
  969. }
  970. inline void QOpenGLFunctions_1_1::glSelectBuffer(GLsizei size, GLuint *buffer)
  971. {
  972. d_1_0_Deprecated->f.SelectBuffer(size, buffer);
  973. }
  974. inline void QOpenGLFunctions_1_1::glFeedbackBuffer(GLsizei size, GLenum type, GLfloat *buffer)
  975. {
  976. d_1_0_Deprecated->f.FeedbackBuffer(size, type, buffer);
  977. }
  978. inline void QOpenGLFunctions_1_1::glTexGeniv(GLenum coord, GLenum pname, const GLint *params)
  979. {
  980. d_1_0_Deprecated->f.TexGeniv(coord, pname, params);
  981. }
  982. inline void QOpenGLFunctions_1_1::glTexGeni(GLenum coord, GLenum pname, GLint param)
  983. {
  984. d_1_0_Deprecated->f.TexGeni(coord, pname, param);
  985. }
  986. inline void QOpenGLFunctions_1_1::glTexGenfv(GLenum coord, GLenum pname, const GLfloat *params)
  987. {
  988. d_1_0_Deprecated->f.TexGenfv(coord, pname, params);
  989. }
  990. inline void QOpenGLFunctions_1_1::glTexGenf(GLenum coord, GLenum pname, GLfloat param)
  991. {
  992. d_1_0_Deprecated->f.TexGenf(coord, pname, param);
  993. }
  994. inline void QOpenGLFunctions_1_1::glTexGendv(GLenum coord, GLenum pname, const GLdouble *params)
  995. {
  996. d_1_0_Deprecated->f.TexGendv(coord, pname, params);
  997. }
  998. inline void QOpenGLFunctions_1_1::glTexGend(GLenum coord, GLenum pname, GLdouble param)
  999. {
  1000. d_1_0_Deprecated->f.TexGend(coord, pname, param);
  1001. }
  1002. inline void QOpenGLFunctions_1_1::glTexEnviv(GLenum target, GLenum pname, const GLint *params)
  1003. {
  1004. d_1_0_Deprecated->f.TexEnviv(target, pname, params);
  1005. }
  1006. inline void QOpenGLFunctions_1_1::glTexEnvi(GLenum target, GLenum pname, GLint param)
  1007. {
  1008. d_1_0_Deprecated->f.TexEnvi(target, pname, param);
  1009. }
  1010. inline void QOpenGLFunctions_1_1::glTexEnvfv(GLenum target, GLenum pname, const GLfloat *params)
  1011. {
  1012. d_1_0_Deprecated->f.TexEnvfv(target, pname, params);
  1013. }
  1014. inline void QOpenGLFunctions_1_1::glTexEnvf(GLenum target, GLenum pname, GLfloat param)
  1015. {
  1016. d_1_0_Deprecated->f.TexEnvf(target, pname, param);
  1017. }
  1018. inline void QOpenGLFunctions_1_1::glShadeModel(GLenum mode)
  1019. {
  1020. d_1_0_Deprecated->f.ShadeModel(mode);
  1021. }
  1022. inline void QOpenGLFunctions_1_1::glPolygonStipple(const GLubyte *mask)
  1023. {
  1024. d_1_0_Deprecated->f.PolygonStipple(mask);
  1025. }
  1026. inline void QOpenGLFunctions_1_1::glMaterialiv(GLenum face, GLenum pname, const GLint *params)
  1027. {
  1028. d_1_0_Deprecated->f.Materialiv(face, pname, params);
  1029. }
  1030. inline void QOpenGLFunctions_1_1::glMateriali(GLenum face, GLenum pname, GLint param)
  1031. {
  1032. d_1_0_Deprecated->f.Materiali(face, pname, param);
  1033. }
  1034. inline void QOpenGLFunctions_1_1::glMaterialfv(GLenum face, GLenum pname, const GLfloat *params)
  1035. {
  1036. d_1_0_Deprecated->f.Materialfv(face, pname, params);
  1037. }
  1038. inline void QOpenGLFunctions_1_1::glMaterialf(GLenum face, GLenum pname, GLfloat param)
  1039. {
  1040. d_1_0_Deprecated->f.Materialf(face, pname, param);
  1041. }
  1042. inline void QOpenGLFunctions_1_1::glLineStipple(GLint factor, GLushort pattern)
  1043. {
  1044. d_1_0_Deprecated->f.LineStipple(factor, pattern);
  1045. }
  1046. inline void QOpenGLFunctions_1_1::glLightModeliv(GLenum pname, const GLint *params)
  1047. {
  1048. d_1_0_Deprecated->f.LightModeliv(pname, params);
  1049. }
  1050. inline void QOpenGLFunctions_1_1::glLightModeli(GLenum pname, GLint param)
  1051. {
  1052. d_1_0_Deprecated->f.LightModeli(pname, param);
  1053. }
  1054. inline void QOpenGLFunctions_1_1::glLightModelfv(GLenum pname, const GLfloat *params)
  1055. {
  1056. d_1_0_Deprecated->f.LightModelfv(pname, params);
  1057. }
  1058. inline void QOpenGLFunctions_1_1::glLightModelf(GLenum pname, GLfloat param)
  1059. {
  1060. d_1_0_Deprecated->f.LightModelf(pname, param);
  1061. }
  1062. inline void QOpenGLFunctions_1_1::glLightiv(GLenum light, GLenum pname, const GLint *params)
  1063. {
  1064. d_1_0_Deprecated->f.Lightiv(light, pname, params);
  1065. }
  1066. inline void QOpenGLFunctions_1_1::glLighti(GLenum light, GLenum pname, GLint param)
  1067. {
  1068. d_1_0_Deprecated->f.Lighti(light, pname, param);
  1069. }
  1070. inline void QOpenGLFunctions_1_1::glLightfv(GLenum light, GLenum pname, const GLfloat *params)
  1071. {
  1072. d_1_0_Deprecated->f.Lightfv(light, pname, params);
  1073. }
  1074. inline void QOpenGLFunctions_1_1::glLightf(GLenum light, GLenum pname, GLfloat param)
  1075. {
  1076. d_1_0_Deprecated->f.Lightf(light, pname, param);
  1077. }
  1078. inline void QOpenGLFunctions_1_1::glFogiv(GLenum pname, const GLint *params)
  1079. {
  1080. d_1_0_Deprecated->f.Fogiv(pname, params);
  1081. }
  1082. inline void QOpenGLFunctions_1_1::glFogi(GLenum pname, GLint param)
  1083. {
  1084. d_1_0_Deprecated->f.Fogi(pname, param);
  1085. }
  1086. inline void QOpenGLFunctions_1_1::glFogfv(GLenum pname, const GLfloat *params)
  1087. {
  1088. d_1_0_Deprecated->f.Fogfv(pname, params);
  1089. }
  1090. inline void QOpenGLFunctions_1_1::glFogf(GLenum pname, GLfloat param)
  1091. {
  1092. d_1_0_Deprecated->f.Fogf(pname, param);
  1093. }
  1094. inline void QOpenGLFunctions_1_1::glColorMaterial(GLenum face, GLenum mode)
  1095. {
  1096. d_1_0_Deprecated->f.ColorMaterial(face, mode);
  1097. }
  1098. inline void QOpenGLFunctions_1_1::glClipPlane(GLenum plane, const GLdouble *equation)
  1099. {
  1100. d_1_0_Deprecated->f.ClipPlane(plane, equation);
  1101. }
  1102. inline void QOpenGLFunctions_1_1::glVertex4sv(const GLshort *v)
  1103. {
  1104. d_1_0_Deprecated->f.Vertex4sv(v);
  1105. }
  1106. inline void QOpenGLFunctions_1_1::glVertex4s(GLshort x, GLshort y, GLshort z, GLshort w)
  1107. {
  1108. d_1_0_Deprecated->f.Vertex4s(x, y, z, w);
  1109. }
  1110. inline void QOpenGLFunctions_1_1::glVertex4iv(const GLint *v)
  1111. {
  1112. d_1_0_Deprecated->f.Vertex4iv(v);
  1113. }
  1114. inline void QOpenGLFunctions_1_1::glVertex4i(GLint x, GLint y, GLint z, GLint w)
  1115. {
  1116. d_1_0_Deprecated->f.Vertex4i(x, y, z, w);
  1117. }
  1118. inline void QOpenGLFunctions_1_1::glVertex4fv(const GLfloat *v)
  1119. {
  1120. d_1_0_Deprecated->f.Vertex4fv(v);
  1121. }
  1122. inline void QOpenGLFunctions_1_1::glVertex4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
  1123. {
  1124. d_1_0_Deprecated->f.Vertex4f(x, y, z, w);
  1125. }
  1126. inline void QOpenGLFunctions_1_1::glVertex4dv(const GLdouble *v)
  1127. {
  1128. d_1_0_Deprecated->f.Vertex4dv(v);
  1129. }
  1130. inline void QOpenGLFunctions_1_1::glVertex4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
  1131. {
  1132. d_1_0_Deprecated->f.Vertex4d(x, y, z, w);
  1133. }
  1134. inline void QOpenGLFunctions_1_1::glVertex3sv(const GLshort *v)
  1135. {
  1136. d_1_0_Deprecated->f.Vertex3sv(v);
  1137. }
  1138. inline void QOpenGLFunctions_1_1::glVertex3s(GLshort x, GLshort y, GLshort z)
  1139. {
  1140. d_1_0_Deprecated->f.Vertex3s(x, y, z);
  1141. }
  1142. inline void QOpenGLFunctions_1_1::glVertex3iv(const GLint *v)
  1143. {
  1144. d_1_0_Deprecated->f.Vertex3iv(v);
  1145. }
  1146. inline void QOpenGLFunctions_1_1::glVertex3i(GLint x, GLint y, GLint z)
  1147. {
  1148. d_1_0_Deprecated->f.Vertex3i(x, y, z);
  1149. }
  1150. inline void QOpenGLFunctions_1_1::glVertex3fv(const GLfloat *v)
  1151. {
  1152. d_1_0_Deprecated->f.Vertex3fv(v);
  1153. }
  1154. inline void QOpenGLFunctions_1_1::glVertex3f(GLfloat x, GLfloat y, GLfloat z)
  1155. {
  1156. d_1_0_Deprecated->f.Vertex3f(x, y, z);
  1157. }
  1158. inline void QOpenGLFunctions_1_1::glVertex3dv(const GLdouble *v)
  1159. {
  1160. d_1_0_Deprecated->f.Vertex3dv(v);
  1161. }
  1162. inline void QOpenGLFunctions_1_1::glVertex3d(GLdouble x, GLdouble y, GLdouble z)
  1163. {
  1164. d_1_0_Deprecated->f.Vertex3d(x, y, z);
  1165. }
  1166. inline void QOpenGLFunctions_1_1::glVertex2sv(const GLshort *v)
  1167. {
  1168. d_1_0_Deprecated->f.Vertex2sv(v);
  1169. }
  1170. inline void QOpenGLFunctions_1_1::glVertex2s(GLshort x, GLshort y)
  1171. {
  1172. d_1_0_Deprecated->f.Vertex2s(x, y);
  1173. }
  1174. inline void QOpenGLFunctions_1_1::glVertex2iv(const GLint *v)
  1175. {
  1176. d_1_0_Deprecated->f.Vertex2iv(v);
  1177. }
  1178. inline void QOpenGLFunctions_1_1::glVertex2i(GLint x, GLint y)
  1179. {
  1180. d_1_0_Deprecated->f.Vertex2i(x, y);
  1181. }
  1182. inline void QOpenGLFunctions_1_1::glVertex2fv(const GLfloat *v)
  1183. {
  1184. d_1_0_Deprecated->f.Vertex2fv(v);
  1185. }
  1186. inline void QOpenGLFunctions_1_1::glVertex2f(GLfloat x, GLfloat y)
  1187. {
  1188. d_1_0_Deprecated->f.Vertex2f(x, y);
  1189. }
  1190. inline void QOpenGLFunctions_1_1::glVertex2dv(const GLdouble *v)
  1191. {
  1192. d_1_0_Deprecated->f.Vertex2dv(v);
  1193. }
  1194. inline void QOpenGLFunctions_1_1::glVertex2d(GLdouble x, GLdouble y)
  1195. {
  1196. d_1_0_Deprecated->f.Vertex2d(x, y);
  1197. }
  1198. inline void QOpenGLFunctions_1_1::glTexCoord4sv(const GLshort *v)
  1199. {
  1200. d_1_0_Deprecated->f.TexCoord4sv(v);
  1201. }
  1202. inline void QOpenGLFunctions_1_1::glTexCoord4s(GLshort s, GLshort t, GLshort r, GLshort q)
  1203. {
  1204. d_1_0_Deprecated->f.TexCoord4s(s, t, r, q);
  1205. }
  1206. inline void QOpenGLFunctions_1_1::glTexCoord4iv(const GLint *v)
  1207. {
  1208. d_1_0_Deprecated->f.TexCoord4iv(v);
  1209. }
  1210. inline void QOpenGLFunctions_1_1::glTexCoord4i(GLint s, GLint t, GLint r, GLint q)
  1211. {
  1212. d_1_0_Deprecated->f.TexCoord4i(s, t, r, q);
  1213. }
  1214. inline void QOpenGLFunctions_1_1::glTexCoord4fv(const GLfloat *v)
  1215. {
  1216. d_1_0_Deprecated->f.TexCoord4fv(v);
  1217. }
  1218. inline void QOpenGLFunctions_1_1::glTexCoord4f(GLfloat s, GLfloat t, GLfloat r, GLfloat q)
  1219. {
  1220. d_1_0_Deprecated->f.TexCoord4f(s, t, r, q);
  1221. }
  1222. inline void QOpenGLFunctions_1_1::glTexCoord4dv(const GLdouble *v)
  1223. {
  1224. d_1_0_Deprecated->f.TexCoord4dv(v);
  1225. }
  1226. inline void QOpenGLFunctions_1_1::glTexCoord4d(GLdouble s, GLdouble t, GLdouble r, GLdouble q)
  1227. {
  1228. d_1_0_Deprecated->f.TexCoord4d(s, t, r, q);
  1229. }
  1230. inline void QOpenGLFunctions_1_1::glTexCoord3sv(const GLshort *v)
  1231. {
  1232. d_1_0_Deprecated->f.TexCoord3sv(v);
  1233. }
  1234. inline void QOpenGLFunctions_1_1::glTexCoord3s(GLshort s, GLshort t, GLshort r)
  1235. {
  1236. d_1_0_Deprecated->f.TexCoord3s(s, t, r);
  1237. }
  1238. inline void QOpenGLFunctions_1_1::glTexCoord3iv(const GLint *v)
  1239. {
  1240. d_1_0_Deprecated->f.TexCoord3iv(v);
  1241. }
  1242. inline void QOpenGLFunctions_1_1::glTexCoord3i(GLint s, GLint t, GLint r)
  1243. {
  1244. d_1_0_Deprecated->f.TexCoord3i(s, t, r);
  1245. }
  1246. inline void QOpenGLFunctions_1_1::glTexCoord3fv(const GLfloat *v)
  1247. {
  1248. d_1_0_Deprecated->f.TexCoord3fv(v);
  1249. }
  1250. inline void QOpenGLFunctions_1_1::glTexCoord3f(GLfloat s, GLfloat t, GLfloat r)
  1251. {
  1252. d_1_0_Deprecated->f.TexCoord3f(s, t, r);
  1253. }
  1254. inline void QOpenGLFunctions_1_1::glTexCoord3dv(const GLdouble *v)
  1255. {
  1256. d_1_0_Deprecated->f.TexCoord3dv(v);
  1257. }
  1258. inline void QOpenGLFunctions_1_1::glTexCoord3d(GLdouble s, GLdouble t, GLdouble r)
  1259. {
  1260. d_1_0_Deprecated->f.TexCoord3d(s, t, r);
  1261. }
  1262. inline void QOpenGLFunctions_1_1::glTexCoord2sv(const GLshort *v)
  1263. {
  1264. d_1_0_Deprecated->f.TexCoord2sv(v);
  1265. }
  1266. inline void QOpenGLFunctions_1_1::glTexCoord2s(GLshort s, GLshort t)
  1267. {
  1268. d_1_0_Deprecated->f.TexCoord2s(s, t);
  1269. }
  1270. inline void QOpenGLFunctions_1_1::glTexCoord2iv(const GLint *v)
  1271. {
  1272. d_1_0_Deprecated->f.TexCoord2iv(v);
  1273. }
  1274. inline void QOpenGLFunctions_1_1::glTexCoord2i(GLint s, GLint t)
  1275. {
  1276. d_1_0_Deprecated->f.TexCoord2i(s, t);
  1277. }
  1278. inline void QOpenGLFunctions_1_1::glTexCoord2fv(const GLfloat *v)
  1279. {
  1280. d_1_0_Deprecated->f.TexCoord2fv(v);
  1281. }
  1282. inline void QOpenGLFunctions_1_1::glTexCoord2f(GLfloat s, GLfloat t)
  1283. {
  1284. d_1_0_Deprecated->f.TexCoord2f(s, t);
  1285. }
  1286. inline void QOpenGLFunctions_1_1::glTexCoord2dv(const GLdouble *v)
  1287. {
  1288. d_1_0_Deprecated->f.TexCoord2dv(v);
  1289. }
  1290. inline void QOpenGLFunctions_1_1::glTexCoord2d(GLdouble s, GLdouble t)
  1291. {
  1292. d_1_0_Deprecated->f.TexCoord2d(s, t);
  1293. }
  1294. inline void QOpenGLFunctions_1_1::glTexCoord1sv(const GLshort *v)
  1295. {
  1296. d_1_0_Deprecated->f.TexCoord1sv(v);
  1297. }
  1298. inline void QOpenGLFunctions_1_1::glTexCoord1s(GLshort s)
  1299. {
  1300. d_1_0_Deprecated->f.TexCoord1s(s);
  1301. }
  1302. inline void QOpenGLFunctions_1_1::glTexCoord1iv(const GLint *v)
  1303. {
  1304. d_1_0_Deprecated->f.TexCoord1iv(v);
  1305. }
  1306. inline void QOpenGLFunctions_1_1::glTexCoord1i(GLint s)
  1307. {
  1308. d_1_0_Deprecated->f.TexCoord1i(s);
  1309. }
  1310. inline void QOpenGLFunctions_1_1::glTexCoord1fv(const GLfloat *v)
  1311. {
  1312. d_1_0_Deprecated->f.TexCoord1fv(v);
  1313. }
  1314. inline void QOpenGLFunctions_1_1::glTexCoord1f(GLfloat s)
  1315. {
  1316. d_1_0_Deprecated->f.TexCoord1f(s);
  1317. }
  1318. inline void QOpenGLFunctions_1_1::glTexCoord1dv(const GLdouble *v)
  1319. {
  1320. d_1_0_Deprecated->f.TexCoord1dv(v);
  1321. }
  1322. inline void QOpenGLFunctions_1_1::glTexCoord1d(GLdouble s)
  1323. {
  1324. d_1_0_Deprecated->f.TexCoord1d(s);
  1325. }
  1326. inline void QOpenGLFunctions_1_1::glRectsv(const GLshort *v1, const GLshort *v2)
  1327. {
  1328. d_1_0_Deprecated->f.Rectsv(v1, v2);
  1329. }
  1330. inline void QOpenGLFunctions_1_1::glRects(GLshort x1, GLshort y1, GLshort x2, GLshort y2)
  1331. {
  1332. d_1_0_Deprecated->f.Rects(x1, y1, x2, y2);
  1333. }
  1334. inline void QOpenGLFunctions_1_1::glRectiv(const GLint *v1, const GLint *v2)
  1335. {
  1336. d_1_0_Deprecated->f.Rectiv(v1, v2);
  1337. }
  1338. inline void QOpenGLFunctions_1_1::glRecti(GLint x1, GLint y1, GLint x2, GLint y2)
  1339. {
  1340. d_1_0_Deprecated->f.Recti(x1, y1, x2, y2);
  1341. }
  1342. inline void QOpenGLFunctions_1_1::glRectfv(const GLfloat *v1, const GLfloat *v2)
  1343. {
  1344. d_1_0_Deprecated->f.Rectfv(v1, v2);
  1345. }
  1346. inline void QOpenGLFunctions_1_1::glRectf(GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2)
  1347. {
  1348. d_1_0_Deprecated->f.Rectf(x1, y1, x2, y2);
  1349. }
  1350. inline void QOpenGLFunctions_1_1::glRectdv(const GLdouble *v1, const GLdouble *v2)
  1351. {
  1352. d_1_0_Deprecated->f.Rectdv(v1, v2);
  1353. }
  1354. inline void QOpenGLFunctions_1_1::glRectd(GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2)
  1355. {
  1356. d_1_0_Deprecated->f.Rectd(x1, y1, x2, y2);
  1357. }
  1358. inline void QOpenGLFunctions_1_1::glRasterPos4sv(const GLshort *v)
  1359. {
  1360. d_1_0_Deprecated->f.RasterPos4sv(v);
  1361. }
  1362. inline void QOpenGLFunctions_1_1::glRasterPos4s(GLshort x, GLshort y, GLshort z, GLshort w)
  1363. {
  1364. d_1_0_Deprecated->f.RasterPos4s(x, y, z, w);
  1365. }
  1366. inline void QOpenGLFunctions_1_1::glRasterPos4iv(const GLint *v)
  1367. {
  1368. d_1_0_Deprecated->f.RasterPos4iv(v);
  1369. }
  1370. inline void QOpenGLFunctions_1_1::glRasterPos4i(GLint x, GLint y, GLint z, GLint w)
  1371. {
  1372. d_1_0_Deprecated->f.RasterPos4i(x, y, z, w);
  1373. }
  1374. inline void QOpenGLFunctions_1_1::glRasterPos4fv(const GLfloat *v)
  1375. {
  1376. d_1_0_Deprecated->f.RasterPos4fv(v);
  1377. }
  1378. inline void QOpenGLFunctions_1_1::glRasterPos4f(GLfloat x, GLfloat y, GLfloat z, GLfloat w)
  1379. {
  1380. d_1_0_Deprecated->f.RasterPos4f(x, y, z, w);
  1381. }
  1382. inline void QOpenGLFunctions_1_1::glRasterPos4dv(const GLdouble *v)
  1383. {
  1384. d_1_0_Deprecated->f.RasterPos4dv(v);
  1385. }
  1386. inline void QOpenGLFunctions_1_1::glRasterPos4d(GLdouble x, GLdouble y, GLdouble z, GLdouble w)
  1387. {
  1388. d_1_0_Deprecated->f.RasterPos4d(x, y, z, w);
  1389. }
  1390. inline void QOpenGLFunctions_1_1::glRasterPos3sv(const GLshort *v)
  1391. {
  1392. d_1_0_Deprecated->f.RasterPos3sv(v);
  1393. }
  1394. inline void QOpenGLFunctions_1_1::glRasterPos3s(GLshort x, GLshort y, GLshort z)
  1395. {
  1396. d_1_0_Deprecated->f.RasterPos3s(x, y, z);
  1397. }
  1398. inline void QOpenGLFunctions_1_1::glRasterPos3iv(const GLint *v)
  1399. {
  1400. d_1_0_Deprecated->f.RasterPos3iv(v);
  1401. }
  1402. inline void QOpenGLFunctions_1_1::glRasterPos3i(GLint x, GLint y, GLint z)
  1403. {
  1404. d_1_0_Deprecated->f.RasterPos3i(x, y, z);
  1405. }
  1406. inline void QOpenGLFunctions_1_1::glRasterPos3fv(const GLfloat *v)
  1407. {
  1408. d_1_0_Deprecated->f.RasterPos3fv(v);
  1409. }
  1410. inline void QOpenGLFunctions_1_1::glRasterPos3f(GLfloat x, GLfloat y, GLfloat z)
  1411. {
  1412. d_1_0_Deprecated->f.RasterPos3f(x, y, z);
  1413. }
  1414. inline void QOpenGLFunctions_1_1::glRasterPos3dv(const GLdouble *v)
  1415. {
  1416. d_1_0_Deprecated->f.RasterPos3dv(v);
  1417. }
  1418. inline void QOpenGLFunctions_1_1::glRasterPos3d(GLdouble x, GLdouble y, GLdouble z)
  1419. {
  1420. d_1_0_Deprecated->f.RasterPos3d(x, y, z);
  1421. }
  1422. inline void QOpenGLFunctions_1_1::glRasterPos2sv(const GLshort *v)
  1423. {
  1424. d_1_0_Deprecated->f.RasterPos2sv(v);
  1425. }
  1426. inline void QOpenGLFunctions_1_1::glRasterPos2s(GLshort x, GLshort y)
  1427. {
  1428. d_1_0_Deprecated->f.RasterPos2s(x, y);
  1429. }
  1430. inline void QOpenGLFunctions_1_1::glRasterPos2iv(const GLint *v)
  1431. {
  1432. d_1_0_Deprecated->f.RasterPos2iv(v);
  1433. }
  1434. inline void QOpenGLFunctions_1_1::glRasterPos2i(GLint x, GLint y)
  1435. {
  1436. d_1_0_Deprecated->f.RasterPos2i(x, y);
  1437. }
  1438. inline void QOpenGLFunctions_1_1::glRasterPos2fv(const GLfloat *v)
  1439. {
  1440. d_1_0_Deprecated->f.RasterPos2fv(v);
  1441. }
  1442. inline void QOpenGLFunctions_1_1::glRasterPos2f(GLfloat x, GLfloat y)
  1443. {
  1444. d_1_0_Deprecated->f.RasterPos2f(x, y);
  1445. }
  1446. inline void QOpenGLFunctions_1_1::glRasterPos2dv(const GLdouble *v)
  1447. {
  1448. d_1_0_Deprecated->f.RasterPos2dv(v);
  1449. }
  1450. inline void QOpenGLFunctions_1_1::glRasterPos2d(GLdouble x, GLdouble y)
  1451. {
  1452. d_1_0_Deprecated->f.RasterPos2d(x, y);
  1453. }
  1454. inline void QOpenGLFunctions_1_1::glNormal3sv(const GLshort *v)
  1455. {
  1456. d_1_0_Deprecated->f.Normal3sv(v);
  1457. }
  1458. inline void QOpenGLFunctions_1_1::glNormal3s(GLshort nx, GLshort ny, GLshort nz)
  1459. {
  1460. d_1_0_Deprecated->f.Normal3s(nx, ny, nz);
  1461. }
  1462. inline void QOpenGLFunctions_1_1::glNormal3iv(const GLint *v)
  1463. {
  1464. d_1_0_Deprecated->f.Normal3iv(v);
  1465. }
  1466. inline void QOpenGLFunctions_1_1::glNormal3i(GLint nx, GLint ny, GLint nz)
  1467. {
  1468. d_1_0_Deprecated->f.Normal3i(nx, ny, nz);
  1469. }
  1470. inline void QOpenGLFunctions_1_1::glNormal3fv(const GLfloat *v)
  1471. {
  1472. d_1_0_Deprecated->f.Normal3fv(v);
  1473. }
  1474. inline void QOpenGLFunctions_1_1::glNormal3f(GLfloat nx, GLfloat ny, GLfloat nz)
  1475. {
  1476. d_1_0_Deprecated->f.Normal3f(nx, ny, nz);
  1477. }
  1478. inline void QOpenGLFunctions_1_1::glNormal3dv(const GLdouble *v)
  1479. {
  1480. d_1_0_Deprecated->f.Normal3dv(v);
  1481. }
  1482. inline void QOpenGLFunctions_1_1::glNormal3d(GLdouble nx, GLdouble ny, GLdouble nz)
  1483. {
  1484. d_1_0_Deprecated->f.Normal3d(nx, ny, nz);
  1485. }
  1486. inline void QOpenGLFunctions_1_1::glNormal3bv(const GLbyte *v)
  1487. {
  1488. d_1_0_Deprecated->f.Normal3bv(v);
  1489. }
  1490. inline void QOpenGLFunctions_1_1::glNormal3b(GLbyte nx, GLbyte ny, GLbyte nz)
  1491. {
  1492. d_1_0_Deprecated->f.Normal3b(nx, ny, nz);
  1493. }
  1494. inline void QOpenGLFunctions_1_1::glIndexsv(const GLshort *c)
  1495. {
  1496. d_1_0_Deprecated->f.Indexsv(c);
  1497. }
  1498. inline void QOpenGLFunctions_1_1::glIndexs(GLshort c)
  1499. {
  1500. d_1_0_Deprecated->f.Indexs(c);
  1501. }
  1502. inline void QOpenGLFunctions_1_1::glIndexiv(const GLint *c)
  1503. {
  1504. d_1_0_Deprecated->f.Indexiv(c);
  1505. }
  1506. inline void QOpenGLFunctions_1_1::glIndexi(GLint c)
  1507. {
  1508. d_1_0_Deprecated->f.Indexi(c);
  1509. }
  1510. inline void QOpenGLFunctions_1_1::glIndexfv(const GLfloat *c)
  1511. {
  1512. d_1_0_Deprecated->f.Indexfv(c);
  1513. }
  1514. inline void QOpenGLFunctions_1_1::glIndexf(GLfloat c)
  1515. {
  1516. d_1_0_Deprecated->f.Indexf(c);
  1517. }
  1518. inline void QOpenGLFunctions_1_1::glIndexdv(const GLdouble *c)
  1519. {
  1520. d_1_0_Deprecated->f.Indexdv(c);
  1521. }
  1522. inline void QOpenGLFunctions_1_1::glIndexd(GLdouble c)
  1523. {
  1524. d_1_0_Deprecated->f.Indexd(c);
  1525. }
  1526. inline void QOpenGLFunctions_1_1::glEnd()
  1527. {
  1528. d_1_0_Deprecated->f.End();
  1529. }
  1530. inline void QOpenGLFunctions_1_1::glEdgeFlagv(const GLboolean *flag)
  1531. {
  1532. d_1_0_Deprecated->f.EdgeFlagv(flag);
  1533. }
  1534. inline void QOpenGLFunctions_1_1::glEdgeFlag(GLboolean flag)
  1535. {
  1536. d_1_0_Deprecated->f.EdgeFlag(flag);
  1537. }
  1538. inline void QOpenGLFunctions_1_1::glColor4usv(const GLushort *v)
  1539. {
  1540. d_1_0_Deprecated->f.Color4usv(v);
  1541. }
  1542. inline void QOpenGLFunctions_1_1::glColor4us(GLushort red, GLushort green, GLushort blue, GLushort alpha)
  1543. {
  1544. d_1_0_Deprecated->f.Color4us(red, green, blue, alpha);
  1545. }
  1546. inline void QOpenGLFunctions_1_1::glColor4uiv(const GLuint *v)
  1547. {
  1548. d_1_0_Deprecated->f.Color4uiv(v);
  1549. }
  1550. inline void QOpenGLFunctions_1_1::glColor4ui(GLuint red, GLuint green, GLuint blue, GLuint alpha)
  1551. {
  1552. d_1_0_Deprecated->f.Color4ui(red, green, blue, alpha);
  1553. }
  1554. inline void QOpenGLFunctions_1_1::glColor4ubv(const GLubyte *v)
  1555. {
  1556. d_1_0_Deprecated->f.Color4ubv(v);
  1557. }
  1558. inline void QOpenGLFunctions_1_1::glColor4ub(GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha)
  1559. {
  1560. d_1_0_Deprecated->f.Color4ub(red, green, blue, alpha);
  1561. }
  1562. inline void QOpenGLFunctions_1_1::glColor4sv(const GLshort *v)
  1563. {
  1564. d_1_0_Deprecated->f.Color4sv(v);
  1565. }
  1566. inline void QOpenGLFunctions_1_1::glColor4s(GLshort red, GLshort green, GLshort blue, GLshort alpha)
  1567. {
  1568. d_1_0_Deprecated->f.Color4s(red, green, blue, alpha);
  1569. }
  1570. inline void QOpenGLFunctions_1_1::glColor4iv(const GLint *v)
  1571. {
  1572. d_1_0_Deprecated->f.Color4iv(v);
  1573. }
  1574. inline void QOpenGLFunctions_1_1::glColor4i(GLint red, GLint green, GLint blue, GLint alpha)
  1575. {
  1576. d_1_0_Deprecated->f.Color4i(red, green, blue, alpha);
  1577. }
  1578. inline void QOpenGLFunctions_1_1::glColor4fv(const GLfloat *v)
  1579. {
  1580. d_1_0_Deprecated->f.Color4fv(v);
  1581. }
  1582. inline void QOpenGLFunctions_1_1::glColor4f(GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha)
  1583. {
  1584. d_1_0_Deprecated->f.Color4f(red, green, blue, alpha);
  1585. }
  1586. inline void QOpenGLFunctions_1_1::glColor4dv(const GLdouble *v)
  1587. {
  1588. d_1_0_Deprecated->f.Color4dv(v);
  1589. }
  1590. inline void QOpenGLFunctions_1_1::glColor4d(GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha)
  1591. {
  1592. d_1_0_Deprecated->f.Color4d(red, green, blue, alpha);
  1593. }
  1594. inline void QOpenGLFunctions_1_1::glColor4bv(const GLbyte *v)
  1595. {
  1596. d_1_0_Deprecated->f.Color4bv(v);
  1597. }
  1598. inline void QOpenGLFunctions_1_1::glColor4b(GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha)
  1599. {
  1600. d_1_0_Deprecated->f.Color4b(red, green, blue, alpha);
  1601. }
  1602. inline void QOpenGLFunctions_1_1::glColor3usv(const GLushort *v)
  1603. {
  1604. d_1_0_Deprecated->f.Color3usv(v);
  1605. }
  1606. inline void QOpenGLFunctions_1_1::glColor3us(GLushort red, GLushort green, GLushort blue)
  1607. {
  1608. d_1_0_Deprecated->f.Color3us(red, green, blue);
  1609. }
  1610. inline void QOpenGLFunctions_1_1::glColor3uiv(const GLuint *v)
  1611. {
  1612. d_1_0_Deprecated->f.Color3uiv(v);
  1613. }
  1614. inline void QOpenGLFunctions_1_1::glColor3ui(GLuint red, GLuint green, GLuint blue)
  1615. {
  1616. d_1_0_Deprecated->f.Color3ui(red, green, blue);
  1617. }
  1618. inline void QOpenGLFunctions_1_1::glColor3ubv(const GLubyte *v)
  1619. {
  1620. d_1_0_Deprecated->f.Color3ubv(v);
  1621. }
  1622. inline void QOpenGLFunctions_1_1::glColor3ub(GLubyte red, GLubyte green, GLubyte blue)
  1623. {
  1624. d_1_0_Deprecated->f.Color3ub(red, green, blue);
  1625. }
  1626. inline void QOpenGLFunctions_1_1::glColor3sv(const GLshort *v)
  1627. {
  1628. d_1_0_Deprecated->f.Color3sv(v);
  1629. }
  1630. inline void QOpenGLFunctions_1_1::glColor3s(GLshort red, GLshort green, GLshort blue)
  1631. {
  1632. d_1_0_Deprecated->f.Color3s(red, green, blue);
  1633. }
  1634. inline void QOpenGLFunctions_1_1::glColor3iv(const GLint *v)
  1635. {
  1636. d_1_0_Deprecated->f.Color3iv(v);
  1637. }
  1638. inline void QOpenGLFunctions_1_1::glColor3i(GLint red, GLint green, GLint blue)
  1639. {
  1640. d_1_0_Deprecated->f.Color3i(red, green, blue);
  1641. }
  1642. inline void QOpenGLFunctions_1_1::glColor3fv(const GLfloat *v)
  1643. {
  1644. d_1_0_Deprecated->f.Color3fv(v);
  1645. }
  1646. inline void QOpenGLFunctions_1_1::glColor3f(GLfloat red, GLfloat green, GLfloat blue)
  1647. {
  1648. d_1_0_Deprecated->f.Color3f(red, green, blue);
  1649. }
  1650. inline void QOpenGLFunctions_1_1::glColor3dv(const GLdouble *v)
  1651. {
  1652. d_1_0_Deprecated->f.Color3dv(v);
  1653. }
  1654. inline void QOpenGLFunctions_1_1::glColor3d(GLdouble red, GLdouble green, GLdouble blue)
  1655. {
  1656. d_1_0_Deprecated->f.Color3d(red, green, blue);
  1657. }
  1658. inline void QOpenGLFunctions_1_1::glColor3bv(const GLbyte *v)
  1659. {
  1660. d_1_0_Deprecated->f.Color3bv(v);
  1661. }
  1662. inline void QOpenGLFunctions_1_1::glColor3b(GLbyte red, GLbyte green, GLbyte blue)
  1663. {
  1664. d_1_0_Deprecated->f.Color3b(red, green, blue);
  1665. }
  1666. inline void QOpenGLFunctions_1_1::glBitmap(GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap)
  1667. {
  1668. d_1_0_Deprecated->f.Bitmap(width, height, xorig, yorig, xmove, ymove, bitmap);
  1669. }
  1670. inline void QOpenGLFunctions_1_1::glBegin(GLenum mode)
  1671. {
  1672. d_1_0_Deprecated->f.Begin(mode);
  1673. }
  1674. inline void QOpenGLFunctions_1_1::glListBase(GLuint base)
  1675. {
  1676. d_1_0_Deprecated->f.ListBase(base);
  1677. }
  1678. inline GLuint QOpenGLFunctions_1_1::glGenLists(GLsizei range)
  1679. {
  1680. return d_1_0_Deprecated->f.GenLists(range);
  1681. }
  1682. inline void QOpenGLFunctions_1_1::glDeleteLists(GLuint list, GLsizei range)
  1683. {
  1684. d_1_0_Deprecated->f.DeleteLists(list, range);
  1685. }
  1686. inline void QOpenGLFunctions_1_1::glCallLists(GLsizei n, GLenum type, const GLvoid *lists)
  1687. {
  1688. d_1_0_Deprecated->f.CallLists(n, type, lists);
  1689. }
  1690. inline void QOpenGLFunctions_1_1::glCallList(GLuint list)
  1691. {
  1692. d_1_0_Deprecated->f.CallList(list);
  1693. }
  1694. inline void QOpenGLFunctions_1_1::glEndList()
  1695. {
  1696. d_1_0_Deprecated->f.EndList();
  1697. }
  1698. inline void QOpenGLFunctions_1_1::glNewList(GLuint list, GLenum mode)
  1699. {
  1700. d_1_0_Deprecated->f.NewList(list, mode);
  1701. }
  1702. // OpenGL 1.1 deprecated functions
  1703. inline void QOpenGLFunctions_1_1::glPushClientAttrib(GLbitfield mask)
  1704. {
  1705. d_1_1_Deprecated->f.PushClientAttrib(mask);
  1706. }
  1707. inline void QOpenGLFunctions_1_1::glPopClientAttrib()
  1708. {
  1709. d_1_1_Deprecated->f.PopClientAttrib();
  1710. }
  1711. inline void QOpenGLFunctions_1_1::glPrioritizeTextures(GLsizei n, const GLuint *textures, const GLfloat *priorities)
  1712. {
  1713. d_1_1_Deprecated->f.PrioritizeTextures(n, textures, priorities);
  1714. }
  1715. inline GLboolean QOpenGLFunctions_1_1::glAreTexturesResident(GLsizei n, const GLuint *textures, GLboolean *residences)
  1716. {
  1717. return d_1_1_Deprecated->f.AreTexturesResident(n, textures, residences);
  1718. }
  1719. inline void QOpenGLFunctions_1_1::glVertexPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  1720. {
  1721. d_1_1_Deprecated->f.VertexPointer(size, type, stride, pointer);
  1722. }
  1723. inline void QOpenGLFunctions_1_1::glTexCoordPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  1724. {
  1725. d_1_1_Deprecated->f.TexCoordPointer(size, type, stride, pointer);
  1726. }
  1727. inline void QOpenGLFunctions_1_1::glNormalPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
  1728. {
  1729. d_1_1_Deprecated->f.NormalPointer(type, stride, pointer);
  1730. }
  1731. inline void QOpenGLFunctions_1_1::glInterleavedArrays(GLenum format, GLsizei stride, const GLvoid *pointer)
  1732. {
  1733. d_1_1_Deprecated->f.InterleavedArrays(format, stride, pointer);
  1734. }
  1735. inline void QOpenGLFunctions_1_1::glIndexPointer(GLenum type, GLsizei stride, const GLvoid *pointer)
  1736. {
  1737. d_1_1_Deprecated->f.IndexPointer(type, stride, pointer);
  1738. }
  1739. inline void QOpenGLFunctions_1_1::glEnableClientState(GLenum array)
  1740. {
  1741. d_1_1_Deprecated->f.EnableClientState(array);
  1742. }
  1743. inline void QOpenGLFunctions_1_1::glEdgeFlagPointer(GLsizei stride, const GLvoid *pointer)
  1744. {
  1745. d_1_1_Deprecated->f.EdgeFlagPointer(stride, pointer);
  1746. }
  1747. inline void QOpenGLFunctions_1_1::glDisableClientState(GLenum array)
  1748. {
  1749. d_1_1_Deprecated->f.DisableClientState(array);
  1750. }
  1751. inline void QOpenGLFunctions_1_1::glColorPointer(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer)
  1752. {
  1753. d_1_1_Deprecated->f.ColorPointer(size, type, stride, pointer);
  1754. }
  1755. inline void QOpenGLFunctions_1_1::glArrayElement(GLint i)
  1756. {
  1757. d_1_1_Deprecated->f.ArrayElement(i);
  1758. }
  1759. QT_END_NAMESPACE
  1760. #endif // QT_NO_OPENGL && !QT_OPENGL_ES_2
  1761. #endif