qopenglfunctions_3_0.h 143 KB

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