glcorearb.h 359 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039
  1. #ifndef __glcorearb_h_
  2. #define __glcorearb_h_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2013-2017 The Khronos Group Inc.
  8. **
  9. ** Permission is hereby granted, free of charge, to any person obtaining a
  10. ** copy of this software and/or associated documentation files (the
  11. ** "Materials"), to deal in the Materials without restriction, including
  12. ** without limitation the rights to use, copy, modify, merge, publish,
  13. ** distribute, sublicense, and/or sell copies of the Materials, and to
  14. ** permit persons to whom the Materials are furnished to do so, subject to
  15. ** the following conditions:
  16. **
  17. ** The above copyright notice and this permission notice shall be included
  18. ** in all copies or substantial portions of the Materials.
  19. **
  20. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  24. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  25. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  26. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  27. */
  28. /*
  29. ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  30. ** API Registry. The current version of the Registry, generator scripts
  31. ** used to make the header, and the header can be found at
  32. ** https://github.com/KhronosGroup/OpenGL-Registry
  33. */
  34. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  35. #ifndef WIN32_LEAN_AND_MEAN
  36. #define WIN32_LEAN_AND_MEAN 1
  37. #endif
  38. #include <windows.h>
  39. #endif
  40. #ifndef APIENTRY
  41. #define APIENTRY
  42. #endif
  43. #ifndef APIENTRYP
  44. #define APIENTRYP APIENTRY *
  45. #endif
  46. #ifndef GLAPI
  47. #define GLAPI extern
  48. #endif
  49. /* glcorearb.h is for use with OpenGL core profile implementations.
  50. ** It should should be placed in the same directory as gl.h and
  51. ** included as <GL/glcorearb.h>.
  52. **
  53. ** glcorearb.h includes only APIs in the latest OpenGL core profile
  54. ** implementation together with APIs in newer ARB extensions which
  55. ** can be supported by the core profile. It does not, and never will
  56. ** include functionality removed from the core profile, such as
  57. ** fixed-function vertex and fragment processing.
  58. **
  59. ** Do not #include both <GL/glcorearb.h> and either of <GL/gl.h> or
  60. ** <GL/glext.h> in the same source file.
  61. */
  62. /* Generated C header for:
  63. * API: gl
  64. * Profile: core
  65. * Versions considered: .*
  66. * Versions emitted: .*
  67. * Default extensions included: glcore
  68. * Additional extensions included: _nomatch_^
  69. * Extensions removed: _nomatch_^
  70. */
  71. #ifndef GL_VERSION_1_0
  72. #define GL_VERSION_1_0 1
  73. typedef void GLvoid;
  74. typedef unsigned int GLenum;
  75. typedef float GLfloat;
  76. typedef int GLint;
  77. typedef int GLsizei;
  78. typedef unsigned int GLbitfield;
  79. typedef double GLdouble;
  80. typedef unsigned int GLuint;
  81. typedef unsigned char GLboolean;
  82. typedef unsigned char GLubyte;
  83. #define GL_DEPTH_BUFFER_BIT 0x00000100
  84. #define GL_STENCIL_BUFFER_BIT 0x00000400
  85. #define GL_COLOR_BUFFER_BIT 0x00004000
  86. #define GL_FALSE 0
  87. #define GL_TRUE 1
  88. #define GL_POINTS 0x0000
  89. #define GL_LINES 0x0001
  90. #define GL_LINE_LOOP 0x0002
  91. #define GL_LINE_STRIP 0x0003
  92. #define GL_TRIANGLES 0x0004
  93. #define GL_TRIANGLE_STRIP 0x0005
  94. #define GL_TRIANGLE_FAN 0x0006
  95. #define GL_QUADS 0x0007
  96. #define GL_NEVER 0x0200
  97. #define GL_LESS 0x0201
  98. #define GL_EQUAL 0x0202
  99. #define GL_LEQUAL 0x0203
  100. #define GL_GREATER 0x0204
  101. #define GL_NOTEQUAL 0x0205
  102. #define GL_GEQUAL 0x0206
  103. #define GL_ALWAYS 0x0207
  104. #define GL_ZERO 0
  105. #define GL_ONE 1
  106. #define GL_SRC_COLOR 0x0300
  107. #define GL_ONE_MINUS_SRC_COLOR 0x0301
  108. #define GL_SRC_ALPHA 0x0302
  109. #define GL_ONE_MINUS_SRC_ALPHA 0x0303
  110. #define GL_DST_ALPHA 0x0304
  111. #define GL_ONE_MINUS_DST_ALPHA 0x0305
  112. #define GL_DST_COLOR 0x0306
  113. #define GL_ONE_MINUS_DST_COLOR 0x0307
  114. #define GL_SRC_ALPHA_SATURATE 0x0308
  115. #define GL_NONE 0
  116. #define GL_FRONT_LEFT 0x0400
  117. #define GL_FRONT_RIGHT 0x0401
  118. #define GL_BACK_LEFT 0x0402
  119. #define GL_BACK_RIGHT 0x0403
  120. #define GL_FRONT 0x0404
  121. #define GL_BACK 0x0405
  122. #define GL_LEFT 0x0406
  123. #define GL_RIGHT 0x0407
  124. #define GL_FRONT_AND_BACK 0x0408
  125. #define GL_NO_ERROR 0
  126. #define GL_INVALID_ENUM 0x0500
  127. #define GL_INVALID_VALUE 0x0501
  128. #define GL_INVALID_OPERATION 0x0502
  129. #define GL_OUT_OF_MEMORY 0x0505
  130. #define GL_CW 0x0900
  131. #define GL_CCW 0x0901
  132. #define GL_POINT_SIZE 0x0B11
  133. #define GL_POINT_SIZE_RANGE 0x0B12
  134. #define GL_POINT_SIZE_GRANULARITY 0x0B13
  135. #define GL_LINE_SMOOTH 0x0B20
  136. #define GL_LINE_WIDTH 0x0B21
  137. #define GL_LINE_WIDTH_RANGE 0x0B22
  138. #define GL_LINE_WIDTH_GRANULARITY 0x0B23
  139. #define GL_POLYGON_MODE 0x0B40
  140. #define GL_POLYGON_SMOOTH 0x0B41
  141. #define GL_CULL_FACE 0x0B44
  142. #define GL_CULL_FACE_MODE 0x0B45
  143. #define GL_FRONT_FACE 0x0B46
  144. #define GL_DEPTH_RANGE 0x0B70
  145. #define GL_DEPTH_TEST 0x0B71
  146. #define GL_DEPTH_WRITEMASK 0x0B72
  147. #define GL_DEPTH_CLEAR_VALUE 0x0B73
  148. #define GL_DEPTH_FUNC 0x0B74
  149. #define GL_STENCIL_TEST 0x0B90
  150. #define GL_STENCIL_CLEAR_VALUE 0x0B91
  151. #define GL_STENCIL_FUNC 0x0B92
  152. #define GL_STENCIL_VALUE_MASK 0x0B93
  153. #define GL_STENCIL_FAIL 0x0B94
  154. #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
  155. #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
  156. #define GL_STENCIL_REF 0x0B97
  157. #define GL_STENCIL_WRITEMASK 0x0B98
  158. #define GL_VIEWPORT 0x0BA2
  159. #define GL_DITHER 0x0BD0
  160. #define GL_BLEND_DST 0x0BE0
  161. #define GL_BLEND_SRC 0x0BE1
  162. #define GL_BLEND 0x0BE2
  163. #define GL_LOGIC_OP_MODE 0x0BF0
  164. #define GL_DRAW_BUFFER 0x0C01
  165. #define GL_READ_BUFFER 0x0C02
  166. #define GL_SCISSOR_BOX 0x0C10
  167. #define GL_SCISSOR_TEST 0x0C11
  168. #define GL_COLOR_CLEAR_VALUE 0x0C22
  169. #define GL_COLOR_WRITEMASK 0x0C23
  170. #define GL_DOUBLEBUFFER 0x0C32
  171. #define GL_STEREO 0x0C33
  172. #define GL_LINE_SMOOTH_HINT 0x0C52
  173. #define GL_POLYGON_SMOOTH_HINT 0x0C53
  174. #define GL_UNPACK_SWAP_BYTES 0x0CF0
  175. #define GL_UNPACK_LSB_FIRST 0x0CF1
  176. #define GL_UNPACK_ROW_LENGTH 0x0CF2
  177. #define GL_UNPACK_SKIP_ROWS 0x0CF3
  178. #define GL_UNPACK_SKIP_PIXELS 0x0CF4
  179. #define GL_UNPACK_ALIGNMENT 0x0CF5
  180. #define GL_PACK_SWAP_BYTES 0x0D00
  181. #define GL_PACK_LSB_FIRST 0x0D01
  182. #define GL_PACK_ROW_LENGTH 0x0D02
  183. #define GL_PACK_SKIP_ROWS 0x0D03
  184. #define GL_PACK_SKIP_PIXELS 0x0D04
  185. #define GL_PACK_ALIGNMENT 0x0D05
  186. #define GL_MAX_TEXTURE_SIZE 0x0D33
  187. #define GL_MAX_VIEWPORT_DIMS 0x0D3A
  188. #define GL_SUBPIXEL_BITS 0x0D50
  189. #define GL_TEXTURE_1D 0x0DE0
  190. #define GL_TEXTURE_2D 0x0DE1
  191. #define GL_TEXTURE_WIDTH 0x1000
  192. #define GL_TEXTURE_HEIGHT 0x1001
  193. #define GL_TEXTURE_BORDER_COLOR 0x1004
  194. #define GL_DONT_CARE 0x1100
  195. #define GL_FASTEST 0x1101
  196. #define GL_NICEST 0x1102
  197. #define GL_BYTE 0x1400
  198. #define GL_UNSIGNED_BYTE 0x1401
  199. #define GL_SHORT 0x1402
  200. #define GL_UNSIGNED_SHORT 0x1403
  201. #define GL_INT 0x1404
  202. #define GL_UNSIGNED_INT 0x1405
  203. #define GL_FLOAT 0x1406
  204. #define GL_STACK_OVERFLOW 0x0503
  205. #define GL_STACK_UNDERFLOW 0x0504
  206. #define GL_CLEAR 0x1500
  207. #define GL_AND 0x1501
  208. #define GL_AND_REVERSE 0x1502
  209. #define GL_COPY 0x1503
  210. #define GL_AND_INVERTED 0x1504
  211. #define GL_NOOP 0x1505
  212. #define GL_XOR 0x1506
  213. #define GL_OR 0x1507
  214. #define GL_NOR 0x1508
  215. #define GL_EQUIV 0x1509
  216. #define GL_INVERT 0x150A
  217. #define GL_OR_REVERSE 0x150B
  218. #define GL_COPY_INVERTED 0x150C
  219. #define GL_OR_INVERTED 0x150D
  220. #define GL_NAND 0x150E
  221. #define GL_SET 0x150F
  222. #define GL_TEXTURE 0x1702
  223. #define GL_COLOR 0x1800
  224. #define GL_DEPTH 0x1801
  225. #define GL_STENCIL 0x1802
  226. #define GL_STENCIL_INDEX 0x1901
  227. #define GL_DEPTH_COMPONENT 0x1902
  228. #define GL_RED 0x1903
  229. #define GL_GREEN 0x1904
  230. #define GL_BLUE 0x1905
  231. #define GL_ALPHA 0x1906
  232. #define GL_RGB 0x1907
  233. #define GL_RGBA 0x1908
  234. #define GL_POINT 0x1B00
  235. #define GL_LINE 0x1B01
  236. #define GL_FILL 0x1B02
  237. #define GL_KEEP 0x1E00
  238. #define GL_REPLACE 0x1E01
  239. #define GL_INCR 0x1E02
  240. #define GL_DECR 0x1E03
  241. #define GL_VENDOR 0x1F00
  242. #define GL_RENDERER 0x1F01
  243. #define GL_VERSION 0x1F02
  244. #define GL_EXTENSIONS 0x1F03
  245. #define GL_NEAREST 0x2600
  246. #define GL_LINEAR 0x2601
  247. #define GL_NEAREST_MIPMAP_NEAREST 0x2700
  248. #define GL_LINEAR_MIPMAP_NEAREST 0x2701
  249. #define GL_NEAREST_MIPMAP_LINEAR 0x2702
  250. #define GL_LINEAR_MIPMAP_LINEAR 0x2703
  251. #define GL_TEXTURE_MAG_FILTER 0x2800
  252. #define GL_TEXTURE_MIN_FILTER 0x2801
  253. #define GL_TEXTURE_WRAP_S 0x2802
  254. #define GL_TEXTURE_WRAP_T 0x2803
  255. #define GL_REPEAT 0x2901
  256. typedef void (APIENTRYP PFNGLCULLFACEPROC) (GLenum mode);
  257. typedef void (APIENTRYP PFNGLFRONTFACEPROC) (GLenum mode);
  258. typedef void (APIENTRYP PFNGLHINTPROC) (GLenum target, GLenum mode);
  259. typedef void (APIENTRYP PFNGLLINEWIDTHPROC) (GLfloat width);
  260. typedef void (APIENTRYP PFNGLPOINTSIZEPROC) (GLfloat size);
  261. typedef void (APIENTRYP PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode);
  262. typedef void (APIENTRYP PFNGLSCISSORPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
  263. typedef void (APIENTRYP PFNGLTEXPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat param);
  264. typedef void (APIENTRYP PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  265. typedef void (APIENTRYP PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  266. typedef void (APIENTRYP PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  267. typedef void (APIENTRYP PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  268. typedef void (APIENTRYP PFNGLTEXIMAGE2DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  269. typedef void (APIENTRYP PFNGLDRAWBUFFERPROC) (GLenum buf);
  270. typedef void (APIENTRYP PFNGLCLEARPROC) (GLbitfield mask);
  271. typedef void (APIENTRYP PFNGLCLEARCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  272. typedef void (APIENTRYP PFNGLCLEARSTENCILPROC) (GLint s);
  273. typedef void (APIENTRYP PFNGLCLEARDEPTHPROC) (GLdouble depth);
  274. typedef void (APIENTRYP PFNGLSTENCILMASKPROC) (GLuint mask);
  275. typedef void (APIENTRYP PFNGLCOLORMASKPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  276. typedef void (APIENTRYP PFNGLDEPTHMASKPROC) (GLboolean flag);
  277. typedef void (APIENTRYP PFNGLDISABLEPROC) (GLenum cap);
  278. typedef void (APIENTRYP PFNGLENABLEPROC) (GLenum cap);
  279. typedef void (APIENTRYP PFNGLFINISHPROC) (void);
  280. typedef void (APIENTRYP PFNGLFLUSHPROC) (void);
  281. typedef void (APIENTRYP PFNGLBLENDFUNCPROC) (GLenum sfactor, GLenum dfactor);
  282. typedef void (APIENTRYP PFNGLLOGICOPPROC) (GLenum opcode);
  283. typedef void (APIENTRYP PFNGLSTENCILFUNCPROC) (GLenum func, GLint ref, GLuint mask);
  284. typedef void (APIENTRYP PFNGLSTENCILOPPROC) (GLenum fail, GLenum zfail, GLenum zpass);
  285. typedef void (APIENTRYP PFNGLDEPTHFUNCPROC) (GLenum func);
  286. typedef void (APIENTRYP PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param);
  287. typedef void (APIENTRYP PFNGLPIXELSTOREIPROC) (GLenum pname, GLint param);
  288. typedef void (APIENTRYP PFNGLREADBUFFERPROC) (GLenum src);
  289. typedef void (APIENTRYP PFNGLREADPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
  290. typedef void (APIENTRYP PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *data);
  291. typedef void (APIENTRYP PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *data);
  292. typedef GLenum (APIENTRYP PFNGLGETERRORPROC) (void);
  293. typedef void (APIENTRYP PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *data);
  294. typedef void (APIENTRYP PFNGLGETINTEGERVPROC) (GLenum pname, GLint *data);
  295. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGPROC) (GLenum name);
  296. typedef void (APIENTRYP PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  297. typedef void (APIENTRYP PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  298. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  299. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params);
  300. typedef void (APIENTRYP PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params);
  301. typedef GLboolean (APIENTRYP PFNGLISENABLEDPROC) (GLenum cap);
  302. typedef void (APIENTRYP PFNGLDEPTHRANGEPROC) (GLdouble near, GLdouble far);
  303. typedef void (APIENTRYP PFNGLVIEWPORTPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
  304. #ifdef GL_GLEXT_PROTOTYPES
  305. GLAPI void APIENTRY glCullFace (GLenum mode);
  306. GLAPI void APIENTRY glFrontFace (GLenum mode);
  307. GLAPI void APIENTRY glHint (GLenum target, GLenum mode);
  308. GLAPI void APIENTRY glLineWidth (GLfloat width);
  309. GLAPI void APIENTRY glPointSize (GLfloat size);
  310. GLAPI void APIENTRY glPolygonMode (GLenum face, GLenum mode);
  311. GLAPI void APIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
  312. GLAPI void APIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
  313. GLAPI void APIENTRY glTexParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  314. GLAPI void APIENTRY glTexParameteri (GLenum target, GLenum pname, GLint param);
  315. GLAPI void APIENTRY glTexParameteriv (GLenum target, GLenum pname, const GLint *params);
  316. GLAPI void APIENTRY glTexImage1D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  317. GLAPI void APIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  318. GLAPI void APIENTRY glDrawBuffer (GLenum buf);
  319. GLAPI void APIENTRY glClear (GLbitfield mask);
  320. GLAPI void APIENTRY glClearColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  321. GLAPI void APIENTRY glClearStencil (GLint s);
  322. GLAPI void APIENTRY glClearDepth (GLdouble depth);
  323. GLAPI void APIENTRY glStencilMask (GLuint mask);
  324. GLAPI void APIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  325. GLAPI void APIENTRY glDepthMask (GLboolean flag);
  326. GLAPI void APIENTRY glDisable (GLenum cap);
  327. GLAPI void APIENTRY glEnable (GLenum cap);
  328. GLAPI void APIENTRY glFinish (void);
  329. GLAPI void APIENTRY glFlush (void);
  330. GLAPI void APIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
  331. GLAPI void APIENTRY glLogicOp (GLenum opcode);
  332. GLAPI void APIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
  333. GLAPI void APIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
  334. GLAPI void APIENTRY glDepthFunc (GLenum func);
  335. GLAPI void APIENTRY glPixelStoref (GLenum pname, GLfloat param);
  336. GLAPI void APIENTRY glPixelStorei (GLenum pname, GLint param);
  337. GLAPI void APIENTRY glReadBuffer (GLenum src);
  338. GLAPI void APIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, void *pixels);
  339. GLAPI void APIENTRY glGetBooleanv (GLenum pname, GLboolean *data);
  340. GLAPI void APIENTRY glGetDoublev (GLenum pname, GLdouble *data);
  341. GLAPI GLenum APIENTRY glGetError (void);
  342. GLAPI void APIENTRY glGetFloatv (GLenum pname, GLfloat *data);
  343. GLAPI void APIENTRY glGetIntegerv (GLenum pname, GLint *data);
  344. GLAPI const GLubyte *APIENTRY glGetString (GLenum name);
  345. GLAPI void APIENTRY glGetTexImage (GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  346. GLAPI void APIENTRY glGetTexParameterfv (GLenum target, GLenum pname, GLfloat *params);
  347. GLAPI void APIENTRY glGetTexParameteriv (GLenum target, GLenum pname, GLint *params);
  348. GLAPI void APIENTRY glGetTexLevelParameterfv (GLenum target, GLint level, GLenum pname, GLfloat *params);
  349. GLAPI void APIENTRY glGetTexLevelParameteriv (GLenum target, GLint level, GLenum pname, GLint *params);
  350. GLAPI GLboolean APIENTRY glIsEnabled (GLenum cap);
  351. GLAPI void APIENTRY glDepthRange (GLdouble near, GLdouble far);
  352. GLAPI void APIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
  353. #endif
  354. #endif /* GL_VERSION_1_0 */
  355. #ifndef GL_VERSION_1_1
  356. #define GL_VERSION_1_1 1
  357. typedef float GLclampf;
  358. typedef double GLclampd;
  359. #define GL_COLOR_LOGIC_OP 0x0BF2
  360. #define GL_POLYGON_OFFSET_UNITS 0x2A00
  361. #define GL_POLYGON_OFFSET_POINT 0x2A01
  362. #define GL_POLYGON_OFFSET_LINE 0x2A02
  363. #define GL_POLYGON_OFFSET_FILL 0x8037
  364. #define GL_POLYGON_OFFSET_FACTOR 0x8038
  365. #define GL_TEXTURE_BINDING_1D 0x8068
  366. #define GL_TEXTURE_BINDING_2D 0x8069
  367. #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
  368. #define GL_TEXTURE_RED_SIZE 0x805C
  369. #define GL_TEXTURE_GREEN_SIZE 0x805D
  370. #define GL_TEXTURE_BLUE_SIZE 0x805E
  371. #define GL_TEXTURE_ALPHA_SIZE 0x805F
  372. #define GL_DOUBLE 0x140A
  373. #define GL_PROXY_TEXTURE_1D 0x8063
  374. #define GL_PROXY_TEXTURE_2D 0x8064
  375. #define GL_R3_G3_B2 0x2A10
  376. #define GL_RGB4 0x804F
  377. #define GL_RGB5 0x8050
  378. #define GL_RGB8 0x8051
  379. #define GL_RGB10 0x8052
  380. #define GL_RGB12 0x8053
  381. #define GL_RGB16 0x8054
  382. #define GL_RGBA2 0x8055
  383. #define GL_RGBA4 0x8056
  384. #define GL_RGB5_A1 0x8057
  385. #define GL_RGBA8 0x8058
  386. #define GL_RGB10_A2 0x8059
  387. #define GL_RGBA12 0x805A
  388. #define GL_RGBA16 0x805B
  389. #define GL_VERTEX_ARRAY 0x8074
  390. typedef void (APIENTRYP PFNGLDRAWARRAYSPROC) (GLenum mode, GLint first, GLsizei count);
  391. typedef void (APIENTRYP PFNGLDRAWELEMENTSPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices);
  392. typedef void (APIENTRYP PFNGLGETPOINTERVPROC) (GLenum pname, void **params);
  393. typedef void (APIENTRYP PFNGLPOLYGONOFFSETPROC) (GLfloat factor, GLfloat units);
  394. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  395. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  396. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  397. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  398. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  399. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  400. typedef void (APIENTRYP PFNGLBINDTEXTUREPROC) (GLenum target, GLuint texture);
  401. typedef void (APIENTRYP PFNGLDELETETEXTURESPROC) (GLsizei n, const GLuint *textures);
  402. typedef void (APIENTRYP PFNGLGENTEXTURESPROC) (GLsizei n, GLuint *textures);
  403. typedef GLboolean (APIENTRYP PFNGLISTEXTUREPROC) (GLuint texture);
  404. #ifdef GL_GLEXT_PROTOTYPES
  405. GLAPI void APIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
  406. GLAPI void APIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const void *indices);
  407. GLAPI void APIENTRY glGetPointerv (GLenum pname, void **params);
  408. GLAPI void APIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
  409. GLAPI void APIENTRY glCopyTexImage1D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  410. GLAPI void APIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  411. GLAPI void APIENTRY glCopyTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  412. GLAPI void APIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  413. GLAPI void APIENTRY glTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  414. GLAPI void APIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  415. GLAPI void APIENTRY glBindTexture (GLenum target, GLuint texture);
  416. GLAPI void APIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
  417. GLAPI void APIENTRY glGenTextures (GLsizei n, GLuint *textures);
  418. GLAPI GLboolean APIENTRY glIsTexture (GLuint texture);
  419. #endif
  420. #endif /* GL_VERSION_1_1 */
  421. #ifndef GL_VERSION_1_2
  422. #define GL_VERSION_1_2 1
  423. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  424. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  425. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  426. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  427. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  428. #define GL_TEXTURE_BINDING_3D 0x806A
  429. #define GL_PACK_SKIP_IMAGES 0x806B
  430. #define GL_PACK_IMAGE_HEIGHT 0x806C
  431. #define GL_UNPACK_SKIP_IMAGES 0x806D
  432. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  433. #define GL_TEXTURE_3D 0x806F
  434. #define GL_PROXY_TEXTURE_3D 0x8070
  435. #define GL_TEXTURE_DEPTH 0x8071
  436. #define GL_TEXTURE_WRAP_R 0x8072
  437. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  438. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  439. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  440. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  441. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  442. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  443. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  444. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  445. #define GL_BGR 0x80E0
  446. #define GL_BGRA 0x80E1
  447. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  448. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  449. #define GL_CLAMP_TO_EDGE 0x812F
  450. #define GL_TEXTURE_MIN_LOD 0x813A
  451. #define GL_TEXTURE_MAX_LOD 0x813B
  452. #define GL_TEXTURE_BASE_LEVEL 0x813C
  453. #define GL_TEXTURE_MAX_LEVEL 0x813D
  454. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  455. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  456. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  457. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  458. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  459. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  460. typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  461. typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  462. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  463. #ifdef GL_GLEXT_PROTOTYPES
  464. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices);
  465. GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  466. GLAPI void APIENTRY glTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  467. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  468. #endif
  469. #endif /* GL_VERSION_1_2 */
  470. #ifndef GL_VERSION_1_3
  471. #define GL_VERSION_1_3 1
  472. #define GL_TEXTURE0 0x84C0
  473. #define GL_TEXTURE1 0x84C1
  474. #define GL_TEXTURE2 0x84C2
  475. #define GL_TEXTURE3 0x84C3
  476. #define GL_TEXTURE4 0x84C4
  477. #define GL_TEXTURE5 0x84C5
  478. #define GL_TEXTURE6 0x84C6
  479. #define GL_TEXTURE7 0x84C7
  480. #define GL_TEXTURE8 0x84C8
  481. #define GL_TEXTURE9 0x84C9
  482. #define GL_TEXTURE10 0x84CA
  483. #define GL_TEXTURE11 0x84CB
  484. #define GL_TEXTURE12 0x84CC
  485. #define GL_TEXTURE13 0x84CD
  486. #define GL_TEXTURE14 0x84CE
  487. #define GL_TEXTURE15 0x84CF
  488. #define GL_TEXTURE16 0x84D0
  489. #define GL_TEXTURE17 0x84D1
  490. #define GL_TEXTURE18 0x84D2
  491. #define GL_TEXTURE19 0x84D3
  492. #define GL_TEXTURE20 0x84D4
  493. #define GL_TEXTURE21 0x84D5
  494. #define GL_TEXTURE22 0x84D6
  495. #define GL_TEXTURE23 0x84D7
  496. #define GL_TEXTURE24 0x84D8
  497. #define GL_TEXTURE25 0x84D9
  498. #define GL_TEXTURE26 0x84DA
  499. #define GL_TEXTURE27 0x84DB
  500. #define GL_TEXTURE28 0x84DC
  501. #define GL_TEXTURE29 0x84DD
  502. #define GL_TEXTURE30 0x84DE
  503. #define GL_TEXTURE31 0x84DF
  504. #define GL_ACTIVE_TEXTURE 0x84E0
  505. #define GL_MULTISAMPLE 0x809D
  506. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  507. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  508. #define GL_SAMPLE_COVERAGE 0x80A0
  509. #define GL_SAMPLE_BUFFERS 0x80A8
  510. #define GL_SAMPLES 0x80A9
  511. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  512. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  513. #define GL_TEXTURE_CUBE_MAP 0x8513
  514. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  515. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  516. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  517. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  518. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  519. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  520. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  521. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  522. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  523. #define GL_COMPRESSED_RGB 0x84ED
  524. #define GL_COMPRESSED_RGBA 0x84EE
  525. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  526. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  527. #define GL_TEXTURE_COMPRESSED 0x86A1
  528. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  529. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  530. #define GL_CLAMP_TO_BORDER 0x812D
  531. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  532. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  533. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  534. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  535. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  536. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  537. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  538. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  539. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, void *img);
  540. #ifdef GL_GLEXT_PROTOTYPES
  541. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  542. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  543. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  544. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *data);
  545. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *data);
  546. GLAPI void APIENTRY glCompressedTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  547. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  548. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  549. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, void *img);
  550. #endif
  551. #endif /* GL_VERSION_1_3 */
  552. #ifndef GL_VERSION_1_4
  553. #define GL_VERSION_1_4 1
  554. #define GL_BLEND_DST_RGB 0x80C8
  555. #define GL_BLEND_SRC_RGB 0x80C9
  556. #define GL_BLEND_DST_ALPHA 0x80CA
  557. #define GL_BLEND_SRC_ALPHA 0x80CB
  558. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  559. #define GL_DEPTH_COMPONENT16 0x81A5
  560. #define GL_DEPTH_COMPONENT24 0x81A6
  561. #define GL_DEPTH_COMPONENT32 0x81A7
  562. #define GL_MIRRORED_REPEAT 0x8370
  563. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  564. #define GL_TEXTURE_LOD_BIAS 0x8501
  565. #define GL_INCR_WRAP 0x8507
  566. #define GL_DECR_WRAP 0x8508
  567. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  568. #define GL_TEXTURE_COMPARE_MODE 0x884C
  569. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  570. #define GL_FUNC_ADD 0x8006
  571. #define GL_FUNC_SUBTRACT 0x800A
  572. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  573. #define GL_MIN 0x8007
  574. #define GL_MAX 0x8008
  575. #define GL_CONSTANT_COLOR 0x8001
  576. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  577. #define GL_CONSTANT_ALPHA 0x8003
  578. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  579. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  580. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  581. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  582. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  583. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  584. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  585. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  586. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  587. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  588. #ifdef GL_GLEXT_PROTOTYPES
  589. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  590. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  591. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount);
  592. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  593. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  594. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  595. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  596. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  597. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  598. #endif
  599. #endif /* GL_VERSION_1_4 */
  600. #ifndef GL_VERSION_1_5
  601. #define GL_VERSION_1_5 1
  602. #include <stddef.h>
  603. typedef ptrdiff_t GLsizeiptr;
  604. typedef ptrdiff_t GLintptr;
  605. #define GL_BUFFER_SIZE 0x8764
  606. #define GL_BUFFER_USAGE 0x8765
  607. #define GL_QUERY_COUNTER_BITS 0x8864
  608. #define GL_CURRENT_QUERY 0x8865
  609. #define GL_QUERY_RESULT 0x8866
  610. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  611. #define GL_ARRAY_BUFFER 0x8892
  612. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  613. #define GL_ARRAY_BUFFER_BINDING 0x8894
  614. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  615. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  616. #define GL_READ_ONLY 0x88B8
  617. #define GL_WRITE_ONLY 0x88B9
  618. #define GL_READ_WRITE 0x88BA
  619. #define GL_BUFFER_ACCESS 0x88BB
  620. #define GL_BUFFER_MAPPED 0x88BC
  621. #define GL_BUFFER_MAP_POINTER 0x88BD
  622. #define GL_STREAM_DRAW 0x88E0
  623. #define GL_STREAM_READ 0x88E1
  624. #define GL_STREAM_COPY 0x88E2
  625. #define GL_STATIC_DRAW 0x88E4
  626. #define GL_STATIC_READ 0x88E5
  627. #define GL_STATIC_COPY 0x88E6
  628. #define GL_DYNAMIC_DRAW 0x88E8
  629. #define GL_DYNAMIC_READ 0x88E9
  630. #define GL_DYNAMIC_COPY 0x88EA
  631. #define GL_SAMPLES_PASSED 0x8914
  632. #define GL_SRC1_ALPHA 0x8589
  633. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  634. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  635. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  636. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  637. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  638. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  639. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  640. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  641. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  642. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  643. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  644. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  645. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  646. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  647. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  648. typedef void *(APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  649. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  650. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  651. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, void **params);
  652. #ifdef GL_GLEXT_PROTOTYPES
  653. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  654. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  655. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  656. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  657. GLAPI void APIENTRY glEndQuery (GLenum target);
  658. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  659. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  660. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  661. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  662. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  663. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  664. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  665. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const void *data, GLenum usage);
  666. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const void *data);
  667. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, void *data);
  668. GLAPI void *APIENTRY glMapBuffer (GLenum target, GLenum access);
  669. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  670. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  671. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, void **params);
  672. #endif
  673. #endif /* GL_VERSION_1_5 */
  674. #ifndef GL_VERSION_2_0
  675. #define GL_VERSION_2_0 1
  676. typedef char GLchar;
  677. typedef short GLshort;
  678. typedef signed char GLbyte;
  679. typedef unsigned short GLushort;
  680. #define GL_BLEND_EQUATION_RGB 0x8009
  681. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  682. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  683. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  684. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  685. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  686. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  687. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  688. #define GL_STENCIL_BACK_FUNC 0x8800
  689. #define GL_STENCIL_BACK_FAIL 0x8801
  690. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  691. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  692. #define GL_MAX_DRAW_BUFFERS 0x8824
  693. #define GL_DRAW_BUFFER0 0x8825
  694. #define GL_DRAW_BUFFER1 0x8826
  695. #define GL_DRAW_BUFFER2 0x8827
  696. #define GL_DRAW_BUFFER3 0x8828
  697. #define GL_DRAW_BUFFER4 0x8829
  698. #define GL_DRAW_BUFFER5 0x882A
  699. #define GL_DRAW_BUFFER6 0x882B
  700. #define GL_DRAW_BUFFER7 0x882C
  701. #define GL_DRAW_BUFFER8 0x882D
  702. #define GL_DRAW_BUFFER9 0x882E
  703. #define GL_DRAW_BUFFER10 0x882F
  704. #define GL_DRAW_BUFFER11 0x8830
  705. #define GL_DRAW_BUFFER12 0x8831
  706. #define GL_DRAW_BUFFER13 0x8832
  707. #define GL_DRAW_BUFFER14 0x8833
  708. #define GL_DRAW_BUFFER15 0x8834
  709. #define GL_BLEND_EQUATION_ALPHA 0x883D
  710. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  711. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  712. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  713. #define GL_FRAGMENT_SHADER 0x8B30
  714. #define GL_VERTEX_SHADER 0x8B31
  715. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  716. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  717. #define GL_MAX_VARYING_FLOATS 0x8B4B
  718. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  719. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  720. #define GL_SHADER_TYPE 0x8B4F
  721. #define GL_FLOAT_VEC2 0x8B50
  722. #define GL_FLOAT_VEC3 0x8B51
  723. #define GL_FLOAT_VEC4 0x8B52
  724. #define GL_INT_VEC2 0x8B53
  725. #define GL_INT_VEC3 0x8B54
  726. #define GL_INT_VEC4 0x8B55
  727. #define GL_BOOL 0x8B56
  728. #define GL_BOOL_VEC2 0x8B57
  729. #define GL_BOOL_VEC3 0x8B58
  730. #define GL_BOOL_VEC4 0x8B59
  731. #define GL_FLOAT_MAT2 0x8B5A
  732. #define GL_FLOAT_MAT3 0x8B5B
  733. #define GL_FLOAT_MAT4 0x8B5C
  734. #define GL_SAMPLER_1D 0x8B5D
  735. #define GL_SAMPLER_2D 0x8B5E
  736. #define GL_SAMPLER_3D 0x8B5F
  737. #define GL_SAMPLER_CUBE 0x8B60
  738. #define GL_SAMPLER_1D_SHADOW 0x8B61
  739. #define GL_SAMPLER_2D_SHADOW 0x8B62
  740. #define GL_DELETE_STATUS 0x8B80
  741. #define GL_COMPILE_STATUS 0x8B81
  742. #define GL_LINK_STATUS 0x8B82
  743. #define GL_VALIDATE_STATUS 0x8B83
  744. #define GL_INFO_LOG_LENGTH 0x8B84
  745. #define GL_ATTACHED_SHADERS 0x8B85
  746. #define GL_ACTIVE_UNIFORMS 0x8B86
  747. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  748. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  749. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  750. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  751. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  752. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  753. #define GL_CURRENT_PROGRAM 0x8B8D
  754. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  755. #define GL_LOWER_LEFT 0x8CA1
  756. #define GL_UPPER_LEFT 0x8CA2
  757. #define GL_STENCIL_BACK_REF 0x8CA3
  758. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  759. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  760. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  761. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  762. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  763. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  764. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  765. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  766. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  767. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  768. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  769. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  770. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  771. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  772. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  773. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  774. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  775. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  776. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  777. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  778. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  779. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  780. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  781. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  782. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  783. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  784. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  785. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  786. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  787. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  788. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  789. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  790. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, void **pointer);
  791. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  792. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  793. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  794. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  795. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  796. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  797. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  798. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  799. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  800. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  801. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  802. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  803. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  804. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  805. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  806. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  807. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  808. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  809. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  810. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  811. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  812. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  813. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  814. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  815. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  816. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  817. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  818. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  819. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  820. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  821. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  822. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  823. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  824. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  825. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  826. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  827. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  828. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  829. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  830. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  831. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  832. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  833. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  834. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  835. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  836. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  837. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  838. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  839. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  840. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  841. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  842. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  843. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  844. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  845. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  846. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  847. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  848. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  849. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  850. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  851. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  852. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  853. #ifdef GL_GLEXT_PROTOTYPES
  854. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  855. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  856. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  857. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  858. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  859. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  860. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  861. GLAPI void APIENTRY glCompileShader (GLuint shader);
  862. GLAPI GLuint APIENTRY glCreateProgram (void);
  863. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  864. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  865. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  866. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  867. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  868. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  869. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  870. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  871. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *shaders);
  872. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  873. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  874. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  875. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  876. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  877. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  878. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  879. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  880. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  881. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  882. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  883. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  884. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, void **pointer);
  885. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  886. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  887. GLAPI void APIENTRY glLinkProgram (GLuint program);
  888. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar *const*string, const GLint *length);
  889. GLAPI void APIENTRY glUseProgram (GLuint program);
  890. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  891. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  892. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  893. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  894. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  895. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  896. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  897. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  898. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  899. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  900. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  901. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  902. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  903. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  904. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  905. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  906. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  907. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  908. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  909. GLAPI void APIENTRY glValidateProgram (GLuint program);
  910. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  911. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  912. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  913. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  914. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  915. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  916. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  917. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  918. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  919. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  920. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  921. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  922. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  923. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  924. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  925. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  926. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  927. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  928. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  929. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  930. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  931. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  932. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  933. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  934. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  935. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  936. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  937. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  938. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  939. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  940. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  941. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  942. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  943. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  944. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  945. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  946. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
  947. #endif
  948. #endif /* GL_VERSION_2_0 */
  949. #ifndef GL_VERSION_2_1
  950. #define GL_VERSION_2_1 1
  951. #define GL_PIXEL_PACK_BUFFER 0x88EB
  952. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  953. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  954. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  955. #define GL_FLOAT_MAT2x3 0x8B65
  956. #define GL_FLOAT_MAT2x4 0x8B66
  957. #define GL_FLOAT_MAT3x2 0x8B67
  958. #define GL_FLOAT_MAT3x4 0x8B68
  959. #define GL_FLOAT_MAT4x2 0x8B69
  960. #define GL_FLOAT_MAT4x3 0x8B6A
  961. #define GL_SRGB 0x8C40
  962. #define GL_SRGB8 0x8C41
  963. #define GL_SRGB_ALPHA 0x8C42
  964. #define GL_SRGB8_ALPHA8 0x8C43
  965. #define GL_COMPRESSED_SRGB 0x8C48
  966. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  967. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  968. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  969. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  970. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  971. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  972. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  973. #ifdef GL_GLEXT_PROTOTYPES
  974. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  975. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  976. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  977. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  978. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  979. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  980. #endif
  981. #endif /* GL_VERSION_2_1 */
  982. #ifndef GL_VERSION_3_0
  983. #define GL_VERSION_3_0 1
  984. typedef unsigned short GLhalf;
  985. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  986. #define GL_CLIP_DISTANCE0 0x3000
  987. #define GL_CLIP_DISTANCE1 0x3001
  988. #define GL_CLIP_DISTANCE2 0x3002
  989. #define GL_CLIP_DISTANCE3 0x3003
  990. #define GL_CLIP_DISTANCE4 0x3004
  991. #define GL_CLIP_DISTANCE5 0x3005
  992. #define GL_CLIP_DISTANCE6 0x3006
  993. #define GL_CLIP_DISTANCE7 0x3007
  994. #define GL_MAX_CLIP_DISTANCES 0x0D32
  995. #define GL_MAJOR_VERSION 0x821B
  996. #define GL_MINOR_VERSION 0x821C
  997. #define GL_NUM_EXTENSIONS 0x821D
  998. #define GL_CONTEXT_FLAGS 0x821E
  999. #define GL_COMPRESSED_RED 0x8225
  1000. #define GL_COMPRESSED_RG 0x8226
  1001. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x00000001
  1002. #define GL_RGBA32F 0x8814
  1003. #define GL_RGB32F 0x8815
  1004. #define GL_RGBA16F 0x881A
  1005. #define GL_RGB16F 0x881B
  1006. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  1007. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  1008. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  1009. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  1010. #define GL_CLAMP_READ_COLOR 0x891C
  1011. #define GL_FIXED_ONLY 0x891D
  1012. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  1013. #define GL_TEXTURE_1D_ARRAY 0x8C18
  1014. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  1015. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  1016. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  1017. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  1018. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  1019. #define GL_R11F_G11F_B10F 0x8C3A
  1020. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  1021. #define GL_RGB9_E5 0x8C3D
  1022. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  1023. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  1024. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  1025. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  1026. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  1027. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  1028. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  1029. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  1030. #define GL_PRIMITIVES_GENERATED 0x8C87
  1031. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  1032. #define GL_RASTERIZER_DISCARD 0x8C89
  1033. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  1034. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  1035. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  1036. #define GL_SEPARATE_ATTRIBS 0x8C8D
  1037. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  1038. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  1039. #define GL_RGBA32UI 0x8D70
  1040. #define GL_RGB32UI 0x8D71
  1041. #define GL_RGBA16UI 0x8D76
  1042. #define GL_RGB16UI 0x8D77
  1043. #define GL_RGBA8UI 0x8D7C
  1044. #define GL_RGB8UI 0x8D7D
  1045. #define GL_RGBA32I 0x8D82
  1046. #define GL_RGB32I 0x8D83
  1047. #define GL_RGBA16I 0x8D88
  1048. #define GL_RGB16I 0x8D89
  1049. #define GL_RGBA8I 0x8D8E
  1050. #define GL_RGB8I 0x8D8F
  1051. #define GL_RED_INTEGER 0x8D94
  1052. #define GL_GREEN_INTEGER 0x8D95
  1053. #define GL_BLUE_INTEGER 0x8D96
  1054. #define GL_RGB_INTEGER 0x8D98
  1055. #define GL_RGBA_INTEGER 0x8D99
  1056. #define GL_BGR_INTEGER 0x8D9A
  1057. #define GL_BGRA_INTEGER 0x8D9B
  1058. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  1059. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  1060. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  1061. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  1062. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  1063. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  1064. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  1065. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  1066. #define GL_INT_SAMPLER_1D 0x8DC9
  1067. #define GL_INT_SAMPLER_2D 0x8DCA
  1068. #define GL_INT_SAMPLER_3D 0x8DCB
  1069. #define GL_INT_SAMPLER_CUBE 0x8DCC
  1070. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  1071. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  1072. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  1073. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  1074. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  1075. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  1076. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  1077. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  1078. #define GL_QUERY_WAIT 0x8E13
  1079. #define GL_QUERY_NO_WAIT 0x8E14
  1080. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  1081. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  1082. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  1083. #define GL_BUFFER_MAP_LENGTH 0x9120
  1084. #define GL_BUFFER_MAP_OFFSET 0x9121
  1085. #define GL_DEPTH_COMPONENT32F 0x8CAC
  1086. #define GL_DEPTH32F_STENCIL8 0x8CAD
  1087. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1088. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  1089. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1090. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1091. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1092. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1093. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1094. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1095. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1096. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1097. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  1098. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  1099. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  1100. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  1101. #define GL_DEPTH_STENCIL 0x84F9
  1102. #define GL_UNSIGNED_INT_24_8 0x84FA
  1103. #define GL_DEPTH24_STENCIL8 0x88F0
  1104. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  1105. #define GL_TEXTURE_RED_TYPE 0x8C10
  1106. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1107. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1108. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1109. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1110. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1111. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1112. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  1113. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1114. #define GL_READ_FRAMEBUFFER 0x8CA8
  1115. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1116. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1117. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1118. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1119. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1120. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1121. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1122. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1123. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1124. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1125. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1126. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1127. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1128. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1129. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1130. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1131. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1132. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1133. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1134. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1135. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1136. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1137. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1138. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1139. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1140. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1141. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1142. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1143. #define GL_COLOR_ATTACHMENT13 0x8CED
  1144. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1145. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1146. #define GL_COLOR_ATTACHMENT16 0x8CF0
  1147. #define GL_COLOR_ATTACHMENT17 0x8CF1
  1148. #define GL_COLOR_ATTACHMENT18 0x8CF2
  1149. #define GL_COLOR_ATTACHMENT19 0x8CF3
  1150. #define GL_COLOR_ATTACHMENT20 0x8CF4
  1151. #define GL_COLOR_ATTACHMENT21 0x8CF5
  1152. #define GL_COLOR_ATTACHMENT22 0x8CF6
  1153. #define GL_COLOR_ATTACHMENT23 0x8CF7
  1154. #define GL_COLOR_ATTACHMENT24 0x8CF8
  1155. #define GL_COLOR_ATTACHMENT25 0x8CF9
  1156. #define GL_COLOR_ATTACHMENT26 0x8CFA
  1157. #define GL_COLOR_ATTACHMENT27 0x8CFB
  1158. #define GL_COLOR_ATTACHMENT28 0x8CFC
  1159. #define GL_COLOR_ATTACHMENT29 0x8CFD
  1160. #define GL_COLOR_ATTACHMENT30 0x8CFE
  1161. #define GL_COLOR_ATTACHMENT31 0x8CFF
  1162. #define GL_DEPTH_ATTACHMENT 0x8D00
  1163. #define GL_STENCIL_ATTACHMENT 0x8D20
  1164. #define GL_FRAMEBUFFER 0x8D40
  1165. #define GL_RENDERBUFFER 0x8D41
  1166. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1167. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1168. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1169. #define GL_STENCIL_INDEX1 0x8D46
  1170. #define GL_STENCIL_INDEX4 0x8D47
  1171. #define GL_STENCIL_INDEX8 0x8D48
  1172. #define GL_STENCIL_INDEX16 0x8D49
  1173. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1174. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1175. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1176. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1177. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1178. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1179. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1180. #define GL_MAX_SAMPLES 0x8D57
  1181. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1182. #define GL_HALF_FLOAT 0x140B
  1183. #define GL_MAP_READ_BIT 0x0001
  1184. #define GL_MAP_WRITE_BIT 0x0002
  1185. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1186. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1187. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1188. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1189. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  1190. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  1191. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  1192. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  1193. #define GL_RG 0x8227
  1194. #define GL_RG_INTEGER 0x8228
  1195. #define GL_R8 0x8229
  1196. #define GL_R16 0x822A
  1197. #define GL_RG8 0x822B
  1198. #define GL_RG16 0x822C
  1199. #define GL_R16F 0x822D
  1200. #define GL_R32F 0x822E
  1201. #define GL_RG16F 0x822F
  1202. #define GL_RG32F 0x8230
  1203. #define GL_R8I 0x8231
  1204. #define GL_R8UI 0x8232
  1205. #define GL_R16I 0x8233
  1206. #define GL_R16UI 0x8234
  1207. #define GL_R32I 0x8235
  1208. #define GL_R32UI 0x8236
  1209. #define GL_RG8I 0x8237
  1210. #define GL_RG8UI 0x8238
  1211. #define GL_RG16I 0x8239
  1212. #define GL_RG16UI 0x823A
  1213. #define GL_RG32I 0x823B
  1214. #define GL_RG32UI 0x823C
  1215. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  1216. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1217. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  1218. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  1219. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  1220. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  1221. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  1222. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  1223. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  1224. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1225. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  1226. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1227. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1228. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  1229. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  1230. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  1231. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1232. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  1233. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  1234. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  1235. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  1236. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  1237. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1238. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  1239. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  1240. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  1241. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1242. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  1243. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  1244. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  1245. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  1246. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  1247. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  1248. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  1249. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  1250. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  1251. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  1252. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  1253. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  1254. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  1255. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  1256. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  1257. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  1258. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  1259. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1260. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1261. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1262. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1263. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1264. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  1265. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1266. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  1267. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  1268. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  1269. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  1270. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1271. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1272. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1273. typedef const GLubyte *(APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  1274. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  1275. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  1276. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  1277. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  1278. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1279. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1280. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  1281. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  1282. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  1283. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  1284. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  1285. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1286. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1287. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1288. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1289. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1290. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  1291. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1292. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1293. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1294. typedef void *(APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1295. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1296. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  1297. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  1298. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  1299. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  1300. #ifdef GL_GLEXT_PROTOTYPES
  1301. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1302. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  1303. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  1304. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  1305. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  1306. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  1307. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  1308. GLAPI void APIENTRY glEndTransformFeedback (void);
  1309. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1310. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  1311. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar *const*varyings, GLenum bufferMode);
  1312. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  1313. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  1314. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  1315. GLAPI void APIENTRY glEndConditionalRender (void);
  1316. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1317. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  1318. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  1319. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  1320. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  1321. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  1322. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  1323. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  1324. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  1325. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  1326. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  1327. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  1328. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  1329. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  1330. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  1331. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  1332. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  1333. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  1334. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  1335. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  1336. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  1337. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  1338. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  1339. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  1340. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  1341. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  1342. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  1343. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  1344. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  1345. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1346. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  1347. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  1348. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  1349. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  1350. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  1351. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  1352. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  1353. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  1354. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  1355. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  1356. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  1357. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  1358. GLAPI const GLubyte *APIENTRY glGetStringi (GLenum name, GLuint index);
  1359. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  1360. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  1361. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  1362. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  1363. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  1364. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  1365. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  1366. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  1367. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  1368. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  1369. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  1370. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1371. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  1372. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  1373. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  1374. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  1375. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  1376. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  1377. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1378. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  1379. GLAPI void *APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1380. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  1381. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  1382. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  1383. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  1384. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  1385. #endif
  1386. #endif /* GL_VERSION_3_0 */
  1387. #ifndef GL_VERSION_3_1
  1388. #define GL_VERSION_3_1 1
  1389. #define GL_SAMPLER_2D_RECT 0x8B63
  1390. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  1391. #define GL_SAMPLER_BUFFER 0x8DC2
  1392. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  1393. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  1394. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  1395. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  1396. #define GL_TEXTURE_BUFFER 0x8C2A
  1397. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  1398. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  1399. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  1400. #define GL_TEXTURE_RECTANGLE 0x84F5
  1401. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  1402. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  1403. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  1404. #define GL_R8_SNORM 0x8F94
  1405. #define GL_RG8_SNORM 0x8F95
  1406. #define GL_RGB8_SNORM 0x8F96
  1407. #define GL_RGBA8_SNORM 0x8F97
  1408. #define GL_R16_SNORM 0x8F98
  1409. #define GL_RG16_SNORM 0x8F99
  1410. #define GL_RGB16_SNORM 0x8F9A
  1411. #define GL_RGBA16_SNORM 0x8F9B
  1412. #define GL_SIGNED_NORMALIZED 0x8F9C
  1413. #define GL_PRIMITIVE_RESTART 0x8F9D
  1414. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  1415. #define GL_COPY_READ_BUFFER 0x8F36
  1416. #define GL_COPY_WRITE_BUFFER 0x8F37
  1417. #define GL_UNIFORM_BUFFER 0x8A11
  1418. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  1419. #define GL_UNIFORM_BUFFER_START 0x8A29
  1420. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  1421. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  1422. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  1423. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  1424. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  1425. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  1426. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  1427. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  1428. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  1429. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  1430. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  1431. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  1432. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  1433. #define GL_UNIFORM_TYPE 0x8A37
  1434. #define GL_UNIFORM_SIZE 0x8A38
  1435. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  1436. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  1437. #define GL_UNIFORM_OFFSET 0x8A3B
  1438. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  1439. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  1440. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  1441. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  1442. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  1443. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  1444. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  1445. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  1446. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  1447. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  1448. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  1449. #define GL_INVALID_INDEX 0xFFFFFFFFu
  1450. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1451. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1452. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1453. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  1454. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1455. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1456. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1457. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1458. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  1459. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1460. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1461. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1462. #ifdef GL_GLEXT_PROTOTYPES
  1463. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  1464. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount);
  1465. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  1466. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  1467. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  1468. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar *const*uniformNames, GLuint *uniformIndices);
  1469. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  1470. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  1471. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  1472. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  1473. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  1474. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  1475. #endif
  1476. #endif /* GL_VERSION_3_1 */
  1477. #ifndef GL_VERSION_3_2
  1478. #define GL_VERSION_3_2 1
  1479. typedef struct __GLsync *GLsync;
  1480. #ifndef GLEXT_64_TYPES_DEFINED
  1481. /* This code block is duplicated in glxext.h, so must be protected */
  1482. #define GLEXT_64_TYPES_DEFINED
  1483. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  1484. /* (as used in the GL_EXT_timer_query extension). */
  1485. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  1486. #include <inttypes.h>
  1487. #elif defined(__sun__) || defined(__digital__)
  1488. #include <inttypes.h>
  1489. #if defined(__STDC__)
  1490. #if defined(__arch64__) || defined(_LP64)
  1491. typedef long int int64_t;
  1492. typedef unsigned long int uint64_t;
  1493. #else
  1494. typedef long long int int64_t;
  1495. typedef unsigned long long int uint64_t;
  1496. #endif /* __arch64__ */
  1497. #endif /* __STDC__ */
  1498. #elif defined( __VMS ) || defined(__sgi)
  1499. #include <inttypes.h>
  1500. #elif defined(__SCO__) || defined(__USLC__)
  1501. #include <stdint.h>
  1502. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  1503. typedef long int int32_t;
  1504. typedef long long int int64_t;
  1505. typedef unsigned long long int uint64_t;
  1506. #elif defined(_WIN32) && defined(__GNUC__)
  1507. #include <stdint.h>
  1508. #elif defined(_WIN32)
  1509. typedef __int32 int32_t;
  1510. typedef __int64 int64_t;
  1511. typedef unsigned __int64 uint64_t;
  1512. #else
  1513. /* Fallback if nothing above works */
  1514. #include <inttypes.h>
  1515. #endif
  1516. #endif
  1517. typedef uint64_t GLuint64;
  1518. typedef int64_t GLint64;
  1519. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  1520. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  1521. #define GL_LINES_ADJACENCY 0x000A
  1522. #define GL_LINE_STRIP_ADJACENCY 0x000B
  1523. #define GL_TRIANGLES_ADJACENCY 0x000C
  1524. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  1525. #define GL_PROGRAM_POINT_SIZE 0x8642
  1526. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  1527. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  1528. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  1529. #define GL_GEOMETRY_SHADER 0x8DD9
  1530. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  1531. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  1532. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  1533. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  1534. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  1535. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  1536. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  1537. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  1538. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  1539. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  1540. #define GL_CONTEXT_PROFILE_MASK 0x9126
  1541. #define GL_DEPTH_CLAMP 0x864F
  1542. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  1543. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  1544. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  1545. #define GL_PROVOKING_VERTEX 0x8E4F
  1546. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  1547. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  1548. #define GL_OBJECT_TYPE 0x9112
  1549. #define GL_SYNC_CONDITION 0x9113
  1550. #define GL_SYNC_STATUS 0x9114
  1551. #define GL_SYNC_FLAGS 0x9115
  1552. #define GL_SYNC_FENCE 0x9116
  1553. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  1554. #define GL_UNSIGNALED 0x9118
  1555. #define GL_SIGNALED 0x9119
  1556. #define GL_ALREADY_SIGNALED 0x911A
  1557. #define GL_TIMEOUT_EXPIRED 0x911B
  1558. #define GL_CONDITION_SATISFIED 0x911C
  1559. #define GL_WAIT_FAILED 0x911D
  1560. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  1561. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  1562. #define GL_SAMPLE_POSITION 0x8E50
  1563. #define GL_SAMPLE_MASK 0x8E51
  1564. #define GL_SAMPLE_MASK_VALUE 0x8E52
  1565. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  1566. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  1567. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  1568. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  1569. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  1570. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  1571. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  1572. #define GL_TEXTURE_SAMPLES 0x9106
  1573. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  1574. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  1575. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  1576. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  1577. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  1578. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  1579. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  1580. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  1581. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  1582. #define GL_MAX_INTEGER_SAMPLES 0x9110
  1583. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1584. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1585. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1586. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1587. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  1588. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  1589. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  1590. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  1591. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1592. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1593. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *data);
  1594. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1595. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  1596. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  1597. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1598. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1599. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1600. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  1601. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint maskNumber, GLbitfield mask);
  1602. #ifdef GL_GLEXT_PROTOTYPES
  1603. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1604. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1605. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1606. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei drawcount, const GLint *basevertex);
  1607. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  1608. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  1609. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  1610. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  1611. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1612. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1613. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *data);
  1614. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1615. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  1616. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  1617. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1618. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  1619. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  1620. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  1621. GLAPI void APIENTRY glSampleMaski (GLuint maskNumber, GLbitfield mask);
  1622. #endif
  1623. #endif /* GL_VERSION_3_2 */
  1624. #ifndef GL_VERSION_3_3
  1625. #define GL_VERSION_3_3 1
  1626. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  1627. #define GL_SRC1_COLOR 0x88F9
  1628. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  1629. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  1630. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  1631. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  1632. #define GL_SAMPLER_BINDING 0x8919
  1633. #define GL_RGB10_A2UI 0x906F
  1634. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  1635. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  1636. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  1637. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  1638. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  1639. #define GL_TIME_ELAPSED 0x88BF
  1640. #define GL_TIMESTAMP 0x8E28
  1641. #define GL_INT_2_10_10_10_REV 0x8D9F
  1642. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1643. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  1644. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  1645. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  1646. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  1647. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  1648. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  1649. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1650. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  1651. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  1652. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1653. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1654. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1655. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  1656. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  1657. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1658. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  1659. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  1660. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1661. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  1662. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1663. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1664. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1665. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1666. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1667. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1668. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1669. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1670. #ifdef GL_GLEXT_PROTOTYPES
  1671. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1672. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  1673. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  1674. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  1675. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  1676. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  1677. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  1678. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  1679. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  1680. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  1681. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  1682. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  1683. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  1684. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  1685. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  1686. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  1687. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  1688. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  1689. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  1690. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  1691. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1692. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1693. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1694. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1695. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1696. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1697. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  1698. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  1699. #endif
  1700. #endif /* GL_VERSION_3_3 */
  1701. #ifndef GL_VERSION_4_0
  1702. #define GL_VERSION_4_0 1
  1703. #define GL_SAMPLE_SHADING 0x8C36
  1704. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  1705. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  1706. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  1707. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  1708. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  1709. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  1710. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  1711. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  1712. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  1713. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  1714. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  1715. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  1716. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  1717. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  1718. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  1719. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  1720. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  1721. #define GL_MAX_VERTEX_STREAMS 0x8E71
  1722. #define GL_DOUBLE_VEC2 0x8FFC
  1723. #define GL_DOUBLE_VEC3 0x8FFD
  1724. #define GL_DOUBLE_VEC4 0x8FFE
  1725. #define GL_DOUBLE_MAT2 0x8F46
  1726. #define GL_DOUBLE_MAT3 0x8F47
  1727. #define GL_DOUBLE_MAT4 0x8F48
  1728. #define GL_DOUBLE_MAT2x3 0x8F49
  1729. #define GL_DOUBLE_MAT2x4 0x8F4A
  1730. #define GL_DOUBLE_MAT3x2 0x8F4B
  1731. #define GL_DOUBLE_MAT3x4 0x8F4C
  1732. #define GL_DOUBLE_MAT4x2 0x8F4D
  1733. #define GL_DOUBLE_MAT4x3 0x8F4E
  1734. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  1735. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  1736. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  1737. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  1738. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  1739. #define GL_MAX_SUBROUTINES 0x8DE7
  1740. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  1741. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  1742. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  1743. #define GL_PATCHES 0x000E
  1744. #define GL_PATCH_VERTICES 0x8E72
  1745. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  1746. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  1747. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  1748. #define GL_TESS_GEN_MODE 0x8E76
  1749. #define GL_TESS_GEN_SPACING 0x8E77
  1750. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  1751. #define GL_TESS_GEN_POINT_MODE 0x8E79
  1752. #define GL_ISOLINES 0x8E7A
  1753. #define GL_FRACTIONAL_ODD 0x8E7B
  1754. #define GL_FRACTIONAL_EVEN 0x8E7C
  1755. #define GL_MAX_PATCH_VERTICES 0x8E7D
  1756. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  1757. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  1758. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  1759. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  1760. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  1761. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  1762. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  1763. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  1764. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  1765. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  1766. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  1767. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  1768. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  1769. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  1770. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  1771. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  1772. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  1773. #define GL_TESS_EVALUATION_SHADER 0x8E87
  1774. #define GL_TESS_CONTROL_SHADER 0x8E88
  1775. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1776. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  1777. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  1778. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  1779. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  1780. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  1781. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  1782. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1783. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  1784. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1785. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect);
  1786. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect);
  1787. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  1788. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  1789. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1790. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1791. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1792. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1793. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1794. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  1795. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1796. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1797. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1798. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1799. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1800. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1801. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1802. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1803. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1804. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  1805. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1806. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  1807. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1808. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1809. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1810. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  1811. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  1812. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1813. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  1814. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  1815. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  1816. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  1817. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  1818. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  1819. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  1820. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  1821. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  1822. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  1823. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  1824. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  1825. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  1826. #ifdef GL_GLEXT_PROTOTYPES
  1827. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  1828. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  1829. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1830. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  1831. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1832. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const void *indirect);
  1833. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect);
  1834. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  1835. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  1836. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  1837. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1838. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  1839. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  1840. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  1841. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  1842. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1843. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1844. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1845. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1846. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1847. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1848. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1849. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1850. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1851. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  1852. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  1853. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  1854. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  1855. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1856. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  1857. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  1858. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  1859. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  1860. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  1861. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  1862. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  1863. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  1864. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  1865. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  1866. GLAPI void APIENTRY glPauseTransformFeedback (void);
  1867. GLAPI void APIENTRY glResumeTransformFeedback (void);
  1868. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  1869. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  1870. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  1871. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  1872. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  1873. #endif
  1874. #endif /* GL_VERSION_4_0 */
  1875. #ifndef GL_VERSION_4_1
  1876. #define GL_VERSION_4_1 1
  1877. #define GL_FIXED 0x140C
  1878. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  1879. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  1880. #define GL_LOW_FLOAT 0x8DF0
  1881. #define GL_MEDIUM_FLOAT 0x8DF1
  1882. #define GL_HIGH_FLOAT 0x8DF2
  1883. #define GL_LOW_INT 0x8DF3
  1884. #define GL_MEDIUM_INT 0x8DF4
  1885. #define GL_HIGH_INT 0x8DF5
  1886. #define GL_SHADER_COMPILER 0x8DFA
  1887. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  1888. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  1889. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  1890. #define GL_MAX_VARYING_VECTORS 0x8DFC
  1891. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  1892. #define GL_RGB565 0x8D62
  1893. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  1894. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  1895. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  1896. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  1897. #define GL_VERTEX_SHADER_BIT 0x00000001
  1898. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  1899. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  1900. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  1901. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  1902. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  1903. #define GL_PROGRAM_SEPARABLE 0x8258
  1904. #define GL_ACTIVE_PROGRAM 0x8259
  1905. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  1906. #define GL_MAX_VIEWPORTS 0x825B
  1907. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  1908. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  1909. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  1910. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  1911. #define GL_UNDEFINED_VERTEX 0x8260
  1912. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  1913. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  1914. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  1915. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  1916. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  1917. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  1918. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  1919. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  1920. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1921. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  1922. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar *const*strings);
  1923. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  1924. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  1925. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  1926. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  1927. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1928. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  1929. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1930. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  1931. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1932. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  1933. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1934. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  1935. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1936. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1937. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1938. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1939. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1940. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  1941. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1942. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1943. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1944. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1945. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1946. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1947. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1948. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  1949. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1950. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1951. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1952. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1953. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1954. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1955. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1956. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  1957. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  1958. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1959. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1960. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1961. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1962. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1963. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1964. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1965. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1966. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1967. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1968. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1969. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1970. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1971. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1972. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1973. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1974. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1975. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1976. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1977. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  1978. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  1979. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1980. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  1981. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  1982. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  1983. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1984. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  1985. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  1986. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  1987. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  1988. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  1989. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  1990. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  1991. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  1992. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  1993. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  1994. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  1995. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  1996. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  1997. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  1998. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  1999. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  2000. #ifdef GL_GLEXT_PROTOTYPES
  2001. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  2002. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const void *binary, GLsizei length);
  2003. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  2004. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  2005. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  2006. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  2007. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const void *binary, GLsizei length);
  2008. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  2009. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  2010. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  2011. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar *const*strings);
  2012. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  2013. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  2014. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  2015. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  2016. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  2017. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  2018. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2019. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  2020. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2021. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  2022. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2023. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  2024. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2025. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  2026. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2027. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2028. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2029. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  2030. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2031. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  2032. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2033. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2034. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2035. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2036. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2037. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  2038. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2039. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2040. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2041. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2042. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  2043. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2044. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2045. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  2046. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  2047. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2048. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2049. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2050. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2051. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2052. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2053. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2054. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2055. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2056. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2057. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2058. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2059. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2060. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2061. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2062. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2063. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2064. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2065. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2066. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  2067. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  2068. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2069. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  2070. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  2071. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2072. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2073. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  2074. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  2075. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  2076. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  2077. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const void *pointer);
  2078. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  2079. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  2080. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2081. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  2082. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  2083. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2084. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  2085. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  2086. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  2087. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  2088. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  2089. #endif
  2090. #endif /* GL_VERSION_4_1 */
  2091. #ifndef GL_VERSION_4_2
  2092. #define GL_VERSION_4_2 1
  2093. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2094. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2095. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  2096. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  2097. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2098. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2099. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2100. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2101. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2102. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2103. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2104. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2105. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2106. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2107. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2108. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2109. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2110. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2111. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2112. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2113. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2114. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2115. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2116. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2117. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2118. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2119. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2120. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2121. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2122. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2123. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2124. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2125. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2126. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2127. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2128. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2129. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2130. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2131. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2132. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2133. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2134. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2135. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2136. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2137. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2138. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2139. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2140. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2141. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2142. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2143. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2144. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2145. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2146. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2147. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2148. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2149. #define GL_MAX_IMAGE_UNITS 0x8F38
  2150. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2151. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2152. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2153. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2154. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2155. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2156. #define GL_IMAGE_1D 0x904C
  2157. #define GL_IMAGE_2D 0x904D
  2158. #define GL_IMAGE_3D 0x904E
  2159. #define GL_IMAGE_2D_RECT 0x904F
  2160. #define GL_IMAGE_CUBE 0x9050
  2161. #define GL_IMAGE_BUFFER 0x9051
  2162. #define GL_IMAGE_1D_ARRAY 0x9052
  2163. #define GL_IMAGE_2D_ARRAY 0x9053
  2164. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2165. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2166. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2167. #define GL_INT_IMAGE_1D 0x9057
  2168. #define GL_INT_IMAGE_2D 0x9058
  2169. #define GL_INT_IMAGE_3D 0x9059
  2170. #define GL_INT_IMAGE_2D_RECT 0x905A
  2171. #define GL_INT_IMAGE_CUBE 0x905B
  2172. #define GL_INT_IMAGE_BUFFER 0x905C
  2173. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2174. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2175. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2176. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2177. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2178. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2179. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2180. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2181. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2182. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2183. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2184. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2185. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2186. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2187. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2188. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2189. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2190. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2191. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2192. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2193. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2194. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2195. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2196. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2197. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2198. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2199. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2200. #define GL_COMPRESSED_RGBA_BPTC_UNORM 0x8E8C
  2201. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM 0x8E8D
  2202. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT 0x8E8E
  2203. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT 0x8E8F
  2204. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2205. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2206. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2207. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2208. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2209. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2210. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2211. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  2212. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2213. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2214. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2215. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  2216. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2217. #ifdef GL_GLEXT_PROTOTYPES
  2218. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  2219. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  2220. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  2221. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  2222. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  2223. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  2224. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  2225. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2226. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2227. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2228. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  2229. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  2230. #endif
  2231. #endif /* GL_VERSION_4_2 */
  2232. #ifndef GL_VERSION_4_3
  2233. #define GL_VERSION_4_3 1
  2234. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2235. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  2236. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  2237. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2238. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2239. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2240. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2241. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2242. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2243. #define GL_COMPRESSED_R11_EAC 0x9270
  2244. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2245. #define GL_COMPRESSED_RG11_EAC 0x9272
  2246. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2247. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2248. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2249. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2250. #define GL_COMPUTE_SHADER 0x91B9
  2251. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2252. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2253. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2254. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2255. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2256. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2257. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2258. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2259. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  2260. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2261. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2262. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  2263. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2264. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2265. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2266. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2267. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2268. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2269. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2270. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2271. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2272. #define GL_DEBUG_SOURCE_API 0x8246
  2273. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2274. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2275. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2276. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2277. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2278. #define GL_DEBUG_TYPE_ERROR 0x824C
  2279. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2280. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2281. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2282. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2283. #define GL_DEBUG_TYPE_OTHER 0x8251
  2284. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2285. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2286. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2287. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2288. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2289. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2290. #define GL_DEBUG_TYPE_MARKER 0x8268
  2291. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2292. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2293. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2294. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2295. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2296. #define GL_BUFFER 0x82E0
  2297. #define GL_SHADER 0x82E1
  2298. #define GL_PROGRAM 0x82E2
  2299. #define GL_QUERY 0x82E3
  2300. #define GL_PROGRAM_PIPELINE 0x82E4
  2301. #define GL_SAMPLER 0x82E6
  2302. #define GL_MAX_LABEL_LENGTH 0x82E8
  2303. #define GL_DEBUG_OUTPUT 0x92E0
  2304. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2305. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2306. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2307. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2308. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2309. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2310. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2311. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2312. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2313. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2314. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2315. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2316. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2317. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2318. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2319. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2320. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2321. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2322. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2323. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2324. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2325. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2326. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2327. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2328. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2329. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2330. #define GL_MAX_WIDTH 0x827E
  2331. #define GL_MAX_HEIGHT 0x827F
  2332. #define GL_MAX_DEPTH 0x8280
  2333. #define GL_MAX_LAYERS 0x8281
  2334. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2335. #define GL_COLOR_COMPONENTS 0x8283
  2336. #define GL_DEPTH_COMPONENTS 0x8284
  2337. #define GL_STENCIL_COMPONENTS 0x8285
  2338. #define GL_COLOR_RENDERABLE 0x8286
  2339. #define GL_DEPTH_RENDERABLE 0x8287
  2340. #define GL_STENCIL_RENDERABLE 0x8288
  2341. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2342. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2343. #define GL_FRAMEBUFFER_BLEND 0x828B
  2344. #define GL_READ_PIXELS 0x828C
  2345. #define GL_READ_PIXELS_FORMAT 0x828D
  2346. #define GL_READ_PIXELS_TYPE 0x828E
  2347. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2348. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2349. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2350. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2351. #define GL_MIPMAP 0x8293
  2352. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2353. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2354. #define GL_COLOR_ENCODING 0x8296
  2355. #define GL_SRGB_READ 0x8297
  2356. #define GL_SRGB_WRITE 0x8298
  2357. #define GL_FILTER 0x829A
  2358. #define GL_VERTEX_TEXTURE 0x829B
  2359. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2360. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2361. #define GL_GEOMETRY_TEXTURE 0x829E
  2362. #define GL_FRAGMENT_TEXTURE 0x829F
  2363. #define GL_COMPUTE_TEXTURE 0x82A0
  2364. #define GL_TEXTURE_SHADOW 0x82A1
  2365. #define GL_TEXTURE_GATHER 0x82A2
  2366. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2367. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2368. #define GL_SHADER_IMAGE_STORE 0x82A5
  2369. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2370. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2371. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2372. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2373. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2374. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2375. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2376. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2377. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2378. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2379. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2380. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2381. #define GL_CLEAR_BUFFER 0x82B4
  2382. #define GL_TEXTURE_VIEW 0x82B5
  2383. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2384. #define GL_FULL_SUPPORT 0x82B7
  2385. #define GL_CAVEAT_SUPPORT 0x82B8
  2386. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2387. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2388. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2389. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2390. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2391. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2392. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2393. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2394. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2395. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2396. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2397. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2398. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2399. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2400. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2401. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2402. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2403. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2404. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2405. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2406. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2407. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2408. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2409. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2410. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2411. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2412. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2413. #define GL_UNIFORM 0x92E1
  2414. #define GL_UNIFORM_BLOCK 0x92E2
  2415. #define GL_PROGRAM_INPUT 0x92E3
  2416. #define GL_PROGRAM_OUTPUT 0x92E4
  2417. #define GL_BUFFER_VARIABLE 0x92E5
  2418. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2419. #define GL_VERTEX_SUBROUTINE 0x92E8
  2420. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2421. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2422. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2423. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2424. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2425. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2426. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2427. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2428. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2429. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2430. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2431. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2432. #define GL_ACTIVE_RESOURCES 0x92F5
  2433. #define GL_MAX_NAME_LENGTH 0x92F6
  2434. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2435. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2436. #define GL_NAME_LENGTH 0x92F9
  2437. #define GL_TYPE 0x92FA
  2438. #define GL_ARRAY_SIZE 0x92FB
  2439. #define GL_OFFSET 0x92FC
  2440. #define GL_BLOCK_INDEX 0x92FD
  2441. #define GL_ARRAY_STRIDE 0x92FE
  2442. #define GL_MATRIX_STRIDE 0x92FF
  2443. #define GL_IS_ROW_MAJOR 0x9300
  2444. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2445. #define GL_BUFFER_BINDING 0x9302
  2446. #define GL_BUFFER_DATA_SIZE 0x9303
  2447. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2448. #define GL_ACTIVE_VARIABLES 0x9305
  2449. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2450. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2451. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2452. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2453. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2454. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2455. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2456. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2457. #define GL_LOCATION 0x930E
  2458. #define GL_LOCATION_INDEX 0x930F
  2459. #define GL_IS_PER_PATCH 0x92E7
  2460. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2461. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2462. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2463. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2464. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2465. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2466. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2467. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2468. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2469. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2470. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2471. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2472. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2473. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2474. #define GL_SHADER_STORAGE_BARRIER_BIT 0x00002000
  2475. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  2476. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2477. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2478. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2479. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2480. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2481. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2482. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2483. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2484. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2485. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2486. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2487. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2488. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2489. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2490. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2491. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2492. #define GL_VERTEX_BINDING_BUFFER 0x8F4F
  2493. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2494. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2495. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2496. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  2497. typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATAPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  2498. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  2499. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  2500. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2501. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2502. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  2503. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2504. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  2505. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2506. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2507. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2508. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2509. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2510. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2511. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2512. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2513. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2514. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  2515. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2516. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2517. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2518. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2519. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2520. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2521. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2522. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2523. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2524. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  2525. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  2526. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2527. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2528. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  2529. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2530. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2531. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  2532. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2533. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2534. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  2535. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2536. #ifdef GL_GLEXT_PROTOTYPES
  2537. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2538. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2539. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  2540. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  2541. GLAPI void APIENTRY glCopyImageSubData (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  2542. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  2543. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  2544. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  2545. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  2546. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  2547. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2548. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  2549. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  2550. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2551. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  2552. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  2553. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  2554. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2555. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  2556. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  2557. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  2558. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  2559. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  2560. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2561. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2562. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2563. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2564. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2565. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2566. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2567. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2568. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  2569. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  2570. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  2571. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  2572. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  2573. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  2574. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  2575. GLAPI void APIENTRY glPopDebugGroup (void);
  2576. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  2577. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  2578. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  2579. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  2580. #endif
  2581. #endif /* GL_VERSION_4_3 */
  2582. #ifndef GL_VERSION_4_4
  2583. #define GL_VERSION_4_4 1
  2584. #define GL_MAX_VERTEX_ATTRIB_STRIDE 0x82E5
  2585. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2586. #define GL_TEXTURE_BUFFER_BINDING 0x8C2A
  2587. #define GL_MAP_PERSISTENT_BIT 0x0040
  2588. #define GL_MAP_COHERENT_BIT 0x0080
  2589. #define GL_DYNAMIC_STORAGE_BIT 0x0100
  2590. #define GL_CLIENT_STORAGE_BIT 0x0200
  2591. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT 0x00004000
  2592. #define GL_BUFFER_IMMUTABLE_STORAGE 0x821F
  2593. #define GL_BUFFER_STORAGE_FLAGS 0x8220
  2594. #define GL_CLEAR_TEXTURE 0x9365
  2595. #define GL_LOCATION_COMPONENT 0x934A
  2596. #define GL_TRANSFORM_FEEDBACK_BUFFER_INDEX 0x934B
  2597. #define GL_TRANSFORM_FEEDBACK_BUFFER_STRIDE 0x934C
  2598. #define GL_QUERY_BUFFER 0x9192
  2599. #define GL_QUERY_BUFFER_BARRIER_BIT 0x00008000
  2600. #define GL_QUERY_BUFFER_BINDING 0x9193
  2601. #define GL_QUERY_RESULT_NO_WAIT 0x9194
  2602. #define GL_MIRROR_CLAMP_TO_EDGE 0x8743
  2603. typedef void (APIENTRYP PFNGLBUFFERSTORAGEPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2604. typedef void (APIENTRYP PFNGLCLEARTEXIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2605. typedef void (APIENTRYP PFNGLCLEARTEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  2606. typedef void (APIENTRYP PFNGLBINDBUFFERSBASEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2607. typedef void (APIENTRYP PFNGLBINDBUFFERSRANGEPROC) (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2608. typedef void (APIENTRYP PFNGLBINDTEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2609. typedef void (APIENTRYP PFNGLBINDSAMPLERSPROC) (GLuint first, GLsizei count, const GLuint *samplers);
  2610. typedef void (APIENTRYP PFNGLBINDIMAGETEXTURESPROC) (GLuint first, GLsizei count, const GLuint *textures);
  2611. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERSPROC) (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2612. #ifdef GL_GLEXT_PROTOTYPES
  2613. GLAPI void APIENTRY glBufferStorage (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  2614. GLAPI void APIENTRY glClearTexImage (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  2615. GLAPI void APIENTRY glClearTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  2616. GLAPI void APIENTRY glBindBuffersBase (GLenum target, GLuint first, GLsizei count, const GLuint *buffers);
  2617. GLAPI void APIENTRY glBindBuffersRange (GLenum target, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizeiptr *sizes);
  2618. GLAPI void APIENTRY glBindTextures (GLuint first, GLsizei count, const GLuint *textures);
  2619. GLAPI void APIENTRY glBindSamplers (GLuint first, GLsizei count, const GLuint *samplers);
  2620. GLAPI void APIENTRY glBindImageTextures (GLuint first, GLsizei count, const GLuint *textures);
  2621. GLAPI void APIENTRY glBindVertexBuffers (GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2622. #endif
  2623. #endif /* GL_VERSION_4_4 */
  2624. #ifndef GL_VERSION_4_5
  2625. #define GL_VERSION_4_5 1
  2626. #define GL_CONTEXT_LOST 0x0507
  2627. #define GL_NEGATIVE_ONE_TO_ONE 0x935E
  2628. #define GL_ZERO_TO_ONE 0x935F
  2629. #define GL_CLIP_ORIGIN 0x935C
  2630. #define GL_CLIP_DEPTH_MODE 0x935D
  2631. #define GL_QUERY_WAIT_INVERTED 0x8E17
  2632. #define GL_QUERY_NO_WAIT_INVERTED 0x8E18
  2633. #define GL_QUERY_BY_REGION_WAIT_INVERTED 0x8E19
  2634. #define GL_QUERY_BY_REGION_NO_WAIT_INVERTED 0x8E1A
  2635. #define GL_MAX_CULL_DISTANCES 0x82F9
  2636. #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES 0x82FA
  2637. #define GL_TEXTURE_TARGET 0x1006
  2638. #define GL_QUERY_TARGET 0x82EA
  2639. #define GL_GUILTY_CONTEXT_RESET 0x8253
  2640. #define GL_INNOCENT_CONTEXT_RESET 0x8254
  2641. #define GL_UNKNOWN_CONTEXT_RESET 0x8255
  2642. #define GL_RESET_NOTIFICATION_STRATEGY 0x8256
  2643. #define GL_LOSE_CONTEXT_ON_RESET 0x8252
  2644. #define GL_NO_RESET_NOTIFICATION 0x8261
  2645. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT 0x00000004
  2646. #define GL_CONTEXT_RELEASE_BEHAVIOR 0x82FB
  2647. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH 0x82FC
  2648. typedef void (APIENTRYP PFNGLCLIPCONTROLPROC) (GLenum origin, GLenum depth);
  2649. typedef void (APIENTRYP PFNGLCREATETRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  2650. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC) (GLuint xfb, GLuint index, GLuint buffer);
  2651. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC) (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2652. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKIVPROC) (GLuint xfb, GLenum pname, GLint *param);
  2653. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2654. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKI64_VPROC) (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2655. typedef void (APIENTRYP PFNGLCREATEBUFFERSPROC) (GLsizei n, GLuint *buffers);
  2656. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2657. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2658. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2659. typedef void (APIENTRYP PFNGLCOPYNAMEDBUFFERSUBDATAPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2660. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2661. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2662. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERPROC) (GLuint buffer, GLenum access);
  2663. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2664. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFERPROC) (GLuint buffer);
  2665. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2666. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVPROC) (GLuint buffer, GLenum pname, GLint *params);
  2667. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERI64VPROC) (GLuint buffer, GLenum pname, GLint64 *params);
  2668. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVPROC) (GLuint buffer, GLenum pname, void **params);
  2669. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2670. typedef void (APIENTRYP PFNGLCREATEFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  2671. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2672. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC) (GLuint framebuffer, GLenum pname, GLint param);
  2673. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2674. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2675. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC) (GLuint framebuffer, GLenum buf);
  2676. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2677. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC) (GLuint framebuffer, GLenum src);
  2678. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2679. typedef void (APIENTRYP PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC) (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2680. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2681. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2682. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFVPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  2683. typedef void (APIENTRYP PFNGLCLEARNAMEDFRAMEBUFFERFIPROC) (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  2684. typedef void (APIENTRYP PFNGLBLITNAMEDFRAMEBUFFERPROC) (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2685. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC) (GLuint framebuffer, GLenum target);
  2686. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC) (GLuint framebuffer, GLenum pname, GLint *param);
  2687. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  2688. typedef void (APIENTRYP PFNGLCREATERENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  2689. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  2690. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2691. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  2692. typedef void (APIENTRYP PFNGLCREATETEXTURESPROC) (GLenum target, GLsizei n, GLuint *textures);
  2693. typedef void (APIENTRYP PFNGLTEXTUREBUFFERPROC) (GLuint texture, GLenum internalformat, GLuint buffer);
  2694. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEPROC) (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2695. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  2696. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2697. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DPROC) (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2698. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2699. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC) (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2700. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  2701. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  2702. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  2703. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  2704. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  2705. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  2706. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DPROC) (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  2707. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2708. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2709. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFPROC) (GLuint texture, GLenum pname, GLfloat param);
  2710. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, const GLfloat *param);
  2711. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIPROC) (GLuint texture, GLenum pname, GLint param);
  2712. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, const GLint *params);
  2713. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, const GLuint *params);
  2714. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, const GLint *param);
  2715. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPPROC) (GLuint texture);
  2716. typedef void (APIENTRYP PFNGLBINDTEXTUREUNITPROC) (GLuint unit, GLuint texture);
  2717. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2718. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC) (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  2719. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVPROC) (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  2720. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVPROC) (GLuint texture, GLint level, GLenum pname, GLint *params);
  2721. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVPROC) (GLuint texture, GLenum pname, GLfloat *params);
  2722. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2723. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVPROC) (GLuint texture, GLenum pname, GLuint *params);
  2724. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVPROC) (GLuint texture, GLenum pname, GLint *params);
  2725. typedef void (APIENTRYP PFNGLCREATEVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  2726. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2727. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBPROC) (GLuint vaobj, GLuint index);
  2728. typedef void (APIENTRYP PFNGLVERTEXARRAYELEMENTBUFFERPROC) (GLuint vaobj, GLuint buffer);
  2729. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2730. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBUFFERSPROC) (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2731. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBBINDINGPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  2732. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2733. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBIFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2734. typedef void (APIENTRYP PFNGLVERTEXARRAYATTRIBLFORMATPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2735. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDINGDIVISORPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  2736. typedef void (APIENTRYP PFNGLGETVERTEXARRAYIVPROC) (GLuint vaobj, GLenum pname, GLint *param);
  2737. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXEDIVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  2738. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINDEXED64IVPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  2739. typedef void (APIENTRYP PFNGLCREATESAMPLERSPROC) (GLsizei n, GLuint *samplers);
  2740. typedef void (APIENTRYP PFNGLCREATEPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  2741. typedef void (APIENTRYP PFNGLCREATEQUERIESPROC) (GLenum target, GLsizei n, GLuint *ids);
  2742. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2743. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2744. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUI64VPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2745. typedef void (APIENTRYP PFNGLGETQUERYBUFFEROBJECTUIVPROC) (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2746. typedef void (APIENTRYP PFNGLMEMORYBARRIERBYREGIONPROC) (GLbitfield barriers);
  2747. typedef void (APIENTRYP PFNGLGETTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2748. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  2749. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSPROC) (void);
  2750. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  2751. typedef void (APIENTRYP PFNGLGETNTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2752. typedef void (APIENTRYP PFNGLGETNUNIFORMDVPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  2753. typedef void (APIENTRYP PFNGLGETNUNIFORMFVPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  2754. typedef void (APIENTRYP PFNGLGETNUNIFORMIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  2755. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  2756. typedef void (APIENTRYP PFNGLREADNPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  2757. typedef void (APIENTRYP PFNGLTEXTUREBARRIERPROC) (void);
  2758. #ifdef GL_GLEXT_PROTOTYPES
  2759. GLAPI void APIENTRY glClipControl (GLenum origin, GLenum depth);
  2760. GLAPI void APIENTRY glCreateTransformFeedbacks (GLsizei n, GLuint *ids);
  2761. GLAPI void APIENTRY glTransformFeedbackBufferBase (GLuint xfb, GLuint index, GLuint buffer);
  2762. GLAPI void APIENTRY glTransformFeedbackBufferRange (GLuint xfb, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2763. GLAPI void APIENTRY glGetTransformFeedbackiv (GLuint xfb, GLenum pname, GLint *param);
  2764. GLAPI void APIENTRY glGetTransformFeedbacki_v (GLuint xfb, GLenum pname, GLuint index, GLint *param);
  2765. GLAPI void APIENTRY glGetTransformFeedbacki64_v (GLuint xfb, GLenum pname, GLuint index, GLint64 *param);
  2766. GLAPI void APIENTRY glCreateBuffers (GLsizei n, GLuint *buffers);
  2767. GLAPI void APIENTRY glNamedBufferStorage (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  2768. GLAPI void APIENTRY glNamedBufferData (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  2769. GLAPI void APIENTRY glNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  2770. GLAPI void APIENTRY glCopyNamedBufferSubData (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2771. GLAPI void APIENTRY glClearNamedBufferData (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  2772. GLAPI void APIENTRY glClearNamedBufferSubData (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  2773. GLAPI void *APIENTRY glMapNamedBuffer (GLuint buffer, GLenum access);
  2774. GLAPI void *APIENTRY glMapNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  2775. GLAPI GLboolean APIENTRY glUnmapNamedBuffer (GLuint buffer);
  2776. GLAPI void APIENTRY glFlushMappedNamedBufferRange (GLuint buffer, GLintptr offset, GLsizeiptr length);
  2777. GLAPI void APIENTRY glGetNamedBufferParameteriv (GLuint buffer, GLenum pname, GLint *params);
  2778. GLAPI void APIENTRY glGetNamedBufferParameteri64v (GLuint buffer, GLenum pname, GLint64 *params);
  2779. GLAPI void APIENTRY glGetNamedBufferPointerv (GLuint buffer, GLenum pname, void **params);
  2780. GLAPI void APIENTRY glGetNamedBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  2781. GLAPI void APIENTRY glCreateFramebuffers (GLsizei n, GLuint *framebuffers);
  2782. GLAPI void APIENTRY glNamedFramebufferRenderbuffer (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  2783. GLAPI void APIENTRY glNamedFramebufferParameteri (GLuint framebuffer, GLenum pname, GLint param);
  2784. GLAPI void APIENTRY glNamedFramebufferTexture (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  2785. GLAPI void APIENTRY glNamedFramebufferTextureLayer (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  2786. GLAPI void APIENTRY glNamedFramebufferDrawBuffer (GLuint framebuffer, GLenum buf);
  2787. GLAPI void APIENTRY glNamedFramebufferDrawBuffers (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  2788. GLAPI void APIENTRY glNamedFramebufferReadBuffer (GLuint framebuffer, GLenum src);
  2789. GLAPI void APIENTRY glInvalidateNamedFramebufferData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments);
  2790. GLAPI void APIENTRY glInvalidateNamedFramebufferSubData (GLuint framebuffer, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  2791. GLAPI void APIENTRY glClearNamedFramebufferiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLint *value);
  2792. GLAPI void APIENTRY glClearNamedFramebufferuiv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLuint *value);
  2793. GLAPI void APIENTRY glClearNamedFramebufferfv (GLuint framebuffer, GLenum buffer, GLint drawbuffer, const GLfloat *value);
  2794. GLAPI void APIENTRY glClearNamedFramebufferfi (GLuint framebuffer, GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  2795. GLAPI void APIENTRY glBlitNamedFramebuffer (GLuint readFramebuffer, GLuint drawFramebuffer, GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2796. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatus (GLuint framebuffer, GLenum target);
  2797. GLAPI void APIENTRY glGetNamedFramebufferParameteriv (GLuint framebuffer, GLenum pname, GLint *param);
  2798. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameteriv (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  2799. GLAPI void APIENTRY glCreateRenderbuffers (GLsizei n, GLuint *renderbuffers);
  2800. GLAPI void APIENTRY glNamedRenderbufferStorage (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  2801. GLAPI void APIENTRY glNamedRenderbufferStorageMultisample (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2802. GLAPI void APIENTRY glGetNamedRenderbufferParameteriv (GLuint renderbuffer, GLenum pname, GLint *params);
  2803. GLAPI void APIENTRY glCreateTextures (GLenum target, GLsizei n, GLuint *textures);
  2804. GLAPI void APIENTRY glTextureBuffer (GLuint texture, GLenum internalformat, GLuint buffer);
  2805. GLAPI void APIENTRY glTextureBufferRange (GLuint texture, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2806. GLAPI void APIENTRY glTextureStorage1D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width);
  2807. GLAPI void APIENTRY glTextureStorage2D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2808. GLAPI void APIENTRY glTextureStorage3D (GLuint texture, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2809. GLAPI void APIENTRY glTextureStorage2DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  2810. GLAPI void APIENTRY glTextureStorage3DMultisample (GLuint texture, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  2811. GLAPI void APIENTRY glTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  2812. GLAPI void APIENTRY glTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  2813. GLAPI void APIENTRY glTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  2814. GLAPI void APIENTRY glCompressedTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *data);
  2815. GLAPI void APIENTRY glCompressedTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *data);
  2816. GLAPI void APIENTRY glCompressedTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  2817. GLAPI void APIENTRY glCopyTextureSubImage1D (GLuint texture, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  2818. GLAPI void APIENTRY glCopyTextureSubImage2D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2819. GLAPI void APIENTRY glCopyTextureSubImage3D (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  2820. GLAPI void APIENTRY glTextureParameterf (GLuint texture, GLenum pname, GLfloat param);
  2821. GLAPI void APIENTRY glTextureParameterfv (GLuint texture, GLenum pname, const GLfloat *param);
  2822. GLAPI void APIENTRY glTextureParameteri (GLuint texture, GLenum pname, GLint param);
  2823. GLAPI void APIENTRY glTextureParameterIiv (GLuint texture, GLenum pname, const GLint *params);
  2824. GLAPI void APIENTRY glTextureParameterIuiv (GLuint texture, GLenum pname, const GLuint *params);
  2825. GLAPI void APIENTRY glTextureParameteriv (GLuint texture, GLenum pname, const GLint *param);
  2826. GLAPI void APIENTRY glGenerateTextureMipmap (GLuint texture);
  2827. GLAPI void APIENTRY glBindTextureUnit (GLuint unit, GLuint texture);
  2828. GLAPI void APIENTRY glGetTextureImage (GLuint texture, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2829. GLAPI void APIENTRY glGetCompressedTextureImage (GLuint texture, GLint level, GLsizei bufSize, void *pixels);
  2830. GLAPI void APIENTRY glGetTextureLevelParameterfv (GLuint texture, GLint level, GLenum pname, GLfloat *params);
  2831. GLAPI void APIENTRY glGetTextureLevelParameteriv (GLuint texture, GLint level, GLenum pname, GLint *params);
  2832. GLAPI void APIENTRY glGetTextureParameterfv (GLuint texture, GLenum pname, GLfloat *params);
  2833. GLAPI void APIENTRY glGetTextureParameterIiv (GLuint texture, GLenum pname, GLint *params);
  2834. GLAPI void APIENTRY glGetTextureParameterIuiv (GLuint texture, GLenum pname, GLuint *params);
  2835. GLAPI void APIENTRY glGetTextureParameteriv (GLuint texture, GLenum pname, GLint *params);
  2836. GLAPI void APIENTRY glCreateVertexArrays (GLsizei n, GLuint *arrays);
  2837. GLAPI void APIENTRY glDisableVertexArrayAttrib (GLuint vaobj, GLuint index);
  2838. GLAPI void APIENTRY glEnableVertexArrayAttrib (GLuint vaobj, GLuint index);
  2839. GLAPI void APIENTRY glVertexArrayElementBuffer (GLuint vaobj, GLuint buffer);
  2840. GLAPI void APIENTRY glVertexArrayVertexBuffer (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  2841. GLAPI void APIENTRY glVertexArrayVertexBuffers (GLuint vaobj, GLuint first, GLsizei count, const GLuint *buffers, const GLintptr *offsets, const GLsizei *strides);
  2842. GLAPI void APIENTRY glVertexArrayAttribBinding (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  2843. GLAPI void APIENTRY glVertexArrayAttribFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  2844. GLAPI void APIENTRY glVertexArrayAttribIFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2845. GLAPI void APIENTRY glVertexArrayAttribLFormat (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  2846. GLAPI void APIENTRY glVertexArrayBindingDivisor (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  2847. GLAPI void APIENTRY glGetVertexArrayiv (GLuint vaobj, GLenum pname, GLint *param);
  2848. GLAPI void APIENTRY glGetVertexArrayIndexediv (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  2849. GLAPI void APIENTRY glGetVertexArrayIndexed64iv (GLuint vaobj, GLuint index, GLenum pname, GLint64 *param);
  2850. GLAPI void APIENTRY glCreateSamplers (GLsizei n, GLuint *samplers);
  2851. GLAPI void APIENTRY glCreateProgramPipelines (GLsizei n, GLuint *pipelines);
  2852. GLAPI void APIENTRY glCreateQueries (GLenum target, GLsizei n, GLuint *ids);
  2853. GLAPI void APIENTRY glGetQueryBufferObjecti64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2854. GLAPI void APIENTRY glGetQueryBufferObjectiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2855. GLAPI void APIENTRY glGetQueryBufferObjectui64v (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2856. GLAPI void APIENTRY glGetQueryBufferObjectuiv (GLuint id, GLuint buffer, GLenum pname, GLintptr offset);
  2857. GLAPI void APIENTRY glMemoryBarrierByRegion (GLbitfield barriers);
  2858. GLAPI void APIENTRY glGetTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2859. GLAPI void APIENTRY glGetCompressedTextureSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei bufSize, void *pixels);
  2860. GLAPI GLenum APIENTRY glGetGraphicsResetStatus (void);
  2861. GLAPI void APIENTRY glGetnCompressedTexImage (GLenum target, GLint lod, GLsizei bufSize, void *pixels);
  2862. GLAPI void APIENTRY glGetnTexImage (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *pixels);
  2863. GLAPI void APIENTRY glGetnUniformdv (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  2864. GLAPI void APIENTRY glGetnUniformfv (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  2865. GLAPI void APIENTRY glGetnUniformiv (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  2866. GLAPI void APIENTRY glGetnUniformuiv (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  2867. GLAPI void APIENTRY glReadnPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  2868. GLAPI void APIENTRY glTextureBarrier (void);
  2869. #endif
  2870. #endif /* GL_VERSION_4_5 */
  2871. #ifndef GL_ARB_ES2_compatibility
  2872. #define GL_ARB_ES2_compatibility 1
  2873. #endif /* GL_ARB_ES2_compatibility */
  2874. #ifndef GL_ARB_ES3_1_compatibility
  2875. #define GL_ARB_ES3_1_compatibility 1
  2876. #endif /* GL_ARB_ES3_1_compatibility */
  2877. #ifndef GL_ARB_ES3_compatibility
  2878. #define GL_ARB_ES3_compatibility 1
  2879. #endif /* GL_ARB_ES3_compatibility */
  2880. #ifndef GL_ARB_arrays_of_arrays
  2881. #define GL_ARB_arrays_of_arrays 1
  2882. #endif /* GL_ARB_arrays_of_arrays */
  2883. #ifndef GL_ARB_base_instance
  2884. #define GL_ARB_base_instance 1
  2885. #endif /* GL_ARB_base_instance */
  2886. #ifndef GL_ARB_bindless_texture
  2887. #define GL_ARB_bindless_texture 1
  2888. typedef uint64_t GLuint64EXT;
  2889. #define GL_UNSIGNED_INT64_ARB 0x140F
  2890. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLEARBPROC) (GLuint texture);
  2891. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEARBPROC) (GLuint texture, GLuint sampler);
  2892. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2893. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2894. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLEARBPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2895. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle, GLenum access);
  2896. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC) (GLuint64 handle);
  2897. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64ARBPROC) (GLint location, GLuint64 value);
  2898. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VARBPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2899. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC) (GLuint program, GLint location, GLuint64 value);
  2900. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2901. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTARBPROC) (GLuint64 handle);
  2902. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTARBPROC) (GLuint64 handle);
  2903. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64ARBPROC) (GLuint index, GLuint64EXT x);
  2904. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VARBPROC) (GLuint index, const GLuint64EXT *v);
  2905. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VARBPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  2906. #ifdef GL_GLEXT_PROTOTYPES
  2907. GLAPI GLuint64 APIENTRY glGetTextureHandleARB (GLuint texture);
  2908. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleARB (GLuint texture, GLuint sampler);
  2909. GLAPI void APIENTRY glMakeTextureHandleResidentARB (GLuint64 handle);
  2910. GLAPI void APIENTRY glMakeTextureHandleNonResidentARB (GLuint64 handle);
  2911. GLAPI GLuint64 APIENTRY glGetImageHandleARB (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2912. GLAPI void APIENTRY glMakeImageHandleResidentARB (GLuint64 handle, GLenum access);
  2913. GLAPI void APIENTRY glMakeImageHandleNonResidentARB (GLuint64 handle);
  2914. GLAPI void APIENTRY glUniformHandleui64ARB (GLint location, GLuint64 value);
  2915. GLAPI void APIENTRY glUniformHandleui64vARB (GLint location, GLsizei count, const GLuint64 *value);
  2916. GLAPI void APIENTRY glProgramUniformHandleui64ARB (GLuint program, GLint location, GLuint64 value);
  2917. GLAPI void APIENTRY glProgramUniformHandleui64vARB (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2918. GLAPI GLboolean APIENTRY glIsTextureHandleResidentARB (GLuint64 handle);
  2919. GLAPI GLboolean APIENTRY glIsImageHandleResidentARB (GLuint64 handle);
  2920. GLAPI void APIENTRY glVertexAttribL1ui64ARB (GLuint index, GLuint64EXT x);
  2921. GLAPI void APIENTRY glVertexAttribL1ui64vARB (GLuint index, const GLuint64EXT *v);
  2922. GLAPI void APIENTRY glGetVertexAttribLui64vARB (GLuint index, GLenum pname, GLuint64EXT *params);
  2923. #endif
  2924. #endif /* GL_ARB_bindless_texture */
  2925. #ifndef GL_ARB_blend_func_extended
  2926. #define GL_ARB_blend_func_extended 1
  2927. #endif /* GL_ARB_blend_func_extended */
  2928. #ifndef GL_ARB_buffer_storage
  2929. #define GL_ARB_buffer_storage 1
  2930. #endif /* GL_ARB_buffer_storage */
  2931. #ifndef GL_ARB_cl_event
  2932. #define GL_ARB_cl_event 1
  2933. struct _cl_context;
  2934. struct _cl_event;
  2935. #define GL_SYNC_CL_EVENT_ARB 0x8240
  2936. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  2937. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2938. #ifdef GL_GLEXT_PROTOTYPES
  2939. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context *context, struct _cl_event *event, GLbitfield flags);
  2940. #endif
  2941. #endif /* GL_ARB_cl_event */
  2942. #ifndef GL_ARB_clear_buffer_object
  2943. #define GL_ARB_clear_buffer_object 1
  2944. #endif /* GL_ARB_clear_buffer_object */
  2945. #ifndef GL_ARB_clear_texture
  2946. #define GL_ARB_clear_texture 1
  2947. #endif /* GL_ARB_clear_texture */
  2948. #ifndef GL_ARB_clip_control
  2949. #define GL_ARB_clip_control 1
  2950. #endif /* GL_ARB_clip_control */
  2951. #ifndef GL_ARB_compressed_texture_pixel_storage
  2952. #define GL_ARB_compressed_texture_pixel_storage 1
  2953. #endif /* GL_ARB_compressed_texture_pixel_storage */
  2954. #ifndef GL_ARB_compute_shader
  2955. #define GL_ARB_compute_shader 1
  2956. #endif /* GL_ARB_compute_shader */
  2957. #ifndef GL_ARB_compute_variable_group_size
  2958. #define GL_ARB_compute_variable_group_size 1
  2959. #define GL_MAX_COMPUTE_VARIABLE_GROUP_INVOCATIONS_ARB 0x9344
  2960. #define GL_MAX_COMPUTE_FIXED_GROUP_INVOCATIONS_ARB 0x90EB
  2961. #define GL_MAX_COMPUTE_VARIABLE_GROUP_SIZE_ARB 0x9345
  2962. #define GL_MAX_COMPUTE_FIXED_GROUP_SIZE_ARB 0x91BF
  2963. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  2964. #ifdef GL_GLEXT_PROTOTYPES
  2965. GLAPI void APIENTRY glDispatchComputeGroupSizeARB (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z, GLuint group_size_x, GLuint group_size_y, GLuint group_size_z);
  2966. #endif
  2967. #endif /* GL_ARB_compute_variable_group_size */
  2968. #ifndef GL_ARB_conditional_render_inverted
  2969. #define GL_ARB_conditional_render_inverted 1
  2970. #endif /* GL_ARB_conditional_render_inverted */
  2971. #ifndef GL_ARB_conservative_depth
  2972. #define GL_ARB_conservative_depth 1
  2973. #endif /* GL_ARB_conservative_depth */
  2974. #ifndef GL_ARB_copy_buffer
  2975. #define GL_ARB_copy_buffer 1
  2976. #endif /* GL_ARB_copy_buffer */
  2977. #ifndef GL_ARB_copy_image
  2978. #define GL_ARB_copy_image 1
  2979. #endif /* GL_ARB_copy_image */
  2980. #ifndef GL_ARB_cull_distance
  2981. #define GL_ARB_cull_distance 1
  2982. #endif /* GL_ARB_cull_distance */
  2983. #ifndef GL_ARB_debug_output
  2984. #define GL_ARB_debug_output 1
  2985. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  2986. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  2987. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  2988. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  2989. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  2990. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  2991. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  2992. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  2993. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  2994. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  2995. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  2996. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  2997. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  2998. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  2999. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  3000. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  3001. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  3002. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  3003. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  3004. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  3005. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  3006. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  3007. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  3008. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3009. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3010. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const void *userParam);
  3011. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3012. #ifdef GL_GLEXT_PROTOTYPES
  3013. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  3014. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  3015. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const void *userParam);
  3016. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  3017. #endif
  3018. #endif /* GL_ARB_debug_output */
  3019. #ifndef GL_ARB_depth_buffer_float
  3020. #define GL_ARB_depth_buffer_float 1
  3021. #endif /* GL_ARB_depth_buffer_float */
  3022. #ifndef GL_ARB_depth_clamp
  3023. #define GL_ARB_depth_clamp 1
  3024. #endif /* GL_ARB_depth_clamp */
  3025. #ifndef GL_ARB_derivative_control
  3026. #define GL_ARB_derivative_control 1
  3027. #endif /* GL_ARB_derivative_control */
  3028. #ifndef GL_ARB_direct_state_access
  3029. #define GL_ARB_direct_state_access 1
  3030. #endif /* GL_ARB_direct_state_access */
  3031. #ifndef GL_ARB_draw_buffers_blend
  3032. #define GL_ARB_draw_buffers_blend 1
  3033. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  3034. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3035. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  3036. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3037. #ifdef GL_GLEXT_PROTOTYPES
  3038. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  3039. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3040. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  3041. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3042. #endif
  3043. #endif /* GL_ARB_draw_buffers_blend */
  3044. #ifndef GL_ARB_draw_elements_base_vertex
  3045. #define GL_ARB_draw_elements_base_vertex 1
  3046. #endif /* GL_ARB_draw_elements_base_vertex */
  3047. #ifndef GL_ARB_draw_indirect
  3048. #define GL_ARB_draw_indirect 1
  3049. #endif /* GL_ARB_draw_indirect */
  3050. #ifndef GL_ARB_enhanced_layouts
  3051. #define GL_ARB_enhanced_layouts 1
  3052. #endif /* GL_ARB_enhanced_layouts */
  3053. #ifndef GL_ARB_explicit_attrib_location
  3054. #define GL_ARB_explicit_attrib_location 1
  3055. #endif /* GL_ARB_explicit_attrib_location */
  3056. #ifndef GL_ARB_explicit_uniform_location
  3057. #define GL_ARB_explicit_uniform_location 1
  3058. #endif /* GL_ARB_explicit_uniform_location */
  3059. #ifndef GL_ARB_fragment_coord_conventions
  3060. #define GL_ARB_fragment_coord_conventions 1
  3061. #endif /* GL_ARB_fragment_coord_conventions */
  3062. #ifndef GL_ARB_fragment_layer_viewport
  3063. #define GL_ARB_fragment_layer_viewport 1
  3064. #endif /* GL_ARB_fragment_layer_viewport */
  3065. #ifndef GL_ARB_framebuffer_no_attachments
  3066. #define GL_ARB_framebuffer_no_attachments 1
  3067. #endif /* GL_ARB_framebuffer_no_attachments */
  3068. #ifndef GL_ARB_framebuffer_object
  3069. #define GL_ARB_framebuffer_object 1
  3070. #endif /* GL_ARB_framebuffer_object */
  3071. #ifndef GL_ARB_framebuffer_sRGB
  3072. #define GL_ARB_framebuffer_sRGB 1
  3073. #endif /* GL_ARB_framebuffer_sRGB */
  3074. #ifndef GL_ARB_get_program_binary
  3075. #define GL_ARB_get_program_binary 1
  3076. #endif /* GL_ARB_get_program_binary */
  3077. #ifndef GL_ARB_get_texture_sub_image
  3078. #define GL_ARB_get_texture_sub_image 1
  3079. #endif /* GL_ARB_get_texture_sub_image */
  3080. #ifndef GL_ARB_gpu_shader5
  3081. #define GL_ARB_gpu_shader5 1
  3082. #endif /* GL_ARB_gpu_shader5 */
  3083. #ifndef GL_ARB_gpu_shader_fp64
  3084. #define GL_ARB_gpu_shader_fp64 1
  3085. #endif /* GL_ARB_gpu_shader_fp64 */
  3086. #ifndef GL_ARB_half_float_vertex
  3087. #define GL_ARB_half_float_vertex 1
  3088. #endif /* GL_ARB_half_float_vertex */
  3089. #ifndef GL_ARB_imaging
  3090. #define GL_ARB_imaging 1
  3091. #define GL_BLEND_COLOR 0x8005
  3092. #define GL_BLEND_EQUATION 0x8009
  3093. #endif /* GL_ARB_imaging */
  3094. #ifndef GL_ARB_indirect_parameters
  3095. #define GL_ARB_indirect_parameters 1
  3096. #define GL_PARAMETER_BUFFER_ARB 0x80EE
  3097. #define GL_PARAMETER_BUFFER_BINDING_ARB 0x80EF
  3098. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC) (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3099. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC) (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3100. #ifdef GL_GLEXT_PROTOTYPES
  3101. GLAPI void APIENTRY glMultiDrawArraysIndirectCountARB (GLenum mode, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3102. GLAPI void APIENTRY glMultiDrawElementsIndirectCountARB (GLenum mode, GLenum type, GLintptr indirect, GLintptr drawcount, GLsizei maxdrawcount, GLsizei stride);
  3103. #endif
  3104. #endif /* GL_ARB_indirect_parameters */
  3105. #ifndef GL_ARB_internalformat_query
  3106. #define GL_ARB_internalformat_query 1
  3107. #endif /* GL_ARB_internalformat_query */
  3108. #ifndef GL_ARB_internalformat_query2
  3109. #define GL_ARB_internalformat_query2 1
  3110. #define GL_SRGB_DECODE_ARB 0x8299
  3111. #endif /* GL_ARB_internalformat_query2 */
  3112. #ifndef GL_ARB_invalidate_subdata
  3113. #define GL_ARB_invalidate_subdata 1
  3114. #endif /* GL_ARB_invalidate_subdata */
  3115. #ifndef GL_ARB_map_buffer_alignment
  3116. #define GL_ARB_map_buffer_alignment 1
  3117. #endif /* GL_ARB_map_buffer_alignment */
  3118. #ifndef GL_ARB_map_buffer_range
  3119. #define GL_ARB_map_buffer_range 1
  3120. #endif /* GL_ARB_map_buffer_range */
  3121. #ifndef GL_ARB_multi_bind
  3122. #define GL_ARB_multi_bind 1
  3123. #endif /* GL_ARB_multi_bind */
  3124. #ifndef GL_ARB_multi_draw_indirect
  3125. #define GL_ARB_multi_draw_indirect 1
  3126. #endif /* GL_ARB_multi_draw_indirect */
  3127. #ifndef GL_ARB_occlusion_query2
  3128. #define GL_ARB_occlusion_query2 1
  3129. #endif /* GL_ARB_occlusion_query2 */
  3130. #ifndef GL_ARB_pipeline_statistics_query
  3131. #define GL_ARB_pipeline_statistics_query 1
  3132. #define GL_VERTICES_SUBMITTED_ARB 0x82EE
  3133. #define GL_PRIMITIVES_SUBMITTED_ARB 0x82EF
  3134. #define GL_VERTEX_SHADER_INVOCATIONS_ARB 0x82F0
  3135. #define GL_TESS_CONTROL_SHADER_PATCHES_ARB 0x82F1
  3136. #define GL_TESS_EVALUATION_SHADER_INVOCATIONS_ARB 0x82F2
  3137. #define GL_GEOMETRY_SHADER_PRIMITIVES_EMITTED_ARB 0x82F3
  3138. #define GL_FRAGMENT_SHADER_INVOCATIONS_ARB 0x82F4
  3139. #define GL_COMPUTE_SHADER_INVOCATIONS_ARB 0x82F5
  3140. #define GL_CLIPPING_INPUT_PRIMITIVES_ARB 0x82F6
  3141. #define GL_CLIPPING_OUTPUT_PRIMITIVES_ARB 0x82F7
  3142. #endif /* GL_ARB_pipeline_statistics_query */
  3143. #ifndef GL_ARB_program_interface_query
  3144. #define GL_ARB_program_interface_query 1
  3145. #endif /* GL_ARB_program_interface_query */
  3146. #ifndef GL_ARB_provoking_vertex
  3147. #define GL_ARB_provoking_vertex 1
  3148. #endif /* GL_ARB_provoking_vertex */
  3149. #ifndef GL_ARB_query_buffer_object
  3150. #define GL_ARB_query_buffer_object 1
  3151. #endif /* GL_ARB_query_buffer_object */
  3152. #ifndef GL_ARB_robust_buffer_access_behavior
  3153. #define GL_ARB_robust_buffer_access_behavior 1
  3154. #endif /* GL_ARB_robust_buffer_access_behavior */
  3155. #ifndef GL_ARB_robustness
  3156. #define GL_ARB_robustness 1
  3157. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  3158. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  3159. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  3160. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  3161. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  3162. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  3163. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  3164. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  3165. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3166. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3167. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3168. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3169. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3170. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3171. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3172. #ifdef GL_GLEXT_PROTOTYPES
  3173. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  3174. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void *img);
  3175. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  3176. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, void *img);
  3177. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  3178. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  3179. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  3180. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  3181. #endif
  3182. #endif /* GL_ARB_robustness */
  3183. #ifndef GL_ARB_robustness_isolation
  3184. #define GL_ARB_robustness_isolation 1
  3185. #endif /* GL_ARB_robustness_isolation */
  3186. #ifndef GL_ARB_sample_shading
  3187. #define GL_ARB_sample_shading 1
  3188. #define GL_SAMPLE_SHADING_ARB 0x8C36
  3189. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  3190. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  3191. #ifdef GL_GLEXT_PROTOTYPES
  3192. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  3193. #endif
  3194. #endif /* GL_ARB_sample_shading */
  3195. #ifndef GL_ARB_sampler_objects
  3196. #define GL_ARB_sampler_objects 1
  3197. #endif /* GL_ARB_sampler_objects */
  3198. #ifndef GL_ARB_seamless_cube_map
  3199. #define GL_ARB_seamless_cube_map 1
  3200. #endif /* GL_ARB_seamless_cube_map */
  3201. #ifndef GL_ARB_seamless_cubemap_per_texture
  3202. #define GL_ARB_seamless_cubemap_per_texture 1
  3203. #endif /* GL_ARB_seamless_cubemap_per_texture */
  3204. #ifndef GL_ARB_separate_shader_objects
  3205. #define GL_ARB_separate_shader_objects 1
  3206. #endif /* GL_ARB_separate_shader_objects */
  3207. #ifndef GL_ARB_shader_atomic_counters
  3208. #define GL_ARB_shader_atomic_counters 1
  3209. #endif /* GL_ARB_shader_atomic_counters */
  3210. #ifndef GL_ARB_shader_bit_encoding
  3211. #define GL_ARB_shader_bit_encoding 1
  3212. #endif /* GL_ARB_shader_bit_encoding */
  3213. #ifndef GL_ARB_shader_draw_parameters
  3214. #define GL_ARB_shader_draw_parameters 1
  3215. #endif /* GL_ARB_shader_draw_parameters */
  3216. #ifndef GL_ARB_shader_group_vote
  3217. #define GL_ARB_shader_group_vote 1
  3218. #endif /* GL_ARB_shader_group_vote */
  3219. #ifndef GL_ARB_shader_image_load_store
  3220. #define GL_ARB_shader_image_load_store 1
  3221. #endif /* GL_ARB_shader_image_load_store */
  3222. #ifndef GL_ARB_shader_image_size
  3223. #define GL_ARB_shader_image_size 1
  3224. #endif /* GL_ARB_shader_image_size */
  3225. #ifndef GL_ARB_shader_precision
  3226. #define GL_ARB_shader_precision 1
  3227. #endif /* GL_ARB_shader_precision */
  3228. #ifndef GL_ARB_shader_stencil_export
  3229. #define GL_ARB_shader_stencil_export 1
  3230. #endif /* GL_ARB_shader_stencil_export */
  3231. #ifndef GL_ARB_shader_storage_buffer_object
  3232. #define GL_ARB_shader_storage_buffer_object 1
  3233. #endif /* GL_ARB_shader_storage_buffer_object */
  3234. #ifndef GL_ARB_shader_subroutine
  3235. #define GL_ARB_shader_subroutine 1
  3236. #endif /* GL_ARB_shader_subroutine */
  3237. #ifndef GL_ARB_shader_texture_image_samples
  3238. #define GL_ARB_shader_texture_image_samples 1
  3239. #endif /* GL_ARB_shader_texture_image_samples */
  3240. #ifndef GL_ARB_shading_language_420pack
  3241. #define GL_ARB_shading_language_420pack 1
  3242. #endif /* GL_ARB_shading_language_420pack */
  3243. #ifndef GL_ARB_shading_language_include
  3244. #define GL_ARB_shading_language_include 1
  3245. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  3246. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  3247. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  3248. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3249. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3250. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3251. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  3252. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3253. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3254. #ifdef GL_GLEXT_PROTOTYPES
  3255. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  3256. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  3257. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar *const*path, const GLint *length);
  3258. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  3259. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  3260. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  3261. #endif
  3262. #endif /* GL_ARB_shading_language_include */
  3263. #ifndef GL_ARB_shading_language_packing
  3264. #define GL_ARB_shading_language_packing 1
  3265. #endif /* GL_ARB_shading_language_packing */
  3266. #ifndef GL_ARB_sparse_buffer
  3267. #define GL_ARB_sparse_buffer 1
  3268. #define GL_SPARSE_STORAGE_BIT_ARB 0x0400
  3269. #define GL_SPARSE_BUFFER_PAGE_SIZE_ARB 0x82F8
  3270. typedef void (APIENTRYP PFNGLBUFFERPAGECOMMITMENTARBPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3271. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3272. typedef void (APIENTRYP PFNGLNAMEDBUFFERPAGECOMMITMENTARBPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3273. #ifdef GL_GLEXT_PROTOTYPES
  3274. GLAPI void APIENTRY glBufferPageCommitmentARB (GLenum target, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3275. GLAPI void APIENTRY glNamedBufferPageCommitmentEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3276. GLAPI void APIENTRY glNamedBufferPageCommitmentARB (GLuint buffer, GLintptr offset, GLsizeiptr size, GLboolean commit);
  3277. #endif
  3278. #endif /* GL_ARB_sparse_buffer */
  3279. #ifndef GL_ARB_sparse_texture
  3280. #define GL_ARB_sparse_texture 1
  3281. #define GL_TEXTURE_SPARSE_ARB 0x91A6
  3282. #define GL_VIRTUAL_PAGE_SIZE_INDEX_ARB 0x91A7
  3283. #define GL_NUM_SPARSE_LEVELS_ARB 0x91AA
  3284. #define GL_NUM_VIRTUAL_PAGE_SIZES_ARB 0x91A8
  3285. #define GL_VIRTUAL_PAGE_SIZE_X_ARB 0x9195
  3286. #define GL_VIRTUAL_PAGE_SIZE_Y_ARB 0x9196
  3287. #define GL_VIRTUAL_PAGE_SIZE_Z_ARB 0x9197
  3288. #define GL_MAX_SPARSE_TEXTURE_SIZE_ARB 0x9198
  3289. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_ARB 0x9199
  3290. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_ARB 0x919A
  3291. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_ARB 0x91A9
  3292. typedef void (APIENTRYP PFNGLTEXPAGECOMMITMENTARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  3293. #ifdef GL_GLEXT_PROTOTYPES
  3294. GLAPI void APIENTRY glTexPageCommitmentARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  3295. #endif
  3296. #endif /* GL_ARB_sparse_texture */
  3297. #ifndef GL_ARB_sparse_texture2
  3298. #define GL_ARB_sparse_texture2 1
  3299. #endif /* GL_ARB_sparse_texture2 */
  3300. #ifndef GL_ARB_stencil_texturing
  3301. #define GL_ARB_stencil_texturing 1
  3302. #endif /* GL_ARB_stencil_texturing */
  3303. #ifndef GL_ARB_sync
  3304. #define GL_ARB_sync 1
  3305. #endif /* GL_ARB_sync */
  3306. #ifndef GL_ARB_tessellation_shader
  3307. #define GL_ARB_tessellation_shader 1
  3308. #endif /* GL_ARB_tessellation_shader */
  3309. #ifndef GL_ARB_texture_barrier
  3310. #define GL_ARB_texture_barrier 1
  3311. #endif /* GL_ARB_texture_barrier */
  3312. #ifndef GL_ARB_texture_buffer_object_rgb32
  3313. #define GL_ARB_texture_buffer_object_rgb32 1
  3314. #endif /* GL_ARB_texture_buffer_object_rgb32 */
  3315. #ifndef GL_ARB_texture_buffer_range
  3316. #define GL_ARB_texture_buffer_range 1
  3317. #endif /* GL_ARB_texture_buffer_range */
  3318. #ifndef GL_ARB_texture_compression_bptc
  3319. #define GL_ARB_texture_compression_bptc 1
  3320. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  3321. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  3322. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  3323. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  3324. #endif /* GL_ARB_texture_compression_bptc */
  3325. #ifndef GL_ARB_texture_compression_rgtc
  3326. #define GL_ARB_texture_compression_rgtc 1
  3327. #endif /* GL_ARB_texture_compression_rgtc */
  3328. #ifndef GL_ARB_texture_cube_map_array
  3329. #define GL_ARB_texture_cube_map_array 1
  3330. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  3331. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  3332. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  3333. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  3334. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  3335. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  3336. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  3337. #endif /* GL_ARB_texture_cube_map_array */
  3338. #ifndef GL_ARB_texture_gather
  3339. #define GL_ARB_texture_gather 1
  3340. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  3341. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  3342. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  3343. #endif /* GL_ARB_texture_gather */
  3344. #ifndef GL_ARB_texture_mirror_clamp_to_edge
  3345. #define GL_ARB_texture_mirror_clamp_to_edge 1
  3346. #endif /* GL_ARB_texture_mirror_clamp_to_edge */
  3347. #ifndef GL_ARB_texture_multisample
  3348. #define GL_ARB_texture_multisample 1
  3349. #endif /* GL_ARB_texture_multisample */
  3350. #ifndef GL_ARB_texture_query_levels
  3351. #define GL_ARB_texture_query_levels 1
  3352. #endif /* GL_ARB_texture_query_levels */
  3353. #ifndef GL_ARB_texture_query_lod
  3354. #define GL_ARB_texture_query_lod 1
  3355. #endif /* GL_ARB_texture_query_lod */
  3356. #ifndef GL_ARB_texture_rg
  3357. #define GL_ARB_texture_rg 1
  3358. #endif /* GL_ARB_texture_rg */
  3359. #ifndef GL_ARB_texture_rgb10_a2ui
  3360. #define GL_ARB_texture_rgb10_a2ui 1
  3361. #endif /* GL_ARB_texture_rgb10_a2ui */
  3362. #ifndef GL_ARB_texture_stencil8
  3363. #define GL_ARB_texture_stencil8 1
  3364. #endif /* GL_ARB_texture_stencil8 */
  3365. #ifndef GL_ARB_texture_storage
  3366. #define GL_ARB_texture_storage 1
  3367. #endif /* GL_ARB_texture_storage */
  3368. #ifndef GL_ARB_texture_storage_multisample
  3369. #define GL_ARB_texture_storage_multisample 1
  3370. #endif /* GL_ARB_texture_storage_multisample */
  3371. #ifndef GL_ARB_texture_swizzle
  3372. #define GL_ARB_texture_swizzle 1
  3373. #endif /* GL_ARB_texture_swizzle */
  3374. #ifndef GL_ARB_texture_view
  3375. #define GL_ARB_texture_view 1
  3376. #endif /* GL_ARB_texture_view */
  3377. #ifndef GL_ARB_timer_query
  3378. #define GL_ARB_timer_query 1
  3379. #endif /* GL_ARB_timer_query */
  3380. #ifndef GL_ARB_transform_feedback2
  3381. #define GL_ARB_transform_feedback2 1
  3382. #endif /* GL_ARB_transform_feedback2 */
  3383. #ifndef GL_ARB_transform_feedback3
  3384. #define GL_ARB_transform_feedback3 1
  3385. #endif /* GL_ARB_transform_feedback3 */
  3386. #ifndef GL_ARB_transform_feedback_instanced
  3387. #define GL_ARB_transform_feedback_instanced 1
  3388. #endif /* GL_ARB_transform_feedback_instanced */
  3389. #ifndef GL_ARB_transform_feedback_overflow_query
  3390. #define GL_ARB_transform_feedback_overflow_query 1
  3391. #define GL_TRANSFORM_FEEDBACK_OVERFLOW_ARB 0x82EC
  3392. #define GL_TRANSFORM_FEEDBACK_STREAM_OVERFLOW_ARB 0x82ED
  3393. #endif /* GL_ARB_transform_feedback_overflow_query */
  3394. #ifndef GL_ARB_uniform_buffer_object
  3395. #define GL_ARB_uniform_buffer_object 1
  3396. #endif /* GL_ARB_uniform_buffer_object */
  3397. #ifndef GL_ARB_vertex_array_bgra
  3398. #define GL_ARB_vertex_array_bgra 1
  3399. #endif /* GL_ARB_vertex_array_bgra */
  3400. #ifndef GL_ARB_vertex_array_object
  3401. #define GL_ARB_vertex_array_object 1
  3402. #endif /* GL_ARB_vertex_array_object */
  3403. #ifndef GL_ARB_vertex_attrib_64bit
  3404. #define GL_ARB_vertex_attrib_64bit 1
  3405. #endif /* GL_ARB_vertex_attrib_64bit */
  3406. #ifndef GL_ARB_vertex_attrib_binding
  3407. #define GL_ARB_vertex_attrib_binding 1
  3408. #endif /* GL_ARB_vertex_attrib_binding */
  3409. #ifndef GL_ARB_vertex_type_10f_11f_11f_rev
  3410. #define GL_ARB_vertex_type_10f_11f_11f_rev 1
  3411. #endif /* GL_ARB_vertex_type_10f_11f_11f_rev */
  3412. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  3413. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  3414. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  3415. #ifndef GL_ARB_viewport_array
  3416. #define GL_ARB_viewport_array 1
  3417. #endif /* GL_ARB_viewport_array */
  3418. #ifndef GL_KHR_blend_equation_advanced
  3419. #define GL_KHR_blend_equation_advanced 1
  3420. #define GL_MULTIPLY_KHR 0x9294
  3421. #define GL_SCREEN_KHR 0x9295
  3422. #define GL_OVERLAY_KHR 0x9296
  3423. #define GL_DARKEN_KHR 0x9297
  3424. #define GL_LIGHTEN_KHR 0x9298
  3425. #define GL_COLORDODGE_KHR 0x9299
  3426. #define GL_COLORBURN_KHR 0x929A
  3427. #define GL_HARDLIGHT_KHR 0x929B
  3428. #define GL_SOFTLIGHT_KHR 0x929C
  3429. #define GL_DIFFERENCE_KHR 0x929E
  3430. #define GL_EXCLUSION_KHR 0x92A0
  3431. #define GL_HSL_HUE_KHR 0x92AD
  3432. #define GL_HSL_SATURATION_KHR 0x92AE
  3433. #define GL_HSL_COLOR_KHR 0x92AF
  3434. #define GL_HSL_LUMINOSITY_KHR 0x92B0
  3435. typedef void (APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
  3436. #ifdef GL_GLEXT_PROTOTYPES
  3437. GLAPI void APIENTRY glBlendBarrierKHR (void);
  3438. #endif
  3439. #endif /* GL_KHR_blend_equation_advanced */
  3440. #ifndef GL_KHR_blend_equation_advanced_coherent
  3441. #define GL_KHR_blend_equation_advanced_coherent 1
  3442. #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
  3443. #endif /* GL_KHR_blend_equation_advanced_coherent */
  3444. #ifndef GL_KHR_context_flush_control
  3445. #define GL_KHR_context_flush_control 1
  3446. #endif /* GL_KHR_context_flush_control */
  3447. #ifndef GL_KHR_debug
  3448. #define GL_KHR_debug 1
  3449. #endif /* GL_KHR_debug */
  3450. #ifndef GL_KHR_no_error
  3451. #define GL_KHR_no_error 1
  3452. #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
  3453. #endif /* GL_KHR_no_error */
  3454. #ifndef GL_KHR_robust_buffer_access_behavior
  3455. #define GL_KHR_robust_buffer_access_behavior 1
  3456. #endif /* GL_KHR_robust_buffer_access_behavior */
  3457. #ifndef GL_KHR_robustness
  3458. #define GL_KHR_robustness 1
  3459. #define GL_CONTEXT_ROBUST_ACCESS 0x90F3
  3460. #endif /* GL_KHR_robustness */
  3461. #ifndef GL_KHR_texture_compression_astc_hdr
  3462. #define GL_KHR_texture_compression_astc_hdr 1
  3463. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  3464. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  3465. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  3466. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  3467. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  3468. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  3469. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  3470. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  3471. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  3472. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  3473. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  3474. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  3475. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  3476. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  3477. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  3478. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  3479. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  3480. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  3481. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  3482. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  3483. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  3484. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  3485. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  3486. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  3487. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  3488. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  3489. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  3490. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  3491. #endif /* GL_KHR_texture_compression_astc_hdr */
  3492. #ifndef GL_KHR_texture_compression_astc_ldr
  3493. #define GL_KHR_texture_compression_astc_ldr 1
  3494. #endif /* GL_KHR_texture_compression_astc_ldr */
  3495. #ifndef GL_KHR_texture_compression_astc_sliced_3d
  3496. #define GL_KHR_texture_compression_astc_sliced_3d 1
  3497. #endif /* GL_KHR_texture_compression_astc_sliced_3d */
  3498. #ifndef GL_AMD_performance_monitor
  3499. #define GL_AMD_performance_monitor 1
  3500. #define GL_COUNTER_TYPE_AMD 0x8BC0
  3501. #define GL_COUNTER_RANGE_AMD 0x8BC1
  3502. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  3503. #define GL_PERCENTAGE_AMD 0x8BC3
  3504. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  3505. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  3506. #define GL_PERFMON_RESULT_AMD 0x8BC6
  3507. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  3508. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  3509. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  3510. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  3511. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  3512. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  3513. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  3514. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  3515. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  3516. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  3517. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  3518. #ifdef GL_GLEXT_PROTOTYPES
  3519. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  3520. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  3521. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  3522. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  3523. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  3524. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  3525. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  3526. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  3527. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  3528. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  3529. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  3530. #endif
  3531. #endif /* GL_AMD_performance_monitor */
  3532. #ifndef GL_APPLE_rgb_422
  3533. #define GL_APPLE_rgb_422 1
  3534. #define GL_RGB_422_APPLE 0x8A1F
  3535. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  3536. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  3537. #define GL_RGB_RAW_422_APPLE 0x8A51
  3538. #endif /* GL_APPLE_rgb_422 */
  3539. #ifndef GL_EXT_debug_label
  3540. #define GL_EXT_debug_label 1
  3541. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  3542. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  3543. #define GL_SHADER_OBJECT_EXT 0x8B48
  3544. #define GL_BUFFER_OBJECT_EXT 0x9151
  3545. #define GL_QUERY_OBJECT_EXT 0x9153
  3546. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  3547. typedef void (APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  3548. typedef void (APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  3549. #ifdef GL_GLEXT_PROTOTYPES
  3550. GLAPI void APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  3551. GLAPI void APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  3552. #endif
  3553. #endif /* GL_EXT_debug_label */
  3554. #ifndef GL_EXT_debug_marker
  3555. #define GL_EXT_debug_marker 1
  3556. typedef void (APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  3557. typedef void (APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  3558. typedef void (APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  3559. #ifdef GL_GLEXT_PROTOTYPES
  3560. GLAPI void APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  3561. GLAPI void APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  3562. GLAPI void APIENTRY glPopGroupMarkerEXT (void);
  3563. #endif
  3564. #endif /* GL_EXT_debug_marker */
  3565. #ifndef GL_EXT_direct_state_access
  3566. #define GL_EXT_direct_state_access 1
  3567. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  3568. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  3569. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  3570. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  3571. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  3572. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  3573. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  3574. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  3575. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  3576. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  3577. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  3578. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  3579. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  3580. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  3581. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  3582. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  3583. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  3584. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  3585. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  3586. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  3587. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  3588. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  3589. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  3590. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  3591. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  3592. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  3593. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3594. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3595. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  3596. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  3597. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3598. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3599. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  3600. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  3601. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  3602. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  3603. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  3604. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  3605. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  3606. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3607. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  3608. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  3609. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  3610. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  3611. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  3612. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3613. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  3614. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  3615. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  3616. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  3617. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  3618. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  3619. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  3620. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3621. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  3622. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  3623. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  3624. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  3625. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3626. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  3627. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  3628. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  3629. typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  3630. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3631. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3632. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  3633. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  3634. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3635. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3636. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  3637. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  3638. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3639. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  3640. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  3641. typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  3642. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  3643. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3644. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  3645. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  3646. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  3647. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  3648. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, void **data);
  3649. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  3650. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  3651. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  3652. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  3653. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  3654. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  3655. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  3656. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  3657. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
  3658. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  3659. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  3660. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, void *img);
  3661. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  3662. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  3663. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  3664. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
  3665. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  3666. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  3667. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, void *img);
  3668. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  3669. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  3670. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  3671. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  3672. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  3673. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  3674. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  3675. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  3676. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  3677. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void **params);
  3678. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  3679. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  3680. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  3681. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3682. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3683. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  3684. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  3685. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  3686. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3687. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3688. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3689. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3690. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3691. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  3692. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  3693. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  3694. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  3695. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3696. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3697. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3698. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3699. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3700. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3701. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3702. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3703. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3704. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  3705. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  3706. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  3707. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  3708. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  3709. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  3710. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3711. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  3712. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3713. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  3714. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  3715. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  3716. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  3717. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  3718. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3719. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3720. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3721. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3722. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  3723. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  3724. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  3725. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  3726. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  3727. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  3728. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  3729. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  3730. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  3731. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  3732. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  3733. typedef void (APIENTRYP PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat *params);
  3734. typedef void (APIENTRYP PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble *params);
  3735. typedef void (APIENTRYP PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, void **params);
  3736. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  3737. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3738. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  3739. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3740. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  3741. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  3742. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  3743. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  3744. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void *string);
  3745. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  3746. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  3747. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  3748. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  3749. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  3750. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  3751. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  3752. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  3753. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  3754. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  3755. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  3756. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  3757. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  3758. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  3759. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  3760. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  3761. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  3762. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  3763. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3764. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3765. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  3766. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  3767. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3768. typedef void (APIENTRYP PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3769. typedef void (APIENTRYP PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  3770. typedef void (APIENTRYP PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  3771. typedef void (APIENTRYP PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  3772. typedef void (APIENTRYP PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3773. typedef void (APIENTRYP PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3774. typedef void (APIENTRYP PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  3775. typedef void (APIENTRYP PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3776. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  3777. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3778. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  3779. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  3780. typedef void (APIENTRYP PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  3781. typedef void (APIENTRYP PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  3782. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint *param);
  3783. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, void **param);
  3784. typedef void (APIENTRYP PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  3785. typedef void (APIENTRYP PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, void **param);
  3786. typedef void *(APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  3787. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  3788. typedef void (APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTPROC) (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  3789. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  3790. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  3791. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  3792. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  3793. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  3794. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  3795. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  3796. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3797. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  3798. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  3799. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  3800. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  3801. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3802. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3803. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3804. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3805. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3806. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3807. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3808. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3809. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  3810. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  3811. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  3812. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  3813. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  3814. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  3815. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  3816. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  3817. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  3818. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3819. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  3820. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  3821. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  3822. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  3823. typedef void (APIENTRYP PFNGLTEXTUREPAGECOMMITMENTEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  3824. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC) (GLuint vaobj, GLuint index, GLuint divisor);
  3825. #ifdef GL_GLEXT_PROTOTYPES
  3826. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  3827. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  3828. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  3829. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  3830. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  3831. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  3832. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  3833. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  3834. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  3835. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  3836. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  3837. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  3838. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  3839. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  3840. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  3841. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  3842. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  3843. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  3844. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  3845. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  3846. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  3847. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  3848. GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  3849. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3850. GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3851. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  3852. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  3853. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3854. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3855. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  3856. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  3857. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  3858. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  3859. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  3860. GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  3861. GLAPI void APIENTRY glTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  3862. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3863. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  3864. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void *pointer);
  3865. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  3866. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  3867. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  3868. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3869. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  3870. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  3871. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  3872. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  3873. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  3874. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  3875. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  3876. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3877. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  3878. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  3879. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  3880. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  3881. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3882. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  3883. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  3884. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void *pixels);
  3885. GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void *pixels);
  3886. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void *pixels);
  3887. GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void *pixels);
  3888. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  3889. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  3890. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  3891. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3892. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void *pixels);
  3893. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  3894. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3895. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  3896. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  3897. GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  3898. GLAPI void APIENTRY glMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  3899. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  3900. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  3901. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  3902. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  3903. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  3904. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, void **data);
  3905. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  3906. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  3907. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  3908. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  3909. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  3910. GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  3911. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  3912. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  3913. GLAPI void APIENTRY glCompressedTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
  3914. GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  3915. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  3916. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, void *img);
  3917. GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *bits);
  3918. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void *bits);
  3919. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void *bits);
  3920. GLAPI void APIENTRY glCompressedMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *bits);
  3921. GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void *bits);
  3922. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void *bits);
  3923. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, void *img);
  3924. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  3925. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  3926. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  3927. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  3928. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const void *data, GLenum usage);
  3929. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const void *data);
  3930. GLAPI void *APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  3931. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  3932. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  3933. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, void **params);
  3934. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, void *data);
  3935. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  3936. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  3937. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  3938. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  3939. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  3940. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  3941. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  3942. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  3943. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3944. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3945. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3946. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  3947. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  3948. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  3949. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  3950. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  3951. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3952. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3953. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3954. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3955. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3956. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3957. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3958. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3959. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3960. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  3961. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  3962. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  3963. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  3964. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  3965. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  3966. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  3967. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  3968. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  3969. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  3970. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  3971. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  3972. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  3973. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  3974. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3975. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3976. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3977. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  3978. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  3979. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  3980. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  3981. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  3982. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  3983. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  3984. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  3985. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  3986. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  3987. GLAPI void APIENTRY glEnableClientStateiEXT (GLenum array, GLuint index);
  3988. GLAPI void APIENTRY glDisableClientStateiEXT (GLenum array, GLuint index);
  3989. GLAPI void APIENTRY glGetFloati_vEXT (GLenum pname, GLuint index, GLfloat *params);
  3990. GLAPI void APIENTRY glGetDoublei_vEXT (GLenum pname, GLuint index, GLdouble *params);
  3991. GLAPI void APIENTRY glGetPointeri_vEXT (GLenum pname, GLuint index, void **params);
  3992. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const void *string);
  3993. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3994. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  3995. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  3996. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  3997. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  3998. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  3999. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  4000. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, void *string);
  4001. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  4002. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  4003. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  4004. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  4005. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  4006. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  4007. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  4008. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  4009. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  4010. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  4011. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  4012. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  4013. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  4014. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  4015. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  4016. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  4017. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  4018. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  4019. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  4020. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  4021. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  4022. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  4023. GLAPI void APIENTRY glVertexArrayVertexOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4024. GLAPI void APIENTRY glVertexArrayColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4025. GLAPI void APIENTRY glVertexArrayEdgeFlagOffsetEXT (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  4026. GLAPI void APIENTRY glVertexArrayIndexOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  4027. GLAPI void APIENTRY glVertexArrayNormalOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  4028. GLAPI void APIENTRY glVertexArrayTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4029. GLAPI void APIENTRY glVertexArrayMultiTexCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4030. GLAPI void APIENTRY glVertexArrayFogCoordOffsetEXT (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  4031. GLAPI void APIENTRY glVertexArraySecondaryColorOffsetEXT (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4032. GLAPI void APIENTRY glVertexArrayVertexAttribOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  4033. GLAPI void APIENTRY glVertexArrayVertexAttribIOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4034. GLAPI void APIENTRY glEnableVertexArrayEXT (GLuint vaobj, GLenum array);
  4035. GLAPI void APIENTRY glDisableVertexArrayEXT (GLuint vaobj, GLenum array);
  4036. GLAPI void APIENTRY glEnableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  4037. GLAPI void APIENTRY glDisableVertexArrayAttribEXT (GLuint vaobj, GLuint index);
  4038. GLAPI void APIENTRY glGetVertexArrayIntegervEXT (GLuint vaobj, GLenum pname, GLint *param);
  4039. GLAPI void APIENTRY glGetVertexArrayPointervEXT (GLuint vaobj, GLenum pname, void **param);
  4040. GLAPI void APIENTRY glGetVertexArrayIntegeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, GLint *param);
  4041. GLAPI void APIENTRY glGetVertexArrayPointeri_vEXT (GLuint vaobj, GLuint index, GLenum pname, void **param);
  4042. GLAPI void *APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  4043. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  4044. GLAPI void APIENTRY glNamedBufferStorageEXT (GLuint buffer, GLsizeiptr size, const void *data, GLbitfield flags);
  4045. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  4046. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLsizeiptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  4047. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  4048. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  4049. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  4050. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  4051. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  4052. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4053. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  4054. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  4055. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  4056. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  4057. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4058. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4059. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4060. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4061. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4062. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4063. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4064. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4065. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  4066. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  4067. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  4068. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  4069. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  4070. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  4071. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  4072. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  4073. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  4074. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  4075. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  4076. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  4077. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  4078. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  4079. GLAPI void APIENTRY glTexturePageCommitmentEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  4080. GLAPI void APIENTRY glVertexArrayVertexAttribDivisorEXT (GLuint vaobj, GLuint index, GLuint divisor);
  4081. #endif
  4082. #endif /* GL_EXT_direct_state_access */
  4083. #ifndef GL_EXT_draw_instanced
  4084. #define GL_EXT_draw_instanced 1
  4085. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  4086. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  4087. #ifdef GL_GLEXT_PROTOTYPES
  4088. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  4089. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  4090. #endif
  4091. #endif /* GL_EXT_draw_instanced */
  4092. #ifndef GL_EXT_polygon_offset_clamp
  4093. #define GL_EXT_polygon_offset_clamp 1
  4094. #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
  4095. typedef void (APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  4096. #ifdef GL_GLEXT_PROTOTYPES
  4097. GLAPI void APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
  4098. #endif
  4099. #endif /* GL_EXT_polygon_offset_clamp */
  4100. #ifndef GL_EXT_post_depth_coverage
  4101. #define GL_EXT_post_depth_coverage 1
  4102. #endif /* GL_EXT_post_depth_coverage */
  4103. #ifndef GL_EXT_raster_multisample
  4104. #define GL_EXT_raster_multisample 1
  4105. #define GL_RASTER_MULTISAMPLE_EXT 0x9327
  4106. #define GL_RASTER_SAMPLES_EXT 0x9328
  4107. #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
  4108. #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
  4109. #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
  4110. #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
  4111. typedef void (APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
  4112. #ifdef GL_GLEXT_PROTOTYPES
  4113. GLAPI void APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
  4114. #endif
  4115. #endif /* GL_EXT_raster_multisample */
  4116. #ifndef GL_EXT_separate_shader_objects
  4117. #define GL_EXT_separate_shader_objects 1
  4118. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  4119. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  4120. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  4121. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  4122. #ifdef GL_GLEXT_PROTOTYPES
  4123. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  4124. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  4125. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  4126. #endif
  4127. #endif /* GL_EXT_separate_shader_objects */
  4128. #ifndef GL_EXT_shader_integer_mix
  4129. #define GL_EXT_shader_integer_mix 1
  4130. #endif /* GL_EXT_shader_integer_mix */
  4131. #ifndef GL_EXT_texture_compression_s3tc
  4132. #define GL_EXT_texture_compression_s3tc 1
  4133. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  4134. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  4135. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  4136. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  4137. #endif /* GL_EXT_texture_compression_s3tc */
  4138. #ifndef GL_EXT_texture_filter_minmax
  4139. #define GL_EXT_texture_filter_minmax 1
  4140. #endif /* GL_EXT_texture_filter_minmax */
  4141. #ifndef GL_EXT_texture_sRGB_decode
  4142. #define GL_EXT_texture_sRGB_decode 1
  4143. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  4144. #define GL_DECODE_EXT 0x8A49
  4145. #define GL_SKIP_DECODE_EXT 0x8A4A
  4146. #endif /* GL_EXT_texture_sRGB_decode */
  4147. #ifndef GL_EXT_window_rectangles
  4148. #define GL_EXT_window_rectangles 1
  4149. #define GL_INCLUSIVE_EXT 0x8F10
  4150. #define GL_EXCLUSIVE_EXT 0x8F11
  4151. #define GL_WINDOW_RECTANGLE_EXT 0x8F12
  4152. #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
  4153. #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
  4154. #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
  4155. typedef void (APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
  4156. #ifdef GL_GLEXT_PROTOTYPES
  4157. GLAPI void APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
  4158. #endif
  4159. #endif /* GL_EXT_window_rectangles */
  4160. #ifndef GL_INTEL_conservative_rasterization
  4161. #define GL_INTEL_conservative_rasterization 1
  4162. #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
  4163. #endif /* GL_INTEL_conservative_rasterization */
  4164. #ifndef GL_INTEL_framebuffer_CMAA
  4165. #define GL_INTEL_framebuffer_CMAA 1
  4166. typedef void (APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
  4167. #ifdef GL_GLEXT_PROTOTYPES
  4168. GLAPI void APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
  4169. #endif
  4170. #endif /* GL_INTEL_framebuffer_CMAA */
  4171. #ifndef GL_INTEL_performance_query
  4172. #define GL_INTEL_performance_query 1
  4173. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  4174. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  4175. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  4176. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  4177. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  4178. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  4179. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  4180. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  4181. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  4182. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  4183. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  4184. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  4185. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  4186. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  4187. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  4188. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  4189. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  4190. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  4191. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  4192. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  4193. typedef void (APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  4194. typedef void (APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  4195. typedef void (APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  4196. typedef void (APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  4197. typedef void (APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  4198. typedef void (APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  4199. typedef void (APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  4200. typedef void (APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  4201. typedef void (APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  4202. typedef void (APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  4203. #ifdef GL_GLEXT_PROTOTYPES
  4204. GLAPI void APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  4205. GLAPI void APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  4206. GLAPI void APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  4207. GLAPI void APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  4208. GLAPI void APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  4209. GLAPI void APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  4210. GLAPI void APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  4211. GLAPI void APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  4212. GLAPI void APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  4213. GLAPI void APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  4214. #endif
  4215. #endif /* GL_INTEL_performance_query */
  4216. #ifndef GL_NV_bindless_texture
  4217. #define GL_NV_bindless_texture 1
  4218. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  4219. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  4220. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  4221. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  4222. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  4223. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  4224. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  4225. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  4226. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  4227. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  4228. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  4229. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  4230. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  4231. #ifdef GL_GLEXT_PROTOTYPES
  4232. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  4233. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  4234. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  4235. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  4236. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  4237. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  4238. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  4239. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  4240. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  4241. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  4242. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  4243. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  4244. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  4245. #endif
  4246. #endif /* GL_NV_bindless_texture */
  4247. #ifndef GL_NV_blend_equation_advanced
  4248. #define GL_NV_blend_equation_advanced 1
  4249. #define GL_BLEND_OVERLAP_NV 0x9281
  4250. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  4251. #define GL_BLUE_NV 0x1905
  4252. #define GL_COLORBURN_NV 0x929A
  4253. #define GL_COLORDODGE_NV 0x9299
  4254. #define GL_CONJOINT_NV 0x9284
  4255. #define GL_CONTRAST_NV 0x92A1
  4256. #define GL_DARKEN_NV 0x9297
  4257. #define GL_DIFFERENCE_NV 0x929E
  4258. #define GL_DISJOINT_NV 0x9283
  4259. #define GL_DST_ATOP_NV 0x928F
  4260. #define GL_DST_IN_NV 0x928B
  4261. #define GL_DST_NV 0x9287
  4262. #define GL_DST_OUT_NV 0x928D
  4263. #define GL_DST_OVER_NV 0x9289
  4264. #define GL_EXCLUSION_NV 0x92A0
  4265. #define GL_GREEN_NV 0x1904
  4266. #define GL_HARDLIGHT_NV 0x929B
  4267. #define GL_HARDMIX_NV 0x92A9
  4268. #define GL_HSL_COLOR_NV 0x92AF
  4269. #define GL_HSL_HUE_NV 0x92AD
  4270. #define GL_HSL_LUMINOSITY_NV 0x92B0
  4271. #define GL_HSL_SATURATION_NV 0x92AE
  4272. #define GL_INVERT_OVG_NV 0x92B4
  4273. #define GL_INVERT_RGB_NV 0x92A3
  4274. #define GL_LIGHTEN_NV 0x9298
  4275. #define GL_LINEARBURN_NV 0x92A5
  4276. #define GL_LINEARDODGE_NV 0x92A4
  4277. #define GL_LINEARLIGHT_NV 0x92A7
  4278. #define GL_MINUS_CLAMPED_NV 0x92B3
  4279. #define GL_MINUS_NV 0x929F
  4280. #define GL_MULTIPLY_NV 0x9294
  4281. #define GL_OVERLAY_NV 0x9296
  4282. #define GL_PINLIGHT_NV 0x92A8
  4283. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  4284. #define GL_PLUS_CLAMPED_NV 0x92B1
  4285. #define GL_PLUS_DARKER_NV 0x9292
  4286. #define GL_PLUS_NV 0x9291
  4287. #define GL_RED_NV 0x1903
  4288. #define GL_SCREEN_NV 0x9295
  4289. #define GL_SOFTLIGHT_NV 0x929C
  4290. #define GL_SRC_ATOP_NV 0x928E
  4291. #define GL_SRC_IN_NV 0x928A
  4292. #define GL_SRC_NV 0x9286
  4293. #define GL_SRC_OUT_NV 0x928C
  4294. #define GL_SRC_OVER_NV 0x9288
  4295. #define GL_UNCORRELATED_NV 0x9282
  4296. #define GL_VIVIDLIGHT_NV 0x92A6
  4297. #define GL_XOR_NV 0x1506
  4298. typedef void (APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  4299. typedef void (APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  4300. #ifdef GL_GLEXT_PROTOTYPES
  4301. GLAPI void APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  4302. GLAPI void APIENTRY glBlendBarrierNV (void);
  4303. #endif
  4304. #endif /* GL_NV_blend_equation_advanced */
  4305. #ifndef GL_NV_blend_equation_advanced_coherent
  4306. #define GL_NV_blend_equation_advanced_coherent 1
  4307. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  4308. #endif /* GL_NV_blend_equation_advanced_coherent */
  4309. #ifndef GL_NV_conditional_render
  4310. #define GL_NV_conditional_render 1
  4311. #define GL_QUERY_WAIT_NV 0x8E13
  4312. #define GL_QUERY_NO_WAIT_NV 0x8E14
  4313. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  4314. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  4315. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  4316. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  4317. #ifdef GL_GLEXT_PROTOTYPES
  4318. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  4319. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  4320. #endif
  4321. #endif /* GL_NV_conditional_render */
  4322. #ifndef GL_NV_conservative_raster
  4323. #define GL_NV_conservative_raster 1
  4324. #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
  4325. #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
  4326. #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
  4327. #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
  4328. typedef void (APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
  4329. #ifdef GL_GLEXT_PROTOTYPES
  4330. GLAPI void APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
  4331. #endif
  4332. #endif /* GL_NV_conservative_raster */
  4333. #ifndef GL_NV_conservative_raster_pre_snap_triangles
  4334. #define GL_NV_conservative_raster_pre_snap_triangles 1
  4335. #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
  4336. #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
  4337. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
  4338. typedef void (APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
  4339. #ifdef GL_GLEXT_PROTOTYPES
  4340. GLAPI void APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
  4341. #endif
  4342. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  4343. #ifndef GL_NV_draw_vulkan_image
  4344. #define GL_NV_draw_vulkan_image 1
  4345. typedef void (APIENTRY *GLVULKANPROCNV)(void);
  4346. typedef void (APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  4347. typedef GLVULKANPROCNV (APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
  4348. typedef void (APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  4349. typedef void (APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  4350. typedef void (APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
  4351. #ifdef GL_GLEXT_PROTOTYPES
  4352. GLAPI void APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  4353. GLAPI GLVULKANPROCNV APIENTRY glGetVkProcAddrNV (const GLchar *name);
  4354. GLAPI void APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
  4355. GLAPI void APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
  4356. GLAPI void APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
  4357. #endif
  4358. #endif /* GL_NV_draw_vulkan_image */
  4359. #ifndef GL_NV_fill_rectangle
  4360. #define GL_NV_fill_rectangle 1
  4361. #define GL_FILL_RECTANGLE_NV 0x933C
  4362. #endif /* GL_NV_fill_rectangle */
  4363. #ifndef GL_NV_fragment_coverage_to_color
  4364. #define GL_NV_fragment_coverage_to_color 1
  4365. #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
  4366. #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
  4367. typedef void (APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
  4368. #ifdef GL_GLEXT_PROTOTYPES
  4369. GLAPI void APIENTRY glFragmentCoverageColorNV (GLuint color);
  4370. #endif
  4371. #endif /* GL_NV_fragment_coverage_to_color */
  4372. #ifndef GL_NV_fragment_shader_interlock
  4373. #define GL_NV_fragment_shader_interlock 1
  4374. #endif /* GL_NV_fragment_shader_interlock */
  4375. #ifndef GL_NV_framebuffer_mixed_samples
  4376. #define GL_NV_framebuffer_mixed_samples 1
  4377. #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
  4378. #define GL_COLOR_SAMPLES_NV 0x8E20
  4379. #define GL_DEPTH_SAMPLES_NV 0x932D
  4380. #define GL_STENCIL_SAMPLES_NV 0x932E
  4381. #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
  4382. #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
  4383. #define GL_COVERAGE_MODULATION_NV 0x9332
  4384. #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
  4385. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
  4386. typedef void (APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
  4387. typedef void (APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
  4388. #ifdef GL_GLEXT_PROTOTYPES
  4389. GLAPI void APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
  4390. GLAPI void APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
  4391. GLAPI void APIENTRY glCoverageModulationNV (GLenum components);
  4392. #endif
  4393. #endif /* GL_NV_framebuffer_mixed_samples */
  4394. #ifndef GL_NV_geometry_shader_passthrough
  4395. #define GL_NV_geometry_shader_passthrough 1
  4396. #endif /* GL_NV_geometry_shader_passthrough */
  4397. #ifndef GL_NV_gpu_shader5
  4398. #define GL_NV_gpu_shader5 1
  4399. typedef int64_t GLint64EXT;
  4400. #define GL_INT64_NV 0x140E
  4401. #define GL_UNSIGNED_INT64_NV 0x140F
  4402. #define GL_INT8_NV 0x8FE0
  4403. #define GL_INT8_VEC2_NV 0x8FE1
  4404. #define GL_INT8_VEC3_NV 0x8FE2
  4405. #define GL_INT8_VEC4_NV 0x8FE3
  4406. #define GL_INT16_NV 0x8FE4
  4407. #define GL_INT16_VEC2_NV 0x8FE5
  4408. #define GL_INT16_VEC3_NV 0x8FE6
  4409. #define GL_INT16_VEC4_NV 0x8FE7
  4410. #define GL_INT64_VEC2_NV 0x8FE9
  4411. #define GL_INT64_VEC3_NV 0x8FEA
  4412. #define GL_INT64_VEC4_NV 0x8FEB
  4413. #define GL_UNSIGNED_INT8_NV 0x8FEC
  4414. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  4415. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  4416. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  4417. #define GL_UNSIGNED_INT16_NV 0x8FF0
  4418. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  4419. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  4420. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  4421. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  4422. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  4423. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  4424. #define GL_FLOAT16_NV 0x8FF8
  4425. #define GL_FLOAT16_VEC2_NV 0x8FF9
  4426. #define GL_FLOAT16_VEC3_NV 0x8FFA
  4427. #define GL_FLOAT16_VEC4_NV 0x8FFB
  4428. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  4429. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  4430. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4431. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4432. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4433. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4434. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4435. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  4436. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  4437. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  4438. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4439. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4440. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4441. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4442. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4443. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  4444. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  4445. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  4446. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4447. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4448. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4449. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4450. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4451. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4452. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4453. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  4454. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4455. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4456. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4457. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4458. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4459. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4460. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4461. #ifdef GL_GLEXT_PROTOTYPES
  4462. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  4463. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  4464. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4465. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4466. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4467. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4468. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4469. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  4470. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  4471. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  4472. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4473. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4474. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4475. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4476. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4477. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  4478. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  4479. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  4480. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  4481. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  4482. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  4483. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4484. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4485. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4486. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  4487. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  4488. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  4489. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  4490. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  4491. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4492. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4493. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4494. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  4495. #endif
  4496. #endif /* GL_NV_gpu_shader5 */
  4497. #ifndef GL_NV_internalformat_sample_query
  4498. #define GL_NV_internalformat_sample_query 1
  4499. #define GL_MULTISAMPLES_NV 0x9371
  4500. #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
  4501. #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
  4502. #define GL_CONFORMANT_NV 0x9374
  4503. typedef void (APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  4504. #ifdef GL_GLEXT_PROTOTYPES
  4505. GLAPI void APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  4506. #endif
  4507. #endif /* GL_NV_internalformat_sample_query */
  4508. #ifndef GL_NV_path_rendering
  4509. #define GL_NV_path_rendering 1
  4510. #define GL_PATH_FORMAT_SVG_NV 0x9070
  4511. #define GL_PATH_FORMAT_PS_NV 0x9071
  4512. #define GL_STANDARD_FONT_NAME_NV 0x9072
  4513. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  4514. #define GL_FILE_NAME_NV 0x9074
  4515. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  4516. #define GL_PATH_END_CAPS_NV 0x9076
  4517. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  4518. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  4519. #define GL_PATH_JOIN_STYLE_NV 0x9079
  4520. #define GL_PATH_MITER_LIMIT_NV 0x907A
  4521. #define GL_PATH_DASH_CAPS_NV 0x907B
  4522. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  4523. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  4524. #define GL_PATH_DASH_OFFSET_NV 0x907E
  4525. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  4526. #define GL_PATH_FILL_MODE_NV 0x9080
  4527. #define GL_PATH_FILL_MASK_NV 0x9081
  4528. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  4529. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  4530. #define GL_PATH_STROKE_MASK_NV 0x9084
  4531. #define GL_COUNT_UP_NV 0x9088
  4532. #define GL_COUNT_DOWN_NV 0x9089
  4533. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  4534. #define GL_CONVEX_HULL_NV 0x908B
  4535. #define GL_BOUNDING_BOX_NV 0x908D
  4536. #define GL_TRANSLATE_X_NV 0x908E
  4537. #define GL_TRANSLATE_Y_NV 0x908F
  4538. #define GL_TRANSLATE_2D_NV 0x9090
  4539. #define GL_TRANSLATE_3D_NV 0x9091
  4540. #define GL_AFFINE_2D_NV 0x9092
  4541. #define GL_AFFINE_3D_NV 0x9094
  4542. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  4543. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  4544. #define GL_UTF8_NV 0x909A
  4545. #define GL_UTF16_NV 0x909B
  4546. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  4547. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  4548. #define GL_PATH_COORD_COUNT_NV 0x909E
  4549. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  4550. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  4551. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  4552. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  4553. #define GL_SQUARE_NV 0x90A3
  4554. #define GL_ROUND_NV 0x90A4
  4555. #define GL_TRIANGULAR_NV 0x90A5
  4556. #define GL_BEVEL_NV 0x90A6
  4557. #define GL_MITER_REVERT_NV 0x90A7
  4558. #define GL_MITER_TRUNCATE_NV 0x90A8
  4559. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  4560. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  4561. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  4562. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  4563. #define GL_ADJACENT_PAIRS_NV 0x90AE
  4564. #define GL_FIRST_TO_REST_NV 0x90AF
  4565. #define GL_PATH_GEN_MODE_NV 0x90B0
  4566. #define GL_PATH_GEN_COEFF_NV 0x90B1
  4567. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  4568. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  4569. #define GL_PATH_STENCIL_REF_NV 0x90B8
  4570. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  4571. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  4572. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  4573. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  4574. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  4575. #define GL_MOVE_TO_RESETS_NV 0x90B5
  4576. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  4577. #define GL_CLOSE_PATH_NV 0x00
  4578. #define GL_MOVE_TO_NV 0x02
  4579. #define GL_RELATIVE_MOVE_TO_NV 0x03
  4580. #define GL_LINE_TO_NV 0x04
  4581. #define GL_RELATIVE_LINE_TO_NV 0x05
  4582. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  4583. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  4584. #define GL_VERTICAL_LINE_TO_NV 0x08
  4585. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  4586. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  4587. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  4588. #define GL_CUBIC_CURVE_TO_NV 0x0C
  4589. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  4590. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  4591. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  4592. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  4593. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  4594. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  4595. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  4596. #define GL_SMALL_CW_ARC_TO_NV 0x14
  4597. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  4598. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  4599. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  4600. #define GL_LARGE_CW_ARC_TO_NV 0x18
  4601. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  4602. #define GL_RESTART_PATH_NV 0xF0
  4603. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  4604. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  4605. #define GL_RECT_NV 0xF6
  4606. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  4607. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  4608. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  4609. #define GL_ARC_TO_NV 0xFE
  4610. #define GL_RELATIVE_ARC_TO_NV 0xFF
  4611. #define GL_BOLD_BIT_NV 0x01
  4612. #define GL_ITALIC_BIT_NV 0x02
  4613. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  4614. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  4615. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  4616. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  4617. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  4618. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  4619. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  4620. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  4621. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  4622. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  4623. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  4624. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  4625. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  4626. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  4627. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  4628. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  4629. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  4630. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  4631. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  4632. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  4633. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  4634. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  4635. #define GL_ROUNDED_RECT_NV 0xE8
  4636. #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
  4637. #define GL_ROUNDED_RECT2_NV 0xEA
  4638. #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
  4639. #define GL_ROUNDED_RECT4_NV 0xEC
  4640. #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
  4641. #define GL_ROUNDED_RECT8_NV 0xEE
  4642. #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
  4643. #define GL_RELATIVE_RECT_NV 0xF7
  4644. #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
  4645. #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
  4646. #define GL_FONT_UNAVAILABLE_NV 0x936A
  4647. #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
  4648. #define GL_CONIC_CURVE_TO_NV 0x1A
  4649. #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
  4650. #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
  4651. #define GL_STANDARD_FONT_FORMAT_NV 0x936C
  4652. #define GL_PATH_PROJECTION_NV 0x1701
  4653. #define GL_PATH_MODELVIEW_NV 0x1700
  4654. #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
  4655. #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
  4656. #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
  4657. #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
  4658. #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
  4659. #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
  4660. #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
  4661. #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
  4662. #define GL_FRAGMENT_INPUT_NV 0x936D
  4663. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  4664. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  4665. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  4666. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  4667. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  4668. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  4669. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  4670. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  4671. typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4672. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4673. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  4674. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  4675. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  4676. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  4677. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  4678. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  4679. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  4680. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  4681. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  4682. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  4683. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  4684. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  4685. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  4686. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  4687. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  4688. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  4689. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  4690. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  4691. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4692. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4693. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  4694. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  4695. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  4696. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  4697. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  4698. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  4699. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  4700. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  4701. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  4702. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  4703. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  4704. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  4705. typedef void (APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4706. typedef void (APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4707. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4708. typedef void (APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4709. typedef void (APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4710. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  4711. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  4712. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  4713. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4714. typedef void (APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4715. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  4716. typedef GLenum (APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4717. typedef GLenum (APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4718. typedef void (APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  4719. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  4720. #ifdef GL_GLEXT_PROTOTYPES
  4721. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  4722. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  4723. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  4724. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  4725. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  4726. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  4727. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  4728. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  4729. GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4730. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4731. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  4732. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  4733. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  4734. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  4735. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  4736. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  4737. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  4738. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  4739. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  4740. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  4741. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  4742. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  4743. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  4744. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  4745. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  4746. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  4747. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  4748. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  4749. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4750. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4751. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  4752. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  4753. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  4754. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  4755. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  4756. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  4757. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  4758. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  4759. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  4760. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  4761. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  4762. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  4763. GLAPI void APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
  4764. GLAPI void APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
  4765. GLAPI void APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  4766. GLAPI void APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
  4767. GLAPI void APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
  4768. GLAPI void APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  4769. GLAPI void APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  4770. GLAPI void APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  4771. GLAPI void APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4772. GLAPI void APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  4773. GLAPI GLenum APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  4774. GLAPI GLenum APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4775. GLAPI GLenum APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  4776. GLAPI void APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  4777. GLAPI void APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  4778. #endif
  4779. #endif /* GL_NV_path_rendering */
  4780. #ifndef GL_NV_path_rendering_shared_edge
  4781. #define GL_NV_path_rendering_shared_edge 1
  4782. #define GL_SHARED_EDGE_NV 0xC0
  4783. #endif /* GL_NV_path_rendering_shared_edge */
  4784. #ifndef GL_NV_sample_locations
  4785. #define GL_NV_sample_locations 1
  4786. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
  4787. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
  4788. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
  4789. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
  4790. #define GL_SAMPLE_LOCATION_NV 0x8E50
  4791. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
  4792. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
  4793. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
  4794. typedef void (APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4795. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4796. typedef void (APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
  4797. #ifdef GL_GLEXT_PROTOTYPES
  4798. GLAPI void APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  4799. GLAPI void APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  4800. GLAPI void APIENTRY glResolveDepthValuesNV (void);
  4801. #endif
  4802. #endif /* GL_NV_sample_locations */
  4803. #ifndef GL_NV_sample_mask_override_coverage
  4804. #define GL_NV_sample_mask_override_coverage 1
  4805. #endif /* GL_NV_sample_mask_override_coverage */
  4806. #ifndef GL_NV_shader_atomic_fp16_vector
  4807. #define GL_NV_shader_atomic_fp16_vector 1
  4808. #endif /* GL_NV_shader_atomic_fp16_vector */
  4809. #ifndef GL_NV_viewport_array2
  4810. #define GL_NV_viewport_array2 1
  4811. #endif /* GL_NV_viewport_array2 */
  4812. #ifndef GL_NV_viewport_swizzle
  4813. #define GL_NV_viewport_swizzle 1
  4814. #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
  4815. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
  4816. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
  4817. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
  4818. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
  4819. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
  4820. #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
  4821. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
  4822. #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
  4823. #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
  4824. #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
  4825. #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
  4826. typedef void (APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  4827. #ifdef GL_GLEXT_PROTOTYPES
  4828. GLAPI void APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  4829. #endif
  4830. #endif /* GL_NV_viewport_swizzle */
  4831. #ifndef GL_OVR_multiview
  4832. #define GL_OVR_multiview 1
  4833. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
  4834. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
  4835. #define GL_MAX_VIEWS_OVR 0x9631
  4836. #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
  4837. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  4838. #ifdef GL_GLEXT_PROTOTYPES
  4839. GLAPI void APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  4840. #endif
  4841. #endif /* GL_OVR_multiview */
  4842. #ifndef GL_OVR_multiview2
  4843. #define GL_OVR_multiview2 1
  4844. #endif /* GL_OVR_multiview2 */
  4845. #ifdef __cplusplus
  4846. }
  4847. #endif
  4848. #endif