qopenglfunctions_2_0.h 121 KB

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