glext.h 710 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750
  1. #ifndef __glext_h_
  2. #define __glext_h_
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2007-2012 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. /* Header file version number, required by OpenGL ABI for Linux */
  29. /* glext.h last updated $Date: 2012-09-19 19:02:24 -0700 (Wed, 19 Sep 2012) $ */
  30. /* Current version at http://www.opengl.org/registry/ */
  31. #define GL_GLEXT_VERSION 85
  32. /* Function declaration macros - to move into glplatform.h */
  33. #if defined(_WIN32) && !defined(APIENTRY) && !defined(__CYGWIN__) && !defined(__SCITECH_SNAP__)
  34. #define WIN32_LEAN_AND_MEAN 1
  35. #include <windows.h>
  36. #endif
  37. #ifndef APIENTRY
  38. #define APIENTRY
  39. #endif
  40. #ifndef APIENTRYP
  41. #define APIENTRYP APIENTRY *
  42. #endif
  43. #ifndef GLAPI
  44. #define GLAPI extern
  45. #endif
  46. /*************************************************************/
  47. #ifndef GL_VERSION_1_2
  48. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  49. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  50. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  51. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  52. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  53. #define GL_TEXTURE_BINDING_3D 0x806A
  54. #define GL_PACK_SKIP_IMAGES 0x806B
  55. #define GL_PACK_IMAGE_HEIGHT 0x806C
  56. #define GL_UNPACK_SKIP_IMAGES 0x806D
  57. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  58. #define GL_TEXTURE_3D 0x806F
  59. #define GL_PROXY_TEXTURE_3D 0x8070
  60. #define GL_TEXTURE_DEPTH 0x8071
  61. #define GL_TEXTURE_WRAP_R 0x8072
  62. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  63. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  64. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  65. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  66. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  67. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  68. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  69. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  70. #define GL_BGR 0x80E0
  71. #define GL_BGRA 0x80E1
  72. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  73. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  74. #define GL_CLAMP_TO_EDGE 0x812F
  75. #define GL_TEXTURE_MIN_LOD 0x813A
  76. #define GL_TEXTURE_MAX_LOD 0x813B
  77. #define GL_TEXTURE_BASE_LEVEL 0x813C
  78. #define GL_TEXTURE_MAX_LEVEL 0x813D
  79. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  80. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  81. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  82. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  83. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  84. #define GL_RESCALE_NORMAL 0x803A
  85. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  86. #define GL_SINGLE_COLOR 0x81F9
  87. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  88. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  89. #endif
  90. #ifndef GL_ARB_imaging
  91. #define GL_CONSTANT_COLOR 0x8001
  92. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  93. #define GL_CONSTANT_ALPHA 0x8003
  94. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  95. #define GL_BLEND_COLOR 0x8005
  96. #define GL_FUNC_ADD 0x8006
  97. #define GL_MIN 0x8007
  98. #define GL_MAX 0x8008
  99. #define GL_BLEND_EQUATION 0x8009
  100. #define GL_FUNC_SUBTRACT 0x800A
  101. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  102. #define GL_CONVOLUTION_1D 0x8010
  103. #define GL_CONVOLUTION_2D 0x8011
  104. #define GL_SEPARABLE_2D 0x8012
  105. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  106. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  107. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  108. #define GL_REDUCE 0x8016
  109. #define GL_CONVOLUTION_FORMAT 0x8017
  110. #define GL_CONVOLUTION_WIDTH 0x8018
  111. #define GL_CONVOLUTION_HEIGHT 0x8019
  112. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  113. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  114. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  115. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  116. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  117. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  118. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  119. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  120. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  121. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  122. #define GL_HISTOGRAM 0x8024
  123. #define GL_PROXY_HISTOGRAM 0x8025
  124. #define GL_HISTOGRAM_WIDTH 0x8026
  125. #define GL_HISTOGRAM_FORMAT 0x8027
  126. #define GL_HISTOGRAM_RED_SIZE 0x8028
  127. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  128. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  129. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  130. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  131. #define GL_HISTOGRAM_SINK 0x802D
  132. #define GL_MINMAX 0x802E
  133. #define GL_MINMAX_FORMAT 0x802F
  134. #define GL_MINMAX_SINK 0x8030
  135. #define GL_TABLE_TOO_LARGE 0x8031
  136. #define GL_COLOR_MATRIX 0x80B1
  137. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  138. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  139. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  140. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  141. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  142. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  143. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  144. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  145. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  146. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  147. #define GL_COLOR_TABLE 0x80D0
  148. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  149. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  150. #define GL_PROXY_COLOR_TABLE 0x80D3
  151. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  152. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  153. #define GL_COLOR_TABLE_SCALE 0x80D6
  154. #define GL_COLOR_TABLE_BIAS 0x80D7
  155. #define GL_COLOR_TABLE_FORMAT 0x80D8
  156. #define GL_COLOR_TABLE_WIDTH 0x80D9
  157. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  158. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  159. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  160. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  161. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  162. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  163. #define GL_CONSTANT_BORDER 0x8151
  164. #define GL_REPLICATE_BORDER 0x8153
  165. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  166. #endif
  167. #ifndef GL_VERSION_1_3
  168. #define GL_TEXTURE0 0x84C0
  169. #define GL_TEXTURE1 0x84C1
  170. #define GL_TEXTURE2 0x84C2
  171. #define GL_TEXTURE3 0x84C3
  172. #define GL_TEXTURE4 0x84C4
  173. #define GL_TEXTURE5 0x84C5
  174. #define GL_TEXTURE6 0x84C6
  175. #define GL_TEXTURE7 0x84C7
  176. #define GL_TEXTURE8 0x84C8
  177. #define GL_TEXTURE9 0x84C9
  178. #define GL_TEXTURE10 0x84CA
  179. #define GL_TEXTURE11 0x84CB
  180. #define GL_TEXTURE12 0x84CC
  181. #define GL_TEXTURE13 0x84CD
  182. #define GL_TEXTURE14 0x84CE
  183. #define GL_TEXTURE15 0x84CF
  184. #define GL_TEXTURE16 0x84D0
  185. #define GL_TEXTURE17 0x84D1
  186. #define GL_TEXTURE18 0x84D2
  187. #define GL_TEXTURE19 0x84D3
  188. #define GL_TEXTURE20 0x84D4
  189. #define GL_TEXTURE21 0x84D5
  190. #define GL_TEXTURE22 0x84D6
  191. #define GL_TEXTURE23 0x84D7
  192. #define GL_TEXTURE24 0x84D8
  193. #define GL_TEXTURE25 0x84D9
  194. #define GL_TEXTURE26 0x84DA
  195. #define GL_TEXTURE27 0x84DB
  196. #define GL_TEXTURE28 0x84DC
  197. #define GL_TEXTURE29 0x84DD
  198. #define GL_TEXTURE30 0x84DE
  199. #define GL_TEXTURE31 0x84DF
  200. #define GL_ACTIVE_TEXTURE 0x84E0
  201. #define GL_MULTISAMPLE 0x809D
  202. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  203. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  204. #define GL_SAMPLE_COVERAGE 0x80A0
  205. #define GL_SAMPLE_BUFFERS 0x80A8
  206. #define GL_SAMPLES 0x80A9
  207. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  208. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  209. #define GL_TEXTURE_CUBE_MAP 0x8513
  210. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  211. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  212. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  213. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  214. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  215. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  216. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  217. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  218. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  219. #define GL_COMPRESSED_RGB 0x84ED
  220. #define GL_COMPRESSED_RGBA 0x84EE
  221. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  222. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  223. #define GL_TEXTURE_COMPRESSED 0x86A1
  224. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  225. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  226. #define GL_CLAMP_TO_BORDER 0x812D
  227. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  228. #define GL_MAX_TEXTURE_UNITS 0x84E2
  229. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  230. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  231. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  232. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  233. #define GL_MULTISAMPLE_BIT 0x20000000
  234. #define GL_NORMAL_MAP 0x8511
  235. #define GL_REFLECTION_MAP 0x8512
  236. #define GL_COMPRESSED_ALPHA 0x84E9
  237. #define GL_COMPRESSED_LUMINANCE 0x84EA
  238. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  239. #define GL_COMPRESSED_INTENSITY 0x84EC
  240. #define GL_COMBINE 0x8570
  241. #define GL_COMBINE_RGB 0x8571
  242. #define GL_COMBINE_ALPHA 0x8572
  243. #define GL_SOURCE0_RGB 0x8580
  244. #define GL_SOURCE1_RGB 0x8581
  245. #define GL_SOURCE2_RGB 0x8582
  246. #define GL_SOURCE0_ALPHA 0x8588
  247. #define GL_SOURCE1_ALPHA 0x8589
  248. #define GL_SOURCE2_ALPHA 0x858A
  249. #define GL_OPERAND0_RGB 0x8590
  250. #define GL_OPERAND1_RGB 0x8591
  251. #define GL_OPERAND2_RGB 0x8592
  252. #define GL_OPERAND0_ALPHA 0x8598
  253. #define GL_OPERAND1_ALPHA 0x8599
  254. #define GL_OPERAND2_ALPHA 0x859A
  255. #define GL_RGB_SCALE 0x8573
  256. #define GL_ADD_SIGNED 0x8574
  257. #define GL_INTERPOLATE 0x8575
  258. #define GL_SUBTRACT 0x84E7
  259. #define GL_CONSTANT 0x8576
  260. #define GL_PRIMARY_COLOR 0x8577
  261. #define GL_PREVIOUS 0x8578
  262. #define GL_DOT3_RGB 0x86AE
  263. #define GL_DOT3_RGBA 0x86AF
  264. #endif
  265. #ifndef GL_VERSION_1_4
  266. #define GL_BLEND_DST_RGB 0x80C8
  267. #define GL_BLEND_SRC_RGB 0x80C9
  268. #define GL_BLEND_DST_ALPHA 0x80CA
  269. #define GL_BLEND_SRC_ALPHA 0x80CB
  270. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  271. #define GL_DEPTH_COMPONENT16 0x81A5
  272. #define GL_DEPTH_COMPONENT24 0x81A6
  273. #define GL_DEPTH_COMPONENT32 0x81A7
  274. #define GL_MIRRORED_REPEAT 0x8370
  275. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  276. #define GL_TEXTURE_LOD_BIAS 0x8501
  277. #define GL_INCR_WRAP 0x8507
  278. #define GL_DECR_WRAP 0x8508
  279. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  280. #define GL_TEXTURE_COMPARE_MODE 0x884C
  281. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  282. #define GL_POINT_SIZE_MIN 0x8126
  283. #define GL_POINT_SIZE_MAX 0x8127
  284. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  285. #define GL_GENERATE_MIPMAP 0x8191
  286. #define GL_GENERATE_MIPMAP_HINT 0x8192
  287. #define GL_FOG_COORDINATE_SOURCE 0x8450
  288. #define GL_FOG_COORDINATE 0x8451
  289. #define GL_FRAGMENT_DEPTH 0x8452
  290. #define GL_CURRENT_FOG_COORDINATE 0x8453
  291. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  292. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  293. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  294. #define GL_FOG_COORDINATE_ARRAY 0x8457
  295. #define GL_COLOR_SUM 0x8458
  296. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  297. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  298. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  299. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  300. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  301. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  302. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  303. #define GL_DEPTH_TEXTURE_MODE 0x884B
  304. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  305. #endif
  306. #ifndef GL_VERSION_1_5
  307. #define GL_BUFFER_SIZE 0x8764
  308. #define GL_BUFFER_USAGE 0x8765
  309. #define GL_QUERY_COUNTER_BITS 0x8864
  310. #define GL_CURRENT_QUERY 0x8865
  311. #define GL_QUERY_RESULT 0x8866
  312. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  313. #define GL_ARRAY_BUFFER 0x8892
  314. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  315. #define GL_ARRAY_BUFFER_BINDING 0x8894
  316. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  317. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  318. #define GL_READ_ONLY 0x88B8
  319. #define GL_WRITE_ONLY 0x88B9
  320. #define GL_READ_WRITE 0x88BA
  321. #define GL_BUFFER_ACCESS 0x88BB
  322. #define GL_BUFFER_MAPPED 0x88BC
  323. #define GL_BUFFER_MAP_POINTER 0x88BD
  324. #define GL_STREAM_DRAW 0x88E0
  325. #define GL_STREAM_READ 0x88E1
  326. #define GL_STREAM_COPY 0x88E2
  327. #define GL_STATIC_DRAW 0x88E4
  328. #define GL_STATIC_READ 0x88E5
  329. #define GL_STATIC_COPY 0x88E6
  330. #define GL_DYNAMIC_DRAW 0x88E8
  331. #define GL_DYNAMIC_READ 0x88E9
  332. #define GL_DYNAMIC_COPY 0x88EA
  333. #define GL_SAMPLES_PASSED 0x8914
  334. #define GL_SRC1_ALPHA 0x8589
  335. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  336. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  337. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  338. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  339. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  340. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  341. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  342. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  343. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  344. #define GL_FOG_COORD_SRC 0x8450
  345. #define GL_FOG_COORD 0x8451
  346. #define GL_CURRENT_FOG_COORD 0x8453
  347. #define GL_FOG_COORD_ARRAY_TYPE 0x8454
  348. #define GL_FOG_COORD_ARRAY_STRIDE 0x8455
  349. #define GL_FOG_COORD_ARRAY_POINTER 0x8456
  350. #define GL_FOG_COORD_ARRAY 0x8457
  351. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING 0x889D
  352. #define GL_SRC0_RGB 0x8580
  353. #define GL_SRC1_RGB 0x8581
  354. #define GL_SRC2_RGB 0x8582
  355. #define GL_SRC0_ALPHA 0x8588
  356. #define GL_SRC2_ALPHA 0x858A
  357. #endif
  358. #ifndef GL_VERSION_2_0
  359. #define GL_BLEND_EQUATION_RGB 0x8009
  360. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  361. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  362. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  363. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  364. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  365. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  366. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  367. #define GL_STENCIL_BACK_FUNC 0x8800
  368. #define GL_STENCIL_BACK_FAIL 0x8801
  369. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  370. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  371. #define GL_MAX_DRAW_BUFFERS 0x8824
  372. #define GL_DRAW_BUFFER0 0x8825
  373. #define GL_DRAW_BUFFER1 0x8826
  374. #define GL_DRAW_BUFFER2 0x8827
  375. #define GL_DRAW_BUFFER3 0x8828
  376. #define GL_DRAW_BUFFER4 0x8829
  377. #define GL_DRAW_BUFFER5 0x882A
  378. #define GL_DRAW_BUFFER6 0x882B
  379. #define GL_DRAW_BUFFER7 0x882C
  380. #define GL_DRAW_BUFFER8 0x882D
  381. #define GL_DRAW_BUFFER9 0x882E
  382. #define GL_DRAW_BUFFER10 0x882F
  383. #define GL_DRAW_BUFFER11 0x8830
  384. #define GL_DRAW_BUFFER12 0x8831
  385. #define GL_DRAW_BUFFER13 0x8832
  386. #define GL_DRAW_BUFFER14 0x8833
  387. #define GL_DRAW_BUFFER15 0x8834
  388. #define GL_BLEND_EQUATION_ALPHA 0x883D
  389. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  390. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  391. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  392. #define GL_FRAGMENT_SHADER 0x8B30
  393. #define GL_VERTEX_SHADER 0x8B31
  394. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  395. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  396. #define GL_MAX_VARYING_FLOATS 0x8B4B
  397. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  398. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  399. #define GL_SHADER_TYPE 0x8B4F
  400. #define GL_FLOAT_VEC2 0x8B50
  401. #define GL_FLOAT_VEC3 0x8B51
  402. #define GL_FLOAT_VEC4 0x8B52
  403. #define GL_INT_VEC2 0x8B53
  404. #define GL_INT_VEC3 0x8B54
  405. #define GL_INT_VEC4 0x8B55
  406. #define GL_BOOL 0x8B56
  407. #define GL_BOOL_VEC2 0x8B57
  408. #define GL_BOOL_VEC3 0x8B58
  409. #define GL_BOOL_VEC4 0x8B59
  410. #define GL_FLOAT_MAT2 0x8B5A
  411. #define GL_FLOAT_MAT3 0x8B5B
  412. #define GL_FLOAT_MAT4 0x8B5C
  413. #define GL_SAMPLER_1D 0x8B5D
  414. #define GL_SAMPLER_2D 0x8B5E
  415. #define GL_SAMPLER_3D 0x8B5F
  416. #define GL_SAMPLER_CUBE 0x8B60
  417. #define GL_SAMPLER_1D_SHADOW 0x8B61
  418. #define GL_SAMPLER_2D_SHADOW 0x8B62
  419. #define GL_DELETE_STATUS 0x8B80
  420. #define GL_COMPILE_STATUS 0x8B81
  421. #define GL_LINK_STATUS 0x8B82
  422. #define GL_VALIDATE_STATUS 0x8B83
  423. #define GL_INFO_LOG_LENGTH 0x8B84
  424. #define GL_ATTACHED_SHADERS 0x8B85
  425. #define GL_ACTIVE_UNIFORMS 0x8B86
  426. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  427. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  428. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  429. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  430. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  431. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  432. #define GL_CURRENT_PROGRAM 0x8B8D
  433. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  434. #define GL_LOWER_LEFT 0x8CA1
  435. #define GL_UPPER_LEFT 0x8CA2
  436. #define GL_STENCIL_BACK_REF 0x8CA3
  437. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  438. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  439. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  440. #define GL_POINT_SPRITE 0x8861
  441. #define GL_COORD_REPLACE 0x8862
  442. #define GL_MAX_TEXTURE_COORDS 0x8871
  443. #endif
  444. #ifndef GL_VERSION_2_1
  445. #define GL_PIXEL_PACK_BUFFER 0x88EB
  446. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  447. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  448. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  449. #define GL_FLOAT_MAT2x3 0x8B65
  450. #define GL_FLOAT_MAT2x4 0x8B66
  451. #define GL_FLOAT_MAT3x2 0x8B67
  452. #define GL_FLOAT_MAT3x4 0x8B68
  453. #define GL_FLOAT_MAT4x2 0x8B69
  454. #define GL_FLOAT_MAT4x3 0x8B6A
  455. #define GL_SRGB 0x8C40
  456. #define GL_SRGB8 0x8C41
  457. #define GL_SRGB_ALPHA 0x8C42
  458. #define GL_SRGB8_ALPHA8 0x8C43
  459. #define GL_COMPRESSED_SRGB 0x8C48
  460. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  461. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  462. #define GL_SLUMINANCE_ALPHA 0x8C44
  463. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  464. #define GL_SLUMINANCE 0x8C46
  465. #define GL_SLUMINANCE8 0x8C47
  466. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  467. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  468. #endif
  469. #ifndef GL_VERSION_3_0
  470. #define GL_COMPARE_REF_TO_TEXTURE 0x884E
  471. #define GL_CLIP_DISTANCE0 0x3000
  472. #define GL_CLIP_DISTANCE1 0x3001
  473. #define GL_CLIP_DISTANCE2 0x3002
  474. #define GL_CLIP_DISTANCE3 0x3003
  475. #define GL_CLIP_DISTANCE4 0x3004
  476. #define GL_CLIP_DISTANCE5 0x3005
  477. #define GL_CLIP_DISTANCE6 0x3006
  478. #define GL_CLIP_DISTANCE7 0x3007
  479. #define GL_MAX_CLIP_DISTANCES 0x0D32
  480. #define GL_MAJOR_VERSION 0x821B
  481. #define GL_MINOR_VERSION 0x821C
  482. #define GL_NUM_EXTENSIONS 0x821D
  483. #define GL_CONTEXT_FLAGS 0x821E
  484. #define GL_COMPRESSED_RED 0x8225
  485. #define GL_COMPRESSED_RG 0x8226
  486. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
  487. #define GL_RGBA32F 0x8814
  488. #define GL_RGB32F 0x8815
  489. #define GL_RGBA16F 0x881A
  490. #define GL_RGB16F 0x881B
  491. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  492. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  493. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  494. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  495. #define GL_CLAMP_READ_COLOR 0x891C
  496. #define GL_FIXED_ONLY 0x891D
  497. #define GL_MAX_VARYING_COMPONENTS 0x8B4B
  498. #define GL_TEXTURE_1D_ARRAY 0x8C18
  499. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  500. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  501. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  502. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  503. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  504. #define GL_R11F_G11F_B10F 0x8C3A
  505. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  506. #define GL_RGB9_E5 0x8C3D
  507. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  508. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  509. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  510. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  511. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  512. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  513. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  514. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  515. #define GL_PRIMITIVES_GENERATED 0x8C87
  516. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  517. #define GL_RASTERIZER_DISCARD 0x8C89
  518. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  519. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  520. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  521. #define GL_SEPARATE_ATTRIBS 0x8C8D
  522. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  523. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  524. #define GL_RGBA32UI 0x8D70
  525. #define GL_RGB32UI 0x8D71
  526. #define GL_RGBA16UI 0x8D76
  527. #define GL_RGB16UI 0x8D77
  528. #define GL_RGBA8UI 0x8D7C
  529. #define GL_RGB8UI 0x8D7D
  530. #define GL_RGBA32I 0x8D82
  531. #define GL_RGB32I 0x8D83
  532. #define GL_RGBA16I 0x8D88
  533. #define GL_RGB16I 0x8D89
  534. #define GL_RGBA8I 0x8D8E
  535. #define GL_RGB8I 0x8D8F
  536. #define GL_RED_INTEGER 0x8D94
  537. #define GL_GREEN_INTEGER 0x8D95
  538. #define GL_BLUE_INTEGER 0x8D96
  539. #define GL_RGB_INTEGER 0x8D98
  540. #define GL_RGBA_INTEGER 0x8D99
  541. #define GL_BGR_INTEGER 0x8D9A
  542. #define GL_BGRA_INTEGER 0x8D9B
  543. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  544. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  545. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  546. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  547. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  548. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  549. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  550. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  551. #define GL_INT_SAMPLER_1D 0x8DC9
  552. #define GL_INT_SAMPLER_2D 0x8DCA
  553. #define GL_INT_SAMPLER_3D 0x8DCB
  554. #define GL_INT_SAMPLER_CUBE 0x8DCC
  555. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  556. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  557. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  558. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  559. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  560. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  561. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  562. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  563. #define GL_QUERY_WAIT 0x8E13
  564. #define GL_QUERY_NO_WAIT 0x8E14
  565. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  566. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  567. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  568. #define GL_BUFFER_MAP_LENGTH 0x9120
  569. #define GL_BUFFER_MAP_OFFSET 0x9121
  570. /* Reuse tokens from ARB_depth_buffer_float */
  571. /* reuse GL_DEPTH_COMPONENT32F */
  572. /* reuse GL_DEPTH32F_STENCIL8 */
  573. /* reuse GL_FLOAT_32_UNSIGNED_INT_24_8_REV */
  574. /* Reuse tokens from ARB_framebuffer_object */
  575. /* reuse GL_INVALID_FRAMEBUFFER_OPERATION */
  576. /* reuse GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING */
  577. /* reuse GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE */
  578. /* reuse GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE */
  579. /* reuse GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE */
  580. /* reuse GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE */
  581. /* reuse GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE */
  582. /* reuse GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE */
  583. /* reuse GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE */
  584. /* reuse GL_FRAMEBUFFER_DEFAULT */
  585. /* reuse GL_FRAMEBUFFER_UNDEFINED */
  586. /* reuse GL_DEPTH_STENCIL_ATTACHMENT */
  587. /* reuse GL_INDEX */
  588. /* reuse GL_MAX_RENDERBUFFER_SIZE */
  589. /* reuse GL_DEPTH_STENCIL */
  590. /* reuse GL_UNSIGNED_INT_24_8 */
  591. /* reuse GL_DEPTH24_STENCIL8 */
  592. /* reuse GL_TEXTURE_STENCIL_SIZE */
  593. /* reuse GL_TEXTURE_RED_TYPE */
  594. /* reuse GL_TEXTURE_GREEN_TYPE */
  595. /* reuse GL_TEXTURE_BLUE_TYPE */
  596. /* reuse GL_TEXTURE_ALPHA_TYPE */
  597. /* reuse GL_TEXTURE_DEPTH_TYPE */
  598. /* reuse GL_UNSIGNED_NORMALIZED */
  599. /* reuse GL_FRAMEBUFFER_BINDING */
  600. /* reuse GL_DRAW_FRAMEBUFFER_BINDING */
  601. /* reuse GL_RENDERBUFFER_BINDING */
  602. /* reuse GL_READ_FRAMEBUFFER */
  603. /* reuse GL_DRAW_FRAMEBUFFER */
  604. /* reuse GL_READ_FRAMEBUFFER_BINDING */
  605. /* reuse GL_RENDERBUFFER_SAMPLES */
  606. /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE */
  607. /* reuse GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME */
  608. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL */
  609. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE */
  610. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  611. /* reuse GL_FRAMEBUFFER_COMPLETE */
  612. /* reuse GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT */
  613. /* reuse GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT */
  614. /* reuse GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER */
  615. /* reuse GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER */
  616. /* reuse GL_FRAMEBUFFER_UNSUPPORTED */
  617. /* reuse GL_MAX_COLOR_ATTACHMENTS */
  618. /* reuse GL_COLOR_ATTACHMENT0 */
  619. /* reuse GL_COLOR_ATTACHMENT1 */
  620. /* reuse GL_COLOR_ATTACHMENT2 */
  621. /* reuse GL_COLOR_ATTACHMENT3 */
  622. /* reuse GL_COLOR_ATTACHMENT4 */
  623. /* reuse GL_COLOR_ATTACHMENT5 */
  624. /* reuse GL_COLOR_ATTACHMENT6 */
  625. /* reuse GL_COLOR_ATTACHMENT7 */
  626. /* reuse GL_COLOR_ATTACHMENT8 */
  627. /* reuse GL_COLOR_ATTACHMENT9 */
  628. /* reuse GL_COLOR_ATTACHMENT10 */
  629. /* reuse GL_COLOR_ATTACHMENT11 */
  630. /* reuse GL_COLOR_ATTACHMENT12 */
  631. /* reuse GL_COLOR_ATTACHMENT13 */
  632. /* reuse GL_COLOR_ATTACHMENT14 */
  633. /* reuse GL_COLOR_ATTACHMENT15 */
  634. /* reuse GL_DEPTH_ATTACHMENT */
  635. /* reuse GL_STENCIL_ATTACHMENT */
  636. /* reuse GL_FRAMEBUFFER */
  637. /* reuse GL_RENDERBUFFER */
  638. /* reuse GL_RENDERBUFFER_WIDTH */
  639. /* reuse GL_RENDERBUFFER_HEIGHT */
  640. /* reuse GL_RENDERBUFFER_INTERNAL_FORMAT */
  641. /* reuse GL_STENCIL_INDEX1 */
  642. /* reuse GL_STENCIL_INDEX4 */
  643. /* reuse GL_STENCIL_INDEX8 */
  644. /* reuse GL_STENCIL_INDEX16 */
  645. /* reuse GL_RENDERBUFFER_RED_SIZE */
  646. /* reuse GL_RENDERBUFFER_GREEN_SIZE */
  647. /* reuse GL_RENDERBUFFER_BLUE_SIZE */
  648. /* reuse GL_RENDERBUFFER_ALPHA_SIZE */
  649. /* reuse GL_RENDERBUFFER_DEPTH_SIZE */
  650. /* reuse GL_RENDERBUFFER_STENCIL_SIZE */
  651. /* reuse GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE */
  652. /* reuse GL_MAX_SAMPLES */
  653. /* Reuse tokens from ARB_framebuffer_sRGB */
  654. /* reuse GL_FRAMEBUFFER_SRGB */
  655. /* Reuse tokens from ARB_half_float_vertex */
  656. /* reuse GL_HALF_FLOAT */
  657. /* Reuse tokens from ARB_map_buffer_range */
  658. /* reuse GL_MAP_READ_BIT */
  659. /* reuse GL_MAP_WRITE_BIT */
  660. /* reuse GL_MAP_INVALIDATE_RANGE_BIT */
  661. /* reuse GL_MAP_INVALIDATE_BUFFER_BIT */
  662. /* reuse GL_MAP_FLUSH_EXPLICIT_BIT */
  663. /* reuse GL_MAP_UNSYNCHRONIZED_BIT */
  664. /* Reuse tokens from ARB_texture_compression_rgtc */
  665. /* reuse GL_COMPRESSED_RED_RGTC1 */
  666. /* reuse GL_COMPRESSED_SIGNED_RED_RGTC1 */
  667. /* reuse GL_COMPRESSED_RG_RGTC2 */
  668. /* reuse GL_COMPRESSED_SIGNED_RG_RGTC2 */
  669. /* Reuse tokens from ARB_texture_rg */
  670. /* reuse GL_RG */
  671. /* reuse GL_RG_INTEGER */
  672. /* reuse GL_R8 */
  673. /* reuse GL_R16 */
  674. /* reuse GL_RG8 */
  675. /* reuse GL_RG16 */
  676. /* reuse GL_R16F */
  677. /* reuse GL_R32F */
  678. /* reuse GL_RG16F */
  679. /* reuse GL_RG32F */
  680. /* reuse GL_R8I */
  681. /* reuse GL_R8UI */
  682. /* reuse GL_R16I */
  683. /* reuse GL_R16UI */
  684. /* reuse GL_R32I */
  685. /* reuse GL_R32UI */
  686. /* reuse GL_RG8I */
  687. /* reuse GL_RG8UI */
  688. /* reuse GL_RG16I */
  689. /* reuse GL_RG16UI */
  690. /* reuse GL_RG32I */
  691. /* reuse GL_RG32UI */
  692. /* Reuse tokens from ARB_vertex_array_object */
  693. /* reuse GL_VERTEX_ARRAY_BINDING */
  694. #define GL_CLAMP_VERTEX_COLOR 0x891A
  695. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  696. #define GL_ALPHA_INTEGER 0x8D97
  697. /* Reuse tokens from ARB_framebuffer_object */
  698. /* reuse GL_TEXTURE_LUMINANCE_TYPE */
  699. /* reuse GL_TEXTURE_INTENSITY_TYPE */
  700. #endif
  701. #ifndef GL_VERSION_3_1
  702. #define GL_SAMPLER_2D_RECT 0x8B63
  703. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  704. #define GL_SAMPLER_BUFFER 0x8DC2
  705. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  706. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  707. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  708. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  709. #define GL_TEXTURE_BUFFER 0x8C2A
  710. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  711. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  712. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  713. #define GL_TEXTURE_RECTANGLE 0x84F5
  714. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  715. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  716. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  717. #define GL_RED_SNORM 0x8F90
  718. #define GL_RG_SNORM 0x8F91
  719. #define GL_RGB_SNORM 0x8F92
  720. #define GL_RGBA_SNORM 0x8F93
  721. #define GL_R8_SNORM 0x8F94
  722. #define GL_RG8_SNORM 0x8F95
  723. #define GL_RGB8_SNORM 0x8F96
  724. #define GL_RGBA8_SNORM 0x8F97
  725. #define GL_R16_SNORM 0x8F98
  726. #define GL_RG16_SNORM 0x8F99
  727. #define GL_RGB16_SNORM 0x8F9A
  728. #define GL_RGBA16_SNORM 0x8F9B
  729. #define GL_SIGNED_NORMALIZED 0x8F9C
  730. #define GL_PRIMITIVE_RESTART 0x8F9D
  731. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  732. /* Reuse tokens from ARB_copy_buffer */
  733. /* reuse GL_COPY_READ_BUFFER */
  734. /* reuse GL_COPY_WRITE_BUFFER */
  735. /* Reuse tokens from ARB_draw_instanced (none) */
  736. /* Reuse tokens from ARB_uniform_buffer_object */
  737. /* reuse GL_UNIFORM_BUFFER */
  738. /* reuse GL_UNIFORM_BUFFER_BINDING */
  739. /* reuse GL_UNIFORM_BUFFER_START */
  740. /* reuse GL_UNIFORM_BUFFER_SIZE */
  741. /* reuse GL_MAX_VERTEX_UNIFORM_BLOCKS */
  742. /* reuse GL_MAX_FRAGMENT_UNIFORM_BLOCKS */
  743. /* reuse GL_MAX_COMBINED_UNIFORM_BLOCKS */
  744. /* reuse GL_MAX_UNIFORM_BUFFER_BINDINGS */
  745. /* reuse GL_MAX_UNIFORM_BLOCK_SIZE */
  746. /* reuse GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS */
  747. /* reuse GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS */
  748. /* reuse GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT */
  749. /* reuse GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH */
  750. /* reuse GL_ACTIVE_UNIFORM_BLOCKS */
  751. /* reuse GL_UNIFORM_TYPE */
  752. /* reuse GL_UNIFORM_SIZE */
  753. /* reuse GL_UNIFORM_NAME_LENGTH */
  754. /* reuse GL_UNIFORM_BLOCK_INDEX */
  755. /* reuse GL_UNIFORM_OFFSET */
  756. /* reuse GL_UNIFORM_ARRAY_STRIDE */
  757. /* reuse GL_UNIFORM_MATRIX_STRIDE */
  758. /* reuse GL_UNIFORM_IS_ROW_MAJOR */
  759. /* reuse GL_UNIFORM_BLOCK_BINDING */
  760. /* reuse GL_UNIFORM_BLOCK_DATA_SIZE */
  761. /* reuse GL_UNIFORM_BLOCK_NAME_LENGTH */
  762. /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS */
  763. /* reuse GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES */
  764. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER */
  765. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER */
  766. /* reuse GL_INVALID_INDEX */
  767. #endif
  768. #ifndef GL_VERSION_3_2
  769. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  770. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  771. #define GL_LINES_ADJACENCY 0x000A
  772. #define GL_LINE_STRIP_ADJACENCY 0x000B
  773. #define GL_TRIANGLES_ADJACENCY 0x000C
  774. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  775. #define GL_PROGRAM_POINT_SIZE 0x8642
  776. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  777. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  778. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  779. #define GL_GEOMETRY_SHADER 0x8DD9
  780. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  781. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  782. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  783. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  784. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  785. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  786. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  787. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  788. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  789. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  790. #define GL_CONTEXT_PROFILE_MASK 0x9126
  791. /* reuse GL_MAX_VARYING_COMPONENTS */
  792. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  793. /* Reuse tokens from ARB_depth_clamp */
  794. /* reuse GL_DEPTH_CLAMP */
  795. /* Reuse tokens from ARB_draw_elements_base_vertex (none) */
  796. /* Reuse tokens from ARB_fragment_coord_conventions (none) */
  797. /* Reuse tokens from ARB_provoking_vertex */
  798. /* reuse GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION */
  799. /* reuse GL_FIRST_VERTEX_CONVENTION */
  800. /* reuse GL_LAST_VERTEX_CONVENTION */
  801. /* reuse GL_PROVOKING_VERTEX */
  802. /* Reuse tokens from ARB_seamless_cube_map */
  803. /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
  804. /* Reuse tokens from ARB_sync */
  805. /* reuse GL_MAX_SERVER_WAIT_TIMEOUT */
  806. /* reuse GL_OBJECT_TYPE */
  807. /* reuse GL_SYNC_CONDITION */
  808. /* reuse GL_SYNC_STATUS */
  809. /* reuse GL_SYNC_FLAGS */
  810. /* reuse GL_SYNC_FENCE */
  811. /* reuse GL_SYNC_GPU_COMMANDS_COMPLETE */
  812. /* reuse GL_UNSIGNALED */
  813. /* reuse GL_SIGNALED */
  814. /* reuse GL_ALREADY_SIGNALED */
  815. /* reuse GL_TIMEOUT_EXPIRED */
  816. /* reuse GL_CONDITION_SATISFIED */
  817. /* reuse GL_WAIT_FAILED */
  818. /* reuse GL_TIMEOUT_IGNORED */
  819. /* reuse GL_SYNC_FLUSH_COMMANDS_BIT */
  820. /* reuse GL_TIMEOUT_IGNORED */
  821. /* Reuse tokens from ARB_texture_multisample */
  822. /* reuse GL_SAMPLE_POSITION */
  823. /* reuse GL_SAMPLE_MASK */
  824. /* reuse GL_SAMPLE_MASK_VALUE */
  825. /* reuse GL_MAX_SAMPLE_MASK_WORDS */
  826. /* reuse GL_TEXTURE_2D_MULTISAMPLE */
  827. /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE */
  828. /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
  829. /* reuse GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY */
  830. /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE */
  831. /* reuse GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY */
  832. /* reuse GL_TEXTURE_SAMPLES */
  833. /* reuse GL_TEXTURE_FIXED_SAMPLE_LOCATIONS */
  834. /* reuse GL_SAMPLER_2D_MULTISAMPLE */
  835. /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE */
  836. /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE */
  837. /* reuse GL_SAMPLER_2D_MULTISAMPLE_ARRAY */
  838. /* reuse GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  839. /* reuse GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY */
  840. /* reuse GL_MAX_COLOR_TEXTURE_SAMPLES */
  841. /* reuse GL_MAX_DEPTH_TEXTURE_SAMPLES */
  842. /* reuse GL_MAX_INTEGER_SAMPLES */
  843. /* Don't need to reuse tokens from ARB_vertex_array_bgra since they're already in 1.2 core */
  844. #endif
  845. #ifndef GL_VERSION_3_3
  846. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  847. /* Reuse tokens from ARB_blend_func_extended */
  848. /* reuse GL_SRC1_COLOR */
  849. /* reuse GL_ONE_MINUS_SRC1_COLOR */
  850. /* reuse GL_ONE_MINUS_SRC1_ALPHA */
  851. /* reuse GL_MAX_DUAL_SOURCE_DRAW_BUFFERS */
  852. /* Reuse tokens from ARB_explicit_attrib_location (none) */
  853. /* Reuse tokens from ARB_occlusion_query2 */
  854. /* reuse GL_ANY_SAMPLES_PASSED */
  855. /* Reuse tokens from ARB_sampler_objects */
  856. /* reuse GL_SAMPLER_BINDING */
  857. /* Reuse tokens from ARB_shader_bit_encoding (none) */
  858. /* Reuse tokens from ARB_texture_rgb10_a2ui */
  859. /* reuse GL_RGB10_A2UI */
  860. /* Reuse tokens from ARB_texture_swizzle */
  861. /* reuse GL_TEXTURE_SWIZZLE_R */
  862. /* reuse GL_TEXTURE_SWIZZLE_G */
  863. /* reuse GL_TEXTURE_SWIZZLE_B */
  864. /* reuse GL_TEXTURE_SWIZZLE_A */
  865. /* reuse GL_TEXTURE_SWIZZLE_RGBA */
  866. /* Reuse tokens from ARB_timer_query */
  867. /* reuse GL_TIME_ELAPSED */
  868. /* reuse GL_TIMESTAMP */
  869. /* Reuse tokens from ARB_vertex_type_2_10_10_10_rev */
  870. /* reuse GL_INT_2_10_10_10_REV */
  871. #endif
  872. #ifndef GL_VERSION_4_0
  873. #define GL_SAMPLE_SHADING 0x8C36
  874. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  875. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  876. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  877. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  878. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  879. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  880. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  881. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  882. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  883. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  884. /* Reuse tokens from ARB_texture_query_lod (none) */
  885. /* Reuse tokens from ARB_draw_buffers_blend (none) */
  886. /* Reuse tokens from ARB_draw_indirect */
  887. /* reuse GL_DRAW_INDIRECT_BUFFER */
  888. /* reuse GL_DRAW_INDIRECT_BUFFER_BINDING */
  889. /* Reuse tokens from ARB_gpu_shader5 */
  890. /* reuse GL_GEOMETRY_SHADER_INVOCATIONS */
  891. /* reuse GL_MAX_GEOMETRY_SHADER_INVOCATIONS */
  892. /* reuse GL_MIN_FRAGMENT_INTERPOLATION_OFFSET */
  893. /* reuse GL_MAX_FRAGMENT_INTERPOLATION_OFFSET */
  894. /* reuse GL_FRAGMENT_INTERPOLATION_OFFSET_BITS */
  895. /* reuse GL_MAX_VERTEX_STREAMS */
  896. /* Reuse tokens from ARB_gpu_shader_fp64 */
  897. /* reuse GL_DOUBLE_VEC2 */
  898. /* reuse GL_DOUBLE_VEC3 */
  899. /* reuse GL_DOUBLE_VEC4 */
  900. /* reuse GL_DOUBLE_MAT2 */
  901. /* reuse GL_DOUBLE_MAT3 */
  902. /* reuse GL_DOUBLE_MAT4 */
  903. /* reuse GL_DOUBLE_MAT2x3 */
  904. /* reuse GL_DOUBLE_MAT2x4 */
  905. /* reuse GL_DOUBLE_MAT3x2 */
  906. /* reuse GL_DOUBLE_MAT3x4 */
  907. /* reuse GL_DOUBLE_MAT4x2 */
  908. /* reuse GL_DOUBLE_MAT4x3 */
  909. /* Reuse tokens from ARB_shader_subroutine */
  910. /* reuse GL_ACTIVE_SUBROUTINES */
  911. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORMS */
  912. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS */
  913. /* reuse GL_ACTIVE_SUBROUTINE_MAX_LENGTH */
  914. /* reuse GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH */
  915. /* reuse GL_MAX_SUBROUTINES */
  916. /* reuse GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS */
  917. /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
  918. /* reuse GL_COMPATIBLE_SUBROUTINES */
  919. /* Reuse tokens from ARB_tessellation_shader */
  920. /* reuse GL_PATCHES */
  921. /* reuse GL_PATCH_VERTICES */
  922. /* reuse GL_PATCH_DEFAULT_INNER_LEVEL */
  923. /* reuse GL_PATCH_DEFAULT_OUTER_LEVEL */
  924. /* reuse GL_TESS_CONTROL_OUTPUT_VERTICES */
  925. /* reuse GL_TESS_GEN_MODE */
  926. /* reuse GL_TESS_GEN_SPACING */
  927. /* reuse GL_TESS_GEN_VERTEX_ORDER */
  928. /* reuse GL_TESS_GEN_POINT_MODE */
  929. /* reuse GL_ISOLINES */
  930. /* reuse GL_FRACTIONAL_ODD */
  931. /* reuse GL_FRACTIONAL_EVEN */
  932. /* reuse GL_MAX_PATCH_VERTICES */
  933. /* reuse GL_MAX_TESS_GEN_LEVEL */
  934. /* reuse GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS */
  935. /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS */
  936. /* reuse GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS */
  937. /* reuse GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS */
  938. /* reuse GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS */
  939. /* reuse GL_MAX_TESS_PATCH_COMPONENTS */
  940. /* reuse GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS */
  941. /* reuse GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS */
  942. /* reuse GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS */
  943. /* reuse GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS */
  944. /* reuse GL_MAX_TESS_CONTROL_INPUT_COMPONENTS */
  945. /* reuse GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS */
  946. /* reuse GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS */
  947. /* reuse GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS */
  948. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER */
  949. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER */
  950. /* reuse GL_TESS_EVALUATION_SHADER */
  951. /* reuse GL_TESS_CONTROL_SHADER */
  952. /* Reuse tokens from ARB_texture_buffer_object_rgb32 (none) */
  953. /* Reuse tokens from ARB_transform_feedback2 */
  954. /* reuse GL_TRANSFORM_FEEDBACK */
  955. /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED */
  956. /* reuse GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE */
  957. /* reuse GL_TRANSFORM_FEEDBACK_BINDING */
  958. /* Reuse tokens from ARB_transform_feedback3 */
  959. /* reuse GL_MAX_TRANSFORM_FEEDBACK_BUFFERS */
  960. /* reuse GL_MAX_VERTEX_STREAMS */
  961. #endif
  962. #ifndef GL_VERSION_4_1
  963. /* Reuse tokens from ARB_ES2_compatibility */
  964. /* reuse GL_FIXED */
  965. /* reuse GL_IMPLEMENTATION_COLOR_READ_TYPE */
  966. /* reuse GL_IMPLEMENTATION_COLOR_READ_FORMAT */
  967. /* reuse GL_LOW_FLOAT */
  968. /* reuse GL_MEDIUM_FLOAT */
  969. /* reuse GL_HIGH_FLOAT */
  970. /* reuse GL_LOW_INT */
  971. /* reuse GL_MEDIUM_INT */
  972. /* reuse GL_HIGH_INT */
  973. /* reuse GL_SHADER_COMPILER */
  974. /* reuse GL_SHADER_BINARY_FORMATS */
  975. /* reuse GL_NUM_SHADER_BINARY_FORMATS */
  976. /* reuse GL_MAX_VERTEX_UNIFORM_VECTORS */
  977. /* reuse GL_MAX_VARYING_VECTORS */
  978. /* reuse GL_MAX_FRAGMENT_UNIFORM_VECTORS */
  979. /* reuse GL_RGB565 */
  980. /* Reuse tokens from ARB_get_program_binary */
  981. /* reuse GL_PROGRAM_BINARY_RETRIEVABLE_HINT */
  982. /* reuse GL_PROGRAM_BINARY_LENGTH */
  983. /* reuse GL_NUM_PROGRAM_BINARY_FORMATS */
  984. /* reuse GL_PROGRAM_BINARY_FORMATS */
  985. /* Reuse tokens from ARB_separate_shader_objects */
  986. /* reuse GL_VERTEX_SHADER_BIT */
  987. /* reuse GL_FRAGMENT_SHADER_BIT */
  988. /* reuse GL_GEOMETRY_SHADER_BIT */
  989. /* reuse GL_TESS_CONTROL_SHADER_BIT */
  990. /* reuse GL_TESS_EVALUATION_SHADER_BIT */
  991. /* reuse GL_ALL_SHADER_BITS */
  992. /* reuse GL_PROGRAM_SEPARABLE */
  993. /* reuse GL_ACTIVE_PROGRAM */
  994. /* reuse GL_PROGRAM_PIPELINE_BINDING */
  995. /* Reuse tokens from ARB_shader_precision (none) */
  996. /* Reuse tokens from ARB_vertex_attrib_64bit - all are in GL 3.0 and 4.0 already */
  997. /* Reuse tokens from ARB_viewport_array - some are in GL 1.1 and ARB_provoking_vertex already */
  998. /* reuse GL_MAX_VIEWPORTS */
  999. /* reuse GL_VIEWPORT_SUBPIXEL_BITS */
  1000. /* reuse GL_VIEWPORT_BOUNDS_RANGE */
  1001. /* reuse GL_LAYER_PROVOKING_VERTEX */
  1002. /* reuse GL_VIEWPORT_INDEX_PROVOKING_VERTEX */
  1003. /* reuse GL_UNDEFINED_VERTEX */
  1004. #endif
  1005. #ifndef GL_VERSION_4_2
  1006. /* Reuse tokens from ARB_base_instance (none) */
  1007. /* Reuse tokens from ARB_shading_language_420pack (none) */
  1008. /* Reuse tokens from ARB_transform_feedback_instanced (none) */
  1009. /* Reuse tokens from ARB_compressed_texture_pixel_storage */
  1010. /* reuse GL_UNPACK_COMPRESSED_BLOCK_WIDTH */
  1011. /* reuse GL_UNPACK_COMPRESSED_BLOCK_HEIGHT */
  1012. /* reuse GL_UNPACK_COMPRESSED_BLOCK_DEPTH */
  1013. /* reuse GL_UNPACK_COMPRESSED_BLOCK_SIZE */
  1014. /* reuse GL_PACK_COMPRESSED_BLOCK_WIDTH */
  1015. /* reuse GL_PACK_COMPRESSED_BLOCK_HEIGHT */
  1016. /* reuse GL_PACK_COMPRESSED_BLOCK_DEPTH */
  1017. /* reuse GL_PACK_COMPRESSED_BLOCK_SIZE */
  1018. /* Reuse tokens from ARB_conservative_depth (none) */
  1019. /* Reuse tokens from ARB_internalformat_query */
  1020. /* reuse GL_NUM_SAMPLE_COUNTS */
  1021. /* Reuse tokens from ARB_map_buffer_alignment */
  1022. /* reuse GL_MIN_MAP_BUFFER_ALIGNMENT */
  1023. /* Reuse tokens from ARB_shader_atomic_counters */
  1024. /* reuse GL_ATOMIC_COUNTER_BUFFER */
  1025. /* reuse GL_ATOMIC_COUNTER_BUFFER_BINDING */
  1026. /* reuse GL_ATOMIC_COUNTER_BUFFER_START */
  1027. /* reuse GL_ATOMIC_COUNTER_BUFFER_SIZE */
  1028. /* reuse GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE */
  1029. /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS */
  1030. /* reuse GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES */
  1031. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER */
  1032. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER */
  1033. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER */
  1034. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER */
  1035. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER */
  1036. /* reuse GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS */
  1037. /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS */
  1038. /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS */
  1039. /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS */
  1040. /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS */
  1041. /* reuse GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS */
  1042. /* reuse GL_MAX_VERTEX_ATOMIC_COUNTERS */
  1043. /* reuse GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS */
  1044. /* reuse GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS */
  1045. /* reuse GL_MAX_GEOMETRY_ATOMIC_COUNTERS */
  1046. /* reuse GL_MAX_FRAGMENT_ATOMIC_COUNTERS */
  1047. /* reuse GL_MAX_COMBINED_ATOMIC_COUNTERS */
  1048. /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE */
  1049. /* reuse GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS */
  1050. /* reuse GL_ACTIVE_ATOMIC_COUNTER_BUFFERS */
  1051. /* reuse GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX */
  1052. /* reuse GL_UNSIGNED_INT_ATOMIC_COUNTER */
  1053. /* Reuse tokens from ARB_shader_image_load_store */
  1054. /* reuse GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT */
  1055. /* reuse GL_ELEMENT_ARRAY_BARRIER_BIT */
  1056. /* reuse GL_UNIFORM_BARRIER_BIT */
  1057. /* reuse GL_TEXTURE_FETCH_BARRIER_BIT */
  1058. /* reuse GL_SHADER_IMAGE_ACCESS_BARRIER_BIT */
  1059. /* reuse GL_COMMAND_BARRIER_BIT */
  1060. /* reuse GL_PIXEL_BUFFER_BARRIER_BIT */
  1061. /* reuse GL_TEXTURE_UPDATE_BARRIER_BIT */
  1062. /* reuse GL_BUFFER_UPDATE_BARRIER_BIT */
  1063. /* reuse GL_FRAMEBUFFER_BARRIER_BIT */
  1064. /* reuse GL_TRANSFORM_FEEDBACK_BARRIER_BIT */
  1065. /* reuse GL_ATOMIC_COUNTER_BARRIER_BIT */
  1066. /* reuse GL_ALL_BARRIER_BITS */
  1067. /* reuse GL_MAX_IMAGE_UNITS */
  1068. /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
  1069. /* reuse GL_IMAGE_BINDING_NAME */
  1070. /* reuse GL_IMAGE_BINDING_LEVEL */
  1071. /* reuse GL_IMAGE_BINDING_LAYERED */
  1072. /* reuse GL_IMAGE_BINDING_LAYER */
  1073. /* reuse GL_IMAGE_BINDING_ACCESS */
  1074. /* reuse GL_IMAGE_1D */
  1075. /* reuse GL_IMAGE_2D */
  1076. /* reuse GL_IMAGE_3D */
  1077. /* reuse GL_IMAGE_2D_RECT */
  1078. /* reuse GL_IMAGE_CUBE */
  1079. /* reuse GL_IMAGE_BUFFER */
  1080. /* reuse GL_IMAGE_1D_ARRAY */
  1081. /* reuse GL_IMAGE_2D_ARRAY */
  1082. /* reuse GL_IMAGE_CUBE_MAP_ARRAY */
  1083. /* reuse GL_IMAGE_2D_MULTISAMPLE */
  1084. /* reuse GL_IMAGE_2D_MULTISAMPLE_ARRAY */
  1085. /* reuse GL_INT_IMAGE_1D */
  1086. /* reuse GL_INT_IMAGE_2D */
  1087. /* reuse GL_INT_IMAGE_3D */
  1088. /* reuse GL_INT_IMAGE_2D_RECT */
  1089. /* reuse GL_INT_IMAGE_CUBE */
  1090. /* reuse GL_INT_IMAGE_BUFFER */
  1091. /* reuse GL_INT_IMAGE_1D_ARRAY */
  1092. /* reuse GL_INT_IMAGE_2D_ARRAY */
  1093. /* reuse GL_INT_IMAGE_CUBE_MAP_ARRAY */
  1094. /* reuse GL_INT_IMAGE_2D_MULTISAMPLE */
  1095. /* reuse GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
  1096. /* reuse GL_UNSIGNED_INT_IMAGE_1D */
  1097. /* reuse GL_UNSIGNED_INT_IMAGE_2D */
  1098. /* reuse GL_UNSIGNED_INT_IMAGE_3D */
  1099. /* reuse GL_UNSIGNED_INT_IMAGE_2D_RECT */
  1100. /* reuse GL_UNSIGNED_INT_IMAGE_CUBE */
  1101. /* reuse GL_UNSIGNED_INT_IMAGE_BUFFER */
  1102. /* reuse GL_UNSIGNED_INT_IMAGE_1D_ARRAY */
  1103. /* reuse GL_UNSIGNED_INT_IMAGE_2D_ARRAY */
  1104. /* reuse GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY */
  1105. /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE */
  1106. /* reuse GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY */
  1107. /* reuse GL_MAX_IMAGE_SAMPLES */
  1108. /* reuse GL_IMAGE_BINDING_FORMAT */
  1109. /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
  1110. /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE */
  1111. /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS */
  1112. /* reuse GL_MAX_VERTEX_IMAGE_UNIFORMS */
  1113. /* reuse GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS */
  1114. /* reuse GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS */
  1115. /* reuse GL_MAX_GEOMETRY_IMAGE_UNIFORMS */
  1116. /* reuse GL_MAX_FRAGMENT_IMAGE_UNIFORMS */
  1117. /* reuse GL_MAX_COMBINED_IMAGE_UNIFORMS */
  1118. /* Reuse tokens from ARB_shading_language_packing (none) */
  1119. /* Reuse tokens from ARB_texture_storage */
  1120. /* reuse GL_TEXTURE_IMMUTABLE_FORMAT */
  1121. #endif
  1122. #ifndef GL_VERSION_4_3
  1123. #define GL_NUM_SHADING_LANGUAGE_VERSIONS 0x82E9
  1124. #define GL_VERTEX_ATTRIB_ARRAY_LONG 0x874E
  1125. /* Reuse tokens from ARB_arrays_of_arrays (none, GLSL only) */
  1126. /* Reuse tokens from ARB_fragment_layer_viewport (none, GLSL only) */
  1127. /* Reuse tokens from ARB_shader_image_size (none, GLSL only) */
  1128. /* Reuse tokens from ARB_ES3_compatibility */
  1129. /* reuse GL_COMPRESSED_RGB8_ETC2 */
  1130. /* reuse GL_COMPRESSED_SRGB8_ETC2 */
  1131. /* reuse GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
  1132. /* reuse GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 */
  1133. /* reuse GL_COMPRESSED_RGBA8_ETC2_EAC */
  1134. /* reuse GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC */
  1135. /* reuse GL_COMPRESSED_R11_EAC */
  1136. /* reuse GL_COMPRESSED_SIGNED_R11_EAC */
  1137. /* reuse GL_COMPRESSED_RG11_EAC */
  1138. /* reuse GL_COMPRESSED_SIGNED_RG11_EAC */
  1139. /* reuse GL_PRIMITIVE_RESTART_FIXED_INDEX */
  1140. /* reuse GL_ANY_SAMPLES_PASSED_CONSERVATIVE */
  1141. /* reuse GL_MAX_ELEMENT_INDEX */
  1142. /* Reuse tokens from ARB_clear_buffer_object (none) */
  1143. /* Reuse tokens from ARB_compute_shader */
  1144. /* reuse GL_COMPUTE_SHADER */
  1145. /* reuse GL_MAX_COMPUTE_UNIFORM_BLOCKS */
  1146. /* reuse GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS */
  1147. /* reuse GL_MAX_COMPUTE_IMAGE_UNIFORMS */
  1148. /* reuse GL_MAX_COMPUTE_SHARED_MEMORY_SIZE */
  1149. /* reuse GL_MAX_COMPUTE_UNIFORM_COMPONENTS */
  1150. /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS */
  1151. /* reuse GL_MAX_COMPUTE_ATOMIC_COUNTERS */
  1152. /* reuse GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS */
  1153. /* reuse GL_MAX_COMPUTE_LOCAL_INVOCATIONS */
  1154. /* reuse GL_MAX_COMPUTE_WORK_GROUP_COUNT */
  1155. /* reuse GL_MAX_COMPUTE_WORK_GROUP_SIZE */
  1156. /* reuse GL_COMPUTE_LOCAL_WORK_SIZE */
  1157. /* reuse GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER */
  1158. /* reuse GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER */
  1159. /* reuse GL_DISPATCH_INDIRECT_BUFFER */
  1160. /* reuse GL_DISPATCH_INDIRECT_BUFFER_BINDING */
  1161. /* Reuse tokens from ARB_copy_image (none) */
  1162. /* Reuse tokens from KHR_debug */
  1163. /* reuse GL_DEBUG_OUTPUT_SYNCHRONOUS */
  1164. /* reuse GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH */
  1165. /* reuse GL_DEBUG_CALLBACK_FUNCTION */
  1166. /* reuse GL_DEBUG_CALLBACK_USER_PARAM */
  1167. /* reuse GL_DEBUG_SOURCE_API */
  1168. /* reuse GL_DEBUG_SOURCE_WINDOW_SYSTEM */
  1169. /* reuse GL_DEBUG_SOURCE_SHADER_COMPILER */
  1170. /* reuse GL_DEBUG_SOURCE_THIRD_PARTY */
  1171. /* reuse GL_DEBUG_SOURCE_APPLICATION */
  1172. /* reuse GL_DEBUG_SOURCE_OTHER */
  1173. /* reuse GL_DEBUG_TYPE_ERROR */
  1174. /* reuse GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR */
  1175. /* reuse GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR */
  1176. /* reuse GL_DEBUG_TYPE_PORTABILITY */
  1177. /* reuse GL_DEBUG_TYPE_PERFORMANCE */
  1178. /* reuse GL_DEBUG_TYPE_OTHER */
  1179. /* reuse GL_MAX_DEBUG_MESSAGE_LENGTH */
  1180. /* reuse GL_MAX_DEBUG_LOGGED_MESSAGES */
  1181. /* reuse GL_DEBUG_LOGGED_MESSAGES */
  1182. /* reuse GL_DEBUG_SEVERITY_HIGH */
  1183. /* reuse GL_DEBUG_SEVERITY_MEDIUM */
  1184. /* reuse GL_DEBUG_SEVERITY_LOW */
  1185. /* reuse GL_DEBUG_TYPE_MARKER */
  1186. /* reuse GL_DEBUG_TYPE_PUSH_GROUP */
  1187. /* reuse GL_DEBUG_TYPE_POP_GROUP */
  1188. /* reuse GL_DEBUG_SEVERITY_NOTIFICATION */
  1189. /* reuse GL_MAX_DEBUG_GROUP_STACK_DEPTH */
  1190. /* reuse GL_DEBUG_GROUP_STACK_DEPTH */
  1191. /* reuse GL_BUFFER */
  1192. /* reuse GL_SHADER */
  1193. /* reuse GL_PROGRAM */
  1194. /* reuse GL_QUERY */
  1195. /* reuse GL_PROGRAM_PIPELINE */
  1196. /* reuse GL_SAMPLER */
  1197. /* reuse GL_DISPLAY_LIST */
  1198. /* reuse GL_MAX_LABEL_LENGTH */
  1199. /* reuse GL_DEBUG_OUTPUT */
  1200. /* reuse GL_CONTEXT_FLAG_DEBUG_BIT */
  1201. /* reuse GL_STACK_UNDERFLOW */
  1202. /* reuse GL_STACK_OVERFLOW */
  1203. /* Reuse tokens from ARB_explicit_uniform_location */
  1204. /* reuse GL_MAX_UNIFORM_LOCATIONS */
  1205. /* Reuse tokens from ARB_framebuffer_no_attachments */
  1206. /* reuse GL_FRAMEBUFFER_DEFAULT_WIDTH */
  1207. /* reuse GL_FRAMEBUFFER_DEFAULT_HEIGHT */
  1208. /* reuse GL_FRAMEBUFFER_DEFAULT_LAYERS */
  1209. /* reuse GL_FRAMEBUFFER_DEFAULT_SAMPLES */
  1210. /* reuse GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS */
  1211. /* reuse GL_MAX_FRAMEBUFFER_WIDTH */
  1212. /* reuse GL_MAX_FRAMEBUFFER_HEIGHT */
  1213. /* reuse GL_MAX_FRAMEBUFFER_LAYERS */
  1214. /* reuse GL_MAX_FRAMEBUFFER_SAMPLES */
  1215. /* Reuse tokens from ARB_internalformat_query2 */
  1216. /* reuse GL_INTERNALFORMAT_SUPPORTED */
  1217. /* reuse GL_INTERNALFORMAT_PREFERRED */
  1218. /* reuse GL_INTERNALFORMAT_RED_SIZE */
  1219. /* reuse GL_INTERNALFORMAT_GREEN_SIZE */
  1220. /* reuse GL_INTERNALFORMAT_BLUE_SIZE */
  1221. /* reuse GL_INTERNALFORMAT_ALPHA_SIZE */
  1222. /* reuse GL_INTERNALFORMAT_DEPTH_SIZE */
  1223. /* reuse GL_INTERNALFORMAT_STENCIL_SIZE */
  1224. /* reuse GL_INTERNALFORMAT_SHARED_SIZE */
  1225. /* reuse GL_INTERNALFORMAT_RED_TYPE */
  1226. /* reuse GL_INTERNALFORMAT_GREEN_TYPE */
  1227. /* reuse GL_INTERNALFORMAT_BLUE_TYPE */
  1228. /* reuse GL_INTERNALFORMAT_ALPHA_TYPE */
  1229. /* reuse GL_INTERNALFORMAT_DEPTH_TYPE */
  1230. /* reuse GL_INTERNALFORMAT_STENCIL_TYPE */
  1231. /* reuse GL_MAX_WIDTH */
  1232. /* reuse GL_MAX_HEIGHT */
  1233. /* reuse GL_MAX_DEPTH */
  1234. /* reuse GL_MAX_LAYERS */
  1235. /* reuse GL_MAX_COMBINED_DIMENSIONS */
  1236. /* reuse GL_COLOR_COMPONENTS */
  1237. /* reuse GL_DEPTH_COMPONENTS */
  1238. /* reuse GL_STENCIL_COMPONENTS */
  1239. /* reuse GL_COLOR_RENDERABLE */
  1240. /* reuse GL_DEPTH_RENDERABLE */
  1241. /* reuse GL_STENCIL_RENDERABLE */
  1242. /* reuse GL_FRAMEBUFFER_RENDERABLE */
  1243. /* reuse GL_FRAMEBUFFER_RENDERABLE_LAYERED */
  1244. /* reuse GL_FRAMEBUFFER_BLEND */
  1245. /* reuse GL_READ_PIXELS */
  1246. /* reuse GL_READ_PIXELS_FORMAT */
  1247. /* reuse GL_READ_PIXELS_TYPE */
  1248. /* reuse GL_TEXTURE_IMAGE_FORMAT */
  1249. /* reuse GL_TEXTURE_IMAGE_TYPE */
  1250. /* reuse GL_GET_TEXTURE_IMAGE_FORMAT */
  1251. /* reuse GL_GET_TEXTURE_IMAGE_TYPE */
  1252. /* reuse GL_MIPMAP */
  1253. /* reuse GL_MANUAL_GENERATE_MIPMAP */
  1254. /* reuse GL_AUTO_GENERATE_MIPMAP */
  1255. /* reuse GL_COLOR_ENCODING */
  1256. /* reuse GL_SRGB_READ */
  1257. /* reuse GL_SRGB_WRITE */
  1258. /* reuse GL_FILTER */
  1259. /* reuse GL_VERTEX_TEXTURE */
  1260. /* reuse GL_TESS_CONTROL_TEXTURE */
  1261. /* reuse GL_TESS_EVALUATION_TEXTURE */
  1262. /* reuse GL_GEOMETRY_TEXTURE */
  1263. /* reuse GL_FRAGMENT_TEXTURE */
  1264. /* reuse GL_COMPUTE_TEXTURE */
  1265. /* reuse GL_TEXTURE_SHADOW */
  1266. /* reuse GL_TEXTURE_GATHER */
  1267. /* reuse GL_TEXTURE_GATHER_SHADOW */
  1268. /* reuse GL_SHADER_IMAGE_LOAD */
  1269. /* reuse GL_SHADER_IMAGE_STORE */
  1270. /* reuse GL_SHADER_IMAGE_ATOMIC */
  1271. /* reuse GL_IMAGE_TEXEL_SIZE */
  1272. /* reuse GL_IMAGE_COMPATIBILITY_CLASS */
  1273. /* reuse GL_IMAGE_PIXEL_FORMAT */
  1274. /* reuse GL_IMAGE_PIXEL_TYPE */
  1275. /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST */
  1276. /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST */
  1277. /* reuse GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE */
  1278. /* reuse GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE */
  1279. /* reuse GL_TEXTURE_COMPRESSED_BLOCK_WIDTH */
  1280. /* reuse GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT */
  1281. /* reuse GL_TEXTURE_COMPRESSED_BLOCK_SIZE */
  1282. /* reuse GL_CLEAR_BUFFER */
  1283. /* reuse GL_TEXTURE_VIEW */
  1284. /* reuse GL_VIEW_COMPATIBILITY_CLASS */
  1285. /* reuse GL_FULL_SUPPORT */
  1286. /* reuse GL_CAVEAT_SUPPORT */
  1287. /* reuse GL_IMAGE_CLASS_4_X_32 */
  1288. /* reuse GL_IMAGE_CLASS_2_X_32 */
  1289. /* reuse GL_IMAGE_CLASS_1_X_32 */
  1290. /* reuse GL_IMAGE_CLASS_4_X_16 */
  1291. /* reuse GL_IMAGE_CLASS_2_X_16 */
  1292. /* reuse GL_IMAGE_CLASS_1_X_16 */
  1293. /* reuse GL_IMAGE_CLASS_4_X_8 */
  1294. /* reuse GL_IMAGE_CLASS_2_X_8 */
  1295. /* reuse GL_IMAGE_CLASS_1_X_8 */
  1296. /* reuse GL_IMAGE_CLASS_11_11_10 */
  1297. /* reuse GL_IMAGE_CLASS_10_10_10_2 */
  1298. /* reuse GL_VIEW_CLASS_128_BITS */
  1299. /* reuse GL_VIEW_CLASS_96_BITS */
  1300. /* reuse GL_VIEW_CLASS_64_BITS */
  1301. /* reuse GL_VIEW_CLASS_48_BITS */
  1302. /* reuse GL_VIEW_CLASS_32_BITS */
  1303. /* reuse GL_VIEW_CLASS_24_BITS */
  1304. /* reuse GL_VIEW_CLASS_16_BITS */
  1305. /* reuse GL_VIEW_CLASS_8_BITS */
  1306. /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGB */
  1307. /* reuse GL_VIEW_CLASS_S3TC_DXT1_RGBA */
  1308. /* reuse GL_VIEW_CLASS_S3TC_DXT3_RGBA */
  1309. /* reuse GL_VIEW_CLASS_S3TC_DXT5_RGBA */
  1310. /* reuse GL_VIEW_CLASS_RGTC1_RED */
  1311. /* reuse GL_VIEW_CLASS_RGTC2_RG */
  1312. /* reuse GL_VIEW_CLASS_BPTC_UNORM */
  1313. /* reuse GL_VIEW_CLASS_BPTC_FLOAT */
  1314. /* Reuse tokens from ARB_invalidate_subdata (none) */
  1315. /* Reuse tokens from ARB_multi_draw_indirect (none) */
  1316. /* Reuse tokens from ARB_program_interface_query */
  1317. /* reuse GL_UNIFORM */
  1318. /* reuse GL_UNIFORM_BLOCK */
  1319. /* reuse GL_PROGRAM_INPUT */
  1320. /* reuse GL_PROGRAM_OUTPUT */
  1321. /* reuse GL_BUFFER_VARIABLE */
  1322. /* reuse GL_SHADER_STORAGE_BLOCK */
  1323. /* reuse GL_VERTEX_SUBROUTINE */
  1324. /* reuse GL_TESS_CONTROL_SUBROUTINE */
  1325. /* reuse GL_TESS_EVALUATION_SUBROUTINE */
  1326. /* reuse GL_GEOMETRY_SUBROUTINE */
  1327. /* reuse GL_FRAGMENT_SUBROUTINE */
  1328. /* reuse GL_COMPUTE_SUBROUTINE */
  1329. /* reuse GL_VERTEX_SUBROUTINE_UNIFORM */
  1330. /* reuse GL_TESS_CONTROL_SUBROUTINE_UNIFORM */
  1331. /* reuse GL_TESS_EVALUATION_SUBROUTINE_UNIFORM */
  1332. /* reuse GL_GEOMETRY_SUBROUTINE_UNIFORM */
  1333. /* reuse GL_FRAGMENT_SUBROUTINE_UNIFORM */
  1334. /* reuse GL_COMPUTE_SUBROUTINE_UNIFORM */
  1335. /* reuse GL_TRANSFORM_FEEDBACK_VARYING */
  1336. /* reuse GL_ACTIVE_RESOURCES */
  1337. /* reuse GL_MAX_NAME_LENGTH */
  1338. /* reuse GL_MAX_NUM_ACTIVE_VARIABLES */
  1339. /* reuse GL_MAX_NUM_COMPATIBLE_SUBROUTINES */
  1340. /* reuse GL_NAME_LENGTH */
  1341. /* reuse GL_TYPE */
  1342. /* reuse GL_ARRAY_SIZE */
  1343. /* reuse GL_OFFSET */
  1344. /* reuse GL_BLOCK_INDEX */
  1345. /* reuse GL_ARRAY_STRIDE */
  1346. /* reuse GL_MATRIX_STRIDE */
  1347. /* reuse GL_IS_ROW_MAJOR */
  1348. /* reuse GL_ATOMIC_COUNTER_BUFFER_INDEX */
  1349. /* reuse GL_BUFFER_BINDING */
  1350. /* reuse GL_BUFFER_DATA_SIZE */
  1351. /* reuse GL_NUM_ACTIVE_VARIABLES */
  1352. /* reuse GL_ACTIVE_VARIABLES */
  1353. /* reuse GL_REFERENCED_BY_VERTEX_SHADER */
  1354. /* reuse GL_REFERENCED_BY_TESS_CONTROL_SHADER */
  1355. /* reuse GL_REFERENCED_BY_TESS_EVALUATION_SHADER */
  1356. /* reuse GL_REFERENCED_BY_GEOMETRY_SHADER */
  1357. /* reuse GL_REFERENCED_BY_FRAGMENT_SHADER */
  1358. /* reuse GL_REFERENCED_BY_COMPUTE_SHADER */
  1359. /* reuse GL_TOP_LEVEL_ARRAY_SIZE */
  1360. /* reuse GL_TOP_LEVEL_ARRAY_STRIDE */
  1361. /* reuse GL_LOCATION */
  1362. /* reuse GL_LOCATION_INDEX */
  1363. /* reuse GL_IS_PER_PATCH */
  1364. /* Reuse tokens from ARB_robust_buffer_access_behavior (none) */
  1365. /* Reuse tokens from ARB_shader_storage_buffer_object */
  1366. /* reuse GL_SHADER_STORAGE_BUFFER */
  1367. /* reuse GL_SHADER_STORAGE_BUFFER_BINDING */
  1368. /* reuse GL_SHADER_STORAGE_BUFFER_START */
  1369. /* reuse GL_SHADER_STORAGE_BUFFER_SIZE */
  1370. /* reuse GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS */
  1371. /* reuse GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS */
  1372. /* reuse GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS */
  1373. /* reuse GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS */
  1374. /* reuse GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS */
  1375. /* reuse GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS */
  1376. /* reuse GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS */
  1377. /* reuse GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS */
  1378. /* reuse GL_MAX_SHADER_STORAGE_BLOCK_SIZE */
  1379. /* reuse GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT */
  1380. /* reuse GL_SHADER_STORAGE_BARRIER_BIT */
  1381. /* reuse GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES */
  1382. /* Reuse tokens from ARB_stencil_texturing */
  1383. /* reuse GL_DEPTH_STENCIL_TEXTURE_MODE */
  1384. /* Reuse tokens from ARB_texture_buffer_range */
  1385. /* reuse GL_TEXTURE_BUFFER_OFFSET */
  1386. /* reuse GL_TEXTURE_BUFFER_SIZE */
  1387. /* reuse GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT */
  1388. /* Reuse tokens from ARB_texture_query_levels (none) */
  1389. /* Reuse tokens from ARB_texture_storage_multisample (none) */
  1390. /* Reuse tokens from ARB_texture_view */
  1391. /* reuse GL_TEXTURE_VIEW_MIN_LEVEL */
  1392. /* reuse GL_TEXTURE_VIEW_NUM_LEVELS */
  1393. /* reuse GL_TEXTURE_VIEW_MIN_LAYER */
  1394. /* reuse GL_TEXTURE_VIEW_NUM_LAYERS */
  1395. /* reuse GL_TEXTURE_IMMUTABLE_LEVELS */
  1396. /* Reuse tokens from ARB_vertex_attrib_binding */
  1397. /* reuse GL_VERTEX_ATTRIB_BINDING */
  1398. /* reuse GL_VERTEX_ATTRIB_RELATIVE_OFFSET */
  1399. /* reuse GL_VERTEX_BINDING_DIVISOR */
  1400. /* reuse GL_VERTEX_BINDING_OFFSET */
  1401. /* reuse GL_VERTEX_BINDING_STRIDE */
  1402. /* reuse GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET */
  1403. /* reuse GL_MAX_VERTEX_ATTRIB_BINDINGS */
  1404. #endif
  1405. #ifndef GL_ARB_multitexture
  1406. #define GL_TEXTURE0_ARB 0x84C0
  1407. #define GL_TEXTURE1_ARB 0x84C1
  1408. #define GL_TEXTURE2_ARB 0x84C2
  1409. #define GL_TEXTURE3_ARB 0x84C3
  1410. #define GL_TEXTURE4_ARB 0x84C4
  1411. #define GL_TEXTURE5_ARB 0x84C5
  1412. #define GL_TEXTURE6_ARB 0x84C6
  1413. #define GL_TEXTURE7_ARB 0x84C7
  1414. #define GL_TEXTURE8_ARB 0x84C8
  1415. #define GL_TEXTURE9_ARB 0x84C9
  1416. #define GL_TEXTURE10_ARB 0x84CA
  1417. #define GL_TEXTURE11_ARB 0x84CB
  1418. #define GL_TEXTURE12_ARB 0x84CC
  1419. #define GL_TEXTURE13_ARB 0x84CD
  1420. #define GL_TEXTURE14_ARB 0x84CE
  1421. #define GL_TEXTURE15_ARB 0x84CF
  1422. #define GL_TEXTURE16_ARB 0x84D0
  1423. #define GL_TEXTURE17_ARB 0x84D1
  1424. #define GL_TEXTURE18_ARB 0x84D2
  1425. #define GL_TEXTURE19_ARB 0x84D3
  1426. #define GL_TEXTURE20_ARB 0x84D4
  1427. #define GL_TEXTURE21_ARB 0x84D5
  1428. #define GL_TEXTURE22_ARB 0x84D6
  1429. #define GL_TEXTURE23_ARB 0x84D7
  1430. #define GL_TEXTURE24_ARB 0x84D8
  1431. #define GL_TEXTURE25_ARB 0x84D9
  1432. #define GL_TEXTURE26_ARB 0x84DA
  1433. #define GL_TEXTURE27_ARB 0x84DB
  1434. #define GL_TEXTURE28_ARB 0x84DC
  1435. #define GL_TEXTURE29_ARB 0x84DD
  1436. #define GL_TEXTURE30_ARB 0x84DE
  1437. #define GL_TEXTURE31_ARB 0x84DF
  1438. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  1439. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  1440. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  1441. #endif
  1442. #ifndef GL_ARB_transpose_matrix
  1443. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  1444. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  1445. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  1446. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  1447. #endif
  1448. #ifndef GL_ARB_multisample
  1449. #define GL_MULTISAMPLE_ARB 0x809D
  1450. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  1451. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  1452. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  1453. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  1454. #define GL_SAMPLES_ARB 0x80A9
  1455. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  1456. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  1457. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  1458. #endif
  1459. #ifndef GL_ARB_texture_env_add
  1460. #endif
  1461. #ifndef GL_ARB_texture_cube_map
  1462. #define GL_NORMAL_MAP_ARB 0x8511
  1463. #define GL_REFLECTION_MAP_ARB 0x8512
  1464. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  1465. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  1466. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  1467. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  1468. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  1469. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  1470. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  1471. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  1472. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  1473. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  1474. #endif
  1475. #ifndef GL_ARB_texture_compression
  1476. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  1477. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  1478. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  1479. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  1480. #define GL_COMPRESSED_RGB_ARB 0x84ED
  1481. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  1482. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  1483. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  1484. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  1485. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  1486. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  1487. #endif
  1488. #ifndef GL_ARB_texture_border_clamp
  1489. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  1490. #endif
  1491. #ifndef GL_ARB_point_parameters
  1492. #define GL_POINT_SIZE_MIN_ARB 0x8126
  1493. #define GL_POINT_SIZE_MAX_ARB 0x8127
  1494. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  1495. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  1496. #endif
  1497. #ifndef GL_ARB_vertex_blend
  1498. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  1499. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  1500. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  1501. #define GL_VERTEX_BLEND_ARB 0x86A7
  1502. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  1503. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  1504. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  1505. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  1506. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  1507. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  1508. #define GL_MODELVIEW0_ARB 0x1700
  1509. #define GL_MODELVIEW1_ARB 0x850A
  1510. #define GL_MODELVIEW2_ARB 0x8722
  1511. #define GL_MODELVIEW3_ARB 0x8723
  1512. #define GL_MODELVIEW4_ARB 0x8724
  1513. #define GL_MODELVIEW5_ARB 0x8725
  1514. #define GL_MODELVIEW6_ARB 0x8726
  1515. #define GL_MODELVIEW7_ARB 0x8727
  1516. #define GL_MODELVIEW8_ARB 0x8728
  1517. #define GL_MODELVIEW9_ARB 0x8729
  1518. #define GL_MODELVIEW10_ARB 0x872A
  1519. #define GL_MODELVIEW11_ARB 0x872B
  1520. #define GL_MODELVIEW12_ARB 0x872C
  1521. #define GL_MODELVIEW13_ARB 0x872D
  1522. #define GL_MODELVIEW14_ARB 0x872E
  1523. #define GL_MODELVIEW15_ARB 0x872F
  1524. #define GL_MODELVIEW16_ARB 0x8730
  1525. #define GL_MODELVIEW17_ARB 0x8731
  1526. #define GL_MODELVIEW18_ARB 0x8732
  1527. #define GL_MODELVIEW19_ARB 0x8733
  1528. #define GL_MODELVIEW20_ARB 0x8734
  1529. #define GL_MODELVIEW21_ARB 0x8735
  1530. #define GL_MODELVIEW22_ARB 0x8736
  1531. #define GL_MODELVIEW23_ARB 0x8737
  1532. #define GL_MODELVIEW24_ARB 0x8738
  1533. #define GL_MODELVIEW25_ARB 0x8739
  1534. #define GL_MODELVIEW26_ARB 0x873A
  1535. #define GL_MODELVIEW27_ARB 0x873B
  1536. #define GL_MODELVIEW28_ARB 0x873C
  1537. #define GL_MODELVIEW29_ARB 0x873D
  1538. #define GL_MODELVIEW30_ARB 0x873E
  1539. #define GL_MODELVIEW31_ARB 0x873F
  1540. #endif
  1541. #ifndef GL_ARB_matrix_palette
  1542. #define GL_MATRIX_PALETTE_ARB 0x8840
  1543. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  1544. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  1545. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  1546. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  1547. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  1548. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  1549. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  1550. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  1551. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  1552. #endif
  1553. #ifndef GL_ARB_texture_env_combine
  1554. #define GL_COMBINE_ARB 0x8570
  1555. #define GL_COMBINE_RGB_ARB 0x8571
  1556. #define GL_COMBINE_ALPHA_ARB 0x8572
  1557. #define GL_SOURCE0_RGB_ARB 0x8580
  1558. #define GL_SOURCE1_RGB_ARB 0x8581
  1559. #define GL_SOURCE2_RGB_ARB 0x8582
  1560. #define GL_SOURCE0_ALPHA_ARB 0x8588
  1561. #define GL_SOURCE1_ALPHA_ARB 0x8589
  1562. #define GL_SOURCE2_ALPHA_ARB 0x858A
  1563. #define GL_OPERAND0_RGB_ARB 0x8590
  1564. #define GL_OPERAND1_RGB_ARB 0x8591
  1565. #define GL_OPERAND2_RGB_ARB 0x8592
  1566. #define GL_OPERAND0_ALPHA_ARB 0x8598
  1567. #define GL_OPERAND1_ALPHA_ARB 0x8599
  1568. #define GL_OPERAND2_ALPHA_ARB 0x859A
  1569. #define GL_RGB_SCALE_ARB 0x8573
  1570. #define GL_ADD_SIGNED_ARB 0x8574
  1571. #define GL_INTERPOLATE_ARB 0x8575
  1572. #define GL_SUBTRACT_ARB 0x84E7
  1573. #define GL_CONSTANT_ARB 0x8576
  1574. #define GL_PRIMARY_COLOR_ARB 0x8577
  1575. #define GL_PREVIOUS_ARB 0x8578
  1576. #endif
  1577. #ifndef GL_ARB_texture_env_crossbar
  1578. #endif
  1579. #ifndef GL_ARB_texture_env_dot3
  1580. #define GL_DOT3_RGB_ARB 0x86AE
  1581. #define GL_DOT3_RGBA_ARB 0x86AF
  1582. #endif
  1583. #ifndef GL_ARB_texture_mirrored_repeat
  1584. #define GL_MIRRORED_REPEAT_ARB 0x8370
  1585. #endif
  1586. #ifndef GL_ARB_depth_texture
  1587. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  1588. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  1589. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  1590. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  1591. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  1592. #endif
  1593. #ifndef GL_ARB_shadow
  1594. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  1595. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  1596. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  1597. #endif
  1598. #ifndef GL_ARB_shadow_ambient
  1599. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  1600. #endif
  1601. #ifndef GL_ARB_window_pos
  1602. #endif
  1603. #ifndef GL_ARB_vertex_program
  1604. #define GL_COLOR_SUM_ARB 0x8458
  1605. #define GL_VERTEX_PROGRAM_ARB 0x8620
  1606. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  1607. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  1608. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  1609. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  1610. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  1611. #define GL_PROGRAM_LENGTH_ARB 0x8627
  1612. #define GL_PROGRAM_STRING_ARB 0x8628
  1613. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  1614. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  1615. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  1616. #define GL_CURRENT_MATRIX_ARB 0x8641
  1617. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  1618. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  1619. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  1620. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  1621. #define GL_PROGRAM_BINDING_ARB 0x8677
  1622. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  1623. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  1624. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  1625. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  1626. #define GL_PROGRAM_FORMAT_ARB 0x8876
  1627. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  1628. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  1629. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  1630. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  1631. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  1632. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  1633. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  1634. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  1635. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  1636. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  1637. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  1638. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  1639. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  1640. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  1641. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  1642. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  1643. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  1644. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  1645. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  1646. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  1647. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  1648. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  1649. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  1650. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  1651. #define GL_MATRIX0_ARB 0x88C0
  1652. #define GL_MATRIX1_ARB 0x88C1
  1653. #define GL_MATRIX2_ARB 0x88C2
  1654. #define GL_MATRIX3_ARB 0x88C3
  1655. #define GL_MATRIX4_ARB 0x88C4
  1656. #define GL_MATRIX5_ARB 0x88C5
  1657. #define GL_MATRIX6_ARB 0x88C6
  1658. #define GL_MATRIX7_ARB 0x88C7
  1659. #define GL_MATRIX8_ARB 0x88C8
  1660. #define GL_MATRIX9_ARB 0x88C9
  1661. #define GL_MATRIX10_ARB 0x88CA
  1662. #define GL_MATRIX11_ARB 0x88CB
  1663. #define GL_MATRIX12_ARB 0x88CC
  1664. #define GL_MATRIX13_ARB 0x88CD
  1665. #define GL_MATRIX14_ARB 0x88CE
  1666. #define GL_MATRIX15_ARB 0x88CF
  1667. #define GL_MATRIX16_ARB 0x88D0
  1668. #define GL_MATRIX17_ARB 0x88D1
  1669. #define GL_MATRIX18_ARB 0x88D2
  1670. #define GL_MATRIX19_ARB 0x88D3
  1671. #define GL_MATRIX20_ARB 0x88D4
  1672. #define GL_MATRIX21_ARB 0x88D5
  1673. #define GL_MATRIX22_ARB 0x88D6
  1674. #define GL_MATRIX23_ARB 0x88D7
  1675. #define GL_MATRIX24_ARB 0x88D8
  1676. #define GL_MATRIX25_ARB 0x88D9
  1677. #define GL_MATRIX26_ARB 0x88DA
  1678. #define GL_MATRIX27_ARB 0x88DB
  1679. #define GL_MATRIX28_ARB 0x88DC
  1680. #define GL_MATRIX29_ARB 0x88DD
  1681. #define GL_MATRIX30_ARB 0x88DE
  1682. #define GL_MATRIX31_ARB 0x88DF
  1683. #endif
  1684. #ifndef GL_ARB_fragment_program
  1685. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  1686. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  1687. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  1688. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  1689. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  1690. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  1691. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  1692. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  1693. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  1694. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  1695. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  1696. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  1697. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  1698. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  1699. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  1700. #endif
  1701. #ifndef GL_ARB_vertex_buffer_object
  1702. #define GL_BUFFER_SIZE_ARB 0x8764
  1703. #define GL_BUFFER_USAGE_ARB 0x8765
  1704. #define GL_ARRAY_BUFFER_ARB 0x8892
  1705. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  1706. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  1707. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  1708. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  1709. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  1710. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  1711. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  1712. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  1713. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  1714. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  1715. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  1716. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  1717. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  1718. #define GL_READ_ONLY_ARB 0x88B8
  1719. #define GL_WRITE_ONLY_ARB 0x88B9
  1720. #define GL_READ_WRITE_ARB 0x88BA
  1721. #define GL_BUFFER_ACCESS_ARB 0x88BB
  1722. #define GL_BUFFER_MAPPED_ARB 0x88BC
  1723. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  1724. #define GL_STREAM_DRAW_ARB 0x88E0
  1725. #define GL_STREAM_READ_ARB 0x88E1
  1726. #define GL_STREAM_COPY_ARB 0x88E2
  1727. #define GL_STATIC_DRAW_ARB 0x88E4
  1728. #define GL_STATIC_READ_ARB 0x88E5
  1729. #define GL_STATIC_COPY_ARB 0x88E6
  1730. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  1731. #define GL_DYNAMIC_READ_ARB 0x88E9
  1732. #define GL_DYNAMIC_COPY_ARB 0x88EA
  1733. #endif
  1734. #ifndef GL_ARB_occlusion_query
  1735. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  1736. #define GL_CURRENT_QUERY_ARB 0x8865
  1737. #define GL_QUERY_RESULT_ARB 0x8866
  1738. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  1739. #define GL_SAMPLES_PASSED_ARB 0x8914
  1740. #endif
  1741. #ifndef GL_ARB_shader_objects
  1742. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  1743. #define GL_SHADER_OBJECT_ARB 0x8B48
  1744. #define GL_OBJECT_TYPE_ARB 0x8B4E
  1745. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  1746. #define GL_FLOAT_VEC2_ARB 0x8B50
  1747. #define GL_FLOAT_VEC3_ARB 0x8B51
  1748. #define GL_FLOAT_VEC4_ARB 0x8B52
  1749. #define GL_INT_VEC2_ARB 0x8B53
  1750. #define GL_INT_VEC3_ARB 0x8B54
  1751. #define GL_INT_VEC4_ARB 0x8B55
  1752. #define GL_BOOL_ARB 0x8B56
  1753. #define GL_BOOL_VEC2_ARB 0x8B57
  1754. #define GL_BOOL_VEC3_ARB 0x8B58
  1755. #define GL_BOOL_VEC4_ARB 0x8B59
  1756. #define GL_FLOAT_MAT2_ARB 0x8B5A
  1757. #define GL_FLOAT_MAT3_ARB 0x8B5B
  1758. #define GL_FLOAT_MAT4_ARB 0x8B5C
  1759. #define GL_SAMPLER_1D_ARB 0x8B5D
  1760. #define GL_SAMPLER_2D_ARB 0x8B5E
  1761. #define GL_SAMPLER_3D_ARB 0x8B5F
  1762. #define GL_SAMPLER_CUBE_ARB 0x8B60
  1763. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  1764. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  1765. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  1766. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  1767. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  1768. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  1769. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  1770. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  1771. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  1772. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  1773. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  1774. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  1775. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  1776. #endif
  1777. #ifndef GL_ARB_vertex_shader
  1778. #define GL_VERTEX_SHADER_ARB 0x8B31
  1779. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  1780. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  1781. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  1782. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  1783. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  1784. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  1785. #endif
  1786. #ifndef GL_ARB_fragment_shader
  1787. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  1788. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  1789. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  1790. #endif
  1791. #ifndef GL_ARB_shading_language_100
  1792. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  1793. #endif
  1794. #ifndef GL_ARB_texture_non_power_of_two
  1795. #endif
  1796. #ifndef GL_ARB_point_sprite
  1797. #define GL_POINT_SPRITE_ARB 0x8861
  1798. #define GL_COORD_REPLACE_ARB 0x8862
  1799. #endif
  1800. #ifndef GL_ARB_fragment_program_shadow
  1801. #endif
  1802. #ifndef GL_ARB_draw_buffers
  1803. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  1804. #define GL_DRAW_BUFFER0_ARB 0x8825
  1805. #define GL_DRAW_BUFFER1_ARB 0x8826
  1806. #define GL_DRAW_BUFFER2_ARB 0x8827
  1807. #define GL_DRAW_BUFFER3_ARB 0x8828
  1808. #define GL_DRAW_BUFFER4_ARB 0x8829
  1809. #define GL_DRAW_BUFFER5_ARB 0x882A
  1810. #define GL_DRAW_BUFFER6_ARB 0x882B
  1811. #define GL_DRAW_BUFFER7_ARB 0x882C
  1812. #define GL_DRAW_BUFFER8_ARB 0x882D
  1813. #define GL_DRAW_BUFFER9_ARB 0x882E
  1814. #define GL_DRAW_BUFFER10_ARB 0x882F
  1815. #define GL_DRAW_BUFFER11_ARB 0x8830
  1816. #define GL_DRAW_BUFFER12_ARB 0x8831
  1817. #define GL_DRAW_BUFFER13_ARB 0x8832
  1818. #define GL_DRAW_BUFFER14_ARB 0x8833
  1819. #define GL_DRAW_BUFFER15_ARB 0x8834
  1820. #endif
  1821. #ifndef GL_ARB_texture_rectangle
  1822. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  1823. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  1824. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  1825. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  1826. #endif
  1827. #ifndef GL_ARB_color_buffer_float
  1828. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  1829. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  1830. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  1831. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  1832. #define GL_FIXED_ONLY_ARB 0x891D
  1833. #endif
  1834. #ifndef GL_ARB_half_float_pixel
  1835. #define GL_HALF_FLOAT_ARB 0x140B
  1836. #endif
  1837. #ifndef GL_ARB_texture_float
  1838. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  1839. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  1840. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  1841. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  1842. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  1843. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  1844. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  1845. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  1846. #define GL_RGBA32F_ARB 0x8814
  1847. #define GL_RGB32F_ARB 0x8815
  1848. #define GL_ALPHA32F_ARB 0x8816
  1849. #define GL_INTENSITY32F_ARB 0x8817
  1850. #define GL_LUMINANCE32F_ARB 0x8818
  1851. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  1852. #define GL_RGBA16F_ARB 0x881A
  1853. #define GL_RGB16F_ARB 0x881B
  1854. #define GL_ALPHA16F_ARB 0x881C
  1855. #define GL_INTENSITY16F_ARB 0x881D
  1856. #define GL_LUMINANCE16F_ARB 0x881E
  1857. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  1858. #endif
  1859. #ifndef GL_ARB_pixel_buffer_object
  1860. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  1861. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  1862. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  1863. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  1864. #endif
  1865. #ifndef GL_ARB_depth_buffer_float
  1866. #define GL_DEPTH_COMPONENT32F 0x8CAC
  1867. #define GL_DEPTH32F_STENCIL8 0x8CAD
  1868. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  1869. #endif
  1870. #ifndef GL_ARB_draw_instanced
  1871. #endif
  1872. #ifndef GL_ARB_framebuffer_object
  1873. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  1874. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  1875. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  1876. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  1877. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  1878. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  1879. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  1880. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  1881. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  1882. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  1883. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  1884. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  1885. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  1886. #define GL_DEPTH_STENCIL 0x84F9
  1887. #define GL_UNSIGNED_INT_24_8 0x84FA
  1888. #define GL_DEPTH24_STENCIL8 0x88F0
  1889. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  1890. #define GL_TEXTURE_RED_TYPE 0x8C10
  1891. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  1892. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  1893. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  1894. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  1895. #define GL_UNSIGNED_NORMALIZED 0x8C17
  1896. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  1897. #define GL_DRAW_FRAMEBUFFER_BINDING GL_FRAMEBUFFER_BINDING
  1898. #define GL_RENDERBUFFER_BINDING 0x8CA7
  1899. #define GL_READ_FRAMEBUFFER 0x8CA8
  1900. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  1901. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  1902. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  1903. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  1904. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  1905. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  1906. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  1907. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  1908. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  1909. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  1910. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  1911. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  1912. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  1913. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  1914. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  1915. #define GL_COLOR_ATTACHMENT0 0x8CE0
  1916. #define GL_COLOR_ATTACHMENT1 0x8CE1
  1917. #define GL_COLOR_ATTACHMENT2 0x8CE2
  1918. #define GL_COLOR_ATTACHMENT3 0x8CE3
  1919. #define GL_COLOR_ATTACHMENT4 0x8CE4
  1920. #define GL_COLOR_ATTACHMENT5 0x8CE5
  1921. #define GL_COLOR_ATTACHMENT6 0x8CE6
  1922. #define GL_COLOR_ATTACHMENT7 0x8CE7
  1923. #define GL_COLOR_ATTACHMENT8 0x8CE8
  1924. #define GL_COLOR_ATTACHMENT9 0x8CE9
  1925. #define GL_COLOR_ATTACHMENT10 0x8CEA
  1926. #define GL_COLOR_ATTACHMENT11 0x8CEB
  1927. #define GL_COLOR_ATTACHMENT12 0x8CEC
  1928. #define GL_COLOR_ATTACHMENT13 0x8CED
  1929. #define GL_COLOR_ATTACHMENT14 0x8CEE
  1930. #define GL_COLOR_ATTACHMENT15 0x8CEF
  1931. #define GL_DEPTH_ATTACHMENT 0x8D00
  1932. #define GL_STENCIL_ATTACHMENT 0x8D20
  1933. #define GL_FRAMEBUFFER 0x8D40
  1934. #define GL_RENDERBUFFER 0x8D41
  1935. #define GL_RENDERBUFFER_WIDTH 0x8D42
  1936. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  1937. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  1938. #define GL_STENCIL_INDEX1 0x8D46
  1939. #define GL_STENCIL_INDEX4 0x8D47
  1940. #define GL_STENCIL_INDEX8 0x8D48
  1941. #define GL_STENCIL_INDEX16 0x8D49
  1942. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  1943. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  1944. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  1945. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  1946. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  1947. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  1948. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  1949. #define GL_MAX_SAMPLES 0x8D57
  1950. #define GL_INDEX 0x8222
  1951. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  1952. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  1953. #endif
  1954. #ifndef GL_ARB_framebuffer_sRGB
  1955. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  1956. #endif
  1957. #ifndef GL_ARB_geometry_shader4
  1958. #define GL_LINES_ADJACENCY_ARB 0x000A
  1959. #define GL_LINE_STRIP_ADJACENCY_ARB 0x000B
  1960. #define GL_TRIANGLES_ADJACENCY_ARB 0x000C
  1961. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0x000D
  1962. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  1963. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  1964. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  1965. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  1966. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  1967. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  1968. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  1969. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  1970. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  1971. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  1972. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  1973. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  1974. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  1975. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  1976. /* reuse GL_MAX_VARYING_COMPONENTS */
  1977. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER */
  1978. #endif
  1979. #ifndef GL_ARB_half_float_vertex
  1980. #define GL_HALF_FLOAT 0x140B
  1981. #endif
  1982. #ifndef GL_ARB_instanced_arrays
  1983. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  1984. #endif
  1985. #ifndef GL_ARB_map_buffer_range
  1986. #define GL_MAP_READ_BIT 0x0001
  1987. #define GL_MAP_WRITE_BIT 0x0002
  1988. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  1989. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  1990. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  1991. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  1992. #endif
  1993. #ifndef GL_ARB_texture_buffer_object
  1994. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  1995. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  1996. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  1997. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  1998. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  1999. #endif
  2000. #ifndef GL_ARB_texture_compression_rgtc
  2001. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  2002. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  2003. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  2004. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  2005. #endif
  2006. #ifndef GL_ARB_texture_rg
  2007. #define GL_RG 0x8227
  2008. #define GL_RG_INTEGER 0x8228
  2009. #define GL_R8 0x8229
  2010. #define GL_R16 0x822A
  2011. #define GL_RG8 0x822B
  2012. #define GL_RG16 0x822C
  2013. #define GL_R16F 0x822D
  2014. #define GL_R32F 0x822E
  2015. #define GL_RG16F 0x822F
  2016. #define GL_RG32F 0x8230
  2017. #define GL_R8I 0x8231
  2018. #define GL_R8UI 0x8232
  2019. #define GL_R16I 0x8233
  2020. #define GL_R16UI 0x8234
  2021. #define GL_R32I 0x8235
  2022. #define GL_R32UI 0x8236
  2023. #define GL_RG8I 0x8237
  2024. #define GL_RG8UI 0x8238
  2025. #define GL_RG16I 0x8239
  2026. #define GL_RG16UI 0x823A
  2027. #define GL_RG32I 0x823B
  2028. #define GL_RG32UI 0x823C
  2029. #endif
  2030. #ifndef GL_ARB_vertex_array_object
  2031. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  2032. #endif
  2033. #ifndef GL_ARB_uniform_buffer_object
  2034. #define GL_UNIFORM_BUFFER 0x8A11
  2035. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  2036. #define GL_UNIFORM_BUFFER_START 0x8A29
  2037. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  2038. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  2039. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  2040. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  2041. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  2042. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  2043. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  2044. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  2045. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  2046. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  2047. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  2048. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  2049. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  2050. #define GL_UNIFORM_TYPE 0x8A37
  2051. #define GL_UNIFORM_SIZE 0x8A38
  2052. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  2053. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  2054. #define GL_UNIFORM_OFFSET 0x8A3B
  2055. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  2056. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  2057. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  2058. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  2059. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  2060. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  2061. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  2062. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  2063. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  2064. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  2065. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  2066. #define GL_INVALID_INDEX 0xFFFFFFFFu
  2067. #endif
  2068. #ifndef GL_ARB_compatibility
  2069. /* ARB_compatibility just defines tokens from core 3.0 */
  2070. #endif
  2071. #ifndef GL_ARB_copy_buffer
  2072. #define GL_COPY_READ_BUFFER_BINDING 0x8F36
  2073. #define GL_COPY_READ_BUFFER GL_COPY_READ_BUFFER_BINDING
  2074. #define GL_COPY_WRITE_BUFFER_BINDING 0x8F37
  2075. #define GL_COPY_WRITE_BUFFER GL_COPY_WRITE_BUFFER_BINDING
  2076. #endif
  2077. #ifndef GL_ARB_shader_texture_lod
  2078. #endif
  2079. #ifndef GL_ARB_depth_clamp
  2080. #define GL_DEPTH_CLAMP 0x864F
  2081. #endif
  2082. #ifndef GL_ARB_draw_elements_base_vertex
  2083. #endif
  2084. #ifndef GL_ARB_fragment_coord_conventions
  2085. #endif
  2086. #ifndef GL_ARB_provoking_vertex
  2087. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  2088. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  2089. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  2090. #define GL_PROVOKING_VERTEX 0x8E4F
  2091. #endif
  2092. #ifndef GL_ARB_seamless_cube_map
  2093. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  2094. #endif
  2095. #ifndef GL_ARB_sync
  2096. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  2097. #define GL_OBJECT_TYPE 0x9112
  2098. #define GL_SYNC_CONDITION 0x9113
  2099. #define GL_SYNC_STATUS 0x9114
  2100. #define GL_SYNC_FLAGS 0x9115
  2101. #define GL_SYNC_FENCE 0x9116
  2102. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  2103. #define GL_UNSIGNALED 0x9118
  2104. #define GL_SIGNALED 0x9119
  2105. #define GL_ALREADY_SIGNALED 0x911A
  2106. #define GL_TIMEOUT_EXPIRED 0x911B
  2107. #define GL_CONDITION_SATISFIED 0x911C
  2108. #define GL_WAIT_FAILED 0x911D
  2109. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  2110. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFFull
  2111. #endif
  2112. #ifndef GL_ARB_texture_multisample
  2113. #define GL_SAMPLE_POSITION 0x8E50
  2114. #define GL_SAMPLE_MASK 0x8E51
  2115. #define GL_SAMPLE_MASK_VALUE 0x8E52
  2116. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  2117. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  2118. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  2119. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  2120. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  2121. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  2122. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  2123. #define GL_TEXTURE_SAMPLES 0x9106
  2124. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  2125. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  2126. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  2127. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  2128. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  2129. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  2130. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  2131. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  2132. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  2133. #define GL_MAX_INTEGER_SAMPLES 0x9110
  2134. #endif
  2135. #ifndef GL_ARB_vertex_array_bgra
  2136. /* reuse GL_BGRA */
  2137. #endif
  2138. #ifndef GL_ARB_draw_buffers_blend
  2139. #endif
  2140. #ifndef GL_ARB_sample_shading
  2141. #define GL_SAMPLE_SHADING_ARB 0x8C36
  2142. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  2143. #endif
  2144. #ifndef GL_ARB_texture_cube_map_array
  2145. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  2146. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  2147. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  2148. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  2149. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  2150. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  2151. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  2152. #endif
  2153. #ifndef GL_ARB_texture_gather
  2154. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  2155. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  2156. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  2157. #endif
  2158. #ifndef GL_ARB_texture_query_lod
  2159. #endif
  2160. #ifndef GL_ARB_shading_language_include
  2161. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  2162. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  2163. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  2164. #endif
  2165. #ifndef GL_ARB_texture_compression_bptc
  2166. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  2167. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  2168. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  2169. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  2170. #endif
  2171. #ifndef GL_ARB_blend_func_extended
  2172. #define GL_SRC1_COLOR 0x88F9
  2173. /* reuse GL_SRC1_ALPHA */
  2174. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  2175. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  2176. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  2177. #endif
  2178. #ifndef GL_ARB_explicit_attrib_location
  2179. #endif
  2180. #ifndef GL_ARB_occlusion_query2
  2181. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  2182. #endif
  2183. #ifndef GL_ARB_sampler_objects
  2184. #define GL_SAMPLER_BINDING 0x8919
  2185. #endif
  2186. #ifndef GL_ARB_shader_bit_encoding
  2187. #endif
  2188. #ifndef GL_ARB_texture_rgb10_a2ui
  2189. #define GL_RGB10_A2UI 0x906F
  2190. #endif
  2191. #ifndef GL_ARB_texture_swizzle
  2192. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  2193. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  2194. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  2195. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  2196. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  2197. #endif
  2198. #ifndef GL_ARB_timer_query
  2199. #define GL_TIME_ELAPSED 0x88BF
  2200. #define GL_TIMESTAMP 0x8E28
  2201. #endif
  2202. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  2203. /* reuse GL_UNSIGNED_INT_2_10_10_10_REV */
  2204. #define GL_INT_2_10_10_10_REV 0x8D9F
  2205. #endif
  2206. #ifndef GL_ARB_draw_indirect
  2207. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  2208. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  2209. #endif
  2210. #ifndef GL_ARB_gpu_shader5
  2211. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  2212. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  2213. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  2214. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  2215. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  2216. /* reuse GL_MAX_VERTEX_STREAMS */
  2217. #endif
  2218. #ifndef GL_ARB_gpu_shader_fp64
  2219. /* reuse GL_DOUBLE */
  2220. #define GL_DOUBLE_VEC2 0x8FFC
  2221. #define GL_DOUBLE_VEC3 0x8FFD
  2222. #define GL_DOUBLE_VEC4 0x8FFE
  2223. #define GL_DOUBLE_MAT2 0x8F46
  2224. #define GL_DOUBLE_MAT3 0x8F47
  2225. #define GL_DOUBLE_MAT4 0x8F48
  2226. #define GL_DOUBLE_MAT2x3 0x8F49
  2227. #define GL_DOUBLE_MAT2x4 0x8F4A
  2228. #define GL_DOUBLE_MAT3x2 0x8F4B
  2229. #define GL_DOUBLE_MAT3x4 0x8F4C
  2230. #define GL_DOUBLE_MAT4x2 0x8F4D
  2231. #define GL_DOUBLE_MAT4x3 0x8F4E
  2232. #endif
  2233. #ifndef GL_ARB_shader_subroutine
  2234. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  2235. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  2236. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  2237. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  2238. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  2239. #define GL_MAX_SUBROUTINES 0x8DE7
  2240. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  2241. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  2242. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  2243. /* reuse GL_UNIFORM_SIZE */
  2244. /* reuse GL_UNIFORM_NAME_LENGTH */
  2245. #endif
  2246. #ifndef GL_ARB_tessellation_shader
  2247. #define GL_PATCHES 0x000E
  2248. #define GL_PATCH_VERTICES 0x8E72
  2249. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  2250. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  2251. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  2252. #define GL_TESS_GEN_MODE 0x8E76
  2253. #define GL_TESS_GEN_SPACING 0x8E77
  2254. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  2255. #define GL_TESS_GEN_POINT_MODE 0x8E79
  2256. /* reuse GL_TRIANGLES */
  2257. /* reuse GL_QUADS */
  2258. #define GL_ISOLINES 0x8E7A
  2259. /* reuse GL_EQUAL */
  2260. #define GL_FRACTIONAL_ODD 0x8E7B
  2261. #define GL_FRACTIONAL_EVEN 0x8E7C
  2262. /* reuse GL_CCW */
  2263. /* reuse GL_CW */
  2264. #define GL_MAX_PATCH_VERTICES 0x8E7D
  2265. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  2266. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  2267. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  2268. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  2269. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  2270. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  2271. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  2272. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  2273. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  2274. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  2275. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  2276. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  2277. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  2278. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  2279. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  2280. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  2281. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  2282. #define GL_TESS_EVALUATION_SHADER 0x8E87
  2283. #define GL_TESS_CONTROL_SHADER 0x8E88
  2284. #endif
  2285. #ifndef GL_ARB_texture_buffer_object_rgb32
  2286. /* reuse GL_RGB32F */
  2287. /* reuse GL_RGB32UI */
  2288. /* reuse GL_RGB32I */
  2289. #endif
  2290. #ifndef GL_ARB_transform_feedback2
  2291. #define GL_TRANSFORM_FEEDBACK 0x8E22
  2292. #define GL_TRANSFORM_FEEDBACK_PAUSED 0x8E23
  2293. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED GL_TRANSFORM_FEEDBACK_PAUSED
  2294. #define GL_TRANSFORM_FEEDBACK_ACTIVE 0x8E24
  2295. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE GL_TRANSFORM_FEEDBACK_ACTIVE
  2296. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  2297. #endif
  2298. #ifndef GL_ARB_transform_feedback3
  2299. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  2300. #define GL_MAX_VERTEX_STREAMS 0x8E71
  2301. #endif
  2302. #ifndef GL_ARB_ES2_compatibility
  2303. #define GL_FIXED 0x140C
  2304. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  2305. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  2306. #define GL_LOW_FLOAT 0x8DF0
  2307. #define GL_MEDIUM_FLOAT 0x8DF1
  2308. #define GL_HIGH_FLOAT 0x8DF2
  2309. #define GL_LOW_INT 0x8DF3
  2310. #define GL_MEDIUM_INT 0x8DF4
  2311. #define GL_HIGH_INT 0x8DF5
  2312. #define GL_SHADER_COMPILER 0x8DFA
  2313. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  2314. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  2315. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  2316. #define GL_MAX_VARYING_VECTORS 0x8DFC
  2317. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  2318. #define GL_RGB565 0x8D62
  2319. #endif
  2320. #ifndef GL_ARB_get_program_binary
  2321. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  2322. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  2323. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  2324. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  2325. #endif
  2326. #ifndef GL_ARB_separate_shader_objects
  2327. #define GL_VERTEX_SHADER_BIT 0x00000001
  2328. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  2329. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  2330. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  2331. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  2332. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  2333. #define GL_PROGRAM_SEPARABLE 0x8258
  2334. #define GL_ACTIVE_PROGRAM 0x8259
  2335. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  2336. #endif
  2337. #ifndef GL_ARB_shader_precision
  2338. #endif
  2339. #ifndef GL_ARB_vertex_attrib_64bit
  2340. /* reuse GL_RGB32I */
  2341. /* reuse GL_DOUBLE_VEC2 */
  2342. /* reuse GL_DOUBLE_VEC3 */
  2343. /* reuse GL_DOUBLE_VEC4 */
  2344. /* reuse GL_DOUBLE_MAT2 */
  2345. /* reuse GL_DOUBLE_MAT3 */
  2346. /* reuse GL_DOUBLE_MAT4 */
  2347. /* reuse GL_DOUBLE_MAT2x3 */
  2348. /* reuse GL_DOUBLE_MAT2x4 */
  2349. /* reuse GL_DOUBLE_MAT3x2 */
  2350. /* reuse GL_DOUBLE_MAT3x4 */
  2351. /* reuse GL_DOUBLE_MAT4x2 */
  2352. /* reuse GL_DOUBLE_MAT4x3 */
  2353. #endif
  2354. #ifndef GL_ARB_viewport_array
  2355. /* reuse GL_SCISSOR_BOX */
  2356. /* reuse GL_VIEWPORT */
  2357. /* reuse GL_DEPTH_RANGE */
  2358. /* reuse GL_SCISSOR_TEST */
  2359. #define GL_MAX_VIEWPORTS 0x825B
  2360. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  2361. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  2362. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  2363. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  2364. #define GL_UNDEFINED_VERTEX 0x8260
  2365. /* reuse GL_FIRST_VERTEX_CONVENTION */
  2366. /* reuse GL_LAST_VERTEX_CONVENTION */
  2367. /* reuse GL_PROVOKING_VERTEX */
  2368. #endif
  2369. #ifndef GL_ARB_cl_event
  2370. #define GL_SYNC_CL_EVENT_ARB 0x8240
  2371. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  2372. #endif
  2373. #ifndef GL_ARB_debug_output
  2374. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  2375. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  2376. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  2377. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  2378. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  2379. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  2380. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  2381. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  2382. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  2383. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  2384. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  2385. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  2386. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  2387. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  2388. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  2389. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  2390. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  2391. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  2392. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  2393. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  2394. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  2395. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  2396. #endif
  2397. #ifndef GL_ARB_robustness
  2398. /* reuse GL_NO_ERROR */
  2399. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  2400. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  2401. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  2402. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  2403. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  2404. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  2405. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  2406. #endif
  2407. #ifndef GL_ARB_shader_stencil_export
  2408. #endif
  2409. #ifndef GL_ARB_base_instance
  2410. #endif
  2411. #ifndef GL_ARB_shading_language_420pack
  2412. #endif
  2413. #ifndef GL_ARB_transform_feedback_instanced
  2414. #endif
  2415. #ifndef GL_ARB_compressed_texture_pixel_storage
  2416. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  2417. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  2418. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  2419. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  2420. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  2421. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  2422. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  2423. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  2424. #endif
  2425. #ifndef GL_ARB_conservative_depth
  2426. #endif
  2427. #ifndef GL_ARB_internalformat_query
  2428. #define GL_NUM_SAMPLE_COUNTS 0x9380
  2429. #endif
  2430. #ifndef GL_ARB_map_buffer_alignment
  2431. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  2432. #endif
  2433. #ifndef GL_ARB_shader_atomic_counters
  2434. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  2435. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  2436. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  2437. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  2438. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  2439. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  2440. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  2441. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  2442. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  2443. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  2444. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  2445. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  2446. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  2447. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  2448. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  2449. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  2450. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  2451. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  2452. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  2453. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  2454. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  2455. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  2456. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  2457. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  2458. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  2459. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  2460. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  2461. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  2462. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  2463. #endif
  2464. #ifndef GL_ARB_shader_image_load_store
  2465. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  2466. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  2467. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  2468. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  2469. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  2470. #define GL_COMMAND_BARRIER_BIT 0x00000040
  2471. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  2472. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  2473. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  2474. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  2475. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  2476. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  2477. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  2478. #define GL_MAX_IMAGE_UNITS 0x8F38
  2479. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  2480. #define GL_IMAGE_BINDING_NAME 0x8F3A
  2481. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  2482. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  2483. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  2484. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  2485. #define GL_IMAGE_1D 0x904C
  2486. #define GL_IMAGE_2D 0x904D
  2487. #define GL_IMAGE_3D 0x904E
  2488. #define GL_IMAGE_2D_RECT 0x904F
  2489. #define GL_IMAGE_CUBE 0x9050
  2490. #define GL_IMAGE_BUFFER 0x9051
  2491. #define GL_IMAGE_1D_ARRAY 0x9052
  2492. #define GL_IMAGE_2D_ARRAY 0x9053
  2493. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  2494. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  2495. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  2496. #define GL_INT_IMAGE_1D 0x9057
  2497. #define GL_INT_IMAGE_2D 0x9058
  2498. #define GL_INT_IMAGE_3D 0x9059
  2499. #define GL_INT_IMAGE_2D_RECT 0x905A
  2500. #define GL_INT_IMAGE_CUBE 0x905B
  2501. #define GL_INT_IMAGE_BUFFER 0x905C
  2502. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  2503. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  2504. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  2505. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  2506. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  2507. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  2508. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  2509. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  2510. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  2511. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  2512. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  2513. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  2514. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  2515. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  2516. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  2517. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  2518. #define GL_MAX_IMAGE_SAMPLES 0x906D
  2519. #define GL_IMAGE_BINDING_FORMAT 0x906E
  2520. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  2521. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  2522. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  2523. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  2524. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  2525. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  2526. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  2527. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  2528. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  2529. #endif
  2530. #ifndef GL_ARB_shading_language_packing
  2531. #endif
  2532. #ifndef GL_ARB_texture_storage
  2533. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  2534. #endif
  2535. #ifndef GL_KHR_texture_compression_astc_ldr
  2536. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  2537. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  2538. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  2539. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  2540. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  2541. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  2542. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  2543. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  2544. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  2545. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  2546. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  2547. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  2548. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  2549. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  2550. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  2551. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  2552. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  2553. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  2554. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  2555. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  2556. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  2557. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  2558. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  2559. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  2560. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  2561. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  2562. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  2563. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  2564. #endif
  2565. #ifndef GL_KHR_debug
  2566. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  2567. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  2568. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  2569. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  2570. #define GL_DEBUG_SOURCE_API 0x8246
  2571. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  2572. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  2573. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  2574. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  2575. #define GL_DEBUG_SOURCE_OTHER 0x824B
  2576. #define GL_DEBUG_TYPE_ERROR 0x824C
  2577. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  2578. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  2579. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  2580. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  2581. #define GL_DEBUG_TYPE_OTHER 0x8251
  2582. #define GL_DEBUG_TYPE_MARKER 0x8268
  2583. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  2584. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  2585. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  2586. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  2587. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  2588. #define GL_BUFFER 0x82E0
  2589. #define GL_SHADER 0x82E1
  2590. #define GL_PROGRAM 0x82E2
  2591. #define GL_QUERY 0x82E3
  2592. #define GL_PROGRAM_PIPELINE 0x82E4
  2593. #define GL_SAMPLER 0x82E6
  2594. #define GL_DISPLAY_LIST 0x82E7
  2595. /* DISPLAY_LIST used in compatibility profile only */
  2596. #define GL_MAX_LABEL_LENGTH 0x82E8
  2597. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  2598. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  2599. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  2600. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  2601. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  2602. #define GL_DEBUG_SEVERITY_LOW 0x9148
  2603. #define GL_DEBUG_OUTPUT 0x92E0
  2604. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  2605. /* reuse GL_STACK_UNDERFLOW */
  2606. /* reuse GL_STACK_OVERFLOW */
  2607. #endif
  2608. #ifndef GL_ARB_arrays_of_arrays
  2609. #endif
  2610. #ifndef GL_ARB_clear_buffer_object
  2611. #endif
  2612. #ifndef GL_ARB_compute_shader
  2613. #define GL_COMPUTE_SHADER 0x91B9
  2614. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  2615. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  2616. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  2617. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  2618. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  2619. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  2620. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  2621. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  2622. #define GL_MAX_COMPUTE_LOCAL_INVOCATIONS 0x90EB
  2623. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  2624. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  2625. #define GL_COMPUTE_LOCAL_WORK_SIZE 0x8267
  2626. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  2627. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  2628. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  2629. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  2630. #define GL_COMPUTE_SHADER_BIT 0x00000020
  2631. #endif
  2632. #ifndef GL_ARB_copy_image
  2633. #endif
  2634. #ifndef GL_ARB_texture_view
  2635. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  2636. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  2637. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  2638. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  2639. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  2640. #endif
  2641. #ifndef GL_ARB_vertex_attrib_binding
  2642. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  2643. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  2644. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  2645. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  2646. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  2647. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  2648. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  2649. #endif
  2650. #ifndef GL_ARB_robustness_isolation
  2651. #endif
  2652. #ifndef GL_ARB_ES3_compatibility
  2653. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  2654. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  2655. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  2656. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  2657. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  2658. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  2659. #define GL_COMPRESSED_R11_EAC 0x9270
  2660. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  2661. #define GL_COMPRESSED_RG11_EAC 0x9272
  2662. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  2663. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  2664. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  2665. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  2666. #endif
  2667. #ifndef GL_ARB_explicit_uniform_location
  2668. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  2669. #endif
  2670. #ifndef GL_ARB_fragment_layer_viewport
  2671. #endif
  2672. #ifndef GL_ARB_framebuffer_no_attachments
  2673. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  2674. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  2675. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  2676. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  2677. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  2678. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  2679. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  2680. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  2681. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  2682. #endif
  2683. #ifndef GL_ARB_internalformat_query2
  2684. /* reuse GL_IMAGE_FORMAT_COMPATIBILITY_TYPE */
  2685. /* reuse GL_NUM_SAMPLE_COUNTS */
  2686. /* reuse GL_RENDERBUFFER */
  2687. /* reuse GL_SAMPLES */
  2688. /* reuse GL_TEXTURE_1D */
  2689. /* reuse GL_TEXTURE_1D_ARRAY */
  2690. /* reuse GL_TEXTURE_2D */
  2691. /* reuse GL_TEXTURE_2D_ARRAY */
  2692. /* reuse GL_TEXTURE_3D */
  2693. /* reuse GL_TEXTURE_CUBE_MAP */
  2694. /* reuse GL_TEXTURE_CUBE_MAP_ARRAY */
  2695. /* reuse GL_TEXTURE_RECTANGLE */
  2696. /* reuse GL_TEXTURE_BUFFER */
  2697. /* reuse GL_TEXTURE_2D_MULTISAMPLE */
  2698. /* reuse GL_TEXTURE_2D_MULTISAMPLE_ARRAY */
  2699. /* reuse GL_TEXTURE_COMPRESSED */
  2700. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  2701. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  2702. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  2703. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  2704. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  2705. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  2706. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  2707. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  2708. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  2709. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  2710. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  2711. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  2712. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  2713. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  2714. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  2715. #define GL_MAX_WIDTH 0x827E
  2716. #define GL_MAX_HEIGHT 0x827F
  2717. #define GL_MAX_DEPTH 0x8280
  2718. #define GL_MAX_LAYERS 0x8281
  2719. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  2720. #define GL_COLOR_COMPONENTS 0x8283
  2721. #define GL_DEPTH_COMPONENTS 0x8284
  2722. #define GL_STENCIL_COMPONENTS 0x8285
  2723. #define GL_COLOR_RENDERABLE 0x8286
  2724. #define GL_DEPTH_RENDERABLE 0x8287
  2725. #define GL_STENCIL_RENDERABLE 0x8288
  2726. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  2727. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  2728. #define GL_FRAMEBUFFER_BLEND 0x828B
  2729. #define GL_READ_PIXELS 0x828C
  2730. #define GL_READ_PIXELS_FORMAT 0x828D
  2731. #define GL_READ_PIXELS_TYPE 0x828E
  2732. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  2733. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  2734. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  2735. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  2736. #define GL_MIPMAP 0x8293
  2737. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  2738. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  2739. #define GL_COLOR_ENCODING 0x8296
  2740. #define GL_SRGB_READ 0x8297
  2741. #define GL_SRGB_WRITE 0x8298
  2742. #define GL_SRGB_DECODE_ARB 0x8299
  2743. #define GL_FILTER 0x829A
  2744. #define GL_VERTEX_TEXTURE 0x829B
  2745. #define GL_TESS_CONTROL_TEXTURE 0x829C
  2746. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  2747. #define GL_GEOMETRY_TEXTURE 0x829E
  2748. #define GL_FRAGMENT_TEXTURE 0x829F
  2749. #define GL_COMPUTE_TEXTURE 0x82A0
  2750. #define GL_TEXTURE_SHADOW 0x82A1
  2751. #define GL_TEXTURE_GATHER 0x82A2
  2752. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  2753. #define GL_SHADER_IMAGE_LOAD 0x82A4
  2754. #define GL_SHADER_IMAGE_STORE 0x82A5
  2755. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  2756. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  2757. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  2758. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  2759. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  2760. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  2761. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  2762. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  2763. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  2764. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  2765. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  2766. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  2767. #define GL_CLEAR_BUFFER 0x82B4
  2768. #define GL_TEXTURE_VIEW 0x82B5
  2769. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  2770. #define GL_FULL_SUPPORT 0x82B7
  2771. #define GL_CAVEAT_SUPPORT 0x82B8
  2772. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  2773. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  2774. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  2775. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  2776. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  2777. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  2778. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  2779. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  2780. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  2781. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  2782. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  2783. #define GL_VIEW_CLASS_128_BITS 0x82C4
  2784. #define GL_VIEW_CLASS_96_BITS 0x82C5
  2785. #define GL_VIEW_CLASS_64_BITS 0x82C6
  2786. #define GL_VIEW_CLASS_48_BITS 0x82C7
  2787. #define GL_VIEW_CLASS_32_BITS 0x82C8
  2788. #define GL_VIEW_CLASS_24_BITS 0x82C9
  2789. #define GL_VIEW_CLASS_16_BITS 0x82CA
  2790. #define GL_VIEW_CLASS_8_BITS 0x82CB
  2791. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  2792. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  2793. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  2794. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  2795. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  2796. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  2797. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  2798. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  2799. #endif
  2800. #ifndef GL_ARB_invalidate_subdata
  2801. #endif
  2802. #ifndef GL_ARB_multi_draw_indirect
  2803. #endif
  2804. #ifndef GL_ARB_program_interface_query
  2805. #define GL_UNIFORM 0x92E1
  2806. #define GL_UNIFORM_BLOCK 0x92E2
  2807. #define GL_PROGRAM_INPUT 0x92E3
  2808. #define GL_PROGRAM_OUTPUT 0x92E4
  2809. #define GL_BUFFER_VARIABLE 0x92E5
  2810. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  2811. /* reuse GL_ATOMIC_COUNTER_BUFFER */
  2812. #define GL_VERTEX_SUBROUTINE 0x92E8
  2813. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  2814. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  2815. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  2816. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  2817. #define GL_COMPUTE_SUBROUTINE 0x92ED
  2818. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  2819. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  2820. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  2821. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  2822. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  2823. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  2824. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  2825. #define GL_ACTIVE_RESOURCES 0x92F5
  2826. #define GL_MAX_NAME_LENGTH 0x92F6
  2827. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  2828. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  2829. #define GL_NAME_LENGTH 0x92F9
  2830. #define GL_TYPE 0x92FA
  2831. #define GL_ARRAY_SIZE 0x92FB
  2832. #define GL_OFFSET 0x92FC
  2833. #define GL_BLOCK_INDEX 0x92FD
  2834. #define GL_ARRAY_STRIDE 0x92FE
  2835. #define GL_MATRIX_STRIDE 0x92FF
  2836. #define GL_IS_ROW_MAJOR 0x9300
  2837. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  2838. #define GL_BUFFER_BINDING 0x9302
  2839. #define GL_BUFFER_DATA_SIZE 0x9303
  2840. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  2841. #define GL_ACTIVE_VARIABLES 0x9305
  2842. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  2843. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  2844. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  2845. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  2846. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  2847. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  2848. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  2849. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  2850. #define GL_LOCATION 0x930E
  2851. #define GL_LOCATION_INDEX 0x930F
  2852. #define GL_IS_PER_PATCH 0x92E7
  2853. /* reuse GL_NUM_COMPATIBLE_SUBROUTINES */
  2854. /* reuse GL_COMPATIBLE_SUBROUTINES */
  2855. #endif
  2856. #ifndef GL_ARB_robust_buffer_access_behavior
  2857. #endif
  2858. #ifndef GL_ARB_shader_image_size
  2859. #endif
  2860. #ifndef GL_ARB_shader_storage_buffer_object
  2861. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  2862. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  2863. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  2864. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  2865. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  2866. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  2867. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  2868. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  2869. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  2870. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  2871. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  2872. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  2873. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  2874. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  2875. #define GL_SHADER_STORAGE_BARRIER_BIT 0x2000
  2876. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS
  2877. /* reuse GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS */
  2878. #endif
  2879. #ifndef GL_ARB_stencil_texturing
  2880. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  2881. #endif
  2882. #ifndef GL_ARB_texture_buffer_range
  2883. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  2884. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  2885. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  2886. #endif
  2887. #ifndef GL_ARB_texture_query_levels
  2888. #endif
  2889. #ifndef GL_ARB_texture_storage_multisample
  2890. #endif
  2891. #ifndef GL_EXT_abgr
  2892. #define GL_ABGR_EXT 0x8000
  2893. #endif
  2894. #ifndef GL_EXT_blend_color
  2895. #define GL_CONSTANT_COLOR_EXT 0x8001
  2896. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  2897. #define GL_CONSTANT_ALPHA_EXT 0x8003
  2898. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  2899. #define GL_BLEND_COLOR_EXT 0x8005
  2900. #endif
  2901. #ifndef GL_EXT_polygon_offset
  2902. #define GL_POLYGON_OFFSET_EXT 0x8037
  2903. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  2904. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  2905. #endif
  2906. #ifndef GL_EXT_texture
  2907. #define GL_ALPHA4_EXT 0x803B
  2908. #define GL_ALPHA8_EXT 0x803C
  2909. #define GL_ALPHA12_EXT 0x803D
  2910. #define GL_ALPHA16_EXT 0x803E
  2911. #define GL_LUMINANCE4_EXT 0x803F
  2912. #define GL_LUMINANCE8_EXT 0x8040
  2913. #define GL_LUMINANCE12_EXT 0x8041
  2914. #define GL_LUMINANCE16_EXT 0x8042
  2915. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  2916. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  2917. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  2918. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  2919. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  2920. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  2921. #define GL_INTENSITY_EXT 0x8049
  2922. #define GL_INTENSITY4_EXT 0x804A
  2923. #define GL_INTENSITY8_EXT 0x804B
  2924. #define GL_INTENSITY12_EXT 0x804C
  2925. #define GL_INTENSITY16_EXT 0x804D
  2926. #define GL_RGB2_EXT 0x804E
  2927. #define GL_RGB4_EXT 0x804F
  2928. #define GL_RGB5_EXT 0x8050
  2929. #define GL_RGB8_EXT 0x8051
  2930. #define GL_RGB10_EXT 0x8052
  2931. #define GL_RGB12_EXT 0x8053
  2932. #define GL_RGB16_EXT 0x8054
  2933. #define GL_RGBA2_EXT 0x8055
  2934. #define GL_RGBA4_EXT 0x8056
  2935. #define GL_RGB5_A1_EXT 0x8057
  2936. #define GL_RGBA8_EXT 0x8058
  2937. #define GL_RGB10_A2_EXT 0x8059
  2938. #define GL_RGBA12_EXT 0x805A
  2939. #define GL_RGBA16_EXT 0x805B
  2940. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  2941. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  2942. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  2943. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  2944. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  2945. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  2946. #define GL_REPLACE_EXT 0x8062
  2947. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  2948. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  2949. #define GL_TEXTURE_TOO_LARGE_EXT 0x8065
  2950. #endif
  2951. #ifndef GL_EXT_texture3D
  2952. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  2953. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  2954. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  2955. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  2956. #define GL_TEXTURE_3D_EXT 0x806F
  2957. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  2958. #define GL_TEXTURE_DEPTH_EXT 0x8071
  2959. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  2960. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  2961. #endif
  2962. #ifndef GL_SGIS_texture_filter4
  2963. #define GL_FILTER4_SGIS 0x8146
  2964. #define GL_TEXTURE_FILTER4_SIZE_SGIS 0x8147
  2965. #endif
  2966. #ifndef GL_EXT_subtexture
  2967. #endif
  2968. #ifndef GL_EXT_copy_texture
  2969. #endif
  2970. #ifndef GL_EXT_histogram
  2971. #define GL_HISTOGRAM_EXT 0x8024
  2972. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  2973. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  2974. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  2975. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  2976. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  2977. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  2978. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  2979. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  2980. #define GL_HISTOGRAM_SINK_EXT 0x802D
  2981. #define GL_MINMAX_EXT 0x802E
  2982. #define GL_MINMAX_FORMAT_EXT 0x802F
  2983. #define GL_MINMAX_SINK_EXT 0x8030
  2984. #define GL_TABLE_TOO_LARGE_EXT 0x8031
  2985. #endif
  2986. #ifndef GL_EXT_convolution
  2987. #define GL_CONVOLUTION_1D_EXT 0x8010
  2988. #define GL_CONVOLUTION_2D_EXT 0x8011
  2989. #define GL_SEPARABLE_2D_EXT 0x8012
  2990. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  2991. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  2992. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  2993. #define GL_REDUCE_EXT 0x8016
  2994. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  2995. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  2996. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  2997. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  2998. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  2999. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  3000. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  3001. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  3002. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  3003. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  3004. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  3005. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  3006. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  3007. #endif
  3008. #ifndef GL_SGI_color_matrix
  3009. #define GL_COLOR_MATRIX_SGI 0x80B1
  3010. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  3011. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  3012. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  3013. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  3014. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  3015. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  3016. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  3017. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  3018. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  3019. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  3020. #endif
  3021. #ifndef GL_SGI_color_table
  3022. #define GL_COLOR_TABLE_SGI 0x80D0
  3023. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  3024. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  3025. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  3026. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  3027. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  3028. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  3029. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  3030. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  3031. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  3032. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  3033. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  3034. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  3035. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  3036. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  3037. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  3038. #endif
  3039. #ifndef GL_SGIS_pixel_texture
  3040. #define GL_PIXEL_TEXTURE_SGIS 0x8353
  3041. #define GL_PIXEL_FRAGMENT_RGB_SOURCE_SGIS 0x8354
  3042. #define GL_PIXEL_FRAGMENT_ALPHA_SOURCE_SGIS 0x8355
  3043. #define GL_PIXEL_GROUP_COLOR_SGIS 0x8356
  3044. #endif
  3045. #ifndef GL_SGIX_pixel_texture
  3046. #define GL_PIXEL_TEX_GEN_SGIX 0x8139
  3047. #define GL_PIXEL_TEX_GEN_MODE_SGIX 0x832B
  3048. #endif
  3049. #ifndef GL_SGIS_texture4D
  3050. #define GL_PACK_SKIP_VOLUMES_SGIS 0x8130
  3051. #define GL_PACK_IMAGE_DEPTH_SGIS 0x8131
  3052. #define GL_UNPACK_SKIP_VOLUMES_SGIS 0x8132
  3053. #define GL_UNPACK_IMAGE_DEPTH_SGIS 0x8133
  3054. #define GL_TEXTURE_4D_SGIS 0x8134
  3055. #define GL_PROXY_TEXTURE_4D_SGIS 0x8135
  3056. #define GL_TEXTURE_4DSIZE_SGIS 0x8136
  3057. #define GL_TEXTURE_WRAP_Q_SGIS 0x8137
  3058. #define GL_MAX_4D_TEXTURE_SIZE_SGIS 0x8138
  3059. #define GL_TEXTURE_4D_BINDING_SGIS 0x814F
  3060. #endif
  3061. #ifndef GL_SGI_texture_color_table
  3062. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  3063. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  3064. #endif
  3065. #ifndef GL_EXT_cmyka
  3066. #define GL_CMYK_EXT 0x800C
  3067. #define GL_CMYKA_EXT 0x800D
  3068. #define GL_PACK_CMYK_HINT_EXT 0x800E
  3069. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  3070. #endif
  3071. #ifndef GL_EXT_texture_object
  3072. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  3073. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  3074. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  3075. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  3076. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  3077. #endif
  3078. #ifndef GL_SGIS_detail_texture
  3079. #define GL_DETAIL_TEXTURE_2D_SGIS 0x8095
  3080. #define GL_DETAIL_TEXTURE_2D_BINDING_SGIS 0x8096
  3081. #define GL_LINEAR_DETAIL_SGIS 0x8097
  3082. #define GL_LINEAR_DETAIL_ALPHA_SGIS 0x8098
  3083. #define GL_LINEAR_DETAIL_COLOR_SGIS 0x8099
  3084. #define GL_DETAIL_TEXTURE_LEVEL_SGIS 0x809A
  3085. #define GL_DETAIL_TEXTURE_MODE_SGIS 0x809B
  3086. #define GL_DETAIL_TEXTURE_FUNC_POINTS_SGIS 0x809C
  3087. #endif
  3088. #ifndef GL_SGIS_sharpen_texture
  3089. #define GL_LINEAR_SHARPEN_SGIS 0x80AD
  3090. #define GL_LINEAR_SHARPEN_ALPHA_SGIS 0x80AE
  3091. #define GL_LINEAR_SHARPEN_COLOR_SGIS 0x80AF
  3092. #define GL_SHARPEN_TEXTURE_FUNC_POINTS_SGIS 0x80B0
  3093. #endif
  3094. #ifndef GL_EXT_packed_pixels
  3095. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  3096. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  3097. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  3098. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  3099. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  3100. #endif
  3101. #ifndef GL_SGIS_texture_lod
  3102. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  3103. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  3104. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  3105. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  3106. #endif
  3107. #ifndef GL_SGIS_multisample
  3108. #define GL_MULTISAMPLE_SGIS 0x809D
  3109. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  3110. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  3111. #define GL_SAMPLE_MASK_SGIS 0x80A0
  3112. #define GL_1PASS_SGIS 0x80A1
  3113. #define GL_2PASS_0_SGIS 0x80A2
  3114. #define GL_2PASS_1_SGIS 0x80A3
  3115. #define GL_4PASS_0_SGIS 0x80A4
  3116. #define GL_4PASS_1_SGIS 0x80A5
  3117. #define GL_4PASS_2_SGIS 0x80A6
  3118. #define GL_4PASS_3_SGIS 0x80A7
  3119. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  3120. #define GL_SAMPLES_SGIS 0x80A9
  3121. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  3122. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  3123. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  3124. #endif
  3125. #ifndef GL_EXT_rescale_normal
  3126. #define GL_RESCALE_NORMAL_EXT 0x803A
  3127. #endif
  3128. #ifndef GL_EXT_vertex_array
  3129. #define GL_VERTEX_ARRAY_EXT 0x8074
  3130. #define GL_NORMAL_ARRAY_EXT 0x8075
  3131. #define GL_COLOR_ARRAY_EXT 0x8076
  3132. #define GL_INDEX_ARRAY_EXT 0x8077
  3133. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  3134. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  3135. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  3136. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  3137. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  3138. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  3139. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  3140. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  3141. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  3142. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  3143. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  3144. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  3145. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  3146. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  3147. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  3148. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  3149. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  3150. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  3151. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  3152. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  3153. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  3154. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  3155. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  3156. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  3157. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  3158. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  3159. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  3160. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  3161. #endif
  3162. #ifndef GL_EXT_misc_attribute
  3163. #endif
  3164. #ifndef GL_SGIS_generate_mipmap
  3165. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  3166. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  3167. #endif
  3168. #ifndef GL_SGIX_clipmap
  3169. #define GL_LINEAR_CLIPMAP_LINEAR_SGIX 0x8170
  3170. #define GL_TEXTURE_CLIPMAP_CENTER_SGIX 0x8171
  3171. #define GL_TEXTURE_CLIPMAP_FRAME_SGIX 0x8172
  3172. #define GL_TEXTURE_CLIPMAP_OFFSET_SGIX 0x8173
  3173. #define GL_TEXTURE_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8174
  3174. #define GL_TEXTURE_CLIPMAP_LOD_OFFSET_SGIX 0x8175
  3175. #define GL_TEXTURE_CLIPMAP_DEPTH_SGIX 0x8176
  3176. #define GL_MAX_CLIPMAP_DEPTH_SGIX 0x8177
  3177. #define GL_MAX_CLIPMAP_VIRTUAL_DEPTH_SGIX 0x8178
  3178. #define GL_NEAREST_CLIPMAP_NEAREST_SGIX 0x844D
  3179. #define GL_NEAREST_CLIPMAP_LINEAR_SGIX 0x844E
  3180. #define GL_LINEAR_CLIPMAP_NEAREST_SGIX 0x844F
  3181. #endif
  3182. #ifndef GL_SGIX_shadow
  3183. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  3184. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  3185. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  3186. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  3187. #endif
  3188. #ifndef GL_SGIS_texture_edge_clamp
  3189. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  3190. #endif
  3191. #ifndef GL_SGIS_texture_border_clamp
  3192. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  3193. #endif
  3194. #ifndef GL_EXT_blend_minmax
  3195. #define GL_FUNC_ADD_EXT 0x8006
  3196. #define GL_MIN_EXT 0x8007
  3197. #define GL_MAX_EXT 0x8008
  3198. #define GL_BLEND_EQUATION_EXT 0x8009
  3199. #endif
  3200. #ifndef GL_EXT_blend_subtract
  3201. #define GL_FUNC_SUBTRACT_EXT 0x800A
  3202. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  3203. #endif
  3204. #ifndef GL_EXT_blend_logic_op
  3205. #endif
  3206. #ifndef GL_SGIX_interlace
  3207. #define GL_INTERLACE_SGIX 0x8094
  3208. #endif
  3209. #ifndef GL_SGIX_pixel_tiles
  3210. #define GL_PIXEL_TILE_BEST_ALIGNMENT_SGIX 0x813E
  3211. #define GL_PIXEL_TILE_CACHE_INCREMENT_SGIX 0x813F
  3212. #define GL_PIXEL_TILE_WIDTH_SGIX 0x8140
  3213. #define GL_PIXEL_TILE_HEIGHT_SGIX 0x8141
  3214. #define GL_PIXEL_TILE_GRID_WIDTH_SGIX 0x8142
  3215. #define GL_PIXEL_TILE_GRID_HEIGHT_SGIX 0x8143
  3216. #define GL_PIXEL_TILE_GRID_DEPTH_SGIX 0x8144
  3217. #define GL_PIXEL_TILE_CACHE_SIZE_SGIX 0x8145
  3218. #endif
  3219. #ifndef GL_SGIS_texture_select
  3220. #define GL_DUAL_ALPHA4_SGIS 0x8110
  3221. #define GL_DUAL_ALPHA8_SGIS 0x8111
  3222. #define GL_DUAL_ALPHA12_SGIS 0x8112
  3223. #define GL_DUAL_ALPHA16_SGIS 0x8113
  3224. #define GL_DUAL_LUMINANCE4_SGIS 0x8114
  3225. #define GL_DUAL_LUMINANCE8_SGIS 0x8115
  3226. #define GL_DUAL_LUMINANCE12_SGIS 0x8116
  3227. #define GL_DUAL_LUMINANCE16_SGIS 0x8117
  3228. #define GL_DUAL_INTENSITY4_SGIS 0x8118
  3229. #define GL_DUAL_INTENSITY8_SGIS 0x8119
  3230. #define GL_DUAL_INTENSITY12_SGIS 0x811A
  3231. #define GL_DUAL_INTENSITY16_SGIS 0x811B
  3232. #define GL_DUAL_LUMINANCE_ALPHA4_SGIS 0x811C
  3233. #define GL_DUAL_LUMINANCE_ALPHA8_SGIS 0x811D
  3234. #define GL_QUAD_ALPHA4_SGIS 0x811E
  3235. #define GL_QUAD_ALPHA8_SGIS 0x811F
  3236. #define GL_QUAD_LUMINANCE4_SGIS 0x8120
  3237. #define GL_QUAD_LUMINANCE8_SGIS 0x8121
  3238. #define GL_QUAD_INTENSITY4_SGIS 0x8122
  3239. #define GL_QUAD_INTENSITY8_SGIS 0x8123
  3240. #define GL_DUAL_TEXTURE_SELECT_SGIS 0x8124
  3241. #define GL_QUAD_TEXTURE_SELECT_SGIS 0x8125
  3242. #endif
  3243. #ifndef GL_SGIX_sprite
  3244. #define GL_SPRITE_SGIX 0x8148
  3245. #define GL_SPRITE_MODE_SGIX 0x8149
  3246. #define GL_SPRITE_AXIS_SGIX 0x814A
  3247. #define GL_SPRITE_TRANSLATION_SGIX 0x814B
  3248. #define GL_SPRITE_AXIAL_SGIX 0x814C
  3249. #define GL_SPRITE_OBJECT_ALIGNED_SGIX 0x814D
  3250. #define GL_SPRITE_EYE_ALIGNED_SGIX 0x814E
  3251. #endif
  3252. #ifndef GL_SGIX_texture_multi_buffer
  3253. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  3254. #endif
  3255. #ifndef GL_EXT_point_parameters
  3256. #define GL_POINT_SIZE_MIN_EXT 0x8126
  3257. #define GL_POINT_SIZE_MAX_EXT 0x8127
  3258. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  3259. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  3260. #endif
  3261. #ifndef GL_SGIS_point_parameters
  3262. #define GL_POINT_SIZE_MIN_SGIS 0x8126
  3263. #define GL_POINT_SIZE_MAX_SGIS 0x8127
  3264. #define GL_POINT_FADE_THRESHOLD_SIZE_SGIS 0x8128
  3265. #define GL_DISTANCE_ATTENUATION_SGIS 0x8129
  3266. #endif
  3267. #ifndef GL_SGIX_instruments
  3268. #define GL_INSTRUMENT_BUFFER_POINTER_SGIX 0x8180
  3269. #define GL_INSTRUMENT_MEASUREMENTS_SGIX 0x8181
  3270. #endif
  3271. #ifndef GL_SGIX_texture_scale_bias
  3272. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  3273. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  3274. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  3275. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  3276. #endif
  3277. #ifndef GL_SGIX_framezoom
  3278. #define GL_FRAMEZOOM_SGIX 0x818B
  3279. #define GL_FRAMEZOOM_FACTOR_SGIX 0x818C
  3280. #define GL_MAX_FRAMEZOOM_FACTOR_SGIX 0x818D
  3281. #endif
  3282. #ifndef GL_SGIX_tag_sample_buffer
  3283. #endif
  3284. #ifndef GL_FfdMaskSGIX
  3285. #define GL_TEXTURE_DEFORMATION_BIT_SGIX 0x00000001
  3286. #define GL_GEOMETRY_DEFORMATION_BIT_SGIX 0x00000002
  3287. #endif
  3288. #ifndef GL_SGIX_polynomial_ffd
  3289. #define GL_GEOMETRY_DEFORMATION_SGIX 0x8194
  3290. #define GL_TEXTURE_DEFORMATION_SGIX 0x8195
  3291. #define GL_DEFORMATIONS_MASK_SGIX 0x8196
  3292. #define GL_MAX_DEFORMATION_ORDER_SGIX 0x8197
  3293. #endif
  3294. #ifndef GL_SGIX_reference_plane
  3295. #define GL_REFERENCE_PLANE_SGIX 0x817D
  3296. #define GL_REFERENCE_PLANE_EQUATION_SGIX 0x817E
  3297. #endif
  3298. #ifndef GL_SGIX_flush_raster
  3299. #endif
  3300. #ifndef GL_SGIX_depth_texture
  3301. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  3302. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  3303. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  3304. #endif
  3305. #ifndef GL_SGIS_fog_function
  3306. #define GL_FOG_FUNC_SGIS 0x812A
  3307. #define GL_FOG_FUNC_POINTS_SGIS 0x812B
  3308. #define GL_MAX_FOG_FUNC_POINTS_SGIS 0x812C
  3309. #endif
  3310. #ifndef GL_SGIX_fog_offset
  3311. #define GL_FOG_OFFSET_SGIX 0x8198
  3312. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  3313. #endif
  3314. #ifndef GL_HP_image_transform
  3315. #define GL_IMAGE_SCALE_X_HP 0x8155
  3316. #define GL_IMAGE_SCALE_Y_HP 0x8156
  3317. #define GL_IMAGE_TRANSLATE_X_HP 0x8157
  3318. #define GL_IMAGE_TRANSLATE_Y_HP 0x8158
  3319. #define GL_IMAGE_ROTATE_ANGLE_HP 0x8159
  3320. #define GL_IMAGE_ROTATE_ORIGIN_X_HP 0x815A
  3321. #define GL_IMAGE_ROTATE_ORIGIN_Y_HP 0x815B
  3322. #define GL_IMAGE_MAG_FILTER_HP 0x815C
  3323. #define GL_IMAGE_MIN_FILTER_HP 0x815D
  3324. #define GL_IMAGE_CUBIC_WEIGHT_HP 0x815E
  3325. #define GL_CUBIC_HP 0x815F
  3326. #define GL_AVERAGE_HP 0x8160
  3327. #define GL_IMAGE_TRANSFORM_2D_HP 0x8161
  3328. #define GL_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8162
  3329. #define GL_PROXY_POST_IMAGE_TRANSFORM_COLOR_TABLE_HP 0x8163
  3330. #endif
  3331. #ifndef GL_HP_convolution_border_modes
  3332. #define GL_IGNORE_BORDER_HP 0x8150
  3333. #define GL_CONSTANT_BORDER_HP 0x8151
  3334. #define GL_REPLICATE_BORDER_HP 0x8153
  3335. #define GL_CONVOLUTION_BORDER_COLOR_HP 0x8154
  3336. #endif
  3337. #ifndef GL_INGR_palette_buffer
  3338. #endif
  3339. #ifndef GL_SGIX_texture_add_env
  3340. #define GL_TEXTURE_ENV_BIAS_SGIX 0x80BE
  3341. #endif
  3342. #ifndef GL_EXT_color_subtable
  3343. #endif
  3344. #ifndef GL_PGI_vertex_hints
  3345. #define GL_VERTEX_DATA_HINT_PGI 0x1A22A
  3346. #define GL_VERTEX_CONSISTENT_HINT_PGI 0x1A22B
  3347. #define GL_MATERIAL_SIDE_HINT_PGI 0x1A22C
  3348. #define GL_MAX_VERTEX_HINT_PGI 0x1A22D
  3349. #define GL_COLOR3_BIT_PGI 0x00010000
  3350. #define GL_COLOR4_BIT_PGI 0x00020000
  3351. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  3352. #define GL_INDEX_BIT_PGI 0x00080000
  3353. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  3354. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  3355. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  3356. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  3357. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  3358. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  3359. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  3360. #define GL_NORMAL_BIT_PGI 0x08000000
  3361. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  3362. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  3363. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  3364. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  3365. #define GL_VERTEX23_BIT_PGI 0x00000004
  3366. #define GL_VERTEX4_BIT_PGI 0x00000008
  3367. #endif
  3368. #ifndef GL_PGI_misc_hints
  3369. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 0x1A1F8
  3370. #define GL_CONSERVE_MEMORY_HINT_PGI 0x1A1FD
  3371. #define GL_RECLAIM_MEMORY_HINT_PGI 0x1A1FE
  3372. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 0x1A202
  3373. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 0x1A203
  3374. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 0x1A204
  3375. #define GL_ALWAYS_FAST_HINT_PGI 0x1A20C
  3376. #define GL_ALWAYS_SOFT_HINT_PGI 0x1A20D
  3377. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 0x1A20E
  3378. #define GL_ALLOW_DRAW_WIN_HINT_PGI 0x1A20F
  3379. #define GL_ALLOW_DRAW_FRG_HINT_PGI 0x1A210
  3380. #define GL_ALLOW_DRAW_MEM_HINT_PGI 0x1A211
  3381. #define GL_STRICT_DEPTHFUNC_HINT_PGI 0x1A216
  3382. #define GL_STRICT_LIGHTING_HINT_PGI 0x1A217
  3383. #define GL_STRICT_SCISSOR_HINT_PGI 0x1A218
  3384. #define GL_FULL_STIPPLE_HINT_PGI 0x1A219
  3385. #define GL_CLIP_NEAR_HINT_PGI 0x1A220
  3386. #define GL_CLIP_FAR_HINT_PGI 0x1A221
  3387. #define GL_WIDE_LINE_HINT_PGI 0x1A222
  3388. #define GL_BACK_NORMALS_HINT_PGI 0x1A223
  3389. #endif
  3390. #ifndef GL_EXT_paletted_texture
  3391. #define GL_COLOR_INDEX1_EXT 0x80E2
  3392. #define GL_COLOR_INDEX2_EXT 0x80E3
  3393. #define GL_COLOR_INDEX4_EXT 0x80E4
  3394. #define GL_COLOR_INDEX8_EXT 0x80E5
  3395. #define GL_COLOR_INDEX12_EXT 0x80E6
  3396. #define GL_COLOR_INDEX16_EXT 0x80E7
  3397. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  3398. #endif
  3399. #ifndef GL_EXT_clip_volume_hint
  3400. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  3401. #endif
  3402. #ifndef GL_SGIX_list_priority
  3403. #define GL_LIST_PRIORITY_SGIX 0x8182
  3404. #endif
  3405. #ifndef GL_SGIX_ir_instrument1
  3406. #define GL_IR_INSTRUMENT1_SGIX 0x817F
  3407. #endif
  3408. #ifndef GL_SGIX_calligraphic_fragment
  3409. #define GL_CALLIGRAPHIC_FRAGMENT_SGIX 0x8183
  3410. #endif
  3411. #ifndef GL_SGIX_texture_lod_bias
  3412. #define GL_TEXTURE_LOD_BIAS_S_SGIX 0x818E
  3413. #define GL_TEXTURE_LOD_BIAS_T_SGIX 0x818F
  3414. #define GL_TEXTURE_LOD_BIAS_R_SGIX 0x8190
  3415. #endif
  3416. #ifndef GL_SGIX_shadow_ambient
  3417. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  3418. #endif
  3419. #ifndef GL_EXT_index_texture
  3420. #endif
  3421. #ifndef GL_EXT_index_material
  3422. #define GL_INDEX_MATERIAL_EXT 0x81B8
  3423. #define GL_INDEX_MATERIAL_PARAMETER_EXT 0x81B9
  3424. #define GL_INDEX_MATERIAL_FACE_EXT 0x81BA
  3425. #endif
  3426. #ifndef GL_EXT_index_func
  3427. #define GL_INDEX_TEST_EXT 0x81B5
  3428. #define GL_INDEX_TEST_FUNC_EXT 0x81B6
  3429. #define GL_INDEX_TEST_REF_EXT 0x81B7
  3430. #endif
  3431. #ifndef GL_EXT_index_array_formats
  3432. #define GL_IUI_V2F_EXT 0x81AD
  3433. #define GL_IUI_V3F_EXT 0x81AE
  3434. #define GL_IUI_N3F_V2F_EXT 0x81AF
  3435. #define GL_IUI_N3F_V3F_EXT 0x81B0
  3436. #define GL_T2F_IUI_V2F_EXT 0x81B1
  3437. #define GL_T2F_IUI_V3F_EXT 0x81B2
  3438. #define GL_T2F_IUI_N3F_V2F_EXT 0x81B3
  3439. #define GL_T2F_IUI_N3F_V3F_EXT 0x81B4
  3440. #endif
  3441. #ifndef GL_EXT_compiled_vertex_array
  3442. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  3443. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  3444. #endif
  3445. #ifndef GL_EXT_cull_vertex
  3446. #define GL_CULL_VERTEX_EXT 0x81AA
  3447. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  3448. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  3449. #endif
  3450. #ifndef GL_SGIX_ycrcb
  3451. #define GL_YCRCB_422_SGIX 0x81BB
  3452. #define GL_YCRCB_444_SGIX 0x81BC
  3453. #endif
  3454. #ifndef GL_SGIX_fragment_lighting
  3455. #define GL_FRAGMENT_LIGHTING_SGIX 0x8400
  3456. #define GL_FRAGMENT_COLOR_MATERIAL_SGIX 0x8401
  3457. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_SGIX 0x8402
  3458. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_SGIX 0x8403
  3459. #define GL_MAX_FRAGMENT_LIGHTS_SGIX 0x8404
  3460. #define GL_MAX_ACTIVE_LIGHTS_SGIX 0x8405
  3461. #define GL_CURRENT_RASTER_NORMAL_SGIX 0x8406
  3462. #define GL_LIGHT_ENV_MODE_SGIX 0x8407
  3463. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_SGIX 0x8408
  3464. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_SGIX 0x8409
  3465. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_SGIX 0x840A
  3466. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_SGIX 0x840B
  3467. #define GL_FRAGMENT_LIGHT0_SGIX 0x840C
  3468. #define GL_FRAGMENT_LIGHT1_SGIX 0x840D
  3469. #define GL_FRAGMENT_LIGHT2_SGIX 0x840E
  3470. #define GL_FRAGMENT_LIGHT3_SGIX 0x840F
  3471. #define GL_FRAGMENT_LIGHT4_SGIX 0x8410
  3472. #define GL_FRAGMENT_LIGHT5_SGIX 0x8411
  3473. #define GL_FRAGMENT_LIGHT6_SGIX 0x8412
  3474. #define GL_FRAGMENT_LIGHT7_SGIX 0x8413
  3475. #endif
  3476. #ifndef GL_IBM_rasterpos_clip
  3477. #define GL_RASTER_POSITION_UNCLIPPED_IBM 0x19262
  3478. #endif
  3479. #ifndef GL_HP_texture_lighting
  3480. #define GL_TEXTURE_LIGHTING_MODE_HP 0x8167
  3481. #define GL_TEXTURE_POST_SPECULAR_HP 0x8168
  3482. #define GL_TEXTURE_PRE_SPECULAR_HP 0x8169
  3483. #endif
  3484. #ifndef GL_EXT_draw_range_elements
  3485. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  3486. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  3487. #endif
  3488. #ifndef GL_WIN_phong_shading
  3489. #define GL_PHONG_WIN 0x80EA
  3490. #define GL_PHONG_HINT_WIN 0x80EB
  3491. #endif
  3492. #ifndef GL_WIN_specular_fog
  3493. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  3494. #endif
  3495. #ifndef GL_EXT_light_texture
  3496. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  3497. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  3498. #define GL_FRAGMENT_COLOR_EXT 0x834C
  3499. #define GL_ATTENUATION_EXT 0x834D
  3500. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  3501. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  3502. #define GL_TEXTURE_LIGHT_EXT 0x8350
  3503. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  3504. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  3505. /* reuse GL_FRAGMENT_DEPTH_EXT */
  3506. #endif
  3507. #ifndef GL_SGIX_blend_alpha_minmax
  3508. #define GL_ALPHA_MIN_SGIX 0x8320
  3509. #define GL_ALPHA_MAX_SGIX 0x8321
  3510. #endif
  3511. #ifndef GL_SGIX_impact_pixel_texture
  3512. #define GL_PIXEL_TEX_GEN_Q_CEILING_SGIX 0x8184
  3513. #define GL_PIXEL_TEX_GEN_Q_ROUND_SGIX 0x8185
  3514. #define GL_PIXEL_TEX_GEN_Q_FLOOR_SGIX 0x8186
  3515. #define GL_PIXEL_TEX_GEN_ALPHA_REPLACE_SGIX 0x8187
  3516. #define GL_PIXEL_TEX_GEN_ALPHA_NO_REPLACE_SGIX 0x8188
  3517. #define GL_PIXEL_TEX_GEN_ALPHA_LS_SGIX 0x8189
  3518. #define GL_PIXEL_TEX_GEN_ALPHA_MS_SGIX 0x818A
  3519. #endif
  3520. #ifndef GL_EXT_bgra
  3521. #define GL_BGR_EXT 0x80E0
  3522. #define GL_BGRA_EXT 0x80E1
  3523. #endif
  3524. #ifndef GL_SGIX_async
  3525. #define GL_ASYNC_MARKER_SGIX 0x8329
  3526. #endif
  3527. #ifndef GL_SGIX_async_pixel
  3528. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  3529. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  3530. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  3531. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  3532. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  3533. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  3534. #endif
  3535. #ifndef GL_SGIX_async_histogram
  3536. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  3537. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  3538. #endif
  3539. #ifndef GL_INTEL_texture_scissor
  3540. #endif
  3541. #ifndef GL_INTEL_parallel_arrays
  3542. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  3543. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  3544. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  3545. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  3546. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  3547. #endif
  3548. #ifndef GL_HP_occlusion_test
  3549. #define GL_OCCLUSION_TEST_HP 0x8165
  3550. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  3551. #endif
  3552. #ifndef GL_EXT_pixel_transform
  3553. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  3554. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  3555. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  3556. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  3557. #define GL_CUBIC_EXT 0x8334
  3558. #define GL_AVERAGE_EXT 0x8335
  3559. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  3560. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  3561. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  3562. #endif
  3563. #ifndef GL_EXT_pixel_transform_color_table
  3564. #endif
  3565. #ifndef GL_EXT_shared_texture_palette
  3566. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  3567. #endif
  3568. #ifndef GL_EXT_separate_specular_color
  3569. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  3570. #define GL_SINGLE_COLOR_EXT 0x81F9
  3571. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  3572. #endif
  3573. #ifndef GL_EXT_secondary_color
  3574. #define GL_COLOR_SUM_EXT 0x8458
  3575. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  3576. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  3577. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  3578. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  3579. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  3580. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  3581. #endif
  3582. #ifndef GL_EXT_texture_perturb_normal
  3583. #define GL_PERTURB_EXT 0x85AE
  3584. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  3585. #endif
  3586. #ifndef GL_EXT_multi_draw_arrays
  3587. #endif
  3588. #ifndef GL_EXT_fog_coord
  3589. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  3590. #define GL_FOG_COORDINATE_EXT 0x8451
  3591. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  3592. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  3593. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  3594. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  3595. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  3596. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  3597. #endif
  3598. #ifndef GL_REND_screen_coordinates
  3599. #define GL_SCREEN_COORDINATES_REND 0x8490
  3600. #define GL_INVERTED_SCREEN_W_REND 0x8491
  3601. #endif
  3602. #ifndef GL_EXT_coordinate_frame
  3603. #define GL_TANGENT_ARRAY_EXT 0x8439
  3604. #define GL_BINORMAL_ARRAY_EXT 0x843A
  3605. #define GL_CURRENT_TANGENT_EXT 0x843B
  3606. #define GL_CURRENT_BINORMAL_EXT 0x843C
  3607. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  3608. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  3609. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  3610. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  3611. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  3612. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  3613. #define GL_MAP1_TANGENT_EXT 0x8444
  3614. #define GL_MAP2_TANGENT_EXT 0x8445
  3615. #define GL_MAP1_BINORMAL_EXT 0x8446
  3616. #define GL_MAP2_BINORMAL_EXT 0x8447
  3617. #endif
  3618. #ifndef GL_EXT_texture_env_combine
  3619. #define GL_COMBINE_EXT 0x8570
  3620. #define GL_COMBINE_RGB_EXT 0x8571
  3621. #define GL_COMBINE_ALPHA_EXT 0x8572
  3622. #define GL_RGB_SCALE_EXT 0x8573
  3623. #define GL_ADD_SIGNED_EXT 0x8574
  3624. #define GL_INTERPOLATE_EXT 0x8575
  3625. #define GL_CONSTANT_EXT 0x8576
  3626. #define GL_PRIMARY_COLOR_EXT 0x8577
  3627. #define GL_PREVIOUS_EXT 0x8578
  3628. #define GL_SOURCE0_RGB_EXT 0x8580
  3629. #define GL_SOURCE1_RGB_EXT 0x8581
  3630. #define GL_SOURCE2_RGB_EXT 0x8582
  3631. #define GL_SOURCE0_ALPHA_EXT 0x8588
  3632. #define GL_SOURCE1_ALPHA_EXT 0x8589
  3633. #define GL_SOURCE2_ALPHA_EXT 0x858A
  3634. #define GL_OPERAND0_RGB_EXT 0x8590
  3635. #define GL_OPERAND1_RGB_EXT 0x8591
  3636. #define GL_OPERAND2_RGB_EXT 0x8592
  3637. #define GL_OPERAND0_ALPHA_EXT 0x8598
  3638. #define GL_OPERAND1_ALPHA_EXT 0x8599
  3639. #define GL_OPERAND2_ALPHA_EXT 0x859A
  3640. #endif
  3641. #ifndef GL_APPLE_specular_vector
  3642. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  3643. #endif
  3644. #ifndef GL_APPLE_transform_hint
  3645. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  3646. #endif
  3647. #ifndef GL_SGIX_fog_scale
  3648. #define GL_FOG_SCALE_SGIX 0x81FC
  3649. #define GL_FOG_SCALE_VALUE_SGIX 0x81FD
  3650. #endif
  3651. #ifndef GL_SUNX_constant_data
  3652. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  3653. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  3654. #endif
  3655. #ifndef GL_SUN_global_alpha
  3656. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  3657. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  3658. #endif
  3659. #ifndef GL_SUN_triangle_list
  3660. #define GL_RESTART_SUN 0x0001
  3661. #define GL_REPLACE_MIDDLE_SUN 0x0002
  3662. #define GL_REPLACE_OLDEST_SUN 0x0003
  3663. #define GL_TRIANGLE_LIST_SUN 0x81D7
  3664. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  3665. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  3666. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  3667. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  3668. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  3669. #define GL_R1UI_V3F_SUN 0x85C4
  3670. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  3671. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  3672. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  3673. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  3674. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  3675. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  3676. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  3677. #endif
  3678. #ifndef GL_SUN_vertex
  3679. #endif
  3680. #ifndef GL_EXT_blend_func_separate
  3681. #define GL_BLEND_DST_RGB_EXT 0x80C8
  3682. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  3683. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  3684. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  3685. #endif
  3686. #ifndef GL_INGR_color_clamp
  3687. #define GL_RED_MIN_CLAMP_INGR 0x8560
  3688. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  3689. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  3690. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  3691. #define GL_RED_MAX_CLAMP_INGR 0x8564
  3692. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  3693. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  3694. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  3695. #endif
  3696. #ifndef GL_INGR_interlace_read
  3697. #define GL_INTERLACE_READ_INGR 0x8568
  3698. #endif
  3699. #ifndef GL_EXT_stencil_wrap
  3700. #define GL_INCR_WRAP_EXT 0x8507
  3701. #define GL_DECR_WRAP_EXT 0x8508
  3702. #endif
  3703. #ifndef GL_EXT_422_pixels
  3704. #define GL_422_EXT 0x80CC
  3705. #define GL_422_REV_EXT 0x80CD
  3706. #define GL_422_AVERAGE_EXT 0x80CE
  3707. #define GL_422_REV_AVERAGE_EXT 0x80CF
  3708. #endif
  3709. #ifndef GL_NV_texgen_reflection
  3710. #define GL_NORMAL_MAP_NV 0x8511
  3711. #define GL_REFLECTION_MAP_NV 0x8512
  3712. #endif
  3713. #ifndef GL_EXT_texture_cube_map
  3714. #define GL_NORMAL_MAP_EXT 0x8511
  3715. #define GL_REFLECTION_MAP_EXT 0x8512
  3716. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  3717. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  3718. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  3719. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  3720. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  3721. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  3722. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  3723. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  3724. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  3725. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  3726. #endif
  3727. #ifndef GL_SUN_convolution_border_modes
  3728. #define GL_WRAP_BORDER_SUN 0x81D4
  3729. #endif
  3730. #ifndef GL_EXT_texture_env_add
  3731. #endif
  3732. #ifndef GL_EXT_texture_lod_bias
  3733. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  3734. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  3735. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  3736. #endif
  3737. #ifndef GL_EXT_texture_filter_anisotropic
  3738. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  3739. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  3740. #endif
  3741. #ifndef GL_EXT_vertex_weighting
  3742. #define GL_MODELVIEW0_STACK_DEPTH_EXT GL_MODELVIEW_STACK_DEPTH
  3743. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  3744. #define GL_MODELVIEW0_MATRIX_EXT GL_MODELVIEW_MATRIX
  3745. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  3746. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  3747. #define GL_MODELVIEW0_EXT GL_MODELVIEW
  3748. #define GL_MODELVIEW1_EXT 0x850A
  3749. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  3750. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  3751. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  3752. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  3753. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  3754. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  3755. #endif
  3756. #ifndef GL_NV_light_max_exponent
  3757. #define GL_MAX_SHININESS_NV 0x8504
  3758. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  3759. #endif
  3760. #ifndef GL_NV_vertex_array_range
  3761. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  3762. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  3763. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  3764. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  3765. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  3766. #endif
  3767. #ifndef GL_NV_register_combiners
  3768. #define GL_REGISTER_COMBINERS_NV 0x8522
  3769. #define GL_VARIABLE_A_NV 0x8523
  3770. #define GL_VARIABLE_B_NV 0x8524
  3771. #define GL_VARIABLE_C_NV 0x8525
  3772. #define GL_VARIABLE_D_NV 0x8526
  3773. #define GL_VARIABLE_E_NV 0x8527
  3774. #define GL_VARIABLE_F_NV 0x8528
  3775. #define GL_VARIABLE_G_NV 0x8529
  3776. #define GL_CONSTANT_COLOR0_NV 0x852A
  3777. #define GL_CONSTANT_COLOR1_NV 0x852B
  3778. #define GL_PRIMARY_COLOR_NV 0x852C
  3779. #define GL_SECONDARY_COLOR_NV 0x852D
  3780. #define GL_SPARE0_NV 0x852E
  3781. #define GL_SPARE1_NV 0x852F
  3782. #define GL_DISCARD_NV 0x8530
  3783. #define GL_E_TIMES_F_NV 0x8531
  3784. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  3785. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  3786. #define GL_UNSIGNED_INVERT_NV 0x8537
  3787. #define GL_EXPAND_NORMAL_NV 0x8538
  3788. #define GL_EXPAND_NEGATE_NV 0x8539
  3789. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  3790. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  3791. #define GL_SIGNED_IDENTITY_NV 0x853C
  3792. #define GL_SIGNED_NEGATE_NV 0x853D
  3793. #define GL_SCALE_BY_TWO_NV 0x853E
  3794. #define GL_SCALE_BY_FOUR_NV 0x853F
  3795. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  3796. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  3797. #define GL_COMBINER_INPUT_NV 0x8542
  3798. #define GL_COMBINER_MAPPING_NV 0x8543
  3799. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  3800. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  3801. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  3802. #define GL_COMBINER_MUX_SUM_NV 0x8547
  3803. #define GL_COMBINER_SCALE_NV 0x8548
  3804. #define GL_COMBINER_BIAS_NV 0x8549
  3805. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  3806. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  3807. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  3808. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  3809. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  3810. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  3811. #define GL_COMBINER0_NV 0x8550
  3812. #define GL_COMBINER1_NV 0x8551
  3813. #define GL_COMBINER2_NV 0x8552
  3814. #define GL_COMBINER3_NV 0x8553
  3815. #define GL_COMBINER4_NV 0x8554
  3816. #define GL_COMBINER5_NV 0x8555
  3817. #define GL_COMBINER6_NV 0x8556
  3818. #define GL_COMBINER7_NV 0x8557
  3819. /* reuse GL_TEXTURE0_ARB */
  3820. /* reuse GL_TEXTURE1_ARB */
  3821. /* reuse GL_ZERO */
  3822. /* reuse GL_NONE */
  3823. /* reuse GL_FOG */
  3824. #endif
  3825. #ifndef GL_NV_fog_distance
  3826. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  3827. #define GL_EYE_RADIAL_NV 0x855B
  3828. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  3829. /* reuse GL_EYE_PLANE */
  3830. #endif
  3831. #ifndef GL_NV_texgen_emboss
  3832. #define GL_EMBOSS_LIGHT_NV 0x855D
  3833. #define GL_EMBOSS_CONSTANT_NV 0x855E
  3834. #define GL_EMBOSS_MAP_NV 0x855F
  3835. #endif
  3836. #ifndef GL_NV_blend_square
  3837. #endif
  3838. #ifndef GL_NV_texture_env_combine4
  3839. #define GL_COMBINE4_NV 0x8503
  3840. #define GL_SOURCE3_RGB_NV 0x8583
  3841. #define GL_SOURCE3_ALPHA_NV 0x858B
  3842. #define GL_OPERAND3_RGB_NV 0x8593
  3843. #define GL_OPERAND3_ALPHA_NV 0x859B
  3844. #endif
  3845. #ifndef GL_MESA_resize_buffers
  3846. #endif
  3847. #ifndef GL_MESA_window_pos
  3848. #endif
  3849. #ifndef GL_EXT_texture_compression_s3tc
  3850. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  3851. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  3852. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  3853. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  3854. #endif
  3855. #ifndef GL_IBM_cull_vertex
  3856. #define GL_CULL_VERTEX_IBM 103050
  3857. #endif
  3858. #ifndef GL_IBM_multimode_draw_arrays
  3859. #endif
  3860. #ifndef GL_IBM_vertex_array_lists
  3861. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  3862. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  3863. #define GL_COLOR_ARRAY_LIST_IBM 103072
  3864. #define GL_INDEX_ARRAY_LIST_IBM 103073
  3865. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  3866. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  3867. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  3868. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  3869. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  3870. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  3871. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  3872. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  3873. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  3874. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  3875. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  3876. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  3877. #endif
  3878. #ifndef GL_SGIX_subsample
  3879. #define GL_PACK_SUBSAMPLE_RATE_SGIX 0x85A0
  3880. #define GL_UNPACK_SUBSAMPLE_RATE_SGIX 0x85A1
  3881. #define GL_PIXEL_SUBSAMPLE_4444_SGIX 0x85A2
  3882. #define GL_PIXEL_SUBSAMPLE_2424_SGIX 0x85A3
  3883. #define GL_PIXEL_SUBSAMPLE_4242_SGIX 0x85A4
  3884. #endif
  3885. #ifndef GL_SGIX_ycrcb_subsample
  3886. #endif
  3887. #ifndef GL_SGIX_ycrcba
  3888. #define GL_YCRCB_SGIX 0x8318
  3889. #define GL_YCRCBA_SGIX 0x8319
  3890. #endif
  3891. #ifndef GL_SGI_depth_pass_instrument
  3892. #define GL_DEPTH_PASS_INSTRUMENT_SGIX 0x8310
  3893. #define GL_DEPTH_PASS_INSTRUMENT_COUNTERS_SGIX 0x8311
  3894. #define GL_DEPTH_PASS_INSTRUMENT_MAX_SGIX 0x8312
  3895. #endif
  3896. #ifndef GL_3DFX_texture_compression_FXT1
  3897. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  3898. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  3899. #endif
  3900. #ifndef GL_3DFX_multisample
  3901. #define GL_MULTISAMPLE_3DFX 0x86B2
  3902. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  3903. #define GL_SAMPLES_3DFX 0x86B4
  3904. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  3905. #endif
  3906. #ifndef GL_3DFX_tbuffer
  3907. #endif
  3908. #ifndef GL_EXT_multisample
  3909. #define GL_MULTISAMPLE_EXT 0x809D
  3910. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  3911. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  3912. #define GL_SAMPLE_MASK_EXT 0x80A0
  3913. #define GL_1PASS_EXT 0x80A1
  3914. #define GL_2PASS_0_EXT 0x80A2
  3915. #define GL_2PASS_1_EXT 0x80A3
  3916. #define GL_4PASS_0_EXT 0x80A4
  3917. #define GL_4PASS_1_EXT 0x80A5
  3918. #define GL_4PASS_2_EXT 0x80A6
  3919. #define GL_4PASS_3_EXT 0x80A7
  3920. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  3921. #define GL_SAMPLES_EXT 0x80A9
  3922. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  3923. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  3924. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  3925. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  3926. #endif
  3927. #ifndef GL_SGIX_vertex_preclip
  3928. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  3929. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  3930. #endif
  3931. #ifndef GL_SGIX_convolution_accuracy
  3932. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  3933. #endif
  3934. #ifndef GL_SGIX_resample
  3935. #define GL_PACK_RESAMPLE_SGIX 0x842C
  3936. #define GL_UNPACK_RESAMPLE_SGIX 0x842D
  3937. #define GL_RESAMPLE_REPLICATE_SGIX 0x842E
  3938. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x842F
  3939. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  3940. #endif
  3941. #ifndef GL_SGIS_point_line_texgen
  3942. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  3943. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  3944. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  3945. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  3946. #define GL_EYE_POINT_SGIS 0x81F4
  3947. #define GL_OBJECT_POINT_SGIS 0x81F5
  3948. #define GL_EYE_LINE_SGIS 0x81F6
  3949. #define GL_OBJECT_LINE_SGIS 0x81F7
  3950. #endif
  3951. #ifndef GL_SGIS_texture_color_mask
  3952. #define GL_TEXTURE_COLOR_WRITEMASK_SGIS 0x81EF
  3953. #endif
  3954. #ifndef GL_EXT_texture_env_dot3
  3955. #define GL_DOT3_RGB_EXT 0x8740
  3956. #define GL_DOT3_RGBA_EXT 0x8741
  3957. #endif
  3958. #ifndef GL_ATI_texture_mirror_once
  3959. #define GL_MIRROR_CLAMP_ATI 0x8742
  3960. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  3961. #endif
  3962. #ifndef GL_NV_fence
  3963. #define GL_ALL_COMPLETED_NV 0x84F2
  3964. #define GL_FENCE_STATUS_NV 0x84F3
  3965. #define GL_FENCE_CONDITION_NV 0x84F4
  3966. #endif
  3967. #ifndef GL_IBM_texture_mirrored_repeat
  3968. #define GL_MIRRORED_REPEAT_IBM 0x8370
  3969. #endif
  3970. #ifndef GL_NV_evaluators
  3971. #define GL_EVAL_2D_NV 0x86C0
  3972. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  3973. #define GL_MAP_TESSELLATION_NV 0x86C2
  3974. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  3975. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  3976. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  3977. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  3978. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  3979. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  3980. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  3981. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  3982. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  3983. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  3984. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  3985. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  3986. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  3987. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  3988. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  3989. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  3990. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  3991. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  3992. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  3993. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  3994. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  3995. #endif
  3996. #ifndef GL_NV_packed_depth_stencil
  3997. #define GL_DEPTH_STENCIL_NV 0x84F9
  3998. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  3999. #endif
  4000. #ifndef GL_NV_register_combiners2
  4001. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  4002. #endif
  4003. #ifndef GL_NV_texture_compression_vtc
  4004. #endif
  4005. #ifndef GL_NV_texture_rectangle
  4006. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  4007. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  4008. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  4009. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  4010. #endif
  4011. #ifndef GL_NV_texture_shader
  4012. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  4013. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  4014. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  4015. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  4016. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  4017. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  4018. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  4019. #define GL_SHADER_CONSISTENT_NV 0x86DD
  4020. #define GL_TEXTURE_SHADER_NV 0x86DE
  4021. #define GL_SHADER_OPERATION_NV 0x86DF
  4022. #define GL_CULL_MODES_NV 0x86E0
  4023. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  4024. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  4025. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  4026. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV GL_OFFSET_TEXTURE_MATRIX_NV
  4027. #define GL_OFFSET_TEXTURE_2D_SCALE_NV GL_OFFSET_TEXTURE_SCALE_NV
  4028. #define GL_OFFSET_TEXTURE_2D_BIAS_NV GL_OFFSET_TEXTURE_BIAS_NV
  4029. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  4030. #define GL_CONST_EYE_NV 0x86E5
  4031. #define GL_PASS_THROUGH_NV 0x86E6
  4032. #define GL_CULL_FRAGMENT_NV 0x86E7
  4033. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  4034. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  4035. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  4036. #define GL_DOT_PRODUCT_NV 0x86EC
  4037. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  4038. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  4039. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  4040. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  4041. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  4042. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  4043. #define GL_HILO_NV 0x86F4
  4044. #define GL_DSDT_NV 0x86F5
  4045. #define GL_DSDT_MAG_NV 0x86F6
  4046. #define GL_DSDT_MAG_VIB_NV 0x86F7
  4047. #define GL_HILO16_NV 0x86F8
  4048. #define GL_SIGNED_HILO_NV 0x86F9
  4049. #define GL_SIGNED_HILO16_NV 0x86FA
  4050. #define GL_SIGNED_RGBA_NV 0x86FB
  4051. #define GL_SIGNED_RGBA8_NV 0x86FC
  4052. #define GL_SIGNED_RGB_NV 0x86FE
  4053. #define GL_SIGNED_RGB8_NV 0x86FF
  4054. #define GL_SIGNED_LUMINANCE_NV 0x8701
  4055. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  4056. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  4057. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  4058. #define GL_SIGNED_ALPHA_NV 0x8705
  4059. #define GL_SIGNED_ALPHA8_NV 0x8706
  4060. #define GL_SIGNED_INTENSITY_NV 0x8707
  4061. #define GL_SIGNED_INTENSITY8_NV 0x8708
  4062. #define GL_DSDT8_NV 0x8709
  4063. #define GL_DSDT8_MAG8_NV 0x870A
  4064. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  4065. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  4066. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  4067. #define GL_HI_SCALE_NV 0x870E
  4068. #define GL_LO_SCALE_NV 0x870F
  4069. #define GL_DS_SCALE_NV 0x8710
  4070. #define GL_DT_SCALE_NV 0x8711
  4071. #define GL_MAGNITUDE_SCALE_NV 0x8712
  4072. #define GL_VIBRANCE_SCALE_NV 0x8713
  4073. #define GL_HI_BIAS_NV 0x8714
  4074. #define GL_LO_BIAS_NV 0x8715
  4075. #define GL_DS_BIAS_NV 0x8716
  4076. #define GL_DT_BIAS_NV 0x8717
  4077. #define GL_MAGNITUDE_BIAS_NV 0x8718
  4078. #define GL_VIBRANCE_BIAS_NV 0x8719
  4079. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  4080. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  4081. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  4082. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  4083. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  4084. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  4085. #endif
  4086. #ifndef GL_NV_texture_shader2
  4087. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  4088. #endif
  4089. #ifndef GL_NV_vertex_array_range2
  4090. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  4091. #endif
  4092. #ifndef GL_NV_vertex_program
  4093. #define GL_VERTEX_PROGRAM_NV 0x8620
  4094. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  4095. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  4096. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  4097. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  4098. #define GL_CURRENT_ATTRIB_NV 0x8626
  4099. #define GL_PROGRAM_LENGTH_NV 0x8627
  4100. #define GL_PROGRAM_STRING_NV 0x8628
  4101. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  4102. #define GL_IDENTITY_NV 0x862A
  4103. #define GL_INVERSE_NV 0x862B
  4104. #define GL_TRANSPOSE_NV 0x862C
  4105. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  4106. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  4107. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  4108. #define GL_MATRIX0_NV 0x8630
  4109. #define GL_MATRIX1_NV 0x8631
  4110. #define GL_MATRIX2_NV 0x8632
  4111. #define GL_MATRIX3_NV 0x8633
  4112. #define GL_MATRIX4_NV 0x8634
  4113. #define GL_MATRIX5_NV 0x8635
  4114. #define GL_MATRIX6_NV 0x8636
  4115. #define GL_MATRIX7_NV 0x8637
  4116. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  4117. #define GL_CURRENT_MATRIX_NV 0x8641
  4118. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  4119. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  4120. #define GL_PROGRAM_PARAMETER_NV 0x8644
  4121. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  4122. #define GL_PROGRAM_TARGET_NV 0x8646
  4123. #define GL_PROGRAM_RESIDENT_NV 0x8647
  4124. #define GL_TRACK_MATRIX_NV 0x8648
  4125. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  4126. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  4127. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  4128. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  4129. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  4130. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  4131. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  4132. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  4133. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  4134. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  4135. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  4136. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  4137. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  4138. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  4139. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  4140. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  4141. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  4142. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  4143. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  4144. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  4145. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  4146. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  4147. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  4148. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  4149. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  4150. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  4151. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  4152. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  4153. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  4154. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  4155. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  4156. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  4157. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  4158. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  4159. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  4160. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  4161. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  4162. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  4163. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  4164. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  4165. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  4166. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  4167. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  4168. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  4169. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  4170. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  4171. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  4172. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  4173. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  4174. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  4175. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  4176. #endif
  4177. #ifndef GL_SGIX_texture_coordinate_clamp
  4178. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  4179. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  4180. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  4181. #endif
  4182. #ifndef GL_SGIX_scalebias_hint
  4183. #define GL_SCALEBIAS_HINT_SGIX 0x8322
  4184. #endif
  4185. #ifndef GL_OML_interlace
  4186. #define GL_INTERLACE_OML 0x8980
  4187. #define GL_INTERLACE_READ_OML 0x8981
  4188. #endif
  4189. #ifndef GL_OML_subsample
  4190. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  4191. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  4192. #endif
  4193. #ifndef GL_OML_resample
  4194. #define GL_PACK_RESAMPLE_OML 0x8984
  4195. #define GL_UNPACK_RESAMPLE_OML 0x8985
  4196. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  4197. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  4198. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  4199. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  4200. #endif
  4201. #ifndef GL_NV_copy_depth_to_color
  4202. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  4203. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  4204. #endif
  4205. #ifndef GL_ATI_envmap_bumpmap
  4206. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  4207. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  4208. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  4209. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  4210. #define GL_DUDV_ATI 0x8779
  4211. #define GL_DU8DV8_ATI 0x877A
  4212. #define GL_BUMP_ENVMAP_ATI 0x877B
  4213. #define GL_BUMP_TARGET_ATI 0x877C
  4214. #endif
  4215. #ifndef GL_ATI_fragment_shader
  4216. #define GL_FRAGMENT_SHADER_ATI 0x8920
  4217. #define GL_REG_0_ATI 0x8921
  4218. #define GL_REG_1_ATI 0x8922
  4219. #define GL_REG_2_ATI 0x8923
  4220. #define GL_REG_3_ATI 0x8924
  4221. #define GL_REG_4_ATI 0x8925
  4222. #define GL_REG_5_ATI 0x8926
  4223. #define GL_REG_6_ATI 0x8927
  4224. #define GL_REG_7_ATI 0x8928
  4225. #define GL_REG_8_ATI 0x8929
  4226. #define GL_REG_9_ATI 0x892A
  4227. #define GL_REG_10_ATI 0x892B
  4228. #define GL_REG_11_ATI 0x892C
  4229. #define GL_REG_12_ATI 0x892D
  4230. #define GL_REG_13_ATI 0x892E
  4231. #define GL_REG_14_ATI 0x892F
  4232. #define GL_REG_15_ATI 0x8930
  4233. #define GL_REG_16_ATI 0x8931
  4234. #define GL_REG_17_ATI 0x8932
  4235. #define GL_REG_18_ATI 0x8933
  4236. #define GL_REG_19_ATI 0x8934
  4237. #define GL_REG_20_ATI 0x8935
  4238. #define GL_REG_21_ATI 0x8936
  4239. #define GL_REG_22_ATI 0x8937
  4240. #define GL_REG_23_ATI 0x8938
  4241. #define GL_REG_24_ATI 0x8939
  4242. #define GL_REG_25_ATI 0x893A
  4243. #define GL_REG_26_ATI 0x893B
  4244. #define GL_REG_27_ATI 0x893C
  4245. #define GL_REG_28_ATI 0x893D
  4246. #define GL_REG_29_ATI 0x893E
  4247. #define GL_REG_30_ATI 0x893F
  4248. #define GL_REG_31_ATI 0x8940
  4249. #define GL_CON_0_ATI 0x8941
  4250. #define GL_CON_1_ATI 0x8942
  4251. #define GL_CON_2_ATI 0x8943
  4252. #define GL_CON_3_ATI 0x8944
  4253. #define GL_CON_4_ATI 0x8945
  4254. #define GL_CON_5_ATI 0x8946
  4255. #define GL_CON_6_ATI 0x8947
  4256. #define GL_CON_7_ATI 0x8948
  4257. #define GL_CON_8_ATI 0x8949
  4258. #define GL_CON_9_ATI 0x894A
  4259. #define GL_CON_10_ATI 0x894B
  4260. #define GL_CON_11_ATI 0x894C
  4261. #define GL_CON_12_ATI 0x894D
  4262. #define GL_CON_13_ATI 0x894E
  4263. #define GL_CON_14_ATI 0x894F
  4264. #define GL_CON_15_ATI 0x8950
  4265. #define GL_CON_16_ATI 0x8951
  4266. #define GL_CON_17_ATI 0x8952
  4267. #define GL_CON_18_ATI 0x8953
  4268. #define GL_CON_19_ATI 0x8954
  4269. #define GL_CON_20_ATI 0x8955
  4270. #define GL_CON_21_ATI 0x8956
  4271. #define GL_CON_22_ATI 0x8957
  4272. #define GL_CON_23_ATI 0x8958
  4273. #define GL_CON_24_ATI 0x8959
  4274. #define GL_CON_25_ATI 0x895A
  4275. #define GL_CON_26_ATI 0x895B
  4276. #define GL_CON_27_ATI 0x895C
  4277. #define GL_CON_28_ATI 0x895D
  4278. #define GL_CON_29_ATI 0x895E
  4279. #define GL_CON_30_ATI 0x895F
  4280. #define GL_CON_31_ATI 0x8960
  4281. #define GL_MOV_ATI 0x8961
  4282. #define GL_ADD_ATI 0x8963
  4283. #define GL_MUL_ATI 0x8964
  4284. #define GL_SUB_ATI 0x8965
  4285. #define GL_DOT3_ATI 0x8966
  4286. #define GL_DOT4_ATI 0x8967
  4287. #define GL_MAD_ATI 0x8968
  4288. #define GL_LERP_ATI 0x8969
  4289. #define GL_CND_ATI 0x896A
  4290. #define GL_CND0_ATI 0x896B
  4291. #define GL_DOT2_ADD_ATI 0x896C
  4292. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  4293. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  4294. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  4295. #define GL_NUM_PASSES_ATI 0x8970
  4296. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  4297. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  4298. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  4299. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  4300. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  4301. #define GL_SWIZZLE_STR_ATI 0x8976
  4302. #define GL_SWIZZLE_STQ_ATI 0x8977
  4303. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  4304. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  4305. #define GL_SWIZZLE_STRQ_ATI 0x897A
  4306. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  4307. #define GL_RED_BIT_ATI 0x00000001
  4308. #define GL_GREEN_BIT_ATI 0x00000002
  4309. #define GL_BLUE_BIT_ATI 0x00000004
  4310. #define GL_2X_BIT_ATI 0x00000001
  4311. #define GL_4X_BIT_ATI 0x00000002
  4312. #define GL_8X_BIT_ATI 0x00000004
  4313. #define GL_HALF_BIT_ATI 0x00000008
  4314. #define GL_QUARTER_BIT_ATI 0x00000010
  4315. #define GL_EIGHTH_BIT_ATI 0x00000020
  4316. #define GL_SATURATE_BIT_ATI 0x00000040
  4317. #define GL_COMP_BIT_ATI 0x00000002
  4318. #define GL_NEGATE_BIT_ATI 0x00000004
  4319. #define GL_BIAS_BIT_ATI 0x00000008
  4320. #endif
  4321. #ifndef GL_ATI_pn_triangles
  4322. #define GL_PN_TRIANGLES_ATI 0x87F0
  4323. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  4324. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  4325. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  4326. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  4327. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  4328. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  4329. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  4330. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  4331. #endif
  4332. #ifndef GL_ATI_vertex_array_object
  4333. #define GL_STATIC_ATI 0x8760
  4334. #define GL_DYNAMIC_ATI 0x8761
  4335. #define GL_PRESERVE_ATI 0x8762
  4336. #define GL_DISCARD_ATI 0x8763
  4337. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  4338. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  4339. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  4340. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  4341. #endif
  4342. #ifndef GL_EXT_vertex_shader
  4343. #define GL_VERTEX_SHADER_EXT 0x8780
  4344. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  4345. #define GL_OP_INDEX_EXT 0x8782
  4346. #define GL_OP_NEGATE_EXT 0x8783
  4347. #define GL_OP_DOT3_EXT 0x8784
  4348. #define GL_OP_DOT4_EXT 0x8785
  4349. #define GL_OP_MUL_EXT 0x8786
  4350. #define GL_OP_ADD_EXT 0x8787
  4351. #define GL_OP_MADD_EXT 0x8788
  4352. #define GL_OP_FRAC_EXT 0x8789
  4353. #define GL_OP_MAX_EXT 0x878A
  4354. #define GL_OP_MIN_EXT 0x878B
  4355. #define GL_OP_SET_GE_EXT 0x878C
  4356. #define GL_OP_SET_LT_EXT 0x878D
  4357. #define GL_OP_CLAMP_EXT 0x878E
  4358. #define GL_OP_FLOOR_EXT 0x878F
  4359. #define GL_OP_ROUND_EXT 0x8790
  4360. #define GL_OP_EXP_BASE_2_EXT 0x8791
  4361. #define GL_OP_LOG_BASE_2_EXT 0x8792
  4362. #define GL_OP_POWER_EXT 0x8793
  4363. #define GL_OP_RECIP_EXT 0x8794
  4364. #define GL_OP_RECIP_SQRT_EXT 0x8795
  4365. #define GL_OP_SUB_EXT 0x8796
  4366. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  4367. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  4368. #define GL_OP_MOV_EXT 0x8799
  4369. #define GL_OUTPUT_VERTEX_EXT 0x879A
  4370. #define GL_OUTPUT_COLOR0_EXT 0x879B
  4371. #define GL_OUTPUT_COLOR1_EXT 0x879C
  4372. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  4373. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  4374. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  4375. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  4376. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  4377. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  4378. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  4379. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  4380. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  4381. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  4382. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  4383. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  4384. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  4385. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  4386. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  4387. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  4388. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  4389. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  4390. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  4391. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  4392. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  4393. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  4394. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  4395. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  4396. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  4397. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  4398. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  4399. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  4400. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  4401. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  4402. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  4403. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  4404. #define GL_OUTPUT_FOG_EXT 0x87BD
  4405. #define GL_SCALAR_EXT 0x87BE
  4406. #define GL_VECTOR_EXT 0x87BF
  4407. #define GL_MATRIX_EXT 0x87C0
  4408. #define GL_VARIANT_EXT 0x87C1
  4409. #define GL_INVARIANT_EXT 0x87C2
  4410. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  4411. #define GL_LOCAL_EXT 0x87C4
  4412. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  4413. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  4414. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  4415. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  4416. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  4417. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  4418. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  4419. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CC
  4420. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CD
  4421. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  4422. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  4423. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  4424. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  4425. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  4426. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  4427. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  4428. #define GL_X_EXT 0x87D5
  4429. #define GL_Y_EXT 0x87D6
  4430. #define GL_Z_EXT 0x87D7
  4431. #define GL_W_EXT 0x87D8
  4432. #define GL_NEGATIVE_X_EXT 0x87D9
  4433. #define GL_NEGATIVE_Y_EXT 0x87DA
  4434. #define GL_NEGATIVE_Z_EXT 0x87DB
  4435. #define GL_NEGATIVE_W_EXT 0x87DC
  4436. #define GL_ZERO_EXT 0x87DD
  4437. #define GL_ONE_EXT 0x87DE
  4438. #define GL_NEGATIVE_ONE_EXT 0x87DF
  4439. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  4440. #define GL_FULL_RANGE_EXT 0x87E1
  4441. #define GL_CURRENT_VERTEX_EXT 0x87E2
  4442. #define GL_MVP_MATRIX_EXT 0x87E3
  4443. #define GL_VARIANT_VALUE_EXT 0x87E4
  4444. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  4445. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  4446. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  4447. #define GL_VARIANT_ARRAY_EXT 0x87E8
  4448. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  4449. #define GL_INVARIANT_VALUE_EXT 0x87EA
  4450. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  4451. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  4452. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  4453. #endif
  4454. #ifndef GL_ATI_vertex_streams
  4455. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  4456. #define GL_VERTEX_STREAM0_ATI 0x876C
  4457. #define GL_VERTEX_STREAM1_ATI 0x876D
  4458. #define GL_VERTEX_STREAM2_ATI 0x876E
  4459. #define GL_VERTEX_STREAM3_ATI 0x876F
  4460. #define GL_VERTEX_STREAM4_ATI 0x8770
  4461. #define GL_VERTEX_STREAM5_ATI 0x8771
  4462. #define GL_VERTEX_STREAM6_ATI 0x8772
  4463. #define GL_VERTEX_STREAM7_ATI 0x8773
  4464. #define GL_VERTEX_SOURCE_ATI 0x8774
  4465. #endif
  4466. #ifndef GL_ATI_element_array
  4467. #define GL_ELEMENT_ARRAY_ATI 0x8768
  4468. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  4469. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  4470. #endif
  4471. #ifndef GL_SUN_mesh_array
  4472. #define GL_QUAD_MESH_SUN 0x8614
  4473. #define GL_TRIANGLE_MESH_SUN 0x8615
  4474. #endif
  4475. #ifndef GL_SUN_slice_accum
  4476. #define GL_SLICE_ACCUM_SUN 0x85CC
  4477. #endif
  4478. #ifndef GL_NV_multisample_filter_hint
  4479. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  4480. #endif
  4481. #ifndef GL_NV_depth_clamp
  4482. #define GL_DEPTH_CLAMP_NV 0x864F
  4483. #endif
  4484. #ifndef GL_NV_occlusion_query
  4485. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  4486. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  4487. #define GL_PIXEL_COUNT_NV 0x8866
  4488. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  4489. #endif
  4490. #ifndef GL_NV_point_sprite
  4491. #define GL_POINT_SPRITE_NV 0x8861
  4492. #define GL_COORD_REPLACE_NV 0x8862
  4493. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  4494. #endif
  4495. #ifndef GL_NV_texture_shader3
  4496. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  4497. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  4498. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  4499. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  4500. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  4501. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  4502. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  4503. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  4504. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  4505. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  4506. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  4507. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  4508. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  4509. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  4510. #define GL_HILO8_NV 0x885E
  4511. #define GL_SIGNED_HILO8_NV 0x885F
  4512. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  4513. #endif
  4514. #ifndef GL_NV_vertex_program1_1
  4515. #endif
  4516. #ifndef GL_EXT_shadow_funcs
  4517. #endif
  4518. #ifndef GL_EXT_stencil_two_side
  4519. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  4520. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  4521. #endif
  4522. #ifndef GL_ATI_text_fragment_shader
  4523. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  4524. #endif
  4525. #ifndef GL_APPLE_client_storage
  4526. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  4527. #endif
  4528. #ifndef GL_APPLE_element_array
  4529. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  4530. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  4531. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  4532. #endif
  4533. #ifndef GL_APPLE_fence
  4534. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  4535. #define GL_FENCE_APPLE 0x8A0B
  4536. #endif
  4537. #ifndef GL_APPLE_vertex_array_object
  4538. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  4539. #endif
  4540. #ifndef GL_APPLE_vertex_array_range
  4541. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  4542. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  4543. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  4544. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  4545. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  4546. #define GL_STORAGE_CACHED_APPLE 0x85BE
  4547. #define GL_STORAGE_SHARED_APPLE 0x85BF
  4548. #endif
  4549. #ifndef GL_APPLE_ycbcr_422
  4550. #define GL_YCBCR_422_APPLE 0x85B9
  4551. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  4552. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  4553. #endif
  4554. #ifndef GL_S3_s3tc
  4555. #define GL_RGB_S3TC 0x83A0
  4556. #define GL_RGB4_S3TC 0x83A1
  4557. #define GL_RGBA_S3TC 0x83A2
  4558. #define GL_RGBA4_S3TC 0x83A3
  4559. #define GL_RGBA_DXT5_S3TC 0x83A4
  4560. #define GL_RGBA4_DXT5_S3TC 0x83A5
  4561. #endif
  4562. #ifndef GL_ATI_draw_buffers
  4563. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  4564. #define GL_DRAW_BUFFER0_ATI 0x8825
  4565. #define GL_DRAW_BUFFER1_ATI 0x8826
  4566. #define GL_DRAW_BUFFER2_ATI 0x8827
  4567. #define GL_DRAW_BUFFER3_ATI 0x8828
  4568. #define GL_DRAW_BUFFER4_ATI 0x8829
  4569. #define GL_DRAW_BUFFER5_ATI 0x882A
  4570. #define GL_DRAW_BUFFER6_ATI 0x882B
  4571. #define GL_DRAW_BUFFER7_ATI 0x882C
  4572. #define GL_DRAW_BUFFER8_ATI 0x882D
  4573. #define GL_DRAW_BUFFER9_ATI 0x882E
  4574. #define GL_DRAW_BUFFER10_ATI 0x882F
  4575. #define GL_DRAW_BUFFER11_ATI 0x8830
  4576. #define GL_DRAW_BUFFER12_ATI 0x8831
  4577. #define GL_DRAW_BUFFER13_ATI 0x8832
  4578. #define GL_DRAW_BUFFER14_ATI 0x8833
  4579. #define GL_DRAW_BUFFER15_ATI 0x8834
  4580. #endif
  4581. #ifndef GL_ATI_pixel_format_float
  4582. #define GL_RGBA_FLOAT_MODE_ATI 0x8820
  4583. #define GL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI 0x8835
  4584. #endif
  4585. #ifndef GL_ATI_texture_env_combine3
  4586. #define GL_MODULATE_ADD_ATI 0x8744
  4587. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  4588. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  4589. #endif
  4590. #ifndef GL_ATI_texture_float
  4591. #define GL_RGBA_FLOAT32_ATI 0x8814
  4592. #define GL_RGB_FLOAT32_ATI 0x8815
  4593. #define GL_ALPHA_FLOAT32_ATI 0x8816
  4594. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  4595. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  4596. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  4597. #define GL_RGBA_FLOAT16_ATI 0x881A
  4598. #define GL_RGB_FLOAT16_ATI 0x881B
  4599. #define GL_ALPHA_FLOAT16_ATI 0x881C
  4600. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  4601. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  4602. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  4603. #endif
  4604. #ifndef GL_NV_float_buffer
  4605. #define GL_FLOAT_R_NV 0x8880
  4606. #define GL_FLOAT_RG_NV 0x8881
  4607. #define GL_FLOAT_RGB_NV 0x8882
  4608. #define GL_FLOAT_RGBA_NV 0x8883
  4609. #define GL_FLOAT_R16_NV 0x8884
  4610. #define GL_FLOAT_R32_NV 0x8885
  4611. #define GL_FLOAT_RG16_NV 0x8886
  4612. #define GL_FLOAT_RG32_NV 0x8887
  4613. #define GL_FLOAT_RGB16_NV 0x8888
  4614. #define GL_FLOAT_RGB32_NV 0x8889
  4615. #define GL_FLOAT_RGBA16_NV 0x888A
  4616. #define GL_FLOAT_RGBA32_NV 0x888B
  4617. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  4618. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  4619. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  4620. #endif
  4621. #ifndef GL_NV_fragment_program
  4622. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  4623. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  4624. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  4625. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  4626. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  4627. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  4628. #endif
  4629. #ifndef GL_NV_half_float
  4630. #define GL_HALF_FLOAT_NV 0x140B
  4631. #endif
  4632. #ifndef GL_NV_pixel_data_range
  4633. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  4634. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  4635. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  4636. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  4637. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  4638. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  4639. #endif
  4640. #ifndef GL_NV_primitive_restart
  4641. #define GL_PRIMITIVE_RESTART_NV 0x8558
  4642. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  4643. #endif
  4644. #ifndef GL_NV_texture_expand_normal
  4645. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  4646. #endif
  4647. #ifndef GL_NV_vertex_program2
  4648. #endif
  4649. #ifndef GL_ATI_map_object_buffer
  4650. #endif
  4651. #ifndef GL_ATI_separate_stencil
  4652. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  4653. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  4654. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  4655. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  4656. #endif
  4657. #ifndef GL_ATI_vertex_attrib_array_object
  4658. #endif
  4659. #ifndef GL_OES_read_format
  4660. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  4661. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  4662. #endif
  4663. #ifndef GL_EXT_depth_bounds_test
  4664. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  4665. #define GL_DEPTH_BOUNDS_EXT 0x8891
  4666. #endif
  4667. #ifndef GL_EXT_texture_mirror_clamp
  4668. #define GL_MIRROR_CLAMP_EXT 0x8742
  4669. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  4670. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  4671. #endif
  4672. #ifndef GL_EXT_blend_equation_separate
  4673. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  4674. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  4675. #endif
  4676. #ifndef GL_MESA_pack_invert
  4677. #define GL_PACK_INVERT_MESA 0x8758
  4678. #endif
  4679. #ifndef GL_MESA_ycbcr_texture
  4680. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  4681. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  4682. #define GL_YCBCR_MESA 0x8757
  4683. #endif
  4684. #ifndef GL_EXT_pixel_buffer_object
  4685. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  4686. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  4687. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  4688. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  4689. #endif
  4690. #ifndef GL_NV_fragment_program_option
  4691. #endif
  4692. #ifndef GL_NV_fragment_program2
  4693. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  4694. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  4695. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  4696. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  4697. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  4698. #endif
  4699. #ifndef GL_NV_vertex_program2_option
  4700. /* reuse GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV */
  4701. /* reuse GL_MAX_PROGRAM_CALL_DEPTH_NV */
  4702. #endif
  4703. #ifndef GL_NV_vertex_program3
  4704. /* reuse GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB */
  4705. #endif
  4706. #ifndef GL_EXT_framebuffer_object
  4707. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  4708. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  4709. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  4710. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  4711. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  4712. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  4713. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  4714. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  4715. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  4716. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  4717. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  4718. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  4719. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  4720. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  4721. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  4722. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  4723. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  4724. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  4725. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  4726. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  4727. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  4728. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  4729. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  4730. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  4731. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  4732. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  4733. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  4734. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  4735. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  4736. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  4737. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  4738. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  4739. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  4740. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  4741. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  4742. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  4743. #define GL_FRAMEBUFFER_EXT 0x8D40
  4744. #define GL_RENDERBUFFER_EXT 0x8D41
  4745. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  4746. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  4747. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  4748. #define GL_STENCIL_INDEX1_EXT 0x8D46
  4749. #define GL_STENCIL_INDEX4_EXT 0x8D47
  4750. #define GL_STENCIL_INDEX8_EXT 0x8D48
  4751. #define GL_STENCIL_INDEX16_EXT 0x8D49
  4752. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  4753. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  4754. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  4755. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  4756. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  4757. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  4758. #endif
  4759. #ifndef GL_GREMEDY_string_marker
  4760. #endif
  4761. #ifndef GL_EXT_packed_depth_stencil
  4762. #define GL_DEPTH_STENCIL_EXT 0x84F9
  4763. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  4764. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  4765. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  4766. #endif
  4767. #ifndef GL_EXT_stencil_clear_tag
  4768. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  4769. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  4770. #endif
  4771. #ifndef GL_EXT_texture_sRGB
  4772. #define GL_SRGB_EXT 0x8C40
  4773. #define GL_SRGB8_EXT 0x8C41
  4774. #define GL_SRGB_ALPHA_EXT 0x8C42
  4775. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  4776. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  4777. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  4778. #define GL_SLUMINANCE_EXT 0x8C46
  4779. #define GL_SLUMINANCE8_EXT 0x8C47
  4780. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  4781. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  4782. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  4783. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  4784. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  4785. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  4786. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  4787. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  4788. #endif
  4789. #ifndef GL_EXT_framebuffer_blit
  4790. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  4791. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  4792. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT GL_FRAMEBUFFER_BINDING_EXT
  4793. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  4794. #endif
  4795. #ifndef GL_EXT_framebuffer_multisample
  4796. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  4797. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  4798. #define GL_MAX_SAMPLES_EXT 0x8D57
  4799. #endif
  4800. #ifndef GL_MESAX_texture_stack
  4801. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  4802. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  4803. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  4804. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  4805. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  4806. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  4807. #endif
  4808. #ifndef GL_EXT_timer_query
  4809. #define GL_TIME_ELAPSED_EXT 0x88BF
  4810. #endif
  4811. #ifndef GL_EXT_gpu_program_parameters
  4812. #endif
  4813. #ifndef GL_APPLE_flush_buffer_range
  4814. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  4815. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  4816. #endif
  4817. #ifndef GL_NV_gpu_program4
  4818. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  4819. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  4820. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  4821. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  4822. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  4823. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  4824. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  4825. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  4826. #endif
  4827. #ifndef GL_NV_geometry_program4
  4828. #define GL_LINES_ADJACENCY_EXT 0x000A
  4829. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  4830. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  4831. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  4832. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  4833. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  4834. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  4835. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  4836. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  4837. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  4838. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  4839. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  4840. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  4841. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  4842. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  4843. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  4844. #endif
  4845. #ifndef GL_EXT_geometry_shader4
  4846. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  4847. /* reuse GL_GEOMETRY_VERTICES_OUT_EXT */
  4848. /* reuse GL_GEOMETRY_INPUT_TYPE_EXT */
  4849. /* reuse GL_GEOMETRY_OUTPUT_TYPE_EXT */
  4850. /* reuse GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT */
  4851. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  4852. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  4853. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  4854. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  4855. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  4856. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  4857. /* reuse GL_LINES_ADJACENCY_EXT */
  4858. /* reuse GL_LINE_STRIP_ADJACENCY_EXT */
  4859. /* reuse GL_TRIANGLES_ADJACENCY_EXT */
  4860. /* reuse GL_TRIANGLE_STRIP_ADJACENCY_EXT */
  4861. /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT */
  4862. /* reuse GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT */
  4863. /* reuse GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT */
  4864. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  4865. /* reuse GL_PROGRAM_POINT_SIZE_EXT */
  4866. #endif
  4867. #ifndef GL_NV_vertex_program4
  4868. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  4869. #endif
  4870. #ifndef GL_EXT_gpu_shader4
  4871. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  4872. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  4873. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  4874. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  4875. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  4876. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  4877. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  4878. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  4879. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  4880. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  4881. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  4882. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  4883. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  4884. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  4885. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  4886. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  4887. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  4888. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  4889. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  4890. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  4891. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  4892. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  4893. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  4894. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  4895. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  4896. #endif
  4897. #ifndef GL_EXT_draw_instanced
  4898. #endif
  4899. #ifndef GL_EXT_packed_float
  4900. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  4901. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  4902. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  4903. #endif
  4904. #ifndef GL_EXT_texture_array
  4905. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  4906. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  4907. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  4908. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  4909. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  4910. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  4911. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  4912. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  4913. /* reuse GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT */
  4914. #endif
  4915. #ifndef GL_EXT_texture_buffer_object
  4916. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  4917. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  4918. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  4919. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  4920. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  4921. #endif
  4922. #ifndef GL_EXT_texture_compression_latc
  4923. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  4924. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  4925. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  4926. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  4927. #endif
  4928. #ifndef GL_EXT_texture_compression_rgtc
  4929. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  4930. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  4931. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  4932. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  4933. #endif
  4934. #ifndef GL_EXT_texture_shared_exponent
  4935. #define GL_RGB9_E5_EXT 0x8C3D
  4936. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  4937. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  4938. #endif
  4939. #ifndef GL_NV_depth_buffer_float
  4940. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  4941. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  4942. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  4943. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  4944. #endif
  4945. #ifndef GL_NV_fragment_program4
  4946. #endif
  4947. #ifndef GL_NV_framebuffer_multisample_coverage
  4948. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  4949. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  4950. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  4951. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  4952. #endif
  4953. #ifndef GL_EXT_framebuffer_sRGB
  4954. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  4955. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  4956. #endif
  4957. #ifndef GL_NV_geometry_shader4
  4958. #endif
  4959. #ifndef GL_NV_parameter_buffer_object
  4960. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  4961. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  4962. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  4963. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  4964. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  4965. #endif
  4966. #ifndef GL_EXT_draw_buffers2
  4967. #endif
  4968. #ifndef GL_NV_transform_feedback
  4969. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  4970. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  4971. #define GL_TEXTURE_COORD_NV 0x8C79
  4972. #define GL_CLIP_DISTANCE_NV 0x8C7A
  4973. #define GL_VERTEX_ID_NV 0x8C7B
  4974. #define GL_PRIMITIVE_ID_NV 0x8C7C
  4975. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  4976. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  4977. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  4978. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  4979. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  4980. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  4981. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  4982. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  4983. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  4984. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  4985. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  4986. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  4987. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  4988. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  4989. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  4990. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  4991. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  4992. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  4993. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  4994. #define GL_LAYER_NV 0x8DAA
  4995. #define GL_NEXT_BUFFER_NV -2
  4996. #define GL_SKIP_COMPONENTS4_NV -3
  4997. #define GL_SKIP_COMPONENTS3_NV -4
  4998. #define GL_SKIP_COMPONENTS2_NV -5
  4999. #define GL_SKIP_COMPONENTS1_NV -6
  5000. #endif
  5001. #ifndef GL_EXT_bindable_uniform
  5002. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  5003. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  5004. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  5005. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  5006. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  5007. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  5008. #endif
  5009. #ifndef GL_EXT_texture_integer
  5010. #define GL_RGBA32UI_EXT 0x8D70
  5011. #define GL_RGB32UI_EXT 0x8D71
  5012. #define GL_ALPHA32UI_EXT 0x8D72
  5013. #define GL_INTENSITY32UI_EXT 0x8D73
  5014. #define GL_LUMINANCE32UI_EXT 0x8D74
  5015. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  5016. #define GL_RGBA16UI_EXT 0x8D76
  5017. #define GL_RGB16UI_EXT 0x8D77
  5018. #define GL_ALPHA16UI_EXT 0x8D78
  5019. #define GL_INTENSITY16UI_EXT 0x8D79
  5020. #define GL_LUMINANCE16UI_EXT 0x8D7A
  5021. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  5022. #define GL_RGBA8UI_EXT 0x8D7C
  5023. #define GL_RGB8UI_EXT 0x8D7D
  5024. #define GL_ALPHA8UI_EXT 0x8D7E
  5025. #define GL_INTENSITY8UI_EXT 0x8D7F
  5026. #define GL_LUMINANCE8UI_EXT 0x8D80
  5027. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  5028. #define GL_RGBA32I_EXT 0x8D82
  5029. #define GL_RGB32I_EXT 0x8D83
  5030. #define GL_ALPHA32I_EXT 0x8D84
  5031. #define GL_INTENSITY32I_EXT 0x8D85
  5032. #define GL_LUMINANCE32I_EXT 0x8D86
  5033. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  5034. #define GL_RGBA16I_EXT 0x8D88
  5035. #define GL_RGB16I_EXT 0x8D89
  5036. #define GL_ALPHA16I_EXT 0x8D8A
  5037. #define GL_INTENSITY16I_EXT 0x8D8B
  5038. #define GL_LUMINANCE16I_EXT 0x8D8C
  5039. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  5040. #define GL_RGBA8I_EXT 0x8D8E
  5041. #define GL_RGB8I_EXT 0x8D8F
  5042. #define GL_ALPHA8I_EXT 0x8D90
  5043. #define GL_INTENSITY8I_EXT 0x8D91
  5044. #define GL_LUMINANCE8I_EXT 0x8D92
  5045. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  5046. #define GL_RED_INTEGER_EXT 0x8D94
  5047. #define GL_GREEN_INTEGER_EXT 0x8D95
  5048. #define GL_BLUE_INTEGER_EXT 0x8D96
  5049. #define GL_ALPHA_INTEGER_EXT 0x8D97
  5050. #define GL_RGB_INTEGER_EXT 0x8D98
  5051. #define GL_RGBA_INTEGER_EXT 0x8D99
  5052. #define GL_BGR_INTEGER_EXT 0x8D9A
  5053. #define GL_BGRA_INTEGER_EXT 0x8D9B
  5054. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  5055. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  5056. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  5057. #endif
  5058. #ifndef GL_GREMEDY_frame_terminator
  5059. #endif
  5060. #ifndef GL_NV_conditional_render
  5061. #define GL_QUERY_WAIT_NV 0x8E13
  5062. #define GL_QUERY_NO_WAIT_NV 0x8E14
  5063. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  5064. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  5065. #endif
  5066. #ifndef GL_NV_present_video
  5067. #define GL_FRAME_NV 0x8E26
  5068. #define GL_FIELDS_NV 0x8E27
  5069. #define GL_CURRENT_TIME_NV 0x8E28
  5070. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  5071. #define GL_PRESENT_TIME_NV 0x8E2A
  5072. #define GL_PRESENT_DURATION_NV 0x8E2B
  5073. #endif
  5074. #ifndef GL_EXT_transform_feedback
  5075. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  5076. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  5077. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  5078. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  5079. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  5080. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  5081. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  5082. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  5083. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  5084. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  5085. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  5086. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  5087. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  5088. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  5089. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  5090. #endif
  5091. #ifndef GL_EXT_direct_state_access
  5092. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  5093. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  5094. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  5095. #endif
  5096. #ifndef GL_EXT_vertex_array_bgra
  5097. /* reuse GL_BGRA */
  5098. #endif
  5099. #ifndef GL_EXT_texture_swizzle
  5100. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  5101. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  5102. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  5103. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  5104. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  5105. #endif
  5106. #ifndef GL_NV_explicit_multisample
  5107. #define GL_SAMPLE_POSITION_NV 0x8E50
  5108. #define GL_SAMPLE_MASK_NV 0x8E51
  5109. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  5110. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  5111. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  5112. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  5113. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  5114. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  5115. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  5116. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  5117. #endif
  5118. #ifndef GL_NV_transform_feedback2
  5119. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  5120. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  5121. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  5122. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  5123. #endif
  5124. #ifndef GL_ATI_meminfo
  5125. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  5126. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  5127. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  5128. #endif
  5129. #ifndef GL_AMD_performance_monitor
  5130. #define GL_COUNTER_TYPE_AMD 0x8BC0
  5131. #define GL_COUNTER_RANGE_AMD 0x8BC1
  5132. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  5133. #define GL_PERCENTAGE_AMD 0x8BC3
  5134. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  5135. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  5136. #define GL_PERFMON_RESULT_AMD 0x8BC6
  5137. #endif
  5138. #ifndef GL_AMD_texture_texture4
  5139. #endif
  5140. #ifndef GL_AMD_vertex_shader_tesselator
  5141. #define GL_SAMPLER_BUFFER_AMD 0x9001
  5142. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  5143. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  5144. #define GL_TESSELLATION_MODE_AMD 0x9004
  5145. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  5146. #define GL_DISCRETE_AMD 0x9006
  5147. #define GL_CONTINUOUS_AMD 0x9007
  5148. #endif
  5149. #ifndef GL_EXT_provoking_vertex
  5150. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  5151. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  5152. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  5153. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  5154. #endif
  5155. #ifndef GL_EXT_texture_snorm
  5156. #define GL_ALPHA_SNORM 0x9010
  5157. #define GL_LUMINANCE_SNORM 0x9011
  5158. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  5159. #define GL_INTENSITY_SNORM 0x9013
  5160. #define GL_ALPHA8_SNORM 0x9014
  5161. #define GL_LUMINANCE8_SNORM 0x9015
  5162. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  5163. #define GL_INTENSITY8_SNORM 0x9017
  5164. #define GL_ALPHA16_SNORM 0x9018
  5165. #define GL_LUMINANCE16_SNORM 0x9019
  5166. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  5167. #define GL_INTENSITY16_SNORM 0x901B
  5168. /* reuse GL_RED_SNORM */
  5169. /* reuse GL_RG_SNORM */
  5170. /* reuse GL_RGB_SNORM */
  5171. /* reuse GL_RGBA_SNORM */
  5172. /* reuse GL_R8_SNORM */
  5173. /* reuse GL_RG8_SNORM */
  5174. /* reuse GL_RGB8_SNORM */
  5175. /* reuse GL_RGBA8_SNORM */
  5176. /* reuse GL_R16_SNORM */
  5177. /* reuse GL_RG16_SNORM */
  5178. /* reuse GL_RGB16_SNORM */
  5179. /* reuse GL_RGBA16_SNORM */
  5180. /* reuse GL_SIGNED_NORMALIZED */
  5181. #endif
  5182. #ifndef GL_AMD_draw_buffers_blend
  5183. #endif
  5184. #ifndef GL_APPLE_texture_range
  5185. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  5186. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  5187. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  5188. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  5189. /* reuse GL_STORAGE_CACHED_APPLE */
  5190. /* reuse GL_STORAGE_SHARED_APPLE */
  5191. #endif
  5192. #ifndef GL_APPLE_float_pixels
  5193. #define GL_HALF_APPLE 0x140B
  5194. #define GL_RGBA_FLOAT32_APPLE 0x8814
  5195. #define GL_RGB_FLOAT32_APPLE 0x8815
  5196. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  5197. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  5198. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  5199. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  5200. #define GL_RGBA_FLOAT16_APPLE 0x881A
  5201. #define GL_RGB_FLOAT16_APPLE 0x881B
  5202. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  5203. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  5204. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  5205. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  5206. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  5207. #endif
  5208. #ifndef GL_APPLE_vertex_program_evaluators
  5209. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  5210. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  5211. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  5212. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  5213. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  5214. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  5215. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  5216. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  5217. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  5218. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  5219. #endif
  5220. #ifndef GL_APPLE_aux_depth_stencil
  5221. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  5222. #endif
  5223. #ifndef GL_APPLE_object_purgeable
  5224. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  5225. #define GL_RELEASED_APPLE 0x8A19
  5226. #define GL_VOLATILE_APPLE 0x8A1A
  5227. #define GL_RETAINED_APPLE 0x8A1B
  5228. #define GL_UNDEFINED_APPLE 0x8A1C
  5229. #define GL_PURGEABLE_APPLE 0x8A1D
  5230. #endif
  5231. #ifndef GL_APPLE_row_bytes
  5232. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  5233. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  5234. #endif
  5235. #ifndef GL_APPLE_rgb_422
  5236. #define GL_RGB_422_APPLE 0x8A1F
  5237. /* reuse GL_UNSIGNED_SHORT_8_8_APPLE */
  5238. /* reuse GL_UNSIGNED_SHORT_8_8_REV_APPLE */
  5239. #endif
  5240. #ifndef GL_NV_video_capture
  5241. #define GL_VIDEO_BUFFER_NV 0x9020
  5242. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  5243. #define GL_FIELD_UPPER_NV 0x9022
  5244. #define GL_FIELD_LOWER_NV 0x9023
  5245. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  5246. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  5247. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  5248. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  5249. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  5250. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  5251. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  5252. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  5253. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  5254. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  5255. #define GL_PARTIAL_SUCCESS_NV 0x902E
  5256. #define GL_SUCCESS_NV 0x902F
  5257. #define GL_FAILURE_NV 0x9030
  5258. #define GL_YCBYCR8_422_NV 0x9031
  5259. #define GL_YCBAYCR8A_4224_NV 0x9032
  5260. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  5261. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  5262. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  5263. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  5264. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  5265. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  5266. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  5267. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  5268. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  5269. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  5270. #endif
  5271. #ifndef GL_NV_copy_image
  5272. #endif
  5273. #ifndef GL_EXT_separate_shader_objects
  5274. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  5275. #endif
  5276. #ifndef GL_NV_parameter_buffer_object2
  5277. #endif
  5278. #ifndef GL_NV_shader_buffer_load
  5279. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  5280. #define GL_GPU_ADDRESS_NV 0x8F34
  5281. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  5282. #endif
  5283. #ifndef GL_NV_vertex_buffer_unified_memory
  5284. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  5285. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  5286. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  5287. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  5288. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  5289. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  5290. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  5291. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  5292. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  5293. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  5294. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  5295. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  5296. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  5297. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  5298. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  5299. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  5300. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  5301. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  5302. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  5303. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  5304. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  5305. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  5306. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  5307. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  5308. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  5309. #endif
  5310. #ifndef GL_NV_texture_barrier
  5311. #endif
  5312. #ifndef GL_AMD_shader_stencil_export
  5313. #endif
  5314. #ifndef GL_AMD_seamless_cubemap_per_texture
  5315. /* reuse GL_TEXTURE_CUBE_MAP_SEAMLESS */
  5316. #endif
  5317. #ifndef GL_AMD_conservative_depth
  5318. #endif
  5319. #ifndef GL_EXT_shader_image_load_store
  5320. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  5321. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  5322. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  5323. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  5324. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  5325. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  5326. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  5327. #define GL_IMAGE_1D_EXT 0x904C
  5328. #define GL_IMAGE_2D_EXT 0x904D
  5329. #define GL_IMAGE_3D_EXT 0x904E
  5330. #define GL_IMAGE_2D_RECT_EXT 0x904F
  5331. #define GL_IMAGE_CUBE_EXT 0x9050
  5332. #define GL_IMAGE_BUFFER_EXT 0x9051
  5333. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  5334. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  5335. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  5336. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  5337. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  5338. #define GL_INT_IMAGE_1D_EXT 0x9057
  5339. #define GL_INT_IMAGE_2D_EXT 0x9058
  5340. #define GL_INT_IMAGE_3D_EXT 0x9059
  5341. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  5342. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  5343. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  5344. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  5345. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  5346. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  5347. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  5348. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  5349. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  5350. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  5351. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  5352. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  5353. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  5354. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  5355. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  5356. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  5357. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  5358. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  5359. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  5360. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  5361. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  5362. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  5363. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  5364. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  5365. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  5366. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  5367. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  5368. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  5369. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  5370. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  5371. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  5372. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  5373. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  5374. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  5375. #endif
  5376. #ifndef GL_EXT_vertex_attrib_64bit
  5377. /* reuse GL_DOUBLE */
  5378. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  5379. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  5380. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  5381. #define GL_DOUBLE_MAT2_EXT 0x8F46
  5382. #define GL_DOUBLE_MAT3_EXT 0x8F47
  5383. #define GL_DOUBLE_MAT4_EXT 0x8F48
  5384. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  5385. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  5386. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  5387. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  5388. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  5389. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  5390. #endif
  5391. #ifndef GL_NV_gpu_program5
  5392. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  5393. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  5394. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  5395. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  5396. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  5397. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  5398. #define GL_MAX_PROGRAM_SUBROUTINE_PARAMETERS_NV 0x8F44
  5399. #define GL_MAX_PROGRAM_SUBROUTINE_NUM_NV 0x8F45
  5400. #endif
  5401. #ifndef GL_NV_gpu_shader5
  5402. #define GL_INT64_NV 0x140E
  5403. #define GL_UNSIGNED_INT64_NV 0x140F
  5404. #define GL_INT8_NV 0x8FE0
  5405. #define GL_INT8_VEC2_NV 0x8FE1
  5406. #define GL_INT8_VEC3_NV 0x8FE2
  5407. #define GL_INT8_VEC4_NV 0x8FE3
  5408. #define GL_INT16_NV 0x8FE4
  5409. #define GL_INT16_VEC2_NV 0x8FE5
  5410. #define GL_INT16_VEC3_NV 0x8FE6
  5411. #define GL_INT16_VEC4_NV 0x8FE7
  5412. #define GL_INT64_VEC2_NV 0x8FE9
  5413. #define GL_INT64_VEC3_NV 0x8FEA
  5414. #define GL_INT64_VEC4_NV 0x8FEB
  5415. #define GL_UNSIGNED_INT8_NV 0x8FEC
  5416. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  5417. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  5418. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  5419. #define GL_UNSIGNED_INT16_NV 0x8FF0
  5420. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  5421. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  5422. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  5423. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  5424. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  5425. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  5426. #define GL_FLOAT16_NV 0x8FF8
  5427. #define GL_FLOAT16_VEC2_NV 0x8FF9
  5428. #define GL_FLOAT16_VEC3_NV 0x8FFA
  5429. #define GL_FLOAT16_VEC4_NV 0x8FFB
  5430. /* reuse GL_PATCHES */
  5431. #endif
  5432. #ifndef GL_NV_shader_buffer_store
  5433. #define GL_SHADER_GLOBAL_ACCESS_BARRIER_BIT_NV 0x00000010
  5434. /* reuse GL_READ_WRITE */
  5435. /* reuse GL_WRITE_ONLY */
  5436. #endif
  5437. #ifndef GL_NV_tessellation_program5
  5438. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  5439. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  5440. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  5441. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  5442. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  5443. #endif
  5444. #ifndef GL_NV_vertex_attrib_integer_64bit
  5445. /* reuse GL_INT64_NV */
  5446. /* reuse GL_UNSIGNED_INT64_NV */
  5447. #endif
  5448. #ifndef GL_NV_multisample_coverage
  5449. #define GL_COVERAGE_SAMPLES_NV 0x80A9
  5450. #define GL_COLOR_SAMPLES_NV 0x8E20
  5451. #endif
  5452. #ifndef GL_AMD_name_gen_delete
  5453. #define GL_DATA_BUFFER_AMD 0x9151
  5454. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  5455. #define GL_QUERY_OBJECT_AMD 0x9153
  5456. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  5457. #define GL_SAMPLER_OBJECT_AMD 0x9155
  5458. #endif
  5459. #ifndef GL_AMD_debug_output
  5460. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  5461. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  5462. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  5463. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  5464. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  5465. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  5466. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  5467. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  5468. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  5469. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  5470. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  5471. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  5472. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  5473. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  5474. #endif
  5475. #ifndef GL_NV_vdpau_interop
  5476. #define GL_SURFACE_STATE_NV 0x86EB
  5477. #define GL_SURFACE_REGISTERED_NV 0x86FD
  5478. #define GL_SURFACE_MAPPED_NV 0x8700
  5479. #define GL_WRITE_DISCARD_NV 0x88BE
  5480. #endif
  5481. #ifndef GL_AMD_transform_feedback3_lines_triangles
  5482. #endif
  5483. #ifndef GL_AMD_depth_clamp_separate
  5484. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  5485. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  5486. #endif
  5487. #ifndef GL_EXT_texture_sRGB_decode
  5488. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  5489. #define GL_DECODE_EXT 0x8A49
  5490. #define GL_SKIP_DECODE_EXT 0x8A4A
  5491. #endif
  5492. #ifndef GL_NV_texture_multisample
  5493. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  5494. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  5495. #endif
  5496. #ifndef GL_AMD_blend_minmax_factor
  5497. #define GL_FACTOR_MIN_AMD 0x901C
  5498. #define GL_FACTOR_MAX_AMD 0x901D
  5499. #endif
  5500. #ifndef GL_AMD_sample_positions
  5501. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  5502. #endif
  5503. #ifndef GL_EXT_x11_sync_object
  5504. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  5505. #endif
  5506. #ifndef GL_AMD_multi_draw_indirect
  5507. #endif
  5508. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  5509. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  5510. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  5511. #endif
  5512. #ifndef GL_NV_path_rendering
  5513. #define GL_PATH_FORMAT_SVG_NV 0x9070
  5514. #define GL_PATH_FORMAT_PS_NV 0x9071
  5515. #define GL_STANDARD_FONT_NAME_NV 0x9072
  5516. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  5517. #define GL_FILE_NAME_NV 0x9074
  5518. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  5519. #define GL_PATH_END_CAPS_NV 0x9076
  5520. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  5521. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  5522. #define GL_PATH_JOIN_STYLE_NV 0x9079
  5523. #define GL_PATH_MITER_LIMIT_NV 0x907A
  5524. #define GL_PATH_DASH_CAPS_NV 0x907B
  5525. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  5526. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  5527. #define GL_PATH_DASH_OFFSET_NV 0x907E
  5528. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  5529. #define GL_PATH_FILL_MODE_NV 0x9080
  5530. #define GL_PATH_FILL_MASK_NV 0x9081
  5531. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  5532. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  5533. #define GL_PATH_STROKE_MASK_NV 0x9084
  5534. #define GL_PATH_SAMPLE_QUALITY_NV 0x9085
  5535. #define GL_PATH_STROKE_BOUND_NV 0x9086
  5536. #define GL_PATH_STROKE_OVERSAMPLE_COUNT_NV 0x9087
  5537. #define GL_COUNT_UP_NV 0x9088
  5538. #define GL_COUNT_DOWN_NV 0x9089
  5539. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  5540. #define GL_CONVEX_HULL_NV 0x908B
  5541. #define GL_MULTI_HULLS_NV 0x908C
  5542. #define GL_BOUNDING_BOX_NV 0x908D
  5543. #define GL_TRANSLATE_X_NV 0x908E
  5544. #define GL_TRANSLATE_Y_NV 0x908F
  5545. #define GL_TRANSLATE_2D_NV 0x9090
  5546. #define GL_TRANSLATE_3D_NV 0x9091
  5547. #define GL_AFFINE_2D_NV 0x9092
  5548. #define GL_PROJECTIVE_2D_NV 0x9093
  5549. #define GL_AFFINE_3D_NV 0x9094
  5550. #define GL_PROJECTIVE_3D_NV 0x9095
  5551. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  5552. #define GL_TRANSPOSE_PROJECTIVE_2D_NV 0x9097
  5553. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  5554. #define GL_TRANSPOSE_PROJECTIVE_3D_NV 0x9099
  5555. #define GL_UTF8_NV 0x909A
  5556. #define GL_UTF16_NV 0x909B
  5557. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  5558. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  5559. #define GL_PATH_COORD_COUNT_NV 0x909E
  5560. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  5561. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  5562. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  5563. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  5564. #define GL_SQUARE_NV 0x90A3
  5565. #define GL_ROUND_NV 0x90A4
  5566. #define GL_TRIANGULAR_NV 0x90A5
  5567. #define GL_BEVEL_NV 0x90A6
  5568. #define GL_MITER_REVERT_NV 0x90A7
  5569. #define GL_MITER_TRUNCATE_NV 0x90A8
  5570. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  5571. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  5572. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  5573. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  5574. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  5575. #define GL_ADJACENT_PAIRS_NV 0x90AE
  5576. #define GL_FIRST_TO_REST_NV 0x90AF
  5577. #define GL_PATH_GEN_MODE_NV 0x90B0
  5578. #define GL_PATH_GEN_COEFF_NV 0x90B1
  5579. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  5580. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  5581. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  5582. #define GL_PATH_STENCIL_REF_NV 0x90B8
  5583. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  5584. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  5585. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  5586. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  5587. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  5588. #define GL_MOVE_TO_RESETS_NV 0x90B5
  5589. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  5590. #define GL_CLOSE_PATH_NV 0x00
  5591. #define GL_MOVE_TO_NV 0x02
  5592. #define GL_RELATIVE_MOVE_TO_NV 0x03
  5593. #define GL_LINE_TO_NV 0x04
  5594. #define GL_RELATIVE_LINE_TO_NV 0x05
  5595. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  5596. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  5597. #define GL_VERTICAL_LINE_TO_NV 0x08
  5598. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  5599. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  5600. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  5601. #define GL_CUBIC_CURVE_TO_NV 0x0C
  5602. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  5603. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  5604. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  5605. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  5606. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  5607. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  5608. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  5609. #define GL_SMALL_CW_ARC_TO_NV 0x14
  5610. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  5611. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  5612. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  5613. #define GL_LARGE_CW_ARC_TO_NV 0x18
  5614. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  5615. #define GL_RESTART_PATH_NV 0xF0
  5616. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  5617. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  5618. #define GL_RECT_NV 0xF6
  5619. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  5620. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  5621. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  5622. #define GL_ARC_TO_NV 0xFE
  5623. #define GL_RELATIVE_ARC_TO_NV 0xFF
  5624. #define GL_BOLD_BIT_NV 0x01
  5625. #define GL_ITALIC_BIT_NV 0x02
  5626. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  5627. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  5628. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  5629. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  5630. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  5631. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  5632. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  5633. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  5634. #define GL_GLYPH_HAS_KERNING_NV 0x100
  5635. #define GL_FONT_X_MIN_BOUNDS_NV 0x00010000
  5636. #define GL_FONT_Y_MIN_BOUNDS_NV 0x00020000
  5637. #define GL_FONT_X_MAX_BOUNDS_NV 0x00040000
  5638. #define GL_FONT_Y_MAX_BOUNDS_NV 0x00080000
  5639. #define GL_FONT_UNITS_PER_EM_NV 0x00100000
  5640. #define GL_FONT_ASCENDER_NV 0x00200000
  5641. #define GL_FONT_DESCENDER_NV 0x00400000
  5642. #define GL_FONT_HEIGHT_NV 0x00800000
  5643. #define GL_FONT_MAX_ADVANCE_WIDTH_NV 0x01000000
  5644. #define GL_FONT_MAX_ADVANCE_HEIGHT_NV 0x02000000
  5645. #define GL_FONT_UNDERLINE_POSITION_NV 0x04000000
  5646. #define GL_FONT_UNDERLINE_THICKNESS_NV 0x08000000
  5647. #define GL_FONT_HAS_KERNING_NV 0x10000000
  5648. #endif
  5649. #ifndef GL_AMD_pinned_memory
  5650. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  5651. #endif
  5652. #ifndef GL_AMD_stencil_operation_extended
  5653. #define GL_SET_AMD 0x874A
  5654. #define GL_REPLACE_VALUE_AMD 0x874B
  5655. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  5656. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  5657. #endif
  5658. #ifndef GL_AMD_vertex_shader_viewport_index
  5659. #endif
  5660. #ifndef GL_AMD_vertex_shader_layer
  5661. #endif
  5662. #ifndef GL_NV_bindless_texture
  5663. #endif
  5664. #ifndef GL_NV_shader_atomic_float
  5665. #endif
  5666. #ifndef GL_AMD_query_buffer_object
  5667. #define GL_QUERY_BUFFER_AMD 0x9192
  5668. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  5669. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  5670. #endif
  5671. #ifndef GL_AMD_sparse_texture
  5672. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  5673. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  5674. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  5675. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  5676. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  5677. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  5678. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  5679. #define GL_MIN_LOD_WARNING_AMD 0x919C
  5680. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  5681. #endif
  5682. /*************************************************************/
  5683. #include <stddef.h>
  5684. #ifndef GL_VERSION_2_0
  5685. /* GL type for program/shader text */
  5686. typedef char GLchar;
  5687. #endif
  5688. #ifndef GL_VERSION_1_5
  5689. /* GL types for handling large vertex buffer objects */
  5690. #ifdef _WIN64
  5691. typedef signed long long int GLintptr;
  5692. typedef signed long long int GLsizeiptr;
  5693. #else
  5694. typedef signed long int GLintptr;
  5695. typedef signed long int GLsizeiptr;
  5696. #endif
  5697. #endif
  5698. #ifndef GL_ARB_vertex_buffer_object
  5699. /* GL types for handling large vertex buffer objects */
  5700. #ifdef _WIN64
  5701. typedef signed long long int GLintptrARB;
  5702. typedef signed long long int GLsizeiptrARB;
  5703. #else
  5704. typedef signed long int GLintptrARB;
  5705. typedef signed long int GLsizeiptrARB;
  5706. #endif
  5707. #endif
  5708. #ifndef GL_ARB_shader_objects
  5709. /* GL types for program/shader text and shader object handles */
  5710. typedef char GLcharARB;
  5711. typedef unsigned int GLhandleARB;
  5712. #endif
  5713. /* GL type for "half" precision (s10e5) float data in host memory */
  5714. #ifndef GL_ARB_half_float_pixel
  5715. typedef unsigned short GLhalfARB;
  5716. #endif
  5717. #ifndef GL_NV_half_float
  5718. typedef unsigned short GLhalfNV;
  5719. #endif
  5720. #ifndef GLEXT_64_TYPES_DEFINED
  5721. /* This code block is duplicated in glxext.h, so must be protected */
  5722. #define GLEXT_64_TYPES_DEFINED
  5723. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  5724. /* (as used in the GL_EXT_timer_query extension). */
  5725. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  5726. #include <inttypes.h>
  5727. #elif defined(__sun__) || defined(__digital__)
  5728. #include <inttypes.h>
  5729. #if defined(__STDC__)
  5730. #if defined(__arch64__) || defined(_LP64)
  5731. typedef long int int64_t;
  5732. typedef unsigned long int uint64_t;
  5733. #else
  5734. typedef long long int int64_t;
  5735. typedef unsigned long long int uint64_t;
  5736. #endif /* __arch64__ */
  5737. #endif /* __STDC__ */
  5738. #elif defined( __VMS ) || defined(__sgi)
  5739. #include <inttypes.h>
  5740. #elif defined(__SCO__) || defined(__USLC__)
  5741. #include <stdint.h>
  5742. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  5743. typedef long int int32_t;
  5744. typedef long long int int64_t;
  5745. typedef unsigned long long int uint64_t;
  5746. #elif defined(_WIN32) && defined(__GNUC__)
  5747. #include <stdint.h>
  5748. #elif defined(_WIN32)
  5749. typedef __int32 int32_t;
  5750. typedef __int64 int64_t;
  5751. typedef unsigned __int64 uint64_t;
  5752. #else
  5753. /* Fallback if nothing above works */
  5754. #include <inttypes.h>
  5755. #endif
  5756. #endif
  5757. #ifndef GL_EXT_timer_query
  5758. typedef int64_t GLint64EXT;
  5759. typedef uint64_t GLuint64EXT;
  5760. #endif
  5761. #ifndef GL_ARB_sync
  5762. typedef int64_t GLint64;
  5763. typedef uint64_t GLuint64;
  5764. typedef struct __GLsync *GLsync;
  5765. #endif
  5766. #ifndef GL_ARB_cl_event
  5767. /* These incomplete types let us declare types compatible with OpenCL's cl_context and cl_event */
  5768. struct _cl_context;
  5769. struct _cl_event;
  5770. #endif
  5771. #ifndef GL_ARB_debug_output
  5772. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const GLvoid *userParam);
  5773. #endif
  5774. #ifndef GL_AMD_debug_output
  5775. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id,GLenum category,GLenum severity,GLsizei length,const GLchar *message,GLvoid *userParam);
  5776. #endif
  5777. #ifndef GL_KHR_debug
  5778. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const GLvoid *userParam);
  5779. #endif
  5780. #ifndef GL_NV_vdpau_interop
  5781. typedef GLintptr GLvdpauSurfaceNV;
  5782. #endif
  5783. #ifndef GL_VERSION_1_2
  5784. #define GL_VERSION_1_2 1
  5785. #ifdef GL_GLEXT_PROTOTYPES
  5786. GLAPI void APIENTRY glBlendColor (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5787. GLAPI void APIENTRY glBlendEquation (GLenum mode);
  5788. GLAPI void APIENTRY glDrawRangeElements (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  5789. GLAPI void APIENTRY glTexImage3D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  5790. 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 GLvoid *pixels);
  5791. GLAPI void APIENTRY glCopyTexSubImage3D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5792. GLAPI void APIENTRY glColorTable (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  5793. GLAPI void APIENTRY glColorTableParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  5794. GLAPI void APIENTRY glColorTableParameteriv (GLenum target, GLenum pname, const GLint *params);
  5795. GLAPI void APIENTRY glCopyColorTable (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5796. GLAPI void APIENTRY glGetColorTable (GLenum target, GLenum format, GLenum type, GLvoid *table);
  5797. GLAPI void APIENTRY glGetColorTableParameterfv (GLenum target, GLenum pname, GLfloat *params);
  5798. GLAPI void APIENTRY glGetColorTableParameteriv (GLenum target, GLenum pname, GLint *params);
  5799. GLAPI void APIENTRY glColorSubTable (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  5800. GLAPI void APIENTRY glCopyColorSubTable (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5801. GLAPI void APIENTRY glConvolutionFilter1D (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  5802. GLAPI void APIENTRY glConvolutionFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  5803. GLAPI void APIENTRY glConvolutionParameterf (GLenum target, GLenum pname, GLfloat params);
  5804. GLAPI void APIENTRY glConvolutionParameterfv (GLenum target, GLenum pname, const GLfloat *params);
  5805. GLAPI void APIENTRY glConvolutionParameteri (GLenum target, GLenum pname, GLint params);
  5806. GLAPI void APIENTRY glConvolutionParameteriv (GLenum target, GLenum pname, const GLint *params);
  5807. GLAPI void APIENTRY glCopyConvolutionFilter1D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5808. GLAPI void APIENTRY glCopyConvolutionFilter2D (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5809. GLAPI void APIENTRY glGetConvolutionFilter (GLenum target, GLenum format, GLenum type, GLvoid *image);
  5810. GLAPI void APIENTRY glGetConvolutionParameterfv (GLenum target, GLenum pname, GLfloat *params);
  5811. GLAPI void APIENTRY glGetConvolutionParameteriv (GLenum target, GLenum pname, GLint *params);
  5812. GLAPI void APIENTRY glGetSeparableFilter (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  5813. GLAPI void APIENTRY glSeparableFilter2D (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  5814. GLAPI void APIENTRY glGetHistogram (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5815. GLAPI void APIENTRY glGetHistogramParameterfv (GLenum target, GLenum pname, GLfloat *params);
  5816. GLAPI void APIENTRY glGetHistogramParameteriv (GLenum target, GLenum pname, GLint *params);
  5817. GLAPI void APIENTRY glGetMinmax (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5818. GLAPI void APIENTRY glGetMinmaxParameterfv (GLenum target, GLenum pname, GLfloat *params);
  5819. GLAPI void APIENTRY glGetMinmaxParameteriv (GLenum target, GLenum pname, GLint *params);
  5820. GLAPI void APIENTRY glHistogram (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  5821. GLAPI void APIENTRY glMinmax (GLenum target, GLenum internalformat, GLboolean sink);
  5822. GLAPI void APIENTRY glResetHistogram (GLenum target);
  5823. GLAPI void APIENTRY glResetMinmax (GLenum target);
  5824. #endif /* GL_GLEXT_PROTOTYPES */
  5825. typedef void (APIENTRYP PFNGLBLENDCOLORPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  5826. typedef void (APIENTRYP PFNGLBLENDEQUATIONPROC) (GLenum mode);
  5827. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  5828. typedef void (APIENTRYP PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  5829. 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 GLvoid *pixels);
  5830. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  5831. typedef void (APIENTRYP PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  5832. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5833. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  5834. typedef void (APIENTRYP PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5835. typedef void (APIENTRYP PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  5836. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  5837. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5838. typedef void (APIENTRYP PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  5839. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  5840. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  5841. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  5842. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  5843. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  5844. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  5845. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  5846. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  5847. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  5848. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  5849. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  5850. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5851. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  5852. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  5853. typedef void (APIENTRYP PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5854. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  5855. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5856. typedef void (APIENTRYP PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  5857. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  5858. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  5859. typedef void (APIENTRYP PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  5860. typedef void (APIENTRYP PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  5861. typedef void (APIENTRYP PFNGLRESETHISTOGRAMPROC) (GLenum target);
  5862. typedef void (APIENTRYP PFNGLRESETMINMAXPROC) (GLenum target);
  5863. #endif
  5864. #ifndef GL_VERSION_1_3
  5865. #define GL_VERSION_1_3 1
  5866. #ifdef GL_GLEXT_PROTOTYPES
  5867. GLAPI void APIENTRY glActiveTexture (GLenum texture);
  5868. GLAPI void APIENTRY glSampleCoverage (GLfloat value, GLboolean invert);
  5869. GLAPI void APIENTRY glCompressedTexImage3D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  5870. GLAPI void APIENTRY glCompressedTexImage2D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  5871. GLAPI void APIENTRY glCompressedTexImage1D (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  5872. 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 GLvoid *data);
  5873. GLAPI void APIENTRY glCompressedTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  5874. GLAPI void APIENTRY glCompressedTexSubImage1D (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  5875. GLAPI void APIENTRY glGetCompressedTexImage (GLenum target, GLint level, GLvoid *img);
  5876. GLAPI void APIENTRY glClientActiveTexture (GLenum texture);
  5877. GLAPI void APIENTRY glMultiTexCoord1d (GLenum target, GLdouble s);
  5878. GLAPI void APIENTRY glMultiTexCoord1dv (GLenum target, const GLdouble *v);
  5879. GLAPI void APIENTRY glMultiTexCoord1f (GLenum target, GLfloat s);
  5880. GLAPI void APIENTRY glMultiTexCoord1fv (GLenum target, const GLfloat *v);
  5881. GLAPI void APIENTRY glMultiTexCoord1i (GLenum target, GLint s);
  5882. GLAPI void APIENTRY glMultiTexCoord1iv (GLenum target, const GLint *v);
  5883. GLAPI void APIENTRY glMultiTexCoord1s (GLenum target, GLshort s);
  5884. GLAPI void APIENTRY glMultiTexCoord1sv (GLenum target, const GLshort *v);
  5885. GLAPI void APIENTRY glMultiTexCoord2d (GLenum target, GLdouble s, GLdouble t);
  5886. GLAPI void APIENTRY glMultiTexCoord2dv (GLenum target, const GLdouble *v);
  5887. GLAPI void APIENTRY glMultiTexCoord2f (GLenum target, GLfloat s, GLfloat t);
  5888. GLAPI void APIENTRY glMultiTexCoord2fv (GLenum target, const GLfloat *v);
  5889. GLAPI void APIENTRY glMultiTexCoord2i (GLenum target, GLint s, GLint t);
  5890. GLAPI void APIENTRY glMultiTexCoord2iv (GLenum target, const GLint *v);
  5891. GLAPI void APIENTRY glMultiTexCoord2s (GLenum target, GLshort s, GLshort t);
  5892. GLAPI void APIENTRY glMultiTexCoord2sv (GLenum target, const GLshort *v);
  5893. GLAPI void APIENTRY glMultiTexCoord3d (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  5894. GLAPI void APIENTRY glMultiTexCoord3dv (GLenum target, const GLdouble *v);
  5895. GLAPI void APIENTRY glMultiTexCoord3f (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  5896. GLAPI void APIENTRY glMultiTexCoord3fv (GLenum target, const GLfloat *v);
  5897. GLAPI void APIENTRY glMultiTexCoord3i (GLenum target, GLint s, GLint t, GLint r);
  5898. GLAPI void APIENTRY glMultiTexCoord3iv (GLenum target, const GLint *v);
  5899. GLAPI void APIENTRY glMultiTexCoord3s (GLenum target, GLshort s, GLshort t, GLshort r);
  5900. GLAPI void APIENTRY glMultiTexCoord3sv (GLenum target, const GLshort *v);
  5901. GLAPI void APIENTRY glMultiTexCoord4d (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  5902. GLAPI void APIENTRY glMultiTexCoord4dv (GLenum target, const GLdouble *v);
  5903. GLAPI void APIENTRY glMultiTexCoord4f (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  5904. GLAPI void APIENTRY glMultiTexCoord4fv (GLenum target, const GLfloat *v);
  5905. GLAPI void APIENTRY glMultiTexCoord4i (GLenum target, GLint s, GLint t, GLint r, GLint q);
  5906. GLAPI void APIENTRY glMultiTexCoord4iv (GLenum target, const GLint *v);
  5907. GLAPI void APIENTRY glMultiTexCoord4s (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  5908. GLAPI void APIENTRY glMultiTexCoord4sv (GLenum target, const GLshort *v);
  5909. GLAPI void APIENTRY glLoadTransposeMatrixf (const GLfloat *m);
  5910. GLAPI void APIENTRY glLoadTransposeMatrixd (const GLdouble *m);
  5911. GLAPI void APIENTRY glMultTransposeMatrixf (const GLfloat *m);
  5912. GLAPI void APIENTRY glMultTransposeMatrixd (const GLdouble *m);
  5913. #endif /* GL_GLEXT_PROTOTYPES */
  5914. typedef void (APIENTRYP PFNGLACTIVETEXTUREPROC) (GLenum texture);
  5915. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEPROC) (GLfloat value, GLboolean invert);
  5916. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  5917. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  5918. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  5919. 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 GLvoid *data);
  5920. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  5921. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  5922. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint level, GLvoid *img);
  5923. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  5924. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  5925. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  5926. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  5927. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  5928. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  5929. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  5930. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  5931. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  5932. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  5933. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  5934. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  5935. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  5936. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  5937. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  5938. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  5939. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  5940. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  5941. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  5942. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  5943. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  5944. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  5945. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  5946. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  5947. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  5948. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  5949. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  5950. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  5951. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  5952. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  5953. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  5954. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  5955. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  5956. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  5957. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  5958. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat *m);
  5959. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble *m);
  5960. #endif
  5961. #ifndef GL_VERSION_1_4
  5962. #define GL_VERSION_1_4 1
  5963. #ifdef GL_GLEXT_PROTOTYPES
  5964. GLAPI void APIENTRY glBlendFuncSeparate (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  5965. GLAPI void APIENTRY glMultiDrawArrays (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  5966. GLAPI void APIENTRY glMultiDrawElements (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
  5967. GLAPI void APIENTRY glPointParameterf (GLenum pname, GLfloat param);
  5968. GLAPI void APIENTRY glPointParameterfv (GLenum pname, const GLfloat *params);
  5969. GLAPI void APIENTRY glPointParameteri (GLenum pname, GLint param);
  5970. GLAPI void APIENTRY glPointParameteriv (GLenum pname, const GLint *params);
  5971. GLAPI void APIENTRY glFogCoordf (GLfloat coord);
  5972. GLAPI void APIENTRY glFogCoordfv (const GLfloat *coord);
  5973. GLAPI void APIENTRY glFogCoordd (GLdouble coord);
  5974. GLAPI void APIENTRY glFogCoorddv (const GLdouble *coord);
  5975. GLAPI void APIENTRY glFogCoordPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
  5976. GLAPI void APIENTRY glSecondaryColor3b (GLbyte red, GLbyte green, GLbyte blue);
  5977. GLAPI void APIENTRY glSecondaryColor3bv (const GLbyte *v);
  5978. GLAPI void APIENTRY glSecondaryColor3d (GLdouble red, GLdouble green, GLdouble blue);
  5979. GLAPI void APIENTRY glSecondaryColor3dv (const GLdouble *v);
  5980. GLAPI void APIENTRY glSecondaryColor3f (GLfloat red, GLfloat green, GLfloat blue);
  5981. GLAPI void APIENTRY glSecondaryColor3fv (const GLfloat *v);
  5982. GLAPI void APIENTRY glSecondaryColor3i (GLint red, GLint green, GLint blue);
  5983. GLAPI void APIENTRY glSecondaryColor3iv (const GLint *v);
  5984. GLAPI void APIENTRY glSecondaryColor3s (GLshort red, GLshort green, GLshort blue);
  5985. GLAPI void APIENTRY glSecondaryColor3sv (const GLshort *v);
  5986. GLAPI void APIENTRY glSecondaryColor3ub (GLubyte red, GLubyte green, GLubyte blue);
  5987. GLAPI void APIENTRY glSecondaryColor3ubv (const GLubyte *v);
  5988. GLAPI void APIENTRY glSecondaryColor3ui (GLuint red, GLuint green, GLuint blue);
  5989. GLAPI void APIENTRY glSecondaryColor3uiv (const GLuint *v);
  5990. GLAPI void APIENTRY glSecondaryColor3us (GLushort red, GLushort green, GLushort blue);
  5991. GLAPI void APIENTRY glSecondaryColor3usv (const GLushort *v);
  5992. GLAPI void APIENTRY glSecondaryColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  5993. GLAPI void APIENTRY glWindowPos2d (GLdouble x, GLdouble y);
  5994. GLAPI void APIENTRY glWindowPos2dv (const GLdouble *v);
  5995. GLAPI void APIENTRY glWindowPos2f (GLfloat x, GLfloat y);
  5996. GLAPI void APIENTRY glWindowPos2fv (const GLfloat *v);
  5997. GLAPI void APIENTRY glWindowPos2i (GLint x, GLint y);
  5998. GLAPI void APIENTRY glWindowPos2iv (const GLint *v);
  5999. GLAPI void APIENTRY glWindowPos2s (GLshort x, GLshort y);
  6000. GLAPI void APIENTRY glWindowPos2sv (const GLshort *v);
  6001. GLAPI void APIENTRY glWindowPos3d (GLdouble x, GLdouble y, GLdouble z);
  6002. GLAPI void APIENTRY glWindowPos3dv (const GLdouble *v);
  6003. GLAPI void APIENTRY glWindowPos3f (GLfloat x, GLfloat y, GLfloat z);
  6004. GLAPI void APIENTRY glWindowPos3fv (const GLfloat *v);
  6005. GLAPI void APIENTRY glWindowPos3i (GLint x, GLint y, GLint z);
  6006. GLAPI void APIENTRY glWindowPos3iv (const GLint *v);
  6007. GLAPI void APIENTRY glWindowPos3s (GLshort x, GLshort y, GLshort z);
  6008. GLAPI void APIENTRY glWindowPos3sv (const GLshort *v);
  6009. #endif /* GL_GLEXT_PROTOTYPES */
  6010. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6011. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei drawcount);
  6012. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount);
  6013. typedef void (APIENTRYP PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  6014. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  6015. typedef void (APIENTRYP PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  6016. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  6017. typedef void (APIENTRYP PFNGLFOGCOORDFPROC) (GLfloat coord);
  6018. typedef void (APIENTRYP PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  6019. typedef void (APIENTRYP PFNGLFOGCOORDDPROC) (GLdouble coord);
  6020. typedef void (APIENTRYP PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  6021. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  6022. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  6023. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  6024. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  6025. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  6026. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  6027. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  6028. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  6029. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  6030. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  6031. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  6032. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  6033. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  6034. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  6035. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  6036. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  6037. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  6038. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6039. typedef void (APIENTRYP PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  6040. typedef void (APIENTRYP PFNGLWINDOWPOS2DVPROC) (const GLdouble *v);
  6041. typedef void (APIENTRYP PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  6042. typedef void (APIENTRYP PFNGLWINDOWPOS2FVPROC) (const GLfloat *v);
  6043. typedef void (APIENTRYP PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  6044. typedef void (APIENTRYP PFNGLWINDOWPOS2IVPROC) (const GLint *v);
  6045. typedef void (APIENTRYP PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  6046. typedef void (APIENTRYP PFNGLWINDOWPOS2SVPROC) (const GLshort *v);
  6047. typedef void (APIENTRYP PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  6048. typedef void (APIENTRYP PFNGLWINDOWPOS3DVPROC) (const GLdouble *v);
  6049. typedef void (APIENTRYP PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  6050. typedef void (APIENTRYP PFNGLWINDOWPOS3FVPROC) (const GLfloat *v);
  6051. typedef void (APIENTRYP PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  6052. typedef void (APIENTRYP PFNGLWINDOWPOS3IVPROC) (const GLint *v);
  6053. typedef void (APIENTRYP PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  6054. typedef void (APIENTRYP PFNGLWINDOWPOS3SVPROC) (const GLshort *v);
  6055. #endif
  6056. #ifndef GL_VERSION_1_5
  6057. #define GL_VERSION_1_5 1
  6058. #ifdef GL_GLEXT_PROTOTYPES
  6059. GLAPI void APIENTRY glGenQueries (GLsizei n, GLuint *ids);
  6060. GLAPI void APIENTRY glDeleteQueries (GLsizei n, const GLuint *ids);
  6061. GLAPI GLboolean APIENTRY glIsQuery (GLuint id);
  6062. GLAPI void APIENTRY glBeginQuery (GLenum target, GLuint id);
  6063. GLAPI void APIENTRY glEndQuery (GLenum target);
  6064. GLAPI void APIENTRY glGetQueryiv (GLenum target, GLenum pname, GLint *params);
  6065. GLAPI void APIENTRY glGetQueryObjectiv (GLuint id, GLenum pname, GLint *params);
  6066. GLAPI void APIENTRY glGetQueryObjectuiv (GLuint id, GLenum pname, GLuint *params);
  6067. GLAPI void APIENTRY glBindBuffer (GLenum target, GLuint buffer);
  6068. GLAPI void APIENTRY glDeleteBuffers (GLsizei n, const GLuint *buffers);
  6069. GLAPI void APIENTRY glGenBuffers (GLsizei n, GLuint *buffers);
  6070. GLAPI GLboolean APIENTRY glIsBuffer (GLuint buffer);
  6071. GLAPI void APIENTRY glBufferData (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  6072. GLAPI void APIENTRY glBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  6073. GLAPI void APIENTRY glGetBufferSubData (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  6074. GLAPI GLvoid* APIENTRY glMapBuffer (GLenum target, GLenum access);
  6075. GLAPI GLboolean APIENTRY glUnmapBuffer (GLenum target);
  6076. GLAPI void APIENTRY glGetBufferParameteriv (GLenum target, GLenum pname, GLint *params);
  6077. GLAPI void APIENTRY glGetBufferPointerv (GLenum target, GLenum pname, GLvoid* *params);
  6078. #endif /* GL_GLEXT_PROTOTYPES */
  6079. typedef void (APIENTRYP PFNGLGENQUERIESPROC) (GLsizei n, GLuint *ids);
  6080. typedef void (APIENTRYP PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint *ids);
  6081. typedef GLboolean (APIENTRYP PFNGLISQUERYPROC) (GLuint id);
  6082. typedef void (APIENTRYP PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  6083. typedef void (APIENTRYP PFNGLENDQUERYPROC) (GLenum target);
  6084. typedef void (APIENTRYP PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint *params);
  6085. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint *params);
  6086. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint *params);
  6087. typedef void (APIENTRYP PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  6088. typedef void (APIENTRYP PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint *buffers);
  6089. typedef void (APIENTRYP PFNGLGENBUFFERSPROC) (GLsizei n, GLuint *buffers);
  6090. typedef GLboolean (APIENTRYP PFNGLISBUFFERPROC) (GLuint buffer);
  6091. typedef void (APIENTRYP PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid *data, GLenum usage);
  6092. typedef void (APIENTRYP PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  6093. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid *data);
  6094. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  6095. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERPROC) (GLenum target);
  6096. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  6097. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid* *params);
  6098. #endif
  6099. #ifndef GL_VERSION_2_0
  6100. #define GL_VERSION_2_0 1
  6101. #ifdef GL_GLEXT_PROTOTYPES
  6102. GLAPI void APIENTRY glBlendEquationSeparate (GLenum modeRGB, GLenum modeAlpha);
  6103. GLAPI void APIENTRY glDrawBuffers (GLsizei n, const GLenum *bufs);
  6104. GLAPI void APIENTRY glStencilOpSeparate (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6105. GLAPI void APIENTRY glStencilFuncSeparate (GLenum face, GLenum func, GLint ref, GLuint mask);
  6106. GLAPI void APIENTRY glStencilMaskSeparate (GLenum face, GLuint mask);
  6107. GLAPI void APIENTRY glAttachShader (GLuint program, GLuint shader);
  6108. GLAPI void APIENTRY glBindAttribLocation (GLuint program, GLuint index, const GLchar *name);
  6109. GLAPI void APIENTRY glCompileShader (GLuint shader);
  6110. GLAPI GLuint APIENTRY glCreateProgram (void);
  6111. GLAPI GLuint APIENTRY glCreateShader (GLenum type);
  6112. GLAPI void APIENTRY glDeleteProgram (GLuint program);
  6113. GLAPI void APIENTRY glDeleteShader (GLuint shader);
  6114. GLAPI void APIENTRY glDetachShader (GLuint program, GLuint shader);
  6115. GLAPI void APIENTRY glDisableVertexAttribArray (GLuint index);
  6116. GLAPI void APIENTRY glEnableVertexAttribArray (GLuint index);
  6117. GLAPI void APIENTRY glGetActiveAttrib (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  6118. GLAPI void APIENTRY glGetActiveUniform (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  6119. GLAPI void APIENTRY glGetAttachedShaders (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  6120. GLAPI GLint APIENTRY glGetAttribLocation (GLuint program, const GLchar *name);
  6121. GLAPI void APIENTRY glGetProgramiv (GLuint program, GLenum pname, GLint *params);
  6122. GLAPI void APIENTRY glGetProgramInfoLog (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6123. GLAPI void APIENTRY glGetShaderiv (GLuint shader, GLenum pname, GLint *params);
  6124. GLAPI void APIENTRY glGetShaderInfoLog (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6125. GLAPI void APIENTRY glGetShaderSource (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  6126. GLAPI GLint APIENTRY glGetUniformLocation (GLuint program, const GLchar *name);
  6127. GLAPI void APIENTRY glGetUniformfv (GLuint program, GLint location, GLfloat *params);
  6128. GLAPI void APIENTRY glGetUniformiv (GLuint program, GLint location, GLint *params);
  6129. GLAPI void APIENTRY glGetVertexAttribdv (GLuint index, GLenum pname, GLdouble *params);
  6130. GLAPI void APIENTRY glGetVertexAttribfv (GLuint index, GLenum pname, GLfloat *params);
  6131. GLAPI void APIENTRY glGetVertexAttribiv (GLuint index, GLenum pname, GLint *params);
  6132. GLAPI void APIENTRY glGetVertexAttribPointerv (GLuint index, GLenum pname, GLvoid* *pointer);
  6133. GLAPI GLboolean APIENTRY glIsProgram (GLuint program);
  6134. GLAPI GLboolean APIENTRY glIsShader (GLuint shader);
  6135. GLAPI void APIENTRY glLinkProgram (GLuint program);
  6136. GLAPI void APIENTRY glShaderSource (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
  6137. GLAPI void APIENTRY glUseProgram (GLuint program);
  6138. GLAPI void APIENTRY glUniform1f (GLint location, GLfloat v0);
  6139. GLAPI void APIENTRY glUniform2f (GLint location, GLfloat v0, GLfloat v1);
  6140. GLAPI void APIENTRY glUniform3f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6141. GLAPI void APIENTRY glUniform4f (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6142. GLAPI void APIENTRY glUniform1i (GLint location, GLint v0);
  6143. GLAPI void APIENTRY glUniform2i (GLint location, GLint v0, GLint v1);
  6144. GLAPI void APIENTRY glUniform3i (GLint location, GLint v0, GLint v1, GLint v2);
  6145. GLAPI void APIENTRY glUniform4i (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6146. GLAPI void APIENTRY glUniform1fv (GLint location, GLsizei count, const GLfloat *value);
  6147. GLAPI void APIENTRY glUniform2fv (GLint location, GLsizei count, const GLfloat *value);
  6148. GLAPI void APIENTRY glUniform3fv (GLint location, GLsizei count, const GLfloat *value);
  6149. GLAPI void APIENTRY glUniform4fv (GLint location, GLsizei count, const GLfloat *value);
  6150. GLAPI void APIENTRY glUniform1iv (GLint location, GLsizei count, const GLint *value);
  6151. GLAPI void APIENTRY glUniform2iv (GLint location, GLsizei count, const GLint *value);
  6152. GLAPI void APIENTRY glUniform3iv (GLint location, GLsizei count, const GLint *value);
  6153. GLAPI void APIENTRY glUniform4iv (GLint location, GLsizei count, const GLint *value);
  6154. GLAPI void APIENTRY glUniformMatrix2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6155. GLAPI void APIENTRY glUniformMatrix3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6156. GLAPI void APIENTRY glUniformMatrix4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6157. GLAPI void APIENTRY glValidateProgram (GLuint program);
  6158. GLAPI void APIENTRY glVertexAttrib1d (GLuint index, GLdouble x);
  6159. GLAPI void APIENTRY glVertexAttrib1dv (GLuint index, const GLdouble *v);
  6160. GLAPI void APIENTRY glVertexAttrib1f (GLuint index, GLfloat x);
  6161. GLAPI void APIENTRY glVertexAttrib1fv (GLuint index, const GLfloat *v);
  6162. GLAPI void APIENTRY glVertexAttrib1s (GLuint index, GLshort x);
  6163. GLAPI void APIENTRY glVertexAttrib1sv (GLuint index, const GLshort *v);
  6164. GLAPI void APIENTRY glVertexAttrib2d (GLuint index, GLdouble x, GLdouble y);
  6165. GLAPI void APIENTRY glVertexAttrib2dv (GLuint index, const GLdouble *v);
  6166. GLAPI void APIENTRY glVertexAttrib2f (GLuint index, GLfloat x, GLfloat y);
  6167. GLAPI void APIENTRY glVertexAttrib2fv (GLuint index, const GLfloat *v);
  6168. GLAPI void APIENTRY glVertexAttrib2s (GLuint index, GLshort x, GLshort y);
  6169. GLAPI void APIENTRY glVertexAttrib2sv (GLuint index, const GLshort *v);
  6170. GLAPI void APIENTRY glVertexAttrib3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6171. GLAPI void APIENTRY glVertexAttrib3dv (GLuint index, const GLdouble *v);
  6172. GLAPI void APIENTRY glVertexAttrib3f (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  6173. GLAPI void APIENTRY glVertexAttrib3fv (GLuint index, const GLfloat *v);
  6174. GLAPI void APIENTRY glVertexAttrib3s (GLuint index, GLshort x, GLshort y, GLshort z);
  6175. GLAPI void APIENTRY glVertexAttrib3sv (GLuint index, const GLshort *v);
  6176. GLAPI void APIENTRY glVertexAttrib4Nbv (GLuint index, const GLbyte *v);
  6177. GLAPI void APIENTRY glVertexAttrib4Niv (GLuint index, const GLint *v);
  6178. GLAPI void APIENTRY glVertexAttrib4Nsv (GLuint index, const GLshort *v);
  6179. GLAPI void APIENTRY glVertexAttrib4Nub (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  6180. GLAPI void APIENTRY glVertexAttrib4Nubv (GLuint index, const GLubyte *v);
  6181. GLAPI void APIENTRY glVertexAttrib4Nuiv (GLuint index, const GLuint *v);
  6182. GLAPI void APIENTRY glVertexAttrib4Nusv (GLuint index, const GLushort *v);
  6183. GLAPI void APIENTRY glVertexAttrib4bv (GLuint index, const GLbyte *v);
  6184. GLAPI void APIENTRY glVertexAttrib4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6185. GLAPI void APIENTRY glVertexAttrib4dv (GLuint index, const GLdouble *v);
  6186. GLAPI void APIENTRY glVertexAttrib4f (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6187. GLAPI void APIENTRY glVertexAttrib4fv (GLuint index, const GLfloat *v);
  6188. GLAPI void APIENTRY glVertexAttrib4iv (GLuint index, const GLint *v);
  6189. GLAPI void APIENTRY glVertexAttrib4s (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  6190. GLAPI void APIENTRY glVertexAttrib4sv (GLuint index, const GLshort *v);
  6191. GLAPI void APIENTRY glVertexAttrib4ubv (GLuint index, const GLubyte *v);
  6192. GLAPI void APIENTRY glVertexAttrib4uiv (GLuint index, const GLuint *v);
  6193. GLAPI void APIENTRY glVertexAttrib4usv (GLuint index, const GLushort *v);
  6194. GLAPI void APIENTRY glVertexAttribPointer (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  6195. #endif /* GL_GLEXT_PROTOTYPES */
  6196. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum modeRGB, GLenum modeAlpha);
  6197. typedef void (APIENTRYP PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum *bufs);
  6198. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6199. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEPROC) (GLenum face, GLenum func, GLint ref, GLuint mask);
  6200. typedef void (APIENTRYP PFNGLSTENCILMASKSEPARATEPROC) (GLenum face, GLuint mask);
  6201. typedef void (APIENTRYP PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  6202. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar *name);
  6203. typedef void (APIENTRYP PFNGLCOMPILESHADERPROC) (GLuint shader);
  6204. typedef GLuint (APIENTRYP PFNGLCREATEPROGRAMPROC) (void);
  6205. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROC) (GLenum type);
  6206. typedef void (APIENTRYP PFNGLDELETEPROGRAMPROC) (GLuint program);
  6207. typedef void (APIENTRYP PFNGLDELETESHADERPROC) (GLuint shader);
  6208. typedef void (APIENTRYP PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  6209. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  6210. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint index);
  6211. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  6212. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLint *size, GLenum *type, GLchar *name);
  6213. typedef void (APIENTRYP PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei *count, GLuint *obj);
  6214. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar *name);
  6215. typedef void (APIENTRYP PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint *params);
  6216. typedef void (APIENTRYP PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6217. typedef void (APIENTRYP PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint *params);
  6218. typedef void (APIENTRYP PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  6219. typedef void (APIENTRYP PFNGLGETSHADERSOURCEPROC) (GLuint shader, GLsizei bufSize, GLsizei *length, GLchar *source);
  6220. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar *name);
  6221. typedef void (APIENTRYP PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat *params);
  6222. typedef void (APIENTRYP PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint *params);
  6223. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  6224. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVPROC) (GLuint index, GLenum pname, GLfloat *params);
  6225. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVPROC) (GLuint index, GLenum pname, GLint *params);
  6226. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  6227. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPROC) (GLuint program);
  6228. typedef GLboolean (APIENTRYP PFNGLISSHADERPROC) (GLuint shader);
  6229. typedef void (APIENTRYP PFNGLLINKPROGRAMPROC) (GLuint program);
  6230. typedef void (APIENTRYP PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar* const *string, const GLint *length);
  6231. typedef void (APIENTRYP PFNGLUSEPROGRAMPROC) (GLuint program);
  6232. typedef void (APIENTRYP PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  6233. typedef void (APIENTRYP PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  6234. typedef void (APIENTRYP PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6235. typedef void (APIENTRYP PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6236. typedef void (APIENTRYP PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  6237. typedef void (APIENTRYP PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  6238. typedef void (APIENTRYP PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  6239. typedef void (APIENTRYP PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6240. typedef void (APIENTRYP PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  6241. typedef void (APIENTRYP PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  6242. typedef void (APIENTRYP PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  6243. typedef void (APIENTRYP PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat *value);
  6244. typedef void (APIENTRYP PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint *value);
  6245. typedef void (APIENTRYP PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint *value);
  6246. typedef void (APIENTRYP PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint *value);
  6247. typedef void (APIENTRYP PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint *value);
  6248. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6249. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6250. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6251. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  6252. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  6253. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble *v);
  6254. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  6255. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat *v);
  6256. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  6257. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort *v);
  6258. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  6259. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble *v);
  6260. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  6261. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat *v);
  6262. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  6263. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort *v);
  6264. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6265. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble *v);
  6266. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  6267. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat *v);
  6268. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  6269. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort *v);
  6270. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte *v);
  6271. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint *v);
  6272. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort *v);
  6273. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  6274. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte *v);
  6275. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint *v);
  6276. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort *v);
  6277. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte *v);
  6278. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6279. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble *v);
  6280. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6281. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat *v);
  6282. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint *v);
  6283. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  6284. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort *v);
  6285. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte *v);
  6286. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint *v);
  6287. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort *v);
  6288. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  6289. #endif
  6290. #ifndef GL_VERSION_2_1
  6291. #define GL_VERSION_2_1 1
  6292. #ifdef GL_GLEXT_PROTOTYPES
  6293. GLAPI void APIENTRY glUniformMatrix2x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6294. GLAPI void APIENTRY glUniformMatrix3x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6295. GLAPI void APIENTRY glUniformMatrix2x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6296. GLAPI void APIENTRY glUniformMatrix4x2fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6297. GLAPI void APIENTRY glUniformMatrix3x4fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6298. GLAPI void APIENTRY glUniformMatrix4x3fv (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6299. #endif /* GL_GLEXT_PROTOTYPES */
  6300. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6301. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6302. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6303. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6304. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6305. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6306. #endif
  6307. #ifndef GL_VERSION_3_0
  6308. #define GL_VERSION_3_0 1
  6309. /* OpenGL 3.0 also reuses entry points from these extensions: */
  6310. /* ARB_framebuffer_object */
  6311. /* ARB_map_buffer_range */
  6312. /* ARB_vertex_array_object */
  6313. #ifdef GL_GLEXT_PROTOTYPES
  6314. GLAPI void APIENTRY glColorMaski (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6315. GLAPI void APIENTRY glGetBooleani_v (GLenum target, GLuint index, GLboolean *data);
  6316. GLAPI void APIENTRY glGetIntegeri_v (GLenum target, GLuint index, GLint *data);
  6317. GLAPI void APIENTRY glEnablei (GLenum target, GLuint index);
  6318. GLAPI void APIENTRY glDisablei (GLenum target, GLuint index);
  6319. GLAPI GLboolean APIENTRY glIsEnabledi (GLenum target, GLuint index);
  6320. GLAPI void APIENTRY glBeginTransformFeedback (GLenum primitiveMode);
  6321. GLAPI void APIENTRY glEndTransformFeedback (void);
  6322. GLAPI void APIENTRY glBindBufferRange (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6323. GLAPI void APIENTRY glBindBufferBase (GLenum target, GLuint index, GLuint buffer);
  6324. GLAPI void APIENTRY glTransformFeedbackVaryings (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
  6325. GLAPI void APIENTRY glGetTransformFeedbackVarying (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  6326. GLAPI void APIENTRY glClampColor (GLenum target, GLenum clamp);
  6327. GLAPI void APIENTRY glBeginConditionalRender (GLuint id, GLenum mode);
  6328. GLAPI void APIENTRY glEndConditionalRender (void);
  6329. GLAPI void APIENTRY glVertexAttribIPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6330. GLAPI void APIENTRY glGetVertexAttribIiv (GLuint index, GLenum pname, GLint *params);
  6331. GLAPI void APIENTRY glGetVertexAttribIuiv (GLuint index, GLenum pname, GLuint *params);
  6332. GLAPI void APIENTRY glVertexAttribI1i (GLuint index, GLint x);
  6333. GLAPI void APIENTRY glVertexAttribI2i (GLuint index, GLint x, GLint y);
  6334. GLAPI void APIENTRY glVertexAttribI3i (GLuint index, GLint x, GLint y, GLint z);
  6335. GLAPI void APIENTRY glVertexAttribI4i (GLuint index, GLint x, GLint y, GLint z, GLint w);
  6336. GLAPI void APIENTRY glVertexAttribI1ui (GLuint index, GLuint x);
  6337. GLAPI void APIENTRY glVertexAttribI2ui (GLuint index, GLuint x, GLuint y);
  6338. GLAPI void APIENTRY glVertexAttribI3ui (GLuint index, GLuint x, GLuint y, GLuint z);
  6339. GLAPI void APIENTRY glVertexAttribI4ui (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6340. GLAPI void APIENTRY glVertexAttribI1iv (GLuint index, const GLint *v);
  6341. GLAPI void APIENTRY glVertexAttribI2iv (GLuint index, const GLint *v);
  6342. GLAPI void APIENTRY glVertexAttribI3iv (GLuint index, const GLint *v);
  6343. GLAPI void APIENTRY glVertexAttribI4iv (GLuint index, const GLint *v);
  6344. GLAPI void APIENTRY glVertexAttribI1uiv (GLuint index, const GLuint *v);
  6345. GLAPI void APIENTRY glVertexAttribI2uiv (GLuint index, const GLuint *v);
  6346. GLAPI void APIENTRY glVertexAttribI3uiv (GLuint index, const GLuint *v);
  6347. GLAPI void APIENTRY glVertexAttribI4uiv (GLuint index, const GLuint *v);
  6348. GLAPI void APIENTRY glVertexAttribI4bv (GLuint index, const GLbyte *v);
  6349. GLAPI void APIENTRY glVertexAttribI4sv (GLuint index, const GLshort *v);
  6350. GLAPI void APIENTRY glVertexAttribI4ubv (GLuint index, const GLubyte *v);
  6351. GLAPI void APIENTRY glVertexAttribI4usv (GLuint index, const GLushort *v);
  6352. GLAPI void APIENTRY glGetUniformuiv (GLuint program, GLint location, GLuint *params);
  6353. GLAPI void APIENTRY glBindFragDataLocation (GLuint program, GLuint color, const GLchar *name);
  6354. GLAPI GLint APIENTRY glGetFragDataLocation (GLuint program, const GLchar *name);
  6355. GLAPI void APIENTRY glUniform1ui (GLint location, GLuint v0);
  6356. GLAPI void APIENTRY glUniform2ui (GLint location, GLuint v0, GLuint v1);
  6357. GLAPI void APIENTRY glUniform3ui (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6358. GLAPI void APIENTRY glUniform4ui (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6359. GLAPI void APIENTRY glUniform1uiv (GLint location, GLsizei count, const GLuint *value);
  6360. GLAPI void APIENTRY glUniform2uiv (GLint location, GLsizei count, const GLuint *value);
  6361. GLAPI void APIENTRY glUniform3uiv (GLint location, GLsizei count, const GLuint *value);
  6362. GLAPI void APIENTRY glUniform4uiv (GLint location, GLsizei count, const GLuint *value);
  6363. GLAPI void APIENTRY glTexParameterIiv (GLenum target, GLenum pname, const GLint *params);
  6364. GLAPI void APIENTRY glTexParameterIuiv (GLenum target, GLenum pname, const GLuint *params);
  6365. GLAPI void APIENTRY glGetTexParameterIiv (GLenum target, GLenum pname, GLint *params);
  6366. GLAPI void APIENTRY glGetTexParameterIuiv (GLenum target, GLenum pname, GLuint *params);
  6367. GLAPI void APIENTRY glClearBufferiv (GLenum buffer, GLint drawbuffer, const GLint *value);
  6368. GLAPI void APIENTRY glClearBufferuiv (GLenum buffer, GLint drawbuffer, const GLuint *value);
  6369. GLAPI void APIENTRY glClearBufferfv (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  6370. GLAPI void APIENTRY glClearBufferfi (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  6371. GLAPI const GLubyte * APIENTRY glGetStringi (GLenum name, GLuint index);
  6372. #endif /* GL_GLEXT_PROTOTYPES */
  6373. typedef void (APIENTRYP PFNGLCOLORMASKIPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  6374. typedef void (APIENTRYP PFNGLGETBOOLEANI_VPROC) (GLenum target, GLuint index, GLboolean *data);
  6375. typedef void (APIENTRYP PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint *data);
  6376. typedef void (APIENTRYP PFNGLENABLEIPROC) (GLenum target, GLuint index);
  6377. typedef void (APIENTRYP PFNGLDISABLEIPROC) (GLenum target, GLuint index);
  6378. typedef GLboolean (APIENTRYP PFNGLISENABLEDIPROC) (GLenum target, GLuint index);
  6379. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum primitiveMode);
  6380. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  6381. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  6382. typedef void (APIENTRYP PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  6383. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint program, GLsizei count, const GLchar* const *varyings, GLenum bufferMode);
  6384. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  6385. typedef void (APIENTRYP PFNGLCLAMPCOLORPROC) (GLenum target, GLenum clamp);
  6386. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERPROC) (GLuint id, GLenum mode);
  6387. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERPROC) (void);
  6388. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6389. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVPROC) (GLuint index, GLenum pname, GLint *params);
  6390. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint index, GLenum pname, GLuint *params);
  6391. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IPROC) (GLuint index, GLint x);
  6392. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IPROC) (GLuint index, GLint x, GLint y);
  6393. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IPROC) (GLuint index, GLint x, GLint y, GLint z);
  6394. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  6395. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIPROC) (GLuint index, GLuint x);
  6396. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIPROC) (GLuint index, GLuint x, GLuint y);
  6397. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  6398. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  6399. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVPROC) (GLuint index, const GLint *v);
  6400. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVPROC) (GLuint index, const GLint *v);
  6401. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVPROC) (GLuint index, const GLint *v);
  6402. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVPROC) (GLuint index, const GLint *v);
  6403. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVPROC) (GLuint index, const GLuint *v);
  6404. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVPROC) (GLuint index, const GLuint *v);
  6405. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVPROC) (GLuint index, const GLuint *v);
  6406. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVPROC) (GLuint index, const GLuint *v);
  6407. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVPROC) (GLuint index, const GLbyte *v);
  6408. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVPROC) (GLuint index, const GLshort *v);
  6409. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVPROC) (GLuint index, const GLubyte *v);
  6410. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVPROC) (GLuint index, const GLushort *v);
  6411. typedef void (APIENTRYP PFNGLGETUNIFORMUIVPROC) (GLuint program, GLint location, GLuint *params);
  6412. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONPROC) (GLuint program, GLuint color, const GLchar *name);
  6413. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONPROC) (GLuint program, const GLchar *name);
  6414. typedef void (APIENTRYP PFNGLUNIFORM1UIPROC) (GLint location, GLuint v0);
  6415. typedef void (APIENTRYP PFNGLUNIFORM2UIPROC) (GLint location, GLuint v0, GLuint v1);
  6416. typedef void (APIENTRYP PFNGLUNIFORM3UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  6417. typedef void (APIENTRYP PFNGLUNIFORM4UIPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  6418. typedef void (APIENTRYP PFNGLUNIFORM1UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  6419. typedef void (APIENTRYP PFNGLUNIFORM2UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  6420. typedef void (APIENTRYP PFNGLUNIFORM3UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  6421. typedef void (APIENTRYP PFNGLUNIFORM4UIVPROC) (GLint location, GLsizei count, const GLuint *value);
  6422. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, const GLint *params);
  6423. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, const GLuint *params);
  6424. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVPROC) (GLenum target, GLenum pname, GLint *params);
  6425. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVPROC) (GLenum target, GLenum pname, GLuint *params);
  6426. typedef void (APIENTRYP PFNGLCLEARBUFFERIVPROC) (GLenum buffer, GLint drawbuffer, const GLint *value);
  6427. typedef void (APIENTRYP PFNGLCLEARBUFFERUIVPROC) (GLenum buffer, GLint drawbuffer, const GLuint *value);
  6428. typedef void (APIENTRYP PFNGLCLEARBUFFERFVPROC) (GLenum buffer, GLint drawbuffer, const GLfloat *value);
  6429. typedef void (APIENTRYP PFNGLCLEARBUFFERFIPROC) (GLenum buffer, GLint drawbuffer, GLfloat depth, GLint stencil);
  6430. typedef const GLubyte * (APIENTRYP PFNGLGETSTRINGIPROC) (GLenum name, GLuint index);
  6431. #endif
  6432. #ifndef GL_VERSION_3_1
  6433. #define GL_VERSION_3_1 1
  6434. /* OpenGL 3.1 also reuses entry points from these extensions: */
  6435. /* ARB_copy_buffer */
  6436. /* ARB_uniform_buffer_object */
  6437. #ifdef GL_GLEXT_PROTOTYPES
  6438. GLAPI void APIENTRY glDrawArraysInstanced (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  6439. GLAPI void APIENTRY glDrawElementsInstanced (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
  6440. GLAPI void APIENTRY glTexBuffer (GLenum target, GLenum internalformat, GLuint buffer);
  6441. GLAPI void APIENTRY glPrimitiveRestartIndex (GLuint index);
  6442. #endif /* GL_GLEXT_PROTOTYPES */
  6443. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount);
  6444. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount);
  6445. typedef void (APIENTRYP PFNGLTEXBUFFERPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  6446. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint index);
  6447. #endif
  6448. #ifndef GL_VERSION_3_2
  6449. #define GL_VERSION_3_2 1
  6450. /* OpenGL 3.2 also reuses entry points from these extensions: */
  6451. /* ARB_draw_elements_base_vertex */
  6452. /* ARB_provoking_vertex */
  6453. /* ARB_sync */
  6454. /* ARB_texture_multisample */
  6455. #ifdef GL_GLEXT_PROTOTYPES
  6456. GLAPI void APIENTRY glGetInteger64i_v (GLenum target, GLuint index, GLint64 *data);
  6457. GLAPI void APIENTRY glGetBufferParameteri64v (GLenum target, GLenum pname, GLint64 *params);
  6458. GLAPI void APIENTRY glFramebufferTexture (GLenum target, GLenum attachment, GLuint texture, GLint level);
  6459. #endif /* GL_GLEXT_PROTOTYPES */
  6460. typedef void (APIENTRYP PFNGLGETINTEGER64I_VPROC) (GLenum target, GLuint index, GLint64 *data);
  6461. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum target, GLenum pname, GLint64 *params);
  6462. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  6463. #endif
  6464. #ifndef GL_VERSION_3_3
  6465. #define GL_VERSION_3_3 1
  6466. /* OpenGL 3.3 also reuses entry points from these extensions: */
  6467. /* ARB_blend_func_extended */
  6468. /* ARB_sampler_objects */
  6469. /* ARB_explicit_attrib_location, but it has none */
  6470. /* ARB_occlusion_query2 (no entry points) */
  6471. /* ARB_shader_bit_encoding (no entry points) */
  6472. /* ARB_texture_rgb10_a2ui (no entry points) */
  6473. /* ARB_texture_swizzle (no entry points) */
  6474. /* ARB_timer_query */
  6475. /* ARB_vertex_type_2_10_10_10_rev */
  6476. #ifdef GL_GLEXT_PROTOTYPES
  6477. GLAPI void APIENTRY glVertexAttribDivisor (GLuint index, GLuint divisor);
  6478. #endif /* GL_GLEXT_PROTOTYPES */
  6479. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  6480. #endif
  6481. #ifndef GL_VERSION_4_0
  6482. #define GL_VERSION_4_0 1
  6483. /* OpenGL 4.0 also reuses entry points from these extensions: */
  6484. /* ARB_texture_query_lod (no entry points) */
  6485. /* ARB_draw_indirect */
  6486. /* ARB_gpu_shader5 (no entry points) */
  6487. /* ARB_gpu_shader_fp64 */
  6488. /* ARB_shader_subroutine */
  6489. /* ARB_tessellation_shader */
  6490. /* ARB_texture_buffer_object_rgb32 (no entry points) */
  6491. /* ARB_texture_cube_map_array (no entry points) */
  6492. /* ARB_texture_gather (no entry points) */
  6493. /* ARB_transform_feedback2 */
  6494. /* ARB_transform_feedback3 */
  6495. #ifdef GL_GLEXT_PROTOTYPES
  6496. GLAPI void APIENTRY glMinSampleShading (GLfloat value);
  6497. GLAPI void APIENTRY glBlendEquationi (GLuint buf, GLenum mode);
  6498. GLAPI void APIENTRY glBlendEquationSeparatei (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  6499. GLAPI void APIENTRY glBlendFunci (GLuint buf, GLenum src, GLenum dst);
  6500. GLAPI void APIENTRY glBlendFuncSeparatei (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  6501. #endif /* GL_GLEXT_PROTOTYPES */
  6502. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGPROC) (GLfloat value);
  6503. typedef void (APIENTRYP PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  6504. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  6505. typedef void (APIENTRYP PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  6506. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  6507. #endif
  6508. #ifndef GL_VERSION_4_1
  6509. #define GL_VERSION_4_1 1
  6510. /* OpenGL 4.1 reuses entry points from these extensions: */
  6511. /* ARB_ES2_compatibility */
  6512. /* ARB_get_program_binary */
  6513. /* ARB_separate_shader_objects */
  6514. /* ARB_shader_precision (no entry points) */
  6515. /* ARB_vertex_attrib_64bit */
  6516. /* ARB_viewport_array */
  6517. #endif
  6518. #ifndef GL_VERSION_4_2
  6519. #define GL_VERSION_4_2 1
  6520. /* OpenGL 4.2 reuses entry points from these extensions: */
  6521. /* ARB_base_instance */
  6522. /* ARB_shading_language_420pack (no entry points) */
  6523. /* ARB_transform_feedback_instanced */
  6524. /* ARB_compressed_texture_pixel_storage (no entry points) */
  6525. /* ARB_conservative_depth (no entry points) */
  6526. /* ARB_internalformat_query */
  6527. /* ARB_map_buffer_alignment (no entry points) */
  6528. /* ARB_shader_atomic_counters */
  6529. /* ARB_shader_image_load_store */
  6530. /* ARB_shading_language_packing (no entry points) */
  6531. /* ARB_texture_storage */
  6532. #endif
  6533. #ifndef GL_VERSION_4_3
  6534. #define GL_VERSION_4_3 1
  6535. /* OpenGL 4.3 reuses entry points from these extensions: */
  6536. /* ARB_arrays_of_arrays (no entry points, GLSL only) */
  6537. /* ARB_fragment_layer_viewport (no entry points, GLSL only) */
  6538. /* ARB_shader_image_size (no entry points, GLSL only) */
  6539. /* ARB_ES3_compatibility (no entry points) */
  6540. /* ARB_clear_buffer_object */
  6541. /* ARB_compute_shader */
  6542. /* ARB_copy_image */
  6543. /* KHR_debug (includes ARB_debug_output commands promoted to KHR without suffixes) */
  6544. /* ARB_explicit_uniform_location (no entry points) */
  6545. /* ARB_framebuffer_no_attachments */
  6546. /* ARB_internalformat_query2 */
  6547. /* ARB_invalidate_subdata */
  6548. /* ARB_multi_draw_indirect */
  6549. /* ARB_program_interface_query */
  6550. /* ARB_robust_buffer_access_behavior (no entry points) */
  6551. /* ARB_shader_storage_buffer_object */
  6552. /* ARB_stencil_texturing (no entry points) */
  6553. /* ARB_texture_buffer_range */
  6554. /* ARB_texture_query_levels (no entry points) */
  6555. /* ARB_texture_storage_multisample */
  6556. /* ARB_texture_view */
  6557. /* ARB_vertex_attrib_binding */
  6558. #endif
  6559. #ifndef GL_ARB_multitexture
  6560. #define GL_ARB_multitexture 1
  6561. #ifdef GL_GLEXT_PROTOTYPES
  6562. GLAPI void APIENTRY glActiveTextureARB (GLenum texture);
  6563. GLAPI void APIENTRY glClientActiveTextureARB (GLenum texture);
  6564. GLAPI void APIENTRY glMultiTexCoord1dARB (GLenum target, GLdouble s);
  6565. GLAPI void APIENTRY glMultiTexCoord1dvARB (GLenum target, const GLdouble *v);
  6566. GLAPI void APIENTRY glMultiTexCoord1fARB (GLenum target, GLfloat s);
  6567. GLAPI void APIENTRY glMultiTexCoord1fvARB (GLenum target, const GLfloat *v);
  6568. GLAPI void APIENTRY glMultiTexCoord1iARB (GLenum target, GLint s);
  6569. GLAPI void APIENTRY glMultiTexCoord1ivARB (GLenum target, const GLint *v);
  6570. GLAPI void APIENTRY glMultiTexCoord1sARB (GLenum target, GLshort s);
  6571. GLAPI void APIENTRY glMultiTexCoord1svARB (GLenum target, const GLshort *v);
  6572. GLAPI void APIENTRY glMultiTexCoord2dARB (GLenum target, GLdouble s, GLdouble t);
  6573. GLAPI void APIENTRY glMultiTexCoord2dvARB (GLenum target, const GLdouble *v);
  6574. GLAPI void APIENTRY glMultiTexCoord2fARB (GLenum target, GLfloat s, GLfloat t);
  6575. GLAPI void APIENTRY glMultiTexCoord2fvARB (GLenum target, const GLfloat *v);
  6576. GLAPI void APIENTRY glMultiTexCoord2iARB (GLenum target, GLint s, GLint t);
  6577. GLAPI void APIENTRY glMultiTexCoord2ivARB (GLenum target, const GLint *v);
  6578. GLAPI void APIENTRY glMultiTexCoord2sARB (GLenum target, GLshort s, GLshort t);
  6579. GLAPI void APIENTRY glMultiTexCoord2svARB (GLenum target, const GLshort *v);
  6580. GLAPI void APIENTRY glMultiTexCoord3dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  6581. GLAPI void APIENTRY glMultiTexCoord3dvARB (GLenum target, const GLdouble *v);
  6582. GLAPI void APIENTRY glMultiTexCoord3fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  6583. GLAPI void APIENTRY glMultiTexCoord3fvARB (GLenum target, const GLfloat *v);
  6584. GLAPI void APIENTRY glMultiTexCoord3iARB (GLenum target, GLint s, GLint t, GLint r);
  6585. GLAPI void APIENTRY glMultiTexCoord3ivARB (GLenum target, const GLint *v);
  6586. GLAPI void APIENTRY glMultiTexCoord3sARB (GLenum target, GLshort s, GLshort t, GLshort r);
  6587. GLAPI void APIENTRY glMultiTexCoord3svARB (GLenum target, const GLshort *v);
  6588. GLAPI void APIENTRY glMultiTexCoord4dARB (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  6589. GLAPI void APIENTRY glMultiTexCoord4dvARB (GLenum target, const GLdouble *v);
  6590. GLAPI void APIENTRY glMultiTexCoord4fARB (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  6591. GLAPI void APIENTRY glMultiTexCoord4fvARB (GLenum target, const GLfloat *v);
  6592. GLAPI void APIENTRY glMultiTexCoord4iARB (GLenum target, GLint s, GLint t, GLint r, GLint q);
  6593. GLAPI void APIENTRY glMultiTexCoord4ivARB (GLenum target, const GLint *v);
  6594. GLAPI void APIENTRY glMultiTexCoord4sARB (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  6595. GLAPI void APIENTRY glMultiTexCoord4svARB (GLenum target, const GLshort *v);
  6596. #endif /* GL_GLEXT_PROTOTYPES */
  6597. typedef void (APIENTRYP PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  6598. typedef void (APIENTRYP PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  6599. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  6600. typedef void (APIENTRYP PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  6601. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  6602. typedef void (APIENTRYP PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  6603. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  6604. typedef void (APIENTRYP PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  6605. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  6606. typedef void (APIENTRYP PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  6607. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  6608. typedef void (APIENTRYP PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  6609. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  6610. typedef void (APIENTRYP PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  6611. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  6612. typedef void (APIENTRYP PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  6613. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  6614. typedef void (APIENTRYP PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  6615. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  6616. typedef void (APIENTRYP PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  6617. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  6618. typedef void (APIENTRYP PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  6619. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  6620. typedef void (APIENTRYP PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  6621. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  6622. typedef void (APIENTRYP PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  6623. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  6624. typedef void (APIENTRYP PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  6625. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  6626. typedef void (APIENTRYP PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  6627. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  6628. typedef void (APIENTRYP PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  6629. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  6630. typedef void (APIENTRYP PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  6631. #endif
  6632. #ifndef GL_ARB_transpose_matrix
  6633. #define GL_ARB_transpose_matrix 1
  6634. #ifdef GL_GLEXT_PROTOTYPES
  6635. GLAPI void APIENTRY glLoadTransposeMatrixfARB (const GLfloat *m);
  6636. GLAPI void APIENTRY glLoadTransposeMatrixdARB (const GLdouble *m);
  6637. GLAPI void APIENTRY glMultTransposeMatrixfARB (const GLfloat *m);
  6638. GLAPI void APIENTRY glMultTransposeMatrixdARB (const GLdouble *m);
  6639. #endif /* GL_GLEXT_PROTOTYPES */
  6640. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  6641. typedef void (APIENTRYP PFNGLLOADTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  6642. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXFARBPROC) (const GLfloat *m);
  6643. typedef void (APIENTRYP PFNGLMULTTRANSPOSEMATRIXDARBPROC) (const GLdouble *m);
  6644. #endif
  6645. #ifndef GL_ARB_multisample
  6646. #define GL_ARB_multisample 1
  6647. #ifdef GL_GLEXT_PROTOTYPES
  6648. GLAPI void APIENTRY glSampleCoverageARB (GLfloat value, GLboolean invert);
  6649. #endif /* GL_GLEXT_PROTOTYPES */
  6650. typedef void (APIENTRYP PFNGLSAMPLECOVERAGEARBPROC) (GLfloat value, GLboolean invert);
  6651. #endif
  6652. #ifndef GL_ARB_texture_env_add
  6653. #define GL_ARB_texture_env_add 1
  6654. #endif
  6655. #ifndef GL_ARB_texture_cube_map
  6656. #define GL_ARB_texture_cube_map 1
  6657. #endif
  6658. #ifndef GL_ARB_texture_compression
  6659. #define GL_ARB_texture_compression 1
  6660. #ifdef GL_GLEXT_PROTOTYPES
  6661. GLAPI void APIENTRY glCompressedTexImage3DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  6662. GLAPI void APIENTRY glCompressedTexImage2DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  6663. GLAPI void APIENTRY glCompressedTexImage1DARB (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  6664. GLAPI void APIENTRY glCompressedTexSubImage3DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  6665. GLAPI void APIENTRY glCompressedTexSubImage2DARB (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  6666. GLAPI void APIENTRY glCompressedTexSubImage1DARB (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  6667. GLAPI void APIENTRY glGetCompressedTexImageARB (GLenum target, GLint level, GLvoid *img);
  6668. #endif /* GL_GLEXT_PROTOTYPES */
  6669. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  6670. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  6671. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  6672. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  6673. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  6674. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  6675. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint level, GLvoid *img);
  6676. #endif
  6677. #ifndef GL_ARB_texture_border_clamp
  6678. #define GL_ARB_texture_border_clamp 1
  6679. #endif
  6680. #ifndef GL_ARB_point_parameters
  6681. #define GL_ARB_point_parameters 1
  6682. #ifdef GL_GLEXT_PROTOTYPES
  6683. GLAPI void APIENTRY glPointParameterfARB (GLenum pname, GLfloat param);
  6684. GLAPI void APIENTRY glPointParameterfvARB (GLenum pname, const GLfloat *params);
  6685. #endif /* GL_GLEXT_PROTOTYPES */
  6686. typedef void (APIENTRYP PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  6687. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat *params);
  6688. #endif
  6689. #ifndef GL_ARB_vertex_blend
  6690. #define GL_ARB_vertex_blend 1
  6691. #ifdef GL_GLEXT_PROTOTYPES
  6692. GLAPI void APIENTRY glWeightbvARB (GLint size, const GLbyte *weights);
  6693. GLAPI void APIENTRY glWeightsvARB (GLint size, const GLshort *weights);
  6694. GLAPI void APIENTRY glWeightivARB (GLint size, const GLint *weights);
  6695. GLAPI void APIENTRY glWeightfvARB (GLint size, const GLfloat *weights);
  6696. GLAPI void APIENTRY glWeightdvARB (GLint size, const GLdouble *weights);
  6697. GLAPI void APIENTRY glWeightubvARB (GLint size, const GLubyte *weights);
  6698. GLAPI void APIENTRY glWeightusvARB (GLint size, const GLushort *weights);
  6699. GLAPI void APIENTRY glWeightuivARB (GLint size, const GLuint *weights);
  6700. GLAPI void APIENTRY glWeightPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6701. GLAPI void APIENTRY glVertexBlendARB (GLint count);
  6702. #endif /* GL_GLEXT_PROTOTYPES */
  6703. typedef void (APIENTRYP PFNGLWEIGHTBVARBPROC) (GLint size, const GLbyte *weights);
  6704. typedef void (APIENTRYP PFNGLWEIGHTSVARBPROC) (GLint size, const GLshort *weights);
  6705. typedef void (APIENTRYP PFNGLWEIGHTIVARBPROC) (GLint size, const GLint *weights);
  6706. typedef void (APIENTRYP PFNGLWEIGHTFVARBPROC) (GLint size, const GLfloat *weights);
  6707. typedef void (APIENTRYP PFNGLWEIGHTDVARBPROC) (GLint size, const GLdouble *weights);
  6708. typedef void (APIENTRYP PFNGLWEIGHTUBVARBPROC) (GLint size, const GLubyte *weights);
  6709. typedef void (APIENTRYP PFNGLWEIGHTUSVARBPROC) (GLint size, const GLushort *weights);
  6710. typedef void (APIENTRYP PFNGLWEIGHTUIVARBPROC) (GLint size, const GLuint *weights);
  6711. typedef void (APIENTRYP PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6712. typedef void (APIENTRYP PFNGLVERTEXBLENDARBPROC) (GLint count);
  6713. #endif
  6714. #ifndef GL_ARB_matrix_palette
  6715. #define GL_ARB_matrix_palette 1
  6716. #ifdef GL_GLEXT_PROTOTYPES
  6717. GLAPI void APIENTRY glCurrentPaletteMatrixARB (GLint index);
  6718. GLAPI void APIENTRY glMatrixIndexubvARB (GLint size, const GLubyte *indices);
  6719. GLAPI void APIENTRY glMatrixIndexusvARB (GLint size, const GLushort *indices);
  6720. GLAPI void APIENTRY glMatrixIndexuivARB (GLint size, const GLuint *indices);
  6721. GLAPI void APIENTRY glMatrixIndexPointerARB (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6722. #endif /* GL_GLEXT_PROTOTYPES */
  6723. typedef void (APIENTRYP PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  6724. typedef void (APIENTRYP PFNGLMATRIXINDEXUBVARBPROC) (GLint size, const GLubyte *indices);
  6725. typedef void (APIENTRYP PFNGLMATRIXINDEXUSVARBPROC) (GLint size, const GLushort *indices);
  6726. typedef void (APIENTRYP PFNGLMATRIXINDEXUIVARBPROC) (GLint size, const GLuint *indices);
  6727. typedef void (APIENTRYP PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  6728. #endif
  6729. #ifndef GL_ARB_texture_env_combine
  6730. #define GL_ARB_texture_env_combine 1
  6731. #endif
  6732. #ifndef GL_ARB_texture_env_crossbar
  6733. #define GL_ARB_texture_env_crossbar 1
  6734. #endif
  6735. #ifndef GL_ARB_texture_env_dot3
  6736. #define GL_ARB_texture_env_dot3 1
  6737. #endif
  6738. #ifndef GL_ARB_texture_mirrored_repeat
  6739. #define GL_ARB_texture_mirrored_repeat 1
  6740. #endif
  6741. #ifndef GL_ARB_depth_texture
  6742. #define GL_ARB_depth_texture 1
  6743. #endif
  6744. #ifndef GL_ARB_shadow
  6745. #define GL_ARB_shadow 1
  6746. #endif
  6747. #ifndef GL_ARB_shadow_ambient
  6748. #define GL_ARB_shadow_ambient 1
  6749. #endif
  6750. #ifndef GL_ARB_window_pos
  6751. #define GL_ARB_window_pos 1
  6752. #ifdef GL_GLEXT_PROTOTYPES
  6753. GLAPI void APIENTRY glWindowPos2dARB (GLdouble x, GLdouble y);
  6754. GLAPI void APIENTRY glWindowPos2dvARB (const GLdouble *v);
  6755. GLAPI void APIENTRY glWindowPos2fARB (GLfloat x, GLfloat y);
  6756. GLAPI void APIENTRY glWindowPos2fvARB (const GLfloat *v);
  6757. GLAPI void APIENTRY glWindowPos2iARB (GLint x, GLint y);
  6758. GLAPI void APIENTRY glWindowPos2ivARB (const GLint *v);
  6759. GLAPI void APIENTRY glWindowPos2sARB (GLshort x, GLshort y);
  6760. GLAPI void APIENTRY glWindowPos2svARB (const GLshort *v);
  6761. GLAPI void APIENTRY glWindowPos3dARB (GLdouble x, GLdouble y, GLdouble z);
  6762. GLAPI void APIENTRY glWindowPos3dvARB (const GLdouble *v);
  6763. GLAPI void APIENTRY glWindowPos3fARB (GLfloat x, GLfloat y, GLfloat z);
  6764. GLAPI void APIENTRY glWindowPos3fvARB (const GLfloat *v);
  6765. GLAPI void APIENTRY glWindowPos3iARB (GLint x, GLint y, GLint z);
  6766. GLAPI void APIENTRY glWindowPos3ivARB (const GLint *v);
  6767. GLAPI void APIENTRY glWindowPos3sARB (GLshort x, GLshort y, GLshort z);
  6768. GLAPI void APIENTRY glWindowPos3svARB (const GLshort *v);
  6769. #endif /* GL_GLEXT_PROTOTYPES */
  6770. typedef void (APIENTRYP PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  6771. typedef void (APIENTRYP PFNGLWINDOWPOS2DVARBPROC) (const GLdouble *v);
  6772. typedef void (APIENTRYP PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  6773. typedef void (APIENTRYP PFNGLWINDOWPOS2FVARBPROC) (const GLfloat *v);
  6774. typedef void (APIENTRYP PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  6775. typedef void (APIENTRYP PFNGLWINDOWPOS2IVARBPROC) (const GLint *v);
  6776. typedef void (APIENTRYP PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  6777. typedef void (APIENTRYP PFNGLWINDOWPOS2SVARBPROC) (const GLshort *v);
  6778. typedef void (APIENTRYP PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  6779. typedef void (APIENTRYP PFNGLWINDOWPOS3DVARBPROC) (const GLdouble *v);
  6780. typedef void (APIENTRYP PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  6781. typedef void (APIENTRYP PFNGLWINDOWPOS3FVARBPROC) (const GLfloat *v);
  6782. typedef void (APIENTRYP PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  6783. typedef void (APIENTRYP PFNGLWINDOWPOS3IVARBPROC) (const GLint *v);
  6784. typedef void (APIENTRYP PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  6785. typedef void (APIENTRYP PFNGLWINDOWPOS3SVARBPROC) (const GLshort *v);
  6786. #endif
  6787. #ifndef GL_ARB_vertex_program
  6788. #define GL_ARB_vertex_program 1
  6789. #ifdef GL_GLEXT_PROTOTYPES
  6790. GLAPI void APIENTRY glVertexAttrib1dARB (GLuint index, GLdouble x);
  6791. GLAPI void APIENTRY glVertexAttrib1dvARB (GLuint index, const GLdouble *v);
  6792. GLAPI void APIENTRY glVertexAttrib1fARB (GLuint index, GLfloat x);
  6793. GLAPI void APIENTRY glVertexAttrib1fvARB (GLuint index, const GLfloat *v);
  6794. GLAPI void APIENTRY glVertexAttrib1sARB (GLuint index, GLshort x);
  6795. GLAPI void APIENTRY glVertexAttrib1svARB (GLuint index, const GLshort *v);
  6796. GLAPI void APIENTRY glVertexAttrib2dARB (GLuint index, GLdouble x, GLdouble y);
  6797. GLAPI void APIENTRY glVertexAttrib2dvARB (GLuint index, const GLdouble *v);
  6798. GLAPI void APIENTRY glVertexAttrib2fARB (GLuint index, GLfloat x, GLfloat y);
  6799. GLAPI void APIENTRY glVertexAttrib2fvARB (GLuint index, const GLfloat *v);
  6800. GLAPI void APIENTRY glVertexAttrib2sARB (GLuint index, GLshort x, GLshort y);
  6801. GLAPI void APIENTRY glVertexAttrib2svARB (GLuint index, const GLshort *v);
  6802. GLAPI void APIENTRY glVertexAttrib3dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6803. GLAPI void APIENTRY glVertexAttrib3dvARB (GLuint index, const GLdouble *v);
  6804. GLAPI void APIENTRY glVertexAttrib3fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  6805. GLAPI void APIENTRY glVertexAttrib3fvARB (GLuint index, const GLfloat *v);
  6806. GLAPI void APIENTRY glVertexAttrib3sARB (GLuint index, GLshort x, GLshort y, GLshort z);
  6807. GLAPI void APIENTRY glVertexAttrib3svARB (GLuint index, const GLshort *v);
  6808. GLAPI void APIENTRY glVertexAttrib4NbvARB (GLuint index, const GLbyte *v);
  6809. GLAPI void APIENTRY glVertexAttrib4NivARB (GLuint index, const GLint *v);
  6810. GLAPI void APIENTRY glVertexAttrib4NsvARB (GLuint index, const GLshort *v);
  6811. GLAPI void APIENTRY glVertexAttrib4NubARB (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  6812. GLAPI void APIENTRY glVertexAttrib4NubvARB (GLuint index, const GLubyte *v);
  6813. GLAPI void APIENTRY glVertexAttrib4NuivARB (GLuint index, const GLuint *v);
  6814. GLAPI void APIENTRY glVertexAttrib4NusvARB (GLuint index, const GLushort *v);
  6815. GLAPI void APIENTRY glVertexAttrib4bvARB (GLuint index, const GLbyte *v);
  6816. GLAPI void APIENTRY glVertexAttrib4dARB (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6817. GLAPI void APIENTRY glVertexAttrib4dvARB (GLuint index, const GLdouble *v);
  6818. GLAPI void APIENTRY glVertexAttrib4fARB (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6819. GLAPI void APIENTRY glVertexAttrib4fvARB (GLuint index, const GLfloat *v);
  6820. GLAPI void APIENTRY glVertexAttrib4ivARB (GLuint index, const GLint *v);
  6821. GLAPI void APIENTRY glVertexAttrib4sARB (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  6822. GLAPI void APIENTRY glVertexAttrib4svARB (GLuint index, const GLshort *v);
  6823. GLAPI void APIENTRY glVertexAttrib4ubvARB (GLuint index, const GLubyte *v);
  6824. GLAPI void APIENTRY glVertexAttrib4uivARB (GLuint index, const GLuint *v);
  6825. GLAPI void APIENTRY glVertexAttrib4usvARB (GLuint index, const GLushort *v);
  6826. GLAPI void APIENTRY glVertexAttribPointerARB (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  6827. GLAPI void APIENTRY glEnableVertexAttribArrayARB (GLuint index);
  6828. GLAPI void APIENTRY glDisableVertexAttribArrayARB (GLuint index);
  6829. GLAPI void APIENTRY glProgramStringARB (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  6830. GLAPI void APIENTRY glBindProgramARB (GLenum target, GLuint program);
  6831. GLAPI void APIENTRY glDeleteProgramsARB (GLsizei n, const GLuint *programs);
  6832. GLAPI void APIENTRY glGenProgramsARB (GLsizei n, GLuint *programs);
  6833. GLAPI void APIENTRY glProgramEnvParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6834. GLAPI void APIENTRY glProgramEnvParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  6835. GLAPI void APIENTRY glProgramEnvParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6836. GLAPI void APIENTRY glProgramEnvParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  6837. GLAPI void APIENTRY glProgramLocalParameter4dARB (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6838. GLAPI void APIENTRY glProgramLocalParameter4dvARB (GLenum target, GLuint index, const GLdouble *params);
  6839. GLAPI void APIENTRY glProgramLocalParameter4fARB (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6840. GLAPI void APIENTRY glProgramLocalParameter4fvARB (GLenum target, GLuint index, const GLfloat *params);
  6841. GLAPI void APIENTRY glGetProgramEnvParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  6842. GLAPI void APIENTRY glGetProgramEnvParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  6843. GLAPI void APIENTRY glGetProgramLocalParameterdvARB (GLenum target, GLuint index, GLdouble *params);
  6844. GLAPI void APIENTRY glGetProgramLocalParameterfvARB (GLenum target, GLuint index, GLfloat *params);
  6845. GLAPI void APIENTRY glGetProgramivARB (GLenum target, GLenum pname, GLint *params);
  6846. GLAPI void APIENTRY glGetProgramStringARB (GLenum target, GLenum pname, GLvoid *string);
  6847. GLAPI void APIENTRY glGetVertexAttribdvARB (GLuint index, GLenum pname, GLdouble *params);
  6848. GLAPI void APIENTRY glGetVertexAttribfvARB (GLuint index, GLenum pname, GLfloat *params);
  6849. GLAPI void APIENTRY glGetVertexAttribivARB (GLuint index, GLenum pname, GLint *params);
  6850. GLAPI void APIENTRY glGetVertexAttribPointervARB (GLuint index, GLenum pname, GLvoid* *pointer);
  6851. GLAPI GLboolean APIENTRY glIsProgramARB (GLuint program);
  6852. #endif /* GL_GLEXT_PROTOTYPES */
  6853. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  6854. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble *v);
  6855. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  6856. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat *v);
  6857. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  6858. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort *v);
  6859. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  6860. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble *v);
  6861. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  6862. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat *v);
  6863. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  6864. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort *v);
  6865. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6866. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble *v);
  6867. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  6868. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat *v);
  6869. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  6870. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort *v);
  6871. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte *v);
  6872. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint *v);
  6873. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort *v);
  6874. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  6875. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte *v);
  6876. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint *v);
  6877. typedef void (APIENTRYP PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort *v);
  6878. typedef void (APIENTRYP PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte *v);
  6879. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6880. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble *v);
  6881. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6882. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat *v);
  6883. typedef void (APIENTRYP PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint *v);
  6884. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  6885. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort *v);
  6886. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte *v);
  6887. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint *v);
  6888. typedef void (APIENTRYP PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort *v);
  6889. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer);
  6890. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  6891. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  6892. typedef void (APIENTRYP PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  6893. typedef void (APIENTRYP PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  6894. typedef void (APIENTRYP PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint *programs);
  6895. typedef void (APIENTRYP PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint *programs);
  6896. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6897. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  6898. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6899. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  6900. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6901. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble *params);
  6902. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6903. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat *params);
  6904. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  6905. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  6906. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble *params);
  6907. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat *params);
  6908. typedef void (APIENTRYP PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  6909. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, GLvoid *string);
  6910. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble *params);
  6911. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat *params);
  6912. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint *params);
  6913. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  6914. typedef GLboolean (APIENTRYP PFNGLISPROGRAMARBPROC) (GLuint program);
  6915. #endif
  6916. #ifndef GL_ARB_fragment_program
  6917. #define GL_ARB_fragment_program 1
  6918. /* All ARB_fragment_program entry points are shared with ARB_vertex_program. */
  6919. #endif
  6920. #ifndef GL_ARB_vertex_buffer_object
  6921. #define GL_ARB_vertex_buffer_object 1
  6922. #ifdef GL_GLEXT_PROTOTYPES
  6923. GLAPI void APIENTRY glBindBufferARB (GLenum target, GLuint buffer);
  6924. GLAPI void APIENTRY glDeleteBuffersARB (GLsizei n, const GLuint *buffers);
  6925. GLAPI void APIENTRY glGenBuffersARB (GLsizei n, GLuint *buffers);
  6926. GLAPI GLboolean APIENTRY glIsBufferARB (GLuint buffer);
  6927. GLAPI void APIENTRY glBufferDataARB (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  6928. GLAPI void APIENTRY glBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  6929. GLAPI void APIENTRY glGetBufferSubDataARB (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  6930. GLAPI GLvoid* APIENTRY glMapBufferARB (GLenum target, GLenum access);
  6931. GLAPI GLboolean APIENTRY glUnmapBufferARB (GLenum target);
  6932. GLAPI void APIENTRY glGetBufferParameterivARB (GLenum target, GLenum pname, GLint *params);
  6933. GLAPI void APIENTRY glGetBufferPointervARB (GLenum target, GLenum pname, GLvoid* *params);
  6934. #endif /* GL_GLEXT_PROTOTYPES */
  6935. typedef void (APIENTRYP PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  6936. typedef void (APIENTRYP PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint *buffers);
  6937. typedef void (APIENTRYP PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint *buffers);
  6938. typedef GLboolean (APIENTRYP PFNGLISBUFFERARBPROC) (GLuint buffer);
  6939. typedef void (APIENTRYP PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid *data, GLenum usage);
  6940. typedef void (APIENTRYP PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid *data);
  6941. typedef void (APIENTRYP PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid *data);
  6942. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  6943. typedef GLboolean (APIENTRYP PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  6944. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  6945. typedef void (APIENTRYP PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid* *params);
  6946. #endif
  6947. #ifndef GL_ARB_occlusion_query
  6948. #define GL_ARB_occlusion_query 1
  6949. #ifdef GL_GLEXT_PROTOTYPES
  6950. GLAPI void APIENTRY glGenQueriesARB (GLsizei n, GLuint *ids);
  6951. GLAPI void APIENTRY glDeleteQueriesARB (GLsizei n, const GLuint *ids);
  6952. GLAPI GLboolean APIENTRY glIsQueryARB (GLuint id);
  6953. GLAPI void APIENTRY glBeginQueryARB (GLenum target, GLuint id);
  6954. GLAPI void APIENTRY glEndQueryARB (GLenum target);
  6955. GLAPI void APIENTRY glGetQueryivARB (GLenum target, GLenum pname, GLint *params);
  6956. GLAPI void APIENTRY glGetQueryObjectivARB (GLuint id, GLenum pname, GLint *params);
  6957. GLAPI void APIENTRY glGetQueryObjectuivARB (GLuint id, GLenum pname, GLuint *params);
  6958. #endif /* GL_GLEXT_PROTOTYPES */
  6959. typedef void (APIENTRYP PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint *ids);
  6960. typedef void (APIENTRYP PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint *ids);
  6961. typedef GLboolean (APIENTRYP PFNGLISQUERYARBPROC) (GLuint id);
  6962. typedef void (APIENTRYP PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  6963. typedef void (APIENTRYP PFNGLENDQUERYARBPROC) (GLenum target);
  6964. typedef void (APIENTRYP PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint *params);
  6965. typedef void (APIENTRYP PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint *params);
  6966. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint *params);
  6967. #endif
  6968. #ifndef GL_ARB_shader_objects
  6969. #define GL_ARB_shader_objects 1
  6970. #ifdef GL_GLEXT_PROTOTYPES
  6971. GLAPI void APIENTRY glDeleteObjectARB (GLhandleARB obj);
  6972. GLAPI GLhandleARB APIENTRY glGetHandleARB (GLenum pname);
  6973. GLAPI void APIENTRY glDetachObjectARB (GLhandleARB containerObj, GLhandleARB attachedObj);
  6974. GLAPI GLhandleARB APIENTRY glCreateShaderObjectARB (GLenum shaderType);
  6975. GLAPI void APIENTRY glShaderSourceARB (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  6976. GLAPI void APIENTRY glCompileShaderARB (GLhandleARB shaderObj);
  6977. GLAPI GLhandleARB APIENTRY glCreateProgramObjectARB (void);
  6978. GLAPI void APIENTRY glAttachObjectARB (GLhandleARB containerObj, GLhandleARB obj);
  6979. GLAPI void APIENTRY glLinkProgramARB (GLhandleARB programObj);
  6980. GLAPI void APIENTRY glUseProgramObjectARB (GLhandleARB programObj);
  6981. GLAPI void APIENTRY glValidateProgramARB (GLhandleARB programObj);
  6982. GLAPI void APIENTRY glUniform1fARB (GLint location, GLfloat v0);
  6983. GLAPI void APIENTRY glUniform2fARB (GLint location, GLfloat v0, GLfloat v1);
  6984. GLAPI void APIENTRY glUniform3fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  6985. GLAPI void APIENTRY glUniform4fARB (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  6986. GLAPI void APIENTRY glUniform1iARB (GLint location, GLint v0);
  6987. GLAPI void APIENTRY glUniform2iARB (GLint location, GLint v0, GLint v1);
  6988. GLAPI void APIENTRY glUniform3iARB (GLint location, GLint v0, GLint v1, GLint v2);
  6989. GLAPI void APIENTRY glUniform4iARB (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  6990. GLAPI void APIENTRY glUniform1fvARB (GLint location, GLsizei count, const GLfloat *value);
  6991. GLAPI void APIENTRY glUniform2fvARB (GLint location, GLsizei count, const GLfloat *value);
  6992. GLAPI void APIENTRY glUniform3fvARB (GLint location, GLsizei count, const GLfloat *value);
  6993. GLAPI void APIENTRY glUniform4fvARB (GLint location, GLsizei count, const GLfloat *value);
  6994. GLAPI void APIENTRY glUniform1ivARB (GLint location, GLsizei count, const GLint *value);
  6995. GLAPI void APIENTRY glUniform2ivARB (GLint location, GLsizei count, const GLint *value);
  6996. GLAPI void APIENTRY glUniform3ivARB (GLint location, GLsizei count, const GLint *value);
  6997. GLAPI void APIENTRY glUniform4ivARB (GLint location, GLsizei count, const GLint *value);
  6998. GLAPI void APIENTRY glUniformMatrix2fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  6999. GLAPI void APIENTRY glUniformMatrix3fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7000. GLAPI void APIENTRY glUniformMatrix4fvARB (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7001. GLAPI void APIENTRY glGetObjectParameterfvARB (GLhandleARB obj, GLenum pname, GLfloat *params);
  7002. GLAPI void APIENTRY glGetObjectParameterivARB (GLhandleARB obj, GLenum pname, GLint *params);
  7003. GLAPI void APIENTRY glGetInfoLogARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  7004. GLAPI void APIENTRY glGetAttachedObjectsARB (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  7005. GLAPI GLint APIENTRY glGetUniformLocationARB (GLhandleARB programObj, const GLcharARB *name);
  7006. GLAPI void APIENTRY glGetActiveUniformARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  7007. GLAPI void APIENTRY glGetUniformfvARB (GLhandleARB programObj, GLint location, GLfloat *params);
  7008. GLAPI void APIENTRY glGetUniformivARB (GLhandleARB programObj, GLint location, GLint *params);
  7009. GLAPI void APIENTRY glGetShaderSourceARB (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  7010. #endif /* GL_GLEXT_PROTOTYPES */
  7011. typedef void (APIENTRYP PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  7012. typedef GLhandleARB (APIENTRYP PFNGLGETHANDLEARBPROC) (GLenum pname);
  7013. typedef void (APIENTRYP PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  7014. typedef GLhandleARB (APIENTRYP PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  7015. typedef void (APIENTRYP PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB* *string, const GLint *length);
  7016. typedef void (APIENTRYP PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  7017. typedef GLhandleARB (APIENTRYP PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  7018. typedef void (APIENTRYP PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  7019. typedef void (APIENTRYP PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  7020. typedef void (APIENTRYP PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  7021. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  7022. typedef void (APIENTRYP PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  7023. typedef void (APIENTRYP PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  7024. typedef void (APIENTRYP PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7025. typedef void (APIENTRYP PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7026. typedef void (APIENTRYP PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  7027. typedef void (APIENTRYP PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  7028. typedef void (APIENTRYP PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  7029. typedef void (APIENTRYP PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7030. typedef void (APIENTRYP PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  7031. typedef void (APIENTRYP PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  7032. typedef void (APIENTRYP PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  7033. typedef void (APIENTRYP PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat *value);
  7034. typedef void (APIENTRYP PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  7035. typedef void (APIENTRYP PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  7036. typedef void (APIENTRYP PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  7037. typedef void (APIENTRYP PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint *value);
  7038. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7039. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7040. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7041. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat *params);
  7042. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint *params);
  7043. typedef void (APIENTRYP PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *infoLog);
  7044. typedef void (APIENTRYP PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei *count, GLhandleARB *obj);
  7045. typedef GLint (APIENTRYP PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  7046. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  7047. typedef void (APIENTRYP PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat *params);
  7048. typedef void (APIENTRYP PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint *params);
  7049. typedef void (APIENTRYP PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei *length, GLcharARB *source);
  7050. #endif
  7051. #ifndef GL_ARB_vertex_shader
  7052. #define GL_ARB_vertex_shader 1
  7053. #ifdef GL_GLEXT_PROTOTYPES
  7054. GLAPI void APIENTRY glBindAttribLocationARB (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  7055. GLAPI void APIENTRY glGetActiveAttribARB (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  7056. GLAPI GLint APIENTRY glGetAttribLocationARB (GLhandleARB programObj, const GLcharARB *name);
  7057. #endif /* GL_GLEXT_PROTOTYPES */
  7058. typedef void (APIENTRYP PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB *name);
  7059. typedef void (APIENTRYP PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei *length, GLint *size, GLenum *type, GLcharARB *name);
  7060. typedef GLint (APIENTRYP PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB *name);
  7061. #endif
  7062. #ifndef GL_ARB_fragment_shader
  7063. #define GL_ARB_fragment_shader 1
  7064. #endif
  7065. #ifndef GL_ARB_shading_language_100
  7066. #define GL_ARB_shading_language_100 1
  7067. #endif
  7068. #ifndef GL_ARB_texture_non_power_of_two
  7069. #define GL_ARB_texture_non_power_of_two 1
  7070. #endif
  7071. #ifndef GL_ARB_point_sprite
  7072. #define GL_ARB_point_sprite 1
  7073. #endif
  7074. #ifndef GL_ARB_fragment_program_shadow
  7075. #define GL_ARB_fragment_program_shadow 1
  7076. #endif
  7077. #ifndef GL_ARB_draw_buffers
  7078. #define GL_ARB_draw_buffers 1
  7079. #ifdef GL_GLEXT_PROTOTYPES
  7080. GLAPI void APIENTRY glDrawBuffersARB (GLsizei n, const GLenum *bufs);
  7081. #endif /* GL_GLEXT_PROTOTYPES */
  7082. typedef void (APIENTRYP PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum *bufs);
  7083. #endif
  7084. #ifndef GL_ARB_texture_rectangle
  7085. #define GL_ARB_texture_rectangle 1
  7086. #endif
  7087. #ifndef GL_ARB_color_buffer_float
  7088. #define GL_ARB_color_buffer_float 1
  7089. #ifdef GL_GLEXT_PROTOTYPES
  7090. GLAPI void APIENTRY glClampColorARB (GLenum target, GLenum clamp);
  7091. #endif /* GL_GLEXT_PROTOTYPES */
  7092. typedef void (APIENTRYP PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  7093. #endif
  7094. #ifndef GL_ARB_half_float_pixel
  7095. #define GL_ARB_half_float_pixel 1
  7096. #endif
  7097. #ifndef GL_ARB_texture_float
  7098. #define GL_ARB_texture_float 1
  7099. #endif
  7100. #ifndef GL_ARB_pixel_buffer_object
  7101. #define GL_ARB_pixel_buffer_object 1
  7102. #endif
  7103. #ifndef GL_ARB_depth_buffer_float
  7104. #define GL_ARB_depth_buffer_float 1
  7105. #endif
  7106. #ifndef GL_ARB_draw_instanced
  7107. #define GL_ARB_draw_instanced 1
  7108. #ifdef GL_GLEXT_PROTOTYPES
  7109. GLAPI void APIENTRY glDrawArraysInstancedARB (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  7110. GLAPI void APIENTRY glDrawElementsInstancedARB (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  7111. #endif /* GL_GLEXT_PROTOTYPES */
  7112. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  7113. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  7114. #endif
  7115. #ifndef GL_ARB_framebuffer_object
  7116. #define GL_ARB_framebuffer_object 1
  7117. #ifdef GL_GLEXT_PROTOTYPES
  7118. GLAPI GLboolean APIENTRY glIsRenderbuffer (GLuint renderbuffer);
  7119. GLAPI void APIENTRY glBindRenderbuffer (GLenum target, GLuint renderbuffer);
  7120. GLAPI void APIENTRY glDeleteRenderbuffers (GLsizei n, const GLuint *renderbuffers);
  7121. GLAPI void APIENTRY glGenRenderbuffers (GLsizei n, GLuint *renderbuffers);
  7122. GLAPI void APIENTRY glRenderbufferStorage (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7123. GLAPI void APIENTRY glGetRenderbufferParameteriv (GLenum target, GLenum pname, GLint *params);
  7124. GLAPI GLboolean APIENTRY glIsFramebuffer (GLuint framebuffer);
  7125. GLAPI void APIENTRY glBindFramebuffer (GLenum target, GLuint framebuffer);
  7126. GLAPI void APIENTRY glDeleteFramebuffers (GLsizei n, const GLuint *framebuffers);
  7127. GLAPI void APIENTRY glGenFramebuffers (GLsizei n, GLuint *framebuffers);
  7128. GLAPI GLenum APIENTRY glCheckFramebufferStatus (GLenum target);
  7129. GLAPI void APIENTRY glFramebufferTexture1D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7130. GLAPI void APIENTRY glFramebufferTexture2D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7131. GLAPI void APIENTRY glFramebufferTexture3D (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7132. GLAPI void APIENTRY glFramebufferRenderbuffer (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7133. GLAPI void APIENTRY glGetFramebufferAttachmentParameteriv (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7134. GLAPI void APIENTRY glGenerateMipmap (GLenum target);
  7135. GLAPI void APIENTRY glBlitFramebuffer (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7136. GLAPI void APIENTRY glRenderbufferStorageMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7137. GLAPI void APIENTRY glFramebufferTextureLayer (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7138. #endif /* GL_GLEXT_PROTOTYPES */
  7139. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  7140. typedef void (APIENTRYP PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  7141. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint *renderbuffers);
  7142. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint *renderbuffers);
  7143. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7144. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  7145. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  7146. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  7147. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint *framebuffers);
  7148. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint *framebuffers);
  7149. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  7150. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7151. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7152. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7153. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7154. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  7155. typedef void (APIENTRYP PFNGLGENERATEMIPMAPPROC) (GLenum target);
  7156. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7157. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7158. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7159. #endif
  7160. #ifndef GL_ARB_framebuffer_sRGB
  7161. #define GL_ARB_framebuffer_sRGB 1
  7162. #endif
  7163. #ifndef GL_ARB_geometry_shader4
  7164. #define GL_ARB_geometry_shader4 1
  7165. #ifdef GL_GLEXT_PROTOTYPES
  7166. GLAPI void APIENTRY glProgramParameteriARB (GLuint program, GLenum pname, GLint value);
  7167. GLAPI void APIENTRY glFramebufferTextureARB (GLenum target, GLenum attachment, GLuint texture, GLint level);
  7168. GLAPI void APIENTRY glFramebufferTextureLayerARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7169. GLAPI void APIENTRY glFramebufferTextureFaceARB (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7170. #endif /* GL_GLEXT_PROTOTYPES */
  7171. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  7172. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  7173. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7174. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7175. #endif
  7176. #ifndef GL_ARB_half_float_vertex
  7177. #define GL_ARB_half_float_vertex 1
  7178. #endif
  7179. #ifndef GL_ARB_instanced_arrays
  7180. #define GL_ARB_instanced_arrays 1
  7181. #ifdef GL_GLEXT_PROTOTYPES
  7182. GLAPI void APIENTRY glVertexAttribDivisorARB (GLuint index, GLuint divisor);
  7183. #endif /* GL_GLEXT_PROTOTYPES */
  7184. typedef void (APIENTRYP PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  7185. #endif
  7186. #ifndef GL_ARB_map_buffer_range
  7187. #define GL_ARB_map_buffer_range 1
  7188. #ifdef GL_GLEXT_PROTOTYPES
  7189. GLAPI GLvoid* APIENTRY glMapBufferRange (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  7190. GLAPI void APIENTRY glFlushMappedBufferRange (GLenum target, GLintptr offset, GLsizeiptr length);
  7191. #endif /* GL_GLEXT_PROTOTYPES */
  7192. typedef GLvoid* (APIENTRYP PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  7193. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  7194. #endif
  7195. #ifndef GL_ARB_texture_buffer_object
  7196. #define GL_ARB_texture_buffer_object 1
  7197. #ifdef GL_GLEXT_PROTOTYPES
  7198. GLAPI void APIENTRY glTexBufferARB (GLenum target, GLenum internalformat, GLuint buffer);
  7199. #endif /* GL_GLEXT_PROTOTYPES */
  7200. typedef void (APIENTRYP PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  7201. #endif
  7202. #ifndef GL_ARB_texture_compression_rgtc
  7203. #define GL_ARB_texture_compression_rgtc 1
  7204. #endif
  7205. #ifndef GL_ARB_texture_rg
  7206. #define GL_ARB_texture_rg 1
  7207. #endif
  7208. #ifndef GL_ARB_vertex_array_object
  7209. #define GL_ARB_vertex_array_object 1
  7210. #ifdef GL_GLEXT_PROTOTYPES
  7211. GLAPI void APIENTRY glBindVertexArray (GLuint array);
  7212. GLAPI void APIENTRY glDeleteVertexArrays (GLsizei n, const GLuint *arrays);
  7213. GLAPI void APIENTRY glGenVertexArrays (GLsizei n, GLuint *arrays);
  7214. GLAPI GLboolean APIENTRY glIsVertexArray (GLuint array);
  7215. #endif /* GL_GLEXT_PROTOTYPES */
  7216. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  7217. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint *arrays);
  7218. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint *arrays);
  7219. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYPROC) (GLuint array);
  7220. #endif
  7221. #ifndef GL_ARB_uniform_buffer_object
  7222. #define GL_ARB_uniform_buffer_object 1
  7223. #ifdef GL_GLEXT_PROTOTYPES
  7224. GLAPI void APIENTRY glGetUniformIndices (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
  7225. GLAPI void APIENTRY glGetActiveUniformsiv (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  7226. GLAPI void APIENTRY glGetActiveUniformName (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  7227. GLAPI GLuint APIENTRY glGetUniformBlockIndex (GLuint program, const GLchar *uniformBlockName);
  7228. GLAPI void APIENTRY glGetActiveUniformBlockiv (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  7229. GLAPI void APIENTRY glGetActiveUniformBlockName (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  7230. GLAPI void APIENTRY glUniformBlockBinding (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  7231. #endif /* GL_GLEXT_PROTOTYPES */
  7232. typedef void (APIENTRYP PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const GLchar* const *uniformNames, GLuint *uniformIndices);
  7233. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint *uniformIndices, GLenum pname, GLint *params);
  7234. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformName);
  7235. typedef GLuint (APIENTRYP PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const GLchar *uniformBlockName);
  7236. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint *params);
  7237. typedef void (APIENTRYP PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei *length, GLchar *uniformBlockName);
  7238. typedef void (APIENTRYP PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  7239. #endif
  7240. #ifndef GL_ARB_compatibility
  7241. #define GL_ARB_compatibility 1
  7242. #endif
  7243. #ifndef GL_ARB_copy_buffer
  7244. #define GL_ARB_copy_buffer 1
  7245. #ifdef GL_GLEXT_PROTOTYPES
  7246. GLAPI void APIENTRY glCopyBufferSubData (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  7247. #endif /* GL_GLEXT_PROTOTYPES */
  7248. typedef void (APIENTRYP PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  7249. #endif
  7250. #ifndef GL_ARB_shader_texture_lod
  7251. #define GL_ARB_shader_texture_lod 1
  7252. #endif
  7253. #ifndef GL_ARB_depth_clamp
  7254. #define GL_ARB_depth_clamp 1
  7255. #endif
  7256. #ifndef GL_ARB_draw_elements_base_vertex
  7257. #define GL_ARB_draw_elements_base_vertex 1
  7258. #ifdef GL_GLEXT_PROTOTYPES
  7259. GLAPI void APIENTRY glDrawElementsBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  7260. GLAPI void APIENTRY glDrawRangeElementsBaseVertex (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  7261. GLAPI void APIENTRY glDrawElementsInstancedBaseVertex (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
  7262. GLAPI void APIENTRY glMultiDrawElementsBaseVertex (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
  7263. #endif /* GL_GLEXT_PROTOTYPES */
  7264. typedef void (APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  7265. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices, GLint basevertex);
  7266. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instancecount, GLint basevertex);
  7267. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei drawcount, const GLint *basevertex);
  7268. #endif
  7269. #ifndef GL_ARB_fragment_coord_conventions
  7270. #define GL_ARB_fragment_coord_conventions 1
  7271. #endif
  7272. #ifndef GL_ARB_provoking_vertex
  7273. #define GL_ARB_provoking_vertex 1
  7274. #ifdef GL_GLEXT_PROTOTYPES
  7275. GLAPI void APIENTRY glProvokingVertex (GLenum mode);
  7276. #endif /* GL_GLEXT_PROTOTYPES */
  7277. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  7278. #endif
  7279. #ifndef GL_ARB_seamless_cube_map
  7280. #define GL_ARB_seamless_cube_map 1
  7281. #endif
  7282. #ifndef GL_ARB_sync
  7283. #define GL_ARB_sync 1
  7284. #ifdef GL_GLEXT_PROTOTYPES
  7285. GLAPI GLsync APIENTRY glFenceSync (GLenum condition, GLbitfield flags);
  7286. GLAPI GLboolean APIENTRY glIsSync (GLsync sync);
  7287. GLAPI void APIENTRY glDeleteSync (GLsync sync);
  7288. GLAPI GLenum APIENTRY glClientWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  7289. GLAPI void APIENTRY glWaitSync (GLsync sync, GLbitfield flags, GLuint64 timeout);
  7290. GLAPI void APIENTRY glGetInteger64v (GLenum pname, GLint64 *params);
  7291. GLAPI void APIENTRY glGetSynciv (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  7292. #endif /* GL_GLEXT_PROTOTYPES */
  7293. typedef GLsync (APIENTRYP PFNGLFENCESYNCPROC) (GLenum condition, GLbitfield flags);
  7294. typedef GLboolean (APIENTRYP PFNGLISSYNCPROC) (GLsync sync);
  7295. typedef void (APIENTRYP PFNGLDELETESYNCPROC) (GLsync sync);
  7296. typedef GLenum (APIENTRYP PFNGLCLIENTWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  7297. typedef void (APIENTRYP PFNGLWAITSYNCPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  7298. typedef void (APIENTRYP PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64 *params);
  7299. typedef void (APIENTRYP PFNGLGETSYNCIVPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  7300. #endif
  7301. #ifndef GL_ARB_texture_multisample
  7302. #define GL_ARB_texture_multisample 1
  7303. #ifdef GL_GLEXT_PROTOTYPES
  7304. GLAPI void APIENTRY glTexImage2DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7305. GLAPI void APIENTRY glTexImage3DMultisample (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7306. GLAPI void APIENTRY glGetMultisamplefv (GLenum pname, GLuint index, GLfloat *val);
  7307. GLAPI void APIENTRY glSampleMaski (GLuint index, GLbitfield mask);
  7308. #endif /* GL_GLEXT_PROTOTYPES */
  7309. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  7310. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  7311. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat *val);
  7312. typedef void (APIENTRYP PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
  7313. #endif
  7314. #ifndef GL_ARB_vertex_array_bgra
  7315. #define GL_ARB_vertex_array_bgra 1
  7316. #endif
  7317. #ifndef GL_ARB_draw_buffers_blend
  7318. #define GL_ARB_draw_buffers_blend 1
  7319. #ifdef GL_GLEXT_PROTOTYPES
  7320. GLAPI void APIENTRY glBlendEquationiARB (GLuint buf, GLenum mode);
  7321. GLAPI void APIENTRY glBlendEquationSeparateiARB (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  7322. GLAPI void APIENTRY glBlendFunciARB (GLuint buf, GLenum src, GLenum dst);
  7323. GLAPI void APIENTRY glBlendFuncSeparateiARB (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  7324. #endif /* GL_GLEXT_PROTOTYPES */
  7325. typedef void (APIENTRYP PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  7326. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  7327. typedef void (APIENTRYP PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  7328. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  7329. #endif
  7330. #ifndef GL_ARB_sample_shading
  7331. #define GL_ARB_sample_shading 1
  7332. #ifdef GL_GLEXT_PROTOTYPES
  7333. GLAPI void APIENTRY glMinSampleShadingARB (GLfloat value);
  7334. #endif /* GL_GLEXT_PROTOTYPES */
  7335. typedef void (APIENTRYP PFNGLMINSAMPLESHADINGARBPROC) (GLfloat value);
  7336. #endif
  7337. #ifndef GL_ARB_texture_cube_map_array
  7338. #define GL_ARB_texture_cube_map_array 1
  7339. #endif
  7340. #ifndef GL_ARB_texture_gather
  7341. #define GL_ARB_texture_gather 1
  7342. #endif
  7343. #ifndef GL_ARB_texture_query_lod
  7344. #define GL_ARB_texture_query_lod 1
  7345. #endif
  7346. #ifndef GL_ARB_shading_language_include
  7347. #define GL_ARB_shading_language_include 1
  7348. #ifdef GL_GLEXT_PROTOTYPES
  7349. GLAPI void APIENTRY glNamedStringARB (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  7350. GLAPI void APIENTRY glDeleteNamedStringARB (GLint namelen, const GLchar *name);
  7351. GLAPI void APIENTRY glCompileShaderIncludeARB (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
  7352. GLAPI GLboolean APIENTRY glIsNamedStringARB (GLint namelen, const GLchar *name);
  7353. GLAPI void APIENTRY glGetNamedStringARB (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  7354. GLAPI void APIENTRY glGetNamedStringivARB (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  7355. #endif /* GL_GLEXT_PROTOTYPES */
  7356. typedef void (APIENTRYP PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const GLchar *name, GLint stringlen, const GLchar *string);
  7357. typedef void (APIENTRYP PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  7358. typedef void (APIENTRYP PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const GLchar* *path, const GLint *length);
  7359. typedef GLboolean (APIENTRYP PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name);
  7360. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const GLchar *name, GLsizei bufSize, GLint *stringlen, GLchar *string);
  7361. typedef void (APIENTRYP PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const GLchar *name, GLenum pname, GLint *params);
  7362. #endif
  7363. #ifndef GL_ARB_texture_compression_bptc
  7364. #define GL_ARB_texture_compression_bptc 1
  7365. #endif
  7366. #ifndef GL_ARB_blend_func_extended
  7367. #define GL_ARB_blend_func_extended 1
  7368. #ifdef GL_GLEXT_PROTOTYPES
  7369. GLAPI void APIENTRY glBindFragDataLocationIndexed (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  7370. GLAPI GLint APIENTRY glGetFragDataIndex (GLuint program, const GLchar *name);
  7371. #endif /* GL_GLEXT_PROTOTYPES */
  7372. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  7373. typedef GLint (APIENTRYP PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const GLchar *name);
  7374. #endif
  7375. #ifndef GL_ARB_explicit_attrib_location
  7376. #define GL_ARB_explicit_attrib_location 1
  7377. #endif
  7378. #ifndef GL_ARB_occlusion_query2
  7379. #define GL_ARB_occlusion_query2 1
  7380. #endif
  7381. #ifndef GL_ARB_sampler_objects
  7382. #define GL_ARB_sampler_objects 1
  7383. #ifdef GL_GLEXT_PROTOTYPES
  7384. GLAPI void APIENTRY glGenSamplers (GLsizei count, GLuint *samplers);
  7385. GLAPI void APIENTRY glDeleteSamplers (GLsizei count, const GLuint *samplers);
  7386. GLAPI GLboolean APIENTRY glIsSampler (GLuint sampler);
  7387. GLAPI void APIENTRY glBindSampler (GLuint unit, GLuint sampler);
  7388. GLAPI void APIENTRY glSamplerParameteri (GLuint sampler, GLenum pname, GLint param);
  7389. GLAPI void APIENTRY glSamplerParameteriv (GLuint sampler, GLenum pname, const GLint *param);
  7390. GLAPI void APIENTRY glSamplerParameterf (GLuint sampler, GLenum pname, GLfloat param);
  7391. GLAPI void APIENTRY glSamplerParameterfv (GLuint sampler, GLenum pname, const GLfloat *param);
  7392. GLAPI void APIENTRY glSamplerParameterIiv (GLuint sampler, GLenum pname, const GLint *param);
  7393. GLAPI void APIENTRY glSamplerParameterIuiv (GLuint sampler, GLenum pname, const GLuint *param);
  7394. GLAPI void APIENTRY glGetSamplerParameteriv (GLuint sampler, GLenum pname, GLint *params);
  7395. GLAPI void APIENTRY glGetSamplerParameterIiv (GLuint sampler, GLenum pname, GLint *params);
  7396. GLAPI void APIENTRY glGetSamplerParameterfv (GLuint sampler, GLenum pname, GLfloat *params);
  7397. GLAPI void APIENTRY glGetSamplerParameterIuiv (GLuint sampler, GLenum pname, GLuint *params);
  7398. #endif /* GL_GLEXT_PROTOTYPES */
  7399. typedef void (APIENTRYP PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint *samplers);
  7400. typedef void (APIENTRYP PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint *samplers);
  7401. typedef GLboolean (APIENTRYP PFNGLISSAMPLERPROC) (GLuint sampler);
  7402. typedef void (APIENTRYP PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  7403. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  7404. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  7405. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  7406. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat *param);
  7407. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint *param);
  7408. typedef void (APIENTRYP PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  7409. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  7410. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint *params);
  7411. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat *params);
  7412. typedef void (APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint *params);
  7413. #endif
  7414. #ifndef GL_ARB_shader_bit_encoding
  7415. #define GL_ARB_shader_bit_encoding 1
  7416. #endif
  7417. #ifndef GL_ARB_texture_rgb10_a2ui
  7418. #define GL_ARB_texture_rgb10_a2ui 1
  7419. #endif
  7420. #ifndef GL_ARB_texture_swizzle
  7421. #define GL_ARB_texture_swizzle 1
  7422. #endif
  7423. #ifndef GL_ARB_timer_query
  7424. #define GL_ARB_timer_query 1
  7425. #ifdef GL_GLEXT_PROTOTYPES
  7426. GLAPI void APIENTRY glQueryCounter (GLuint id, GLenum target);
  7427. GLAPI void APIENTRY glGetQueryObjecti64v (GLuint id, GLenum pname, GLint64 *params);
  7428. GLAPI void APIENTRY glGetQueryObjectui64v (GLuint id, GLenum pname, GLuint64 *params);
  7429. #endif /* GL_GLEXT_PROTOTYPES */
  7430. typedef void (APIENTRYP PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  7431. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64 *params);
  7432. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64 *params);
  7433. #endif
  7434. #ifndef GL_ARB_vertex_type_2_10_10_10_rev
  7435. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  7436. #ifdef GL_GLEXT_PROTOTYPES
  7437. GLAPI void APIENTRY glVertexP2ui (GLenum type, GLuint value);
  7438. GLAPI void APIENTRY glVertexP2uiv (GLenum type, const GLuint *value);
  7439. GLAPI void APIENTRY glVertexP3ui (GLenum type, GLuint value);
  7440. GLAPI void APIENTRY glVertexP3uiv (GLenum type, const GLuint *value);
  7441. GLAPI void APIENTRY glVertexP4ui (GLenum type, GLuint value);
  7442. GLAPI void APIENTRY glVertexP4uiv (GLenum type, const GLuint *value);
  7443. GLAPI void APIENTRY glTexCoordP1ui (GLenum type, GLuint coords);
  7444. GLAPI void APIENTRY glTexCoordP1uiv (GLenum type, const GLuint *coords);
  7445. GLAPI void APIENTRY glTexCoordP2ui (GLenum type, GLuint coords);
  7446. GLAPI void APIENTRY glTexCoordP2uiv (GLenum type, const GLuint *coords);
  7447. GLAPI void APIENTRY glTexCoordP3ui (GLenum type, GLuint coords);
  7448. GLAPI void APIENTRY glTexCoordP3uiv (GLenum type, const GLuint *coords);
  7449. GLAPI void APIENTRY glTexCoordP4ui (GLenum type, GLuint coords);
  7450. GLAPI void APIENTRY glTexCoordP4uiv (GLenum type, const GLuint *coords);
  7451. GLAPI void APIENTRY glMultiTexCoordP1ui (GLenum texture, GLenum type, GLuint coords);
  7452. GLAPI void APIENTRY glMultiTexCoordP1uiv (GLenum texture, GLenum type, const GLuint *coords);
  7453. GLAPI void APIENTRY glMultiTexCoordP2ui (GLenum texture, GLenum type, GLuint coords);
  7454. GLAPI void APIENTRY glMultiTexCoordP2uiv (GLenum texture, GLenum type, const GLuint *coords);
  7455. GLAPI void APIENTRY glMultiTexCoordP3ui (GLenum texture, GLenum type, GLuint coords);
  7456. GLAPI void APIENTRY glMultiTexCoordP3uiv (GLenum texture, GLenum type, const GLuint *coords);
  7457. GLAPI void APIENTRY glMultiTexCoordP4ui (GLenum texture, GLenum type, GLuint coords);
  7458. GLAPI void APIENTRY glMultiTexCoordP4uiv (GLenum texture, GLenum type, const GLuint *coords);
  7459. GLAPI void APIENTRY glNormalP3ui (GLenum type, GLuint coords);
  7460. GLAPI void APIENTRY glNormalP3uiv (GLenum type, const GLuint *coords);
  7461. GLAPI void APIENTRY glColorP3ui (GLenum type, GLuint color);
  7462. GLAPI void APIENTRY glColorP3uiv (GLenum type, const GLuint *color);
  7463. GLAPI void APIENTRY glColorP4ui (GLenum type, GLuint color);
  7464. GLAPI void APIENTRY glColorP4uiv (GLenum type, const GLuint *color);
  7465. GLAPI void APIENTRY glSecondaryColorP3ui (GLenum type, GLuint color);
  7466. GLAPI void APIENTRY glSecondaryColorP3uiv (GLenum type, const GLuint *color);
  7467. GLAPI void APIENTRY glVertexAttribP1ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7468. GLAPI void APIENTRY glVertexAttribP1uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7469. GLAPI void APIENTRY glVertexAttribP2ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7470. GLAPI void APIENTRY glVertexAttribP2uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7471. GLAPI void APIENTRY glVertexAttribP3ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7472. GLAPI void APIENTRY glVertexAttribP3uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7473. GLAPI void APIENTRY glVertexAttribP4ui (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7474. GLAPI void APIENTRY glVertexAttribP4uiv (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7475. #endif /* GL_GLEXT_PROTOTYPES */
  7476. typedef void (APIENTRYP PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  7477. typedef void (APIENTRYP PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint *value);
  7478. typedef void (APIENTRYP PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  7479. typedef void (APIENTRYP PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint *value);
  7480. typedef void (APIENTRYP PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  7481. typedef void (APIENTRYP PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint *value);
  7482. typedef void (APIENTRYP PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  7483. typedef void (APIENTRYP PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint *coords);
  7484. typedef void (APIENTRYP PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  7485. typedef void (APIENTRYP PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint *coords);
  7486. typedef void (APIENTRYP PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  7487. typedef void (APIENTRYP PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint *coords);
  7488. typedef void (APIENTRYP PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  7489. typedef void (APIENTRYP PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint *coords);
  7490. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  7491. typedef void (APIENTRYP PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  7492. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  7493. typedef void (APIENTRYP PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  7494. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  7495. typedef void (APIENTRYP PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  7496. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  7497. typedef void (APIENTRYP PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint *coords);
  7498. typedef void (APIENTRYP PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  7499. typedef void (APIENTRYP PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint *coords);
  7500. typedef void (APIENTRYP PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  7501. typedef void (APIENTRYP PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  7502. typedef void (APIENTRYP PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  7503. typedef void (APIENTRYP PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint *color);
  7504. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  7505. typedef void (APIENTRYP PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint *color);
  7506. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7507. typedef void (APIENTRYP PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7508. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7509. typedef void (APIENTRYP PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7510. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7511. typedef void (APIENTRYP PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7512. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  7513. typedef void (APIENTRYP PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint *value);
  7514. #endif
  7515. #ifndef GL_ARB_draw_indirect
  7516. #define GL_ARB_draw_indirect 1
  7517. #ifdef GL_GLEXT_PROTOTYPES
  7518. GLAPI void APIENTRY glDrawArraysIndirect (GLenum mode, const GLvoid *indirect);
  7519. GLAPI void APIENTRY glDrawElementsIndirect (GLenum mode, GLenum type, const GLvoid *indirect);
  7520. #endif /* GL_GLEXT_PROTOTYPES */
  7521. typedef void (APIENTRYP PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const GLvoid *indirect);
  7522. typedef void (APIENTRYP PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const GLvoid *indirect);
  7523. #endif
  7524. #ifndef GL_ARB_gpu_shader5
  7525. #define GL_ARB_gpu_shader5 1
  7526. #endif
  7527. #ifndef GL_ARB_gpu_shader_fp64
  7528. #define GL_ARB_gpu_shader_fp64 1
  7529. #ifdef GL_GLEXT_PROTOTYPES
  7530. GLAPI void APIENTRY glUniform1d (GLint location, GLdouble x);
  7531. GLAPI void APIENTRY glUniform2d (GLint location, GLdouble x, GLdouble y);
  7532. GLAPI void APIENTRY glUniform3d (GLint location, GLdouble x, GLdouble y, GLdouble z);
  7533. GLAPI void APIENTRY glUniform4d (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7534. GLAPI void APIENTRY glUniform1dv (GLint location, GLsizei count, const GLdouble *value);
  7535. GLAPI void APIENTRY glUniform2dv (GLint location, GLsizei count, const GLdouble *value);
  7536. GLAPI void APIENTRY glUniform3dv (GLint location, GLsizei count, const GLdouble *value);
  7537. GLAPI void APIENTRY glUniform4dv (GLint location, GLsizei count, const GLdouble *value);
  7538. GLAPI void APIENTRY glUniformMatrix2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7539. GLAPI void APIENTRY glUniformMatrix3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7540. GLAPI void APIENTRY glUniformMatrix4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7541. GLAPI void APIENTRY glUniformMatrix2x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7542. GLAPI void APIENTRY glUniformMatrix2x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7543. GLAPI void APIENTRY glUniformMatrix3x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7544. GLAPI void APIENTRY glUniformMatrix3x4dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7545. GLAPI void APIENTRY glUniformMatrix4x2dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7546. GLAPI void APIENTRY glUniformMatrix4x3dv (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7547. GLAPI void APIENTRY glGetUniformdv (GLuint program, GLint location, GLdouble *params);
  7548. #endif /* GL_GLEXT_PROTOTYPES */
  7549. typedef void (APIENTRYP PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  7550. typedef void (APIENTRYP PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  7551. typedef void (APIENTRYP PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  7552. typedef void (APIENTRYP PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7553. typedef void (APIENTRYP PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  7554. typedef void (APIENTRYP PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  7555. typedef void (APIENTRYP PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  7556. typedef void (APIENTRYP PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble *value);
  7557. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7558. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7559. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7560. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7561. typedef void (APIENTRYP PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7562. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7563. typedef void (APIENTRYP PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7564. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7565. typedef void (APIENTRYP PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7566. typedef void (APIENTRYP PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble *params);
  7567. #endif
  7568. #ifndef GL_ARB_shader_subroutine
  7569. #define GL_ARB_shader_subroutine 1
  7570. #ifdef GL_GLEXT_PROTOTYPES
  7571. GLAPI GLint APIENTRY glGetSubroutineUniformLocation (GLuint program, GLenum shadertype, const GLchar *name);
  7572. GLAPI GLuint APIENTRY glGetSubroutineIndex (GLuint program, GLenum shadertype, const GLchar *name);
  7573. GLAPI void APIENTRY glGetActiveSubroutineUniformiv (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  7574. GLAPI void APIENTRY glGetActiveSubroutineUniformName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  7575. GLAPI void APIENTRY glGetActiveSubroutineName (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  7576. GLAPI void APIENTRY glUniformSubroutinesuiv (GLenum shadertype, GLsizei count, const GLuint *indices);
  7577. GLAPI void APIENTRY glGetUniformSubroutineuiv (GLenum shadertype, GLint location, GLuint *params);
  7578. GLAPI void APIENTRY glGetProgramStageiv (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  7579. #endif /* GL_GLEXT_PROTOTYPES */
  7580. typedef GLint (APIENTRYP PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  7581. typedef GLuint (APIENTRYP PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const GLchar *name);
  7582. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint *values);
  7583. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  7584. typedef void (APIENTRYP PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei *length, GLchar *name);
  7585. typedef void (APIENTRYP PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint *indices);
  7586. typedef void (APIENTRYP PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint *params);
  7587. typedef void (APIENTRYP PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint *values);
  7588. #endif
  7589. #ifndef GL_ARB_tessellation_shader
  7590. #define GL_ARB_tessellation_shader 1
  7591. #ifdef GL_GLEXT_PROTOTYPES
  7592. GLAPI void APIENTRY glPatchParameteri (GLenum pname, GLint value);
  7593. GLAPI void APIENTRY glPatchParameterfv (GLenum pname, const GLfloat *values);
  7594. #endif /* GL_GLEXT_PROTOTYPES */
  7595. typedef void (APIENTRYP PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  7596. typedef void (APIENTRYP PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat *values);
  7597. #endif
  7598. #ifndef GL_ARB_texture_buffer_object_rgb32
  7599. #define GL_ARB_texture_buffer_object_rgb32 1
  7600. #endif
  7601. #ifndef GL_ARB_transform_feedback2
  7602. #define GL_ARB_transform_feedback2 1
  7603. #ifdef GL_GLEXT_PROTOTYPES
  7604. GLAPI void APIENTRY glBindTransformFeedback (GLenum target, GLuint id);
  7605. GLAPI void APIENTRY glDeleteTransformFeedbacks (GLsizei n, const GLuint *ids);
  7606. GLAPI void APIENTRY glGenTransformFeedbacks (GLsizei n, GLuint *ids);
  7607. GLAPI GLboolean APIENTRY glIsTransformFeedback (GLuint id);
  7608. GLAPI void APIENTRY glPauseTransformFeedback (void);
  7609. GLAPI void APIENTRY glResumeTransformFeedback (void);
  7610. GLAPI void APIENTRY glDrawTransformFeedback (GLenum mode, GLuint id);
  7611. #endif /* GL_GLEXT_PROTOTYPES */
  7612. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  7613. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint *ids);
  7614. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint *ids);
  7615. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  7616. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  7617. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  7618. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  7619. #endif
  7620. #ifndef GL_ARB_transform_feedback3
  7621. #define GL_ARB_transform_feedback3 1
  7622. #ifdef GL_GLEXT_PROTOTYPES
  7623. GLAPI void APIENTRY glDrawTransformFeedbackStream (GLenum mode, GLuint id, GLuint stream);
  7624. GLAPI void APIENTRY glBeginQueryIndexed (GLenum target, GLuint index, GLuint id);
  7625. GLAPI void APIENTRY glEndQueryIndexed (GLenum target, GLuint index);
  7626. GLAPI void APIENTRY glGetQueryIndexediv (GLenum target, GLuint index, GLenum pname, GLint *params);
  7627. #endif /* GL_GLEXT_PROTOTYPES */
  7628. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  7629. typedef void (APIENTRYP PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  7630. typedef void (APIENTRYP PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  7631. typedef void (APIENTRYP PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  7632. #endif
  7633. #ifndef GL_ARB_ES2_compatibility
  7634. #define GL_ARB_ES2_compatibility 1
  7635. #ifdef GL_GLEXT_PROTOTYPES
  7636. GLAPI void APIENTRY glReleaseShaderCompiler (void);
  7637. GLAPI void APIENTRY glShaderBinary (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
  7638. GLAPI void APIENTRY glGetShaderPrecisionFormat (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  7639. GLAPI void APIENTRY glDepthRangef (GLfloat n, GLfloat f);
  7640. GLAPI void APIENTRY glClearDepthf (GLfloat d);
  7641. #endif /* GL_GLEXT_PROTOTYPES */
  7642. typedef void (APIENTRYP PFNGLRELEASESHADERCOMPILERPROC) (void);
  7643. typedef void (APIENTRYP PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint *shaders, GLenum binaryformat, const GLvoid *binary, GLsizei length);
  7644. typedef void (APIENTRYP PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint *range, GLint *precision);
  7645. typedef void (APIENTRYP PFNGLDEPTHRANGEFPROC) (GLfloat n, GLfloat f);
  7646. typedef void (APIENTRYP PFNGLCLEARDEPTHFPROC) (GLfloat d);
  7647. #endif
  7648. #ifndef GL_ARB_get_program_binary
  7649. #define GL_ARB_get_program_binary 1
  7650. #ifdef GL_GLEXT_PROTOTYPES
  7651. GLAPI void APIENTRY glGetProgramBinary (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
  7652. GLAPI void APIENTRY glProgramBinary (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
  7653. GLAPI void APIENTRY glProgramParameteri (GLuint program, GLenum pname, GLint value);
  7654. #endif /* GL_GLEXT_PROTOTYPES */
  7655. typedef void (APIENTRYP PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, GLvoid *binary);
  7656. typedef void (APIENTRYP PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const GLvoid *binary, GLsizei length);
  7657. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  7658. #endif
  7659. #ifndef GL_ARB_separate_shader_objects
  7660. #define GL_ARB_separate_shader_objects 1
  7661. #ifdef GL_GLEXT_PROTOTYPES
  7662. GLAPI void APIENTRY glUseProgramStages (GLuint pipeline, GLbitfield stages, GLuint program);
  7663. GLAPI void APIENTRY glActiveShaderProgram (GLuint pipeline, GLuint program);
  7664. GLAPI GLuint APIENTRY glCreateShaderProgramv (GLenum type, GLsizei count, const GLchar* const *strings);
  7665. GLAPI void APIENTRY glBindProgramPipeline (GLuint pipeline);
  7666. GLAPI void APIENTRY glDeleteProgramPipelines (GLsizei n, const GLuint *pipelines);
  7667. GLAPI void APIENTRY glGenProgramPipelines (GLsizei n, GLuint *pipelines);
  7668. GLAPI GLboolean APIENTRY glIsProgramPipeline (GLuint pipeline);
  7669. GLAPI void APIENTRY glGetProgramPipelineiv (GLuint pipeline, GLenum pname, GLint *params);
  7670. GLAPI void APIENTRY glProgramUniform1i (GLuint program, GLint location, GLint v0);
  7671. GLAPI void APIENTRY glProgramUniform1iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  7672. GLAPI void APIENTRY glProgramUniform1f (GLuint program, GLint location, GLfloat v0);
  7673. GLAPI void APIENTRY glProgramUniform1fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7674. GLAPI void APIENTRY glProgramUniform1d (GLuint program, GLint location, GLdouble v0);
  7675. GLAPI void APIENTRY glProgramUniform1dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7676. GLAPI void APIENTRY glProgramUniform1ui (GLuint program, GLint location, GLuint v0);
  7677. GLAPI void APIENTRY glProgramUniform1uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7678. GLAPI void APIENTRY glProgramUniform2i (GLuint program, GLint location, GLint v0, GLint v1);
  7679. GLAPI void APIENTRY glProgramUniform2iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  7680. GLAPI void APIENTRY glProgramUniform2f (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  7681. GLAPI void APIENTRY glProgramUniform2fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7682. GLAPI void APIENTRY glProgramUniform2d (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  7683. GLAPI void APIENTRY glProgramUniform2dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7684. GLAPI void APIENTRY glProgramUniform2ui (GLuint program, GLint location, GLuint v0, GLuint v1);
  7685. GLAPI void APIENTRY glProgramUniform2uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7686. GLAPI void APIENTRY glProgramUniform3i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  7687. GLAPI void APIENTRY glProgramUniform3iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  7688. GLAPI void APIENTRY glProgramUniform3f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7689. GLAPI void APIENTRY glProgramUniform3fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7690. GLAPI void APIENTRY glProgramUniform3d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  7691. GLAPI void APIENTRY glProgramUniform3dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7692. GLAPI void APIENTRY glProgramUniform3ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  7693. GLAPI void APIENTRY glProgramUniform3uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7694. GLAPI void APIENTRY glProgramUniform4i (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7695. GLAPI void APIENTRY glProgramUniform4iv (GLuint program, GLint location, GLsizei count, const GLint *value);
  7696. GLAPI void APIENTRY glProgramUniform4f (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7697. GLAPI void APIENTRY glProgramUniform4fv (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7698. GLAPI void APIENTRY glProgramUniform4d (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  7699. GLAPI void APIENTRY glProgramUniform4dv (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7700. GLAPI void APIENTRY glProgramUniform4ui (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7701. GLAPI void APIENTRY glProgramUniform4uiv (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7702. GLAPI void APIENTRY glProgramUniformMatrix2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7703. GLAPI void APIENTRY glProgramUniformMatrix3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7704. GLAPI void APIENTRY glProgramUniformMatrix4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7705. GLAPI void APIENTRY glProgramUniformMatrix2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7706. GLAPI void APIENTRY glProgramUniformMatrix3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7707. GLAPI void APIENTRY glProgramUniformMatrix4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7708. GLAPI void APIENTRY glProgramUniformMatrix2x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7709. GLAPI void APIENTRY glProgramUniformMatrix3x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7710. GLAPI void APIENTRY glProgramUniformMatrix2x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7711. GLAPI void APIENTRY glProgramUniformMatrix4x2fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7712. GLAPI void APIENTRY glProgramUniformMatrix3x4fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7713. GLAPI void APIENTRY glProgramUniformMatrix4x3fv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7714. GLAPI void APIENTRY glProgramUniformMatrix2x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7715. GLAPI void APIENTRY glProgramUniformMatrix3x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7716. GLAPI void APIENTRY glProgramUniformMatrix2x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7717. GLAPI void APIENTRY glProgramUniformMatrix4x2dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7718. GLAPI void APIENTRY glProgramUniformMatrix3x4dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7719. GLAPI void APIENTRY glProgramUniformMatrix4x3dv (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7720. GLAPI void APIENTRY glValidateProgramPipeline (GLuint pipeline);
  7721. GLAPI void APIENTRY glGetProgramPipelineInfoLog (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  7722. #endif /* GL_GLEXT_PROTOTYPES */
  7723. typedef void (APIENTRYP PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  7724. typedef void (APIENTRYP PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  7725. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const GLchar* const *strings);
  7726. typedef void (APIENTRYP PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  7727. typedef void (APIENTRYP PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint *pipelines);
  7728. typedef void (APIENTRYP PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint *pipelines);
  7729. typedef GLboolean (APIENTRYP PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  7730. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint *params);
  7731. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint v0);
  7732. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  7733. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat v0);
  7734. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7735. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble v0);
  7736. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7737. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint v0);
  7738. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7739. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  7740. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  7741. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  7742. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7743. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1);
  7744. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7745. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  7746. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7747. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  7748. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  7749. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7750. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7751. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2);
  7752. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7753. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  7754. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7755. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7756. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  7757. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7758. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  7759. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble v0, GLdouble v1, GLdouble v2, GLdouble v3);
  7760. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  7761. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7762. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  7763. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7764. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7765. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7766. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7767. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7768. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7769. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7770. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7771. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7772. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7773. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7774. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  7775. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7776. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7777. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7778. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7779. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7780. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  7781. typedef void (APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  7782. typedef void (APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  7783. #endif
  7784. #ifndef GL_ARB_vertex_attrib_64bit
  7785. #define GL_ARB_vertex_attrib_64bit 1
  7786. #ifdef GL_GLEXT_PROTOTYPES
  7787. GLAPI void APIENTRY glVertexAttribL1d (GLuint index, GLdouble x);
  7788. GLAPI void APIENTRY glVertexAttribL2d (GLuint index, GLdouble x, GLdouble y);
  7789. GLAPI void APIENTRY glVertexAttribL3d (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7790. GLAPI void APIENTRY glVertexAttribL4d (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7791. GLAPI void APIENTRY glVertexAttribL1dv (GLuint index, const GLdouble *v);
  7792. GLAPI void APIENTRY glVertexAttribL2dv (GLuint index, const GLdouble *v);
  7793. GLAPI void APIENTRY glVertexAttribL3dv (GLuint index, const GLdouble *v);
  7794. GLAPI void APIENTRY glVertexAttribL4dv (GLuint index, const GLdouble *v);
  7795. GLAPI void APIENTRY glVertexAttribLPointer (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7796. GLAPI void APIENTRY glGetVertexAttribLdv (GLuint index, GLenum pname, GLdouble *params);
  7797. #endif /* GL_GLEXT_PROTOTYPES */
  7798. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  7799. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  7800. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  7801. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7802. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble *v);
  7803. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble *v);
  7804. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble *v);
  7805. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble *v);
  7806. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7807. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble *params);
  7808. #endif
  7809. #ifndef GL_ARB_viewport_array
  7810. #define GL_ARB_viewport_array 1
  7811. #ifdef GL_GLEXT_PROTOTYPES
  7812. GLAPI void APIENTRY glViewportArrayv (GLuint first, GLsizei count, const GLfloat *v);
  7813. GLAPI void APIENTRY glViewportIndexedf (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  7814. GLAPI void APIENTRY glViewportIndexedfv (GLuint index, const GLfloat *v);
  7815. GLAPI void APIENTRY glScissorArrayv (GLuint first, GLsizei count, const GLint *v);
  7816. GLAPI void APIENTRY glScissorIndexed (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  7817. GLAPI void APIENTRY glScissorIndexedv (GLuint index, const GLint *v);
  7818. GLAPI void APIENTRY glDepthRangeArrayv (GLuint first, GLsizei count, const GLdouble *v);
  7819. GLAPI void APIENTRY glDepthRangeIndexed (GLuint index, GLdouble n, GLdouble f);
  7820. GLAPI void APIENTRY glGetFloati_v (GLenum target, GLuint index, GLfloat *data);
  7821. GLAPI void APIENTRY glGetDoublei_v (GLenum target, GLuint index, GLdouble *data);
  7822. #endif /* GL_GLEXT_PROTOTYPES */
  7823. typedef void (APIENTRYP PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  7824. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  7825. typedef void (APIENTRYP PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat *v);
  7826. typedef void (APIENTRYP PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint *v);
  7827. typedef void (APIENTRYP PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  7828. typedef void (APIENTRYP PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint *v);
  7829. typedef void (APIENTRYP PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLdouble *v);
  7830. typedef void (APIENTRYP PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLdouble n, GLdouble f);
  7831. typedef void (APIENTRYP PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat *data);
  7832. typedef void (APIENTRYP PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble *data);
  7833. #endif
  7834. #ifndef GL_ARB_cl_event
  7835. #define GL_ARB_cl_event 1
  7836. #ifdef GL_GLEXT_PROTOTYPES
  7837. GLAPI GLsync APIENTRY glCreateSyncFromCLeventARB (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
  7838. #endif /* GL_GLEXT_PROTOTYPES */
  7839. typedef GLsync (APIENTRYP PFNGLCREATESYNCFROMCLEVENTARBPROC) (struct _cl_context * context, struct _cl_event * event, GLbitfield flags);
  7840. #endif
  7841. #ifndef GL_ARB_debug_output
  7842. #define GL_ARB_debug_output 1
  7843. #ifdef GL_GLEXT_PROTOTYPES
  7844. GLAPI void APIENTRY glDebugMessageControlARB (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  7845. GLAPI void APIENTRY glDebugMessageInsertARB (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  7846. GLAPI void APIENTRY glDebugMessageCallbackARB (GLDEBUGPROCARB callback, const GLvoid *userParam);
  7847. GLAPI GLuint APIENTRY glGetDebugMessageLogARB (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  7848. #endif /* GL_GLEXT_PROTOTYPES */
  7849. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  7850. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  7851. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, const GLvoid *userParam);
  7852. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  7853. #endif
  7854. #ifndef GL_ARB_robustness
  7855. #define GL_ARB_robustness 1
  7856. #ifdef GL_GLEXT_PROTOTYPES
  7857. GLAPI GLenum APIENTRY glGetGraphicsResetStatusARB (void);
  7858. GLAPI void APIENTRY glGetnMapdvARB (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  7859. GLAPI void APIENTRY glGetnMapfvARB (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  7860. GLAPI void APIENTRY glGetnMapivARB (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  7861. GLAPI void APIENTRY glGetnPixelMapfvARB (GLenum map, GLsizei bufSize, GLfloat *values);
  7862. GLAPI void APIENTRY glGetnPixelMapuivARB (GLenum map, GLsizei bufSize, GLuint *values);
  7863. GLAPI void APIENTRY glGetnPixelMapusvARB (GLenum map, GLsizei bufSize, GLushort *values);
  7864. GLAPI void APIENTRY glGetnPolygonStippleARB (GLsizei bufSize, GLubyte *pattern);
  7865. GLAPI void APIENTRY glGetnColorTableARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
  7866. GLAPI void APIENTRY glGetnConvolutionFilterARB (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
  7867. GLAPI void APIENTRY glGetnSeparableFilterARB (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
  7868. GLAPI void APIENTRY glGetnHistogramARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  7869. GLAPI void APIENTRY glGetnMinmaxARB (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  7870. GLAPI void APIENTRY glGetnTexImageARB (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
  7871. GLAPI void APIENTRY glReadnPixelsARB (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
  7872. GLAPI void APIENTRY glGetnCompressedTexImageARB (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
  7873. GLAPI void APIENTRY glGetnUniformfvARB (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  7874. GLAPI void APIENTRY glGetnUniformivARB (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  7875. GLAPI void APIENTRY glGetnUniformuivARB (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  7876. GLAPI void APIENTRY glGetnUniformdvARB (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  7877. #endif /* GL_GLEXT_PROTOTYPES */
  7878. typedef GLenum (APIENTRYP PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  7879. typedef void (APIENTRYP PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble *v);
  7880. typedef void (APIENTRYP PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat *v);
  7881. typedef void (APIENTRYP PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint *v);
  7882. typedef void (APIENTRYP PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat *values);
  7883. typedef void (APIENTRYP PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint *values);
  7884. typedef void (APIENTRYP PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort *values);
  7885. typedef void (APIENTRYP PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte *pattern);
  7886. typedef void (APIENTRYP PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *table);
  7887. typedef void (APIENTRYP PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, GLvoid *image);
  7888. typedef void (APIENTRYP PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, GLvoid *row, GLsizei columnBufSize, GLvoid *column, GLvoid *span);
  7889. typedef void (APIENTRYP PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  7890. typedef void (APIENTRYP PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, GLvoid *values);
  7891. typedef void (APIENTRYP PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, GLvoid *img);
  7892. typedef void (APIENTRYP PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, GLvoid *data);
  7893. typedef void (APIENTRYP PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, GLvoid *img);
  7894. typedef void (APIENTRYP PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  7895. typedef void (APIENTRYP PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  7896. typedef void (APIENTRYP PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  7897. typedef void (APIENTRYP PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble *params);
  7898. #endif
  7899. #ifndef GL_ARB_shader_stencil_export
  7900. #define GL_ARB_shader_stencil_export 1
  7901. #endif
  7902. #ifndef GL_ARB_base_instance
  7903. #define GL_ARB_base_instance 1
  7904. #ifdef GL_GLEXT_PROTOTYPES
  7905. GLAPI void APIENTRY glDrawArraysInstancedBaseInstance (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  7906. GLAPI void APIENTRY glDrawElementsInstancedBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  7907. GLAPI void APIENTRY glDrawElementsInstancedBaseVertexBaseInstance (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  7908. #endif /* GL_GLEXT_PROTOTYPES */
  7909. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  7910. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  7911. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  7912. #endif
  7913. #ifndef GL_ARB_shading_language_420pack
  7914. #define GL_ARB_shading_language_420pack 1
  7915. #endif
  7916. #ifndef GL_ARB_transform_feedback_instanced
  7917. #define GL_ARB_transform_feedback_instanced 1
  7918. #ifdef GL_GLEXT_PROTOTYPES
  7919. GLAPI void APIENTRY glDrawTransformFeedbackInstanced (GLenum mode, GLuint id, GLsizei instancecount);
  7920. GLAPI void APIENTRY glDrawTransformFeedbackStreamInstanced (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  7921. #endif /* GL_GLEXT_PROTOTYPES */
  7922. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  7923. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei instancecount);
  7924. #endif
  7925. #ifndef GL_ARB_compressed_texture_pixel_storage
  7926. #define GL_ARB_compressed_texture_pixel_storage 1
  7927. #endif
  7928. #ifndef GL_ARB_conservative_depth
  7929. #define GL_ARB_conservative_depth 1
  7930. #endif
  7931. #ifndef GL_ARB_internalformat_query
  7932. #define GL_ARB_internalformat_query 1
  7933. #ifdef GL_GLEXT_PROTOTYPES
  7934. GLAPI void APIENTRY glGetInternalformativ (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  7935. #endif /* GL_GLEXT_PROTOTYPES */
  7936. typedef void (APIENTRYP PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint *params);
  7937. #endif
  7938. #ifndef GL_ARB_map_buffer_alignment
  7939. #define GL_ARB_map_buffer_alignment 1
  7940. #endif
  7941. #ifndef GL_ARB_shader_atomic_counters
  7942. #define GL_ARB_shader_atomic_counters 1
  7943. #ifdef GL_GLEXT_PROTOTYPES
  7944. GLAPI void APIENTRY glGetActiveAtomicCounterBufferiv (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  7945. #endif /* GL_GLEXT_PROTOTYPES */
  7946. typedef void (APIENTRYP PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint *params);
  7947. #endif
  7948. #ifndef GL_ARB_shader_image_load_store
  7949. #define GL_ARB_shader_image_load_store 1
  7950. #ifdef GL_GLEXT_PROTOTYPES
  7951. GLAPI void APIENTRY glBindImageTexture (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  7952. GLAPI void APIENTRY glMemoryBarrier (GLbitfield barriers);
  7953. #endif /* GL_GLEXT_PROTOTYPES */
  7954. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  7955. typedef void (APIENTRYP PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  7956. #endif
  7957. #ifndef GL_ARB_shading_language_packing
  7958. #define GL_ARB_shading_language_packing 1
  7959. #endif
  7960. #ifndef GL_ARB_texture_storage
  7961. #define GL_ARB_texture_storage 1
  7962. #ifdef GL_GLEXT_PROTOTYPES
  7963. GLAPI void APIENTRY glTexStorage1D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7964. GLAPI void APIENTRY glTexStorage2D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7965. GLAPI void APIENTRY glTexStorage3D (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7966. GLAPI void APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7967. GLAPI void APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7968. GLAPI void APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7969. #endif /* GL_GLEXT_PROTOTYPES */
  7970. typedef void (APIENTRYP PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7971. typedef void (APIENTRYP PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7972. typedef void (APIENTRYP PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7973. typedef void (APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  7974. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  7975. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  7976. #endif
  7977. #ifndef GL_KHR_texture_compression_astc_ldr
  7978. #define GL_KHR_texture_compression_astc_ldr 1
  7979. #endif
  7980. #ifndef GL_KHR_debug
  7981. #define GL_KHR_debug 1
  7982. #ifdef GL_GLEXT_PROTOTYPES
  7983. GLAPI void APIENTRY glDebugMessageControl (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  7984. GLAPI void APIENTRY glDebugMessageInsert (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  7985. GLAPI void APIENTRY glDebugMessageCallback (GLDEBUGPROC callback, const void *userParam);
  7986. GLAPI GLuint APIENTRY glGetDebugMessageLog (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  7987. GLAPI void APIENTRY glPushDebugGroup (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  7988. GLAPI void APIENTRY glPopDebugGroup (void);
  7989. GLAPI void APIENTRY glObjectLabel (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  7990. GLAPI void APIENTRY glGetObjectLabel (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  7991. GLAPI void APIENTRY glObjectPtrLabel (const void *ptr, GLsizei length, const GLchar *label);
  7992. GLAPI void APIENTRY glGetObjectPtrLabel (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  7993. #endif /* GL_GLEXT_PROTOTYPES */
  7994. typedef void (APIENTRYP PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  7995. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  7996. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, const void *userParam);
  7997. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  7998. typedef void (APIENTRYP PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  7999. typedef void (APIENTRYP PFNGLPOPDEBUGGROUPPROC) (void);
  8000. typedef void (APIENTRYP PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  8001. typedef void (APIENTRYP PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  8002. typedef void (APIENTRYP PFNGLOBJECTPTRLABELPROC) (const void *ptr, GLsizei length, const GLchar *label);
  8003. typedef void (APIENTRYP PFNGLGETOBJECTPTRLABELPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  8004. #endif
  8005. #ifndef GL_ARB_arrays_of_arrays
  8006. #define GL_ARB_arrays_of_arrays 1
  8007. #endif
  8008. #ifndef GL_ARB_clear_buffer_object
  8009. #define GL_ARB_clear_buffer_object 1
  8010. #ifdef GL_GLEXT_PROTOTYPES
  8011. GLAPI void APIENTRY glClearBufferData (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  8012. GLAPI void APIENTRY glClearBufferSubData (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  8013. GLAPI void APIENTRY glClearNamedBufferDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  8014. GLAPI void APIENTRY glClearNamedBufferSubDataEXT (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data);
  8015. #endif /* GL_GLEXT_PROTOTYPES */
  8016. typedef void (APIENTRYP PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const void *data);
  8017. typedef void (APIENTRYP PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const void *data);
  8018. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const void *data);
  8019. typedef void (APIENTRYP PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, GLsizeiptr offset, GLsizeiptr size, const void *data);
  8020. #endif
  8021. #ifndef GL_ARB_compute_shader
  8022. #define GL_ARB_compute_shader 1
  8023. #ifdef GL_GLEXT_PROTOTYPES
  8024. GLAPI void APIENTRY glDispatchCompute (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  8025. GLAPI void APIENTRY glDispatchComputeIndirect (GLintptr indirect);
  8026. #endif /* GL_GLEXT_PROTOTYPES */
  8027. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  8028. typedef void (APIENTRYP PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  8029. #endif
  8030. #ifndef GL_ARB_copy_image
  8031. #define GL_ARB_copy_image 1
  8032. #ifdef GL_GLEXT_PROTOTYPES
  8033. 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);
  8034. #endif /* GL_GLEXT_PROTOTYPES */
  8035. 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);
  8036. #endif
  8037. #ifndef GL_ARB_texture_view
  8038. #define GL_ARB_texture_view 1
  8039. #ifdef GL_GLEXT_PROTOTYPES
  8040. GLAPI void APIENTRY glTextureView (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  8041. #endif /* GL_GLEXT_PROTOTYPES */
  8042. typedef void (APIENTRYP PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  8043. #endif
  8044. #ifndef GL_ARB_vertex_attrib_binding
  8045. #define GL_ARB_vertex_attrib_binding 1
  8046. #ifdef GL_GLEXT_PROTOTYPES
  8047. GLAPI void APIENTRY glBindVertexBuffer (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  8048. GLAPI void APIENTRY glVertexAttribFormat (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  8049. GLAPI void APIENTRY glVertexAttribIFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8050. GLAPI void APIENTRY glVertexAttribLFormat (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8051. GLAPI void APIENTRY glVertexAttribBinding (GLuint attribindex, GLuint bindingindex);
  8052. GLAPI void APIENTRY glVertexBindingDivisor (GLuint bindingindex, GLuint divisor);
  8053. GLAPI void APIENTRY glVertexArrayBindVertexBufferEXT (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  8054. GLAPI void APIENTRY glVertexArrayVertexAttribFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  8055. GLAPI void APIENTRY glVertexArrayVertexAttribIFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8056. GLAPI void APIENTRY glVertexArrayVertexAttribLFormatEXT (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8057. GLAPI void APIENTRY glVertexArrayVertexAttribBindingEXT (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  8058. GLAPI void APIENTRY glVertexArrayVertexBindingDivisorEXT (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  8059. #endif /* GL_GLEXT_PROTOTYPES */
  8060. typedef void (APIENTRYP PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  8061. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  8062. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8063. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8064. typedef void (APIENTRYP PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  8065. typedef void (APIENTRYP PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  8066. typedef void (APIENTRYP PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  8067. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  8068. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8069. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC) (GLuint vaobj, GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  8070. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC) (GLuint vaobj, GLuint attribindex, GLuint bindingindex);
  8071. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC) (GLuint vaobj, GLuint bindingindex, GLuint divisor);
  8072. #endif
  8073. #ifndef GL_ARB_robustness_isolation
  8074. #define GL_ARB_robustness_isolation 1
  8075. #endif
  8076. #ifndef GL_ARB_ES3_compatibility
  8077. #define GL_ARB_ES3_compatibility 1
  8078. #endif
  8079. #ifndef GL_ARB_explicit_uniform_location
  8080. #define GL_ARB_explicit_uniform_location 1
  8081. #endif
  8082. #ifndef GL_ARB_fragment_layer_viewport
  8083. #define GL_ARB_fragment_layer_viewport 1
  8084. #endif
  8085. #ifndef GL_ARB_framebuffer_no_attachments
  8086. #define GL_ARB_framebuffer_no_attachments 1
  8087. #ifdef GL_GLEXT_PROTOTYPES
  8088. GLAPI void APIENTRY glFramebufferParameteri (GLenum target, GLenum pname, GLint param);
  8089. GLAPI void APIENTRY glGetFramebufferParameteriv (GLenum target, GLenum pname, GLint *params);
  8090. GLAPI void APIENTRY glNamedFramebufferParameteriEXT (GLuint framebuffer, GLenum pname, GLint param);
  8091. GLAPI void APIENTRY glGetNamedFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  8092. #endif /* GL_GLEXT_PROTOTYPES */
  8093. typedef void (APIENTRYP PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  8094. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  8095. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  8096. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  8097. #endif
  8098. #ifndef GL_ARB_internalformat_query2
  8099. #define GL_ARB_internalformat_query2 1
  8100. #ifdef GL_GLEXT_PROTOTYPES
  8101. GLAPI void APIENTRY glGetInternalformati64v (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  8102. #endif /* GL_GLEXT_PROTOTYPES */
  8103. typedef void (APIENTRYP PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64 *params);
  8104. #endif
  8105. #ifndef GL_ARB_invalidate_subdata
  8106. #define GL_ARB_invalidate_subdata 1
  8107. #ifdef GL_GLEXT_PROTOTYPES
  8108. GLAPI void APIENTRY glInvalidateTexSubImage (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  8109. GLAPI void APIENTRY glInvalidateTexImage (GLuint texture, GLint level);
  8110. GLAPI void APIENTRY glInvalidateBufferSubData (GLuint buffer, GLintptr offset, GLsizeiptr length);
  8111. GLAPI void APIENTRY glInvalidateBufferData (GLuint buffer);
  8112. GLAPI void APIENTRY glInvalidateFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  8113. GLAPI void APIENTRY glInvalidateSubFramebuffer (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  8114. #endif /* GL_GLEXT_PROTOTYPES */
  8115. typedef void (APIENTRYP PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  8116. typedef void (APIENTRYP PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  8117. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  8118. typedef void (APIENTRYP PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  8119. typedef void (APIENTRYP PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  8120. typedef void (APIENTRYP PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  8121. #endif
  8122. #ifndef GL_ARB_multi_draw_indirect
  8123. #define GL_ARB_multi_draw_indirect 1
  8124. #ifdef GL_GLEXT_PROTOTYPES
  8125. GLAPI void APIENTRY glMultiDrawArraysIndirect (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  8126. GLAPI void APIENTRY glMultiDrawElementsIndirect (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  8127. #endif /* GL_GLEXT_PROTOTYPES */
  8128. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  8129. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  8130. #endif
  8131. #ifndef GL_ARB_program_interface_query
  8132. #define GL_ARB_program_interface_query 1
  8133. #ifdef GL_GLEXT_PROTOTYPES
  8134. GLAPI void APIENTRY glGetProgramInterfaceiv (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  8135. GLAPI GLuint APIENTRY glGetProgramResourceIndex (GLuint program, GLenum programInterface, const GLchar *name);
  8136. GLAPI void APIENTRY glGetProgramResourceName (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  8137. GLAPI void APIENTRY glGetProgramResourceiv (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  8138. GLAPI GLint APIENTRY glGetProgramResourceLocation (GLuint program, GLenum programInterface, const GLchar *name);
  8139. GLAPI GLint APIENTRY glGetProgramResourceLocationIndex (GLuint program, GLenum programInterface, const GLchar *name);
  8140. #endif /* GL_GLEXT_PROTOTYPES */
  8141. typedef void (APIENTRYP PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint *params);
  8142. typedef GLuint (APIENTRYP PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  8143. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name);
  8144. typedef void (APIENTRYP PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLint *params);
  8145. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  8146. typedef GLint (APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  8147. #endif
  8148. #ifndef GL_ARB_robust_buffer_access_behavior
  8149. #define GL_ARB_robust_buffer_access_behavior 1
  8150. #endif
  8151. #ifndef GL_ARB_shader_image_size
  8152. #define GL_ARB_shader_image_size 1
  8153. #endif
  8154. #ifndef GL_ARB_shader_storage_buffer_object
  8155. #define GL_ARB_shader_storage_buffer_object 1
  8156. #ifdef GL_GLEXT_PROTOTYPES
  8157. GLAPI void APIENTRY glShaderStorageBlockBinding (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  8158. #endif /* GL_GLEXT_PROTOTYPES */
  8159. typedef void (APIENTRYP PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  8160. #endif
  8161. #ifndef GL_ARB_stencil_texturing
  8162. #define GL_ARB_stencil_texturing 1
  8163. #endif
  8164. #ifndef GL_ARB_texture_buffer_range
  8165. #define GL_ARB_texture_buffer_range 1
  8166. #ifdef GL_GLEXT_PROTOTYPES
  8167. GLAPI void APIENTRY glTexBufferRange (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8168. GLAPI void APIENTRY glTextureBufferRangeEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8169. #endif /* GL_GLEXT_PROTOTYPES */
  8170. typedef void (APIENTRYP PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8171. typedef void (APIENTRYP PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8172. #endif
  8173. #ifndef GL_ARB_texture_query_levels
  8174. #define GL_ARB_texture_query_levels 1
  8175. #endif
  8176. #ifndef GL_ARB_texture_storage_multisample
  8177. #define GL_ARB_texture_storage_multisample 1
  8178. #ifdef GL_GLEXT_PROTOTYPES
  8179. GLAPI void APIENTRY glTexStorage2DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  8180. GLAPI void APIENTRY glTexStorage3DMultisample (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  8181. GLAPI void APIENTRY glTextureStorage2DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  8182. GLAPI void APIENTRY glTextureStorage3DMultisampleEXT (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  8183. #endif /* GL_GLEXT_PROTOTYPES */
  8184. typedef void (APIENTRYP PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  8185. typedef void (APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  8186. typedef void (APIENTRYP PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  8187. typedef void (APIENTRYP PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  8188. #endif
  8189. #ifndef GL_EXT_abgr
  8190. #define GL_EXT_abgr 1
  8191. #endif
  8192. #ifndef GL_EXT_blend_color
  8193. #define GL_EXT_blend_color 1
  8194. #ifdef GL_GLEXT_PROTOTYPES
  8195. GLAPI void APIENTRY glBlendColorEXT (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  8196. #endif /* GL_GLEXT_PROTOTYPES */
  8197. typedef void (APIENTRYP PFNGLBLENDCOLOREXTPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  8198. #endif
  8199. #ifndef GL_EXT_polygon_offset
  8200. #define GL_EXT_polygon_offset 1
  8201. #ifdef GL_GLEXT_PROTOTYPES
  8202. GLAPI void APIENTRY glPolygonOffsetEXT (GLfloat factor, GLfloat bias);
  8203. #endif /* GL_GLEXT_PROTOTYPES */
  8204. typedef void (APIENTRYP PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  8205. #endif
  8206. #ifndef GL_EXT_texture
  8207. #define GL_EXT_texture 1
  8208. #endif
  8209. #ifndef GL_EXT_texture3D
  8210. #define GL_EXT_texture3D 1
  8211. #ifdef GL_GLEXT_PROTOTYPES
  8212. GLAPI void APIENTRY glTexImage3DEXT (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  8213. GLAPI void APIENTRY glTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  8214. #endif /* GL_GLEXT_PROTOTYPES */
  8215. typedef void (APIENTRYP PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  8216. typedef void (APIENTRYP PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  8217. #endif
  8218. #ifndef GL_SGIS_texture_filter4
  8219. #define GL_SGIS_texture_filter4 1
  8220. #ifdef GL_GLEXT_PROTOTYPES
  8221. GLAPI void APIENTRY glGetTexFilterFuncSGIS (GLenum target, GLenum filter, GLfloat *weights);
  8222. GLAPI void APIENTRY glTexFilterFuncSGIS (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  8223. #endif /* GL_GLEXT_PROTOTYPES */
  8224. typedef void (APIENTRYP PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat *weights);
  8225. typedef void (APIENTRYP PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat *weights);
  8226. #endif
  8227. #ifndef GL_EXT_subtexture
  8228. #define GL_EXT_subtexture 1
  8229. #ifdef GL_GLEXT_PROTOTYPES
  8230. GLAPI void APIENTRY glTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  8231. GLAPI void APIENTRY glTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  8232. #endif /* GL_GLEXT_PROTOTYPES */
  8233. typedef void (APIENTRYP PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  8234. typedef void (APIENTRYP PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  8235. #endif
  8236. #ifndef GL_EXT_copy_texture
  8237. #define GL_EXT_copy_texture 1
  8238. #ifdef GL_GLEXT_PROTOTYPES
  8239. GLAPI void APIENTRY glCopyTexImage1DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  8240. GLAPI void APIENTRY glCopyTexImage2DEXT (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  8241. GLAPI void APIENTRY glCopyTexSubImage1DEXT (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  8242. GLAPI void APIENTRY glCopyTexSubImage2DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  8243. GLAPI void APIENTRY glCopyTexSubImage3DEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  8244. #endif /* GL_GLEXT_PROTOTYPES */
  8245. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  8246. typedef void (APIENTRYP PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  8247. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  8248. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  8249. typedef void (APIENTRYP PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  8250. #endif
  8251. #ifndef GL_EXT_histogram
  8252. #define GL_EXT_histogram 1
  8253. #ifdef GL_GLEXT_PROTOTYPES
  8254. GLAPI void APIENTRY glGetHistogramEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  8255. GLAPI void APIENTRY glGetHistogramParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  8256. GLAPI void APIENTRY glGetHistogramParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8257. GLAPI void APIENTRY glGetMinmaxEXT (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  8258. GLAPI void APIENTRY glGetMinmaxParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  8259. GLAPI void APIENTRY glGetMinmaxParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8260. GLAPI void APIENTRY glHistogramEXT (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  8261. GLAPI void APIENTRY glMinmaxEXT (GLenum target, GLenum internalformat, GLboolean sink);
  8262. GLAPI void APIENTRY glResetHistogramEXT (GLenum target);
  8263. GLAPI void APIENTRY glResetMinmaxEXT (GLenum target);
  8264. #endif /* GL_GLEXT_PROTOTYPES */
  8265. typedef void (APIENTRYP PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  8266. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  8267. typedef void (APIENTRYP PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8268. typedef void (APIENTRYP PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  8269. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  8270. typedef void (APIENTRYP PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8271. typedef void (APIENTRYP PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  8272. typedef void (APIENTRYP PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  8273. typedef void (APIENTRYP PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  8274. typedef void (APIENTRYP PFNGLRESETMINMAXEXTPROC) (GLenum target);
  8275. #endif
  8276. #ifndef GL_EXT_convolution
  8277. #define GL_EXT_convolution 1
  8278. #ifdef GL_GLEXT_PROTOTYPES
  8279. GLAPI void APIENTRY glConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  8280. GLAPI void APIENTRY glConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  8281. GLAPI void APIENTRY glConvolutionParameterfEXT (GLenum target, GLenum pname, GLfloat params);
  8282. GLAPI void APIENTRY glConvolutionParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  8283. GLAPI void APIENTRY glConvolutionParameteriEXT (GLenum target, GLenum pname, GLint params);
  8284. GLAPI void APIENTRY glConvolutionParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  8285. GLAPI void APIENTRY glCopyConvolutionFilter1DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  8286. GLAPI void APIENTRY glCopyConvolutionFilter2DEXT (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  8287. GLAPI void APIENTRY glGetConvolutionFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *image);
  8288. GLAPI void APIENTRY glGetConvolutionParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  8289. GLAPI void APIENTRY glGetConvolutionParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8290. GLAPI void APIENTRY glGetSeparableFilterEXT (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  8291. GLAPI void APIENTRY glSeparableFilter2DEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  8292. #endif /* GL_GLEXT_PROTOTYPES */
  8293. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  8294. typedef void (APIENTRYP PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  8295. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat params);
  8296. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8297. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint params);
  8298. typedef void (APIENTRYP PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  8299. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  8300. typedef void (APIENTRYP PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  8301. typedef void (APIENTRYP PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  8302. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  8303. typedef void (APIENTRYP PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8304. typedef void (APIENTRYP PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  8305. typedef void (APIENTRYP PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  8306. #endif
  8307. #ifndef GL_SGI_color_matrix
  8308. #define GL_SGI_color_matrix 1
  8309. #endif
  8310. #ifndef GL_SGI_color_table
  8311. #define GL_SGI_color_table 1
  8312. #ifdef GL_GLEXT_PROTOTYPES
  8313. GLAPI void APIENTRY glColorTableSGI (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  8314. GLAPI void APIENTRY glColorTableParameterfvSGI (GLenum target, GLenum pname, const GLfloat *params);
  8315. GLAPI void APIENTRY glColorTableParameterivSGI (GLenum target, GLenum pname, const GLint *params);
  8316. GLAPI void APIENTRY glCopyColorTableSGI (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  8317. GLAPI void APIENTRY glGetColorTableSGI (GLenum target, GLenum format, GLenum type, GLvoid *table);
  8318. GLAPI void APIENTRY glGetColorTableParameterfvSGI (GLenum target, GLenum pname, GLfloat *params);
  8319. GLAPI void APIENTRY glGetColorTableParameterivSGI (GLenum target, GLenum pname, GLint *params);
  8320. #endif /* GL_GLEXT_PROTOTYPES */
  8321. typedef void (APIENTRYP PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  8322. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8323. typedef void (APIENTRYP PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint *params);
  8324. typedef void (APIENTRYP PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  8325. typedef void (APIENTRYP PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  8326. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat *params);
  8327. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint *params);
  8328. #endif
  8329. #ifndef GL_SGIX_pixel_texture
  8330. #define GL_SGIX_pixel_texture 1
  8331. #ifdef GL_GLEXT_PROTOTYPES
  8332. GLAPI void APIENTRY glPixelTexGenSGIX (GLenum mode);
  8333. #endif /* GL_GLEXT_PROTOTYPES */
  8334. typedef void (APIENTRYP PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  8335. #endif
  8336. #ifndef GL_SGIS_pixel_texture
  8337. #define GL_SGIS_pixel_texture 1
  8338. #ifdef GL_GLEXT_PROTOTYPES
  8339. GLAPI void APIENTRY glPixelTexGenParameteriSGIS (GLenum pname, GLint param);
  8340. GLAPI void APIENTRY glPixelTexGenParameterivSGIS (GLenum pname, const GLint *params);
  8341. GLAPI void APIENTRY glPixelTexGenParameterfSGIS (GLenum pname, GLfloat param);
  8342. GLAPI void APIENTRY glPixelTexGenParameterfvSGIS (GLenum pname, const GLfloat *params);
  8343. GLAPI void APIENTRY glGetPixelTexGenParameterivSGIS (GLenum pname, GLint *params);
  8344. GLAPI void APIENTRY glGetPixelTexGenParameterfvSGIS (GLenum pname, GLfloat *params);
  8345. #endif /* GL_GLEXT_PROTOTYPES */
  8346. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERISGISPROC) (GLenum pname, GLint param);
  8347. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, const GLint *params);
  8348. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  8349. typedef void (APIENTRYP PFNGLPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  8350. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERIVSGISPROC) (GLenum pname, GLint *params);
  8351. typedef void (APIENTRYP PFNGLGETPIXELTEXGENPARAMETERFVSGISPROC) (GLenum pname, GLfloat *params);
  8352. #endif
  8353. #ifndef GL_SGIS_texture4D
  8354. #define GL_SGIS_texture4D 1
  8355. #ifdef GL_GLEXT_PROTOTYPES
  8356. GLAPI void APIENTRY glTexImage4DSGIS (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  8357. GLAPI void APIENTRY glTexSubImage4DSGIS (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  8358. #endif /* GL_GLEXT_PROTOTYPES */
  8359. typedef void (APIENTRYP PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  8360. typedef void (APIENTRYP PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei size4d, GLenum format, GLenum type, const GLvoid *pixels);
  8361. #endif
  8362. #ifndef GL_SGI_texture_color_table
  8363. #define GL_SGI_texture_color_table 1
  8364. #endif
  8365. #ifndef GL_EXT_cmyka
  8366. #define GL_EXT_cmyka 1
  8367. #endif
  8368. #ifndef GL_EXT_texture_object
  8369. #define GL_EXT_texture_object 1
  8370. #ifdef GL_GLEXT_PROTOTYPES
  8371. GLAPI GLboolean APIENTRY glAreTexturesResidentEXT (GLsizei n, const GLuint *textures, GLboolean *residences);
  8372. GLAPI void APIENTRY glBindTextureEXT (GLenum target, GLuint texture);
  8373. GLAPI void APIENTRY glDeleteTexturesEXT (GLsizei n, const GLuint *textures);
  8374. GLAPI void APIENTRY glGenTexturesEXT (GLsizei n, GLuint *textures);
  8375. GLAPI GLboolean APIENTRY glIsTextureEXT (GLuint texture);
  8376. GLAPI void APIENTRY glPrioritizeTexturesEXT (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8377. #endif /* GL_GLEXT_PROTOTYPES */
  8378. typedef GLboolean (APIENTRYP PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  8379. typedef void (APIENTRYP PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  8380. typedef void (APIENTRYP PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint *textures);
  8381. typedef void (APIENTRYP PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint *textures);
  8382. typedef GLboolean (APIENTRYP PFNGLISTEXTUREEXTPROC) (GLuint texture);
  8383. typedef void (APIENTRYP PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  8384. #endif
  8385. #ifndef GL_SGIS_detail_texture
  8386. #define GL_SGIS_detail_texture 1
  8387. #ifdef GL_GLEXT_PROTOTYPES
  8388. GLAPI void APIENTRY glDetailTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  8389. GLAPI void APIENTRY glGetDetailTexFuncSGIS (GLenum target, GLfloat *points);
  8390. #endif /* GL_GLEXT_PROTOTYPES */
  8391. typedef void (APIENTRYP PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  8392. typedef void (APIENTRYP PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  8393. #endif
  8394. #ifndef GL_SGIS_sharpen_texture
  8395. #define GL_SGIS_sharpen_texture 1
  8396. #ifdef GL_GLEXT_PROTOTYPES
  8397. GLAPI void APIENTRY glSharpenTexFuncSGIS (GLenum target, GLsizei n, const GLfloat *points);
  8398. GLAPI void APIENTRY glGetSharpenTexFuncSGIS (GLenum target, GLfloat *points);
  8399. #endif /* GL_GLEXT_PROTOTYPES */
  8400. typedef void (APIENTRYP PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat *points);
  8401. typedef void (APIENTRYP PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat *points);
  8402. #endif
  8403. #ifndef GL_EXT_packed_pixels
  8404. #define GL_EXT_packed_pixels 1
  8405. #endif
  8406. #ifndef GL_SGIS_texture_lod
  8407. #define GL_SGIS_texture_lod 1
  8408. #endif
  8409. #ifndef GL_SGIS_multisample
  8410. #define GL_SGIS_multisample 1
  8411. #ifdef GL_GLEXT_PROTOTYPES
  8412. GLAPI void APIENTRY glSampleMaskSGIS (GLclampf value, GLboolean invert);
  8413. GLAPI void APIENTRY glSamplePatternSGIS (GLenum pattern);
  8414. #endif /* GL_GLEXT_PROTOTYPES */
  8415. typedef void (APIENTRYP PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  8416. typedef void (APIENTRYP PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  8417. #endif
  8418. #ifndef GL_EXT_rescale_normal
  8419. #define GL_EXT_rescale_normal 1
  8420. #endif
  8421. #ifndef GL_EXT_vertex_array
  8422. #define GL_EXT_vertex_array 1
  8423. #ifdef GL_GLEXT_PROTOTYPES
  8424. GLAPI void APIENTRY glArrayElementEXT (GLint i);
  8425. GLAPI void APIENTRY glColorPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8426. GLAPI void APIENTRY glDrawArraysEXT (GLenum mode, GLint first, GLsizei count);
  8427. GLAPI void APIENTRY glEdgeFlagPointerEXT (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8428. GLAPI void APIENTRY glGetPointervEXT (GLenum pname, GLvoid* *params);
  8429. GLAPI void APIENTRY glIndexPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8430. GLAPI void APIENTRY glNormalPointerEXT (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8431. GLAPI void APIENTRY glTexCoordPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8432. GLAPI void APIENTRY glVertexPointerEXT (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8433. #endif /* GL_GLEXT_PROTOTYPES */
  8434. typedef void (APIENTRYP PFNGLARRAYELEMENTEXTPROC) (GLint i);
  8435. typedef void (APIENTRYP PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8436. typedef void (APIENTRYP PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  8437. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean *pointer);
  8438. typedef void (APIENTRYP PFNGLGETPOINTERVEXTPROC) (GLenum pname, GLvoid* *params);
  8439. typedef void (APIENTRYP PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8440. typedef void (APIENTRYP PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8441. typedef void (APIENTRYP PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8442. typedef void (APIENTRYP PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const GLvoid *pointer);
  8443. #endif
  8444. #ifndef GL_EXT_misc_attribute
  8445. #define GL_EXT_misc_attribute 1
  8446. #endif
  8447. #ifndef GL_SGIS_generate_mipmap
  8448. #define GL_SGIS_generate_mipmap 1
  8449. #endif
  8450. #ifndef GL_SGIX_clipmap
  8451. #define GL_SGIX_clipmap 1
  8452. #endif
  8453. #ifndef GL_SGIX_shadow
  8454. #define GL_SGIX_shadow 1
  8455. #endif
  8456. #ifndef GL_SGIS_texture_edge_clamp
  8457. #define GL_SGIS_texture_edge_clamp 1
  8458. #endif
  8459. #ifndef GL_SGIS_texture_border_clamp
  8460. #define GL_SGIS_texture_border_clamp 1
  8461. #endif
  8462. #ifndef GL_EXT_blend_minmax
  8463. #define GL_EXT_blend_minmax 1
  8464. #ifdef GL_GLEXT_PROTOTYPES
  8465. GLAPI void APIENTRY glBlendEquationEXT (GLenum mode);
  8466. #endif /* GL_GLEXT_PROTOTYPES */
  8467. typedef void (APIENTRYP PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  8468. #endif
  8469. #ifndef GL_EXT_blend_subtract
  8470. #define GL_EXT_blend_subtract 1
  8471. #endif
  8472. #ifndef GL_EXT_blend_logic_op
  8473. #define GL_EXT_blend_logic_op 1
  8474. #endif
  8475. #ifndef GL_SGIX_interlace
  8476. #define GL_SGIX_interlace 1
  8477. #endif
  8478. #ifndef GL_SGIX_pixel_tiles
  8479. #define GL_SGIX_pixel_tiles 1
  8480. #endif
  8481. #ifndef GL_SGIX_texture_select
  8482. #define GL_SGIX_texture_select 1
  8483. #endif
  8484. #ifndef GL_SGIX_sprite
  8485. #define GL_SGIX_sprite 1
  8486. #ifdef GL_GLEXT_PROTOTYPES
  8487. GLAPI void APIENTRY glSpriteParameterfSGIX (GLenum pname, GLfloat param);
  8488. GLAPI void APIENTRY glSpriteParameterfvSGIX (GLenum pname, const GLfloat *params);
  8489. GLAPI void APIENTRY glSpriteParameteriSGIX (GLenum pname, GLint param);
  8490. GLAPI void APIENTRY glSpriteParameterivSGIX (GLenum pname, const GLint *params);
  8491. #endif /* GL_GLEXT_PROTOTYPES */
  8492. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  8493. typedef void (APIENTRYP PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, const GLfloat *params);
  8494. typedef void (APIENTRYP PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  8495. typedef void (APIENTRYP PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, const GLint *params);
  8496. #endif
  8497. #ifndef GL_SGIX_texture_multi_buffer
  8498. #define GL_SGIX_texture_multi_buffer 1
  8499. #endif
  8500. #ifndef GL_EXT_point_parameters
  8501. #define GL_EXT_point_parameters 1
  8502. #ifdef GL_GLEXT_PROTOTYPES
  8503. GLAPI void APIENTRY glPointParameterfEXT (GLenum pname, GLfloat param);
  8504. GLAPI void APIENTRY glPointParameterfvEXT (GLenum pname, const GLfloat *params);
  8505. #endif /* GL_GLEXT_PROTOTYPES */
  8506. typedef void (APIENTRYP PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  8507. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat *params);
  8508. #endif
  8509. #ifndef GL_SGIS_point_parameters
  8510. #define GL_SGIS_point_parameters 1
  8511. #ifdef GL_GLEXT_PROTOTYPES
  8512. GLAPI void APIENTRY glPointParameterfSGIS (GLenum pname, GLfloat param);
  8513. GLAPI void APIENTRY glPointParameterfvSGIS (GLenum pname, const GLfloat *params);
  8514. #endif /* GL_GLEXT_PROTOTYPES */
  8515. typedef void (APIENTRYP PFNGLPOINTPARAMETERFSGISPROC) (GLenum pname, GLfloat param);
  8516. typedef void (APIENTRYP PFNGLPOINTPARAMETERFVSGISPROC) (GLenum pname, const GLfloat *params);
  8517. #endif
  8518. #ifndef GL_SGIX_instruments
  8519. #define GL_SGIX_instruments 1
  8520. #ifdef GL_GLEXT_PROTOTYPES
  8521. GLAPI GLint APIENTRY glGetInstrumentsSGIX (void);
  8522. GLAPI void APIENTRY glInstrumentsBufferSGIX (GLsizei size, GLint *buffer);
  8523. GLAPI GLint APIENTRY glPollInstrumentsSGIX (GLint *marker_p);
  8524. GLAPI void APIENTRY glReadInstrumentsSGIX (GLint marker);
  8525. GLAPI void APIENTRY glStartInstrumentsSGIX (void);
  8526. GLAPI void APIENTRY glStopInstrumentsSGIX (GLint marker);
  8527. #endif /* GL_GLEXT_PROTOTYPES */
  8528. typedef GLint (APIENTRYP PFNGLGETINSTRUMENTSSGIXPROC) (void);
  8529. typedef void (APIENTRYP PFNGLINSTRUMENTSBUFFERSGIXPROC) (GLsizei size, GLint *buffer);
  8530. typedef GLint (APIENTRYP PFNGLPOLLINSTRUMENTSSGIXPROC) (GLint *marker_p);
  8531. typedef void (APIENTRYP PFNGLREADINSTRUMENTSSGIXPROC) (GLint marker);
  8532. typedef void (APIENTRYP PFNGLSTARTINSTRUMENTSSGIXPROC) (void);
  8533. typedef void (APIENTRYP PFNGLSTOPINSTRUMENTSSGIXPROC) (GLint marker);
  8534. #endif
  8535. #ifndef GL_SGIX_texture_scale_bias
  8536. #define GL_SGIX_texture_scale_bias 1
  8537. #endif
  8538. #ifndef GL_SGIX_framezoom
  8539. #define GL_SGIX_framezoom 1
  8540. #ifdef GL_GLEXT_PROTOTYPES
  8541. GLAPI void APIENTRY glFrameZoomSGIX (GLint factor);
  8542. #endif /* GL_GLEXT_PROTOTYPES */
  8543. typedef void (APIENTRYP PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  8544. #endif
  8545. #ifndef GL_SGIX_tag_sample_buffer
  8546. #define GL_SGIX_tag_sample_buffer 1
  8547. #ifdef GL_GLEXT_PROTOTYPES
  8548. GLAPI void APIENTRY glTagSampleBufferSGIX (void);
  8549. #endif /* GL_GLEXT_PROTOTYPES */
  8550. typedef void (APIENTRYP PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  8551. #endif
  8552. #ifndef GL_SGIX_polynomial_ffd
  8553. #define GL_SGIX_polynomial_ffd 1
  8554. #ifdef GL_GLEXT_PROTOTYPES
  8555. GLAPI void APIENTRY glDeformationMap3dSGIX (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  8556. GLAPI void APIENTRY glDeformationMap3fSGIX (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  8557. GLAPI void APIENTRY glDeformSGIX (GLbitfield mask);
  8558. GLAPI void APIENTRY glLoadIdentityDeformationMapSGIX (GLbitfield mask);
  8559. #endif /* GL_GLEXT_PROTOTYPES */
  8560. typedef void (APIENTRYP PFNGLDEFORMATIONMAP3DSGIXPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, GLdouble w1, GLdouble w2, GLint wstride, GLint worder, const GLdouble *points);
  8561. typedef void (APIENTRYP PFNGLDEFORMATIONMAP3FSGIXPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, GLfloat w1, GLfloat w2, GLint wstride, GLint worder, const GLfloat *points);
  8562. typedef void (APIENTRYP PFNGLDEFORMSGIXPROC) (GLbitfield mask);
  8563. typedef void (APIENTRYP PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC) (GLbitfield mask);
  8564. #endif
  8565. #ifndef GL_SGIX_reference_plane
  8566. #define GL_SGIX_reference_plane 1
  8567. #ifdef GL_GLEXT_PROTOTYPES
  8568. GLAPI void APIENTRY glReferencePlaneSGIX (const GLdouble *equation);
  8569. #endif /* GL_GLEXT_PROTOTYPES */
  8570. typedef void (APIENTRYP PFNGLREFERENCEPLANESGIXPROC) (const GLdouble *equation);
  8571. #endif
  8572. #ifndef GL_SGIX_flush_raster
  8573. #define GL_SGIX_flush_raster 1
  8574. #ifdef GL_GLEXT_PROTOTYPES
  8575. GLAPI void APIENTRY glFlushRasterSGIX (void);
  8576. #endif /* GL_GLEXT_PROTOTYPES */
  8577. typedef void (APIENTRYP PFNGLFLUSHRASTERSGIXPROC) (void);
  8578. #endif
  8579. #ifndef GL_SGIX_depth_texture
  8580. #define GL_SGIX_depth_texture 1
  8581. #endif
  8582. #ifndef GL_SGIS_fog_function
  8583. #define GL_SGIS_fog_function 1
  8584. #ifdef GL_GLEXT_PROTOTYPES
  8585. GLAPI void APIENTRY glFogFuncSGIS (GLsizei n, const GLfloat *points);
  8586. GLAPI void APIENTRY glGetFogFuncSGIS (GLfloat *points);
  8587. #endif /* GL_GLEXT_PROTOTYPES */
  8588. typedef void (APIENTRYP PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat *points);
  8589. typedef void (APIENTRYP PFNGLGETFOGFUNCSGISPROC) (GLfloat *points);
  8590. #endif
  8591. #ifndef GL_SGIX_fog_offset
  8592. #define GL_SGIX_fog_offset 1
  8593. #endif
  8594. #ifndef GL_HP_image_transform
  8595. #define GL_HP_image_transform 1
  8596. #ifdef GL_GLEXT_PROTOTYPES
  8597. GLAPI void APIENTRY glImageTransformParameteriHP (GLenum target, GLenum pname, GLint param);
  8598. GLAPI void APIENTRY glImageTransformParameterfHP (GLenum target, GLenum pname, GLfloat param);
  8599. GLAPI void APIENTRY glImageTransformParameterivHP (GLenum target, GLenum pname, const GLint *params);
  8600. GLAPI void APIENTRY glImageTransformParameterfvHP (GLenum target, GLenum pname, const GLfloat *params);
  8601. GLAPI void APIENTRY glGetImageTransformParameterivHP (GLenum target, GLenum pname, GLint *params);
  8602. GLAPI void APIENTRY glGetImageTransformParameterfvHP (GLenum target, GLenum pname, GLfloat *params);
  8603. #endif /* GL_GLEXT_PROTOTYPES */
  8604. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, GLint param);
  8605. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, GLfloat param);
  8606. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint *params);
  8607. typedef void (APIENTRYP PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8608. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, GLint *params);
  8609. typedef void (APIENTRYP PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, GLfloat *params);
  8610. #endif
  8611. #ifndef GL_HP_convolution_border_modes
  8612. #define GL_HP_convolution_border_modes 1
  8613. #endif
  8614. #ifndef GL_SGIX_texture_add_env
  8615. #define GL_SGIX_texture_add_env 1
  8616. #endif
  8617. #ifndef GL_EXT_color_subtable
  8618. #define GL_EXT_color_subtable 1
  8619. #ifdef GL_GLEXT_PROTOTYPES
  8620. GLAPI void APIENTRY glColorSubTableEXT (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  8621. GLAPI void APIENTRY glCopyColorSubTableEXT (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  8622. #endif /* GL_GLEXT_PROTOTYPES */
  8623. typedef void (APIENTRYP PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  8624. typedef void (APIENTRYP PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  8625. #endif
  8626. #ifndef GL_PGI_vertex_hints
  8627. #define GL_PGI_vertex_hints 1
  8628. #endif
  8629. #ifndef GL_PGI_misc_hints
  8630. #define GL_PGI_misc_hints 1
  8631. #ifdef GL_GLEXT_PROTOTYPES
  8632. GLAPI void APIENTRY glHintPGI (GLenum target, GLint mode);
  8633. #endif /* GL_GLEXT_PROTOTYPES */
  8634. typedef void (APIENTRYP PFNGLHINTPGIPROC) (GLenum target, GLint mode);
  8635. #endif
  8636. #ifndef GL_EXT_paletted_texture
  8637. #define GL_EXT_paletted_texture 1
  8638. #ifdef GL_GLEXT_PROTOTYPES
  8639. GLAPI void APIENTRY glColorTableEXT (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  8640. GLAPI void APIENTRY glGetColorTableEXT (GLenum target, GLenum format, GLenum type, GLvoid *data);
  8641. GLAPI void APIENTRY glGetColorTableParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8642. GLAPI void APIENTRY glGetColorTableParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  8643. #endif /* GL_GLEXT_PROTOTYPES */
  8644. typedef void (APIENTRYP PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  8645. typedef void (APIENTRYP PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, GLvoid *data);
  8646. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8647. typedef void (APIENTRYP PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  8648. #endif
  8649. #ifndef GL_EXT_clip_volume_hint
  8650. #define GL_EXT_clip_volume_hint 1
  8651. #endif
  8652. #ifndef GL_SGIX_list_priority
  8653. #define GL_SGIX_list_priority 1
  8654. #ifdef GL_GLEXT_PROTOTYPES
  8655. GLAPI void APIENTRY glGetListParameterfvSGIX (GLuint list, GLenum pname, GLfloat *params);
  8656. GLAPI void APIENTRY glGetListParameterivSGIX (GLuint list, GLenum pname, GLint *params);
  8657. GLAPI void APIENTRY glListParameterfSGIX (GLuint list, GLenum pname, GLfloat param);
  8658. GLAPI void APIENTRY glListParameterfvSGIX (GLuint list, GLenum pname, const GLfloat *params);
  8659. GLAPI void APIENTRY glListParameteriSGIX (GLuint list, GLenum pname, GLint param);
  8660. GLAPI void APIENTRY glListParameterivSGIX (GLuint list, GLenum pname, const GLint *params);
  8661. #endif /* GL_GLEXT_PROTOTYPES */
  8662. typedef void (APIENTRYP PFNGLGETLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, GLfloat *params);
  8663. typedef void (APIENTRYP PFNGLGETLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, GLint *params);
  8664. typedef void (APIENTRYP PFNGLLISTPARAMETERFSGIXPROC) (GLuint list, GLenum pname, GLfloat param);
  8665. typedef void (APIENTRYP PFNGLLISTPARAMETERFVSGIXPROC) (GLuint list, GLenum pname, const GLfloat *params);
  8666. typedef void (APIENTRYP PFNGLLISTPARAMETERISGIXPROC) (GLuint list, GLenum pname, GLint param);
  8667. typedef void (APIENTRYP PFNGLLISTPARAMETERIVSGIXPROC) (GLuint list, GLenum pname, const GLint *params);
  8668. #endif
  8669. #ifndef GL_SGIX_ir_instrument1
  8670. #define GL_SGIX_ir_instrument1 1
  8671. #endif
  8672. #ifndef GL_SGIX_calligraphic_fragment
  8673. #define GL_SGIX_calligraphic_fragment 1
  8674. #endif
  8675. #ifndef GL_SGIX_texture_lod_bias
  8676. #define GL_SGIX_texture_lod_bias 1
  8677. #endif
  8678. #ifndef GL_SGIX_shadow_ambient
  8679. #define GL_SGIX_shadow_ambient 1
  8680. #endif
  8681. #ifndef GL_EXT_index_texture
  8682. #define GL_EXT_index_texture 1
  8683. #endif
  8684. #ifndef GL_EXT_index_material
  8685. #define GL_EXT_index_material 1
  8686. #ifdef GL_GLEXT_PROTOTYPES
  8687. GLAPI void APIENTRY glIndexMaterialEXT (GLenum face, GLenum mode);
  8688. #endif /* GL_GLEXT_PROTOTYPES */
  8689. typedef void (APIENTRYP PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  8690. #endif
  8691. #ifndef GL_EXT_index_func
  8692. #define GL_EXT_index_func 1
  8693. #ifdef GL_GLEXT_PROTOTYPES
  8694. GLAPI void APIENTRY glIndexFuncEXT (GLenum func, GLclampf ref);
  8695. #endif /* GL_GLEXT_PROTOTYPES */
  8696. typedef void (APIENTRYP PFNGLINDEXFUNCEXTPROC) (GLenum func, GLclampf ref);
  8697. #endif
  8698. #ifndef GL_EXT_index_array_formats
  8699. #define GL_EXT_index_array_formats 1
  8700. #endif
  8701. #ifndef GL_EXT_compiled_vertex_array
  8702. #define GL_EXT_compiled_vertex_array 1
  8703. #ifdef GL_GLEXT_PROTOTYPES
  8704. GLAPI void APIENTRY glLockArraysEXT (GLint first, GLsizei count);
  8705. GLAPI void APIENTRY glUnlockArraysEXT (void);
  8706. #endif /* GL_GLEXT_PROTOTYPES */
  8707. typedef void (APIENTRYP PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  8708. typedef void (APIENTRYP PFNGLUNLOCKARRAYSEXTPROC) (void);
  8709. #endif
  8710. #ifndef GL_EXT_cull_vertex
  8711. #define GL_EXT_cull_vertex 1
  8712. #ifdef GL_GLEXT_PROTOTYPES
  8713. GLAPI void APIENTRY glCullParameterdvEXT (GLenum pname, GLdouble *params);
  8714. GLAPI void APIENTRY glCullParameterfvEXT (GLenum pname, GLfloat *params);
  8715. #endif /* GL_GLEXT_PROTOTYPES */
  8716. typedef void (APIENTRYP PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble *params);
  8717. typedef void (APIENTRYP PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat *params);
  8718. #endif
  8719. #ifndef GL_SGIX_ycrcb
  8720. #define GL_SGIX_ycrcb 1
  8721. #endif
  8722. #ifndef GL_SGIX_fragment_lighting
  8723. #define GL_SGIX_fragment_lighting 1
  8724. #ifdef GL_GLEXT_PROTOTYPES
  8725. GLAPI void APIENTRY glFragmentColorMaterialSGIX (GLenum face, GLenum mode);
  8726. GLAPI void APIENTRY glFragmentLightfSGIX (GLenum light, GLenum pname, GLfloat param);
  8727. GLAPI void APIENTRY glFragmentLightfvSGIX (GLenum light, GLenum pname, const GLfloat *params);
  8728. GLAPI void APIENTRY glFragmentLightiSGIX (GLenum light, GLenum pname, GLint param);
  8729. GLAPI void APIENTRY glFragmentLightivSGIX (GLenum light, GLenum pname, const GLint *params);
  8730. GLAPI void APIENTRY glFragmentLightModelfSGIX (GLenum pname, GLfloat param);
  8731. GLAPI void APIENTRY glFragmentLightModelfvSGIX (GLenum pname, const GLfloat *params);
  8732. GLAPI void APIENTRY glFragmentLightModeliSGIX (GLenum pname, GLint param);
  8733. GLAPI void APIENTRY glFragmentLightModelivSGIX (GLenum pname, const GLint *params);
  8734. GLAPI void APIENTRY glFragmentMaterialfSGIX (GLenum face, GLenum pname, GLfloat param);
  8735. GLAPI void APIENTRY glFragmentMaterialfvSGIX (GLenum face, GLenum pname, const GLfloat *params);
  8736. GLAPI void APIENTRY glFragmentMaterialiSGIX (GLenum face, GLenum pname, GLint param);
  8737. GLAPI void APIENTRY glFragmentMaterialivSGIX (GLenum face, GLenum pname, const GLint *params);
  8738. GLAPI void APIENTRY glGetFragmentLightfvSGIX (GLenum light, GLenum pname, GLfloat *params);
  8739. GLAPI void APIENTRY glGetFragmentLightivSGIX (GLenum light, GLenum pname, GLint *params);
  8740. GLAPI void APIENTRY glGetFragmentMaterialfvSGIX (GLenum face, GLenum pname, GLfloat *params);
  8741. GLAPI void APIENTRY glGetFragmentMaterialivSGIX (GLenum face, GLenum pname, GLint *params);
  8742. GLAPI void APIENTRY glLightEnviSGIX (GLenum pname, GLint param);
  8743. #endif /* GL_GLEXT_PROTOTYPES */
  8744. typedef void (APIENTRYP PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  8745. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  8746. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, const GLfloat *params);
  8747. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  8748. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, const GLint *params);
  8749. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  8750. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, const GLfloat *params);
  8751. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  8752. typedef void (APIENTRYP PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, const GLint *params);
  8753. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, GLfloat param);
  8754. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat *params);
  8755. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, GLint param);
  8756. typedef void (APIENTRYP PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint *params);
  8757. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat *params);
  8758. typedef void (APIENTRYP PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint *params);
  8759. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, GLfloat *params);
  8760. typedef void (APIENTRYP PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, GLint *params);
  8761. typedef void (APIENTRYP PFNGLLIGHTENVISGIXPROC) (GLenum pname, GLint param);
  8762. #endif
  8763. #ifndef GL_IBM_rasterpos_clip
  8764. #define GL_IBM_rasterpos_clip 1
  8765. #endif
  8766. #ifndef GL_HP_texture_lighting
  8767. #define GL_HP_texture_lighting 1
  8768. #endif
  8769. #ifndef GL_EXT_draw_range_elements
  8770. #define GL_EXT_draw_range_elements 1
  8771. #ifdef GL_GLEXT_PROTOTYPES
  8772. GLAPI void APIENTRY glDrawRangeElementsEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  8773. #endif /* GL_GLEXT_PROTOTYPES */
  8774. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  8775. #endif
  8776. #ifndef GL_WIN_phong_shading
  8777. #define GL_WIN_phong_shading 1
  8778. #endif
  8779. #ifndef GL_WIN_specular_fog
  8780. #define GL_WIN_specular_fog 1
  8781. #endif
  8782. #ifndef GL_EXT_light_texture
  8783. #define GL_EXT_light_texture 1
  8784. #ifdef GL_GLEXT_PROTOTYPES
  8785. GLAPI void APIENTRY glApplyTextureEXT (GLenum mode);
  8786. GLAPI void APIENTRY glTextureLightEXT (GLenum pname);
  8787. GLAPI void APIENTRY glTextureMaterialEXT (GLenum face, GLenum mode);
  8788. #endif /* GL_GLEXT_PROTOTYPES */
  8789. typedef void (APIENTRYP PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  8790. typedef void (APIENTRYP PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  8791. typedef void (APIENTRYP PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  8792. #endif
  8793. #ifndef GL_SGIX_blend_alpha_minmax
  8794. #define GL_SGIX_blend_alpha_minmax 1
  8795. #endif
  8796. #ifndef GL_EXT_bgra
  8797. #define GL_EXT_bgra 1
  8798. #endif
  8799. #ifndef GL_SGIX_async
  8800. #define GL_SGIX_async 1
  8801. #ifdef GL_GLEXT_PROTOTYPES
  8802. GLAPI void APIENTRY glAsyncMarkerSGIX (GLuint marker);
  8803. GLAPI GLint APIENTRY glFinishAsyncSGIX (GLuint *markerp);
  8804. GLAPI GLint APIENTRY glPollAsyncSGIX (GLuint *markerp);
  8805. GLAPI GLuint APIENTRY glGenAsyncMarkersSGIX (GLsizei range);
  8806. GLAPI void APIENTRY glDeleteAsyncMarkersSGIX (GLuint marker, GLsizei range);
  8807. GLAPI GLboolean APIENTRY glIsAsyncMarkerSGIX (GLuint marker);
  8808. #endif /* GL_GLEXT_PROTOTYPES */
  8809. typedef void (APIENTRYP PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  8810. typedef GLint (APIENTRYP PFNGLFINISHASYNCSGIXPROC) (GLuint *markerp);
  8811. typedef GLint (APIENTRYP PFNGLPOLLASYNCSGIXPROC) (GLuint *markerp);
  8812. typedef GLuint (APIENTRYP PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  8813. typedef void (APIENTRYP PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  8814. typedef GLboolean (APIENTRYP PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  8815. #endif
  8816. #ifndef GL_SGIX_async_pixel
  8817. #define GL_SGIX_async_pixel 1
  8818. #endif
  8819. #ifndef GL_SGIX_async_histogram
  8820. #define GL_SGIX_async_histogram 1
  8821. #endif
  8822. #ifndef GL_INTEL_parallel_arrays
  8823. #define GL_INTEL_parallel_arrays 1
  8824. #ifdef GL_GLEXT_PROTOTYPES
  8825. GLAPI void APIENTRY glVertexPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  8826. GLAPI void APIENTRY glNormalPointervINTEL (GLenum type, const GLvoid* *pointer);
  8827. GLAPI void APIENTRY glColorPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  8828. GLAPI void APIENTRY glTexCoordPointervINTEL (GLint size, GLenum type, const GLvoid* *pointer);
  8829. #endif /* GL_GLEXT_PROTOTYPES */
  8830. typedef void (APIENTRYP PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  8831. typedef void (APIENTRYP PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const GLvoid* *pointer);
  8832. typedef void (APIENTRYP PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  8833. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const GLvoid* *pointer);
  8834. #endif
  8835. #ifndef GL_HP_occlusion_test
  8836. #define GL_HP_occlusion_test 1
  8837. #endif
  8838. #ifndef GL_EXT_pixel_transform
  8839. #define GL_EXT_pixel_transform 1
  8840. #ifdef GL_GLEXT_PROTOTYPES
  8841. GLAPI void APIENTRY glPixelTransformParameteriEXT (GLenum target, GLenum pname, GLint param);
  8842. GLAPI void APIENTRY glPixelTransformParameterfEXT (GLenum target, GLenum pname, GLfloat param);
  8843. GLAPI void APIENTRY glPixelTransformParameterivEXT (GLenum target, GLenum pname, const GLint *params);
  8844. GLAPI void APIENTRY glPixelTransformParameterfvEXT (GLenum target, GLenum pname, const GLfloat *params);
  8845. GLAPI void APIENTRY glGetPixelTransformParameterivEXT (GLenum target, GLenum pname, GLint *params);
  8846. GLAPI void APIENTRY glGetPixelTransformParameterfvEXT (GLenum target, GLenum pname, GLfloat *params);
  8847. #endif /* GL_GLEXT_PROTOTYPES */
  8848. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  8849. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  8850. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  8851. typedef void (APIENTRYP PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat *params);
  8852. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8853. typedef void (APIENTRYP PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat *params);
  8854. #endif
  8855. #ifndef GL_EXT_pixel_transform_color_table
  8856. #define GL_EXT_pixel_transform_color_table 1
  8857. #endif
  8858. #ifndef GL_EXT_shared_texture_palette
  8859. #define GL_EXT_shared_texture_palette 1
  8860. #endif
  8861. #ifndef GL_EXT_separate_specular_color
  8862. #define GL_EXT_separate_specular_color 1
  8863. #endif
  8864. #ifndef GL_EXT_secondary_color
  8865. #define GL_EXT_secondary_color 1
  8866. #ifdef GL_GLEXT_PROTOTYPES
  8867. GLAPI void APIENTRY glSecondaryColor3bEXT (GLbyte red, GLbyte green, GLbyte blue);
  8868. GLAPI void APIENTRY glSecondaryColor3bvEXT (const GLbyte *v);
  8869. GLAPI void APIENTRY glSecondaryColor3dEXT (GLdouble red, GLdouble green, GLdouble blue);
  8870. GLAPI void APIENTRY glSecondaryColor3dvEXT (const GLdouble *v);
  8871. GLAPI void APIENTRY glSecondaryColor3fEXT (GLfloat red, GLfloat green, GLfloat blue);
  8872. GLAPI void APIENTRY glSecondaryColor3fvEXT (const GLfloat *v);
  8873. GLAPI void APIENTRY glSecondaryColor3iEXT (GLint red, GLint green, GLint blue);
  8874. GLAPI void APIENTRY glSecondaryColor3ivEXT (const GLint *v);
  8875. GLAPI void APIENTRY glSecondaryColor3sEXT (GLshort red, GLshort green, GLshort blue);
  8876. GLAPI void APIENTRY glSecondaryColor3svEXT (const GLshort *v);
  8877. GLAPI void APIENTRY glSecondaryColor3ubEXT (GLubyte red, GLubyte green, GLubyte blue);
  8878. GLAPI void APIENTRY glSecondaryColor3ubvEXT (const GLubyte *v);
  8879. GLAPI void APIENTRY glSecondaryColor3uiEXT (GLuint red, GLuint green, GLuint blue);
  8880. GLAPI void APIENTRY glSecondaryColor3uivEXT (const GLuint *v);
  8881. GLAPI void APIENTRY glSecondaryColor3usEXT (GLushort red, GLushort green, GLushort blue);
  8882. GLAPI void APIENTRY glSecondaryColor3usvEXT (const GLushort *v);
  8883. GLAPI void APIENTRY glSecondaryColorPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  8884. #endif /* GL_GLEXT_PROTOTYPES */
  8885. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  8886. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  8887. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  8888. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  8889. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  8890. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  8891. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  8892. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  8893. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  8894. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  8895. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  8896. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  8897. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  8898. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  8899. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  8900. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  8901. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  8902. #endif
  8903. #ifndef GL_EXT_texture_perturb_normal
  8904. #define GL_EXT_texture_perturb_normal 1
  8905. #ifdef GL_GLEXT_PROTOTYPES
  8906. GLAPI void APIENTRY glTextureNormalEXT (GLenum mode);
  8907. #endif /* GL_GLEXT_PROTOTYPES */
  8908. typedef void (APIENTRYP PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  8909. #endif
  8910. #ifndef GL_EXT_multi_draw_arrays
  8911. #define GL_EXT_multi_draw_arrays 1
  8912. #ifdef GL_GLEXT_PROTOTYPES
  8913. GLAPI void APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  8914. GLAPI void APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  8915. #endif /* GL_GLEXT_PROTOTYPES */
  8916. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  8917. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid* *indices, GLsizei primcount);
  8918. #endif
  8919. #ifndef GL_EXT_fog_coord
  8920. #define GL_EXT_fog_coord 1
  8921. #ifdef GL_GLEXT_PROTOTYPES
  8922. GLAPI void APIENTRY glFogCoordfEXT (GLfloat coord);
  8923. GLAPI void APIENTRY glFogCoordfvEXT (const GLfloat *coord);
  8924. GLAPI void APIENTRY glFogCoorddEXT (GLdouble coord);
  8925. GLAPI void APIENTRY glFogCoorddvEXT (const GLdouble *coord);
  8926. GLAPI void APIENTRY glFogCoordPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  8927. #endif /* GL_GLEXT_PROTOTYPES */
  8928. typedef void (APIENTRYP PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  8929. typedef void (APIENTRYP PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  8930. typedef void (APIENTRYP PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  8931. typedef void (APIENTRYP PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  8932. typedef void (APIENTRYP PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  8933. #endif
  8934. #ifndef GL_REND_screen_coordinates
  8935. #define GL_REND_screen_coordinates 1
  8936. #endif
  8937. #ifndef GL_EXT_coordinate_frame
  8938. #define GL_EXT_coordinate_frame 1
  8939. #ifdef GL_GLEXT_PROTOTYPES
  8940. GLAPI void APIENTRY glTangent3bEXT (GLbyte tx, GLbyte ty, GLbyte tz);
  8941. GLAPI void APIENTRY glTangent3bvEXT (const GLbyte *v);
  8942. GLAPI void APIENTRY glTangent3dEXT (GLdouble tx, GLdouble ty, GLdouble tz);
  8943. GLAPI void APIENTRY glTangent3dvEXT (const GLdouble *v);
  8944. GLAPI void APIENTRY glTangent3fEXT (GLfloat tx, GLfloat ty, GLfloat tz);
  8945. GLAPI void APIENTRY glTangent3fvEXT (const GLfloat *v);
  8946. GLAPI void APIENTRY glTangent3iEXT (GLint tx, GLint ty, GLint tz);
  8947. GLAPI void APIENTRY glTangent3ivEXT (const GLint *v);
  8948. GLAPI void APIENTRY glTangent3sEXT (GLshort tx, GLshort ty, GLshort tz);
  8949. GLAPI void APIENTRY glTangent3svEXT (const GLshort *v);
  8950. GLAPI void APIENTRY glBinormal3bEXT (GLbyte bx, GLbyte by, GLbyte bz);
  8951. GLAPI void APIENTRY glBinormal3bvEXT (const GLbyte *v);
  8952. GLAPI void APIENTRY glBinormal3dEXT (GLdouble bx, GLdouble by, GLdouble bz);
  8953. GLAPI void APIENTRY glBinormal3dvEXT (const GLdouble *v);
  8954. GLAPI void APIENTRY glBinormal3fEXT (GLfloat bx, GLfloat by, GLfloat bz);
  8955. GLAPI void APIENTRY glBinormal3fvEXT (const GLfloat *v);
  8956. GLAPI void APIENTRY glBinormal3iEXT (GLint bx, GLint by, GLint bz);
  8957. GLAPI void APIENTRY glBinormal3ivEXT (const GLint *v);
  8958. GLAPI void APIENTRY glBinormal3sEXT (GLshort bx, GLshort by, GLshort bz);
  8959. GLAPI void APIENTRY glBinormal3svEXT (const GLshort *v);
  8960. GLAPI void APIENTRY glTangentPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  8961. GLAPI void APIENTRY glBinormalPointerEXT (GLenum type, GLsizei stride, const GLvoid *pointer);
  8962. #endif /* GL_GLEXT_PROTOTYPES */
  8963. typedef void (APIENTRYP PFNGLTANGENT3BEXTPROC) (GLbyte tx, GLbyte ty, GLbyte tz);
  8964. typedef void (APIENTRYP PFNGLTANGENT3BVEXTPROC) (const GLbyte *v);
  8965. typedef void (APIENTRYP PFNGLTANGENT3DEXTPROC) (GLdouble tx, GLdouble ty, GLdouble tz);
  8966. typedef void (APIENTRYP PFNGLTANGENT3DVEXTPROC) (const GLdouble *v);
  8967. typedef void (APIENTRYP PFNGLTANGENT3FEXTPROC) (GLfloat tx, GLfloat ty, GLfloat tz);
  8968. typedef void (APIENTRYP PFNGLTANGENT3FVEXTPROC) (const GLfloat *v);
  8969. typedef void (APIENTRYP PFNGLTANGENT3IEXTPROC) (GLint tx, GLint ty, GLint tz);
  8970. typedef void (APIENTRYP PFNGLTANGENT3IVEXTPROC) (const GLint *v);
  8971. typedef void (APIENTRYP PFNGLTANGENT3SEXTPROC) (GLshort tx, GLshort ty, GLshort tz);
  8972. typedef void (APIENTRYP PFNGLTANGENT3SVEXTPROC) (const GLshort *v);
  8973. typedef void (APIENTRYP PFNGLBINORMAL3BEXTPROC) (GLbyte bx, GLbyte by, GLbyte bz);
  8974. typedef void (APIENTRYP PFNGLBINORMAL3BVEXTPROC) (const GLbyte *v);
  8975. typedef void (APIENTRYP PFNGLBINORMAL3DEXTPROC) (GLdouble bx, GLdouble by, GLdouble bz);
  8976. typedef void (APIENTRYP PFNGLBINORMAL3DVEXTPROC) (const GLdouble *v);
  8977. typedef void (APIENTRYP PFNGLBINORMAL3FEXTPROC) (GLfloat bx, GLfloat by, GLfloat bz);
  8978. typedef void (APIENTRYP PFNGLBINORMAL3FVEXTPROC) (const GLfloat *v);
  8979. typedef void (APIENTRYP PFNGLBINORMAL3IEXTPROC) (GLint bx, GLint by, GLint bz);
  8980. typedef void (APIENTRYP PFNGLBINORMAL3IVEXTPROC) (const GLint *v);
  8981. typedef void (APIENTRYP PFNGLBINORMAL3SEXTPROC) (GLshort bx, GLshort by, GLshort bz);
  8982. typedef void (APIENTRYP PFNGLBINORMAL3SVEXTPROC) (const GLshort *v);
  8983. typedef void (APIENTRYP PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  8984. typedef void (APIENTRYP PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  8985. #endif
  8986. #ifndef GL_EXT_texture_env_combine
  8987. #define GL_EXT_texture_env_combine 1
  8988. #endif
  8989. #ifndef GL_APPLE_specular_vector
  8990. #define GL_APPLE_specular_vector 1
  8991. #endif
  8992. #ifndef GL_APPLE_transform_hint
  8993. #define GL_APPLE_transform_hint 1
  8994. #endif
  8995. #ifndef GL_SGIX_fog_scale
  8996. #define GL_SGIX_fog_scale 1
  8997. #endif
  8998. #ifndef GL_SUNX_constant_data
  8999. #define GL_SUNX_constant_data 1
  9000. #ifdef GL_GLEXT_PROTOTYPES
  9001. GLAPI void APIENTRY glFinishTextureSUNX (void);
  9002. #endif /* GL_GLEXT_PROTOTYPES */
  9003. typedef void (APIENTRYP PFNGLFINISHTEXTURESUNXPROC) (void);
  9004. #endif
  9005. #ifndef GL_SUN_global_alpha
  9006. #define GL_SUN_global_alpha 1
  9007. #ifdef GL_GLEXT_PROTOTYPES
  9008. GLAPI void APIENTRY glGlobalAlphaFactorbSUN (GLbyte factor);
  9009. GLAPI void APIENTRY glGlobalAlphaFactorsSUN (GLshort factor);
  9010. GLAPI void APIENTRY glGlobalAlphaFactoriSUN (GLint factor);
  9011. GLAPI void APIENTRY glGlobalAlphaFactorfSUN (GLfloat factor);
  9012. GLAPI void APIENTRY glGlobalAlphaFactordSUN (GLdouble factor);
  9013. GLAPI void APIENTRY glGlobalAlphaFactorubSUN (GLubyte factor);
  9014. GLAPI void APIENTRY glGlobalAlphaFactorusSUN (GLushort factor);
  9015. GLAPI void APIENTRY glGlobalAlphaFactoruiSUN (GLuint factor);
  9016. #endif /* GL_GLEXT_PROTOTYPES */
  9017. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  9018. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  9019. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  9020. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  9021. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  9022. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  9023. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  9024. typedef void (APIENTRYP PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  9025. #endif
  9026. #ifndef GL_SUN_triangle_list
  9027. #define GL_SUN_triangle_list 1
  9028. #ifdef GL_GLEXT_PROTOTYPES
  9029. GLAPI void APIENTRY glReplacementCodeuiSUN (GLuint code);
  9030. GLAPI void APIENTRY glReplacementCodeusSUN (GLushort code);
  9031. GLAPI void APIENTRY glReplacementCodeubSUN (GLubyte code);
  9032. GLAPI void APIENTRY glReplacementCodeuivSUN (const GLuint *code);
  9033. GLAPI void APIENTRY glReplacementCodeusvSUN (const GLushort *code);
  9034. GLAPI void APIENTRY glReplacementCodeubvSUN (const GLubyte *code);
  9035. GLAPI void APIENTRY glReplacementCodePointerSUN (GLenum type, GLsizei stride, const GLvoid* *pointer);
  9036. #endif /* GL_GLEXT_PROTOTYPES */
  9037. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  9038. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  9039. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  9040. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint *code);
  9041. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort *code);
  9042. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte *code);
  9043. typedef void (APIENTRYP PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const GLvoid* *pointer);
  9044. #endif
  9045. #ifndef GL_SUN_vertex
  9046. #define GL_SUN_vertex 1
  9047. #ifdef GL_GLEXT_PROTOTYPES
  9048. GLAPI void APIENTRY glColor4ubVertex2fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  9049. GLAPI void APIENTRY glColor4ubVertex2fvSUN (const GLubyte *c, const GLfloat *v);
  9050. GLAPI void APIENTRY glColor4ubVertex3fSUN (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9051. GLAPI void APIENTRY glColor4ubVertex3fvSUN (const GLubyte *c, const GLfloat *v);
  9052. GLAPI void APIENTRY glColor3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9053. GLAPI void APIENTRY glColor3fVertex3fvSUN (const GLfloat *c, const GLfloat *v);
  9054. GLAPI void APIENTRY glNormal3fVertex3fSUN (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9055. GLAPI void APIENTRY glNormal3fVertex3fvSUN (const GLfloat *n, const GLfloat *v);
  9056. GLAPI void APIENTRY glColor4fNormal3fVertex3fSUN (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9057. GLAPI void APIENTRY glColor4fNormal3fVertex3fvSUN (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9058. GLAPI void APIENTRY glTexCoord2fVertex3fSUN (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  9059. GLAPI void APIENTRY glTexCoord2fVertex3fvSUN (const GLfloat *tc, const GLfloat *v);
  9060. GLAPI void APIENTRY glTexCoord4fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9061. GLAPI void APIENTRY glTexCoord4fVertex4fvSUN (const GLfloat *tc, const GLfloat *v);
  9062. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fSUN (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9063. GLAPI void APIENTRY glTexCoord2fColor4ubVertex3fvSUN (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  9064. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9065. GLAPI void APIENTRY glTexCoord2fColor3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  9066. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9067. GLAPI void APIENTRY glTexCoord2fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  9068. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fSUN (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9069. GLAPI void APIENTRY glTexCoord2fColor4fNormal3fVertex3fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9070. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fSUN (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9071. GLAPI void APIENTRY glTexCoord4fColor4fNormal3fVertex4fvSUN (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9072. GLAPI void APIENTRY glReplacementCodeuiVertex3fSUN (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  9073. GLAPI void APIENTRY glReplacementCodeuiVertex3fvSUN (const GLuint *rc, const GLfloat *v);
  9074. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fSUN (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9075. GLAPI void APIENTRY glReplacementCodeuiColor4ubVertex3fvSUN (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  9076. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9077. GLAPI void APIENTRY glReplacementCodeuiColor3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  9078. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fSUN (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9079. GLAPI void APIENTRY glReplacementCodeuiNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  9080. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9081. GLAPI void APIENTRY glReplacementCodeuiColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9082. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  9083. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  9084. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9085. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  9086. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9087. GLAPI void APIENTRY glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9088. #endif /* GL_GLEXT_PROTOTYPES */
  9089. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  9090. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  9091. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9092. typedef void (APIENTRYP PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte *c, const GLfloat *v);
  9093. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9094. typedef void (APIENTRYP PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *v);
  9095. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9096. typedef void (APIENTRYP PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *n, const GLfloat *v);
  9097. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9098. typedef void (APIENTRYP PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9099. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  9100. typedef void (APIENTRYP PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  9101. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9102. typedef void (APIENTRYP PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *v);
  9103. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9104. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat *tc, const GLubyte *c, const GLfloat *v);
  9105. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9106. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *v);
  9107. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9108. typedef void (APIENTRYP PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  9109. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9110. typedef void (APIENTRYP PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9111. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9112. typedef void (APIENTRYP PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9113. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  9114. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *v);
  9115. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  9116. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint *rc, const GLubyte *c, const GLfloat *v);
  9117. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  9118. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *v);
  9119. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9120. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *n, const GLfloat *v);
  9121. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9122. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9123. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  9124. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *v);
  9125. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9126. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  9127. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  9128. typedef void (APIENTRYP PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint *rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  9129. #endif
  9130. #ifndef GL_EXT_blend_func_separate
  9131. #define GL_EXT_blend_func_separate 1
  9132. #ifdef GL_GLEXT_PROTOTYPES
  9133. GLAPI void APIENTRY glBlendFuncSeparateEXT (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9134. #endif /* GL_GLEXT_PROTOTYPES */
  9135. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9136. #endif
  9137. #ifndef GL_INGR_blend_func_separate
  9138. #define GL_INGR_blend_func_separate 1
  9139. #ifdef GL_GLEXT_PROTOTYPES
  9140. GLAPI void APIENTRY glBlendFuncSeparateINGR (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9141. #endif /* GL_GLEXT_PROTOTYPES */
  9142. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINGRPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  9143. #endif
  9144. #ifndef GL_INGR_color_clamp
  9145. #define GL_INGR_color_clamp 1
  9146. #endif
  9147. #ifndef GL_INGR_interlace_read
  9148. #define GL_INGR_interlace_read 1
  9149. #endif
  9150. #ifndef GL_EXT_stencil_wrap
  9151. #define GL_EXT_stencil_wrap 1
  9152. #endif
  9153. #ifndef GL_EXT_422_pixels
  9154. #define GL_EXT_422_pixels 1
  9155. #endif
  9156. #ifndef GL_NV_texgen_reflection
  9157. #define GL_NV_texgen_reflection 1
  9158. #endif
  9159. #ifndef GL_SUN_convolution_border_modes
  9160. #define GL_SUN_convolution_border_modes 1
  9161. #endif
  9162. #ifndef GL_EXT_texture_env_add
  9163. #define GL_EXT_texture_env_add 1
  9164. #endif
  9165. #ifndef GL_EXT_texture_lod_bias
  9166. #define GL_EXT_texture_lod_bias 1
  9167. #endif
  9168. #ifndef GL_EXT_texture_filter_anisotropic
  9169. #define GL_EXT_texture_filter_anisotropic 1
  9170. #endif
  9171. #ifndef GL_EXT_vertex_weighting
  9172. #define GL_EXT_vertex_weighting 1
  9173. #ifdef GL_GLEXT_PROTOTYPES
  9174. GLAPI void APIENTRY glVertexWeightfEXT (GLfloat weight);
  9175. GLAPI void APIENTRY glVertexWeightfvEXT (const GLfloat *weight);
  9176. GLAPI void APIENTRY glVertexWeightPointerEXT (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9177. #endif /* GL_GLEXT_PROTOTYPES */
  9178. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  9179. typedef void (APIENTRYP PFNGLVERTEXWEIGHTFVEXTPROC) (const GLfloat *weight);
  9180. typedef void (APIENTRYP PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  9181. #endif
  9182. #ifndef GL_NV_light_max_exponent
  9183. #define GL_NV_light_max_exponent 1
  9184. #endif
  9185. #ifndef GL_NV_vertex_array_range
  9186. #define GL_NV_vertex_array_range 1
  9187. #ifdef GL_GLEXT_PROTOTYPES
  9188. GLAPI void APIENTRY glFlushVertexArrayRangeNV (void);
  9189. GLAPI void APIENTRY glVertexArrayRangeNV (GLsizei length, const GLvoid *pointer);
  9190. #endif /* GL_GLEXT_PROTOTYPES */
  9191. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  9192. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, const GLvoid *pointer);
  9193. #endif
  9194. #ifndef GL_NV_register_combiners
  9195. #define GL_NV_register_combiners 1
  9196. #ifdef GL_GLEXT_PROTOTYPES
  9197. GLAPI void APIENTRY glCombinerParameterfvNV (GLenum pname, const GLfloat *params);
  9198. GLAPI void APIENTRY glCombinerParameterfNV (GLenum pname, GLfloat param);
  9199. GLAPI void APIENTRY glCombinerParameterivNV (GLenum pname, const GLint *params);
  9200. GLAPI void APIENTRY glCombinerParameteriNV (GLenum pname, GLint param);
  9201. GLAPI void APIENTRY glCombinerInputNV (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  9202. GLAPI void APIENTRY glCombinerOutputNV (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  9203. GLAPI void APIENTRY glFinalCombinerInputNV (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  9204. GLAPI void APIENTRY glGetCombinerInputParameterfvNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  9205. GLAPI void APIENTRY glGetCombinerInputParameterivNV (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  9206. GLAPI void APIENTRY glGetCombinerOutputParameterfvNV (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  9207. GLAPI void APIENTRY glGetCombinerOutputParameterivNV (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  9208. GLAPI void APIENTRY glGetFinalCombinerInputParameterfvNV (GLenum variable, GLenum pname, GLfloat *params);
  9209. GLAPI void APIENTRY glGetFinalCombinerInputParameterivNV (GLenum variable, GLenum pname, GLint *params);
  9210. #endif /* GL_GLEXT_PROTOTYPES */
  9211. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat *params);
  9212. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  9213. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  9214. typedef void (APIENTRYP PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  9215. typedef void (APIENTRYP PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  9216. typedef void (APIENTRYP PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  9217. typedef void (APIENTRYP PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  9218. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat *params);
  9219. typedef void (APIENTRYP PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint *params);
  9220. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat *params);
  9221. typedef void (APIENTRYP PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint *params);
  9222. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat *params);
  9223. typedef void (APIENTRYP PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint *params);
  9224. #endif
  9225. #ifndef GL_NV_fog_distance
  9226. #define GL_NV_fog_distance 1
  9227. #endif
  9228. #ifndef GL_NV_texgen_emboss
  9229. #define GL_NV_texgen_emboss 1
  9230. #endif
  9231. #ifndef GL_NV_blend_square
  9232. #define GL_NV_blend_square 1
  9233. #endif
  9234. #ifndef GL_NV_texture_env_combine4
  9235. #define GL_NV_texture_env_combine4 1
  9236. #endif
  9237. #ifndef GL_MESA_resize_buffers
  9238. #define GL_MESA_resize_buffers 1
  9239. #ifdef GL_GLEXT_PROTOTYPES
  9240. GLAPI void APIENTRY glResizeBuffersMESA (void);
  9241. #endif /* GL_GLEXT_PROTOTYPES */
  9242. typedef void (APIENTRYP PFNGLRESIZEBUFFERSMESAPROC) (void);
  9243. #endif
  9244. #ifndef GL_MESA_window_pos
  9245. #define GL_MESA_window_pos 1
  9246. #ifdef GL_GLEXT_PROTOTYPES
  9247. GLAPI void APIENTRY glWindowPos2dMESA (GLdouble x, GLdouble y);
  9248. GLAPI void APIENTRY glWindowPos2dvMESA (const GLdouble *v);
  9249. GLAPI void APIENTRY glWindowPos2fMESA (GLfloat x, GLfloat y);
  9250. GLAPI void APIENTRY glWindowPos2fvMESA (const GLfloat *v);
  9251. GLAPI void APIENTRY glWindowPos2iMESA (GLint x, GLint y);
  9252. GLAPI void APIENTRY glWindowPos2ivMESA (const GLint *v);
  9253. GLAPI void APIENTRY glWindowPos2sMESA (GLshort x, GLshort y);
  9254. GLAPI void APIENTRY glWindowPos2svMESA (const GLshort *v);
  9255. GLAPI void APIENTRY glWindowPos3dMESA (GLdouble x, GLdouble y, GLdouble z);
  9256. GLAPI void APIENTRY glWindowPos3dvMESA (const GLdouble *v);
  9257. GLAPI void APIENTRY glWindowPos3fMESA (GLfloat x, GLfloat y, GLfloat z);
  9258. GLAPI void APIENTRY glWindowPos3fvMESA (const GLfloat *v);
  9259. GLAPI void APIENTRY glWindowPos3iMESA (GLint x, GLint y, GLint z);
  9260. GLAPI void APIENTRY glWindowPos3ivMESA (const GLint *v);
  9261. GLAPI void APIENTRY glWindowPos3sMESA (GLshort x, GLshort y, GLshort z);
  9262. GLAPI void APIENTRY glWindowPos3svMESA (const GLshort *v);
  9263. GLAPI void APIENTRY glWindowPos4dMESA (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9264. GLAPI void APIENTRY glWindowPos4dvMESA (const GLdouble *v);
  9265. GLAPI void APIENTRY glWindowPos4fMESA (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9266. GLAPI void APIENTRY glWindowPos4fvMESA (const GLfloat *v);
  9267. GLAPI void APIENTRY glWindowPos4iMESA (GLint x, GLint y, GLint z, GLint w);
  9268. GLAPI void APIENTRY glWindowPos4ivMESA (const GLint *v);
  9269. GLAPI void APIENTRY glWindowPos4sMESA (GLshort x, GLshort y, GLshort z, GLshort w);
  9270. GLAPI void APIENTRY glWindowPos4svMESA (const GLshort *v);
  9271. #endif /* GL_GLEXT_PROTOTYPES */
  9272. typedef void (APIENTRYP PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  9273. typedef void (APIENTRYP PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble *v);
  9274. typedef void (APIENTRYP PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  9275. typedef void (APIENTRYP PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat *v);
  9276. typedef void (APIENTRYP PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  9277. typedef void (APIENTRYP PFNGLWINDOWPOS2IVMESAPROC) (const GLint *v);
  9278. typedef void (APIENTRYP PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  9279. typedef void (APIENTRYP PFNGLWINDOWPOS2SVMESAPROC) (const GLshort *v);
  9280. typedef void (APIENTRYP PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  9281. typedef void (APIENTRYP PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble *v);
  9282. typedef void (APIENTRYP PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  9283. typedef void (APIENTRYP PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat *v);
  9284. typedef void (APIENTRYP PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  9285. typedef void (APIENTRYP PFNGLWINDOWPOS3IVMESAPROC) (const GLint *v);
  9286. typedef void (APIENTRYP PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  9287. typedef void (APIENTRYP PFNGLWINDOWPOS3SVMESAPROC) (const GLshort *v);
  9288. typedef void (APIENTRYP PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9289. typedef void (APIENTRYP PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble *v);
  9290. typedef void (APIENTRYP PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9291. typedef void (APIENTRYP PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat *v);
  9292. typedef void (APIENTRYP PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  9293. typedef void (APIENTRYP PFNGLWINDOWPOS4IVMESAPROC) (const GLint *v);
  9294. typedef void (APIENTRYP PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  9295. typedef void (APIENTRYP PFNGLWINDOWPOS4SVMESAPROC) (const GLshort *v);
  9296. #endif
  9297. #ifndef GL_IBM_cull_vertex
  9298. #define GL_IBM_cull_vertex 1
  9299. #endif
  9300. #ifndef GL_IBM_multimode_draw_arrays
  9301. #define GL_IBM_multimode_draw_arrays 1
  9302. #ifdef GL_GLEXT_PROTOTYPES
  9303. GLAPI void APIENTRY glMultiModeDrawArraysIBM (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9304. GLAPI void APIENTRY glMultiModeDrawElementsIBM (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  9305. #endif /* GL_GLEXT_PROTOTYPES */
  9306. typedef void (APIENTRYP PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum *mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9307. typedef void (APIENTRYP PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum *mode, const GLsizei *count, GLenum type, const GLvoid* const *indices, GLsizei primcount, GLint modestride);
  9308. #endif
  9309. #ifndef GL_IBM_vertex_array_lists
  9310. #define GL_IBM_vertex_array_lists 1
  9311. #ifdef GL_GLEXT_PROTOTYPES
  9312. GLAPI void APIENTRY glColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9313. GLAPI void APIENTRY glSecondaryColorPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9314. GLAPI void APIENTRY glEdgeFlagPointerListIBM (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  9315. GLAPI void APIENTRY glFogCoordPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9316. GLAPI void APIENTRY glIndexPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9317. GLAPI void APIENTRY glNormalPointerListIBM (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9318. GLAPI void APIENTRY glTexCoordPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9319. GLAPI void APIENTRY glVertexPointerListIBM (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9320. #endif /* GL_GLEXT_PROTOTYPES */
  9321. typedef void (APIENTRYP PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9322. typedef void (APIENTRYP PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9323. typedef void (APIENTRYP PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean* *pointer, GLint ptrstride);
  9324. typedef void (APIENTRYP PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9325. typedef void (APIENTRYP PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9326. typedef void (APIENTRYP PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9327. typedef void (APIENTRYP PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9328. typedef void (APIENTRYP PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid* *pointer, GLint ptrstride);
  9329. #endif
  9330. #ifndef GL_SGIX_subsample
  9331. #define GL_SGIX_subsample 1
  9332. #endif
  9333. #ifndef GL_SGIX_ycrcba
  9334. #define GL_SGIX_ycrcba 1
  9335. #endif
  9336. #ifndef GL_SGIX_ycrcb_subsample
  9337. #define GL_SGIX_ycrcb_subsample 1
  9338. #endif
  9339. #ifndef GL_SGIX_depth_pass_instrument
  9340. #define GL_SGIX_depth_pass_instrument 1
  9341. #endif
  9342. #ifndef GL_3DFX_texture_compression_FXT1
  9343. #define GL_3DFX_texture_compression_FXT1 1
  9344. #endif
  9345. #ifndef GL_3DFX_multisample
  9346. #define GL_3DFX_multisample 1
  9347. #endif
  9348. #ifndef GL_3DFX_tbuffer
  9349. #define GL_3DFX_tbuffer 1
  9350. #ifdef GL_GLEXT_PROTOTYPES
  9351. GLAPI void APIENTRY glTbufferMask3DFX (GLuint mask);
  9352. #endif /* GL_GLEXT_PROTOTYPES */
  9353. typedef void (APIENTRYP PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  9354. #endif
  9355. #ifndef GL_EXT_multisample
  9356. #define GL_EXT_multisample 1
  9357. #ifdef GL_GLEXT_PROTOTYPES
  9358. GLAPI void APIENTRY glSampleMaskEXT (GLclampf value, GLboolean invert);
  9359. GLAPI void APIENTRY glSamplePatternEXT (GLenum pattern);
  9360. #endif /* GL_GLEXT_PROTOTYPES */
  9361. typedef void (APIENTRYP PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  9362. typedef void (APIENTRYP PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  9363. #endif
  9364. #ifndef GL_SGIX_vertex_preclip
  9365. #define GL_SGIX_vertex_preclip 1
  9366. #endif
  9367. #ifndef GL_SGIX_convolution_accuracy
  9368. #define GL_SGIX_convolution_accuracy 1
  9369. #endif
  9370. #ifndef GL_SGIX_resample
  9371. #define GL_SGIX_resample 1
  9372. #endif
  9373. #ifndef GL_SGIS_point_line_texgen
  9374. #define GL_SGIS_point_line_texgen 1
  9375. #endif
  9376. #ifndef GL_SGIS_texture_color_mask
  9377. #define GL_SGIS_texture_color_mask 1
  9378. #ifdef GL_GLEXT_PROTOTYPES
  9379. GLAPI void APIENTRY glTextureColorMaskSGIS (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  9380. #endif /* GL_GLEXT_PROTOTYPES */
  9381. typedef void (APIENTRYP PFNGLTEXTURECOLORMASKSGISPROC) (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  9382. #endif
  9383. #ifndef GL_SGIX_igloo_interface
  9384. #define GL_SGIX_igloo_interface 1
  9385. #ifdef GL_GLEXT_PROTOTYPES
  9386. GLAPI void APIENTRY glIglooInterfaceSGIX (GLenum pname, const GLvoid *params);
  9387. #endif /* GL_GLEXT_PROTOTYPES */
  9388. typedef void (APIENTRYP PFNGLIGLOOINTERFACESGIXPROC) (GLenum pname, const GLvoid *params);
  9389. #endif
  9390. #ifndef GL_EXT_texture_env_dot3
  9391. #define GL_EXT_texture_env_dot3 1
  9392. #endif
  9393. #ifndef GL_ATI_texture_mirror_once
  9394. #define GL_ATI_texture_mirror_once 1
  9395. #endif
  9396. #ifndef GL_NV_fence
  9397. #define GL_NV_fence 1
  9398. #ifdef GL_GLEXT_PROTOTYPES
  9399. GLAPI void APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  9400. GLAPI void APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  9401. GLAPI GLboolean APIENTRY glIsFenceNV (GLuint fence);
  9402. GLAPI GLboolean APIENTRY glTestFenceNV (GLuint fence);
  9403. GLAPI void APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  9404. GLAPI void APIENTRY glFinishFenceNV (GLuint fence);
  9405. GLAPI void APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  9406. #endif /* GL_GLEXT_PROTOTYPES */
  9407. typedef void (APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  9408. typedef void (APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  9409. typedef GLboolean (APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  9410. typedef GLboolean (APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  9411. typedef void (APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  9412. typedef void (APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  9413. typedef void (APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  9414. #endif
  9415. #ifndef GL_NV_evaluators
  9416. #define GL_NV_evaluators 1
  9417. #ifdef GL_GLEXT_PROTOTYPES
  9418. GLAPI void APIENTRY glMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  9419. GLAPI void APIENTRY glMapParameterivNV (GLenum target, GLenum pname, const GLint *params);
  9420. GLAPI void APIENTRY glMapParameterfvNV (GLenum target, GLenum pname, const GLfloat *params);
  9421. GLAPI void APIENTRY glGetMapControlPointsNV (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  9422. GLAPI void APIENTRY glGetMapParameterivNV (GLenum target, GLenum pname, GLint *params);
  9423. GLAPI void APIENTRY glGetMapParameterfvNV (GLenum target, GLenum pname, GLfloat *params);
  9424. GLAPI void APIENTRY glGetMapAttribParameterivNV (GLenum target, GLuint index, GLenum pname, GLint *params);
  9425. GLAPI void APIENTRY glGetMapAttribParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9426. GLAPI void APIENTRY glEvalMapsNV (GLenum target, GLenum mode);
  9427. #endif /* GL_GLEXT_PROTOTYPES */
  9428. typedef void (APIENTRYP PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const GLvoid *points);
  9429. typedef void (APIENTRYP PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint *params);
  9430. typedef void (APIENTRYP PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  9431. typedef void (APIENTRYP PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, GLvoid *points);
  9432. typedef void (APIENTRYP PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint *params);
  9433. typedef void (APIENTRYP PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat *params);
  9434. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint *params);
  9435. typedef void (APIENTRYP PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9436. typedef void (APIENTRYP PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  9437. #endif
  9438. #ifndef GL_NV_packed_depth_stencil
  9439. #define GL_NV_packed_depth_stencil 1
  9440. #endif
  9441. #ifndef GL_NV_register_combiners2
  9442. #define GL_NV_register_combiners2 1
  9443. #ifdef GL_GLEXT_PROTOTYPES
  9444. GLAPI void APIENTRY glCombinerStageParameterfvNV (GLenum stage, GLenum pname, const GLfloat *params);
  9445. GLAPI void APIENTRY glGetCombinerStageParameterfvNV (GLenum stage, GLenum pname, GLfloat *params);
  9446. #endif /* GL_GLEXT_PROTOTYPES */
  9447. typedef void (APIENTRYP PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat *params);
  9448. typedef void (APIENTRYP PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat *params);
  9449. #endif
  9450. #ifndef GL_NV_texture_compression_vtc
  9451. #define GL_NV_texture_compression_vtc 1
  9452. #endif
  9453. #ifndef GL_NV_texture_rectangle
  9454. #define GL_NV_texture_rectangle 1
  9455. #endif
  9456. #ifndef GL_NV_texture_shader
  9457. #define GL_NV_texture_shader 1
  9458. #endif
  9459. #ifndef GL_NV_texture_shader2
  9460. #define GL_NV_texture_shader2 1
  9461. #endif
  9462. #ifndef GL_NV_vertex_array_range2
  9463. #define GL_NV_vertex_array_range2 1
  9464. #endif
  9465. #ifndef GL_NV_vertex_program
  9466. #define GL_NV_vertex_program 1
  9467. #ifdef GL_GLEXT_PROTOTYPES
  9468. GLAPI GLboolean APIENTRY glAreProgramsResidentNV (GLsizei n, const GLuint *programs, GLboolean *residences);
  9469. GLAPI void APIENTRY glBindProgramNV (GLenum target, GLuint id);
  9470. GLAPI void APIENTRY glDeleteProgramsNV (GLsizei n, const GLuint *programs);
  9471. GLAPI void APIENTRY glExecuteProgramNV (GLenum target, GLuint id, const GLfloat *params);
  9472. GLAPI void APIENTRY glGenProgramsNV (GLsizei n, GLuint *programs);
  9473. GLAPI void APIENTRY glGetProgramParameterdvNV (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9474. GLAPI void APIENTRY glGetProgramParameterfvNV (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9475. GLAPI void APIENTRY glGetProgramivNV (GLuint id, GLenum pname, GLint *params);
  9476. GLAPI void APIENTRY glGetProgramStringNV (GLuint id, GLenum pname, GLubyte *program);
  9477. GLAPI void APIENTRY glGetTrackMatrixivNV (GLenum target, GLuint address, GLenum pname, GLint *params);
  9478. GLAPI void APIENTRY glGetVertexAttribdvNV (GLuint index, GLenum pname, GLdouble *params);
  9479. GLAPI void APIENTRY glGetVertexAttribfvNV (GLuint index, GLenum pname, GLfloat *params);
  9480. GLAPI void APIENTRY glGetVertexAttribivNV (GLuint index, GLenum pname, GLint *params);
  9481. GLAPI void APIENTRY glGetVertexAttribPointervNV (GLuint index, GLenum pname, GLvoid* *pointer);
  9482. GLAPI GLboolean APIENTRY glIsProgramNV (GLuint id);
  9483. GLAPI void APIENTRY glLoadProgramNV (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9484. GLAPI void APIENTRY glProgramParameter4dNV (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9485. GLAPI void APIENTRY glProgramParameter4dvNV (GLenum target, GLuint index, const GLdouble *v);
  9486. GLAPI void APIENTRY glProgramParameter4fNV (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9487. GLAPI void APIENTRY glProgramParameter4fvNV (GLenum target, GLuint index, const GLfloat *v);
  9488. GLAPI void APIENTRY glProgramParameters4dvNV (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9489. GLAPI void APIENTRY glProgramParameters4fvNV (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9490. GLAPI void APIENTRY glRequestResidentProgramsNV (GLsizei n, const GLuint *programs);
  9491. GLAPI void APIENTRY glTrackMatrixNV (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9492. GLAPI void APIENTRY glVertexAttribPointerNV (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
  9493. GLAPI void APIENTRY glVertexAttrib1dNV (GLuint index, GLdouble x);
  9494. GLAPI void APIENTRY glVertexAttrib1dvNV (GLuint index, const GLdouble *v);
  9495. GLAPI void APIENTRY glVertexAttrib1fNV (GLuint index, GLfloat x);
  9496. GLAPI void APIENTRY glVertexAttrib1fvNV (GLuint index, const GLfloat *v);
  9497. GLAPI void APIENTRY glVertexAttrib1sNV (GLuint index, GLshort x);
  9498. GLAPI void APIENTRY glVertexAttrib1svNV (GLuint index, const GLshort *v);
  9499. GLAPI void APIENTRY glVertexAttrib2dNV (GLuint index, GLdouble x, GLdouble y);
  9500. GLAPI void APIENTRY glVertexAttrib2dvNV (GLuint index, const GLdouble *v);
  9501. GLAPI void APIENTRY glVertexAttrib2fNV (GLuint index, GLfloat x, GLfloat y);
  9502. GLAPI void APIENTRY glVertexAttrib2fvNV (GLuint index, const GLfloat *v);
  9503. GLAPI void APIENTRY glVertexAttrib2sNV (GLuint index, GLshort x, GLshort y);
  9504. GLAPI void APIENTRY glVertexAttrib2svNV (GLuint index, const GLshort *v);
  9505. GLAPI void APIENTRY glVertexAttrib3dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9506. GLAPI void APIENTRY glVertexAttrib3dvNV (GLuint index, const GLdouble *v);
  9507. GLAPI void APIENTRY glVertexAttrib3fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9508. GLAPI void APIENTRY glVertexAttrib3fvNV (GLuint index, const GLfloat *v);
  9509. GLAPI void APIENTRY glVertexAttrib3sNV (GLuint index, GLshort x, GLshort y, GLshort z);
  9510. GLAPI void APIENTRY glVertexAttrib3svNV (GLuint index, const GLshort *v);
  9511. GLAPI void APIENTRY glVertexAttrib4dNV (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9512. GLAPI void APIENTRY glVertexAttrib4dvNV (GLuint index, const GLdouble *v);
  9513. GLAPI void APIENTRY glVertexAttrib4fNV (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9514. GLAPI void APIENTRY glVertexAttrib4fvNV (GLuint index, const GLfloat *v);
  9515. GLAPI void APIENTRY glVertexAttrib4sNV (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9516. GLAPI void APIENTRY glVertexAttrib4svNV (GLuint index, const GLshort *v);
  9517. GLAPI void APIENTRY glVertexAttrib4ubNV (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9518. GLAPI void APIENTRY glVertexAttrib4ubvNV (GLuint index, const GLubyte *v);
  9519. GLAPI void APIENTRY glVertexAttribs1dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9520. GLAPI void APIENTRY glVertexAttribs1fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9521. GLAPI void APIENTRY glVertexAttribs1svNV (GLuint index, GLsizei count, const GLshort *v);
  9522. GLAPI void APIENTRY glVertexAttribs2dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9523. GLAPI void APIENTRY glVertexAttribs2fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9524. GLAPI void APIENTRY glVertexAttribs2svNV (GLuint index, GLsizei count, const GLshort *v);
  9525. GLAPI void APIENTRY glVertexAttribs3dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9526. GLAPI void APIENTRY glVertexAttribs3fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9527. GLAPI void APIENTRY glVertexAttribs3svNV (GLuint index, GLsizei count, const GLshort *v);
  9528. GLAPI void APIENTRY glVertexAttribs4dvNV (GLuint index, GLsizei count, const GLdouble *v);
  9529. GLAPI void APIENTRY glVertexAttribs4fvNV (GLuint index, GLsizei count, const GLfloat *v);
  9530. GLAPI void APIENTRY glVertexAttribs4svNV (GLuint index, GLsizei count, const GLshort *v);
  9531. GLAPI void APIENTRY glVertexAttribs4ubvNV (GLuint index, GLsizei count, const GLubyte *v);
  9532. #endif /* GL_GLEXT_PROTOTYPES */
  9533. typedef GLboolean (APIENTRYP PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint *programs, GLboolean *residences);
  9534. typedef void (APIENTRYP PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  9535. typedef void (APIENTRYP PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9536. typedef void (APIENTRYP PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat *params);
  9537. typedef void (APIENTRYP PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint *programs);
  9538. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble *params);
  9539. typedef void (APIENTRYP PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat *params);
  9540. typedef void (APIENTRYP PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  9541. typedef void (APIENTRYP PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte *program);
  9542. typedef void (APIENTRYP PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint *params);
  9543. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble *params);
  9544. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat *params);
  9545. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint *params);
  9546. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid* *pointer);
  9547. typedef GLboolean (APIENTRYP PFNGLISPROGRAMNVPROC) (GLuint id);
  9548. typedef void (APIENTRYP PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte *program);
  9549. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9550. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble *v);
  9551. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9552. typedef void (APIENTRYP PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat *v);
  9553. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLdouble *v);
  9554. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *v);
  9555. typedef void (APIENTRYP PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, const GLuint *programs);
  9556. typedef void (APIENTRYP PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  9557. typedef void (APIENTRYP PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint fsize, GLenum type, GLsizei stride, const GLvoid *pointer);
  9558. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  9559. typedef void (APIENTRYP PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble *v);
  9560. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  9561. typedef void (APIENTRYP PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat *v);
  9562. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  9563. typedef void (APIENTRYP PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort *v);
  9564. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  9565. typedef void (APIENTRYP PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble *v);
  9566. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  9567. typedef void (APIENTRYP PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat *v);
  9568. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  9569. typedef void (APIENTRYP PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort *v);
  9570. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  9571. typedef void (APIENTRYP PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble *v);
  9572. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  9573. typedef void (APIENTRYP PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat *v);
  9574. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  9575. typedef void (APIENTRYP PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort *v);
  9576. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9577. typedef void (APIENTRYP PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble *v);
  9578. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9579. typedef void (APIENTRYP PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat *v);
  9580. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  9581. typedef void (APIENTRYP PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort *v);
  9582. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  9583. typedef void (APIENTRYP PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte *v);
  9584. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9585. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9586. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9587. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9588. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9589. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9590. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9591. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9592. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9593. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei count, const GLdouble *v);
  9594. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei count, const GLfloat *v);
  9595. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei count, const GLshort *v);
  9596. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei count, const GLubyte *v);
  9597. #endif
  9598. #ifndef GL_SGIX_texture_coordinate_clamp
  9599. #define GL_SGIX_texture_coordinate_clamp 1
  9600. #endif
  9601. #ifndef GL_SGIX_scalebias_hint
  9602. #define GL_SGIX_scalebias_hint 1
  9603. #endif
  9604. #ifndef GL_OML_interlace
  9605. #define GL_OML_interlace 1
  9606. #endif
  9607. #ifndef GL_OML_subsample
  9608. #define GL_OML_subsample 1
  9609. #endif
  9610. #ifndef GL_OML_resample
  9611. #define GL_OML_resample 1
  9612. #endif
  9613. #ifndef GL_NV_copy_depth_to_color
  9614. #define GL_NV_copy_depth_to_color 1
  9615. #endif
  9616. #ifndef GL_ATI_envmap_bumpmap
  9617. #define GL_ATI_envmap_bumpmap 1
  9618. #ifdef GL_GLEXT_PROTOTYPES
  9619. GLAPI void APIENTRY glTexBumpParameterivATI (GLenum pname, const GLint *param);
  9620. GLAPI void APIENTRY glTexBumpParameterfvATI (GLenum pname, const GLfloat *param);
  9621. GLAPI void APIENTRY glGetTexBumpParameterivATI (GLenum pname, GLint *param);
  9622. GLAPI void APIENTRY glGetTexBumpParameterfvATI (GLenum pname, GLfloat *param);
  9623. #endif /* GL_GLEXT_PROTOTYPES */
  9624. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, const GLint *param);
  9625. typedef void (APIENTRYP PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, const GLfloat *param);
  9626. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  9627. typedef void (APIENTRYP PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  9628. #endif
  9629. #ifndef GL_ATI_fragment_shader
  9630. #define GL_ATI_fragment_shader 1
  9631. #ifdef GL_GLEXT_PROTOTYPES
  9632. GLAPI GLuint APIENTRY glGenFragmentShadersATI (GLuint range);
  9633. GLAPI void APIENTRY glBindFragmentShaderATI (GLuint id);
  9634. GLAPI void APIENTRY glDeleteFragmentShaderATI (GLuint id);
  9635. GLAPI void APIENTRY glBeginFragmentShaderATI (void);
  9636. GLAPI void APIENTRY glEndFragmentShaderATI (void);
  9637. GLAPI void APIENTRY glPassTexCoordATI (GLuint dst, GLuint coord, GLenum swizzle);
  9638. GLAPI void APIENTRY glSampleMapATI (GLuint dst, GLuint interp, GLenum swizzle);
  9639. GLAPI void APIENTRY glColorFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  9640. GLAPI void APIENTRY glColorFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  9641. GLAPI void APIENTRY glColorFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  9642. GLAPI void APIENTRY glAlphaFragmentOp1ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  9643. GLAPI void APIENTRY glAlphaFragmentOp2ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  9644. GLAPI void APIENTRY glAlphaFragmentOp3ATI (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  9645. GLAPI void APIENTRY glSetFragmentShaderConstantATI (GLuint dst, const GLfloat *value);
  9646. #endif /* GL_GLEXT_PROTOTYPES */
  9647. typedef GLuint (APIENTRYP PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  9648. typedef void (APIENTRYP PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  9649. typedef void (APIENTRYP PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  9650. typedef void (APIENTRYP PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  9651. typedef void (APIENTRYP PFNGLENDFRAGMENTSHADERATIPROC) (void);
  9652. typedef void (APIENTRYP PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  9653. typedef void (APIENTRYP PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  9654. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  9655. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  9656. typedef void (APIENTRYP PFNGLCOLORFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  9657. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  9658. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  9659. typedef void (APIENTRYP PFNGLALPHAFRAGMENTOP3ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod, GLuint arg3, GLuint arg3Rep, GLuint arg3Mod);
  9660. typedef void (APIENTRYP PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat *value);
  9661. #endif
  9662. #ifndef GL_ATI_pn_triangles
  9663. #define GL_ATI_pn_triangles 1
  9664. #ifdef GL_GLEXT_PROTOTYPES
  9665. GLAPI void APIENTRY glPNTrianglesiATI (GLenum pname, GLint param);
  9666. GLAPI void APIENTRY glPNTrianglesfATI (GLenum pname, GLfloat param);
  9667. #endif /* GL_GLEXT_PROTOTYPES */
  9668. typedef void (APIENTRYP PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  9669. typedef void (APIENTRYP PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  9670. #endif
  9671. #ifndef GL_ATI_vertex_array_object
  9672. #define GL_ATI_vertex_array_object 1
  9673. #ifdef GL_GLEXT_PROTOTYPES
  9674. GLAPI GLuint APIENTRY glNewObjectBufferATI (GLsizei size, const GLvoid *pointer, GLenum usage);
  9675. GLAPI GLboolean APIENTRY glIsObjectBufferATI (GLuint buffer);
  9676. GLAPI void APIENTRY glUpdateObjectBufferATI (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
  9677. GLAPI void APIENTRY glGetObjectBufferfvATI (GLuint buffer, GLenum pname, GLfloat *params);
  9678. GLAPI void APIENTRY glGetObjectBufferivATI (GLuint buffer, GLenum pname, GLint *params);
  9679. GLAPI void APIENTRY glFreeObjectBufferATI (GLuint buffer);
  9680. GLAPI void APIENTRY glArrayObjectATI (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  9681. GLAPI void APIENTRY glGetArrayObjectfvATI (GLenum array, GLenum pname, GLfloat *params);
  9682. GLAPI void APIENTRY glGetArrayObjectivATI (GLenum array, GLenum pname, GLint *params);
  9683. GLAPI void APIENTRY glVariantArrayObjectATI (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  9684. GLAPI void APIENTRY glGetVariantArrayObjectfvATI (GLuint id, GLenum pname, GLfloat *params);
  9685. GLAPI void APIENTRY glGetVariantArrayObjectivATI (GLuint id, GLenum pname, GLint *params);
  9686. #endif /* GL_GLEXT_PROTOTYPES */
  9687. typedef GLuint (APIENTRYP PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const GLvoid *pointer, GLenum usage);
  9688. typedef GLboolean (APIENTRYP PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  9689. typedef void (APIENTRYP PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const GLvoid *pointer, GLenum preserve);
  9690. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat *params);
  9691. typedef void (APIENTRYP PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint *params);
  9692. typedef void (APIENTRYP PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  9693. typedef void (APIENTRYP PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  9694. typedef void (APIENTRYP PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat *params);
  9695. typedef void (APIENTRYP PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint *params);
  9696. typedef void (APIENTRYP PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  9697. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat *params);
  9698. typedef void (APIENTRYP PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint *params);
  9699. #endif
  9700. #ifndef GL_EXT_vertex_shader
  9701. #define GL_EXT_vertex_shader 1
  9702. #ifdef GL_GLEXT_PROTOTYPES
  9703. GLAPI void APIENTRY glBeginVertexShaderEXT (void);
  9704. GLAPI void APIENTRY glEndVertexShaderEXT (void);
  9705. GLAPI void APIENTRY glBindVertexShaderEXT (GLuint id);
  9706. GLAPI GLuint APIENTRY glGenVertexShadersEXT (GLuint range);
  9707. GLAPI void APIENTRY glDeleteVertexShaderEXT (GLuint id);
  9708. GLAPI void APIENTRY glShaderOp1EXT (GLenum op, GLuint res, GLuint arg1);
  9709. GLAPI void APIENTRY glShaderOp2EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  9710. GLAPI void APIENTRY glShaderOp3EXT (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  9711. GLAPI void APIENTRY glSwizzleEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  9712. GLAPI void APIENTRY glWriteMaskEXT (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  9713. GLAPI void APIENTRY glInsertComponentEXT (GLuint res, GLuint src, GLuint num);
  9714. GLAPI void APIENTRY glExtractComponentEXT (GLuint res, GLuint src, GLuint num);
  9715. GLAPI GLuint APIENTRY glGenSymbolsEXT (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  9716. GLAPI void APIENTRY glSetInvariantEXT (GLuint id, GLenum type, const GLvoid *addr);
  9717. GLAPI void APIENTRY glSetLocalConstantEXT (GLuint id, GLenum type, const GLvoid *addr);
  9718. GLAPI void APIENTRY glVariantbvEXT (GLuint id, const GLbyte *addr);
  9719. GLAPI void APIENTRY glVariantsvEXT (GLuint id, const GLshort *addr);
  9720. GLAPI void APIENTRY glVariantivEXT (GLuint id, const GLint *addr);
  9721. GLAPI void APIENTRY glVariantfvEXT (GLuint id, const GLfloat *addr);
  9722. GLAPI void APIENTRY glVariantdvEXT (GLuint id, const GLdouble *addr);
  9723. GLAPI void APIENTRY glVariantubvEXT (GLuint id, const GLubyte *addr);
  9724. GLAPI void APIENTRY glVariantusvEXT (GLuint id, const GLushort *addr);
  9725. GLAPI void APIENTRY glVariantuivEXT (GLuint id, const GLuint *addr);
  9726. GLAPI void APIENTRY glVariantPointerEXT (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
  9727. GLAPI void APIENTRY glEnableVariantClientStateEXT (GLuint id);
  9728. GLAPI void APIENTRY glDisableVariantClientStateEXT (GLuint id);
  9729. GLAPI GLuint APIENTRY glBindLightParameterEXT (GLenum light, GLenum value);
  9730. GLAPI GLuint APIENTRY glBindMaterialParameterEXT (GLenum face, GLenum value);
  9731. GLAPI GLuint APIENTRY glBindTexGenParameterEXT (GLenum unit, GLenum coord, GLenum value);
  9732. GLAPI GLuint APIENTRY glBindTextureUnitParameterEXT (GLenum unit, GLenum value);
  9733. GLAPI GLuint APIENTRY glBindParameterEXT (GLenum value);
  9734. GLAPI GLboolean APIENTRY glIsVariantEnabledEXT (GLuint id, GLenum cap);
  9735. GLAPI void APIENTRY glGetVariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  9736. GLAPI void APIENTRY glGetVariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  9737. GLAPI void APIENTRY glGetVariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  9738. GLAPI void APIENTRY glGetVariantPointervEXT (GLuint id, GLenum value, GLvoid* *data);
  9739. GLAPI void APIENTRY glGetInvariantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  9740. GLAPI void APIENTRY glGetInvariantIntegervEXT (GLuint id, GLenum value, GLint *data);
  9741. GLAPI void APIENTRY glGetInvariantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  9742. GLAPI void APIENTRY glGetLocalConstantBooleanvEXT (GLuint id, GLenum value, GLboolean *data);
  9743. GLAPI void APIENTRY glGetLocalConstantIntegervEXT (GLuint id, GLenum value, GLint *data);
  9744. GLAPI void APIENTRY glGetLocalConstantFloatvEXT (GLuint id, GLenum value, GLfloat *data);
  9745. #endif /* GL_GLEXT_PROTOTYPES */
  9746. typedef void (APIENTRYP PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  9747. typedef void (APIENTRYP PFNGLENDVERTEXSHADEREXTPROC) (void);
  9748. typedef void (APIENTRYP PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  9749. typedef GLuint (APIENTRYP PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  9750. typedef void (APIENTRYP PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  9751. typedef void (APIENTRYP PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  9752. typedef void (APIENTRYP PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  9753. typedef void (APIENTRYP PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  9754. typedef void (APIENTRYP PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  9755. typedef void (APIENTRYP PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  9756. typedef void (APIENTRYP PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  9757. typedef void (APIENTRYP PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  9758. typedef GLuint (APIENTRYP PFNGLGENSYMBOLSEXTPROC) (GLenum datatype, GLenum storagetype, GLenum range, GLuint components);
  9759. typedef void (APIENTRYP PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  9760. typedef void (APIENTRYP PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, const GLvoid *addr);
  9761. typedef void (APIENTRYP PFNGLVARIANTBVEXTPROC) (GLuint id, const GLbyte *addr);
  9762. typedef void (APIENTRYP PFNGLVARIANTSVEXTPROC) (GLuint id, const GLshort *addr);
  9763. typedef void (APIENTRYP PFNGLVARIANTIVEXTPROC) (GLuint id, const GLint *addr);
  9764. typedef void (APIENTRYP PFNGLVARIANTFVEXTPROC) (GLuint id, const GLfloat *addr);
  9765. typedef void (APIENTRYP PFNGLVARIANTDVEXTPROC) (GLuint id, const GLdouble *addr);
  9766. typedef void (APIENTRYP PFNGLVARIANTUBVEXTPROC) (GLuint id, const GLubyte *addr);
  9767. typedef void (APIENTRYP PFNGLVARIANTUSVEXTPROC) (GLuint id, const GLushort *addr);
  9768. typedef void (APIENTRYP PFNGLVARIANTUIVEXTPROC) (GLuint id, const GLuint *addr);
  9769. typedef void (APIENTRYP PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, const GLvoid *addr);
  9770. typedef void (APIENTRYP PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  9771. typedef void (APIENTRYP PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  9772. typedef GLuint (APIENTRYP PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  9773. typedef GLuint (APIENTRYP PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  9774. typedef GLuint (APIENTRYP PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  9775. typedef GLuint (APIENTRYP PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  9776. typedef GLuint (APIENTRYP PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  9777. typedef GLboolean (APIENTRYP PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  9778. typedef void (APIENTRYP PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  9779. typedef void (APIENTRYP PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  9780. typedef void (APIENTRYP PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  9781. typedef void (APIENTRYP PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid* *data);
  9782. typedef void (APIENTRYP PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  9783. typedef void (APIENTRYP PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  9784. typedef void (APIENTRYP PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  9785. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  9786. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  9787. typedef void (APIENTRYP PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  9788. #endif
  9789. #ifndef GL_ATI_vertex_streams
  9790. #define GL_ATI_vertex_streams 1
  9791. #ifdef GL_GLEXT_PROTOTYPES
  9792. GLAPI void APIENTRY glVertexStream1sATI (GLenum stream, GLshort x);
  9793. GLAPI void APIENTRY glVertexStream1svATI (GLenum stream, const GLshort *coords);
  9794. GLAPI void APIENTRY glVertexStream1iATI (GLenum stream, GLint x);
  9795. GLAPI void APIENTRY glVertexStream1ivATI (GLenum stream, const GLint *coords);
  9796. GLAPI void APIENTRY glVertexStream1fATI (GLenum stream, GLfloat x);
  9797. GLAPI void APIENTRY glVertexStream1fvATI (GLenum stream, const GLfloat *coords);
  9798. GLAPI void APIENTRY glVertexStream1dATI (GLenum stream, GLdouble x);
  9799. GLAPI void APIENTRY glVertexStream1dvATI (GLenum stream, const GLdouble *coords);
  9800. GLAPI void APIENTRY glVertexStream2sATI (GLenum stream, GLshort x, GLshort y);
  9801. GLAPI void APIENTRY glVertexStream2svATI (GLenum stream, const GLshort *coords);
  9802. GLAPI void APIENTRY glVertexStream2iATI (GLenum stream, GLint x, GLint y);
  9803. GLAPI void APIENTRY glVertexStream2ivATI (GLenum stream, const GLint *coords);
  9804. GLAPI void APIENTRY glVertexStream2fATI (GLenum stream, GLfloat x, GLfloat y);
  9805. GLAPI void APIENTRY glVertexStream2fvATI (GLenum stream, const GLfloat *coords);
  9806. GLAPI void APIENTRY glVertexStream2dATI (GLenum stream, GLdouble x, GLdouble y);
  9807. GLAPI void APIENTRY glVertexStream2dvATI (GLenum stream, const GLdouble *coords);
  9808. GLAPI void APIENTRY glVertexStream3sATI (GLenum stream, GLshort x, GLshort y, GLshort z);
  9809. GLAPI void APIENTRY glVertexStream3svATI (GLenum stream, const GLshort *coords);
  9810. GLAPI void APIENTRY glVertexStream3iATI (GLenum stream, GLint x, GLint y, GLint z);
  9811. GLAPI void APIENTRY glVertexStream3ivATI (GLenum stream, const GLint *coords);
  9812. GLAPI void APIENTRY glVertexStream3fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  9813. GLAPI void APIENTRY glVertexStream3fvATI (GLenum stream, const GLfloat *coords);
  9814. GLAPI void APIENTRY glVertexStream3dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  9815. GLAPI void APIENTRY glVertexStream3dvATI (GLenum stream, const GLdouble *coords);
  9816. GLAPI void APIENTRY glVertexStream4sATI (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  9817. GLAPI void APIENTRY glVertexStream4svATI (GLenum stream, const GLshort *coords);
  9818. GLAPI void APIENTRY glVertexStream4iATI (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  9819. GLAPI void APIENTRY glVertexStream4ivATI (GLenum stream, const GLint *coords);
  9820. GLAPI void APIENTRY glVertexStream4fATI (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9821. GLAPI void APIENTRY glVertexStream4fvATI (GLenum stream, const GLfloat *coords);
  9822. GLAPI void APIENTRY glVertexStream4dATI (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9823. GLAPI void APIENTRY glVertexStream4dvATI (GLenum stream, const GLdouble *coords);
  9824. GLAPI void APIENTRY glNormalStream3bATI (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  9825. GLAPI void APIENTRY glNormalStream3bvATI (GLenum stream, const GLbyte *coords);
  9826. GLAPI void APIENTRY glNormalStream3sATI (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  9827. GLAPI void APIENTRY glNormalStream3svATI (GLenum stream, const GLshort *coords);
  9828. GLAPI void APIENTRY glNormalStream3iATI (GLenum stream, GLint nx, GLint ny, GLint nz);
  9829. GLAPI void APIENTRY glNormalStream3ivATI (GLenum stream, const GLint *coords);
  9830. GLAPI void APIENTRY glNormalStream3fATI (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  9831. GLAPI void APIENTRY glNormalStream3fvATI (GLenum stream, const GLfloat *coords);
  9832. GLAPI void APIENTRY glNormalStream3dATI (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  9833. GLAPI void APIENTRY glNormalStream3dvATI (GLenum stream, const GLdouble *coords);
  9834. GLAPI void APIENTRY glClientActiveVertexStreamATI (GLenum stream);
  9835. GLAPI void APIENTRY glVertexBlendEnviATI (GLenum pname, GLint param);
  9836. GLAPI void APIENTRY glVertexBlendEnvfATI (GLenum pname, GLfloat param);
  9837. #endif /* GL_GLEXT_PROTOTYPES */
  9838. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SATIPROC) (GLenum stream, GLshort x);
  9839. typedef void (APIENTRYP PFNGLVERTEXSTREAM1SVATIPROC) (GLenum stream, const GLshort *coords);
  9840. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IATIPROC) (GLenum stream, GLint x);
  9841. typedef void (APIENTRYP PFNGLVERTEXSTREAM1IVATIPROC) (GLenum stream, const GLint *coords);
  9842. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FATIPROC) (GLenum stream, GLfloat x);
  9843. typedef void (APIENTRYP PFNGLVERTEXSTREAM1FVATIPROC) (GLenum stream, const GLfloat *coords);
  9844. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DATIPROC) (GLenum stream, GLdouble x);
  9845. typedef void (APIENTRYP PFNGLVERTEXSTREAM1DVATIPROC) (GLenum stream, const GLdouble *coords);
  9846. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  9847. typedef void (APIENTRYP PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *coords);
  9848. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  9849. typedef void (APIENTRYP PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *coords);
  9850. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  9851. typedef void (APIENTRYP PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *coords);
  9852. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  9853. typedef void (APIENTRYP PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *coords);
  9854. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  9855. typedef void (APIENTRYP PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  9856. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  9857. typedef void (APIENTRYP PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  9858. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  9859. typedef void (APIENTRYP PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  9860. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  9861. typedef void (APIENTRYP PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  9862. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  9863. typedef void (APIENTRYP PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *coords);
  9864. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  9865. typedef void (APIENTRYP PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *coords);
  9866. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9867. typedef void (APIENTRYP PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *coords);
  9868. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9869. typedef void (APIENTRYP PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *coords);
  9870. typedef void (APIENTRYP PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte nx, GLbyte ny, GLbyte nz);
  9871. typedef void (APIENTRYP PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *coords);
  9872. typedef void (APIENTRYP PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort nx, GLshort ny, GLshort nz);
  9873. typedef void (APIENTRYP PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *coords);
  9874. typedef void (APIENTRYP PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint nx, GLint ny, GLint nz);
  9875. typedef void (APIENTRYP PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *coords);
  9876. typedef void (APIENTRYP PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat nx, GLfloat ny, GLfloat nz);
  9877. typedef void (APIENTRYP PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *coords);
  9878. typedef void (APIENTRYP PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble nx, GLdouble ny, GLdouble nz);
  9879. typedef void (APIENTRYP PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *coords);
  9880. typedef void (APIENTRYP PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  9881. typedef void (APIENTRYP PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  9882. typedef void (APIENTRYP PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  9883. #endif
  9884. #ifndef GL_ATI_element_array
  9885. #define GL_ATI_element_array 1
  9886. #ifdef GL_GLEXT_PROTOTYPES
  9887. GLAPI void APIENTRY glElementPointerATI (GLenum type, const GLvoid *pointer);
  9888. GLAPI void APIENTRY glDrawElementArrayATI (GLenum mode, GLsizei count);
  9889. GLAPI void APIENTRY glDrawRangeElementArrayATI (GLenum mode, GLuint start, GLuint end, GLsizei count);
  9890. #endif /* GL_GLEXT_PROTOTYPES */
  9891. typedef void (APIENTRYP PFNGLELEMENTPOINTERATIPROC) (GLenum type, const GLvoid *pointer);
  9892. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  9893. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  9894. #endif
  9895. #ifndef GL_SUN_mesh_array
  9896. #define GL_SUN_mesh_array 1
  9897. #ifdef GL_GLEXT_PROTOTYPES
  9898. GLAPI void APIENTRY glDrawMeshArraysSUN (GLenum mode, GLint first, GLsizei count, GLsizei width);
  9899. #endif /* GL_GLEXT_PROTOTYPES */
  9900. typedef void (APIENTRYP PFNGLDRAWMESHARRAYSSUNPROC) (GLenum mode, GLint first, GLsizei count, GLsizei width);
  9901. #endif
  9902. #ifndef GL_SUN_slice_accum
  9903. #define GL_SUN_slice_accum 1
  9904. #endif
  9905. #ifndef GL_NV_multisample_filter_hint
  9906. #define GL_NV_multisample_filter_hint 1
  9907. #endif
  9908. #ifndef GL_NV_depth_clamp
  9909. #define GL_NV_depth_clamp 1
  9910. #endif
  9911. #ifndef GL_NV_occlusion_query
  9912. #define GL_NV_occlusion_query 1
  9913. #ifdef GL_GLEXT_PROTOTYPES
  9914. GLAPI void APIENTRY glGenOcclusionQueriesNV (GLsizei n, GLuint *ids);
  9915. GLAPI void APIENTRY glDeleteOcclusionQueriesNV (GLsizei n, const GLuint *ids);
  9916. GLAPI GLboolean APIENTRY glIsOcclusionQueryNV (GLuint id);
  9917. GLAPI void APIENTRY glBeginOcclusionQueryNV (GLuint id);
  9918. GLAPI void APIENTRY glEndOcclusionQueryNV (void);
  9919. GLAPI void APIENTRY glGetOcclusionQueryivNV (GLuint id, GLenum pname, GLint *params);
  9920. GLAPI void APIENTRY glGetOcclusionQueryuivNV (GLuint id, GLenum pname, GLuint *params);
  9921. #endif /* GL_GLEXT_PROTOTYPES */
  9922. typedef void (APIENTRYP PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint *ids);
  9923. typedef void (APIENTRYP PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint *ids);
  9924. typedef GLboolean (APIENTRYP PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  9925. typedef void (APIENTRYP PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  9926. typedef void (APIENTRYP PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  9927. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint *params);
  9928. typedef void (APIENTRYP PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint *params);
  9929. #endif
  9930. #ifndef GL_NV_point_sprite
  9931. #define GL_NV_point_sprite 1
  9932. #ifdef GL_GLEXT_PROTOTYPES
  9933. GLAPI void APIENTRY glPointParameteriNV (GLenum pname, GLint param);
  9934. GLAPI void APIENTRY glPointParameterivNV (GLenum pname, const GLint *params);
  9935. #endif /* GL_GLEXT_PROTOTYPES */
  9936. typedef void (APIENTRYP PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  9937. typedef void (APIENTRYP PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint *params);
  9938. #endif
  9939. #ifndef GL_NV_texture_shader3
  9940. #define GL_NV_texture_shader3 1
  9941. #endif
  9942. #ifndef GL_NV_vertex_program1_1
  9943. #define GL_NV_vertex_program1_1 1
  9944. #endif
  9945. #ifndef GL_EXT_shadow_funcs
  9946. #define GL_EXT_shadow_funcs 1
  9947. #endif
  9948. #ifndef GL_EXT_stencil_two_side
  9949. #define GL_EXT_stencil_two_side 1
  9950. #ifdef GL_GLEXT_PROTOTYPES
  9951. GLAPI void APIENTRY glActiveStencilFaceEXT (GLenum face);
  9952. #endif /* GL_GLEXT_PROTOTYPES */
  9953. typedef void (APIENTRYP PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  9954. #endif
  9955. #ifndef GL_ATI_text_fragment_shader
  9956. #define GL_ATI_text_fragment_shader 1
  9957. #endif
  9958. #ifndef GL_APPLE_client_storage
  9959. #define GL_APPLE_client_storage 1
  9960. #endif
  9961. #ifndef GL_APPLE_element_array
  9962. #define GL_APPLE_element_array 1
  9963. #ifdef GL_GLEXT_PROTOTYPES
  9964. GLAPI void APIENTRY glElementPointerAPPLE (GLenum type, const GLvoid *pointer);
  9965. GLAPI void APIENTRY glDrawElementArrayAPPLE (GLenum mode, GLint first, GLsizei count);
  9966. GLAPI void APIENTRY glDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  9967. GLAPI void APIENTRY glMultiDrawElementArrayAPPLE (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  9968. GLAPI void APIENTRY glMultiDrawRangeElementArrayAPPLE (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  9969. #endif /* GL_GLEXT_PROTOTYPES */
  9970. typedef void (APIENTRYP PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const GLvoid *pointer);
  9971. typedef void (APIENTRYP PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  9972. typedef void (APIENTRYP PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  9973. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  9974. typedef void (APIENTRYP PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint *first, const GLsizei *count, GLsizei primcount);
  9975. #endif
  9976. #ifndef GL_APPLE_fence
  9977. #define GL_APPLE_fence 1
  9978. #ifdef GL_GLEXT_PROTOTYPES
  9979. GLAPI void APIENTRY glGenFencesAPPLE (GLsizei n, GLuint *fences);
  9980. GLAPI void APIENTRY glDeleteFencesAPPLE (GLsizei n, const GLuint *fences);
  9981. GLAPI void APIENTRY glSetFenceAPPLE (GLuint fence);
  9982. GLAPI GLboolean APIENTRY glIsFenceAPPLE (GLuint fence);
  9983. GLAPI GLboolean APIENTRY glTestFenceAPPLE (GLuint fence);
  9984. GLAPI void APIENTRY glFinishFenceAPPLE (GLuint fence);
  9985. GLAPI GLboolean APIENTRY glTestObjectAPPLE (GLenum object, GLuint name);
  9986. GLAPI void APIENTRY glFinishObjectAPPLE (GLenum object, GLint name);
  9987. #endif /* GL_GLEXT_PROTOTYPES */
  9988. typedef void (APIENTRYP PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint *fences);
  9989. typedef void (APIENTRYP PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint *fences);
  9990. typedef void (APIENTRYP PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  9991. typedef GLboolean (APIENTRYP PFNGLISFENCEAPPLEPROC) (GLuint fence);
  9992. typedef GLboolean (APIENTRYP PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  9993. typedef void (APIENTRYP PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  9994. typedef GLboolean (APIENTRYP PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  9995. typedef void (APIENTRYP PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  9996. #endif
  9997. #ifndef GL_APPLE_vertex_array_object
  9998. #define GL_APPLE_vertex_array_object 1
  9999. #ifdef GL_GLEXT_PROTOTYPES
  10000. GLAPI void APIENTRY glBindVertexArrayAPPLE (GLuint array);
  10001. GLAPI void APIENTRY glDeleteVertexArraysAPPLE (GLsizei n, const GLuint *arrays);
  10002. GLAPI void APIENTRY glGenVertexArraysAPPLE (GLsizei n, GLuint *arrays);
  10003. GLAPI GLboolean APIENTRY glIsVertexArrayAPPLE (GLuint array);
  10004. #endif /* GL_GLEXT_PROTOTYPES */
  10005. typedef void (APIENTRYP PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  10006. typedef void (APIENTRYP PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint *arrays);
  10007. typedef void (APIENTRYP PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, GLuint *arrays);
  10008. typedef GLboolean (APIENTRYP PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  10009. #endif
  10010. #ifndef GL_APPLE_vertex_array_range
  10011. #define GL_APPLE_vertex_array_range 1
  10012. #ifdef GL_GLEXT_PROTOTYPES
  10013. GLAPI void APIENTRY glVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
  10014. GLAPI void APIENTRY glFlushVertexArrayRangeAPPLE (GLsizei length, GLvoid *pointer);
  10015. GLAPI void APIENTRY glVertexArrayParameteriAPPLE (GLenum pname, GLint param);
  10016. #endif /* GL_GLEXT_PROTOTYPES */
  10017. typedef void (APIENTRYP PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  10018. typedef void (APIENTRYP PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, GLvoid *pointer);
  10019. typedef void (APIENTRYP PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  10020. #endif
  10021. #ifndef GL_APPLE_ycbcr_422
  10022. #define GL_APPLE_ycbcr_422 1
  10023. #endif
  10024. #ifndef GL_S3_s3tc
  10025. #define GL_S3_s3tc 1
  10026. #endif
  10027. #ifndef GL_ATI_draw_buffers
  10028. #define GL_ATI_draw_buffers 1
  10029. #ifdef GL_GLEXT_PROTOTYPES
  10030. GLAPI void APIENTRY glDrawBuffersATI (GLsizei n, const GLenum *bufs);
  10031. #endif /* GL_GLEXT_PROTOTYPES */
  10032. typedef void (APIENTRYP PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum *bufs);
  10033. #endif
  10034. #ifndef GL_ATI_pixel_format_float
  10035. #define GL_ATI_pixel_format_float 1
  10036. /* This is really a WGL extension, but defines some associated GL enums.
  10037. * ATI does not export "GL_ATI_pixel_format_float" in the GL_EXTENSIONS string.
  10038. */
  10039. #endif
  10040. #ifndef GL_ATI_texture_env_combine3
  10041. #define GL_ATI_texture_env_combine3 1
  10042. #endif
  10043. #ifndef GL_ATI_texture_float
  10044. #define GL_ATI_texture_float 1
  10045. #endif
  10046. #ifndef GL_NV_float_buffer
  10047. #define GL_NV_float_buffer 1
  10048. #endif
  10049. #ifndef GL_NV_fragment_program
  10050. #define GL_NV_fragment_program 1
  10051. /* Some NV_fragment_program entry points are shared with ARB_vertex_program. */
  10052. #ifdef GL_GLEXT_PROTOTYPES
  10053. GLAPI void APIENTRY glProgramNamedParameter4fNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10054. GLAPI void APIENTRY glProgramNamedParameter4dNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10055. GLAPI void APIENTRY glProgramNamedParameter4fvNV (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  10056. GLAPI void APIENTRY glProgramNamedParameter4dvNV (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  10057. GLAPI void APIENTRY glGetProgramNamedParameterfvNV (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  10058. GLAPI void APIENTRY glGetProgramNamedParameterdvNV (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  10059. #endif /* GL_GLEXT_PROTOTYPES */
  10060. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10061. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10062. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLfloat *v);
  10063. typedef void (APIENTRYP PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, const GLdouble *v);
  10064. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLfloat *params);
  10065. typedef void (APIENTRYP PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte *name, GLdouble *params);
  10066. #endif
  10067. #ifndef GL_NV_half_float
  10068. #define GL_NV_half_float 1
  10069. #ifdef GL_GLEXT_PROTOTYPES
  10070. GLAPI void APIENTRY glVertex2hNV (GLhalfNV x, GLhalfNV y);
  10071. GLAPI void APIENTRY glVertex2hvNV (const GLhalfNV *v);
  10072. GLAPI void APIENTRY glVertex3hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10073. GLAPI void APIENTRY glVertex3hvNV (const GLhalfNV *v);
  10074. GLAPI void APIENTRY glVertex4hNV (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10075. GLAPI void APIENTRY glVertex4hvNV (const GLhalfNV *v);
  10076. GLAPI void APIENTRY glNormal3hNV (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10077. GLAPI void APIENTRY glNormal3hvNV (const GLhalfNV *v);
  10078. GLAPI void APIENTRY glColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10079. GLAPI void APIENTRY glColor3hvNV (const GLhalfNV *v);
  10080. GLAPI void APIENTRY glColor4hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10081. GLAPI void APIENTRY glColor4hvNV (const GLhalfNV *v);
  10082. GLAPI void APIENTRY glTexCoord1hNV (GLhalfNV s);
  10083. GLAPI void APIENTRY glTexCoord1hvNV (const GLhalfNV *v);
  10084. GLAPI void APIENTRY glTexCoord2hNV (GLhalfNV s, GLhalfNV t);
  10085. GLAPI void APIENTRY glTexCoord2hvNV (const GLhalfNV *v);
  10086. GLAPI void APIENTRY glTexCoord3hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10087. GLAPI void APIENTRY glTexCoord3hvNV (const GLhalfNV *v);
  10088. GLAPI void APIENTRY glTexCoord4hNV (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10089. GLAPI void APIENTRY glTexCoord4hvNV (const GLhalfNV *v);
  10090. GLAPI void APIENTRY glMultiTexCoord1hNV (GLenum target, GLhalfNV s);
  10091. GLAPI void APIENTRY glMultiTexCoord1hvNV (GLenum target, const GLhalfNV *v);
  10092. GLAPI void APIENTRY glMultiTexCoord2hNV (GLenum target, GLhalfNV s, GLhalfNV t);
  10093. GLAPI void APIENTRY glMultiTexCoord2hvNV (GLenum target, const GLhalfNV *v);
  10094. GLAPI void APIENTRY glMultiTexCoord3hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10095. GLAPI void APIENTRY glMultiTexCoord3hvNV (GLenum target, const GLhalfNV *v);
  10096. GLAPI void APIENTRY glMultiTexCoord4hNV (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10097. GLAPI void APIENTRY glMultiTexCoord4hvNV (GLenum target, const GLhalfNV *v);
  10098. GLAPI void APIENTRY glFogCoordhNV (GLhalfNV fog);
  10099. GLAPI void APIENTRY glFogCoordhvNV (const GLhalfNV *fog);
  10100. GLAPI void APIENTRY glSecondaryColor3hNV (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10101. GLAPI void APIENTRY glSecondaryColor3hvNV (const GLhalfNV *v);
  10102. GLAPI void APIENTRY glVertexWeighthNV (GLhalfNV weight);
  10103. GLAPI void APIENTRY glVertexWeighthvNV (const GLhalfNV *weight);
  10104. GLAPI void APIENTRY glVertexAttrib1hNV (GLuint index, GLhalfNV x);
  10105. GLAPI void APIENTRY glVertexAttrib1hvNV (GLuint index, const GLhalfNV *v);
  10106. GLAPI void APIENTRY glVertexAttrib2hNV (GLuint index, GLhalfNV x, GLhalfNV y);
  10107. GLAPI void APIENTRY glVertexAttrib2hvNV (GLuint index, const GLhalfNV *v);
  10108. GLAPI void APIENTRY glVertexAttrib3hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10109. GLAPI void APIENTRY glVertexAttrib3hvNV (GLuint index, const GLhalfNV *v);
  10110. GLAPI void APIENTRY glVertexAttrib4hNV (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10111. GLAPI void APIENTRY glVertexAttrib4hvNV (GLuint index, const GLhalfNV *v);
  10112. GLAPI void APIENTRY glVertexAttribs1hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10113. GLAPI void APIENTRY glVertexAttribs2hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10114. GLAPI void APIENTRY glVertexAttribs3hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10115. GLAPI void APIENTRY glVertexAttribs4hvNV (GLuint index, GLsizei n, const GLhalfNV *v);
  10116. #endif /* GL_GLEXT_PROTOTYPES */
  10117. typedef void (APIENTRYP PFNGLVERTEX2HNVPROC) (GLhalfNV x, GLhalfNV y);
  10118. typedef void (APIENTRYP PFNGLVERTEX2HVNVPROC) (const GLhalfNV *v);
  10119. typedef void (APIENTRYP PFNGLVERTEX3HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10120. typedef void (APIENTRYP PFNGLVERTEX3HVNVPROC) (const GLhalfNV *v);
  10121. typedef void (APIENTRYP PFNGLVERTEX4HNVPROC) (GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10122. typedef void (APIENTRYP PFNGLVERTEX4HVNVPROC) (const GLhalfNV *v);
  10123. typedef void (APIENTRYP PFNGLNORMAL3HNVPROC) (GLhalfNV nx, GLhalfNV ny, GLhalfNV nz);
  10124. typedef void (APIENTRYP PFNGLNORMAL3HVNVPROC) (const GLhalfNV *v);
  10125. typedef void (APIENTRYP PFNGLCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10126. typedef void (APIENTRYP PFNGLCOLOR3HVNVPROC) (const GLhalfNV *v);
  10127. typedef void (APIENTRYP PFNGLCOLOR4HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue, GLhalfNV alpha);
  10128. typedef void (APIENTRYP PFNGLCOLOR4HVNVPROC) (const GLhalfNV *v);
  10129. typedef void (APIENTRYP PFNGLTEXCOORD1HNVPROC) (GLhalfNV s);
  10130. typedef void (APIENTRYP PFNGLTEXCOORD1HVNVPROC) (const GLhalfNV *v);
  10131. typedef void (APIENTRYP PFNGLTEXCOORD2HNVPROC) (GLhalfNV s, GLhalfNV t);
  10132. typedef void (APIENTRYP PFNGLTEXCOORD2HVNVPROC) (const GLhalfNV *v);
  10133. typedef void (APIENTRYP PFNGLTEXCOORD3HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10134. typedef void (APIENTRYP PFNGLTEXCOORD3HVNVPROC) (const GLhalfNV *v);
  10135. typedef void (APIENTRYP PFNGLTEXCOORD4HNVPROC) (GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10136. typedef void (APIENTRYP PFNGLTEXCOORD4HVNVPROC) (const GLhalfNV *v);
  10137. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalfNV s);
  10138. typedef void (APIENTRYP PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalfNV *v);
  10139. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t);
  10140. typedef void (APIENTRYP PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalfNV *v);
  10141. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r);
  10142. typedef void (APIENTRYP PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalfNV *v);
  10143. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalfNV s, GLhalfNV t, GLhalfNV r, GLhalfNV q);
  10144. typedef void (APIENTRYP PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalfNV *v);
  10145. typedef void (APIENTRYP PFNGLFOGCOORDHNVPROC) (GLhalfNV fog);
  10146. typedef void (APIENTRYP PFNGLFOGCOORDHVNVPROC) (const GLhalfNV *fog);
  10147. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HNVPROC) (GLhalfNV red, GLhalfNV green, GLhalfNV blue);
  10148. typedef void (APIENTRYP PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalfNV *v);
  10149. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHNVPROC) (GLhalfNV weight);
  10150. typedef void (APIENTRYP PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalfNV *weight);
  10151. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalfNV x);
  10152. typedef void (APIENTRYP PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalfNV *v);
  10153. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y);
  10154. typedef void (APIENTRYP PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalfNV *v);
  10155. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z);
  10156. typedef void (APIENTRYP PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalfNV *v);
  10157. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalfNV x, GLhalfNV y, GLhalfNV z, GLhalfNV w);
  10158. typedef void (APIENTRYP PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalfNV *v);
  10159. typedef void (APIENTRYP PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10160. typedef void (APIENTRYP PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10161. typedef void (APIENTRYP PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10162. typedef void (APIENTRYP PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalfNV *v);
  10163. #endif
  10164. #ifndef GL_NV_pixel_data_range
  10165. #define GL_NV_pixel_data_range 1
  10166. #ifdef GL_GLEXT_PROTOTYPES
  10167. GLAPI void APIENTRY glPixelDataRangeNV (GLenum target, GLsizei length, const GLvoid *pointer);
  10168. GLAPI void APIENTRY glFlushPixelDataRangeNV (GLenum target);
  10169. #endif /* GL_GLEXT_PROTOTYPES */
  10170. typedef void (APIENTRYP PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
  10171. typedef void (APIENTRYP PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  10172. #endif
  10173. #ifndef GL_NV_primitive_restart
  10174. #define GL_NV_primitive_restart 1
  10175. #ifdef GL_GLEXT_PROTOTYPES
  10176. GLAPI void APIENTRY glPrimitiveRestartNV (void);
  10177. GLAPI void APIENTRY glPrimitiveRestartIndexNV (GLuint index);
  10178. #endif /* GL_GLEXT_PROTOTYPES */
  10179. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTNVPROC) (void);
  10180. typedef void (APIENTRYP PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  10181. #endif
  10182. #ifndef GL_NV_texture_expand_normal
  10183. #define GL_NV_texture_expand_normal 1
  10184. #endif
  10185. #ifndef GL_NV_vertex_program2
  10186. #define GL_NV_vertex_program2 1
  10187. #endif
  10188. #ifndef GL_ATI_map_object_buffer
  10189. #define GL_ATI_map_object_buffer 1
  10190. #ifdef GL_GLEXT_PROTOTYPES
  10191. GLAPI GLvoid* APIENTRY glMapObjectBufferATI (GLuint buffer);
  10192. GLAPI void APIENTRY glUnmapObjectBufferATI (GLuint buffer);
  10193. #endif /* GL_GLEXT_PROTOTYPES */
  10194. typedef GLvoid* (APIENTRYP PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  10195. typedef void (APIENTRYP PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  10196. #endif
  10197. #ifndef GL_ATI_separate_stencil
  10198. #define GL_ATI_separate_stencil 1
  10199. #ifdef GL_GLEXT_PROTOTYPES
  10200. GLAPI void APIENTRY glStencilOpSeparateATI (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  10201. GLAPI void APIENTRY glStencilFuncSeparateATI (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  10202. #endif /* GL_GLEXT_PROTOTYPES */
  10203. typedef void (APIENTRYP PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  10204. typedef void (APIENTRYP PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  10205. #endif
  10206. #ifndef GL_ATI_vertex_attrib_array_object
  10207. #define GL_ATI_vertex_attrib_array_object 1
  10208. #ifdef GL_GLEXT_PROTOTYPES
  10209. GLAPI void APIENTRY glVertexAttribArrayObjectATI (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  10210. GLAPI void APIENTRY glGetVertexAttribArrayObjectfvATI (GLuint index, GLenum pname, GLfloat *params);
  10211. GLAPI void APIENTRY glGetVertexAttribArrayObjectivATI (GLuint index, GLenum pname, GLint *params);
  10212. #endif /* GL_GLEXT_PROTOTYPES */
  10213. typedef void (APIENTRYP PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  10214. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat *params);
  10215. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint *params);
  10216. #endif
  10217. #ifndef GL_OES_read_format
  10218. #define GL_OES_read_format 1
  10219. #endif
  10220. #ifndef GL_EXT_depth_bounds_test
  10221. #define GL_EXT_depth_bounds_test 1
  10222. #ifdef GL_GLEXT_PROTOTYPES
  10223. GLAPI void APIENTRY glDepthBoundsEXT (GLclampd zmin, GLclampd zmax);
  10224. #endif /* GL_GLEXT_PROTOTYPES */
  10225. typedef void (APIENTRYP PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  10226. #endif
  10227. #ifndef GL_EXT_texture_mirror_clamp
  10228. #define GL_EXT_texture_mirror_clamp 1
  10229. #endif
  10230. #ifndef GL_EXT_blend_equation_separate
  10231. #define GL_EXT_blend_equation_separate 1
  10232. #ifdef GL_GLEXT_PROTOTYPES
  10233. GLAPI void APIENTRY glBlendEquationSeparateEXT (GLenum modeRGB, GLenum modeAlpha);
  10234. #endif /* GL_GLEXT_PROTOTYPES */
  10235. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  10236. #endif
  10237. #ifndef GL_MESA_pack_invert
  10238. #define GL_MESA_pack_invert 1
  10239. #endif
  10240. #ifndef GL_MESA_ycbcr_texture
  10241. #define GL_MESA_ycbcr_texture 1
  10242. #endif
  10243. #ifndef GL_EXT_pixel_buffer_object
  10244. #define GL_EXT_pixel_buffer_object 1
  10245. #endif
  10246. #ifndef GL_NV_fragment_program_option
  10247. #define GL_NV_fragment_program_option 1
  10248. #endif
  10249. #ifndef GL_NV_fragment_program2
  10250. #define GL_NV_fragment_program2 1
  10251. #endif
  10252. #ifndef GL_NV_vertex_program2_option
  10253. #define GL_NV_vertex_program2_option 1
  10254. #endif
  10255. #ifndef GL_NV_vertex_program3
  10256. #define GL_NV_vertex_program3 1
  10257. #endif
  10258. #ifndef GL_EXT_framebuffer_object
  10259. #define GL_EXT_framebuffer_object 1
  10260. #ifdef GL_GLEXT_PROTOTYPES
  10261. GLAPI GLboolean APIENTRY glIsRenderbufferEXT (GLuint renderbuffer);
  10262. GLAPI void APIENTRY glBindRenderbufferEXT (GLenum target, GLuint renderbuffer);
  10263. GLAPI void APIENTRY glDeleteRenderbuffersEXT (GLsizei n, const GLuint *renderbuffers);
  10264. GLAPI void APIENTRY glGenRenderbuffersEXT (GLsizei n, GLuint *renderbuffers);
  10265. GLAPI void APIENTRY glRenderbufferStorageEXT (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  10266. GLAPI void APIENTRY glGetRenderbufferParameterivEXT (GLenum target, GLenum pname, GLint *params);
  10267. GLAPI GLboolean APIENTRY glIsFramebufferEXT (GLuint framebuffer);
  10268. GLAPI void APIENTRY glBindFramebufferEXT (GLenum target, GLuint framebuffer);
  10269. GLAPI void APIENTRY glDeleteFramebuffersEXT (GLsizei n, const GLuint *framebuffers);
  10270. GLAPI void APIENTRY glGenFramebuffersEXT (GLsizei n, GLuint *framebuffers);
  10271. GLAPI GLenum APIENTRY glCheckFramebufferStatusEXT (GLenum target);
  10272. GLAPI void APIENTRY glFramebufferTexture1DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10273. GLAPI void APIENTRY glFramebufferTexture2DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10274. GLAPI void APIENTRY glFramebufferTexture3DEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  10275. GLAPI void APIENTRY glFramebufferRenderbufferEXT (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  10276. GLAPI void APIENTRY glGetFramebufferAttachmentParameterivEXT (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  10277. GLAPI void APIENTRY glGenerateMipmapEXT (GLenum target);
  10278. #endif /* GL_GLEXT_PROTOTYPES */
  10279. typedef GLboolean (APIENTRYP PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  10280. typedef void (APIENTRYP PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  10281. typedef void (APIENTRYP PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint *renderbuffers);
  10282. typedef void (APIENTRYP PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint *renderbuffers);
  10283. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  10284. typedef void (APIENTRYP PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  10285. typedef GLboolean (APIENTRYP PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  10286. typedef void (APIENTRYP PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  10287. typedef void (APIENTRYP PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint *framebuffers);
  10288. typedef void (APIENTRYP PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint *framebuffers);
  10289. typedef GLenum (APIENTRYP PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  10290. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10291. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10292. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  10293. typedef void (APIENTRYP PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  10294. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint *params);
  10295. typedef void (APIENTRYP PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  10296. #endif
  10297. #ifndef GL_GREMEDY_string_marker
  10298. #define GL_GREMEDY_string_marker 1
  10299. #ifdef GL_GLEXT_PROTOTYPES
  10300. GLAPI void APIENTRY glStringMarkerGREMEDY (GLsizei len, const GLvoid *string);
  10301. #endif /* GL_GLEXT_PROTOTYPES */
  10302. typedef void (APIENTRYP PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const GLvoid *string);
  10303. #endif
  10304. #ifndef GL_EXT_packed_depth_stencil
  10305. #define GL_EXT_packed_depth_stencil 1
  10306. #endif
  10307. #ifndef GL_EXT_stencil_clear_tag
  10308. #define GL_EXT_stencil_clear_tag 1
  10309. #ifdef GL_GLEXT_PROTOTYPES
  10310. GLAPI void APIENTRY glStencilClearTagEXT (GLsizei stencilTagBits, GLuint stencilClearTag);
  10311. #endif /* GL_GLEXT_PROTOTYPES */
  10312. typedef void (APIENTRYP PFNGLSTENCILCLEARTAGEXTPROC) (GLsizei stencilTagBits, GLuint stencilClearTag);
  10313. #endif
  10314. #ifndef GL_EXT_texture_sRGB
  10315. #define GL_EXT_texture_sRGB 1
  10316. #endif
  10317. #ifndef GL_EXT_framebuffer_blit
  10318. #define GL_EXT_framebuffer_blit 1
  10319. #ifdef GL_GLEXT_PROTOTYPES
  10320. GLAPI void APIENTRY glBlitFramebufferEXT (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  10321. #endif /* GL_GLEXT_PROTOTYPES */
  10322. typedef void (APIENTRYP PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  10323. #endif
  10324. #ifndef GL_EXT_framebuffer_multisample
  10325. #define GL_EXT_framebuffer_multisample 1
  10326. #ifdef GL_GLEXT_PROTOTYPES
  10327. GLAPI void APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  10328. #endif /* GL_GLEXT_PROTOTYPES */
  10329. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  10330. #endif
  10331. #ifndef GL_MESAX_texture_stack
  10332. #define GL_MESAX_texture_stack 1
  10333. #endif
  10334. #ifndef GL_EXT_timer_query
  10335. #define GL_EXT_timer_query 1
  10336. #ifdef GL_GLEXT_PROTOTYPES
  10337. GLAPI void APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64EXT *params);
  10338. GLAPI void APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64EXT *params);
  10339. #endif /* GL_GLEXT_PROTOTYPES */
  10340. typedef void (APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
  10341. typedef void (APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
  10342. #endif
  10343. #ifndef GL_EXT_gpu_program_parameters
  10344. #define GL_EXT_gpu_program_parameters 1
  10345. #ifdef GL_GLEXT_PROTOTYPES
  10346. GLAPI void APIENTRY glProgramEnvParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  10347. GLAPI void APIENTRY glProgramLocalParameters4fvEXT (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  10348. #endif /* GL_GLEXT_PROTOTYPES */
  10349. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  10350. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  10351. #endif
  10352. #ifndef GL_APPLE_flush_buffer_range
  10353. #define GL_APPLE_flush_buffer_range 1
  10354. #ifdef GL_GLEXT_PROTOTYPES
  10355. GLAPI void APIENTRY glBufferParameteriAPPLE (GLenum target, GLenum pname, GLint param);
  10356. GLAPI void APIENTRY glFlushMappedBufferRangeAPPLE (GLenum target, GLintptr offset, GLsizeiptr size);
  10357. #endif /* GL_GLEXT_PROTOTYPES */
  10358. typedef void (APIENTRYP PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  10359. typedef void (APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  10360. #endif
  10361. #ifndef GL_NV_gpu_program4
  10362. #define GL_NV_gpu_program4 1
  10363. #ifdef GL_GLEXT_PROTOTYPES
  10364. GLAPI void APIENTRY glProgramLocalParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  10365. GLAPI void APIENTRY glProgramLocalParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  10366. GLAPI void APIENTRY glProgramLocalParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  10367. GLAPI void APIENTRY glProgramLocalParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10368. GLAPI void APIENTRY glProgramLocalParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  10369. GLAPI void APIENTRY glProgramLocalParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  10370. GLAPI void APIENTRY glProgramEnvParameterI4iNV (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  10371. GLAPI void APIENTRY glProgramEnvParameterI4ivNV (GLenum target, GLuint index, const GLint *params);
  10372. GLAPI void APIENTRY glProgramEnvParametersI4ivNV (GLenum target, GLuint index, GLsizei count, const GLint *params);
  10373. GLAPI void APIENTRY glProgramEnvParameterI4uiNV (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10374. GLAPI void APIENTRY glProgramEnvParameterI4uivNV (GLenum target, GLuint index, const GLuint *params);
  10375. GLAPI void APIENTRY glProgramEnvParametersI4uivNV (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  10376. GLAPI void APIENTRY glGetProgramLocalParameterIivNV (GLenum target, GLuint index, GLint *params);
  10377. GLAPI void APIENTRY glGetProgramLocalParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  10378. GLAPI void APIENTRY glGetProgramEnvParameterIivNV (GLenum target, GLuint index, GLint *params);
  10379. GLAPI void APIENTRY glGetProgramEnvParameterIuivNV (GLenum target, GLuint index, GLuint *params);
  10380. #endif /* GL_GLEXT_PROTOTYPES */
  10381. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  10382. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  10383. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  10384. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10385. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  10386. typedef void (APIENTRYP PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  10387. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  10388. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  10389. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  10390. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10391. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  10392. typedef void (APIENTRYP PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  10393. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  10394. typedef void (APIENTRYP PFNGLGETPROGRAMLOCALPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  10395. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIIVNVPROC) (GLenum target, GLuint index, GLint *params);
  10396. typedef void (APIENTRYP PFNGLGETPROGRAMENVPARAMETERIUIVNVPROC) (GLenum target, GLuint index, GLuint *params);
  10397. #endif
  10398. #ifndef GL_NV_geometry_program4
  10399. #define GL_NV_geometry_program4 1
  10400. #ifdef GL_GLEXT_PROTOTYPES
  10401. GLAPI void APIENTRY glProgramVertexLimitNV (GLenum target, GLint limit);
  10402. GLAPI void APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  10403. GLAPI void APIENTRY glFramebufferTextureLayerEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  10404. GLAPI void APIENTRY glFramebufferTextureFaceEXT (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  10405. #endif /* GL_GLEXT_PROTOTYPES */
  10406. typedef void (APIENTRYP PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  10407. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  10408. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  10409. typedef void (APIENTRYP PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  10410. #endif
  10411. #ifndef GL_EXT_geometry_shader4
  10412. #define GL_EXT_geometry_shader4 1
  10413. #ifdef GL_GLEXT_PROTOTYPES
  10414. GLAPI void APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  10415. #endif /* GL_GLEXT_PROTOTYPES */
  10416. typedef void (APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  10417. #endif
  10418. #ifndef GL_NV_vertex_program4
  10419. #define GL_NV_vertex_program4 1
  10420. #ifdef GL_GLEXT_PROTOTYPES
  10421. GLAPI void APIENTRY glVertexAttribI1iEXT (GLuint index, GLint x);
  10422. GLAPI void APIENTRY glVertexAttribI2iEXT (GLuint index, GLint x, GLint y);
  10423. GLAPI void APIENTRY glVertexAttribI3iEXT (GLuint index, GLint x, GLint y, GLint z);
  10424. GLAPI void APIENTRY glVertexAttribI4iEXT (GLuint index, GLint x, GLint y, GLint z, GLint w);
  10425. GLAPI void APIENTRY glVertexAttribI1uiEXT (GLuint index, GLuint x);
  10426. GLAPI void APIENTRY glVertexAttribI2uiEXT (GLuint index, GLuint x, GLuint y);
  10427. GLAPI void APIENTRY glVertexAttribI3uiEXT (GLuint index, GLuint x, GLuint y, GLuint z);
  10428. GLAPI void APIENTRY glVertexAttribI4uiEXT (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10429. GLAPI void APIENTRY glVertexAttribI1ivEXT (GLuint index, const GLint *v);
  10430. GLAPI void APIENTRY glVertexAttribI2ivEXT (GLuint index, const GLint *v);
  10431. GLAPI void APIENTRY glVertexAttribI3ivEXT (GLuint index, const GLint *v);
  10432. GLAPI void APIENTRY glVertexAttribI4ivEXT (GLuint index, const GLint *v);
  10433. GLAPI void APIENTRY glVertexAttribI1uivEXT (GLuint index, const GLuint *v);
  10434. GLAPI void APIENTRY glVertexAttribI2uivEXT (GLuint index, const GLuint *v);
  10435. GLAPI void APIENTRY glVertexAttribI3uivEXT (GLuint index, const GLuint *v);
  10436. GLAPI void APIENTRY glVertexAttribI4uivEXT (GLuint index, const GLuint *v);
  10437. GLAPI void APIENTRY glVertexAttribI4bvEXT (GLuint index, const GLbyte *v);
  10438. GLAPI void APIENTRY glVertexAttribI4svEXT (GLuint index, const GLshort *v);
  10439. GLAPI void APIENTRY glVertexAttribI4ubvEXT (GLuint index, const GLubyte *v);
  10440. GLAPI void APIENTRY glVertexAttribI4usvEXT (GLuint index, const GLushort *v);
  10441. GLAPI void APIENTRY glVertexAttribIPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10442. GLAPI void APIENTRY glGetVertexAttribIivEXT (GLuint index, GLenum pname, GLint *params);
  10443. GLAPI void APIENTRY glGetVertexAttribIuivEXT (GLuint index, GLenum pname, GLuint *params);
  10444. #endif /* GL_GLEXT_PROTOTYPES */
  10445. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  10446. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  10447. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  10448. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  10449. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  10450. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  10451. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  10452. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10453. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  10454. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  10455. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  10456. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  10457. typedef void (APIENTRYP PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  10458. typedef void (APIENTRYP PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  10459. typedef void (APIENTRYP PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  10460. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  10461. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  10462. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  10463. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  10464. typedef void (APIENTRYP PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  10465. typedef void (APIENTRYP PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10466. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  10467. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  10468. #endif
  10469. #ifndef GL_EXT_gpu_shader4
  10470. #define GL_EXT_gpu_shader4 1
  10471. #ifdef GL_GLEXT_PROTOTYPES
  10472. GLAPI void APIENTRY glGetUniformuivEXT (GLuint program, GLint location, GLuint *params);
  10473. GLAPI void APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  10474. GLAPI GLint APIENTRY glGetFragDataLocationEXT (GLuint program, const GLchar *name);
  10475. GLAPI void APIENTRY glUniform1uiEXT (GLint location, GLuint v0);
  10476. GLAPI void APIENTRY glUniform2uiEXT (GLint location, GLuint v0, GLuint v1);
  10477. GLAPI void APIENTRY glUniform3uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2);
  10478. GLAPI void APIENTRY glUniform4uiEXT (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  10479. GLAPI void APIENTRY glUniform1uivEXT (GLint location, GLsizei count, const GLuint *value);
  10480. GLAPI void APIENTRY glUniform2uivEXT (GLint location, GLsizei count, const GLuint *value);
  10481. GLAPI void APIENTRY glUniform3uivEXT (GLint location, GLsizei count, const GLuint *value);
  10482. GLAPI void APIENTRY glUniform4uivEXT (GLint location, GLsizei count, const GLuint *value);
  10483. #endif /* GL_GLEXT_PROTOTYPES */
  10484. typedef void (APIENTRYP PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  10485. typedef void (APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  10486. typedef GLint (APIENTRYP PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  10487. typedef void (APIENTRYP PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  10488. typedef void (APIENTRYP PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  10489. typedef void (APIENTRYP PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  10490. typedef void (APIENTRYP PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  10491. typedef void (APIENTRYP PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  10492. typedef void (APIENTRYP PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  10493. typedef void (APIENTRYP PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  10494. typedef void (APIENTRYP PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  10495. #endif
  10496. #ifndef GL_EXT_draw_instanced
  10497. #define GL_EXT_draw_instanced 1
  10498. #ifdef GL_GLEXT_PROTOTYPES
  10499. GLAPI void APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  10500. GLAPI void APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  10501. #endif /* GL_GLEXT_PROTOTYPES */
  10502. typedef void (APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  10503. typedef void (APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  10504. #endif
  10505. #ifndef GL_EXT_packed_float
  10506. #define GL_EXT_packed_float 1
  10507. #endif
  10508. #ifndef GL_EXT_texture_array
  10509. #define GL_EXT_texture_array 1
  10510. #endif
  10511. #ifndef GL_EXT_texture_buffer_object
  10512. #define GL_EXT_texture_buffer_object 1
  10513. #ifdef GL_GLEXT_PROTOTYPES
  10514. GLAPI void APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  10515. #endif /* GL_GLEXT_PROTOTYPES */
  10516. typedef void (APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  10517. #endif
  10518. #ifndef GL_EXT_texture_compression_latc
  10519. #define GL_EXT_texture_compression_latc 1
  10520. #endif
  10521. #ifndef GL_EXT_texture_compression_rgtc
  10522. #define GL_EXT_texture_compression_rgtc 1
  10523. #endif
  10524. #ifndef GL_EXT_texture_shared_exponent
  10525. #define GL_EXT_texture_shared_exponent 1
  10526. #endif
  10527. #ifndef GL_NV_depth_buffer_float
  10528. #define GL_NV_depth_buffer_float 1
  10529. #ifdef GL_GLEXT_PROTOTYPES
  10530. GLAPI void APIENTRY glDepthRangedNV (GLdouble zNear, GLdouble zFar);
  10531. GLAPI void APIENTRY glClearDepthdNV (GLdouble depth);
  10532. GLAPI void APIENTRY glDepthBoundsdNV (GLdouble zmin, GLdouble zmax);
  10533. #endif /* GL_GLEXT_PROTOTYPES */
  10534. typedef void (APIENTRYP PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  10535. typedef void (APIENTRYP PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  10536. typedef void (APIENTRYP PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  10537. #endif
  10538. #ifndef GL_NV_fragment_program4
  10539. #define GL_NV_fragment_program4 1
  10540. #endif
  10541. #ifndef GL_NV_framebuffer_multisample_coverage
  10542. #define GL_NV_framebuffer_multisample_coverage 1
  10543. #ifdef GL_GLEXT_PROTOTYPES
  10544. GLAPI void APIENTRY glRenderbufferStorageMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  10545. #endif /* GL_GLEXT_PROTOTYPES */
  10546. typedef void (APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  10547. #endif
  10548. #ifndef GL_EXT_framebuffer_sRGB
  10549. #define GL_EXT_framebuffer_sRGB 1
  10550. #endif
  10551. #ifndef GL_NV_geometry_shader4
  10552. #define GL_NV_geometry_shader4 1
  10553. #endif
  10554. #ifndef GL_NV_parameter_buffer_object
  10555. #define GL_NV_parameter_buffer_object 1
  10556. #ifdef GL_GLEXT_PROTOTYPES
  10557. GLAPI void APIENTRY glProgramBufferParametersfvNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  10558. GLAPI void APIENTRY glProgramBufferParametersIivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  10559. GLAPI void APIENTRY glProgramBufferParametersIuivNV (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  10560. #endif /* GL_GLEXT_PROTOTYPES */
  10561. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  10562. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  10563. typedef void (APIENTRYP PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  10564. #endif
  10565. #ifndef GL_EXT_draw_buffers2
  10566. #define GL_EXT_draw_buffers2 1
  10567. #ifdef GL_GLEXT_PROTOTYPES
  10568. GLAPI void APIENTRY glColorMaskIndexedEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  10569. GLAPI void APIENTRY glGetBooleanIndexedvEXT (GLenum target, GLuint index, GLboolean *data);
  10570. GLAPI void APIENTRY glGetIntegerIndexedvEXT (GLenum target, GLuint index, GLint *data);
  10571. GLAPI void APIENTRY glEnableIndexedEXT (GLenum target, GLuint index);
  10572. GLAPI void APIENTRY glDisableIndexedEXT (GLenum target, GLuint index);
  10573. GLAPI GLboolean APIENTRY glIsEnabledIndexedEXT (GLenum target, GLuint index);
  10574. #endif /* GL_GLEXT_PROTOTYPES */
  10575. typedef void (APIENTRYP PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  10576. typedef void (APIENTRYP PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum target, GLuint index, GLboolean *data);
  10577. typedef void (APIENTRYP PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLint *data);
  10578. typedef void (APIENTRYP PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  10579. typedef void (APIENTRYP PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  10580. typedef GLboolean (APIENTRYP PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  10581. #endif
  10582. #ifndef GL_NV_transform_feedback
  10583. #define GL_NV_transform_feedback 1
  10584. #ifdef GL_GLEXT_PROTOTYPES
  10585. GLAPI void APIENTRY glBeginTransformFeedbackNV (GLenum primitiveMode);
  10586. GLAPI void APIENTRY glEndTransformFeedbackNV (void);
  10587. GLAPI void APIENTRY glTransformFeedbackAttribsNV (GLuint count, const GLint *attribs, GLenum bufferMode);
  10588. GLAPI void APIENTRY glBindBufferRangeNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  10589. GLAPI void APIENTRY glBindBufferOffsetNV (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  10590. GLAPI void APIENTRY glBindBufferBaseNV (GLenum target, GLuint index, GLuint buffer);
  10591. GLAPI void APIENTRY glTransformFeedbackVaryingsNV (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  10592. GLAPI void APIENTRY glActiveVaryingNV (GLuint program, const GLchar *name);
  10593. GLAPI GLint APIENTRY glGetVaryingLocationNV (GLuint program, const GLchar *name);
  10594. GLAPI void APIENTRY glGetActiveVaryingNV (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  10595. GLAPI void APIENTRY glGetTransformFeedbackVaryingNV (GLuint program, GLuint index, GLint *location);
  10596. GLAPI void APIENTRY glTransformFeedbackStreamAttribsNV (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  10597. #endif /* GL_GLEXT_PROTOTYPES */
  10598. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  10599. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  10600. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  10601. typedef void (APIENTRYP PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  10602. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  10603. typedef void (APIENTRYP PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  10604. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  10605. typedef void (APIENTRYP PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  10606. typedef GLint (APIENTRYP PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  10607. typedef void (APIENTRYP PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  10608. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  10609. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKSTREAMATTRIBSNVPROC) (GLsizei count, const GLint *attribs, GLsizei nbuffers, const GLint *bufstreams, GLenum bufferMode);
  10610. #endif
  10611. #ifndef GL_EXT_bindable_uniform
  10612. #define GL_EXT_bindable_uniform 1
  10613. #ifdef GL_GLEXT_PROTOTYPES
  10614. GLAPI void APIENTRY glUniformBufferEXT (GLuint program, GLint location, GLuint buffer);
  10615. GLAPI GLint APIENTRY glGetUniformBufferSizeEXT (GLuint program, GLint location);
  10616. GLAPI GLintptr APIENTRY glGetUniformOffsetEXT (GLuint program, GLint location);
  10617. #endif /* GL_GLEXT_PROTOTYPES */
  10618. typedef void (APIENTRYP PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  10619. typedef GLint (APIENTRYP PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  10620. typedef GLintptr (APIENTRYP PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  10621. #endif
  10622. #ifndef GL_EXT_texture_integer
  10623. #define GL_EXT_texture_integer 1
  10624. #ifdef GL_GLEXT_PROTOTYPES
  10625. GLAPI void APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  10626. GLAPI void APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  10627. GLAPI void APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  10628. GLAPI void APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  10629. GLAPI void APIENTRY glClearColorIiEXT (GLint red, GLint green, GLint blue, GLint alpha);
  10630. GLAPI void APIENTRY glClearColorIuiEXT (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  10631. #endif /* GL_GLEXT_PROTOTYPES */
  10632. typedef void (APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  10633. typedef void (APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  10634. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  10635. typedef void (APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  10636. typedef void (APIENTRYP PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  10637. typedef void (APIENTRYP PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  10638. #endif
  10639. #ifndef GL_GREMEDY_frame_terminator
  10640. #define GL_GREMEDY_frame_terminator 1
  10641. #ifdef GL_GLEXT_PROTOTYPES
  10642. GLAPI void APIENTRY glFrameTerminatorGREMEDY (void);
  10643. #endif /* GL_GLEXT_PROTOTYPES */
  10644. typedef void (APIENTRYP PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  10645. #endif
  10646. #ifndef GL_NV_conditional_render
  10647. #define GL_NV_conditional_render 1
  10648. #ifdef GL_GLEXT_PROTOTYPES
  10649. GLAPI void APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  10650. GLAPI void APIENTRY glEndConditionalRenderNV (void);
  10651. #endif /* GL_GLEXT_PROTOTYPES */
  10652. typedef void (APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  10653. typedef void (APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  10654. #endif
  10655. #ifndef GL_NV_present_video
  10656. #define GL_NV_present_video 1
  10657. #ifdef GL_GLEXT_PROTOTYPES
  10658. GLAPI void APIENTRY glPresentFrameKeyedNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
  10659. GLAPI void APIENTRY glPresentFrameDualFillNV (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
  10660. GLAPI void APIENTRY glGetVideoivNV (GLuint video_slot, GLenum pname, GLint *params);
  10661. GLAPI void APIENTRY glGetVideouivNV (GLuint video_slot, GLenum pname, GLuint *params);
  10662. GLAPI void APIENTRY glGetVideoi64vNV (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10663. GLAPI void APIENTRY glGetVideoui64vNV (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10664. #endif /* GL_GLEXT_PROTOTYPES */
  10665. typedef void (APIENTRYP PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
  10666. typedef void (APIENTRYP PFNGLPRESENTFRAMEDUALFILLNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLenum target1, GLuint fill1, GLenum target2, GLuint fill2, GLenum target3, GLuint fill3);
  10667. typedef void (APIENTRYP PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint *params);
  10668. typedef void (APIENTRYP PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint *params);
  10669. typedef void (APIENTRYP PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT *params);
  10670. typedef void (APIENTRYP PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT *params);
  10671. #endif
  10672. #ifndef GL_EXT_transform_feedback
  10673. #define GL_EXT_transform_feedback 1
  10674. #ifdef GL_GLEXT_PROTOTYPES
  10675. GLAPI void APIENTRY glBeginTransformFeedbackEXT (GLenum primitiveMode);
  10676. GLAPI void APIENTRY glEndTransformFeedbackEXT (void);
  10677. GLAPI void APIENTRY glBindBufferRangeEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  10678. GLAPI void APIENTRY glBindBufferOffsetEXT (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  10679. GLAPI void APIENTRY glBindBufferBaseEXT (GLenum target, GLuint index, GLuint buffer);
  10680. GLAPI void APIENTRY glTransformFeedbackVaryingsEXT (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  10681. GLAPI void APIENTRY glGetTransformFeedbackVaryingEXT (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  10682. #endif /* GL_GLEXT_PROTOTYPES */
  10683. typedef void (APIENTRYP PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  10684. typedef void (APIENTRYP PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  10685. typedef void (APIENTRYP PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  10686. typedef void (APIENTRYP PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  10687. typedef void (APIENTRYP PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  10688. typedef void (APIENTRYP PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const GLchar* *varyings, GLenum bufferMode);
  10689. typedef void (APIENTRYP PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  10690. #endif
  10691. #ifndef GL_EXT_direct_state_access
  10692. #define GL_EXT_direct_state_access 1
  10693. #ifdef GL_GLEXT_PROTOTYPES
  10694. GLAPI void APIENTRY glClientAttribDefaultEXT (GLbitfield mask);
  10695. GLAPI void APIENTRY glPushClientAttribDefaultEXT (GLbitfield mask);
  10696. GLAPI void APIENTRY glMatrixLoadfEXT (GLenum mode, const GLfloat *m);
  10697. GLAPI void APIENTRY glMatrixLoaddEXT (GLenum mode, const GLdouble *m);
  10698. GLAPI void APIENTRY glMatrixMultfEXT (GLenum mode, const GLfloat *m);
  10699. GLAPI void APIENTRY glMatrixMultdEXT (GLenum mode, const GLdouble *m);
  10700. GLAPI void APIENTRY glMatrixLoadIdentityEXT (GLenum mode);
  10701. GLAPI void APIENTRY glMatrixRotatefEXT (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  10702. GLAPI void APIENTRY glMatrixRotatedEXT (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  10703. GLAPI void APIENTRY glMatrixScalefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  10704. GLAPI void APIENTRY glMatrixScaledEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  10705. GLAPI void APIENTRY glMatrixTranslatefEXT (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  10706. GLAPI void APIENTRY glMatrixTranslatedEXT (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  10707. GLAPI void APIENTRY glMatrixFrustumEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  10708. GLAPI void APIENTRY glMatrixOrthoEXT (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  10709. GLAPI void APIENTRY glMatrixPopEXT (GLenum mode);
  10710. GLAPI void APIENTRY glMatrixPushEXT (GLenum mode);
  10711. GLAPI void APIENTRY glMatrixLoadTransposefEXT (GLenum mode, const GLfloat *m);
  10712. GLAPI void APIENTRY glMatrixLoadTransposedEXT (GLenum mode, const GLdouble *m);
  10713. GLAPI void APIENTRY glMatrixMultTransposefEXT (GLenum mode, const GLfloat *m);
  10714. GLAPI void APIENTRY glMatrixMultTransposedEXT (GLenum mode, const GLdouble *m);
  10715. GLAPI void APIENTRY glTextureParameterfEXT (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  10716. GLAPI void APIENTRY glTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  10717. GLAPI void APIENTRY glTextureParameteriEXT (GLuint texture, GLenum target, GLenum pname, GLint param);
  10718. GLAPI void APIENTRY glTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  10719. GLAPI void APIENTRY glTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10720. GLAPI void APIENTRY glTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10721. GLAPI void APIENTRY glTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  10722. GLAPI void APIENTRY glTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  10723. GLAPI void APIENTRY glCopyTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  10724. GLAPI void APIENTRY glCopyTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  10725. GLAPI void APIENTRY glCopyTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  10726. GLAPI void APIENTRY glCopyTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10727. GLAPI void APIENTRY glGetTextureImageEXT (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  10728. GLAPI void APIENTRY glGetTextureParameterfvEXT (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  10729. GLAPI void APIENTRY glGetTextureParameterivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  10730. GLAPI void APIENTRY glGetTextureLevelParameterfvEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  10731. GLAPI void APIENTRY glGetTextureLevelParameterivEXT (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  10732. GLAPI void APIENTRY glTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10733. 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 GLvoid *pixels);
  10734. GLAPI void APIENTRY glCopyTextureSubImage3DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10735. GLAPI void APIENTRY glMultiTexParameterfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  10736. GLAPI void APIENTRY glMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  10737. GLAPI void APIENTRY glMultiTexParameteriEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  10738. GLAPI void APIENTRY glMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  10739. GLAPI void APIENTRY glMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10740. GLAPI void APIENTRY glMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10741. GLAPI void APIENTRY glMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  10742. GLAPI void APIENTRY glMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  10743. GLAPI void APIENTRY glCopyMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  10744. GLAPI void APIENTRY glCopyMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  10745. GLAPI void APIENTRY glCopyMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  10746. GLAPI void APIENTRY glCopyMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10747. GLAPI void APIENTRY glGetMultiTexImageEXT (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  10748. GLAPI void APIENTRY glGetMultiTexParameterfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  10749. GLAPI void APIENTRY glGetMultiTexParameterivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  10750. GLAPI void APIENTRY glGetMultiTexLevelParameterfvEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  10751. GLAPI void APIENTRY glGetMultiTexLevelParameterivEXT (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  10752. GLAPI void APIENTRY glMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10753. 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 GLvoid *pixels);
  10754. GLAPI void APIENTRY glCopyMultiTexSubImage3DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10755. GLAPI void APIENTRY glBindMultiTextureEXT (GLenum texunit, GLenum target, GLuint texture);
  10756. GLAPI void APIENTRY glEnableClientStateIndexedEXT (GLenum array, GLuint index);
  10757. GLAPI void APIENTRY glDisableClientStateIndexedEXT (GLenum array, GLuint index);
  10758. GLAPI void APIENTRY glMultiTexCoordPointerEXT (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10759. GLAPI void APIENTRY glMultiTexEnvfEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  10760. GLAPI void APIENTRY glMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  10761. GLAPI void APIENTRY glMultiTexEnviEXT (GLenum texunit, GLenum target, GLenum pname, GLint param);
  10762. GLAPI void APIENTRY glMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  10763. GLAPI void APIENTRY glMultiTexGendEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  10764. GLAPI void APIENTRY glMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  10765. GLAPI void APIENTRY glMultiTexGenfEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  10766. GLAPI void APIENTRY glMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  10767. GLAPI void APIENTRY glMultiTexGeniEXT (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  10768. GLAPI void APIENTRY glMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  10769. GLAPI void APIENTRY glGetMultiTexEnvfvEXT (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  10770. GLAPI void APIENTRY glGetMultiTexEnvivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  10771. GLAPI void APIENTRY glGetMultiTexGendvEXT (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  10772. GLAPI void APIENTRY glGetMultiTexGenfvEXT (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  10773. GLAPI void APIENTRY glGetMultiTexGenivEXT (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  10774. GLAPI void APIENTRY glGetFloatIndexedvEXT (GLenum target, GLuint index, GLfloat *data);
  10775. GLAPI void APIENTRY glGetDoubleIndexedvEXT (GLenum target, GLuint index, GLdouble *data);
  10776. GLAPI void APIENTRY glGetPointerIndexedvEXT (GLenum target, GLuint index, GLvoid* *data);
  10777. GLAPI void APIENTRY glCompressedTextureImage3DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  10778. GLAPI void APIENTRY glCompressedTextureImage2DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  10779. GLAPI void APIENTRY glCompressedTextureImage1DEXT (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  10780. 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 GLvoid *bits);
  10781. GLAPI void APIENTRY glCompressedTextureSubImage2DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10782. GLAPI void APIENTRY glCompressedTextureSubImage1DEXT (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10783. GLAPI void APIENTRY glGetCompressedTextureImageEXT (GLuint texture, GLenum target, GLint lod, GLvoid *img);
  10784. GLAPI void APIENTRY glCompressedMultiTexImage3DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  10785. GLAPI void APIENTRY glCompressedMultiTexImage2DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  10786. GLAPI void APIENTRY glCompressedMultiTexImage1DEXT (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  10787. 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 GLvoid *bits);
  10788. GLAPI void APIENTRY glCompressedMultiTexSubImage2DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10789. GLAPI void APIENTRY glCompressedMultiTexSubImage1DEXT (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10790. GLAPI void APIENTRY glGetCompressedMultiTexImageEXT (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
  10791. GLAPI void APIENTRY glNamedProgramStringEXT (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  10792. GLAPI void APIENTRY glNamedProgramLocalParameter4dEXT (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10793. GLAPI void APIENTRY glNamedProgramLocalParameter4dvEXT (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  10794. GLAPI void APIENTRY glNamedProgramLocalParameter4fEXT (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  10795. GLAPI void APIENTRY glNamedProgramLocalParameter4fvEXT (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  10796. GLAPI void APIENTRY glGetNamedProgramLocalParameterdvEXT (GLuint program, GLenum target, GLuint index, GLdouble *params);
  10797. GLAPI void APIENTRY glGetNamedProgramLocalParameterfvEXT (GLuint program, GLenum target, GLuint index, GLfloat *params);
  10798. GLAPI void APIENTRY glGetNamedProgramivEXT (GLuint program, GLenum target, GLenum pname, GLint *params);
  10799. GLAPI void APIENTRY glGetNamedProgramStringEXT (GLuint program, GLenum target, GLenum pname, GLvoid *string);
  10800. GLAPI void APIENTRY glNamedProgramLocalParameters4fvEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  10801. GLAPI void APIENTRY glNamedProgramLocalParameterI4iEXT (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  10802. GLAPI void APIENTRY glNamedProgramLocalParameterI4ivEXT (GLuint program, GLenum target, GLuint index, const GLint *params);
  10803. GLAPI void APIENTRY glNamedProgramLocalParametersI4ivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  10804. GLAPI void APIENTRY glNamedProgramLocalParameterI4uiEXT (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  10805. GLAPI void APIENTRY glNamedProgramLocalParameterI4uivEXT (GLuint program, GLenum target, GLuint index, const GLuint *params);
  10806. GLAPI void APIENTRY glNamedProgramLocalParametersI4uivEXT (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  10807. GLAPI void APIENTRY glGetNamedProgramLocalParameterIivEXT (GLuint program, GLenum target, GLuint index, GLint *params);
  10808. GLAPI void APIENTRY glGetNamedProgramLocalParameterIuivEXT (GLuint program, GLenum target, GLuint index, GLuint *params);
  10809. GLAPI void APIENTRY glTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  10810. GLAPI void APIENTRY glTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  10811. GLAPI void APIENTRY glGetTextureParameterIivEXT (GLuint texture, GLenum target, GLenum pname, GLint *params);
  10812. GLAPI void APIENTRY glGetTextureParameterIuivEXT (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  10813. GLAPI void APIENTRY glMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  10814. GLAPI void APIENTRY glMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  10815. GLAPI void APIENTRY glGetMultiTexParameterIivEXT (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  10816. GLAPI void APIENTRY glGetMultiTexParameterIuivEXT (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  10817. GLAPI void APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  10818. GLAPI void APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  10819. GLAPI void APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  10820. GLAPI void APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  10821. GLAPI void APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  10822. GLAPI void APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  10823. GLAPI void APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  10824. GLAPI void APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  10825. GLAPI void APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  10826. GLAPI void APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  10827. GLAPI void APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  10828. GLAPI void APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  10829. GLAPI void APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  10830. GLAPI void APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  10831. GLAPI void APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  10832. GLAPI void APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  10833. GLAPI void APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10834. GLAPI void APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10835. GLAPI void APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10836. GLAPI void APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10837. GLAPI void APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10838. GLAPI void APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10839. GLAPI void APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10840. GLAPI void APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10841. GLAPI void APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  10842. GLAPI void APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  10843. GLAPI void APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  10844. GLAPI void APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  10845. GLAPI void APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  10846. GLAPI void APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  10847. GLAPI void APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  10848. GLAPI void APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  10849. GLAPI void APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  10850. GLAPI void APIENTRY glNamedBufferDataEXT (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
  10851. GLAPI void APIENTRY glNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  10852. GLAPI GLvoid* APIENTRY glMapNamedBufferEXT (GLuint buffer, GLenum access);
  10853. GLAPI GLboolean APIENTRY glUnmapNamedBufferEXT (GLuint buffer);
  10854. GLAPI GLvoid* APIENTRY glMapNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  10855. GLAPI void APIENTRY glFlushMappedNamedBufferRangeEXT (GLuint buffer, GLintptr offset, GLsizeiptr length);
  10856. GLAPI void APIENTRY glNamedCopyBufferSubDataEXT (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  10857. GLAPI void APIENTRY glGetNamedBufferParameterivEXT (GLuint buffer, GLenum pname, GLint *params);
  10858. GLAPI void APIENTRY glGetNamedBufferPointervEXT (GLuint buffer, GLenum pname, GLvoid* *params);
  10859. GLAPI void APIENTRY glGetNamedBufferSubDataEXT (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
  10860. GLAPI void APIENTRY glTextureBufferEXT (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  10861. GLAPI void APIENTRY glMultiTexBufferEXT (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  10862. GLAPI void APIENTRY glNamedRenderbufferStorageEXT (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  10863. GLAPI void APIENTRY glGetNamedRenderbufferParameterivEXT (GLuint renderbuffer, GLenum pname, GLint *params);
  10864. GLAPI GLenum APIENTRY glCheckNamedFramebufferStatusEXT (GLuint framebuffer, GLenum target);
  10865. GLAPI void APIENTRY glNamedFramebufferTexture1DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10866. GLAPI void APIENTRY glNamedFramebufferTexture2DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  10867. GLAPI void APIENTRY glNamedFramebufferTexture3DEXT (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  10868. GLAPI void APIENTRY glNamedFramebufferRenderbufferEXT (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  10869. GLAPI void APIENTRY glGetNamedFramebufferAttachmentParameterivEXT (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  10870. GLAPI void APIENTRY glGenerateTextureMipmapEXT (GLuint texture, GLenum target);
  10871. GLAPI void APIENTRY glGenerateMultiTexMipmapEXT (GLenum texunit, GLenum target);
  10872. GLAPI void APIENTRY glFramebufferDrawBufferEXT (GLuint framebuffer, GLenum mode);
  10873. GLAPI void APIENTRY glFramebufferDrawBuffersEXT (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  10874. GLAPI void APIENTRY glFramebufferReadBufferEXT (GLuint framebuffer, GLenum mode);
  10875. GLAPI void APIENTRY glGetFramebufferParameterivEXT (GLuint framebuffer, GLenum pname, GLint *params);
  10876. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleEXT (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  10877. GLAPI void APIENTRY glNamedRenderbufferStorageMultisampleCoverageEXT (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  10878. GLAPI void APIENTRY glNamedFramebufferTextureEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  10879. GLAPI void APIENTRY glNamedFramebufferTextureLayerEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  10880. GLAPI void APIENTRY glNamedFramebufferTextureFaceEXT (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  10881. GLAPI void APIENTRY glTextureRenderbufferEXT (GLuint texture, GLenum target, GLuint renderbuffer);
  10882. GLAPI void APIENTRY glMultiTexRenderbufferEXT (GLenum texunit, GLenum target, GLuint renderbuffer);
  10883. GLAPI void APIENTRY glProgramUniform1dEXT (GLuint program, GLint location, GLdouble x);
  10884. GLAPI void APIENTRY glProgramUniform2dEXT (GLuint program, GLint location, GLdouble x, GLdouble y);
  10885. GLAPI void APIENTRY glProgramUniform3dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  10886. GLAPI void APIENTRY glProgramUniform4dEXT (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  10887. GLAPI void APIENTRY glProgramUniform1dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  10888. GLAPI void APIENTRY glProgramUniform2dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  10889. GLAPI void APIENTRY glProgramUniform3dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  10890. GLAPI void APIENTRY glProgramUniform4dvEXT (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  10891. GLAPI void APIENTRY glProgramUniformMatrix2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10892. GLAPI void APIENTRY glProgramUniformMatrix3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10893. GLAPI void APIENTRY glProgramUniformMatrix4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10894. GLAPI void APIENTRY glProgramUniformMatrix2x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10895. GLAPI void APIENTRY glProgramUniformMatrix2x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10896. GLAPI void APIENTRY glProgramUniformMatrix3x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10897. GLAPI void APIENTRY glProgramUniformMatrix3x4dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10898. GLAPI void APIENTRY glProgramUniformMatrix4x2dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10899. GLAPI void APIENTRY glProgramUniformMatrix4x3dvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  10900. #endif /* GL_GLEXT_PROTOTYPES */
  10901. typedef void (APIENTRYP PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  10902. typedef void (APIENTRYP PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  10903. typedef void (APIENTRYP PFNGLMATRIXLOADFEXTPROC) (GLenum mode, const GLfloat *m);
  10904. typedef void (APIENTRYP PFNGLMATRIXLOADDEXTPROC) (GLenum mode, const GLdouble *m);
  10905. typedef void (APIENTRYP PFNGLMATRIXMULTFEXTPROC) (GLenum mode, const GLfloat *m);
  10906. typedef void (APIENTRYP PFNGLMATRIXMULTDEXTPROC) (GLenum mode, const GLdouble *m);
  10907. typedef void (APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum mode);
  10908. typedef void (APIENTRYP PFNGLMATRIXROTATEFEXTPROC) (GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  10909. typedef void (APIENTRYP PFNGLMATRIXROTATEDEXTPROC) (GLenum mode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  10910. typedef void (APIENTRYP PFNGLMATRIXSCALEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  10911. typedef void (APIENTRYP PFNGLMATRIXSCALEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  10912. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum mode, GLfloat x, GLfloat y, GLfloat z);
  10913. typedef void (APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum mode, GLdouble x, GLdouble y, GLdouble z);
  10914. typedef void (APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  10915. typedef void (APIENTRYP PFNGLMATRIXORTHOEXTPROC) (GLenum mode, GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  10916. typedef void (APIENTRYP PFNGLMATRIXPOPEXTPROC) (GLenum mode);
  10917. typedef void (APIENTRYP PFNGLMATRIXPUSHEXTPROC) (GLenum mode);
  10918. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  10919. typedef void (APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  10920. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum mode, const GLfloat *m);
  10921. typedef void (APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum mode, const GLdouble *m);
  10922. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  10923. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat *params);
  10924. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  10925. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  10926. typedef void (APIENTRYP PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10927. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10928. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  10929. typedef void (APIENTRYP PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  10930. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  10931. typedef void (APIENTRYP PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  10932. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  10933. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10934. typedef void (APIENTRYP PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  10935. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat *params);
  10936. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  10937. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat *params);
  10938. typedef void (APIENTRYP PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint *params);
  10939. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10940. 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 GLvoid *pixels);
  10941. typedef void (APIENTRYP PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10942. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  10943. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  10944. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  10945. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  10946. typedef void (APIENTRYP PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10947. typedef void (APIENTRYP PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10948. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  10949. typedef void (APIENTRYP PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  10950. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  10951. typedef void (APIENTRYP PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  10952. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  10953. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10954. typedef void (APIENTRYP PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  10955. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  10956. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  10957. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat *params);
  10958. typedef void (APIENTRYP PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint *params);
  10959. typedef void (APIENTRYP PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  10960. 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 GLvoid *pixels);
  10961. typedef void (APIENTRYP PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  10962. typedef void (APIENTRYP PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  10963. typedef void (APIENTRYP PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  10964. typedef void (APIENTRYP PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  10965. typedef void (APIENTRYP PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  10966. typedef void (APIENTRYP PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  10967. typedef void (APIENTRYP PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat *params);
  10968. typedef void (APIENTRYP PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  10969. typedef void (APIENTRYP PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  10970. typedef void (APIENTRYP PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  10971. typedef void (APIENTRYP PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble *params);
  10972. typedef void (APIENTRYP PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  10973. typedef void (APIENTRYP PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat *params);
  10974. typedef void (APIENTRYP PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  10975. typedef void (APIENTRYP PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint *params);
  10976. typedef void (APIENTRYP PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat *params);
  10977. typedef void (APIENTRYP PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  10978. typedef void (APIENTRYP PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble *params);
  10979. typedef void (APIENTRYP PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat *params);
  10980. typedef void (APIENTRYP PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint *params);
  10981. typedef void (APIENTRYP PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat *data);
  10982. typedef void (APIENTRYP PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble *data);
  10983. typedef void (APIENTRYP PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid* *data);
  10984. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  10985. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  10986. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  10987. 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 GLvoid *bits);
  10988. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10989. typedef void (APIENTRYP PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10990. typedef void (APIENTRYP PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint lod, GLvoid *img);
  10991. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *bits);
  10992. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *bits);
  10993. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *bits);
  10994. 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 GLvoid *bits);
  10995. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10996. typedef void (APIENTRYP PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *bits);
  10997. typedef void (APIENTRYP PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint lod, GLvoid *img);
  10998. typedef void (APIENTRYP PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const GLvoid *string);
  10999. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11000. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble *params);
  11001. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11002. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat *params);
  11003. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble *params);
  11004. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat *params);
  11005. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint *params);
  11006. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, GLvoid *string);
  11007. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat *params);
  11008. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  11009. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint *params);
  11010. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint *params);
  11011. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  11012. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint *params);
  11013. typedef void (APIENTRYP PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint *params);
  11014. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint *params);
  11015. typedef void (APIENTRYP PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint *params);
  11016. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint *params);
  11017. typedef void (APIENTRYP PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint *params);
  11018. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint *params);
  11019. typedef void (APIENTRYP PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint *params);
  11020. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint *params);
  11021. typedef void (APIENTRYP PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint *params);
  11022. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint *params);
  11023. typedef void (APIENTRYP PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint *params);
  11024. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  11025. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  11026. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  11027. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  11028. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  11029. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  11030. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  11031. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  11032. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  11033. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  11034. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  11035. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  11036. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  11037. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  11038. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  11039. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  11040. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11041. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11042. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11043. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11044. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11045. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11046. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11047. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11048. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  11049. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  11050. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  11051. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  11052. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  11053. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  11054. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  11055. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  11056. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  11057. typedef void (APIENTRYP PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const GLvoid *data, GLenum usage);
  11058. typedef void (APIENTRYP PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const GLvoid *data);
  11059. typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  11060. typedef GLboolean (APIENTRYP PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  11061. typedef GLvoid* (APIENTRYP PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  11062. typedef void (APIENTRYP PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  11063. typedef void (APIENTRYP PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  11064. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint *params);
  11065. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, GLvoid* *params);
  11066. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, GLvoid *data);
  11067. typedef void (APIENTRYP PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  11068. typedef void (APIENTRYP PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  11069. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  11070. typedef void (APIENTRYP PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint *params);
  11071. typedef GLenum (APIENTRYP PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  11072. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  11073. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  11074. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  11075. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  11076. typedef void (APIENTRYP PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint *params);
  11077. typedef void (APIENTRYP PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  11078. typedef void (APIENTRYP PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  11079. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  11080. typedef void (APIENTRYP PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum *bufs);
  11081. typedef void (APIENTRYP PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  11082. typedef void (APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint *params);
  11083. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  11084. typedef void (APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  11085. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  11086. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  11087. typedef void (APIENTRYP PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  11088. typedef void (APIENTRYP PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  11089. typedef void (APIENTRYP PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  11090. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  11091. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  11092. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  11093. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11094. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  11095. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  11096. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  11097. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble *value);
  11098. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11099. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11100. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11101. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11102. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11103. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11104. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11105. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11106. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble *value);
  11107. #endif
  11108. #ifndef GL_EXT_vertex_array_bgra
  11109. #define GL_EXT_vertex_array_bgra 1
  11110. #endif
  11111. #ifndef GL_EXT_texture_swizzle
  11112. #define GL_EXT_texture_swizzle 1
  11113. #endif
  11114. #ifndef GL_NV_explicit_multisample
  11115. #define GL_NV_explicit_multisample 1
  11116. #ifdef GL_GLEXT_PROTOTYPES
  11117. GLAPI void APIENTRY glGetMultisamplefvNV (GLenum pname, GLuint index, GLfloat *val);
  11118. GLAPI void APIENTRY glSampleMaskIndexedNV (GLuint index, GLbitfield mask);
  11119. GLAPI void APIENTRY glTexRenderbufferNV (GLenum target, GLuint renderbuffer);
  11120. #endif /* GL_GLEXT_PROTOTYPES */
  11121. typedef void (APIENTRYP PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat *val);
  11122. typedef void (APIENTRYP PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  11123. typedef void (APIENTRYP PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  11124. #endif
  11125. #ifndef GL_NV_transform_feedback2
  11126. #define GL_NV_transform_feedback2 1
  11127. #ifdef GL_GLEXT_PROTOTYPES
  11128. GLAPI void APIENTRY glBindTransformFeedbackNV (GLenum target, GLuint id);
  11129. GLAPI void APIENTRY glDeleteTransformFeedbacksNV (GLsizei n, const GLuint *ids);
  11130. GLAPI void APIENTRY glGenTransformFeedbacksNV (GLsizei n, GLuint *ids);
  11131. GLAPI GLboolean APIENTRY glIsTransformFeedbackNV (GLuint id);
  11132. GLAPI void APIENTRY glPauseTransformFeedbackNV (void);
  11133. GLAPI void APIENTRY glResumeTransformFeedbackNV (void);
  11134. GLAPI void APIENTRY glDrawTransformFeedbackNV (GLenum mode, GLuint id);
  11135. #endif /* GL_GLEXT_PROTOTYPES */
  11136. typedef void (APIENTRYP PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  11137. typedef void (APIENTRYP PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint *ids);
  11138. typedef void (APIENTRYP PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint *ids);
  11139. typedef GLboolean (APIENTRYP PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  11140. typedef void (APIENTRYP PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  11141. typedef void (APIENTRYP PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  11142. typedef void (APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  11143. #endif
  11144. #ifndef GL_ATI_meminfo
  11145. #define GL_ATI_meminfo 1
  11146. #endif
  11147. #ifndef GL_AMD_performance_monitor
  11148. #define GL_AMD_performance_monitor 1
  11149. #ifdef GL_GLEXT_PROTOTYPES
  11150. GLAPI void APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  11151. GLAPI void APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  11152. GLAPI void APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  11153. GLAPI void APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  11154. GLAPI void APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
  11155. GLAPI void APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  11156. GLAPI void APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  11157. GLAPI void APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  11158. GLAPI void APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  11159. GLAPI void APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  11160. GLAPI void APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  11161. #endif /* GL_GLEXT_PROTOTYPES */
  11162. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  11163. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  11164. typedef void (APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  11165. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  11166. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, GLvoid *data);
  11167. typedef void (APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  11168. typedef void (APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  11169. typedef void (APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  11170. typedef void (APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  11171. typedef void (APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  11172. typedef void (APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  11173. #endif
  11174. #ifndef GL_AMD_texture_texture4
  11175. #define GL_AMD_texture_texture4 1
  11176. #endif
  11177. #ifndef GL_AMD_vertex_shader_tesselator
  11178. #define GL_AMD_vertex_shader_tesselator 1
  11179. #ifdef GL_GLEXT_PROTOTYPES
  11180. GLAPI void APIENTRY glTessellationFactorAMD (GLfloat factor);
  11181. GLAPI void APIENTRY glTessellationModeAMD (GLenum mode);
  11182. #endif /* GL_GLEXT_PROTOTYPES */
  11183. typedef void (APIENTRYP PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  11184. typedef void (APIENTRYP PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  11185. #endif
  11186. #ifndef GL_EXT_provoking_vertex
  11187. #define GL_EXT_provoking_vertex 1
  11188. #ifdef GL_GLEXT_PROTOTYPES
  11189. GLAPI void APIENTRY glProvokingVertexEXT (GLenum mode);
  11190. #endif /* GL_GLEXT_PROTOTYPES */
  11191. typedef void (APIENTRYP PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  11192. #endif
  11193. #ifndef GL_EXT_texture_snorm
  11194. #define GL_EXT_texture_snorm 1
  11195. #endif
  11196. #ifndef GL_AMD_draw_buffers_blend
  11197. #define GL_AMD_draw_buffers_blend 1
  11198. #ifdef GL_GLEXT_PROTOTYPES
  11199. GLAPI void APIENTRY glBlendFuncIndexedAMD (GLuint buf, GLenum src, GLenum dst);
  11200. GLAPI void APIENTRY glBlendFuncSeparateIndexedAMD (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  11201. GLAPI void APIENTRY glBlendEquationIndexedAMD (GLuint buf, GLenum mode);
  11202. GLAPI void APIENTRY glBlendEquationSeparateIndexedAMD (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  11203. #endif /* GL_GLEXT_PROTOTYPES */
  11204. typedef void (APIENTRYP PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  11205. typedef void (APIENTRYP PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  11206. typedef void (APIENTRYP PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  11207. typedef void (APIENTRYP PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  11208. #endif
  11209. #ifndef GL_APPLE_texture_range
  11210. #define GL_APPLE_texture_range 1
  11211. #ifdef GL_GLEXT_PROTOTYPES
  11212. GLAPI void APIENTRY glTextureRangeAPPLE (GLenum target, GLsizei length, const GLvoid *pointer);
  11213. GLAPI void APIENTRY glGetTexParameterPointervAPPLE (GLenum target, GLenum pname, GLvoid* *params);
  11214. #endif /* GL_GLEXT_PROTOTYPES */
  11215. typedef void (APIENTRYP PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, const GLvoid *pointer);
  11216. typedef void (APIENTRYP PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid* *params);
  11217. #endif
  11218. #ifndef GL_APPLE_float_pixels
  11219. #define GL_APPLE_float_pixels 1
  11220. #endif
  11221. #ifndef GL_APPLE_vertex_program_evaluators
  11222. #define GL_APPLE_vertex_program_evaluators 1
  11223. #ifdef GL_GLEXT_PROTOTYPES
  11224. GLAPI void APIENTRY glEnableVertexAttribAPPLE (GLuint index, GLenum pname);
  11225. GLAPI void APIENTRY glDisableVertexAttribAPPLE (GLuint index, GLenum pname);
  11226. GLAPI GLboolean APIENTRY glIsVertexAttribEnabledAPPLE (GLuint index, GLenum pname);
  11227. GLAPI void APIENTRY glMapVertexAttrib1dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  11228. GLAPI void APIENTRY glMapVertexAttrib1fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  11229. GLAPI void APIENTRY glMapVertexAttrib2dAPPLE (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  11230. GLAPI void APIENTRY glMapVertexAttrib2fAPPLE (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  11231. #endif /* GL_GLEXT_PROTOTYPES */
  11232. typedef void (APIENTRYP PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  11233. typedef void (APIENTRYP PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  11234. typedef GLboolean (APIENTRYP PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  11235. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  11236. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  11237. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  11238. typedef void (APIENTRYP PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  11239. #endif
  11240. #ifndef GL_APPLE_aux_depth_stencil
  11241. #define GL_APPLE_aux_depth_stencil 1
  11242. #endif
  11243. #ifndef GL_APPLE_object_purgeable
  11244. #define GL_APPLE_object_purgeable 1
  11245. #ifdef GL_GLEXT_PROTOTYPES
  11246. GLAPI GLenum APIENTRY glObjectPurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  11247. GLAPI GLenum APIENTRY glObjectUnpurgeableAPPLE (GLenum objectType, GLuint name, GLenum option);
  11248. GLAPI void APIENTRY glGetObjectParameterivAPPLE (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  11249. #endif /* GL_GLEXT_PROTOTYPES */
  11250. typedef GLenum (APIENTRYP PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  11251. typedef GLenum (APIENTRYP PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  11252. typedef void (APIENTRYP PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint *params);
  11253. #endif
  11254. #ifndef GL_APPLE_row_bytes
  11255. #define GL_APPLE_row_bytes 1
  11256. #endif
  11257. #ifndef GL_APPLE_rgb_422
  11258. #define GL_APPLE_rgb_422 1
  11259. #endif
  11260. #ifndef GL_NV_video_capture
  11261. #define GL_NV_video_capture 1
  11262. #ifdef GL_GLEXT_PROTOTYPES
  11263. GLAPI void APIENTRY glBeginVideoCaptureNV (GLuint video_capture_slot);
  11264. GLAPI void APIENTRY glBindVideoCaptureStreamBufferNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11265. GLAPI void APIENTRY glBindVideoCaptureStreamTextureNV (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11266. GLAPI void APIENTRY glEndVideoCaptureNV (GLuint video_capture_slot);
  11267. GLAPI void APIENTRY glGetVideoCaptureivNV (GLuint video_capture_slot, GLenum pname, GLint *params);
  11268. GLAPI void APIENTRY glGetVideoCaptureStreamivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11269. GLAPI void APIENTRY glGetVideoCaptureStreamfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11270. GLAPI void APIENTRY glGetVideoCaptureStreamdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11271. GLAPI GLenum APIENTRY glVideoCaptureNV (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11272. GLAPI void APIENTRY glVideoCaptureStreamParameterivNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11273. GLAPI void APIENTRY glVideoCaptureStreamParameterfvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11274. GLAPI void APIENTRY glVideoCaptureStreamParameterdvNV (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11275. #endif /* GL_GLEXT_PROTOTYPES */
  11276. typedef void (APIENTRYP PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11277. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11278. typedef void (APIENTRYP PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11279. typedef void (APIENTRYP PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11280. typedef void (APIENTRYP PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint *params);
  11281. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint *params);
  11282. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat *params);
  11283. typedef void (APIENTRYP PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble *params);
  11284. typedef GLenum (APIENTRYP PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint *sequence_num, GLuint64EXT *capture_time);
  11285. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint *params);
  11286. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat *params);
  11287. typedef void (APIENTRYP PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble *params);
  11288. #endif
  11289. #ifndef GL_NV_copy_image
  11290. #define GL_NV_copy_image 1
  11291. #ifdef GL_GLEXT_PROTOTYPES
  11292. GLAPI void APIENTRY glCopyImageSubDataNV (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 width, GLsizei height, GLsizei depth);
  11293. #endif /* GL_GLEXT_PROTOTYPES */
  11294. typedef void (APIENTRYP PFNGLCOPYIMAGESUBDATANVPROC) (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 width, GLsizei height, GLsizei depth);
  11295. #endif
  11296. #ifndef GL_EXT_separate_shader_objects
  11297. #define GL_EXT_separate_shader_objects 1
  11298. #ifdef GL_GLEXT_PROTOTYPES
  11299. GLAPI void APIENTRY glUseShaderProgramEXT (GLenum type, GLuint program);
  11300. GLAPI void APIENTRY glActiveProgramEXT (GLuint program);
  11301. GLAPI GLuint APIENTRY glCreateShaderProgramEXT (GLenum type, const GLchar *string);
  11302. #endif /* GL_GLEXT_PROTOTYPES */
  11303. typedef void (APIENTRYP PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  11304. typedef void (APIENTRYP PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  11305. typedef GLuint (APIENTRYP PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const GLchar *string);
  11306. #endif
  11307. #ifndef GL_NV_parameter_buffer_object2
  11308. #define GL_NV_parameter_buffer_object2 1
  11309. #endif
  11310. #ifndef GL_NV_shader_buffer_load
  11311. #define GL_NV_shader_buffer_load 1
  11312. #ifdef GL_GLEXT_PROTOTYPES
  11313. GLAPI void APIENTRY glMakeBufferResidentNV (GLenum target, GLenum access);
  11314. GLAPI void APIENTRY glMakeBufferNonResidentNV (GLenum target);
  11315. GLAPI GLboolean APIENTRY glIsBufferResidentNV (GLenum target);
  11316. GLAPI void APIENTRY glMakeNamedBufferResidentNV (GLuint buffer, GLenum access);
  11317. GLAPI void APIENTRY glMakeNamedBufferNonResidentNV (GLuint buffer);
  11318. GLAPI GLboolean APIENTRY glIsNamedBufferResidentNV (GLuint buffer);
  11319. GLAPI void APIENTRY glGetBufferParameterui64vNV (GLenum target, GLenum pname, GLuint64EXT *params);
  11320. GLAPI void APIENTRY glGetNamedBufferParameterui64vNV (GLuint buffer, GLenum pname, GLuint64EXT *params);
  11321. GLAPI void APIENTRY glGetIntegerui64vNV (GLenum value, GLuint64EXT *result);
  11322. GLAPI void APIENTRY glUniformui64NV (GLint location, GLuint64EXT value);
  11323. GLAPI void APIENTRY glUniformui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  11324. GLAPI void APIENTRY glGetUniformui64vNV (GLuint program, GLint location, GLuint64EXT *params);
  11325. GLAPI void APIENTRY glProgramUniformui64NV (GLuint program, GLint location, GLuint64EXT value);
  11326. GLAPI void APIENTRY glProgramUniformui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11327. #endif /* GL_GLEXT_PROTOTYPES */
  11328. typedef void (APIENTRYP PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  11329. typedef void (APIENTRYP PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  11330. typedef GLboolean (APIENTRYP PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  11331. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  11332. typedef void (APIENTRYP PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  11333. typedef GLboolean (APIENTRYP PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  11334. typedef void (APIENTRYP PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT *params);
  11335. typedef void (APIENTRYP PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT *params);
  11336. typedef void (APIENTRYP PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT *result);
  11337. typedef void (APIENTRYP PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  11338. typedef void (APIENTRYP PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  11339. typedef void (APIENTRYP PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT *params);
  11340. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  11341. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11342. #endif
  11343. #ifndef GL_NV_vertex_buffer_unified_memory
  11344. #define GL_NV_vertex_buffer_unified_memory 1
  11345. #ifdef GL_GLEXT_PROTOTYPES
  11346. GLAPI void APIENTRY glBufferAddressRangeNV (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11347. GLAPI void APIENTRY glVertexFormatNV (GLint size, GLenum type, GLsizei stride);
  11348. GLAPI void APIENTRY glNormalFormatNV (GLenum type, GLsizei stride);
  11349. GLAPI void APIENTRY glColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11350. GLAPI void APIENTRY glIndexFormatNV (GLenum type, GLsizei stride);
  11351. GLAPI void APIENTRY glTexCoordFormatNV (GLint size, GLenum type, GLsizei stride);
  11352. GLAPI void APIENTRY glEdgeFlagFormatNV (GLsizei stride);
  11353. GLAPI void APIENTRY glSecondaryColorFormatNV (GLint size, GLenum type, GLsizei stride);
  11354. GLAPI void APIENTRY glFogCoordFormatNV (GLenum type, GLsizei stride);
  11355. GLAPI void APIENTRY glVertexAttribFormatNV (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11356. GLAPI void APIENTRY glVertexAttribIFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11357. GLAPI void APIENTRY glGetIntegerui64i_vNV (GLenum value, GLuint index, GLuint64EXT *result);
  11358. #endif /* GL_GLEXT_PROTOTYPES */
  11359. typedef void (APIENTRYP PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  11360. typedef void (APIENTRYP PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11361. typedef void (APIENTRYP PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  11362. typedef void (APIENTRYP PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11363. typedef void (APIENTRYP PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  11364. typedef void (APIENTRYP PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11365. typedef void (APIENTRYP PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  11366. typedef void (APIENTRYP PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  11367. typedef void (APIENTRYP PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  11368. typedef void (APIENTRYP PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  11369. typedef void (APIENTRYP PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11370. typedef void (APIENTRYP PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT *result);
  11371. #endif
  11372. #ifndef GL_NV_texture_barrier
  11373. #define GL_NV_texture_barrier 1
  11374. #ifdef GL_GLEXT_PROTOTYPES
  11375. GLAPI void APIENTRY glTextureBarrierNV (void);
  11376. #endif /* GL_GLEXT_PROTOTYPES */
  11377. typedef void (APIENTRYP PFNGLTEXTUREBARRIERNVPROC) (void);
  11378. #endif
  11379. #ifndef GL_AMD_shader_stencil_export
  11380. #define GL_AMD_shader_stencil_export 1
  11381. #endif
  11382. #ifndef GL_AMD_seamless_cubemap_per_texture
  11383. #define GL_AMD_seamless_cubemap_per_texture 1
  11384. #endif
  11385. #ifndef GL_AMD_conservative_depth
  11386. #define GL_AMD_conservative_depth 1
  11387. #endif
  11388. #ifndef GL_EXT_shader_image_load_store
  11389. #define GL_EXT_shader_image_load_store 1
  11390. #ifdef GL_GLEXT_PROTOTYPES
  11391. GLAPI void APIENTRY glBindImageTextureEXT (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  11392. GLAPI void APIENTRY glMemoryBarrierEXT (GLbitfield barriers);
  11393. #endif /* GL_GLEXT_PROTOTYPES */
  11394. typedef void (APIENTRYP PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  11395. typedef void (APIENTRYP PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  11396. #endif
  11397. #ifndef GL_EXT_vertex_attrib_64bit
  11398. #define GL_EXT_vertex_attrib_64bit 1
  11399. #ifdef GL_GLEXT_PROTOTYPES
  11400. GLAPI void APIENTRY glVertexAttribL1dEXT (GLuint index, GLdouble x);
  11401. GLAPI void APIENTRY glVertexAttribL2dEXT (GLuint index, GLdouble x, GLdouble y);
  11402. GLAPI void APIENTRY glVertexAttribL3dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11403. GLAPI void APIENTRY glVertexAttribL4dEXT (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11404. GLAPI void APIENTRY glVertexAttribL1dvEXT (GLuint index, const GLdouble *v);
  11405. GLAPI void APIENTRY glVertexAttribL2dvEXT (GLuint index, const GLdouble *v);
  11406. GLAPI void APIENTRY glVertexAttribL3dvEXT (GLuint index, const GLdouble *v);
  11407. GLAPI void APIENTRY glVertexAttribL4dvEXT (GLuint index, const GLdouble *v);
  11408. GLAPI void APIENTRY glVertexAttribLPointerEXT (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  11409. GLAPI void APIENTRY glGetVertexAttribLdvEXT (GLuint index, GLenum pname, GLdouble *params);
  11410. GLAPI void APIENTRY glVertexArrayVertexAttribLOffsetEXT (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  11411. #endif /* GL_GLEXT_PROTOTYPES */
  11412. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  11413. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  11414. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11415. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11416. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble *v);
  11417. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble *v);
  11418. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble *v);
  11419. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble *v);
  11420. typedef void (APIENTRYP PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  11421. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble *params);
  11422. typedef void (APIENTRYP PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  11423. #endif
  11424. #ifndef GL_NV_gpu_program5
  11425. #define GL_NV_gpu_program5 1
  11426. #ifdef GL_GLEXT_PROTOTYPES
  11427. GLAPI void APIENTRY glProgramSubroutineParametersuivNV (GLenum target, GLsizei count, const GLuint *params);
  11428. GLAPI void APIENTRY glGetProgramSubroutineParameteruivNV (GLenum target, GLuint index, GLuint *param);
  11429. #endif /* GL_GLEXT_PROTOTYPES */
  11430. typedef void (APIENTRYP PFNGLPROGRAMSUBROUTINEPARAMETERSUIVNVPROC) (GLenum target, GLsizei count, const GLuint *params);
  11431. typedef void (APIENTRYP PFNGLGETPROGRAMSUBROUTINEPARAMETERUIVNVPROC) (GLenum target, GLuint index, GLuint *param);
  11432. #endif
  11433. #ifndef GL_NV_gpu_shader5
  11434. #define GL_NV_gpu_shader5 1
  11435. #ifdef GL_GLEXT_PROTOTYPES
  11436. GLAPI void APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  11437. GLAPI void APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  11438. GLAPI void APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11439. GLAPI void APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11440. GLAPI void APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  11441. GLAPI void APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  11442. GLAPI void APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  11443. GLAPI void APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  11444. GLAPI void APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  11445. GLAPI void APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  11446. GLAPI void APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11447. GLAPI void APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11448. GLAPI void APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  11449. GLAPI void APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  11450. GLAPI void APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  11451. GLAPI void APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  11452. GLAPI void APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  11453. GLAPI void APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  11454. GLAPI void APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  11455. GLAPI void APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11456. GLAPI void APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11457. GLAPI void APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11458. GLAPI void APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11459. GLAPI void APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11460. GLAPI void APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11461. GLAPI void APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  11462. GLAPI void APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  11463. GLAPI void APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11464. GLAPI void APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11465. GLAPI void APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11466. GLAPI void APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11467. GLAPI void APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11468. GLAPI void APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11469. #endif /* GL_GLEXT_PROTOTYPES */
  11470. typedef void (APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  11471. typedef void (APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  11472. typedef void (APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11473. typedef void (APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11474. typedef void (APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  11475. typedef void (APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  11476. typedef void (APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  11477. typedef void (APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  11478. typedef void (APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  11479. typedef void (APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  11480. typedef void (APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11481. typedef void (APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11482. typedef void (APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  11483. typedef void (APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  11484. typedef void (APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  11485. typedef void (APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  11486. typedef void (APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  11487. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  11488. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  11489. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11490. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11491. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11492. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11493. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11494. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  11495. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  11496. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  11497. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11498. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11499. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11500. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11501. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11502. typedef void (APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  11503. #endif
  11504. #ifndef GL_NV_shader_buffer_store
  11505. #define GL_NV_shader_buffer_store 1
  11506. #endif
  11507. #ifndef GL_NV_tessellation_program5
  11508. #define GL_NV_tessellation_program5 1
  11509. #endif
  11510. #ifndef GL_NV_vertex_attrib_integer_64bit
  11511. #define GL_NV_vertex_attrib_integer_64bit 1
  11512. #ifdef GL_GLEXT_PROTOTYPES
  11513. GLAPI void APIENTRY glVertexAttribL1i64NV (GLuint index, GLint64EXT x);
  11514. GLAPI void APIENTRY glVertexAttribL2i64NV (GLuint index, GLint64EXT x, GLint64EXT y);
  11515. GLAPI void APIENTRY glVertexAttribL3i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11516. GLAPI void APIENTRY glVertexAttribL4i64NV (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11517. GLAPI void APIENTRY glVertexAttribL1i64vNV (GLuint index, const GLint64EXT *v);
  11518. GLAPI void APIENTRY glVertexAttribL2i64vNV (GLuint index, const GLint64EXT *v);
  11519. GLAPI void APIENTRY glVertexAttribL3i64vNV (GLuint index, const GLint64EXT *v);
  11520. GLAPI void APIENTRY glVertexAttribL4i64vNV (GLuint index, const GLint64EXT *v);
  11521. GLAPI void APIENTRY glVertexAttribL1ui64NV (GLuint index, GLuint64EXT x);
  11522. GLAPI void APIENTRY glVertexAttribL2ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11523. GLAPI void APIENTRY glVertexAttribL3ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11524. GLAPI void APIENTRY glVertexAttribL4ui64NV (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11525. GLAPI void APIENTRY glVertexAttribL1ui64vNV (GLuint index, const GLuint64EXT *v);
  11526. GLAPI void APIENTRY glVertexAttribL2ui64vNV (GLuint index, const GLuint64EXT *v);
  11527. GLAPI void APIENTRY glVertexAttribL3ui64vNV (GLuint index, const GLuint64EXT *v);
  11528. GLAPI void APIENTRY glVertexAttribL4ui64vNV (GLuint index, const GLuint64EXT *v);
  11529. GLAPI void APIENTRY glGetVertexAttribLi64vNV (GLuint index, GLenum pname, GLint64EXT *params);
  11530. GLAPI void APIENTRY glGetVertexAttribLui64vNV (GLuint index, GLenum pname, GLuint64EXT *params);
  11531. GLAPI void APIENTRY glVertexAttribLFormatNV (GLuint index, GLint size, GLenum type, GLsizei stride);
  11532. #endif /* GL_GLEXT_PROTOTYPES */
  11533. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  11534. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  11535. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  11536. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  11537. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11538. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11539. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11540. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT *v);
  11541. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  11542. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  11543. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  11544. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  11545. typedef void (APIENTRYP PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11546. typedef void (APIENTRYP PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11547. typedef void (APIENTRYP PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11548. typedef void (APIENTRYP PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT *v);
  11549. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT *params);
  11550. typedef void (APIENTRYP PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT *params);
  11551. typedef void (APIENTRYP PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  11552. #endif
  11553. #ifndef GL_NV_multisample_coverage
  11554. #define GL_NV_multisample_coverage 1
  11555. #endif
  11556. #ifndef GL_AMD_name_gen_delete
  11557. #define GL_AMD_name_gen_delete 1
  11558. #ifdef GL_GLEXT_PROTOTYPES
  11559. GLAPI void APIENTRY glGenNamesAMD (GLenum identifier, GLuint num, GLuint *names);
  11560. GLAPI void APIENTRY glDeleteNamesAMD (GLenum identifier, GLuint num, const GLuint *names);
  11561. GLAPI GLboolean APIENTRY glIsNameAMD (GLenum identifier, GLuint name);
  11562. #endif /* GL_GLEXT_PROTOTYPES */
  11563. typedef void (APIENTRYP PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint *names);
  11564. typedef void (APIENTRYP PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint *names);
  11565. typedef GLboolean (APIENTRYP PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  11566. #endif
  11567. #ifndef GL_AMD_debug_output
  11568. #define GL_AMD_debug_output 1
  11569. #ifdef GL_GLEXT_PROTOTYPES
  11570. GLAPI void APIENTRY glDebugMessageEnableAMD (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  11571. GLAPI void APIENTRY glDebugMessageInsertAMD (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  11572. GLAPI void APIENTRY glDebugMessageCallbackAMD (GLDEBUGPROCAMD callback, GLvoid *userParam);
  11573. GLAPI GLuint APIENTRY glGetDebugMessageLogAMD (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  11574. #endif /* GL_GLEXT_PROTOTYPES */
  11575. typedef void (APIENTRYP PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  11576. typedef void (APIENTRYP PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const GLchar *buf);
  11577. typedef void (APIENTRYP PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, GLvoid *userParam);
  11578. typedef GLuint (APIENTRYP PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum *categories, GLuint *severities, GLuint *ids, GLsizei *lengths, GLchar *message);
  11579. #endif
  11580. #ifndef GL_NV_vdpau_interop
  11581. #define GL_NV_vdpau_interop 1
  11582. #ifdef GL_GLEXT_PROTOTYPES
  11583. GLAPI void APIENTRY glVDPAUInitNV (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
  11584. GLAPI void APIENTRY glVDPAUFiniNV (void);
  11585. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterVideoSurfaceNV (const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11586. GLAPI GLvdpauSurfaceNV APIENTRY glVDPAURegisterOutputSurfaceNV (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11587. GLAPI void APIENTRY glVDPAUIsSurfaceNV (GLvdpauSurfaceNV surface);
  11588. GLAPI void APIENTRY glVDPAUUnregisterSurfaceNV (GLvdpauSurfaceNV surface);
  11589. GLAPI void APIENTRY glVDPAUGetSurfaceivNV (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  11590. GLAPI void APIENTRY glVDPAUSurfaceAccessNV (GLvdpauSurfaceNV surface, GLenum access);
  11591. GLAPI void APIENTRY glVDPAUMapSurfacesNV (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11592. GLAPI void APIENTRY glVDPAUUnmapSurfacesNV (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11593. #endif /* GL_GLEXT_PROTOTYPES */
  11594. typedef void (APIENTRYP PFNGLVDPAUINITNVPROC) (const GLvoid *vdpDevice, const GLvoid *getProcAddress);
  11595. typedef void (APIENTRYP PFNGLVDPAUFININVPROC) (void);
  11596. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11597. typedef GLvdpauSurfaceNV (APIENTRYP PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (GLvoid *vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  11598. typedef void (APIENTRYP PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11599. typedef void (APIENTRYP PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  11600. typedef void (APIENTRYP PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  11601. typedef void (APIENTRYP PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  11602. typedef void (APIENTRYP PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV *surfaces);
  11603. typedef void (APIENTRYP PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV *surfaces);
  11604. #endif
  11605. #ifndef GL_AMD_transform_feedback3_lines_triangles
  11606. #define GL_AMD_transform_feedback3_lines_triangles 1
  11607. #endif
  11608. #ifndef GL_AMD_depth_clamp_separate
  11609. #define GL_AMD_depth_clamp_separate 1
  11610. #endif
  11611. #ifndef GL_EXT_texture_sRGB_decode
  11612. #define GL_EXT_texture_sRGB_decode 1
  11613. #endif
  11614. #ifndef GL_NV_texture_multisample
  11615. #define GL_NV_texture_multisample 1
  11616. #ifdef GL_GLEXT_PROTOTYPES
  11617. GLAPI void APIENTRY glTexImage2DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11618. GLAPI void APIENTRY glTexImage3DMultisampleCoverageNV (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11619. GLAPI void APIENTRY glTextureImage2DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11620. GLAPI void APIENTRY glTextureImage3DMultisampleNV (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11621. GLAPI void APIENTRY glTextureImage2DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11622. GLAPI void APIENTRY glTextureImage3DMultisampleCoverageNV (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11623. #endif /* GL_GLEXT_PROTOTYPES */
  11624. typedef void (APIENTRYP PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11625. typedef void (APIENTRYP PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11626. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11627. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11628. typedef void (APIENTRYP PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  11629. typedef void (APIENTRYP PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  11630. #endif
  11631. #ifndef GL_AMD_blend_minmax_factor
  11632. #define GL_AMD_blend_minmax_factor 1
  11633. #endif
  11634. #ifndef GL_AMD_sample_positions
  11635. #define GL_AMD_sample_positions 1
  11636. #ifdef GL_GLEXT_PROTOTYPES
  11637. GLAPI void APIENTRY glSetMultisamplefvAMD (GLenum pname, GLuint index, const GLfloat *val);
  11638. #endif /* GL_GLEXT_PROTOTYPES */
  11639. typedef void (APIENTRYP PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat *val);
  11640. #endif
  11641. #ifndef GL_EXT_x11_sync_object
  11642. #define GL_EXT_x11_sync_object 1
  11643. #ifdef GL_GLEXT_PROTOTYPES
  11644. GLAPI GLsync APIENTRY glImportSyncEXT (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  11645. #endif /* GL_GLEXT_PROTOTYPES */
  11646. typedef GLsync (APIENTRYP PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  11647. #endif
  11648. #ifndef GL_AMD_multi_draw_indirect
  11649. #define GL_AMD_multi_draw_indirect 1
  11650. #ifdef GL_GLEXT_PROTOTYPES
  11651. GLAPI void APIENTRY glMultiDrawArraysIndirectAMD (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
  11652. GLAPI void APIENTRY glMultiDrawElementsIndirectAMD (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
  11653. #endif /* GL_GLEXT_PROTOTYPES */
  11654. typedef void (APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
  11655. typedef void (APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const GLvoid *indirect, GLsizei primcount, GLsizei stride);
  11656. #endif
  11657. #ifndef GL_EXT_framebuffer_multisample_blit_scaled
  11658. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  11659. #endif
  11660. #ifndef GL_NV_path_rendering
  11661. #define GL_NV_path_rendering 1
  11662. #ifdef GL_GLEXT_PROTOTYPES
  11663. GLAPI GLuint APIENTRY glGenPathsNV (GLsizei range);
  11664. GLAPI void APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  11665. GLAPI GLboolean APIENTRY glIsPathNV (GLuint path);
  11666. GLAPI void APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11667. GLAPI void APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11668. GLAPI void APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11669. GLAPI void APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11670. GLAPI void APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString);
  11671. GLAPI void APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  11672. GLAPI void APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  11673. GLAPI void APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  11674. GLAPI void APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  11675. GLAPI void APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  11676. GLAPI void APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  11677. GLAPI void APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  11678. GLAPI void APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  11679. GLAPI void APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  11680. GLAPI void APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  11681. GLAPI void APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  11682. GLAPI void APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  11683. GLAPI void APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  11684. GLAPI void APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  11685. GLAPI void APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  11686. GLAPI void APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  11687. GLAPI void APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  11688. GLAPI void APIENTRY glPathCoverDepthFuncNV (GLenum func);
  11689. GLAPI void APIENTRY glPathColorGenNV (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  11690. GLAPI void APIENTRY glPathTexGenNV (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  11691. GLAPI void APIENTRY glPathFogGenNV (GLenum genMode);
  11692. GLAPI void APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  11693. GLAPI void APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  11694. GLAPI void APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  11695. GLAPI void APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  11696. GLAPI void APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  11697. GLAPI void APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  11698. GLAPI void APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  11699. GLAPI void APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  11700. GLAPI void APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  11701. GLAPI void APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  11702. GLAPI void APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  11703. GLAPI void APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  11704. GLAPI void APIENTRY glGetPathColorGenivNV (GLenum color, GLenum pname, GLint *value);
  11705. GLAPI void APIENTRY glGetPathColorGenfvNV (GLenum color, GLenum pname, GLfloat *value);
  11706. GLAPI void APIENTRY glGetPathTexGenivNV (GLenum texCoordSet, GLenum pname, GLint *value);
  11707. GLAPI void APIENTRY glGetPathTexGenfvNV (GLenum texCoordSet, GLenum pname, GLfloat *value);
  11708. GLAPI GLboolean APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  11709. GLAPI GLboolean APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  11710. GLAPI GLfloat APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  11711. GLAPI GLboolean APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  11712. #endif /* GL_GLEXT_PROTOTYPES */
  11713. typedef GLuint (APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  11714. typedef void (APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  11715. typedef GLboolean (APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  11716. typedef void (APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11717. typedef void (APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11718. typedef void (APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11719. typedef void (APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const GLvoid *coords);
  11720. typedef void (APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const GLvoid *pathString);
  11721. typedef void (APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  11722. typedef void (APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const GLvoid *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  11723. typedef void (APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  11724. typedef void (APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  11725. typedef void (APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  11726. typedef void (APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  11727. typedef void (APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  11728. typedef void (APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  11729. typedef void (APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  11730. typedef void (APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  11731. typedef void (APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  11732. typedef void (APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  11733. typedef void (APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  11734. typedef void (APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  11735. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  11736. typedef void (APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  11737. typedef void (APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  11738. typedef void (APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  11739. typedef void (APIENTRYP PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat *coeffs);
  11740. typedef void (APIENTRYP PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat *coeffs);
  11741. typedef void (APIENTRYP PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  11742. typedef void (APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  11743. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  11744. typedef void (APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  11745. typedef void (APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  11746. typedef void (APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  11747. typedef void (APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  11748. typedef void (APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  11749. typedef void (APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  11750. typedef void (APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  11751. typedef void (APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  11752. typedef void (APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  11753. typedef void (APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const GLvoid *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  11754. typedef void (APIENTRYP PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint *value);
  11755. typedef void (APIENTRYP PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat *value);
  11756. typedef void (APIENTRYP PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint *value);
  11757. typedef void (APIENTRYP PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat *value);
  11758. typedef GLboolean (APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  11759. typedef GLboolean (APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  11760. typedef GLfloat (APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  11761. typedef GLboolean (APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  11762. #endif
  11763. #ifndef GL_AMD_pinned_memory
  11764. #define GL_AMD_pinned_memory 1
  11765. #endif
  11766. #ifndef GL_AMD_stencil_operation_extended
  11767. #define GL_AMD_stencil_operation_extended 1
  11768. #ifdef GL_GLEXT_PROTOTYPES
  11769. GLAPI void APIENTRY glStencilOpValueAMD (GLenum face, GLuint value);
  11770. #endif /* GL_GLEXT_PROTOTYPES */
  11771. typedef void (APIENTRYP PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  11772. #endif
  11773. #ifndef GL_AMD_vertex_shader_viewport_index
  11774. #define GL_AMD_vertex_shader_viewport_index 1
  11775. #endif
  11776. #ifndef GL_AMD_vertex_shader_layer
  11777. #define GL_AMD_vertex_shader_layer 1
  11778. #endif
  11779. #ifndef GL_NV_bindless_texture
  11780. #define GL_NV_bindless_texture 1
  11781. #ifdef GL_GLEXT_PROTOTYPES
  11782. GLAPI GLuint64 APIENTRY glGetTextureHandleNV (GLuint texture);
  11783. GLAPI GLuint64 APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  11784. GLAPI void APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  11785. GLAPI void APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  11786. GLAPI GLuint64 APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  11787. GLAPI void APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  11788. GLAPI void APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  11789. GLAPI void APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  11790. GLAPI void APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  11791. GLAPI void APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  11792. GLAPI void APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  11793. GLAPI GLboolean APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  11794. GLAPI GLboolean APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  11795. #endif /* GL_GLEXT_PROTOTYPES */
  11796. typedef GLuint64 (APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  11797. typedef GLuint64 (APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  11798. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  11799. typedef void (APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  11800. typedef GLuint64 (APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  11801. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  11802. typedef void (APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  11803. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  11804. typedef void (APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  11805. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  11806. typedef void (APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  11807. typedef GLboolean (APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  11808. typedef GLboolean (APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  11809. #endif
  11810. #ifndef GL_NV_shader_atomic_float
  11811. #define GL_NV_shader_atomic_float 1
  11812. #endif
  11813. #ifndef GL_AMD_query_buffer_object
  11814. #define GL_AMD_query_buffer_object 1
  11815. #endif
  11816. #ifndef GL_AMD_sparse_texture
  11817. #define GL_AMD_sparse_texture 1
  11818. #ifdef GL_GLEXT_PROTOTYPES
  11819. GLAPI void APIENTRY glTexStorageSparseAMD (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  11820. GLAPI void APIENTRY glTextureStorageSparseAMD (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  11821. #endif /* GL_GLEXT_PROTOTYPES */
  11822. typedef void (APIENTRYP PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  11823. typedef void (APIENTRYP PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  11824. #endif
  11825. #ifdef __cplusplus
  11826. }
  11827. #endif
  11828. #endif