qopenglfunctions_1_2.h 77 KB

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