glew.h 1016 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526
  1. /*
  2. ** The OpenGL Extension Wrangler Library
  3. ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
  4. ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
  5. ** Copyright (C) 2002, Lev Povalahev
  6. ** All rights reserved.
  7. **
  8. ** Redistribution and use in source and binary forms, with or without
  9. ** modification, are permitted provided that the following conditions are met:
  10. **
  11. ** * Redistributions of source code must retain the above copyright notice,
  12. ** this list of conditions and the following disclaimer.
  13. ** * Redistributions in binary form must reproduce the above copyright notice,
  14. ** this list of conditions and the following disclaimer in the documentation
  15. ** and/or other materials provided with the distribution.
  16. ** * The name of the author may be used to endorse or promote products
  17. ** derived from this software without specific prior written permission.
  18. **
  19. ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  20. ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  21. ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  22. ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  23. ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  24. ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  25. ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  26. ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  27. ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  28. ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  29. ** THE POSSIBILITY OF SUCH DAMAGE.
  30. */
  31. /*
  32. * Mesa 3-D graphics library
  33. * Version: 7.0
  34. *
  35. * Copyright (C) 1999-2007 Brian Paul All Rights Reserved.
  36. *
  37. * Permission is hereby granted, free of charge, to any person obtaining a
  38. * copy of this software and associated documentation files (the "Software"),
  39. * to deal in the Software without restriction, including without limitation
  40. * the rights to use, copy, modify, merge, publish, distribute, sublicense,
  41. * and/or sell copies of the Software, and to permit persons to whom the
  42. * Software is furnished to do so, subject to the following conditions:
  43. *
  44. * The above copyright notice and this permission notice shall be included
  45. * in all copies or substantial portions of the Software.
  46. *
  47. * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
  48. * OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
  49. * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
  50. * BRIAN PAUL BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN
  51. * AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
  52. * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  53. */
  54. /*
  55. ** Copyright (c) 2007 The Khronos Group Inc.
  56. **
  57. ** Permission is hereby granted, free of charge, to any person obtaining a
  58. ** copy of this software and/or associated documentation files (the
  59. ** "Materials"), to deal in the Materials without restriction, including
  60. ** without limitation the rights to use, copy, modify, merge, publish,
  61. ** distribute, sublicense, and/or sell copies of the Materials, and to
  62. ** permit persons to whom the Materials are furnished to do so, subject to
  63. ** the following conditions:
  64. **
  65. ** The above copyright notice and this permission notice shall be included
  66. ** in all copies or substantial portions of the Materials.
  67. **
  68. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  69. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  70. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  71. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  72. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  73. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  74. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  75. */
  76. #ifndef __glew_h__
  77. #define __glew_h__
  78. #define __GLEW_H__
  79. #if defined(__gl_h_) || defined(__GL_H__) || defined(__X_GL_H)
  80. #error gl.h included before glew.h
  81. #endif
  82. #if defined(__glext_h_) || defined(__GLEXT_H_)
  83. #error glext.h included before glew.h
  84. #endif
  85. #if defined(__gl_ATI_h_)
  86. #error glATI.h included before glew.h
  87. #endif
  88. #if defined(__gl2_h_) || defined(__GL2_H_)
  89. #error gl2.h included before glew.h
  90. #endif
  91. #if defined(__gl2ext_h_) || defined(__GL2EXT_H_)
  92. #error gl2ext.h included before glew.h
  93. #endif
  94. #if defined(__gl2platform_h_) || defined(__GL2PLATFORM_H_)
  95. #error gl2platform.h included before glew.h
  96. #endif
  97. #if defined(__khrplatform_h_) || defined(__KHRPLATFORM_H_)
  98. #error khrplatform.h included before glew.h
  99. #endif
  100. #define __gl_h_
  101. #define __GL_H__
  102. #define __X_GL_H
  103. #define __glext_h_
  104. #define __GLEXT_H_
  105. #define __gl_ATI_h_
  106. #define __gl2_h_
  107. #define __gl2ext_h_
  108. #define __gl2platform_h_
  109. #define __GL2PLATFORM_H_
  110. #define __khrplatform_h_
  111. #define __KHRPLATFORM_H_
  112. #if defined(GLEW_USE_LIB_ES11) || defined(GLEW_USE_LIB_ES20)
  113. #define GLEW_USE_LIB_ES
  114. #endif
  115. /*
  116. * GLEW_STATIC is defined for static library.
  117. * GLEW_BUILD is defined for building the DLL library.
  118. */
  119. #ifdef WIN32
  120. # ifdef GLEW_STATIC
  121. # define GLEWAPI extern
  122. # else
  123. # ifdef GLEW_BUILD
  124. # define GLEWAPI extern __declspec(dllexport)
  125. # else
  126. # define GLEWAPI extern __declspec(dllimport)
  127. # endif
  128. # endif /* GLEW_STATIC */
  129. #else
  130. # ifdef GLEW_STATIC
  131. # define GLEWAPI extern
  132. # else
  133. # if defined(__GNUC__) && __GNUC__>=4
  134. # define GLEWAPI extern __attribute__ ((visibility("default")))
  135. # elif defined(__SUNPRO_C) || defined(__SUNPRO_CC)
  136. # define GLEWAPI extern __global
  137. # else
  138. # define GLEWAPI extern
  139. # endif
  140. # endif /* GLEW_STATIC */
  141. #endif /* WIN32 */
  142. /* Khronos platform-specific types and definitions.
  143. *
  144. * $Revision: 9356 $ on $Date: 2009-10-21 02:52:25 -0700 (Wed, 21 Oct 2009) $
  145. *
  146. * Adopters may modify this file to suit their platform. Adopters are
  147. * encouraged to submit platform specific modifications to the Khronos
  148. * group so that they can be included in future versions of this file.
  149. * Please submit changes by sending them to the public Khronos Bugzilla
  150. * (http://khronos.org/bugzilla) by filing a bug against product
  151. * "Khronos (general)" component "Registry".
  152. *
  153. * A predefined template which fills in some of the bug fields can be
  154. * reached using http://tinyurl.com/khrplatform-h-bugreport, but you
  155. * must create a Bugzilla login first.
  156. *
  157. *
  158. * See the Implementer's Guidelines for information about where this file
  159. * should be located on your system and for more details of its use:
  160. * http://www.khronos.org/registry/implementers_guide.pdf
  161. *
  162. * This file should be included as
  163. * #include <KHR/khrplatform.h>
  164. * by Khronos client API header files that use its types and defines.
  165. *
  166. * The types in khrplatform.h should only be used to define API-specific types.
  167. *
  168. * Types defined in khrplatform.h:
  169. * khronos_int8_t signed 8 bit
  170. * khronos_uint8_t unsigned 8 bit
  171. * khronos_int16_t signed 16 bit
  172. * khronos_uint16_t unsigned 16 bit
  173. * khronos_int32_t signed 32 bit
  174. * khronos_uint32_t unsigned 32 bit
  175. * khronos_int64_t signed 64 bit
  176. * khronos_uint64_t unsigned 64 bit
  177. * khronos_intptr_t signed same number of bits as a pointer
  178. * khronos_uintptr_t unsigned same number of bits as a pointer
  179. * khronos_ssize_t signed size
  180. * khronos_usize_t unsigned size
  181. * khronos_float_t signed 32 bit floating point
  182. * khronos_time_ns_t unsigned 64 bit time in nanoseconds
  183. * khronos_utime_nanoseconds_t unsigned time interval or absolute time in
  184. * nanoseconds
  185. * khronos_stime_nanoseconds_t signed time interval in nanoseconds
  186. * khronos_boolean_enum_t enumerated boolean type. This should
  187. * only be used as a base type when a client API's boolean type is
  188. * an enum. Client APIs which use an integer or other type for
  189. * booleans cannot use this as the base type for their boolean.
  190. *
  191. * Tokens defined in khrplatform.h:
  192. *
  193. * KHRONOS_FALSE, KHRONOS_TRUE Enumerated boolean false/true values.
  194. *
  195. * KHRONOS_SUPPORT_INT64 is 1 if 64 bit integers are supported; otherwise 0.
  196. * KHRONOS_SUPPORT_FLOAT is 1 if floats are supported; otherwise 0.
  197. *
  198. * Calling convention macros defined in this file:
  199. * KHRONOS_APICALL
  200. * KHRONOS_APIENTRY
  201. * KHRONOS_APIATTRIBUTES
  202. *
  203. * These may be used in function prototypes as:
  204. *
  205. * KHRONOS_APICALL void KHRONOS_APIENTRY funcname(
  206. * int arg1,
  207. * int arg2) KHRONOS_APIATTRIBUTES;
  208. */
  209. /*-------------------------------------------------------------------------
  210. * Definition of KHRONOS_APICALL
  211. *-------------------------------------------------------------------------
  212. * This precedes the return type of the function in the function prototype.
  213. */
  214. #if defined(_WIN32) && !defined(__SCITECH_SNAP__)
  215. # define KHRONOS_APICALL __declspec(dllimport)
  216. #elif defined (__SYMBIAN32__)
  217. # define KHRONOS_APICALL IMPORT_C
  218. #else
  219. # define KHRONOS_APICALL
  220. #endif
  221. /*-------------------------------------------------------------------------
  222. * Definition of KHRONOS_APIENTRY
  223. *-------------------------------------------------------------------------
  224. * This follows the return type of the function and precedes the function
  225. * name in the function prototype.
  226. */
  227. #if defined(_WIN32) && !defined(_WIN32_WCE) && !defined(__SCITECH_SNAP__)
  228. /* Win32 but not WinCE */
  229. # define KHRONOS_APIENTRY __stdcall
  230. #else
  231. # define KHRONOS_APIENTRY
  232. #endif
  233. /*-------------------------------------------------------------------------
  234. * Definition of KHRONOS_APIATTRIBUTES
  235. *-------------------------------------------------------------------------
  236. * This follows the closing parenthesis of the function prototype arguments.
  237. */
  238. #if defined (__ARMCC_2__)
  239. #define KHRONOS_APIATTRIBUTES __softfp
  240. #else
  241. #define KHRONOS_APIATTRIBUTES
  242. #endif
  243. /*-------------------------------------------------------------------------
  244. * basic type definitions
  245. *-----------------------------------------------------------------------*/
  246. #if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) || defined(__GNUC__) || defined(__SCO__) || defined(__USLC__)
  247. /*
  248. * Using <stdint.h>
  249. */
  250. #include <stdint.h>
  251. typedef int32_t khronos_int32_t;
  252. typedef uint32_t khronos_uint32_t;
  253. typedef int64_t khronos_int64_t;
  254. typedef uint64_t khronos_uint64_t;
  255. #define KHRONOS_SUPPORT_INT64 1
  256. #define KHRONOS_SUPPORT_FLOAT 1
  257. #elif defined(__VMS ) || defined(__sgi)
  258. /*
  259. * Using <inttypes.h>
  260. */
  261. #include <inttypes.h>
  262. typedef int32_t khronos_int32_t;
  263. typedef uint32_t khronos_uint32_t;
  264. typedef int64_t khronos_int64_t;
  265. typedef uint64_t khronos_uint64_t;
  266. #define KHRONOS_SUPPORT_INT64 1
  267. #define KHRONOS_SUPPORT_FLOAT 1
  268. #elif defined(_WIN32) && !defined(__SCITECH_SNAP__)
  269. /*
  270. * Win32
  271. */
  272. typedef __int32 khronos_int32_t;
  273. typedef unsigned __int32 khronos_uint32_t;
  274. typedef __int64 khronos_int64_t;
  275. typedef unsigned __int64 khronos_uint64_t;
  276. #define KHRONOS_SUPPORT_INT64 1
  277. #define KHRONOS_SUPPORT_FLOAT 1
  278. #elif defined(__sun__) || defined(__digital__)
  279. /*
  280. * Sun or Digital
  281. */
  282. typedef int khronos_int32_t;
  283. typedef unsigned int khronos_uint32_t;
  284. #if defined(__arch64__) || defined(_LP64)
  285. typedef long int khronos_int64_t;
  286. typedef unsigned long int khronos_uint64_t;
  287. #else
  288. typedef long long int khronos_int64_t;
  289. typedef unsigned long long int khronos_uint64_t;
  290. #endif /* __arch64__ */
  291. #define KHRONOS_SUPPORT_INT64 1
  292. #define KHRONOS_SUPPORT_FLOAT 1
  293. #elif 0
  294. /*
  295. * Hypothetical platform with no float or int64 support
  296. */
  297. typedef int khronos_int32_t;
  298. typedef unsigned int khronos_uint32_t;
  299. #define KHRONOS_SUPPORT_INT64 0
  300. #define KHRONOS_SUPPORT_FLOAT 0
  301. #else
  302. /*
  303. * Generic fallback
  304. */
  305. #include <stdint.h>
  306. typedef int32_t khronos_int32_t;
  307. typedef uint32_t khronos_uint32_t;
  308. typedef int64_t khronos_int64_t;
  309. typedef uint64_t khronos_uint64_t;
  310. #define KHRONOS_SUPPORT_INT64 1
  311. #define KHRONOS_SUPPORT_FLOAT 1
  312. #endif
  313. /*
  314. * Types that are (so far) the same on all platforms
  315. */
  316. typedef signed char khronos_int8_t;
  317. typedef unsigned char khronos_uint8_t;
  318. typedef signed short int khronos_int16_t;
  319. typedef unsigned short int khronos_uint16_t;
  320. typedef signed long int khronos_intptr_t;
  321. typedef unsigned long int khronos_uintptr_t;
  322. typedef signed long int khronos_ssize_t;
  323. typedef unsigned long int khronos_usize_t;
  324. #if KHRONOS_SUPPORT_FLOAT
  325. /*
  326. * Float type
  327. */
  328. typedef float khronos_float_t;
  329. #endif
  330. #if KHRONOS_SUPPORT_INT64
  331. /* Time types
  332. *
  333. * These types can be used to represent a time interval in nanoseconds or
  334. * an absolute Unadjusted System Time. Unadjusted System Time is the number
  335. * of nanoseconds since some arbitrary system event (e.g. since the last
  336. * time the system booted). The Unadjusted System Time is an unsigned
  337. * 64 bit value that wraps back to 0 every 584 years. Time intervals
  338. * may be either signed or unsigned.
  339. */
  340. typedef khronos_uint64_t khronos_utime_nanoseconds_t;
  341. typedef khronos_int64_t khronos_stime_nanoseconds_t;
  342. #endif
  343. /*
  344. * Dummy value used to pad enum types to 32 bits.
  345. */
  346. #ifndef KHRONOS_MAX_ENUM
  347. #define KHRONOS_MAX_ENUM 0x7FFFFFFF
  348. #endif
  349. /*
  350. * Enumerated boolean type
  351. *
  352. * Values other than zero should be considered to be true. Therefore
  353. * comparisons should not be made against KHRONOS_TRUE.
  354. */
  355. typedef enum {
  356. KHRONOS_FALSE = 0,
  357. KHRONOS_TRUE = 1,
  358. KHRONOS_BOOLEAN_ENUM_FORCE_SIZE = KHRONOS_MAX_ENUM
  359. } khronos_boolean_enum_t;
  360. /**********************************************************************************/
  361. #if defined(_WIN32)
  362. /*
  363. * GLEW does not include <windows.h> to avoid name space pollution.
  364. * GL needs GLAPI and GLAPIENTRY, GLU needs APIENTRY, CALLBACK, and wchar_t
  365. * defined properly.
  366. */
  367. /* <windef.h> */
  368. #ifndef APIENTRY
  369. #define GLEW_APIENTRY_DEFINED
  370. # if defined(__MINGW32__) || defined(__CYGWIN__)
  371. # define APIENTRY __stdcall
  372. # elif (_MSC_VER >= 800) || defined(_STDCALL_SUPPORTED) || defined(__BORLANDC__)
  373. # define APIENTRY __stdcall
  374. # else
  375. # define APIENTRY
  376. # endif
  377. #endif
  378. #ifndef GLAPI
  379. # if defined(__MINGW32__) || defined(__CYGWIN__)
  380. # define GLAPI extern
  381. # endif
  382. #endif
  383. /* <winnt.h> */
  384. #ifndef CALLBACK
  385. #define GLEW_CALLBACK_DEFINED
  386. # if defined(__MINGW32__) || defined(__CYGWIN__)
  387. # define CALLBACK __attribute__ ((__stdcall__))
  388. # elif (defined(_M_MRX000) || defined(_M_IX86) || defined(_M_ALPHA) || defined(_M_PPC)) && !defined(MIDL_PASS)
  389. # define CALLBACK __stdcall
  390. # else
  391. # define CALLBACK
  392. # endif
  393. #endif
  394. /* <wingdi.h> and <winnt.h> */
  395. #ifndef WINGDIAPI
  396. #define GLEW_WINGDIAPI_DEFINED
  397. #define WINGDIAPI __declspec(dllimport)
  398. #endif
  399. /* <ctype.h> */
  400. #if (defined(_MSC_VER) || defined(__BORLANDC__)) && !defined(_WCHAR_T_DEFINED)
  401. typedef unsigned short wchar_t;
  402. # define _WCHAR_T_DEFINED
  403. #endif
  404. /* <stddef.h> */
  405. #if !defined(_W64)
  406. # if !defined(__midl) && (defined(_X86_) || defined(_M_IX86)) && defined(_MSC_VER) && _MSC_VER >= 1300
  407. # define _W64 __w64
  408. # else
  409. # define _W64
  410. # endif
  411. #endif
  412. #if !defined(_PTRDIFF_T_DEFINED) && !defined(_PTRDIFF_T_) && !defined(__MINGW64__)
  413. # ifdef _WIN64
  414. typedef __int64 ptrdiff_t;
  415. # else
  416. typedef _W64 int ptrdiff_t;
  417. # endif
  418. # define _PTRDIFF_T_DEFINED
  419. # define _PTRDIFF_T_
  420. #endif
  421. #ifndef GLAPI
  422. # if defined(__MINGW32__) || defined(__CYGWIN__)
  423. # define GLAPI extern
  424. # else
  425. # define GLAPI WINGDIAPI
  426. # endif
  427. #endif
  428. #ifndef GLAPIENTRY
  429. #define GLAPIENTRY APIENTRY
  430. #endif
  431. #else /* _UNIX */
  432. /*
  433. * Needed for ptrdiff_t in turn needed by VBO. This is defined by ISO
  434. * C. On my system, this amounts to _3 lines_ of included code, all of
  435. * them pretty much harmless. If you know of a way of detecting 32 vs
  436. * 64 _targets_ at compile time you are free to replace this with
  437. * something that's portable. For now, _this_ is the portable solution.
  438. * (mem, 2004-01-04)
  439. */
  440. #include <stddef.h>
  441. /* SGI MIPSPro doesn't like stdint.h in C++ mode */
  442. /* ID: 3376260 Solaris 9 has inttypes.h, but not stdint.h */
  443. #if (defined(__sgi) || defined(__sun)) && !defined(__GNUC__)
  444. #include <inttypes.h>
  445. #else
  446. #include <stdint.h>
  447. #endif
  448. #define GLEW_APIENTRY_DEFINED
  449. #define APIENTRY
  450. /* <glu.h> */
  451. #ifndef GLAPI
  452. #define GLAPI extern
  453. #endif
  454. #ifndef GLAPIENTRY
  455. #define GLAPIENTRY
  456. #endif
  457. #endif /* _WIN32 */
  458. /* from OpenGL ES */
  459. #ifndef GLAPI
  460. # define GLAPI KHRONOS_APICALL
  461. #endif
  462. #ifndef GLAPIENTRY
  463. # define GLAPIENTRY KHRONOS_APIENTRY
  464. #endif
  465. #ifndef APIENTRY
  466. # define APIENTRY GLAPIENTRY
  467. #endif
  468. #ifndef GL_API
  469. # define GL_API GLAPI
  470. #endif
  471. #ifndef GL_APIENTRY
  472. # define GL_APIENTRY GLAPIENTRY
  473. #endif
  474. /* from glext.h header */
  475. #ifndef GL_APIENTRYP
  476. # define GL_APIENTRYP GL_APIENTRY*
  477. #endif
  478. /* For OpenGL ES only case the header file glesew.h is included */
  479. #ifdef GLEW_ES_ONLY
  480. #include <GL/glesew.h>
  481. #else
  482. #ifdef __cplusplus
  483. extern "C" {
  484. #endif
  485. /* ------------------------- GL_VERSION_1_1 functions common with OpenGL ES 1.0 ---------------------- */
  486. typedef unsigned int GLenum;
  487. typedef unsigned int GLbitfield;
  488. typedef unsigned int GLuint;
  489. typedef int GLint;
  490. typedef int GLsizei;
  491. typedef unsigned char GLboolean;
  492. typedef signed char GLbyte;
  493. typedef short GLshort;
  494. typedef unsigned char GLubyte;
  495. typedef unsigned short GLushort;
  496. typedef unsigned long GLulong;
  497. typedef float GLfloat;
  498. typedef float GLclampf;
  499. typedef double GLdouble;
  500. typedef double GLclampd;
  501. typedef void GLvoid;
  502. #if defined(_MSC_VER) && _MSC_VER < 1400
  503. typedef __int64 GLint64EXT;
  504. typedef unsigned __int64 GLuint64EXT;
  505. #elif defined(_MSC_VER) || defined(__BORLANDC__)
  506. typedef signed long long GLint64EXT;
  507. typedef unsigned long long GLuint64EXT;
  508. #else
  509. # if defined(__MINGW32__) || defined(__CYGWIN__)
  510. #include <inttypes.h>
  511. # endif
  512. typedef int64_t GLint64EXT;
  513. typedef uint64_t GLuint64EXT;
  514. #endif
  515. typedef GLint64EXT GLint64;
  516. typedef GLuint64EXT GLuint64;
  517. typedef struct __GLsync *GLsync;
  518. typedef char GLchar;
  519. #define GL_ZERO 0
  520. #define GL_FALSE 0
  521. #define GL_LOGIC_OP 0x0BF1
  522. #define GL_NONE 0
  523. #define GL_TEXTURE_COMPONENTS 0x1003
  524. #define GL_NO_ERROR 0
  525. #define GL_POINTS 0x0000
  526. #define GL_CURRENT_BIT 0x00000001
  527. #define GL_TRUE 1
  528. #define GL_ONE 1
  529. #define GL_CLIENT_PIXEL_STORE_BIT 0x00000001
  530. #define GL_LINES 0x0001
  531. #define GL_LINE_LOOP 0x0002
  532. #define GL_POINT_BIT 0x00000002
  533. #define GL_CLIENT_VERTEX_ARRAY_BIT 0x00000002
  534. #define GL_LINE_STRIP 0x0003
  535. #define GL_LINE_BIT 0x00000004
  536. #define GL_TRIANGLES 0x0004
  537. #define GL_TRIANGLE_STRIP 0x0005
  538. #define GL_TRIANGLE_FAN 0x0006
  539. #define GL_QUADS 0x0007
  540. #define GL_QUAD_STRIP 0x0008
  541. #define GL_POLYGON_BIT 0x00000008
  542. #define GL_POLYGON 0x0009
  543. #define GL_POLYGON_STIPPLE_BIT 0x00000010
  544. #define GL_PIXEL_MODE_BIT 0x00000020
  545. #define GL_LIGHTING_BIT 0x00000040
  546. #define GL_FOG_BIT 0x00000080
  547. #define GL_DEPTH_BUFFER_BIT 0x00000100
  548. #define GL_ACCUM 0x0100
  549. #define GL_LOAD 0x0101
  550. #define GL_RETURN 0x0102
  551. #define GL_MULT 0x0103
  552. #define GL_ADD 0x0104
  553. #define GL_NEVER 0x0200
  554. #define GL_ACCUM_BUFFER_BIT 0x00000200
  555. #define GL_LESS 0x0201
  556. #define GL_EQUAL 0x0202
  557. #define GL_LEQUAL 0x0203
  558. #define GL_GREATER 0x0204
  559. #define GL_NOTEQUAL 0x0205
  560. #define GL_GEQUAL 0x0206
  561. #define GL_ALWAYS 0x0207
  562. #define GL_SRC_COLOR 0x0300
  563. #define GL_ONE_MINUS_SRC_COLOR 0x0301
  564. #define GL_SRC_ALPHA 0x0302
  565. #define GL_ONE_MINUS_SRC_ALPHA 0x0303
  566. #define GL_DST_ALPHA 0x0304
  567. #define GL_ONE_MINUS_DST_ALPHA 0x0305
  568. #define GL_DST_COLOR 0x0306
  569. #define GL_ONE_MINUS_DST_COLOR 0x0307
  570. #define GL_SRC_ALPHA_SATURATE 0x0308
  571. #define GL_STENCIL_BUFFER_BIT 0x00000400
  572. #define GL_FRONT_LEFT 0x0400
  573. #define GL_FRONT_RIGHT 0x0401
  574. #define GL_BACK_LEFT 0x0402
  575. #define GL_BACK_RIGHT 0x0403
  576. #define GL_FRONT 0x0404
  577. #define GL_BACK 0x0405
  578. #define GL_LEFT 0x0406
  579. #define GL_RIGHT 0x0407
  580. #define GL_FRONT_AND_BACK 0x0408
  581. #define GL_AUX0 0x0409
  582. #define GL_AUX1 0x040A
  583. #define GL_AUX2 0x040B
  584. #define GL_AUX3 0x040C
  585. #define GL_INVALID_ENUM 0x0500
  586. #define GL_INVALID_VALUE 0x0501
  587. #define GL_INVALID_OPERATION 0x0502
  588. #define GL_STACK_OVERFLOW 0x0503
  589. #define GL_STACK_UNDERFLOW 0x0504
  590. #define GL_OUT_OF_MEMORY 0x0505
  591. #define GL_2D 0x0600
  592. #define GL_3D 0x0601
  593. #define GL_3D_COLOR 0x0602
  594. #define GL_3D_COLOR_TEXTURE 0x0603
  595. #define GL_4D_COLOR_TEXTURE 0x0604
  596. #define GL_PASS_THROUGH_TOKEN 0x0700
  597. #define GL_POINT_TOKEN 0x0701
  598. #define GL_LINE_TOKEN 0x0702
  599. #define GL_POLYGON_TOKEN 0x0703
  600. #define GL_BITMAP_TOKEN 0x0704
  601. #define GL_DRAW_PIXEL_TOKEN 0x0705
  602. #define GL_COPY_PIXEL_TOKEN 0x0706
  603. #define GL_LINE_RESET_TOKEN 0x0707
  604. #define GL_EXP 0x0800
  605. #define GL_VIEWPORT_BIT 0x00000800
  606. #define GL_EXP2 0x0801
  607. #define GL_CW 0x0900
  608. #define GL_CCW 0x0901
  609. #define GL_COEFF 0x0A00
  610. #define GL_ORDER 0x0A01
  611. #define GL_DOMAIN 0x0A02
  612. #define GL_CURRENT_COLOR 0x0B00
  613. #define GL_CURRENT_INDEX 0x0B01
  614. #define GL_CURRENT_NORMAL 0x0B02
  615. #define GL_CURRENT_TEXTURE_COORDS 0x0B03
  616. #define GL_CURRENT_RASTER_COLOR 0x0B04
  617. #define GL_CURRENT_RASTER_INDEX 0x0B05
  618. #define GL_CURRENT_RASTER_TEXTURE_COORDS 0x0B06
  619. #define GL_CURRENT_RASTER_POSITION 0x0B07
  620. #define GL_CURRENT_RASTER_POSITION_VALID 0x0B08
  621. #define GL_CURRENT_RASTER_DISTANCE 0x0B09
  622. #define GL_POINT_SMOOTH 0x0B10
  623. #define GL_POINT_SIZE 0x0B11
  624. #define GL_POINT_SIZE_RANGE 0x0B12
  625. #define GL_POINT_SIZE_GRANULARITY 0x0B13
  626. #define GL_LINE_SMOOTH 0x0B20
  627. #define GL_LINE_WIDTH 0x0B21
  628. #define GL_LINE_WIDTH_RANGE 0x0B22
  629. #define GL_LINE_WIDTH_GRANULARITY 0x0B23
  630. #define GL_LINE_STIPPLE 0x0B24
  631. #define GL_LINE_STIPPLE_PATTERN 0x0B25
  632. #define GL_LINE_STIPPLE_REPEAT 0x0B26
  633. #define GL_LIST_MODE 0x0B30
  634. #define GL_MAX_LIST_NESTING 0x0B31
  635. #define GL_LIST_BASE 0x0B32
  636. #define GL_LIST_INDEX 0x0B33
  637. #define GL_POLYGON_MODE 0x0B40
  638. #define GL_POLYGON_SMOOTH 0x0B41
  639. #define GL_POLYGON_STIPPLE 0x0B42
  640. #define GL_EDGE_FLAG 0x0B43
  641. #define GL_CULL_FACE 0x0B44
  642. #define GL_CULL_FACE_MODE 0x0B45
  643. #define GL_FRONT_FACE 0x0B46
  644. #define GL_LIGHTING 0x0B50
  645. #define GL_LIGHT_MODEL_LOCAL_VIEWER 0x0B51
  646. #define GL_LIGHT_MODEL_TWO_SIDE 0x0B52
  647. #define GL_LIGHT_MODEL_AMBIENT 0x0B53
  648. #define GL_SHADE_MODEL 0x0B54
  649. #define GL_COLOR_MATERIAL_FACE 0x0B55
  650. #define GL_COLOR_MATERIAL_PARAMETER 0x0B56
  651. #define GL_COLOR_MATERIAL 0x0B57
  652. #define GL_FOG 0x0B60
  653. #define GL_FOG_INDEX 0x0B61
  654. #define GL_FOG_DENSITY 0x0B62
  655. #define GL_FOG_START 0x0B63
  656. #define GL_FOG_END 0x0B64
  657. #define GL_FOG_MODE 0x0B65
  658. #define GL_FOG_COLOR 0x0B66
  659. #define GL_DEPTH_RANGE 0x0B70
  660. #define GL_DEPTH_TEST 0x0B71
  661. #define GL_DEPTH_WRITEMASK 0x0B72
  662. #define GL_DEPTH_CLEAR_VALUE 0x0B73
  663. #define GL_DEPTH_FUNC 0x0B74
  664. #define GL_ACCUM_CLEAR_VALUE 0x0B80
  665. #define GL_STENCIL_TEST 0x0B90
  666. #define GL_STENCIL_CLEAR_VALUE 0x0B91
  667. #define GL_STENCIL_FUNC 0x0B92
  668. #define GL_STENCIL_VALUE_MASK 0x0B93
  669. #define GL_STENCIL_FAIL 0x0B94
  670. #define GL_STENCIL_PASS_DEPTH_FAIL 0x0B95
  671. #define GL_STENCIL_PASS_DEPTH_PASS 0x0B96
  672. #define GL_STENCIL_REF 0x0B97
  673. #define GL_STENCIL_WRITEMASK 0x0B98
  674. #define GL_MATRIX_MODE 0x0BA0
  675. #define GL_NORMALIZE 0x0BA1
  676. #define GL_VIEWPORT 0x0BA2
  677. #define GL_MODELVIEW_STACK_DEPTH 0x0BA3
  678. #define GL_PROJECTION_STACK_DEPTH 0x0BA4
  679. #define GL_TEXTURE_STACK_DEPTH 0x0BA5
  680. #define GL_MODELVIEW_MATRIX 0x0BA6
  681. #define GL_PROJECTION_MATRIX 0x0BA7
  682. #define GL_TEXTURE_MATRIX 0x0BA8
  683. #define GL_ATTRIB_STACK_DEPTH 0x0BB0
  684. #define GL_CLIENT_ATTRIB_STACK_DEPTH 0x0BB1
  685. #define GL_ALPHA_TEST 0x0BC0
  686. #define GL_ALPHA_TEST_FUNC 0x0BC1
  687. #define GL_ALPHA_TEST_REF 0x0BC2
  688. #define GL_DITHER 0x0BD0
  689. #define GL_BLEND_DST 0x0BE0
  690. #define GL_BLEND_SRC 0x0BE1
  691. #define GL_BLEND 0x0BE2
  692. #define GL_LOGIC_OP_MODE 0x0BF0
  693. #define GL_INDEX_LOGIC_OP 0x0BF1
  694. #define GL_COLOR_LOGIC_OP 0x0BF2
  695. #define GL_AUX_BUFFERS 0x0C00
  696. #define GL_DRAW_BUFFER 0x0C01
  697. #define GL_READ_BUFFER 0x0C02
  698. #define GL_SCISSOR_BOX 0x0C10
  699. #define GL_SCISSOR_TEST 0x0C11
  700. #define GL_INDEX_CLEAR_VALUE 0x0C20
  701. #define GL_INDEX_WRITEMASK 0x0C21
  702. #define GL_COLOR_CLEAR_VALUE 0x0C22
  703. #define GL_COLOR_WRITEMASK 0x0C23
  704. #define GL_INDEX_MODE 0x0C30
  705. #define GL_RGBA_MODE 0x0C31
  706. #define GL_DOUBLEBUFFER 0x0C32
  707. #define GL_STEREO 0x0C33
  708. #define GL_RENDER_MODE 0x0C40
  709. #define GL_PERSPECTIVE_CORRECTION_HINT 0x0C50
  710. #define GL_POINT_SMOOTH_HINT 0x0C51
  711. #define GL_LINE_SMOOTH_HINT 0x0C52
  712. #define GL_POLYGON_SMOOTH_HINT 0x0C53
  713. #define GL_FOG_HINT 0x0C54
  714. #define GL_TEXTURE_GEN_S 0x0C60
  715. #define GL_TEXTURE_GEN_T 0x0C61
  716. #define GL_TEXTURE_GEN_R 0x0C62
  717. #define GL_TEXTURE_GEN_Q 0x0C63
  718. #define GL_PIXEL_MAP_I_TO_I 0x0C70
  719. #define GL_PIXEL_MAP_S_TO_S 0x0C71
  720. #define GL_PIXEL_MAP_I_TO_R 0x0C72
  721. #define GL_PIXEL_MAP_I_TO_G 0x0C73
  722. #define GL_PIXEL_MAP_I_TO_B 0x0C74
  723. #define GL_PIXEL_MAP_I_TO_A 0x0C75
  724. #define GL_PIXEL_MAP_R_TO_R 0x0C76
  725. #define GL_PIXEL_MAP_G_TO_G 0x0C77
  726. #define GL_PIXEL_MAP_B_TO_B 0x0C78
  727. #define GL_PIXEL_MAP_A_TO_A 0x0C79
  728. #define GL_PIXEL_MAP_I_TO_I_SIZE 0x0CB0
  729. #define GL_PIXEL_MAP_S_TO_S_SIZE 0x0CB1
  730. #define GL_PIXEL_MAP_I_TO_R_SIZE 0x0CB2
  731. #define GL_PIXEL_MAP_I_TO_G_SIZE 0x0CB3
  732. #define GL_PIXEL_MAP_I_TO_B_SIZE 0x0CB4
  733. #define GL_PIXEL_MAP_I_TO_A_SIZE 0x0CB5
  734. #define GL_PIXEL_MAP_R_TO_R_SIZE 0x0CB6
  735. #define GL_PIXEL_MAP_G_TO_G_SIZE 0x0CB7
  736. #define GL_PIXEL_MAP_B_TO_B_SIZE 0x0CB8
  737. #define GL_PIXEL_MAP_A_TO_A_SIZE 0x0CB9
  738. #define GL_UNPACK_SWAP_BYTES 0x0CF0
  739. #define GL_UNPACK_LSB_FIRST 0x0CF1
  740. #define GL_UNPACK_ROW_LENGTH 0x0CF2
  741. #define GL_UNPACK_SKIP_ROWS 0x0CF3
  742. #define GL_UNPACK_SKIP_PIXELS 0x0CF4
  743. #define GL_UNPACK_ALIGNMENT 0x0CF5
  744. #define GL_PACK_SWAP_BYTES 0x0D00
  745. #define GL_PACK_LSB_FIRST 0x0D01
  746. #define GL_PACK_ROW_LENGTH 0x0D02
  747. #define GL_PACK_SKIP_ROWS 0x0D03
  748. #define GL_PACK_SKIP_PIXELS 0x0D04
  749. #define GL_PACK_ALIGNMENT 0x0D05
  750. #define GL_MAP_COLOR 0x0D10
  751. #define GL_MAP_STENCIL 0x0D11
  752. #define GL_INDEX_SHIFT 0x0D12
  753. #define GL_INDEX_OFFSET 0x0D13
  754. #define GL_RED_SCALE 0x0D14
  755. #define GL_RED_BIAS 0x0D15
  756. #define GL_ZOOM_X 0x0D16
  757. #define GL_ZOOM_Y 0x0D17
  758. #define GL_GREEN_SCALE 0x0D18
  759. #define GL_GREEN_BIAS 0x0D19
  760. #define GL_BLUE_SCALE 0x0D1A
  761. #define GL_BLUE_BIAS 0x0D1B
  762. #define GL_ALPHA_SCALE 0x0D1C
  763. #define GL_ALPHA_BIAS 0x0D1D
  764. #define GL_DEPTH_SCALE 0x0D1E
  765. #define GL_DEPTH_BIAS 0x0D1F
  766. #define GL_MAX_EVAL_ORDER 0x0D30
  767. #define GL_MAX_LIGHTS 0x0D31
  768. #define GL_MAX_CLIP_PLANES 0x0D32
  769. #define GL_MAX_TEXTURE_SIZE 0x0D33
  770. #define GL_MAX_PIXEL_MAP_TABLE 0x0D34
  771. #define GL_MAX_ATTRIB_STACK_DEPTH 0x0D35
  772. #define GL_MAX_MODELVIEW_STACK_DEPTH 0x0D36
  773. #define GL_MAX_NAME_STACK_DEPTH 0x0D37
  774. #define GL_MAX_PROJECTION_STACK_DEPTH 0x0D38
  775. #define GL_MAX_TEXTURE_STACK_DEPTH 0x0D39
  776. #define GL_MAX_VIEWPORT_DIMS 0x0D3A
  777. #define GL_MAX_CLIENT_ATTRIB_STACK_DEPTH 0x0D3B
  778. #define GL_SUBPIXEL_BITS 0x0D50
  779. #define GL_INDEX_BITS 0x0D51
  780. #define GL_RED_BITS 0x0D52
  781. #define GL_GREEN_BITS 0x0D53
  782. #define GL_BLUE_BITS 0x0D54
  783. #define GL_ALPHA_BITS 0x0D55
  784. #define GL_DEPTH_BITS 0x0D56
  785. #define GL_STENCIL_BITS 0x0D57
  786. #define GL_ACCUM_RED_BITS 0x0D58
  787. #define GL_ACCUM_GREEN_BITS 0x0D59
  788. #define GL_ACCUM_BLUE_BITS 0x0D5A
  789. #define GL_ACCUM_ALPHA_BITS 0x0D5B
  790. #define GL_NAME_STACK_DEPTH 0x0D70
  791. #define GL_AUTO_NORMAL 0x0D80
  792. #define GL_MAP1_COLOR_4 0x0D90
  793. #define GL_MAP1_INDEX 0x0D91
  794. #define GL_MAP1_NORMAL 0x0D92
  795. #define GL_MAP1_TEXTURE_COORD_1 0x0D93
  796. #define GL_MAP1_TEXTURE_COORD_2 0x0D94
  797. #define GL_MAP1_TEXTURE_COORD_3 0x0D95
  798. #define GL_MAP1_TEXTURE_COORD_4 0x0D96
  799. #define GL_MAP1_VERTEX_3 0x0D97
  800. #define GL_MAP1_VERTEX_4 0x0D98
  801. #define GL_MAP2_COLOR_4 0x0DB0
  802. #define GL_MAP2_INDEX 0x0DB1
  803. #define GL_MAP2_NORMAL 0x0DB2
  804. #define GL_MAP2_TEXTURE_COORD_1 0x0DB3
  805. #define GL_MAP2_TEXTURE_COORD_2 0x0DB4
  806. #define GL_MAP2_TEXTURE_COORD_3 0x0DB5
  807. #define GL_MAP2_TEXTURE_COORD_4 0x0DB6
  808. #define GL_MAP2_VERTEX_3 0x0DB7
  809. #define GL_MAP2_VERTEX_4 0x0DB8
  810. #define GL_MAP1_GRID_DOMAIN 0x0DD0
  811. #define GL_MAP1_GRID_SEGMENTS 0x0DD1
  812. #define GL_MAP2_GRID_DOMAIN 0x0DD2
  813. #define GL_MAP2_GRID_SEGMENTS 0x0DD3
  814. #define GL_TEXTURE_1D 0x0DE0
  815. #define GL_TEXTURE_2D 0x0DE1
  816. #define GL_FEEDBACK_BUFFER_POINTER 0x0DF0
  817. #define GL_FEEDBACK_BUFFER_SIZE 0x0DF1
  818. #define GL_FEEDBACK_BUFFER_TYPE 0x0DF2
  819. #define GL_SELECTION_BUFFER_POINTER 0x0DF3
  820. #define GL_SELECTION_BUFFER_SIZE 0x0DF4
  821. #define GL_TEXTURE_WIDTH 0x1000
  822. #define GL_TRANSFORM_BIT 0x00001000
  823. #define GL_TEXTURE_HEIGHT 0x1001
  824. #define GL_TEXTURE_INTERNAL_FORMAT 0x1003
  825. #define GL_TEXTURE_BORDER_COLOR 0x1004
  826. #define GL_TEXTURE_BORDER 0x1005
  827. #define GL_DONT_CARE 0x1100
  828. #define GL_FASTEST 0x1101
  829. #define GL_NICEST 0x1102
  830. #define GL_AMBIENT 0x1200
  831. #define GL_DIFFUSE 0x1201
  832. #define GL_SPECULAR 0x1202
  833. #define GL_POSITION 0x1203
  834. #define GL_SPOT_DIRECTION 0x1204
  835. #define GL_SPOT_EXPONENT 0x1205
  836. #define GL_SPOT_CUTOFF 0x1206
  837. #define GL_CONSTANT_ATTENUATION 0x1207
  838. #define GL_LINEAR_ATTENUATION 0x1208
  839. #define GL_QUADRATIC_ATTENUATION 0x1209
  840. #define GL_COMPILE 0x1300
  841. #define GL_COMPILE_AND_EXECUTE 0x1301
  842. #define GL_BYTE 0x1400
  843. #define GL_UNSIGNED_BYTE 0x1401
  844. #define GL_SHORT 0x1402
  845. #define GL_UNSIGNED_SHORT 0x1403
  846. #define GL_INT 0x1404
  847. #define GL_UNSIGNED_INT 0x1405
  848. #define GL_FLOAT 0x1406
  849. #define GL_2_BYTES 0x1407
  850. #define GL_3_BYTES 0x1408
  851. #define GL_4_BYTES 0x1409
  852. #define GL_DOUBLE 0x140A
  853. #define GL_CLEAR 0x1500
  854. #define GL_AND 0x1501
  855. #define GL_AND_REVERSE 0x1502
  856. #define GL_COPY 0x1503
  857. #define GL_AND_INVERTED 0x1504
  858. #define GL_NOOP 0x1505
  859. #define GL_XOR 0x1506
  860. #define GL_OR 0x1507
  861. #define GL_NOR 0x1508
  862. #define GL_EQUIV 0x1509
  863. #define GL_INVERT 0x150A
  864. #define GL_OR_REVERSE 0x150B
  865. #define GL_COPY_INVERTED 0x150C
  866. #define GL_OR_INVERTED 0x150D
  867. #define GL_NAND 0x150E
  868. #define GL_SET 0x150F
  869. #define GL_EMISSION 0x1600
  870. #define GL_SHININESS 0x1601
  871. #define GL_AMBIENT_AND_DIFFUSE 0x1602
  872. #define GL_COLOR_INDEXES 0x1603
  873. #define GL_MODELVIEW 0x1700
  874. #define GL_PROJECTION 0x1701
  875. #define GL_TEXTURE 0x1702
  876. #define GL_COLOR 0x1800
  877. #define GL_DEPTH 0x1801
  878. #define GL_STENCIL 0x1802
  879. #define GL_COLOR_INDEX 0x1900
  880. #define GL_STENCIL_INDEX 0x1901
  881. #define GL_DEPTH_COMPONENT 0x1902
  882. #define GL_RED 0x1903
  883. #define GL_GREEN 0x1904
  884. #define GL_BLUE 0x1905
  885. #define GL_ALPHA 0x1906
  886. #define GL_RGB 0x1907
  887. #define GL_RGBA 0x1908
  888. #define GL_LUMINANCE 0x1909
  889. #define GL_LUMINANCE_ALPHA 0x190A
  890. #define GL_BITMAP 0x1A00
  891. #define GL_POINT 0x1B00
  892. #define GL_LINE 0x1B01
  893. #define GL_FILL 0x1B02
  894. #define GL_RENDER 0x1C00
  895. #define GL_FEEDBACK 0x1C01
  896. #define GL_SELECT 0x1C02
  897. #define GL_FLAT 0x1D00
  898. #define GL_SMOOTH 0x1D01
  899. #define GL_KEEP 0x1E00
  900. #define GL_REPLACE 0x1E01
  901. #define GL_INCR 0x1E02
  902. #define GL_DECR 0x1E03
  903. #define GL_VENDOR 0x1F00
  904. #define GL_RENDERER 0x1F01
  905. #define GL_VERSION 0x1F02
  906. #define GL_EXTENSIONS 0x1F03
  907. #define GL_S 0x2000
  908. #define GL_ENABLE_BIT 0x00002000
  909. #define GL_T 0x2001
  910. #define GL_R 0x2002
  911. #define GL_Q 0x2003
  912. #define GL_MODULATE 0x2100
  913. #define GL_DECAL 0x2101
  914. #define GL_TEXTURE_ENV_MODE 0x2200
  915. #define GL_TEXTURE_ENV_COLOR 0x2201
  916. #define GL_TEXTURE_ENV 0x2300
  917. #define GL_EYE_LINEAR 0x2400
  918. #define GL_OBJECT_LINEAR 0x2401
  919. #define GL_SPHERE_MAP 0x2402
  920. #define GL_TEXTURE_GEN_MODE 0x2500
  921. #define GL_OBJECT_PLANE 0x2501
  922. #define GL_EYE_PLANE 0x2502
  923. #define GL_NEAREST 0x2600
  924. #define GL_LINEAR 0x2601
  925. #define GL_NEAREST_MIPMAP_NEAREST 0x2700
  926. #define GL_LINEAR_MIPMAP_NEAREST 0x2701
  927. #define GL_NEAREST_MIPMAP_LINEAR 0x2702
  928. #define GL_LINEAR_MIPMAP_LINEAR 0x2703
  929. #define GL_TEXTURE_MAG_FILTER 0x2800
  930. #define GL_TEXTURE_MIN_FILTER 0x2801
  931. #define GL_TEXTURE_WRAP_S 0x2802
  932. #define GL_TEXTURE_WRAP_T 0x2803
  933. #define GL_CLAMP 0x2900
  934. #define GL_REPEAT 0x2901
  935. #define GL_POLYGON_OFFSET_UNITS 0x2A00
  936. #define GL_POLYGON_OFFSET_POINT 0x2A01
  937. #define GL_POLYGON_OFFSET_LINE 0x2A02
  938. #define GL_R3_G3_B2 0x2A10
  939. #define GL_V2F 0x2A20
  940. #define GL_V3F 0x2A21
  941. #define GL_C4UB_V2F 0x2A22
  942. #define GL_C4UB_V3F 0x2A23
  943. #define GL_C3F_V3F 0x2A24
  944. #define GL_N3F_V3F 0x2A25
  945. #define GL_C4F_N3F_V3F 0x2A26
  946. #define GL_T2F_V3F 0x2A27
  947. #define GL_T4F_V4F 0x2A28
  948. #define GL_T2F_C4UB_V3F 0x2A29
  949. #define GL_T2F_C3F_V3F 0x2A2A
  950. #define GL_T2F_N3F_V3F 0x2A2B
  951. #define GL_T2F_C4F_N3F_V3F 0x2A2C
  952. #define GL_T4F_C4F_N3F_V4F 0x2A2D
  953. #define GL_CLIP_PLANE0 0x3000
  954. #define GL_CLIP_PLANE1 0x3001
  955. #define GL_CLIP_PLANE2 0x3002
  956. #define GL_CLIP_PLANE3 0x3003
  957. #define GL_CLIP_PLANE4 0x3004
  958. #define GL_CLIP_PLANE5 0x3005
  959. #define GL_LIGHT0 0x4000
  960. #define GL_COLOR_BUFFER_BIT 0x00004000
  961. #define GL_LIGHT1 0x4001
  962. #define GL_LIGHT2 0x4002
  963. #define GL_LIGHT3 0x4003
  964. #define GL_LIGHT4 0x4004
  965. #define GL_LIGHT5 0x4005
  966. #define GL_LIGHT6 0x4006
  967. #define GL_LIGHT7 0x4007
  968. #define GL_HINT_BIT 0x00008000
  969. #define GL_POLYGON_OFFSET_FILL 0x8037
  970. #define GL_POLYGON_OFFSET_FACTOR 0x8038
  971. #define GL_ALPHA4 0x803B
  972. #define GL_ALPHA8 0x803C
  973. #define GL_ALPHA12 0x803D
  974. #define GL_ALPHA16 0x803E
  975. #define GL_LUMINANCE4 0x803F
  976. #define GL_LUMINANCE8 0x8040
  977. #define GL_LUMINANCE12 0x8041
  978. #define GL_LUMINANCE16 0x8042
  979. #define GL_LUMINANCE4_ALPHA4 0x8043
  980. #define GL_LUMINANCE6_ALPHA2 0x8044
  981. #define GL_LUMINANCE8_ALPHA8 0x8045
  982. #define GL_LUMINANCE12_ALPHA4 0x8046
  983. #define GL_LUMINANCE12_ALPHA12 0x8047
  984. #define GL_LUMINANCE16_ALPHA16 0x8048
  985. #define GL_INTENSITY 0x8049
  986. #define GL_INTENSITY4 0x804A
  987. #define GL_INTENSITY8 0x804B
  988. #define GL_INTENSITY12 0x804C
  989. #define GL_INTENSITY16 0x804D
  990. #define GL_RGB4 0x804F
  991. #define GL_RGB5 0x8050
  992. #define GL_RGB8 0x8051
  993. #define GL_RGB10 0x8052
  994. #define GL_RGB12 0x8053
  995. #define GL_RGB16 0x8054
  996. #define GL_RGBA2 0x8055
  997. #define GL_RGBA4 0x8056
  998. #define GL_RGB5_A1 0x8057
  999. #define GL_RGBA8 0x8058
  1000. #define GL_RGB10_A2 0x8059
  1001. #define GL_RGBA12 0x805A
  1002. #define GL_RGBA16 0x805B
  1003. #define GL_TEXTURE_RED_SIZE 0x805C
  1004. #define GL_TEXTURE_GREEN_SIZE 0x805D
  1005. #define GL_TEXTURE_BLUE_SIZE 0x805E
  1006. #define GL_TEXTURE_ALPHA_SIZE 0x805F
  1007. #define GL_TEXTURE_LUMINANCE_SIZE 0x8060
  1008. #define GL_TEXTURE_INTENSITY_SIZE 0x8061
  1009. #define GL_PROXY_TEXTURE_1D 0x8063
  1010. #define GL_PROXY_TEXTURE_2D 0x8064
  1011. #define GL_TEXTURE_PRIORITY 0x8066
  1012. #define GL_TEXTURE_RESIDENT 0x8067
  1013. #define GL_TEXTURE_BINDING_1D 0x8068
  1014. #define GL_TEXTURE_BINDING_2D 0x8069
  1015. #define GL_VERTEX_ARRAY 0x8074
  1016. #define GL_NORMAL_ARRAY 0x8075
  1017. #define GL_COLOR_ARRAY 0x8076
  1018. #define GL_INDEX_ARRAY 0x8077
  1019. #define GL_TEXTURE_COORD_ARRAY 0x8078
  1020. #define GL_EDGE_FLAG_ARRAY 0x8079
  1021. #define GL_VERTEX_ARRAY_SIZE 0x807A
  1022. #define GL_VERTEX_ARRAY_TYPE 0x807B
  1023. #define GL_VERTEX_ARRAY_STRIDE 0x807C
  1024. #define GL_NORMAL_ARRAY_TYPE 0x807E
  1025. #define GL_NORMAL_ARRAY_STRIDE 0x807F
  1026. #define GL_COLOR_ARRAY_SIZE 0x8081
  1027. #define GL_COLOR_ARRAY_TYPE 0x8082
  1028. #define GL_COLOR_ARRAY_STRIDE 0x8083
  1029. #define GL_INDEX_ARRAY_TYPE 0x8085
  1030. #define GL_INDEX_ARRAY_STRIDE 0x8086
  1031. #define GL_TEXTURE_COORD_ARRAY_SIZE 0x8088
  1032. #define GL_TEXTURE_COORD_ARRAY_TYPE 0x8089
  1033. #define GL_TEXTURE_COORD_ARRAY_STRIDE 0x808A
  1034. #define GL_EDGE_FLAG_ARRAY_STRIDE 0x808C
  1035. #define GL_VERTEX_ARRAY_POINTER 0x808E
  1036. #define GL_NORMAL_ARRAY_POINTER 0x808F
  1037. #define GL_COLOR_ARRAY_POINTER 0x8090
  1038. #define GL_INDEX_ARRAY_POINTER 0x8091
  1039. #define GL_TEXTURE_COORD_ARRAY_POINTER 0x8092
  1040. #define GL_EDGE_FLAG_ARRAY_POINTER 0x8093
  1041. #define GL_COLOR_INDEX1_EXT 0x80E2
  1042. #define GL_COLOR_INDEX2_EXT 0x80E3
  1043. #define GL_COLOR_INDEX4_EXT 0x80E4
  1044. #define GL_COLOR_INDEX8_EXT 0x80E5
  1045. #define GL_COLOR_INDEX12_EXT 0x80E6
  1046. #define GL_COLOR_INDEX16_EXT 0x80E7
  1047. #define GL_EVAL_BIT 0x00010000
  1048. #define GL_LIST_BIT 0x00020000
  1049. #define GL_TEXTURE_BIT 0x00040000
  1050. #define GL_SCISSOR_BIT 0x00080000
  1051. #define GL_ALL_ATTRIB_BITS 0x000fffff
  1052. #define GL_CLIENT_ALL_ATTRIB_BITS 0xffffffff
  1053. GLAPI void GLAPIENTRY glAlphaFunc (GLenum func, GLclampf ref);
  1054. GLAPI void GLAPIENTRY glBindTexture (GLenum target, GLuint texture);
  1055. GLAPI void GLAPIENTRY glBlendFunc (GLenum sfactor, GLenum dfactor);
  1056. GLAPI void GLAPIENTRY glClear (GLbitfield mask);
  1057. GLAPI void GLAPIENTRY glClearColor (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1058. GLAPI void GLAPIENTRY glClearStencil (GLint s);
  1059. GLAPI void GLAPIENTRY glColor4f (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  1060. GLAPI void GLAPIENTRY glColorMask (GLboolean red, GLboolean green, GLboolean blue, GLboolean alpha);
  1061. GLAPI void GLAPIENTRY glColorPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1062. GLAPI void GLAPIENTRY glCopyTexImage2D (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  1063. GLAPI void GLAPIENTRY glCopyTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1064. GLAPI void GLAPIENTRY glCullFace (GLenum mode);
  1065. GLAPI void GLAPIENTRY glDeleteTextures (GLsizei n, const GLuint *textures);
  1066. GLAPI void GLAPIENTRY glDepthFunc (GLenum func);
  1067. GLAPI void GLAPIENTRY glDepthMask (GLboolean flag);
  1068. GLAPI void GLAPIENTRY glDisable (GLenum cap);
  1069. GLAPI void GLAPIENTRY glDisableClientState (GLenum array);
  1070. GLAPI void GLAPIENTRY glDrawArrays (GLenum mode, GLint first, GLsizei count);
  1071. GLAPI void GLAPIENTRY glDrawElements (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices);
  1072. GLAPI void GLAPIENTRY glEnable (GLenum cap);
  1073. GLAPI void GLAPIENTRY glEnableClientState (GLenum array);
  1074. GLAPI void GLAPIENTRY glFinish (void);
  1075. GLAPI void GLAPIENTRY glFlush (void);
  1076. GLAPI void GLAPIENTRY glFogf (GLenum pname, GLfloat param);
  1077. GLAPI void GLAPIENTRY glFogfv (GLenum pname, const GLfloat *params);
  1078. GLAPI void GLAPIENTRY glFrontFace (GLenum mode);
  1079. GLAPI void GLAPIENTRY glGenTextures (GLsizei n, GLuint *textures);
  1080. GLAPI GLenum GLAPIENTRY glGetError (void);
  1081. GLAPI void GLAPIENTRY glGetIntegerv (GLenum pname, GLint *params);
  1082. GLAPI void GLAPIENTRY glGetPolygonStipple (GLubyte *mask);
  1083. GLAPI const GLubyte * GLAPIENTRY glGetString (GLenum name);
  1084. GLAPI void GLAPIENTRY glHint (GLenum target, GLenum mode);
  1085. GLAPI void GLAPIENTRY glLightModelf (GLenum pname, GLfloat param);
  1086. GLAPI void GLAPIENTRY glLightModelfv (GLenum pname, const GLfloat *params);
  1087. GLAPI void GLAPIENTRY glLightf (GLenum light, GLenum pname, GLfloat param);
  1088. GLAPI void GLAPIENTRY glLightfv (GLenum light, GLenum pname, const GLfloat *params);
  1089. GLAPI void GLAPIENTRY glLineWidth (GLfloat width);
  1090. GLAPI void GLAPIENTRY glLoadIdentity (void);
  1091. GLAPI void GLAPIENTRY glLoadMatrixf (const GLfloat *m);
  1092. GLAPI void GLAPIENTRY glLogicOp (GLenum opcode);
  1093. GLAPI void GLAPIENTRY glMaterialf (GLenum face, GLenum pname, GLfloat param);
  1094. GLAPI void GLAPIENTRY glMaterialfv (GLenum face, GLenum pname, const GLfloat *params);
  1095. GLAPI void GLAPIENTRY glMatrixMode (GLenum mode);
  1096. GLAPI void GLAPIENTRY glMultMatrixf (const GLfloat *m);
  1097. GLAPI void GLAPIENTRY glNormal3f (GLfloat nx, GLfloat ny, GLfloat nz);
  1098. GLAPI void GLAPIENTRY glNormalPointer (GLenum type, GLsizei stride, const GLvoid *pointer);
  1099. GLAPI void GLAPIENTRY glPixelStorei (GLenum pname, GLint param);
  1100. GLAPI void GLAPIENTRY glPointSize (GLfloat size);
  1101. GLAPI void GLAPIENTRY glPolygonOffset (GLfloat factor, GLfloat units);
  1102. GLAPI void GLAPIENTRY glPopMatrix (void);
  1103. GLAPI void GLAPIENTRY glPushMatrix (void);
  1104. GLAPI void GLAPIENTRY glReadPixels (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid *pixels);
  1105. GLAPI void GLAPIENTRY glRotatef (GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  1106. GLAPI void GLAPIENTRY glScalef (GLfloat x, GLfloat y, GLfloat z);
  1107. GLAPI void GLAPIENTRY glScissor (GLint x, GLint y, GLsizei width, GLsizei height);
  1108. GLAPI void GLAPIENTRY glShadeModel (GLenum mode);
  1109. GLAPI void GLAPIENTRY glStencilFunc (GLenum func, GLint ref, GLuint mask);
  1110. GLAPI void GLAPIENTRY glStencilMask (GLuint mask);
  1111. GLAPI void GLAPIENTRY glStencilOp (GLenum fail, GLenum zfail, GLenum zpass);
  1112. GLAPI void GLAPIENTRY glTexCoordPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1113. GLAPI void GLAPIENTRY glTexEnvf (GLenum target, GLenum pname, GLfloat param);
  1114. GLAPI void GLAPIENTRY glTexEnvfv (GLenum target, GLenum pname, const GLfloat *params);
  1115. GLAPI void GLAPIENTRY glTexImage2D (GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1116. GLAPI void GLAPIENTRY glTexParameterf (GLenum target, GLenum pname, GLfloat param);
  1117. GLAPI void GLAPIENTRY glTexSubImage2D (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1118. GLAPI void GLAPIENTRY glTranslatef (GLfloat x, GLfloat y, GLfloat z);
  1119. GLAPI void GLAPIENTRY glVertexPointer (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1120. GLAPI void GLAPIENTRY glViewport (GLint x, GLint y, GLsizei width, GLsizei height);
  1121. /* ---------------------------------- GLU ---------------------------------- */
  1122. #ifndef GLEW_NO_GLU
  1123. /* this is where we can safely include GLU */
  1124. # if defined(__APPLE__) && defined(__MACH__)
  1125. # include <OpenGL/glu.h>
  1126. # else
  1127. # include <GL/glu.h>
  1128. # endif
  1129. #endif
  1130. /* ----------------------------- GL_VERSION_1_1 ---------------------------- */
  1131. #if !defined(GL_VERSION_1_1)
  1132. #define GL_VERSION_1_1 1
  1133. typedef void (GLAPIENTRY * PFNGLACCUMPROC) (GLenum op, GLfloat value);
  1134. typedef GLboolean (GLAPIENTRY * PFNGLARETEXTURESRESIDENTPROC) (GLsizei n, const GLuint *textures, GLboolean *residences);
  1135. typedef void (GLAPIENTRY * PFNGLARRAYELEMENTPROC) (GLint i);
  1136. typedef void (GLAPIENTRY * PFNGLBEGINPROC) (GLenum mode);
  1137. typedef void (GLAPIENTRY * PFNGLBITMAPPROC) (GLsizei width, GLsizei height, GLfloat xorig, GLfloat yorig, GLfloat xmove, GLfloat ymove, const GLubyte *bitmap);
  1138. typedef void (GLAPIENTRY * PFNGLCALLLISTPROC) (GLuint list);
  1139. typedef void (GLAPIENTRY * PFNGLCALLLISTSPROC) (GLsizei n, GLenum type, const GLvoid *lists);
  1140. typedef void (GLAPIENTRY * PFNGLCLEARACCUMPROC) (GLfloat red, GLfloat green, GLfloat blue, GLfloat alpha);
  1141. typedef void (GLAPIENTRY * PFNGLCLEARDEPTHPROC) (GLclampd depth);
  1142. typedef void (GLAPIENTRY * PFNGLCLEARINDEXPROC) (GLfloat c);
  1143. typedef void (GLAPIENTRY * PFNGLCLIPPLANEPROC) (GLenum plane, const GLdouble *equation);
  1144. typedef void (GLAPIENTRY * PFNGLCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  1145. typedef void (GLAPIENTRY * PFNGLCOLOR3BVPROC) (const GLbyte *v);
  1146. typedef void (GLAPIENTRY * PFNGLCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  1147. typedef void (GLAPIENTRY * PFNGLCOLOR3DVPROC) (const GLdouble *v);
  1148. typedef void (GLAPIENTRY * PFNGLCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  1149. typedef void (GLAPIENTRY * PFNGLCOLOR3FVPROC) (const GLfloat *v);
  1150. typedef void (GLAPIENTRY * PFNGLCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  1151. typedef void (GLAPIENTRY * PFNGLCOLOR3IVPROC) (const GLint *v);
  1152. typedef void (GLAPIENTRY * PFNGLCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  1153. typedef void (GLAPIENTRY * PFNGLCOLOR3SVPROC) (const GLshort *v);
  1154. typedef void (GLAPIENTRY * PFNGLCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  1155. typedef void (GLAPIENTRY * PFNGLCOLOR3UBVPROC) (const GLubyte *v);
  1156. typedef void (GLAPIENTRY * PFNGLCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  1157. typedef void (GLAPIENTRY * PFNGLCOLOR3UIVPROC) (const GLuint *v);
  1158. typedef void (GLAPIENTRY * PFNGLCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  1159. typedef void (GLAPIENTRY * PFNGLCOLOR3USVPROC) (const GLushort *v);
  1160. typedef void (GLAPIENTRY * PFNGLCOLOR4BPROC) (GLbyte red, GLbyte green, GLbyte blue, GLbyte alpha);
  1161. typedef void (GLAPIENTRY * PFNGLCOLOR4BVPROC) (const GLbyte *v);
  1162. typedef void (GLAPIENTRY * PFNGLCOLOR4DPROC) (GLdouble red, GLdouble green, GLdouble blue, GLdouble alpha);
  1163. typedef void (GLAPIENTRY * PFNGLCOLOR4DVPROC) (const GLdouble *v);
  1164. typedef void (GLAPIENTRY * PFNGLCOLOR4FVPROC) (const GLfloat *v);
  1165. typedef void (GLAPIENTRY * PFNGLCOLOR4IPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  1166. typedef void (GLAPIENTRY * PFNGLCOLOR4IVPROC) (const GLint *v);
  1167. typedef void (GLAPIENTRY * PFNGLCOLOR4SPROC) (GLshort red, GLshort green, GLshort blue, GLshort alpha);
  1168. typedef void (GLAPIENTRY * PFNGLCOLOR4SVPROC) (const GLshort *v);
  1169. typedef void (GLAPIENTRY * PFNGLCOLOR4UBPROC) (GLubyte red, GLubyte green, GLubyte blue, GLubyte alpha);
  1170. typedef void (GLAPIENTRY * PFNGLCOLOR4UBVPROC) (const GLubyte *v);
  1171. typedef void (GLAPIENTRY * PFNGLCOLOR4UIPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  1172. typedef void (GLAPIENTRY * PFNGLCOLOR4UIVPROC) (const GLuint *v);
  1173. typedef void (GLAPIENTRY * PFNGLCOLOR4USPROC) (GLushort red, GLushort green, GLushort blue, GLushort alpha);
  1174. typedef void (GLAPIENTRY * PFNGLCOLOR4USVPROC) (const GLushort *v);
  1175. typedef void (GLAPIENTRY * PFNGLCOLORMATERIALPROC) (GLenum face, GLenum mode);
  1176. typedef void (GLAPIENTRY * PFNGLCOPYPIXELSPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum type);
  1177. typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalFormat, GLint x, GLint y, GLsizei width, GLint border);
  1178. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  1179. typedef void (GLAPIENTRY * PFNGLDELETELISTSPROC) (GLuint list, GLsizei range);
  1180. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEPROC) (GLclampd zNear, GLclampd zFar);
  1181. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERPROC) (GLenum mode);
  1182. typedef void (GLAPIENTRY * PFNGLDRAWPIXELSPROC) (GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *pixels);
  1183. typedef void (GLAPIENTRY * PFNGLEDGEFLAGPROC) (GLboolean flag);
  1184. typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTERPROC) (GLsizei stride, const GLvoid *pointer);
  1185. typedef void (GLAPIENTRY * PFNGLEDGEFLAGVPROC) (const GLboolean *flag);
  1186. typedef void (GLAPIENTRY * PFNGLENDPROC) (void);
  1187. typedef void (GLAPIENTRY * PFNGLENDLISTPROC) (void);
  1188. typedef void (GLAPIENTRY * PFNGLEVALCOORD1DPROC) (GLdouble u);
  1189. typedef void (GLAPIENTRY * PFNGLEVALCOORD1DVPROC) (const GLdouble *u);
  1190. typedef void (GLAPIENTRY * PFNGLEVALCOORD1FPROC) (GLfloat u);
  1191. typedef void (GLAPIENTRY * PFNGLEVALCOORD1FVPROC) (const GLfloat *u);
  1192. typedef void (GLAPIENTRY * PFNGLEVALCOORD2DPROC) (GLdouble u, GLdouble v);
  1193. typedef void (GLAPIENTRY * PFNGLEVALCOORD2DVPROC) (const GLdouble *u);
  1194. typedef void (GLAPIENTRY * PFNGLEVALCOORD2FPROC) (GLfloat u, GLfloat v);
  1195. typedef void (GLAPIENTRY * PFNGLEVALCOORD2FVPROC) (const GLfloat *u);
  1196. typedef void (GLAPIENTRY * PFNGLEVALMESH1PROC) (GLenum mode, GLint i1, GLint i2);
  1197. typedef void (GLAPIENTRY * PFNGLEVALMESH2PROC) (GLenum mode, GLint i1, GLint i2, GLint j1, GLint j2);
  1198. typedef void (GLAPIENTRY * PFNGLEVALPOINT1PROC) (GLint i);
  1199. typedef void (GLAPIENTRY * PFNGLEVALPOINT2PROC) (GLint i, GLint j);
  1200. typedef void (GLAPIENTRY * PFNGLFEEDBACKBUFFERPROC) (GLsizei size, GLenum type, GLfloat *buffer);
  1201. typedef void (GLAPIENTRY * PFNGLFOGIPROC) (GLenum pname, GLint param);
  1202. typedef void (GLAPIENTRY * PFNGLFOGIVPROC) (GLenum pname, const GLint *params);
  1203. typedef void (GLAPIENTRY * PFNGLFRUSTUMPROC) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1204. typedef GLuint (GLAPIENTRY * PFNGLGENLISTSPROC) (GLsizei range);
  1205. typedef void (GLAPIENTRY * PFNGLGETBOOLEANVPROC) (GLenum pname, GLboolean *params);
  1206. typedef void (GLAPIENTRY * PFNGLGETCLIPPLANEPROC) (GLenum plane, GLdouble *equation);
  1207. typedef void (GLAPIENTRY * PFNGLGETDOUBLEVPROC) (GLenum pname, GLdouble *params);
  1208. typedef void (GLAPIENTRY * PFNGLGETFLOATVPROC) (GLenum pname, GLfloat *params);
  1209. typedef void (GLAPIENTRY * PFNGLGETLIGHTFVPROC) (GLenum light, GLenum pname, GLfloat *params);
  1210. typedef void (GLAPIENTRY * PFNGLGETLIGHTIVPROC) (GLenum light, GLenum pname, GLint *params);
  1211. typedef void (GLAPIENTRY * PFNGLGETMAPDVPROC) (GLenum target, GLenum query, GLdouble *v);
  1212. typedef void (GLAPIENTRY * PFNGLGETMAPFVPROC) (GLenum target, GLenum query, GLfloat *v);
  1213. typedef void (GLAPIENTRY * PFNGLGETMAPIVPROC) (GLenum target, GLenum query, GLint *v);
  1214. typedef void (GLAPIENTRY * PFNGLGETMATERIALFVPROC) (GLenum face, GLenum pname, GLfloat *params);
  1215. typedef void (GLAPIENTRY * PFNGLGETMATERIALIVPROC) (GLenum face, GLenum pname, GLint *params);
  1216. typedef void (GLAPIENTRY * PFNGLGETPIXELMAPFVPROC) (GLenum map, GLfloat *values);
  1217. typedef void (GLAPIENTRY * PFNGLGETPIXELMAPUIVPROC) (GLenum map, GLuint *values);
  1218. typedef void (GLAPIENTRY * PFNGLGETPIXELMAPUSVPROC) (GLenum map, GLushort *values);
  1219. typedef void (GLAPIENTRY * PFNGLGETPOINTERVPROC) (GLenum pname, GLvoid* *params);
  1220. typedef void (GLAPIENTRY * PFNGLGETPOLYGONSTIPPLEPROC) (GLubyte *mask);
  1221. typedef void (GLAPIENTRY * PFNGLGETTEXENVFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1222. typedef void (GLAPIENTRY * PFNGLGETTEXENVIVPROC) (GLenum target, GLenum pname, GLint *params);
  1223. typedef void (GLAPIENTRY * PFNGLGETTEXGENDVPROC) (GLenum coord, GLenum pname, GLdouble *params);
  1224. typedef void (GLAPIENTRY * PFNGLGETTEXGENFVPROC) (GLenum coord, GLenum pname, GLfloat *params);
  1225. typedef void (GLAPIENTRY * PFNGLGETTEXGENIVPROC) (GLenum coord, GLenum pname, GLint *params);
  1226. typedef void (GLAPIENTRY * PFNGLGETTEXIMAGEPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLvoid *pixels);
  1227. typedef void (GLAPIENTRY * PFNGLGETTEXLEVELPARAMETERFVPROC) (GLenum target, GLint level, GLenum pname, GLfloat *params);
  1228. typedef void (GLAPIENTRY * PFNGLGETTEXLEVELPARAMETERIVPROC) (GLenum target, GLint level, GLenum pname, GLint *params);
  1229. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  1230. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  1231. typedef void (GLAPIENTRY * PFNGLINDEXMASKPROC) (GLuint mask);
  1232. typedef void (GLAPIENTRY * PFNGLINDEXPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  1233. typedef void (GLAPIENTRY * PFNGLINDEXDPROC) (GLdouble c);
  1234. typedef void (GLAPIENTRY * PFNGLINDEXDVPROC) (const GLdouble *c);
  1235. typedef void (GLAPIENTRY * PFNGLINDEXFPROC) (GLfloat c);
  1236. typedef void (GLAPIENTRY * PFNGLINDEXFVPROC) (const GLfloat *c);
  1237. typedef void (GLAPIENTRY * PFNGLINDEXIPROC) (GLint c);
  1238. typedef void (GLAPIENTRY * PFNGLINDEXIVPROC) (const GLint *c);
  1239. typedef void (GLAPIENTRY * PFNGLINDEXSPROC) (GLshort c);
  1240. typedef void (GLAPIENTRY * PFNGLINDEXSVPROC) (const GLshort *c);
  1241. typedef void (GLAPIENTRY * PFNGLINDEXUBPROC) (GLubyte c);
  1242. typedef void (GLAPIENTRY * PFNGLINDEXUBVPROC) (const GLubyte *c);
  1243. typedef void (GLAPIENTRY * PFNGLINITNAMESPROC) (void);
  1244. typedef void (GLAPIENTRY * PFNGLINTERLEAVEDARRAYSPROC) (GLenum format, GLsizei stride, const GLvoid *pointer);
  1245. typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDPROC) (GLenum cap);
  1246. typedef GLboolean (GLAPIENTRY * PFNGLISLISTPROC) (GLuint list);
  1247. typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREPROC) (GLuint texture);
  1248. typedef void (GLAPIENTRY * PFNGLLIGHTMODELIPROC) (GLenum pname, GLint param);
  1249. typedef void (GLAPIENTRY * PFNGLLIGHTMODELIVPROC) (GLenum pname, const GLint *params);
  1250. typedef void (GLAPIENTRY * PFNGLLIGHTIPROC) (GLenum light, GLenum pname, GLint param);
  1251. typedef void (GLAPIENTRY * PFNGLLIGHTIVPROC) (GLenum light, GLenum pname, const GLint *params);
  1252. typedef void (GLAPIENTRY * PFNGLLINESTIPPLEPROC) (GLint factor, GLushort pattern);
  1253. typedef void (GLAPIENTRY * PFNGLLISTBASEPROC) (GLuint base);
  1254. typedef void (GLAPIENTRY * PFNGLLOADMATRIXDPROC) (const GLdouble *m);
  1255. typedef void (GLAPIENTRY * PFNGLLOADNAMEPROC) (GLuint name);
  1256. typedef void (GLAPIENTRY * PFNGLMAP1DPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble *points);
  1257. typedef void (GLAPIENTRY * PFNGLMAP1FPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat *points);
  1258. typedef void (GLAPIENTRY * PFNGLMAP2DPROC) (GLenum target, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble *points);
  1259. typedef void (GLAPIENTRY * PFNGLMAP2FPROC) (GLenum target, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat *points);
  1260. typedef void (GLAPIENTRY * PFNGLMAPGRID1DPROC) (GLint un, GLdouble u1, GLdouble u2);
  1261. typedef void (GLAPIENTRY * PFNGLMAPGRID1FPROC) (GLint un, GLfloat u1, GLfloat u2);
  1262. typedef void (GLAPIENTRY * PFNGLMAPGRID2DPROC) (GLint un, GLdouble u1, GLdouble u2, GLint vn, GLdouble v1, GLdouble v2);
  1263. typedef void (GLAPIENTRY * PFNGLMAPGRID2FPROC) (GLint un, GLfloat u1, GLfloat u2, GLint vn, GLfloat v1, GLfloat v2);
  1264. typedef void (GLAPIENTRY * PFNGLMATERIALIPROC) (GLenum face, GLenum pname, GLint param);
  1265. typedef void (GLAPIENTRY * PFNGLMATERIALIVPROC) (GLenum face, GLenum pname, const GLint *params);
  1266. typedef void (GLAPIENTRY * PFNGLMULTMATRIXDPROC) (const GLdouble *m);
  1267. typedef void (GLAPIENTRY * PFNGLNEWLISTPROC) (GLuint list, GLenum mode);
  1268. typedef void (GLAPIENTRY * PFNGLNORMAL3BPROC) (GLbyte nx, GLbyte ny, GLbyte nz);
  1269. typedef void (GLAPIENTRY * PFNGLNORMAL3BVPROC) (const GLbyte *v);
  1270. typedef void (GLAPIENTRY * PFNGLNORMAL3DPROC) (GLdouble nx, GLdouble ny, GLdouble nz);
  1271. typedef void (GLAPIENTRY * PFNGLNORMAL3DVPROC) (const GLdouble *v);
  1272. typedef void (GLAPIENTRY * PFNGLNORMAL3FVPROC) (const GLfloat *v);
  1273. typedef void (GLAPIENTRY * PFNGLNORMAL3IPROC) (GLint nx, GLint ny, GLint nz);
  1274. typedef void (GLAPIENTRY * PFNGLNORMAL3IVPROC) (const GLint *v);
  1275. typedef void (GLAPIENTRY * PFNGLNORMAL3SPROC) (GLshort nx, GLshort ny, GLshort nz);
  1276. typedef void (GLAPIENTRY * PFNGLNORMAL3SVPROC) (const GLshort *v);
  1277. typedef void (GLAPIENTRY * PFNGLORTHOPROC) (GLdouble left, GLdouble right, GLdouble bottom, GLdouble top, GLdouble zNear, GLdouble zFar);
  1278. typedef void (GLAPIENTRY * PFNGLPASSTHROUGHPROC) (GLfloat token);
  1279. typedef void (GLAPIENTRY * PFNGLPIXELMAPFVPROC) (GLenum map, GLsizei mapsize, const GLfloat *values);
  1280. typedef void (GLAPIENTRY * PFNGLPIXELMAPUIVPROC) (GLenum map, GLsizei mapsize, const GLuint *values);
  1281. typedef void (GLAPIENTRY * PFNGLPIXELMAPUSVPROC) (GLenum map, GLsizei mapsize, const GLushort *values);
  1282. typedef void (GLAPIENTRY * PFNGLPIXELSTOREFPROC) (GLenum pname, GLfloat param);
  1283. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFERFPROC) (GLenum pname, GLfloat param);
  1284. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFERIPROC) (GLenum pname, GLint param);
  1285. typedef void (GLAPIENTRY * PFNGLPIXELZOOMPROC) (GLfloat xfactor, GLfloat yfactor);
  1286. typedef void (GLAPIENTRY * PFNGLPOLYGONMODEPROC) (GLenum face, GLenum mode);
  1287. typedef void (GLAPIENTRY * PFNGLPOLYGONSTIPPLEPROC) (const GLubyte *mask);
  1288. typedef void (GLAPIENTRY * PFNGLPOPATTRIBPROC) (void);
  1289. typedef void (GLAPIENTRY * PFNGLPOPCLIENTATTRIBPROC) (void);
  1290. typedef void (GLAPIENTRY * PFNGLPOPNAMEPROC) (void);
  1291. typedef void (GLAPIENTRY * PFNGLPRIORITIZETEXTURESPROC) (GLsizei n, const GLuint *textures, const GLclampf *priorities);
  1292. typedef void (GLAPIENTRY * PFNGLPUSHATTRIBPROC) (GLbitfield mask);
  1293. typedef void (GLAPIENTRY * PFNGLPUSHCLIENTATTRIBPROC) (GLbitfield mask);
  1294. typedef void (GLAPIENTRY * PFNGLPUSHNAMEPROC) (GLuint name);
  1295. typedef void (GLAPIENTRY * PFNGLRASTERPOS2DPROC) (GLdouble x, GLdouble y);
  1296. typedef void (GLAPIENTRY * PFNGLRASTERPOS2DVPROC) (const GLdouble *v);
  1297. typedef void (GLAPIENTRY * PFNGLRASTERPOS2FPROC) (GLfloat x, GLfloat y);
  1298. typedef void (GLAPIENTRY * PFNGLRASTERPOS2FVPROC) (const GLfloat *v);
  1299. typedef void (GLAPIENTRY * PFNGLRASTERPOS2IPROC) (GLint x, GLint y);
  1300. typedef void (GLAPIENTRY * PFNGLRASTERPOS2IVPROC) (const GLint *v);
  1301. typedef void (GLAPIENTRY * PFNGLRASTERPOS2SPROC) (GLshort x, GLshort y);
  1302. typedef void (GLAPIENTRY * PFNGLRASTERPOS2SVPROC) (const GLshort *v);
  1303. typedef void (GLAPIENTRY * PFNGLRASTERPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  1304. typedef void (GLAPIENTRY * PFNGLRASTERPOS3DVPROC) (const GLdouble *v);
  1305. typedef void (GLAPIENTRY * PFNGLRASTERPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  1306. typedef void (GLAPIENTRY * PFNGLRASTERPOS3FVPROC) (const GLfloat *v);
  1307. typedef void (GLAPIENTRY * PFNGLRASTERPOS3IPROC) (GLint x, GLint y, GLint z);
  1308. typedef void (GLAPIENTRY * PFNGLRASTERPOS3IVPROC) (const GLint *v);
  1309. typedef void (GLAPIENTRY * PFNGLRASTERPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  1310. typedef void (GLAPIENTRY * PFNGLRASTERPOS3SVPROC) (const GLshort *v);
  1311. typedef void (GLAPIENTRY * PFNGLRASTERPOS4DPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1312. typedef void (GLAPIENTRY * PFNGLRASTERPOS4DVPROC) (const GLdouble *v);
  1313. typedef void (GLAPIENTRY * PFNGLRASTERPOS4FPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1314. typedef void (GLAPIENTRY * PFNGLRASTERPOS4FVPROC) (const GLfloat *v);
  1315. typedef void (GLAPIENTRY * PFNGLRASTERPOS4IPROC) (GLint x, GLint y, GLint z, GLint w);
  1316. typedef void (GLAPIENTRY * PFNGLRASTERPOS4IVPROC) (const GLint *v);
  1317. typedef void (GLAPIENTRY * PFNGLRASTERPOS4SPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  1318. typedef void (GLAPIENTRY * PFNGLRASTERPOS4SVPROC) (const GLshort *v);
  1319. typedef void (GLAPIENTRY * PFNGLREADBUFFERPROC) (GLenum mode);
  1320. typedef void (GLAPIENTRY * PFNGLRECTDPROC) (GLdouble x1, GLdouble y1, GLdouble x2, GLdouble y2);
  1321. typedef void (GLAPIENTRY * PFNGLRECTDVPROC) (const GLdouble *v1, const GLdouble *v2);
  1322. typedef void (GLAPIENTRY * PFNGLRECTFPROC) (GLfloat x1, GLfloat y1, GLfloat x2, GLfloat y2);
  1323. typedef void (GLAPIENTRY * PFNGLRECTFVPROC) (const GLfloat *v1, const GLfloat *v2);
  1324. typedef void (GLAPIENTRY * PFNGLRECTIPROC) (GLint x1, GLint y1, GLint x2, GLint y2);
  1325. typedef void (GLAPIENTRY * PFNGLRECTIVPROC) (const GLint *v1, const GLint *v2);
  1326. typedef void (GLAPIENTRY * PFNGLRECTSPROC) (GLshort x1, GLshort y1, GLshort x2, GLshort y2);
  1327. typedef void (GLAPIENTRY * PFNGLRECTSVPROC) (const GLshort *v1, const GLshort *v2);
  1328. typedef GLint (GLAPIENTRY * PFNGLRENDERMODEPROC) (GLenum mode);
  1329. typedef void (GLAPIENTRY * PFNGLROTATEDPROC) (GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  1330. typedef void (GLAPIENTRY * PFNGLSCALEDPROC) (GLdouble x, GLdouble y, GLdouble z);
  1331. typedef void (GLAPIENTRY * PFNGLSELECTBUFFERPROC) (GLsizei size, GLuint *buffer);
  1332. typedef void (GLAPIENTRY * PFNGLTEXCOORD1DPROC) (GLdouble s);
  1333. typedef void (GLAPIENTRY * PFNGLTEXCOORD1DVPROC) (const GLdouble *v);
  1334. typedef void (GLAPIENTRY * PFNGLTEXCOORD1FPROC) (GLfloat s);
  1335. typedef void (GLAPIENTRY * PFNGLTEXCOORD1FVPROC) (const GLfloat *v);
  1336. typedef void (GLAPIENTRY * PFNGLTEXCOORD1IPROC) (GLint s);
  1337. typedef void (GLAPIENTRY * PFNGLTEXCOORD1IVPROC) (const GLint *v);
  1338. typedef void (GLAPIENTRY * PFNGLTEXCOORD1SPROC) (GLshort s);
  1339. typedef void (GLAPIENTRY * PFNGLTEXCOORD1SVPROC) (const GLshort *v);
  1340. typedef void (GLAPIENTRY * PFNGLTEXCOORD2DPROC) (GLdouble s, GLdouble t);
  1341. typedef void (GLAPIENTRY * PFNGLTEXCOORD2DVPROC) (const GLdouble *v);
  1342. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FPROC) (GLfloat s, GLfloat t);
  1343. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FVPROC) (const GLfloat *v);
  1344. typedef void (GLAPIENTRY * PFNGLTEXCOORD2IPROC) (GLint s, GLint t);
  1345. typedef void (GLAPIENTRY * PFNGLTEXCOORD2IVPROC) (const GLint *v);
  1346. typedef void (GLAPIENTRY * PFNGLTEXCOORD2SPROC) (GLshort s, GLshort t);
  1347. typedef void (GLAPIENTRY * PFNGLTEXCOORD2SVPROC) (const GLshort *v);
  1348. typedef void (GLAPIENTRY * PFNGLTEXCOORD3DPROC) (GLdouble s, GLdouble t, GLdouble r);
  1349. typedef void (GLAPIENTRY * PFNGLTEXCOORD3DVPROC) (const GLdouble *v);
  1350. typedef void (GLAPIENTRY * PFNGLTEXCOORD3FPROC) (GLfloat s, GLfloat t, GLfloat r);
  1351. typedef void (GLAPIENTRY * PFNGLTEXCOORD3FVPROC) (const GLfloat *v);
  1352. typedef void (GLAPIENTRY * PFNGLTEXCOORD3IPROC) (GLint s, GLint t, GLint r);
  1353. typedef void (GLAPIENTRY * PFNGLTEXCOORD3IVPROC) (const GLint *v);
  1354. typedef void (GLAPIENTRY * PFNGLTEXCOORD3SPROC) (GLshort s, GLshort t, GLshort r);
  1355. typedef void (GLAPIENTRY * PFNGLTEXCOORD3SVPROC) (const GLshort *v);
  1356. typedef void (GLAPIENTRY * PFNGLTEXCOORD4DPROC) (GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1357. typedef void (GLAPIENTRY * PFNGLTEXCOORD4DVPROC) (const GLdouble *v);
  1358. typedef void (GLAPIENTRY * PFNGLTEXCOORD4FPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1359. typedef void (GLAPIENTRY * PFNGLTEXCOORD4FVPROC) (const GLfloat *v);
  1360. typedef void (GLAPIENTRY * PFNGLTEXCOORD4IPROC) (GLint s, GLint t, GLint r, GLint q);
  1361. typedef void (GLAPIENTRY * PFNGLTEXCOORD4IVPROC) (const GLint *v);
  1362. typedef void (GLAPIENTRY * PFNGLTEXCOORD4SPROC) (GLshort s, GLshort t, GLshort r, GLshort q);
  1363. typedef void (GLAPIENTRY * PFNGLTEXCOORD4SVPROC) (const GLshort *v);
  1364. typedef void (GLAPIENTRY * PFNGLTEXENVIPROC) (GLenum target, GLenum pname, GLint param);
  1365. typedef void (GLAPIENTRY * PFNGLTEXENVIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1366. typedef void (GLAPIENTRY * PFNGLTEXGENDPROC) (GLenum coord, GLenum pname, GLdouble param);
  1367. typedef void (GLAPIENTRY * PFNGLTEXGENDVPROC) (GLenum coord, GLenum pname, const GLdouble *params);
  1368. typedef void (GLAPIENTRY * PFNGLTEXGENFPROC) (GLenum coord, GLenum pname, GLfloat param);
  1369. typedef void (GLAPIENTRY * PFNGLTEXGENFVPROC) (GLenum coord, GLenum pname, const GLfloat *params);
  1370. typedef void (GLAPIENTRY * PFNGLTEXGENIPROC) (GLenum coord, GLenum pname, GLint param);
  1371. typedef void (GLAPIENTRY * PFNGLTEXGENIVPROC) (GLenum coord, GLenum pname, const GLint *params);
  1372. typedef void (GLAPIENTRY * PFNGLTEXIMAGE1DPROC) (GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1373. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  1374. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  1375. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  1376. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const GLvoid *pixels);
  1377. typedef void (GLAPIENTRY * PFNGLTRANSLATEDPROC) (GLdouble x, GLdouble y, GLdouble z);
  1378. typedef void (GLAPIENTRY * PFNGLVERTEX2DPROC) (GLdouble x, GLdouble y);
  1379. typedef void (GLAPIENTRY * PFNGLVERTEX2DVPROC) (const GLdouble *v);
  1380. typedef void (GLAPIENTRY * PFNGLVERTEX2FPROC) (GLfloat x, GLfloat y);
  1381. typedef void (GLAPIENTRY * PFNGLVERTEX2FVPROC) (const GLfloat *v);
  1382. typedef void (GLAPIENTRY * PFNGLVERTEX2IPROC) (GLint x, GLint y);
  1383. typedef void (GLAPIENTRY * PFNGLVERTEX2IVPROC) (const GLint *v);
  1384. typedef void (GLAPIENTRY * PFNGLVERTEX2SPROC) (GLshort x, GLshort y);
  1385. typedef void (GLAPIENTRY * PFNGLVERTEX2SVPROC) (const GLshort *v);
  1386. typedef void (GLAPIENTRY * PFNGLVERTEX3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  1387. typedef void (GLAPIENTRY * PFNGLVERTEX3DVPROC) (const GLdouble *v);
  1388. typedef void (GLAPIENTRY * PFNGLVERTEX3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  1389. typedef void (GLAPIENTRY * PFNGLVERTEX3FVPROC) (const GLfloat *v);
  1390. typedef void (GLAPIENTRY * PFNGLVERTEX3IPROC) (GLint x, GLint y, GLint z);
  1391. typedef void (GLAPIENTRY * PFNGLVERTEX3IVPROC) (const GLint *v);
  1392. typedef void (GLAPIENTRY * PFNGLVERTEX3SPROC) (GLshort x, GLshort y, GLshort z);
  1393. typedef void (GLAPIENTRY * PFNGLVERTEX3SVPROC) (const GLshort *v);
  1394. typedef void (GLAPIENTRY * PFNGLVERTEX4DPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  1395. typedef void (GLAPIENTRY * PFNGLVERTEX4DVPROC) (const GLdouble *v);
  1396. typedef void (GLAPIENTRY * PFNGLVERTEX4FPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  1397. typedef void (GLAPIENTRY * PFNGLVERTEX4FVPROC) (const GLfloat *v);
  1398. typedef void (GLAPIENTRY * PFNGLVERTEX4IPROC) (GLint x, GLint y, GLint z, GLint w);
  1399. typedef void (GLAPIENTRY * PFNGLVERTEX4IVPROC) (const GLint *v);
  1400. typedef void (GLAPIENTRY * PFNGLVERTEX4SPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  1401. typedef void (GLAPIENTRY * PFNGLVERTEX4SVPROC) (const GLshort *v);
  1402. #define glAccum GLEW_GET_FUN(__glewAccum)
  1403. #define glAreTexturesResident GLEW_GET_FUN(__glewAreTexturesResident)
  1404. #define glArrayElement GLEW_GET_FUN(__glewArrayElement)
  1405. #define glBegin GLEW_GET_FUN(__glewBegin)
  1406. #define glBitmap GLEW_GET_FUN(__glewBitmap)
  1407. #define glCallList GLEW_GET_FUN(__glewCallList)
  1408. #define glCallLists GLEW_GET_FUN(__glewCallLists)
  1409. #define glClearAccum GLEW_GET_FUN(__glewClearAccum)
  1410. #define glClearDepth GLEW_GET_FUN(__glewClearDepth)
  1411. #define glClearIndex GLEW_GET_FUN(__glewClearIndex)
  1412. #define glClipPlane GLEW_GET_FUN(__glewClipPlane)
  1413. #define glColor3b GLEW_GET_FUN(__glewColor3b)
  1414. #define glColor3bv GLEW_GET_FUN(__glewColor3bv)
  1415. #define glColor3d GLEW_GET_FUN(__glewColor3d)
  1416. #define glColor3dv GLEW_GET_FUN(__glewColor3dv)
  1417. #define glColor3f GLEW_GET_FUN(__glewColor3f)
  1418. #define glColor3fv GLEW_GET_FUN(__glewColor3fv)
  1419. #define glColor3i GLEW_GET_FUN(__glewColor3i)
  1420. #define glColor3iv GLEW_GET_FUN(__glewColor3iv)
  1421. #define glColor3s GLEW_GET_FUN(__glewColor3s)
  1422. #define glColor3sv GLEW_GET_FUN(__glewColor3sv)
  1423. #define glColor3ub GLEW_GET_FUN(__glewColor3ub)
  1424. #define glColor3ubv GLEW_GET_FUN(__glewColor3ubv)
  1425. #define glColor3ui GLEW_GET_FUN(__glewColor3ui)
  1426. #define glColor3uiv GLEW_GET_FUN(__glewColor3uiv)
  1427. #define glColor3us GLEW_GET_FUN(__glewColor3us)
  1428. #define glColor3usv GLEW_GET_FUN(__glewColor3usv)
  1429. #define glColor4b GLEW_GET_FUN(__glewColor4b)
  1430. #define glColor4bv GLEW_GET_FUN(__glewColor4bv)
  1431. #define glColor4d GLEW_GET_FUN(__glewColor4d)
  1432. #define glColor4dv GLEW_GET_FUN(__glewColor4dv)
  1433. #define glColor4fv GLEW_GET_FUN(__glewColor4fv)
  1434. #define glColor4i GLEW_GET_FUN(__glewColor4i)
  1435. #define glColor4iv GLEW_GET_FUN(__glewColor4iv)
  1436. #define glColor4s GLEW_GET_FUN(__glewColor4s)
  1437. #define glColor4sv GLEW_GET_FUN(__glewColor4sv)
  1438. #define glColor4ub GLEW_GET_FUN(__glewColor4ub)
  1439. #define glColor4ubv GLEW_GET_FUN(__glewColor4ubv)
  1440. #define glColor4ui GLEW_GET_FUN(__glewColor4ui)
  1441. #define glColor4uiv GLEW_GET_FUN(__glewColor4uiv)
  1442. #define glColor4us GLEW_GET_FUN(__glewColor4us)
  1443. #define glColor4usv GLEW_GET_FUN(__glewColor4usv)
  1444. #define glColorMaterial GLEW_GET_FUN(__glewColorMaterial)
  1445. #define glCopyPixels GLEW_GET_FUN(__glewCopyPixels)
  1446. #define glCopyTexImage1D GLEW_GET_FUN(__glewCopyTexImage1D)
  1447. #define glCopyTexSubImage1D GLEW_GET_FUN(__glewCopyTexSubImage1D)
  1448. #define glDeleteLists GLEW_GET_FUN(__glewDeleteLists)
  1449. #define glDepthRange GLEW_GET_FUN(__glewDepthRange)
  1450. #define glDrawBuffer GLEW_GET_FUN(__glewDrawBuffer)
  1451. #define glDrawPixels GLEW_GET_FUN(__glewDrawPixels)
  1452. #define glEdgeFlag GLEW_GET_FUN(__glewEdgeFlag)
  1453. #define glEdgeFlagPointer GLEW_GET_FUN(__glewEdgeFlagPointer)
  1454. #define glEdgeFlagv GLEW_GET_FUN(__glewEdgeFlagv)
  1455. #define glEnd GLEW_GET_FUN(__glewEnd)
  1456. #define glEndList GLEW_GET_FUN(__glewEndList)
  1457. #define glEvalCoord1d GLEW_GET_FUN(__glewEvalCoord1d)
  1458. #define glEvalCoord1dv GLEW_GET_FUN(__glewEvalCoord1dv)
  1459. #define glEvalCoord1f GLEW_GET_FUN(__glewEvalCoord1f)
  1460. #define glEvalCoord1fv GLEW_GET_FUN(__glewEvalCoord1fv)
  1461. #define glEvalCoord2d GLEW_GET_FUN(__glewEvalCoord2d)
  1462. #define glEvalCoord2dv GLEW_GET_FUN(__glewEvalCoord2dv)
  1463. #define glEvalCoord2f GLEW_GET_FUN(__glewEvalCoord2f)
  1464. #define glEvalCoord2fv GLEW_GET_FUN(__glewEvalCoord2fv)
  1465. #define glEvalMesh1 GLEW_GET_FUN(__glewEvalMesh1)
  1466. #define glEvalMesh2 GLEW_GET_FUN(__glewEvalMesh2)
  1467. #define glEvalPoint1 GLEW_GET_FUN(__glewEvalPoint1)
  1468. #define glEvalPoint2 GLEW_GET_FUN(__glewEvalPoint2)
  1469. #define glFeedbackBuffer GLEW_GET_FUN(__glewFeedbackBuffer)
  1470. #define glFogi GLEW_GET_FUN(__glewFogi)
  1471. #define glFogiv GLEW_GET_FUN(__glewFogiv)
  1472. #define glFrustum GLEW_GET_FUN(__glewFrustum)
  1473. #define glGenLists GLEW_GET_FUN(__glewGenLists)
  1474. #define glGetBooleanv GLEW_GET_FUN(__glewGetBooleanv)
  1475. #define glGetClipPlane GLEW_GET_FUN(__glewGetClipPlane)
  1476. #define glGetDoublev GLEW_GET_FUN(__glewGetDoublev)
  1477. #define glGetFloatv GLEW_GET_FUN(__glewGetFloatv)
  1478. #define glGetLightfv GLEW_GET_FUN(__glewGetLightfv)
  1479. #define glGetLightiv GLEW_GET_FUN(__glewGetLightiv)
  1480. #define glGetMapdv GLEW_GET_FUN(__glewGetMapdv)
  1481. #define glGetMapfv GLEW_GET_FUN(__glewGetMapfv)
  1482. #define glGetMapiv GLEW_GET_FUN(__glewGetMapiv)
  1483. #define glGetMaterialfv GLEW_GET_FUN(__glewGetMaterialfv)
  1484. #define glGetMaterialiv GLEW_GET_FUN(__glewGetMaterialiv)
  1485. #define glGetPixelMapfv GLEW_GET_FUN(__glewGetPixelMapfv)
  1486. #define glGetPixelMapuiv GLEW_GET_FUN(__glewGetPixelMapuiv)
  1487. #define glGetPixelMapusv GLEW_GET_FUN(__glewGetPixelMapusv)
  1488. #define glGetPointerv GLEW_GET_FUN(__glewGetPointerv)
  1489. #define glGetPolygonStipple GLEW_GET_FUN(__glewGetPolygonStipple)
  1490. #define glGetTexEnvfv GLEW_GET_FUN(__glewGetTexEnvfv)
  1491. #define glGetTexEnviv GLEW_GET_FUN(__glewGetTexEnviv)
  1492. #define glGetTexGendv GLEW_GET_FUN(__glewGetTexGendv)
  1493. #define glGetTexGenfv GLEW_GET_FUN(__glewGetTexGenfv)
  1494. #define glGetTexGeniv GLEW_GET_FUN(__glewGetTexGeniv)
  1495. #define glGetTexImage GLEW_GET_FUN(__glewGetTexImage)
  1496. #define glGetTexLevelParameterfv GLEW_GET_FUN(__glewGetTexLevelParameterfv)
  1497. #define glGetTexLevelParameteriv GLEW_GET_FUN(__glewGetTexLevelParameteriv)
  1498. #define glGetTexParameterfv GLEW_GET_FUN(__glewGetTexParameterfv)
  1499. #define glGetTexParameteriv GLEW_GET_FUN(__glewGetTexParameteriv)
  1500. #define glIndexMask GLEW_GET_FUN(__glewIndexMask)
  1501. #define glIndexPointer GLEW_GET_FUN(__glewIndexPointer)
  1502. #define glIndexd GLEW_GET_FUN(__glewIndexd)
  1503. #define glIndexdv GLEW_GET_FUN(__glewIndexdv)
  1504. #define glIndexf GLEW_GET_FUN(__glewIndexf)
  1505. #define glIndexfv GLEW_GET_FUN(__glewIndexfv)
  1506. #define glIndexi GLEW_GET_FUN(__glewIndexi)
  1507. #define glIndexiv GLEW_GET_FUN(__glewIndexiv)
  1508. #define glIndexs GLEW_GET_FUN(__glewIndexs)
  1509. #define glIndexsv GLEW_GET_FUN(__glewIndexsv)
  1510. #define glIndexub GLEW_GET_FUN(__glewIndexub)
  1511. #define glIndexubv GLEW_GET_FUN(__glewIndexubv)
  1512. #define glInitNames GLEW_GET_FUN(__glewInitNames)
  1513. #define glInterleavedArrays GLEW_GET_FUN(__glewInterleavedArrays)
  1514. #define glIsEnabled GLEW_GET_FUN(__glewIsEnabled)
  1515. #define glIsList GLEW_GET_FUN(__glewIsList)
  1516. #define glIsTexture GLEW_GET_FUN(__glewIsTexture)
  1517. #define glLightModeli GLEW_GET_FUN(__glewLightModeli)
  1518. #define glLightModeliv GLEW_GET_FUN(__glewLightModeliv)
  1519. #define glLighti GLEW_GET_FUN(__glewLighti)
  1520. #define glLightiv GLEW_GET_FUN(__glewLightiv)
  1521. #define glLineStipple GLEW_GET_FUN(__glewLineStipple)
  1522. #define glListBase GLEW_GET_FUN(__glewListBase)
  1523. #define glLoadMatrixd GLEW_GET_FUN(__glewLoadMatrixd)
  1524. #define glLoadName GLEW_GET_FUN(__glewLoadName)
  1525. #define glMap1d GLEW_GET_FUN(__glewMap1d)
  1526. #define glMap1f GLEW_GET_FUN(__glewMap1f)
  1527. #define glMap2d GLEW_GET_FUN(__glewMap2d)
  1528. #define glMap2f GLEW_GET_FUN(__glewMap2f)
  1529. #define glMapGrid1d GLEW_GET_FUN(__glewMapGrid1d)
  1530. #define glMapGrid1f GLEW_GET_FUN(__glewMapGrid1f)
  1531. #define glMapGrid2d GLEW_GET_FUN(__glewMapGrid2d)
  1532. #define glMapGrid2f GLEW_GET_FUN(__glewMapGrid2f)
  1533. #define glMateriali GLEW_GET_FUN(__glewMateriali)
  1534. #define glMaterialiv GLEW_GET_FUN(__glewMaterialiv)
  1535. #define glMultMatrixd GLEW_GET_FUN(__glewMultMatrixd)
  1536. #define glNewList GLEW_GET_FUN(__glewNewList)
  1537. #define glNormal3b GLEW_GET_FUN(__glewNormal3b)
  1538. #define glNormal3bv GLEW_GET_FUN(__glewNormal3bv)
  1539. #define glNormal3d GLEW_GET_FUN(__glewNormal3d)
  1540. #define glNormal3dv GLEW_GET_FUN(__glewNormal3dv)
  1541. #define glNormal3fv GLEW_GET_FUN(__glewNormal3fv)
  1542. #define glNormal3i GLEW_GET_FUN(__glewNormal3i)
  1543. #define glNormal3iv GLEW_GET_FUN(__glewNormal3iv)
  1544. #define glNormal3s GLEW_GET_FUN(__glewNormal3s)
  1545. #define glNormal3sv GLEW_GET_FUN(__glewNormal3sv)
  1546. #define glOrtho GLEW_GET_FUN(__glewOrtho)
  1547. #define glPassThrough GLEW_GET_FUN(__glewPassThrough)
  1548. #define glPixelMapfv GLEW_GET_FUN(__glewPixelMapfv)
  1549. #define glPixelMapuiv GLEW_GET_FUN(__glewPixelMapuiv)
  1550. #define glPixelMapusv GLEW_GET_FUN(__glewPixelMapusv)
  1551. #define glPixelStoref GLEW_GET_FUN(__glewPixelStoref)
  1552. #define glPixelTransferf GLEW_GET_FUN(__glewPixelTransferf)
  1553. #define glPixelTransferi GLEW_GET_FUN(__glewPixelTransferi)
  1554. #define glPixelZoom GLEW_GET_FUN(__glewPixelZoom)
  1555. #define glPolygonMode GLEW_GET_FUN(__glewPolygonMode)
  1556. #define glPolygonStipple GLEW_GET_FUN(__glewPolygonStipple)
  1557. #define glPopAttrib GLEW_GET_FUN(__glewPopAttrib)
  1558. #define glPopClientAttrib GLEW_GET_FUN(__glewPopClientAttrib)
  1559. #define glPopName GLEW_GET_FUN(__glewPopName)
  1560. #define glPrioritizeTextures GLEW_GET_FUN(__glewPrioritizeTextures)
  1561. #define glPushAttrib GLEW_GET_FUN(__glewPushAttrib)
  1562. #define glPushClientAttrib GLEW_GET_FUN(__glewPushClientAttrib)
  1563. #define glPushName GLEW_GET_FUN(__glewPushName)
  1564. #define glRasterPos2d GLEW_GET_FUN(__glewRasterPos2d)
  1565. #define glRasterPos2dv GLEW_GET_FUN(__glewRasterPos2dv)
  1566. #define glRasterPos2f GLEW_GET_FUN(__glewRasterPos2f)
  1567. #define glRasterPos2fv GLEW_GET_FUN(__glewRasterPos2fv)
  1568. #define glRasterPos2i GLEW_GET_FUN(__glewRasterPos2i)
  1569. #define glRasterPos2iv GLEW_GET_FUN(__glewRasterPos2iv)
  1570. #define glRasterPos2s GLEW_GET_FUN(__glewRasterPos2s)
  1571. #define glRasterPos2sv GLEW_GET_FUN(__glewRasterPos2sv)
  1572. #define glRasterPos3d GLEW_GET_FUN(__glewRasterPos3d)
  1573. #define glRasterPos3dv GLEW_GET_FUN(__glewRasterPos3dv)
  1574. #define glRasterPos3f GLEW_GET_FUN(__glewRasterPos3f)
  1575. #define glRasterPos3fv GLEW_GET_FUN(__glewRasterPos3fv)
  1576. #define glRasterPos3i GLEW_GET_FUN(__glewRasterPos3i)
  1577. #define glRasterPos3iv GLEW_GET_FUN(__glewRasterPos3iv)
  1578. #define glRasterPos3s GLEW_GET_FUN(__glewRasterPos3s)
  1579. #define glRasterPos3sv GLEW_GET_FUN(__glewRasterPos3sv)
  1580. #define glRasterPos4d GLEW_GET_FUN(__glewRasterPos4d)
  1581. #define glRasterPos4dv GLEW_GET_FUN(__glewRasterPos4dv)
  1582. #define glRasterPos4f GLEW_GET_FUN(__glewRasterPos4f)
  1583. #define glRasterPos4fv GLEW_GET_FUN(__glewRasterPos4fv)
  1584. #define glRasterPos4i GLEW_GET_FUN(__glewRasterPos4i)
  1585. #define glRasterPos4iv GLEW_GET_FUN(__glewRasterPos4iv)
  1586. #define glRasterPos4s GLEW_GET_FUN(__glewRasterPos4s)
  1587. #define glRasterPos4sv GLEW_GET_FUN(__glewRasterPos4sv)
  1588. #define glReadBuffer GLEW_GET_FUN(__glewReadBuffer)
  1589. #define glRectd GLEW_GET_FUN(__glewRectd)
  1590. #define glRectdv GLEW_GET_FUN(__glewRectdv)
  1591. #define glRectf GLEW_GET_FUN(__glewRectf)
  1592. #define glRectfv GLEW_GET_FUN(__glewRectfv)
  1593. #define glRecti GLEW_GET_FUN(__glewRecti)
  1594. #define glRectiv GLEW_GET_FUN(__glewRectiv)
  1595. #define glRects GLEW_GET_FUN(__glewRects)
  1596. #define glRectsv GLEW_GET_FUN(__glewRectsv)
  1597. #define glRenderMode GLEW_GET_FUN(__glewRenderMode)
  1598. #define glRotated GLEW_GET_FUN(__glewRotated)
  1599. #define glScaled GLEW_GET_FUN(__glewScaled)
  1600. #define glSelectBuffer GLEW_GET_FUN(__glewSelectBuffer)
  1601. #define glTexCoord1d GLEW_GET_FUN(__glewTexCoord1d)
  1602. #define glTexCoord1dv GLEW_GET_FUN(__glewTexCoord1dv)
  1603. #define glTexCoord1f GLEW_GET_FUN(__glewTexCoord1f)
  1604. #define glTexCoord1fv GLEW_GET_FUN(__glewTexCoord1fv)
  1605. #define glTexCoord1i GLEW_GET_FUN(__glewTexCoord1i)
  1606. #define glTexCoord1iv GLEW_GET_FUN(__glewTexCoord1iv)
  1607. #define glTexCoord1s GLEW_GET_FUN(__glewTexCoord1s)
  1608. #define glTexCoord1sv GLEW_GET_FUN(__glewTexCoord1sv)
  1609. #define glTexCoord2d GLEW_GET_FUN(__glewTexCoord2d)
  1610. #define glTexCoord2dv GLEW_GET_FUN(__glewTexCoord2dv)
  1611. #define glTexCoord2f GLEW_GET_FUN(__glewTexCoord2f)
  1612. #define glTexCoord2fv GLEW_GET_FUN(__glewTexCoord2fv)
  1613. #define glTexCoord2i GLEW_GET_FUN(__glewTexCoord2i)
  1614. #define glTexCoord2iv GLEW_GET_FUN(__glewTexCoord2iv)
  1615. #define glTexCoord2s GLEW_GET_FUN(__glewTexCoord2s)
  1616. #define glTexCoord2sv GLEW_GET_FUN(__glewTexCoord2sv)
  1617. #define glTexCoord3d GLEW_GET_FUN(__glewTexCoord3d)
  1618. #define glTexCoord3dv GLEW_GET_FUN(__glewTexCoord3dv)
  1619. #define glTexCoord3f GLEW_GET_FUN(__glewTexCoord3f)
  1620. #define glTexCoord3fv GLEW_GET_FUN(__glewTexCoord3fv)
  1621. #define glTexCoord3i GLEW_GET_FUN(__glewTexCoord3i)
  1622. #define glTexCoord3iv GLEW_GET_FUN(__glewTexCoord3iv)
  1623. #define glTexCoord3s GLEW_GET_FUN(__glewTexCoord3s)
  1624. #define glTexCoord3sv GLEW_GET_FUN(__glewTexCoord3sv)
  1625. #define glTexCoord4d GLEW_GET_FUN(__glewTexCoord4d)
  1626. #define glTexCoord4dv GLEW_GET_FUN(__glewTexCoord4dv)
  1627. #define glTexCoord4f GLEW_GET_FUN(__glewTexCoord4f)
  1628. #define glTexCoord4fv GLEW_GET_FUN(__glewTexCoord4fv)
  1629. #define glTexCoord4i GLEW_GET_FUN(__glewTexCoord4i)
  1630. #define glTexCoord4iv GLEW_GET_FUN(__glewTexCoord4iv)
  1631. #define glTexCoord4s GLEW_GET_FUN(__glewTexCoord4s)
  1632. #define glTexCoord4sv GLEW_GET_FUN(__glewTexCoord4sv)
  1633. #define glTexEnvi GLEW_GET_FUN(__glewTexEnvi)
  1634. #define glTexEnviv GLEW_GET_FUN(__glewTexEnviv)
  1635. #define glTexGend GLEW_GET_FUN(__glewTexGend)
  1636. #define glTexGendv GLEW_GET_FUN(__glewTexGendv)
  1637. #define glTexGenf GLEW_GET_FUN(__glewTexGenf)
  1638. #define glTexGenfv GLEW_GET_FUN(__glewTexGenfv)
  1639. #define glTexGeni GLEW_GET_FUN(__glewTexGeni)
  1640. #define glTexGeniv GLEW_GET_FUN(__glewTexGeniv)
  1641. #define glTexImage1D GLEW_GET_FUN(__glewTexImage1D)
  1642. #define glTexParameterfv GLEW_GET_FUN(__glewTexParameterfv)
  1643. #define glTexParameteri GLEW_GET_FUN(__glewTexParameteri)
  1644. #define glTexParameteriv GLEW_GET_FUN(__glewTexParameteriv)
  1645. #define glTexSubImage1D GLEW_GET_FUN(__glewTexSubImage1D)
  1646. #define glTranslated GLEW_GET_FUN(__glewTranslated)
  1647. #define glVertex2d GLEW_GET_FUN(__glewVertex2d)
  1648. #define glVertex2dv GLEW_GET_FUN(__glewVertex2dv)
  1649. #define glVertex2f GLEW_GET_FUN(__glewVertex2f)
  1650. #define glVertex2fv GLEW_GET_FUN(__glewVertex2fv)
  1651. #define glVertex2i GLEW_GET_FUN(__glewVertex2i)
  1652. #define glVertex2iv GLEW_GET_FUN(__glewVertex2iv)
  1653. #define glVertex2s GLEW_GET_FUN(__glewVertex2s)
  1654. #define glVertex2sv GLEW_GET_FUN(__glewVertex2sv)
  1655. #define glVertex3d GLEW_GET_FUN(__glewVertex3d)
  1656. #define glVertex3dv GLEW_GET_FUN(__glewVertex3dv)
  1657. #define glVertex3f GLEW_GET_FUN(__glewVertex3f)
  1658. #define glVertex3fv GLEW_GET_FUN(__glewVertex3fv)
  1659. #define glVertex3i GLEW_GET_FUN(__glewVertex3i)
  1660. #define glVertex3iv GLEW_GET_FUN(__glewVertex3iv)
  1661. #define glVertex3s GLEW_GET_FUN(__glewVertex3s)
  1662. #define glVertex3sv GLEW_GET_FUN(__glewVertex3sv)
  1663. #define glVertex4d GLEW_GET_FUN(__glewVertex4d)
  1664. #define glVertex4dv GLEW_GET_FUN(__glewVertex4dv)
  1665. #define glVertex4f GLEW_GET_FUN(__glewVertex4f)
  1666. #define glVertex4fv GLEW_GET_FUN(__glewVertex4fv)
  1667. #define glVertex4i GLEW_GET_FUN(__glewVertex4i)
  1668. #define glVertex4iv GLEW_GET_FUN(__glewVertex4iv)
  1669. #define glVertex4s GLEW_GET_FUN(__glewVertex4s)
  1670. #define glVertex4sv GLEW_GET_FUN(__glewVertex4sv)
  1671. #define GLEW_VERSION_1_1 GLEW_GET_VAR(__GLEW_VERSION_1_1)
  1672. #endif /* !GL_VERSION_1_1 */
  1673. /* ----------------------------- GL_VERSION_1_2 ---------------------------- */
  1674. #if !defined(GL_VERSION_1_2)
  1675. #define GL_VERSION_1_2 1
  1676. #define GL_SMOOTH_POINT_SIZE_RANGE 0x0B12
  1677. #define GL_SMOOTH_POINT_SIZE_GRANULARITY 0x0B13
  1678. #define GL_SMOOTH_LINE_WIDTH_RANGE 0x0B22
  1679. #define GL_SMOOTH_LINE_WIDTH_GRANULARITY 0x0B23
  1680. #define GL_UNSIGNED_BYTE_3_3_2 0x8032
  1681. #define GL_UNSIGNED_SHORT_4_4_4_4 0x8033
  1682. #define GL_UNSIGNED_SHORT_5_5_5_1 0x8034
  1683. #define GL_UNSIGNED_INT_8_8_8_8 0x8035
  1684. #define GL_UNSIGNED_INT_10_10_10_2 0x8036
  1685. #define GL_RESCALE_NORMAL 0x803A
  1686. #define GL_TEXTURE_BINDING_3D 0x806A
  1687. #define GL_PACK_SKIP_IMAGES 0x806B
  1688. #define GL_PACK_IMAGE_HEIGHT 0x806C
  1689. #define GL_UNPACK_SKIP_IMAGES 0x806D
  1690. #define GL_UNPACK_IMAGE_HEIGHT 0x806E
  1691. #define GL_TEXTURE_3D 0x806F
  1692. #define GL_PROXY_TEXTURE_3D 0x8070
  1693. #define GL_TEXTURE_DEPTH 0x8071
  1694. #define GL_TEXTURE_WRAP_R 0x8072
  1695. #define GL_MAX_3D_TEXTURE_SIZE 0x8073
  1696. #define GL_BGR 0x80E0
  1697. #define GL_BGRA 0x80E1
  1698. #define GL_MAX_ELEMENTS_VERTICES 0x80E8
  1699. #define GL_MAX_ELEMENTS_INDICES 0x80E9
  1700. #define GL_CLAMP_TO_EDGE 0x812F
  1701. #define GL_TEXTURE_MIN_LOD 0x813A
  1702. #define GL_TEXTURE_MAX_LOD 0x813B
  1703. #define GL_TEXTURE_BASE_LEVEL 0x813C
  1704. #define GL_TEXTURE_MAX_LEVEL 0x813D
  1705. #define GL_LIGHT_MODEL_COLOR_CONTROL 0x81F8
  1706. #define GL_SINGLE_COLOR 0x81F9
  1707. #define GL_SEPARATE_SPECULAR_COLOR 0x81FA
  1708. #define GL_UNSIGNED_BYTE_2_3_3_REV 0x8362
  1709. #define GL_UNSIGNED_SHORT_5_6_5 0x8363
  1710. #define GL_UNSIGNED_SHORT_5_6_5_REV 0x8364
  1711. #define GL_UNSIGNED_SHORT_4_4_4_4_REV 0x8365
  1712. #define GL_UNSIGNED_SHORT_1_5_5_5_REV 0x8366
  1713. #define GL_UNSIGNED_INT_8_8_8_8_REV 0x8367
  1714. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  1715. #define GL_ALIASED_POINT_SIZE_RANGE 0x846D
  1716. #define GL_ALIASED_LINE_WIDTH_RANGE 0x846E
  1717. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  1718. typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  1719. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DPROC) (GLenum target, GLint level, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const GLvoid *pixels);
  1720. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const GLvoid *pixels);
  1721. #define glCopyTexSubImage3D GLEW_GET_FUN(__glewCopyTexSubImage3D)
  1722. #define glDrawRangeElements GLEW_GET_FUN(__glewDrawRangeElements)
  1723. #define glTexImage3D GLEW_GET_FUN(__glewTexImage3D)
  1724. #define glTexSubImage3D GLEW_GET_FUN(__glewTexSubImage3D)
  1725. #define GLEW_VERSION_1_2 GLEW_GET_VAR(__GLEW_VERSION_1_2)
  1726. #endif /* !GL_VERSION_1_2 */
  1727. /* ---------------------------- GL_VERSION_1_2_1 --------------------------- */
  1728. #if !defined(GL_VERSION_1_2_1)
  1729. #define GL_VERSION_1_2_1 1
  1730. #define GLEW_VERSION_1_2_1 GLEW_GET_VAR(__GLEW_VERSION_1_2_1)
  1731. #endif /* !GL_VERSION_1_2_1 */
  1732. /* ----------------------------- GL_VERSION_1_3 ---------------------------- */
  1733. #if !defined(GL_VERSION_1_3)
  1734. #define GL_VERSION_1_3 1
  1735. #define GL_MULTISAMPLE 0x809D
  1736. #define GL_SAMPLE_ALPHA_TO_COVERAGE 0x809E
  1737. #define GL_SAMPLE_ALPHA_TO_ONE 0x809F
  1738. #define GL_SAMPLE_COVERAGE 0x80A0
  1739. #define GL_SAMPLE_BUFFERS 0x80A8
  1740. #define GL_SAMPLES 0x80A9
  1741. #define GL_SAMPLE_COVERAGE_VALUE 0x80AA
  1742. #define GL_SAMPLE_COVERAGE_INVERT 0x80AB
  1743. #define GL_CLAMP_TO_BORDER 0x812D
  1744. #define GL_TEXTURE0 0x84C0
  1745. #define GL_TEXTURE1 0x84C1
  1746. #define GL_TEXTURE2 0x84C2
  1747. #define GL_TEXTURE3 0x84C3
  1748. #define GL_TEXTURE4 0x84C4
  1749. #define GL_TEXTURE5 0x84C5
  1750. #define GL_TEXTURE6 0x84C6
  1751. #define GL_TEXTURE7 0x84C7
  1752. #define GL_TEXTURE8 0x84C8
  1753. #define GL_TEXTURE9 0x84C9
  1754. #define GL_TEXTURE10 0x84CA
  1755. #define GL_TEXTURE11 0x84CB
  1756. #define GL_TEXTURE12 0x84CC
  1757. #define GL_TEXTURE13 0x84CD
  1758. #define GL_TEXTURE14 0x84CE
  1759. #define GL_TEXTURE15 0x84CF
  1760. #define GL_TEXTURE16 0x84D0
  1761. #define GL_TEXTURE17 0x84D1
  1762. #define GL_TEXTURE18 0x84D2
  1763. #define GL_TEXTURE19 0x84D3
  1764. #define GL_TEXTURE20 0x84D4
  1765. #define GL_TEXTURE21 0x84D5
  1766. #define GL_TEXTURE22 0x84D6
  1767. #define GL_TEXTURE23 0x84D7
  1768. #define GL_TEXTURE24 0x84D8
  1769. #define GL_TEXTURE25 0x84D9
  1770. #define GL_TEXTURE26 0x84DA
  1771. #define GL_TEXTURE27 0x84DB
  1772. #define GL_TEXTURE28 0x84DC
  1773. #define GL_TEXTURE29 0x84DD
  1774. #define GL_TEXTURE30 0x84DE
  1775. #define GL_TEXTURE31 0x84DF
  1776. #define GL_ACTIVE_TEXTURE 0x84E0
  1777. #define GL_CLIENT_ACTIVE_TEXTURE 0x84E1
  1778. #define GL_MAX_TEXTURE_UNITS 0x84E2
  1779. #define GL_TRANSPOSE_MODELVIEW_MATRIX 0x84E3
  1780. #define GL_TRANSPOSE_PROJECTION_MATRIX 0x84E4
  1781. #define GL_TRANSPOSE_TEXTURE_MATRIX 0x84E5
  1782. #define GL_TRANSPOSE_COLOR_MATRIX 0x84E6
  1783. #define GL_SUBTRACT 0x84E7
  1784. #define GL_COMPRESSED_ALPHA 0x84E9
  1785. #define GL_COMPRESSED_LUMINANCE 0x84EA
  1786. #define GL_COMPRESSED_LUMINANCE_ALPHA 0x84EB
  1787. #define GL_COMPRESSED_INTENSITY 0x84EC
  1788. #define GL_COMPRESSED_RGB 0x84ED
  1789. #define GL_COMPRESSED_RGBA 0x84EE
  1790. #define GL_TEXTURE_COMPRESSION_HINT 0x84EF
  1791. #define GL_NORMAL_MAP 0x8511
  1792. #define GL_REFLECTION_MAP 0x8512
  1793. #define GL_TEXTURE_CUBE_MAP 0x8513
  1794. #define GL_TEXTURE_BINDING_CUBE_MAP 0x8514
  1795. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X 0x8515
  1796. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X 0x8516
  1797. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y 0x8517
  1798. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y 0x8518
  1799. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z 0x8519
  1800. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z 0x851A
  1801. #define GL_PROXY_TEXTURE_CUBE_MAP 0x851B
  1802. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE 0x851C
  1803. #define GL_COMBINE 0x8570
  1804. #define GL_COMBINE_RGB 0x8571
  1805. #define GL_COMBINE_ALPHA 0x8572
  1806. #define GL_RGB_SCALE 0x8573
  1807. #define GL_ADD_SIGNED 0x8574
  1808. #define GL_INTERPOLATE 0x8575
  1809. #define GL_CONSTANT 0x8576
  1810. #define GL_PRIMARY_COLOR 0x8577
  1811. #define GL_PREVIOUS 0x8578
  1812. #define GL_SOURCE0_RGB 0x8580
  1813. #define GL_SOURCE1_RGB 0x8581
  1814. #define GL_SOURCE2_RGB 0x8582
  1815. #define GL_SOURCE0_ALPHA 0x8588
  1816. #define GL_SOURCE1_ALPHA 0x8589
  1817. #define GL_SOURCE2_ALPHA 0x858A
  1818. #define GL_OPERAND0_RGB 0x8590
  1819. #define GL_OPERAND1_RGB 0x8591
  1820. #define GL_OPERAND2_RGB 0x8592
  1821. #define GL_OPERAND0_ALPHA 0x8598
  1822. #define GL_OPERAND1_ALPHA 0x8599
  1823. #define GL_OPERAND2_ALPHA 0x859A
  1824. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE 0x86A0
  1825. #define GL_TEXTURE_COMPRESSED 0x86A1
  1826. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS 0x86A2
  1827. #define GL_COMPRESSED_TEXTURE_FORMATS 0x86A3
  1828. #define GL_DOT3_RGB 0x86AE
  1829. #define GL_DOT3_RGBA 0x86AF
  1830. #define GL_MULTISAMPLE_BIT 0x20000000
  1831. typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREPROC) (GLenum texture);
  1832. typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREPROC) (GLenum texture);
  1833. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const GLvoid *data);
  1834. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const GLvoid *data);
  1835. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const GLvoid *data);
  1836. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const GLvoid *data);
  1837. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const GLvoid *data);
  1838. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const GLvoid *data);
  1839. typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEPROC) (GLenum target, GLint lod, GLvoid *img);
  1840. typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
  1841. typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
  1842. typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDPROC) (const GLdouble m[16]);
  1843. typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFPROC) (const GLfloat m[16]);
  1844. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DPROC) (GLenum target, GLdouble s);
  1845. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVPROC) (GLenum target, const GLdouble *v);
  1846. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FPROC) (GLenum target, GLfloat s);
  1847. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVPROC) (GLenum target, const GLfloat *v);
  1848. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IPROC) (GLenum target, GLint s);
  1849. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVPROC) (GLenum target, const GLint *v);
  1850. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SPROC) (GLenum target, GLshort s);
  1851. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVPROC) (GLenum target, const GLshort *v);
  1852. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DPROC) (GLenum target, GLdouble s, GLdouble t);
  1853. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVPROC) (GLenum target, const GLdouble *v);
  1854. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FPROC) (GLenum target, GLfloat s, GLfloat t);
  1855. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVPROC) (GLenum target, const GLfloat *v);
  1856. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IPROC) (GLenum target, GLint s, GLint t);
  1857. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVPROC) (GLenum target, const GLint *v);
  1858. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SPROC) (GLenum target, GLshort s, GLshort t);
  1859. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVPROC) (GLenum target, const GLshort *v);
  1860. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  1861. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVPROC) (GLenum target, const GLdouble *v);
  1862. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  1863. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVPROC) (GLenum target, const GLfloat *v);
  1864. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IPROC) (GLenum target, GLint s, GLint t, GLint r);
  1865. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVPROC) (GLenum target, const GLint *v);
  1866. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  1867. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVPROC) (GLenum target, const GLshort *v);
  1868. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  1869. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVPROC) (GLenum target, const GLdouble *v);
  1870. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  1871. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVPROC) (GLenum target, const GLfloat *v);
  1872. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  1873. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVPROC) (GLenum target, const GLint *v);
  1874. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  1875. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVPROC) (GLenum target, const GLshort *v);
  1876. typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEPROC) (GLclampf value, GLboolean invert);
  1877. #define glActiveTexture GLEW_GET_FUN(__glewActiveTexture)
  1878. #define glClientActiveTexture GLEW_GET_FUN(__glewClientActiveTexture)
  1879. #define glCompressedTexImage1D GLEW_GET_FUN(__glewCompressedTexImage1D)
  1880. #define glCompressedTexImage2D GLEW_GET_FUN(__glewCompressedTexImage2D)
  1881. #define glCompressedTexImage3D GLEW_GET_FUN(__glewCompressedTexImage3D)
  1882. #define glCompressedTexSubImage1D GLEW_GET_FUN(__glewCompressedTexSubImage1D)
  1883. #define glCompressedTexSubImage2D GLEW_GET_FUN(__glewCompressedTexSubImage2D)
  1884. #define glCompressedTexSubImage3D GLEW_GET_FUN(__glewCompressedTexSubImage3D)
  1885. #define glGetCompressedTexImage GLEW_GET_FUN(__glewGetCompressedTexImage)
  1886. #define glLoadTransposeMatrixd GLEW_GET_FUN(__glewLoadTransposeMatrixd)
  1887. #define glLoadTransposeMatrixf GLEW_GET_FUN(__glewLoadTransposeMatrixf)
  1888. #define glMultTransposeMatrixd GLEW_GET_FUN(__glewMultTransposeMatrixd)
  1889. #define glMultTransposeMatrixf GLEW_GET_FUN(__glewMultTransposeMatrixf)
  1890. #define glMultiTexCoord1d GLEW_GET_FUN(__glewMultiTexCoord1d)
  1891. #define glMultiTexCoord1dv GLEW_GET_FUN(__glewMultiTexCoord1dv)
  1892. #define glMultiTexCoord1f GLEW_GET_FUN(__glewMultiTexCoord1f)
  1893. #define glMultiTexCoord1fv GLEW_GET_FUN(__glewMultiTexCoord1fv)
  1894. #define glMultiTexCoord1i GLEW_GET_FUN(__glewMultiTexCoord1i)
  1895. #define glMultiTexCoord1iv GLEW_GET_FUN(__glewMultiTexCoord1iv)
  1896. #define glMultiTexCoord1s GLEW_GET_FUN(__glewMultiTexCoord1s)
  1897. #define glMultiTexCoord1sv GLEW_GET_FUN(__glewMultiTexCoord1sv)
  1898. #define glMultiTexCoord2d GLEW_GET_FUN(__glewMultiTexCoord2d)
  1899. #define glMultiTexCoord2dv GLEW_GET_FUN(__glewMultiTexCoord2dv)
  1900. #define glMultiTexCoord2f GLEW_GET_FUN(__glewMultiTexCoord2f)
  1901. #define glMultiTexCoord2fv GLEW_GET_FUN(__glewMultiTexCoord2fv)
  1902. #define glMultiTexCoord2i GLEW_GET_FUN(__glewMultiTexCoord2i)
  1903. #define glMultiTexCoord2iv GLEW_GET_FUN(__glewMultiTexCoord2iv)
  1904. #define glMultiTexCoord2s GLEW_GET_FUN(__glewMultiTexCoord2s)
  1905. #define glMultiTexCoord2sv GLEW_GET_FUN(__glewMultiTexCoord2sv)
  1906. #define glMultiTexCoord3d GLEW_GET_FUN(__glewMultiTexCoord3d)
  1907. #define glMultiTexCoord3dv GLEW_GET_FUN(__glewMultiTexCoord3dv)
  1908. #define glMultiTexCoord3f GLEW_GET_FUN(__glewMultiTexCoord3f)
  1909. #define glMultiTexCoord3fv GLEW_GET_FUN(__glewMultiTexCoord3fv)
  1910. #define glMultiTexCoord3i GLEW_GET_FUN(__glewMultiTexCoord3i)
  1911. #define glMultiTexCoord3iv GLEW_GET_FUN(__glewMultiTexCoord3iv)
  1912. #define glMultiTexCoord3s GLEW_GET_FUN(__glewMultiTexCoord3s)
  1913. #define glMultiTexCoord3sv GLEW_GET_FUN(__glewMultiTexCoord3sv)
  1914. #define glMultiTexCoord4d GLEW_GET_FUN(__glewMultiTexCoord4d)
  1915. #define glMultiTexCoord4dv GLEW_GET_FUN(__glewMultiTexCoord4dv)
  1916. #define glMultiTexCoord4f GLEW_GET_FUN(__glewMultiTexCoord4f)
  1917. #define glMultiTexCoord4fv GLEW_GET_FUN(__glewMultiTexCoord4fv)
  1918. #define glMultiTexCoord4i GLEW_GET_FUN(__glewMultiTexCoord4i)
  1919. #define glMultiTexCoord4iv GLEW_GET_FUN(__glewMultiTexCoord4iv)
  1920. #define glMultiTexCoord4s GLEW_GET_FUN(__glewMultiTexCoord4s)
  1921. #define glMultiTexCoord4sv GLEW_GET_FUN(__glewMultiTexCoord4sv)
  1922. #define glSampleCoverage GLEW_GET_FUN(__glewSampleCoverage)
  1923. #define GLEW_VERSION_1_3 GLEW_GET_VAR(__GLEW_VERSION_1_3)
  1924. #endif /* !GL_VERSION_1_3 */
  1925. /* ----------------------------- GL_VERSION_1_4 ---------------------------- */
  1926. #if !defined(GL_VERSION_1_4)
  1927. #define GL_VERSION_1_4 1
  1928. #define GL_BLEND_DST_RGB 0x80C8
  1929. #define GL_BLEND_SRC_RGB 0x80C9
  1930. #define GL_BLEND_DST_ALPHA 0x80CA
  1931. #define GL_BLEND_SRC_ALPHA 0x80CB
  1932. #define GL_POINT_SIZE_MIN 0x8126
  1933. #define GL_POINT_SIZE_MAX 0x8127
  1934. #define GL_POINT_FADE_THRESHOLD_SIZE 0x8128
  1935. #define GL_POINT_DISTANCE_ATTENUATION 0x8129
  1936. #define GL_GENERATE_MIPMAP 0x8191
  1937. #define GL_GENERATE_MIPMAP_HINT 0x8192
  1938. #define GL_DEPTH_COMPONENT16 0x81A5
  1939. #define GL_DEPTH_COMPONENT24 0x81A6
  1940. #define GL_DEPTH_COMPONENT32 0x81A7
  1941. #define GL_MIRRORED_REPEAT 0x8370
  1942. #define GL_FOG_COORDINATE_SOURCE 0x8450
  1943. #define GL_FOG_COORDINATE 0x8451
  1944. #define GL_FRAGMENT_DEPTH 0x8452
  1945. #define GL_CURRENT_FOG_COORDINATE 0x8453
  1946. #define GL_FOG_COORDINATE_ARRAY_TYPE 0x8454
  1947. #define GL_FOG_COORDINATE_ARRAY_STRIDE 0x8455
  1948. #define GL_FOG_COORDINATE_ARRAY_POINTER 0x8456
  1949. #define GL_FOG_COORDINATE_ARRAY 0x8457
  1950. #define GL_COLOR_SUM 0x8458
  1951. #define GL_CURRENT_SECONDARY_COLOR 0x8459
  1952. #define GL_SECONDARY_COLOR_ARRAY_SIZE 0x845A
  1953. #define GL_SECONDARY_COLOR_ARRAY_TYPE 0x845B
  1954. #define GL_SECONDARY_COLOR_ARRAY_STRIDE 0x845C
  1955. #define GL_SECONDARY_COLOR_ARRAY_POINTER 0x845D
  1956. #define GL_SECONDARY_COLOR_ARRAY 0x845E
  1957. #define GL_MAX_TEXTURE_LOD_BIAS 0x84FD
  1958. #define GL_TEXTURE_FILTER_CONTROL 0x8500
  1959. #define GL_TEXTURE_LOD_BIAS 0x8501
  1960. #define GL_INCR_WRAP 0x8507
  1961. #define GL_DECR_WRAP 0x8508
  1962. #define GL_TEXTURE_DEPTH_SIZE 0x884A
  1963. #define GL_DEPTH_TEXTURE_MODE 0x884B
  1964. #define GL_TEXTURE_COMPARE_MODE 0x884C
  1965. #define GL_TEXTURE_COMPARE_FUNC 0x884D
  1966. #define GL_COMPARE_R_TO_TEXTURE 0x884E
  1967. typedef void (GLAPIENTRY * PFNGLBLENDCOLORPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  1968. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONPROC) (GLenum mode);
  1969. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  1970. typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  1971. typedef void (GLAPIENTRY * PFNGLFOGCOORDDPROC) (GLdouble coord);
  1972. typedef void (GLAPIENTRY * PFNGLFOGCOORDDVPROC) (const GLdouble *coord);
  1973. typedef void (GLAPIENTRY * PFNGLFOGCOORDFPROC) (GLfloat coord);
  1974. typedef void (GLAPIENTRY * PFNGLFOGCOORDFVPROC) (const GLfloat *coord);
  1975. typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  1976. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSPROC) (GLenum mode, const GLsizei *count, GLenum type, const GLvoid **indices, GLsizei primcount);
  1977. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFPROC) (GLenum pname, GLfloat param);
  1978. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVPROC) (GLenum pname, const GLfloat *params);
  1979. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIPROC) (GLenum pname, GLint param);
  1980. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVPROC) (GLenum pname, const GLint *params);
  1981. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BPROC) (GLbyte red, GLbyte green, GLbyte blue);
  1982. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVPROC) (const GLbyte *v);
  1983. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DPROC) (GLdouble red, GLdouble green, GLdouble blue);
  1984. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVPROC) (const GLdouble *v);
  1985. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FPROC) (GLfloat red, GLfloat green, GLfloat blue);
  1986. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVPROC) (const GLfloat *v);
  1987. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IPROC) (GLint red, GLint green, GLint blue);
  1988. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVPROC) (const GLint *v);
  1989. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SPROC) (GLshort red, GLshort green, GLshort blue);
  1990. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVPROC) (const GLshort *v);
  1991. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBPROC) (GLubyte red, GLubyte green, GLubyte blue);
  1992. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVPROC) (const GLubyte *v);
  1993. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIPROC) (GLuint red, GLuint green, GLuint blue);
  1994. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVPROC) (const GLuint *v);
  1995. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USPROC) (GLushort red, GLushort green, GLushort blue);
  1996. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVPROC) (const GLushort *v);
  1997. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  1998. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DPROC) (GLdouble x, GLdouble y);
  1999. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVPROC) (const GLdouble *p);
  2000. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FPROC) (GLfloat x, GLfloat y);
  2001. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVPROC) (const GLfloat *p);
  2002. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IPROC) (GLint x, GLint y);
  2003. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVPROC) (const GLint *p);
  2004. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SPROC) (GLshort x, GLshort y);
  2005. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVPROC) (const GLshort *p);
  2006. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DPROC) (GLdouble x, GLdouble y, GLdouble z);
  2007. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVPROC) (const GLdouble *p);
  2008. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FPROC) (GLfloat x, GLfloat y, GLfloat z);
  2009. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVPROC) (const GLfloat *p);
  2010. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IPROC) (GLint x, GLint y, GLint z);
  2011. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVPROC) (const GLint *p);
  2012. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SPROC) (GLshort x, GLshort y, GLshort z);
  2013. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVPROC) (const GLshort *p);
  2014. #define glBlendColor GLEW_GET_FUN(__glewBlendColor)
  2015. #define glBlendEquation GLEW_GET_FUN(__glewBlendEquation)
  2016. #define glBlendFuncSeparate GLEW_GET_FUN(__glewBlendFuncSeparate)
  2017. #define glFogCoordPointer GLEW_GET_FUN(__glewFogCoordPointer)
  2018. #define glFogCoordd GLEW_GET_FUN(__glewFogCoordd)
  2019. #define glFogCoorddv GLEW_GET_FUN(__glewFogCoorddv)
  2020. #define glFogCoordf GLEW_GET_FUN(__glewFogCoordf)
  2021. #define glFogCoordfv GLEW_GET_FUN(__glewFogCoordfv)
  2022. #define glMultiDrawArrays GLEW_GET_FUN(__glewMultiDrawArrays)
  2023. #define glMultiDrawElements GLEW_GET_FUN(__glewMultiDrawElements)
  2024. #define glPointParameterf GLEW_GET_FUN(__glewPointParameterf)
  2025. #define glPointParameterfv GLEW_GET_FUN(__glewPointParameterfv)
  2026. #define glPointParameteri GLEW_GET_FUN(__glewPointParameteri)
  2027. #define glPointParameteriv GLEW_GET_FUN(__glewPointParameteriv)
  2028. #define glSecondaryColor3b GLEW_GET_FUN(__glewSecondaryColor3b)
  2029. #define glSecondaryColor3bv GLEW_GET_FUN(__glewSecondaryColor3bv)
  2030. #define glSecondaryColor3d GLEW_GET_FUN(__glewSecondaryColor3d)
  2031. #define glSecondaryColor3dv GLEW_GET_FUN(__glewSecondaryColor3dv)
  2032. #define glSecondaryColor3f GLEW_GET_FUN(__glewSecondaryColor3f)
  2033. #define glSecondaryColor3fv GLEW_GET_FUN(__glewSecondaryColor3fv)
  2034. #define glSecondaryColor3i GLEW_GET_FUN(__glewSecondaryColor3i)
  2035. #define glSecondaryColor3iv GLEW_GET_FUN(__glewSecondaryColor3iv)
  2036. #define glSecondaryColor3s GLEW_GET_FUN(__glewSecondaryColor3s)
  2037. #define glSecondaryColor3sv GLEW_GET_FUN(__glewSecondaryColor3sv)
  2038. #define glSecondaryColor3ub GLEW_GET_FUN(__glewSecondaryColor3ub)
  2039. #define glSecondaryColor3ubv GLEW_GET_FUN(__glewSecondaryColor3ubv)
  2040. #define glSecondaryColor3ui GLEW_GET_FUN(__glewSecondaryColor3ui)
  2041. #define glSecondaryColor3uiv GLEW_GET_FUN(__glewSecondaryColor3uiv)
  2042. #define glSecondaryColor3us GLEW_GET_FUN(__glewSecondaryColor3us)
  2043. #define glSecondaryColor3usv GLEW_GET_FUN(__glewSecondaryColor3usv)
  2044. #define glSecondaryColorPointer GLEW_GET_FUN(__glewSecondaryColorPointer)
  2045. #define glWindowPos2d GLEW_GET_FUN(__glewWindowPos2d)
  2046. #define glWindowPos2dv GLEW_GET_FUN(__glewWindowPos2dv)
  2047. #define glWindowPos2f GLEW_GET_FUN(__glewWindowPos2f)
  2048. #define glWindowPos2fv GLEW_GET_FUN(__glewWindowPos2fv)
  2049. #define glWindowPos2i GLEW_GET_FUN(__glewWindowPos2i)
  2050. #define glWindowPos2iv GLEW_GET_FUN(__glewWindowPos2iv)
  2051. #define glWindowPos2s GLEW_GET_FUN(__glewWindowPos2s)
  2052. #define glWindowPos2sv GLEW_GET_FUN(__glewWindowPos2sv)
  2053. #define glWindowPos3d GLEW_GET_FUN(__glewWindowPos3d)
  2054. #define glWindowPos3dv GLEW_GET_FUN(__glewWindowPos3dv)
  2055. #define glWindowPos3f GLEW_GET_FUN(__glewWindowPos3f)
  2056. #define glWindowPos3fv GLEW_GET_FUN(__glewWindowPos3fv)
  2057. #define glWindowPos3i GLEW_GET_FUN(__glewWindowPos3i)
  2058. #define glWindowPos3iv GLEW_GET_FUN(__glewWindowPos3iv)
  2059. #define glWindowPos3s GLEW_GET_FUN(__glewWindowPos3s)
  2060. #define glWindowPos3sv GLEW_GET_FUN(__glewWindowPos3sv)
  2061. #define GLEW_VERSION_1_4 GLEW_GET_VAR(__GLEW_VERSION_1_4)
  2062. #endif /* !GL_VERSION_1_4 */
  2063. /* ----------------------------- GL_VERSION_1_5 ---------------------------- */
  2064. #if !defined(GL_VERSION_1_5)
  2065. #define GL_VERSION_1_5 1
  2066. #define GL_FOG_COORD_SRC GL_FOG_COORDINATE_SOURCE
  2067. #define GL_FOG_COORD GL_FOG_COORDINATE
  2068. #define GL_FOG_COORD_ARRAY GL_FOG_COORDINATE_ARRAY
  2069. #define GL_SRC0_RGB GL_SOURCE0_RGB
  2070. #define GL_FOG_COORD_ARRAY_POINTER GL_FOG_COORDINATE_ARRAY_POINTER
  2071. #define GL_FOG_COORD_ARRAY_TYPE GL_FOG_COORDINATE_ARRAY_TYPE
  2072. #define GL_SRC1_ALPHA GL_SOURCE1_ALPHA
  2073. #define GL_CURRENT_FOG_COORD GL_CURRENT_FOG_COORDINATE
  2074. #define GL_FOG_COORD_ARRAY_STRIDE GL_FOG_COORDINATE_ARRAY_STRIDE
  2075. #define GL_SRC0_ALPHA GL_SOURCE0_ALPHA
  2076. #define GL_SRC1_RGB GL_SOURCE1_RGB
  2077. #define GL_FOG_COORD_ARRAY_BUFFER_BINDING GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING
  2078. #define GL_SRC2_ALPHA GL_SOURCE2_ALPHA
  2079. #define GL_SRC2_RGB GL_SOURCE2_RGB
  2080. #define GL_BUFFER_SIZE 0x8764
  2081. #define GL_BUFFER_USAGE 0x8765
  2082. #define GL_QUERY_COUNTER_BITS 0x8864
  2083. #define GL_CURRENT_QUERY 0x8865
  2084. #define GL_QUERY_RESULT 0x8866
  2085. #define GL_QUERY_RESULT_AVAILABLE 0x8867
  2086. #define GL_ARRAY_BUFFER 0x8892
  2087. #define GL_ELEMENT_ARRAY_BUFFER 0x8893
  2088. #define GL_ARRAY_BUFFER_BINDING 0x8894
  2089. #define GL_ELEMENT_ARRAY_BUFFER_BINDING 0x8895
  2090. #define GL_VERTEX_ARRAY_BUFFER_BINDING 0x8896
  2091. #define GL_NORMAL_ARRAY_BUFFER_BINDING 0x8897
  2092. #define GL_COLOR_ARRAY_BUFFER_BINDING 0x8898
  2093. #define GL_INDEX_ARRAY_BUFFER_BINDING 0x8899
  2094. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING 0x889A
  2095. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING 0x889B
  2096. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING 0x889C
  2097. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING 0x889D
  2098. #define GL_WEIGHT_ARRAY_BUFFER_BINDING 0x889E
  2099. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING 0x889F
  2100. #define GL_READ_ONLY 0x88B8
  2101. #define GL_WRITE_ONLY 0x88B9
  2102. #define GL_READ_WRITE 0x88BA
  2103. #define GL_BUFFER_ACCESS 0x88BB
  2104. #define GL_BUFFER_MAPPED 0x88BC
  2105. #define GL_BUFFER_MAP_POINTER 0x88BD
  2106. #define GL_STREAM_DRAW 0x88E0
  2107. #define GL_STREAM_READ 0x88E1
  2108. #define GL_STREAM_COPY 0x88E2
  2109. #define GL_STATIC_DRAW 0x88E4
  2110. #define GL_STATIC_READ 0x88E5
  2111. #define GL_STATIC_COPY 0x88E6
  2112. #define GL_DYNAMIC_DRAW 0x88E8
  2113. #define GL_DYNAMIC_READ 0x88E9
  2114. #define GL_DYNAMIC_COPY 0x88EA
  2115. #define GL_SAMPLES_PASSED 0x8914
  2116. typedef ptrdiff_t GLintptr;
  2117. typedef ptrdiff_t GLsizeiptr;
  2118. typedef void (GLAPIENTRY * PFNGLBEGINQUERYPROC) (GLenum target, GLuint id);
  2119. typedef void (GLAPIENTRY * PFNGLBINDBUFFERPROC) (GLenum target, GLuint buffer);
  2120. typedef void (GLAPIENTRY * PFNGLBUFFERDATAPROC) (GLenum target, GLsizeiptr size, const GLvoid* data, GLenum usage);
  2121. typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, const GLvoid* data);
  2122. typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSPROC) (GLsizei n, const GLuint* buffers);
  2123. typedef void (GLAPIENTRY * PFNGLDELETEQUERIESPROC) (GLsizei n, const GLuint* ids);
  2124. typedef void (GLAPIENTRY * PFNGLENDQUERYPROC) (GLenum target);
  2125. typedef void (GLAPIENTRY * PFNGLGENBUFFERSPROC) (GLsizei n, GLuint* buffers);
  2126. typedef void (GLAPIENTRY * PFNGLGENQUERIESPROC) (GLsizei n, GLuint* ids);
  2127. typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
  2128. typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVPROC) (GLenum target, GLenum pname, GLvoid** params);
  2129. typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAPROC) (GLenum target, GLintptr offset, GLsizeiptr size, GLvoid* data);
  2130. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVPROC) (GLuint id, GLenum pname, GLint* params);
  2131. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVPROC) (GLuint id, GLenum pname, GLuint* params);
  2132. typedef void (GLAPIENTRY * PFNGLGETQUERYIVPROC) (GLenum target, GLenum pname, GLint* params);
  2133. typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERPROC) (GLuint buffer);
  2134. typedef GLboolean (GLAPIENTRY * PFNGLISQUERYPROC) (GLuint id);
  2135. typedef GLvoid* (GLAPIENTRY * PFNGLMAPBUFFERPROC) (GLenum target, GLenum access);
  2136. typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERPROC) (GLenum target);
  2137. #define glBeginQuery GLEW_GET_FUN(__glewBeginQuery)
  2138. #define glBindBuffer GLEW_GET_FUN(__glewBindBuffer)
  2139. #define glBufferData GLEW_GET_FUN(__glewBufferData)
  2140. #define glBufferSubData GLEW_GET_FUN(__glewBufferSubData)
  2141. #define glDeleteBuffers GLEW_GET_FUN(__glewDeleteBuffers)
  2142. #define glDeleteQueries GLEW_GET_FUN(__glewDeleteQueries)
  2143. #define glEndQuery GLEW_GET_FUN(__glewEndQuery)
  2144. #define glGenBuffers GLEW_GET_FUN(__glewGenBuffers)
  2145. #define glGenQueries GLEW_GET_FUN(__glewGenQueries)
  2146. #define glGetBufferParameteriv GLEW_GET_FUN(__glewGetBufferParameteriv)
  2147. #define glGetBufferPointerv GLEW_GET_FUN(__glewGetBufferPointerv)
  2148. #define glGetBufferSubData GLEW_GET_FUN(__glewGetBufferSubData)
  2149. #define glGetQueryObjectiv GLEW_GET_FUN(__glewGetQueryObjectiv)
  2150. #define glGetQueryObjectuiv GLEW_GET_FUN(__glewGetQueryObjectuiv)
  2151. #define glGetQueryiv GLEW_GET_FUN(__glewGetQueryiv)
  2152. #define glIsBuffer GLEW_GET_FUN(__glewIsBuffer)
  2153. #define glIsQuery GLEW_GET_FUN(__glewIsQuery)
  2154. #define glMapBuffer GLEW_GET_FUN(__glewMapBuffer)
  2155. #define glUnmapBuffer GLEW_GET_FUN(__glewUnmapBuffer)
  2156. #define GLEW_VERSION_1_5 GLEW_GET_VAR(__GLEW_VERSION_1_5)
  2157. #endif /* !GL_VERSION_1_5 */
  2158. /* ----------------------------- GL_VERSION_2_0 ---------------------------- */
  2159. #if !defined(GL_VERSION_2_0)
  2160. #define GL_VERSION_2_0 1
  2161. #define GL_BLEND_EQUATION_RGB GL_BLEND_EQUATION
  2162. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED 0x8622
  2163. #define GL_VERTEX_ATTRIB_ARRAY_SIZE 0x8623
  2164. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE 0x8624
  2165. #define GL_VERTEX_ATTRIB_ARRAY_TYPE 0x8625
  2166. #define GL_CURRENT_VERTEX_ATTRIB 0x8626
  2167. #define GL_VERTEX_PROGRAM_POINT_SIZE 0x8642
  2168. #define GL_VERTEX_PROGRAM_TWO_SIDE 0x8643
  2169. #define GL_VERTEX_ATTRIB_ARRAY_POINTER 0x8645
  2170. #define GL_STENCIL_BACK_FUNC 0x8800
  2171. #define GL_STENCIL_BACK_FAIL 0x8801
  2172. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL 0x8802
  2173. #define GL_STENCIL_BACK_PASS_DEPTH_PASS 0x8803
  2174. #define GL_MAX_DRAW_BUFFERS 0x8824
  2175. #define GL_DRAW_BUFFER0 0x8825
  2176. #define GL_DRAW_BUFFER1 0x8826
  2177. #define GL_DRAW_BUFFER2 0x8827
  2178. #define GL_DRAW_BUFFER3 0x8828
  2179. #define GL_DRAW_BUFFER4 0x8829
  2180. #define GL_DRAW_BUFFER5 0x882A
  2181. #define GL_DRAW_BUFFER6 0x882B
  2182. #define GL_DRAW_BUFFER7 0x882C
  2183. #define GL_DRAW_BUFFER8 0x882D
  2184. #define GL_DRAW_BUFFER9 0x882E
  2185. #define GL_DRAW_BUFFER10 0x882F
  2186. #define GL_DRAW_BUFFER11 0x8830
  2187. #define GL_DRAW_BUFFER12 0x8831
  2188. #define GL_DRAW_BUFFER13 0x8832
  2189. #define GL_DRAW_BUFFER14 0x8833
  2190. #define GL_DRAW_BUFFER15 0x8834
  2191. #define GL_BLEND_EQUATION_ALPHA 0x883D
  2192. #define GL_POINT_SPRITE 0x8861
  2193. #define GL_COORD_REPLACE 0x8862
  2194. #define GL_MAX_VERTEX_ATTRIBS 0x8869
  2195. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED 0x886A
  2196. #define GL_MAX_TEXTURE_COORDS 0x8871
  2197. #define GL_MAX_TEXTURE_IMAGE_UNITS 0x8872
  2198. #define GL_FRAGMENT_SHADER 0x8B30
  2199. #define GL_VERTEX_SHADER 0x8B31
  2200. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS 0x8B49
  2201. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS 0x8B4A
  2202. #define GL_MAX_VARYING_FLOATS 0x8B4B
  2203. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS 0x8B4C
  2204. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS 0x8B4D
  2205. #define GL_SHADER_TYPE 0x8B4F
  2206. #define GL_FLOAT_VEC2 0x8B50
  2207. #define GL_FLOAT_VEC3 0x8B51
  2208. #define GL_FLOAT_VEC4 0x8B52
  2209. #define GL_INT_VEC2 0x8B53
  2210. #define GL_INT_VEC3 0x8B54
  2211. #define GL_INT_VEC4 0x8B55
  2212. #define GL_BOOL 0x8B56
  2213. #define GL_BOOL_VEC2 0x8B57
  2214. #define GL_BOOL_VEC3 0x8B58
  2215. #define GL_BOOL_VEC4 0x8B59
  2216. #define GL_FLOAT_MAT2 0x8B5A
  2217. #define GL_FLOAT_MAT3 0x8B5B
  2218. #define GL_FLOAT_MAT4 0x8B5C
  2219. #define GL_SAMPLER_1D 0x8B5D
  2220. #define GL_SAMPLER_2D 0x8B5E
  2221. #define GL_SAMPLER_3D 0x8B5F
  2222. #define GL_SAMPLER_CUBE 0x8B60
  2223. #define GL_SAMPLER_1D_SHADOW 0x8B61
  2224. #define GL_SAMPLER_2D_SHADOW 0x8B62
  2225. #define GL_DELETE_STATUS 0x8B80
  2226. #define GL_COMPILE_STATUS 0x8B81
  2227. #define GL_LINK_STATUS 0x8B82
  2228. #define GL_VALIDATE_STATUS 0x8B83
  2229. #define GL_INFO_LOG_LENGTH 0x8B84
  2230. #define GL_ATTACHED_SHADERS 0x8B85
  2231. #define GL_ACTIVE_UNIFORMS 0x8B86
  2232. #define GL_ACTIVE_UNIFORM_MAX_LENGTH 0x8B87
  2233. #define GL_SHADER_SOURCE_LENGTH 0x8B88
  2234. #define GL_ACTIVE_ATTRIBUTES 0x8B89
  2235. #define GL_ACTIVE_ATTRIBUTE_MAX_LENGTH 0x8B8A
  2236. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT 0x8B8B
  2237. #define GL_SHADING_LANGUAGE_VERSION 0x8B8C
  2238. #define GL_CURRENT_PROGRAM 0x8B8D
  2239. #define GL_POINT_SPRITE_COORD_ORIGIN 0x8CA0
  2240. #define GL_LOWER_LEFT 0x8CA1
  2241. #define GL_UPPER_LEFT 0x8CA2
  2242. #define GL_STENCIL_BACK_REF 0x8CA3
  2243. #define GL_STENCIL_BACK_VALUE_MASK 0x8CA4
  2244. #define GL_STENCIL_BACK_WRITEMASK 0x8CA5
  2245. typedef void (GLAPIENTRY * PFNGLATTACHSHADERPROC) (GLuint program, GLuint shader);
  2246. typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONPROC) (GLuint program, GLuint index, const GLchar* name);
  2247. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEPROC) (GLenum, GLenum);
  2248. typedef void (GLAPIENTRY * PFNGLCOMPILESHADERPROC) (GLuint shader);
  2249. typedef GLuint (GLAPIENTRY * PFNGLCREATEPROGRAMPROC) (void);
  2250. typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROC) (GLenum type);
  2251. typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPROC) (GLuint program);
  2252. typedef void (GLAPIENTRY * PFNGLDELETESHADERPROC) (GLuint shader);
  2253. typedef void (GLAPIENTRY * PFNGLDETACHSHADERPROC) (GLuint program, GLuint shader);
  2254. typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYPROC) (GLuint);
  2255. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSPROC) (GLsizei n, const GLenum* bufs);
  2256. typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYPROC) (GLuint);
  2257. typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
  2258. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMPROC) (GLuint program, GLuint index, GLsizei maxLength, GLsizei* length, GLint* size, GLenum* type, GLchar* name);
  2259. typedef void (GLAPIENTRY * PFNGLGETATTACHEDSHADERSPROC) (GLuint program, GLsizei maxCount, GLsizei* count, GLuint* shaders);
  2260. typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONPROC) (GLuint program, const GLchar* name);
  2261. typedef void (GLAPIENTRY * PFNGLGETPROGRAMINFOLOGPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
  2262. typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVPROC) (GLuint program, GLenum pname, GLint* param);
  2263. typedef void (GLAPIENTRY * PFNGLGETSHADERINFOLOGPROC) (GLuint shader, GLsizei bufSize, GLsizei* length, GLchar* infoLog);
  2264. typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEPROC) (GLuint obj, GLsizei maxLength, GLsizei* length, GLchar* source);
  2265. typedef void (GLAPIENTRY * PFNGLGETSHADERIVPROC) (GLuint shader, GLenum pname, GLint* param);
  2266. typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONPROC) (GLuint program, const GLchar* name);
  2267. typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVPROC) (GLuint program, GLint location, GLfloat* params);
  2268. typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVPROC) (GLuint program, GLint location, GLint* params);
  2269. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVPROC) (GLuint, GLenum, GLvoid**);
  2270. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVPROC) (GLuint, GLenum, GLdouble*);
  2271. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVPROC) (GLuint, GLenum, GLfloat*);
  2272. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVPROC) (GLuint, GLenum, GLint*);
  2273. typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPROC) (GLuint program);
  2274. typedef GLboolean (GLAPIENTRY * PFNGLISSHADERPROC) (GLuint shader);
  2275. typedef void (GLAPIENTRY * PFNGLLINKPROGRAMPROC) (GLuint program);
  2276. typedef void (GLAPIENTRY * PFNGLSHADERSOURCEPROC) (GLuint shader, GLsizei count, const GLchar** strings, const GLint* lengths);
  2277. typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  2278. typedef void (GLAPIENTRY * PFNGLSTENCILMASKSEPARATEPROC) (GLenum, GLuint);
  2279. typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  2280. typedef void (GLAPIENTRY * PFNGLUNIFORM1FPROC) (GLint location, GLfloat v0);
  2281. typedef void (GLAPIENTRY * PFNGLUNIFORM1FVPROC) (GLint location, GLsizei count, const GLfloat* value);
  2282. typedef void (GLAPIENTRY * PFNGLUNIFORM1IPROC) (GLint location, GLint v0);
  2283. typedef void (GLAPIENTRY * PFNGLUNIFORM1IVPROC) (GLint location, GLsizei count, const GLint* value);
  2284. typedef void (GLAPIENTRY * PFNGLUNIFORM2FPROC) (GLint location, GLfloat v0, GLfloat v1);
  2285. typedef void (GLAPIENTRY * PFNGLUNIFORM2FVPROC) (GLint location, GLsizei count, const GLfloat* value);
  2286. typedef void (GLAPIENTRY * PFNGLUNIFORM2IPROC) (GLint location, GLint v0, GLint v1);
  2287. typedef void (GLAPIENTRY * PFNGLUNIFORM2IVPROC) (GLint location, GLsizei count, const GLint* value);
  2288. typedef void (GLAPIENTRY * PFNGLUNIFORM3FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2289. typedef void (GLAPIENTRY * PFNGLUNIFORM3FVPROC) (GLint location, GLsizei count, const GLfloat* value);
  2290. typedef void (GLAPIENTRY * PFNGLUNIFORM3IPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  2291. typedef void (GLAPIENTRY * PFNGLUNIFORM3IVPROC) (GLint location, GLsizei count, const GLint* value);
  2292. typedef void (GLAPIENTRY * PFNGLUNIFORM4FPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2293. typedef void (GLAPIENTRY * PFNGLUNIFORM4FVPROC) (GLint location, GLsizei count, const GLfloat* value);
  2294. typedef void (GLAPIENTRY * PFNGLUNIFORM4IPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2295. typedef void (GLAPIENTRY * PFNGLUNIFORM4IVPROC) (GLint location, GLsizei count, const GLint* value);
  2296. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  2297. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  2298. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  2299. typedef void (GLAPIENTRY * PFNGLUSEPROGRAMPROC) (GLuint program);
  2300. typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPROC) (GLuint program);
  2301. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DPROC) (GLuint index, GLdouble x);
  2302. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVPROC) (GLuint index, const GLdouble* v);
  2303. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FPROC) (GLuint index, GLfloat x);
  2304. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVPROC) (GLuint index, const GLfloat* v);
  2305. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SPROC) (GLuint index, GLshort x);
  2306. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVPROC) (GLuint index, const GLshort* v);
  2307. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DPROC) (GLuint index, GLdouble x, GLdouble y);
  2308. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVPROC) (GLuint index, const GLdouble* v);
  2309. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FPROC) (GLuint index, GLfloat x, GLfloat y);
  2310. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVPROC) (GLuint index, const GLfloat* v);
  2311. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SPROC) (GLuint index, GLshort x, GLshort y);
  2312. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVPROC) (GLuint index, const GLshort* v);
  2313. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  2314. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVPROC) (GLuint index, const GLdouble* v);
  2315. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  2316. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVPROC) (GLuint index, const GLfloat* v);
  2317. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  2318. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVPROC) (GLuint index, const GLshort* v);
  2319. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVPROC) (GLuint index, const GLbyte* v);
  2320. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVPROC) (GLuint index, const GLint* v);
  2321. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVPROC) (GLuint index, const GLshort* v);
  2322. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  2323. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVPROC) (GLuint index, const GLubyte* v);
  2324. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVPROC) (GLuint index, const GLuint* v);
  2325. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVPROC) (GLuint index, const GLushort* v);
  2326. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVPROC) (GLuint index, const GLbyte* v);
  2327. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  2328. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVPROC) (GLuint index, const GLdouble* v);
  2329. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  2330. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVPROC) (GLuint index, const GLfloat* v);
  2331. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVPROC) (GLuint index, const GLint* v);
  2332. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  2333. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVPROC) (GLuint index, const GLshort* v);
  2334. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVPROC) (GLuint index, const GLubyte* v);
  2335. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVPROC) (GLuint index, const GLuint* v);
  2336. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVPROC) (GLuint index, const GLushort* v);
  2337. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid* pointer);
  2338. #define glAttachShader GLEW_GET_FUN(__glewAttachShader)
  2339. #define glBindAttribLocation GLEW_GET_FUN(__glewBindAttribLocation)
  2340. #define glBlendEquationSeparate GLEW_GET_FUN(__glewBlendEquationSeparate)
  2341. #define glCompileShader GLEW_GET_FUN(__glewCompileShader)
  2342. #define glCreateProgram GLEW_GET_FUN(__glewCreateProgram)
  2343. #define glCreateShader GLEW_GET_FUN(__glewCreateShader)
  2344. #define glDeleteProgram GLEW_GET_FUN(__glewDeleteProgram)
  2345. #define glDeleteShader GLEW_GET_FUN(__glewDeleteShader)
  2346. #define glDetachShader GLEW_GET_FUN(__glewDetachShader)
  2347. #define glDisableVertexAttribArray GLEW_GET_FUN(__glewDisableVertexAttribArray)
  2348. #define glDrawBuffers GLEW_GET_FUN(__glewDrawBuffers)
  2349. #define glEnableVertexAttribArray GLEW_GET_FUN(__glewEnableVertexAttribArray)
  2350. #define glGetActiveAttrib GLEW_GET_FUN(__glewGetActiveAttrib)
  2351. #define glGetActiveUniform GLEW_GET_FUN(__glewGetActiveUniform)
  2352. #define glGetAttachedShaders GLEW_GET_FUN(__glewGetAttachedShaders)
  2353. #define glGetAttribLocation GLEW_GET_FUN(__glewGetAttribLocation)
  2354. #define glGetProgramInfoLog GLEW_GET_FUN(__glewGetProgramInfoLog)
  2355. #define glGetProgramiv GLEW_GET_FUN(__glewGetProgramiv)
  2356. #define glGetShaderInfoLog GLEW_GET_FUN(__glewGetShaderInfoLog)
  2357. #define glGetShaderSource GLEW_GET_FUN(__glewGetShaderSource)
  2358. #define glGetShaderiv GLEW_GET_FUN(__glewGetShaderiv)
  2359. #define glGetUniformLocation GLEW_GET_FUN(__glewGetUniformLocation)
  2360. #define glGetUniformfv GLEW_GET_FUN(__glewGetUniformfv)
  2361. #define glGetUniformiv GLEW_GET_FUN(__glewGetUniformiv)
  2362. #define glGetVertexAttribPointerv GLEW_GET_FUN(__glewGetVertexAttribPointerv)
  2363. #define glGetVertexAttribdv GLEW_GET_FUN(__glewGetVertexAttribdv)
  2364. #define glGetVertexAttribfv GLEW_GET_FUN(__glewGetVertexAttribfv)
  2365. #define glGetVertexAttribiv GLEW_GET_FUN(__glewGetVertexAttribiv)
  2366. #define glIsProgram GLEW_GET_FUN(__glewIsProgram)
  2367. #define glIsShader GLEW_GET_FUN(__glewIsShader)
  2368. #define glLinkProgram GLEW_GET_FUN(__glewLinkProgram)
  2369. #define glShaderSource GLEW_GET_FUN(__glewShaderSource)
  2370. #define glStencilFuncSeparate GLEW_GET_FUN(__glewStencilFuncSeparate)
  2371. #define glStencilMaskSeparate GLEW_GET_FUN(__glewStencilMaskSeparate)
  2372. #define glStencilOpSeparate GLEW_GET_FUN(__glewStencilOpSeparate)
  2373. #define glUniform1f GLEW_GET_FUN(__glewUniform1f)
  2374. #define glUniform1fv GLEW_GET_FUN(__glewUniform1fv)
  2375. #define glUniform1i GLEW_GET_FUN(__glewUniform1i)
  2376. #define glUniform1iv GLEW_GET_FUN(__glewUniform1iv)
  2377. #define glUniform2f GLEW_GET_FUN(__glewUniform2f)
  2378. #define glUniform2fv GLEW_GET_FUN(__glewUniform2fv)
  2379. #define glUniform2i GLEW_GET_FUN(__glewUniform2i)
  2380. #define glUniform2iv GLEW_GET_FUN(__glewUniform2iv)
  2381. #define glUniform3f GLEW_GET_FUN(__glewUniform3f)
  2382. #define glUniform3fv GLEW_GET_FUN(__glewUniform3fv)
  2383. #define glUniform3i GLEW_GET_FUN(__glewUniform3i)
  2384. #define glUniform3iv GLEW_GET_FUN(__glewUniform3iv)
  2385. #define glUniform4f GLEW_GET_FUN(__glewUniform4f)
  2386. #define glUniform4fv GLEW_GET_FUN(__glewUniform4fv)
  2387. #define glUniform4i GLEW_GET_FUN(__glewUniform4i)
  2388. #define glUniform4iv GLEW_GET_FUN(__glewUniform4iv)
  2389. #define glUniformMatrix2fv GLEW_GET_FUN(__glewUniformMatrix2fv)
  2390. #define glUniformMatrix3fv GLEW_GET_FUN(__glewUniformMatrix3fv)
  2391. #define glUniformMatrix4fv GLEW_GET_FUN(__glewUniformMatrix4fv)
  2392. #define glUseProgram GLEW_GET_FUN(__glewUseProgram)
  2393. #define glValidateProgram GLEW_GET_FUN(__glewValidateProgram)
  2394. #define glVertexAttrib1d GLEW_GET_FUN(__glewVertexAttrib1d)
  2395. #define glVertexAttrib1dv GLEW_GET_FUN(__glewVertexAttrib1dv)
  2396. #define glVertexAttrib1f GLEW_GET_FUN(__glewVertexAttrib1f)
  2397. #define glVertexAttrib1fv GLEW_GET_FUN(__glewVertexAttrib1fv)
  2398. #define glVertexAttrib1s GLEW_GET_FUN(__glewVertexAttrib1s)
  2399. #define glVertexAttrib1sv GLEW_GET_FUN(__glewVertexAttrib1sv)
  2400. #define glVertexAttrib2d GLEW_GET_FUN(__glewVertexAttrib2d)
  2401. #define glVertexAttrib2dv GLEW_GET_FUN(__glewVertexAttrib2dv)
  2402. #define glVertexAttrib2f GLEW_GET_FUN(__glewVertexAttrib2f)
  2403. #define glVertexAttrib2fv GLEW_GET_FUN(__glewVertexAttrib2fv)
  2404. #define glVertexAttrib2s GLEW_GET_FUN(__glewVertexAttrib2s)
  2405. #define glVertexAttrib2sv GLEW_GET_FUN(__glewVertexAttrib2sv)
  2406. #define glVertexAttrib3d GLEW_GET_FUN(__glewVertexAttrib3d)
  2407. #define glVertexAttrib3dv GLEW_GET_FUN(__glewVertexAttrib3dv)
  2408. #define glVertexAttrib3f GLEW_GET_FUN(__glewVertexAttrib3f)
  2409. #define glVertexAttrib3fv GLEW_GET_FUN(__glewVertexAttrib3fv)
  2410. #define glVertexAttrib3s GLEW_GET_FUN(__glewVertexAttrib3s)
  2411. #define glVertexAttrib3sv GLEW_GET_FUN(__glewVertexAttrib3sv)
  2412. #define glVertexAttrib4Nbv GLEW_GET_FUN(__glewVertexAttrib4Nbv)
  2413. #define glVertexAttrib4Niv GLEW_GET_FUN(__glewVertexAttrib4Niv)
  2414. #define glVertexAttrib4Nsv GLEW_GET_FUN(__glewVertexAttrib4Nsv)
  2415. #define glVertexAttrib4Nub GLEW_GET_FUN(__glewVertexAttrib4Nub)
  2416. #define glVertexAttrib4Nubv GLEW_GET_FUN(__glewVertexAttrib4Nubv)
  2417. #define glVertexAttrib4Nuiv GLEW_GET_FUN(__glewVertexAttrib4Nuiv)
  2418. #define glVertexAttrib4Nusv GLEW_GET_FUN(__glewVertexAttrib4Nusv)
  2419. #define glVertexAttrib4bv GLEW_GET_FUN(__glewVertexAttrib4bv)
  2420. #define glVertexAttrib4d GLEW_GET_FUN(__glewVertexAttrib4d)
  2421. #define glVertexAttrib4dv GLEW_GET_FUN(__glewVertexAttrib4dv)
  2422. #define glVertexAttrib4f GLEW_GET_FUN(__glewVertexAttrib4f)
  2423. #define glVertexAttrib4fv GLEW_GET_FUN(__glewVertexAttrib4fv)
  2424. #define glVertexAttrib4iv GLEW_GET_FUN(__glewVertexAttrib4iv)
  2425. #define glVertexAttrib4s GLEW_GET_FUN(__glewVertexAttrib4s)
  2426. #define glVertexAttrib4sv GLEW_GET_FUN(__glewVertexAttrib4sv)
  2427. #define glVertexAttrib4ubv GLEW_GET_FUN(__glewVertexAttrib4ubv)
  2428. #define glVertexAttrib4uiv GLEW_GET_FUN(__glewVertexAttrib4uiv)
  2429. #define glVertexAttrib4usv GLEW_GET_FUN(__glewVertexAttrib4usv)
  2430. #define glVertexAttribPointer GLEW_GET_FUN(__glewVertexAttribPointer)
  2431. #define GLEW_VERSION_2_0 GLEW_GET_VAR(__GLEW_VERSION_2_0)
  2432. #endif /* !GL_VERSION_2_0 */
  2433. /* ----------------------------- GL_VERSION_2_1 ---------------------------- */
  2434. #if !defined(GL_VERSION_2_1)
  2435. #define GL_VERSION_2_1 1
  2436. #define GL_CURRENT_RASTER_SECONDARY_COLOR 0x845F
  2437. #define GL_PIXEL_PACK_BUFFER 0x88EB
  2438. #define GL_PIXEL_UNPACK_BUFFER 0x88EC
  2439. #define GL_PIXEL_PACK_BUFFER_BINDING 0x88ED
  2440. #define GL_PIXEL_UNPACK_BUFFER_BINDING 0x88EF
  2441. #define GL_FLOAT_MAT2x3 0x8B65
  2442. #define GL_FLOAT_MAT2x4 0x8B66
  2443. #define GL_FLOAT_MAT3x2 0x8B67
  2444. #define GL_FLOAT_MAT3x4 0x8B68
  2445. #define GL_FLOAT_MAT4x2 0x8B69
  2446. #define GL_FLOAT_MAT4x3 0x8B6A
  2447. #define GL_SRGB 0x8C40
  2448. #define GL_SRGB8 0x8C41
  2449. #define GL_SRGB_ALPHA 0x8C42
  2450. #define GL_SRGB8_ALPHA8 0x8C43
  2451. #define GL_SLUMINANCE_ALPHA 0x8C44
  2452. #define GL_SLUMINANCE8_ALPHA8 0x8C45
  2453. #define GL_SLUMINANCE 0x8C46
  2454. #define GL_SLUMINANCE8 0x8C47
  2455. #define GL_COMPRESSED_SRGB 0x8C48
  2456. #define GL_COMPRESSED_SRGB_ALPHA 0x8C49
  2457. #define GL_COMPRESSED_SLUMINANCE 0x8C4A
  2458. #define GL_COMPRESSED_SLUMINANCE_ALPHA 0x8C4B
  2459. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2460. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2461. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2462. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2463. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2464. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3FVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2465. #define glUniformMatrix2x3fv GLEW_GET_FUN(__glewUniformMatrix2x3fv)
  2466. #define glUniformMatrix2x4fv GLEW_GET_FUN(__glewUniformMatrix2x4fv)
  2467. #define glUniformMatrix3x2fv GLEW_GET_FUN(__glewUniformMatrix3x2fv)
  2468. #define glUniformMatrix3x4fv GLEW_GET_FUN(__glewUniformMatrix3x4fv)
  2469. #define glUniformMatrix4x2fv GLEW_GET_FUN(__glewUniformMatrix4x2fv)
  2470. #define glUniformMatrix4x3fv GLEW_GET_FUN(__glewUniformMatrix4x3fv)
  2471. #define GLEW_VERSION_2_1 GLEW_GET_VAR(__GLEW_VERSION_2_1)
  2472. #endif /* !GL_VERSION_2_1 */
  2473. /* ----------------------------- GL_VERSION_3_0 ---------------------------- */
  2474. #if !defined(GL_VERSION_3_0)
  2475. #define GL_VERSION_3_0 1
  2476. #define GL_MAX_CLIP_DISTANCES GL_MAX_CLIP_PLANES
  2477. #define GL_CLIP_DISTANCE5 GL_CLIP_PLANE5
  2478. #define GL_CLIP_DISTANCE1 GL_CLIP_PLANE1
  2479. #define GL_CLIP_DISTANCE3 GL_CLIP_PLANE3
  2480. #define GL_COMPARE_REF_TO_TEXTURE GL_COMPARE_R_TO_TEXTURE_ARB
  2481. #define GL_CLIP_DISTANCE0 GL_CLIP_PLANE0
  2482. #define GL_CLIP_DISTANCE4 GL_CLIP_PLANE4
  2483. #define GL_CLIP_DISTANCE2 GL_CLIP_PLANE2
  2484. #define GL_MAX_VARYING_COMPONENTS GL_MAX_VARYING_FLOATS
  2485. #define GL_CONTEXT_FLAG_FORWARD_COMPATIBLE_BIT 0x0001
  2486. #define GL_MAJOR_VERSION 0x821B
  2487. #define GL_MINOR_VERSION 0x821C
  2488. #define GL_NUM_EXTENSIONS 0x821D
  2489. #define GL_CONTEXT_FLAGS 0x821E
  2490. #define GL_DEPTH_BUFFER 0x8223
  2491. #define GL_STENCIL_BUFFER 0x8224
  2492. #define GL_COMPRESSED_RED 0x8225
  2493. #define GL_COMPRESSED_RG 0x8226
  2494. #define GL_RGBA32F 0x8814
  2495. #define GL_RGB32F 0x8815
  2496. #define GL_RGBA16F 0x881A
  2497. #define GL_RGB16F 0x881B
  2498. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER 0x88FD
  2499. #define GL_MAX_ARRAY_TEXTURE_LAYERS 0x88FF
  2500. #define GL_MIN_PROGRAM_TEXEL_OFFSET 0x8904
  2501. #define GL_MAX_PROGRAM_TEXEL_OFFSET 0x8905
  2502. #define GL_CLAMP_VERTEX_COLOR 0x891A
  2503. #define GL_CLAMP_FRAGMENT_COLOR 0x891B
  2504. #define GL_CLAMP_READ_COLOR 0x891C
  2505. #define GL_FIXED_ONLY 0x891D
  2506. #define GL_TEXTURE_RED_TYPE 0x8C10
  2507. #define GL_TEXTURE_GREEN_TYPE 0x8C11
  2508. #define GL_TEXTURE_BLUE_TYPE 0x8C12
  2509. #define GL_TEXTURE_ALPHA_TYPE 0x8C13
  2510. #define GL_TEXTURE_LUMINANCE_TYPE 0x8C14
  2511. #define GL_TEXTURE_INTENSITY_TYPE 0x8C15
  2512. #define GL_TEXTURE_DEPTH_TYPE 0x8C16
  2513. #define GL_UNSIGNED_NORMALIZED 0x8C17
  2514. #define GL_TEXTURE_1D_ARRAY 0x8C18
  2515. #define GL_PROXY_TEXTURE_1D_ARRAY 0x8C19
  2516. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  2517. #define GL_PROXY_TEXTURE_2D_ARRAY 0x8C1B
  2518. #define GL_TEXTURE_BINDING_1D_ARRAY 0x8C1C
  2519. #define GL_TEXTURE_BINDING_2D_ARRAY 0x8C1D
  2520. #define GL_R11F_G11F_B10F 0x8C3A
  2521. #define GL_UNSIGNED_INT_10F_11F_11F_REV 0x8C3B
  2522. #define GL_RGB9_E5 0x8C3D
  2523. #define GL_UNSIGNED_INT_5_9_9_9_REV 0x8C3E
  2524. #define GL_TEXTURE_SHARED_SIZE 0x8C3F
  2525. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH 0x8C76
  2526. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE 0x8C7F
  2527. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS 0x8C80
  2528. #define GL_TRANSFORM_FEEDBACK_VARYINGS 0x8C83
  2529. #define GL_TRANSFORM_FEEDBACK_BUFFER_START 0x8C84
  2530. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE 0x8C85
  2531. #define GL_PRIMITIVES_GENERATED 0x8C87
  2532. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN 0x8C88
  2533. #define GL_RASTERIZER_DISCARD 0x8C89
  2534. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS 0x8C8A
  2535. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS 0x8C8B
  2536. #define GL_INTERLEAVED_ATTRIBS 0x8C8C
  2537. #define GL_SEPARATE_ATTRIBS 0x8C8D
  2538. #define GL_TRANSFORM_FEEDBACK_BUFFER 0x8C8E
  2539. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING 0x8C8F
  2540. #define GL_RGBA32UI 0x8D70
  2541. #define GL_RGB32UI 0x8D71
  2542. #define GL_RGBA16UI 0x8D76
  2543. #define GL_RGB16UI 0x8D77
  2544. #define GL_RGBA8UI 0x8D7C
  2545. #define GL_RGB8UI 0x8D7D
  2546. #define GL_RGBA32I 0x8D82
  2547. #define GL_RGB32I 0x8D83
  2548. #define GL_RGBA16I 0x8D88
  2549. #define GL_RGB16I 0x8D89
  2550. #define GL_RGBA8I 0x8D8E
  2551. #define GL_RGB8I 0x8D8F
  2552. #define GL_RED_INTEGER 0x8D94
  2553. #define GL_GREEN_INTEGER 0x8D95
  2554. #define GL_BLUE_INTEGER 0x8D96
  2555. #define GL_ALPHA_INTEGER 0x8D97
  2556. #define GL_RGB_INTEGER 0x8D98
  2557. #define GL_RGBA_INTEGER 0x8D99
  2558. #define GL_BGR_INTEGER 0x8D9A
  2559. #define GL_BGRA_INTEGER 0x8D9B
  2560. #define GL_SAMPLER_1D_ARRAY 0x8DC0
  2561. #define GL_SAMPLER_2D_ARRAY 0x8DC1
  2562. #define GL_SAMPLER_1D_ARRAY_SHADOW 0x8DC3
  2563. #define GL_SAMPLER_2D_ARRAY_SHADOW 0x8DC4
  2564. #define GL_SAMPLER_CUBE_SHADOW 0x8DC5
  2565. #define GL_UNSIGNED_INT_VEC2 0x8DC6
  2566. #define GL_UNSIGNED_INT_VEC3 0x8DC7
  2567. #define GL_UNSIGNED_INT_VEC4 0x8DC8
  2568. #define GL_INT_SAMPLER_1D 0x8DC9
  2569. #define GL_INT_SAMPLER_2D 0x8DCA
  2570. #define GL_INT_SAMPLER_3D 0x8DCB
  2571. #define GL_INT_SAMPLER_CUBE 0x8DCC
  2572. #define GL_INT_SAMPLER_1D_ARRAY 0x8DCE
  2573. #define GL_INT_SAMPLER_2D_ARRAY 0x8DCF
  2574. #define GL_UNSIGNED_INT_SAMPLER_1D 0x8DD1
  2575. #define GL_UNSIGNED_INT_SAMPLER_2D 0x8DD2
  2576. #define GL_UNSIGNED_INT_SAMPLER_3D 0x8DD3
  2577. #define GL_UNSIGNED_INT_SAMPLER_CUBE 0x8DD4
  2578. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY 0x8DD6
  2579. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY 0x8DD7
  2580. #define GL_QUERY_WAIT 0x8E13
  2581. #define GL_QUERY_NO_WAIT 0x8E14
  2582. #define GL_QUERY_BY_REGION_WAIT 0x8E15
  2583. #define GL_QUERY_BY_REGION_NO_WAIT 0x8E16
  2584. typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERPROC) (GLuint, GLenum);
  2585. typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKPROC) (GLenum);
  2586. typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONPROC) (GLuint, GLuint, const GLchar*);
  2587. typedef void (GLAPIENTRY * PFNGLCLAMPCOLORPROC) (GLenum, GLenum);
  2588. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFIPROC) (GLenum, GLint, GLfloat, GLint);
  2589. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERFVPROC) (GLenum, GLint, const GLfloat*);
  2590. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERIVPROC) (GLenum, GLint, const GLint*);
  2591. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERUIVPROC) (GLenum, GLint, const GLuint*);
  2592. typedef void (GLAPIENTRY * PFNGLCOLORMASKIPROC) (GLuint, GLboolean, GLboolean, GLboolean, GLboolean);
  2593. typedef void (GLAPIENTRY * PFNGLDISABLEIPROC) (GLenum, GLuint);
  2594. typedef void (GLAPIENTRY * PFNGLENABLEIPROC) (GLenum, GLuint);
  2595. typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERPROC) (void);
  2596. typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKPROC) (void);
  2597. typedef void (GLAPIENTRY * PFNGLGETBOOLEANI_VPROC) (GLenum, GLuint, GLboolean*);
  2598. typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONPROC) (GLuint, const GLchar*);
  2599. typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGIPROC) (GLenum, GLuint);
  2600. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVPROC) (GLenum, GLenum, GLint*);
  2601. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVPROC) (GLenum, GLenum, GLuint*);
  2602. typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGPROC) (GLuint, GLuint, GLsizei, GLsizei *, GLsizei *, GLenum *, GLchar *);
  2603. typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVPROC) (GLuint, GLint, GLuint*);
  2604. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVPROC) (GLuint, GLenum, GLint*);
  2605. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVPROC) (GLuint, GLenum, GLuint*);
  2606. typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDIPROC) (GLenum, GLuint);
  2607. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVPROC) (GLenum, GLenum, const GLint*);
  2608. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVPROC) (GLenum, GLenum, const GLuint*);
  2609. typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSPROC) (GLuint, GLsizei, const GLchar **, GLenum);
  2610. typedef void (GLAPIENTRY * PFNGLUNIFORM1UIPROC) (GLint, GLuint);
  2611. typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVPROC) (GLint, GLsizei, const GLuint*);
  2612. typedef void (GLAPIENTRY * PFNGLUNIFORM2UIPROC) (GLint, GLuint, GLuint);
  2613. typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVPROC) (GLint, GLsizei, const GLuint*);
  2614. typedef void (GLAPIENTRY * PFNGLUNIFORM3UIPROC) (GLint, GLuint, GLuint, GLuint);
  2615. typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVPROC) (GLint, GLsizei, const GLuint*);
  2616. typedef void (GLAPIENTRY * PFNGLUNIFORM4UIPROC) (GLint, GLuint, GLuint, GLuint, GLuint);
  2617. typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVPROC) (GLint, GLsizei, const GLuint*);
  2618. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IPROC) (GLuint, GLint);
  2619. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVPROC) (GLuint, const GLint*);
  2620. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIPROC) (GLuint, GLuint);
  2621. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVPROC) (GLuint, const GLuint*);
  2622. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IPROC) (GLuint, GLint, GLint);
  2623. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVPROC) (GLuint, const GLint*);
  2624. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIPROC) (GLuint, GLuint, GLuint);
  2625. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVPROC) (GLuint, const GLuint*);
  2626. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IPROC) (GLuint, GLint, GLint, GLint);
  2627. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVPROC) (GLuint, const GLint*);
  2628. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIPROC) (GLuint, GLuint, GLuint, GLuint);
  2629. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVPROC) (GLuint, const GLuint*);
  2630. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVPROC) (GLuint, const GLbyte*);
  2631. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IPROC) (GLuint, GLint, GLint, GLint, GLint);
  2632. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVPROC) (GLuint, const GLint*);
  2633. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVPROC) (GLuint, const GLshort*);
  2634. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVPROC) (GLuint, const GLubyte*);
  2635. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIPROC) (GLuint, GLuint, GLuint, GLuint, GLuint);
  2636. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVPROC) (GLuint, const GLuint*);
  2637. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVPROC) (GLuint, const GLushort*);
  2638. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTERPROC) (GLuint, GLint, GLenum, GLsizei, const GLvoid*);
  2639. #define glBeginConditionalRender GLEW_GET_FUN(__glewBeginConditionalRender)
  2640. #define glBeginTransformFeedback GLEW_GET_FUN(__glewBeginTransformFeedback)
  2641. #define glBindFragDataLocation GLEW_GET_FUN(__glewBindFragDataLocation)
  2642. #define glClampColor GLEW_GET_FUN(__glewClampColor)
  2643. #define glClearBufferfi GLEW_GET_FUN(__glewClearBufferfi)
  2644. #define glClearBufferfv GLEW_GET_FUN(__glewClearBufferfv)
  2645. #define glClearBufferiv GLEW_GET_FUN(__glewClearBufferiv)
  2646. #define glClearBufferuiv GLEW_GET_FUN(__glewClearBufferuiv)
  2647. #define glColorMaski GLEW_GET_FUN(__glewColorMaski)
  2648. #define glDisablei GLEW_GET_FUN(__glewDisablei)
  2649. #define glEnablei GLEW_GET_FUN(__glewEnablei)
  2650. #define glEndConditionalRender GLEW_GET_FUN(__glewEndConditionalRender)
  2651. #define glEndTransformFeedback GLEW_GET_FUN(__glewEndTransformFeedback)
  2652. #define glGetBooleani_v GLEW_GET_FUN(__glewGetBooleani_v)
  2653. #define glGetFragDataLocation GLEW_GET_FUN(__glewGetFragDataLocation)
  2654. #define glGetStringi GLEW_GET_FUN(__glewGetStringi)
  2655. #define glGetTexParameterIiv GLEW_GET_FUN(__glewGetTexParameterIiv)
  2656. #define glGetTexParameterIuiv GLEW_GET_FUN(__glewGetTexParameterIuiv)
  2657. #define glGetTransformFeedbackVarying GLEW_GET_FUN(__glewGetTransformFeedbackVarying)
  2658. #define glGetUniformuiv GLEW_GET_FUN(__glewGetUniformuiv)
  2659. #define glGetVertexAttribIiv GLEW_GET_FUN(__glewGetVertexAttribIiv)
  2660. #define glGetVertexAttribIuiv GLEW_GET_FUN(__glewGetVertexAttribIuiv)
  2661. #define glIsEnabledi GLEW_GET_FUN(__glewIsEnabledi)
  2662. #define glTexParameterIiv GLEW_GET_FUN(__glewTexParameterIiv)
  2663. #define glTexParameterIuiv GLEW_GET_FUN(__glewTexParameterIuiv)
  2664. #define glTransformFeedbackVaryings GLEW_GET_FUN(__glewTransformFeedbackVaryings)
  2665. #define glUniform1ui GLEW_GET_FUN(__glewUniform1ui)
  2666. #define glUniform1uiv GLEW_GET_FUN(__glewUniform1uiv)
  2667. #define glUniform2ui GLEW_GET_FUN(__glewUniform2ui)
  2668. #define glUniform2uiv GLEW_GET_FUN(__glewUniform2uiv)
  2669. #define glUniform3ui GLEW_GET_FUN(__glewUniform3ui)
  2670. #define glUniform3uiv GLEW_GET_FUN(__glewUniform3uiv)
  2671. #define glUniform4ui GLEW_GET_FUN(__glewUniform4ui)
  2672. #define glUniform4uiv GLEW_GET_FUN(__glewUniform4uiv)
  2673. #define glVertexAttribI1i GLEW_GET_FUN(__glewVertexAttribI1i)
  2674. #define glVertexAttribI1iv GLEW_GET_FUN(__glewVertexAttribI1iv)
  2675. #define glVertexAttribI1ui GLEW_GET_FUN(__glewVertexAttribI1ui)
  2676. #define glVertexAttribI1uiv GLEW_GET_FUN(__glewVertexAttribI1uiv)
  2677. #define glVertexAttribI2i GLEW_GET_FUN(__glewVertexAttribI2i)
  2678. #define glVertexAttribI2iv GLEW_GET_FUN(__glewVertexAttribI2iv)
  2679. #define glVertexAttribI2ui GLEW_GET_FUN(__glewVertexAttribI2ui)
  2680. #define glVertexAttribI2uiv GLEW_GET_FUN(__glewVertexAttribI2uiv)
  2681. #define glVertexAttribI3i GLEW_GET_FUN(__glewVertexAttribI3i)
  2682. #define glVertexAttribI3iv GLEW_GET_FUN(__glewVertexAttribI3iv)
  2683. #define glVertexAttribI3ui GLEW_GET_FUN(__glewVertexAttribI3ui)
  2684. #define glVertexAttribI3uiv GLEW_GET_FUN(__glewVertexAttribI3uiv)
  2685. #define glVertexAttribI4bv GLEW_GET_FUN(__glewVertexAttribI4bv)
  2686. #define glVertexAttribI4i GLEW_GET_FUN(__glewVertexAttribI4i)
  2687. #define glVertexAttribI4iv GLEW_GET_FUN(__glewVertexAttribI4iv)
  2688. #define glVertexAttribI4sv GLEW_GET_FUN(__glewVertexAttribI4sv)
  2689. #define glVertexAttribI4ubv GLEW_GET_FUN(__glewVertexAttribI4ubv)
  2690. #define glVertexAttribI4ui GLEW_GET_FUN(__glewVertexAttribI4ui)
  2691. #define glVertexAttribI4uiv GLEW_GET_FUN(__glewVertexAttribI4uiv)
  2692. #define glVertexAttribI4usv GLEW_GET_FUN(__glewVertexAttribI4usv)
  2693. #define glVertexAttribIPointer GLEW_GET_FUN(__glewVertexAttribIPointer)
  2694. #define GLEW_VERSION_3_0 GLEW_GET_VAR(__GLEW_VERSION_3_0)
  2695. #endif /* !GL_VERSION_3_0 */
  2696. /* ----------------------------- GL_VERSION_3_1 ---------------------------- */
  2697. #if !defined(GL_VERSION_3_1)
  2698. #define GL_VERSION_3_1 1
  2699. #define GL_TEXTURE_RECTANGLE 0x84F5
  2700. #define GL_TEXTURE_BINDING_RECTANGLE 0x84F6
  2701. #define GL_PROXY_TEXTURE_RECTANGLE 0x84F7
  2702. #define GL_MAX_RECTANGLE_TEXTURE_SIZE 0x84F8
  2703. #define GL_SAMPLER_2D_RECT 0x8B63
  2704. #define GL_SAMPLER_2D_RECT_SHADOW 0x8B64
  2705. #define GL_TEXTURE_BUFFER 0x8C2A
  2706. #define GL_MAX_TEXTURE_BUFFER_SIZE 0x8C2B
  2707. #define GL_TEXTURE_BINDING_BUFFER 0x8C2C
  2708. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING 0x8C2D
  2709. #define GL_TEXTURE_BUFFER_FORMAT 0x8C2E
  2710. #define GL_SAMPLER_BUFFER 0x8DC2
  2711. #define GL_INT_SAMPLER_2D_RECT 0x8DCD
  2712. #define GL_INT_SAMPLER_BUFFER 0x8DD0
  2713. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT 0x8DD5
  2714. #define GL_UNSIGNED_INT_SAMPLER_BUFFER 0x8DD8
  2715. #define GL_RED_SNORM 0x8F90
  2716. #define GL_RG_SNORM 0x8F91
  2717. #define GL_RGB_SNORM 0x8F92
  2718. #define GL_RGBA_SNORM 0x8F93
  2719. #define GL_R8_SNORM 0x8F94
  2720. #define GL_RG8_SNORM 0x8F95
  2721. #define GL_RGB8_SNORM 0x8F96
  2722. #define GL_RGBA8_SNORM 0x8F97
  2723. #define GL_R16_SNORM 0x8F98
  2724. #define GL_RG16_SNORM 0x8F99
  2725. #define GL_RGB16_SNORM 0x8F9A
  2726. #define GL_RGBA16_SNORM 0x8F9B
  2727. #define GL_SIGNED_NORMALIZED 0x8F9C
  2728. #define GL_PRIMITIVE_RESTART 0x8F9D
  2729. #define GL_PRIMITIVE_RESTART_INDEX 0x8F9E
  2730. #define GL_BUFFER_ACCESS_FLAGS 0x911F
  2731. #define GL_BUFFER_MAP_LENGTH 0x9120
  2732. #define GL_BUFFER_MAP_OFFSET 0x9121
  2733. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDPROC) (GLenum, GLint, GLsizei, GLsizei);
  2734. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDPROC) (GLenum, GLsizei, GLenum, const GLvoid*, GLsizei);
  2735. typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXPROC) (GLuint);
  2736. typedef void (GLAPIENTRY * PFNGLTEXBUFFERPROC) (GLenum, GLenum, GLuint);
  2737. #define glDrawArraysInstanced GLEW_GET_FUN(__glewDrawArraysInstanced)
  2738. #define glDrawElementsInstanced GLEW_GET_FUN(__glewDrawElementsInstanced)
  2739. #define glPrimitiveRestartIndex GLEW_GET_FUN(__glewPrimitiveRestartIndex)
  2740. #define glTexBuffer GLEW_GET_FUN(__glewTexBuffer)
  2741. #define GLEW_VERSION_3_1 GLEW_GET_VAR(__GLEW_VERSION_3_1)
  2742. #endif /* !GL_VERSION_3_1 */
  2743. /* ----------------------------- GL_VERSION_3_2 ---------------------------- */
  2744. #if !defined(GL_VERSION_3_2)
  2745. #define GL_VERSION_3_2 1
  2746. #define GL_CONTEXT_CORE_PROFILE_BIT 0x00000001
  2747. #define GL_CONTEXT_COMPATIBILITY_PROFILE_BIT 0x00000002
  2748. #define GL_LINES_ADJACENCY 0x000A
  2749. #define GL_LINE_STRIP_ADJACENCY 0x000B
  2750. #define GL_TRIANGLES_ADJACENCY 0x000C
  2751. #define GL_TRIANGLE_STRIP_ADJACENCY 0x000D
  2752. #define GL_PROGRAM_POINT_SIZE 0x8642
  2753. #define GL_GEOMETRY_VERTICES_OUT 0x8916
  2754. #define GL_GEOMETRY_INPUT_TYPE 0x8917
  2755. #define GL_GEOMETRY_OUTPUT_TYPE 0x8918
  2756. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS 0x8C29
  2757. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED 0x8DA7
  2758. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS 0x8DA8
  2759. #define GL_GEOMETRY_SHADER 0x8DD9
  2760. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS 0x8DDF
  2761. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES 0x8DE0
  2762. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS 0x8DE1
  2763. #define GL_MAX_VERTEX_OUTPUT_COMPONENTS 0x9122
  2764. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS 0x9123
  2765. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS 0x9124
  2766. #define GL_MAX_FRAGMENT_INPUT_COMPONENTS 0x9125
  2767. #define GL_CONTEXT_PROFILE_MASK 0x9126
  2768. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREPROC) (GLenum, GLenum, GLuint, GLint);
  2769. typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERI64VPROC) (GLenum, GLenum, GLint64 *);
  2770. typedef void (GLAPIENTRY * PFNGLGETINTEGER64I_VPROC) (GLenum, GLuint, GLint64 *);
  2771. #define glFramebufferTexture GLEW_GET_FUN(__glewFramebufferTexture)
  2772. #define glGetBufferParameteri64v GLEW_GET_FUN(__glewGetBufferParameteri64v)
  2773. #define glGetInteger64i_v GLEW_GET_FUN(__glewGetInteger64i_v)
  2774. #define GLEW_VERSION_3_2 GLEW_GET_VAR(__GLEW_VERSION_3_2)
  2775. #endif /* !GL_VERSION_3_2 */
  2776. /* ----------------------------- GL_VERSION_3_3 ---------------------------- */
  2777. #if !defined(GL_VERSION_3_3)
  2778. #define GL_VERSION_3_3 1
  2779. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR 0x88FE
  2780. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  2781. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  2782. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  2783. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  2784. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  2785. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  2786. #define GL_RGB10_A2UI 0x906F
  2787. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORPROC) (GLuint index, GLuint divisor);
  2788. #define glVertexAttribDivisor GLEW_GET_FUN(__glewVertexAttribDivisor)
  2789. #define GLEW_VERSION_3_3 GLEW_GET_VAR(__GLEW_VERSION_3_3)
  2790. #endif /* !GL_VERSION_3_3 */
  2791. /* ----------------------------- GL_VERSION_4_0 ---------------------------- */
  2792. #if !defined(GL_VERSION_4_0)
  2793. #define GL_VERSION_4_0 1
  2794. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  2795. #define GL_SAMPLE_SHADING 0x8C36
  2796. #define GL_MIN_SAMPLE_SHADING_VALUE 0x8C37
  2797. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  2798. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  2799. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  2800. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  2801. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5E
  2802. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET 0x8E5F
  2803. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS 0x8F9F
  2804. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  2805. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY 0x900A
  2806. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY 0x900B
  2807. #define GL_SAMPLER_CUBE_MAP_ARRAY 0x900C
  2808. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW 0x900D
  2809. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY 0x900E
  2810. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY 0x900F
  2811. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2812. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIPROC) (GLuint buf, GLenum mode);
  2813. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2814. typedef void (GLAPIENTRY * PFNGLBLENDFUNCIPROC) (GLuint buf, GLenum src, GLenum dst);
  2815. typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGPROC) (GLclampf value);
  2816. #define glBlendEquationSeparatei GLEW_GET_FUN(__glewBlendEquationSeparatei)
  2817. #define glBlendEquationi GLEW_GET_FUN(__glewBlendEquationi)
  2818. #define glBlendFuncSeparatei GLEW_GET_FUN(__glewBlendFuncSeparatei)
  2819. #define glBlendFunci GLEW_GET_FUN(__glewBlendFunci)
  2820. #define glMinSampleShading GLEW_GET_FUN(__glewMinSampleShading)
  2821. #define GLEW_VERSION_4_0 GLEW_GET_VAR(__GLEW_VERSION_4_0)
  2822. #endif /* !GL_VERSION_4_0 */
  2823. /* ----------------------------- GL_VERSION_4_1 ---------------------------- */
  2824. #if !defined(GL_VERSION_4_1)
  2825. #define GL_VERSION_4_1 1
  2826. #define GLEW_VERSION_4_1 GLEW_GET_VAR(__GLEW_VERSION_4_1)
  2827. #endif /* !GL_VERSION_4_1 */
  2828. /* ----------------------------- GL_VERSION_4_2 ---------------------------- */
  2829. #if !defined(GL_VERSION_4_2)
  2830. #define GL_VERSION_4_2 1
  2831. #define GLEW_VERSION_4_2 GLEW_GET_VAR(__GLEW_VERSION_4_2)
  2832. #endif /* !GL_VERSION_4_2 */
  2833. /* -------------------------- GL_3DFX_multisample -------------------------- */
  2834. #if !defined(GL_3DFX_multisample)
  2835. #define GL_3DFX_multisample 1
  2836. #define GL_MULTISAMPLE_3DFX 0x86B2
  2837. #define GL_SAMPLE_BUFFERS_3DFX 0x86B3
  2838. #define GL_SAMPLES_3DFX 0x86B4
  2839. #define GL_MULTISAMPLE_BIT_3DFX 0x20000000
  2840. #define GLEW_3DFX_multisample GLEW_GET_VAR(__GLEW_3DFX_multisample)
  2841. #endif /* !GL_3DFX_multisample */
  2842. /* ---------------------------- GL_3DFX_tbuffer ---------------------------- */
  2843. #if !defined(GL_3DFX_tbuffer)
  2844. #define GL_3DFX_tbuffer 1
  2845. typedef void (GLAPIENTRY * PFNGLTBUFFERMASK3DFXPROC) (GLuint mask);
  2846. #define glTbufferMask3DFX GLEW_GET_FUN(__glewTbufferMask3DFX)
  2847. #define GLEW_3DFX_tbuffer GLEW_GET_VAR(__GLEW_3DFX_tbuffer)
  2848. #endif /* !GL_3DFX_tbuffer */
  2849. /* -------------------- GL_3DFX_texture_compression_FXT1 ------------------- */
  2850. #if !defined(GL_3DFX_texture_compression_FXT1)
  2851. #define GL_3DFX_texture_compression_FXT1 1
  2852. #define GL_COMPRESSED_RGB_FXT1_3DFX 0x86B0
  2853. #define GL_COMPRESSED_RGBA_FXT1_3DFX 0x86B1
  2854. #define GLEW_3DFX_texture_compression_FXT1 GLEW_GET_VAR(__GLEW_3DFX_texture_compression_FXT1)
  2855. #endif /* !GL_3DFX_texture_compression_FXT1 */
  2856. /* ----------------------- GL_AMD_blend_minmax_factor ---------------------- */
  2857. #if !defined(GL_AMD_blend_minmax_factor)
  2858. #define GL_AMD_blend_minmax_factor 1
  2859. #define GL_FACTOR_MIN_AMD 0x901C
  2860. #define GL_FACTOR_MAX_AMD 0x901D
  2861. #define GLEW_AMD_blend_minmax_factor GLEW_GET_VAR(__GLEW_AMD_blend_minmax_factor)
  2862. #endif /* !GL_AMD_blend_minmax_factor */
  2863. /* ----------------------- GL_AMD_conservative_depth ----------------------- */
  2864. #if !defined(GL_AMD_conservative_depth)
  2865. #define GL_AMD_conservative_depth 1
  2866. #define GLEW_AMD_conservative_depth GLEW_GET_VAR(__GLEW_AMD_conservative_depth)
  2867. #endif /* !GL_AMD_conservative_depth */
  2868. /* -------------------------- GL_AMD_debug_output -------------------------- */
  2869. #if !defined(GL_AMD_debug_output)
  2870. #define GL_AMD_debug_output 1
  2871. #define GL_MAX_DEBUG_MESSAGE_LENGTH_AMD 0x9143
  2872. #define GL_MAX_DEBUG_LOGGED_MESSAGES_AMD 0x9144
  2873. #define GL_DEBUG_LOGGED_MESSAGES_AMD 0x9145
  2874. #define GL_DEBUG_SEVERITY_HIGH_AMD 0x9146
  2875. #define GL_DEBUG_SEVERITY_MEDIUM_AMD 0x9147
  2876. #define GL_DEBUG_SEVERITY_LOW_AMD 0x9148
  2877. #define GL_DEBUG_CATEGORY_API_ERROR_AMD 0x9149
  2878. #define GL_DEBUG_CATEGORY_WINDOW_SYSTEM_AMD 0x914A
  2879. #define GL_DEBUG_CATEGORY_DEPRECATION_AMD 0x914B
  2880. #define GL_DEBUG_CATEGORY_UNDEFINED_BEHAVIOR_AMD 0x914C
  2881. #define GL_DEBUG_CATEGORY_PERFORMANCE_AMD 0x914D
  2882. #define GL_DEBUG_CATEGORY_SHADER_COMPILER_AMD 0x914E
  2883. #define GL_DEBUG_CATEGORY_APPLICATION_AMD 0x914F
  2884. #define GL_DEBUG_CATEGORY_OTHER_AMD 0x9150
  2885. typedef void (APIENTRY *GLDEBUGPROCAMD)(GLuint id, GLenum category, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
  2886. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKAMDPROC) (GLDEBUGPROCAMD callback, void* userParam);
  2887. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEENABLEAMDPROC) (GLenum category, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
  2888. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTAMDPROC) (GLenum category, GLenum severity, GLuint id, GLsizei length, const char* buf);
  2889. typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGAMDPROC) (GLuint count, GLsizei bufsize, GLenum* categories, GLuint* severities, GLuint* ids, GLsizei* lengths, char* message);
  2890. #define glDebugMessageCallbackAMD GLEW_GET_FUN(__glewDebugMessageCallbackAMD)
  2891. #define glDebugMessageEnableAMD GLEW_GET_FUN(__glewDebugMessageEnableAMD)
  2892. #define glDebugMessageInsertAMD GLEW_GET_FUN(__glewDebugMessageInsertAMD)
  2893. #define glGetDebugMessageLogAMD GLEW_GET_FUN(__glewGetDebugMessageLogAMD)
  2894. #define GLEW_AMD_debug_output GLEW_GET_VAR(__GLEW_AMD_debug_output)
  2895. #endif /* !GL_AMD_debug_output */
  2896. /* ---------------------- GL_AMD_depth_clamp_separate ---------------------- */
  2897. #if !defined(GL_AMD_depth_clamp_separate)
  2898. #define GL_AMD_depth_clamp_separate 1
  2899. #define GL_DEPTH_CLAMP_NEAR_AMD 0x901E
  2900. #define GL_DEPTH_CLAMP_FAR_AMD 0x901F
  2901. #define GLEW_AMD_depth_clamp_separate GLEW_GET_VAR(__GLEW_AMD_depth_clamp_separate)
  2902. #endif /* !GL_AMD_depth_clamp_separate */
  2903. /* ----------------------- GL_AMD_draw_buffers_blend ----------------------- */
  2904. #if !defined(GL_AMD_draw_buffers_blend)
  2905. #define GL_AMD_draw_buffers_blend 1
  2906. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONINDEXEDAMDPROC) (GLuint buf, GLenum mode);
  2907. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  2908. typedef void (GLAPIENTRY * PFNGLBLENDFUNCINDEXEDAMDPROC) (GLuint buf, GLenum src, GLenum dst);
  2909. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  2910. #define glBlendEquationIndexedAMD GLEW_GET_FUN(__glewBlendEquationIndexedAMD)
  2911. #define glBlendEquationSeparateIndexedAMD GLEW_GET_FUN(__glewBlendEquationSeparateIndexedAMD)
  2912. #define glBlendFuncIndexedAMD GLEW_GET_FUN(__glewBlendFuncIndexedAMD)
  2913. #define glBlendFuncSeparateIndexedAMD GLEW_GET_FUN(__glewBlendFuncSeparateIndexedAMD)
  2914. #define GLEW_AMD_draw_buffers_blend GLEW_GET_VAR(__GLEW_AMD_draw_buffers_blend)
  2915. #endif /* !GL_AMD_draw_buffers_blend */
  2916. /* ----------------------- GL_AMD_multi_draw_indirect ---------------------- */
  2917. #if !defined(GL_AMD_multi_draw_indirect)
  2918. #define GL_AMD_multi_draw_indirect 1
  2919. typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride);
  2920. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC) (GLenum mode, GLenum type, const void* indirect, GLsizei primcount, GLsizei stride);
  2921. #define glMultiDrawArraysIndirectAMD GLEW_GET_FUN(__glewMultiDrawArraysIndirectAMD)
  2922. #define glMultiDrawElementsIndirectAMD GLEW_GET_FUN(__glewMultiDrawElementsIndirectAMD)
  2923. #define GLEW_AMD_multi_draw_indirect GLEW_GET_VAR(__GLEW_AMD_multi_draw_indirect)
  2924. #endif /* !GL_AMD_multi_draw_indirect */
  2925. /* ------------------------- GL_AMD_name_gen_delete ------------------------ */
  2926. #if !defined(GL_AMD_name_gen_delete)
  2927. #define GL_AMD_name_gen_delete 1
  2928. #define GL_DATA_BUFFER_AMD 0x9151
  2929. #define GL_PERFORMANCE_MONITOR_AMD 0x9152
  2930. #define GL_QUERY_OBJECT_AMD 0x9153
  2931. #define GL_VERTEX_ARRAY_OBJECT_AMD 0x9154
  2932. #define GL_SAMPLER_OBJECT_AMD 0x9155
  2933. typedef void (GLAPIENTRY * PFNGLDELETENAMESAMDPROC) (GLenum identifier, GLuint num, const GLuint* names);
  2934. typedef void (GLAPIENTRY * PFNGLGENNAMESAMDPROC) (GLenum identifier, GLuint num, GLuint* names);
  2935. typedef GLboolean (GLAPIENTRY * PFNGLISNAMEAMDPROC) (GLenum identifier, GLuint name);
  2936. #define glDeleteNamesAMD GLEW_GET_FUN(__glewDeleteNamesAMD)
  2937. #define glGenNamesAMD GLEW_GET_FUN(__glewGenNamesAMD)
  2938. #define glIsNameAMD GLEW_GET_FUN(__glewIsNameAMD)
  2939. #define GLEW_AMD_name_gen_delete GLEW_GET_VAR(__GLEW_AMD_name_gen_delete)
  2940. #endif /* !GL_AMD_name_gen_delete */
  2941. /* ----------------------- GL_AMD_performance_monitor ---------------------- */
  2942. #if !defined(GL_AMD_performance_monitor)
  2943. #define GL_AMD_performance_monitor 1
  2944. #define GL_UNSIGNED_INT 0x1405
  2945. #define GL_FLOAT 0x1406
  2946. #define GL_COUNTER_TYPE_AMD 0x8BC0
  2947. #define GL_COUNTER_RANGE_AMD 0x8BC1
  2948. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  2949. #define GL_PERCENTAGE_AMD 0x8BC3
  2950. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  2951. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  2952. #define GL_PERFMON_RESULT_AMD 0x8BC6
  2953. typedef void (GLAPIENTRY * PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  2954. typedef void (GLAPIENTRY * PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
  2955. typedef void (GLAPIENTRY * PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  2956. typedef void (GLAPIENTRY * PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint* monitors);
  2957. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint* data, GLint *bytesWritten);
  2958. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void* data);
  2959. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei* length, char *counterString);
  2960. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint* numCounters, GLint *maxActiveCounters, GLsizei countersSize, GLuint *counters);
  2961. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei* length, char *groupString);
  2962. typedef void (GLAPIENTRY * PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint* numGroups, GLsizei groupsSize, GLuint *groups);
  2963. typedef void (GLAPIENTRY * PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint* counterList);
  2964. #define glBeginPerfMonitorAMD GLEW_GET_FUN(__glewBeginPerfMonitorAMD)
  2965. #define glDeletePerfMonitorsAMD GLEW_GET_FUN(__glewDeletePerfMonitorsAMD)
  2966. #define glEndPerfMonitorAMD GLEW_GET_FUN(__glewEndPerfMonitorAMD)
  2967. #define glGenPerfMonitorsAMD GLEW_GET_FUN(__glewGenPerfMonitorsAMD)
  2968. #define glGetPerfMonitorCounterDataAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterDataAMD)
  2969. #define glGetPerfMonitorCounterInfoAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterInfoAMD)
  2970. #define glGetPerfMonitorCounterStringAMD GLEW_GET_FUN(__glewGetPerfMonitorCounterStringAMD)
  2971. #define glGetPerfMonitorCountersAMD GLEW_GET_FUN(__glewGetPerfMonitorCountersAMD)
  2972. #define glGetPerfMonitorGroupStringAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupStringAMD)
  2973. #define glGetPerfMonitorGroupsAMD GLEW_GET_FUN(__glewGetPerfMonitorGroupsAMD)
  2974. #define glSelectPerfMonitorCountersAMD GLEW_GET_FUN(__glewSelectPerfMonitorCountersAMD)
  2975. #define GLEW_AMD_performance_monitor GLEW_GET_VAR(__GLEW_AMD_performance_monitor)
  2976. #endif /* !GL_AMD_performance_monitor */
  2977. /* -------------------------- GL_AMD_pinned_memory ------------------------- */
  2978. #if !defined(GL_AMD_pinned_memory)
  2979. #define GL_AMD_pinned_memory 1
  2980. #define GL_EXTERNAL_VIRTUAL_MEMORY_BUFFER_AMD 0x9160
  2981. #define GLEW_AMD_pinned_memory GLEW_GET_VAR(__GLEW_AMD_pinned_memory)
  2982. #endif /* !GL_AMD_pinned_memory */
  2983. /* ----------------------- GL_AMD_query_buffer_object ---------------------- */
  2984. #if !defined(GL_AMD_query_buffer_object)
  2985. #define GL_AMD_query_buffer_object 1
  2986. #define GL_QUERY_BUFFER_AMD 0x9192
  2987. #define GL_QUERY_BUFFER_BINDING_AMD 0x9193
  2988. #define GL_QUERY_RESULT_NO_WAIT_AMD 0x9194
  2989. #define GLEW_AMD_query_buffer_object GLEW_GET_VAR(__GLEW_AMD_query_buffer_object)
  2990. #endif /* !GL_AMD_query_buffer_object */
  2991. /* ------------------------ GL_AMD_sample_positions ------------------------ */
  2992. #if !defined(GL_AMD_sample_positions)
  2993. #define GL_AMD_sample_positions 1
  2994. #define GL_SUBSAMPLE_DISTANCE_AMD 0x883F
  2995. typedef void (GLAPIENTRY * PFNGLSETMULTISAMPLEFVAMDPROC) (GLenum pname, GLuint index, const GLfloat* val);
  2996. #define glSetMultisamplefvAMD GLEW_GET_FUN(__glewSetMultisamplefvAMD)
  2997. #define GLEW_AMD_sample_positions GLEW_GET_VAR(__GLEW_AMD_sample_positions)
  2998. #endif /* !GL_AMD_sample_positions */
  2999. /* ------------------ GL_AMD_seamless_cubemap_per_texture ------------------ */
  3000. #if !defined(GL_AMD_seamless_cubemap_per_texture)
  3001. #define GL_AMD_seamless_cubemap_per_texture 1
  3002. #define GL_TEXTURE_CUBE_MAP_SEAMLESS_ARB 0x884F
  3003. #define GLEW_AMD_seamless_cubemap_per_texture GLEW_GET_VAR(__GLEW_AMD_seamless_cubemap_per_texture)
  3004. #endif /* !GL_AMD_seamless_cubemap_per_texture */
  3005. /* ---------------------- GL_AMD_shader_stencil_export --------------------- */
  3006. #if !defined(GL_AMD_shader_stencil_export)
  3007. #define GL_AMD_shader_stencil_export 1
  3008. #define GLEW_AMD_shader_stencil_export GLEW_GET_VAR(__GLEW_AMD_shader_stencil_export)
  3009. #endif /* !GL_AMD_shader_stencil_export */
  3010. /* ---------------------- GL_AMD_shader_trinary_minmax --------------------- */
  3011. #if !defined(GL_AMD_shader_trinary_minmax)
  3012. #define GL_AMD_shader_trinary_minmax 1
  3013. #define GLEW_AMD_shader_trinary_minmax GLEW_GET_VAR(__GLEW_AMD_shader_trinary_minmax)
  3014. #endif /* !GL_AMD_shader_trinary_minmax */
  3015. /* ------------------------- GL_AMD_sparse_texture ------------------------- */
  3016. #if !defined(GL_AMD_sparse_texture)
  3017. #define GL_AMD_sparse_texture 1
  3018. #define GL_TEXTURE_STORAGE_SPARSE_BIT_AMD 0x00000001
  3019. #define GL_VIRTUAL_PAGE_SIZE_X_AMD 0x9195
  3020. #define GL_VIRTUAL_PAGE_SIZE_Y_AMD 0x9196
  3021. #define GL_VIRTUAL_PAGE_SIZE_Z_AMD 0x9197
  3022. #define GL_MAX_SPARSE_TEXTURE_SIZE_AMD 0x9198
  3023. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_AMD 0x9199
  3024. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS 0x919A
  3025. #define GL_MIN_SPARSE_LEVEL_AMD 0x919B
  3026. #define GL_MIN_LOD_WARNING_AMD 0x919C
  3027. typedef void (GLAPIENTRY * PFNGLTEXSTORAGESPARSEAMDPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  3028. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGESPARSEAMDPROC) (GLuint texture, GLenum target, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLsizei layers, GLbitfield flags);
  3029. #define glTexStorageSparseAMD GLEW_GET_FUN(__glewTexStorageSparseAMD)
  3030. #define glTextureStorageSparseAMD GLEW_GET_FUN(__glewTextureStorageSparseAMD)
  3031. #define GLEW_AMD_sparse_texture GLEW_GET_VAR(__GLEW_AMD_sparse_texture)
  3032. #endif /* !GL_AMD_sparse_texture */
  3033. /* ------------------- GL_AMD_stencil_operation_extended ------------------- */
  3034. #if !defined(GL_AMD_stencil_operation_extended)
  3035. #define GL_AMD_stencil_operation_extended 1
  3036. #define GL_AND 0x1501
  3037. #define GL_XOR 0x1506
  3038. #define GL_OR 0x1507
  3039. #define GL_NOR 0x1508
  3040. #define GL_EQUIV 0x1509
  3041. #define GL_NAND 0x150E
  3042. #define GL_SET_AMD 0x874A
  3043. #define GL_REPLACE_VALUE_AMD 0x874B
  3044. #define GL_STENCIL_OP_VALUE_AMD 0x874C
  3045. #define GL_STENCIL_BACK_OP_VALUE_AMD 0x874D
  3046. typedef void (GLAPIENTRY * PFNGLSTENCILOPVALUEAMDPROC) (GLenum face, GLuint value);
  3047. #define glStencilOpValueAMD GLEW_GET_FUN(__glewStencilOpValueAMD)
  3048. #define GLEW_AMD_stencil_operation_extended GLEW_GET_VAR(__GLEW_AMD_stencil_operation_extended)
  3049. #endif /* !GL_AMD_stencil_operation_extended */
  3050. /* ------------------------ GL_AMD_texture_texture4 ------------------------ */
  3051. #if !defined(GL_AMD_texture_texture4)
  3052. #define GL_AMD_texture_texture4 1
  3053. #define GLEW_AMD_texture_texture4 GLEW_GET_VAR(__GLEW_AMD_texture_texture4)
  3054. #endif /* !GL_AMD_texture_texture4 */
  3055. /* --------------- GL_AMD_transform_feedback3_lines_triangles -------------- */
  3056. #if !defined(GL_AMD_transform_feedback3_lines_triangles)
  3057. #define GL_AMD_transform_feedback3_lines_triangles 1
  3058. #define GLEW_AMD_transform_feedback3_lines_triangles GLEW_GET_VAR(__GLEW_AMD_transform_feedback3_lines_triangles)
  3059. #endif /* !GL_AMD_transform_feedback3_lines_triangles */
  3060. /* ----------------------- GL_AMD_vertex_shader_layer ---------------------- */
  3061. #if !defined(GL_AMD_vertex_shader_layer)
  3062. #define GL_AMD_vertex_shader_layer 1
  3063. #define GLEW_AMD_vertex_shader_layer GLEW_GET_VAR(__GLEW_AMD_vertex_shader_layer)
  3064. #endif /* !GL_AMD_vertex_shader_layer */
  3065. /* -------------------- GL_AMD_vertex_shader_tessellator ------------------- */
  3066. #if !defined(GL_AMD_vertex_shader_tessellator)
  3067. #define GL_AMD_vertex_shader_tessellator 1
  3068. #define GL_SAMPLER_BUFFER_AMD 0x9001
  3069. #define GL_INT_SAMPLER_BUFFER_AMD 0x9002
  3070. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_AMD 0x9003
  3071. #define GL_TESSELLATION_MODE_AMD 0x9004
  3072. #define GL_TESSELLATION_FACTOR_AMD 0x9005
  3073. #define GL_DISCRETE_AMD 0x9006
  3074. #define GL_CONTINUOUS_AMD 0x9007
  3075. typedef void (GLAPIENTRY * PFNGLTESSELLATIONFACTORAMDPROC) (GLfloat factor);
  3076. typedef void (GLAPIENTRY * PFNGLTESSELLATIONMODEAMDPROC) (GLenum mode);
  3077. #define glTessellationFactorAMD GLEW_GET_FUN(__glewTessellationFactorAMD)
  3078. #define glTessellationModeAMD GLEW_GET_FUN(__glewTessellationModeAMD)
  3079. #define GLEW_AMD_vertex_shader_tessellator GLEW_GET_VAR(__GLEW_AMD_vertex_shader_tessellator)
  3080. #endif /* !GL_AMD_vertex_shader_tessellator */
  3081. /* ------------------ GL_AMD_vertex_shader_viewport_index ------------------ */
  3082. #if !defined(GL_AMD_vertex_shader_viewport_index)
  3083. #define GL_AMD_vertex_shader_viewport_index 1
  3084. #define GLEW_AMD_vertex_shader_viewport_index GLEW_GET_VAR(__GLEW_AMD_vertex_shader_viewport_index)
  3085. #endif /* !GL_AMD_vertex_shader_viewport_index */
  3086. /* ----------------------- GL_APPLE_aux_depth_stencil ---------------------- */
  3087. #if !defined(GL_APPLE_aux_depth_stencil)
  3088. #define GL_APPLE_aux_depth_stencil 1
  3089. #define GL_AUX_DEPTH_STENCIL_APPLE 0x8A14
  3090. #define GLEW_APPLE_aux_depth_stencil GLEW_GET_VAR(__GLEW_APPLE_aux_depth_stencil)
  3091. #endif /* !GL_APPLE_aux_depth_stencil */
  3092. /* ------------------------ GL_APPLE_client_storage ------------------------ */
  3093. #if !defined(GL_APPLE_client_storage)
  3094. #define GL_APPLE_client_storage 1
  3095. #define GL_UNPACK_CLIENT_STORAGE_APPLE 0x85B2
  3096. #define GLEW_APPLE_client_storage GLEW_GET_VAR(__GLEW_APPLE_client_storage)
  3097. #endif /* !GL_APPLE_client_storage */
  3098. /* ------------------------- GL_APPLE_element_array ------------------------ */
  3099. #if !defined(GL_APPLE_element_array)
  3100. #define GL_APPLE_element_array 1
  3101. #define GL_ELEMENT_ARRAY_APPLE 0x8A0C
  3102. #define GL_ELEMENT_ARRAY_TYPE_APPLE 0x8A0D
  3103. #define GL_ELEMENT_ARRAY_POINTER_APPLE 0x8A0E
  3104. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, GLint first, GLsizei count);
  3105. typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, GLint first, GLsizei count);
  3106. typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERAPPLEPROC) (GLenum type, const void* pointer);
  3107. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
  3108. typedef void (GLAPIENTRY * PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC) (GLenum mode, GLuint start, GLuint end, const GLint* first, const GLsizei *count, GLsizei primcount);
  3109. #define glDrawElementArrayAPPLE GLEW_GET_FUN(__glewDrawElementArrayAPPLE)
  3110. #define glDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewDrawRangeElementArrayAPPLE)
  3111. #define glElementPointerAPPLE GLEW_GET_FUN(__glewElementPointerAPPLE)
  3112. #define glMultiDrawElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawElementArrayAPPLE)
  3113. #define glMultiDrawRangeElementArrayAPPLE GLEW_GET_FUN(__glewMultiDrawRangeElementArrayAPPLE)
  3114. #define GLEW_APPLE_element_array GLEW_GET_VAR(__GLEW_APPLE_element_array)
  3115. #endif /* !GL_APPLE_element_array */
  3116. /* ----------------------------- GL_APPLE_fence ---------------------------- */
  3117. #if !defined(GL_APPLE_fence)
  3118. #define GL_APPLE_fence 1
  3119. #define GL_DRAW_PIXELS_APPLE 0x8A0A
  3120. #define GL_FENCE_APPLE 0x8A0B
  3121. typedef void (GLAPIENTRY * PFNGLDELETEFENCESAPPLEPROC) (GLsizei n, const GLuint* fences);
  3122. typedef void (GLAPIENTRY * PFNGLFINISHFENCEAPPLEPROC) (GLuint fence);
  3123. typedef void (GLAPIENTRY * PFNGLFINISHOBJECTAPPLEPROC) (GLenum object, GLint name);
  3124. typedef void (GLAPIENTRY * PFNGLGENFENCESAPPLEPROC) (GLsizei n, GLuint* fences);
  3125. typedef GLboolean (GLAPIENTRY * PFNGLISFENCEAPPLEPROC) (GLuint fence);
  3126. typedef void (GLAPIENTRY * PFNGLSETFENCEAPPLEPROC) (GLuint fence);
  3127. typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCEAPPLEPROC) (GLuint fence);
  3128. typedef GLboolean (GLAPIENTRY * PFNGLTESTOBJECTAPPLEPROC) (GLenum object, GLuint name);
  3129. #define glDeleteFencesAPPLE GLEW_GET_FUN(__glewDeleteFencesAPPLE)
  3130. #define glFinishFenceAPPLE GLEW_GET_FUN(__glewFinishFenceAPPLE)
  3131. #define glFinishObjectAPPLE GLEW_GET_FUN(__glewFinishObjectAPPLE)
  3132. #define glGenFencesAPPLE GLEW_GET_FUN(__glewGenFencesAPPLE)
  3133. #define glIsFenceAPPLE GLEW_GET_FUN(__glewIsFenceAPPLE)
  3134. #define glSetFenceAPPLE GLEW_GET_FUN(__glewSetFenceAPPLE)
  3135. #define glTestFenceAPPLE GLEW_GET_FUN(__glewTestFenceAPPLE)
  3136. #define glTestObjectAPPLE GLEW_GET_FUN(__glewTestObjectAPPLE)
  3137. #define GLEW_APPLE_fence GLEW_GET_VAR(__GLEW_APPLE_fence)
  3138. #endif /* !GL_APPLE_fence */
  3139. /* ------------------------- GL_APPLE_float_pixels ------------------------- */
  3140. #if !defined(GL_APPLE_float_pixels)
  3141. #define GL_APPLE_float_pixels 1
  3142. #define GL_HALF_APPLE 0x140B
  3143. #define GL_RGBA_FLOAT32_APPLE 0x8814
  3144. #define GL_RGB_FLOAT32_APPLE 0x8815
  3145. #define GL_ALPHA_FLOAT32_APPLE 0x8816
  3146. #define GL_INTENSITY_FLOAT32_APPLE 0x8817
  3147. #define GL_LUMINANCE_FLOAT32_APPLE 0x8818
  3148. #define GL_LUMINANCE_ALPHA_FLOAT32_APPLE 0x8819
  3149. #define GL_RGBA_FLOAT16_APPLE 0x881A
  3150. #define GL_RGB_FLOAT16_APPLE 0x881B
  3151. #define GL_ALPHA_FLOAT16_APPLE 0x881C
  3152. #define GL_INTENSITY_FLOAT16_APPLE 0x881D
  3153. #define GL_LUMINANCE_FLOAT16_APPLE 0x881E
  3154. #define GL_LUMINANCE_ALPHA_FLOAT16_APPLE 0x881F
  3155. #define GL_COLOR_FLOAT_APPLE 0x8A0F
  3156. #define GLEW_APPLE_float_pixels GLEW_GET_VAR(__GLEW_APPLE_float_pixels)
  3157. #endif /* !GL_APPLE_float_pixels */
  3158. /* ---------------------- GL_APPLE_flush_buffer_range ---------------------- */
  3159. #if !defined(GL_APPLE_flush_buffer_range)
  3160. #define GL_APPLE_flush_buffer_range 1
  3161. #define GL_BUFFER_SERIALIZED_MODIFY_APPLE 0x8A12
  3162. #define GL_BUFFER_FLUSHING_UNMAP_APPLE 0x8A13
  3163. typedef void (GLAPIENTRY * PFNGLBUFFERPARAMETERIAPPLEPROC) (GLenum target, GLenum pname, GLint param);
  3164. typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC) (GLenum target, GLintptr offset, GLsizeiptr size);
  3165. #define glBufferParameteriAPPLE GLEW_GET_FUN(__glewBufferParameteriAPPLE)
  3166. #define glFlushMappedBufferRangeAPPLE GLEW_GET_FUN(__glewFlushMappedBufferRangeAPPLE)
  3167. #define GLEW_APPLE_flush_buffer_range GLEW_GET_VAR(__GLEW_APPLE_flush_buffer_range)
  3168. #endif /* !GL_APPLE_flush_buffer_range */
  3169. /* ----------------------- GL_APPLE_object_purgeable ----------------------- */
  3170. #if !defined(GL_APPLE_object_purgeable)
  3171. #define GL_APPLE_object_purgeable 1
  3172. #define GL_BUFFER_OBJECT_APPLE 0x85B3
  3173. #define GL_RELEASED_APPLE 0x8A19
  3174. #define GL_VOLATILE_APPLE 0x8A1A
  3175. #define GL_RETAINED_APPLE 0x8A1B
  3176. #define GL_UNDEFINED_APPLE 0x8A1C
  3177. #define GL_PURGEABLE_APPLE 0x8A1D
  3178. typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVAPPLEPROC) (GLenum objectType, GLuint name, GLenum pname, GLint* params);
  3179. typedef GLenum (GLAPIENTRY * PFNGLOBJECTPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  3180. typedef GLenum (GLAPIENTRY * PFNGLOBJECTUNPURGEABLEAPPLEPROC) (GLenum objectType, GLuint name, GLenum option);
  3181. #define glGetObjectParameterivAPPLE GLEW_GET_FUN(__glewGetObjectParameterivAPPLE)
  3182. #define glObjectPurgeableAPPLE GLEW_GET_FUN(__glewObjectPurgeableAPPLE)
  3183. #define glObjectUnpurgeableAPPLE GLEW_GET_FUN(__glewObjectUnpurgeableAPPLE)
  3184. #define GLEW_APPLE_object_purgeable GLEW_GET_VAR(__GLEW_APPLE_object_purgeable)
  3185. #endif /* !GL_APPLE_object_purgeable */
  3186. /* ------------------------- GL_APPLE_pixel_buffer ------------------------- */
  3187. #if !defined(GL_APPLE_pixel_buffer)
  3188. #define GL_APPLE_pixel_buffer 1
  3189. #define GL_MIN_PBUFFER_VIEWPORT_DIMS_APPLE 0x8A10
  3190. #define GLEW_APPLE_pixel_buffer GLEW_GET_VAR(__GLEW_APPLE_pixel_buffer)
  3191. #endif /* !GL_APPLE_pixel_buffer */
  3192. /* ---------------------------- GL_APPLE_rgb_422 --------------------------- */
  3193. #if !defined(GL_APPLE_rgb_422)
  3194. #define GL_APPLE_rgb_422 1
  3195. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  3196. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  3197. #define GL_RGB_422_APPLE 0x8A1F
  3198. #define GLEW_APPLE_rgb_422 GLEW_GET_VAR(__GLEW_APPLE_rgb_422)
  3199. #endif /* !GL_APPLE_rgb_422 */
  3200. /* --------------------------- GL_APPLE_row_bytes -------------------------- */
  3201. #if !defined(GL_APPLE_row_bytes)
  3202. #define GL_APPLE_row_bytes 1
  3203. #define GL_PACK_ROW_BYTES_APPLE 0x8A15
  3204. #define GL_UNPACK_ROW_BYTES_APPLE 0x8A16
  3205. #define GLEW_APPLE_row_bytes GLEW_GET_VAR(__GLEW_APPLE_row_bytes)
  3206. #endif /* !GL_APPLE_row_bytes */
  3207. /* ------------------------ GL_APPLE_specular_vector ----------------------- */
  3208. #if !defined(GL_APPLE_specular_vector)
  3209. #define GL_APPLE_specular_vector 1
  3210. #define GL_LIGHT_MODEL_SPECULAR_VECTOR_APPLE 0x85B0
  3211. #define GLEW_APPLE_specular_vector GLEW_GET_VAR(__GLEW_APPLE_specular_vector)
  3212. #endif /* !GL_APPLE_specular_vector */
  3213. /* ------------------------- GL_APPLE_texture_range ------------------------ */
  3214. #if !defined(GL_APPLE_texture_range)
  3215. #define GL_APPLE_texture_range 1
  3216. #define GL_TEXTURE_RANGE_LENGTH_APPLE 0x85B7
  3217. #define GL_TEXTURE_RANGE_POINTER_APPLE 0x85B8
  3218. #define GL_TEXTURE_STORAGE_HINT_APPLE 0x85BC
  3219. #define GL_STORAGE_PRIVATE_APPLE 0x85BD
  3220. #define GL_STORAGE_CACHED_APPLE 0x85BE
  3221. #define GL_STORAGE_SHARED_APPLE 0x85BF
  3222. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC) (GLenum target, GLenum pname, GLvoid **params);
  3223. typedef void (GLAPIENTRY * PFNGLTEXTURERANGEAPPLEPROC) (GLenum target, GLsizei length, GLvoid *pointer);
  3224. #define glGetTexParameterPointervAPPLE GLEW_GET_FUN(__glewGetTexParameterPointervAPPLE)
  3225. #define glTextureRangeAPPLE GLEW_GET_FUN(__glewTextureRangeAPPLE)
  3226. #define GLEW_APPLE_texture_range GLEW_GET_VAR(__GLEW_APPLE_texture_range)
  3227. #endif /* !GL_APPLE_texture_range */
  3228. /* ------------------------ GL_APPLE_transform_hint ------------------------ */
  3229. #if !defined(GL_APPLE_transform_hint)
  3230. #define GL_APPLE_transform_hint 1
  3231. #define GL_TRANSFORM_HINT_APPLE 0x85B1
  3232. #define GLEW_APPLE_transform_hint GLEW_GET_VAR(__GLEW_APPLE_transform_hint)
  3233. #endif /* !GL_APPLE_transform_hint */
  3234. /* ---------------------- GL_APPLE_vertex_array_object --------------------- */
  3235. #if !defined(GL_APPLE_vertex_array_object)
  3236. #define GL_APPLE_vertex_array_object 1
  3237. #define GL_VERTEX_ARRAY_BINDING_APPLE 0x85B5
  3238. typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYAPPLEPROC) (GLuint array);
  3239. typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
  3240. typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSAPPLEPROC) (GLsizei n, const GLuint* arrays);
  3241. typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYAPPLEPROC) (GLuint array);
  3242. #define glBindVertexArrayAPPLE GLEW_GET_FUN(__glewBindVertexArrayAPPLE)
  3243. #define glDeleteVertexArraysAPPLE GLEW_GET_FUN(__glewDeleteVertexArraysAPPLE)
  3244. #define glGenVertexArraysAPPLE GLEW_GET_FUN(__glewGenVertexArraysAPPLE)
  3245. #define glIsVertexArrayAPPLE GLEW_GET_FUN(__glewIsVertexArrayAPPLE)
  3246. #define GLEW_APPLE_vertex_array_object GLEW_GET_VAR(__GLEW_APPLE_vertex_array_object)
  3247. #endif /* !GL_APPLE_vertex_array_object */
  3248. /* ---------------------- GL_APPLE_vertex_array_range ---------------------- */
  3249. #if !defined(GL_APPLE_vertex_array_range)
  3250. #define GL_APPLE_vertex_array_range 1
  3251. #define GL_VERTEX_ARRAY_RANGE_APPLE 0x851D
  3252. #define GL_VERTEX_ARRAY_RANGE_LENGTH_APPLE 0x851E
  3253. #define GL_VERTEX_ARRAY_STORAGE_HINT_APPLE 0x851F
  3254. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_APPLE 0x8520
  3255. #define GL_VERTEX_ARRAY_RANGE_POINTER_APPLE 0x8521
  3256. #define GL_STORAGE_CLIENT_APPLE 0x85B4
  3257. #define GL_STORAGE_CACHED_APPLE 0x85BE
  3258. #define GL_STORAGE_SHARED_APPLE 0x85BF
  3259. typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
  3260. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYPARAMETERIAPPLEPROC) (GLenum pname, GLint param);
  3261. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGEAPPLEPROC) (GLsizei length, void* pointer);
  3262. #define glFlushVertexArrayRangeAPPLE GLEW_GET_FUN(__glewFlushVertexArrayRangeAPPLE)
  3263. #define glVertexArrayParameteriAPPLE GLEW_GET_FUN(__glewVertexArrayParameteriAPPLE)
  3264. #define glVertexArrayRangeAPPLE GLEW_GET_FUN(__glewVertexArrayRangeAPPLE)
  3265. #define GLEW_APPLE_vertex_array_range GLEW_GET_VAR(__GLEW_APPLE_vertex_array_range)
  3266. #endif /* !GL_APPLE_vertex_array_range */
  3267. /* ------------------- GL_APPLE_vertex_program_evaluators ------------------ */
  3268. #if !defined(GL_APPLE_vertex_program_evaluators)
  3269. #define GL_APPLE_vertex_program_evaluators 1
  3270. #define GL_VERTEX_ATTRIB_MAP1_APPLE 0x8A00
  3271. #define GL_VERTEX_ATTRIB_MAP2_APPLE 0x8A01
  3272. #define GL_VERTEX_ATTRIB_MAP1_SIZE_APPLE 0x8A02
  3273. #define GL_VERTEX_ATTRIB_MAP1_COEFF_APPLE 0x8A03
  3274. #define GL_VERTEX_ATTRIB_MAP1_ORDER_APPLE 0x8A04
  3275. #define GL_VERTEX_ATTRIB_MAP1_DOMAIN_APPLE 0x8A05
  3276. #define GL_VERTEX_ATTRIB_MAP2_SIZE_APPLE 0x8A06
  3277. #define GL_VERTEX_ATTRIB_MAP2_COEFF_APPLE 0x8A07
  3278. #define GL_VERTEX_ATTRIB_MAP2_ORDER_APPLE 0x8A08
  3279. #define GL_VERTEX_ATTRIB_MAP2_DOMAIN_APPLE 0x8A09
  3280. typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  3281. typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBAPPLEPROC) (GLuint index, GLenum pname);
  3282. typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXATTRIBENABLEDAPPLEPROC) (GLuint index, GLenum pname);
  3283. typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint stride, GLint order, const GLdouble* points);
  3284. typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB1FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint stride, GLint order, const GLfloat* points);
  3285. typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2DAPPLEPROC) (GLuint index, GLuint size, GLdouble u1, GLdouble u2, GLint ustride, GLint uorder, GLdouble v1, GLdouble v2, GLint vstride, GLint vorder, const GLdouble* points);
  3286. typedef void (GLAPIENTRY * PFNGLMAPVERTEXATTRIB2FAPPLEPROC) (GLuint index, GLuint size, GLfloat u1, GLfloat u2, GLint ustride, GLint uorder, GLfloat v1, GLfloat v2, GLint vstride, GLint vorder, const GLfloat* points);
  3287. #define glDisableVertexAttribAPPLE GLEW_GET_FUN(__glewDisableVertexAttribAPPLE)
  3288. #define glEnableVertexAttribAPPLE GLEW_GET_FUN(__glewEnableVertexAttribAPPLE)
  3289. #define glIsVertexAttribEnabledAPPLE GLEW_GET_FUN(__glewIsVertexAttribEnabledAPPLE)
  3290. #define glMapVertexAttrib1dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1dAPPLE)
  3291. #define glMapVertexAttrib1fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib1fAPPLE)
  3292. #define glMapVertexAttrib2dAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2dAPPLE)
  3293. #define glMapVertexAttrib2fAPPLE GLEW_GET_FUN(__glewMapVertexAttrib2fAPPLE)
  3294. #define GLEW_APPLE_vertex_program_evaluators GLEW_GET_VAR(__GLEW_APPLE_vertex_program_evaluators)
  3295. #endif /* !GL_APPLE_vertex_program_evaluators */
  3296. /* --------------------------- GL_APPLE_ycbcr_422 -------------------------- */
  3297. #if !defined(GL_APPLE_ycbcr_422)
  3298. #define GL_APPLE_ycbcr_422 1
  3299. #define GL_YCBCR_422_APPLE 0x85B9
  3300. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  3301. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  3302. #define GLEW_APPLE_ycbcr_422 GLEW_GET_VAR(__GLEW_APPLE_ycbcr_422)
  3303. #endif /* !GL_APPLE_ycbcr_422 */
  3304. /* ------------------------ GL_ARB_ES2_compatibility ----------------------- */
  3305. #if !defined(GL_ARB_ES2_compatibility)
  3306. #define GL_ARB_ES2_compatibility 1
  3307. #define GL_FIXED 0x140C
  3308. #define GL_IMPLEMENTATION_COLOR_READ_TYPE 0x8B9A
  3309. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT 0x8B9B
  3310. #define GL_RGB565 0x8D62
  3311. #define GL_LOW_FLOAT 0x8DF0
  3312. #define GL_MEDIUM_FLOAT 0x8DF1
  3313. #define GL_HIGH_FLOAT 0x8DF2
  3314. #define GL_LOW_INT 0x8DF3
  3315. #define GL_MEDIUM_INT 0x8DF4
  3316. #define GL_HIGH_INT 0x8DF5
  3317. #define GL_SHADER_BINARY_FORMATS 0x8DF8
  3318. #define GL_NUM_SHADER_BINARY_FORMATS 0x8DF9
  3319. #define GL_SHADER_COMPILER 0x8DFA
  3320. #define GL_MAX_VERTEX_UNIFORM_VECTORS 0x8DFB
  3321. #define GL_MAX_VARYING_VECTORS 0x8DFC
  3322. #define GL_MAX_FRAGMENT_UNIFORM_VECTORS 0x8DFD
  3323. typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFPROC) (GLclampf d);
  3324. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFPROC) (GLclampf n, GLclampf f);
  3325. typedef void (GLAPIENTRY * PFNGLGETSHADERPRECISIONFORMATPROC) (GLenum shadertype, GLenum precisiontype, GLint* range, GLint *precision);
  3326. typedef void (GLAPIENTRY * PFNGLRELEASESHADERCOMPILERPROC) (void);
  3327. typedef void (GLAPIENTRY * PFNGLSHADERBINARYPROC) (GLsizei count, const GLuint* shaders, GLenum binaryformat, const GLvoid*binary, GLsizei length);
  3328. #define glClearDepthf GLEW_GET_FUN(__glewClearDepthf)
  3329. #define glDepthRangef GLEW_GET_FUN(__glewDepthRangef)
  3330. #define glGetShaderPrecisionFormat GLEW_GET_FUN(__glewGetShaderPrecisionFormat)
  3331. #define glReleaseShaderCompiler GLEW_GET_FUN(__glewReleaseShaderCompiler)
  3332. #define glShaderBinary GLEW_GET_FUN(__glewShaderBinary)
  3333. #define GLEW_ARB_ES2_compatibility GLEW_GET_VAR(__GLEW_ARB_ES2_compatibility)
  3334. #endif /* !GL_ARB_ES2_compatibility */
  3335. /* ------------------------ GL_ARB_ES3_compatibility ----------------------- */
  3336. #if !defined(GL_ARB_ES3_compatibility)
  3337. #define GL_ARB_ES3_compatibility 1
  3338. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  3339. #define GL_PRIMITIVE_RESTART_FIXED_INDEX 0x8D69
  3340. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE 0x8D6A
  3341. #define GL_MAX_ELEMENT_INDEX 0x8D6B
  3342. #define GL_COMPRESSED_R11_EAC 0x9270
  3343. #define GL_COMPRESSED_SIGNED_R11_EAC 0x9271
  3344. #define GL_COMPRESSED_RG11_EAC 0x9272
  3345. #define GL_COMPRESSED_SIGNED_RG11_EAC 0x9273
  3346. #define GL_COMPRESSED_RGB8_ETC2 0x9274
  3347. #define GL_COMPRESSED_SRGB8_ETC2 0x9275
  3348. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9276
  3349. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_ETC2 0x9277
  3350. #define GL_COMPRESSED_RGBA8_ETC2_EAC 0x9278
  3351. #define GL_COMPRESSED_SRGB8_ALPHA8_ETC2_EAC 0x9279
  3352. #define GLEW_ARB_ES3_compatibility GLEW_GET_VAR(__GLEW_ARB_ES3_compatibility)
  3353. #endif /* !GL_ARB_ES3_compatibility */
  3354. /* ------------------------ GL_ARB_arrays_of_arrays ------------------------ */
  3355. #if !defined(GL_ARB_arrays_of_arrays)
  3356. #define GL_ARB_arrays_of_arrays 1
  3357. #define GLEW_ARB_arrays_of_arrays GLEW_GET_VAR(__GLEW_ARB_arrays_of_arrays)
  3358. #endif /* !GL_ARB_arrays_of_arrays */
  3359. /* -------------------------- GL_ARB_base_instance ------------------------- */
  3360. #if !defined(GL_ARB_base_instance)
  3361. #define GL_ARB_base_instance 1
  3362. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount, GLuint baseinstance);
  3363. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLuint baseinstance);
  3364. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex, GLuint baseinstance);
  3365. #define glDrawArraysInstancedBaseInstance GLEW_GET_FUN(__glewDrawArraysInstancedBaseInstance)
  3366. #define glDrawElementsInstancedBaseInstance GLEW_GET_FUN(__glewDrawElementsInstancedBaseInstance)
  3367. #define glDrawElementsInstancedBaseVertexBaseInstance GLEW_GET_FUN(__glewDrawElementsInstancedBaseVertexBaseInstance)
  3368. #define GLEW_ARB_base_instance GLEW_GET_VAR(__GLEW_ARB_base_instance)
  3369. #endif /* !GL_ARB_base_instance */
  3370. /* ----------------------- GL_ARB_blend_func_extended ---------------------- */
  3371. #if !defined(GL_ARB_blend_func_extended)
  3372. #define GL_ARB_blend_func_extended 1
  3373. #define GL_SRC1_COLOR 0x88F9
  3374. #define GL_ONE_MINUS_SRC1_COLOR 0x88FA
  3375. #define GL_ONE_MINUS_SRC1_ALPHA 0x88FB
  3376. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS 0x88FC
  3377. typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONINDEXEDPROC) (GLuint program, GLuint colorNumber, GLuint index, const char * name);
  3378. typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATAINDEXPROC) (GLuint program, const char * name);
  3379. #define glBindFragDataLocationIndexed GLEW_GET_FUN(__glewBindFragDataLocationIndexed)
  3380. #define glGetFragDataIndex GLEW_GET_FUN(__glewGetFragDataIndex)
  3381. #define GLEW_ARB_blend_func_extended GLEW_GET_VAR(__GLEW_ARB_blend_func_extended)
  3382. #endif /* !GL_ARB_blend_func_extended */
  3383. /* ---------------------------- GL_ARB_cl_event ---------------------------- */
  3384. #if !defined(GL_ARB_cl_event)
  3385. #define GL_ARB_cl_event 1
  3386. #define GL_SYNC_CL_EVENT_ARB 0x8240
  3387. #define GL_SYNC_CL_EVENT_COMPLETE_ARB 0x8241
  3388. typedef struct _cl_context *cl_context;
  3389. typedef struct _cl_event *cl_event;
  3390. typedef GLsync (GLAPIENTRY * PFNGLCREATESYNCFROMCLEVENTARBPROC) (cl_context context, cl_event event, GLbitfield flags);
  3391. #define glCreateSyncFromCLeventARB GLEW_GET_FUN(__glewCreateSyncFromCLeventARB)
  3392. #define GLEW_ARB_cl_event GLEW_GET_VAR(__GLEW_ARB_cl_event)
  3393. #endif /* !GL_ARB_cl_event */
  3394. /* ----------------------- GL_ARB_clear_buffer_object ---------------------- */
  3395. #if !defined(GL_ARB_clear_buffer_object)
  3396. #define GL_ARB_clear_buffer_object 1
  3397. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERDATAPROC) (GLenum target, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data);
  3398. typedef void (GLAPIENTRY * PFNGLCLEARBUFFERSUBDATAPROC) (GLenum target, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid* data);
  3399. typedef void (GLAPIENTRY * PFNGLCLEARNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLenum format, GLenum type, const GLvoid* data);
  3400. typedef void (GLAPIENTRY * PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLenum internalformat, GLintptr offset, GLsizeiptr size, GLenum format, GLenum type, const GLvoid* data);
  3401. #define glClearBufferData GLEW_GET_FUN(__glewClearBufferData)
  3402. #define glClearBufferSubData GLEW_GET_FUN(__glewClearBufferSubData)
  3403. #define glClearNamedBufferDataEXT GLEW_GET_FUN(__glewClearNamedBufferDataEXT)
  3404. #define glClearNamedBufferSubDataEXT GLEW_GET_FUN(__glewClearNamedBufferSubDataEXT)
  3405. #define GLEW_ARB_clear_buffer_object GLEW_GET_VAR(__GLEW_ARB_clear_buffer_object)
  3406. #endif /* !GL_ARB_clear_buffer_object */
  3407. /* ----------------------- GL_ARB_color_buffer_float ----------------------- */
  3408. #if !defined(GL_ARB_color_buffer_float)
  3409. #define GL_ARB_color_buffer_float 1
  3410. #define GL_RGBA_FLOAT_MODE_ARB 0x8820
  3411. #define GL_CLAMP_VERTEX_COLOR_ARB 0x891A
  3412. #define GL_CLAMP_FRAGMENT_COLOR_ARB 0x891B
  3413. #define GL_CLAMP_READ_COLOR_ARB 0x891C
  3414. #define GL_FIXED_ONLY_ARB 0x891D
  3415. typedef void (GLAPIENTRY * PFNGLCLAMPCOLORARBPROC) (GLenum target, GLenum clamp);
  3416. #define glClampColorARB GLEW_GET_FUN(__glewClampColorARB)
  3417. #define GLEW_ARB_color_buffer_float GLEW_GET_VAR(__GLEW_ARB_color_buffer_float)
  3418. #endif /* !GL_ARB_color_buffer_float */
  3419. /* -------------------------- GL_ARB_compatibility ------------------------- */
  3420. #if !defined(GL_ARB_compatibility)
  3421. #define GL_ARB_compatibility 1
  3422. #define GLEW_ARB_compatibility GLEW_GET_VAR(__GLEW_ARB_compatibility)
  3423. #endif /* !GL_ARB_compatibility */
  3424. /* ---------------- GL_ARB_compressed_texture_pixel_storage ---------------- */
  3425. #if !defined(GL_ARB_compressed_texture_pixel_storage)
  3426. #define GL_ARB_compressed_texture_pixel_storage 1
  3427. #define GL_UNPACK_COMPRESSED_BLOCK_WIDTH 0x9127
  3428. #define GL_UNPACK_COMPRESSED_BLOCK_HEIGHT 0x9128
  3429. #define GL_UNPACK_COMPRESSED_BLOCK_DEPTH 0x9129
  3430. #define GL_UNPACK_COMPRESSED_BLOCK_SIZE 0x912A
  3431. #define GL_PACK_COMPRESSED_BLOCK_WIDTH 0x912B
  3432. #define GL_PACK_COMPRESSED_BLOCK_HEIGHT 0x912C
  3433. #define GL_PACK_COMPRESSED_BLOCK_DEPTH 0x912D
  3434. #define GL_PACK_COMPRESSED_BLOCK_SIZE 0x912E
  3435. #define GLEW_ARB_compressed_texture_pixel_storage GLEW_GET_VAR(__GLEW_ARB_compressed_texture_pixel_storage)
  3436. #endif /* !GL_ARB_compressed_texture_pixel_storage */
  3437. /* ------------------------- GL_ARB_compute_shader ------------------------- */
  3438. #if !defined(GL_ARB_compute_shader)
  3439. #define GL_ARB_compute_shader 1
  3440. #define GL_COMPUTE_SHADER_BIT 0x00000020
  3441. #define GL_MAX_COMPUTE_SHARED_MEMORY_SIZE 0x8262
  3442. #define GL_MAX_COMPUTE_UNIFORM_COMPONENTS 0x8263
  3443. #define GL_MAX_COMPUTE_ATOMIC_COUNTER_BUFFERS 0x8264
  3444. #define GL_MAX_COMPUTE_ATOMIC_COUNTERS 0x8265
  3445. #define GL_MAX_COMBINED_COMPUTE_UNIFORM_COMPONENTS 0x8266
  3446. #define GL_COMPUTE_WORK_GROUP_SIZE 0x8267
  3447. #define GL_MAX_COMPUTE_WORK_GROUP_INVOCATIONS 0x90EB
  3448. #define GL_UNIFORM_BLOCK_REFERENCED_BY_COMPUTE_SHADER 0x90EC
  3449. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_COMPUTE_SHADER 0x90ED
  3450. #define GL_DISPATCH_INDIRECT_BUFFER 0x90EE
  3451. #define GL_DISPATCH_INDIRECT_BUFFER_BINDING 0x90EF
  3452. #define GL_COMPUTE_SHADER 0x91B9
  3453. #define GL_MAX_COMPUTE_UNIFORM_BLOCKS 0x91BB
  3454. #define GL_MAX_COMPUTE_TEXTURE_IMAGE_UNITS 0x91BC
  3455. #define GL_MAX_COMPUTE_IMAGE_UNIFORMS 0x91BD
  3456. #define GL_MAX_COMPUTE_WORK_GROUP_COUNT 0x91BE
  3457. #define GL_MAX_COMPUTE_WORK_GROUP_SIZE 0x91BF
  3458. typedef void (GLAPIENTRY * PFNGLDISPATCHCOMPUTEPROC) (GLuint num_groups_x, GLuint num_groups_y, GLuint num_groups_z);
  3459. typedef void (GLAPIENTRY * PFNGLDISPATCHCOMPUTEINDIRECTPROC) (GLintptr indirect);
  3460. #define glDispatchCompute GLEW_GET_FUN(__glewDispatchCompute)
  3461. #define glDispatchComputeIndirect GLEW_GET_FUN(__glewDispatchComputeIndirect)
  3462. #define GLEW_ARB_compute_shader GLEW_GET_VAR(__GLEW_ARB_compute_shader)
  3463. #endif /* !GL_ARB_compute_shader */
  3464. /* ----------------------- GL_ARB_conservative_depth ----------------------- */
  3465. #if !defined(GL_ARB_conservative_depth)
  3466. #define GL_ARB_conservative_depth 1
  3467. #define GLEW_ARB_conservative_depth GLEW_GET_VAR(__GLEW_ARB_conservative_depth)
  3468. #endif /* !GL_ARB_conservative_depth */
  3469. /* --------------------------- GL_ARB_copy_buffer -------------------------- */
  3470. #if !defined(GL_ARB_copy_buffer)
  3471. #define GL_ARB_copy_buffer 1
  3472. #define GL_COPY_READ_BUFFER 0x8F36
  3473. #define GL_COPY_WRITE_BUFFER 0x8F37
  3474. typedef void (GLAPIENTRY * PFNGLCOPYBUFFERSUBDATAPROC) (GLenum readtarget, GLenum writetarget, GLintptr readoffset, GLintptr writeoffset, GLsizeiptr size);
  3475. #define glCopyBufferSubData GLEW_GET_FUN(__glewCopyBufferSubData)
  3476. #define GLEW_ARB_copy_buffer GLEW_GET_VAR(__GLEW_ARB_copy_buffer)
  3477. #endif /* !GL_ARB_copy_buffer */
  3478. /* --------------------------- GL_ARB_copy_image --------------------------- */
  3479. #if !defined(GL_ARB_copy_image)
  3480. #define GL_ARB_copy_image 1
  3481. typedef void (GLAPIENTRY * 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);
  3482. #define glCopyImageSubData GLEW_GET_FUN(__glewCopyImageSubData)
  3483. #define GLEW_ARB_copy_image GLEW_GET_VAR(__GLEW_ARB_copy_image)
  3484. #endif /* !GL_ARB_copy_image */
  3485. /* -------------------------- GL_ARB_debug_output -------------------------- */
  3486. #if !defined(GL_ARB_debug_output)
  3487. #define GL_ARB_debug_output 1
  3488. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_ARB 0x8242
  3489. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_ARB 0x8243
  3490. #define GL_DEBUG_CALLBACK_FUNCTION_ARB 0x8244
  3491. #define GL_DEBUG_CALLBACK_USER_PARAM_ARB 0x8245
  3492. #define GL_DEBUG_SOURCE_API_ARB 0x8246
  3493. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_ARB 0x8247
  3494. #define GL_DEBUG_SOURCE_SHADER_COMPILER_ARB 0x8248
  3495. #define GL_DEBUG_SOURCE_THIRD_PARTY_ARB 0x8249
  3496. #define GL_DEBUG_SOURCE_APPLICATION_ARB 0x824A
  3497. #define GL_DEBUG_SOURCE_OTHER_ARB 0x824B
  3498. #define GL_DEBUG_TYPE_ERROR_ARB 0x824C
  3499. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_ARB 0x824D
  3500. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_ARB 0x824E
  3501. #define GL_DEBUG_TYPE_PORTABILITY_ARB 0x824F
  3502. #define GL_DEBUG_TYPE_PERFORMANCE_ARB 0x8250
  3503. #define GL_DEBUG_TYPE_OTHER_ARB 0x8251
  3504. #define GL_MAX_DEBUG_MESSAGE_LENGTH_ARB 0x9143
  3505. #define GL_MAX_DEBUG_LOGGED_MESSAGES_ARB 0x9144
  3506. #define GL_DEBUG_LOGGED_MESSAGES_ARB 0x9145
  3507. #define GL_DEBUG_SEVERITY_HIGH_ARB 0x9146
  3508. #define GL_DEBUG_SEVERITY_MEDIUM_ARB 0x9147
  3509. #define GL_DEBUG_SEVERITY_LOW_ARB 0x9148
  3510. typedef void (APIENTRY *GLDEBUGPROCARB)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
  3511. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKARBPROC) (GLDEBUGPROCARB callback, void* userParam);
  3512. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLARBPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
  3513. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTARBPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* buf);
  3514. typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGARBPROC) (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, char* messageLog);
  3515. #define glDebugMessageCallbackARB GLEW_GET_FUN(__glewDebugMessageCallbackARB)
  3516. #define glDebugMessageControlARB GLEW_GET_FUN(__glewDebugMessageControlARB)
  3517. #define glDebugMessageInsertARB GLEW_GET_FUN(__glewDebugMessageInsertARB)
  3518. #define glGetDebugMessageLogARB GLEW_GET_FUN(__glewGetDebugMessageLogARB)
  3519. #define GLEW_ARB_debug_output GLEW_GET_VAR(__GLEW_ARB_debug_output)
  3520. #endif /* !GL_ARB_debug_output */
  3521. /* ----------------------- GL_ARB_depth_buffer_float ----------------------- */
  3522. #if !defined(GL_ARB_depth_buffer_float)
  3523. #define GL_ARB_depth_buffer_float 1
  3524. #define GL_DEPTH_COMPONENT32F 0x8CAC
  3525. #define GL_DEPTH32F_STENCIL8 0x8CAD
  3526. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV 0x8DAD
  3527. #define GLEW_ARB_depth_buffer_float GLEW_GET_VAR(__GLEW_ARB_depth_buffer_float)
  3528. #endif /* !GL_ARB_depth_buffer_float */
  3529. /* --------------------------- GL_ARB_depth_clamp -------------------------- */
  3530. #if !defined(GL_ARB_depth_clamp)
  3531. #define GL_ARB_depth_clamp 1
  3532. #define GL_DEPTH_CLAMP 0x864F
  3533. #define GLEW_ARB_depth_clamp GLEW_GET_VAR(__GLEW_ARB_depth_clamp)
  3534. #endif /* !GL_ARB_depth_clamp */
  3535. /* -------------------------- GL_ARB_depth_texture ------------------------- */
  3536. #if !defined(GL_ARB_depth_texture)
  3537. #define GL_ARB_depth_texture 1
  3538. #define GL_DEPTH_COMPONENT16_ARB 0x81A5
  3539. #define GL_DEPTH_COMPONENT24_ARB 0x81A6
  3540. #define GL_DEPTH_COMPONENT32_ARB 0x81A7
  3541. #define GL_TEXTURE_DEPTH_SIZE_ARB 0x884A
  3542. #define GL_DEPTH_TEXTURE_MODE_ARB 0x884B
  3543. #define GLEW_ARB_depth_texture GLEW_GET_VAR(__GLEW_ARB_depth_texture)
  3544. #endif /* !GL_ARB_depth_texture */
  3545. /* -------------------------- GL_ARB_draw_buffers -------------------------- */
  3546. #if !defined(GL_ARB_draw_buffers)
  3547. #define GL_ARB_draw_buffers 1
  3548. #define GL_MAX_DRAW_BUFFERS_ARB 0x8824
  3549. #define GL_DRAW_BUFFER0_ARB 0x8825
  3550. #define GL_DRAW_BUFFER1_ARB 0x8826
  3551. #define GL_DRAW_BUFFER2_ARB 0x8827
  3552. #define GL_DRAW_BUFFER3_ARB 0x8828
  3553. #define GL_DRAW_BUFFER4_ARB 0x8829
  3554. #define GL_DRAW_BUFFER5_ARB 0x882A
  3555. #define GL_DRAW_BUFFER6_ARB 0x882B
  3556. #define GL_DRAW_BUFFER7_ARB 0x882C
  3557. #define GL_DRAW_BUFFER8_ARB 0x882D
  3558. #define GL_DRAW_BUFFER9_ARB 0x882E
  3559. #define GL_DRAW_BUFFER10_ARB 0x882F
  3560. #define GL_DRAW_BUFFER11_ARB 0x8830
  3561. #define GL_DRAW_BUFFER12_ARB 0x8831
  3562. #define GL_DRAW_BUFFER13_ARB 0x8832
  3563. #define GL_DRAW_BUFFER14_ARB 0x8833
  3564. #define GL_DRAW_BUFFER15_ARB 0x8834
  3565. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSARBPROC) (GLsizei n, const GLenum* bufs);
  3566. #define glDrawBuffersARB GLEW_GET_FUN(__glewDrawBuffersARB)
  3567. #define GLEW_ARB_draw_buffers GLEW_GET_VAR(__GLEW_ARB_draw_buffers)
  3568. #endif /* !GL_ARB_draw_buffers */
  3569. /* ----------------------- GL_ARB_draw_buffers_blend ----------------------- */
  3570. #if !defined(GL_ARB_draw_buffers_blend)
  3571. #define GL_ARB_draw_buffers_blend 1
  3572. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEIARBPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  3573. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONIARBPROC) (GLuint buf, GLenum mode);
  3574. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEIARBPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  3575. typedef void (GLAPIENTRY * PFNGLBLENDFUNCIARBPROC) (GLuint buf, GLenum src, GLenum dst);
  3576. #define glBlendEquationSeparateiARB GLEW_GET_FUN(__glewBlendEquationSeparateiARB)
  3577. #define glBlendEquationiARB GLEW_GET_FUN(__glewBlendEquationiARB)
  3578. #define glBlendFuncSeparateiARB GLEW_GET_FUN(__glewBlendFuncSeparateiARB)
  3579. #define glBlendFunciARB GLEW_GET_FUN(__glewBlendFunciARB)
  3580. #define GLEW_ARB_draw_buffers_blend GLEW_GET_VAR(__GLEW_ARB_draw_buffers_blend)
  3581. #endif /* !GL_ARB_draw_buffers_blend */
  3582. /* -------------------- GL_ARB_draw_elements_base_vertex ------------------- */
  3583. #if !defined(GL_ARB_draw_elements_base_vertex)
  3584. #define GL_ARB_draw_elements_base_vertex 1
  3585. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, void* indices, GLint basevertex);
  3586. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount, GLint basevertex);
  3587. typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, void* indices, GLint basevertex);
  3588. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC) (GLenum mode, GLsizei* count, GLenum type, GLvoid**indices, GLsizei primcount, GLint *basevertex);
  3589. #define glDrawElementsBaseVertex GLEW_GET_FUN(__glewDrawElementsBaseVertex)
  3590. #define glDrawElementsInstancedBaseVertex GLEW_GET_FUN(__glewDrawElementsInstancedBaseVertex)
  3591. #define glDrawRangeElementsBaseVertex GLEW_GET_FUN(__glewDrawRangeElementsBaseVertex)
  3592. #define glMultiDrawElementsBaseVertex GLEW_GET_FUN(__glewMultiDrawElementsBaseVertex)
  3593. #define GLEW_ARB_draw_elements_base_vertex GLEW_GET_VAR(__GLEW_ARB_draw_elements_base_vertex)
  3594. #endif /* !GL_ARB_draw_elements_base_vertex */
  3595. /* -------------------------- GL_ARB_draw_indirect ------------------------- */
  3596. #if !defined(GL_ARB_draw_indirect)
  3597. #define GL_ARB_draw_indirect 1
  3598. #define GL_DRAW_INDIRECT_BUFFER 0x8F3F
  3599. #define GL_DRAW_INDIRECT_BUFFER_BINDING 0x8F43
  3600. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect);
  3601. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void* indirect);
  3602. #define glDrawArraysIndirect GLEW_GET_FUN(__glewDrawArraysIndirect)
  3603. #define glDrawElementsIndirect GLEW_GET_FUN(__glewDrawElementsIndirect)
  3604. #define GLEW_ARB_draw_indirect GLEW_GET_VAR(__GLEW_ARB_draw_indirect)
  3605. #endif /* !GL_ARB_draw_indirect */
  3606. /* ------------------------- GL_ARB_draw_instanced ------------------------- */
  3607. #if !defined(GL_ARB_draw_instanced)
  3608. #define GL_ARB_draw_instanced 1
  3609. #define GLEW_ARB_draw_instanced GLEW_GET_VAR(__GLEW_ARB_draw_instanced)
  3610. #endif /* !GL_ARB_draw_instanced */
  3611. /* -------------------- GL_ARB_explicit_attrib_location -------------------- */
  3612. #if !defined(GL_ARB_explicit_attrib_location)
  3613. #define GL_ARB_explicit_attrib_location 1
  3614. #define GLEW_ARB_explicit_attrib_location GLEW_GET_VAR(__GLEW_ARB_explicit_attrib_location)
  3615. #endif /* !GL_ARB_explicit_attrib_location */
  3616. /* -------------------- GL_ARB_explicit_uniform_location ------------------- */
  3617. #if !defined(GL_ARB_explicit_uniform_location)
  3618. #define GL_ARB_explicit_uniform_location 1
  3619. #define GL_MAX_UNIFORM_LOCATIONS 0x826E
  3620. #define GLEW_ARB_explicit_uniform_location GLEW_GET_VAR(__GLEW_ARB_explicit_uniform_location)
  3621. #endif /* !GL_ARB_explicit_uniform_location */
  3622. /* ------------------- GL_ARB_fragment_coord_conventions ------------------- */
  3623. #if !defined(GL_ARB_fragment_coord_conventions)
  3624. #define GL_ARB_fragment_coord_conventions 1
  3625. #define GLEW_ARB_fragment_coord_conventions GLEW_GET_VAR(__GLEW_ARB_fragment_coord_conventions)
  3626. #endif /* !GL_ARB_fragment_coord_conventions */
  3627. /* --------------------- GL_ARB_fragment_layer_viewport -------------------- */
  3628. #if !defined(GL_ARB_fragment_layer_viewport)
  3629. #define GL_ARB_fragment_layer_viewport 1
  3630. #define GLEW_ARB_fragment_layer_viewport GLEW_GET_VAR(__GLEW_ARB_fragment_layer_viewport)
  3631. #endif /* !GL_ARB_fragment_layer_viewport */
  3632. /* ------------------------ GL_ARB_fragment_program ------------------------ */
  3633. #if !defined(GL_ARB_fragment_program)
  3634. #define GL_ARB_fragment_program 1
  3635. #define GL_FRAGMENT_PROGRAM_ARB 0x8804
  3636. #define GL_PROGRAM_ALU_INSTRUCTIONS_ARB 0x8805
  3637. #define GL_PROGRAM_TEX_INSTRUCTIONS_ARB 0x8806
  3638. #define GL_PROGRAM_TEX_INDIRECTIONS_ARB 0x8807
  3639. #define GL_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x8808
  3640. #define GL_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x8809
  3641. #define GL_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x880A
  3642. #define GL_MAX_PROGRAM_ALU_INSTRUCTIONS_ARB 0x880B
  3643. #define GL_MAX_PROGRAM_TEX_INSTRUCTIONS_ARB 0x880C
  3644. #define GL_MAX_PROGRAM_TEX_INDIRECTIONS_ARB 0x880D
  3645. #define GL_MAX_PROGRAM_NATIVE_ALU_INSTRUCTIONS_ARB 0x880E
  3646. #define GL_MAX_PROGRAM_NATIVE_TEX_INSTRUCTIONS_ARB 0x880F
  3647. #define GL_MAX_PROGRAM_NATIVE_TEX_INDIRECTIONS_ARB 0x8810
  3648. #define GL_MAX_TEXTURE_COORDS_ARB 0x8871
  3649. #define GL_MAX_TEXTURE_IMAGE_UNITS_ARB 0x8872
  3650. #define GLEW_ARB_fragment_program GLEW_GET_VAR(__GLEW_ARB_fragment_program)
  3651. #endif /* !GL_ARB_fragment_program */
  3652. /* --------------------- GL_ARB_fragment_program_shadow -------------------- */
  3653. #if !defined(GL_ARB_fragment_program_shadow)
  3654. #define GL_ARB_fragment_program_shadow 1
  3655. #define GLEW_ARB_fragment_program_shadow GLEW_GET_VAR(__GLEW_ARB_fragment_program_shadow)
  3656. #endif /* !GL_ARB_fragment_program_shadow */
  3657. /* ------------------------- GL_ARB_fragment_shader ------------------------ */
  3658. #if !defined(GL_ARB_fragment_shader)
  3659. #define GL_ARB_fragment_shader 1
  3660. #define GL_FRAGMENT_SHADER_ARB 0x8B30
  3661. #define GL_MAX_FRAGMENT_UNIFORM_COMPONENTS_ARB 0x8B49
  3662. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_ARB 0x8B8B
  3663. #define GLEW_ARB_fragment_shader GLEW_GET_VAR(__GLEW_ARB_fragment_shader)
  3664. #endif /* !GL_ARB_fragment_shader */
  3665. /* ------------------- GL_ARB_framebuffer_no_attachments ------------------- */
  3666. #if !defined(GL_ARB_framebuffer_no_attachments)
  3667. #define GL_ARB_framebuffer_no_attachments 1
  3668. #define GL_FRAMEBUFFER_DEFAULT_WIDTH 0x9310
  3669. #define GL_FRAMEBUFFER_DEFAULT_HEIGHT 0x9311
  3670. #define GL_FRAMEBUFFER_DEFAULT_LAYERS 0x9312
  3671. #define GL_FRAMEBUFFER_DEFAULT_SAMPLES 0x9313
  3672. #define GL_FRAMEBUFFER_DEFAULT_FIXED_SAMPLE_LOCATIONS 0x9314
  3673. #define GL_MAX_FRAMEBUFFER_WIDTH 0x9315
  3674. #define GL_MAX_FRAMEBUFFER_HEIGHT 0x9316
  3675. #define GL_MAX_FRAMEBUFFER_LAYERS 0x9317
  3676. #define GL_MAX_FRAMEBUFFER_SAMPLES 0x9318
  3677. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERPARAMETERIPROC) (GLenum target, GLenum pname, GLint param);
  3678. typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
  3679. typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* params);
  3680. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC) (GLuint framebuffer, GLenum pname, GLint param);
  3681. #define glFramebufferParameteri GLEW_GET_FUN(__glewFramebufferParameteri)
  3682. #define glGetFramebufferParameteriv GLEW_GET_FUN(__glewGetFramebufferParameteriv)
  3683. #define glGetNamedFramebufferParameterivEXT GLEW_GET_FUN(__glewGetNamedFramebufferParameterivEXT)
  3684. #define glNamedFramebufferParameteriEXT GLEW_GET_FUN(__glewNamedFramebufferParameteriEXT)
  3685. #define GLEW_ARB_framebuffer_no_attachments GLEW_GET_VAR(__GLEW_ARB_framebuffer_no_attachments)
  3686. #endif /* !GL_ARB_framebuffer_no_attachments */
  3687. /* ----------------------- GL_ARB_framebuffer_object ----------------------- */
  3688. #if !defined(GL_ARB_framebuffer_object)
  3689. #define GL_ARB_framebuffer_object 1
  3690. #define GL_INVALID_FRAMEBUFFER_OPERATION 0x0506
  3691. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING 0x8210
  3692. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE 0x8211
  3693. #define GL_FRAMEBUFFER_ATTACHMENT_RED_SIZE 0x8212
  3694. #define GL_FRAMEBUFFER_ATTACHMENT_GREEN_SIZE 0x8213
  3695. #define GL_FRAMEBUFFER_ATTACHMENT_BLUE_SIZE 0x8214
  3696. #define GL_FRAMEBUFFER_ATTACHMENT_ALPHA_SIZE 0x8215
  3697. #define GL_FRAMEBUFFER_ATTACHMENT_DEPTH_SIZE 0x8216
  3698. #define GL_FRAMEBUFFER_ATTACHMENT_STENCIL_SIZE 0x8217
  3699. #define GL_FRAMEBUFFER_DEFAULT 0x8218
  3700. #define GL_FRAMEBUFFER_UNDEFINED 0x8219
  3701. #define GL_DEPTH_STENCIL_ATTACHMENT 0x821A
  3702. #define GL_INDEX 0x8222
  3703. #define GL_MAX_RENDERBUFFER_SIZE 0x84E8
  3704. #define GL_DEPTH_STENCIL 0x84F9
  3705. #define GL_UNSIGNED_INT_24_8 0x84FA
  3706. #define GL_DEPTH24_STENCIL8 0x88F0
  3707. #define GL_TEXTURE_STENCIL_SIZE 0x88F1
  3708. #define GL_UNSIGNED_NORMALIZED 0x8C17
  3709. #define GL_SRGB 0x8C40
  3710. #define GL_DRAW_FRAMEBUFFER_BINDING 0x8CA6
  3711. #define GL_FRAMEBUFFER_BINDING 0x8CA6
  3712. #define GL_RENDERBUFFER_BINDING 0x8CA7
  3713. #define GL_READ_FRAMEBUFFER 0x8CA8
  3714. #define GL_DRAW_FRAMEBUFFER 0x8CA9
  3715. #define GL_READ_FRAMEBUFFER_BINDING 0x8CAA
  3716. #define GL_RENDERBUFFER_SAMPLES 0x8CAB
  3717. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE 0x8CD0
  3718. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME 0x8CD1
  3719. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL 0x8CD2
  3720. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE 0x8CD3
  3721. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  3722. #define GL_FRAMEBUFFER_COMPLETE 0x8CD5
  3723. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT 0x8CD6
  3724. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT 0x8CD7
  3725. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER 0x8CDB
  3726. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER 0x8CDC
  3727. #define GL_FRAMEBUFFER_UNSUPPORTED 0x8CDD
  3728. #define GL_MAX_COLOR_ATTACHMENTS 0x8CDF
  3729. #define GL_COLOR_ATTACHMENT0 0x8CE0
  3730. #define GL_COLOR_ATTACHMENT1 0x8CE1
  3731. #define GL_COLOR_ATTACHMENT2 0x8CE2
  3732. #define GL_COLOR_ATTACHMENT3 0x8CE3
  3733. #define GL_COLOR_ATTACHMENT4 0x8CE4
  3734. #define GL_COLOR_ATTACHMENT5 0x8CE5
  3735. #define GL_COLOR_ATTACHMENT6 0x8CE6
  3736. #define GL_COLOR_ATTACHMENT7 0x8CE7
  3737. #define GL_COLOR_ATTACHMENT8 0x8CE8
  3738. #define GL_COLOR_ATTACHMENT9 0x8CE9
  3739. #define GL_COLOR_ATTACHMENT10 0x8CEA
  3740. #define GL_COLOR_ATTACHMENT11 0x8CEB
  3741. #define GL_COLOR_ATTACHMENT12 0x8CEC
  3742. #define GL_COLOR_ATTACHMENT13 0x8CED
  3743. #define GL_COLOR_ATTACHMENT14 0x8CEE
  3744. #define GL_COLOR_ATTACHMENT15 0x8CEF
  3745. #define GL_DEPTH_ATTACHMENT 0x8D00
  3746. #define GL_STENCIL_ATTACHMENT 0x8D20
  3747. #define GL_FRAMEBUFFER 0x8D40
  3748. #define GL_RENDERBUFFER 0x8D41
  3749. #define GL_RENDERBUFFER_WIDTH 0x8D42
  3750. #define GL_RENDERBUFFER_HEIGHT 0x8D43
  3751. #define GL_RENDERBUFFER_INTERNAL_FORMAT 0x8D44
  3752. #define GL_STENCIL_INDEX1 0x8D46
  3753. #define GL_STENCIL_INDEX4 0x8D47
  3754. #define GL_STENCIL_INDEX8 0x8D48
  3755. #define GL_STENCIL_INDEX16 0x8D49
  3756. #define GL_RENDERBUFFER_RED_SIZE 0x8D50
  3757. #define GL_RENDERBUFFER_GREEN_SIZE 0x8D51
  3758. #define GL_RENDERBUFFER_BLUE_SIZE 0x8D52
  3759. #define GL_RENDERBUFFER_ALPHA_SIZE 0x8D53
  3760. #define GL_RENDERBUFFER_DEPTH_SIZE 0x8D54
  3761. #define GL_RENDERBUFFER_STENCIL_SIZE 0x8D55
  3762. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE 0x8D56
  3763. #define GL_MAX_SAMPLES 0x8D57
  3764. typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFERPROC) (GLenum target, GLuint framebuffer);
  3765. typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFERPROC) (GLenum target, GLuint renderbuffer);
  3766. typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  3767. typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSPROC) (GLenum target);
  3768. typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSPROC) (GLsizei n, const GLuint* framebuffers);
  3769. typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSPROC) (GLsizei n, const GLuint* renderbuffers);
  3770. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFERPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  3771. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  3772. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  3773. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint layer);
  3774. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERPROC) (GLenum target,GLenum attachment, GLuint texture,GLint level,GLint layer);
  3775. typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSPROC) (GLsizei n, GLuint* framebuffers);
  3776. typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSPROC) (GLsizei n, GLuint* renderbuffers);
  3777. typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPPROC) (GLenum target);
  3778. typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
  3779. typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVPROC) (GLenum target, GLenum pname, GLint* params);
  3780. typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFERPROC) (GLuint framebuffer);
  3781. typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFERPROC) (GLuint renderbuffer);
  3782. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  3783. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  3784. #define glBindFramebuffer GLEW_GET_FUN(__glewBindFramebuffer)
  3785. #define glBindRenderbuffer GLEW_GET_FUN(__glewBindRenderbuffer)
  3786. #define glBlitFramebuffer GLEW_GET_FUN(__glewBlitFramebuffer)
  3787. #define glCheckFramebufferStatus GLEW_GET_FUN(__glewCheckFramebufferStatus)
  3788. #define glDeleteFramebuffers GLEW_GET_FUN(__glewDeleteFramebuffers)
  3789. #define glDeleteRenderbuffers GLEW_GET_FUN(__glewDeleteRenderbuffers)
  3790. #define glFramebufferRenderbuffer GLEW_GET_FUN(__glewFramebufferRenderbuffer)
  3791. #define glFramebufferTexture1D GLEW_GET_FUN(__glewFramebufferTexture1D)
  3792. #define glFramebufferTexture2D GLEW_GET_FUN(__glewFramebufferTexture2D)
  3793. #define glFramebufferTexture3D GLEW_GET_FUN(__glewFramebufferTexture3D)
  3794. #define glFramebufferTextureLayer GLEW_GET_FUN(__glewFramebufferTextureLayer)
  3795. #define glGenFramebuffers GLEW_GET_FUN(__glewGenFramebuffers)
  3796. #define glGenRenderbuffers GLEW_GET_FUN(__glewGenRenderbuffers)
  3797. #define glGenerateMipmap GLEW_GET_FUN(__glewGenerateMipmap)
  3798. #define glGetFramebufferAttachmentParameteriv GLEW_GET_FUN(__glewGetFramebufferAttachmentParameteriv)
  3799. #define glGetRenderbufferParameteriv GLEW_GET_FUN(__glewGetRenderbufferParameteriv)
  3800. #define glIsFramebuffer GLEW_GET_FUN(__glewIsFramebuffer)
  3801. #define glIsRenderbuffer GLEW_GET_FUN(__glewIsRenderbuffer)
  3802. #define glRenderbufferStorage GLEW_GET_FUN(__glewRenderbufferStorage)
  3803. #define glRenderbufferStorageMultisample GLEW_GET_FUN(__glewRenderbufferStorageMultisample)
  3804. #define GLEW_ARB_framebuffer_object GLEW_GET_VAR(__GLEW_ARB_framebuffer_object)
  3805. #endif /* !GL_ARB_framebuffer_object */
  3806. /* ------------------------ GL_ARB_framebuffer_sRGB ------------------------ */
  3807. #if !defined(GL_ARB_framebuffer_sRGB)
  3808. #define GL_ARB_framebuffer_sRGB 1
  3809. #define GL_FRAMEBUFFER_SRGB 0x8DB9
  3810. #define GLEW_ARB_framebuffer_sRGB GLEW_GET_VAR(__GLEW_ARB_framebuffer_sRGB)
  3811. #endif /* !GL_ARB_framebuffer_sRGB */
  3812. /* ------------------------ GL_ARB_geometry_shader4 ------------------------ */
  3813. #if !defined(GL_ARB_geometry_shader4)
  3814. #define GL_ARB_geometry_shader4 1
  3815. #define GL_LINES_ADJACENCY_ARB 0xA
  3816. #define GL_LINE_STRIP_ADJACENCY_ARB 0xB
  3817. #define GL_TRIANGLES_ADJACENCY_ARB 0xC
  3818. #define GL_TRIANGLE_STRIP_ADJACENCY_ARB 0xD
  3819. #define GL_PROGRAM_POINT_SIZE_ARB 0x8642
  3820. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_ARB 0x8C29
  3821. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER 0x8CD4
  3822. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_ARB 0x8DA7
  3823. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_ARB 0x8DA8
  3824. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_ARB 0x8DA9
  3825. #define GL_GEOMETRY_SHADER_ARB 0x8DD9
  3826. #define GL_GEOMETRY_VERTICES_OUT_ARB 0x8DDA
  3827. #define GL_GEOMETRY_INPUT_TYPE_ARB 0x8DDB
  3828. #define GL_GEOMETRY_OUTPUT_TYPE_ARB 0x8DDC
  3829. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_ARB 0x8DDD
  3830. #define GL_MAX_VERTEX_VARYING_COMPONENTS_ARB 0x8DDE
  3831. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_ARB 0x8DDF
  3832. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_ARB 0x8DE0
  3833. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_ARB 0x8DE1
  3834. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  3835. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  3836. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERARBPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  3837. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIARBPROC) (GLuint program, GLenum pname, GLint value);
  3838. #define glFramebufferTextureARB GLEW_GET_FUN(__glewFramebufferTextureARB)
  3839. #define glFramebufferTextureFaceARB GLEW_GET_FUN(__glewFramebufferTextureFaceARB)
  3840. #define glFramebufferTextureLayerARB GLEW_GET_FUN(__glewFramebufferTextureLayerARB)
  3841. #define glProgramParameteriARB GLEW_GET_FUN(__glewProgramParameteriARB)
  3842. #define GLEW_ARB_geometry_shader4 GLEW_GET_VAR(__GLEW_ARB_geometry_shader4)
  3843. #endif /* !GL_ARB_geometry_shader4 */
  3844. /* ----------------------- GL_ARB_get_program_binary ----------------------- */
  3845. #if !defined(GL_ARB_get_program_binary)
  3846. #define GL_ARB_get_program_binary 1
  3847. #define GL_PROGRAM_BINARY_RETRIEVABLE_HINT 0x8257
  3848. #define GL_PROGRAM_BINARY_LENGTH 0x8741
  3849. #define GL_NUM_PROGRAM_BINARY_FORMATS 0x87FE
  3850. #define GL_PROGRAM_BINARY_FORMATS 0x87FF
  3851. typedef void (GLAPIENTRY * PFNGLGETPROGRAMBINARYPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
  3852. typedef void (GLAPIENTRY * PFNGLPROGRAMBINARYPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLsizei length);
  3853. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIPROC) (GLuint program, GLenum pname, GLint value);
  3854. #define glGetProgramBinary GLEW_GET_FUN(__glewGetProgramBinary)
  3855. #define glProgramBinary GLEW_GET_FUN(__glewProgramBinary)
  3856. #define glProgramParameteri GLEW_GET_FUN(__glewProgramParameteri)
  3857. #define GLEW_ARB_get_program_binary GLEW_GET_VAR(__GLEW_ARB_get_program_binary)
  3858. #endif /* !GL_ARB_get_program_binary */
  3859. /* --------------------------- GL_ARB_gpu_shader5 -------------------------- */
  3860. #if !defined(GL_ARB_gpu_shader5)
  3861. #define GL_ARB_gpu_shader5 1
  3862. #define GL_GEOMETRY_SHADER_INVOCATIONS 0x887F
  3863. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS 0x8E5A
  3864. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET 0x8E5B
  3865. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET 0x8E5C
  3866. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS 0x8E5D
  3867. #define GL_MAX_VERTEX_STREAMS 0x8E71
  3868. #define GLEW_ARB_gpu_shader5 GLEW_GET_VAR(__GLEW_ARB_gpu_shader5)
  3869. #endif /* !GL_ARB_gpu_shader5 */
  3870. /* ------------------------- GL_ARB_gpu_shader_fp64 ------------------------ */
  3871. #if !defined(GL_ARB_gpu_shader_fp64)
  3872. #define GL_ARB_gpu_shader_fp64 1
  3873. #define GL_DOUBLE_MAT2 0x8F46
  3874. #define GL_DOUBLE_MAT3 0x8F47
  3875. #define GL_DOUBLE_MAT4 0x8F48
  3876. #define GL_DOUBLE_MAT2x3 0x8F49
  3877. #define GL_DOUBLE_MAT2x4 0x8F4A
  3878. #define GL_DOUBLE_MAT3x2 0x8F4B
  3879. #define GL_DOUBLE_MAT3x4 0x8F4C
  3880. #define GL_DOUBLE_MAT4x2 0x8F4D
  3881. #define GL_DOUBLE_MAT4x3 0x8F4E
  3882. #define GL_DOUBLE_VEC2 0x8FFC
  3883. #define GL_DOUBLE_VEC3 0x8FFD
  3884. #define GL_DOUBLE_VEC4 0x8FFE
  3885. typedef void (GLAPIENTRY * PFNGLGETUNIFORMDVPROC) (GLuint program, GLint location, GLdouble* params);
  3886. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DEXTPROC) (GLuint program, GLint location, GLdouble x);
  3887. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  3888. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  3889. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  3890. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  3891. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  3892. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DEXTPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3893. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  3894. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3895. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3896. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3897. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3898. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3899. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3900. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3901. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3902. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3903. typedef void (GLAPIENTRY * PFNGLUNIFORM1DPROC) (GLint location, GLdouble x);
  3904. typedef void (GLAPIENTRY * PFNGLUNIFORM1DVPROC) (GLint location, GLsizei count, const GLdouble* value);
  3905. typedef void (GLAPIENTRY * PFNGLUNIFORM2DPROC) (GLint location, GLdouble x, GLdouble y);
  3906. typedef void (GLAPIENTRY * PFNGLUNIFORM2DVPROC) (GLint location, GLsizei count, const GLdouble* value);
  3907. typedef void (GLAPIENTRY * PFNGLUNIFORM3DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z);
  3908. typedef void (GLAPIENTRY * PFNGLUNIFORM3DVPROC) (GLint location, GLsizei count, const GLdouble* value);
  3909. typedef void (GLAPIENTRY * PFNGLUNIFORM4DPROC) (GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  3910. typedef void (GLAPIENTRY * PFNGLUNIFORM4DVPROC) (GLint location, GLsizei count, const GLdouble* value);
  3911. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3912. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3913. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3914. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3915. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3916. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3X4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3917. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3918. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X2DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3919. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4X3DVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  3920. #define glGetUniformdv GLEW_GET_FUN(__glewGetUniformdv)
  3921. #define glProgramUniform1dEXT GLEW_GET_FUN(__glewProgramUniform1dEXT)
  3922. #define glProgramUniform1dvEXT GLEW_GET_FUN(__glewProgramUniform1dvEXT)
  3923. #define glProgramUniform2dEXT GLEW_GET_FUN(__glewProgramUniform2dEXT)
  3924. #define glProgramUniform2dvEXT GLEW_GET_FUN(__glewProgramUniform2dvEXT)
  3925. #define glProgramUniform3dEXT GLEW_GET_FUN(__glewProgramUniform3dEXT)
  3926. #define glProgramUniform3dvEXT GLEW_GET_FUN(__glewProgramUniform3dvEXT)
  3927. #define glProgramUniform4dEXT GLEW_GET_FUN(__glewProgramUniform4dEXT)
  3928. #define glProgramUniform4dvEXT GLEW_GET_FUN(__glewProgramUniform4dvEXT)
  3929. #define glProgramUniformMatrix2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2dvEXT)
  3930. #define glProgramUniformMatrix2x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3dvEXT)
  3931. #define glProgramUniformMatrix2x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4dvEXT)
  3932. #define glProgramUniformMatrix3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3dvEXT)
  3933. #define glProgramUniformMatrix3x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2dvEXT)
  3934. #define glProgramUniformMatrix3x4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4dvEXT)
  3935. #define glProgramUniformMatrix4dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4dvEXT)
  3936. #define glProgramUniformMatrix4x2dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2dvEXT)
  3937. #define glProgramUniformMatrix4x3dvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3dvEXT)
  3938. #define glUniform1d GLEW_GET_FUN(__glewUniform1d)
  3939. #define glUniform1dv GLEW_GET_FUN(__glewUniform1dv)
  3940. #define glUniform2d GLEW_GET_FUN(__glewUniform2d)
  3941. #define glUniform2dv GLEW_GET_FUN(__glewUniform2dv)
  3942. #define glUniform3d GLEW_GET_FUN(__glewUniform3d)
  3943. #define glUniform3dv GLEW_GET_FUN(__glewUniform3dv)
  3944. #define glUniform4d GLEW_GET_FUN(__glewUniform4d)
  3945. #define glUniform4dv GLEW_GET_FUN(__glewUniform4dv)
  3946. #define glUniformMatrix2dv GLEW_GET_FUN(__glewUniformMatrix2dv)
  3947. #define glUniformMatrix2x3dv GLEW_GET_FUN(__glewUniformMatrix2x3dv)
  3948. #define glUniformMatrix2x4dv GLEW_GET_FUN(__glewUniformMatrix2x4dv)
  3949. #define glUniformMatrix3dv GLEW_GET_FUN(__glewUniformMatrix3dv)
  3950. #define glUniformMatrix3x2dv GLEW_GET_FUN(__glewUniformMatrix3x2dv)
  3951. #define glUniformMatrix3x4dv GLEW_GET_FUN(__glewUniformMatrix3x4dv)
  3952. #define glUniformMatrix4dv GLEW_GET_FUN(__glewUniformMatrix4dv)
  3953. #define glUniformMatrix4x2dv GLEW_GET_FUN(__glewUniformMatrix4x2dv)
  3954. #define glUniformMatrix4x3dv GLEW_GET_FUN(__glewUniformMatrix4x3dv)
  3955. #define GLEW_ARB_gpu_shader_fp64 GLEW_GET_VAR(__GLEW_ARB_gpu_shader_fp64)
  3956. #endif /* !GL_ARB_gpu_shader_fp64 */
  3957. /* ------------------------ GL_ARB_half_float_pixel ------------------------ */
  3958. #if !defined(GL_ARB_half_float_pixel)
  3959. #define GL_ARB_half_float_pixel 1
  3960. #define GL_HALF_FLOAT_ARB 0x140B
  3961. #define GLEW_ARB_half_float_pixel GLEW_GET_VAR(__GLEW_ARB_half_float_pixel)
  3962. #endif /* !GL_ARB_half_float_pixel */
  3963. /* ------------------------ GL_ARB_half_float_vertex ----------------------- */
  3964. #if !defined(GL_ARB_half_float_vertex)
  3965. #define GL_ARB_half_float_vertex 1
  3966. #define GL_HALF_FLOAT 0x140B
  3967. #define GLEW_ARB_half_float_vertex GLEW_GET_VAR(__GLEW_ARB_half_float_vertex)
  3968. #endif /* !GL_ARB_half_float_vertex */
  3969. /* ----------------------------- GL_ARB_imaging ---------------------------- */
  3970. #if !defined(GL_ARB_imaging)
  3971. #define GL_ARB_imaging 1
  3972. #define GL_CONSTANT_COLOR 0x8001
  3973. #define GL_ONE_MINUS_CONSTANT_COLOR 0x8002
  3974. #define GL_CONSTANT_ALPHA 0x8003
  3975. #define GL_ONE_MINUS_CONSTANT_ALPHA 0x8004
  3976. #define GL_BLEND_COLOR 0x8005
  3977. #define GL_FUNC_ADD 0x8006
  3978. #define GL_MIN 0x8007
  3979. #define GL_MAX 0x8008
  3980. #define GL_BLEND_EQUATION 0x8009
  3981. #define GL_FUNC_SUBTRACT 0x800A
  3982. #define GL_FUNC_REVERSE_SUBTRACT 0x800B
  3983. #define GL_CONVOLUTION_1D 0x8010
  3984. #define GL_CONVOLUTION_2D 0x8011
  3985. #define GL_SEPARABLE_2D 0x8012
  3986. #define GL_CONVOLUTION_BORDER_MODE 0x8013
  3987. #define GL_CONVOLUTION_FILTER_SCALE 0x8014
  3988. #define GL_CONVOLUTION_FILTER_BIAS 0x8015
  3989. #define GL_REDUCE 0x8016
  3990. #define GL_CONVOLUTION_FORMAT 0x8017
  3991. #define GL_CONVOLUTION_WIDTH 0x8018
  3992. #define GL_CONVOLUTION_HEIGHT 0x8019
  3993. #define GL_MAX_CONVOLUTION_WIDTH 0x801A
  3994. #define GL_MAX_CONVOLUTION_HEIGHT 0x801B
  3995. #define GL_POST_CONVOLUTION_RED_SCALE 0x801C
  3996. #define GL_POST_CONVOLUTION_GREEN_SCALE 0x801D
  3997. #define GL_POST_CONVOLUTION_BLUE_SCALE 0x801E
  3998. #define GL_POST_CONVOLUTION_ALPHA_SCALE 0x801F
  3999. #define GL_POST_CONVOLUTION_RED_BIAS 0x8020
  4000. #define GL_POST_CONVOLUTION_GREEN_BIAS 0x8021
  4001. #define GL_POST_CONVOLUTION_BLUE_BIAS 0x8022
  4002. #define GL_POST_CONVOLUTION_ALPHA_BIAS 0x8023
  4003. #define GL_HISTOGRAM 0x8024
  4004. #define GL_PROXY_HISTOGRAM 0x8025
  4005. #define GL_HISTOGRAM_WIDTH 0x8026
  4006. #define GL_HISTOGRAM_FORMAT 0x8027
  4007. #define GL_HISTOGRAM_RED_SIZE 0x8028
  4008. #define GL_HISTOGRAM_GREEN_SIZE 0x8029
  4009. #define GL_HISTOGRAM_BLUE_SIZE 0x802A
  4010. #define GL_HISTOGRAM_ALPHA_SIZE 0x802B
  4011. #define GL_HISTOGRAM_LUMINANCE_SIZE 0x802C
  4012. #define GL_HISTOGRAM_SINK 0x802D
  4013. #define GL_MINMAX 0x802E
  4014. #define GL_MINMAX_FORMAT 0x802F
  4015. #define GL_MINMAX_SINK 0x8030
  4016. #define GL_TABLE_TOO_LARGE 0x8031
  4017. #define GL_COLOR_MATRIX 0x80B1
  4018. #define GL_COLOR_MATRIX_STACK_DEPTH 0x80B2
  4019. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH 0x80B3
  4020. #define GL_POST_COLOR_MATRIX_RED_SCALE 0x80B4
  4021. #define GL_POST_COLOR_MATRIX_GREEN_SCALE 0x80B5
  4022. #define GL_POST_COLOR_MATRIX_BLUE_SCALE 0x80B6
  4023. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE 0x80B7
  4024. #define GL_POST_COLOR_MATRIX_RED_BIAS 0x80B8
  4025. #define GL_POST_COLOR_MATRIX_GREEN_BIAS 0x80B9
  4026. #define GL_POST_COLOR_MATRIX_BLUE_BIAS 0x80BA
  4027. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS 0x80BB
  4028. #define GL_COLOR_TABLE 0x80D0
  4029. #define GL_POST_CONVOLUTION_COLOR_TABLE 0x80D1
  4030. #define GL_POST_COLOR_MATRIX_COLOR_TABLE 0x80D2
  4031. #define GL_PROXY_COLOR_TABLE 0x80D3
  4032. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE 0x80D4
  4033. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE 0x80D5
  4034. #define GL_COLOR_TABLE_SCALE 0x80D6
  4035. #define GL_COLOR_TABLE_BIAS 0x80D7
  4036. #define GL_COLOR_TABLE_FORMAT 0x80D8
  4037. #define GL_COLOR_TABLE_WIDTH 0x80D9
  4038. #define GL_COLOR_TABLE_RED_SIZE 0x80DA
  4039. #define GL_COLOR_TABLE_GREEN_SIZE 0x80DB
  4040. #define GL_COLOR_TABLE_BLUE_SIZE 0x80DC
  4041. #define GL_COLOR_TABLE_ALPHA_SIZE 0x80DD
  4042. #define GL_COLOR_TABLE_LUMINANCE_SIZE 0x80DE
  4043. #define GL_COLOR_TABLE_INTENSITY_SIZE 0x80DF
  4044. #define GL_IGNORE_BORDER 0x8150
  4045. #define GL_CONSTANT_BORDER 0x8151
  4046. #define GL_WRAP_BORDER 0x8152
  4047. #define GL_REPLICATE_BORDER 0x8153
  4048. #define GL_CONVOLUTION_BORDER_COLOR 0x8154
  4049. typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const GLvoid *data);
  4050. typedef void (GLAPIENTRY * PFNGLCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *table);
  4051. typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4052. typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4053. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const GLvoid *image);
  4054. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *image);
  4055. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFPROC) (GLenum target, GLenum pname, GLfloat params);
  4056. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, const GLfloat *params);
  4057. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIPROC) (GLenum target, GLenum pname, GLint params);
  4058. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, const GLint *params);
  4059. typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  4060. typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLEPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4061. typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  4062. typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  4063. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPROC) (GLenum target, GLenum format, GLenum type, GLvoid *table);
  4064. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4065. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4066. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *image);
  4067. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4068. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4069. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLvoid *values);
  4070. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4071. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4072. typedef void (GLAPIENTRY * PFNGLGETMINMAXPROC) (GLenum target, GLboolean reset, GLenum format, GLenum types, GLvoid *values);
  4073. typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVPROC) (GLenum target, GLenum pname, GLfloat *params);
  4074. typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVPROC) (GLenum target, GLenum pname, GLint *params);
  4075. typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTERPROC) (GLenum target, GLenum format, GLenum type, GLvoid *row, GLvoid *column, GLvoid *span);
  4076. typedef void (GLAPIENTRY * PFNGLHISTOGRAMPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  4077. typedef void (GLAPIENTRY * PFNGLMINMAXPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  4078. typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMPROC) (GLenum target);
  4079. typedef void (GLAPIENTRY * PFNGLRESETMINMAXPROC) (GLenum target);
  4080. typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const GLvoid *row, const GLvoid *column);
  4081. #define glColorSubTable GLEW_GET_FUN(__glewColorSubTable)
  4082. #define glColorTable GLEW_GET_FUN(__glewColorTable)
  4083. #define glColorTableParameterfv GLEW_GET_FUN(__glewColorTableParameterfv)
  4084. #define glColorTableParameteriv GLEW_GET_FUN(__glewColorTableParameteriv)
  4085. #define glConvolutionFilter1D GLEW_GET_FUN(__glewConvolutionFilter1D)
  4086. #define glConvolutionFilter2D GLEW_GET_FUN(__glewConvolutionFilter2D)
  4087. #define glConvolutionParameterf GLEW_GET_FUN(__glewConvolutionParameterf)
  4088. #define glConvolutionParameterfv GLEW_GET_FUN(__glewConvolutionParameterfv)
  4089. #define glConvolutionParameteri GLEW_GET_FUN(__glewConvolutionParameteri)
  4090. #define glConvolutionParameteriv GLEW_GET_FUN(__glewConvolutionParameteriv)
  4091. #define glCopyColorSubTable GLEW_GET_FUN(__glewCopyColorSubTable)
  4092. #define glCopyColorTable GLEW_GET_FUN(__glewCopyColorTable)
  4093. #define glCopyConvolutionFilter1D GLEW_GET_FUN(__glewCopyConvolutionFilter1D)
  4094. #define glCopyConvolutionFilter2D GLEW_GET_FUN(__glewCopyConvolutionFilter2D)
  4095. #define glGetColorTable GLEW_GET_FUN(__glewGetColorTable)
  4096. #define glGetColorTableParameterfv GLEW_GET_FUN(__glewGetColorTableParameterfv)
  4097. #define glGetColorTableParameteriv GLEW_GET_FUN(__glewGetColorTableParameteriv)
  4098. #define glGetConvolutionFilter GLEW_GET_FUN(__glewGetConvolutionFilter)
  4099. #define glGetConvolutionParameterfv GLEW_GET_FUN(__glewGetConvolutionParameterfv)
  4100. #define glGetConvolutionParameteriv GLEW_GET_FUN(__glewGetConvolutionParameteriv)
  4101. #define glGetHistogram GLEW_GET_FUN(__glewGetHistogram)
  4102. #define glGetHistogramParameterfv GLEW_GET_FUN(__glewGetHistogramParameterfv)
  4103. #define glGetHistogramParameteriv GLEW_GET_FUN(__glewGetHistogramParameteriv)
  4104. #define glGetMinmax GLEW_GET_FUN(__glewGetMinmax)
  4105. #define glGetMinmaxParameterfv GLEW_GET_FUN(__glewGetMinmaxParameterfv)
  4106. #define glGetMinmaxParameteriv GLEW_GET_FUN(__glewGetMinmaxParameteriv)
  4107. #define glGetSeparableFilter GLEW_GET_FUN(__glewGetSeparableFilter)
  4108. #define glHistogram GLEW_GET_FUN(__glewHistogram)
  4109. #define glMinmax GLEW_GET_FUN(__glewMinmax)
  4110. #define glResetHistogram GLEW_GET_FUN(__glewResetHistogram)
  4111. #define glResetMinmax GLEW_GET_FUN(__glewResetMinmax)
  4112. #define glSeparableFilter2D GLEW_GET_FUN(__glewSeparableFilter2D)
  4113. #define GLEW_ARB_imaging GLEW_GET_VAR(__GLEW_ARB_imaging)
  4114. #endif /* !GL_ARB_imaging */
  4115. /* ------------------------ GL_ARB_instanced_arrays ------------------------ */
  4116. #if !defined(GL_ARB_instanced_arrays)
  4117. #define GL_ARB_instanced_arrays 1
  4118. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ARB 0x88FE
  4119. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDARBPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  4120. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDARBPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
  4121. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORARBPROC) (GLuint index, GLuint divisor);
  4122. #define glDrawArraysInstancedARB GLEW_GET_FUN(__glewDrawArraysInstancedARB)
  4123. #define glDrawElementsInstancedARB GLEW_GET_FUN(__glewDrawElementsInstancedARB)
  4124. #define glVertexAttribDivisorARB GLEW_GET_FUN(__glewVertexAttribDivisorARB)
  4125. #define GLEW_ARB_instanced_arrays GLEW_GET_VAR(__GLEW_ARB_instanced_arrays)
  4126. #endif /* !GL_ARB_instanced_arrays */
  4127. /* ---------------------- GL_ARB_internalformat_query ---------------------- */
  4128. #if !defined(GL_ARB_internalformat_query)
  4129. #define GL_ARB_internalformat_query 1
  4130. #define GL_NUM_SAMPLE_COUNTS 0x9380
  4131. typedef void (GLAPIENTRY * PFNGLGETINTERNALFORMATIVPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint* params);
  4132. #define glGetInternalformativ GLEW_GET_FUN(__glewGetInternalformativ)
  4133. #define GLEW_ARB_internalformat_query GLEW_GET_VAR(__GLEW_ARB_internalformat_query)
  4134. #endif /* !GL_ARB_internalformat_query */
  4135. /* ---------------------- GL_ARB_internalformat_query2 --------------------- */
  4136. #if !defined(GL_ARB_internalformat_query2)
  4137. #define GL_ARB_internalformat_query2 1
  4138. #define GL_TEXTURE_1D 0x0DE0
  4139. #define GL_TEXTURE_2D 0x0DE1
  4140. #define GL_TEXTURE_3D 0x806F
  4141. #define GL_SAMPLES 0x80A9
  4142. #define GL_INTERNALFORMAT_SUPPORTED 0x826F
  4143. #define GL_INTERNALFORMAT_PREFERRED 0x8270
  4144. #define GL_INTERNALFORMAT_RED_SIZE 0x8271
  4145. #define GL_INTERNALFORMAT_GREEN_SIZE 0x8272
  4146. #define GL_INTERNALFORMAT_BLUE_SIZE 0x8273
  4147. #define GL_INTERNALFORMAT_ALPHA_SIZE 0x8274
  4148. #define GL_INTERNALFORMAT_DEPTH_SIZE 0x8275
  4149. #define GL_INTERNALFORMAT_STENCIL_SIZE 0x8276
  4150. #define GL_INTERNALFORMAT_SHARED_SIZE 0x8277
  4151. #define GL_INTERNALFORMAT_RED_TYPE 0x8278
  4152. #define GL_INTERNALFORMAT_GREEN_TYPE 0x8279
  4153. #define GL_INTERNALFORMAT_BLUE_TYPE 0x827A
  4154. #define GL_INTERNALFORMAT_ALPHA_TYPE 0x827B
  4155. #define GL_INTERNALFORMAT_DEPTH_TYPE 0x827C
  4156. #define GL_INTERNALFORMAT_STENCIL_TYPE 0x827D
  4157. #define GL_MAX_WIDTH 0x827E
  4158. #define GL_MAX_HEIGHT 0x827F
  4159. #define GL_MAX_DEPTH 0x8280
  4160. #define GL_MAX_LAYERS 0x8281
  4161. #define GL_MAX_COMBINED_DIMENSIONS 0x8282
  4162. #define GL_COLOR_COMPONENTS 0x8283
  4163. #define GL_DEPTH_COMPONENTS 0x8284
  4164. #define GL_STENCIL_COMPONENTS 0x8285
  4165. #define GL_COLOR_RENDERABLE 0x8286
  4166. #define GL_DEPTH_RENDERABLE 0x8287
  4167. #define GL_STENCIL_RENDERABLE 0x8288
  4168. #define GL_FRAMEBUFFER_RENDERABLE 0x8289
  4169. #define GL_FRAMEBUFFER_RENDERABLE_LAYERED 0x828A
  4170. #define GL_FRAMEBUFFER_BLEND 0x828B
  4171. #define GL_READ_PIXELS 0x828C
  4172. #define GL_READ_PIXELS_FORMAT 0x828D
  4173. #define GL_READ_PIXELS_TYPE 0x828E
  4174. #define GL_TEXTURE_IMAGE_FORMAT 0x828F
  4175. #define GL_TEXTURE_IMAGE_TYPE 0x8290
  4176. #define GL_GET_TEXTURE_IMAGE_FORMAT 0x8291
  4177. #define GL_GET_TEXTURE_IMAGE_TYPE 0x8292
  4178. #define GL_MIPMAP 0x8293
  4179. #define GL_MANUAL_GENERATE_MIPMAP 0x8294
  4180. #define GL_AUTO_GENERATE_MIPMAP 0x8295
  4181. #define GL_COLOR_ENCODING 0x8296
  4182. #define GL_SRGB_READ 0x8297
  4183. #define GL_SRGB_WRITE 0x8298
  4184. #define GL_SRGB_DECODE_ARB 0x8299
  4185. #define GL_FILTER 0x829A
  4186. #define GL_VERTEX_TEXTURE 0x829B
  4187. #define GL_TESS_CONTROL_TEXTURE 0x829C
  4188. #define GL_TESS_EVALUATION_TEXTURE 0x829D
  4189. #define GL_GEOMETRY_TEXTURE 0x829E
  4190. #define GL_FRAGMENT_TEXTURE 0x829F
  4191. #define GL_COMPUTE_TEXTURE 0x82A0
  4192. #define GL_TEXTURE_SHADOW 0x82A1
  4193. #define GL_TEXTURE_GATHER 0x82A2
  4194. #define GL_TEXTURE_GATHER_SHADOW 0x82A3
  4195. #define GL_SHADER_IMAGE_LOAD 0x82A4
  4196. #define GL_SHADER_IMAGE_STORE 0x82A5
  4197. #define GL_SHADER_IMAGE_ATOMIC 0x82A6
  4198. #define GL_IMAGE_TEXEL_SIZE 0x82A7
  4199. #define GL_IMAGE_COMPATIBILITY_CLASS 0x82A8
  4200. #define GL_IMAGE_PIXEL_FORMAT 0x82A9
  4201. #define GL_IMAGE_PIXEL_TYPE 0x82AA
  4202. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_TEST 0x82AC
  4203. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_TEST 0x82AD
  4204. #define GL_SIMULTANEOUS_TEXTURE_AND_DEPTH_WRITE 0x82AE
  4205. #define GL_SIMULTANEOUS_TEXTURE_AND_STENCIL_WRITE 0x82AF
  4206. #define GL_TEXTURE_COMPRESSED_BLOCK_WIDTH 0x82B1
  4207. #define GL_TEXTURE_COMPRESSED_BLOCK_HEIGHT 0x82B2
  4208. #define GL_TEXTURE_COMPRESSED_BLOCK_SIZE 0x82B3
  4209. #define GL_CLEAR_BUFFER 0x82B4
  4210. #define GL_TEXTURE_VIEW 0x82B5
  4211. #define GL_VIEW_COMPATIBILITY_CLASS 0x82B6
  4212. #define GL_FULL_SUPPORT 0x82B7
  4213. #define GL_CAVEAT_SUPPORT 0x82B8
  4214. #define GL_IMAGE_CLASS_4_X_32 0x82B9
  4215. #define GL_IMAGE_CLASS_2_X_32 0x82BA
  4216. #define GL_IMAGE_CLASS_1_X_32 0x82BB
  4217. #define GL_IMAGE_CLASS_4_X_16 0x82BC
  4218. #define GL_IMAGE_CLASS_2_X_16 0x82BD
  4219. #define GL_IMAGE_CLASS_1_X_16 0x82BE
  4220. #define GL_IMAGE_CLASS_4_X_8 0x82BF
  4221. #define GL_IMAGE_CLASS_2_X_8 0x82C0
  4222. #define GL_IMAGE_CLASS_1_X_8 0x82C1
  4223. #define GL_IMAGE_CLASS_11_11_10 0x82C2
  4224. #define GL_IMAGE_CLASS_10_10_10_2 0x82C3
  4225. #define GL_VIEW_CLASS_128_BITS 0x82C4
  4226. #define GL_VIEW_CLASS_96_BITS 0x82C5
  4227. #define GL_VIEW_CLASS_64_BITS 0x82C6
  4228. #define GL_VIEW_CLASS_48_BITS 0x82C7
  4229. #define GL_VIEW_CLASS_32_BITS 0x82C8
  4230. #define GL_VIEW_CLASS_24_BITS 0x82C9
  4231. #define GL_VIEW_CLASS_16_BITS 0x82CA
  4232. #define GL_VIEW_CLASS_8_BITS 0x82CB
  4233. #define GL_VIEW_CLASS_S3TC_DXT1_RGB 0x82CC
  4234. #define GL_VIEW_CLASS_S3TC_DXT1_RGBA 0x82CD
  4235. #define GL_VIEW_CLASS_S3TC_DXT3_RGBA 0x82CE
  4236. #define GL_VIEW_CLASS_S3TC_DXT5_RGBA 0x82CF
  4237. #define GL_VIEW_CLASS_RGTC1_RED 0x82D0
  4238. #define GL_VIEW_CLASS_RGTC2_RG 0x82D1
  4239. #define GL_VIEW_CLASS_BPTC_UNORM 0x82D2
  4240. #define GL_VIEW_CLASS_BPTC_FLOAT 0x82D3
  4241. #define GL_TEXTURE_RECTANGLE 0x84F5
  4242. #define GL_TEXTURE_CUBE_MAP 0x8513
  4243. #define GL_TEXTURE_COMPRESSED 0x86A1
  4244. #define GL_TEXTURE_1D_ARRAY 0x8C18
  4245. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  4246. #define GL_TEXTURE_BUFFER 0x8C2A
  4247. #define GL_RENDERBUFFER 0x8D41
  4248. #define GL_TEXTURE_CUBE_MAP_ARRAY 0x9009
  4249. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  4250. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  4251. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  4252. #define GL_NUM_SAMPLE_COUNTS 0x9380
  4253. typedef void (GLAPIENTRY * PFNGLGETINTERNALFORMATI64VPROC) (GLenum target, GLenum internalformat, GLenum pname, GLsizei bufSize, GLint64* params);
  4254. #define glGetInternalformati64v GLEW_GET_FUN(__glewGetInternalformati64v)
  4255. #define GLEW_ARB_internalformat_query2 GLEW_GET_VAR(__GLEW_ARB_internalformat_query2)
  4256. #endif /* !GL_ARB_internalformat_query2 */
  4257. /* ----------------------- GL_ARB_invalidate_subdata ----------------------- */
  4258. #if !defined(GL_ARB_invalidate_subdata)
  4259. #define GL_ARB_invalidate_subdata 1
  4260. typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERDATAPROC) (GLuint buffer);
  4261. typedef void (GLAPIENTRY * PFNGLINVALIDATEBUFFERSUBDATAPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  4262. typedef void (GLAPIENTRY * PFNGLINVALIDATEFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments);
  4263. typedef void (GLAPIENTRY * PFNGLINVALIDATESUBFRAMEBUFFERPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments, GLint x, GLint y, GLsizei width, GLsizei height);
  4264. typedef void (GLAPIENTRY * PFNGLINVALIDATETEXIMAGEPROC) (GLuint texture, GLint level);
  4265. typedef void (GLAPIENTRY * PFNGLINVALIDATETEXSUBIMAGEPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth);
  4266. #define glInvalidateBufferData GLEW_GET_FUN(__glewInvalidateBufferData)
  4267. #define glInvalidateBufferSubData GLEW_GET_FUN(__glewInvalidateBufferSubData)
  4268. #define glInvalidateFramebuffer GLEW_GET_FUN(__glewInvalidateFramebuffer)
  4269. #define glInvalidateSubFramebuffer GLEW_GET_FUN(__glewInvalidateSubFramebuffer)
  4270. #define glInvalidateTexImage GLEW_GET_FUN(__glewInvalidateTexImage)
  4271. #define glInvalidateTexSubImage GLEW_GET_FUN(__glewInvalidateTexSubImage)
  4272. #define GLEW_ARB_invalidate_subdata GLEW_GET_VAR(__GLEW_ARB_invalidate_subdata)
  4273. #endif /* !GL_ARB_invalidate_subdata */
  4274. /* ---------------------- GL_ARB_map_buffer_alignment ---------------------- */
  4275. #if !defined(GL_ARB_map_buffer_alignment)
  4276. #define GL_ARB_map_buffer_alignment 1
  4277. #define GL_MIN_MAP_BUFFER_ALIGNMENT 0x90BC
  4278. #define GLEW_ARB_map_buffer_alignment GLEW_GET_VAR(__GLEW_ARB_map_buffer_alignment)
  4279. #endif /* !GL_ARB_map_buffer_alignment */
  4280. /* ------------------------ GL_ARB_map_buffer_range ------------------------ */
  4281. #if !defined(GL_ARB_map_buffer_range)
  4282. #define GL_ARB_map_buffer_range 1
  4283. #define GL_MAP_READ_BIT 0x0001
  4284. #define GL_MAP_WRITE_BIT 0x0002
  4285. #define GL_MAP_INVALIDATE_RANGE_BIT 0x0004
  4286. #define GL_MAP_INVALIDATE_BUFFER_BIT 0x0008
  4287. #define GL_MAP_FLUSH_EXPLICIT_BIT 0x0010
  4288. #define GL_MAP_UNSYNCHRONIZED_BIT 0x0020
  4289. typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  4290. typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERRANGEPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  4291. #define glFlushMappedBufferRange GLEW_GET_FUN(__glewFlushMappedBufferRange)
  4292. #define glMapBufferRange GLEW_GET_FUN(__glewMapBufferRange)
  4293. #define GLEW_ARB_map_buffer_range GLEW_GET_VAR(__GLEW_ARB_map_buffer_range)
  4294. #endif /* !GL_ARB_map_buffer_range */
  4295. /* ------------------------- GL_ARB_matrix_palette ------------------------- */
  4296. #if !defined(GL_ARB_matrix_palette)
  4297. #define GL_ARB_matrix_palette 1
  4298. #define GL_MATRIX_PALETTE_ARB 0x8840
  4299. #define GL_MAX_MATRIX_PALETTE_STACK_DEPTH_ARB 0x8841
  4300. #define GL_MAX_PALETTE_MATRICES_ARB 0x8842
  4301. #define GL_CURRENT_PALETTE_MATRIX_ARB 0x8843
  4302. #define GL_MATRIX_INDEX_ARRAY_ARB 0x8844
  4303. #define GL_CURRENT_MATRIX_INDEX_ARB 0x8845
  4304. #define GL_MATRIX_INDEX_ARRAY_SIZE_ARB 0x8846
  4305. #define GL_MATRIX_INDEX_ARRAY_TYPE_ARB 0x8847
  4306. #define GL_MATRIX_INDEX_ARRAY_STRIDE_ARB 0x8848
  4307. #define GL_MATRIX_INDEX_ARRAY_POINTER_ARB 0x8849
  4308. typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXARBPROC) (GLint index);
  4309. typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
  4310. typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUBVARBPROC) (GLint size, GLubyte *indices);
  4311. typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUIVARBPROC) (GLint size, GLuint *indices);
  4312. typedef void (GLAPIENTRY * PFNGLMATRIXINDEXUSVARBPROC) (GLint size, GLushort *indices);
  4313. #define glCurrentPaletteMatrixARB GLEW_GET_FUN(__glewCurrentPaletteMatrixARB)
  4314. #define glMatrixIndexPointerARB GLEW_GET_FUN(__glewMatrixIndexPointerARB)
  4315. #define glMatrixIndexubvARB GLEW_GET_FUN(__glewMatrixIndexubvARB)
  4316. #define glMatrixIndexuivARB GLEW_GET_FUN(__glewMatrixIndexuivARB)
  4317. #define glMatrixIndexusvARB GLEW_GET_FUN(__glewMatrixIndexusvARB)
  4318. #define GLEW_ARB_matrix_palette GLEW_GET_VAR(__GLEW_ARB_matrix_palette)
  4319. #endif /* !GL_ARB_matrix_palette */
  4320. /* ----------------------- GL_ARB_multi_draw_indirect ---------------------- */
  4321. #if !defined(GL_ARB_multi_draw_indirect)
  4322. #define GL_ARB_multi_draw_indirect 1
  4323. typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSINDIRECTPROC) (GLenum mode, const void* indirect, GLsizei primcount, GLsizei stride);
  4324. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSINDIRECTPROC) (GLenum mode, GLenum type, const void* indirect, GLsizei primcount, GLsizei stride);
  4325. #define glMultiDrawArraysIndirect GLEW_GET_FUN(__glewMultiDrawArraysIndirect)
  4326. #define glMultiDrawElementsIndirect GLEW_GET_FUN(__glewMultiDrawElementsIndirect)
  4327. #define GLEW_ARB_multi_draw_indirect GLEW_GET_VAR(__GLEW_ARB_multi_draw_indirect)
  4328. #endif /* !GL_ARB_multi_draw_indirect */
  4329. /* --------------------------- GL_ARB_multisample -------------------------- */
  4330. #if !defined(GL_ARB_multisample)
  4331. #define GL_ARB_multisample 1
  4332. #define GL_MULTISAMPLE_ARB 0x809D
  4333. #define GL_SAMPLE_ALPHA_TO_COVERAGE_ARB 0x809E
  4334. #define GL_SAMPLE_ALPHA_TO_ONE_ARB 0x809F
  4335. #define GL_SAMPLE_COVERAGE_ARB 0x80A0
  4336. #define GL_SAMPLE_BUFFERS_ARB 0x80A8
  4337. #define GL_SAMPLES_ARB 0x80A9
  4338. #define GL_SAMPLE_COVERAGE_VALUE_ARB 0x80AA
  4339. #define GL_SAMPLE_COVERAGE_INVERT_ARB 0x80AB
  4340. #define GL_MULTISAMPLE_BIT_ARB 0x20000000
  4341. typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEARBPROC) (GLclampf value, GLboolean invert);
  4342. #define glSampleCoverageARB GLEW_GET_FUN(__glewSampleCoverageARB)
  4343. #define GLEW_ARB_multisample GLEW_GET_VAR(__GLEW_ARB_multisample)
  4344. #endif /* !GL_ARB_multisample */
  4345. /* -------------------------- GL_ARB_multitexture -------------------------- */
  4346. #if !defined(GL_ARB_multitexture)
  4347. #define GL_ARB_multitexture 1
  4348. #define GL_TEXTURE0_ARB 0x84C0
  4349. #define GL_TEXTURE1_ARB 0x84C1
  4350. #define GL_TEXTURE2_ARB 0x84C2
  4351. #define GL_TEXTURE3_ARB 0x84C3
  4352. #define GL_TEXTURE4_ARB 0x84C4
  4353. #define GL_TEXTURE5_ARB 0x84C5
  4354. #define GL_TEXTURE6_ARB 0x84C6
  4355. #define GL_TEXTURE7_ARB 0x84C7
  4356. #define GL_TEXTURE8_ARB 0x84C8
  4357. #define GL_TEXTURE9_ARB 0x84C9
  4358. #define GL_TEXTURE10_ARB 0x84CA
  4359. #define GL_TEXTURE11_ARB 0x84CB
  4360. #define GL_TEXTURE12_ARB 0x84CC
  4361. #define GL_TEXTURE13_ARB 0x84CD
  4362. #define GL_TEXTURE14_ARB 0x84CE
  4363. #define GL_TEXTURE15_ARB 0x84CF
  4364. #define GL_TEXTURE16_ARB 0x84D0
  4365. #define GL_TEXTURE17_ARB 0x84D1
  4366. #define GL_TEXTURE18_ARB 0x84D2
  4367. #define GL_TEXTURE19_ARB 0x84D3
  4368. #define GL_TEXTURE20_ARB 0x84D4
  4369. #define GL_TEXTURE21_ARB 0x84D5
  4370. #define GL_TEXTURE22_ARB 0x84D6
  4371. #define GL_TEXTURE23_ARB 0x84D7
  4372. #define GL_TEXTURE24_ARB 0x84D8
  4373. #define GL_TEXTURE25_ARB 0x84D9
  4374. #define GL_TEXTURE26_ARB 0x84DA
  4375. #define GL_TEXTURE27_ARB 0x84DB
  4376. #define GL_TEXTURE28_ARB 0x84DC
  4377. #define GL_TEXTURE29_ARB 0x84DD
  4378. #define GL_TEXTURE30_ARB 0x84DE
  4379. #define GL_TEXTURE31_ARB 0x84DF
  4380. #define GL_ACTIVE_TEXTURE_ARB 0x84E0
  4381. #define GL_CLIENT_ACTIVE_TEXTURE_ARB 0x84E1
  4382. #define GL_MAX_TEXTURE_UNITS_ARB 0x84E2
  4383. typedef void (GLAPIENTRY * PFNGLACTIVETEXTUREARBPROC) (GLenum texture);
  4384. typedef void (GLAPIENTRY * PFNGLCLIENTACTIVETEXTUREARBPROC) (GLenum texture);
  4385. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DARBPROC) (GLenum target, GLdouble s);
  4386. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1DVARBPROC) (GLenum target, const GLdouble *v);
  4387. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FARBPROC) (GLenum target, GLfloat s);
  4388. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1FVARBPROC) (GLenum target, const GLfloat *v);
  4389. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IARBPROC) (GLenum target, GLint s);
  4390. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1IVARBPROC) (GLenum target, const GLint *v);
  4391. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SARBPROC) (GLenum target, GLshort s);
  4392. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1SVARBPROC) (GLenum target, const GLshort *v);
  4393. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DARBPROC) (GLenum target, GLdouble s, GLdouble t);
  4394. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2DVARBPROC) (GLenum target, const GLdouble *v);
  4395. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FARBPROC) (GLenum target, GLfloat s, GLfloat t);
  4396. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2FVARBPROC) (GLenum target, const GLfloat *v);
  4397. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IARBPROC) (GLenum target, GLint s, GLint t);
  4398. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2IVARBPROC) (GLenum target, const GLint *v);
  4399. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SARBPROC) (GLenum target, GLshort s, GLshort t);
  4400. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2SVARBPROC) (GLenum target, const GLshort *v);
  4401. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r);
  4402. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3DVARBPROC) (GLenum target, const GLdouble *v);
  4403. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r);
  4404. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3FVARBPROC) (GLenum target, const GLfloat *v);
  4405. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IARBPROC) (GLenum target, GLint s, GLint t, GLint r);
  4406. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3IVARBPROC) (GLenum target, const GLint *v);
  4407. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r);
  4408. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3SVARBPROC) (GLenum target, const GLshort *v);
  4409. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DARBPROC) (GLenum target, GLdouble s, GLdouble t, GLdouble r, GLdouble q);
  4410. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4DVARBPROC) (GLenum target, const GLdouble *v);
  4411. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FARBPROC) (GLenum target, GLfloat s, GLfloat t, GLfloat r, GLfloat q);
  4412. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4FVARBPROC) (GLenum target, const GLfloat *v);
  4413. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IARBPROC) (GLenum target, GLint s, GLint t, GLint r, GLint q);
  4414. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4IVARBPROC) (GLenum target, const GLint *v);
  4415. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SARBPROC) (GLenum target, GLshort s, GLshort t, GLshort r, GLshort q);
  4416. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4SVARBPROC) (GLenum target, const GLshort *v);
  4417. #define glActiveTextureARB GLEW_GET_FUN(__glewActiveTextureARB)
  4418. #define glClientActiveTextureARB GLEW_GET_FUN(__glewClientActiveTextureARB)
  4419. #define glMultiTexCoord1dARB GLEW_GET_FUN(__glewMultiTexCoord1dARB)
  4420. #define glMultiTexCoord1dvARB GLEW_GET_FUN(__glewMultiTexCoord1dvARB)
  4421. #define glMultiTexCoord1fARB GLEW_GET_FUN(__glewMultiTexCoord1fARB)
  4422. #define glMultiTexCoord1fvARB GLEW_GET_FUN(__glewMultiTexCoord1fvARB)
  4423. #define glMultiTexCoord1iARB GLEW_GET_FUN(__glewMultiTexCoord1iARB)
  4424. #define glMultiTexCoord1ivARB GLEW_GET_FUN(__glewMultiTexCoord1ivARB)
  4425. #define glMultiTexCoord1sARB GLEW_GET_FUN(__glewMultiTexCoord1sARB)
  4426. #define glMultiTexCoord1svARB GLEW_GET_FUN(__glewMultiTexCoord1svARB)
  4427. #define glMultiTexCoord2dARB GLEW_GET_FUN(__glewMultiTexCoord2dARB)
  4428. #define glMultiTexCoord2dvARB GLEW_GET_FUN(__glewMultiTexCoord2dvARB)
  4429. #define glMultiTexCoord2fARB GLEW_GET_FUN(__glewMultiTexCoord2fARB)
  4430. #define glMultiTexCoord2fvARB GLEW_GET_FUN(__glewMultiTexCoord2fvARB)
  4431. #define glMultiTexCoord2iARB GLEW_GET_FUN(__glewMultiTexCoord2iARB)
  4432. #define glMultiTexCoord2ivARB GLEW_GET_FUN(__glewMultiTexCoord2ivARB)
  4433. #define glMultiTexCoord2sARB GLEW_GET_FUN(__glewMultiTexCoord2sARB)
  4434. #define glMultiTexCoord2svARB GLEW_GET_FUN(__glewMultiTexCoord2svARB)
  4435. #define glMultiTexCoord3dARB GLEW_GET_FUN(__glewMultiTexCoord3dARB)
  4436. #define glMultiTexCoord3dvARB GLEW_GET_FUN(__glewMultiTexCoord3dvARB)
  4437. #define glMultiTexCoord3fARB GLEW_GET_FUN(__glewMultiTexCoord3fARB)
  4438. #define glMultiTexCoord3fvARB GLEW_GET_FUN(__glewMultiTexCoord3fvARB)
  4439. #define glMultiTexCoord3iARB GLEW_GET_FUN(__glewMultiTexCoord3iARB)
  4440. #define glMultiTexCoord3ivARB GLEW_GET_FUN(__glewMultiTexCoord3ivARB)
  4441. #define glMultiTexCoord3sARB GLEW_GET_FUN(__glewMultiTexCoord3sARB)
  4442. #define glMultiTexCoord3svARB GLEW_GET_FUN(__glewMultiTexCoord3svARB)
  4443. #define glMultiTexCoord4dARB GLEW_GET_FUN(__glewMultiTexCoord4dARB)
  4444. #define glMultiTexCoord4dvARB GLEW_GET_FUN(__glewMultiTexCoord4dvARB)
  4445. #define glMultiTexCoord4fARB GLEW_GET_FUN(__glewMultiTexCoord4fARB)
  4446. #define glMultiTexCoord4fvARB GLEW_GET_FUN(__glewMultiTexCoord4fvARB)
  4447. #define glMultiTexCoord4iARB GLEW_GET_FUN(__glewMultiTexCoord4iARB)
  4448. #define glMultiTexCoord4ivARB GLEW_GET_FUN(__glewMultiTexCoord4ivARB)
  4449. #define glMultiTexCoord4sARB GLEW_GET_FUN(__glewMultiTexCoord4sARB)
  4450. #define glMultiTexCoord4svARB GLEW_GET_FUN(__glewMultiTexCoord4svARB)
  4451. #define GLEW_ARB_multitexture GLEW_GET_VAR(__GLEW_ARB_multitexture)
  4452. #endif /* !GL_ARB_multitexture */
  4453. /* ------------------------- GL_ARB_occlusion_query ------------------------ */
  4454. #if !defined(GL_ARB_occlusion_query)
  4455. #define GL_ARB_occlusion_query 1
  4456. #define GL_QUERY_COUNTER_BITS_ARB 0x8864
  4457. #define GL_CURRENT_QUERY_ARB 0x8865
  4458. #define GL_QUERY_RESULT_ARB 0x8866
  4459. #define GL_QUERY_RESULT_AVAILABLE_ARB 0x8867
  4460. #define GL_SAMPLES_PASSED_ARB 0x8914
  4461. typedef void (GLAPIENTRY * PFNGLBEGINQUERYARBPROC) (GLenum target, GLuint id);
  4462. typedef void (GLAPIENTRY * PFNGLDELETEQUERIESARBPROC) (GLsizei n, const GLuint* ids);
  4463. typedef void (GLAPIENTRY * PFNGLENDQUERYARBPROC) (GLenum target);
  4464. typedef void (GLAPIENTRY * PFNGLGENQUERIESARBPROC) (GLsizei n, GLuint* ids);
  4465. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTIVARBPROC) (GLuint id, GLenum pname, GLint* params);
  4466. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVARBPROC) (GLuint id, GLenum pname, GLuint* params);
  4467. typedef void (GLAPIENTRY * PFNGLGETQUERYIVARBPROC) (GLenum target, GLenum pname, GLint* params);
  4468. typedef GLboolean (GLAPIENTRY * PFNGLISQUERYARBPROC) (GLuint id);
  4469. #define glBeginQueryARB GLEW_GET_FUN(__glewBeginQueryARB)
  4470. #define glDeleteQueriesARB GLEW_GET_FUN(__glewDeleteQueriesARB)
  4471. #define glEndQueryARB GLEW_GET_FUN(__glewEndQueryARB)
  4472. #define glGenQueriesARB GLEW_GET_FUN(__glewGenQueriesARB)
  4473. #define glGetQueryObjectivARB GLEW_GET_FUN(__glewGetQueryObjectivARB)
  4474. #define glGetQueryObjectuivARB GLEW_GET_FUN(__glewGetQueryObjectuivARB)
  4475. #define glGetQueryivARB GLEW_GET_FUN(__glewGetQueryivARB)
  4476. #define glIsQueryARB GLEW_GET_FUN(__glewIsQueryARB)
  4477. #define GLEW_ARB_occlusion_query GLEW_GET_VAR(__GLEW_ARB_occlusion_query)
  4478. #endif /* !GL_ARB_occlusion_query */
  4479. /* ------------------------ GL_ARB_occlusion_query2 ------------------------ */
  4480. #if !defined(GL_ARB_occlusion_query2)
  4481. #define GL_ARB_occlusion_query2 1
  4482. #define GL_ANY_SAMPLES_PASSED 0x8C2F
  4483. #define GLEW_ARB_occlusion_query2 GLEW_GET_VAR(__GLEW_ARB_occlusion_query2)
  4484. #endif /* !GL_ARB_occlusion_query2 */
  4485. /* ----------------------- GL_ARB_pixel_buffer_object ---------------------- */
  4486. #if !defined(GL_ARB_pixel_buffer_object)
  4487. #define GL_ARB_pixel_buffer_object 1
  4488. #define GL_PIXEL_PACK_BUFFER_ARB 0x88EB
  4489. #define GL_PIXEL_UNPACK_BUFFER_ARB 0x88EC
  4490. #define GL_PIXEL_PACK_BUFFER_BINDING_ARB 0x88ED
  4491. #define GL_PIXEL_UNPACK_BUFFER_BINDING_ARB 0x88EF
  4492. #define GLEW_ARB_pixel_buffer_object GLEW_GET_VAR(__GLEW_ARB_pixel_buffer_object)
  4493. #endif /* !GL_ARB_pixel_buffer_object */
  4494. /* ------------------------ GL_ARB_point_parameters ------------------------ */
  4495. #if !defined(GL_ARB_point_parameters)
  4496. #define GL_ARB_point_parameters 1
  4497. #define GL_POINT_SIZE_MIN_ARB 0x8126
  4498. #define GL_POINT_SIZE_MAX_ARB 0x8127
  4499. #define GL_POINT_FADE_THRESHOLD_SIZE_ARB 0x8128
  4500. #define GL_POINT_DISTANCE_ATTENUATION_ARB 0x8129
  4501. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFARBPROC) (GLenum pname, GLfloat param);
  4502. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVARBPROC) (GLenum pname, const GLfloat* params);
  4503. #define glPointParameterfARB GLEW_GET_FUN(__glewPointParameterfARB)
  4504. #define glPointParameterfvARB GLEW_GET_FUN(__glewPointParameterfvARB)
  4505. #define GLEW_ARB_point_parameters GLEW_GET_VAR(__GLEW_ARB_point_parameters)
  4506. #endif /* !GL_ARB_point_parameters */
  4507. /* -------------------------- GL_ARB_point_sprite -------------------------- */
  4508. #if !defined(GL_ARB_point_sprite)
  4509. #define GL_ARB_point_sprite 1
  4510. #define GL_POINT_SPRITE_ARB 0x8861
  4511. #define GL_COORD_REPLACE_ARB 0x8862
  4512. #define GLEW_ARB_point_sprite GLEW_GET_VAR(__GLEW_ARB_point_sprite)
  4513. #endif /* !GL_ARB_point_sprite */
  4514. /* --------------------- GL_ARB_program_interface_query -------------------- */
  4515. #if !defined(GL_ARB_program_interface_query)
  4516. #define GL_ARB_program_interface_query 1
  4517. #define GL_UNIFORM 0x92E1
  4518. #define GL_UNIFORM_BLOCK 0x92E2
  4519. #define GL_PROGRAM_INPUT 0x92E3
  4520. #define GL_PROGRAM_OUTPUT 0x92E4
  4521. #define GL_BUFFER_VARIABLE 0x92E5
  4522. #define GL_SHADER_STORAGE_BLOCK 0x92E6
  4523. #define GL_IS_PER_PATCH 0x92E7
  4524. #define GL_VERTEX_SUBROUTINE 0x92E8
  4525. #define GL_TESS_CONTROL_SUBROUTINE 0x92E9
  4526. #define GL_TESS_EVALUATION_SUBROUTINE 0x92EA
  4527. #define GL_GEOMETRY_SUBROUTINE 0x92EB
  4528. #define GL_FRAGMENT_SUBROUTINE 0x92EC
  4529. #define GL_COMPUTE_SUBROUTINE 0x92ED
  4530. #define GL_VERTEX_SUBROUTINE_UNIFORM 0x92EE
  4531. #define GL_TESS_CONTROL_SUBROUTINE_UNIFORM 0x92EF
  4532. #define GL_TESS_EVALUATION_SUBROUTINE_UNIFORM 0x92F0
  4533. #define GL_GEOMETRY_SUBROUTINE_UNIFORM 0x92F1
  4534. #define GL_FRAGMENT_SUBROUTINE_UNIFORM 0x92F2
  4535. #define GL_COMPUTE_SUBROUTINE_UNIFORM 0x92F3
  4536. #define GL_TRANSFORM_FEEDBACK_VARYING 0x92F4
  4537. #define GL_ACTIVE_RESOURCES 0x92F5
  4538. #define GL_MAX_NAME_LENGTH 0x92F6
  4539. #define GL_MAX_NUM_ACTIVE_VARIABLES 0x92F7
  4540. #define GL_MAX_NUM_COMPATIBLE_SUBROUTINES 0x92F8
  4541. #define GL_NAME_LENGTH 0x92F9
  4542. #define GL_TYPE 0x92FA
  4543. #define GL_ARRAY_SIZE 0x92FB
  4544. #define GL_OFFSET 0x92FC
  4545. #define GL_BLOCK_INDEX 0x92FD
  4546. #define GL_ARRAY_STRIDE 0x92FE
  4547. #define GL_MATRIX_STRIDE 0x92FF
  4548. #define GL_IS_ROW_MAJOR 0x9300
  4549. #define GL_ATOMIC_COUNTER_BUFFER_INDEX 0x9301
  4550. #define GL_BUFFER_BINDING 0x9302
  4551. #define GL_BUFFER_DATA_SIZE 0x9303
  4552. #define GL_NUM_ACTIVE_VARIABLES 0x9304
  4553. #define GL_ACTIVE_VARIABLES 0x9305
  4554. #define GL_REFERENCED_BY_VERTEX_SHADER 0x9306
  4555. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER 0x9307
  4556. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER 0x9308
  4557. #define GL_REFERENCED_BY_GEOMETRY_SHADER 0x9309
  4558. #define GL_REFERENCED_BY_FRAGMENT_SHADER 0x930A
  4559. #define GL_REFERENCED_BY_COMPUTE_SHADER 0x930B
  4560. #define GL_TOP_LEVEL_ARRAY_SIZE 0x930C
  4561. #define GL_TOP_LEVEL_ARRAY_STRIDE 0x930D
  4562. #define GL_LOCATION 0x930E
  4563. #define GL_LOCATION_INDEX 0x930F
  4564. typedef void (GLAPIENTRY * PFNGLGETPROGRAMINTERFACEIVPROC) (GLuint program, GLenum programInterface, GLenum pname, GLint* params);
  4565. typedef GLuint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCEINDEXPROC) (GLuint program, GLenum programInterface, const char* name);
  4566. typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONPROC) (GLuint program, GLenum programInterface, const char* name);
  4567. typedef GLint (GLAPIENTRY * PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC) (GLuint program, GLenum programInterface, const char* name);
  4568. typedef void (GLAPIENTRY * PFNGLGETPROGRAMRESOURCENAMEPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei* length, char *name);
  4569. typedef void (GLAPIENTRY * PFNGLGETPROGRAMRESOURCEIVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum* props, GLsizei bufSize, GLsizei *length, GLint *params);
  4570. #define glGetProgramInterfaceiv GLEW_GET_FUN(__glewGetProgramInterfaceiv)
  4571. #define glGetProgramResourceIndex GLEW_GET_FUN(__glewGetProgramResourceIndex)
  4572. #define glGetProgramResourceLocation GLEW_GET_FUN(__glewGetProgramResourceLocation)
  4573. #define glGetProgramResourceLocationIndex GLEW_GET_FUN(__glewGetProgramResourceLocationIndex)
  4574. #define glGetProgramResourceName GLEW_GET_FUN(__glewGetProgramResourceName)
  4575. #define glGetProgramResourceiv GLEW_GET_FUN(__glewGetProgramResourceiv)
  4576. #define GLEW_ARB_program_interface_query GLEW_GET_VAR(__GLEW_ARB_program_interface_query)
  4577. #endif /* !GL_ARB_program_interface_query */
  4578. /* ------------------------ GL_ARB_provoking_vertex ------------------------ */
  4579. #if !defined(GL_ARB_provoking_vertex)
  4580. #define GL_ARB_provoking_vertex 1
  4581. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION 0x8E4C
  4582. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  4583. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  4584. #define GL_PROVOKING_VERTEX 0x8E4F
  4585. typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXPROC) (GLenum mode);
  4586. #define glProvokingVertex GLEW_GET_FUN(__glewProvokingVertex)
  4587. #define GLEW_ARB_provoking_vertex GLEW_GET_VAR(__GLEW_ARB_provoking_vertex)
  4588. #endif /* !GL_ARB_provoking_vertex */
  4589. /* ------------------ GL_ARB_robust_buffer_access_behavior ----------------- */
  4590. #if !defined(GL_ARB_robust_buffer_access_behavior)
  4591. #define GL_ARB_robust_buffer_access_behavior 1
  4592. #define GLEW_ARB_robust_buffer_access_behavior GLEW_GET_VAR(__GLEW_ARB_robust_buffer_access_behavior)
  4593. #endif /* !GL_ARB_robust_buffer_access_behavior */
  4594. /* --------------------------- GL_ARB_robustness --------------------------- */
  4595. #if !defined(GL_ARB_robustness)
  4596. #define GL_ARB_robustness 1
  4597. #define GL_CONTEXT_FLAG_ROBUST_ACCESS_BIT_ARB 0x00000004
  4598. #define GL_LOSE_CONTEXT_ON_RESET_ARB 0x8252
  4599. #define GL_GUILTY_CONTEXT_RESET_ARB 0x8253
  4600. #define GL_INNOCENT_CONTEXT_RESET_ARB 0x8254
  4601. #define GL_UNKNOWN_CONTEXT_RESET_ARB 0x8255
  4602. #define GL_RESET_NOTIFICATION_STRATEGY_ARB 0x8256
  4603. #define GL_NO_RESET_NOTIFICATION_ARB 0x8261
  4604. typedef GLenum (GLAPIENTRY * PFNGLGETGRAPHICSRESETSTATUSARBPROC) (void);
  4605. typedef void (GLAPIENTRY * PFNGLGETNCOLORTABLEARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* table);
  4606. typedef void (GLAPIENTRY * PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, GLsizei bufSize, void* img);
  4607. typedef void (GLAPIENTRY * PFNGLGETNCONVOLUTIONFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei bufSize, void* image);
  4608. typedef void (GLAPIENTRY * PFNGLGETNHISTOGRAMARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
  4609. typedef void (GLAPIENTRY * PFNGLGETNMAPDVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLdouble* v);
  4610. typedef void (GLAPIENTRY * PFNGLGETNMAPFVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLfloat* v);
  4611. typedef void (GLAPIENTRY * PFNGLGETNMAPIVARBPROC) (GLenum target, GLenum query, GLsizei bufSize, GLint* v);
  4612. typedef void (GLAPIENTRY * PFNGLGETNMINMAXARBPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, GLsizei bufSize, void* values);
  4613. typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPFVARBPROC) (GLenum map, GLsizei bufSize, GLfloat* values);
  4614. typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUIVARBPROC) (GLenum map, GLsizei bufSize, GLuint* values);
  4615. typedef void (GLAPIENTRY * PFNGLGETNPIXELMAPUSVARBPROC) (GLenum map, GLsizei bufSize, GLushort* values);
  4616. typedef void (GLAPIENTRY * PFNGLGETNPOLYGONSTIPPLEARBPROC) (GLsizei bufSize, GLubyte* pattern);
  4617. typedef void (GLAPIENTRY * PFNGLGETNSEPARABLEFILTERARBPROC) (GLenum target, GLenum format, GLenum type, GLsizei rowBufSize, void* row, GLsizei columnBufSize, GLvoid*column, GLvoid*span);
  4618. typedef void (GLAPIENTRY * PFNGLGETNTEXIMAGEARBPROC) (GLenum target, GLint level, GLenum format, GLenum type, GLsizei bufSize, void* img);
  4619. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMDVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLdouble* params);
  4620. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMFVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat* params);
  4621. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLint* params);
  4622. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMUIVARBPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint* params);
  4623. typedef void (GLAPIENTRY * PFNGLREADNPIXELSARBPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data);
  4624. #define glGetGraphicsResetStatusARB GLEW_GET_FUN(__glewGetGraphicsResetStatusARB)
  4625. #define glGetnColorTableARB GLEW_GET_FUN(__glewGetnColorTableARB)
  4626. #define glGetnCompressedTexImageARB GLEW_GET_FUN(__glewGetnCompressedTexImageARB)
  4627. #define glGetnConvolutionFilterARB GLEW_GET_FUN(__glewGetnConvolutionFilterARB)
  4628. #define glGetnHistogramARB GLEW_GET_FUN(__glewGetnHistogramARB)
  4629. #define glGetnMapdvARB GLEW_GET_FUN(__glewGetnMapdvARB)
  4630. #define glGetnMapfvARB GLEW_GET_FUN(__glewGetnMapfvARB)
  4631. #define glGetnMapivARB GLEW_GET_FUN(__glewGetnMapivARB)
  4632. #define glGetnMinmaxARB GLEW_GET_FUN(__glewGetnMinmaxARB)
  4633. #define glGetnPixelMapfvARB GLEW_GET_FUN(__glewGetnPixelMapfvARB)
  4634. #define glGetnPixelMapuivARB GLEW_GET_FUN(__glewGetnPixelMapuivARB)
  4635. #define glGetnPixelMapusvARB GLEW_GET_FUN(__glewGetnPixelMapusvARB)
  4636. #define glGetnPolygonStippleARB GLEW_GET_FUN(__glewGetnPolygonStippleARB)
  4637. #define glGetnSeparableFilterARB GLEW_GET_FUN(__glewGetnSeparableFilterARB)
  4638. #define glGetnTexImageARB GLEW_GET_FUN(__glewGetnTexImageARB)
  4639. #define glGetnUniformdvARB GLEW_GET_FUN(__glewGetnUniformdvARB)
  4640. #define glGetnUniformfvARB GLEW_GET_FUN(__glewGetnUniformfvARB)
  4641. #define glGetnUniformivARB GLEW_GET_FUN(__glewGetnUniformivARB)
  4642. #define glGetnUniformuivARB GLEW_GET_FUN(__glewGetnUniformuivARB)
  4643. #define glReadnPixelsARB GLEW_GET_FUN(__glewReadnPixelsARB)
  4644. #define GLEW_ARB_robustness GLEW_GET_VAR(__GLEW_ARB_robustness)
  4645. #endif /* !GL_ARB_robustness */
  4646. /* ---------------- GL_ARB_robustness_application_isolation ---------------- */
  4647. #if !defined(GL_ARB_robustness_application_isolation)
  4648. #define GL_ARB_robustness_application_isolation 1
  4649. #define GLEW_ARB_robustness_application_isolation GLEW_GET_VAR(__GLEW_ARB_robustness_application_isolation)
  4650. #endif /* !GL_ARB_robustness_application_isolation */
  4651. /* ---------------- GL_ARB_robustness_share_group_isolation ---------------- */
  4652. #if !defined(GL_ARB_robustness_share_group_isolation)
  4653. #define GL_ARB_robustness_share_group_isolation 1
  4654. #define GLEW_ARB_robustness_share_group_isolation GLEW_GET_VAR(__GLEW_ARB_robustness_share_group_isolation)
  4655. #endif /* !GL_ARB_robustness_share_group_isolation */
  4656. /* ------------------------- GL_ARB_sample_shading ------------------------- */
  4657. #if !defined(GL_ARB_sample_shading)
  4658. #define GL_ARB_sample_shading 1
  4659. #define GL_SAMPLE_SHADING_ARB 0x8C36
  4660. #define GL_MIN_SAMPLE_SHADING_VALUE_ARB 0x8C37
  4661. typedef void (GLAPIENTRY * PFNGLMINSAMPLESHADINGARBPROC) (GLclampf value);
  4662. #define glMinSampleShadingARB GLEW_GET_FUN(__glewMinSampleShadingARB)
  4663. #define GLEW_ARB_sample_shading GLEW_GET_VAR(__GLEW_ARB_sample_shading)
  4664. #endif /* !GL_ARB_sample_shading */
  4665. /* ------------------------- GL_ARB_sampler_objects ------------------------ */
  4666. #if !defined(GL_ARB_sampler_objects)
  4667. #define GL_ARB_sampler_objects 1
  4668. #define GL_SAMPLER_BINDING 0x8919
  4669. typedef void (GLAPIENTRY * PFNGLBINDSAMPLERPROC) (GLuint unit, GLuint sampler);
  4670. typedef void (GLAPIENTRY * PFNGLDELETESAMPLERSPROC) (GLsizei count, const GLuint * samplers);
  4671. typedef void (GLAPIENTRY * PFNGLGENSAMPLERSPROC) (GLsizei count, GLuint* samplers);
  4672. typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, GLint* params);
  4673. typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, GLuint* params);
  4674. typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, GLfloat* params);
  4675. typedef void (GLAPIENTRY * PFNGLGETSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, GLint* params);
  4676. typedef GLboolean (GLAPIENTRY * PFNGLISSAMPLERPROC) (GLuint sampler);
  4677. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIIVPROC) (GLuint sampler, GLenum pname, const GLint* params);
  4678. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIUIVPROC) (GLuint sampler, GLenum pname, const GLuint* params);
  4679. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFPROC) (GLuint sampler, GLenum pname, GLfloat param);
  4680. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERFVPROC) (GLuint sampler, GLenum pname, const GLfloat* params);
  4681. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIPROC) (GLuint sampler, GLenum pname, GLint param);
  4682. typedef void (GLAPIENTRY * PFNGLSAMPLERPARAMETERIVPROC) (GLuint sampler, GLenum pname, const GLint* params);
  4683. #define glBindSampler GLEW_GET_FUN(__glewBindSampler)
  4684. #define glDeleteSamplers GLEW_GET_FUN(__glewDeleteSamplers)
  4685. #define glGenSamplers GLEW_GET_FUN(__glewGenSamplers)
  4686. #define glGetSamplerParameterIiv GLEW_GET_FUN(__glewGetSamplerParameterIiv)
  4687. #define glGetSamplerParameterIuiv GLEW_GET_FUN(__glewGetSamplerParameterIuiv)
  4688. #define glGetSamplerParameterfv GLEW_GET_FUN(__glewGetSamplerParameterfv)
  4689. #define glGetSamplerParameteriv GLEW_GET_FUN(__glewGetSamplerParameteriv)
  4690. #define glIsSampler GLEW_GET_FUN(__glewIsSampler)
  4691. #define glSamplerParameterIiv GLEW_GET_FUN(__glewSamplerParameterIiv)
  4692. #define glSamplerParameterIuiv GLEW_GET_FUN(__glewSamplerParameterIuiv)
  4693. #define glSamplerParameterf GLEW_GET_FUN(__glewSamplerParameterf)
  4694. #define glSamplerParameterfv GLEW_GET_FUN(__glewSamplerParameterfv)
  4695. #define glSamplerParameteri GLEW_GET_FUN(__glewSamplerParameteri)
  4696. #define glSamplerParameteriv GLEW_GET_FUN(__glewSamplerParameteriv)
  4697. #define GLEW_ARB_sampler_objects GLEW_GET_VAR(__GLEW_ARB_sampler_objects)
  4698. #endif /* !GL_ARB_sampler_objects */
  4699. /* ------------------------ GL_ARB_seamless_cube_map ----------------------- */
  4700. #if !defined(GL_ARB_seamless_cube_map)
  4701. #define GL_ARB_seamless_cube_map 1
  4702. #define GL_TEXTURE_CUBE_MAP_SEAMLESS 0x884F
  4703. #define GLEW_ARB_seamless_cube_map GLEW_GET_VAR(__GLEW_ARB_seamless_cube_map)
  4704. #endif /* !GL_ARB_seamless_cube_map */
  4705. #if 0 // NOTE jwilkins: there is an inconsistency between the ES and Non-ES versions of this extension??
  4706. /* --------------------- GL_ARB_separate_shader_objects -------------------- */
  4707. #if !defined(GL_ARB_separate_shader_objects)
  4708. #define GL_ARB_separate_shader_objects 1
  4709. #define GL_VERTEX_SHADER_BIT 0x00000001
  4710. #define GL_FRAGMENT_SHADER_BIT 0x00000002
  4711. #define GL_GEOMETRY_SHADER_BIT 0x00000004
  4712. #define GL_TESS_CONTROL_SHADER_BIT 0x00000008
  4713. #define GL_TESS_EVALUATION_SHADER_BIT 0x00000010
  4714. #define GL_PROGRAM_SEPARABLE 0x8258
  4715. #define GL_ACTIVE_PROGRAM 0x8259
  4716. #define GL_PROGRAM_PIPELINE_BINDING 0x825A
  4717. #define GL_ALL_SHADER_BITS 0xFFFFFFFF
  4718. typedef void (GLAPIENTRY * PFNGLACTIVESHADERPROGRAMPROC) (GLuint pipeline, GLuint program);
  4719. typedef void (GLAPIENTRY * PFNGLBINDPROGRAMPIPELINEPROC) (GLuint pipeline);
  4720. typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMVPROC) (GLenum type, GLsizei count, const char ** strings);
  4721. typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMPIPELINESPROC) (GLsizei n, const GLuint* pipelines);
  4722. typedef void (GLAPIENTRY * PFNGLGENPROGRAMPIPELINESPROC) (GLsizei n, GLuint* pipelines);
  4723. typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEINFOLOGPROC) (GLuint pipeline, GLsizei bufSize, GLsizei* length, char *infoLog);
  4724. typedef void (GLAPIENTRY * PFNGLGETPROGRAMPIPELINEIVPROC) (GLuint pipeline, GLenum pname, GLint* params);
  4725. typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMPIPELINEPROC) (GLuint pipeline);
  4726. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DPROC) (GLuint program, GLint location, GLdouble x);
  4727. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  4728. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FPROC) (GLuint program, GLint location, GLfloat x);
  4729. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  4730. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IPROC) (GLuint program, GLint location, GLint x);
  4731. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  4732. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIPROC) (GLuint program, GLint location, GLuint x);
  4733. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  4734. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y);
  4735. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  4736. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y);
  4737. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  4738. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IPROC) (GLuint program, GLint location, GLint x, GLint y);
  4739. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  4740. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIPROC) (GLuint program, GLint location, GLuint x, GLuint y);
  4741. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  4742. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z);
  4743. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  4744. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z);
  4745. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  4746. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z);
  4747. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  4748. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z);
  4749. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  4750. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DPROC) (GLuint program, GLint location, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  4751. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4DVPROC) (GLuint program, GLint location, GLsizei count, const GLdouble* value);
  4752. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FPROC) (GLuint program, GLint location, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  4753. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  4754. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IPROC) (GLuint program, GLint location, GLint x, GLint y, GLint z, GLint w);
  4755. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  4756. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIPROC) (GLuint program, GLint location, GLuint x, GLuint y, GLuint z, GLuint w);
  4757. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  4758. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4759. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4760. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4761. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4762. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4763. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4764. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4765. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4766. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4767. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4768. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4769. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4770. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4771. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4772. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4773. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4774. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLdouble* value);
  4775. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  4776. typedef void (GLAPIENTRY * PFNGLUSEPROGRAMSTAGESPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  4777. typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMPIPELINEPROC) (GLuint pipeline);
  4778. #define glActiveShaderProgram GLEW_GET_FUN(__glewActiveShaderProgram)
  4779. #define glBindProgramPipeline GLEW_GET_FUN(__glewBindProgramPipeline)
  4780. #define glCreateShaderProgramv GLEW_GET_FUN(__glewCreateShaderProgramv)
  4781. #define glDeleteProgramPipelines GLEW_GET_FUN(__glewDeleteProgramPipelines)
  4782. #define glGenProgramPipelines GLEW_GET_FUN(__glewGenProgramPipelines)
  4783. #define glGetProgramPipelineInfoLog GLEW_GET_FUN(__glewGetProgramPipelineInfoLog)
  4784. #define glGetProgramPipelineiv GLEW_GET_FUN(__glewGetProgramPipelineiv)
  4785. #define glIsProgramPipeline GLEW_GET_FUN(__glewIsProgramPipeline)
  4786. #define glProgramUniform1d GLEW_GET_FUN(__glewProgramUniform1d)
  4787. #define glProgramUniform1dv GLEW_GET_FUN(__glewProgramUniform1dv)
  4788. #define glProgramUniform1f GLEW_GET_FUN(__glewProgramUniform1f)
  4789. #define glProgramUniform1fv GLEW_GET_FUN(__glewProgramUniform1fv)
  4790. #define glProgramUniform1i GLEW_GET_FUN(__glewProgramUniform1i)
  4791. #define glProgramUniform1iv GLEW_GET_FUN(__glewProgramUniform1iv)
  4792. #define glProgramUniform1ui GLEW_GET_FUN(__glewProgramUniform1ui)
  4793. #define glProgramUniform1uiv GLEW_GET_FUN(__glewProgramUniform1uiv)
  4794. #define glProgramUniform2d GLEW_GET_FUN(__glewProgramUniform2d)
  4795. #define glProgramUniform2dv GLEW_GET_FUN(__glewProgramUniform2dv)
  4796. #define glProgramUniform2f GLEW_GET_FUN(__glewProgramUniform2f)
  4797. #define glProgramUniform2fv GLEW_GET_FUN(__glewProgramUniform2fv)
  4798. #define glProgramUniform2i GLEW_GET_FUN(__glewProgramUniform2i)
  4799. #define glProgramUniform2iv GLEW_GET_FUN(__glewProgramUniform2iv)
  4800. #define glProgramUniform2ui GLEW_GET_FUN(__glewProgramUniform2ui)
  4801. #define glProgramUniform2uiv GLEW_GET_FUN(__glewProgramUniform2uiv)
  4802. #define glProgramUniform3d GLEW_GET_FUN(__glewProgramUniform3d)
  4803. #define glProgramUniform3dv GLEW_GET_FUN(__glewProgramUniform3dv)
  4804. #define glProgramUniform3f GLEW_GET_FUN(__glewProgramUniform3f)
  4805. #define glProgramUniform3fv GLEW_GET_FUN(__glewProgramUniform3fv)
  4806. #define glProgramUniform3i GLEW_GET_FUN(__glewProgramUniform3i)
  4807. #define glProgramUniform3iv GLEW_GET_FUN(__glewProgramUniform3iv)
  4808. #define glProgramUniform3ui GLEW_GET_FUN(__glewProgramUniform3ui)
  4809. #define glProgramUniform3uiv GLEW_GET_FUN(__glewProgramUniform3uiv)
  4810. #define glProgramUniform4d GLEW_GET_FUN(__glewProgramUniform4d)
  4811. #define glProgramUniform4dv GLEW_GET_FUN(__glewProgramUniform4dv)
  4812. #define glProgramUniform4f GLEW_GET_FUN(__glewProgramUniform4f)
  4813. #define glProgramUniform4fv GLEW_GET_FUN(__glewProgramUniform4fv)
  4814. #define glProgramUniform4i GLEW_GET_FUN(__glewProgramUniform4i)
  4815. #define glProgramUniform4iv GLEW_GET_FUN(__glewProgramUniform4iv)
  4816. #define glProgramUniform4ui GLEW_GET_FUN(__glewProgramUniform4ui)
  4817. #define glProgramUniform4uiv GLEW_GET_FUN(__glewProgramUniform4uiv)
  4818. #define glProgramUniformMatrix2dv GLEW_GET_FUN(__glewProgramUniformMatrix2dv)
  4819. #define glProgramUniformMatrix2fv GLEW_GET_FUN(__glewProgramUniformMatrix2fv)
  4820. #define glProgramUniformMatrix2x3dv GLEW_GET_FUN(__glewProgramUniformMatrix2x3dv)
  4821. #define glProgramUniformMatrix2x3fv GLEW_GET_FUN(__glewProgramUniformMatrix2x3fv)
  4822. #define glProgramUniformMatrix2x4dv GLEW_GET_FUN(__glewProgramUniformMatrix2x4dv)
  4823. #define glProgramUniformMatrix2x4fv GLEW_GET_FUN(__glewProgramUniformMatrix2x4fv)
  4824. #define glProgramUniformMatrix3dv GLEW_GET_FUN(__glewProgramUniformMatrix3dv)
  4825. #define glProgramUniformMatrix3fv GLEW_GET_FUN(__glewProgramUniformMatrix3fv)
  4826. #define glProgramUniformMatrix3x2dv GLEW_GET_FUN(__glewProgramUniformMatrix3x2dv)
  4827. #define glProgramUniformMatrix3x2fv GLEW_GET_FUN(__glewProgramUniformMatrix3x2fv)
  4828. #define glProgramUniformMatrix3x4dv GLEW_GET_FUN(__glewProgramUniformMatrix3x4dv)
  4829. #define glProgramUniformMatrix3x4fv GLEW_GET_FUN(__glewProgramUniformMatrix3x4fv)
  4830. #define glProgramUniformMatrix4dv GLEW_GET_FUN(__glewProgramUniformMatrix4dv)
  4831. #define glProgramUniformMatrix4fv GLEW_GET_FUN(__glewProgramUniformMatrix4fv)
  4832. #define glProgramUniformMatrix4x2dv GLEW_GET_FUN(__glewProgramUniformMatrix4x2dv)
  4833. #define glProgramUniformMatrix4x2fv GLEW_GET_FUN(__glewProgramUniformMatrix4x2fv)
  4834. #define glProgramUniformMatrix4x3dv GLEW_GET_FUN(__glewProgramUniformMatrix4x3dv)
  4835. #define glProgramUniformMatrix4x3fv GLEW_GET_FUN(__glewProgramUniformMatrix4x3fv)
  4836. #define glUseProgramStages GLEW_GET_FUN(__glewUseProgramStages)
  4837. #define glValidateProgramPipeline GLEW_GET_FUN(__glewValidateProgramPipeline)
  4838. #define GLEW_ARB_separate_shader_objects GLEW_GET_VAR(__GLEW_ARB_separate_shader_objects)
  4839. #endif /* !GL_ARB_separate_shader_objects */
  4840. #endif // XXX
  4841. /* --------------------- GL_ARB_shader_atomic_counters --------------------- */
  4842. #if !defined(GL_ARB_shader_atomic_counters)
  4843. #define GL_ARB_shader_atomic_counters 1
  4844. #define GL_ATOMIC_COUNTER_BUFFER 0x92C0
  4845. #define GL_ATOMIC_COUNTER_BUFFER_BINDING 0x92C1
  4846. #define GL_ATOMIC_COUNTER_BUFFER_START 0x92C2
  4847. #define GL_ATOMIC_COUNTER_BUFFER_SIZE 0x92C3
  4848. #define GL_ATOMIC_COUNTER_BUFFER_DATA_SIZE 0x92C4
  4849. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTERS 0x92C5
  4850. #define GL_ATOMIC_COUNTER_BUFFER_ACTIVE_ATOMIC_COUNTER_INDICES 0x92C6
  4851. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_VERTEX_SHADER 0x92C7
  4852. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_CONTROL_SHADER 0x92C8
  4853. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TESS_EVALUATION_SHADER 0x92C9
  4854. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_GEOMETRY_SHADER 0x92CA
  4855. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_FRAGMENT_SHADER 0x92CB
  4856. #define GL_MAX_VERTEX_ATOMIC_COUNTER_BUFFERS 0x92CC
  4857. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS 0x92CD
  4858. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS 0x92CE
  4859. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS 0x92CF
  4860. #define GL_MAX_FRAGMENT_ATOMIC_COUNTER_BUFFERS 0x92D0
  4861. #define GL_MAX_COMBINED_ATOMIC_COUNTER_BUFFERS 0x92D1
  4862. #define GL_MAX_VERTEX_ATOMIC_COUNTERS 0x92D2
  4863. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS 0x92D3
  4864. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS 0x92D4
  4865. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS 0x92D5
  4866. #define GL_MAX_FRAGMENT_ATOMIC_COUNTERS 0x92D6
  4867. #define GL_MAX_COMBINED_ATOMIC_COUNTERS 0x92D7
  4868. #define GL_MAX_ATOMIC_COUNTER_BUFFER_SIZE 0x92D8
  4869. #define GL_ACTIVE_ATOMIC_COUNTER_BUFFERS 0x92D9
  4870. #define GL_UNIFORM_ATOMIC_COUNTER_BUFFER_INDEX 0x92DA
  4871. #define GL_UNSIGNED_INT_ATOMIC_COUNTER 0x92DB
  4872. #define GL_MAX_ATOMIC_COUNTER_BUFFER_BINDINGS 0x92DC
  4873. typedef void (GLAPIENTRY * PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC) (GLuint program, GLuint bufferIndex, GLenum pname, GLint* params);
  4874. #define glGetActiveAtomicCounterBufferiv GLEW_GET_FUN(__glewGetActiveAtomicCounterBufferiv)
  4875. #define GLEW_ARB_shader_atomic_counters GLEW_GET_VAR(__GLEW_ARB_shader_atomic_counters)
  4876. #endif /* !GL_ARB_shader_atomic_counters */
  4877. /* ----------------------- GL_ARB_shader_bit_encoding ---------------------- */
  4878. #if !defined(GL_ARB_shader_bit_encoding)
  4879. #define GL_ARB_shader_bit_encoding 1
  4880. #define GLEW_ARB_shader_bit_encoding GLEW_GET_VAR(__GLEW_ARB_shader_bit_encoding)
  4881. #endif /* !GL_ARB_shader_bit_encoding */
  4882. /* --------------------- GL_ARB_shader_image_load_store -------------------- */
  4883. #if !defined(GL_ARB_shader_image_load_store)
  4884. #define GL_ARB_shader_image_load_store 1
  4885. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT 0x00000001
  4886. #define GL_ELEMENT_ARRAY_BARRIER_BIT 0x00000002
  4887. #define GL_UNIFORM_BARRIER_BIT 0x00000004
  4888. #define GL_TEXTURE_FETCH_BARRIER_BIT 0x00000008
  4889. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT 0x00000020
  4890. #define GL_COMMAND_BARRIER_BIT 0x00000040
  4891. #define GL_PIXEL_BUFFER_BARRIER_BIT 0x00000080
  4892. #define GL_TEXTURE_UPDATE_BARRIER_BIT 0x00000100
  4893. #define GL_BUFFER_UPDATE_BARRIER_BIT 0x00000200
  4894. #define GL_FRAMEBUFFER_BARRIER_BIT 0x00000400
  4895. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT 0x00000800
  4896. #define GL_ATOMIC_COUNTER_BARRIER_BIT 0x00001000
  4897. #define GL_MAX_IMAGE_UNITS 0x8F38
  4898. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS 0x8F39
  4899. #define GL_IMAGE_BINDING_NAME 0x8F3A
  4900. #define GL_IMAGE_BINDING_LEVEL 0x8F3B
  4901. #define GL_IMAGE_BINDING_LAYERED 0x8F3C
  4902. #define GL_IMAGE_BINDING_LAYER 0x8F3D
  4903. #define GL_IMAGE_BINDING_ACCESS 0x8F3E
  4904. #define GL_IMAGE_1D 0x904C
  4905. #define GL_IMAGE_2D 0x904D
  4906. #define GL_IMAGE_3D 0x904E
  4907. #define GL_IMAGE_2D_RECT 0x904F
  4908. #define GL_IMAGE_CUBE 0x9050
  4909. #define GL_IMAGE_BUFFER 0x9051
  4910. #define GL_IMAGE_1D_ARRAY 0x9052
  4911. #define GL_IMAGE_2D_ARRAY 0x9053
  4912. #define GL_IMAGE_CUBE_MAP_ARRAY 0x9054
  4913. #define GL_IMAGE_2D_MULTISAMPLE 0x9055
  4914. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY 0x9056
  4915. #define GL_INT_IMAGE_1D 0x9057
  4916. #define GL_INT_IMAGE_2D 0x9058
  4917. #define GL_INT_IMAGE_3D 0x9059
  4918. #define GL_INT_IMAGE_2D_RECT 0x905A
  4919. #define GL_INT_IMAGE_CUBE 0x905B
  4920. #define GL_INT_IMAGE_BUFFER 0x905C
  4921. #define GL_INT_IMAGE_1D_ARRAY 0x905D
  4922. #define GL_INT_IMAGE_2D_ARRAY 0x905E
  4923. #define GL_INT_IMAGE_CUBE_MAP_ARRAY 0x905F
  4924. #define GL_INT_IMAGE_2D_MULTISAMPLE 0x9060
  4925. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x9061
  4926. #define GL_UNSIGNED_INT_IMAGE_1D 0x9062
  4927. #define GL_UNSIGNED_INT_IMAGE_2D 0x9063
  4928. #define GL_UNSIGNED_INT_IMAGE_3D 0x9064
  4929. #define GL_UNSIGNED_INT_IMAGE_2D_RECT 0x9065
  4930. #define GL_UNSIGNED_INT_IMAGE_CUBE 0x9066
  4931. #define GL_UNSIGNED_INT_IMAGE_BUFFER 0x9067
  4932. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY 0x9068
  4933. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY 0x9069
  4934. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY 0x906A
  4935. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE 0x906B
  4936. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY 0x906C
  4937. #define GL_MAX_IMAGE_SAMPLES 0x906D
  4938. #define GL_IMAGE_BINDING_FORMAT 0x906E
  4939. #define GL_IMAGE_FORMAT_COMPATIBILITY_TYPE 0x90C7
  4940. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_SIZE 0x90C8
  4941. #define GL_IMAGE_FORMAT_COMPATIBILITY_BY_CLASS 0x90C9
  4942. #define GL_MAX_VERTEX_IMAGE_UNIFORMS 0x90CA
  4943. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS 0x90CB
  4944. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS 0x90CC
  4945. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS 0x90CD
  4946. #define GL_MAX_FRAGMENT_IMAGE_UNIFORMS 0x90CE
  4947. #define GL_MAX_COMBINED_IMAGE_UNIFORMS 0x90CF
  4948. #define GL_ALL_BARRIER_BITS 0xFFFFFFFF
  4949. typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREPROC) (GLuint unit, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLenum format);
  4950. typedef void (GLAPIENTRY * PFNGLMEMORYBARRIERPROC) (GLbitfield barriers);
  4951. #define glBindImageTexture GLEW_GET_FUN(__glewBindImageTexture)
  4952. #define glMemoryBarrier GLEW_GET_FUN(__glewMemoryBarrier)
  4953. #define GLEW_ARB_shader_image_load_store GLEW_GET_VAR(__GLEW_ARB_shader_image_load_store)
  4954. #endif /* !GL_ARB_shader_image_load_store */
  4955. /* ------------------------ GL_ARB_shader_image_size ----------------------- */
  4956. #if !defined(GL_ARB_shader_image_size)
  4957. #define GL_ARB_shader_image_size 1
  4958. #define GLEW_ARB_shader_image_size GLEW_GET_VAR(__GLEW_ARB_shader_image_size)
  4959. #endif /* !GL_ARB_shader_image_size */
  4960. /* ------------------------- GL_ARB_shader_objects ------------------------- */
  4961. #if !defined(GL_ARB_shader_objects)
  4962. #define GL_ARB_shader_objects 1
  4963. #define GL_PROGRAM_OBJECT_ARB 0x8B40
  4964. #define GL_SHADER_OBJECT_ARB 0x8B48
  4965. #define GL_OBJECT_TYPE_ARB 0x8B4E
  4966. #define GL_OBJECT_SUBTYPE_ARB 0x8B4F
  4967. #define GL_FLOAT_VEC2_ARB 0x8B50
  4968. #define GL_FLOAT_VEC3_ARB 0x8B51
  4969. #define GL_FLOAT_VEC4_ARB 0x8B52
  4970. #define GL_INT_VEC2_ARB 0x8B53
  4971. #define GL_INT_VEC3_ARB 0x8B54
  4972. #define GL_INT_VEC4_ARB 0x8B55
  4973. #define GL_BOOL_ARB 0x8B56
  4974. #define GL_BOOL_VEC2_ARB 0x8B57
  4975. #define GL_BOOL_VEC3_ARB 0x8B58
  4976. #define GL_BOOL_VEC4_ARB 0x8B59
  4977. #define GL_FLOAT_MAT2_ARB 0x8B5A
  4978. #define GL_FLOAT_MAT3_ARB 0x8B5B
  4979. #define GL_FLOAT_MAT4_ARB 0x8B5C
  4980. #define GL_SAMPLER_1D_ARB 0x8B5D
  4981. #define GL_SAMPLER_2D_ARB 0x8B5E
  4982. #define GL_SAMPLER_3D_ARB 0x8B5F
  4983. #define GL_SAMPLER_CUBE_ARB 0x8B60
  4984. #define GL_SAMPLER_1D_SHADOW_ARB 0x8B61
  4985. #define GL_SAMPLER_2D_SHADOW_ARB 0x8B62
  4986. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  4987. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  4988. #define GL_OBJECT_DELETE_STATUS_ARB 0x8B80
  4989. #define GL_OBJECT_COMPILE_STATUS_ARB 0x8B81
  4990. #define GL_OBJECT_LINK_STATUS_ARB 0x8B82
  4991. #define GL_OBJECT_VALIDATE_STATUS_ARB 0x8B83
  4992. #define GL_OBJECT_INFO_LOG_LENGTH_ARB 0x8B84
  4993. #define GL_OBJECT_ATTACHED_OBJECTS_ARB 0x8B85
  4994. #define GL_OBJECT_ACTIVE_UNIFORMS_ARB 0x8B86
  4995. #define GL_OBJECT_ACTIVE_UNIFORM_MAX_LENGTH_ARB 0x8B87
  4996. #define GL_OBJECT_SHADER_SOURCE_LENGTH_ARB 0x8B88
  4997. typedef char GLcharARB;
  4998. typedef unsigned int GLhandleARB;
  4999. typedef void (GLAPIENTRY * PFNGLATTACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB obj);
  5000. typedef void (GLAPIENTRY * PFNGLCOMPILESHADERARBPROC) (GLhandleARB shaderObj);
  5001. typedef GLhandleARB (GLAPIENTRY * PFNGLCREATEPROGRAMOBJECTARBPROC) (void);
  5002. typedef GLhandleARB (GLAPIENTRY * PFNGLCREATESHADEROBJECTARBPROC) (GLenum shaderType);
  5003. typedef void (GLAPIENTRY * PFNGLDELETEOBJECTARBPROC) (GLhandleARB obj);
  5004. typedef void (GLAPIENTRY * PFNGLDETACHOBJECTARBPROC) (GLhandleARB containerObj, GLhandleARB attachedObj);
  5005. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
  5006. typedef void (GLAPIENTRY * PFNGLGETATTACHEDOBJECTSARBPROC) (GLhandleARB containerObj, GLsizei maxCount, GLsizei* count, GLhandleARB *obj);
  5007. typedef GLhandleARB (GLAPIENTRY * PFNGLGETHANDLEARBPROC) (GLenum pname);
  5008. typedef void (GLAPIENTRY * PFNGLGETINFOLOGARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *infoLog);
  5009. typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERFVARBPROC) (GLhandleARB obj, GLenum pname, GLfloat* params);
  5010. typedef void (GLAPIENTRY * PFNGLGETOBJECTPARAMETERIVARBPROC) (GLhandleARB obj, GLenum pname, GLint* params);
  5011. typedef void (GLAPIENTRY * PFNGLGETSHADERSOURCEARBPROC) (GLhandleARB obj, GLsizei maxLength, GLsizei* length, GLcharARB *source);
  5012. typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
  5013. typedef void (GLAPIENTRY * PFNGLGETUNIFORMFVARBPROC) (GLhandleARB programObj, GLint location, GLfloat* params);
  5014. typedef void (GLAPIENTRY * PFNGLGETUNIFORMIVARBPROC) (GLhandleARB programObj, GLint location, GLint* params);
  5015. typedef void (GLAPIENTRY * PFNGLLINKPROGRAMARBPROC) (GLhandleARB programObj);
  5016. typedef void (GLAPIENTRY * PFNGLSHADERSOURCEARBPROC) (GLhandleARB shaderObj, GLsizei count, const GLcharARB ** string, const GLint *length);
  5017. typedef void (GLAPIENTRY * PFNGLUNIFORM1FARBPROC) (GLint location, GLfloat v0);
  5018. typedef void (GLAPIENTRY * PFNGLUNIFORM1FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
  5019. typedef void (GLAPIENTRY * PFNGLUNIFORM1IARBPROC) (GLint location, GLint v0);
  5020. typedef void (GLAPIENTRY * PFNGLUNIFORM1IVARBPROC) (GLint location, GLsizei count, const GLint* value);
  5021. typedef void (GLAPIENTRY * PFNGLUNIFORM2FARBPROC) (GLint location, GLfloat v0, GLfloat v1);
  5022. typedef void (GLAPIENTRY * PFNGLUNIFORM2FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
  5023. typedef void (GLAPIENTRY * PFNGLUNIFORM2IARBPROC) (GLint location, GLint v0, GLint v1);
  5024. typedef void (GLAPIENTRY * PFNGLUNIFORM2IVARBPROC) (GLint location, GLsizei count, const GLint* value);
  5025. typedef void (GLAPIENTRY * PFNGLUNIFORM3FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  5026. typedef void (GLAPIENTRY * PFNGLUNIFORM3FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
  5027. typedef void (GLAPIENTRY * PFNGLUNIFORM3IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2);
  5028. typedef void (GLAPIENTRY * PFNGLUNIFORM3IVARBPROC) (GLint location, GLsizei count, const GLint* value);
  5029. typedef void (GLAPIENTRY * PFNGLUNIFORM4FARBPROC) (GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  5030. typedef void (GLAPIENTRY * PFNGLUNIFORM4FVARBPROC) (GLint location, GLsizei count, const GLfloat* value);
  5031. typedef void (GLAPIENTRY * PFNGLUNIFORM4IARBPROC) (GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  5032. typedef void (GLAPIENTRY * PFNGLUNIFORM4IVARBPROC) (GLint location, GLsizei count, const GLint* value);
  5033. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX2FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  5034. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX3FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  5035. typedef void (GLAPIENTRY * PFNGLUNIFORMMATRIX4FVARBPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  5036. typedef void (GLAPIENTRY * PFNGLUSEPROGRAMOBJECTARBPROC) (GLhandleARB programObj);
  5037. typedef void (GLAPIENTRY * PFNGLVALIDATEPROGRAMARBPROC) (GLhandleARB programObj);
  5038. #define glAttachObjectARB GLEW_GET_FUN(__glewAttachObjectARB)
  5039. #define glCompileShaderARB GLEW_GET_FUN(__glewCompileShaderARB)
  5040. #define glCreateProgramObjectARB GLEW_GET_FUN(__glewCreateProgramObjectARB)
  5041. #define glCreateShaderObjectARB GLEW_GET_FUN(__glewCreateShaderObjectARB)
  5042. #define glDeleteObjectARB GLEW_GET_FUN(__glewDeleteObjectARB)
  5043. #define glDetachObjectARB GLEW_GET_FUN(__glewDetachObjectARB)
  5044. #define glGetActiveUniformARB GLEW_GET_FUN(__glewGetActiveUniformARB)
  5045. #define glGetAttachedObjectsARB GLEW_GET_FUN(__glewGetAttachedObjectsARB)
  5046. #define glGetHandleARB GLEW_GET_FUN(__glewGetHandleARB)
  5047. #define glGetInfoLogARB GLEW_GET_FUN(__glewGetInfoLogARB)
  5048. #define glGetObjectParameterfvARB GLEW_GET_FUN(__glewGetObjectParameterfvARB)
  5049. #define glGetObjectParameterivARB GLEW_GET_FUN(__glewGetObjectParameterivARB)
  5050. #define glGetShaderSourceARB GLEW_GET_FUN(__glewGetShaderSourceARB)
  5051. #define glGetUniformLocationARB GLEW_GET_FUN(__glewGetUniformLocationARB)
  5052. #define glGetUniformfvARB GLEW_GET_FUN(__glewGetUniformfvARB)
  5053. #define glGetUniformivARB GLEW_GET_FUN(__glewGetUniformivARB)
  5054. #define glLinkProgramARB GLEW_GET_FUN(__glewLinkProgramARB)
  5055. #define glShaderSourceARB GLEW_GET_FUN(__glewShaderSourceARB)
  5056. #define glUniform1fARB GLEW_GET_FUN(__glewUniform1fARB)
  5057. #define glUniform1fvARB GLEW_GET_FUN(__glewUniform1fvARB)
  5058. #define glUniform1iARB GLEW_GET_FUN(__glewUniform1iARB)
  5059. #define glUniform1ivARB GLEW_GET_FUN(__glewUniform1ivARB)
  5060. #define glUniform2fARB GLEW_GET_FUN(__glewUniform2fARB)
  5061. #define glUniform2fvARB GLEW_GET_FUN(__glewUniform2fvARB)
  5062. #define glUniform2iARB GLEW_GET_FUN(__glewUniform2iARB)
  5063. #define glUniform2ivARB GLEW_GET_FUN(__glewUniform2ivARB)
  5064. #define glUniform3fARB GLEW_GET_FUN(__glewUniform3fARB)
  5065. #define glUniform3fvARB GLEW_GET_FUN(__glewUniform3fvARB)
  5066. #define glUniform3iARB GLEW_GET_FUN(__glewUniform3iARB)
  5067. #define glUniform3ivARB GLEW_GET_FUN(__glewUniform3ivARB)
  5068. #define glUniform4fARB GLEW_GET_FUN(__glewUniform4fARB)
  5069. #define glUniform4fvARB GLEW_GET_FUN(__glewUniform4fvARB)
  5070. #define glUniform4iARB GLEW_GET_FUN(__glewUniform4iARB)
  5071. #define glUniform4ivARB GLEW_GET_FUN(__glewUniform4ivARB)
  5072. #define glUniformMatrix2fvARB GLEW_GET_FUN(__glewUniformMatrix2fvARB)
  5073. #define glUniformMatrix3fvARB GLEW_GET_FUN(__glewUniformMatrix3fvARB)
  5074. #define glUniformMatrix4fvARB GLEW_GET_FUN(__glewUniformMatrix4fvARB)
  5075. #define glUseProgramObjectARB GLEW_GET_FUN(__glewUseProgramObjectARB)
  5076. #define glValidateProgramARB GLEW_GET_FUN(__glewValidateProgramARB)
  5077. #define GLEW_ARB_shader_objects GLEW_GET_VAR(__GLEW_ARB_shader_objects)
  5078. #endif /* !GL_ARB_shader_objects */
  5079. /* ------------------------ GL_ARB_shader_precision ------------------------ */
  5080. #if !defined(GL_ARB_shader_precision)
  5081. #define GL_ARB_shader_precision 1
  5082. #define GLEW_ARB_shader_precision GLEW_GET_VAR(__GLEW_ARB_shader_precision)
  5083. #endif /* !GL_ARB_shader_precision */
  5084. /* ---------------------- GL_ARB_shader_stencil_export --------------------- */
  5085. #if !defined(GL_ARB_shader_stencil_export)
  5086. #define GL_ARB_shader_stencil_export 1
  5087. #define GLEW_ARB_shader_stencil_export GLEW_GET_VAR(__GLEW_ARB_shader_stencil_export)
  5088. #endif /* !GL_ARB_shader_stencil_export */
  5089. /* ------------------ GL_ARB_shader_storage_buffer_object ------------------ */
  5090. #if !defined(GL_ARB_shader_storage_buffer_object)
  5091. #define GL_ARB_shader_storage_buffer_object 1
  5092. #define GL_SHADER_STORAGE_BARRIER_BIT 0x2000
  5093. #define GL_MAX_COMBINED_SHADER_OUTPUT_RESOURCES 0x8F39
  5094. #define GL_SHADER_STORAGE_BUFFER 0x90D2
  5095. #define GL_SHADER_STORAGE_BUFFER_BINDING 0x90D3
  5096. #define GL_SHADER_STORAGE_BUFFER_START 0x90D4
  5097. #define GL_SHADER_STORAGE_BUFFER_SIZE 0x90D5
  5098. #define GL_MAX_VERTEX_SHADER_STORAGE_BLOCKS 0x90D6
  5099. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS 0x90D7
  5100. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS 0x90D8
  5101. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS 0x90D9
  5102. #define GL_MAX_FRAGMENT_SHADER_STORAGE_BLOCKS 0x90DA
  5103. #define GL_MAX_COMPUTE_SHADER_STORAGE_BLOCKS 0x90DB
  5104. #define GL_MAX_COMBINED_SHADER_STORAGE_BLOCKS 0x90DC
  5105. #define GL_MAX_SHADER_STORAGE_BUFFER_BINDINGS 0x90DD
  5106. #define GL_MAX_SHADER_STORAGE_BLOCK_SIZE 0x90DE
  5107. #define GL_SHADER_STORAGE_BUFFER_OFFSET_ALIGNMENT 0x90DF
  5108. typedef void (GLAPIENTRY * PFNGLSHADERSTORAGEBLOCKBINDINGPROC) (GLuint program, GLuint storageBlockIndex, GLuint storageBlockBinding);
  5109. #define glShaderStorageBlockBinding GLEW_GET_FUN(__glewShaderStorageBlockBinding)
  5110. #define GLEW_ARB_shader_storage_buffer_object GLEW_GET_VAR(__GLEW_ARB_shader_storage_buffer_object)
  5111. #endif /* !GL_ARB_shader_storage_buffer_object */
  5112. /* ------------------------ GL_ARB_shader_subroutine ----------------------- */
  5113. #if !defined(GL_ARB_shader_subroutine)
  5114. #define GL_ARB_shader_subroutine 1
  5115. #define GL_ACTIVE_SUBROUTINES 0x8DE5
  5116. #define GL_ACTIVE_SUBROUTINE_UNIFORMS 0x8DE6
  5117. #define GL_MAX_SUBROUTINES 0x8DE7
  5118. #define GL_MAX_SUBROUTINE_UNIFORM_LOCATIONS 0x8DE8
  5119. #define GL_ACTIVE_SUBROUTINE_UNIFORM_LOCATIONS 0x8E47
  5120. #define GL_ACTIVE_SUBROUTINE_MAX_LENGTH 0x8E48
  5121. #define GL_ACTIVE_SUBROUTINE_UNIFORM_MAX_LENGTH 0x8E49
  5122. #define GL_NUM_COMPATIBLE_SUBROUTINES 0x8E4A
  5123. #define GL_COMPATIBLE_SUBROUTINES 0x8E4B
  5124. typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINENAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name);
  5125. typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC) (GLuint program, GLenum shadertype, GLuint index, GLsizei bufsize, GLsizei* length, char *name);
  5126. typedef void (GLAPIENTRY * PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC) (GLuint program, GLenum shadertype, GLuint index, GLenum pname, GLint* values);
  5127. typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTAGEIVPROC) (GLuint program, GLenum shadertype, GLenum pname, GLint* values);
  5128. typedef GLuint (GLAPIENTRY * PFNGLGETSUBROUTINEINDEXPROC) (GLuint program, GLenum shadertype, const char* name);
  5129. typedef GLint (GLAPIENTRY * PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC) (GLuint program, GLenum shadertype, const char* name);
  5130. typedef void (GLAPIENTRY * PFNGLGETUNIFORMSUBROUTINEUIVPROC) (GLenum shadertype, GLint location, GLuint* params);
  5131. typedef void (GLAPIENTRY * PFNGLUNIFORMSUBROUTINESUIVPROC) (GLenum shadertype, GLsizei count, const GLuint* indices);
  5132. #define glGetActiveSubroutineName GLEW_GET_FUN(__glewGetActiveSubroutineName)
  5133. #define glGetActiveSubroutineUniformName GLEW_GET_FUN(__glewGetActiveSubroutineUniformName)
  5134. #define glGetActiveSubroutineUniformiv GLEW_GET_FUN(__glewGetActiveSubroutineUniformiv)
  5135. #define glGetProgramStageiv GLEW_GET_FUN(__glewGetProgramStageiv)
  5136. #define glGetSubroutineIndex GLEW_GET_FUN(__glewGetSubroutineIndex)
  5137. #define glGetSubroutineUniformLocation GLEW_GET_FUN(__glewGetSubroutineUniformLocation)
  5138. #define glGetUniformSubroutineuiv GLEW_GET_FUN(__glewGetUniformSubroutineuiv)
  5139. #define glUniformSubroutinesuiv GLEW_GET_FUN(__glewUniformSubroutinesuiv)
  5140. #define GLEW_ARB_shader_subroutine GLEW_GET_VAR(__GLEW_ARB_shader_subroutine)
  5141. #endif /* !GL_ARB_shader_subroutine */
  5142. /* ----------------------- GL_ARB_shader_texture_lod ----------------------- */
  5143. #if !defined(GL_ARB_shader_texture_lod)
  5144. #define GL_ARB_shader_texture_lod 1
  5145. #define GLEW_ARB_shader_texture_lod GLEW_GET_VAR(__GLEW_ARB_shader_texture_lod)
  5146. #endif /* !GL_ARB_shader_texture_lod */
  5147. /* ---------------------- GL_ARB_shading_language_100 ---------------------- */
  5148. #if !defined(GL_ARB_shading_language_100)
  5149. #define GL_ARB_shading_language_100 1
  5150. #define GL_SHADING_LANGUAGE_VERSION_ARB 0x8B8C
  5151. #define GLEW_ARB_shading_language_100 GLEW_GET_VAR(__GLEW_ARB_shading_language_100)
  5152. #endif /* !GL_ARB_shading_language_100 */
  5153. /* -------------------- GL_ARB_shading_language_420pack -------------------- */
  5154. #if !defined(GL_ARB_shading_language_420pack)
  5155. #define GL_ARB_shading_language_420pack 1
  5156. #define GLEW_ARB_shading_language_420pack GLEW_GET_VAR(__GLEW_ARB_shading_language_420pack)
  5157. #endif /* !GL_ARB_shading_language_420pack */
  5158. /* -------------------- GL_ARB_shading_language_include -------------------- */
  5159. #if !defined(GL_ARB_shading_language_include)
  5160. #define GL_ARB_shading_language_include 1
  5161. #define GL_SHADER_INCLUDE_ARB 0x8DAE
  5162. #define GL_NAMED_STRING_LENGTH_ARB 0x8DE9
  5163. #define GL_NAMED_STRING_TYPE_ARB 0x8DEA
  5164. typedef void (GLAPIENTRY * PFNGLCOMPILESHADERINCLUDEARBPROC) (GLuint shader, GLsizei count, const char ** path, const GLint *length);
  5165. typedef void (GLAPIENTRY * PFNGLDELETENAMEDSTRINGARBPROC) (GLint namelen, const char* name);
  5166. typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGARBPROC) (GLint namelen, const char* name, GLsizei bufSize, GLint *stringlen, char *string);
  5167. typedef void (GLAPIENTRY * PFNGLGETNAMEDSTRINGIVARBPROC) (GLint namelen, const char* name, GLenum pname, GLint *params);
  5168. typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDSTRINGARBPROC) (GLint namelen, const char* name);
  5169. typedef void (GLAPIENTRY * PFNGLNAMEDSTRINGARBPROC) (GLenum type, GLint namelen, const char* name, GLint stringlen, const char *string);
  5170. #define glCompileShaderIncludeARB GLEW_GET_FUN(__glewCompileShaderIncludeARB)
  5171. #define glDeleteNamedStringARB GLEW_GET_FUN(__glewDeleteNamedStringARB)
  5172. #define glGetNamedStringARB GLEW_GET_FUN(__glewGetNamedStringARB)
  5173. #define glGetNamedStringivARB GLEW_GET_FUN(__glewGetNamedStringivARB)
  5174. #define glIsNamedStringARB GLEW_GET_FUN(__glewIsNamedStringARB)
  5175. #define glNamedStringARB GLEW_GET_FUN(__glewNamedStringARB)
  5176. #define GLEW_ARB_shading_language_include GLEW_GET_VAR(__GLEW_ARB_shading_language_include)
  5177. #endif /* !GL_ARB_shading_language_include */
  5178. /* -------------------- GL_ARB_shading_language_packing -------------------- */
  5179. #if !defined(GL_ARB_shading_language_packing)
  5180. #define GL_ARB_shading_language_packing 1
  5181. #define GLEW_ARB_shading_language_packing GLEW_GET_VAR(__GLEW_ARB_shading_language_packing)
  5182. #endif /* !GL_ARB_shading_language_packing */
  5183. /* ----------------------------- GL_ARB_shadow ----------------------------- */
  5184. #if !defined(GL_ARB_shadow)
  5185. #define GL_ARB_shadow 1
  5186. #define GL_TEXTURE_COMPARE_MODE_ARB 0x884C
  5187. #define GL_TEXTURE_COMPARE_FUNC_ARB 0x884D
  5188. #define GL_COMPARE_R_TO_TEXTURE_ARB 0x884E
  5189. #define GLEW_ARB_shadow GLEW_GET_VAR(__GLEW_ARB_shadow)
  5190. #endif /* !GL_ARB_shadow */
  5191. /* ------------------------- GL_ARB_shadow_ambient ------------------------- */
  5192. #if !defined(GL_ARB_shadow_ambient)
  5193. #define GL_ARB_shadow_ambient 1
  5194. #define GL_TEXTURE_COMPARE_FAIL_VALUE_ARB 0x80BF
  5195. #define GLEW_ARB_shadow_ambient GLEW_GET_VAR(__GLEW_ARB_shadow_ambient)
  5196. #endif /* !GL_ARB_shadow_ambient */
  5197. /* ------------------------ GL_ARB_stencil_texturing ----------------------- */
  5198. #if !defined(GL_ARB_stencil_texturing)
  5199. #define GL_ARB_stencil_texturing 1
  5200. #define GL_DEPTH_STENCIL_TEXTURE_MODE 0x90EA
  5201. #define GLEW_ARB_stencil_texturing GLEW_GET_VAR(__GLEW_ARB_stencil_texturing)
  5202. #endif /* !GL_ARB_stencil_texturing */
  5203. /* ------------------------------ GL_ARB_sync ------------------------------ */
  5204. #if !defined(GL_ARB_sync)
  5205. #define GL_ARB_sync 1
  5206. #define GL_SYNC_FLUSH_COMMANDS_BIT 0x00000001
  5207. #define GL_MAX_SERVER_WAIT_TIMEOUT 0x9111
  5208. #define GL_OBJECT_TYPE 0x9112
  5209. #define GL_SYNC_CONDITION 0x9113
  5210. #define GL_SYNC_STATUS 0x9114
  5211. #define GL_SYNC_FLAGS 0x9115
  5212. #define GL_SYNC_FENCE 0x9116
  5213. #define GL_SYNC_GPU_COMMANDS_COMPLETE 0x9117
  5214. #define GL_UNSIGNALED 0x9118
  5215. #define GL_SIGNALED 0x9119
  5216. #define GL_ALREADY_SIGNALED 0x911A
  5217. #define GL_TIMEOUT_EXPIRED 0x911B
  5218. #define GL_CONDITION_SATISFIED 0x911C
  5219. #define GL_WAIT_FAILED 0x911D
  5220. #define GL_TIMEOUT_IGNORED 0xFFFFFFFFFFFFFFFF
  5221. typedef GLenum (GLAPIENTRY * PFNGLCLIENTWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout);
  5222. typedef void (GLAPIENTRY * PFNGLDELETESYNCPROC) (GLsync GLsync);
  5223. typedef GLsync (GLAPIENTRY * PFNGLFENCESYNCPROC) (GLenum condition,GLbitfield flags);
  5224. typedef void (GLAPIENTRY * PFNGLGETINTEGER64VPROC) (GLenum pname, GLint64* params);
  5225. typedef void (GLAPIENTRY * PFNGLGETSYNCIVPROC) (GLsync GLsync,GLenum pname,GLsizei bufSize,GLsizei* length, GLint *values);
  5226. typedef GLboolean (GLAPIENTRY * PFNGLISSYNCPROC) (GLsync GLsync);
  5227. typedef void (GLAPIENTRY * PFNGLWAITSYNCPROC) (GLsync GLsync,GLbitfield flags,GLuint64 timeout);
  5228. #define glClientWaitSync GLEW_GET_FUN(__glewClientWaitSync)
  5229. #define glDeleteSync GLEW_GET_FUN(__glewDeleteSync)
  5230. #define glFenceSync GLEW_GET_FUN(__glewFenceSync)
  5231. #define glGetInteger64v GLEW_GET_FUN(__glewGetInteger64v)
  5232. #define glGetSynciv GLEW_GET_FUN(__glewGetSynciv)
  5233. #define glIsSync GLEW_GET_FUN(__glewIsSync)
  5234. #define glWaitSync GLEW_GET_FUN(__glewWaitSync)
  5235. #define GLEW_ARB_sync GLEW_GET_VAR(__GLEW_ARB_sync)
  5236. #endif /* !GL_ARB_sync */
  5237. /* ----------------------- GL_ARB_tessellation_shader ---------------------- */
  5238. #if !defined(GL_ARB_tessellation_shader)
  5239. #define GL_ARB_tessellation_shader 1
  5240. #define GL_PATCHES 0xE
  5241. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_CONTROL_SHADER 0x84F0
  5242. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TESS_EVALUATION_SHADER 0x84F1
  5243. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS 0x886C
  5244. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS 0x886D
  5245. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E1E
  5246. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E1F
  5247. #define GL_PATCH_VERTICES 0x8E72
  5248. #define GL_PATCH_DEFAULT_INNER_LEVEL 0x8E73
  5249. #define GL_PATCH_DEFAULT_OUTER_LEVEL 0x8E74
  5250. #define GL_TESS_CONTROL_OUTPUT_VERTICES 0x8E75
  5251. #define GL_TESS_GEN_MODE 0x8E76
  5252. #define GL_TESS_GEN_SPACING 0x8E77
  5253. #define GL_TESS_GEN_VERTEX_ORDER 0x8E78
  5254. #define GL_TESS_GEN_POINT_MODE 0x8E79
  5255. #define GL_ISOLINES 0x8E7A
  5256. #define GL_FRACTIONAL_ODD 0x8E7B
  5257. #define GL_FRACTIONAL_EVEN 0x8E7C
  5258. #define GL_MAX_PATCH_VERTICES 0x8E7D
  5259. #define GL_MAX_TESS_GEN_LEVEL 0x8E7E
  5260. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS 0x8E7F
  5261. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS 0x8E80
  5262. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS 0x8E81
  5263. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS 0x8E82
  5264. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS 0x8E83
  5265. #define GL_MAX_TESS_PATCH_COMPONENTS 0x8E84
  5266. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS 0x8E85
  5267. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS 0x8E86
  5268. #define GL_TESS_EVALUATION_SHADER 0x8E87
  5269. #define GL_TESS_CONTROL_SHADER 0x8E88
  5270. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS 0x8E89
  5271. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS 0x8E8A
  5272. typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERFVPROC) (GLenum pname, const GLfloat* values);
  5273. typedef void (GLAPIENTRY * PFNGLPATCHPARAMETERIPROC) (GLenum pname, GLint value);
  5274. #define glPatchParameterfv GLEW_GET_FUN(__glewPatchParameterfv)
  5275. #define glPatchParameteri GLEW_GET_FUN(__glewPatchParameteri)
  5276. #define GLEW_ARB_tessellation_shader GLEW_GET_VAR(__GLEW_ARB_tessellation_shader)
  5277. #endif /* !GL_ARB_tessellation_shader */
  5278. /* ---------------------- GL_ARB_texture_border_clamp ---------------------- */
  5279. #if !defined(GL_ARB_texture_border_clamp)
  5280. #define GL_ARB_texture_border_clamp 1
  5281. #define GL_CLAMP_TO_BORDER_ARB 0x812D
  5282. #define GLEW_ARB_texture_border_clamp GLEW_GET_VAR(__GLEW_ARB_texture_border_clamp)
  5283. #endif /* !GL_ARB_texture_border_clamp */
  5284. /* ---------------------- GL_ARB_texture_buffer_object --------------------- */
  5285. #if !defined(GL_ARB_texture_buffer_object)
  5286. #define GL_ARB_texture_buffer_object 1
  5287. #define GL_TEXTURE_BUFFER_ARB 0x8C2A
  5288. #define GL_MAX_TEXTURE_BUFFER_SIZE_ARB 0x8C2B
  5289. #define GL_TEXTURE_BINDING_BUFFER_ARB 0x8C2C
  5290. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_ARB 0x8C2D
  5291. #define GL_TEXTURE_BUFFER_FORMAT_ARB 0x8C2E
  5292. typedef void (GLAPIENTRY * PFNGLTEXBUFFERARBPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  5293. #define glTexBufferARB GLEW_GET_FUN(__glewTexBufferARB)
  5294. #define GLEW_ARB_texture_buffer_object GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object)
  5295. #endif /* !GL_ARB_texture_buffer_object */
  5296. /* ------------------- GL_ARB_texture_buffer_object_rgb32 ------------------ */
  5297. #if !defined(GL_ARB_texture_buffer_object_rgb32)
  5298. #define GL_ARB_texture_buffer_object_rgb32 1
  5299. #define GLEW_ARB_texture_buffer_object_rgb32 GLEW_GET_VAR(__GLEW_ARB_texture_buffer_object_rgb32)
  5300. #endif /* !GL_ARB_texture_buffer_object_rgb32 */
  5301. /* ---------------------- GL_ARB_texture_buffer_range ---------------------- */
  5302. #if !defined(GL_ARB_texture_buffer_range)
  5303. #define GL_ARB_texture_buffer_range 1
  5304. #define GL_TEXTURE_BUFFER_OFFSET 0x919D
  5305. #define GL_TEXTURE_BUFFER_SIZE 0x919E
  5306. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT 0x919F
  5307. typedef void (GLAPIENTRY * PFNGLTEXBUFFERRANGEPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  5308. typedef void (GLAPIENTRY * PFNGLTEXTUREBUFFERRANGEEXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  5309. #define glTexBufferRange GLEW_GET_FUN(__glewTexBufferRange)
  5310. #define glTextureBufferRangeEXT GLEW_GET_FUN(__glewTextureBufferRangeEXT)
  5311. #define GLEW_ARB_texture_buffer_range GLEW_GET_VAR(__GLEW_ARB_texture_buffer_range)
  5312. #endif /* !GL_ARB_texture_buffer_range */
  5313. /* ----------------------- GL_ARB_texture_compression ---------------------- */
  5314. #if !defined(GL_ARB_texture_compression)
  5315. #define GL_ARB_texture_compression 1
  5316. #define GL_COMPRESSED_ALPHA_ARB 0x84E9
  5317. #define GL_COMPRESSED_LUMINANCE_ARB 0x84EA
  5318. #define GL_COMPRESSED_LUMINANCE_ALPHA_ARB 0x84EB
  5319. #define GL_COMPRESSED_INTENSITY_ARB 0x84EC
  5320. #define GL_COMPRESSED_RGB_ARB 0x84ED
  5321. #define GL_COMPRESSED_RGBA_ARB 0x84EE
  5322. #define GL_TEXTURE_COMPRESSION_HINT_ARB 0x84EF
  5323. #define GL_TEXTURE_COMPRESSED_IMAGE_SIZE_ARB 0x86A0
  5324. #define GL_TEXTURE_COMPRESSED_ARB 0x86A1
  5325. #define GL_NUM_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A2
  5326. #define GL_COMPRESSED_TEXTURE_FORMATS_ARB 0x86A3
  5327. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE1DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
  5328. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE2DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
  5329. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DARBPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
  5330. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
  5331. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
  5332. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
  5333. typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXIMAGEARBPROC) (GLenum target, GLint lod, void* img);
  5334. #define glCompressedTexImage1DARB GLEW_GET_FUN(__glewCompressedTexImage1DARB)
  5335. #define glCompressedTexImage2DARB GLEW_GET_FUN(__glewCompressedTexImage2DARB)
  5336. #define glCompressedTexImage3DARB GLEW_GET_FUN(__glewCompressedTexImage3DARB)
  5337. #define glCompressedTexSubImage1DARB GLEW_GET_FUN(__glewCompressedTexSubImage1DARB)
  5338. #define glCompressedTexSubImage2DARB GLEW_GET_FUN(__glewCompressedTexSubImage2DARB)
  5339. #define glCompressedTexSubImage3DARB GLEW_GET_FUN(__glewCompressedTexSubImage3DARB)
  5340. #define glGetCompressedTexImageARB GLEW_GET_FUN(__glewGetCompressedTexImageARB)
  5341. #define GLEW_ARB_texture_compression GLEW_GET_VAR(__GLEW_ARB_texture_compression)
  5342. #endif /* !GL_ARB_texture_compression */
  5343. /* -------------------- GL_ARB_texture_compression_bptc -------------------- */
  5344. #if !defined(GL_ARB_texture_compression_bptc)
  5345. #define GL_ARB_texture_compression_bptc 1
  5346. #define GL_COMPRESSED_RGBA_BPTC_UNORM_ARB 0x8E8C
  5347. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_ARB 0x8E8D
  5348. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_ARB 0x8E8E
  5349. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_ARB 0x8E8F
  5350. #define GLEW_ARB_texture_compression_bptc GLEW_GET_VAR(__GLEW_ARB_texture_compression_bptc)
  5351. #endif /* !GL_ARB_texture_compression_bptc */
  5352. /* -------------------- GL_ARB_texture_compression_rgtc -------------------- */
  5353. #if !defined(GL_ARB_texture_compression_rgtc)
  5354. #define GL_ARB_texture_compression_rgtc 1
  5355. #define GL_COMPRESSED_RED_RGTC1 0x8DBB
  5356. #define GL_COMPRESSED_SIGNED_RED_RGTC1 0x8DBC
  5357. #define GL_COMPRESSED_RG_RGTC2 0x8DBD
  5358. #define GL_COMPRESSED_SIGNED_RG_RGTC2 0x8DBE
  5359. #define GLEW_ARB_texture_compression_rgtc GLEW_GET_VAR(__GLEW_ARB_texture_compression_rgtc)
  5360. #endif /* !GL_ARB_texture_compression_rgtc */
  5361. /* ------------------------ GL_ARB_texture_cube_map ------------------------ */
  5362. #if !defined(GL_ARB_texture_cube_map)
  5363. #define GL_ARB_texture_cube_map 1
  5364. #define GL_NORMAL_MAP_ARB 0x8511
  5365. #define GL_REFLECTION_MAP_ARB 0x8512
  5366. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  5367. #define GL_TEXTURE_BINDING_CUBE_MAP_ARB 0x8514
  5368. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB 0x8515
  5369. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB 0x8516
  5370. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB 0x8517
  5371. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB 0x8518
  5372. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB 0x8519
  5373. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB 0x851A
  5374. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  5375. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_ARB 0x851C
  5376. #define GLEW_ARB_texture_cube_map GLEW_GET_VAR(__GLEW_ARB_texture_cube_map)
  5377. #endif /* !GL_ARB_texture_cube_map */
  5378. /* --------------------- GL_ARB_texture_cube_map_array --------------------- */
  5379. #if !defined(GL_ARB_texture_cube_map_array)
  5380. #define GL_ARB_texture_cube_map_array 1
  5381. #define GL_TEXTURE_CUBE_MAP_ARRAY_ARB 0x9009
  5382. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_ARB 0x900A
  5383. #define GL_PROXY_TEXTURE_CUBE_MAP_ARRAY_ARB 0x900B
  5384. #define GL_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900C
  5385. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_ARB 0x900D
  5386. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900E
  5387. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_ARB 0x900F
  5388. #define GLEW_ARB_texture_cube_map_array GLEW_GET_VAR(__GLEW_ARB_texture_cube_map_array)
  5389. #endif /* !GL_ARB_texture_cube_map_array */
  5390. /* ------------------------- GL_ARB_texture_env_add ------------------------ */
  5391. #if !defined(GL_ARB_texture_env_add)
  5392. #define GL_ARB_texture_env_add 1
  5393. #define GLEW_ARB_texture_env_add GLEW_GET_VAR(__GLEW_ARB_texture_env_add)
  5394. #endif /* !GL_ARB_texture_env_add */
  5395. /* ----------------------- GL_ARB_texture_env_combine ---------------------- */
  5396. #if !defined(GL_ARB_texture_env_combine)
  5397. #define GL_ARB_texture_env_combine 1
  5398. #define GL_SUBTRACT_ARB 0x84E7
  5399. #define GL_COMBINE_ARB 0x8570
  5400. #define GL_COMBINE_RGB_ARB 0x8571
  5401. #define GL_COMBINE_ALPHA_ARB 0x8572
  5402. #define GL_RGB_SCALE_ARB 0x8573
  5403. #define GL_ADD_SIGNED_ARB 0x8574
  5404. #define GL_INTERPOLATE_ARB 0x8575
  5405. #define GL_CONSTANT_ARB 0x8576
  5406. #define GL_PRIMARY_COLOR_ARB 0x8577
  5407. #define GL_PREVIOUS_ARB 0x8578
  5408. #define GL_SOURCE0_RGB_ARB 0x8580
  5409. #define GL_SOURCE1_RGB_ARB 0x8581
  5410. #define GL_SOURCE2_RGB_ARB 0x8582
  5411. #define GL_SOURCE0_ALPHA_ARB 0x8588
  5412. #define GL_SOURCE1_ALPHA_ARB 0x8589
  5413. #define GL_SOURCE2_ALPHA_ARB 0x858A
  5414. #define GL_OPERAND0_RGB_ARB 0x8590
  5415. #define GL_OPERAND1_RGB_ARB 0x8591
  5416. #define GL_OPERAND2_RGB_ARB 0x8592
  5417. #define GL_OPERAND0_ALPHA_ARB 0x8598
  5418. #define GL_OPERAND1_ALPHA_ARB 0x8599
  5419. #define GL_OPERAND2_ALPHA_ARB 0x859A
  5420. #define GLEW_ARB_texture_env_combine GLEW_GET_VAR(__GLEW_ARB_texture_env_combine)
  5421. #endif /* !GL_ARB_texture_env_combine */
  5422. /* ---------------------- GL_ARB_texture_env_crossbar ---------------------- */
  5423. #if !defined(GL_ARB_texture_env_crossbar)
  5424. #define GL_ARB_texture_env_crossbar 1
  5425. #define GLEW_ARB_texture_env_crossbar GLEW_GET_VAR(__GLEW_ARB_texture_env_crossbar)
  5426. #endif /* !GL_ARB_texture_env_crossbar */
  5427. /* ------------------------ GL_ARB_texture_env_dot3 ------------------------ */
  5428. #if !defined(GL_ARB_texture_env_dot3)
  5429. #define GL_ARB_texture_env_dot3 1
  5430. #define GL_DOT3_RGB_ARB 0x86AE
  5431. #define GL_DOT3_RGBA_ARB 0x86AF
  5432. #define GLEW_ARB_texture_env_dot3 GLEW_GET_VAR(__GLEW_ARB_texture_env_dot3)
  5433. #endif /* !GL_ARB_texture_env_dot3 */
  5434. /* -------------------------- GL_ARB_texture_float ------------------------- */
  5435. #if !defined(GL_ARB_texture_float)
  5436. #define GL_ARB_texture_float 1
  5437. #define GL_RGBA32F_ARB 0x8814
  5438. #define GL_RGB32F_ARB 0x8815
  5439. #define GL_ALPHA32F_ARB 0x8816
  5440. #define GL_INTENSITY32F_ARB 0x8817
  5441. #define GL_LUMINANCE32F_ARB 0x8818
  5442. #define GL_LUMINANCE_ALPHA32F_ARB 0x8819
  5443. #define GL_RGBA16F_ARB 0x881A
  5444. #define GL_RGB16F_ARB 0x881B
  5445. #define GL_ALPHA16F_ARB 0x881C
  5446. #define GL_INTENSITY16F_ARB 0x881D
  5447. #define GL_LUMINANCE16F_ARB 0x881E
  5448. #define GL_LUMINANCE_ALPHA16F_ARB 0x881F
  5449. #define GL_TEXTURE_RED_TYPE_ARB 0x8C10
  5450. #define GL_TEXTURE_GREEN_TYPE_ARB 0x8C11
  5451. #define GL_TEXTURE_BLUE_TYPE_ARB 0x8C12
  5452. #define GL_TEXTURE_ALPHA_TYPE_ARB 0x8C13
  5453. #define GL_TEXTURE_LUMINANCE_TYPE_ARB 0x8C14
  5454. #define GL_TEXTURE_INTENSITY_TYPE_ARB 0x8C15
  5455. #define GL_TEXTURE_DEPTH_TYPE_ARB 0x8C16
  5456. #define GL_UNSIGNED_NORMALIZED_ARB 0x8C17
  5457. #define GLEW_ARB_texture_float GLEW_GET_VAR(__GLEW_ARB_texture_float)
  5458. #endif /* !GL_ARB_texture_float */
  5459. /* ------------------------- GL_ARB_texture_gather ------------------------- */
  5460. #if !defined(GL_ARB_texture_gather)
  5461. #define GL_ARB_texture_gather 1
  5462. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5E
  5463. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_ARB 0x8E5F
  5464. #define GL_MAX_PROGRAM_TEXTURE_GATHER_COMPONENTS_ARB 0x8F9F
  5465. #define GLEW_ARB_texture_gather GLEW_GET_VAR(__GLEW_ARB_texture_gather)
  5466. #endif /* !GL_ARB_texture_gather */
  5467. /* --------------------- GL_ARB_texture_mirrored_repeat -------------------- */
  5468. #if !defined(GL_ARB_texture_mirrored_repeat)
  5469. #define GL_ARB_texture_mirrored_repeat 1
  5470. #define GL_MIRRORED_REPEAT_ARB 0x8370
  5471. #define GLEW_ARB_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_ARB_texture_mirrored_repeat)
  5472. #endif /* !GL_ARB_texture_mirrored_repeat */
  5473. /* ----------------------- GL_ARB_texture_multisample ---------------------- */
  5474. #if !defined(GL_ARB_texture_multisample)
  5475. #define GL_ARB_texture_multisample 1
  5476. #define GL_SAMPLE_POSITION 0x8E50
  5477. #define GL_SAMPLE_MASK 0x8E51
  5478. #define GL_SAMPLE_MASK_VALUE 0x8E52
  5479. #define GL_MAX_SAMPLE_MASK_WORDS 0x8E59
  5480. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  5481. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE 0x9101
  5482. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  5483. #define GL_PROXY_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9103
  5484. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE 0x9104
  5485. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY 0x9105
  5486. #define GL_TEXTURE_SAMPLES 0x9106
  5487. #define GL_TEXTURE_FIXED_SAMPLE_LOCATIONS 0x9107
  5488. #define GL_SAMPLER_2D_MULTISAMPLE 0x9108
  5489. #define GL_INT_SAMPLER_2D_MULTISAMPLE 0x9109
  5490. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE 0x910A
  5491. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910B
  5492. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910C
  5493. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY 0x910D
  5494. #define GL_MAX_COLOR_TEXTURE_SAMPLES 0x910E
  5495. #define GL_MAX_DEPTH_TEXTURE_SAMPLES 0x910F
  5496. #define GL_MAX_INTEGER_SAMPLES 0x9110
  5497. typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVPROC) (GLenum pname, GLuint index, GLfloat* val);
  5498. typedef void (GLAPIENTRY * PFNGLSAMPLEMASKIPROC) (GLuint index, GLbitfield mask);
  5499. typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  5500. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  5501. #define glGetMultisamplefv GLEW_GET_FUN(__glewGetMultisamplefv)
  5502. #define glSampleMaski GLEW_GET_FUN(__glewSampleMaski)
  5503. #define glTexImage2DMultisample GLEW_GET_FUN(__glewTexImage2DMultisample)
  5504. #define glTexImage3DMultisample GLEW_GET_FUN(__glewTexImage3DMultisample)
  5505. #define GLEW_ARB_texture_multisample GLEW_GET_VAR(__GLEW_ARB_texture_multisample)
  5506. #endif /* !GL_ARB_texture_multisample */
  5507. /* -------------------- GL_ARB_texture_non_power_of_two -------------------- */
  5508. #if !defined(GL_ARB_texture_non_power_of_two)
  5509. #define GL_ARB_texture_non_power_of_two 1
  5510. #define GLEW_ARB_texture_non_power_of_two GLEW_GET_VAR(__GLEW_ARB_texture_non_power_of_two)
  5511. #endif /* !GL_ARB_texture_non_power_of_two */
  5512. /* ---------------------- GL_ARB_texture_query_levels ---------------------- */
  5513. #if !defined(GL_ARB_texture_query_levels)
  5514. #define GL_ARB_texture_query_levels 1
  5515. #define GLEW_ARB_texture_query_levels GLEW_GET_VAR(__GLEW_ARB_texture_query_levels)
  5516. #endif /* !GL_ARB_texture_query_levels */
  5517. /* ------------------------ GL_ARB_texture_query_lod ----------------------- */
  5518. #if !defined(GL_ARB_texture_query_lod)
  5519. #define GL_ARB_texture_query_lod 1
  5520. #define GLEW_ARB_texture_query_lod GLEW_GET_VAR(__GLEW_ARB_texture_query_lod)
  5521. #endif /* !GL_ARB_texture_query_lod */
  5522. /* ------------------------ GL_ARB_texture_rectangle ----------------------- */
  5523. #if !defined(GL_ARB_texture_rectangle)
  5524. #define GL_ARB_texture_rectangle 1
  5525. #define GL_TEXTURE_RECTANGLE_ARB 0x84F5
  5526. #define GL_TEXTURE_BINDING_RECTANGLE_ARB 0x84F6
  5527. #define GL_PROXY_TEXTURE_RECTANGLE_ARB 0x84F7
  5528. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_ARB 0x84F8
  5529. #define GL_SAMPLER_2D_RECT_ARB 0x8B63
  5530. #define GL_SAMPLER_2D_RECT_SHADOW_ARB 0x8B64
  5531. #define GLEW_ARB_texture_rectangle GLEW_GET_VAR(__GLEW_ARB_texture_rectangle)
  5532. #endif /* !GL_ARB_texture_rectangle */
  5533. /* --------------------------- GL_ARB_texture_rg --------------------------- */
  5534. #if !defined(GL_ARB_texture_rg)
  5535. #define GL_ARB_texture_rg 1
  5536. #define GL_RED 0x1903
  5537. #define GL_COMPRESSED_RED 0x8225
  5538. #define GL_COMPRESSED_RG 0x8226
  5539. #define GL_RG 0x8227
  5540. #define GL_RG_INTEGER 0x8228
  5541. #define GL_R8 0x8229
  5542. #define GL_R16 0x822A
  5543. #define GL_RG8 0x822B
  5544. #define GL_RG16 0x822C
  5545. #define GL_R16F 0x822D
  5546. #define GL_R32F 0x822E
  5547. #define GL_RG16F 0x822F
  5548. #define GL_RG32F 0x8230
  5549. #define GL_R8I 0x8231
  5550. #define GL_R8UI 0x8232
  5551. #define GL_R16I 0x8233
  5552. #define GL_R16UI 0x8234
  5553. #define GL_R32I 0x8235
  5554. #define GL_R32UI 0x8236
  5555. #define GL_RG8I 0x8237
  5556. #define GL_RG8UI 0x8238
  5557. #define GL_RG16I 0x8239
  5558. #define GL_RG16UI 0x823A
  5559. #define GL_RG32I 0x823B
  5560. #define GL_RG32UI 0x823C
  5561. #define GLEW_ARB_texture_rg GLEW_GET_VAR(__GLEW_ARB_texture_rg)
  5562. #endif /* !GL_ARB_texture_rg */
  5563. /* ----------------------- GL_ARB_texture_rgb10_a2ui ----------------------- */
  5564. #if !defined(GL_ARB_texture_rgb10_a2ui)
  5565. #define GL_ARB_texture_rgb10_a2ui 1
  5566. #define GL_RGB10_A2UI 0x906F
  5567. #define GLEW_ARB_texture_rgb10_a2ui GLEW_GET_VAR(__GLEW_ARB_texture_rgb10_a2ui)
  5568. #endif /* !GL_ARB_texture_rgb10_a2ui */
  5569. /* ------------------------- GL_ARB_texture_storage ------------------------ */
  5570. #if !defined(GL_ARB_texture_storage)
  5571. #define GL_ARB_texture_storage 1
  5572. #define GL_ALPHA8_EXT 0x803C
  5573. #define GL_LUMINANCE8_EXT 0x8040
  5574. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  5575. #define GL_TEXTURE_IMMUTABLE_FORMAT 0x912F
  5576. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE1DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  5577. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  5578. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  5579. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  5580. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  5581. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  5582. #define glTexStorage1D GLEW_GET_FUN(__glewTexStorage1D)
  5583. #define glTexStorage2D GLEW_GET_FUN(__glewTexStorage2D)
  5584. #define glTexStorage3D GLEW_GET_FUN(__glewTexStorage3D)
  5585. #define glTextureStorage1DEXT GLEW_GET_FUN(__glewTextureStorage1DEXT)
  5586. #define glTextureStorage2DEXT GLEW_GET_FUN(__glewTextureStorage2DEXT)
  5587. #define glTextureStorage3DEXT GLEW_GET_FUN(__glewTextureStorage3DEXT)
  5588. #define GLEW_ARB_texture_storage GLEW_GET_VAR(__GLEW_ARB_texture_storage)
  5589. #endif /* !GL_ARB_texture_storage */
  5590. /* ------------------- GL_ARB_texture_storage_multisample ------------------ */
  5591. #if !defined(GL_ARB_texture_storage_multisample)
  5592. #define GL_ARB_texture_storage_multisample 1
  5593. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  5594. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DMULTISAMPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  5595. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLboolean fixedsamplelocations);
  5596. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC) (GLuint texture, GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  5597. #define glTexStorage2DMultisample GLEW_GET_FUN(__glewTexStorage2DMultisample)
  5598. #define glTexStorage3DMultisample GLEW_GET_FUN(__glewTexStorage3DMultisample)
  5599. #define glTextureStorage2DMultisampleEXT GLEW_GET_FUN(__glewTextureStorage2DMultisampleEXT)
  5600. #define glTextureStorage3DMultisampleEXT GLEW_GET_FUN(__glewTextureStorage3DMultisampleEXT)
  5601. #define GLEW_ARB_texture_storage_multisample GLEW_GET_VAR(__GLEW_ARB_texture_storage_multisample)
  5602. #endif /* !GL_ARB_texture_storage_multisample */
  5603. /* ------------------------- GL_ARB_texture_swizzle ------------------------ */
  5604. #if !defined(GL_ARB_texture_swizzle)
  5605. #define GL_ARB_texture_swizzle 1
  5606. #define GL_TEXTURE_SWIZZLE_R 0x8E42
  5607. #define GL_TEXTURE_SWIZZLE_G 0x8E43
  5608. #define GL_TEXTURE_SWIZZLE_B 0x8E44
  5609. #define GL_TEXTURE_SWIZZLE_A 0x8E45
  5610. #define GL_TEXTURE_SWIZZLE_RGBA 0x8E46
  5611. #define GLEW_ARB_texture_swizzle GLEW_GET_VAR(__GLEW_ARB_texture_swizzle)
  5612. #endif /* !GL_ARB_texture_swizzle */
  5613. /* -------------------------- GL_ARB_texture_view -------------------------- */
  5614. #if !defined(GL_ARB_texture_view)
  5615. #define GL_ARB_texture_view 1
  5616. #define GL_TEXTURE_VIEW_MIN_LEVEL 0x82DB
  5617. #define GL_TEXTURE_VIEW_NUM_LEVELS 0x82DC
  5618. #define GL_TEXTURE_VIEW_MIN_LAYER 0x82DD
  5619. #define GL_TEXTURE_VIEW_NUM_LAYERS 0x82DE
  5620. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  5621. typedef void (GLAPIENTRY * PFNGLTEXTUREVIEWPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  5622. #define glTextureView GLEW_GET_FUN(__glewTextureView)
  5623. #define GLEW_ARB_texture_view GLEW_GET_VAR(__GLEW_ARB_texture_view)
  5624. #endif /* !GL_ARB_texture_view */
  5625. /* --------------------------- GL_ARB_timer_query -------------------------- */
  5626. #if !defined(GL_ARB_timer_query)
  5627. #define GL_ARB_timer_query 1
  5628. #define GL_TIME_ELAPSED 0x88BF
  5629. #define GL_TIMESTAMP 0x8E28
  5630. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VPROC) (GLuint id, GLenum pname, GLint64* params);
  5631. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VPROC) (GLuint id, GLenum pname, GLuint64* params);
  5632. typedef void (GLAPIENTRY * PFNGLQUERYCOUNTERPROC) (GLuint id, GLenum target);
  5633. #define glGetQueryObjecti64v GLEW_GET_FUN(__glewGetQueryObjecti64v)
  5634. #define glGetQueryObjectui64v GLEW_GET_FUN(__glewGetQueryObjectui64v)
  5635. #define glQueryCounter GLEW_GET_FUN(__glewQueryCounter)
  5636. #define GLEW_ARB_timer_query GLEW_GET_VAR(__GLEW_ARB_timer_query)
  5637. #endif /* !GL_ARB_timer_query */
  5638. /* ----------------------- GL_ARB_transform_feedback2 ---------------------- */
  5639. #if !defined(GL_ARB_transform_feedback2)
  5640. #define GL_ARB_transform_feedback2 1
  5641. #define GL_TRANSFORM_FEEDBACK 0x8E22
  5642. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED 0x8E23
  5643. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE 0x8E24
  5644. #define GL_TRANSFORM_FEEDBACK_BINDING 0x8E25
  5645. typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKPROC) (GLenum target, GLuint id);
  5646. typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSPROC) (GLsizei n, const GLuint* ids);
  5647. typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKPROC) (GLenum mode, GLuint id);
  5648. typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSPROC) (GLsizei n, GLuint* ids);
  5649. typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKPROC) (GLuint id);
  5650. typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKPROC) (void);
  5651. typedef void (GLAPIENTRY * PFNGLRESUMETRANSFORMFEEDBACKPROC) (void);
  5652. #define glBindTransformFeedback GLEW_GET_FUN(__glewBindTransformFeedback)
  5653. #define glDeleteTransformFeedbacks GLEW_GET_FUN(__glewDeleteTransformFeedbacks)
  5654. #define glDrawTransformFeedback GLEW_GET_FUN(__glewDrawTransformFeedback)
  5655. #define glGenTransformFeedbacks GLEW_GET_FUN(__glewGenTransformFeedbacks)
  5656. #define glIsTransformFeedback GLEW_GET_FUN(__glewIsTransformFeedback)
  5657. #define glPauseTransformFeedback GLEW_GET_FUN(__glewPauseTransformFeedback)
  5658. #define glResumeTransformFeedback GLEW_GET_FUN(__glewResumeTransformFeedback)
  5659. #define GLEW_ARB_transform_feedback2 GLEW_GET_VAR(__GLEW_ARB_transform_feedback2)
  5660. #endif /* !GL_ARB_transform_feedback2 */
  5661. /* ----------------------- GL_ARB_transform_feedback3 ---------------------- */
  5662. #if !defined(GL_ARB_transform_feedback3)
  5663. #define GL_ARB_transform_feedback3 1
  5664. #define GL_MAX_TRANSFORM_FEEDBACK_BUFFERS 0x8E70
  5665. #define GL_MAX_VERTEX_STREAMS 0x8E71
  5666. typedef void (GLAPIENTRY * PFNGLBEGINQUERYINDEXEDPROC) (GLenum target, GLuint index, GLuint id);
  5667. typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC) (GLenum mode, GLuint id, GLuint stream);
  5668. typedef void (GLAPIENTRY * PFNGLENDQUERYINDEXEDPROC) (GLenum target, GLuint index);
  5669. typedef void (GLAPIENTRY * PFNGLGETQUERYINDEXEDIVPROC) (GLenum target, GLuint index, GLenum pname, GLint* params);
  5670. #define glBeginQueryIndexed GLEW_GET_FUN(__glewBeginQueryIndexed)
  5671. #define glDrawTransformFeedbackStream GLEW_GET_FUN(__glewDrawTransformFeedbackStream)
  5672. #define glEndQueryIndexed GLEW_GET_FUN(__glewEndQueryIndexed)
  5673. #define glGetQueryIndexediv GLEW_GET_FUN(__glewGetQueryIndexediv)
  5674. #define GLEW_ARB_transform_feedback3 GLEW_GET_VAR(__GLEW_ARB_transform_feedback3)
  5675. #endif /* !GL_ARB_transform_feedback3 */
  5676. /* ------------------ GL_ARB_transform_feedback_instanced ------------------ */
  5677. #if !defined(GL_ARB_transform_feedback_instanced)
  5678. #define GL_ARB_transform_feedback_instanced 1
  5679. typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC) (GLenum mode, GLuint id, GLsizei primcount);
  5680. typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC) (GLenum mode, GLuint id, GLuint stream, GLsizei primcount);
  5681. #define glDrawTransformFeedbackInstanced GLEW_GET_FUN(__glewDrawTransformFeedbackInstanced)
  5682. #define glDrawTransformFeedbackStreamInstanced GLEW_GET_FUN(__glewDrawTransformFeedbackStreamInstanced)
  5683. #define GLEW_ARB_transform_feedback_instanced GLEW_GET_VAR(__GLEW_ARB_transform_feedback_instanced)
  5684. #endif /* !GL_ARB_transform_feedback_instanced */
  5685. /* ------------------------ GL_ARB_transpose_matrix ------------------------ */
  5686. #if !defined(GL_ARB_transpose_matrix)
  5687. #define GL_ARB_transpose_matrix 1
  5688. #define GL_TRANSPOSE_MODELVIEW_MATRIX_ARB 0x84E3
  5689. #define GL_TRANSPOSE_PROJECTION_MATRIX_ARB 0x84E4
  5690. #define GL_TRANSPOSE_TEXTURE_MATRIX_ARB 0x84E5
  5691. #define GL_TRANSPOSE_COLOR_MATRIX_ARB 0x84E6
  5692. typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
  5693. typedef void (GLAPIENTRY * PFNGLLOADTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]);
  5694. typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXDARBPROC) (GLdouble m[16]);
  5695. typedef void (GLAPIENTRY * PFNGLMULTTRANSPOSEMATRIXFARBPROC) (GLfloat m[16]);
  5696. #define glLoadTransposeMatrixdARB GLEW_GET_FUN(__glewLoadTransposeMatrixdARB)
  5697. #define glLoadTransposeMatrixfARB GLEW_GET_FUN(__glewLoadTransposeMatrixfARB)
  5698. #define glMultTransposeMatrixdARB GLEW_GET_FUN(__glewMultTransposeMatrixdARB)
  5699. #define glMultTransposeMatrixfARB GLEW_GET_FUN(__glewMultTransposeMatrixfARB)
  5700. #define GLEW_ARB_transpose_matrix GLEW_GET_VAR(__GLEW_ARB_transpose_matrix)
  5701. #endif /* !GL_ARB_transpose_matrix */
  5702. /* ---------------------- GL_ARB_uniform_buffer_object --------------------- */
  5703. #if !defined(GL_ARB_uniform_buffer_object)
  5704. #define GL_ARB_uniform_buffer_object 1
  5705. #define GL_UNIFORM_BUFFER 0x8A11
  5706. #define GL_UNIFORM_BUFFER_BINDING 0x8A28
  5707. #define GL_UNIFORM_BUFFER_START 0x8A29
  5708. #define GL_UNIFORM_BUFFER_SIZE 0x8A2A
  5709. #define GL_MAX_VERTEX_UNIFORM_BLOCKS 0x8A2B
  5710. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS 0x8A2C
  5711. #define GL_MAX_FRAGMENT_UNIFORM_BLOCKS 0x8A2D
  5712. #define GL_MAX_COMBINED_UNIFORM_BLOCKS 0x8A2E
  5713. #define GL_MAX_UNIFORM_BUFFER_BINDINGS 0x8A2F
  5714. #define GL_MAX_UNIFORM_BLOCK_SIZE 0x8A30
  5715. #define GL_MAX_COMBINED_VERTEX_UNIFORM_COMPONENTS 0x8A31
  5716. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS 0x8A32
  5717. #define GL_MAX_COMBINED_FRAGMENT_UNIFORM_COMPONENTS 0x8A33
  5718. #define GL_UNIFORM_BUFFER_OFFSET_ALIGNMENT 0x8A34
  5719. #define GL_ACTIVE_UNIFORM_BLOCK_MAX_NAME_LENGTH 0x8A35
  5720. #define GL_ACTIVE_UNIFORM_BLOCKS 0x8A36
  5721. #define GL_UNIFORM_TYPE 0x8A37
  5722. #define GL_UNIFORM_SIZE 0x8A38
  5723. #define GL_UNIFORM_NAME_LENGTH 0x8A39
  5724. #define GL_UNIFORM_BLOCK_INDEX 0x8A3A
  5725. #define GL_UNIFORM_OFFSET 0x8A3B
  5726. #define GL_UNIFORM_ARRAY_STRIDE 0x8A3C
  5727. #define GL_UNIFORM_MATRIX_STRIDE 0x8A3D
  5728. #define GL_UNIFORM_IS_ROW_MAJOR 0x8A3E
  5729. #define GL_UNIFORM_BLOCK_BINDING 0x8A3F
  5730. #define GL_UNIFORM_BLOCK_DATA_SIZE 0x8A40
  5731. #define GL_UNIFORM_BLOCK_NAME_LENGTH 0x8A41
  5732. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORMS 0x8A42
  5733. #define GL_UNIFORM_BLOCK_ACTIVE_UNIFORM_INDICES 0x8A43
  5734. #define GL_UNIFORM_BLOCK_REFERENCED_BY_VERTEX_SHADER 0x8A44
  5735. #define GL_UNIFORM_BLOCK_REFERENCED_BY_GEOMETRY_SHADER 0x8A45
  5736. #define GL_UNIFORM_BLOCK_REFERENCED_BY_FRAGMENT_SHADER 0x8A46
  5737. #define GL_INVALID_INDEX 0xFFFFFFFF
  5738. typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEPROC) (GLenum target, GLuint index, GLuint buffer);
  5739. typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  5740. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC) (GLuint program, GLuint uniformBlockIndex, GLsizei bufSize, GLsizei* length, char* uniformBlockName);
  5741. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMBLOCKIVPROC) (GLuint program, GLuint uniformBlockIndex, GLenum pname, GLint* params);
  5742. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMNAMEPROC) (GLuint program, GLuint uniformIndex, GLsizei bufSize, GLsizei* length, char* uniformName);
  5743. typedef void (GLAPIENTRY * PFNGLGETACTIVEUNIFORMSIVPROC) (GLuint program, GLsizei uniformCount, const GLuint* uniformIndices, GLenum pname, GLint* params);
  5744. typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VPROC) (GLenum target, GLuint index, GLint* data);
  5745. typedef GLuint (GLAPIENTRY * PFNGLGETUNIFORMBLOCKINDEXPROC) (GLuint program, const char* uniformBlockName);
  5746. typedef void (GLAPIENTRY * PFNGLGETUNIFORMINDICESPROC) (GLuint program, GLsizei uniformCount, const char** uniformNames, GLuint* uniformIndices);
  5747. typedef void (GLAPIENTRY * PFNGLUNIFORMBLOCKBINDINGPROC) (GLuint program, GLuint uniformBlockIndex, GLuint uniformBlockBinding);
  5748. #define glBindBufferBase GLEW_GET_FUN(__glewBindBufferBase)
  5749. #define glBindBufferRange GLEW_GET_FUN(__glewBindBufferRange)
  5750. #define glGetActiveUniformBlockName GLEW_GET_FUN(__glewGetActiveUniformBlockName)
  5751. #define glGetActiveUniformBlockiv GLEW_GET_FUN(__glewGetActiveUniformBlockiv)
  5752. #define glGetActiveUniformName GLEW_GET_FUN(__glewGetActiveUniformName)
  5753. #define glGetActiveUniformsiv GLEW_GET_FUN(__glewGetActiveUniformsiv)
  5754. #define glGetIntegeri_v GLEW_GET_FUN(__glewGetIntegeri_v)
  5755. #define glGetUniformBlockIndex GLEW_GET_FUN(__glewGetUniformBlockIndex)
  5756. #define glGetUniformIndices GLEW_GET_FUN(__glewGetUniformIndices)
  5757. #define glUniformBlockBinding GLEW_GET_FUN(__glewUniformBlockBinding)
  5758. #define GLEW_ARB_uniform_buffer_object GLEW_GET_VAR(__GLEW_ARB_uniform_buffer_object)
  5759. #endif /* !GL_ARB_uniform_buffer_object */
  5760. /* ------------------------ GL_ARB_vertex_array_bgra ----------------------- */
  5761. #if !defined(GL_ARB_vertex_array_bgra)
  5762. #define GL_ARB_vertex_array_bgra 1
  5763. #define GL_BGRA 0x80E1
  5764. #define GLEW_ARB_vertex_array_bgra GLEW_GET_VAR(__GLEW_ARB_vertex_array_bgra)
  5765. #endif /* !GL_ARB_vertex_array_bgra */
  5766. /* ----------------------- GL_ARB_vertex_array_object ---------------------- */
  5767. #if !defined(GL_ARB_vertex_array_object)
  5768. #define GL_ARB_vertex_array_object 1
  5769. #define GL_VERTEX_ARRAY_BINDING 0x85B5
  5770. typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYPROC) (GLuint array);
  5771. typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSPROC) (GLsizei n, const GLuint* arrays);
  5772. typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSPROC) (GLsizei n, GLuint* arrays);
  5773. typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYPROC) (GLuint array);
  5774. #define glBindVertexArray GLEW_GET_FUN(__glewBindVertexArray)
  5775. #define glDeleteVertexArrays GLEW_GET_FUN(__glewDeleteVertexArrays)
  5776. #define glGenVertexArrays GLEW_GET_FUN(__glewGenVertexArrays)
  5777. #define glIsVertexArray GLEW_GET_FUN(__glewIsVertexArray)
  5778. #define GLEW_ARB_vertex_array_object GLEW_GET_VAR(__GLEW_ARB_vertex_array_object)
  5779. #endif /* !GL_ARB_vertex_array_object */
  5780. /* ----------------------- GL_ARB_vertex_attrib_64bit ---------------------- */
  5781. #if !defined(GL_ARB_vertex_attrib_64bit)
  5782. #define GL_ARB_vertex_attrib_64bit 1
  5783. #define GL_DOUBLE_MAT2 0x8F46
  5784. #define GL_DOUBLE_MAT3 0x8F47
  5785. #define GL_DOUBLE_MAT4 0x8F48
  5786. #define GL_DOUBLE_VEC2 0x8FFC
  5787. #define GL_DOUBLE_VEC3 0x8FFD
  5788. #define GL_DOUBLE_VEC4 0x8FFE
  5789. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVPROC) (GLuint index, GLenum pname, GLdouble* params);
  5790. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DPROC) (GLuint index, GLdouble x);
  5791. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVPROC) (GLuint index, const GLdouble* v);
  5792. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DPROC) (GLuint index, GLdouble x, GLdouble y);
  5793. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVPROC) (GLuint index, const GLdouble* v);
  5794. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  5795. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVPROC) (GLuint index, const GLdouble* v);
  5796. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  5797. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVPROC) (GLuint index, const GLdouble* v);
  5798. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTERPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer);
  5799. #define glGetVertexAttribLdv GLEW_GET_FUN(__glewGetVertexAttribLdv)
  5800. #define glVertexAttribL1d GLEW_GET_FUN(__glewVertexAttribL1d)
  5801. #define glVertexAttribL1dv GLEW_GET_FUN(__glewVertexAttribL1dv)
  5802. #define glVertexAttribL2d GLEW_GET_FUN(__glewVertexAttribL2d)
  5803. #define glVertexAttribL2dv GLEW_GET_FUN(__glewVertexAttribL2dv)
  5804. #define glVertexAttribL3d GLEW_GET_FUN(__glewVertexAttribL3d)
  5805. #define glVertexAttribL3dv GLEW_GET_FUN(__glewVertexAttribL3dv)
  5806. #define glVertexAttribL4d GLEW_GET_FUN(__glewVertexAttribL4d)
  5807. #define glVertexAttribL4dv GLEW_GET_FUN(__glewVertexAttribL4dv)
  5808. #define glVertexAttribLPointer GLEW_GET_FUN(__glewVertexAttribLPointer)
  5809. #define GLEW_ARB_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_ARB_vertex_attrib_64bit)
  5810. #endif /* !GL_ARB_vertex_attrib_64bit */
  5811. /* ---------------------- GL_ARB_vertex_attrib_binding --------------------- */
  5812. #if !defined(GL_ARB_vertex_attrib_binding)
  5813. #define GL_ARB_vertex_attrib_binding 1
  5814. #define GL_VERTEX_ATTRIB_BINDING 0x82D4
  5815. #define GL_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D5
  5816. #define GL_VERTEX_BINDING_DIVISOR 0x82D6
  5817. #define GL_VERTEX_BINDING_OFFSET 0x82D7
  5818. #define GL_VERTEX_BINDING_STRIDE 0x82D8
  5819. #define GL_MAX_VERTEX_ATTRIB_RELATIVE_OFFSET 0x82D9
  5820. #define GL_MAX_VERTEX_ATTRIB_BINDINGS 0x82DA
  5821. typedef void (GLAPIENTRY * PFNGLBINDVERTEXBUFFERPROC) (GLuint bindingindex, GLuint buffer, GLintptr offset, GLsizei stride);
  5822. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBBINDINGPROC) (GLuint attribindex, GLuint bindingindex);
  5823. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLboolean normalized, GLuint relativeoffset);
  5824. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  5825. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLFORMATPROC) (GLuint attribindex, GLint size, GLenum type, GLuint relativeoffset);
  5826. typedef void (GLAPIENTRY * PFNGLVERTEXBINDINGDIVISORPROC) (GLuint bindingindex, GLuint divisor);
  5827. #define glBindVertexBuffer GLEW_GET_FUN(__glewBindVertexBuffer)
  5828. #define glVertexAttribBinding GLEW_GET_FUN(__glewVertexAttribBinding)
  5829. #define glVertexAttribFormat GLEW_GET_FUN(__glewVertexAttribFormat)
  5830. #define glVertexAttribIFormat GLEW_GET_FUN(__glewVertexAttribIFormat)
  5831. #define glVertexAttribLFormat GLEW_GET_FUN(__glewVertexAttribLFormat)
  5832. #define glVertexBindingDivisor GLEW_GET_FUN(__glewVertexBindingDivisor)
  5833. #define GLEW_ARB_vertex_attrib_binding GLEW_GET_VAR(__GLEW_ARB_vertex_attrib_binding)
  5834. #endif /* !GL_ARB_vertex_attrib_binding */
  5835. /* -------------------------- GL_ARB_vertex_blend -------------------------- */
  5836. #if !defined(GL_ARB_vertex_blend)
  5837. #define GL_ARB_vertex_blend 1
  5838. #define GL_MODELVIEW0_ARB 0x1700
  5839. #define GL_MODELVIEW1_ARB 0x850A
  5840. #define GL_MAX_VERTEX_UNITS_ARB 0x86A4
  5841. #define GL_ACTIVE_VERTEX_UNITS_ARB 0x86A5
  5842. #define GL_WEIGHT_SUM_UNITY_ARB 0x86A6
  5843. #define GL_VERTEX_BLEND_ARB 0x86A7
  5844. #define GL_CURRENT_WEIGHT_ARB 0x86A8
  5845. #define GL_WEIGHT_ARRAY_TYPE_ARB 0x86A9
  5846. #define GL_WEIGHT_ARRAY_STRIDE_ARB 0x86AA
  5847. #define GL_WEIGHT_ARRAY_SIZE_ARB 0x86AB
  5848. #define GL_WEIGHT_ARRAY_POINTER_ARB 0x86AC
  5849. #define GL_WEIGHT_ARRAY_ARB 0x86AD
  5850. #define GL_MODELVIEW2_ARB 0x8722
  5851. #define GL_MODELVIEW3_ARB 0x8723
  5852. #define GL_MODELVIEW4_ARB 0x8724
  5853. #define GL_MODELVIEW5_ARB 0x8725
  5854. #define GL_MODELVIEW6_ARB 0x8726
  5855. #define GL_MODELVIEW7_ARB 0x8727
  5856. #define GL_MODELVIEW8_ARB 0x8728
  5857. #define GL_MODELVIEW9_ARB 0x8729
  5858. #define GL_MODELVIEW10_ARB 0x872A
  5859. #define GL_MODELVIEW11_ARB 0x872B
  5860. #define GL_MODELVIEW12_ARB 0x872C
  5861. #define GL_MODELVIEW13_ARB 0x872D
  5862. #define GL_MODELVIEW14_ARB 0x872E
  5863. #define GL_MODELVIEW15_ARB 0x872F
  5864. #define GL_MODELVIEW16_ARB 0x8730
  5865. #define GL_MODELVIEW17_ARB 0x8731
  5866. #define GL_MODELVIEW18_ARB 0x8732
  5867. #define GL_MODELVIEW19_ARB 0x8733
  5868. #define GL_MODELVIEW20_ARB 0x8734
  5869. #define GL_MODELVIEW21_ARB 0x8735
  5870. #define GL_MODELVIEW22_ARB 0x8736
  5871. #define GL_MODELVIEW23_ARB 0x8737
  5872. #define GL_MODELVIEW24_ARB 0x8738
  5873. #define GL_MODELVIEW25_ARB 0x8739
  5874. #define GL_MODELVIEW26_ARB 0x873A
  5875. #define GL_MODELVIEW27_ARB 0x873B
  5876. #define GL_MODELVIEW28_ARB 0x873C
  5877. #define GL_MODELVIEW29_ARB 0x873D
  5878. #define GL_MODELVIEW30_ARB 0x873E
  5879. #define GL_MODELVIEW31_ARB 0x873F
  5880. typedef void (GLAPIENTRY * PFNGLVERTEXBLENDARBPROC) (GLint count);
  5881. typedef void (GLAPIENTRY * PFNGLWEIGHTPOINTERARBPROC) (GLint size, GLenum type, GLsizei stride, GLvoid *pointer);
  5882. typedef void (GLAPIENTRY * PFNGLWEIGHTBVARBPROC) (GLint size, GLbyte *weights);
  5883. typedef void (GLAPIENTRY * PFNGLWEIGHTDVARBPROC) (GLint size, GLdouble *weights);
  5884. typedef void (GLAPIENTRY * PFNGLWEIGHTFVARBPROC) (GLint size, GLfloat *weights);
  5885. typedef void (GLAPIENTRY * PFNGLWEIGHTIVARBPROC) (GLint size, GLint *weights);
  5886. typedef void (GLAPIENTRY * PFNGLWEIGHTSVARBPROC) (GLint size, GLshort *weights);
  5887. typedef void (GLAPIENTRY * PFNGLWEIGHTUBVARBPROC) (GLint size, GLubyte *weights);
  5888. typedef void (GLAPIENTRY * PFNGLWEIGHTUIVARBPROC) (GLint size, GLuint *weights);
  5889. typedef void (GLAPIENTRY * PFNGLWEIGHTUSVARBPROC) (GLint size, GLushort *weights);
  5890. #define glVertexBlendARB GLEW_GET_FUN(__glewVertexBlendARB)
  5891. #define glWeightPointerARB GLEW_GET_FUN(__glewWeightPointerARB)
  5892. #define glWeightbvARB GLEW_GET_FUN(__glewWeightbvARB)
  5893. #define glWeightdvARB GLEW_GET_FUN(__glewWeightdvARB)
  5894. #define glWeightfvARB GLEW_GET_FUN(__glewWeightfvARB)
  5895. #define glWeightivARB GLEW_GET_FUN(__glewWeightivARB)
  5896. #define glWeightsvARB GLEW_GET_FUN(__glewWeightsvARB)
  5897. #define glWeightubvARB GLEW_GET_FUN(__glewWeightubvARB)
  5898. #define glWeightuivARB GLEW_GET_FUN(__glewWeightuivARB)
  5899. #define glWeightusvARB GLEW_GET_FUN(__glewWeightusvARB)
  5900. #define GLEW_ARB_vertex_blend GLEW_GET_VAR(__GLEW_ARB_vertex_blend)
  5901. #endif /* !GL_ARB_vertex_blend */
  5902. /* ---------------------- GL_ARB_vertex_buffer_object ---------------------- */
  5903. #if !defined(GL_ARB_vertex_buffer_object)
  5904. #define GL_ARB_vertex_buffer_object 1
  5905. #define GL_BUFFER_SIZE_ARB 0x8764
  5906. #define GL_BUFFER_USAGE_ARB 0x8765
  5907. #define GL_ARRAY_BUFFER_ARB 0x8892
  5908. #define GL_ELEMENT_ARRAY_BUFFER_ARB 0x8893
  5909. #define GL_ARRAY_BUFFER_BINDING_ARB 0x8894
  5910. #define GL_ELEMENT_ARRAY_BUFFER_BINDING_ARB 0x8895
  5911. #define GL_VERTEX_ARRAY_BUFFER_BINDING_ARB 0x8896
  5912. #define GL_NORMAL_ARRAY_BUFFER_BINDING_ARB 0x8897
  5913. #define GL_COLOR_ARRAY_BUFFER_BINDING_ARB 0x8898
  5914. #define GL_INDEX_ARRAY_BUFFER_BINDING_ARB 0x8899
  5915. #define GL_TEXTURE_COORD_ARRAY_BUFFER_BINDING_ARB 0x889A
  5916. #define GL_EDGE_FLAG_ARRAY_BUFFER_BINDING_ARB 0x889B
  5917. #define GL_SECONDARY_COLOR_ARRAY_BUFFER_BINDING_ARB 0x889C
  5918. #define GL_FOG_COORDINATE_ARRAY_BUFFER_BINDING_ARB 0x889D
  5919. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_ARB 0x889E
  5920. #define GL_VERTEX_ATTRIB_ARRAY_BUFFER_BINDING_ARB 0x889F
  5921. #define GL_READ_ONLY_ARB 0x88B8
  5922. #define GL_WRITE_ONLY_ARB 0x88B9
  5923. #define GL_READ_WRITE_ARB 0x88BA
  5924. #define GL_BUFFER_ACCESS_ARB 0x88BB
  5925. #define GL_BUFFER_MAPPED_ARB 0x88BC
  5926. #define GL_BUFFER_MAP_POINTER_ARB 0x88BD
  5927. #define GL_STREAM_DRAW_ARB 0x88E0
  5928. #define GL_STREAM_READ_ARB 0x88E1
  5929. #define GL_STREAM_COPY_ARB 0x88E2
  5930. #define GL_STATIC_DRAW_ARB 0x88E4
  5931. #define GL_STATIC_READ_ARB 0x88E5
  5932. #define GL_STATIC_COPY_ARB 0x88E6
  5933. #define GL_DYNAMIC_DRAW_ARB 0x88E8
  5934. #define GL_DYNAMIC_READ_ARB 0x88E9
  5935. #define GL_DYNAMIC_COPY_ARB 0x88EA
  5936. typedef ptrdiff_t GLintptrARB;
  5937. typedef ptrdiff_t GLsizeiptrARB;
  5938. typedef void (GLAPIENTRY * PFNGLBINDBUFFERARBPROC) (GLenum target, GLuint buffer);
  5939. typedef void (GLAPIENTRY * PFNGLBUFFERDATAARBPROC) (GLenum target, GLsizeiptrARB size, const GLvoid* data, GLenum usage);
  5940. typedef void (GLAPIENTRY * PFNGLBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, const GLvoid* data);
  5941. typedef void (GLAPIENTRY * PFNGLDELETEBUFFERSARBPROC) (GLsizei n, const GLuint* buffers);
  5942. typedef void (GLAPIENTRY * PFNGLGENBUFFERSARBPROC) (GLsizei n, GLuint* buffers);
  5943. typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERIVARBPROC) (GLenum target, GLenum pname, GLint* params);
  5944. typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVARBPROC) (GLenum target, GLenum pname, GLvoid** params);
  5945. typedef void (GLAPIENTRY * PFNGLGETBUFFERSUBDATAARBPROC) (GLenum target, GLintptrARB offset, GLsizeiptrARB size, GLvoid* data);
  5946. typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERARBPROC) (GLuint buffer);
  5947. typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERARBPROC) (GLenum target, GLenum access);
  5948. typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFERARBPROC) (GLenum target);
  5949. #define glBindBufferARB GLEW_GET_FUN(__glewBindBufferARB)
  5950. #define glBufferDataARB GLEW_GET_FUN(__glewBufferDataARB)
  5951. #define glBufferSubDataARB GLEW_GET_FUN(__glewBufferSubDataARB)
  5952. #define glDeleteBuffersARB GLEW_GET_FUN(__glewDeleteBuffersARB)
  5953. #define glGenBuffersARB GLEW_GET_FUN(__glewGenBuffersARB)
  5954. #define glGetBufferParameterivARB GLEW_GET_FUN(__glewGetBufferParameterivARB)
  5955. #define glGetBufferPointervARB GLEW_GET_FUN(__glewGetBufferPointervARB)
  5956. #define glGetBufferSubDataARB GLEW_GET_FUN(__glewGetBufferSubDataARB)
  5957. #define glIsBufferARB GLEW_GET_FUN(__glewIsBufferARB)
  5958. #define glMapBufferARB GLEW_GET_FUN(__glewMapBufferARB)
  5959. #define glUnmapBufferARB GLEW_GET_FUN(__glewUnmapBufferARB)
  5960. #define GLEW_ARB_vertex_buffer_object GLEW_GET_VAR(__GLEW_ARB_vertex_buffer_object)
  5961. #endif /* !GL_ARB_vertex_buffer_object */
  5962. /* ------------------------- GL_ARB_vertex_program ------------------------- */
  5963. #if !defined(GL_ARB_vertex_program)
  5964. #define GL_ARB_vertex_program 1
  5965. #define GL_COLOR_SUM_ARB 0x8458
  5966. #define GL_VERTEX_PROGRAM_ARB 0x8620
  5967. #define GL_VERTEX_ATTRIB_ARRAY_ENABLED_ARB 0x8622
  5968. #define GL_VERTEX_ATTRIB_ARRAY_SIZE_ARB 0x8623
  5969. #define GL_VERTEX_ATTRIB_ARRAY_STRIDE_ARB 0x8624
  5970. #define GL_VERTEX_ATTRIB_ARRAY_TYPE_ARB 0x8625
  5971. #define GL_CURRENT_VERTEX_ATTRIB_ARB 0x8626
  5972. #define GL_PROGRAM_LENGTH_ARB 0x8627
  5973. #define GL_PROGRAM_STRING_ARB 0x8628
  5974. #define GL_MAX_PROGRAM_MATRIX_STACK_DEPTH_ARB 0x862E
  5975. #define GL_MAX_PROGRAM_MATRICES_ARB 0x862F
  5976. #define GL_CURRENT_MATRIX_STACK_DEPTH_ARB 0x8640
  5977. #define GL_CURRENT_MATRIX_ARB 0x8641
  5978. #define GL_VERTEX_PROGRAM_POINT_SIZE_ARB 0x8642
  5979. #define GL_VERTEX_PROGRAM_TWO_SIDE_ARB 0x8643
  5980. #define GL_VERTEX_ATTRIB_ARRAY_POINTER_ARB 0x8645
  5981. #define GL_PROGRAM_ERROR_POSITION_ARB 0x864B
  5982. #define GL_PROGRAM_BINDING_ARB 0x8677
  5983. #define GL_MAX_VERTEX_ATTRIBS_ARB 0x8869
  5984. #define GL_VERTEX_ATTRIB_ARRAY_NORMALIZED_ARB 0x886A
  5985. #define GL_PROGRAM_ERROR_STRING_ARB 0x8874
  5986. #define GL_PROGRAM_FORMAT_ASCII_ARB 0x8875
  5987. #define GL_PROGRAM_FORMAT_ARB 0x8876
  5988. #define GL_PROGRAM_INSTRUCTIONS_ARB 0x88A0
  5989. #define GL_MAX_PROGRAM_INSTRUCTIONS_ARB 0x88A1
  5990. #define GL_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A2
  5991. #define GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB 0x88A3
  5992. #define GL_PROGRAM_TEMPORARIES_ARB 0x88A4
  5993. #define GL_MAX_PROGRAM_TEMPORARIES_ARB 0x88A5
  5994. #define GL_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A6
  5995. #define GL_MAX_PROGRAM_NATIVE_TEMPORARIES_ARB 0x88A7
  5996. #define GL_PROGRAM_PARAMETERS_ARB 0x88A8
  5997. #define GL_MAX_PROGRAM_PARAMETERS_ARB 0x88A9
  5998. #define GL_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AA
  5999. #define GL_MAX_PROGRAM_NATIVE_PARAMETERS_ARB 0x88AB
  6000. #define GL_PROGRAM_ATTRIBS_ARB 0x88AC
  6001. #define GL_MAX_PROGRAM_ATTRIBS_ARB 0x88AD
  6002. #define GL_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AE
  6003. #define GL_MAX_PROGRAM_NATIVE_ATTRIBS_ARB 0x88AF
  6004. #define GL_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B0
  6005. #define GL_MAX_PROGRAM_ADDRESS_REGISTERS_ARB 0x88B1
  6006. #define GL_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B2
  6007. #define GL_MAX_PROGRAM_NATIVE_ADDRESS_REGISTERS_ARB 0x88B3
  6008. #define GL_MAX_PROGRAM_LOCAL_PARAMETERS_ARB 0x88B4
  6009. #define GL_MAX_PROGRAM_ENV_PARAMETERS_ARB 0x88B5
  6010. #define GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB 0x88B6
  6011. #define GL_TRANSPOSE_CURRENT_MATRIX_ARB 0x88B7
  6012. #define GL_MATRIX0_ARB 0x88C0
  6013. #define GL_MATRIX1_ARB 0x88C1
  6014. #define GL_MATRIX2_ARB 0x88C2
  6015. #define GL_MATRIX3_ARB 0x88C3
  6016. #define GL_MATRIX4_ARB 0x88C4
  6017. #define GL_MATRIX5_ARB 0x88C5
  6018. #define GL_MATRIX6_ARB 0x88C6
  6019. #define GL_MATRIX7_ARB 0x88C7
  6020. #define GL_MATRIX8_ARB 0x88C8
  6021. #define GL_MATRIX9_ARB 0x88C9
  6022. #define GL_MATRIX10_ARB 0x88CA
  6023. #define GL_MATRIX11_ARB 0x88CB
  6024. #define GL_MATRIX12_ARB 0x88CC
  6025. #define GL_MATRIX13_ARB 0x88CD
  6026. #define GL_MATRIX14_ARB 0x88CE
  6027. #define GL_MATRIX15_ARB 0x88CF
  6028. #define GL_MATRIX16_ARB 0x88D0
  6029. #define GL_MATRIX17_ARB 0x88D1
  6030. #define GL_MATRIX18_ARB 0x88D2
  6031. #define GL_MATRIX19_ARB 0x88D3
  6032. #define GL_MATRIX20_ARB 0x88D4
  6033. #define GL_MATRIX21_ARB 0x88D5
  6034. #define GL_MATRIX22_ARB 0x88D6
  6035. #define GL_MATRIX23_ARB 0x88D7
  6036. #define GL_MATRIX24_ARB 0x88D8
  6037. #define GL_MATRIX25_ARB 0x88D9
  6038. #define GL_MATRIX26_ARB 0x88DA
  6039. #define GL_MATRIX27_ARB 0x88DB
  6040. #define GL_MATRIX28_ARB 0x88DC
  6041. #define GL_MATRIX29_ARB 0x88DD
  6042. #define GL_MATRIX30_ARB 0x88DE
  6043. #define GL_MATRIX31_ARB 0x88DF
  6044. typedef void (GLAPIENTRY * PFNGLBINDPROGRAMARBPROC) (GLenum target, GLuint program);
  6045. typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMSARBPROC) (GLsizei n, const GLuint* programs);
  6046. typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  6047. typedef void (GLAPIENTRY * PFNGLENABLEVERTEXATTRIBARRAYARBPROC) (GLuint index);
  6048. typedef void (GLAPIENTRY * PFNGLGENPROGRAMSARBPROC) (GLsizei n, GLuint* programs);
  6049. typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params);
  6050. typedef void (GLAPIENTRY * PFNGLGETPROGRAMENVPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params);
  6051. typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC) (GLenum target, GLuint index, GLdouble* params);
  6052. typedef void (GLAPIENTRY * PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC) (GLenum target, GLuint index, GLfloat* params);
  6053. typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTRINGARBPROC) (GLenum target, GLenum pname, void* string);
  6054. typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVARBPROC) (GLenum target, GLenum pname, GLint* params);
  6055. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVARBPROC) (GLuint index, GLenum pname, GLvoid** pointer);
  6056. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVARBPROC) (GLuint index, GLenum pname, GLdouble* params);
  6057. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVARBPROC) (GLuint index, GLenum pname, GLfloat* params);
  6058. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVARBPROC) (GLuint index, GLenum pname, GLint* params);
  6059. typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMARBPROC) (GLuint program);
  6060. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6061. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params);
  6062. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6063. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params);
  6064. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DARBPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6065. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4DVARBPROC) (GLenum target, GLuint index, const GLdouble* params);
  6066. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FARBPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6067. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETER4FVARBPROC) (GLenum target, GLuint index, const GLfloat* params);
  6068. typedef void (GLAPIENTRY * PFNGLPROGRAMSTRINGARBPROC) (GLenum target, GLenum format, GLsizei len, const void* string);
  6069. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DARBPROC) (GLuint index, GLdouble x);
  6070. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVARBPROC) (GLuint index, const GLdouble* v);
  6071. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FARBPROC) (GLuint index, GLfloat x);
  6072. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVARBPROC) (GLuint index, const GLfloat* v);
  6073. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SARBPROC) (GLuint index, GLshort x);
  6074. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVARBPROC) (GLuint index, const GLshort* v);
  6075. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DARBPROC) (GLuint index, GLdouble x, GLdouble y);
  6076. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVARBPROC) (GLuint index, const GLdouble* v);
  6077. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FARBPROC) (GLuint index, GLfloat x, GLfloat y);
  6078. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVARBPROC) (GLuint index, const GLfloat* v);
  6079. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SARBPROC) (GLuint index, GLshort x, GLshort y);
  6080. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVARBPROC) (GLuint index, const GLshort* v);
  6081. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  6082. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVARBPROC) (GLuint index, const GLdouble* v);
  6083. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  6084. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVARBPROC) (GLuint index, const GLfloat* v);
  6085. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  6086. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVARBPROC) (GLuint index, const GLshort* v);
  6087. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NBVARBPROC) (GLuint index, const GLbyte* v);
  6088. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NIVARBPROC) (GLuint index, const GLint* v);
  6089. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NSVARBPROC) (GLuint index, const GLshort* v);
  6090. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBARBPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  6091. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUBVARBPROC) (GLuint index, const GLubyte* v);
  6092. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUIVARBPROC) (GLuint index, const GLuint* v);
  6093. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4NUSVARBPROC) (GLuint index, const GLushort* v);
  6094. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4BVARBPROC) (GLuint index, const GLbyte* v);
  6095. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DARBPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6096. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVARBPROC) (GLuint index, const GLdouble* v);
  6097. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FARBPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6098. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVARBPROC) (GLuint index, const GLfloat* v);
  6099. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4IVARBPROC) (GLuint index, const GLint* v);
  6100. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SARBPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  6101. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVARBPROC) (GLuint index, const GLshort* v);
  6102. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVARBPROC) (GLuint index, const GLubyte* v);
  6103. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UIVARBPROC) (GLuint index, const GLuint* v);
  6104. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4USVARBPROC) (GLuint index, const GLushort* v);
  6105. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERARBPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void* pointer);
  6106. #define glBindProgramARB GLEW_GET_FUN(__glewBindProgramARB)
  6107. #define glDeleteProgramsARB GLEW_GET_FUN(__glewDeleteProgramsARB)
  6108. #define glDisableVertexAttribArrayARB GLEW_GET_FUN(__glewDisableVertexAttribArrayARB)
  6109. #define glEnableVertexAttribArrayARB GLEW_GET_FUN(__glewEnableVertexAttribArrayARB)
  6110. #define glGenProgramsARB GLEW_GET_FUN(__glewGenProgramsARB)
  6111. #define glGetProgramEnvParameterdvARB GLEW_GET_FUN(__glewGetProgramEnvParameterdvARB)
  6112. #define glGetProgramEnvParameterfvARB GLEW_GET_FUN(__glewGetProgramEnvParameterfvARB)
  6113. #define glGetProgramLocalParameterdvARB GLEW_GET_FUN(__glewGetProgramLocalParameterdvARB)
  6114. #define glGetProgramLocalParameterfvARB GLEW_GET_FUN(__glewGetProgramLocalParameterfvARB)
  6115. #define glGetProgramStringARB GLEW_GET_FUN(__glewGetProgramStringARB)
  6116. #define glGetProgramivARB GLEW_GET_FUN(__glewGetProgramivARB)
  6117. #define glGetVertexAttribPointervARB GLEW_GET_FUN(__glewGetVertexAttribPointervARB)
  6118. #define glGetVertexAttribdvARB GLEW_GET_FUN(__glewGetVertexAttribdvARB)
  6119. #define glGetVertexAttribfvARB GLEW_GET_FUN(__glewGetVertexAttribfvARB)
  6120. #define glGetVertexAttribivARB GLEW_GET_FUN(__glewGetVertexAttribivARB)
  6121. #define glIsProgramARB GLEW_GET_FUN(__glewIsProgramARB)
  6122. #define glProgramEnvParameter4dARB GLEW_GET_FUN(__glewProgramEnvParameter4dARB)
  6123. #define glProgramEnvParameter4dvARB GLEW_GET_FUN(__glewProgramEnvParameter4dvARB)
  6124. #define glProgramEnvParameter4fARB GLEW_GET_FUN(__glewProgramEnvParameter4fARB)
  6125. #define glProgramEnvParameter4fvARB GLEW_GET_FUN(__glewProgramEnvParameter4fvARB)
  6126. #define glProgramLocalParameter4dARB GLEW_GET_FUN(__glewProgramLocalParameter4dARB)
  6127. #define glProgramLocalParameter4dvARB GLEW_GET_FUN(__glewProgramLocalParameter4dvARB)
  6128. #define glProgramLocalParameter4fARB GLEW_GET_FUN(__glewProgramLocalParameter4fARB)
  6129. #define glProgramLocalParameter4fvARB GLEW_GET_FUN(__glewProgramLocalParameter4fvARB)
  6130. #define glProgramStringARB GLEW_GET_FUN(__glewProgramStringARB)
  6131. #define glVertexAttrib1dARB GLEW_GET_FUN(__glewVertexAttrib1dARB)
  6132. #define glVertexAttrib1dvARB GLEW_GET_FUN(__glewVertexAttrib1dvARB)
  6133. #define glVertexAttrib1fARB GLEW_GET_FUN(__glewVertexAttrib1fARB)
  6134. #define glVertexAttrib1fvARB GLEW_GET_FUN(__glewVertexAttrib1fvARB)
  6135. #define glVertexAttrib1sARB GLEW_GET_FUN(__glewVertexAttrib1sARB)
  6136. #define glVertexAttrib1svARB GLEW_GET_FUN(__glewVertexAttrib1svARB)
  6137. #define glVertexAttrib2dARB GLEW_GET_FUN(__glewVertexAttrib2dARB)
  6138. #define glVertexAttrib2dvARB GLEW_GET_FUN(__glewVertexAttrib2dvARB)
  6139. #define glVertexAttrib2fARB GLEW_GET_FUN(__glewVertexAttrib2fARB)
  6140. #define glVertexAttrib2fvARB GLEW_GET_FUN(__glewVertexAttrib2fvARB)
  6141. #define glVertexAttrib2sARB GLEW_GET_FUN(__glewVertexAttrib2sARB)
  6142. #define glVertexAttrib2svARB GLEW_GET_FUN(__glewVertexAttrib2svARB)
  6143. #define glVertexAttrib3dARB GLEW_GET_FUN(__glewVertexAttrib3dARB)
  6144. #define glVertexAttrib3dvARB GLEW_GET_FUN(__glewVertexAttrib3dvARB)
  6145. #define glVertexAttrib3fARB GLEW_GET_FUN(__glewVertexAttrib3fARB)
  6146. #define glVertexAttrib3fvARB GLEW_GET_FUN(__glewVertexAttrib3fvARB)
  6147. #define glVertexAttrib3sARB GLEW_GET_FUN(__glewVertexAttrib3sARB)
  6148. #define glVertexAttrib3svARB GLEW_GET_FUN(__glewVertexAttrib3svARB)
  6149. #define glVertexAttrib4NbvARB GLEW_GET_FUN(__glewVertexAttrib4NbvARB)
  6150. #define glVertexAttrib4NivARB GLEW_GET_FUN(__glewVertexAttrib4NivARB)
  6151. #define glVertexAttrib4NsvARB GLEW_GET_FUN(__glewVertexAttrib4NsvARB)
  6152. #define glVertexAttrib4NubARB GLEW_GET_FUN(__glewVertexAttrib4NubARB)
  6153. #define glVertexAttrib4NubvARB GLEW_GET_FUN(__glewVertexAttrib4NubvARB)
  6154. #define glVertexAttrib4NuivARB GLEW_GET_FUN(__glewVertexAttrib4NuivARB)
  6155. #define glVertexAttrib4NusvARB GLEW_GET_FUN(__glewVertexAttrib4NusvARB)
  6156. #define glVertexAttrib4bvARB GLEW_GET_FUN(__glewVertexAttrib4bvARB)
  6157. #define glVertexAttrib4dARB GLEW_GET_FUN(__glewVertexAttrib4dARB)
  6158. #define glVertexAttrib4dvARB GLEW_GET_FUN(__glewVertexAttrib4dvARB)
  6159. #define glVertexAttrib4fARB GLEW_GET_FUN(__glewVertexAttrib4fARB)
  6160. #define glVertexAttrib4fvARB GLEW_GET_FUN(__glewVertexAttrib4fvARB)
  6161. #define glVertexAttrib4ivARB GLEW_GET_FUN(__glewVertexAttrib4ivARB)
  6162. #define glVertexAttrib4sARB GLEW_GET_FUN(__glewVertexAttrib4sARB)
  6163. #define glVertexAttrib4svARB GLEW_GET_FUN(__glewVertexAttrib4svARB)
  6164. #define glVertexAttrib4ubvARB GLEW_GET_FUN(__glewVertexAttrib4ubvARB)
  6165. #define glVertexAttrib4uivARB GLEW_GET_FUN(__glewVertexAttrib4uivARB)
  6166. #define glVertexAttrib4usvARB GLEW_GET_FUN(__glewVertexAttrib4usvARB)
  6167. #define glVertexAttribPointerARB GLEW_GET_FUN(__glewVertexAttribPointerARB)
  6168. #define GLEW_ARB_vertex_program GLEW_GET_VAR(__GLEW_ARB_vertex_program)
  6169. #endif /* !GL_ARB_vertex_program */
  6170. /* -------------------------- GL_ARB_vertex_shader ------------------------- */
  6171. #if !defined(GL_ARB_vertex_shader)
  6172. #define GL_ARB_vertex_shader 1
  6173. #define GL_VERTEX_SHADER_ARB 0x8B31
  6174. #define GL_MAX_VERTEX_UNIFORM_COMPONENTS_ARB 0x8B4A
  6175. #define GL_MAX_VARYING_FLOATS_ARB 0x8B4B
  6176. #define GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  6177. #define GL_MAX_COMBINED_TEXTURE_IMAGE_UNITS_ARB 0x8B4D
  6178. #define GL_OBJECT_ACTIVE_ATTRIBUTES_ARB 0x8B89
  6179. #define GL_OBJECT_ACTIVE_ATTRIBUTE_MAX_LENGTH_ARB 0x8B8A
  6180. typedef void (GLAPIENTRY * PFNGLBINDATTRIBLOCATIONARBPROC) (GLhandleARB programObj, GLuint index, const GLcharARB* name);
  6181. typedef void (GLAPIENTRY * PFNGLGETACTIVEATTRIBARBPROC) (GLhandleARB programObj, GLuint index, GLsizei maxLength, GLsizei* length, GLint *size, GLenum *type, GLcharARB *name);
  6182. typedef GLint (GLAPIENTRY * PFNGLGETATTRIBLOCATIONARBPROC) (GLhandleARB programObj, const GLcharARB* name);
  6183. #define glBindAttribLocationARB GLEW_GET_FUN(__glewBindAttribLocationARB)
  6184. #define glGetActiveAttribARB GLEW_GET_FUN(__glewGetActiveAttribARB)
  6185. #define glGetAttribLocationARB GLEW_GET_FUN(__glewGetAttribLocationARB)
  6186. #define GLEW_ARB_vertex_shader GLEW_GET_VAR(__GLEW_ARB_vertex_shader)
  6187. #endif /* !GL_ARB_vertex_shader */
  6188. /* ------------------- GL_ARB_vertex_type_2_10_10_10_rev ------------------- */
  6189. #if !defined(GL_ARB_vertex_type_2_10_10_10_rev)
  6190. #define GL_ARB_vertex_type_2_10_10_10_rev 1
  6191. #define GL_UNSIGNED_INT_2_10_10_10_REV 0x8368
  6192. #define GL_INT_2_10_10_10_REV 0x8D9F
  6193. typedef void (GLAPIENTRY * PFNGLCOLORP3UIPROC) (GLenum type, GLuint color);
  6194. typedef void (GLAPIENTRY * PFNGLCOLORP3UIVPROC) (GLenum type, const GLuint* color);
  6195. typedef void (GLAPIENTRY * PFNGLCOLORP4UIPROC) (GLenum type, GLuint color);
  6196. typedef void (GLAPIENTRY * PFNGLCOLORP4UIVPROC) (GLenum type, const GLuint* color);
  6197. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6198. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP1UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
  6199. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6200. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP2UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
  6201. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6202. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP3UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
  6203. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIPROC) (GLenum texture, GLenum type, GLuint coords);
  6204. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDP4UIVPROC) (GLenum texture, GLenum type, const GLuint* coords);
  6205. typedef void (GLAPIENTRY * PFNGLNORMALP3UIPROC) (GLenum type, GLuint coords);
  6206. typedef void (GLAPIENTRY * PFNGLNORMALP3UIVPROC) (GLenum type, const GLuint* coords);
  6207. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIPROC) (GLenum type, GLuint color);
  6208. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORP3UIVPROC) (GLenum type, const GLuint* color);
  6209. typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIPROC) (GLenum type, GLuint coords);
  6210. typedef void (GLAPIENTRY * PFNGLTEXCOORDP1UIVPROC) (GLenum type, const GLuint* coords);
  6211. typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIPROC) (GLenum type, GLuint coords);
  6212. typedef void (GLAPIENTRY * PFNGLTEXCOORDP2UIVPROC) (GLenum type, const GLuint* coords);
  6213. typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIPROC) (GLenum type, GLuint coords);
  6214. typedef void (GLAPIENTRY * PFNGLTEXCOORDP3UIVPROC) (GLenum type, const GLuint* coords);
  6215. typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIPROC) (GLenum type, GLuint coords);
  6216. typedef void (GLAPIENTRY * PFNGLTEXCOORDP4UIVPROC) (GLenum type, const GLuint* coords);
  6217. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6218. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP1UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
  6219. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6220. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP2UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
  6221. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6222. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP3UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
  6223. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIPROC) (GLuint index, GLenum type, GLboolean normalized, GLuint value);
  6224. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBP4UIVPROC) (GLuint index, GLenum type, GLboolean normalized, const GLuint* value);
  6225. typedef void (GLAPIENTRY * PFNGLVERTEXP2UIPROC) (GLenum type, GLuint value);
  6226. typedef void (GLAPIENTRY * PFNGLVERTEXP2UIVPROC) (GLenum type, const GLuint* value);
  6227. typedef void (GLAPIENTRY * PFNGLVERTEXP3UIPROC) (GLenum type, GLuint value);
  6228. typedef void (GLAPIENTRY * PFNGLVERTEXP3UIVPROC) (GLenum type, const GLuint* value);
  6229. typedef void (GLAPIENTRY * PFNGLVERTEXP4UIPROC) (GLenum type, GLuint value);
  6230. typedef void (GLAPIENTRY * PFNGLVERTEXP4UIVPROC) (GLenum type, const GLuint* value);
  6231. #define glColorP3ui GLEW_GET_FUN(__glewColorP3ui)
  6232. #define glColorP3uiv GLEW_GET_FUN(__glewColorP3uiv)
  6233. #define glColorP4ui GLEW_GET_FUN(__glewColorP4ui)
  6234. #define glColorP4uiv GLEW_GET_FUN(__glewColorP4uiv)
  6235. #define glMultiTexCoordP1ui GLEW_GET_FUN(__glewMultiTexCoordP1ui)
  6236. #define glMultiTexCoordP1uiv GLEW_GET_FUN(__glewMultiTexCoordP1uiv)
  6237. #define glMultiTexCoordP2ui GLEW_GET_FUN(__glewMultiTexCoordP2ui)
  6238. #define glMultiTexCoordP2uiv GLEW_GET_FUN(__glewMultiTexCoordP2uiv)
  6239. #define glMultiTexCoordP3ui GLEW_GET_FUN(__glewMultiTexCoordP3ui)
  6240. #define glMultiTexCoordP3uiv GLEW_GET_FUN(__glewMultiTexCoordP3uiv)
  6241. #define glMultiTexCoordP4ui GLEW_GET_FUN(__glewMultiTexCoordP4ui)
  6242. #define glMultiTexCoordP4uiv GLEW_GET_FUN(__glewMultiTexCoordP4uiv)
  6243. #define glNormalP3ui GLEW_GET_FUN(__glewNormalP3ui)
  6244. #define glNormalP3uiv GLEW_GET_FUN(__glewNormalP3uiv)
  6245. #define glSecondaryColorP3ui GLEW_GET_FUN(__glewSecondaryColorP3ui)
  6246. #define glSecondaryColorP3uiv GLEW_GET_FUN(__glewSecondaryColorP3uiv)
  6247. #define glTexCoordP1ui GLEW_GET_FUN(__glewTexCoordP1ui)
  6248. #define glTexCoordP1uiv GLEW_GET_FUN(__glewTexCoordP1uiv)
  6249. #define glTexCoordP2ui GLEW_GET_FUN(__glewTexCoordP2ui)
  6250. #define glTexCoordP2uiv GLEW_GET_FUN(__glewTexCoordP2uiv)
  6251. #define glTexCoordP3ui GLEW_GET_FUN(__glewTexCoordP3ui)
  6252. #define glTexCoordP3uiv GLEW_GET_FUN(__glewTexCoordP3uiv)
  6253. #define glTexCoordP4ui GLEW_GET_FUN(__glewTexCoordP4ui)
  6254. #define glTexCoordP4uiv GLEW_GET_FUN(__glewTexCoordP4uiv)
  6255. #define glVertexAttribP1ui GLEW_GET_FUN(__glewVertexAttribP1ui)
  6256. #define glVertexAttribP1uiv GLEW_GET_FUN(__glewVertexAttribP1uiv)
  6257. #define glVertexAttribP2ui GLEW_GET_FUN(__glewVertexAttribP2ui)
  6258. #define glVertexAttribP2uiv GLEW_GET_FUN(__glewVertexAttribP2uiv)
  6259. #define glVertexAttribP3ui GLEW_GET_FUN(__glewVertexAttribP3ui)
  6260. #define glVertexAttribP3uiv GLEW_GET_FUN(__glewVertexAttribP3uiv)
  6261. #define glVertexAttribP4ui GLEW_GET_FUN(__glewVertexAttribP4ui)
  6262. #define glVertexAttribP4uiv GLEW_GET_FUN(__glewVertexAttribP4uiv)
  6263. #define glVertexP2ui GLEW_GET_FUN(__glewVertexP2ui)
  6264. #define glVertexP2uiv GLEW_GET_FUN(__glewVertexP2uiv)
  6265. #define glVertexP3ui GLEW_GET_FUN(__glewVertexP3ui)
  6266. #define glVertexP3uiv GLEW_GET_FUN(__glewVertexP3uiv)
  6267. #define glVertexP4ui GLEW_GET_FUN(__glewVertexP4ui)
  6268. #define glVertexP4uiv GLEW_GET_FUN(__glewVertexP4uiv)
  6269. #define GLEW_ARB_vertex_type_2_10_10_10_rev GLEW_GET_VAR(__GLEW_ARB_vertex_type_2_10_10_10_rev)
  6270. #endif /* !GL_ARB_vertex_type_2_10_10_10_rev */
  6271. /* ------------------------- GL_ARB_viewport_array ------------------------- */
  6272. #if !defined(GL_ARB_viewport_array)
  6273. #define GL_ARB_viewport_array 1
  6274. #define GL_DEPTH_RANGE 0x0B70
  6275. #define GL_VIEWPORT 0x0BA2
  6276. #define GL_SCISSOR_BOX 0x0C10
  6277. #define GL_SCISSOR_TEST 0x0C11
  6278. #define GL_MAX_VIEWPORTS 0x825B
  6279. #define GL_VIEWPORT_SUBPIXEL_BITS 0x825C
  6280. #define GL_VIEWPORT_BOUNDS_RANGE 0x825D
  6281. #define GL_LAYER_PROVOKING_VERTEX 0x825E
  6282. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX 0x825F
  6283. #define GL_UNDEFINED_VERTEX 0x8260
  6284. #define GL_FIRST_VERTEX_CONVENTION 0x8E4D
  6285. #define GL_LAST_VERTEX_CONVENTION 0x8E4E
  6286. #define GL_PROVOKING_VERTEX 0x8E4F
  6287. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEARRAYVPROC) (GLuint first, GLsizei count, const GLclampd * v);
  6288. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEINDEXEDPROC) (GLuint index, GLclampd n, GLclampd f);
  6289. typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VPROC) (GLenum target, GLuint index, GLdouble* data);
  6290. typedef void (GLAPIENTRY * PFNGLGETFLOATI_VPROC) (GLenum target, GLuint index, GLfloat* data);
  6291. typedef void (GLAPIENTRY * PFNGLSCISSORARRAYVPROC) (GLuint first, GLsizei count, const GLint * v);
  6292. typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  6293. typedef void (GLAPIENTRY * PFNGLSCISSORINDEXEDVPROC) (GLuint index, const GLint * v);
  6294. typedef void (GLAPIENTRY * PFNGLVIEWPORTARRAYVPROC) (GLuint first, GLsizei count, const GLfloat * v);
  6295. typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  6296. typedef void (GLAPIENTRY * PFNGLVIEWPORTINDEXEDFVPROC) (GLuint index, const GLfloat * v);
  6297. #define glDepthRangeArrayv GLEW_GET_FUN(__glewDepthRangeArrayv)
  6298. #define glDepthRangeIndexed GLEW_GET_FUN(__glewDepthRangeIndexed)
  6299. #define glGetDoublei_v GLEW_GET_FUN(__glewGetDoublei_v)
  6300. #define glGetFloati_v GLEW_GET_FUN(__glewGetFloati_v)
  6301. #define glScissorArrayv GLEW_GET_FUN(__glewScissorArrayv)
  6302. #define glScissorIndexed GLEW_GET_FUN(__glewScissorIndexed)
  6303. #define glScissorIndexedv GLEW_GET_FUN(__glewScissorIndexedv)
  6304. #define glViewportArrayv GLEW_GET_FUN(__glewViewportArrayv)
  6305. #define glViewportIndexedf GLEW_GET_FUN(__glewViewportIndexedf)
  6306. #define glViewportIndexedfv GLEW_GET_FUN(__glewViewportIndexedfv)
  6307. #define GLEW_ARB_viewport_array GLEW_GET_VAR(__GLEW_ARB_viewport_array)
  6308. #endif /* !GL_ARB_viewport_array */
  6309. /* --------------------------- GL_ARB_window_pos --------------------------- */
  6310. #if !defined(GL_ARB_window_pos)
  6311. #define GL_ARB_window_pos 1
  6312. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DARBPROC) (GLdouble x, GLdouble y);
  6313. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVARBPROC) (const GLdouble* p);
  6314. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FARBPROC) (GLfloat x, GLfloat y);
  6315. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVARBPROC) (const GLfloat* p);
  6316. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IARBPROC) (GLint x, GLint y);
  6317. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVARBPROC) (const GLint* p);
  6318. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SARBPROC) (GLshort x, GLshort y);
  6319. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVARBPROC) (const GLshort* p);
  6320. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DARBPROC) (GLdouble x, GLdouble y, GLdouble z);
  6321. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVARBPROC) (const GLdouble* p);
  6322. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FARBPROC) (GLfloat x, GLfloat y, GLfloat z);
  6323. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVARBPROC) (const GLfloat* p);
  6324. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IARBPROC) (GLint x, GLint y, GLint z);
  6325. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVARBPROC) (const GLint* p);
  6326. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SARBPROC) (GLshort x, GLshort y, GLshort z);
  6327. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVARBPROC) (const GLshort* p);
  6328. #define glWindowPos2dARB GLEW_GET_FUN(__glewWindowPos2dARB)
  6329. #define glWindowPos2dvARB GLEW_GET_FUN(__glewWindowPos2dvARB)
  6330. #define glWindowPos2fARB GLEW_GET_FUN(__glewWindowPos2fARB)
  6331. #define glWindowPos2fvARB GLEW_GET_FUN(__glewWindowPos2fvARB)
  6332. #define glWindowPos2iARB GLEW_GET_FUN(__glewWindowPos2iARB)
  6333. #define glWindowPos2ivARB GLEW_GET_FUN(__glewWindowPos2ivARB)
  6334. #define glWindowPos2sARB GLEW_GET_FUN(__glewWindowPos2sARB)
  6335. #define glWindowPos2svARB GLEW_GET_FUN(__glewWindowPos2svARB)
  6336. #define glWindowPos3dARB GLEW_GET_FUN(__glewWindowPos3dARB)
  6337. #define glWindowPos3dvARB GLEW_GET_FUN(__glewWindowPos3dvARB)
  6338. #define glWindowPos3fARB GLEW_GET_FUN(__glewWindowPos3fARB)
  6339. #define glWindowPos3fvARB GLEW_GET_FUN(__glewWindowPos3fvARB)
  6340. #define glWindowPos3iARB GLEW_GET_FUN(__glewWindowPos3iARB)
  6341. #define glWindowPos3ivARB GLEW_GET_FUN(__glewWindowPos3ivARB)
  6342. #define glWindowPos3sARB GLEW_GET_FUN(__glewWindowPos3sARB)
  6343. #define glWindowPos3svARB GLEW_GET_FUN(__glewWindowPos3svARB)
  6344. #define GLEW_ARB_window_pos GLEW_GET_VAR(__GLEW_ARB_window_pos)
  6345. #endif /* !GL_ARB_window_pos */
  6346. /* ------------------------- GL_ATIX_point_sprites ------------------------- */
  6347. #if !defined(GL_ATIX_point_sprites)
  6348. #define GL_ATIX_point_sprites 1
  6349. #define GL_TEXTURE_POINT_MODE_ATIX 0x60B0
  6350. #define GL_TEXTURE_POINT_ONE_COORD_ATIX 0x60B1
  6351. #define GL_TEXTURE_POINT_SPRITE_ATIX 0x60B2
  6352. #define GL_POINT_SPRITE_CULL_MODE_ATIX 0x60B3
  6353. #define GL_POINT_SPRITE_CULL_CENTER_ATIX 0x60B4
  6354. #define GL_POINT_SPRITE_CULL_CLIP_ATIX 0x60B5
  6355. #define GLEW_ATIX_point_sprites GLEW_GET_VAR(__GLEW_ATIX_point_sprites)
  6356. #endif /* !GL_ATIX_point_sprites */
  6357. /* ---------------------- GL_ATIX_texture_env_combine3 --------------------- */
  6358. #if !defined(GL_ATIX_texture_env_combine3)
  6359. #define GL_ATIX_texture_env_combine3 1
  6360. #define GL_MODULATE_ADD_ATIX 0x8744
  6361. #define GL_MODULATE_SIGNED_ADD_ATIX 0x8745
  6362. #define GL_MODULATE_SUBTRACT_ATIX 0x8746
  6363. #define GLEW_ATIX_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATIX_texture_env_combine3)
  6364. #endif /* !GL_ATIX_texture_env_combine3 */
  6365. /* ----------------------- GL_ATIX_texture_env_route ----------------------- */
  6366. #if !defined(GL_ATIX_texture_env_route)
  6367. #define GL_ATIX_texture_env_route 1
  6368. #define GL_SECONDARY_COLOR_ATIX 0x8747
  6369. #define GL_TEXTURE_OUTPUT_RGB_ATIX 0x8748
  6370. #define GL_TEXTURE_OUTPUT_ALPHA_ATIX 0x8749
  6371. #define GLEW_ATIX_texture_env_route GLEW_GET_VAR(__GLEW_ATIX_texture_env_route)
  6372. #endif /* !GL_ATIX_texture_env_route */
  6373. /* ---------------- GL_ATIX_vertex_shader_output_point_size ---------------- */
  6374. #if !defined(GL_ATIX_vertex_shader_output_point_size)
  6375. #define GL_ATIX_vertex_shader_output_point_size 1
  6376. #define GL_OUTPUT_POINT_SIZE_ATIX 0x610E
  6377. #define GLEW_ATIX_vertex_shader_output_point_size GLEW_GET_VAR(__GLEW_ATIX_vertex_shader_output_point_size)
  6378. #endif /* !GL_ATIX_vertex_shader_output_point_size */
  6379. /* -------------------------- GL_ATI_draw_buffers -------------------------- */
  6380. #if !defined(GL_ATI_draw_buffers)
  6381. #define GL_ATI_draw_buffers 1
  6382. #define GL_MAX_DRAW_BUFFERS_ATI 0x8824
  6383. #define GL_DRAW_BUFFER0_ATI 0x8825
  6384. #define GL_DRAW_BUFFER1_ATI 0x8826
  6385. #define GL_DRAW_BUFFER2_ATI 0x8827
  6386. #define GL_DRAW_BUFFER3_ATI 0x8828
  6387. #define GL_DRAW_BUFFER4_ATI 0x8829
  6388. #define GL_DRAW_BUFFER5_ATI 0x882A
  6389. #define GL_DRAW_BUFFER6_ATI 0x882B
  6390. #define GL_DRAW_BUFFER7_ATI 0x882C
  6391. #define GL_DRAW_BUFFER8_ATI 0x882D
  6392. #define GL_DRAW_BUFFER9_ATI 0x882E
  6393. #define GL_DRAW_BUFFER10_ATI 0x882F
  6394. #define GL_DRAW_BUFFER11_ATI 0x8830
  6395. #define GL_DRAW_BUFFER12_ATI 0x8831
  6396. #define GL_DRAW_BUFFER13_ATI 0x8832
  6397. #define GL_DRAW_BUFFER14_ATI 0x8833
  6398. #define GL_DRAW_BUFFER15_ATI 0x8834
  6399. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSATIPROC) (GLsizei n, const GLenum* bufs);
  6400. #define glDrawBuffersATI GLEW_GET_FUN(__glewDrawBuffersATI)
  6401. #define GLEW_ATI_draw_buffers GLEW_GET_VAR(__GLEW_ATI_draw_buffers)
  6402. #endif /* !GL_ATI_draw_buffers */
  6403. /* -------------------------- GL_ATI_element_array ------------------------- */
  6404. #if !defined(GL_ATI_element_array)
  6405. #define GL_ATI_element_array 1
  6406. #define GL_ELEMENT_ARRAY_ATI 0x8768
  6407. #define GL_ELEMENT_ARRAY_TYPE_ATI 0x8769
  6408. #define GL_ELEMENT_ARRAY_POINTER_ATI 0x876A
  6409. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTARRAYATIPROC) (GLenum mode, GLsizei count);
  6410. typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTARRAYATIPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count);
  6411. typedef void (GLAPIENTRY * PFNGLELEMENTPOINTERATIPROC) (GLenum type, const void* pointer);
  6412. #define glDrawElementArrayATI GLEW_GET_FUN(__glewDrawElementArrayATI)
  6413. #define glDrawRangeElementArrayATI GLEW_GET_FUN(__glewDrawRangeElementArrayATI)
  6414. #define glElementPointerATI GLEW_GET_FUN(__glewElementPointerATI)
  6415. #define GLEW_ATI_element_array GLEW_GET_VAR(__GLEW_ATI_element_array)
  6416. #endif /* !GL_ATI_element_array */
  6417. /* ------------------------- GL_ATI_envmap_bumpmap ------------------------- */
  6418. #if !defined(GL_ATI_envmap_bumpmap)
  6419. #define GL_ATI_envmap_bumpmap 1
  6420. #define GL_BUMP_ROT_MATRIX_ATI 0x8775
  6421. #define GL_BUMP_ROT_MATRIX_SIZE_ATI 0x8776
  6422. #define GL_BUMP_NUM_TEX_UNITS_ATI 0x8777
  6423. #define GL_BUMP_TEX_UNITS_ATI 0x8778
  6424. #define GL_DUDV_ATI 0x8779
  6425. #define GL_DU8DV8_ATI 0x877A
  6426. #define GL_BUMP_ENVMAP_ATI 0x877B
  6427. #define GL_BUMP_TARGET_ATI 0x877C
  6428. typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  6429. typedef void (GLAPIENTRY * PFNGLGETTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  6430. typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERFVATIPROC) (GLenum pname, GLfloat *param);
  6431. typedef void (GLAPIENTRY * PFNGLTEXBUMPPARAMETERIVATIPROC) (GLenum pname, GLint *param);
  6432. #define glGetTexBumpParameterfvATI GLEW_GET_FUN(__glewGetTexBumpParameterfvATI)
  6433. #define glGetTexBumpParameterivATI GLEW_GET_FUN(__glewGetTexBumpParameterivATI)
  6434. #define glTexBumpParameterfvATI GLEW_GET_FUN(__glewTexBumpParameterfvATI)
  6435. #define glTexBumpParameterivATI GLEW_GET_FUN(__glewTexBumpParameterivATI)
  6436. #define GLEW_ATI_envmap_bumpmap GLEW_GET_VAR(__GLEW_ATI_envmap_bumpmap)
  6437. #endif /* !GL_ATI_envmap_bumpmap */
  6438. /* ------------------------- GL_ATI_fragment_shader ------------------------ */
  6439. #if !defined(GL_ATI_fragment_shader)
  6440. #define GL_ATI_fragment_shader 1
  6441. #define GL_RED_BIT_ATI 0x00000001
  6442. #define GL_2X_BIT_ATI 0x00000001
  6443. #define GL_4X_BIT_ATI 0x00000002
  6444. #define GL_GREEN_BIT_ATI 0x00000002
  6445. #define GL_COMP_BIT_ATI 0x00000002
  6446. #define GL_BLUE_BIT_ATI 0x00000004
  6447. #define GL_8X_BIT_ATI 0x00000004
  6448. #define GL_NEGATE_BIT_ATI 0x00000004
  6449. #define GL_BIAS_BIT_ATI 0x00000008
  6450. #define GL_HALF_BIT_ATI 0x00000008
  6451. #define GL_QUARTER_BIT_ATI 0x00000010
  6452. #define GL_EIGHTH_BIT_ATI 0x00000020
  6453. #define GL_SATURATE_BIT_ATI 0x00000040
  6454. #define GL_FRAGMENT_SHADER_ATI 0x8920
  6455. #define GL_REG_0_ATI 0x8921
  6456. #define GL_REG_1_ATI 0x8922
  6457. #define GL_REG_2_ATI 0x8923
  6458. #define GL_REG_3_ATI 0x8924
  6459. #define GL_REG_4_ATI 0x8925
  6460. #define GL_REG_5_ATI 0x8926
  6461. #define GL_CON_0_ATI 0x8941
  6462. #define GL_CON_1_ATI 0x8942
  6463. #define GL_CON_2_ATI 0x8943
  6464. #define GL_CON_3_ATI 0x8944
  6465. #define GL_CON_4_ATI 0x8945
  6466. #define GL_CON_5_ATI 0x8946
  6467. #define GL_CON_6_ATI 0x8947
  6468. #define GL_CON_7_ATI 0x8948
  6469. #define GL_MOV_ATI 0x8961
  6470. #define GL_ADD_ATI 0x8963
  6471. #define GL_MUL_ATI 0x8964
  6472. #define GL_SUB_ATI 0x8965
  6473. #define GL_DOT3_ATI 0x8966
  6474. #define GL_DOT4_ATI 0x8967
  6475. #define GL_MAD_ATI 0x8968
  6476. #define GL_LERP_ATI 0x8969
  6477. #define GL_CND_ATI 0x896A
  6478. #define GL_CND0_ATI 0x896B
  6479. #define GL_DOT2_ADD_ATI 0x896C
  6480. #define GL_SECONDARY_INTERPOLATOR_ATI 0x896D
  6481. #define GL_NUM_FRAGMENT_REGISTERS_ATI 0x896E
  6482. #define GL_NUM_FRAGMENT_CONSTANTS_ATI 0x896F
  6483. #define GL_NUM_PASSES_ATI 0x8970
  6484. #define GL_NUM_INSTRUCTIONS_PER_PASS_ATI 0x8971
  6485. #define GL_NUM_INSTRUCTIONS_TOTAL_ATI 0x8972
  6486. #define GL_NUM_INPUT_INTERPOLATOR_COMPONENTS_ATI 0x8973
  6487. #define GL_NUM_LOOPBACK_COMPONENTS_ATI 0x8974
  6488. #define GL_COLOR_ALPHA_PAIRING_ATI 0x8975
  6489. #define GL_SWIZZLE_STR_ATI 0x8976
  6490. #define GL_SWIZZLE_STQ_ATI 0x8977
  6491. #define GL_SWIZZLE_STR_DR_ATI 0x8978
  6492. #define GL_SWIZZLE_STQ_DQ_ATI 0x8979
  6493. #define GL_SWIZZLE_STRQ_ATI 0x897A
  6494. #define GL_SWIZZLE_STRQ_DQ_ATI 0x897B
  6495. typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6496. typedef void (GLAPIENTRY * PFNGLALPHAFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6497. typedef void (GLAPIENTRY * 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);
  6498. typedef void (GLAPIENTRY * PFNGLBEGINFRAGMENTSHADERATIPROC) (void);
  6499. typedef void (GLAPIENTRY * PFNGLBINDFRAGMENTSHADERATIPROC) (GLuint id);
  6500. typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP1ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod);
  6501. typedef void (GLAPIENTRY * PFNGLCOLORFRAGMENTOP2ATIPROC) (GLenum op, GLuint dst, GLuint dstMask, GLuint dstMod, GLuint arg1, GLuint arg1Rep, GLuint arg1Mod, GLuint arg2, GLuint arg2Rep, GLuint arg2Mod);
  6502. typedef void (GLAPIENTRY * 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);
  6503. typedef void (GLAPIENTRY * PFNGLDELETEFRAGMENTSHADERATIPROC) (GLuint id);
  6504. typedef void (GLAPIENTRY * PFNGLENDFRAGMENTSHADERATIPROC) (void);
  6505. typedef GLuint (GLAPIENTRY * PFNGLGENFRAGMENTSHADERSATIPROC) (GLuint range);
  6506. typedef void (GLAPIENTRY * PFNGLPASSTEXCOORDATIPROC) (GLuint dst, GLuint coord, GLenum swizzle);
  6507. typedef void (GLAPIENTRY * PFNGLSAMPLEMAPATIPROC) (GLuint dst, GLuint interp, GLenum swizzle);
  6508. typedef void (GLAPIENTRY * PFNGLSETFRAGMENTSHADERCONSTANTATIPROC) (GLuint dst, const GLfloat* value);
  6509. #define glAlphaFragmentOp1ATI GLEW_GET_FUN(__glewAlphaFragmentOp1ATI)
  6510. #define glAlphaFragmentOp2ATI GLEW_GET_FUN(__glewAlphaFragmentOp2ATI)
  6511. #define glAlphaFragmentOp3ATI GLEW_GET_FUN(__glewAlphaFragmentOp3ATI)
  6512. #define glBeginFragmentShaderATI GLEW_GET_FUN(__glewBeginFragmentShaderATI)
  6513. #define glBindFragmentShaderATI GLEW_GET_FUN(__glewBindFragmentShaderATI)
  6514. #define glColorFragmentOp1ATI GLEW_GET_FUN(__glewColorFragmentOp1ATI)
  6515. #define glColorFragmentOp2ATI GLEW_GET_FUN(__glewColorFragmentOp2ATI)
  6516. #define glColorFragmentOp3ATI GLEW_GET_FUN(__glewColorFragmentOp3ATI)
  6517. #define glDeleteFragmentShaderATI GLEW_GET_FUN(__glewDeleteFragmentShaderATI)
  6518. #define glEndFragmentShaderATI GLEW_GET_FUN(__glewEndFragmentShaderATI)
  6519. #define glGenFragmentShadersATI GLEW_GET_FUN(__glewGenFragmentShadersATI)
  6520. #define glPassTexCoordATI GLEW_GET_FUN(__glewPassTexCoordATI)
  6521. #define glSampleMapATI GLEW_GET_FUN(__glewSampleMapATI)
  6522. #define glSetFragmentShaderConstantATI GLEW_GET_FUN(__glewSetFragmentShaderConstantATI)
  6523. #define GLEW_ATI_fragment_shader GLEW_GET_VAR(__GLEW_ATI_fragment_shader)
  6524. #endif /* !GL_ATI_fragment_shader */
  6525. /* ------------------------ GL_ATI_map_object_buffer ----------------------- */
  6526. #if !defined(GL_ATI_map_object_buffer)
  6527. #define GL_ATI_map_object_buffer 1
  6528. typedef void* (GLAPIENTRY * PFNGLMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6529. typedef void (GLAPIENTRY * PFNGLUNMAPOBJECTBUFFERATIPROC) (GLuint buffer);
  6530. #define glMapObjectBufferATI GLEW_GET_FUN(__glewMapObjectBufferATI)
  6531. #define glUnmapObjectBufferATI GLEW_GET_FUN(__glewUnmapObjectBufferATI)
  6532. #define GLEW_ATI_map_object_buffer GLEW_GET_VAR(__GLEW_ATI_map_object_buffer)
  6533. #endif /* !GL_ATI_map_object_buffer */
  6534. /* ----------------------------- GL_ATI_meminfo ---------------------------- */
  6535. #if !defined(GL_ATI_meminfo)
  6536. #define GL_ATI_meminfo 1
  6537. #define GL_VBO_FREE_MEMORY_ATI 0x87FB
  6538. #define GL_TEXTURE_FREE_MEMORY_ATI 0x87FC
  6539. #define GL_RENDERBUFFER_FREE_MEMORY_ATI 0x87FD
  6540. #define GLEW_ATI_meminfo GLEW_GET_VAR(__GLEW_ATI_meminfo)
  6541. #endif /* !GL_ATI_meminfo */
  6542. /* -------------------------- GL_ATI_pn_triangles -------------------------- */
  6543. #if !defined(GL_ATI_pn_triangles)
  6544. #define GL_ATI_pn_triangles 1
  6545. #define GL_PN_TRIANGLES_ATI 0x87F0
  6546. #define GL_MAX_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F1
  6547. #define GL_PN_TRIANGLES_POINT_MODE_ATI 0x87F2
  6548. #define GL_PN_TRIANGLES_NORMAL_MODE_ATI 0x87F3
  6549. #define GL_PN_TRIANGLES_TESSELATION_LEVEL_ATI 0x87F4
  6550. #define GL_PN_TRIANGLES_POINT_MODE_LINEAR_ATI 0x87F5
  6551. #define GL_PN_TRIANGLES_POINT_MODE_CUBIC_ATI 0x87F6
  6552. #define GL_PN_TRIANGLES_NORMAL_MODE_LINEAR_ATI 0x87F7
  6553. #define GL_PN_TRIANGLES_NORMAL_MODE_QUADRATIC_ATI 0x87F8
  6554. typedef void (GLAPIENTRY * PFNGLPNTRIANGLESFATIPROC) (GLenum pname, GLfloat param);
  6555. typedef void (GLAPIENTRY * PFNGLPNTRIANGLESIATIPROC) (GLenum pname, GLint param);
  6556. #define glPNTrianglesfATI GLEW_GET_FUN(__glewPNTrianglesfATI)
  6557. #define glPNTrianglesiATI GLEW_GET_FUN(__glewPNTrianglesiATI)
  6558. #define GLEW_ATI_pn_triangles GLEW_GET_VAR(__GLEW_ATI_pn_triangles)
  6559. #endif /* !GL_ATI_pn_triangles */
  6560. /* ------------------------ GL_ATI_separate_stencil ------------------------ */
  6561. #if !defined(GL_ATI_separate_stencil)
  6562. #define GL_ATI_separate_stencil 1
  6563. #define GL_STENCIL_BACK_FUNC_ATI 0x8800
  6564. #define GL_STENCIL_BACK_FAIL_ATI 0x8801
  6565. #define GL_STENCIL_BACK_PASS_DEPTH_FAIL_ATI 0x8802
  6566. #define GL_STENCIL_BACK_PASS_DEPTH_PASS_ATI 0x8803
  6567. typedef void (GLAPIENTRY * PFNGLSTENCILFUNCSEPARATEATIPROC) (GLenum frontfunc, GLenum backfunc, GLint ref, GLuint mask);
  6568. typedef void (GLAPIENTRY * PFNGLSTENCILOPSEPARATEATIPROC) (GLenum face, GLenum sfail, GLenum dpfail, GLenum dppass);
  6569. #define glStencilFuncSeparateATI GLEW_GET_FUN(__glewStencilFuncSeparateATI)
  6570. #define glStencilOpSeparateATI GLEW_GET_FUN(__glewStencilOpSeparateATI)
  6571. #define GLEW_ATI_separate_stencil GLEW_GET_VAR(__GLEW_ATI_separate_stencil)
  6572. #endif /* !GL_ATI_separate_stencil */
  6573. /* ----------------------- GL_ATI_shader_texture_lod ----------------------- */
  6574. #if !defined(GL_ATI_shader_texture_lod)
  6575. #define GL_ATI_shader_texture_lod 1
  6576. #define GLEW_ATI_shader_texture_lod GLEW_GET_VAR(__GLEW_ATI_shader_texture_lod)
  6577. #endif /* !GL_ATI_shader_texture_lod */
  6578. /* ---------------------- GL_ATI_text_fragment_shader ---------------------- */
  6579. #if !defined(GL_ATI_text_fragment_shader)
  6580. #define GL_ATI_text_fragment_shader 1
  6581. #define GL_TEXT_FRAGMENT_SHADER_ATI 0x8200
  6582. #define GLEW_ATI_text_fragment_shader GLEW_GET_VAR(__GLEW_ATI_text_fragment_shader)
  6583. #endif /* !GL_ATI_text_fragment_shader */
  6584. /* --------------------- GL_ATI_texture_compression_3dc -------------------- */
  6585. #if !defined(GL_ATI_texture_compression_3dc)
  6586. #define GL_ATI_texture_compression_3dc 1
  6587. #define GL_COMPRESSED_LUMINANCE_ALPHA_3DC_ATI 0x8837
  6588. #define GLEW_ATI_texture_compression_3dc GLEW_GET_VAR(__GLEW_ATI_texture_compression_3dc)
  6589. #endif /* !GL_ATI_texture_compression_3dc */
  6590. /* ---------------------- GL_ATI_texture_env_combine3 ---------------------- */
  6591. #if !defined(GL_ATI_texture_env_combine3)
  6592. #define GL_ATI_texture_env_combine3 1
  6593. #define GL_MODULATE_ADD_ATI 0x8744
  6594. #define GL_MODULATE_SIGNED_ADD_ATI 0x8745
  6595. #define GL_MODULATE_SUBTRACT_ATI 0x8746
  6596. #define GLEW_ATI_texture_env_combine3 GLEW_GET_VAR(__GLEW_ATI_texture_env_combine3)
  6597. #endif /* !GL_ATI_texture_env_combine3 */
  6598. /* -------------------------- GL_ATI_texture_float ------------------------- */
  6599. #if !defined(GL_ATI_texture_float)
  6600. #define GL_ATI_texture_float 1
  6601. #define GL_RGBA_FLOAT32_ATI 0x8814
  6602. #define GL_RGB_FLOAT32_ATI 0x8815
  6603. #define GL_ALPHA_FLOAT32_ATI 0x8816
  6604. #define GL_INTENSITY_FLOAT32_ATI 0x8817
  6605. #define GL_LUMINANCE_FLOAT32_ATI 0x8818
  6606. #define GL_LUMINANCE_ALPHA_FLOAT32_ATI 0x8819
  6607. #define GL_RGBA_FLOAT16_ATI 0x881A
  6608. #define GL_RGB_FLOAT16_ATI 0x881B
  6609. #define GL_ALPHA_FLOAT16_ATI 0x881C
  6610. #define GL_INTENSITY_FLOAT16_ATI 0x881D
  6611. #define GL_LUMINANCE_FLOAT16_ATI 0x881E
  6612. #define GL_LUMINANCE_ALPHA_FLOAT16_ATI 0x881F
  6613. #define GLEW_ATI_texture_float GLEW_GET_VAR(__GLEW_ATI_texture_float)
  6614. #endif /* !GL_ATI_texture_float */
  6615. /* ----------------------- GL_ATI_texture_mirror_once ---------------------- */
  6616. #if !defined(GL_ATI_texture_mirror_once)
  6617. #define GL_ATI_texture_mirror_once 1
  6618. #define GL_MIRROR_CLAMP_ATI 0x8742
  6619. #define GL_MIRROR_CLAMP_TO_EDGE_ATI 0x8743
  6620. #define GLEW_ATI_texture_mirror_once GLEW_GET_VAR(__GLEW_ATI_texture_mirror_once)
  6621. #endif /* !GL_ATI_texture_mirror_once */
  6622. /* ----------------------- GL_ATI_vertex_array_object ---------------------- */
  6623. #if !defined(GL_ATI_vertex_array_object)
  6624. #define GL_ATI_vertex_array_object 1
  6625. #define GL_STATIC_ATI 0x8760
  6626. #define GL_DYNAMIC_ATI 0x8761
  6627. #define GL_PRESERVE_ATI 0x8762
  6628. #define GL_DISCARD_ATI 0x8763
  6629. #define GL_OBJECT_BUFFER_SIZE_ATI 0x8764
  6630. #define GL_OBJECT_BUFFER_USAGE_ATI 0x8765
  6631. #define GL_ARRAY_OBJECT_BUFFER_ATI 0x8766
  6632. #define GL_ARRAY_OBJECT_OFFSET_ATI 0x8767
  6633. typedef void (GLAPIENTRY * PFNGLARRAYOBJECTATIPROC) (GLenum array, GLint size, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6634. typedef void (GLAPIENTRY * PFNGLFREEOBJECTBUFFERATIPROC) (GLuint buffer);
  6635. typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTFVATIPROC) (GLenum array, GLenum pname, GLfloat* params);
  6636. typedef void (GLAPIENTRY * PFNGLGETARRAYOBJECTIVATIPROC) (GLenum array, GLenum pname, GLint* params);
  6637. typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERFVATIPROC) (GLuint buffer, GLenum pname, GLfloat* params);
  6638. typedef void (GLAPIENTRY * PFNGLGETOBJECTBUFFERIVATIPROC) (GLuint buffer, GLenum pname, GLint* params);
  6639. typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTFVATIPROC) (GLuint id, GLenum pname, GLfloat* params);
  6640. typedef void (GLAPIENTRY * PFNGLGETVARIANTARRAYOBJECTIVATIPROC) (GLuint id, GLenum pname, GLint* params);
  6641. typedef GLboolean (GLAPIENTRY * PFNGLISOBJECTBUFFERATIPROC) (GLuint buffer);
  6642. typedef GLuint (GLAPIENTRY * PFNGLNEWOBJECTBUFFERATIPROC) (GLsizei size, const void* pointer, GLenum usage);
  6643. typedef void (GLAPIENTRY * PFNGLUPDATEOBJECTBUFFERATIPROC) (GLuint buffer, GLuint offset, GLsizei size, const void* pointer, GLenum preserve);
  6644. typedef void (GLAPIENTRY * PFNGLVARIANTARRAYOBJECTATIPROC) (GLuint id, GLenum type, GLsizei stride, GLuint buffer, GLuint offset);
  6645. #define glArrayObjectATI GLEW_GET_FUN(__glewArrayObjectATI)
  6646. #define glFreeObjectBufferATI GLEW_GET_FUN(__glewFreeObjectBufferATI)
  6647. #define glGetArrayObjectfvATI GLEW_GET_FUN(__glewGetArrayObjectfvATI)
  6648. #define glGetArrayObjectivATI GLEW_GET_FUN(__glewGetArrayObjectivATI)
  6649. #define glGetObjectBufferfvATI GLEW_GET_FUN(__glewGetObjectBufferfvATI)
  6650. #define glGetObjectBufferivATI GLEW_GET_FUN(__glewGetObjectBufferivATI)
  6651. #define glGetVariantArrayObjectfvATI GLEW_GET_FUN(__glewGetVariantArrayObjectfvATI)
  6652. #define glGetVariantArrayObjectivATI GLEW_GET_FUN(__glewGetVariantArrayObjectivATI)
  6653. #define glIsObjectBufferATI GLEW_GET_FUN(__glewIsObjectBufferATI)
  6654. #define glNewObjectBufferATI GLEW_GET_FUN(__glewNewObjectBufferATI)
  6655. #define glUpdateObjectBufferATI GLEW_GET_FUN(__glewUpdateObjectBufferATI)
  6656. #define glVariantArrayObjectATI GLEW_GET_FUN(__glewVariantArrayObjectATI)
  6657. #define GLEW_ATI_vertex_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_array_object)
  6658. #endif /* !GL_ATI_vertex_array_object */
  6659. /* ------------------- GL_ATI_vertex_attrib_array_object ------------------- */
  6660. #if !defined(GL_ATI_vertex_attrib_array_object)
  6661. #define GL_ATI_vertex_attrib_array_object 1
  6662. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC) (GLuint index, GLenum pname, GLfloat* params);
  6663. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC) (GLuint index, GLenum pname, GLint* params);
  6664. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBARRAYOBJECTATIPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLuint buffer, GLuint offset);
  6665. #define glGetVertexAttribArrayObjectfvATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectfvATI)
  6666. #define glGetVertexAttribArrayObjectivATI GLEW_GET_FUN(__glewGetVertexAttribArrayObjectivATI)
  6667. #define glVertexAttribArrayObjectATI GLEW_GET_FUN(__glewVertexAttribArrayObjectATI)
  6668. #define GLEW_ATI_vertex_attrib_array_object GLEW_GET_VAR(__GLEW_ATI_vertex_attrib_array_object)
  6669. #endif /* !GL_ATI_vertex_attrib_array_object */
  6670. /* ------------------------- GL_ATI_vertex_streams ------------------------- */
  6671. #if !defined(GL_ATI_vertex_streams)
  6672. #define GL_ATI_vertex_streams 1
  6673. #define GL_MAX_VERTEX_STREAMS_ATI 0x876B
  6674. #define GL_VERTEX_SOURCE_ATI 0x876C
  6675. #define GL_VERTEX_STREAM0_ATI 0x876D
  6676. #define GL_VERTEX_STREAM1_ATI 0x876E
  6677. #define GL_VERTEX_STREAM2_ATI 0x876F
  6678. #define GL_VERTEX_STREAM3_ATI 0x8770
  6679. #define GL_VERTEX_STREAM4_ATI 0x8771
  6680. #define GL_VERTEX_STREAM5_ATI 0x8772
  6681. #define GL_VERTEX_STREAM6_ATI 0x8773
  6682. #define GL_VERTEX_STREAM7_ATI 0x8774
  6683. typedef void (GLAPIENTRY * PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC) (GLenum stream);
  6684. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BATIPROC) (GLenum stream, GLbyte x, GLbyte y, GLbyte z);
  6685. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3BVATIPROC) (GLenum stream, const GLbyte *v);
  6686. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6687. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
  6688. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6689. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
  6690. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  6691. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
  6692. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  6693. typedef void (GLAPIENTRY * PFNGLNORMALSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
  6694. typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVFATIPROC) (GLenum pname, GLfloat param);
  6695. typedef void (GLAPIENTRY * PFNGLVERTEXBLENDENVIATIPROC) (GLenum pname, GLint param);
  6696. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DATIPROC) (GLenum stream, GLdouble x, GLdouble y);
  6697. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2DVATIPROC) (GLenum stream, const GLdouble *v);
  6698. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FATIPROC) (GLenum stream, GLfloat x, GLfloat y);
  6699. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2FVATIPROC) (GLenum stream, const GLfloat *v);
  6700. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IATIPROC) (GLenum stream, GLint x, GLint y);
  6701. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2IVATIPROC) (GLenum stream, const GLint *v);
  6702. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SATIPROC) (GLenum stream, GLshort x, GLshort y);
  6703. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM2SVATIPROC) (GLenum stream, const GLshort *v);
  6704. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z);
  6705. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3DVATIPROC) (GLenum stream, const GLdouble *v);
  6706. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z);
  6707. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3FVATIPROC) (GLenum stream, const GLfloat *v);
  6708. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IATIPROC) (GLenum stream, GLint x, GLint y, GLint z);
  6709. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3IVATIPROC) (GLenum stream, const GLint *v);
  6710. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z);
  6711. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM3SVATIPROC) (GLenum stream, const GLshort *v);
  6712. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DATIPROC) (GLenum stream, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  6713. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4DVATIPROC) (GLenum stream, const GLdouble *v);
  6714. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FATIPROC) (GLenum stream, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  6715. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4FVATIPROC) (GLenum stream, const GLfloat *v);
  6716. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IATIPROC) (GLenum stream, GLint x, GLint y, GLint z, GLint w);
  6717. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4IVATIPROC) (GLenum stream, const GLint *v);
  6718. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SATIPROC) (GLenum stream, GLshort x, GLshort y, GLshort z, GLshort w);
  6719. typedef void (GLAPIENTRY * PFNGLVERTEXSTREAM4SVATIPROC) (GLenum stream, const GLshort *v);
  6720. #define glClientActiveVertexStreamATI GLEW_GET_FUN(__glewClientActiveVertexStreamATI)
  6721. #define glNormalStream3bATI GLEW_GET_FUN(__glewNormalStream3bATI)
  6722. #define glNormalStream3bvATI GLEW_GET_FUN(__glewNormalStream3bvATI)
  6723. #define glNormalStream3dATI GLEW_GET_FUN(__glewNormalStream3dATI)
  6724. #define glNormalStream3dvATI GLEW_GET_FUN(__glewNormalStream3dvATI)
  6725. #define glNormalStream3fATI GLEW_GET_FUN(__glewNormalStream3fATI)
  6726. #define glNormalStream3fvATI GLEW_GET_FUN(__glewNormalStream3fvATI)
  6727. #define glNormalStream3iATI GLEW_GET_FUN(__glewNormalStream3iATI)
  6728. #define glNormalStream3ivATI GLEW_GET_FUN(__glewNormalStream3ivATI)
  6729. #define glNormalStream3sATI GLEW_GET_FUN(__glewNormalStream3sATI)
  6730. #define glNormalStream3svATI GLEW_GET_FUN(__glewNormalStream3svATI)
  6731. #define glVertexBlendEnvfATI GLEW_GET_FUN(__glewVertexBlendEnvfATI)
  6732. #define glVertexBlendEnviATI GLEW_GET_FUN(__glewVertexBlendEnviATI)
  6733. #define glVertexStream2dATI GLEW_GET_FUN(__glewVertexStream2dATI)
  6734. #define glVertexStream2dvATI GLEW_GET_FUN(__glewVertexStream2dvATI)
  6735. #define glVertexStream2fATI GLEW_GET_FUN(__glewVertexStream2fATI)
  6736. #define glVertexStream2fvATI GLEW_GET_FUN(__glewVertexStream2fvATI)
  6737. #define glVertexStream2iATI GLEW_GET_FUN(__glewVertexStream2iATI)
  6738. #define glVertexStream2ivATI GLEW_GET_FUN(__glewVertexStream2ivATI)
  6739. #define glVertexStream2sATI GLEW_GET_FUN(__glewVertexStream2sATI)
  6740. #define glVertexStream2svATI GLEW_GET_FUN(__glewVertexStream2svATI)
  6741. #define glVertexStream3dATI GLEW_GET_FUN(__glewVertexStream3dATI)
  6742. #define glVertexStream3dvATI GLEW_GET_FUN(__glewVertexStream3dvATI)
  6743. #define glVertexStream3fATI GLEW_GET_FUN(__glewVertexStream3fATI)
  6744. #define glVertexStream3fvATI GLEW_GET_FUN(__glewVertexStream3fvATI)
  6745. #define glVertexStream3iATI GLEW_GET_FUN(__glewVertexStream3iATI)
  6746. #define glVertexStream3ivATI GLEW_GET_FUN(__glewVertexStream3ivATI)
  6747. #define glVertexStream3sATI GLEW_GET_FUN(__glewVertexStream3sATI)
  6748. #define glVertexStream3svATI GLEW_GET_FUN(__glewVertexStream3svATI)
  6749. #define glVertexStream4dATI GLEW_GET_FUN(__glewVertexStream4dATI)
  6750. #define glVertexStream4dvATI GLEW_GET_FUN(__glewVertexStream4dvATI)
  6751. #define glVertexStream4fATI GLEW_GET_FUN(__glewVertexStream4fATI)
  6752. #define glVertexStream4fvATI GLEW_GET_FUN(__glewVertexStream4fvATI)
  6753. #define glVertexStream4iATI GLEW_GET_FUN(__glewVertexStream4iATI)
  6754. #define glVertexStream4ivATI GLEW_GET_FUN(__glewVertexStream4ivATI)
  6755. #define glVertexStream4sATI GLEW_GET_FUN(__glewVertexStream4sATI)
  6756. #define glVertexStream4svATI GLEW_GET_FUN(__glewVertexStream4svATI)
  6757. #define GLEW_ATI_vertex_streams GLEW_GET_VAR(__GLEW_ATI_vertex_streams)
  6758. #endif /* !GL_ATI_vertex_streams */
  6759. /* --------------------------- GL_EXT_422_pixels --------------------------- */
  6760. #if !defined(GL_EXT_422_pixels)
  6761. #define GL_EXT_422_pixels 1
  6762. #define GL_422_EXT 0x80CC
  6763. #define GL_422_REV_EXT 0x80CD
  6764. #define GL_422_AVERAGE_EXT 0x80CE
  6765. #define GL_422_REV_AVERAGE_EXT 0x80CF
  6766. #define GLEW_EXT_422_pixels GLEW_GET_VAR(__GLEW_EXT_422_pixels)
  6767. #endif /* !GL_EXT_422_pixels */
  6768. /* ---------------------------- GL_EXT_Cg_shader --------------------------- */
  6769. #if !defined(GL_EXT_Cg_shader)
  6770. #define GL_EXT_Cg_shader 1
  6771. #define GL_CG_VERTEX_SHADER_EXT 0x890E
  6772. #define GL_CG_FRAGMENT_SHADER_EXT 0x890F
  6773. #define GLEW_EXT_Cg_shader GLEW_GET_VAR(__GLEW_EXT_Cg_shader)
  6774. #endif /* !GL_EXT_Cg_shader */
  6775. /* ------------------------------ GL_EXT_abgr ------------------------------ */
  6776. #if !defined(GL_EXT_abgr)
  6777. #define GL_EXT_abgr 1
  6778. #define GL_ABGR_EXT 0x8000
  6779. #define GLEW_EXT_abgr GLEW_GET_VAR(__GLEW_EXT_abgr)
  6780. #endif /* !GL_EXT_abgr */
  6781. /* ------------------------------ GL_EXT_bgra ------------------------------ */
  6782. #if !defined(GL_EXT_bgra)
  6783. #define GL_EXT_bgra 1
  6784. #define GL_BGR_EXT 0x80E0
  6785. #define GL_BGRA_EXT 0x80E1
  6786. #define GLEW_EXT_bgra GLEW_GET_VAR(__GLEW_EXT_bgra)
  6787. #endif /* !GL_EXT_bgra */
  6788. /* ------------------------ GL_EXT_bindable_uniform ------------------------ */
  6789. #if !defined(GL_EXT_bindable_uniform)
  6790. #define GL_EXT_bindable_uniform 1
  6791. #define GL_MAX_VERTEX_BINDABLE_UNIFORMS_EXT 0x8DE2
  6792. #define GL_MAX_FRAGMENT_BINDABLE_UNIFORMS_EXT 0x8DE3
  6793. #define GL_MAX_GEOMETRY_BINDABLE_UNIFORMS_EXT 0x8DE4
  6794. #define GL_MAX_BINDABLE_UNIFORM_SIZE_EXT 0x8DED
  6795. #define GL_UNIFORM_BUFFER_EXT 0x8DEE
  6796. #define GL_UNIFORM_BUFFER_BINDING_EXT 0x8DEF
  6797. typedef GLint (GLAPIENTRY * PFNGLGETUNIFORMBUFFERSIZEEXTPROC) (GLuint program, GLint location);
  6798. typedef GLintptr (GLAPIENTRY * PFNGLGETUNIFORMOFFSETEXTPROC) (GLuint program, GLint location);
  6799. typedef void (GLAPIENTRY * PFNGLUNIFORMBUFFEREXTPROC) (GLuint program, GLint location, GLuint buffer);
  6800. #define glGetUniformBufferSizeEXT GLEW_GET_FUN(__glewGetUniformBufferSizeEXT)
  6801. #define glGetUniformOffsetEXT GLEW_GET_FUN(__glewGetUniformOffsetEXT)
  6802. #define glUniformBufferEXT GLEW_GET_FUN(__glewUniformBufferEXT)
  6803. #define GLEW_EXT_bindable_uniform GLEW_GET_VAR(__GLEW_EXT_bindable_uniform)
  6804. #endif /* !GL_EXT_bindable_uniform */
  6805. /* --------------------------- GL_EXT_blend_color -------------------------- */
  6806. #if !defined(GL_EXT_blend_color)
  6807. #define GL_EXT_blend_color 1
  6808. #define GL_CONSTANT_COLOR_EXT 0x8001
  6809. #define GL_ONE_MINUS_CONSTANT_COLOR_EXT 0x8002
  6810. #define GL_CONSTANT_ALPHA_EXT 0x8003
  6811. #define GL_ONE_MINUS_CONSTANT_ALPHA_EXT 0x8004
  6812. #define GL_BLEND_COLOR_EXT 0x8005
  6813. typedef void (GLAPIENTRY * PFNGLBLENDCOLOREXTPROC) (GLclampf red, GLclampf green, GLclampf blue, GLclampf alpha);
  6814. #define glBlendColorEXT GLEW_GET_FUN(__glewBlendColorEXT)
  6815. #define GLEW_EXT_blend_color GLEW_GET_VAR(__GLEW_EXT_blend_color)
  6816. #endif /* !GL_EXT_blend_color */
  6817. /* --------------------- GL_EXT_blend_equation_separate -------------------- */
  6818. #if !defined(GL_EXT_blend_equation_separate)
  6819. #define GL_EXT_blend_equation_separate 1
  6820. #define GL_BLEND_EQUATION_RGB_EXT 0x8009
  6821. #define GL_BLEND_EQUATION_ALPHA_EXT 0x883D
  6822. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEEXTPROC) (GLenum modeRGB, GLenum modeAlpha);
  6823. #define glBlendEquationSeparateEXT GLEW_GET_FUN(__glewBlendEquationSeparateEXT)
  6824. #define GLEW_EXT_blend_equation_separate GLEW_GET_VAR(__GLEW_EXT_blend_equation_separate)
  6825. #endif /* !GL_EXT_blend_equation_separate */
  6826. /* ----------------------- GL_EXT_blend_func_separate ---------------------- */
  6827. #if !defined(GL_EXT_blend_func_separate)
  6828. #define GL_EXT_blend_func_separate 1
  6829. #define GL_BLEND_DST_RGB_EXT 0x80C8
  6830. #define GL_BLEND_SRC_RGB_EXT 0x80C9
  6831. #define GL_BLEND_DST_ALPHA_EXT 0x80CA
  6832. #define GL_BLEND_SRC_ALPHA_EXT 0x80CB
  6833. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEEXTPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  6834. #define glBlendFuncSeparateEXT GLEW_GET_FUN(__glewBlendFuncSeparateEXT)
  6835. #define GLEW_EXT_blend_func_separate GLEW_GET_VAR(__GLEW_EXT_blend_func_separate)
  6836. #endif /* !GL_EXT_blend_func_separate */
  6837. /* ------------------------- GL_EXT_blend_logic_op ------------------------- */
  6838. #if !defined(GL_EXT_blend_logic_op)
  6839. #define GL_EXT_blend_logic_op 1
  6840. #define GLEW_EXT_blend_logic_op GLEW_GET_VAR(__GLEW_EXT_blend_logic_op)
  6841. #endif /* !GL_EXT_blend_logic_op */
  6842. /* -------------------------- GL_EXT_blend_minmax -------------------------- */
  6843. #if !defined(GL_EXT_blend_minmax)
  6844. #define GL_EXT_blend_minmax 1
  6845. #define GL_FUNC_ADD_EXT 0x8006
  6846. #define GL_MIN_EXT 0x8007
  6847. #define GL_MAX_EXT 0x8008
  6848. #define GL_BLEND_EQUATION_EXT 0x8009
  6849. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONEXTPROC) (GLenum mode);
  6850. #define glBlendEquationEXT GLEW_GET_FUN(__glewBlendEquationEXT)
  6851. #define GLEW_EXT_blend_minmax GLEW_GET_VAR(__GLEW_EXT_blend_minmax)
  6852. #endif /* !GL_EXT_blend_minmax */
  6853. /* ------------------------- GL_EXT_blend_subtract ------------------------- */
  6854. #if !defined(GL_EXT_blend_subtract)
  6855. #define GL_EXT_blend_subtract 1
  6856. #define GL_FUNC_SUBTRACT_EXT 0x800A
  6857. #define GL_FUNC_REVERSE_SUBTRACT_EXT 0x800B
  6858. #define GLEW_EXT_blend_subtract GLEW_GET_VAR(__GLEW_EXT_blend_subtract)
  6859. #endif /* !GL_EXT_blend_subtract */
  6860. /* ------------------------ GL_EXT_clip_volume_hint ------------------------ */
  6861. #if !defined(GL_EXT_clip_volume_hint)
  6862. #define GL_EXT_clip_volume_hint 1
  6863. #define GL_CLIP_VOLUME_CLIPPING_HINT_EXT 0x80F0
  6864. #define GLEW_EXT_clip_volume_hint GLEW_GET_VAR(__GLEW_EXT_clip_volume_hint)
  6865. #endif /* !GL_EXT_clip_volume_hint */
  6866. /* ------------------------------ GL_EXT_cmyka ----------------------------- */
  6867. #if !defined(GL_EXT_cmyka)
  6868. #define GL_EXT_cmyka 1
  6869. #define GL_CMYK_EXT 0x800C
  6870. #define GL_CMYKA_EXT 0x800D
  6871. #define GL_PACK_CMYK_HINT_EXT 0x800E
  6872. #define GL_UNPACK_CMYK_HINT_EXT 0x800F
  6873. #define GLEW_EXT_cmyka GLEW_GET_VAR(__GLEW_EXT_cmyka)
  6874. #endif /* !GL_EXT_cmyka */
  6875. /* ------------------------- GL_EXT_color_subtable ------------------------- */
  6876. #if !defined(GL_EXT_color_subtable)
  6877. #define GL_EXT_color_subtable 1
  6878. typedef void (GLAPIENTRY * PFNGLCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLsizei count, GLenum format, GLenum type, const void* data);
  6879. typedef void (GLAPIENTRY * PFNGLCOPYCOLORSUBTABLEEXTPROC) (GLenum target, GLsizei start, GLint x, GLint y, GLsizei width);
  6880. #define glColorSubTableEXT GLEW_GET_FUN(__glewColorSubTableEXT)
  6881. #define glCopyColorSubTableEXT GLEW_GET_FUN(__glewCopyColorSubTableEXT)
  6882. #define GLEW_EXT_color_subtable GLEW_GET_VAR(__GLEW_EXT_color_subtable)
  6883. #endif /* !GL_EXT_color_subtable */
  6884. /* ---------------------- GL_EXT_compiled_vertex_array --------------------- */
  6885. #if !defined(GL_EXT_compiled_vertex_array)
  6886. #define GL_EXT_compiled_vertex_array 1
  6887. #define GL_ARRAY_ELEMENT_LOCK_FIRST_EXT 0x81A8
  6888. #define GL_ARRAY_ELEMENT_LOCK_COUNT_EXT 0x81A9
  6889. typedef void (GLAPIENTRY * PFNGLLOCKARRAYSEXTPROC) (GLint first, GLsizei count);
  6890. typedef void (GLAPIENTRY * PFNGLUNLOCKARRAYSEXTPROC) (void);
  6891. #define glLockArraysEXT GLEW_GET_FUN(__glewLockArraysEXT)
  6892. #define glUnlockArraysEXT GLEW_GET_FUN(__glewUnlockArraysEXT)
  6893. #define GLEW_EXT_compiled_vertex_array GLEW_GET_VAR(__GLEW_EXT_compiled_vertex_array)
  6894. #endif /* !GL_EXT_compiled_vertex_array */
  6895. /* --------------------------- GL_EXT_convolution -------------------------- */
  6896. #if !defined(GL_EXT_convolution)
  6897. #define GL_EXT_convolution 1
  6898. #define GL_CONVOLUTION_1D_EXT 0x8010
  6899. #define GL_CONVOLUTION_2D_EXT 0x8011
  6900. #define GL_SEPARABLE_2D_EXT 0x8012
  6901. #define GL_CONVOLUTION_BORDER_MODE_EXT 0x8013
  6902. #define GL_CONVOLUTION_FILTER_SCALE_EXT 0x8014
  6903. #define GL_CONVOLUTION_FILTER_BIAS_EXT 0x8015
  6904. #define GL_REDUCE_EXT 0x8016
  6905. #define GL_CONVOLUTION_FORMAT_EXT 0x8017
  6906. #define GL_CONVOLUTION_WIDTH_EXT 0x8018
  6907. #define GL_CONVOLUTION_HEIGHT_EXT 0x8019
  6908. #define GL_MAX_CONVOLUTION_WIDTH_EXT 0x801A
  6909. #define GL_MAX_CONVOLUTION_HEIGHT_EXT 0x801B
  6910. #define GL_POST_CONVOLUTION_RED_SCALE_EXT 0x801C
  6911. #define GL_POST_CONVOLUTION_GREEN_SCALE_EXT 0x801D
  6912. #define GL_POST_CONVOLUTION_BLUE_SCALE_EXT 0x801E
  6913. #define GL_POST_CONVOLUTION_ALPHA_SCALE_EXT 0x801F
  6914. #define GL_POST_CONVOLUTION_RED_BIAS_EXT 0x8020
  6915. #define GL_POST_CONVOLUTION_GREEN_BIAS_EXT 0x8021
  6916. #define GL_POST_CONVOLUTION_BLUE_BIAS_EXT 0x8022
  6917. #define GL_POST_CONVOLUTION_ALPHA_BIAS_EXT 0x8023
  6918. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* image);
  6919. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* image);
  6920. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFEXTPROC) (GLenum target, GLenum pname, GLfloat param);
  6921. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
  6922. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIEXTPROC) (GLenum target, GLenum pname, GLint param);
  6923. typedef void (GLAPIENTRY * PFNGLCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
  6924. typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  6925. typedef void (GLAPIENTRY * PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height);
  6926. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* image);
  6927. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
  6928. typedef void (GLAPIENTRY * PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  6929. typedef void (GLAPIENTRY * PFNGLGETSEPARABLEFILTEREXTPROC) (GLenum target, GLenum format, GLenum type, void* row, void* column, void* span);
  6930. typedef void (GLAPIENTRY * PFNGLSEPARABLEFILTER2DEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* row, const void* column);
  6931. #define glConvolutionFilter1DEXT GLEW_GET_FUN(__glewConvolutionFilter1DEXT)
  6932. #define glConvolutionFilter2DEXT GLEW_GET_FUN(__glewConvolutionFilter2DEXT)
  6933. #define glConvolutionParameterfEXT GLEW_GET_FUN(__glewConvolutionParameterfEXT)
  6934. #define glConvolutionParameterfvEXT GLEW_GET_FUN(__glewConvolutionParameterfvEXT)
  6935. #define glConvolutionParameteriEXT GLEW_GET_FUN(__glewConvolutionParameteriEXT)
  6936. #define glConvolutionParameterivEXT GLEW_GET_FUN(__glewConvolutionParameterivEXT)
  6937. #define glCopyConvolutionFilter1DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter1DEXT)
  6938. #define glCopyConvolutionFilter2DEXT GLEW_GET_FUN(__glewCopyConvolutionFilter2DEXT)
  6939. #define glGetConvolutionFilterEXT GLEW_GET_FUN(__glewGetConvolutionFilterEXT)
  6940. #define glGetConvolutionParameterfvEXT GLEW_GET_FUN(__glewGetConvolutionParameterfvEXT)
  6941. #define glGetConvolutionParameterivEXT GLEW_GET_FUN(__glewGetConvolutionParameterivEXT)
  6942. #define glGetSeparableFilterEXT GLEW_GET_FUN(__glewGetSeparableFilterEXT)
  6943. #define glSeparableFilter2DEXT GLEW_GET_FUN(__glewSeparableFilter2DEXT)
  6944. #define GLEW_EXT_convolution GLEW_GET_VAR(__GLEW_EXT_convolution)
  6945. #endif /* !GL_EXT_convolution */
  6946. /* ------------------------ GL_EXT_coordinate_frame ------------------------ */
  6947. #if !defined(GL_EXT_coordinate_frame)
  6948. #define GL_EXT_coordinate_frame 1
  6949. #define GL_TANGENT_ARRAY_EXT 0x8439
  6950. #define GL_BINORMAL_ARRAY_EXT 0x843A
  6951. #define GL_CURRENT_TANGENT_EXT 0x843B
  6952. #define GL_CURRENT_BINORMAL_EXT 0x843C
  6953. #define GL_TANGENT_ARRAY_TYPE_EXT 0x843E
  6954. #define GL_TANGENT_ARRAY_STRIDE_EXT 0x843F
  6955. #define GL_BINORMAL_ARRAY_TYPE_EXT 0x8440
  6956. #define GL_BINORMAL_ARRAY_STRIDE_EXT 0x8441
  6957. #define GL_TANGENT_ARRAY_POINTER_EXT 0x8442
  6958. #define GL_BINORMAL_ARRAY_POINTER_EXT 0x8443
  6959. #define GL_MAP1_TANGENT_EXT 0x8444
  6960. #define GL_MAP2_TANGENT_EXT 0x8445
  6961. #define GL_MAP1_BINORMAL_EXT 0x8446
  6962. #define GL_MAP2_BINORMAL_EXT 0x8447
  6963. typedef void (GLAPIENTRY * PFNGLBINORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer);
  6964. typedef void (GLAPIENTRY * PFNGLTANGENTPOINTEREXTPROC) (GLenum type, GLsizei stride, void* pointer);
  6965. #define glBinormalPointerEXT GLEW_GET_FUN(__glewBinormalPointerEXT)
  6966. #define glTangentPointerEXT GLEW_GET_FUN(__glewTangentPointerEXT)
  6967. #define GLEW_EXT_coordinate_frame GLEW_GET_VAR(__GLEW_EXT_coordinate_frame)
  6968. #endif /* !GL_EXT_coordinate_frame */
  6969. /* -------------------------- GL_EXT_copy_texture -------------------------- */
  6970. #if !defined(GL_EXT_copy_texture)
  6971. #define GL_EXT_copy_texture 1
  6972. typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE1DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  6973. typedef void (GLAPIENTRY * PFNGLCOPYTEXIMAGE2DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  6974. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  6975. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6976. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  6977. #define glCopyTexImage1DEXT GLEW_GET_FUN(__glewCopyTexImage1DEXT)
  6978. #define glCopyTexImage2DEXT GLEW_GET_FUN(__glewCopyTexImage2DEXT)
  6979. #define glCopyTexSubImage1DEXT GLEW_GET_FUN(__glewCopyTexSubImage1DEXT)
  6980. #define glCopyTexSubImage2DEXT GLEW_GET_FUN(__glewCopyTexSubImage2DEXT)
  6981. #define glCopyTexSubImage3DEXT GLEW_GET_FUN(__glewCopyTexSubImage3DEXT)
  6982. #define GLEW_EXT_copy_texture GLEW_GET_VAR(__GLEW_EXT_copy_texture)
  6983. #endif /* !GL_EXT_copy_texture */
  6984. /* --------------------------- GL_EXT_cull_vertex -------------------------- */
  6985. #if !defined(GL_EXT_cull_vertex)
  6986. #define GL_EXT_cull_vertex 1
  6987. #define GL_CULL_VERTEX_EXT 0x81AA
  6988. #define GL_CULL_VERTEX_EYE_POSITION_EXT 0x81AB
  6989. #define GL_CULL_VERTEX_OBJECT_POSITION_EXT 0x81AC
  6990. typedef void (GLAPIENTRY * PFNGLCULLPARAMETERDVEXTPROC) (GLenum pname, GLdouble* params);
  6991. typedef void (GLAPIENTRY * PFNGLCULLPARAMETERFVEXTPROC) (GLenum pname, GLfloat* params);
  6992. #define glCullParameterdvEXT GLEW_GET_FUN(__glewCullParameterdvEXT)
  6993. #define glCullParameterfvEXT GLEW_GET_FUN(__glewCullParameterfvEXT)
  6994. #define GLEW_EXT_cull_vertex GLEW_GET_VAR(__GLEW_EXT_cull_vertex)
  6995. #endif /* !GL_EXT_cull_vertex */
  6996. /* ------------------------ GL_EXT_depth_bounds_test ----------------------- */
  6997. #if !defined(GL_EXT_depth_bounds_test)
  6998. #define GL_EXT_depth_bounds_test 1
  6999. #define GL_DEPTH_BOUNDS_TEST_EXT 0x8890
  7000. #define GL_DEPTH_BOUNDS_EXT 0x8891
  7001. typedef void (GLAPIENTRY * PFNGLDEPTHBOUNDSEXTPROC) (GLclampd zmin, GLclampd zmax);
  7002. #define glDepthBoundsEXT GLEW_GET_FUN(__glewDepthBoundsEXT)
  7003. #define GLEW_EXT_depth_bounds_test GLEW_GET_VAR(__GLEW_EXT_depth_bounds_test)
  7004. #endif /* !GL_EXT_depth_bounds_test */
  7005. /* ----------------------- GL_EXT_direct_state_access ---------------------- */
  7006. #if !defined(GL_EXT_direct_state_access)
  7007. #define GL_EXT_direct_state_access 1
  7008. #define GL_PROGRAM_MATRIX_EXT 0x8E2D
  7009. #define GL_TRANSPOSE_PROGRAM_MATRIX_EXT 0x8E2E
  7010. #define GL_PROGRAM_MATRIX_STACK_DEPTH_EXT 0x8E2F
  7011. typedef void (GLAPIENTRY * PFNGLBINDMULTITEXTUREEXTPROC) (GLenum texunit, GLenum target, GLuint texture);
  7012. typedef GLenum (GLAPIENTRY * PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC) (GLuint framebuffer, GLenum target);
  7013. typedef void (GLAPIENTRY * PFNGLCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  7014. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
  7015. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
  7016. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
  7017. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
  7018. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
  7019. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
  7020. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLint border, GLsizei imageSize, const void* data);
  7021. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLint border, GLsizei imageSize, const void* data);
  7022. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
  7023. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLsizei imageSize, const void* data);
  7024. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLsizei imageSize, const void* data);
  7025. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
  7026. typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7027. typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7028. typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7029. typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7030. typedef void (GLAPIENTRY * PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7031. typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLint border);
  7032. typedef void (GLAPIENTRY * PFNGLCOPYTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum internalformat, GLint x, GLint y, GLsizei width, GLsizei height, GLint border);
  7033. typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint x, GLint y, GLsizei width);
  7034. typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7035. typedef void (GLAPIENTRY * PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  7036. typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  7037. typedef void (GLAPIENTRY * PFNGLDISABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  7038. typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  7039. typedef void (GLAPIENTRY * PFNGLDISABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  7040. typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEINDEXEDEXTPROC) (GLenum array, GLuint index);
  7041. typedef void (GLAPIENTRY * PFNGLENABLECLIENTSTATEIEXTPROC) (GLenum array, GLuint index);
  7042. typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYATTRIBEXTPROC) (GLuint vaobj, GLuint index);
  7043. typedef void (GLAPIENTRY * PFNGLENABLEVERTEXARRAYEXTPROC) (GLuint vaobj, GLenum array);
  7044. typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length);
  7045. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  7046. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC) (GLuint framebuffer, GLsizei n, const GLenum* bufs);
  7047. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERREADBUFFEREXTPROC) (GLuint framebuffer, GLenum mode);
  7048. typedef void (GLAPIENTRY * PFNGLGENERATEMULTITEXMIPMAPEXTPROC) (GLenum texunit, GLenum target);
  7049. typedef void (GLAPIENTRY * PFNGLGENERATETEXTUREMIPMAPEXTPROC) (GLuint texture, GLenum target);
  7050. typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, void* img);
  7051. typedef void (GLAPIENTRY * PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, void* img);
  7052. typedef void (GLAPIENTRY * PFNGLGETDOUBLEINDEXEDVEXTPROC) (GLenum target, GLuint index, GLdouble* params);
  7053. typedef void (GLAPIENTRY * PFNGLGETDOUBLEI_VEXTPROC) (GLenum pname, GLuint index, GLdouble* params);
  7054. typedef void (GLAPIENTRY * PFNGLGETFLOATINDEXEDVEXTPROC) (GLenum target, GLuint index, GLfloat* params);
  7055. typedef void (GLAPIENTRY * PFNGLGETFLOATI_VEXTPROC) (GLenum pname, GLuint index, GLfloat* params);
  7056. typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum pname, GLint* param);
  7057. typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params);
  7058. typedef void (GLAPIENTRY * PFNGLGETMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
  7059. typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble* params);
  7060. typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat* params);
  7061. typedef void (GLAPIENTRY * PFNGLGETMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint* params);
  7062. typedef void (GLAPIENTRY * PFNGLGETMULTITEXIMAGEEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum format, GLenum type, void* pixels);
  7063. typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLfloat* params);
  7064. typedef void (GLAPIENTRY * PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLint level, GLenum pname, GLint* params);
  7065. typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
  7066. typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLuint* params);
  7067. typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat* params);
  7068. typedef void (GLAPIENTRY * PFNGLGETMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint* params);
  7069. typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC) (GLuint buffer, GLenum pname, GLint* params);
  7070. typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPOINTERVEXTPROC) (GLuint buffer, GLenum pname, void** params);
  7071. typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, void* data);
  7072. typedef void (GLAPIENTRY * PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum pname, GLint* params);
  7073. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLint* params);
  7074. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint* params);
  7075. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble* params);
  7076. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat* params);
  7077. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum pname, void* string);
  7078. typedef void (GLAPIENTRY * PFNGLGETNAMEDPROGRAMIVEXTPROC) (GLuint program, GLenum target, GLenum pname, GLint* params);
  7079. typedef void (GLAPIENTRY * PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC) (GLuint renderbuffer, GLenum pname, GLint* params);
  7080. typedef void (GLAPIENTRY * PFNGLGETPOINTERINDEXEDVEXTPROC) (GLenum target, GLuint index, GLvoid** params);
  7081. typedef void (GLAPIENTRY * PFNGLGETPOINTERI_VEXTPROC) (GLenum pname, GLuint index, GLvoid** params);
  7082. typedef void (GLAPIENTRY * PFNGLGETTEXTUREIMAGEEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum format, GLenum type, void* pixels);
  7083. typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLfloat* params);
  7084. typedef void (GLAPIENTRY * PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLint level, GLenum pname, GLint* params);
  7085. typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params);
  7086. typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLuint* params);
  7087. typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat* params);
  7088. typedef void (GLAPIENTRY * PFNGLGETTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint* params);
  7089. typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLint* param);
  7090. typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYINTEGERVEXTPROC) (GLuint vaobj, GLenum pname, GLint* param);
  7091. typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC) (GLuint vaobj, GLuint index, GLenum pname, GLvoid** param);
  7092. typedef void (GLAPIENTRY * PFNGLGETVERTEXARRAYPOINTERVEXTPROC) (GLuint vaobj, GLenum pname, GLvoid** param);
  7093. typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFEREXTPROC) (GLuint buffer, GLenum access);
  7094. typedef GLvoid * (GLAPIENTRY * PFNGLMAPNAMEDBUFFERRANGEEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr length, GLbitfield access);
  7095. typedef void (GLAPIENTRY * PFNGLMATRIXFRUSTUMEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f);
  7096. typedef void (GLAPIENTRY * PFNGLMATRIXLOADIDENTITYEXTPROC) (GLenum matrixMode);
  7097. typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m);
  7098. typedef void (GLAPIENTRY * PFNGLMATRIXLOADTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m);
  7099. typedef void (GLAPIENTRY * PFNGLMATRIXLOADDEXTPROC) (GLenum matrixMode, const GLdouble* m);
  7100. typedef void (GLAPIENTRY * PFNGLMATRIXLOADFEXTPROC) (GLenum matrixMode, const GLfloat* m);
  7101. typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEDEXTPROC) (GLenum matrixMode, const GLdouble* m);
  7102. typedef void (GLAPIENTRY * PFNGLMATRIXMULTTRANSPOSEFEXTPROC) (GLenum matrixMode, const GLfloat* m);
  7103. typedef void (GLAPIENTRY * PFNGLMATRIXMULTDEXTPROC) (GLenum matrixMode, const GLdouble* m);
  7104. typedef void (GLAPIENTRY * PFNGLMATRIXMULTFEXTPROC) (GLenum matrixMode, const GLfloat* m);
  7105. typedef void (GLAPIENTRY * PFNGLMATRIXORTHOEXTPROC) (GLenum matrixMode, GLdouble l, GLdouble r, GLdouble b, GLdouble t, GLdouble n, GLdouble f);
  7106. typedef void (GLAPIENTRY * PFNGLMATRIXPOPEXTPROC) (GLenum matrixMode);
  7107. typedef void (GLAPIENTRY * PFNGLMATRIXPUSHEXTPROC) (GLenum matrixMode);
  7108. typedef void (GLAPIENTRY * PFNGLMATRIXROTATEDEXTPROC) (GLenum matrixMode, GLdouble angle, GLdouble x, GLdouble y, GLdouble z);
  7109. typedef void (GLAPIENTRY * PFNGLMATRIXROTATEFEXTPROC) (GLenum matrixMode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  7110. typedef void (GLAPIENTRY * PFNGLMATRIXSCALEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z);
  7111. typedef void (GLAPIENTRY * PFNGLMATRIXSCALEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z);
  7112. typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEDEXTPROC) (GLenum matrixMode, GLdouble x, GLdouble y, GLdouble z);
  7113. typedef void (GLAPIENTRY * PFNGLMATRIXTRANSLATEFEXTPROC) (GLenum matrixMode, GLfloat x, GLfloat y, GLfloat z);
  7114. typedef void (GLAPIENTRY * PFNGLMULTITEXBUFFEREXTPROC) (GLenum texunit, GLenum target, GLenum internalformat, GLuint buffer);
  7115. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORDPOINTEREXTPROC) (GLenum texunit, GLint size, GLenum type, GLsizei stride, const void* pointer);
  7116. typedef void (GLAPIENTRY * PFNGLMULTITEXENVFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7117. typedef void (GLAPIENTRY * PFNGLMULTITEXENVFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* params);
  7118. typedef void (GLAPIENTRY * PFNGLMULTITEXENVIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7119. typedef void (GLAPIENTRY * PFNGLMULTITEXENVIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params);
  7120. typedef void (GLAPIENTRY * PFNGLMULTITEXGENDEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLdouble param);
  7121. typedef void (GLAPIENTRY * PFNGLMULTITEXGENDVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLdouble* params);
  7122. typedef void (GLAPIENTRY * PFNGLMULTITEXGENFEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLfloat param);
  7123. typedef void (GLAPIENTRY * PFNGLMULTITEXGENFVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLfloat* params);
  7124. typedef void (GLAPIENTRY * PFNGLMULTITEXGENIEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, GLint param);
  7125. typedef void (GLAPIENTRY * PFNGLMULTITEXGENIVEXTPROC) (GLenum texunit, GLenum coord, GLenum pname, const GLint* params);
  7126. typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels);
  7127. typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
  7128. typedef void (GLAPIENTRY * PFNGLMULTITEXIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
  7129. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* params);
  7130. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIUIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLuint* params);
  7131. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLfloat param);
  7132. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERFVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLfloat* param);
  7133. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIEXTPROC) (GLenum texunit, GLenum target, GLenum pname, GLint param);
  7134. typedef void (GLAPIENTRY * PFNGLMULTITEXPARAMETERIVEXTPROC) (GLenum texunit, GLenum target, GLenum pname, const GLint* param);
  7135. typedef void (GLAPIENTRY * PFNGLMULTITEXRENDERBUFFEREXTPROC) (GLenum texunit, GLenum target, GLuint renderbuffer);
  7136. typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE1DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
  7137. typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE2DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
  7138. typedef void (GLAPIENTRY * PFNGLMULTITEXSUBIMAGE3DEXTPROC) (GLenum texunit, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
  7139. typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERDATAEXTPROC) (GLuint buffer, GLsizeiptr size, const void* data, GLenum usage);
  7140. typedef void (GLAPIENTRY * PFNGLNAMEDBUFFERSUBDATAEXTPROC) (GLuint buffer, GLintptr offset, GLsizeiptr size, const void* data);
  7141. typedef void (GLAPIENTRY * PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC) (GLuint readBuffer, GLuint writeBuffer, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  7142. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC) (GLuint framebuffer, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7143. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7144. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7145. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC) (GLuint framebuffer, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7146. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level);
  7147. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7148. typedef void (GLAPIENTRY * PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC) (GLuint framebuffer, GLenum attachment, GLuint texture, GLint level, GLint layer);
  7149. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC) (GLuint program, GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  7150. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLdouble* params);
  7151. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC) (GLuint program, GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  7152. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLfloat* params);
  7153. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC) (GLuint program, GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  7154. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLint* params);
  7155. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC) (GLuint program, GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7156. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, const GLuint* params);
  7157. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLfloat* params);
  7158. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLint* params);
  7159. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC) (GLuint program, GLenum target, GLuint index, GLsizei count, const GLuint* params);
  7160. typedef void (GLAPIENTRY * PFNGLNAMEDPROGRAMSTRINGEXTPROC) (GLuint program, GLenum target, GLenum format, GLsizei len, const void* string);
  7161. typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC) (GLuint renderbuffer, GLenum internalformat, GLsizei width, GLsizei height);
  7162. typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC) (GLuint renderbuffer, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  7163. typedef void (GLAPIENTRY * PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLuint renderbuffer, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7164. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  7165. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  7166. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  7167. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  7168. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  7169. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  7170. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  7171. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  7172. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  7173. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  7174. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  7175. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  7176. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  7177. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  7178. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  7179. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  7180. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  7181. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  7182. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  7183. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat* value);
  7184. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  7185. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint* value);
  7186. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7187. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint* value);
  7188. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7189. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7190. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7191. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7192. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7193. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7194. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7195. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7196. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat* value);
  7197. typedef void (GLAPIENTRY * PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC) (GLbitfield mask);
  7198. typedef void (GLAPIENTRY * PFNGLTEXTUREBUFFEREXTPROC) (GLuint texture, GLenum target, GLenum internalformat, GLuint buffer);
  7199. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLint border, GLenum format, GLenum type, const void* pixels);
  7200. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLint border, GLenum format, GLenum type, const void* pixels);
  7201. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
  7202. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* params);
  7203. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIUIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLuint* params);
  7204. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLfloat param);
  7205. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERFVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLfloat* param);
  7206. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIEXTPROC) (GLuint texture, GLenum target, GLenum pname, GLint param);
  7207. typedef void (GLAPIENTRY * PFNGLTEXTUREPARAMETERIVEXTPROC) (GLuint texture, GLenum target, GLenum pname, const GLint* param);
  7208. typedef void (GLAPIENTRY * PFNGLTEXTURERENDERBUFFEREXTPROC) (GLuint texture, GLenum target, GLuint renderbuffer);
  7209. typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE1DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
  7210. typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE2DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
  7211. typedef void (GLAPIENTRY * PFNGLTEXTURESUBIMAGE3DEXTPROC) (GLuint texture, GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
  7212. typedef GLboolean (GLAPIENTRY * PFNGLUNMAPNAMEDBUFFEREXTPROC) (GLuint buffer);
  7213. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7214. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLsizei stride, GLintptr offset);
  7215. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7216. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYINDEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7217. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum texunit, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7218. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYNORMALOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLenum type, GLsizei stride, GLintptr offset);
  7219. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7220. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7221. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7222. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, GLintptr offset);
  7223. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  7224. #define glBindMultiTextureEXT GLEW_GET_FUN(__glewBindMultiTextureEXT)
  7225. #define glCheckNamedFramebufferStatusEXT GLEW_GET_FUN(__glewCheckNamedFramebufferStatusEXT)
  7226. #define glClientAttribDefaultEXT GLEW_GET_FUN(__glewClientAttribDefaultEXT)
  7227. #define glCompressedMultiTexImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage1DEXT)
  7228. #define glCompressedMultiTexImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage2DEXT)
  7229. #define glCompressedMultiTexImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexImage3DEXT)
  7230. #define glCompressedMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage1DEXT)
  7231. #define glCompressedMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage2DEXT)
  7232. #define glCompressedMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCompressedMultiTexSubImage3DEXT)
  7233. #define glCompressedTextureImage1DEXT GLEW_GET_FUN(__glewCompressedTextureImage1DEXT)
  7234. #define glCompressedTextureImage2DEXT GLEW_GET_FUN(__glewCompressedTextureImage2DEXT)
  7235. #define glCompressedTextureImage3DEXT GLEW_GET_FUN(__glewCompressedTextureImage3DEXT)
  7236. #define glCompressedTextureSubImage1DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage1DEXT)
  7237. #define glCompressedTextureSubImage2DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage2DEXT)
  7238. #define glCompressedTextureSubImage3DEXT GLEW_GET_FUN(__glewCompressedTextureSubImage3DEXT)
  7239. #define glCopyMultiTexImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexImage1DEXT)
  7240. #define glCopyMultiTexImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexImage2DEXT)
  7241. #define glCopyMultiTexSubImage1DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage1DEXT)
  7242. #define glCopyMultiTexSubImage2DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage2DEXT)
  7243. #define glCopyMultiTexSubImage3DEXT GLEW_GET_FUN(__glewCopyMultiTexSubImage3DEXT)
  7244. #define glCopyTextureImage1DEXT GLEW_GET_FUN(__glewCopyTextureImage1DEXT)
  7245. #define glCopyTextureImage2DEXT GLEW_GET_FUN(__glewCopyTextureImage2DEXT)
  7246. #define glCopyTextureSubImage1DEXT GLEW_GET_FUN(__glewCopyTextureSubImage1DEXT)
  7247. #define glCopyTextureSubImage2DEXT GLEW_GET_FUN(__glewCopyTextureSubImage2DEXT)
  7248. #define glCopyTextureSubImage3DEXT GLEW_GET_FUN(__glewCopyTextureSubImage3DEXT)
  7249. #define glDisableClientStateIndexedEXT GLEW_GET_FUN(__glewDisableClientStateIndexedEXT)
  7250. #define glDisableClientStateiEXT GLEW_GET_FUN(__glewDisableClientStateiEXT)
  7251. #define glDisableVertexArrayAttribEXT GLEW_GET_FUN(__glewDisableVertexArrayAttribEXT)
  7252. #define glDisableVertexArrayEXT GLEW_GET_FUN(__glewDisableVertexArrayEXT)
  7253. #define glEnableClientStateIndexedEXT GLEW_GET_FUN(__glewEnableClientStateIndexedEXT)
  7254. #define glEnableClientStateiEXT GLEW_GET_FUN(__glewEnableClientStateiEXT)
  7255. #define glEnableVertexArrayAttribEXT GLEW_GET_FUN(__glewEnableVertexArrayAttribEXT)
  7256. #define glEnableVertexArrayEXT GLEW_GET_FUN(__glewEnableVertexArrayEXT)
  7257. #define glFlushMappedNamedBufferRangeEXT GLEW_GET_FUN(__glewFlushMappedNamedBufferRangeEXT)
  7258. #define glFramebufferDrawBufferEXT GLEW_GET_FUN(__glewFramebufferDrawBufferEXT)
  7259. #define glFramebufferDrawBuffersEXT GLEW_GET_FUN(__glewFramebufferDrawBuffersEXT)
  7260. #define glFramebufferReadBufferEXT GLEW_GET_FUN(__glewFramebufferReadBufferEXT)
  7261. #define glGenerateMultiTexMipmapEXT GLEW_GET_FUN(__glewGenerateMultiTexMipmapEXT)
  7262. #define glGenerateTextureMipmapEXT GLEW_GET_FUN(__glewGenerateTextureMipmapEXT)
  7263. #define glGetCompressedMultiTexImageEXT GLEW_GET_FUN(__glewGetCompressedMultiTexImageEXT)
  7264. #define glGetCompressedTextureImageEXT GLEW_GET_FUN(__glewGetCompressedTextureImageEXT)
  7265. #define glGetDoubleIndexedvEXT GLEW_GET_FUN(__glewGetDoubleIndexedvEXT)
  7266. #define glGetDoublei_vEXT GLEW_GET_FUN(__glewGetDoublei_vEXT)
  7267. #define glGetFloatIndexedvEXT GLEW_GET_FUN(__glewGetFloatIndexedvEXT)
  7268. #define glGetFloati_vEXT GLEW_GET_FUN(__glewGetFloati_vEXT)
  7269. #define glGetFramebufferParameterivEXT GLEW_GET_FUN(__glewGetFramebufferParameterivEXT)
  7270. #define glGetMultiTexEnvfvEXT GLEW_GET_FUN(__glewGetMultiTexEnvfvEXT)
  7271. #define glGetMultiTexEnvivEXT GLEW_GET_FUN(__glewGetMultiTexEnvivEXT)
  7272. #define glGetMultiTexGendvEXT GLEW_GET_FUN(__glewGetMultiTexGendvEXT)
  7273. #define glGetMultiTexGenfvEXT GLEW_GET_FUN(__glewGetMultiTexGenfvEXT)
  7274. #define glGetMultiTexGenivEXT GLEW_GET_FUN(__glewGetMultiTexGenivEXT)
  7275. #define glGetMultiTexImageEXT GLEW_GET_FUN(__glewGetMultiTexImageEXT)
  7276. #define glGetMultiTexLevelParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterfvEXT)
  7277. #define glGetMultiTexLevelParameterivEXT GLEW_GET_FUN(__glewGetMultiTexLevelParameterivEXT)
  7278. #define glGetMultiTexParameterIivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIivEXT)
  7279. #define glGetMultiTexParameterIuivEXT GLEW_GET_FUN(__glewGetMultiTexParameterIuivEXT)
  7280. #define glGetMultiTexParameterfvEXT GLEW_GET_FUN(__glewGetMultiTexParameterfvEXT)
  7281. #define glGetMultiTexParameterivEXT GLEW_GET_FUN(__glewGetMultiTexParameterivEXT)
  7282. #define glGetNamedBufferParameterivEXT GLEW_GET_FUN(__glewGetNamedBufferParameterivEXT)
  7283. #define glGetNamedBufferPointervEXT GLEW_GET_FUN(__glewGetNamedBufferPointervEXT)
  7284. #define glGetNamedBufferSubDataEXT GLEW_GET_FUN(__glewGetNamedBufferSubDataEXT)
  7285. #define glGetNamedFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetNamedFramebufferAttachmentParameterivEXT)
  7286. #define glGetNamedProgramLocalParameterIivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIivEXT)
  7287. #define glGetNamedProgramLocalParameterIuivEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterIuivEXT)
  7288. #define glGetNamedProgramLocalParameterdvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterdvEXT)
  7289. #define glGetNamedProgramLocalParameterfvEXT GLEW_GET_FUN(__glewGetNamedProgramLocalParameterfvEXT)
  7290. #define glGetNamedProgramStringEXT GLEW_GET_FUN(__glewGetNamedProgramStringEXT)
  7291. #define glGetNamedProgramivEXT GLEW_GET_FUN(__glewGetNamedProgramivEXT)
  7292. #define glGetNamedRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetNamedRenderbufferParameterivEXT)
  7293. #define glGetPointerIndexedvEXT GLEW_GET_FUN(__glewGetPointerIndexedvEXT)
  7294. #define glGetPointeri_vEXT GLEW_GET_FUN(__glewGetPointeri_vEXT)
  7295. #define glGetTextureImageEXT GLEW_GET_FUN(__glewGetTextureImageEXT)
  7296. #define glGetTextureLevelParameterfvEXT GLEW_GET_FUN(__glewGetTextureLevelParameterfvEXT)
  7297. #define glGetTextureLevelParameterivEXT GLEW_GET_FUN(__glewGetTextureLevelParameterivEXT)
  7298. #define glGetTextureParameterIivEXT GLEW_GET_FUN(__glewGetTextureParameterIivEXT)
  7299. #define glGetTextureParameterIuivEXT GLEW_GET_FUN(__glewGetTextureParameterIuivEXT)
  7300. #define glGetTextureParameterfvEXT GLEW_GET_FUN(__glewGetTextureParameterfvEXT)
  7301. #define glGetTextureParameterivEXT GLEW_GET_FUN(__glewGetTextureParameterivEXT)
  7302. #define glGetVertexArrayIntegeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayIntegeri_vEXT)
  7303. #define glGetVertexArrayIntegervEXT GLEW_GET_FUN(__glewGetVertexArrayIntegervEXT)
  7304. #define glGetVertexArrayPointeri_vEXT GLEW_GET_FUN(__glewGetVertexArrayPointeri_vEXT)
  7305. #define glGetVertexArrayPointervEXT GLEW_GET_FUN(__glewGetVertexArrayPointervEXT)
  7306. #define glMapNamedBufferEXT GLEW_GET_FUN(__glewMapNamedBufferEXT)
  7307. #define glMapNamedBufferRangeEXT GLEW_GET_FUN(__glewMapNamedBufferRangeEXT)
  7308. #define glMatrixFrustumEXT GLEW_GET_FUN(__glewMatrixFrustumEXT)
  7309. #define glMatrixLoadIdentityEXT GLEW_GET_FUN(__glewMatrixLoadIdentityEXT)
  7310. #define glMatrixLoadTransposedEXT GLEW_GET_FUN(__glewMatrixLoadTransposedEXT)
  7311. #define glMatrixLoadTransposefEXT GLEW_GET_FUN(__glewMatrixLoadTransposefEXT)
  7312. #define glMatrixLoaddEXT GLEW_GET_FUN(__glewMatrixLoaddEXT)
  7313. #define glMatrixLoadfEXT GLEW_GET_FUN(__glewMatrixLoadfEXT)
  7314. #define glMatrixMultTransposedEXT GLEW_GET_FUN(__glewMatrixMultTransposedEXT)
  7315. #define glMatrixMultTransposefEXT GLEW_GET_FUN(__glewMatrixMultTransposefEXT)
  7316. #define glMatrixMultdEXT GLEW_GET_FUN(__glewMatrixMultdEXT)
  7317. #define glMatrixMultfEXT GLEW_GET_FUN(__glewMatrixMultfEXT)
  7318. #define glMatrixOrthoEXT GLEW_GET_FUN(__glewMatrixOrthoEXT)
  7319. #define glMatrixPopEXT GLEW_GET_FUN(__glewMatrixPopEXT)
  7320. #define glMatrixPushEXT GLEW_GET_FUN(__glewMatrixPushEXT)
  7321. #define glMatrixRotatedEXT GLEW_GET_FUN(__glewMatrixRotatedEXT)
  7322. #define glMatrixRotatefEXT GLEW_GET_FUN(__glewMatrixRotatefEXT)
  7323. #define glMatrixScaledEXT GLEW_GET_FUN(__glewMatrixScaledEXT)
  7324. #define glMatrixScalefEXT GLEW_GET_FUN(__glewMatrixScalefEXT)
  7325. #define glMatrixTranslatedEXT GLEW_GET_FUN(__glewMatrixTranslatedEXT)
  7326. #define glMatrixTranslatefEXT GLEW_GET_FUN(__glewMatrixTranslatefEXT)
  7327. #define glMultiTexBufferEXT GLEW_GET_FUN(__glewMultiTexBufferEXT)
  7328. #define glMultiTexCoordPointerEXT GLEW_GET_FUN(__glewMultiTexCoordPointerEXT)
  7329. #define glMultiTexEnvfEXT GLEW_GET_FUN(__glewMultiTexEnvfEXT)
  7330. #define glMultiTexEnvfvEXT GLEW_GET_FUN(__glewMultiTexEnvfvEXT)
  7331. #define glMultiTexEnviEXT GLEW_GET_FUN(__glewMultiTexEnviEXT)
  7332. #define glMultiTexEnvivEXT GLEW_GET_FUN(__glewMultiTexEnvivEXT)
  7333. #define glMultiTexGendEXT GLEW_GET_FUN(__glewMultiTexGendEXT)
  7334. #define glMultiTexGendvEXT GLEW_GET_FUN(__glewMultiTexGendvEXT)
  7335. #define glMultiTexGenfEXT GLEW_GET_FUN(__glewMultiTexGenfEXT)
  7336. #define glMultiTexGenfvEXT GLEW_GET_FUN(__glewMultiTexGenfvEXT)
  7337. #define glMultiTexGeniEXT GLEW_GET_FUN(__glewMultiTexGeniEXT)
  7338. #define glMultiTexGenivEXT GLEW_GET_FUN(__glewMultiTexGenivEXT)
  7339. #define glMultiTexImage1DEXT GLEW_GET_FUN(__glewMultiTexImage1DEXT)
  7340. #define glMultiTexImage2DEXT GLEW_GET_FUN(__glewMultiTexImage2DEXT)
  7341. #define glMultiTexImage3DEXT GLEW_GET_FUN(__glewMultiTexImage3DEXT)
  7342. #define glMultiTexParameterIivEXT GLEW_GET_FUN(__glewMultiTexParameterIivEXT)
  7343. #define glMultiTexParameterIuivEXT GLEW_GET_FUN(__glewMultiTexParameterIuivEXT)
  7344. #define glMultiTexParameterfEXT GLEW_GET_FUN(__glewMultiTexParameterfEXT)
  7345. #define glMultiTexParameterfvEXT GLEW_GET_FUN(__glewMultiTexParameterfvEXT)
  7346. #define glMultiTexParameteriEXT GLEW_GET_FUN(__glewMultiTexParameteriEXT)
  7347. #define glMultiTexParameterivEXT GLEW_GET_FUN(__glewMultiTexParameterivEXT)
  7348. #define glMultiTexRenderbufferEXT GLEW_GET_FUN(__glewMultiTexRenderbufferEXT)
  7349. #define glMultiTexSubImage1DEXT GLEW_GET_FUN(__glewMultiTexSubImage1DEXT)
  7350. #define glMultiTexSubImage2DEXT GLEW_GET_FUN(__glewMultiTexSubImage2DEXT)
  7351. #define glMultiTexSubImage3DEXT GLEW_GET_FUN(__glewMultiTexSubImage3DEXT)
  7352. #define glNamedBufferDataEXT GLEW_GET_FUN(__glewNamedBufferDataEXT)
  7353. #define glNamedBufferSubDataEXT GLEW_GET_FUN(__glewNamedBufferSubDataEXT)
  7354. #define glNamedCopyBufferSubDataEXT GLEW_GET_FUN(__glewNamedCopyBufferSubDataEXT)
  7355. #define glNamedFramebufferRenderbufferEXT GLEW_GET_FUN(__glewNamedFramebufferRenderbufferEXT)
  7356. #define glNamedFramebufferTexture1DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture1DEXT)
  7357. #define glNamedFramebufferTexture2DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture2DEXT)
  7358. #define glNamedFramebufferTexture3DEXT GLEW_GET_FUN(__glewNamedFramebufferTexture3DEXT)
  7359. #define glNamedFramebufferTextureEXT GLEW_GET_FUN(__glewNamedFramebufferTextureEXT)
  7360. #define glNamedFramebufferTextureFaceEXT GLEW_GET_FUN(__glewNamedFramebufferTextureFaceEXT)
  7361. #define glNamedFramebufferTextureLayerEXT GLEW_GET_FUN(__glewNamedFramebufferTextureLayerEXT)
  7362. #define glNamedProgramLocalParameter4dEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dEXT)
  7363. #define glNamedProgramLocalParameter4dvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4dvEXT)
  7364. #define glNamedProgramLocalParameter4fEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fEXT)
  7365. #define glNamedProgramLocalParameter4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameter4fvEXT)
  7366. #define glNamedProgramLocalParameterI4iEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4iEXT)
  7367. #define glNamedProgramLocalParameterI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4ivEXT)
  7368. #define glNamedProgramLocalParameterI4uiEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uiEXT)
  7369. #define glNamedProgramLocalParameterI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParameterI4uivEXT)
  7370. #define glNamedProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewNamedProgramLocalParameters4fvEXT)
  7371. #define glNamedProgramLocalParametersI4ivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4ivEXT)
  7372. #define glNamedProgramLocalParametersI4uivEXT GLEW_GET_FUN(__glewNamedProgramLocalParametersI4uivEXT)
  7373. #define glNamedProgramStringEXT GLEW_GET_FUN(__glewNamedProgramStringEXT)
  7374. #define glNamedRenderbufferStorageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageEXT)
  7375. #define glNamedRenderbufferStorageMultisampleCoverageEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleCoverageEXT)
  7376. #define glNamedRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewNamedRenderbufferStorageMultisampleEXT)
  7377. #define glProgramUniform1fEXT GLEW_GET_FUN(__glewProgramUniform1fEXT)
  7378. #define glProgramUniform1fvEXT GLEW_GET_FUN(__glewProgramUniform1fvEXT)
  7379. #define glProgramUniform1iEXT GLEW_GET_FUN(__glewProgramUniform1iEXT)
  7380. #define glProgramUniform1ivEXT GLEW_GET_FUN(__glewProgramUniform1ivEXT)
  7381. #define glProgramUniform1uiEXT GLEW_GET_FUN(__glewProgramUniform1uiEXT)
  7382. #define glProgramUniform1uivEXT GLEW_GET_FUN(__glewProgramUniform1uivEXT)
  7383. #define glProgramUniform2fEXT GLEW_GET_FUN(__glewProgramUniform2fEXT)
  7384. #define glProgramUniform2fvEXT GLEW_GET_FUN(__glewProgramUniform2fvEXT)
  7385. #define glProgramUniform2iEXT GLEW_GET_FUN(__glewProgramUniform2iEXT)
  7386. #define glProgramUniform2ivEXT GLEW_GET_FUN(__glewProgramUniform2ivEXT)
  7387. #define glProgramUniform2uiEXT GLEW_GET_FUN(__glewProgramUniform2uiEXT)
  7388. #define glProgramUniform2uivEXT GLEW_GET_FUN(__glewProgramUniform2uivEXT)
  7389. #define glProgramUniform3fEXT GLEW_GET_FUN(__glewProgramUniform3fEXT)
  7390. #define glProgramUniform3fvEXT GLEW_GET_FUN(__glewProgramUniform3fvEXT)
  7391. #define glProgramUniform3iEXT GLEW_GET_FUN(__glewProgramUniform3iEXT)
  7392. #define glProgramUniform3ivEXT GLEW_GET_FUN(__glewProgramUniform3ivEXT)
  7393. #define glProgramUniform3uiEXT GLEW_GET_FUN(__glewProgramUniform3uiEXT)
  7394. #define glProgramUniform3uivEXT GLEW_GET_FUN(__glewProgramUniform3uivEXT)
  7395. #define glProgramUniform4fEXT GLEW_GET_FUN(__glewProgramUniform4fEXT)
  7396. #define glProgramUniform4fvEXT GLEW_GET_FUN(__glewProgramUniform4fvEXT)
  7397. #define glProgramUniform4iEXT GLEW_GET_FUN(__glewProgramUniform4iEXT)
  7398. #define glProgramUniform4ivEXT GLEW_GET_FUN(__glewProgramUniform4ivEXT)
  7399. #define glProgramUniform4uiEXT GLEW_GET_FUN(__glewProgramUniform4uiEXT)
  7400. #define glProgramUniform4uivEXT GLEW_GET_FUN(__glewProgramUniform4uivEXT)
  7401. #define glProgramUniformMatrix2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2fvEXT)
  7402. #define glProgramUniformMatrix2x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x3fvEXT)
  7403. #define glProgramUniformMatrix2x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix2x4fvEXT)
  7404. #define glProgramUniformMatrix3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3fvEXT)
  7405. #define glProgramUniformMatrix3x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x2fvEXT)
  7406. #define glProgramUniformMatrix3x4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix3x4fvEXT)
  7407. #define glProgramUniformMatrix4fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4fvEXT)
  7408. #define glProgramUniformMatrix4x2fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x2fvEXT)
  7409. #define glProgramUniformMatrix4x3fvEXT GLEW_GET_FUN(__glewProgramUniformMatrix4x3fvEXT)
  7410. #define glPushClientAttribDefaultEXT GLEW_GET_FUN(__glewPushClientAttribDefaultEXT)
  7411. #define glTextureBufferEXT GLEW_GET_FUN(__glewTextureBufferEXT)
  7412. #define glTextureImage1DEXT GLEW_GET_FUN(__glewTextureImage1DEXT)
  7413. #define glTextureImage2DEXT GLEW_GET_FUN(__glewTextureImage2DEXT)
  7414. #define glTextureImage3DEXT GLEW_GET_FUN(__glewTextureImage3DEXT)
  7415. #define glTextureParameterIivEXT GLEW_GET_FUN(__glewTextureParameterIivEXT)
  7416. #define glTextureParameterIuivEXT GLEW_GET_FUN(__glewTextureParameterIuivEXT)
  7417. #define glTextureParameterfEXT GLEW_GET_FUN(__glewTextureParameterfEXT)
  7418. #define glTextureParameterfvEXT GLEW_GET_FUN(__glewTextureParameterfvEXT)
  7419. #define glTextureParameteriEXT GLEW_GET_FUN(__glewTextureParameteriEXT)
  7420. #define glTextureParameterivEXT GLEW_GET_FUN(__glewTextureParameterivEXT)
  7421. #define glTextureRenderbufferEXT GLEW_GET_FUN(__glewTextureRenderbufferEXT)
  7422. #define glTextureSubImage1DEXT GLEW_GET_FUN(__glewTextureSubImage1DEXT)
  7423. #define glTextureSubImage2DEXT GLEW_GET_FUN(__glewTextureSubImage2DEXT)
  7424. #define glTextureSubImage3DEXT GLEW_GET_FUN(__glewTextureSubImage3DEXT)
  7425. #define glUnmapNamedBufferEXT GLEW_GET_FUN(__glewUnmapNamedBufferEXT)
  7426. #define glVertexArrayColorOffsetEXT GLEW_GET_FUN(__glewVertexArrayColorOffsetEXT)
  7427. #define glVertexArrayEdgeFlagOffsetEXT GLEW_GET_FUN(__glewVertexArrayEdgeFlagOffsetEXT)
  7428. #define glVertexArrayFogCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayFogCoordOffsetEXT)
  7429. #define glVertexArrayIndexOffsetEXT GLEW_GET_FUN(__glewVertexArrayIndexOffsetEXT)
  7430. #define glVertexArrayMultiTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayMultiTexCoordOffsetEXT)
  7431. #define glVertexArrayNormalOffsetEXT GLEW_GET_FUN(__glewVertexArrayNormalOffsetEXT)
  7432. #define glVertexArraySecondaryColorOffsetEXT GLEW_GET_FUN(__glewVertexArraySecondaryColorOffsetEXT)
  7433. #define glVertexArrayTexCoordOffsetEXT GLEW_GET_FUN(__glewVertexArrayTexCoordOffsetEXT)
  7434. #define glVertexArrayVertexAttribIOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribIOffsetEXT)
  7435. #define glVertexArrayVertexAttribOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribOffsetEXT)
  7436. #define glVertexArrayVertexOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexOffsetEXT)
  7437. #define GLEW_EXT_direct_state_access GLEW_GET_VAR(__GLEW_EXT_direct_state_access)
  7438. #endif /* !GL_EXT_direct_state_access */
  7439. /* -------------------------- GL_EXT_draw_buffers2 ------------------------- */
  7440. #if !defined(GL_EXT_draw_buffers2)
  7441. #define GL_EXT_draw_buffers2 1
  7442. typedef void (GLAPIENTRY * PFNGLCOLORMASKINDEXEDEXTPROC) (GLuint buf, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  7443. typedef void (GLAPIENTRY * PFNGLDISABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  7444. typedef void (GLAPIENTRY * PFNGLENABLEINDEXEDEXTPROC) (GLenum target, GLuint index);
  7445. typedef void (GLAPIENTRY * PFNGLGETBOOLEANINDEXEDVEXTPROC) (GLenum value, GLuint index, GLboolean* data);
  7446. typedef void (GLAPIENTRY * PFNGLGETINTEGERINDEXEDVEXTPROC) (GLenum value, GLuint index, GLint* data);
  7447. typedef GLboolean (GLAPIENTRY * PFNGLISENABLEDINDEXEDEXTPROC) (GLenum target, GLuint index);
  7448. #define glColorMaskIndexedEXT GLEW_GET_FUN(__glewColorMaskIndexedEXT)
  7449. #define glDisableIndexedEXT GLEW_GET_FUN(__glewDisableIndexedEXT)
  7450. #define glEnableIndexedEXT GLEW_GET_FUN(__glewEnableIndexedEXT)
  7451. #define glGetBooleanIndexedvEXT GLEW_GET_FUN(__glewGetBooleanIndexedvEXT)
  7452. #define glGetIntegerIndexedvEXT GLEW_GET_FUN(__glewGetIntegerIndexedvEXT)
  7453. #define glIsEnabledIndexedEXT GLEW_GET_FUN(__glewIsEnabledIndexedEXT)
  7454. #define GLEW_EXT_draw_buffers2 GLEW_GET_VAR(__GLEW_EXT_draw_buffers2)
  7455. #endif /* !GL_EXT_draw_buffers2 */
  7456. /* ------------------------- GL_EXT_draw_instanced ------------------------- */
  7457. #if !defined(GL_EXT_draw_instanced)
  7458. #define GL_EXT_draw_instanced 1
  7459. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  7460. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei primcount);
  7461. #define glDrawArraysInstancedEXT GLEW_GET_FUN(__glewDrawArraysInstancedEXT)
  7462. #define glDrawElementsInstancedEXT GLEW_GET_FUN(__glewDrawElementsInstancedEXT)
  7463. #define GLEW_EXT_draw_instanced GLEW_GET_VAR(__GLEW_EXT_draw_instanced)
  7464. #endif /* !GL_EXT_draw_instanced */
  7465. /* ----------------------- GL_EXT_draw_range_elements ---------------------- */
  7466. #if !defined(GL_EXT_draw_range_elements)
  7467. #define GL_EXT_draw_range_elements 1
  7468. #define GL_MAX_ELEMENTS_VERTICES_EXT 0x80E8
  7469. #define GL_MAX_ELEMENTS_INDICES_EXT 0x80E9
  7470. typedef void (GLAPIENTRY * PFNGLDRAWRANGEELEMENTSEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices);
  7471. #define glDrawRangeElementsEXT GLEW_GET_FUN(__glewDrawRangeElementsEXT)
  7472. #define GLEW_EXT_draw_range_elements GLEW_GET_VAR(__GLEW_EXT_draw_range_elements)
  7473. #endif /* !GL_EXT_draw_range_elements */
  7474. /* ---------------------------- GL_EXT_fog_coord --------------------------- */
  7475. #if !defined(GL_EXT_fog_coord)
  7476. #define GL_EXT_fog_coord 1
  7477. #define GL_FOG_COORDINATE_SOURCE_EXT 0x8450
  7478. #define GL_FOG_COORDINATE_EXT 0x8451
  7479. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  7480. #define GL_CURRENT_FOG_COORDINATE_EXT 0x8453
  7481. #define GL_FOG_COORDINATE_ARRAY_TYPE_EXT 0x8454
  7482. #define GL_FOG_COORDINATE_ARRAY_STRIDE_EXT 0x8455
  7483. #define GL_FOG_COORDINATE_ARRAY_POINTER_EXT 0x8456
  7484. #define GL_FOG_COORDINATE_ARRAY_EXT 0x8457
  7485. typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTEREXTPROC) (GLenum type, GLsizei stride, const GLvoid *pointer);
  7486. typedef void (GLAPIENTRY * PFNGLFOGCOORDDEXTPROC) (GLdouble coord);
  7487. typedef void (GLAPIENTRY * PFNGLFOGCOORDDVEXTPROC) (const GLdouble *coord);
  7488. typedef void (GLAPIENTRY * PFNGLFOGCOORDFEXTPROC) (GLfloat coord);
  7489. typedef void (GLAPIENTRY * PFNGLFOGCOORDFVEXTPROC) (const GLfloat *coord);
  7490. #define glFogCoordPointerEXT GLEW_GET_FUN(__glewFogCoordPointerEXT)
  7491. #define glFogCoorddEXT GLEW_GET_FUN(__glewFogCoorddEXT)
  7492. #define glFogCoorddvEXT GLEW_GET_FUN(__glewFogCoorddvEXT)
  7493. #define glFogCoordfEXT GLEW_GET_FUN(__glewFogCoordfEXT)
  7494. #define glFogCoordfvEXT GLEW_GET_FUN(__glewFogCoordfvEXT)
  7495. #define GLEW_EXT_fog_coord GLEW_GET_VAR(__GLEW_EXT_fog_coord)
  7496. #endif /* !GL_EXT_fog_coord */
  7497. /* ------------------------ GL_EXT_fragment_lighting ----------------------- */
  7498. #if !defined(GL_EXT_fragment_lighting)
  7499. #define GL_EXT_fragment_lighting 1
  7500. #define GL_FRAGMENT_LIGHTING_EXT 0x8400
  7501. #define GL_FRAGMENT_COLOR_MATERIAL_EXT 0x8401
  7502. #define GL_FRAGMENT_COLOR_MATERIAL_FACE_EXT 0x8402
  7503. #define GL_FRAGMENT_COLOR_MATERIAL_PARAMETER_EXT 0x8403
  7504. #define GL_MAX_FRAGMENT_LIGHTS_EXT 0x8404
  7505. #define GL_MAX_ACTIVE_LIGHTS_EXT 0x8405
  7506. #define GL_CURRENT_RASTER_NORMAL_EXT 0x8406
  7507. #define GL_LIGHT_ENV_MODE_EXT 0x8407
  7508. #define GL_FRAGMENT_LIGHT_MODEL_LOCAL_VIEWER_EXT 0x8408
  7509. #define GL_FRAGMENT_LIGHT_MODEL_TWO_SIDE_EXT 0x8409
  7510. #define GL_FRAGMENT_LIGHT_MODEL_AMBIENT_EXT 0x840A
  7511. #define GL_FRAGMENT_LIGHT_MODEL_NORMAL_INTERPOLATION_EXT 0x840B
  7512. #define GL_FRAGMENT_LIGHT0_EXT 0x840C
  7513. #define GL_FRAGMENT_LIGHT7_EXT 0x8413
  7514. typedef void (GLAPIENTRY * PFNGLFRAGMENTCOLORMATERIALEXTPROC) (GLenum face, GLenum mode);
  7515. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFEXTPROC) (GLenum pname, GLfloat param);
  7516. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVEXTPROC) (GLenum pname, GLfloat* params);
  7517. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIEXTPROC) (GLenum pname, GLint param);
  7518. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVEXTPROC) (GLenum pname, GLint* params);
  7519. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFEXTPROC) (GLenum light, GLenum pname, GLfloat param);
  7520. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params);
  7521. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIEXTPROC) (GLenum light, GLenum pname, GLint param);
  7522. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params);
  7523. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFEXTPROC) (GLenum face, GLenum pname, const GLfloat param);
  7524. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params);
  7525. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIEXTPROC) (GLenum face, GLenum pname, const GLint param);
  7526. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params);
  7527. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTFVEXTPROC) (GLenum light, GLenum pname, GLfloat* params);
  7528. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTIVEXTPROC) (GLenum light, GLenum pname, GLint* params);
  7529. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVEXTPROC) (GLenum face, GLenum pname, const GLfloat* params);
  7530. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVEXTPROC) (GLenum face, GLenum pname, const GLint* params);
  7531. typedef void (GLAPIENTRY * PFNGLLIGHTENVIEXTPROC) (GLenum pname, GLint param);
  7532. #define glFragmentColorMaterialEXT GLEW_GET_FUN(__glewFragmentColorMaterialEXT)
  7533. #define glFragmentLightModelfEXT GLEW_GET_FUN(__glewFragmentLightModelfEXT)
  7534. #define glFragmentLightModelfvEXT GLEW_GET_FUN(__glewFragmentLightModelfvEXT)
  7535. #define glFragmentLightModeliEXT GLEW_GET_FUN(__glewFragmentLightModeliEXT)
  7536. #define glFragmentLightModelivEXT GLEW_GET_FUN(__glewFragmentLightModelivEXT)
  7537. #define glFragmentLightfEXT GLEW_GET_FUN(__glewFragmentLightfEXT)
  7538. #define glFragmentLightfvEXT GLEW_GET_FUN(__glewFragmentLightfvEXT)
  7539. #define glFragmentLightiEXT GLEW_GET_FUN(__glewFragmentLightiEXT)
  7540. #define glFragmentLightivEXT GLEW_GET_FUN(__glewFragmentLightivEXT)
  7541. #define glFragmentMaterialfEXT GLEW_GET_FUN(__glewFragmentMaterialfEXT)
  7542. #define glFragmentMaterialfvEXT GLEW_GET_FUN(__glewFragmentMaterialfvEXT)
  7543. #define glFragmentMaterialiEXT GLEW_GET_FUN(__glewFragmentMaterialiEXT)
  7544. #define glFragmentMaterialivEXT GLEW_GET_FUN(__glewFragmentMaterialivEXT)
  7545. #define glGetFragmentLightfvEXT GLEW_GET_FUN(__glewGetFragmentLightfvEXT)
  7546. #define glGetFragmentLightivEXT GLEW_GET_FUN(__glewGetFragmentLightivEXT)
  7547. #define glGetFragmentMaterialfvEXT GLEW_GET_FUN(__glewGetFragmentMaterialfvEXT)
  7548. #define glGetFragmentMaterialivEXT GLEW_GET_FUN(__glewGetFragmentMaterialivEXT)
  7549. #define glLightEnviEXT GLEW_GET_FUN(__glewLightEnviEXT)
  7550. #define GLEW_EXT_fragment_lighting GLEW_GET_VAR(__GLEW_EXT_fragment_lighting)
  7551. #endif /* !GL_EXT_fragment_lighting */
  7552. /* ------------------------ GL_EXT_framebuffer_blit ------------------------ */
  7553. #if !defined(GL_EXT_framebuffer_blit)
  7554. #define GL_EXT_framebuffer_blit 1
  7555. #define GL_DRAW_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7556. #define GL_READ_FRAMEBUFFER_EXT 0x8CA8
  7557. #define GL_DRAW_FRAMEBUFFER_EXT 0x8CA9
  7558. #define GL_READ_FRAMEBUFFER_BINDING_EXT 0x8CAA
  7559. typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFEREXTPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  7560. #define glBlitFramebufferEXT GLEW_GET_FUN(__glewBlitFramebufferEXT)
  7561. #define GLEW_EXT_framebuffer_blit GLEW_GET_VAR(__GLEW_EXT_framebuffer_blit)
  7562. #endif /* !GL_EXT_framebuffer_blit */
  7563. /* --------------------- GL_EXT_framebuffer_multisample -------------------- */
  7564. #if !defined(GL_EXT_framebuffer_multisample)
  7565. #define GL_EXT_framebuffer_multisample 1
  7566. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  7567. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  7568. #define GL_MAX_SAMPLES_EXT 0x8D57
  7569. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  7570. #define glRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewRenderbufferStorageMultisampleEXT)
  7571. #define GLEW_EXT_framebuffer_multisample GLEW_GET_VAR(__GLEW_EXT_framebuffer_multisample)
  7572. #endif /* !GL_EXT_framebuffer_multisample */
  7573. /* --------------- GL_EXT_framebuffer_multisample_blit_scaled -------------- */
  7574. #if !defined(GL_EXT_framebuffer_multisample_blit_scaled)
  7575. #define GL_EXT_framebuffer_multisample_blit_scaled 1
  7576. #define GL_SCALED_RESOLVE_FASTEST_EXT 0x90BA
  7577. #define GL_SCALED_RESOLVE_NICEST_EXT 0x90BB
  7578. #define GLEW_EXT_framebuffer_multisample_blit_scaled GLEW_GET_VAR(__GLEW_EXT_framebuffer_multisample_blit_scaled)
  7579. #endif /* !GL_EXT_framebuffer_multisample_blit_scaled */
  7580. /* ----------------------- GL_EXT_framebuffer_object ----------------------- */
  7581. #if !defined(GL_EXT_framebuffer_object)
  7582. #define GL_EXT_framebuffer_object 1
  7583. #define GL_INVALID_FRAMEBUFFER_OPERATION_EXT 0x0506
  7584. #define GL_MAX_RENDERBUFFER_SIZE_EXT 0x84E8
  7585. #define GL_FRAMEBUFFER_BINDING_EXT 0x8CA6
  7586. #define GL_RENDERBUFFER_BINDING_EXT 0x8CA7
  7587. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_EXT 0x8CD0
  7588. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_EXT 0x8CD1
  7589. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_EXT 0x8CD2
  7590. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_EXT 0x8CD3
  7591. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_EXT 0x8CD4
  7592. #define GL_FRAMEBUFFER_COMPLETE_EXT 0x8CD5
  7593. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_EXT 0x8CD6
  7594. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_EXT 0x8CD7
  7595. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_EXT 0x8CD9
  7596. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_EXT 0x8CDA
  7597. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_EXT 0x8CDB
  7598. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_EXT 0x8CDC
  7599. #define GL_FRAMEBUFFER_UNSUPPORTED_EXT 0x8CDD
  7600. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  7601. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  7602. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  7603. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  7604. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  7605. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  7606. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  7607. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  7608. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  7609. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  7610. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  7611. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  7612. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  7613. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  7614. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  7615. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  7616. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  7617. #define GL_DEPTH_ATTACHMENT_EXT 0x8D00
  7618. #define GL_STENCIL_ATTACHMENT_EXT 0x8D20
  7619. #define GL_FRAMEBUFFER_EXT 0x8D40
  7620. #define GL_RENDERBUFFER_EXT 0x8D41
  7621. #define GL_RENDERBUFFER_WIDTH_EXT 0x8D42
  7622. #define GL_RENDERBUFFER_HEIGHT_EXT 0x8D43
  7623. #define GL_RENDERBUFFER_INTERNAL_FORMAT_EXT 0x8D44
  7624. #define GL_STENCIL_INDEX1_EXT 0x8D46
  7625. #define GL_STENCIL_INDEX4_EXT 0x8D47
  7626. #define GL_STENCIL_INDEX8_EXT 0x8D48
  7627. #define GL_STENCIL_INDEX16_EXT 0x8D49
  7628. #define GL_RENDERBUFFER_RED_SIZE_EXT 0x8D50
  7629. #define GL_RENDERBUFFER_GREEN_SIZE_EXT 0x8D51
  7630. #define GL_RENDERBUFFER_BLUE_SIZE_EXT 0x8D52
  7631. #define GL_RENDERBUFFER_ALPHA_SIZE_EXT 0x8D53
  7632. #define GL_RENDERBUFFER_DEPTH_SIZE_EXT 0x8D54
  7633. #define GL_RENDERBUFFER_STENCIL_SIZE_EXT 0x8D55
  7634. typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFEREXTPROC) (GLenum target, GLuint framebuffer);
  7635. typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFEREXTPROC) (GLenum target, GLuint renderbuffer);
  7636. typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC) (GLenum target);
  7637. typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSEXTPROC) (GLsizei n, const GLuint* framebuffers);
  7638. typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSEXTPROC) (GLsizei n, const GLuint* renderbuffers);
  7639. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  7640. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE1DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7641. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  7642. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  7643. typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSEXTPROC) (GLsizei n, GLuint* framebuffers);
  7644. typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSEXTPROC) (GLsizei n, GLuint* renderbuffers);
  7645. typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPEXTPROC) (GLenum target);
  7646. typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
  7647. typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  7648. typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFEREXTPROC) (GLuint framebuffer);
  7649. typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFEREXTPROC) (GLuint renderbuffer);
  7650. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEEXTPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  7651. #define glBindFramebufferEXT GLEW_GET_FUN(__glewBindFramebufferEXT)
  7652. #define glBindRenderbufferEXT GLEW_GET_FUN(__glewBindRenderbufferEXT)
  7653. #define glCheckFramebufferStatusEXT GLEW_GET_FUN(__glewCheckFramebufferStatusEXT)
  7654. #define glDeleteFramebuffersEXT GLEW_GET_FUN(__glewDeleteFramebuffersEXT)
  7655. #define glDeleteRenderbuffersEXT GLEW_GET_FUN(__glewDeleteRenderbuffersEXT)
  7656. #define glFramebufferRenderbufferEXT GLEW_GET_FUN(__glewFramebufferRenderbufferEXT)
  7657. #define glFramebufferTexture1DEXT GLEW_GET_FUN(__glewFramebufferTexture1DEXT)
  7658. #define glFramebufferTexture2DEXT GLEW_GET_FUN(__glewFramebufferTexture2DEXT)
  7659. #define glFramebufferTexture3DEXT GLEW_GET_FUN(__glewFramebufferTexture3DEXT)
  7660. #define glGenFramebuffersEXT GLEW_GET_FUN(__glewGenFramebuffersEXT)
  7661. #define glGenRenderbuffersEXT GLEW_GET_FUN(__glewGenRenderbuffersEXT)
  7662. #define glGenerateMipmapEXT GLEW_GET_FUN(__glewGenerateMipmapEXT)
  7663. #define glGetFramebufferAttachmentParameterivEXT GLEW_GET_FUN(__glewGetFramebufferAttachmentParameterivEXT)
  7664. #define glGetRenderbufferParameterivEXT GLEW_GET_FUN(__glewGetRenderbufferParameterivEXT)
  7665. #define glIsFramebufferEXT GLEW_GET_FUN(__glewIsFramebufferEXT)
  7666. #define glIsRenderbufferEXT GLEW_GET_FUN(__glewIsRenderbufferEXT)
  7667. #define glRenderbufferStorageEXT GLEW_GET_FUN(__glewRenderbufferStorageEXT)
  7668. #define GLEW_EXT_framebuffer_object GLEW_GET_VAR(__GLEW_EXT_framebuffer_object)
  7669. #endif /* !GL_EXT_framebuffer_object */
  7670. /* ------------------------ GL_EXT_framebuffer_sRGB ------------------------ */
  7671. #if !defined(GL_EXT_framebuffer_sRGB)
  7672. #define GL_EXT_framebuffer_sRGB 1
  7673. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  7674. #define GL_FRAMEBUFFER_SRGB_CAPABLE_EXT 0x8DBA
  7675. #define GLEW_EXT_framebuffer_sRGB GLEW_GET_VAR(__GLEW_EXT_framebuffer_sRGB)
  7676. #endif /* !GL_EXT_framebuffer_sRGB */
  7677. /* ------------------------ GL_EXT_geometry_shader4 ------------------------ */
  7678. #if !defined(GL_EXT_geometry_shader4)
  7679. #define GL_EXT_geometry_shader4 1
  7680. #define GL_LINES_ADJACENCY_EXT 0xA
  7681. #define GL_LINE_STRIP_ADJACENCY_EXT 0xB
  7682. #define GL_TRIANGLES_ADJACENCY_EXT 0xC
  7683. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0xD
  7684. #define GL_PROGRAM_POINT_SIZE_EXT 0x8642
  7685. #define GL_MAX_VARYING_COMPONENTS_EXT 0x8B4B
  7686. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  7687. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_EXT 0x8CD4
  7688. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  7689. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  7690. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_COUNT_EXT 0x8DA9
  7691. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  7692. #define GL_GEOMETRY_VERTICES_OUT_EXT 0x8DDA
  7693. #define GL_GEOMETRY_INPUT_TYPE_EXT 0x8DDB
  7694. #define GL_GEOMETRY_OUTPUT_TYPE_EXT 0x8DDC
  7695. #define GL_MAX_GEOMETRY_VARYING_COMPONENTS_EXT 0x8DDD
  7696. #define GL_MAX_VERTEX_VARYING_COMPONENTS_EXT 0x8DDE
  7697. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  7698. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  7699. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  7700. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  7701. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLenum face);
  7702. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  7703. #define glFramebufferTextureEXT GLEW_GET_FUN(__glewFramebufferTextureEXT)
  7704. #define glFramebufferTextureFaceEXT GLEW_GET_FUN(__glewFramebufferTextureFaceEXT)
  7705. #define glProgramParameteriEXT GLEW_GET_FUN(__glewProgramParameteriEXT)
  7706. #define GLEW_EXT_geometry_shader4 GLEW_GET_VAR(__GLEW_EXT_geometry_shader4)
  7707. #endif /* !GL_EXT_geometry_shader4 */
  7708. /* --------------------- GL_EXT_gpu_program_parameters --------------------- */
  7709. #if !defined(GL_EXT_gpu_program_parameters)
  7710. #define GL_EXT_gpu_program_parameters 1
  7711. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
  7712. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC) (GLenum target, GLuint index, GLsizei count, const GLfloat* params);
  7713. #define glProgramEnvParameters4fvEXT GLEW_GET_FUN(__glewProgramEnvParameters4fvEXT)
  7714. #define glProgramLocalParameters4fvEXT GLEW_GET_FUN(__glewProgramLocalParameters4fvEXT)
  7715. #define GLEW_EXT_gpu_program_parameters GLEW_GET_VAR(__GLEW_EXT_gpu_program_parameters)
  7716. #endif /* !GL_EXT_gpu_program_parameters */
  7717. /* --------------------------- GL_EXT_gpu_shader4 -------------------------- */
  7718. #if !defined(GL_EXT_gpu_shader4)
  7719. #define GL_EXT_gpu_shader4 1
  7720. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_EXT 0x88FD
  7721. #define GL_SAMPLER_1D_ARRAY_EXT 0x8DC0
  7722. #define GL_SAMPLER_2D_ARRAY_EXT 0x8DC1
  7723. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  7724. #define GL_SAMPLER_1D_ARRAY_SHADOW_EXT 0x8DC3
  7725. #define GL_SAMPLER_2D_ARRAY_SHADOW_EXT 0x8DC4
  7726. #define GL_SAMPLER_CUBE_SHADOW_EXT 0x8DC5
  7727. #define GL_UNSIGNED_INT_VEC2_EXT 0x8DC6
  7728. #define GL_UNSIGNED_INT_VEC3_EXT 0x8DC7
  7729. #define GL_UNSIGNED_INT_VEC4_EXT 0x8DC8
  7730. #define GL_INT_SAMPLER_1D_EXT 0x8DC9
  7731. #define GL_INT_SAMPLER_2D_EXT 0x8DCA
  7732. #define GL_INT_SAMPLER_3D_EXT 0x8DCB
  7733. #define GL_INT_SAMPLER_CUBE_EXT 0x8DCC
  7734. #define GL_INT_SAMPLER_2D_RECT_EXT 0x8DCD
  7735. #define GL_INT_SAMPLER_1D_ARRAY_EXT 0x8DCE
  7736. #define GL_INT_SAMPLER_2D_ARRAY_EXT 0x8DCF
  7737. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  7738. #define GL_UNSIGNED_INT_SAMPLER_1D_EXT 0x8DD1
  7739. #define GL_UNSIGNED_INT_SAMPLER_2D_EXT 0x8DD2
  7740. #define GL_UNSIGNED_INT_SAMPLER_3D_EXT 0x8DD3
  7741. #define GL_UNSIGNED_INT_SAMPLER_CUBE_EXT 0x8DD4
  7742. #define GL_UNSIGNED_INT_SAMPLER_2D_RECT_EXT 0x8DD5
  7743. #define GL_UNSIGNED_INT_SAMPLER_1D_ARRAY_EXT 0x8DD6
  7744. #define GL_UNSIGNED_INT_SAMPLER_2D_ARRAY_EXT 0x8DD7
  7745. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  7746. typedef void (GLAPIENTRY * PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  7747. typedef GLint (GLAPIENTRY * PFNGLGETFRAGDATALOCATIONEXTPROC) (GLuint program, const GLchar *name);
  7748. typedef void (GLAPIENTRY * PFNGLGETUNIFORMUIVEXTPROC) (GLuint program, GLint location, GLuint *params);
  7749. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIIVEXTPROC) (GLuint index, GLenum pname, GLint *params);
  7750. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIUIVEXTPROC) (GLuint index, GLenum pname, GLuint *params);
  7751. typedef void (GLAPIENTRY * PFNGLUNIFORM1UIEXTPROC) (GLint location, GLuint v0);
  7752. typedef void (GLAPIENTRY * PFNGLUNIFORM1UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7753. typedef void (GLAPIENTRY * PFNGLUNIFORM2UIEXTPROC) (GLint location, GLuint v0, GLuint v1);
  7754. typedef void (GLAPIENTRY * PFNGLUNIFORM2UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7755. typedef void (GLAPIENTRY * PFNGLUNIFORM3UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2);
  7756. typedef void (GLAPIENTRY * PFNGLUNIFORM3UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7757. typedef void (GLAPIENTRY * PFNGLUNIFORM4UIEXTPROC) (GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  7758. typedef void (GLAPIENTRY * PFNGLUNIFORM4UIVEXTPROC) (GLint location, GLsizei count, const GLuint *value);
  7759. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IEXTPROC) (GLuint index, GLint x);
  7760. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1IVEXTPROC) (GLuint index, const GLint *v);
  7761. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIEXTPROC) (GLuint index, GLuint x);
  7762. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI1UIVEXTPROC) (GLuint index, const GLuint *v);
  7763. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IEXTPROC) (GLuint index, GLint x, GLint y);
  7764. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2IVEXTPROC) (GLuint index, const GLint *v);
  7765. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIEXTPROC) (GLuint index, GLuint x, GLuint y);
  7766. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI2UIVEXTPROC) (GLuint index, const GLuint *v);
  7767. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IEXTPROC) (GLuint index, GLint x, GLint y, GLint z);
  7768. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3IVEXTPROC) (GLuint index, const GLint *v);
  7769. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z);
  7770. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI3UIVEXTPROC) (GLuint index, const GLuint *v);
  7771. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4BVEXTPROC) (GLuint index, const GLbyte *v);
  7772. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IEXTPROC) (GLuint index, GLint x, GLint y, GLint z, GLint w);
  7773. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4IVEXTPROC) (GLuint index, const GLint *v);
  7774. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4SVEXTPROC) (GLuint index, const GLshort *v);
  7775. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UBVEXTPROC) (GLuint index, const GLubyte *v);
  7776. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIEXTPROC) (GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  7777. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4UIVEXTPROC) (GLuint index, const GLuint *v);
  7778. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBI4USVEXTPROC) (GLuint index, const GLushort *v);
  7779. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  7780. #define glBindFragDataLocationEXT GLEW_GET_FUN(__glewBindFragDataLocationEXT)
  7781. #define glGetFragDataLocationEXT GLEW_GET_FUN(__glewGetFragDataLocationEXT)
  7782. #define glGetUniformuivEXT GLEW_GET_FUN(__glewGetUniformuivEXT)
  7783. #define glGetVertexAttribIivEXT GLEW_GET_FUN(__glewGetVertexAttribIivEXT)
  7784. #define glGetVertexAttribIuivEXT GLEW_GET_FUN(__glewGetVertexAttribIuivEXT)
  7785. #define glUniform1uiEXT GLEW_GET_FUN(__glewUniform1uiEXT)
  7786. #define glUniform1uivEXT GLEW_GET_FUN(__glewUniform1uivEXT)
  7787. #define glUniform2uiEXT GLEW_GET_FUN(__glewUniform2uiEXT)
  7788. #define glUniform2uivEXT GLEW_GET_FUN(__glewUniform2uivEXT)
  7789. #define glUniform3uiEXT GLEW_GET_FUN(__glewUniform3uiEXT)
  7790. #define glUniform3uivEXT GLEW_GET_FUN(__glewUniform3uivEXT)
  7791. #define glUniform4uiEXT GLEW_GET_FUN(__glewUniform4uiEXT)
  7792. #define glUniform4uivEXT GLEW_GET_FUN(__glewUniform4uivEXT)
  7793. #define glVertexAttribI1iEXT GLEW_GET_FUN(__glewVertexAttribI1iEXT)
  7794. #define glVertexAttribI1ivEXT GLEW_GET_FUN(__glewVertexAttribI1ivEXT)
  7795. #define glVertexAttribI1uiEXT GLEW_GET_FUN(__glewVertexAttribI1uiEXT)
  7796. #define glVertexAttribI1uivEXT GLEW_GET_FUN(__glewVertexAttribI1uivEXT)
  7797. #define glVertexAttribI2iEXT GLEW_GET_FUN(__glewVertexAttribI2iEXT)
  7798. #define glVertexAttribI2ivEXT GLEW_GET_FUN(__glewVertexAttribI2ivEXT)
  7799. #define glVertexAttribI2uiEXT GLEW_GET_FUN(__glewVertexAttribI2uiEXT)
  7800. #define glVertexAttribI2uivEXT GLEW_GET_FUN(__glewVertexAttribI2uivEXT)
  7801. #define glVertexAttribI3iEXT GLEW_GET_FUN(__glewVertexAttribI3iEXT)
  7802. #define glVertexAttribI3ivEXT GLEW_GET_FUN(__glewVertexAttribI3ivEXT)
  7803. #define glVertexAttribI3uiEXT GLEW_GET_FUN(__glewVertexAttribI3uiEXT)
  7804. #define glVertexAttribI3uivEXT GLEW_GET_FUN(__glewVertexAttribI3uivEXT)
  7805. #define glVertexAttribI4bvEXT GLEW_GET_FUN(__glewVertexAttribI4bvEXT)
  7806. #define glVertexAttribI4iEXT GLEW_GET_FUN(__glewVertexAttribI4iEXT)
  7807. #define glVertexAttribI4ivEXT GLEW_GET_FUN(__glewVertexAttribI4ivEXT)
  7808. #define glVertexAttribI4svEXT GLEW_GET_FUN(__glewVertexAttribI4svEXT)
  7809. #define glVertexAttribI4ubvEXT GLEW_GET_FUN(__glewVertexAttribI4ubvEXT)
  7810. #define glVertexAttribI4uiEXT GLEW_GET_FUN(__glewVertexAttribI4uiEXT)
  7811. #define glVertexAttribI4uivEXT GLEW_GET_FUN(__glewVertexAttribI4uivEXT)
  7812. #define glVertexAttribI4usvEXT GLEW_GET_FUN(__glewVertexAttribI4usvEXT)
  7813. #define glVertexAttribIPointerEXT GLEW_GET_FUN(__glewVertexAttribIPointerEXT)
  7814. #define GLEW_EXT_gpu_shader4 GLEW_GET_VAR(__GLEW_EXT_gpu_shader4)
  7815. #endif /* !GL_EXT_gpu_shader4 */
  7816. /* ---------------------------- GL_EXT_histogram --------------------------- */
  7817. #if !defined(GL_EXT_histogram)
  7818. #define GL_EXT_histogram 1
  7819. #define GL_HISTOGRAM_EXT 0x8024
  7820. #define GL_PROXY_HISTOGRAM_EXT 0x8025
  7821. #define GL_HISTOGRAM_WIDTH_EXT 0x8026
  7822. #define GL_HISTOGRAM_FORMAT_EXT 0x8027
  7823. #define GL_HISTOGRAM_RED_SIZE_EXT 0x8028
  7824. #define GL_HISTOGRAM_GREEN_SIZE_EXT 0x8029
  7825. #define GL_HISTOGRAM_BLUE_SIZE_EXT 0x802A
  7826. #define GL_HISTOGRAM_ALPHA_SIZE_EXT 0x802B
  7827. #define GL_HISTOGRAM_LUMINANCE_SIZE_EXT 0x802C
  7828. #define GL_HISTOGRAM_SINK_EXT 0x802D
  7829. #define GL_MINMAX_EXT 0x802E
  7830. #define GL_MINMAX_FORMAT_EXT 0x802F
  7831. #define GL_MINMAX_SINK_EXT 0x8030
  7832. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values);
  7833. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
  7834. typedef void (GLAPIENTRY * PFNGLGETHISTOGRAMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  7835. typedef void (GLAPIENTRY * PFNGLGETMINMAXEXTPROC) (GLenum target, GLboolean reset, GLenum format, GLenum type, void* values);
  7836. typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
  7837. typedef void (GLAPIENTRY * PFNGLGETMINMAXPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  7838. typedef void (GLAPIENTRY * PFNGLHISTOGRAMEXTPROC) (GLenum target, GLsizei width, GLenum internalformat, GLboolean sink);
  7839. typedef void (GLAPIENTRY * PFNGLMINMAXEXTPROC) (GLenum target, GLenum internalformat, GLboolean sink);
  7840. typedef void (GLAPIENTRY * PFNGLRESETHISTOGRAMEXTPROC) (GLenum target);
  7841. typedef void (GLAPIENTRY * PFNGLRESETMINMAXEXTPROC) (GLenum target);
  7842. #define glGetHistogramEXT GLEW_GET_FUN(__glewGetHistogramEXT)
  7843. #define glGetHistogramParameterfvEXT GLEW_GET_FUN(__glewGetHistogramParameterfvEXT)
  7844. #define glGetHistogramParameterivEXT GLEW_GET_FUN(__glewGetHistogramParameterivEXT)
  7845. #define glGetMinmaxEXT GLEW_GET_FUN(__glewGetMinmaxEXT)
  7846. #define glGetMinmaxParameterfvEXT GLEW_GET_FUN(__glewGetMinmaxParameterfvEXT)
  7847. #define glGetMinmaxParameterivEXT GLEW_GET_FUN(__glewGetMinmaxParameterivEXT)
  7848. #define glHistogramEXT GLEW_GET_FUN(__glewHistogramEXT)
  7849. #define glMinmaxEXT GLEW_GET_FUN(__glewMinmaxEXT)
  7850. #define glResetHistogramEXT GLEW_GET_FUN(__glewResetHistogramEXT)
  7851. #define glResetMinmaxEXT GLEW_GET_FUN(__glewResetMinmaxEXT)
  7852. #define GLEW_EXT_histogram GLEW_GET_VAR(__GLEW_EXT_histogram)
  7853. #endif /* !GL_EXT_histogram */
  7854. /* ----------------------- GL_EXT_index_array_formats ---------------------- */
  7855. #if !defined(GL_EXT_index_array_formats)
  7856. #define GL_EXT_index_array_formats 1
  7857. #define GLEW_EXT_index_array_formats GLEW_GET_VAR(__GLEW_EXT_index_array_formats)
  7858. #endif /* !GL_EXT_index_array_formats */
  7859. /* --------------------------- GL_EXT_index_func --------------------------- */
  7860. #if !defined(GL_EXT_index_func)
  7861. #define GL_EXT_index_func 1
  7862. typedef void (GLAPIENTRY * PFNGLINDEXFUNCEXTPROC) (GLenum func, GLfloat ref);
  7863. #define glIndexFuncEXT GLEW_GET_FUN(__glewIndexFuncEXT)
  7864. #define GLEW_EXT_index_func GLEW_GET_VAR(__GLEW_EXT_index_func)
  7865. #endif /* !GL_EXT_index_func */
  7866. /* ------------------------- GL_EXT_index_material ------------------------- */
  7867. #if !defined(GL_EXT_index_material)
  7868. #define GL_EXT_index_material 1
  7869. typedef void (GLAPIENTRY * PFNGLINDEXMATERIALEXTPROC) (GLenum face, GLenum mode);
  7870. #define glIndexMaterialEXT GLEW_GET_FUN(__glewIndexMaterialEXT)
  7871. #define GLEW_EXT_index_material GLEW_GET_VAR(__GLEW_EXT_index_material)
  7872. #endif /* !GL_EXT_index_material */
  7873. /* -------------------------- GL_EXT_index_texture ------------------------- */
  7874. #if !defined(GL_EXT_index_texture)
  7875. #define GL_EXT_index_texture 1
  7876. #define GLEW_EXT_index_texture GLEW_GET_VAR(__GLEW_EXT_index_texture)
  7877. #endif /* !GL_EXT_index_texture */
  7878. /* -------------------------- GL_EXT_light_texture ------------------------- */
  7879. #if !defined(GL_EXT_light_texture)
  7880. #define GL_EXT_light_texture 1
  7881. #define GL_FRAGMENT_MATERIAL_EXT 0x8349
  7882. #define GL_FRAGMENT_NORMAL_EXT 0x834A
  7883. #define GL_FRAGMENT_COLOR_EXT 0x834C
  7884. #define GL_ATTENUATION_EXT 0x834D
  7885. #define GL_SHADOW_ATTENUATION_EXT 0x834E
  7886. #define GL_TEXTURE_APPLICATION_MODE_EXT 0x834F
  7887. #define GL_TEXTURE_LIGHT_EXT 0x8350
  7888. #define GL_TEXTURE_MATERIAL_FACE_EXT 0x8351
  7889. #define GL_TEXTURE_MATERIAL_PARAMETER_EXT 0x8352
  7890. #define GL_FRAGMENT_DEPTH_EXT 0x8452
  7891. typedef void (GLAPIENTRY * PFNGLAPPLYTEXTUREEXTPROC) (GLenum mode);
  7892. typedef void (GLAPIENTRY * PFNGLTEXTURELIGHTEXTPROC) (GLenum pname);
  7893. typedef void (GLAPIENTRY * PFNGLTEXTUREMATERIALEXTPROC) (GLenum face, GLenum mode);
  7894. #define glApplyTextureEXT GLEW_GET_FUN(__glewApplyTextureEXT)
  7895. #define glTextureLightEXT GLEW_GET_FUN(__glewTextureLightEXT)
  7896. #define glTextureMaterialEXT GLEW_GET_FUN(__glewTextureMaterialEXT)
  7897. #define GLEW_EXT_light_texture GLEW_GET_VAR(__GLEW_EXT_light_texture)
  7898. #endif /* !GL_EXT_light_texture */
  7899. /* ------------------------- GL_EXT_misc_attribute ------------------------- */
  7900. #if !defined(GL_EXT_misc_attribute)
  7901. #define GL_EXT_misc_attribute 1
  7902. #define GLEW_EXT_misc_attribute GLEW_GET_VAR(__GLEW_EXT_misc_attribute)
  7903. #endif /* !GL_EXT_misc_attribute */
  7904. /* ------------------------ GL_EXT_multi_draw_arrays ----------------------- */
  7905. #if !defined(GL_EXT_multi_draw_arrays)
  7906. #define GL_EXT_multi_draw_arrays 1
  7907. typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
  7908. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount);
  7909. #define glMultiDrawArraysEXT GLEW_GET_FUN(__glewMultiDrawArraysEXT)
  7910. #define glMultiDrawElementsEXT GLEW_GET_FUN(__glewMultiDrawElementsEXT)
  7911. #define GLEW_EXT_multi_draw_arrays GLEW_GET_VAR(__GLEW_EXT_multi_draw_arrays)
  7912. #endif /* !GL_EXT_multi_draw_arrays */
  7913. /* --------------------------- GL_EXT_multisample -------------------------- */
  7914. #if !defined(GL_EXT_multisample)
  7915. #define GL_EXT_multisample 1
  7916. #define GL_MULTISAMPLE_EXT 0x809D
  7917. #define GL_SAMPLE_ALPHA_TO_MASK_EXT 0x809E
  7918. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  7919. #define GL_SAMPLE_MASK_EXT 0x80A0
  7920. #define GL_1PASS_EXT 0x80A1
  7921. #define GL_2PASS_0_EXT 0x80A2
  7922. #define GL_2PASS_1_EXT 0x80A3
  7923. #define GL_4PASS_0_EXT 0x80A4
  7924. #define GL_4PASS_1_EXT 0x80A5
  7925. #define GL_4PASS_2_EXT 0x80A6
  7926. #define GL_4PASS_3_EXT 0x80A7
  7927. #define GL_SAMPLE_BUFFERS_EXT 0x80A8
  7928. #define GL_SAMPLES_EXT 0x80A9
  7929. #define GL_SAMPLE_MASK_VALUE_EXT 0x80AA
  7930. #define GL_SAMPLE_MASK_INVERT_EXT 0x80AB
  7931. #define GL_SAMPLE_PATTERN_EXT 0x80AC
  7932. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  7933. typedef void (GLAPIENTRY * PFNGLSAMPLEMASKEXTPROC) (GLclampf value, GLboolean invert);
  7934. typedef void (GLAPIENTRY * PFNGLSAMPLEPATTERNEXTPROC) (GLenum pattern);
  7935. #define glSampleMaskEXT GLEW_GET_FUN(__glewSampleMaskEXT)
  7936. #define glSamplePatternEXT GLEW_GET_FUN(__glewSamplePatternEXT)
  7937. #define GLEW_EXT_multisample GLEW_GET_VAR(__GLEW_EXT_multisample)
  7938. #endif /* !GL_EXT_multisample */
  7939. /* ---------------------- GL_EXT_packed_depth_stencil ---------------------- */
  7940. #if !defined(GL_EXT_packed_depth_stencil)
  7941. #define GL_EXT_packed_depth_stencil 1
  7942. #define GL_DEPTH_STENCIL_EXT 0x84F9
  7943. #define GL_UNSIGNED_INT_24_8_EXT 0x84FA
  7944. #define GL_DEPTH24_STENCIL8_EXT 0x88F0
  7945. #define GL_TEXTURE_STENCIL_SIZE_EXT 0x88F1
  7946. #define GLEW_EXT_packed_depth_stencil GLEW_GET_VAR(__GLEW_EXT_packed_depth_stencil)
  7947. #endif /* !GL_EXT_packed_depth_stencil */
  7948. /* -------------------------- GL_EXT_packed_float -------------------------- */
  7949. #if !defined(GL_EXT_packed_float)
  7950. #define GL_EXT_packed_float 1
  7951. #define GL_R11F_G11F_B10F_EXT 0x8C3A
  7952. #define GL_UNSIGNED_INT_10F_11F_11F_REV_EXT 0x8C3B
  7953. #define GL_RGBA_SIGNED_COMPONENTS_EXT 0x8C3C
  7954. #define GLEW_EXT_packed_float GLEW_GET_VAR(__GLEW_EXT_packed_float)
  7955. #endif /* !GL_EXT_packed_float */
  7956. /* -------------------------- GL_EXT_packed_pixels ------------------------- */
  7957. #if !defined(GL_EXT_packed_pixels)
  7958. #define GL_EXT_packed_pixels 1
  7959. #define GL_UNSIGNED_BYTE_3_3_2_EXT 0x8032
  7960. #define GL_UNSIGNED_SHORT_4_4_4_4_EXT 0x8033
  7961. #define GL_UNSIGNED_SHORT_5_5_5_1_EXT 0x8034
  7962. #define GL_UNSIGNED_INT_8_8_8_8_EXT 0x8035
  7963. #define GL_UNSIGNED_INT_10_10_10_2_EXT 0x8036
  7964. #define GLEW_EXT_packed_pixels GLEW_GET_VAR(__GLEW_EXT_packed_pixels)
  7965. #endif /* !GL_EXT_packed_pixels */
  7966. /* ------------------------ GL_EXT_paletted_texture ------------------------ */
  7967. #if !defined(GL_EXT_paletted_texture)
  7968. #define GL_EXT_paletted_texture 1
  7969. #define GL_TEXTURE_1D 0x0DE0
  7970. #define GL_TEXTURE_2D 0x0DE1
  7971. #define GL_PROXY_TEXTURE_1D 0x8063
  7972. #define GL_PROXY_TEXTURE_2D 0x8064
  7973. #define GL_TEXTURE_3D_EXT 0x806F
  7974. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  7975. #define GL_COLOR_TABLE_FORMAT_EXT 0x80D8
  7976. #define GL_COLOR_TABLE_WIDTH_EXT 0x80D9
  7977. #define GL_COLOR_TABLE_RED_SIZE_EXT 0x80DA
  7978. #define GL_COLOR_TABLE_GREEN_SIZE_EXT 0x80DB
  7979. #define GL_COLOR_TABLE_BLUE_SIZE_EXT 0x80DC
  7980. #define GL_COLOR_TABLE_ALPHA_SIZE_EXT 0x80DD
  7981. #define GL_COLOR_TABLE_LUMINANCE_SIZE_EXT 0x80DE
  7982. #define GL_COLOR_TABLE_INTENSITY_SIZE_EXT 0x80DF
  7983. #define GL_COLOR_INDEX1_EXT 0x80E2
  7984. #define GL_COLOR_INDEX2_EXT 0x80E3
  7985. #define GL_COLOR_INDEX4_EXT 0x80E4
  7986. #define GL_COLOR_INDEX8_EXT 0x80E5
  7987. #define GL_COLOR_INDEX12_EXT 0x80E6
  7988. #define GL_COLOR_INDEX16_EXT 0x80E7
  7989. #define GL_TEXTURE_INDEX_SIZE_EXT 0x80ED
  7990. #define GL_TEXTURE_CUBE_MAP_ARB 0x8513
  7991. #define GL_PROXY_TEXTURE_CUBE_MAP_ARB 0x851B
  7992. typedef void (GLAPIENTRY * PFNGLCOLORTABLEEXTPROC) (GLenum target, GLenum internalFormat, GLsizei width, GLenum format, GLenum type, const void* data);
  7993. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEEXTPROC) (GLenum target, GLenum format, GLenum type, void* data);
  7994. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVEXTPROC) (GLenum target, GLenum pname, GLfloat* params);
  7995. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  7996. #define glColorTableEXT GLEW_GET_FUN(__glewColorTableEXT)
  7997. #define glGetColorTableEXT GLEW_GET_FUN(__glewGetColorTableEXT)
  7998. #define glGetColorTableParameterfvEXT GLEW_GET_FUN(__glewGetColorTableParameterfvEXT)
  7999. #define glGetColorTableParameterivEXT GLEW_GET_FUN(__glewGetColorTableParameterivEXT)
  8000. #define GLEW_EXT_paletted_texture GLEW_GET_VAR(__GLEW_EXT_paletted_texture)
  8001. #endif /* !GL_EXT_paletted_texture */
  8002. /* ----------------------- GL_EXT_pixel_buffer_object ---------------------- */
  8003. #if !defined(GL_EXT_pixel_buffer_object)
  8004. #define GL_EXT_pixel_buffer_object 1
  8005. #define GL_PIXEL_PACK_BUFFER_EXT 0x88EB
  8006. #define GL_PIXEL_UNPACK_BUFFER_EXT 0x88EC
  8007. #define GL_PIXEL_PACK_BUFFER_BINDING_EXT 0x88ED
  8008. #define GL_PIXEL_UNPACK_BUFFER_BINDING_EXT 0x88EF
  8009. #define GLEW_EXT_pixel_buffer_object GLEW_GET_VAR(__GLEW_EXT_pixel_buffer_object)
  8010. #endif /* !GL_EXT_pixel_buffer_object */
  8011. /* ------------------------- GL_EXT_pixel_transform ------------------------ */
  8012. #if !defined(GL_EXT_pixel_transform)
  8013. #define GL_EXT_pixel_transform 1
  8014. #define GL_PIXEL_TRANSFORM_2D_EXT 0x8330
  8015. #define GL_PIXEL_MAG_FILTER_EXT 0x8331
  8016. #define GL_PIXEL_MIN_FILTER_EXT 0x8332
  8017. #define GL_PIXEL_CUBIC_WEIGHT_EXT 0x8333
  8018. #define GL_CUBIC_EXT 0x8334
  8019. #define GL_AVERAGE_EXT 0x8335
  8020. #define GL_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8336
  8021. #define GL_MAX_PIXEL_TRANSFORM_2D_STACK_DEPTH_EXT 0x8337
  8022. #define GL_PIXEL_TRANSFORM_2D_MATRIX_EXT 0x8338
  8023. typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
  8024. typedef void (GLAPIENTRY * PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
  8025. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFEXTPROC) (GLenum target, GLenum pname, const GLfloat param);
  8026. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC) (GLenum target, GLenum pname, const GLfloat* params);
  8027. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIEXTPROC) (GLenum target, GLenum pname, const GLint param);
  8028. typedef void (GLAPIENTRY * PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC) (GLenum target, GLenum pname, const GLint* params);
  8029. #define glGetPixelTransformParameterfvEXT GLEW_GET_FUN(__glewGetPixelTransformParameterfvEXT)
  8030. #define glGetPixelTransformParameterivEXT GLEW_GET_FUN(__glewGetPixelTransformParameterivEXT)
  8031. #define glPixelTransformParameterfEXT GLEW_GET_FUN(__glewPixelTransformParameterfEXT)
  8032. #define glPixelTransformParameterfvEXT GLEW_GET_FUN(__glewPixelTransformParameterfvEXT)
  8033. #define glPixelTransformParameteriEXT GLEW_GET_FUN(__glewPixelTransformParameteriEXT)
  8034. #define glPixelTransformParameterivEXT GLEW_GET_FUN(__glewPixelTransformParameterivEXT)
  8035. #define GLEW_EXT_pixel_transform GLEW_GET_VAR(__GLEW_EXT_pixel_transform)
  8036. #endif /* !GL_EXT_pixel_transform */
  8037. /* ------------------- GL_EXT_pixel_transform_color_table ------------------ */
  8038. #if !defined(GL_EXT_pixel_transform_color_table)
  8039. #define GL_EXT_pixel_transform_color_table 1
  8040. #define GLEW_EXT_pixel_transform_color_table GLEW_GET_VAR(__GLEW_EXT_pixel_transform_color_table)
  8041. #endif /* !GL_EXT_pixel_transform_color_table */
  8042. /* ------------------------ GL_EXT_point_parameters ------------------------ */
  8043. #if !defined(GL_EXT_point_parameters)
  8044. #define GL_EXT_point_parameters 1
  8045. #define GL_POINT_SIZE_MIN_EXT 0x8126
  8046. #define GL_POINT_SIZE_MAX_EXT 0x8127
  8047. #define GL_POINT_FADE_THRESHOLD_SIZE_EXT 0x8128
  8048. #define GL_DISTANCE_ATTENUATION_EXT 0x8129
  8049. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFEXTPROC) (GLenum pname, GLfloat param);
  8050. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERFVEXTPROC) (GLenum pname, const GLfloat* params);
  8051. #define glPointParameterfEXT GLEW_GET_FUN(__glewPointParameterfEXT)
  8052. #define glPointParameterfvEXT GLEW_GET_FUN(__glewPointParameterfvEXT)
  8053. #define GLEW_EXT_point_parameters GLEW_GET_VAR(__GLEW_EXT_point_parameters)
  8054. #endif /* !GL_EXT_point_parameters */
  8055. /* ------------------------- GL_EXT_polygon_offset ------------------------- */
  8056. #if !defined(GL_EXT_polygon_offset)
  8057. #define GL_EXT_polygon_offset 1
  8058. #define GL_POLYGON_OFFSET_EXT 0x8037
  8059. #define GL_POLYGON_OFFSET_FACTOR_EXT 0x8038
  8060. #define GL_POLYGON_OFFSET_BIAS_EXT 0x8039
  8061. typedef void (GLAPIENTRY * PFNGLPOLYGONOFFSETEXTPROC) (GLfloat factor, GLfloat bias);
  8062. #define glPolygonOffsetEXT GLEW_GET_FUN(__glewPolygonOffsetEXT)
  8063. #define GLEW_EXT_polygon_offset GLEW_GET_VAR(__GLEW_EXT_polygon_offset)
  8064. #endif /* !GL_EXT_polygon_offset */
  8065. /* ------------------------ GL_EXT_provoking_vertex ------------------------ */
  8066. #if !defined(GL_EXT_provoking_vertex)
  8067. #define GL_EXT_provoking_vertex 1
  8068. #define GL_QUADS_FOLLOW_PROVOKING_VERTEX_CONVENTION_EXT 0x8E4C
  8069. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  8070. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  8071. #define GL_PROVOKING_VERTEX_EXT 0x8E4F
  8072. typedef void (GLAPIENTRY * PFNGLPROVOKINGVERTEXEXTPROC) (GLenum mode);
  8073. #define glProvokingVertexEXT GLEW_GET_FUN(__glewProvokingVertexEXT)
  8074. #define GLEW_EXT_provoking_vertex GLEW_GET_VAR(__GLEW_EXT_provoking_vertex)
  8075. #endif /* !GL_EXT_provoking_vertex */
  8076. /* ------------------------- GL_EXT_rescale_normal ------------------------- */
  8077. #if !defined(GL_EXT_rescale_normal)
  8078. #define GL_EXT_rescale_normal 1
  8079. #define GL_RESCALE_NORMAL_EXT 0x803A
  8080. #define GLEW_EXT_rescale_normal GLEW_GET_VAR(__GLEW_EXT_rescale_normal)
  8081. #endif /* !GL_EXT_rescale_normal */
  8082. /* -------------------------- GL_EXT_scene_marker -------------------------- */
  8083. #if !defined(GL_EXT_scene_marker)
  8084. #define GL_EXT_scene_marker 1
  8085. typedef void (GLAPIENTRY * PFNGLBEGINSCENEEXTPROC) (void);
  8086. typedef void (GLAPIENTRY * PFNGLENDSCENEEXTPROC) (void);
  8087. #define glBeginSceneEXT GLEW_GET_FUN(__glewBeginSceneEXT)
  8088. #define glEndSceneEXT GLEW_GET_FUN(__glewEndSceneEXT)
  8089. #define GLEW_EXT_scene_marker GLEW_GET_VAR(__GLEW_EXT_scene_marker)
  8090. #endif /* !GL_EXT_scene_marker */
  8091. /* ------------------------- GL_EXT_secondary_color ------------------------ */
  8092. #if !defined(GL_EXT_secondary_color)
  8093. #define GL_EXT_secondary_color 1
  8094. #define GL_COLOR_SUM_EXT 0x8458
  8095. #define GL_CURRENT_SECONDARY_COLOR_EXT 0x8459
  8096. #define GL_SECONDARY_COLOR_ARRAY_SIZE_EXT 0x845A
  8097. #define GL_SECONDARY_COLOR_ARRAY_TYPE_EXT 0x845B
  8098. #define GL_SECONDARY_COLOR_ARRAY_STRIDE_EXT 0x845C
  8099. #define GL_SECONDARY_COLOR_ARRAY_POINTER_EXT 0x845D
  8100. #define GL_SECONDARY_COLOR_ARRAY_EXT 0x845E
  8101. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BEXTPROC) (GLbyte red, GLbyte green, GLbyte blue);
  8102. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3BVEXTPROC) (const GLbyte *v);
  8103. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DEXTPROC) (GLdouble red, GLdouble green, GLdouble blue);
  8104. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3DVEXTPROC) (const GLdouble *v);
  8105. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FEXTPROC) (GLfloat red, GLfloat green, GLfloat blue);
  8106. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3FVEXTPROC) (const GLfloat *v);
  8107. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IEXTPROC) (GLint red, GLint green, GLint blue);
  8108. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3IVEXTPROC) (const GLint *v);
  8109. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SEXTPROC) (GLshort red, GLshort green, GLshort blue);
  8110. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3SVEXTPROC) (const GLshort *v);
  8111. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBEXTPROC) (GLubyte red, GLubyte green, GLubyte blue);
  8112. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UBVEXTPROC) (const GLubyte *v);
  8113. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIEXTPROC) (GLuint red, GLuint green, GLuint blue);
  8114. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3UIVEXTPROC) (const GLuint *v);
  8115. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USEXTPROC) (GLushort red, GLushort green, GLushort blue);
  8116. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3USVEXTPROC) (const GLushort *v);
  8117. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, const GLvoid *pointer);
  8118. #define glSecondaryColor3bEXT GLEW_GET_FUN(__glewSecondaryColor3bEXT)
  8119. #define glSecondaryColor3bvEXT GLEW_GET_FUN(__glewSecondaryColor3bvEXT)
  8120. #define glSecondaryColor3dEXT GLEW_GET_FUN(__glewSecondaryColor3dEXT)
  8121. #define glSecondaryColor3dvEXT GLEW_GET_FUN(__glewSecondaryColor3dvEXT)
  8122. #define glSecondaryColor3fEXT GLEW_GET_FUN(__glewSecondaryColor3fEXT)
  8123. #define glSecondaryColor3fvEXT GLEW_GET_FUN(__glewSecondaryColor3fvEXT)
  8124. #define glSecondaryColor3iEXT GLEW_GET_FUN(__glewSecondaryColor3iEXT)
  8125. #define glSecondaryColor3ivEXT GLEW_GET_FUN(__glewSecondaryColor3ivEXT)
  8126. #define glSecondaryColor3sEXT GLEW_GET_FUN(__glewSecondaryColor3sEXT)
  8127. #define glSecondaryColor3svEXT GLEW_GET_FUN(__glewSecondaryColor3svEXT)
  8128. #define glSecondaryColor3ubEXT GLEW_GET_FUN(__glewSecondaryColor3ubEXT)
  8129. #define glSecondaryColor3ubvEXT GLEW_GET_FUN(__glewSecondaryColor3ubvEXT)
  8130. #define glSecondaryColor3uiEXT GLEW_GET_FUN(__glewSecondaryColor3uiEXT)
  8131. #define glSecondaryColor3uivEXT GLEW_GET_FUN(__glewSecondaryColor3uivEXT)
  8132. #define glSecondaryColor3usEXT GLEW_GET_FUN(__glewSecondaryColor3usEXT)
  8133. #define glSecondaryColor3usvEXT GLEW_GET_FUN(__glewSecondaryColor3usvEXT)
  8134. #define glSecondaryColorPointerEXT GLEW_GET_FUN(__glewSecondaryColorPointerEXT)
  8135. #define GLEW_EXT_secondary_color GLEW_GET_VAR(__GLEW_EXT_secondary_color)
  8136. #endif /* !GL_EXT_secondary_color */
  8137. #if 0 // NOTE jwilkins: there is an inconsistency between the ES and Non-ES versions of this extension??
  8138. /* --------------------- GL_EXT_separate_shader_objects -------------------- */
  8139. #if !defined(GL_EXT_separate_shader_objects)
  8140. #define GL_EXT_separate_shader_objects 1
  8141. #define GL_ACTIVE_PROGRAM_EXT 0x8B8D
  8142. typedef void (GLAPIENTRY * PFNGLACTIVEPROGRAMEXTPROC) (GLuint program);
  8143. typedef GLuint (GLAPIENTRY * PFNGLCREATESHADERPROGRAMEXTPROC) (GLenum type, const char* string);
  8144. typedef void (GLAPIENTRY * PFNGLUSESHADERPROGRAMEXTPROC) (GLenum type, GLuint program);
  8145. #define glActiveProgramEXT GLEW_GET_FUN(__glewActiveProgramEXT)
  8146. #define glCreateShaderProgramEXT GLEW_GET_FUN(__glewCreateShaderProgramEXT)
  8147. #define glUseShaderProgramEXT GLEW_GET_FUN(__glewUseShaderProgramEXT)
  8148. #define GLEW_EXT_separate_shader_objects GLEW_GET_VAR(__GLEW_EXT_separate_shader_objects)
  8149. #endif /* !GL_EXT_separate_shader_objects */
  8150. #endif // XXX
  8151. /* --------------------- GL_EXT_separate_specular_color -------------------- */
  8152. #if !defined(GL_EXT_separate_specular_color)
  8153. #define GL_EXT_separate_specular_color 1
  8154. #define GL_LIGHT_MODEL_COLOR_CONTROL_EXT 0x81F8
  8155. #define GL_SINGLE_COLOR_EXT 0x81F9
  8156. #define GL_SEPARATE_SPECULAR_COLOR_EXT 0x81FA
  8157. #define GLEW_EXT_separate_specular_color GLEW_GET_VAR(__GLEW_EXT_separate_specular_color)
  8158. #endif /* !GL_EXT_separate_specular_color */
  8159. /* --------------------- GL_EXT_shader_image_load_store -------------------- */
  8160. #if !defined(GL_EXT_shader_image_load_store)
  8161. #define GL_EXT_shader_image_load_store 1
  8162. #define GL_VERTEX_ATTRIB_ARRAY_BARRIER_BIT_EXT 0x00000001
  8163. #define GL_ELEMENT_ARRAY_BARRIER_BIT_EXT 0x00000002
  8164. #define GL_UNIFORM_BARRIER_BIT_EXT 0x00000004
  8165. #define GL_TEXTURE_FETCH_BARRIER_BIT_EXT 0x00000008
  8166. #define GL_SHADER_IMAGE_ACCESS_BARRIER_BIT_EXT 0x00000020
  8167. #define GL_COMMAND_BARRIER_BIT_EXT 0x00000040
  8168. #define GL_PIXEL_BUFFER_BARRIER_BIT_EXT 0x00000080
  8169. #define GL_TEXTURE_UPDATE_BARRIER_BIT_EXT 0x00000100
  8170. #define GL_BUFFER_UPDATE_BARRIER_BIT_EXT 0x00000200
  8171. #define GL_FRAMEBUFFER_BARRIER_BIT_EXT 0x00000400
  8172. #define GL_TRANSFORM_FEEDBACK_BARRIER_BIT_EXT 0x00000800
  8173. #define GL_ATOMIC_COUNTER_BARRIER_BIT_EXT 0x00001000
  8174. #define GL_MAX_IMAGE_UNITS_EXT 0x8F38
  8175. #define GL_MAX_COMBINED_IMAGE_UNITS_AND_FRAGMENT_OUTPUTS_EXT 0x8F39
  8176. #define GL_IMAGE_BINDING_NAME_EXT 0x8F3A
  8177. #define GL_IMAGE_BINDING_LEVEL_EXT 0x8F3B
  8178. #define GL_IMAGE_BINDING_LAYERED_EXT 0x8F3C
  8179. #define GL_IMAGE_BINDING_LAYER_EXT 0x8F3D
  8180. #define GL_IMAGE_BINDING_ACCESS_EXT 0x8F3E
  8181. #define GL_IMAGE_1D_EXT 0x904C
  8182. #define GL_IMAGE_2D_EXT 0x904D
  8183. #define GL_IMAGE_3D_EXT 0x904E
  8184. #define GL_IMAGE_2D_RECT_EXT 0x904F
  8185. #define GL_IMAGE_CUBE_EXT 0x9050
  8186. #define GL_IMAGE_BUFFER_EXT 0x9051
  8187. #define GL_IMAGE_1D_ARRAY_EXT 0x9052
  8188. #define GL_IMAGE_2D_ARRAY_EXT 0x9053
  8189. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  8190. #define GL_IMAGE_2D_MULTISAMPLE_EXT 0x9055
  8191. #define GL_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9056
  8192. #define GL_INT_IMAGE_1D_EXT 0x9057
  8193. #define GL_INT_IMAGE_2D_EXT 0x9058
  8194. #define GL_INT_IMAGE_3D_EXT 0x9059
  8195. #define GL_INT_IMAGE_2D_RECT_EXT 0x905A
  8196. #define GL_INT_IMAGE_CUBE_EXT 0x905B
  8197. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  8198. #define GL_INT_IMAGE_1D_ARRAY_EXT 0x905D
  8199. #define GL_INT_IMAGE_2D_ARRAY_EXT 0x905E
  8200. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  8201. #define GL_INT_IMAGE_2D_MULTISAMPLE_EXT 0x9060
  8202. #define GL_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x9061
  8203. #define GL_UNSIGNED_INT_IMAGE_1D_EXT 0x9062
  8204. #define GL_UNSIGNED_INT_IMAGE_2D_EXT 0x9063
  8205. #define GL_UNSIGNED_INT_IMAGE_3D_EXT 0x9064
  8206. #define GL_UNSIGNED_INT_IMAGE_2D_RECT_EXT 0x9065
  8207. #define GL_UNSIGNED_INT_IMAGE_CUBE_EXT 0x9066
  8208. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  8209. #define GL_UNSIGNED_INT_IMAGE_1D_ARRAY_EXT 0x9068
  8210. #define GL_UNSIGNED_INT_IMAGE_2D_ARRAY_EXT 0x9069
  8211. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  8212. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_EXT 0x906B
  8213. #define GL_UNSIGNED_INT_IMAGE_2D_MULTISAMPLE_ARRAY_EXT 0x906C
  8214. #define GL_MAX_IMAGE_SAMPLES_EXT 0x906D
  8215. #define GL_IMAGE_BINDING_FORMAT_EXT 0x906E
  8216. #define GL_ALL_BARRIER_BITS_EXT 0xFFFFFFFF
  8217. typedef void (GLAPIENTRY * PFNGLBINDIMAGETEXTUREEXTPROC) (GLuint index, GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum access, GLint format);
  8218. typedef void (GLAPIENTRY * PFNGLMEMORYBARRIEREXTPROC) (GLbitfield barriers);
  8219. #define glBindImageTextureEXT GLEW_GET_FUN(__glewBindImageTextureEXT)
  8220. #define glMemoryBarrierEXT GLEW_GET_FUN(__glewMemoryBarrierEXT)
  8221. #define GLEW_EXT_shader_image_load_store GLEW_GET_VAR(__GLEW_EXT_shader_image_load_store)
  8222. #endif /* !GL_EXT_shader_image_load_store */
  8223. /* -------------------------- GL_EXT_shadow_funcs -------------------------- */
  8224. #if !defined(GL_EXT_shadow_funcs)
  8225. #define GL_EXT_shadow_funcs 1
  8226. #define GLEW_EXT_shadow_funcs GLEW_GET_VAR(__GLEW_EXT_shadow_funcs)
  8227. #endif /* !GL_EXT_shadow_funcs */
  8228. /* --------------------- GL_EXT_shared_texture_palette --------------------- */
  8229. #if !defined(GL_EXT_shared_texture_palette)
  8230. #define GL_EXT_shared_texture_palette 1
  8231. #define GL_SHARED_TEXTURE_PALETTE_EXT 0x81FB
  8232. #define GLEW_EXT_shared_texture_palette GLEW_GET_VAR(__GLEW_EXT_shared_texture_palette)
  8233. #endif /* !GL_EXT_shared_texture_palette */
  8234. /* ------------------------ GL_EXT_stencil_clear_tag ----------------------- */
  8235. #if !defined(GL_EXT_stencil_clear_tag)
  8236. #define GL_EXT_stencil_clear_tag 1
  8237. #define GL_STENCIL_TAG_BITS_EXT 0x88F2
  8238. #define GL_STENCIL_CLEAR_TAG_VALUE_EXT 0x88F3
  8239. #define GLEW_EXT_stencil_clear_tag GLEW_GET_VAR(__GLEW_EXT_stencil_clear_tag)
  8240. #endif /* !GL_EXT_stencil_clear_tag */
  8241. /* ------------------------ GL_EXT_stencil_two_side ------------------------ */
  8242. #if !defined(GL_EXT_stencil_two_side)
  8243. #define GL_EXT_stencil_two_side 1
  8244. #define GL_STENCIL_TEST_TWO_SIDE_EXT 0x8910
  8245. #define GL_ACTIVE_STENCIL_FACE_EXT 0x8911
  8246. typedef void (GLAPIENTRY * PFNGLACTIVESTENCILFACEEXTPROC) (GLenum face);
  8247. #define glActiveStencilFaceEXT GLEW_GET_FUN(__glewActiveStencilFaceEXT)
  8248. #define GLEW_EXT_stencil_two_side GLEW_GET_VAR(__GLEW_EXT_stencil_two_side)
  8249. #endif /* !GL_EXT_stencil_two_side */
  8250. /* -------------------------- GL_EXT_stencil_wrap -------------------------- */
  8251. #if !defined(GL_EXT_stencil_wrap)
  8252. #define GL_EXT_stencil_wrap 1
  8253. #define GL_INCR_WRAP_EXT 0x8507
  8254. #define GL_DECR_WRAP_EXT 0x8508
  8255. #define GLEW_EXT_stencil_wrap GLEW_GET_VAR(__GLEW_EXT_stencil_wrap)
  8256. #endif /* !GL_EXT_stencil_wrap */
  8257. /* --------------------------- GL_EXT_subtexture --------------------------- */
  8258. #if !defined(GL_EXT_subtexture)
  8259. #define GL_EXT_subtexture 1
  8260. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE1DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLsizei width, GLenum format, GLenum type, const void* pixels);
  8261. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE2DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLsizei width, GLsizei height, GLenum format, GLenum type, const void* pixels);
  8262. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
  8263. #define glTexSubImage1DEXT GLEW_GET_FUN(__glewTexSubImage1DEXT)
  8264. #define glTexSubImage2DEXT GLEW_GET_FUN(__glewTexSubImage2DEXT)
  8265. #define glTexSubImage3DEXT GLEW_GET_FUN(__glewTexSubImage3DEXT)
  8266. #define GLEW_EXT_subtexture GLEW_GET_VAR(__GLEW_EXT_subtexture)
  8267. #endif /* !GL_EXT_subtexture */
  8268. /* ----------------------------- GL_EXT_texture ---------------------------- */
  8269. #if !defined(GL_EXT_texture)
  8270. #define GL_EXT_texture 1
  8271. #define GL_ALPHA4_EXT 0x803B
  8272. #define GL_ALPHA8_EXT 0x803C
  8273. #define GL_ALPHA12_EXT 0x803D
  8274. #define GL_ALPHA16_EXT 0x803E
  8275. #define GL_LUMINANCE4_EXT 0x803F
  8276. #define GL_LUMINANCE8_EXT 0x8040
  8277. #define GL_LUMINANCE12_EXT 0x8041
  8278. #define GL_LUMINANCE16_EXT 0x8042
  8279. #define GL_LUMINANCE4_ALPHA4_EXT 0x8043
  8280. #define GL_LUMINANCE6_ALPHA2_EXT 0x8044
  8281. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  8282. #define GL_LUMINANCE12_ALPHA4_EXT 0x8046
  8283. #define GL_LUMINANCE12_ALPHA12_EXT 0x8047
  8284. #define GL_LUMINANCE16_ALPHA16_EXT 0x8048
  8285. #define GL_INTENSITY_EXT 0x8049
  8286. #define GL_INTENSITY4_EXT 0x804A
  8287. #define GL_INTENSITY8_EXT 0x804B
  8288. #define GL_INTENSITY12_EXT 0x804C
  8289. #define GL_INTENSITY16_EXT 0x804D
  8290. #define GL_RGB2_EXT 0x804E
  8291. #define GL_RGB4_EXT 0x804F
  8292. #define GL_RGB5_EXT 0x8050
  8293. #define GL_RGB8_EXT 0x8051
  8294. #define GL_RGB10_EXT 0x8052
  8295. #define GL_RGB12_EXT 0x8053
  8296. #define GL_RGB16_EXT 0x8054
  8297. #define GL_RGBA2_EXT 0x8055
  8298. #define GL_RGBA4_EXT 0x8056
  8299. #define GL_RGB5_A1_EXT 0x8057
  8300. #define GL_RGBA8_EXT 0x8058
  8301. #define GL_RGB10_A2_EXT 0x8059
  8302. #define GL_RGBA12_EXT 0x805A
  8303. #define GL_RGBA16_EXT 0x805B
  8304. #define GL_TEXTURE_RED_SIZE_EXT 0x805C
  8305. #define GL_TEXTURE_GREEN_SIZE_EXT 0x805D
  8306. #define GL_TEXTURE_BLUE_SIZE_EXT 0x805E
  8307. #define GL_TEXTURE_ALPHA_SIZE_EXT 0x805F
  8308. #define GL_TEXTURE_LUMINANCE_SIZE_EXT 0x8060
  8309. #define GL_TEXTURE_INTENSITY_SIZE_EXT 0x8061
  8310. #define GL_REPLACE_EXT 0x8062
  8311. #define GL_PROXY_TEXTURE_1D_EXT 0x8063
  8312. #define GL_PROXY_TEXTURE_2D_EXT 0x8064
  8313. #define GLEW_EXT_texture GLEW_GET_VAR(__GLEW_EXT_texture)
  8314. #endif /* !GL_EXT_texture */
  8315. /* ---------------------------- GL_EXT_texture3D --------------------------- */
  8316. #if !defined(GL_EXT_texture3D)
  8317. #define GL_EXT_texture3D 1
  8318. #define GL_PACK_SKIP_IMAGES_EXT 0x806B
  8319. #define GL_PACK_IMAGE_HEIGHT_EXT 0x806C
  8320. #define GL_UNPACK_SKIP_IMAGES_EXT 0x806D
  8321. #define GL_UNPACK_IMAGE_HEIGHT_EXT 0x806E
  8322. #define GL_TEXTURE_3D_EXT 0x806F
  8323. #define GL_PROXY_TEXTURE_3D_EXT 0x8070
  8324. #define GL_TEXTURE_DEPTH_EXT 0x8071
  8325. #define GL_TEXTURE_WRAP_R_EXT 0x8072
  8326. #define GL_MAX_3D_TEXTURE_SIZE_EXT 0x8073
  8327. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DEXTPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
  8328. #define glTexImage3DEXT GLEW_GET_FUN(__glewTexImage3DEXT)
  8329. #define GLEW_EXT_texture3D GLEW_GET_VAR(__GLEW_EXT_texture3D)
  8330. #endif /* !GL_EXT_texture3D */
  8331. /* -------------------------- GL_EXT_texture_array ------------------------- */
  8332. #if !defined(GL_EXT_texture_array)
  8333. #define GL_EXT_texture_array 1
  8334. #define GL_COMPARE_REF_DEPTH_TO_TEXTURE_EXT 0x884E
  8335. #define GL_MAX_ARRAY_TEXTURE_LAYERS_EXT 0x88FF
  8336. #define GL_TEXTURE_1D_ARRAY_EXT 0x8C18
  8337. #define GL_PROXY_TEXTURE_1D_ARRAY_EXT 0x8C19
  8338. #define GL_TEXTURE_2D_ARRAY_EXT 0x8C1A
  8339. #define GL_PROXY_TEXTURE_2D_ARRAY_EXT 0x8C1B
  8340. #define GL_TEXTURE_BINDING_1D_ARRAY_EXT 0x8C1C
  8341. #define GL_TEXTURE_BINDING_2D_ARRAY_EXT 0x8C1D
  8342. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  8343. #define glFramebufferTextureLayerEXT GLEW_GET_FUN(__glewFramebufferTextureLayerEXT)
  8344. #define GLEW_EXT_texture_array GLEW_GET_VAR(__GLEW_EXT_texture_array)
  8345. #endif /* !GL_EXT_texture_array */
  8346. /* ---------------------- GL_EXT_texture_buffer_object --------------------- */
  8347. #if !defined(GL_EXT_texture_buffer_object)
  8348. #define GL_EXT_texture_buffer_object 1
  8349. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  8350. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  8351. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  8352. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  8353. #define GL_TEXTURE_BUFFER_FORMAT_EXT 0x8C2E
  8354. typedef void (GLAPIENTRY * PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  8355. #define glTexBufferEXT GLEW_GET_FUN(__glewTexBufferEXT)
  8356. #define GLEW_EXT_texture_buffer_object GLEW_GET_VAR(__GLEW_EXT_texture_buffer_object)
  8357. #endif /* !GL_EXT_texture_buffer_object */
  8358. /* -------------------- GL_EXT_texture_compression_dxt1 -------------------- */
  8359. #if !defined(GL_EXT_texture_compression_dxt1)
  8360. #define GL_EXT_texture_compression_dxt1 1
  8361. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  8362. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  8363. #define GLEW_EXT_texture_compression_dxt1 GLEW_GET_VAR(__GLEW_EXT_texture_compression_dxt1)
  8364. #endif /* !GL_EXT_texture_compression_dxt1 */
  8365. /* -------------------- GL_EXT_texture_compression_latc -------------------- */
  8366. #if !defined(GL_EXT_texture_compression_latc)
  8367. #define GL_EXT_texture_compression_latc 1
  8368. #define GL_COMPRESSED_LUMINANCE_LATC1_EXT 0x8C70
  8369. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_EXT 0x8C71
  8370. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_EXT 0x8C72
  8371. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_EXT 0x8C73
  8372. #define GLEW_EXT_texture_compression_latc GLEW_GET_VAR(__GLEW_EXT_texture_compression_latc)
  8373. #endif /* !GL_EXT_texture_compression_latc */
  8374. /* -------------------- GL_EXT_texture_compression_rgtc -------------------- */
  8375. #if !defined(GL_EXT_texture_compression_rgtc)
  8376. #define GL_EXT_texture_compression_rgtc 1
  8377. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  8378. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  8379. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  8380. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  8381. #define GLEW_EXT_texture_compression_rgtc GLEW_GET_VAR(__GLEW_EXT_texture_compression_rgtc)
  8382. #endif /* !GL_EXT_texture_compression_rgtc */
  8383. /* -------------------- GL_EXT_texture_compression_s3tc -------------------- */
  8384. #if !defined(GL_EXT_texture_compression_s3tc)
  8385. #define GL_EXT_texture_compression_s3tc 1
  8386. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  8387. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  8388. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  8389. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  8390. #define GLEW_EXT_texture_compression_s3tc GLEW_GET_VAR(__GLEW_EXT_texture_compression_s3tc)
  8391. #endif /* !GL_EXT_texture_compression_s3tc */
  8392. /* ------------------------ GL_EXT_texture_cube_map ------------------------ */
  8393. #if !defined(GL_EXT_texture_cube_map)
  8394. #define GL_EXT_texture_cube_map 1
  8395. #define GL_NORMAL_MAP_EXT 0x8511
  8396. #define GL_REFLECTION_MAP_EXT 0x8512
  8397. #define GL_TEXTURE_CUBE_MAP_EXT 0x8513
  8398. #define GL_TEXTURE_BINDING_CUBE_MAP_EXT 0x8514
  8399. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_EXT 0x8515
  8400. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_EXT 0x8516
  8401. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_EXT 0x8517
  8402. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_EXT 0x8518
  8403. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_EXT 0x8519
  8404. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_EXT 0x851A
  8405. #define GL_PROXY_TEXTURE_CUBE_MAP_EXT 0x851B
  8406. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_EXT 0x851C
  8407. #define GLEW_EXT_texture_cube_map GLEW_GET_VAR(__GLEW_EXT_texture_cube_map)
  8408. #endif /* !GL_EXT_texture_cube_map */
  8409. /* ----------------------- GL_EXT_texture_edge_clamp ----------------------- */
  8410. #if !defined(GL_EXT_texture_edge_clamp)
  8411. #define GL_EXT_texture_edge_clamp 1
  8412. #define GL_CLAMP_TO_EDGE_EXT 0x812F
  8413. #define GLEW_EXT_texture_edge_clamp GLEW_GET_VAR(__GLEW_EXT_texture_edge_clamp)
  8414. #endif /* !GL_EXT_texture_edge_clamp */
  8415. /* --------------------------- GL_EXT_texture_env -------------------------- */
  8416. #if !defined(GL_EXT_texture_env)
  8417. #define GL_EXT_texture_env 1
  8418. #define GL_TEXTURE_ENV0_EXT 0
  8419. #define GL_ENV_BLEND_EXT 0
  8420. #define GL_TEXTURE_ENV_SHIFT_EXT 0
  8421. #define GL_ENV_REPLACE_EXT 0
  8422. #define GL_ENV_ADD_EXT 0
  8423. #define GL_ENV_SUBTRACT_EXT 0
  8424. #define GL_TEXTURE_ENV_MODE_ALPHA_EXT 0
  8425. #define GL_ENV_REVERSE_SUBTRACT_EXT 0
  8426. #define GL_ENV_REVERSE_BLEND_EXT 0
  8427. #define GL_ENV_COPY_EXT 0
  8428. #define GL_ENV_MODULATE_EXT 0
  8429. #define GLEW_EXT_texture_env GLEW_GET_VAR(__GLEW_EXT_texture_env)
  8430. #endif /* !GL_EXT_texture_env */
  8431. /* ------------------------- GL_EXT_texture_env_add ------------------------ */
  8432. #if !defined(GL_EXT_texture_env_add)
  8433. #define GL_EXT_texture_env_add 1
  8434. #define GLEW_EXT_texture_env_add GLEW_GET_VAR(__GLEW_EXT_texture_env_add)
  8435. #endif /* !GL_EXT_texture_env_add */
  8436. /* ----------------------- GL_EXT_texture_env_combine ---------------------- */
  8437. #if !defined(GL_EXT_texture_env_combine)
  8438. #define GL_EXT_texture_env_combine 1
  8439. #define GL_COMBINE_EXT 0x8570
  8440. #define GL_COMBINE_RGB_EXT 0x8571
  8441. #define GL_COMBINE_ALPHA_EXT 0x8572
  8442. #define GL_RGB_SCALE_EXT 0x8573
  8443. #define GL_ADD_SIGNED_EXT 0x8574
  8444. #define GL_INTERPOLATE_EXT 0x8575
  8445. #define GL_CONSTANT_EXT 0x8576
  8446. #define GL_PRIMARY_COLOR_EXT 0x8577
  8447. #define GL_PREVIOUS_EXT 0x8578
  8448. #define GL_SOURCE0_RGB_EXT 0x8580
  8449. #define GL_SOURCE1_RGB_EXT 0x8581
  8450. #define GL_SOURCE2_RGB_EXT 0x8582
  8451. #define GL_SOURCE0_ALPHA_EXT 0x8588
  8452. #define GL_SOURCE1_ALPHA_EXT 0x8589
  8453. #define GL_SOURCE2_ALPHA_EXT 0x858A
  8454. #define GL_OPERAND0_RGB_EXT 0x8590
  8455. #define GL_OPERAND1_RGB_EXT 0x8591
  8456. #define GL_OPERAND2_RGB_EXT 0x8592
  8457. #define GL_OPERAND0_ALPHA_EXT 0x8598
  8458. #define GL_OPERAND1_ALPHA_EXT 0x8599
  8459. #define GL_OPERAND2_ALPHA_EXT 0x859A
  8460. #define GLEW_EXT_texture_env_combine GLEW_GET_VAR(__GLEW_EXT_texture_env_combine)
  8461. #endif /* !GL_EXT_texture_env_combine */
  8462. /* ------------------------ GL_EXT_texture_env_dot3 ------------------------ */
  8463. #if !defined(GL_EXT_texture_env_dot3)
  8464. #define GL_EXT_texture_env_dot3 1
  8465. #define GL_DOT3_RGB_EXT 0x8740
  8466. #define GL_DOT3_RGBA_EXT 0x8741
  8467. #define GLEW_EXT_texture_env_dot3 GLEW_GET_VAR(__GLEW_EXT_texture_env_dot3)
  8468. #endif /* !GL_EXT_texture_env_dot3 */
  8469. /* ------------------- GL_EXT_texture_filter_anisotropic ------------------- */
  8470. #if !defined(GL_EXT_texture_filter_anisotropic)
  8471. #define GL_EXT_texture_filter_anisotropic 1
  8472. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  8473. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  8474. #define GLEW_EXT_texture_filter_anisotropic GLEW_GET_VAR(__GLEW_EXT_texture_filter_anisotropic)
  8475. #endif /* !GL_EXT_texture_filter_anisotropic */
  8476. /* ------------------------- GL_EXT_texture_integer ------------------------ */
  8477. #if !defined(GL_EXT_texture_integer)
  8478. #define GL_EXT_texture_integer 1
  8479. #define GL_RGBA32UI_EXT 0x8D70
  8480. #define GL_RGB32UI_EXT 0x8D71
  8481. #define GL_ALPHA32UI_EXT 0x8D72
  8482. #define GL_INTENSITY32UI_EXT 0x8D73
  8483. #define GL_LUMINANCE32UI_EXT 0x8D74
  8484. #define GL_LUMINANCE_ALPHA32UI_EXT 0x8D75
  8485. #define GL_RGBA16UI_EXT 0x8D76
  8486. #define GL_RGB16UI_EXT 0x8D77
  8487. #define GL_ALPHA16UI_EXT 0x8D78
  8488. #define GL_INTENSITY16UI_EXT 0x8D79
  8489. #define GL_LUMINANCE16UI_EXT 0x8D7A
  8490. #define GL_LUMINANCE_ALPHA16UI_EXT 0x8D7B
  8491. #define GL_RGBA8UI_EXT 0x8D7C
  8492. #define GL_RGB8UI_EXT 0x8D7D
  8493. #define GL_ALPHA8UI_EXT 0x8D7E
  8494. #define GL_INTENSITY8UI_EXT 0x8D7F
  8495. #define GL_LUMINANCE8UI_EXT 0x8D80
  8496. #define GL_LUMINANCE_ALPHA8UI_EXT 0x8D81
  8497. #define GL_RGBA32I_EXT 0x8D82
  8498. #define GL_RGB32I_EXT 0x8D83
  8499. #define GL_ALPHA32I_EXT 0x8D84
  8500. #define GL_INTENSITY32I_EXT 0x8D85
  8501. #define GL_LUMINANCE32I_EXT 0x8D86
  8502. #define GL_LUMINANCE_ALPHA32I_EXT 0x8D87
  8503. #define GL_RGBA16I_EXT 0x8D88
  8504. #define GL_RGB16I_EXT 0x8D89
  8505. #define GL_ALPHA16I_EXT 0x8D8A
  8506. #define GL_INTENSITY16I_EXT 0x8D8B
  8507. #define GL_LUMINANCE16I_EXT 0x8D8C
  8508. #define GL_LUMINANCE_ALPHA16I_EXT 0x8D8D
  8509. #define GL_RGBA8I_EXT 0x8D8E
  8510. #define GL_RGB8I_EXT 0x8D8F
  8511. #define GL_ALPHA8I_EXT 0x8D90
  8512. #define GL_INTENSITY8I_EXT 0x8D91
  8513. #define GL_LUMINANCE8I_EXT 0x8D92
  8514. #define GL_LUMINANCE_ALPHA8I_EXT 0x8D93
  8515. #define GL_RED_INTEGER_EXT 0x8D94
  8516. #define GL_GREEN_INTEGER_EXT 0x8D95
  8517. #define GL_BLUE_INTEGER_EXT 0x8D96
  8518. #define GL_ALPHA_INTEGER_EXT 0x8D97
  8519. #define GL_RGB_INTEGER_EXT 0x8D98
  8520. #define GL_RGBA_INTEGER_EXT 0x8D99
  8521. #define GL_BGR_INTEGER_EXT 0x8D9A
  8522. #define GL_BGRA_INTEGER_EXT 0x8D9B
  8523. #define GL_LUMINANCE_INTEGER_EXT 0x8D9C
  8524. #define GL_LUMINANCE_ALPHA_INTEGER_EXT 0x8D9D
  8525. #define GL_RGBA_INTEGER_MODE_EXT 0x8D9E
  8526. typedef void (GLAPIENTRY * PFNGLCLEARCOLORIIEXTPROC) (GLint red, GLint green, GLint blue, GLint alpha);
  8527. typedef void (GLAPIENTRY * PFNGLCLEARCOLORIUIEXTPROC) (GLuint red, GLuint green, GLuint blue, GLuint alpha);
  8528. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  8529. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  8530. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  8531. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  8532. #define glClearColorIiEXT GLEW_GET_FUN(__glewClearColorIiEXT)
  8533. #define glClearColorIuiEXT GLEW_GET_FUN(__glewClearColorIuiEXT)
  8534. #define glGetTexParameterIivEXT GLEW_GET_FUN(__glewGetTexParameterIivEXT)
  8535. #define glGetTexParameterIuivEXT GLEW_GET_FUN(__glewGetTexParameterIuivEXT)
  8536. #define glTexParameterIivEXT GLEW_GET_FUN(__glewTexParameterIivEXT)
  8537. #define glTexParameterIuivEXT GLEW_GET_FUN(__glewTexParameterIuivEXT)
  8538. #define GLEW_EXT_texture_integer GLEW_GET_VAR(__GLEW_EXT_texture_integer)
  8539. #endif /* !GL_EXT_texture_integer */
  8540. /* ------------------------ GL_EXT_texture_lod_bias ------------------------ */
  8541. #if !defined(GL_EXT_texture_lod_bias)
  8542. #define GL_EXT_texture_lod_bias 1
  8543. #define GL_MAX_TEXTURE_LOD_BIAS_EXT 0x84FD
  8544. #define GL_TEXTURE_FILTER_CONTROL_EXT 0x8500
  8545. #define GL_TEXTURE_LOD_BIAS_EXT 0x8501
  8546. #define GLEW_EXT_texture_lod_bias GLEW_GET_VAR(__GLEW_EXT_texture_lod_bias)
  8547. #endif /* !GL_EXT_texture_lod_bias */
  8548. /* ---------------------- GL_EXT_texture_mirror_clamp ---------------------- */
  8549. #if !defined(GL_EXT_texture_mirror_clamp)
  8550. #define GL_EXT_texture_mirror_clamp 1
  8551. #define GL_MIRROR_CLAMP_EXT 0x8742
  8552. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  8553. #define GL_MIRROR_CLAMP_TO_BORDER_EXT 0x8912
  8554. #define GLEW_EXT_texture_mirror_clamp GLEW_GET_VAR(__GLEW_EXT_texture_mirror_clamp)
  8555. #endif /* !GL_EXT_texture_mirror_clamp */
  8556. /* ------------------------- GL_EXT_texture_object ------------------------- */
  8557. #if !defined(GL_EXT_texture_object)
  8558. #define GL_EXT_texture_object 1
  8559. #define GL_TEXTURE_PRIORITY_EXT 0x8066
  8560. #define GL_TEXTURE_RESIDENT_EXT 0x8067
  8561. #define GL_TEXTURE_1D_BINDING_EXT 0x8068
  8562. #define GL_TEXTURE_2D_BINDING_EXT 0x8069
  8563. #define GL_TEXTURE_3D_BINDING_EXT 0x806A
  8564. typedef GLboolean (GLAPIENTRY * PFNGLARETEXTURESRESIDENTEXTPROC) (GLsizei n, const GLuint* textures, GLboolean* residences);
  8565. typedef void (GLAPIENTRY * PFNGLBINDTEXTUREEXTPROC) (GLenum target, GLuint texture);
  8566. typedef void (GLAPIENTRY * PFNGLDELETETEXTURESEXTPROC) (GLsizei n, const GLuint* textures);
  8567. typedef void (GLAPIENTRY * PFNGLGENTEXTURESEXTPROC) (GLsizei n, GLuint* textures);
  8568. typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREEXTPROC) (GLuint texture);
  8569. typedef void (GLAPIENTRY * PFNGLPRIORITIZETEXTURESEXTPROC) (GLsizei n, const GLuint* textures, const GLclampf* priorities);
  8570. #define glAreTexturesResidentEXT GLEW_GET_FUN(__glewAreTexturesResidentEXT)
  8571. #define glBindTextureEXT GLEW_GET_FUN(__glewBindTextureEXT)
  8572. #define glDeleteTexturesEXT GLEW_GET_FUN(__glewDeleteTexturesEXT)
  8573. #define glGenTexturesEXT GLEW_GET_FUN(__glewGenTexturesEXT)
  8574. #define glIsTextureEXT GLEW_GET_FUN(__glewIsTextureEXT)
  8575. #define glPrioritizeTexturesEXT GLEW_GET_FUN(__glewPrioritizeTexturesEXT)
  8576. #define GLEW_EXT_texture_object GLEW_GET_VAR(__GLEW_EXT_texture_object)
  8577. #endif /* !GL_EXT_texture_object */
  8578. /* --------------------- GL_EXT_texture_perturb_normal --------------------- */
  8579. #if !defined(GL_EXT_texture_perturb_normal)
  8580. #define GL_EXT_texture_perturb_normal 1
  8581. #define GL_PERTURB_EXT 0x85AE
  8582. #define GL_TEXTURE_NORMAL_EXT 0x85AF
  8583. typedef void (GLAPIENTRY * PFNGLTEXTURENORMALEXTPROC) (GLenum mode);
  8584. #define glTextureNormalEXT GLEW_GET_FUN(__glewTextureNormalEXT)
  8585. #define GLEW_EXT_texture_perturb_normal GLEW_GET_VAR(__GLEW_EXT_texture_perturb_normal)
  8586. #endif /* !GL_EXT_texture_perturb_normal */
  8587. /* ------------------------ GL_EXT_texture_rectangle ----------------------- */
  8588. #if !defined(GL_EXT_texture_rectangle)
  8589. #define GL_EXT_texture_rectangle 1
  8590. #define GL_TEXTURE_RECTANGLE_EXT 0x84F5
  8591. #define GL_TEXTURE_BINDING_RECTANGLE_EXT 0x84F6
  8592. #define GL_PROXY_TEXTURE_RECTANGLE_EXT 0x84F7
  8593. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_EXT 0x84F8
  8594. #define GLEW_EXT_texture_rectangle GLEW_GET_VAR(__GLEW_EXT_texture_rectangle)
  8595. #endif /* !GL_EXT_texture_rectangle */
  8596. /* -------------------------- GL_EXT_texture_sRGB -------------------------- */
  8597. #if !defined(GL_EXT_texture_sRGB)
  8598. #define GL_EXT_texture_sRGB 1
  8599. #define GL_SRGB_EXT 0x8C40
  8600. #define GL_SRGB8_EXT 0x8C41
  8601. #define GL_SRGB_ALPHA_EXT 0x8C42
  8602. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  8603. #define GL_SLUMINANCE_ALPHA_EXT 0x8C44
  8604. #define GL_SLUMINANCE8_ALPHA8_EXT 0x8C45
  8605. #define GL_SLUMINANCE_EXT 0x8C46
  8606. #define GL_SLUMINANCE8_EXT 0x8C47
  8607. #define GL_COMPRESSED_SRGB_EXT 0x8C48
  8608. #define GL_COMPRESSED_SRGB_ALPHA_EXT 0x8C49
  8609. #define GL_COMPRESSED_SLUMINANCE_EXT 0x8C4A
  8610. #define GL_COMPRESSED_SLUMINANCE_ALPHA_EXT 0x8C4B
  8611. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  8612. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  8613. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  8614. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  8615. #define GLEW_EXT_texture_sRGB GLEW_GET_VAR(__GLEW_EXT_texture_sRGB)
  8616. #endif /* !GL_EXT_texture_sRGB */
  8617. /* ----------------------- GL_EXT_texture_sRGB_decode ---------------------- */
  8618. #if !defined(GL_EXT_texture_sRGB_decode)
  8619. #define GL_EXT_texture_sRGB_decode 1
  8620. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  8621. #define GL_DECODE_EXT 0x8A49
  8622. #define GL_SKIP_DECODE_EXT 0x8A4A
  8623. #define GLEW_EXT_texture_sRGB_decode GLEW_GET_VAR(__GLEW_EXT_texture_sRGB_decode)
  8624. #endif /* !GL_EXT_texture_sRGB_decode */
  8625. /* --------------------- GL_EXT_texture_shared_exponent -------------------- */
  8626. #if !defined(GL_EXT_texture_shared_exponent)
  8627. #define GL_EXT_texture_shared_exponent 1
  8628. #define GL_RGB9_E5_EXT 0x8C3D
  8629. #define GL_UNSIGNED_INT_5_9_9_9_REV_EXT 0x8C3E
  8630. #define GL_TEXTURE_SHARED_SIZE_EXT 0x8C3F
  8631. #define GLEW_EXT_texture_shared_exponent GLEW_GET_VAR(__GLEW_EXT_texture_shared_exponent)
  8632. #endif /* !GL_EXT_texture_shared_exponent */
  8633. /* -------------------------- GL_EXT_texture_snorm ------------------------- */
  8634. #if !defined(GL_EXT_texture_snorm)
  8635. #define GL_EXT_texture_snorm 1
  8636. #define GL_RED_SNORM 0x8F90
  8637. #define GL_RG_SNORM 0x8F91
  8638. #define GL_RGB_SNORM 0x8F92
  8639. #define GL_RGBA_SNORM 0x8F93
  8640. #define GL_R8_SNORM 0x8F94
  8641. #define GL_RG8_SNORM 0x8F95
  8642. #define GL_RGB8_SNORM 0x8F96
  8643. #define GL_RGBA8_SNORM 0x8F97
  8644. #define GL_R16_SNORM 0x8F98
  8645. #define GL_RG16_SNORM 0x8F99
  8646. #define GL_RGB16_SNORM 0x8F9A
  8647. #define GL_RGBA16_SNORM 0x8F9B
  8648. #define GL_SIGNED_NORMALIZED 0x8F9C
  8649. #define GL_ALPHA_SNORM 0x9010
  8650. #define GL_LUMINANCE_SNORM 0x9011
  8651. #define GL_LUMINANCE_ALPHA_SNORM 0x9012
  8652. #define GL_INTENSITY_SNORM 0x9013
  8653. #define GL_ALPHA8_SNORM 0x9014
  8654. #define GL_LUMINANCE8_SNORM 0x9015
  8655. #define GL_LUMINANCE8_ALPHA8_SNORM 0x9016
  8656. #define GL_INTENSITY8_SNORM 0x9017
  8657. #define GL_ALPHA16_SNORM 0x9018
  8658. #define GL_LUMINANCE16_SNORM 0x9019
  8659. #define GL_LUMINANCE16_ALPHA16_SNORM 0x901A
  8660. #define GL_INTENSITY16_SNORM 0x901B
  8661. #define GLEW_EXT_texture_snorm GLEW_GET_VAR(__GLEW_EXT_texture_snorm)
  8662. #endif /* !GL_EXT_texture_snorm */
  8663. /* ------------------------- GL_EXT_texture_swizzle ------------------------ */
  8664. #if !defined(GL_EXT_texture_swizzle)
  8665. #define GL_EXT_texture_swizzle 1
  8666. #define GL_TEXTURE_SWIZZLE_R_EXT 0x8E42
  8667. #define GL_TEXTURE_SWIZZLE_G_EXT 0x8E43
  8668. #define GL_TEXTURE_SWIZZLE_B_EXT 0x8E44
  8669. #define GL_TEXTURE_SWIZZLE_A_EXT 0x8E45
  8670. #define GL_TEXTURE_SWIZZLE_RGBA_EXT 0x8E46
  8671. #define GLEW_EXT_texture_swizzle GLEW_GET_VAR(__GLEW_EXT_texture_swizzle)
  8672. #endif /* !GL_EXT_texture_swizzle */
  8673. /* --------------------------- GL_EXT_timer_query -------------------------- */
  8674. #if !defined(GL_EXT_timer_query)
  8675. #define GL_EXT_timer_query 1
  8676. #define GL_TIME_ELAPSED_EXT 0x88BF
  8677. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64EXT *params);
  8678. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64EXT *params);
  8679. #define glGetQueryObjecti64vEXT GLEW_GET_FUN(__glewGetQueryObjecti64vEXT)
  8680. #define glGetQueryObjectui64vEXT GLEW_GET_FUN(__glewGetQueryObjectui64vEXT)
  8681. #define GLEW_EXT_timer_query GLEW_GET_VAR(__GLEW_EXT_timer_query)
  8682. #endif /* !GL_EXT_timer_query */
  8683. /* ----------------------- GL_EXT_transform_feedback ----------------------- */
  8684. #if !defined(GL_EXT_transform_feedback)
  8685. #define GL_EXT_transform_feedback 1
  8686. #define GL_TRANSFORM_FEEDBACK_VARYING_MAX_LENGTH_EXT 0x8C76
  8687. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_EXT 0x8C7F
  8688. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_EXT 0x8C80
  8689. #define GL_TRANSFORM_FEEDBACK_VARYINGS_EXT 0x8C83
  8690. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_EXT 0x8C84
  8691. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_EXT 0x8C85
  8692. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  8693. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_EXT 0x8C88
  8694. #define GL_RASTERIZER_DISCARD_EXT 0x8C89
  8695. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_EXT 0x8C8A
  8696. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_EXT 0x8C8B
  8697. #define GL_INTERLEAVED_ATTRIBS_EXT 0x8C8C
  8698. #define GL_SEPARATE_ATTRIBS_EXT 0x8C8D
  8699. #define GL_TRANSFORM_FEEDBACK_BUFFER_EXT 0x8C8E
  8700. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_EXT 0x8C8F
  8701. typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKEXTPROC) (GLenum primitiveMode);
  8702. typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASEEXTPROC) (GLenum target, GLuint index, GLuint buffer);
  8703. typedef void (GLAPIENTRY * PFNGLBINDBUFFEROFFSETEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  8704. typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGEEXTPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  8705. typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKEXTPROC) (void);
  8706. typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei* length, GLsizei *size, GLenum *type, char *name);
  8707. typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC) (GLuint program, GLsizei count, const char ** varyings, GLenum bufferMode);
  8708. #define glBeginTransformFeedbackEXT GLEW_GET_FUN(__glewBeginTransformFeedbackEXT)
  8709. #define glBindBufferBaseEXT GLEW_GET_FUN(__glewBindBufferBaseEXT)
  8710. #define glBindBufferOffsetEXT GLEW_GET_FUN(__glewBindBufferOffsetEXT)
  8711. #define glBindBufferRangeEXT GLEW_GET_FUN(__glewBindBufferRangeEXT)
  8712. #define glEndTransformFeedbackEXT GLEW_GET_FUN(__glewEndTransformFeedbackEXT)
  8713. #define glGetTransformFeedbackVaryingEXT GLEW_GET_FUN(__glewGetTransformFeedbackVaryingEXT)
  8714. #define glTransformFeedbackVaryingsEXT GLEW_GET_FUN(__glewTransformFeedbackVaryingsEXT)
  8715. #define GLEW_EXT_transform_feedback GLEW_GET_VAR(__GLEW_EXT_transform_feedback)
  8716. #endif /* !GL_EXT_transform_feedback */
  8717. /* -------------------------- GL_EXT_vertex_array -------------------------- */
  8718. #if !defined(GL_EXT_vertex_array)
  8719. #define GL_EXT_vertex_array 1
  8720. #define GL_DOUBLE_EXT 0x140A
  8721. #define GL_VERTEX_ARRAY_EXT 0x8074
  8722. #define GL_NORMAL_ARRAY_EXT 0x8075
  8723. #define GL_COLOR_ARRAY_EXT 0x8076
  8724. #define GL_INDEX_ARRAY_EXT 0x8077
  8725. #define GL_TEXTURE_COORD_ARRAY_EXT 0x8078
  8726. #define GL_EDGE_FLAG_ARRAY_EXT 0x8079
  8727. #define GL_VERTEX_ARRAY_SIZE_EXT 0x807A
  8728. #define GL_VERTEX_ARRAY_TYPE_EXT 0x807B
  8729. #define GL_VERTEX_ARRAY_STRIDE_EXT 0x807C
  8730. #define GL_VERTEX_ARRAY_COUNT_EXT 0x807D
  8731. #define GL_NORMAL_ARRAY_TYPE_EXT 0x807E
  8732. #define GL_NORMAL_ARRAY_STRIDE_EXT 0x807F
  8733. #define GL_NORMAL_ARRAY_COUNT_EXT 0x8080
  8734. #define GL_COLOR_ARRAY_SIZE_EXT 0x8081
  8735. #define GL_COLOR_ARRAY_TYPE_EXT 0x8082
  8736. #define GL_COLOR_ARRAY_STRIDE_EXT 0x8083
  8737. #define GL_COLOR_ARRAY_COUNT_EXT 0x8084
  8738. #define GL_INDEX_ARRAY_TYPE_EXT 0x8085
  8739. #define GL_INDEX_ARRAY_STRIDE_EXT 0x8086
  8740. #define GL_INDEX_ARRAY_COUNT_EXT 0x8087
  8741. #define GL_TEXTURE_COORD_ARRAY_SIZE_EXT 0x8088
  8742. #define GL_TEXTURE_COORD_ARRAY_TYPE_EXT 0x8089
  8743. #define GL_TEXTURE_COORD_ARRAY_STRIDE_EXT 0x808A
  8744. #define GL_TEXTURE_COORD_ARRAY_COUNT_EXT 0x808B
  8745. #define GL_EDGE_FLAG_ARRAY_STRIDE_EXT 0x808C
  8746. #define GL_EDGE_FLAG_ARRAY_COUNT_EXT 0x808D
  8747. #define GL_VERTEX_ARRAY_POINTER_EXT 0x808E
  8748. #define GL_NORMAL_ARRAY_POINTER_EXT 0x808F
  8749. #define GL_COLOR_ARRAY_POINTER_EXT 0x8090
  8750. #define GL_INDEX_ARRAY_POINTER_EXT 0x8091
  8751. #define GL_TEXTURE_COORD_ARRAY_POINTER_EXT 0x8092
  8752. #define GL_EDGE_FLAG_ARRAY_POINTER_EXT 0x8093
  8753. typedef void (GLAPIENTRY * PFNGLARRAYELEMENTEXTPROC) (GLint i);
  8754. typedef void (GLAPIENTRY * PFNGLCOLORPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
  8755. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSEXTPROC) (GLenum mode, GLint first, GLsizei count);
  8756. typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTEREXTPROC) (GLsizei stride, GLsizei count, const GLboolean* pointer);
  8757. typedef void (GLAPIENTRY * PFNGLINDEXPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
  8758. typedef void (GLAPIENTRY * PFNGLNORMALPOINTEREXTPROC) (GLenum type, GLsizei stride, GLsizei count, const void* pointer);
  8759. typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
  8760. typedef void (GLAPIENTRY * PFNGLVERTEXPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, GLsizei count, const void* pointer);
  8761. #define glArrayElementEXT GLEW_GET_FUN(__glewArrayElementEXT)
  8762. #define glColorPointerEXT GLEW_GET_FUN(__glewColorPointerEXT)
  8763. #define glDrawArraysEXT GLEW_GET_FUN(__glewDrawArraysEXT)
  8764. #define glEdgeFlagPointerEXT GLEW_GET_FUN(__glewEdgeFlagPointerEXT)
  8765. #define glIndexPointerEXT GLEW_GET_FUN(__glewIndexPointerEXT)
  8766. #define glNormalPointerEXT GLEW_GET_FUN(__glewNormalPointerEXT)
  8767. #define glTexCoordPointerEXT GLEW_GET_FUN(__glewTexCoordPointerEXT)
  8768. #define glVertexPointerEXT GLEW_GET_FUN(__glewVertexPointerEXT)
  8769. #define GLEW_EXT_vertex_array GLEW_GET_VAR(__GLEW_EXT_vertex_array)
  8770. #endif /* !GL_EXT_vertex_array */
  8771. /* ------------------------ GL_EXT_vertex_array_bgra ----------------------- */
  8772. #if !defined(GL_EXT_vertex_array_bgra)
  8773. #define GL_EXT_vertex_array_bgra 1
  8774. #define GL_BGRA 0x80E1
  8775. #define GLEW_EXT_vertex_array_bgra GLEW_GET_VAR(__GLEW_EXT_vertex_array_bgra)
  8776. #endif /* !GL_EXT_vertex_array_bgra */
  8777. /* ----------------------- GL_EXT_vertex_attrib_64bit ---------------------- */
  8778. #if !defined(GL_EXT_vertex_attrib_64bit)
  8779. #define GL_EXT_vertex_attrib_64bit 1
  8780. #define GL_DOUBLE_MAT2_EXT 0x8F46
  8781. #define GL_DOUBLE_MAT3_EXT 0x8F47
  8782. #define GL_DOUBLE_MAT4_EXT 0x8F48
  8783. #define GL_DOUBLE_MAT2x3_EXT 0x8F49
  8784. #define GL_DOUBLE_MAT2x4_EXT 0x8F4A
  8785. #define GL_DOUBLE_MAT3x2_EXT 0x8F4B
  8786. #define GL_DOUBLE_MAT3x4_EXT 0x8F4C
  8787. #define GL_DOUBLE_MAT4x2_EXT 0x8F4D
  8788. #define GL_DOUBLE_MAT4x3_EXT 0x8F4E
  8789. #define GL_DOUBLE_VEC2_EXT 0x8FFC
  8790. #define GL_DOUBLE_VEC3_EXT 0x8FFD
  8791. #define GL_DOUBLE_VEC4_EXT 0x8FFE
  8792. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLDVEXTPROC) (GLuint index, GLenum pname, GLdouble* params);
  8793. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC) (GLuint vaobj, GLuint buffer, GLuint index, GLint size, GLenum type, GLsizei stride, GLintptr offset);
  8794. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DEXTPROC) (GLuint index, GLdouble x);
  8795. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1DVEXTPROC) (GLuint index, const GLdouble* v);
  8796. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DEXTPROC) (GLuint index, GLdouble x, GLdouble y);
  8797. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2DVEXTPROC) (GLuint index, const GLdouble* v);
  8798. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  8799. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3DVEXTPROC) (GLuint index, const GLdouble* v);
  8800. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DEXTPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  8801. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4DVEXTPROC) (GLuint index, const GLdouble* v);
  8802. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLPOINTEREXTPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer);
  8803. #define glGetVertexAttribLdvEXT GLEW_GET_FUN(__glewGetVertexAttribLdvEXT)
  8804. #define glVertexArrayVertexAttribLOffsetEXT GLEW_GET_FUN(__glewVertexArrayVertexAttribLOffsetEXT)
  8805. #define glVertexAttribL1dEXT GLEW_GET_FUN(__glewVertexAttribL1dEXT)
  8806. #define glVertexAttribL1dvEXT GLEW_GET_FUN(__glewVertexAttribL1dvEXT)
  8807. #define glVertexAttribL2dEXT GLEW_GET_FUN(__glewVertexAttribL2dEXT)
  8808. #define glVertexAttribL2dvEXT GLEW_GET_FUN(__glewVertexAttribL2dvEXT)
  8809. #define glVertexAttribL3dEXT GLEW_GET_FUN(__glewVertexAttribL3dEXT)
  8810. #define glVertexAttribL3dvEXT GLEW_GET_FUN(__glewVertexAttribL3dvEXT)
  8811. #define glVertexAttribL4dEXT GLEW_GET_FUN(__glewVertexAttribL4dEXT)
  8812. #define glVertexAttribL4dvEXT GLEW_GET_FUN(__glewVertexAttribL4dvEXT)
  8813. #define glVertexAttribLPointerEXT GLEW_GET_FUN(__glewVertexAttribLPointerEXT)
  8814. #define GLEW_EXT_vertex_attrib_64bit GLEW_GET_VAR(__GLEW_EXT_vertex_attrib_64bit)
  8815. #endif /* !GL_EXT_vertex_attrib_64bit */
  8816. /* -------------------------- GL_EXT_vertex_shader ------------------------- */
  8817. #if !defined(GL_EXT_vertex_shader)
  8818. #define GL_EXT_vertex_shader 1
  8819. #define GL_VERTEX_SHADER_EXT 0x8780
  8820. #define GL_VERTEX_SHADER_BINDING_EXT 0x8781
  8821. #define GL_OP_INDEX_EXT 0x8782
  8822. #define GL_OP_NEGATE_EXT 0x8783
  8823. #define GL_OP_DOT3_EXT 0x8784
  8824. #define GL_OP_DOT4_EXT 0x8785
  8825. #define GL_OP_MUL_EXT 0x8786
  8826. #define GL_OP_ADD_EXT 0x8787
  8827. #define GL_OP_MADD_EXT 0x8788
  8828. #define GL_OP_FRAC_EXT 0x8789
  8829. #define GL_OP_MAX_EXT 0x878A
  8830. #define GL_OP_MIN_EXT 0x878B
  8831. #define GL_OP_SET_GE_EXT 0x878C
  8832. #define GL_OP_SET_LT_EXT 0x878D
  8833. #define GL_OP_CLAMP_EXT 0x878E
  8834. #define GL_OP_FLOOR_EXT 0x878F
  8835. #define GL_OP_ROUND_EXT 0x8790
  8836. #define GL_OP_EXP_BASE_2_EXT 0x8791
  8837. #define GL_OP_LOG_BASE_2_EXT 0x8792
  8838. #define GL_OP_POWER_EXT 0x8793
  8839. #define GL_OP_RECIP_EXT 0x8794
  8840. #define GL_OP_RECIP_SQRT_EXT 0x8795
  8841. #define GL_OP_SUB_EXT 0x8796
  8842. #define GL_OP_CROSS_PRODUCT_EXT 0x8797
  8843. #define GL_OP_MULTIPLY_MATRIX_EXT 0x8798
  8844. #define GL_OP_MOV_EXT 0x8799
  8845. #define GL_OUTPUT_VERTEX_EXT 0x879A
  8846. #define GL_OUTPUT_COLOR0_EXT 0x879B
  8847. #define GL_OUTPUT_COLOR1_EXT 0x879C
  8848. #define GL_OUTPUT_TEXTURE_COORD0_EXT 0x879D
  8849. #define GL_OUTPUT_TEXTURE_COORD1_EXT 0x879E
  8850. #define GL_OUTPUT_TEXTURE_COORD2_EXT 0x879F
  8851. #define GL_OUTPUT_TEXTURE_COORD3_EXT 0x87A0
  8852. #define GL_OUTPUT_TEXTURE_COORD4_EXT 0x87A1
  8853. #define GL_OUTPUT_TEXTURE_COORD5_EXT 0x87A2
  8854. #define GL_OUTPUT_TEXTURE_COORD6_EXT 0x87A3
  8855. #define GL_OUTPUT_TEXTURE_COORD7_EXT 0x87A4
  8856. #define GL_OUTPUT_TEXTURE_COORD8_EXT 0x87A5
  8857. #define GL_OUTPUT_TEXTURE_COORD9_EXT 0x87A6
  8858. #define GL_OUTPUT_TEXTURE_COORD10_EXT 0x87A7
  8859. #define GL_OUTPUT_TEXTURE_COORD11_EXT 0x87A8
  8860. #define GL_OUTPUT_TEXTURE_COORD12_EXT 0x87A9
  8861. #define GL_OUTPUT_TEXTURE_COORD13_EXT 0x87AA
  8862. #define GL_OUTPUT_TEXTURE_COORD14_EXT 0x87AB
  8863. #define GL_OUTPUT_TEXTURE_COORD15_EXT 0x87AC
  8864. #define GL_OUTPUT_TEXTURE_COORD16_EXT 0x87AD
  8865. #define GL_OUTPUT_TEXTURE_COORD17_EXT 0x87AE
  8866. #define GL_OUTPUT_TEXTURE_COORD18_EXT 0x87AF
  8867. #define GL_OUTPUT_TEXTURE_COORD19_EXT 0x87B0
  8868. #define GL_OUTPUT_TEXTURE_COORD20_EXT 0x87B1
  8869. #define GL_OUTPUT_TEXTURE_COORD21_EXT 0x87B2
  8870. #define GL_OUTPUT_TEXTURE_COORD22_EXT 0x87B3
  8871. #define GL_OUTPUT_TEXTURE_COORD23_EXT 0x87B4
  8872. #define GL_OUTPUT_TEXTURE_COORD24_EXT 0x87B5
  8873. #define GL_OUTPUT_TEXTURE_COORD25_EXT 0x87B6
  8874. #define GL_OUTPUT_TEXTURE_COORD26_EXT 0x87B7
  8875. #define GL_OUTPUT_TEXTURE_COORD27_EXT 0x87B8
  8876. #define GL_OUTPUT_TEXTURE_COORD28_EXT 0x87B9
  8877. #define GL_OUTPUT_TEXTURE_COORD29_EXT 0x87BA
  8878. #define GL_OUTPUT_TEXTURE_COORD30_EXT 0x87BB
  8879. #define GL_OUTPUT_TEXTURE_COORD31_EXT 0x87BC
  8880. #define GL_OUTPUT_FOG_EXT 0x87BD
  8881. #define GL_SCALAR_EXT 0x87BE
  8882. #define GL_VECTOR_EXT 0x87BF
  8883. #define GL_MATRIX_EXT 0x87C0
  8884. #define GL_VARIANT_EXT 0x87C1
  8885. #define GL_INVARIANT_EXT 0x87C2
  8886. #define GL_LOCAL_CONSTANT_EXT 0x87C3
  8887. #define GL_LOCAL_EXT 0x87C4
  8888. #define GL_MAX_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87C5
  8889. #define GL_MAX_VERTEX_SHADER_VARIANTS_EXT 0x87C6
  8890. #define GL_MAX_VERTEX_SHADER_INVARIANTS_EXT 0x87C7
  8891. #define GL_MAX_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87C8
  8892. #define GL_MAX_VERTEX_SHADER_LOCALS_EXT 0x87C9
  8893. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CA
  8894. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_VARIANTS_EXT 0x87CB
  8895. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_INVARIANTS_EXT 0x87CC
  8896. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87CD
  8897. #define GL_MAX_OPTIMIZED_VERTEX_SHADER_LOCALS_EXT 0x87CE
  8898. #define GL_VERTEX_SHADER_INSTRUCTIONS_EXT 0x87CF
  8899. #define GL_VERTEX_SHADER_VARIANTS_EXT 0x87D0
  8900. #define GL_VERTEX_SHADER_INVARIANTS_EXT 0x87D1
  8901. #define GL_VERTEX_SHADER_LOCAL_CONSTANTS_EXT 0x87D2
  8902. #define GL_VERTEX_SHADER_LOCALS_EXT 0x87D3
  8903. #define GL_VERTEX_SHADER_OPTIMIZED_EXT 0x87D4
  8904. #define GL_X_EXT 0x87D5
  8905. #define GL_Y_EXT 0x87D6
  8906. #define GL_Z_EXT 0x87D7
  8907. #define GL_W_EXT 0x87D8
  8908. #define GL_NEGATIVE_X_EXT 0x87D9
  8909. #define GL_NEGATIVE_Y_EXT 0x87DA
  8910. #define GL_NEGATIVE_Z_EXT 0x87DB
  8911. #define GL_NEGATIVE_W_EXT 0x87DC
  8912. #define GL_ZERO_EXT 0x87DD
  8913. #define GL_ONE_EXT 0x87DE
  8914. #define GL_NEGATIVE_ONE_EXT 0x87DF
  8915. #define GL_NORMALIZED_RANGE_EXT 0x87E0
  8916. #define GL_FULL_RANGE_EXT 0x87E1
  8917. #define GL_CURRENT_VERTEX_EXT 0x87E2
  8918. #define GL_MVP_MATRIX_EXT 0x87E3
  8919. #define GL_VARIANT_VALUE_EXT 0x87E4
  8920. #define GL_VARIANT_DATATYPE_EXT 0x87E5
  8921. #define GL_VARIANT_ARRAY_STRIDE_EXT 0x87E6
  8922. #define GL_VARIANT_ARRAY_TYPE_EXT 0x87E7
  8923. #define GL_VARIANT_ARRAY_EXT 0x87E8
  8924. #define GL_VARIANT_ARRAY_POINTER_EXT 0x87E9
  8925. #define GL_INVARIANT_VALUE_EXT 0x87EA
  8926. #define GL_INVARIANT_DATATYPE_EXT 0x87EB
  8927. #define GL_LOCAL_CONSTANT_VALUE_EXT 0x87EC
  8928. #define GL_LOCAL_CONSTANT_DATATYPE_EXT 0x87ED
  8929. typedef void (GLAPIENTRY * PFNGLBEGINVERTEXSHADEREXTPROC) (void);
  8930. typedef GLuint (GLAPIENTRY * PFNGLBINDLIGHTPARAMETEREXTPROC) (GLenum light, GLenum value);
  8931. typedef GLuint (GLAPIENTRY * PFNGLBINDMATERIALPARAMETEREXTPROC) (GLenum face, GLenum value);
  8932. typedef GLuint (GLAPIENTRY * PFNGLBINDPARAMETEREXTPROC) (GLenum value);
  8933. typedef GLuint (GLAPIENTRY * PFNGLBINDTEXGENPARAMETEREXTPROC) (GLenum unit, GLenum coord, GLenum value);
  8934. typedef GLuint (GLAPIENTRY * PFNGLBINDTEXTUREUNITPARAMETEREXTPROC) (GLenum unit, GLenum value);
  8935. typedef void (GLAPIENTRY * PFNGLBINDVERTEXSHADEREXTPROC) (GLuint id);
  8936. typedef void (GLAPIENTRY * PFNGLDELETEVERTEXSHADEREXTPROC) (GLuint id);
  8937. typedef void (GLAPIENTRY * PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8938. typedef void (GLAPIENTRY * PFNGLENABLEVARIANTCLIENTSTATEEXTPROC) (GLuint id);
  8939. typedef void (GLAPIENTRY * PFNGLENDVERTEXSHADEREXTPROC) (void);
  8940. typedef void (GLAPIENTRY * PFNGLEXTRACTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8941. typedef GLuint (GLAPIENTRY * PFNGLGENSYMBOLSEXTPROC) (GLenum dataType, GLenum storageType, GLenum range, GLuint components);
  8942. typedef GLuint (GLAPIENTRY * PFNGLGENVERTEXSHADERSEXTPROC) (GLuint range);
  8943. typedef void (GLAPIENTRY * PFNGLGETINVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8944. typedef void (GLAPIENTRY * PFNGLGETINVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8945. typedef void (GLAPIENTRY * PFNGLGETINVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8946. typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8947. typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8948. typedef void (GLAPIENTRY * PFNGLGETLOCALCONSTANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8949. typedef void (GLAPIENTRY * PFNGLGETVARIANTBOOLEANVEXTPROC) (GLuint id, GLenum value, GLboolean *data);
  8950. typedef void (GLAPIENTRY * PFNGLGETVARIANTFLOATVEXTPROC) (GLuint id, GLenum value, GLfloat *data);
  8951. typedef void (GLAPIENTRY * PFNGLGETVARIANTINTEGERVEXTPROC) (GLuint id, GLenum value, GLint *data);
  8952. typedef void (GLAPIENTRY * PFNGLGETVARIANTPOINTERVEXTPROC) (GLuint id, GLenum value, GLvoid **data);
  8953. typedef void (GLAPIENTRY * PFNGLINSERTCOMPONENTEXTPROC) (GLuint res, GLuint src, GLuint num);
  8954. typedef GLboolean (GLAPIENTRY * PFNGLISVARIANTENABLEDEXTPROC) (GLuint id, GLenum cap);
  8955. typedef void (GLAPIENTRY * PFNGLSETINVARIANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr);
  8956. typedef void (GLAPIENTRY * PFNGLSETLOCALCONSTANTEXTPROC) (GLuint id, GLenum type, GLvoid *addr);
  8957. typedef void (GLAPIENTRY * PFNGLSHADEROP1EXTPROC) (GLenum op, GLuint res, GLuint arg1);
  8958. typedef void (GLAPIENTRY * PFNGLSHADEROP2EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2);
  8959. typedef void (GLAPIENTRY * PFNGLSHADEROP3EXTPROC) (GLenum op, GLuint res, GLuint arg1, GLuint arg2, GLuint arg3);
  8960. typedef void (GLAPIENTRY * PFNGLSWIZZLEEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8961. typedef void (GLAPIENTRY * PFNGLVARIANTPOINTEREXTPROC) (GLuint id, GLenum type, GLuint stride, GLvoid *addr);
  8962. typedef void (GLAPIENTRY * PFNGLVARIANTBVEXTPROC) (GLuint id, GLbyte *addr);
  8963. typedef void (GLAPIENTRY * PFNGLVARIANTDVEXTPROC) (GLuint id, GLdouble *addr);
  8964. typedef void (GLAPIENTRY * PFNGLVARIANTFVEXTPROC) (GLuint id, GLfloat *addr);
  8965. typedef void (GLAPIENTRY * PFNGLVARIANTIVEXTPROC) (GLuint id, GLint *addr);
  8966. typedef void (GLAPIENTRY * PFNGLVARIANTSVEXTPROC) (GLuint id, GLshort *addr);
  8967. typedef void (GLAPIENTRY * PFNGLVARIANTUBVEXTPROC) (GLuint id, GLubyte *addr);
  8968. typedef void (GLAPIENTRY * PFNGLVARIANTUIVEXTPROC) (GLuint id, GLuint *addr);
  8969. typedef void (GLAPIENTRY * PFNGLVARIANTUSVEXTPROC) (GLuint id, GLushort *addr);
  8970. typedef void (GLAPIENTRY * PFNGLWRITEMASKEXTPROC) (GLuint res, GLuint in, GLenum outX, GLenum outY, GLenum outZ, GLenum outW);
  8971. #define glBeginVertexShaderEXT GLEW_GET_FUN(__glewBeginVertexShaderEXT)
  8972. #define glBindLightParameterEXT GLEW_GET_FUN(__glewBindLightParameterEXT)
  8973. #define glBindMaterialParameterEXT GLEW_GET_FUN(__glewBindMaterialParameterEXT)
  8974. #define glBindParameterEXT GLEW_GET_FUN(__glewBindParameterEXT)
  8975. #define glBindTexGenParameterEXT GLEW_GET_FUN(__glewBindTexGenParameterEXT)
  8976. #define glBindTextureUnitParameterEXT GLEW_GET_FUN(__glewBindTextureUnitParameterEXT)
  8977. #define glBindVertexShaderEXT GLEW_GET_FUN(__glewBindVertexShaderEXT)
  8978. #define glDeleteVertexShaderEXT GLEW_GET_FUN(__glewDeleteVertexShaderEXT)
  8979. #define glDisableVariantClientStateEXT GLEW_GET_FUN(__glewDisableVariantClientStateEXT)
  8980. #define glEnableVariantClientStateEXT GLEW_GET_FUN(__glewEnableVariantClientStateEXT)
  8981. #define glEndVertexShaderEXT GLEW_GET_FUN(__glewEndVertexShaderEXT)
  8982. #define glExtractComponentEXT GLEW_GET_FUN(__glewExtractComponentEXT)
  8983. #define glGenSymbolsEXT GLEW_GET_FUN(__glewGenSymbolsEXT)
  8984. #define glGenVertexShadersEXT GLEW_GET_FUN(__glewGenVertexShadersEXT)
  8985. #define glGetInvariantBooleanvEXT GLEW_GET_FUN(__glewGetInvariantBooleanvEXT)
  8986. #define glGetInvariantFloatvEXT GLEW_GET_FUN(__glewGetInvariantFloatvEXT)
  8987. #define glGetInvariantIntegervEXT GLEW_GET_FUN(__glewGetInvariantIntegervEXT)
  8988. #define glGetLocalConstantBooleanvEXT GLEW_GET_FUN(__glewGetLocalConstantBooleanvEXT)
  8989. #define glGetLocalConstantFloatvEXT GLEW_GET_FUN(__glewGetLocalConstantFloatvEXT)
  8990. #define glGetLocalConstantIntegervEXT GLEW_GET_FUN(__glewGetLocalConstantIntegervEXT)
  8991. #define glGetVariantBooleanvEXT GLEW_GET_FUN(__glewGetVariantBooleanvEXT)
  8992. #define glGetVariantFloatvEXT GLEW_GET_FUN(__glewGetVariantFloatvEXT)
  8993. #define glGetVariantIntegervEXT GLEW_GET_FUN(__glewGetVariantIntegervEXT)
  8994. #define glGetVariantPointervEXT GLEW_GET_FUN(__glewGetVariantPointervEXT)
  8995. #define glInsertComponentEXT GLEW_GET_FUN(__glewInsertComponentEXT)
  8996. #define glIsVariantEnabledEXT GLEW_GET_FUN(__glewIsVariantEnabledEXT)
  8997. #define glSetInvariantEXT GLEW_GET_FUN(__glewSetInvariantEXT)
  8998. #define glSetLocalConstantEXT GLEW_GET_FUN(__glewSetLocalConstantEXT)
  8999. #define glShaderOp1EXT GLEW_GET_FUN(__glewShaderOp1EXT)
  9000. #define glShaderOp2EXT GLEW_GET_FUN(__glewShaderOp2EXT)
  9001. #define glShaderOp3EXT GLEW_GET_FUN(__glewShaderOp3EXT)
  9002. #define glSwizzleEXT GLEW_GET_FUN(__glewSwizzleEXT)
  9003. #define glVariantPointerEXT GLEW_GET_FUN(__glewVariantPointerEXT)
  9004. #define glVariantbvEXT GLEW_GET_FUN(__glewVariantbvEXT)
  9005. #define glVariantdvEXT GLEW_GET_FUN(__glewVariantdvEXT)
  9006. #define glVariantfvEXT GLEW_GET_FUN(__glewVariantfvEXT)
  9007. #define glVariantivEXT GLEW_GET_FUN(__glewVariantivEXT)
  9008. #define glVariantsvEXT GLEW_GET_FUN(__glewVariantsvEXT)
  9009. #define glVariantubvEXT GLEW_GET_FUN(__glewVariantubvEXT)
  9010. #define glVariantuivEXT GLEW_GET_FUN(__glewVariantuivEXT)
  9011. #define glVariantusvEXT GLEW_GET_FUN(__glewVariantusvEXT)
  9012. #define glWriteMaskEXT GLEW_GET_FUN(__glewWriteMaskEXT)
  9013. #define GLEW_EXT_vertex_shader GLEW_GET_VAR(__GLEW_EXT_vertex_shader)
  9014. #endif /* !GL_EXT_vertex_shader */
  9015. /* ------------------------ GL_EXT_vertex_weighting ------------------------ */
  9016. #if !defined(GL_EXT_vertex_weighting)
  9017. #define GL_EXT_vertex_weighting 1
  9018. #define GL_MODELVIEW0_STACK_DEPTH_EXT 0x0BA3
  9019. #define GL_MODELVIEW0_MATRIX_EXT 0x0BA6
  9020. #define GL_MODELVIEW0_EXT 0x1700
  9021. #define GL_MODELVIEW1_STACK_DEPTH_EXT 0x8502
  9022. #define GL_MODELVIEW1_MATRIX_EXT 0x8506
  9023. #define GL_VERTEX_WEIGHTING_EXT 0x8509
  9024. #define GL_MODELVIEW1_EXT 0x850A
  9025. #define GL_CURRENT_VERTEX_WEIGHT_EXT 0x850B
  9026. #define GL_VERTEX_WEIGHT_ARRAY_EXT 0x850C
  9027. #define GL_VERTEX_WEIGHT_ARRAY_SIZE_EXT 0x850D
  9028. #define GL_VERTEX_WEIGHT_ARRAY_TYPE_EXT 0x850E
  9029. #define GL_VERTEX_WEIGHT_ARRAY_STRIDE_EXT 0x850F
  9030. #define GL_VERTEX_WEIGHT_ARRAY_POINTER_EXT 0x8510
  9031. typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTPOINTEREXTPROC) (GLint size, GLenum type, GLsizei stride, void* pointer);
  9032. typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTFEXTPROC) (GLfloat weight);
  9033. typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTFVEXTPROC) (GLfloat* weight);
  9034. #define glVertexWeightPointerEXT GLEW_GET_FUN(__glewVertexWeightPointerEXT)
  9035. #define glVertexWeightfEXT GLEW_GET_FUN(__glewVertexWeightfEXT)
  9036. #define glVertexWeightfvEXT GLEW_GET_FUN(__glewVertexWeightfvEXT)
  9037. #define GLEW_EXT_vertex_weighting GLEW_GET_VAR(__GLEW_EXT_vertex_weighting)
  9038. #endif /* !GL_EXT_vertex_weighting */
  9039. /* ------------------------- GL_EXT_x11_sync_object ------------------------ */
  9040. #if !defined(GL_EXT_x11_sync_object)
  9041. #define GL_EXT_x11_sync_object 1
  9042. #define GL_SYNC_X11_FENCE_EXT 0x90E1
  9043. typedef GLsync (GLAPIENTRY * PFNGLIMPORTSYNCEXTPROC) (GLenum external_sync_type, GLintptr external_sync, GLbitfield flags);
  9044. #define glImportSyncEXT GLEW_GET_FUN(__glewImportSyncEXT)
  9045. #define GLEW_EXT_x11_sync_object GLEW_GET_VAR(__GLEW_EXT_x11_sync_object)
  9046. #endif /* !GL_EXT_x11_sync_object */
  9047. /* ---------------------- GL_GREMEDY_frame_terminator ---------------------- */
  9048. #if !defined(GL_GREMEDY_frame_terminator)
  9049. #define GL_GREMEDY_frame_terminator 1
  9050. typedef void (GLAPIENTRY * PFNGLFRAMETERMINATORGREMEDYPROC) (void);
  9051. #define glFrameTerminatorGREMEDY GLEW_GET_FUN(__glewFrameTerminatorGREMEDY)
  9052. #define GLEW_GREMEDY_frame_terminator GLEW_GET_VAR(__GLEW_GREMEDY_frame_terminator)
  9053. #endif /* !GL_GREMEDY_frame_terminator */
  9054. /* ------------------------ GL_GREMEDY_string_marker ----------------------- */
  9055. #if !defined(GL_GREMEDY_string_marker)
  9056. #define GL_GREMEDY_string_marker 1
  9057. typedef void (GLAPIENTRY * PFNGLSTRINGMARKERGREMEDYPROC) (GLsizei len, const void* string);
  9058. #define glStringMarkerGREMEDY GLEW_GET_FUN(__glewStringMarkerGREMEDY)
  9059. #define GLEW_GREMEDY_string_marker GLEW_GET_VAR(__GLEW_GREMEDY_string_marker)
  9060. #endif /* !GL_GREMEDY_string_marker */
  9061. /* --------------------- GL_HP_convolution_border_modes -------------------- */
  9062. #if !defined(GL_HP_convolution_border_modes)
  9063. #define GL_HP_convolution_border_modes 1
  9064. #define GLEW_HP_convolution_border_modes GLEW_GET_VAR(__GLEW_HP_convolution_border_modes)
  9065. #endif /* !GL_HP_convolution_border_modes */
  9066. /* ------------------------- GL_HP_image_transform ------------------------- */
  9067. #if !defined(GL_HP_image_transform)
  9068. #define GL_HP_image_transform 1
  9069. typedef void (GLAPIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat* params);
  9070. typedef void (GLAPIENTRY * PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint* params);
  9071. typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERFHPPROC) (GLenum target, GLenum pname, const GLfloat param);
  9072. typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERFVHPPROC) (GLenum target, GLenum pname, const GLfloat* params);
  9073. typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERIHPPROC) (GLenum target, GLenum pname, const GLint param);
  9074. typedef void (GLAPIENTRY * PFNGLIMAGETRANSFORMPARAMETERIVHPPROC) (GLenum target, GLenum pname, const GLint* params);
  9075. #define glGetImageTransformParameterfvHP GLEW_GET_FUN(__glewGetImageTransformParameterfvHP)
  9076. #define glGetImageTransformParameterivHP GLEW_GET_FUN(__glewGetImageTransformParameterivHP)
  9077. #define glImageTransformParameterfHP GLEW_GET_FUN(__glewImageTransformParameterfHP)
  9078. #define glImageTransformParameterfvHP GLEW_GET_FUN(__glewImageTransformParameterfvHP)
  9079. #define glImageTransformParameteriHP GLEW_GET_FUN(__glewImageTransformParameteriHP)
  9080. #define glImageTransformParameterivHP GLEW_GET_FUN(__glewImageTransformParameterivHP)
  9081. #define GLEW_HP_image_transform GLEW_GET_VAR(__GLEW_HP_image_transform)
  9082. #endif /* !GL_HP_image_transform */
  9083. /* -------------------------- GL_HP_occlusion_test ------------------------- */
  9084. #if !defined(GL_HP_occlusion_test)
  9085. #define GL_HP_occlusion_test 1
  9086. #define GL_OCCLUSION_TEST_HP 0x8165
  9087. #define GL_OCCLUSION_TEST_RESULT_HP 0x8166
  9088. #define GLEW_HP_occlusion_test GLEW_GET_VAR(__GLEW_HP_occlusion_test)
  9089. #endif /* !GL_HP_occlusion_test */
  9090. /* ------------------------- GL_HP_texture_lighting ------------------------ */
  9091. #if !defined(GL_HP_texture_lighting)
  9092. #define GL_HP_texture_lighting 1
  9093. #define GLEW_HP_texture_lighting GLEW_GET_VAR(__GLEW_HP_texture_lighting)
  9094. #endif /* !GL_HP_texture_lighting */
  9095. /* --------------------------- GL_IBM_cull_vertex -------------------------- */
  9096. #if !defined(GL_IBM_cull_vertex)
  9097. #define GL_IBM_cull_vertex 1
  9098. #define GL_CULL_VERTEX_IBM 103050
  9099. #define GLEW_IBM_cull_vertex GLEW_GET_VAR(__GLEW_IBM_cull_vertex)
  9100. #endif /* !GL_IBM_cull_vertex */
  9101. /* ---------------------- GL_IBM_multimode_draw_arrays --------------------- */
  9102. #if !defined(GL_IBM_multimode_draw_arrays)
  9103. #define GL_IBM_multimode_draw_arrays 1
  9104. typedef void (GLAPIENTRY * PFNGLMULTIMODEDRAWARRAYSIBMPROC) (const GLenum* mode, const GLint *first, const GLsizei *count, GLsizei primcount, GLint modestride);
  9105. typedef void (GLAPIENTRY * PFNGLMULTIMODEDRAWELEMENTSIBMPROC) (const GLenum* mode, const GLsizei *count, GLenum type, const GLvoid * const *indices, GLsizei primcount, GLint modestride);
  9106. #define glMultiModeDrawArraysIBM GLEW_GET_FUN(__glewMultiModeDrawArraysIBM)
  9107. #define glMultiModeDrawElementsIBM GLEW_GET_FUN(__glewMultiModeDrawElementsIBM)
  9108. #define GLEW_IBM_multimode_draw_arrays GLEW_GET_VAR(__GLEW_IBM_multimode_draw_arrays)
  9109. #endif /* !GL_IBM_multimode_draw_arrays */
  9110. /* ------------------------- GL_IBM_rasterpos_clip ------------------------- */
  9111. #if !defined(GL_IBM_rasterpos_clip)
  9112. #define GL_IBM_rasterpos_clip 1
  9113. #define GL_RASTER_POSITION_UNCLIPPED_IBM 103010
  9114. #define GLEW_IBM_rasterpos_clip GLEW_GET_VAR(__GLEW_IBM_rasterpos_clip)
  9115. #endif /* !GL_IBM_rasterpos_clip */
  9116. /* --------------------------- GL_IBM_static_data -------------------------- */
  9117. #if !defined(GL_IBM_static_data)
  9118. #define GL_IBM_static_data 1
  9119. #define GL_ALL_STATIC_DATA_IBM 103060
  9120. #define GL_STATIC_VERTEX_ARRAY_IBM 103061
  9121. #define GLEW_IBM_static_data GLEW_GET_VAR(__GLEW_IBM_static_data)
  9122. #endif /* !GL_IBM_static_data */
  9123. /* --------------------- GL_IBM_texture_mirrored_repeat -------------------- */
  9124. #if !defined(GL_IBM_texture_mirrored_repeat)
  9125. #define GL_IBM_texture_mirrored_repeat 1
  9126. #define GL_MIRRORED_REPEAT_IBM 0x8370
  9127. #define GLEW_IBM_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_IBM_texture_mirrored_repeat)
  9128. #endif /* !GL_IBM_texture_mirrored_repeat */
  9129. /* ----------------------- GL_IBM_vertex_array_lists ----------------------- */
  9130. #if !defined(GL_IBM_vertex_array_lists)
  9131. #define GL_IBM_vertex_array_lists 1
  9132. #define GL_VERTEX_ARRAY_LIST_IBM 103070
  9133. #define GL_NORMAL_ARRAY_LIST_IBM 103071
  9134. #define GL_COLOR_ARRAY_LIST_IBM 103072
  9135. #define GL_INDEX_ARRAY_LIST_IBM 103073
  9136. #define GL_TEXTURE_COORD_ARRAY_LIST_IBM 103074
  9137. #define GL_EDGE_FLAG_ARRAY_LIST_IBM 103075
  9138. #define GL_FOG_COORDINATE_ARRAY_LIST_IBM 103076
  9139. #define GL_SECONDARY_COLOR_ARRAY_LIST_IBM 103077
  9140. #define GL_VERTEX_ARRAY_LIST_STRIDE_IBM 103080
  9141. #define GL_NORMAL_ARRAY_LIST_STRIDE_IBM 103081
  9142. #define GL_COLOR_ARRAY_LIST_STRIDE_IBM 103082
  9143. #define GL_INDEX_ARRAY_LIST_STRIDE_IBM 103083
  9144. #define GL_TEXTURE_COORD_ARRAY_LIST_STRIDE_IBM 103084
  9145. #define GL_EDGE_FLAG_ARRAY_LIST_STRIDE_IBM 103085
  9146. #define GL_FOG_COORDINATE_ARRAY_LIST_STRIDE_IBM 103086
  9147. #define GL_SECONDARY_COLOR_ARRAY_LIST_STRIDE_IBM 103087
  9148. typedef void (GLAPIENTRY * PFNGLCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9149. typedef void (GLAPIENTRY * PFNGLEDGEFLAGPOINTERLISTIBMPROC) (GLint stride, const GLboolean ** pointer, GLint ptrstride);
  9150. typedef void (GLAPIENTRY * PFNGLFOGCOORDPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9151. typedef void (GLAPIENTRY * PFNGLINDEXPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9152. typedef void (GLAPIENTRY * PFNGLNORMALPOINTERLISTIBMPROC) (GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9153. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9154. typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9155. typedef void (GLAPIENTRY * PFNGLVERTEXPOINTERLISTIBMPROC) (GLint size, GLenum type, GLint stride, const GLvoid ** pointer, GLint ptrstride);
  9156. #define glColorPointerListIBM GLEW_GET_FUN(__glewColorPointerListIBM)
  9157. #define glEdgeFlagPointerListIBM GLEW_GET_FUN(__glewEdgeFlagPointerListIBM)
  9158. #define glFogCoordPointerListIBM GLEW_GET_FUN(__glewFogCoordPointerListIBM)
  9159. #define glIndexPointerListIBM GLEW_GET_FUN(__glewIndexPointerListIBM)
  9160. #define glNormalPointerListIBM GLEW_GET_FUN(__glewNormalPointerListIBM)
  9161. #define glSecondaryColorPointerListIBM GLEW_GET_FUN(__glewSecondaryColorPointerListIBM)
  9162. #define glTexCoordPointerListIBM GLEW_GET_FUN(__glewTexCoordPointerListIBM)
  9163. #define glVertexPointerListIBM GLEW_GET_FUN(__glewVertexPointerListIBM)
  9164. #define GLEW_IBM_vertex_array_lists GLEW_GET_VAR(__GLEW_IBM_vertex_array_lists)
  9165. #endif /* !GL_IBM_vertex_array_lists */
  9166. /* -------------------------- GL_INGR_color_clamp -------------------------- */
  9167. #if !defined(GL_INGR_color_clamp)
  9168. #define GL_INGR_color_clamp 1
  9169. #define GL_RED_MIN_CLAMP_INGR 0x8560
  9170. #define GL_GREEN_MIN_CLAMP_INGR 0x8561
  9171. #define GL_BLUE_MIN_CLAMP_INGR 0x8562
  9172. #define GL_ALPHA_MIN_CLAMP_INGR 0x8563
  9173. #define GL_RED_MAX_CLAMP_INGR 0x8564
  9174. #define GL_GREEN_MAX_CLAMP_INGR 0x8565
  9175. #define GL_BLUE_MAX_CLAMP_INGR 0x8566
  9176. #define GL_ALPHA_MAX_CLAMP_INGR 0x8567
  9177. #define GLEW_INGR_color_clamp GLEW_GET_VAR(__GLEW_INGR_color_clamp)
  9178. #endif /* !GL_INGR_color_clamp */
  9179. /* ------------------------- GL_INGR_interlace_read ------------------------ */
  9180. #if !defined(GL_INGR_interlace_read)
  9181. #define GL_INGR_interlace_read 1
  9182. #define GL_INTERLACE_READ_INGR 0x8568
  9183. #define GLEW_INGR_interlace_read GLEW_GET_VAR(__GLEW_INGR_interlace_read)
  9184. #endif /* !GL_INGR_interlace_read */
  9185. /* -------------------------- GL_INTEL_map_texture ------------------------- */
  9186. #if !defined(GL_INTEL_map_texture)
  9187. #define GL_INTEL_map_texture 1
  9188. #define GL_LAYOUT_DEFAULT_INTEL 0
  9189. #define GL_LAYOUT_LINEAR_INTEL 1
  9190. #define GL_LAYOUT_LINEAR_CPU_CACHED_INTEL 2
  9191. #define GL_TEXTURE_MEMORY_LAYOUT_INTEL 0x83FF
  9192. typedef GLvoid * (GLAPIENTRY * PFNGLMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level, GLbitfield access, GLint* stride, GLenum *layout);
  9193. typedef void (GLAPIENTRY * PFNGLSYNCTEXTUREINTELPROC) (GLuint texture);
  9194. typedef void (GLAPIENTRY * PFNGLUNMAPTEXTURE2DINTELPROC) (GLuint texture, GLint level);
  9195. #define glMapTexture2DINTEL GLEW_GET_FUN(__glewMapTexture2DINTEL)
  9196. #define glSyncTextureINTEL GLEW_GET_FUN(__glewSyncTextureINTEL)
  9197. #define glUnmapTexture2DINTEL GLEW_GET_FUN(__glewUnmapTexture2DINTEL)
  9198. #define GLEW_INTEL_map_texture GLEW_GET_VAR(__GLEW_INTEL_map_texture)
  9199. #endif /* !GL_INTEL_map_texture */
  9200. /* ------------------------ GL_INTEL_parallel_arrays ----------------------- */
  9201. #if !defined(GL_INTEL_parallel_arrays)
  9202. #define GL_INTEL_parallel_arrays 1
  9203. #define GL_PARALLEL_ARRAYS_INTEL 0x83F4
  9204. #define GL_VERTEX_ARRAY_PARALLEL_POINTERS_INTEL 0x83F5
  9205. #define GL_NORMAL_ARRAY_PARALLEL_POINTERS_INTEL 0x83F6
  9206. #define GL_COLOR_ARRAY_PARALLEL_POINTERS_INTEL 0x83F7
  9207. #define GL_TEXTURE_COORD_ARRAY_PARALLEL_POINTERS_INTEL 0x83F8
  9208. typedef void (GLAPIENTRY * PFNGLCOLORPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer);
  9209. typedef void (GLAPIENTRY * PFNGLNORMALPOINTERVINTELPROC) (GLenum type, const void** pointer);
  9210. typedef void (GLAPIENTRY * PFNGLTEXCOORDPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer);
  9211. typedef void (GLAPIENTRY * PFNGLVERTEXPOINTERVINTELPROC) (GLint size, GLenum type, const void** pointer);
  9212. #define glColorPointervINTEL GLEW_GET_FUN(__glewColorPointervINTEL)
  9213. #define glNormalPointervINTEL GLEW_GET_FUN(__glewNormalPointervINTEL)
  9214. #define glTexCoordPointervINTEL GLEW_GET_FUN(__glewTexCoordPointervINTEL)
  9215. #define glVertexPointervINTEL GLEW_GET_FUN(__glewVertexPointervINTEL)
  9216. #define GLEW_INTEL_parallel_arrays GLEW_GET_VAR(__GLEW_INTEL_parallel_arrays)
  9217. #endif /* !GL_INTEL_parallel_arrays */
  9218. /* ------------------------ GL_INTEL_texture_scissor ----------------------- */
  9219. #if !defined(GL_INTEL_texture_scissor)
  9220. #define GL_INTEL_texture_scissor 1
  9221. typedef void (GLAPIENTRY * PFNGLTEXSCISSORFUNCINTELPROC) (GLenum target, GLenum lfunc, GLenum hfunc);
  9222. typedef void (GLAPIENTRY * PFNGLTEXSCISSORINTELPROC) (GLenum target, GLclampf tlow, GLclampf thigh);
  9223. #define glTexScissorFuncINTEL GLEW_GET_FUN(__glewTexScissorFuncINTEL)
  9224. #define glTexScissorINTEL GLEW_GET_FUN(__glewTexScissorINTEL)
  9225. #define GLEW_INTEL_texture_scissor GLEW_GET_VAR(__GLEW_INTEL_texture_scissor)
  9226. #endif /* !GL_INTEL_texture_scissor */
  9227. /* ------------------------------ GL_KHR_debug ----------------------------- */
  9228. #if !defined(GL_KHR_debug)
  9229. #define GL_KHR_debug 1
  9230. #define GL_CONTEXT_FLAG_DEBUG_BIT 0x00000002
  9231. #define GL_STACK_OVERFLOW 0x0503
  9232. #define GL_STACK_UNDERFLOW 0x0504
  9233. #define GL_DEBUG_OUTPUT_SYNCHRONOUS 0x8242
  9234. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH 0x8243
  9235. #define GL_DEBUG_CALLBACK_FUNCTION 0x8244
  9236. #define GL_DEBUG_CALLBACK_USER_PARAM 0x8245
  9237. #define GL_DEBUG_SOURCE_API 0x8246
  9238. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM 0x8247
  9239. #define GL_DEBUG_SOURCE_SHADER_COMPILER 0x8248
  9240. #define GL_DEBUG_SOURCE_THIRD_PARTY 0x8249
  9241. #define GL_DEBUG_SOURCE_APPLICATION 0x824A
  9242. #define GL_DEBUG_SOURCE_OTHER 0x824B
  9243. #define GL_DEBUG_TYPE_ERROR 0x824C
  9244. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR 0x824D
  9245. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR 0x824E
  9246. #define GL_DEBUG_TYPE_PORTABILITY 0x824F
  9247. #define GL_DEBUG_TYPE_PERFORMANCE 0x8250
  9248. #define GL_DEBUG_TYPE_OTHER 0x8251
  9249. #define GL_DEBUG_TYPE_MARKER 0x8268
  9250. #define GL_DEBUG_TYPE_PUSH_GROUP 0x8269
  9251. #define GL_DEBUG_TYPE_POP_GROUP 0x826A
  9252. #define GL_DEBUG_SEVERITY_NOTIFICATION 0x826B
  9253. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH 0x826C
  9254. #define GL_DEBUG_GROUP_STACK_DEPTH 0x826D
  9255. #define GL_BUFFER 0x82E0
  9256. #define GL_SHADER 0x82E1
  9257. #define GL_PROGRAM 0x82E2
  9258. #define GL_QUERY 0x82E3
  9259. #define GL_PROGRAM_PIPELINE 0x82E4
  9260. #define GL_SAMPLER 0x82E6
  9261. #define GL_DISPLAY_LIST 0x82E7
  9262. #define GL_MAX_LABEL_LENGTH 0x82E8
  9263. #define GL_MAX_DEBUG_MESSAGE_LENGTH 0x9143
  9264. #define GL_MAX_DEBUG_LOGGED_MESSAGES 0x9144
  9265. #define GL_DEBUG_LOGGED_MESSAGES 0x9145
  9266. #define GL_DEBUG_SEVERITY_HIGH 0x9146
  9267. #define GL_DEBUG_SEVERITY_MEDIUM 0x9147
  9268. #define GL_DEBUG_SEVERITY_LOW 0x9148
  9269. #define GL_DEBUG_OUTPUT 0x92E0
  9270. typedef void (APIENTRY *GLDEBUGPROC)(GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar* message, GLvoid* userParam);
  9271. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECALLBACKPROC) (GLDEBUGPROC callback, void* userParam);
  9272. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGECONTROLPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint* ids, GLboolean enabled);
  9273. typedef void (GLAPIENTRY * PFNGLDEBUGMESSAGEINSERTPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const char* buf);
  9274. typedef GLuint (GLAPIENTRY * PFNGLGETDEBUGMESSAGELOGPROC) (GLuint count, GLsizei bufsize, GLenum* sources, GLenum* types, GLuint* ids, GLenum* severities, GLsizei* lengths, char* messageLog);
  9275. typedef void (GLAPIENTRY * PFNGLGETOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei* length, char *label);
  9276. typedef void (GLAPIENTRY * PFNGLGETOBJECTPTRLABELPROC) (void* ptr, GLsizei bufSize, GLsizei* length, char *label);
  9277. typedef void (GLAPIENTRY * PFNGLGETPOINTERVPROC) (GLenum pname, void** params);
  9278. typedef void (GLAPIENTRY * PFNGLOBJECTLABELPROC) (GLenum identifier, GLuint name, GLsizei length, const char* label);
  9279. typedef void (GLAPIENTRY * PFNGLOBJECTPTRLABELPROC) (void* ptr, GLsizei length, const char* label);
  9280. typedef void (GLAPIENTRY * PFNGLPOPDEBUGGROUPPROC) (void);
  9281. typedef void (GLAPIENTRY * PFNGLPUSHDEBUGGROUPPROC) (GLenum source, GLuint id, GLsizei length, const char * message);
  9282. #define glDebugMessageCallback GLEW_GET_FUN(__glewDebugMessageCallback)
  9283. #define glDebugMessageControl GLEW_GET_FUN(__glewDebugMessageControl)
  9284. #define glDebugMessageInsert GLEW_GET_FUN(__glewDebugMessageInsert)
  9285. #define glGetDebugMessageLog GLEW_GET_FUN(__glewGetDebugMessageLog)
  9286. #define glGetObjectLabel GLEW_GET_FUN(__glewGetObjectLabel)
  9287. #define glGetObjectPtrLabel GLEW_GET_FUN(__glewGetObjectPtrLabel)
  9288. #define glGetPointerv GLEW_GET_FUN(__glewGetPointerv)
  9289. #define glObjectLabel GLEW_GET_FUN(__glewObjectLabel)
  9290. #define glObjectPtrLabel GLEW_GET_FUN(__glewObjectPtrLabel)
  9291. #define glPopDebugGroup GLEW_GET_FUN(__glewPopDebugGroup)
  9292. #define glPushDebugGroup GLEW_GET_FUN(__glewPushDebugGroup)
  9293. #define GLEW_KHR_debug GLEW_GET_VAR(__GLEW_KHR_debug)
  9294. #endif /* !GL_KHR_debug */
  9295. /* ------------------ GL_KHR_texture_compression_astc_ldr ------------------ */
  9296. #if !defined(GL_KHR_texture_compression_astc_ldr)
  9297. #define GL_KHR_texture_compression_astc_ldr 1
  9298. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  9299. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  9300. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  9301. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  9302. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  9303. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  9304. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  9305. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  9306. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  9307. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  9308. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  9309. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  9310. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  9311. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  9312. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  9313. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  9314. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  9315. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  9316. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  9317. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  9318. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  9319. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  9320. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  9321. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  9322. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  9323. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  9324. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  9325. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  9326. #define GLEW_KHR_texture_compression_astc_ldr GLEW_GET_VAR(__GLEW_KHR_texture_compression_astc_ldr)
  9327. #endif /* !GL_KHR_texture_compression_astc_ldr */
  9328. /* -------------------------- GL_KTX_buffer_region ------------------------- */
  9329. #if !defined(GL_KTX_buffer_region)
  9330. #define GL_KTX_buffer_region 1
  9331. #define GL_KTX_FRONT_REGION 0x0
  9332. #define GL_KTX_BACK_REGION 0x1
  9333. #define GL_KTX_Z_REGION 0x2
  9334. #define GL_KTX_STENCIL_REGION 0x3
  9335. typedef GLuint (GLAPIENTRY * PFNGLBUFFERREGIONENABLEDPROC) (void);
  9336. typedef void (GLAPIENTRY * PFNGLDELETEBUFFERREGIONPROC) (GLenum region);
  9337. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height, GLint xDest, GLint yDest);
  9338. typedef GLuint (GLAPIENTRY * PFNGLNEWBUFFERREGIONPROC) (GLenum region);
  9339. typedef void (GLAPIENTRY * PFNGLREADBUFFERREGIONPROC) (GLuint region, GLint x, GLint y, GLsizei width, GLsizei height);
  9340. #define glBufferRegionEnabled GLEW_GET_FUN(__glewBufferRegionEnabled)
  9341. #define glDeleteBufferRegion GLEW_GET_FUN(__glewDeleteBufferRegion)
  9342. #define glDrawBufferRegion GLEW_GET_FUN(__glewDrawBufferRegion)
  9343. #define glNewBufferRegion GLEW_GET_FUN(__glewNewBufferRegion)
  9344. #define glReadBufferRegion GLEW_GET_FUN(__glewReadBufferRegion)
  9345. #define GLEW_KTX_buffer_region GLEW_GET_VAR(__GLEW_KTX_buffer_region)
  9346. #endif /* !GL_KTX_buffer_region */
  9347. /* ------------------------- GL_MESAX_texture_stack ------------------------ */
  9348. #if !defined(GL_MESAX_texture_stack)
  9349. #define GL_MESAX_texture_stack 1
  9350. #define GL_TEXTURE_1D_STACK_MESAX 0x8759
  9351. #define GL_TEXTURE_2D_STACK_MESAX 0x875A
  9352. #define GL_PROXY_TEXTURE_1D_STACK_MESAX 0x875B
  9353. #define GL_PROXY_TEXTURE_2D_STACK_MESAX 0x875C
  9354. #define GL_TEXTURE_1D_STACK_BINDING_MESAX 0x875D
  9355. #define GL_TEXTURE_2D_STACK_BINDING_MESAX 0x875E
  9356. #define GLEW_MESAX_texture_stack GLEW_GET_VAR(__GLEW_MESAX_texture_stack)
  9357. #endif /* !GL_MESAX_texture_stack */
  9358. /* -------------------------- GL_MESA_pack_invert -------------------------- */
  9359. #if !defined(GL_MESA_pack_invert)
  9360. #define GL_MESA_pack_invert 1
  9361. #define GL_PACK_INVERT_MESA 0x8758
  9362. #define GLEW_MESA_pack_invert GLEW_GET_VAR(__GLEW_MESA_pack_invert)
  9363. #endif /* !GL_MESA_pack_invert */
  9364. /* ------------------------- GL_MESA_resize_buffers ------------------------ */
  9365. #if !defined(GL_MESA_resize_buffers)
  9366. #define GL_MESA_resize_buffers 1
  9367. typedef void (GLAPIENTRY * PFNGLRESIZEBUFFERSMESAPROC) (void);
  9368. #define glResizeBuffersMESA GLEW_GET_FUN(__glewResizeBuffersMESA)
  9369. #define GLEW_MESA_resize_buffers GLEW_GET_VAR(__GLEW_MESA_resize_buffers)
  9370. #endif /* !GL_MESA_resize_buffers */
  9371. /* --------------------------- GL_MESA_window_pos -------------------------- */
  9372. #if !defined(GL_MESA_window_pos)
  9373. #define GL_MESA_window_pos 1
  9374. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DMESAPROC) (GLdouble x, GLdouble y);
  9375. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2DVMESAPROC) (const GLdouble* p);
  9376. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FMESAPROC) (GLfloat x, GLfloat y);
  9377. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2FVMESAPROC) (const GLfloat* p);
  9378. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IMESAPROC) (GLint x, GLint y);
  9379. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2IVMESAPROC) (const GLint* p);
  9380. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SMESAPROC) (GLshort x, GLshort y);
  9381. typedef void (GLAPIENTRY * PFNGLWINDOWPOS2SVMESAPROC) (const GLshort* p);
  9382. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DMESAPROC) (GLdouble x, GLdouble y, GLdouble z);
  9383. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3DVMESAPROC) (const GLdouble* p);
  9384. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FMESAPROC) (GLfloat x, GLfloat y, GLfloat z);
  9385. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3FVMESAPROC) (const GLfloat* p);
  9386. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IMESAPROC) (GLint x, GLint y, GLint z);
  9387. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3IVMESAPROC) (const GLint* p);
  9388. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SMESAPROC) (GLshort x, GLshort y, GLshort z);
  9389. typedef void (GLAPIENTRY * PFNGLWINDOWPOS3SVMESAPROC) (const GLshort* p);
  9390. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4DMESAPROC) (GLdouble x, GLdouble y, GLdouble z, GLdouble);
  9391. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4DVMESAPROC) (const GLdouble* p);
  9392. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4FMESAPROC) (GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9393. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4FVMESAPROC) (const GLfloat* p);
  9394. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4IMESAPROC) (GLint x, GLint y, GLint z, GLint w);
  9395. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4IVMESAPROC) (const GLint* p);
  9396. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SMESAPROC) (GLshort x, GLshort y, GLshort z, GLshort w);
  9397. typedef void (GLAPIENTRY * PFNGLWINDOWPOS4SVMESAPROC) (const GLshort* p);
  9398. #define glWindowPos2dMESA GLEW_GET_FUN(__glewWindowPos2dMESA)
  9399. #define glWindowPos2dvMESA GLEW_GET_FUN(__glewWindowPos2dvMESA)
  9400. #define glWindowPos2fMESA GLEW_GET_FUN(__glewWindowPos2fMESA)
  9401. #define glWindowPos2fvMESA GLEW_GET_FUN(__glewWindowPos2fvMESA)
  9402. #define glWindowPos2iMESA GLEW_GET_FUN(__glewWindowPos2iMESA)
  9403. #define glWindowPos2ivMESA GLEW_GET_FUN(__glewWindowPos2ivMESA)
  9404. #define glWindowPos2sMESA GLEW_GET_FUN(__glewWindowPos2sMESA)
  9405. #define glWindowPos2svMESA GLEW_GET_FUN(__glewWindowPos2svMESA)
  9406. #define glWindowPos3dMESA GLEW_GET_FUN(__glewWindowPos3dMESA)
  9407. #define glWindowPos3dvMESA GLEW_GET_FUN(__glewWindowPos3dvMESA)
  9408. #define glWindowPos3fMESA GLEW_GET_FUN(__glewWindowPos3fMESA)
  9409. #define glWindowPos3fvMESA GLEW_GET_FUN(__glewWindowPos3fvMESA)
  9410. #define glWindowPos3iMESA GLEW_GET_FUN(__glewWindowPos3iMESA)
  9411. #define glWindowPos3ivMESA GLEW_GET_FUN(__glewWindowPos3ivMESA)
  9412. #define glWindowPos3sMESA GLEW_GET_FUN(__glewWindowPos3sMESA)
  9413. #define glWindowPos3svMESA GLEW_GET_FUN(__glewWindowPos3svMESA)
  9414. #define glWindowPos4dMESA GLEW_GET_FUN(__glewWindowPos4dMESA)
  9415. #define glWindowPos4dvMESA GLEW_GET_FUN(__glewWindowPos4dvMESA)
  9416. #define glWindowPos4fMESA GLEW_GET_FUN(__glewWindowPos4fMESA)
  9417. #define glWindowPos4fvMESA GLEW_GET_FUN(__glewWindowPos4fvMESA)
  9418. #define glWindowPos4iMESA GLEW_GET_FUN(__glewWindowPos4iMESA)
  9419. #define glWindowPos4ivMESA GLEW_GET_FUN(__glewWindowPos4ivMESA)
  9420. #define glWindowPos4sMESA GLEW_GET_FUN(__glewWindowPos4sMESA)
  9421. #define glWindowPos4svMESA GLEW_GET_FUN(__glewWindowPos4svMESA)
  9422. #define GLEW_MESA_window_pos GLEW_GET_VAR(__GLEW_MESA_window_pos)
  9423. #endif /* !GL_MESA_window_pos */
  9424. /* ------------------------- GL_MESA_ycbcr_texture ------------------------- */
  9425. #if !defined(GL_MESA_ycbcr_texture)
  9426. #define GL_MESA_ycbcr_texture 1
  9427. #define GL_UNSIGNED_SHORT_8_8_MESA 0x85BA
  9428. #define GL_UNSIGNED_SHORT_8_8_REV_MESA 0x85BB
  9429. #define GL_YCBCR_MESA 0x8757
  9430. #define GLEW_MESA_ycbcr_texture GLEW_GET_VAR(__GLEW_MESA_ycbcr_texture)
  9431. #endif /* !GL_MESA_ycbcr_texture */
  9432. /* ----------------------- GL_NVX_conditional_render ----------------------- */
  9433. #if !defined(GL_NVX_conditional_render)
  9434. #define GL_NVX_conditional_render 1
  9435. typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERNVXPROC) (GLuint id);
  9436. typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERNVXPROC) (void);
  9437. #define glBeginConditionalRenderNVX GLEW_GET_FUN(__glewBeginConditionalRenderNVX)
  9438. #define glEndConditionalRenderNVX GLEW_GET_FUN(__glewEndConditionalRenderNVX)
  9439. #define GLEW_NVX_conditional_render GLEW_GET_VAR(__GLEW_NVX_conditional_render)
  9440. #endif /* !GL_NVX_conditional_render */
  9441. /* ------------------------- GL_NVX_gpu_memory_info ------------------------ */
  9442. #if !defined(GL_NVX_gpu_memory_info)
  9443. #define GL_NVX_gpu_memory_info 1
  9444. #define GL_GPU_MEMORY_INFO_DEDICATED_VIDMEM_NVX 0x9047
  9445. #define GL_GPU_MEMORY_INFO_TOTAL_AVAILABLE_MEMORY_NVX 0x9048
  9446. #define GL_GPU_MEMORY_INFO_CURRENT_AVAILABLE_VIDMEM_NVX 0x9049
  9447. #define GL_GPU_MEMORY_INFO_EVICTION_COUNT_NVX 0x904A
  9448. #define GL_GPU_MEMORY_INFO_EVICTED_MEMORY_NVX 0x904B
  9449. #define GLEW_NVX_gpu_memory_info GLEW_GET_VAR(__GLEW_NVX_gpu_memory_info)
  9450. #endif /* !GL_NVX_gpu_memory_info */
  9451. /* ------------------------- GL_NV_bindless_texture ------------------------ */
  9452. #if !defined(GL_NV_bindless_texture)
  9453. #define GL_NV_bindless_texture 1
  9454. typedef GLuint64 (GLAPIENTRY * PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  9455. typedef GLuint64 (GLAPIENTRY * PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  9456. typedef GLuint64 (GLAPIENTRY * PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  9457. typedef GLboolean (GLAPIENTRY * PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  9458. typedef GLboolean (GLAPIENTRY * PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9459. typedef void (GLAPIENTRY * PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9460. typedef void (GLAPIENTRY * PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  9461. typedef void (GLAPIENTRY * PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  9462. typedef void (GLAPIENTRY * PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  9463. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  9464. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64* values);
  9465. typedef void (GLAPIENTRY * PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  9466. typedef void (GLAPIENTRY * PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64* value);
  9467. #define glGetImageHandleNV GLEW_GET_FUN(__glewGetImageHandleNV)
  9468. #define glGetTextureHandleNV GLEW_GET_FUN(__glewGetTextureHandleNV)
  9469. #define glGetTextureSamplerHandleNV GLEW_GET_FUN(__glewGetTextureSamplerHandleNV)
  9470. #define glIsImageHandleResidentNV GLEW_GET_FUN(__glewIsImageHandleResidentNV)
  9471. #define glIsTextureHandleResidentNV GLEW_GET_FUN(__glewIsTextureHandleResidentNV)
  9472. #define glMakeImageHandleNonResidentNV GLEW_GET_FUN(__glewMakeImageHandleNonResidentNV)
  9473. #define glMakeImageHandleResidentNV GLEW_GET_FUN(__glewMakeImageHandleResidentNV)
  9474. #define glMakeTextureHandleNonResidentNV GLEW_GET_FUN(__glewMakeTextureHandleNonResidentNV)
  9475. #define glMakeTextureHandleResidentNV GLEW_GET_FUN(__glewMakeTextureHandleResidentNV)
  9476. #define glProgramUniformHandleui64NV GLEW_GET_FUN(__glewProgramUniformHandleui64NV)
  9477. #define glProgramUniformHandleui64vNV GLEW_GET_FUN(__glewProgramUniformHandleui64vNV)
  9478. #define glUniformHandleui64NV GLEW_GET_FUN(__glewUniformHandleui64NV)
  9479. #define glUniformHandleui64vNV GLEW_GET_FUN(__glewUniformHandleui64vNV)
  9480. #define GLEW_NV_bindless_texture GLEW_GET_VAR(__GLEW_NV_bindless_texture)
  9481. #endif /* !GL_NV_bindless_texture */
  9482. /* --------------------------- GL_NV_blend_square -------------------------- */
  9483. #if !defined(GL_NV_blend_square)
  9484. #define GL_NV_blend_square 1
  9485. #define GLEW_NV_blend_square GLEW_GET_VAR(__GLEW_NV_blend_square)
  9486. #endif /* !GL_NV_blend_square */
  9487. /* ------------------------- GL_NV_compute_program5 ------------------------ */
  9488. #if !defined(GL_NV_compute_program5)
  9489. #define GL_NV_compute_program5 1
  9490. #define GL_COMPUTE_PROGRAM_NV 0x90FB
  9491. #define GL_COMPUTE_PROGRAM_PARAMETER_BUFFER_NV 0x90FC
  9492. #define GLEW_NV_compute_program5 GLEW_GET_VAR(__GLEW_NV_compute_program5)
  9493. #endif /* !GL_NV_compute_program5 */
  9494. /* ------------------------ GL_NV_conditional_render ----------------------- */
  9495. #if !defined(GL_NV_conditional_render)
  9496. #define GL_NV_conditional_render 1
  9497. #define GL_QUERY_WAIT_NV 0x8E13
  9498. #define GL_QUERY_NO_WAIT_NV 0x8E14
  9499. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  9500. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  9501. typedef void (GLAPIENTRY * PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  9502. typedef void (GLAPIENTRY * PFNGLENDCONDITIONALRENDERNVPROC) (void);
  9503. #define glBeginConditionalRenderNV GLEW_GET_FUN(__glewBeginConditionalRenderNV)
  9504. #define glEndConditionalRenderNV GLEW_GET_FUN(__glewEndConditionalRenderNV)
  9505. #define GLEW_NV_conditional_render GLEW_GET_VAR(__GLEW_NV_conditional_render)
  9506. #endif /* !GL_NV_conditional_render */
  9507. /* ----------------------- GL_NV_copy_depth_to_color ----------------------- */
  9508. #if !defined(GL_NV_copy_depth_to_color)
  9509. #define GL_NV_copy_depth_to_color 1
  9510. #define GL_DEPTH_STENCIL_TO_RGBA_NV 0x886E
  9511. #define GL_DEPTH_STENCIL_TO_BGRA_NV 0x886F
  9512. #define GLEW_NV_copy_depth_to_color GLEW_GET_VAR(__GLEW_NV_copy_depth_to_color)
  9513. #endif /* !GL_NV_copy_depth_to_color */
  9514. /* ---------------------------- GL_NV_copy_image --------------------------- */
  9515. #if !defined(GL_NV_copy_image)
  9516. #define GL_NV_copy_image 1
  9517. typedef void (GLAPIENTRY * 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);
  9518. #define glCopyImageSubDataNV GLEW_GET_FUN(__glewCopyImageSubDataNV)
  9519. #define GLEW_NV_copy_image GLEW_GET_VAR(__GLEW_NV_copy_image)
  9520. #endif /* !GL_NV_copy_image */
  9521. /* -------------------------- GL_NV_deep_texture3D ------------------------- */
  9522. #if !defined(GL_NV_deep_texture3D)
  9523. #define GL_NV_deep_texture3D 1
  9524. #define GL_MAX_DEEP_3D_TEXTURE_WIDTH_HEIGHT_NV 0x90D0
  9525. #define GL_MAX_DEEP_3D_TEXTURE_DEPTH_NV 0x90D1
  9526. #define GLEW_NV_deep_texture3D GLEW_GET_VAR(__GLEW_NV_deep_texture3D)
  9527. #endif /* !GL_NV_deep_texture3D */
  9528. /* ------------------------ GL_NV_depth_buffer_float ----------------------- */
  9529. #if !defined(GL_NV_depth_buffer_float)
  9530. #define GL_NV_depth_buffer_float 1
  9531. #define GL_DEPTH_COMPONENT32F_NV 0x8DAB
  9532. #define GL_DEPTH32F_STENCIL8_NV 0x8DAC
  9533. #define GL_FLOAT_32_UNSIGNED_INT_24_8_REV_NV 0x8DAD
  9534. #define GL_DEPTH_BUFFER_FLOAT_MODE_NV 0x8DAF
  9535. typedef void (GLAPIENTRY * PFNGLCLEARDEPTHDNVPROC) (GLdouble depth);
  9536. typedef void (GLAPIENTRY * PFNGLDEPTHBOUNDSDNVPROC) (GLdouble zmin, GLdouble zmax);
  9537. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEDNVPROC) (GLdouble zNear, GLdouble zFar);
  9538. #define glClearDepthdNV GLEW_GET_FUN(__glewClearDepthdNV)
  9539. #define glDepthBoundsdNV GLEW_GET_FUN(__glewDepthBoundsdNV)
  9540. #define glDepthRangedNV GLEW_GET_FUN(__glewDepthRangedNV)
  9541. #define GLEW_NV_depth_buffer_float GLEW_GET_VAR(__GLEW_NV_depth_buffer_float)
  9542. #endif /* !GL_NV_depth_buffer_float */
  9543. /* --------------------------- GL_NV_depth_clamp --------------------------- */
  9544. #if !defined(GL_NV_depth_clamp)
  9545. #define GL_NV_depth_clamp 1
  9546. #define GL_DEPTH_CLAMP_NV 0x864F
  9547. #define GLEW_NV_depth_clamp GLEW_GET_VAR(__GLEW_NV_depth_clamp)
  9548. #endif /* !GL_NV_depth_clamp */
  9549. /* ---------------------- GL_NV_depth_range_unclamped ---------------------- */
  9550. #if !defined(GL_NV_depth_range_unclamped)
  9551. #define GL_NV_depth_range_unclamped 1
  9552. #define GL_SAMPLE_COUNT_BITS_NV 0x8864
  9553. #define GL_CURRENT_SAMPLE_COUNT_QUERY_NV 0x8865
  9554. #define GL_QUERY_RESULT_NV 0x8866
  9555. #define GL_QUERY_RESULT_AVAILABLE_NV 0x8867
  9556. #define GL_SAMPLE_COUNT_NV 0x8914
  9557. #define GLEW_NV_depth_range_unclamped GLEW_GET_VAR(__GLEW_NV_depth_range_unclamped)
  9558. #endif /* !GL_NV_depth_range_unclamped */
  9559. /* --------------------------- GL_NV_draw_texture -------------------------- */
  9560. #if !defined(GL_NV_draw_texture)
  9561. #define GL_NV_draw_texture 1
  9562. typedef void (GLAPIENTRY * PFNGLDRAWTEXTURENVPROC) (GLuint texture, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  9563. #define glDrawTextureNV GLEW_GET_FUN(__glewDrawTextureNV)
  9564. #define GLEW_NV_draw_texture GLEW_GET_VAR(__GLEW_NV_draw_texture)
  9565. #endif /* !GL_NV_draw_texture */
  9566. /* ---------------------------- GL_NV_evaluators --------------------------- */
  9567. #if !defined(GL_NV_evaluators)
  9568. #define GL_NV_evaluators 1
  9569. #define GL_EVAL_2D_NV 0x86C0
  9570. #define GL_EVAL_TRIANGULAR_2D_NV 0x86C1
  9571. #define GL_MAP_TESSELLATION_NV 0x86C2
  9572. #define GL_MAP_ATTRIB_U_ORDER_NV 0x86C3
  9573. #define GL_MAP_ATTRIB_V_ORDER_NV 0x86C4
  9574. #define GL_EVAL_FRACTIONAL_TESSELLATION_NV 0x86C5
  9575. #define GL_EVAL_VERTEX_ATTRIB0_NV 0x86C6
  9576. #define GL_EVAL_VERTEX_ATTRIB1_NV 0x86C7
  9577. #define GL_EVAL_VERTEX_ATTRIB2_NV 0x86C8
  9578. #define GL_EVAL_VERTEX_ATTRIB3_NV 0x86C9
  9579. #define GL_EVAL_VERTEX_ATTRIB4_NV 0x86CA
  9580. #define GL_EVAL_VERTEX_ATTRIB5_NV 0x86CB
  9581. #define GL_EVAL_VERTEX_ATTRIB6_NV 0x86CC
  9582. #define GL_EVAL_VERTEX_ATTRIB7_NV 0x86CD
  9583. #define GL_EVAL_VERTEX_ATTRIB8_NV 0x86CE
  9584. #define GL_EVAL_VERTEX_ATTRIB9_NV 0x86CF
  9585. #define GL_EVAL_VERTEX_ATTRIB10_NV 0x86D0
  9586. #define GL_EVAL_VERTEX_ATTRIB11_NV 0x86D1
  9587. #define GL_EVAL_VERTEX_ATTRIB12_NV 0x86D2
  9588. #define GL_EVAL_VERTEX_ATTRIB13_NV 0x86D3
  9589. #define GL_EVAL_VERTEX_ATTRIB14_NV 0x86D4
  9590. #define GL_EVAL_VERTEX_ATTRIB15_NV 0x86D5
  9591. #define GL_MAX_MAP_TESSELLATION_NV 0x86D6
  9592. #define GL_MAX_RATIONAL_EVAL_ORDER_NV 0x86D7
  9593. typedef void (GLAPIENTRY * PFNGLEVALMAPSNVPROC) (GLenum target, GLenum mode);
  9594. typedef void (GLAPIENTRY * PFNGLGETMAPATTRIBPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
  9595. typedef void (GLAPIENTRY * PFNGLGETMAPATTRIBPARAMETERIVNVPROC) (GLenum target, GLuint index, GLenum pname, GLint* params);
  9596. typedef void (GLAPIENTRY * PFNGLGETMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLboolean packed, void* points);
  9597. typedef void (GLAPIENTRY * PFNGLGETMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, GLfloat* params);
  9598. typedef void (GLAPIENTRY * PFNGLGETMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, GLint* params);
  9599. typedef void (GLAPIENTRY * PFNGLMAPCONTROLPOINTSNVPROC) (GLenum target, GLuint index, GLenum type, GLsizei ustride, GLsizei vstride, GLint uorder, GLint vorder, GLboolean packed, const void* points);
  9600. typedef void (GLAPIENTRY * PFNGLMAPPARAMETERFVNVPROC) (GLenum target, GLenum pname, const GLfloat* params);
  9601. typedef void (GLAPIENTRY * PFNGLMAPPARAMETERIVNVPROC) (GLenum target, GLenum pname, const GLint* params);
  9602. #define glEvalMapsNV GLEW_GET_FUN(__glewEvalMapsNV)
  9603. #define glGetMapAttribParameterfvNV GLEW_GET_FUN(__glewGetMapAttribParameterfvNV)
  9604. #define glGetMapAttribParameterivNV GLEW_GET_FUN(__glewGetMapAttribParameterivNV)
  9605. #define glGetMapControlPointsNV GLEW_GET_FUN(__glewGetMapControlPointsNV)
  9606. #define glGetMapParameterfvNV GLEW_GET_FUN(__glewGetMapParameterfvNV)
  9607. #define glGetMapParameterivNV GLEW_GET_FUN(__glewGetMapParameterivNV)
  9608. #define glMapControlPointsNV GLEW_GET_FUN(__glewMapControlPointsNV)
  9609. #define glMapParameterfvNV GLEW_GET_FUN(__glewMapParameterfvNV)
  9610. #define glMapParameterivNV GLEW_GET_FUN(__glewMapParameterivNV)
  9611. #define GLEW_NV_evaluators GLEW_GET_VAR(__GLEW_NV_evaluators)
  9612. #endif /* !GL_NV_evaluators */
  9613. /* ----------------------- GL_NV_explicit_multisample ---------------------- */
  9614. #if !defined(GL_NV_explicit_multisample)
  9615. #define GL_NV_explicit_multisample 1
  9616. #define GL_SAMPLE_POSITION_NV 0x8E50
  9617. #define GL_SAMPLE_MASK_NV 0x8E51
  9618. #define GL_SAMPLE_MASK_VALUE_NV 0x8E52
  9619. #define GL_TEXTURE_BINDING_RENDERBUFFER_NV 0x8E53
  9620. #define GL_TEXTURE_RENDERBUFFER_DATA_STORE_BINDING_NV 0x8E54
  9621. #define GL_TEXTURE_RENDERBUFFER_NV 0x8E55
  9622. #define GL_SAMPLER_RENDERBUFFER_NV 0x8E56
  9623. #define GL_INT_SAMPLER_RENDERBUFFER_NV 0x8E57
  9624. #define GL_UNSIGNED_INT_SAMPLER_RENDERBUFFER_NV 0x8E58
  9625. #define GL_MAX_SAMPLE_MASK_WORDS_NV 0x8E59
  9626. typedef void (GLAPIENTRY * PFNGLGETMULTISAMPLEFVNVPROC) (GLenum pname, GLuint index, GLfloat* val);
  9627. typedef void (GLAPIENTRY * PFNGLSAMPLEMASKINDEXEDNVPROC) (GLuint index, GLbitfield mask);
  9628. typedef void (GLAPIENTRY * PFNGLTEXRENDERBUFFERNVPROC) (GLenum target, GLuint renderbuffer);
  9629. #define glGetMultisamplefvNV GLEW_GET_FUN(__glewGetMultisamplefvNV)
  9630. #define glSampleMaskIndexedNV GLEW_GET_FUN(__glewSampleMaskIndexedNV)
  9631. #define glTexRenderbufferNV GLEW_GET_FUN(__glewTexRenderbufferNV)
  9632. #define GLEW_NV_explicit_multisample GLEW_GET_VAR(__GLEW_NV_explicit_multisample)
  9633. #endif /* !GL_NV_explicit_multisample */
  9634. /* ------------------------------ GL_NV_fence ------------------------------ */
  9635. #if !defined(GL_NV_fence)
  9636. #define GL_NV_fence 1
  9637. #define GL_ALL_COMPLETED_NV 0x84F2
  9638. #define GL_FENCE_STATUS_NV 0x84F3
  9639. #define GL_FENCE_CONDITION_NV 0x84F4
  9640. typedef void (GLAPIENTRY * PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint* fences);
  9641. typedef void (GLAPIENTRY * PFNGLFINISHFENCENVPROC) (GLuint fence);
  9642. typedef void (GLAPIENTRY * PFNGLGENFENCESNVPROC) (GLsizei n, GLuint* fences);
  9643. typedef void (GLAPIENTRY * PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint* params);
  9644. typedef GLboolean (GLAPIENTRY * PFNGLISFENCENVPROC) (GLuint fence);
  9645. typedef void (GLAPIENTRY * PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  9646. typedef GLboolean (GLAPIENTRY * PFNGLTESTFENCENVPROC) (GLuint fence);
  9647. #define glDeleteFencesNV GLEW_GET_FUN(__glewDeleteFencesNV)
  9648. #define glFinishFenceNV GLEW_GET_FUN(__glewFinishFenceNV)
  9649. #define glGenFencesNV GLEW_GET_FUN(__glewGenFencesNV)
  9650. #define glGetFenceivNV GLEW_GET_FUN(__glewGetFenceivNV)
  9651. #define glIsFenceNV GLEW_GET_FUN(__glewIsFenceNV)
  9652. #define glSetFenceNV GLEW_GET_FUN(__glewSetFenceNV)
  9653. #define glTestFenceNV GLEW_GET_FUN(__glewTestFenceNV)
  9654. #define GLEW_NV_fence GLEW_GET_VAR(__GLEW_NV_fence)
  9655. #endif /* !GL_NV_fence */
  9656. /* --------------------------- GL_NV_float_buffer -------------------------- */
  9657. #if !defined(GL_NV_float_buffer)
  9658. #define GL_NV_float_buffer 1
  9659. #define GL_FLOAT_R_NV 0x8880
  9660. #define GL_FLOAT_RG_NV 0x8881
  9661. #define GL_FLOAT_RGB_NV 0x8882
  9662. #define GL_FLOAT_RGBA_NV 0x8883
  9663. #define GL_FLOAT_R16_NV 0x8884
  9664. #define GL_FLOAT_R32_NV 0x8885
  9665. #define GL_FLOAT_RG16_NV 0x8886
  9666. #define GL_FLOAT_RG32_NV 0x8887
  9667. #define GL_FLOAT_RGB16_NV 0x8888
  9668. #define GL_FLOAT_RGB32_NV 0x8889
  9669. #define GL_FLOAT_RGBA16_NV 0x888A
  9670. #define GL_FLOAT_RGBA32_NV 0x888B
  9671. #define GL_TEXTURE_FLOAT_COMPONENTS_NV 0x888C
  9672. #define GL_FLOAT_CLEAR_COLOR_VALUE_NV 0x888D
  9673. #define GL_FLOAT_RGBA_MODE_NV 0x888E
  9674. #define GLEW_NV_float_buffer GLEW_GET_VAR(__GLEW_NV_float_buffer)
  9675. #endif /* !GL_NV_float_buffer */
  9676. /* --------------------------- GL_NV_fog_distance -------------------------- */
  9677. #if !defined(GL_NV_fog_distance)
  9678. #define GL_NV_fog_distance 1
  9679. #define GL_FOG_DISTANCE_MODE_NV 0x855A
  9680. #define GL_EYE_RADIAL_NV 0x855B
  9681. #define GL_EYE_PLANE_ABSOLUTE_NV 0x855C
  9682. #define GLEW_NV_fog_distance GLEW_GET_VAR(__GLEW_NV_fog_distance)
  9683. #endif /* !GL_NV_fog_distance */
  9684. /* ------------------------- GL_NV_fragment_program ------------------------ */
  9685. #if !defined(GL_NV_fragment_program)
  9686. #define GL_NV_fragment_program 1
  9687. #define GL_MAX_FRAGMENT_PROGRAM_LOCAL_PARAMETERS_NV 0x8868
  9688. #define GL_FRAGMENT_PROGRAM_NV 0x8870
  9689. #define GL_MAX_TEXTURE_COORDS_NV 0x8871
  9690. #define GL_MAX_TEXTURE_IMAGE_UNITS_NV 0x8872
  9691. #define GL_FRAGMENT_PROGRAM_BINDING_NV 0x8873
  9692. #define GL_PROGRAM_ERROR_STRING_NV 0x8874
  9693. typedef void (GLAPIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLdouble *params);
  9694. typedef void (GLAPIENTRY * PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLfloat *params);
  9695. typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  9696. typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, const GLdouble v[]);
  9697. typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FNVPROC) (GLuint id, GLsizei len, const GLubyte* name, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  9698. typedef void (GLAPIENTRY * PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC) (GLuint id, GLsizei len, const GLubyte* name, const GLfloat v[]);
  9699. #define glGetProgramNamedParameterdvNV GLEW_GET_FUN(__glewGetProgramNamedParameterdvNV)
  9700. #define glGetProgramNamedParameterfvNV GLEW_GET_FUN(__glewGetProgramNamedParameterfvNV)
  9701. #define glProgramNamedParameter4dNV GLEW_GET_FUN(__glewProgramNamedParameter4dNV)
  9702. #define glProgramNamedParameter4dvNV GLEW_GET_FUN(__glewProgramNamedParameter4dvNV)
  9703. #define glProgramNamedParameter4fNV GLEW_GET_FUN(__glewProgramNamedParameter4fNV)
  9704. #define glProgramNamedParameter4fvNV GLEW_GET_FUN(__glewProgramNamedParameter4fvNV)
  9705. #define GLEW_NV_fragment_program GLEW_GET_VAR(__GLEW_NV_fragment_program)
  9706. #endif /* !GL_NV_fragment_program */
  9707. /* ------------------------ GL_NV_fragment_program2 ------------------------ */
  9708. #if !defined(GL_NV_fragment_program2)
  9709. #define GL_NV_fragment_program2 1
  9710. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  9711. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  9712. #define GL_MAX_PROGRAM_IF_DEPTH_NV 0x88F6
  9713. #define GL_MAX_PROGRAM_LOOP_DEPTH_NV 0x88F7
  9714. #define GL_MAX_PROGRAM_LOOP_COUNT_NV 0x88F8
  9715. #define GLEW_NV_fragment_program2 GLEW_GET_VAR(__GLEW_NV_fragment_program2)
  9716. #endif /* !GL_NV_fragment_program2 */
  9717. /* ------------------------ GL_NV_fragment_program4 ------------------------ */
  9718. #if !defined(GL_NV_fragment_program4)
  9719. #define GL_NV_fragment_program4 1
  9720. #define GLEW_NV_fragment_program4 GLEW_GET_VAR(__GLEW_NV_fragment_program4)
  9721. #endif /* !GL_NV_fragment_program4 */
  9722. /* --------------------- GL_NV_fragment_program_option --------------------- */
  9723. #if !defined(GL_NV_fragment_program_option)
  9724. #define GL_NV_fragment_program_option 1
  9725. #define GLEW_NV_fragment_program_option GLEW_GET_VAR(__GLEW_NV_fragment_program_option)
  9726. #endif /* !GL_NV_fragment_program_option */
  9727. /* ----------------- GL_NV_framebuffer_multisample_coverage ---------------- */
  9728. #if !defined(GL_NV_framebuffer_multisample_coverage)
  9729. #define GL_NV_framebuffer_multisample_coverage 1
  9730. #define GL_RENDERBUFFER_COVERAGE_SAMPLES_NV 0x8CAB
  9731. #define GL_RENDERBUFFER_COLOR_SAMPLES_NV 0x8E10
  9732. #define GL_MAX_MULTISAMPLE_COVERAGE_MODES_NV 0x8E11
  9733. #define GL_MULTISAMPLE_COVERAGE_MODES_NV 0x8E12
  9734. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLenum internalformat, GLsizei width, GLsizei height);
  9735. #define glRenderbufferStorageMultisampleCoverageNV GLEW_GET_FUN(__glewRenderbufferStorageMultisampleCoverageNV)
  9736. #define GLEW_NV_framebuffer_multisample_coverage GLEW_GET_VAR(__GLEW_NV_framebuffer_multisample_coverage)
  9737. #endif /* !GL_NV_framebuffer_multisample_coverage */
  9738. /* ------------------------ GL_NV_geometry_program4 ------------------------ */
  9739. #if !defined(GL_NV_geometry_program4)
  9740. #define GL_NV_geometry_program4 1
  9741. #define GL_GEOMETRY_PROGRAM_NV 0x8C26
  9742. #define GL_MAX_PROGRAM_OUTPUT_VERTICES_NV 0x8C27
  9743. #define GL_MAX_PROGRAM_TOTAL_OUTPUT_COMPONENTS_NV 0x8C28
  9744. typedef void (GLAPIENTRY * PFNGLPROGRAMVERTEXLIMITNVPROC) (GLenum target, GLint limit);
  9745. #define glProgramVertexLimitNV GLEW_GET_FUN(__glewProgramVertexLimitNV)
  9746. #define GLEW_NV_geometry_program4 GLEW_GET_VAR(__GLEW_NV_geometry_program4)
  9747. #endif /* !GL_NV_geometry_program4 */
  9748. /* ------------------------- GL_NV_geometry_shader4 ------------------------ */
  9749. #if !defined(GL_NV_geometry_shader4)
  9750. #define GL_NV_geometry_shader4 1
  9751. #define GLEW_NV_geometry_shader4 GLEW_GET_VAR(__GLEW_NV_geometry_shader4)
  9752. #endif /* !GL_NV_geometry_shader4 */
  9753. /* --------------------------- GL_NV_gpu_program4 -------------------------- */
  9754. #if !defined(GL_NV_gpu_program4)
  9755. #define GL_NV_gpu_program4 1
  9756. #define GL_MIN_PROGRAM_TEXEL_OFFSET_NV 0x8904
  9757. #define GL_MAX_PROGRAM_TEXEL_OFFSET_NV 0x8905
  9758. #define GL_PROGRAM_ATTRIB_COMPONENTS_NV 0x8906
  9759. #define GL_PROGRAM_RESULT_COMPONENTS_NV 0x8907
  9760. #define GL_MAX_PROGRAM_ATTRIB_COMPONENTS_NV 0x8908
  9761. #define GL_MAX_PROGRAM_RESULT_COMPONENTS_NV 0x8909
  9762. #define GL_MAX_PROGRAM_GENERIC_ATTRIBS_NV 0x8DA5
  9763. #define GL_MAX_PROGRAM_GENERIC_RESULTS_NV 0x8DA6
  9764. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9765. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9766. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9767. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9768. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9769. typedef void (GLAPIENTRY * PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9770. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4INVPROC) (GLenum target, GLuint index, GLint x, GLint y, GLint z, GLint w);
  9771. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC) (GLenum target, GLuint index, const GLint *params);
  9772. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4UINVPROC) (GLenum target, GLuint index, GLuint x, GLuint y, GLuint z, GLuint w);
  9773. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC) (GLenum target, GLuint index, const GLuint *params);
  9774. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLint *params);
  9775. typedef void (GLAPIENTRY * PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC) (GLenum target, GLuint index, GLsizei count, const GLuint *params);
  9776. #define glProgramEnvParameterI4iNV GLEW_GET_FUN(__glewProgramEnvParameterI4iNV)
  9777. #define glProgramEnvParameterI4ivNV GLEW_GET_FUN(__glewProgramEnvParameterI4ivNV)
  9778. #define glProgramEnvParameterI4uiNV GLEW_GET_FUN(__glewProgramEnvParameterI4uiNV)
  9779. #define glProgramEnvParameterI4uivNV GLEW_GET_FUN(__glewProgramEnvParameterI4uivNV)
  9780. #define glProgramEnvParametersI4ivNV GLEW_GET_FUN(__glewProgramEnvParametersI4ivNV)
  9781. #define glProgramEnvParametersI4uivNV GLEW_GET_FUN(__glewProgramEnvParametersI4uivNV)
  9782. #define glProgramLocalParameterI4iNV GLEW_GET_FUN(__glewProgramLocalParameterI4iNV)
  9783. #define glProgramLocalParameterI4ivNV GLEW_GET_FUN(__glewProgramLocalParameterI4ivNV)
  9784. #define glProgramLocalParameterI4uiNV GLEW_GET_FUN(__glewProgramLocalParameterI4uiNV)
  9785. #define glProgramLocalParameterI4uivNV GLEW_GET_FUN(__glewProgramLocalParameterI4uivNV)
  9786. #define glProgramLocalParametersI4ivNV GLEW_GET_FUN(__glewProgramLocalParametersI4ivNV)
  9787. #define glProgramLocalParametersI4uivNV GLEW_GET_FUN(__glewProgramLocalParametersI4uivNV)
  9788. #define GLEW_NV_gpu_program4 GLEW_GET_VAR(__GLEW_NV_gpu_program4)
  9789. #endif /* !GL_NV_gpu_program4 */
  9790. /* --------------------------- GL_NV_gpu_program5 -------------------------- */
  9791. #if !defined(GL_NV_gpu_program5)
  9792. #define GL_NV_gpu_program5 1
  9793. #define GL_MAX_GEOMETRY_PROGRAM_INVOCATIONS_NV 0x8E5A
  9794. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5B
  9795. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_NV 0x8E5C
  9796. #define GL_FRAGMENT_PROGRAM_INTERPOLATION_OFFSET_BITS_NV 0x8E5D
  9797. #define GL_MIN_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5E
  9798. #define GL_MAX_PROGRAM_TEXTURE_GATHER_OFFSET_NV 0x8E5F
  9799. #define GLEW_NV_gpu_program5 GLEW_GET_VAR(__GLEW_NV_gpu_program5)
  9800. #endif /* !GL_NV_gpu_program5 */
  9801. /* ------------------------- GL_NV_gpu_program_fp64 ------------------------ */
  9802. #if !defined(GL_NV_gpu_program_fp64)
  9803. #define GL_NV_gpu_program_fp64 1
  9804. #define GLEW_NV_gpu_program_fp64 GLEW_GET_VAR(__GLEW_NV_gpu_program_fp64)
  9805. #endif /* !GL_NV_gpu_program_fp64 */
  9806. /* --------------------------- GL_NV_gpu_shader5 --------------------------- */
  9807. #if !defined(GL_NV_gpu_shader5)
  9808. #define GL_NV_gpu_shader5 1
  9809. #define GL_INT64_NV 0x140E
  9810. #define GL_UNSIGNED_INT64_NV 0x140F
  9811. #define GL_INT8_NV 0x8FE0
  9812. #define GL_INT8_VEC2_NV 0x8FE1
  9813. #define GL_INT8_VEC3_NV 0x8FE2
  9814. #define GL_INT8_VEC4_NV 0x8FE3
  9815. #define GL_INT16_NV 0x8FE4
  9816. #define GL_INT16_VEC2_NV 0x8FE5
  9817. #define GL_INT16_VEC3_NV 0x8FE6
  9818. #define GL_INT16_VEC4_NV 0x8FE7
  9819. #define GL_INT64_VEC2_NV 0x8FE9
  9820. #define GL_INT64_VEC3_NV 0x8FEA
  9821. #define GL_INT64_VEC4_NV 0x8FEB
  9822. #define GL_UNSIGNED_INT8_NV 0x8FEC
  9823. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  9824. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  9825. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  9826. #define GL_UNSIGNED_INT16_NV 0x8FF0
  9827. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  9828. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  9829. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  9830. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  9831. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  9832. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  9833. #define GL_FLOAT16_NV 0x8FF8
  9834. #define GL_FLOAT16_VEC2_NV 0x8FF9
  9835. #define GL_FLOAT16_VEC3_NV 0x8FFA
  9836. #define GL_FLOAT16_VEC4_NV 0x8FFB
  9837. typedef void (GLAPIENTRY * PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT* params);
  9838. typedef void (GLAPIENTRY * PFNGLGETUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLuint64EXT* params);
  9839. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  9840. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value);
  9841. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  9842. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value);
  9843. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  9844. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value);
  9845. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  9846. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value);
  9847. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9848. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value);
  9849. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9850. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value);
  9851. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9852. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT* value);
  9853. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9854. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value);
  9855. typedef void (GLAPIENTRY * PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  9856. typedef void (GLAPIENTRY * PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value);
  9857. typedef void (GLAPIENTRY * PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  9858. typedef void (GLAPIENTRY * PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value);
  9859. typedef void (GLAPIENTRY * PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  9860. typedef void (GLAPIENTRY * PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value);
  9861. typedef void (GLAPIENTRY * PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  9862. typedef void (GLAPIENTRY * PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value);
  9863. typedef void (GLAPIENTRY * PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  9864. typedef void (GLAPIENTRY * PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value);
  9865. typedef void (GLAPIENTRY * PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  9866. typedef void (GLAPIENTRY * PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value);
  9867. typedef void (GLAPIENTRY * PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  9868. typedef void (GLAPIENTRY * PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT* value);
  9869. typedef void (GLAPIENTRY * PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  9870. typedef void (GLAPIENTRY * PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value);
  9871. #define glGetUniformi64vNV GLEW_GET_FUN(__glewGetUniformi64vNV)
  9872. #define glGetUniformui64vNV GLEW_GET_FUN(__glewGetUniformui64vNV)
  9873. #define glProgramUniform1i64NV GLEW_GET_FUN(__glewProgramUniform1i64NV)
  9874. #define glProgramUniform1i64vNV GLEW_GET_FUN(__glewProgramUniform1i64vNV)
  9875. #define glProgramUniform1ui64NV GLEW_GET_FUN(__glewProgramUniform1ui64NV)
  9876. #define glProgramUniform1ui64vNV GLEW_GET_FUN(__glewProgramUniform1ui64vNV)
  9877. #define glProgramUniform2i64NV GLEW_GET_FUN(__glewProgramUniform2i64NV)
  9878. #define glProgramUniform2i64vNV GLEW_GET_FUN(__glewProgramUniform2i64vNV)
  9879. #define glProgramUniform2ui64NV GLEW_GET_FUN(__glewProgramUniform2ui64NV)
  9880. #define glProgramUniform2ui64vNV GLEW_GET_FUN(__glewProgramUniform2ui64vNV)
  9881. #define glProgramUniform3i64NV GLEW_GET_FUN(__glewProgramUniform3i64NV)
  9882. #define glProgramUniform3i64vNV GLEW_GET_FUN(__glewProgramUniform3i64vNV)
  9883. #define glProgramUniform3ui64NV GLEW_GET_FUN(__glewProgramUniform3ui64NV)
  9884. #define glProgramUniform3ui64vNV GLEW_GET_FUN(__glewProgramUniform3ui64vNV)
  9885. #define glProgramUniform4i64NV GLEW_GET_FUN(__glewProgramUniform4i64NV)
  9886. #define glProgramUniform4i64vNV GLEW_GET_FUN(__glewProgramUniform4i64vNV)
  9887. #define glProgramUniform4ui64NV GLEW_GET_FUN(__glewProgramUniform4ui64NV)
  9888. #define glProgramUniform4ui64vNV GLEW_GET_FUN(__glewProgramUniform4ui64vNV)
  9889. #define glUniform1i64NV GLEW_GET_FUN(__glewUniform1i64NV)
  9890. #define glUniform1i64vNV GLEW_GET_FUN(__glewUniform1i64vNV)
  9891. #define glUniform1ui64NV GLEW_GET_FUN(__glewUniform1ui64NV)
  9892. #define glUniform1ui64vNV GLEW_GET_FUN(__glewUniform1ui64vNV)
  9893. #define glUniform2i64NV GLEW_GET_FUN(__glewUniform2i64NV)
  9894. #define glUniform2i64vNV GLEW_GET_FUN(__glewUniform2i64vNV)
  9895. #define glUniform2ui64NV GLEW_GET_FUN(__glewUniform2ui64NV)
  9896. #define glUniform2ui64vNV GLEW_GET_FUN(__glewUniform2ui64vNV)
  9897. #define glUniform3i64NV GLEW_GET_FUN(__glewUniform3i64NV)
  9898. #define glUniform3i64vNV GLEW_GET_FUN(__glewUniform3i64vNV)
  9899. #define glUniform3ui64NV GLEW_GET_FUN(__glewUniform3ui64NV)
  9900. #define glUniform3ui64vNV GLEW_GET_FUN(__glewUniform3ui64vNV)
  9901. #define glUniform4i64NV GLEW_GET_FUN(__glewUniform4i64NV)
  9902. #define glUniform4i64vNV GLEW_GET_FUN(__glewUniform4i64vNV)
  9903. #define glUniform4ui64NV GLEW_GET_FUN(__glewUniform4ui64NV)
  9904. #define glUniform4ui64vNV GLEW_GET_FUN(__glewUniform4ui64vNV)
  9905. #define GLEW_NV_gpu_shader5 GLEW_GET_VAR(__GLEW_NV_gpu_shader5)
  9906. #endif /* !GL_NV_gpu_shader5 */
  9907. /* ---------------------------- GL_NV_half_float --------------------------- */
  9908. #if !defined(GL_NV_half_float)
  9909. #define GL_NV_half_float 1
  9910. #define GL_HALF_FLOAT_NV 0x140B
  9911. typedef unsigned short GLhalf;
  9912. typedef void (GLAPIENTRY * PFNGLCOLOR3HNVPROC) (GLhalf red, GLhalf green, GLhalf blue);
  9913. typedef void (GLAPIENTRY * PFNGLCOLOR3HVNVPROC) (const GLhalf* v);
  9914. typedef void (GLAPIENTRY * PFNGLCOLOR4HNVPROC) (GLhalf red, GLhalf green, GLhalf blue, GLhalf alpha);
  9915. typedef void (GLAPIENTRY * PFNGLCOLOR4HVNVPROC) (const GLhalf* v);
  9916. typedef void (GLAPIENTRY * PFNGLFOGCOORDHNVPROC) (GLhalf fog);
  9917. typedef void (GLAPIENTRY * PFNGLFOGCOORDHVNVPROC) (const GLhalf* fog);
  9918. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1HNVPROC) (GLenum target, GLhalf s);
  9919. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD1HVNVPROC) (GLenum target, const GLhalf* v);
  9920. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2HNVPROC) (GLenum target, GLhalf s, GLhalf t);
  9921. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD2HVNVPROC) (GLenum target, const GLhalf* v);
  9922. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3HNVPROC) (GLenum target, GLhalf s, GLhalf t, GLhalf r);
  9923. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD3HVNVPROC) (GLenum target, const GLhalf* v);
  9924. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4HNVPROC) (GLenum target, GLhalf s, GLhalf t, GLhalf r, GLhalf q);
  9925. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4HVNVPROC) (GLenum target, const GLhalf* v);
  9926. typedef void (GLAPIENTRY * PFNGLNORMAL3HNVPROC) (GLhalf nx, GLhalf ny, GLhalf nz);
  9927. typedef void (GLAPIENTRY * PFNGLNORMAL3HVNVPROC) (const GLhalf* v);
  9928. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3HNVPROC) (GLhalf red, GLhalf green, GLhalf blue);
  9929. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLOR3HVNVPROC) (const GLhalf* v);
  9930. typedef void (GLAPIENTRY * PFNGLTEXCOORD1HNVPROC) (GLhalf s);
  9931. typedef void (GLAPIENTRY * PFNGLTEXCOORD1HVNVPROC) (const GLhalf* v);
  9932. typedef void (GLAPIENTRY * PFNGLTEXCOORD2HNVPROC) (GLhalf s, GLhalf t);
  9933. typedef void (GLAPIENTRY * PFNGLTEXCOORD2HVNVPROC) (const GLhalf* v);
  9934. typedef void (GLAPIENTRY * PFNGLTEXCOORD3HNVPROC) (GLhalf s, GLhalf t, GLhalf r);
  9935. typedef void (GLAPIENTRY * PFNGLTEXCOORD3HVNVPROC) (const GLhalf* v);
  9936. typedef void (GLAPIENTRY * PFNGLTEXCOORD4HNVPROC) (GLhalf s, GLhalf t, GLhalf r, GLhalf q);
  9937. typedef void (GLAPIENTRY * PFNGLTEXCOORD4HVNVPROC) (const GLhalf* v);
  9938. typedef void (GLAPIENTRY * PFNGLVERTEX2HNVPROC) (GLhalf x, GLhalf y);
  9939. typedef void (GLAPIENTRY * PFNGLVERTEX2HVNVPROC) (const GLhalf* v);
  9940. typedef void (GLAPIENTRY * PFNGLVERTEX3HNVPROC) (GLhalf x, GLhalf y, GLhalf z);
  9941. typedef void (GLAPIENTRY * PFNGLVERTEX3HVNVPROC) (const GLhalf* v);
  9942. typedef void (GLAPIENTRY * PFNGLVERTEX4HNVPROC) (GLhalf x, GLhalf y, GLhalf z, GLhalf w);
  9943. typedef void (GLAPIENTRY * PFNGLVERTEX4HVNVPROC) (const GLhalf* v);
  9944. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1HNVPROC) (GLuint index, GLhalf x);
  9945. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1HVNVPROC) (GLuint index, const GLhalf* v);
  9946. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2HNVPROC) (GLuint index, GLhalf x, GLhalf y);
  9947. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2HVNVPROC) (GLuint index, const GLhalf* v);
  9948. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3HNVPROC) (GLuint index, GLhalf x, GLhalf y, GLhalf z);
  9949. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3HVNVPROC) (GLuint index, const GLhalf* v);
  9950. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4HNVPROC) (GLuint index, GLhalf x, GLhalf y, GLhalf z, GLhalf w);
  9951. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4HVNVPROC) (GLuint index, const GLhalf* v);
  9952. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v);
  9953. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v);
  9954. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v);
  9955. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4HVNVPROC) (GLuint index, GLsizei n, const GLhalf* v);
  9956. typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTHNVPROC) (GLhalf weight);
  9957. typedef void (GLAPIENTRY * PFNGLVERTEXWEIGHTHVNVPROC) (const GLhalf* weight);
  9958. #define glColor3hNV GLEW_GET_FUN(__glewColor3hNV)
  9959. #define glColor3hvNV GLEW_GET_FUN(__glewColor3hvNV)
  9960. #define glColor4hNV GLEW_GET_FUN(__glewColor4hNV)
  9961. #define glColor4hvNV GLEW_GET_FUN(__glewColor4hvNV)
  9962. #define glFogCoordhNV GLEW_GET_FUN(__glewFogCoordhNV)
  9963. #define glFogCoordhvNV GLEW_GET_FUN(__glewFogCoordhvNV)
  9964. #define glMultiTexCoord1hNV GLEW_GET_FUN(__glewMultiTexCoord1hNV)
  9965. #define glMultiTexCoord1hvNV GLEW_GET_FUN(__glewMultiTexCoord1hvNV)
  9966. #define glMultiTexCoord2hNV GLEW_GET_FUN(__glewMultiTexCoord2hNV)
  9967. #define glMultiTexCoord2hvNV GLEW_GET_FUN(__glewMultiTexCoord2hvNV)
  9968. #define glMultiTexCoord3hNV GLEW_GET_FUN(__glewMultiTexCoord3hNV)
  9969. #define glMultiTexCoord3hvNV GLEW_GET_FUN(__glewMultiTexCoord3hvNV)
  9970. #define glMultiTexCoord4hNV GLEW_GET_FUN(__glewMultiTexCoord4hNV)
  9971. #define glMultiTexCoord4hvNV GLEW_GET_FUN(__glewMultiTexCoord4hvNV)
  9972. #define glNormal3hNV GLEW_GET_FUN(__glewNormal3hNV)
  9973. #define glNormal3hvNV GLEW_GET_FUN(__glewNormal3hvNV)
  9974. #define glSecondaryColor3hNV GLEW_GET_FUN(__glewSecondaryColor3hNV)
  9975. #define glSecondaryColor3hvNV GLEW_GET_FUN(__glewSecondaryColor3hvNV)
  9976. #define glTexCoord1hNV GLEW_GET_FUN(__glewTexCoord1hNV)
  9977. #define glTexCoord1hvNV GLEW_GET_FUN(__glewTexCoord1hvNV)
  9978. #define glTexCoord2hNV GLEW_GET_FUN(__glewTexCoord2hNV)
  9979. #define glTexCoord2hvNV GLEW_GET_FUN(__glewTexCoord2hvNV)
  9980. #define glTexCoord3hNV GLEW_GET_FUN(__glewTexCoord3hNV)
  9981. #define glTexCoord3hvNV GLEW_GET_FUN(__glewTexCoord3hvNV)
  9982. #define glTexCoord4hNV GLEW_GET_FUN(__glewTexCoord4hNV)
  9983. #define glTexCoord4hvNV GLEW_GET_FUN(__glewTexCoord4hvNV)
  9984. #define glVertex2hNV GLEW_GET_FUN(__glewVertex2hNV)
  9985. #define glVertex2hvNV GLEW_GET_FUN(__glewVertex2hvNV)
  9986. #define glVertex3hNV GLEW_GET_FUN(__glewVertex3hNV)
  9987. #define glVertex3hvNV GLEW_GET_FUN(__glewVertex3hvNV)
  9988. #define glVertex4hNV GLEW_GET_FUN(__glewVertex4hNV)
  9989. #define glVertex4hvNV GLEW_GET_FUN(__glewVertex4hvNV)
  9990. #define glVertexAttrib1hNV GLEW_GET_FUN(__glewVertexAttrib1hNV)
  9991. #define glVertexAttrib1hvNV GLEW_GET_FUN(__glewVertexAttrib1hvNV)
  9992. #define glVertexAttrib2hNV GLEW_GET_FUN(__glewVertexAttrib2hNV)
  9993. #define glVertexAttrib2hvNV GLEW_GET_FUN(__glewVertexAttrib2hvNV)
  9994. #define glVertexAttrib3hNV GLEW_GET_FUN(__glewVertexAttrib3hNV)
  9995. #define glVertexAttrib3hvNV GLEW_GET_FUN(__glewVertexAttrib3hvNV)
  9996. #define glVertexAttrib4hNV GLEW_GET_FUN(__glewVertexAttrib4hNV)
  9997. #define glVertexAttrib4hvNV GLEW_GET_FUN(__glewVertexAttrib4hvNV)
  9998. #define glVertexAttribs1hvNV GLEW_GET_FUN(__glewVertexAttribs1hvNV)
  9999. #define glVertexAttribs2hvNV GLEW_GET_FUN(__glewVertexAttribs2hvNV)
  10000. #define glVertexAttribs3hvNV GLEW_GET_FUN(__glewVertexAttribs3hvNV)
  10001. #define glVertexAttribs4hvNV GLEW_GET_FUN(__glewVertexAttribs4hvNV)
  10002. #define glVertexWeighthNV GLEW_GET_FUN(__glewVertexWeighthNV)
  10003. #define glVertexWeighthvNV GLEW_GET_FUN(__glewVertexWeighthvNV)
  10004. #define GLEW_NV_half_float GLEW_GET_VAR(__GLEW_NV_half_float)
  10005. #endif /* !GL_NV_half_float */
  10006. /* ------------------------ GL_NV_light_max_exponent ----------------------- */
  10007. #if !defined(GL_NV_light_max_exponent)
  10008. #define GL_NV_light_max_exponent 1
  10009. #define GL_MAX_SHININESS_NV 0x8504
  10010. #define GL_MAX_SPOT_EXPONENT_NV 0x8505
  10011. #define GLEW_NV_light_max_exponent GLEW_GET_VAR(__GLEW_NV_light_max_exponent)
  10012. #endif /* !GL_NV_light_max_exponent */
  10013. /* ----------------------- GL_NV_multisample_coverage ---------------------- */
  10014. #if !defined(GL_NV_multisample_coverage)
  10015. #define GL_NV_multisample_coverage 1
  10016. #define GL_COVERAGE_SAMPLES_NV 0x80A9
  10017. #define GL_COLOR_SAMPLES_NV 0x8E20
  10018. #define GLEW_NV_multisample_coverage GLEW_GET_VAR(__GLEW_NV_multisample_coverage)
  10019. #endif /* !GL_NV_multisample_coverage */
  10020. /* --------------------- GL_NV_multisample_filter_hint --------------------- */
  10021. #if !defined(GL_NV_multisample_filter_hint)
  10022. #define GL_NV_multisample_filter_hint 1
  10023. #define GL_MULTISAMPLE_FILTER_HINT_NV 0x8534
  10024. #define GLEW_NV_multisample_filter_hint GLEW_GET_VAR(__GLEW_NV_multisample_filter_hint)
  10025. #endif /* !GL_NV_multisample_filter_hint */
  10026. /* ------------------------- GL_NV_occlusion_query ------------------------- */
  10027. #if !defined(GL_NV_occlusion_query)
  10028. #define GL_NV_occlusion_query 1
  10029. #define GL_PIXEL_COUNTER_BITS_NV 0x8864
  10030. #define GL_CURRENT_OCCLUSION_QUERY_ID_NV 0x8865
  10031. #define GL_PIXEL_COUNT_NV 0x8866
  10032. #define GL_PIXEL_COUNT_AVAILABLE_NV 0x8867
  10033. typedef void (GLAPIENTRY * PFNGLBEGINOCCLUSIONQUERYNVPROC) (GLuint id);
  10034. typedef void (GLAPIENTRY * PFNGLDELETEOCCLUSIONQUERIESNVPROC) (GLsizei n, const GLuint* ids);
  10035. typedef void (GLAPIENTRY * PFNGLENDOCCLUSIONQUERYNVPROC) (void);
  10036. typedef void (GLAPIENTRY * PFNGLGENOCCLUSIONQUERIESNVPROC) (GLsizei n, GLuint* ids);
  10037. typedef void (GLAPIENTRY * PFNGLGETOCCLUSIONQUERYIVNVPROC) (GLuint id, GLenum pname, GLint* params);
  10038. typedef void (GLAPIENTRY * PFNGLGETOCCLUSIONQUERYUIVNVPROC) (GLuint id, GLenum pname, GLuint* params);
  10039. typedef GLboolean (GLAPIENTRY * PFNGLISOCCLUSIONQUERYNVPROC) (GLuint id);
  10040. #define glBeginOcclusionQueryNV GLEW_GET_FUN(__glewBeginOcclusionQueryNV)
  10041. #define glDeleteOcclusionQueriesNV GLEW_GET_FUN(__glewDeleteOcclusionQueriesNV)
  10042. #define glEndOcclusionQueryNV GLEW_GET_FUN(__glewEndOcclusionQueryNV)
  10043. #define glGenOcclusionQueriesNV GLEW_GET_FUN(__glewGenOcclusionQueriesNV)
  10044. #define glGetOcclusionQueryivNV GLEW_GET_FUN(__glewGetOcclusionQueryivNV)
  10045. #define glGetOcclusionQueryuivNV GLEW_GET_FUN(__glewGetOcclusionQueryuivNV)
  10046. #define glIsOcclusionQueryNV GLEW_GET_FUN(__glewIsOcclusionQueryNV)
  10047. #define GLEW_NV_occlusion_query GLEW_GET_VAR(__GLEW_NV_occlusion_query)
  10048. #endif /* !GL_NV_occlusion_query */
  10049. /* ----------------------- GL_NV_packed_depth_stencil ---------------------- */
  10050. #if !defined(GL_NV_packed_depth_stencil)
  10051. #define GL_NV_packed_depth_stencil 1
  10052. #define GL_DEPTH_STENCIL_NV 0x84F9
  10053. #define GL_UNSIGNED_INT_24_8_NV 0x84FA
  10054. #define GLEW_NV_packed_depth_stencil GLEW_GET_VAR(__GLEW_NV_packed_depth_stencil)
  10055. #endif /* !GL_NV_packed_depth_stencil */
  10056. /* --------------------- GL_NV_parameter_buffer_object --------------------- */
  10057. #if !defined(GL_NV_parameter_buffer_object)
  10058. #define GL_NV_parameter_buffer_object 1
  10059. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_BINDINGS_NV 0x8DA0
  10060. #define GL_MAX_PROGRAM_PARAMETER_BUFFER_SIZE_NV 0x8DA1
  10061. #define GL_VERTEX_PROGRAM_PARAMETER_BUFFER_NV 0x8DA2
  10062. #define GL_GEOMETRY_PROGRAM_PARAMETER_BUFFER_NV 0x8DA3
  10063. #define GL_FRAGMENT_PROGRAM_PARAMETER_BUFFER_NV 0x8DA4
  10064. typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLint *params);
  10065. typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLuint *params);
  10066. typedef void (GLAPIENTRY * PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC) (GLenum target, GLuint buffer, GLuint index, GLsizei count, const GLfloat *params);
  10067. #define glProgramBufferParametersIivNV GLEW_GET_FUN(__glewProgramBufferParametersIivNV)
  10068. #define glProgramBufferParametersIuivNV GLEW_GET_FUN(__glewProgramBufferParametersIuivNV)
  10069. #define glProgramBufferParametersfvNV GLEW_GET_FUN(__glewProgramBufferParametersfvNV)
  10070. #define GLEW_NV_parameter_buffer_object GLEW_GET_VAR(__GLEW_NV_parameter_buffer_object)
  10071. #endif /* !GL_NV_parameter_buffer_object */
  10072. /* --------------------- GL_NV_parameter_buffer_object2 -------------------- */
  10073. #if !defined(GL_NV_parameter_buffer_object2)
  10074. #define GL_NV_parameter_buffer_object2 1
  10075. #define GLEW_NV_parameter_buffer_object2 GLEW_GET_VAR(__GLEW_NV_parameter_buffer_object2)
  10076. #endif /* !GL_NV_parameter_buffer_object2 */
  10077. /* -------------------------- GL_NV_path_rendering ------------------------- */
  10078. #if !defined(GL_NV_path_rendering)
  10079. #define GL_NV_path_rendering 1
  10080. #define GL_CLOSE_PATH_NV 0x00
  10081. #define GL_BOLD_BIT_NV 0x01
  10082. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  10083. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  10084. #define GL_ITALIC_BIT_NV 0x02
  10085. #define GL_MOVE_TO_NV 0x02
  10086. #define GL_RELATIVE_MOVE_TO_NV 0x03
  10087. #define GL_LINE_TO_NV 0x04
  10088. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  10089. #define GL_RELATIVE_LINE_TO_NV 0x05
  10090. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  10091. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  10092. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  10093. #define GL_VERTICAL_LINE_TO_NV 0x08
  10094. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  10095. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  10096. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  10097. #define GL_CUBIC_CURVE_TO_NV 0x0C
  10098. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  10099. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  10100. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  10101. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  10102. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  10103. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  10104. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  10105. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  10106. #define GL_SMALL_CW_ARC_TO_NV 0x14
  10107. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  10108. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  10109. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  10110. #define GL_LARGE_CW_ARC_TO_NV 0x18
  10111. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  10112. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  10113. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  10114. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  10115. #define GL_RESTART_PATH_NV 0xF0
  10116. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  10117. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  10118. #define GL_RECT_NV 0xF6
  10119. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  10120. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  10121. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  10122. #define GL_ARC_TO_NV 0xFE
  10123. #define GL_RELATIVE_ARC_TO_NV 0xFF
  10124. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  10125. #define GL_PRIMARY_COLOR_NV 0x852C
  10126. #define GL_SECONDARY_COLOR_NV 0x852D
  10127. #define GL_PRIMARY_COLOR 0x8577
  10128. #define GL_PATH_FORMAT_SVG_NV 0x9070
  10129. #define GL_PATH_FORMAT_PS_NV 0x9071
  10130. #define GL_STANDARD_FONT_NAME_NV 0x9072
  10131. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  10132. #define GL_FILE_NAME_NV 0x9074
  10133. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  10134. #define GL_PATH_END_CAPS_NV 0x9076
  10135. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  10136. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  10137. #define GL_PATH_JOIN_STYLE_NV 0x9079
  10138. #define GL_PATH_MITER_LIMIT_NV 0x907A
  10139. #define GL_PATH_DASH_CAPS_NV 0x907B
  10140. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  10141. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  10142. #define GL_PATH_DASH_OFFSET_NV 0x907E
  10143. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  10144. #define GL_PATH_FILL_MODE_NV 0x9080
  10145. #define GL_PATH_FILL_MASK_NV 0x9081
  10146. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  10147. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  10148. #define GL_PATH_STROKE_MASK_NV 0x9084
  10149. #define GL_COUNT_UP_NV 0x9088
  10150. #define GL_COUNT_DOWN_NV 0x9089
  10151. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  10152. #define GL_CONVEX_HULL_NV 0x908B
  10153. #define GL_BOUNDING_BOX_NV 0x908D
  10154. #define GL_TRANSLATE_X_NV 0x908E
  10155. #define GL_TRANSLATE_Y_NV 0x908F
  10156. #define GL_TRANSLATE_2D_NV 0x9090
  10157. #define GL_TRANSLATE_3D_NV 0x9091
  10158. #define GL_AFFINE_2D_NV 0x9092
  10159. #define GL_AFFINE_3D_NV 0x9094
  10160. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  10161. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  10162. #define GL_UTF8_NV 0x909A
  10163. #define GL_UTF16_NV 0x909B
  10164. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  10165. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  10166. #define GL_PATH_COORD_COUNT_NV 0x909E
  10167. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  10168. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  10169. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  10170. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  10171. #define GL_SQUARE_NV 0x90A3
  10172. #define GL_ROUND_NV 0x90A4
  10173. #define GL_TRIANGULAR_NV 0x90A5
  10174. #define GL_BEVEL_NV 0x90A6
  10175. #define GL_MITER_REVERT_NV 0x90A7
  10176. #define GL_MITER_TRUNCATE_NV 0x90A8
  10177. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  10178. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  10179. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  10180. #define GL_PATH_FOG_GEN_MODE_NV 0x90AC
  10181. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  10182. #define GL_ADJACENT_PAIRS_NV 0x90AE
  10183. #define GL_FIRST_TO_REST_NV 0x90AF
  10184. #define GL_PATH_GEN_MODE_NV 0x90B0
  10185. #define GL_PATH_GEN_COEFF_NV 0x90B1
  10186. #define GL_PATH_GEN_COLOR_FORMAT_NV 0x90B2
  10187. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  10188. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  10189. #define GL_MOVE_TO_RESETS_NV 0x90B5
  10190. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  10191. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  10192. #define GL_PATH_STENCIL_REF_NV 0x90B8
  10193. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  10194. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  10195. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  10196. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  10197. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  10198. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  10199. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  10200. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  10201. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  10202. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  10203. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  10204. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  10205. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  10206. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  10207. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  10208. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  10209. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  10210. typedef void (GLAPIENTRY * PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  10211. typedef void (GLAPIENTRY * PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10212. typedef void (GLAPIENTRY * PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  10213. typedef void (GLAPIENTRY * PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  10214. typedef void (GLAPIENTRY * PFNGLCOVERSTROKEPATHNVPROC) (GLuint name, GLenum coverMode);
  10215. typedef void (GLAPIENTRY * PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  10216. typedef GLuint (GLAPIENTRY * PFNGLGENPATHSNVPROC) (GLsizei range);
  10217. typedef void (GLAPIENTRY * PFNGLGETPATHCOLORGENFVNVPROC) (GLenum color, GLenum pname, GLfloat* value);
  10218. typedef void (GLAPIENTRY * PFNGLGETPATHCOLORGENIVNVPROC) (GLenum color, GLenum pname, GLint* value);
  10219. typedef void (GLAPIENTRY * PFNGLGETPATHCOMMANDSNVPROC) (GLuint name, GLubyte* commands);
  10220. typedef void (GLAPIENTRY * PFNGLGETPATHCOORDSNVPROC) (GLuint name, GLfloat* coords);
  10221. typedef void (GLAPIENTRY * PFNGLGETPATHDASHARRAYNVPROC) (GLuint name, GLfloat* dashArray);
  10222. typedef GLfloat (GLAPIENTRY * PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  10223. typedef void (GLAPIENTRY * PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint fistPathName, GLsizei numPaths, GLsizei stride, GLfloat* metrics);
  10224. typedef void (GLAPIENTRY * PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  10225. typedef void (GLAPIENTRY * PFNGLGETPATHPARAMETERFVNVPROC) (GLuint name, GLenum param, GLfloat* value);
  10226. typedef void (GLAPIENTRY * PFNGLGETPATHPARAMETERIVNVPROC) (GLuint name, GLenum param, GLint* value);
  10227. typedef void (GLAPIENTRY * PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  10228. typedef void (GLAPIENTRY * PFNGLGETPATHTEXGENFVNVPROC) (GLenum texCoordSet, GLenum pname, GLfloat* value);
  10229. typedef void (GLAPIENTRY * PFNGLGETPATHTEXGENIVNVPROC) (GLenum texCoordSet, GLenum pname, GLint* value);
  10230. typedef void (GLAPIENTRY * PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  10231. typedef GLboolean (GLAPIENTRY * PFNGLISPATHNVPROC) (GLuint path);
  10232. typedef GLboolean (GLAPIENTRY * PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  10233. typedef GLboolean (GLAPIENTRY * PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  10234. typedef void (GLAPIENTRY * PFNGLPATHCOLORGENNVPROC) (GLenum color, GLenum genMode, GLenum colorFormat, const GLfloat* coeffs);
  10235. typedef void (GLAPIENTRY * PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte* commands, GLsizei numCoords, GLenum coordType, const GLvoid*coords);
  10236. typedef void (GLAPIENTRY * PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void* coords);
  10237. typedef void (GLAPIENTRY * PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum zfunc);
  10238. typedef void (GLAPIENTRY * PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat* dashArray);
  10239. typedef void (GLAPIENTRY * PFNGLPATHFOGGENNVPROC) (GLenum genMode);
  10240. typedef void (GLAPIENTRY * PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void* fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10241. typedef void (GLAPIENTRY * PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void* fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const GLvoid*charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  10242. typedef void (GLAPIENTRY * PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  10243. typedef void (GLAPIENTRY * PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat* value);
  10244. typedef void (GLAPIENTRY * PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  10245. typedef void (GLAPIENTRY * PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint* value);
  10246. typedef void (GLAPIENTRY * PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  10247. typedef void (GLAPIENTRY * PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  10248. typedef void (GLAPIENTRY * PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void* pathString);
  10249. typedef void (GLAPIENTRY * PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte* commands, GLsizei numCoords, GLenum coordType, const GLvoid*coords);
  10250. typedef void (GLAPIENTRY * PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void* coords);
  10251. typedef void (GLAPIENTRY * PFNGLPATHTEXGENNVPROC) (GLenum texCoordSet, GLenum genMode, GLint components, const GLfloat* coeffs);
  10252. typedef GLboolean (GLAPIENTRY * PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat* x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  10253. typedef void (GLAPIENTRY * PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10254. typedef void (GLAPIENTRY * PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  10255. typedef void (GLAPIENTRY * PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void* paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  10256. typedef void (GLAPIENTRY * PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  10257. typedef void (GLAPIENTRY * PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat* transformValues);
  10258. typedef void (GLAPIENTRY * PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint paths[], const GLfloat weights[]);
  10259. #define glCopyPathNV GLEW_GET_FUN(__glewCopyPathNV)
  10260. #define glCoverFillPathInstancedNV GLEW_GET_FUN(__glewCoverFillPathInstancedNV)
  10261. #define glCoverFillPathNV GLEW_GET_FUN(__glewCoverFillPathNV)
  10262. #define glCoverStrokePathInstancedNV GLEW_GET_FUN(__glewCoverStrokePathInstancedNV)
  10263. #define glCoverStrokePathNV GLEW_GET_FUN(__glewCoverStrokePathNV)
  10264. #define glDeletePathsNV GLEW_GET_FUN(__glewDeletePathsNV)
  10265. #define glGenPathsNV GLEW_GET_FUN(__glewGenPathsNV)
  10266. #define glGetPathColorGenfvNV GLEW_GET_FUN(__glewGetPathColorGenfvNV)
  10267. #define glGetPathColorGenivNV GLEW_GET_FUN(__glewGetPathColorGenivNV)
  10268. #define glGetPathCommandsNV GLEW_GET_FUN(__glewGetPathCommandsNV)
  10269. #define glGetPathCoordsNV GLEW_GET_FUN(__glewGetPathCoordsNV)
  10270. #define glGetPathDashArrayNV GLEW_GET_FUN(__glewGetPathDashArrayNV)
  10271. #define glGetPathLengthNV GLEW_GET_FUN(__glewGetPathLengthNV)
  10272. #define glGetPathMetricRangeNV GLEW_GET_FUN(__glewGetPathMetricRangeNV)
  10273. #define glGetPathMetricsNV GLEW_GET_FUN(__glewGetPathMetricsNV)
  10274. #define glGetPathParameterfvNV GLEW_GET_FUN(__glewGetPathParameterfvNV)
  10275. #define glGetPathParameterivNV GLEW_GET_FUN(__glewGetPathParameterivNV)
  10276. #define glGetPathSpacingNV GLEW_GET_FUN(__glewGetPathSpacingNV)
  10277. #define glGetPathTexGenfvNV GLEW_GET_FUN(__glewGetPathTexGenfvNV)
  10278. #define glGetPathTexGenivNV GLEW_GET_FUN(__glewGetPathTexGenivNV)
  10279. #define glInterpolatePathsNV GLEW_GET_FUN(__glewInterpolatePathsNV)
  10280. #define glIsPathNV GLEW_GET_FUN(__glewIsPathNV)
  10281. #define glIsPointInFillPathNV GLEW_GET_FUN(__glewIsPointInFillPathNV)
  10282. #define glIsPointInStrokePathNV GLEW_GET_FUN(__glewIsPointInStrokePathNV)
  10283. #define glPathColorGenNV GLEW_GET_FUN(__glewPathColorGenNV)
  10284. #define glPathCommandsNV GLEW_GET_FUN(__glewPathCommandsNV)
  10285. #define glPathCoordsNV GLEW_GET_FUN(__glewPathCoordsNV)
  10286. #define glPathCoverDepthFuncNV GLEW_GET_FUN(__glewPathCoverDepthFuncNV)
  10287. #define glPathDashArrayNV GLEW_GET_FUN(__glewPathDashArrayNV)
  10288. #define glPathFogGenNV GLEW_GET_FUN(__glewPathFogGenNV)
  10289. #define glPathGlyphRangeNV GLEW_GET_FUN(__glewPathGlyphRangeNV)
  10290. #define glPathGlyphsNV GLEW_GET_FUN(__glewPathGlyphsNV)
  10291. #define glPathParameterfNV GLEW_GET_FUN(__glewPathParameterfNV)
  10292. #define glPathParameterfvNV GLEW_GET_FUN(__glewPathParameterfvNV)
  10293. #define glPathParameteriNV GLEW_GET_FUN(__glewPathParameteriNV)
  10294. #define glPathParameterivNV GLEW_GET_FUN(__glewPathParameterivNV)
  10295. #define glPathStencilDepthOffsetNV GLEW_GET_FUN(__glewPathStencilDepthOffsetNV)
  10296. #define glPathStencilFuncNV GLEW_GET_FUN(__glewPathStencilFuncNV)
  10297. #define glPathStringNV GLEW_GET_FUN(__glewPathStringNV)
  10298. #define glPathSubCommandsNV GLEW_GET_FUN(__glewPathSubCommandsNV)
  10299. #define glPathSubCoordsNV GLEW_GET_FUN(__glewPathSubCoordsNV)
  10300. #define glPathTexGenNV GLEW_GET_FUN(__glewPathTexGenNV)
  10301. #define glPointAlongPathNV GLEW_GET_FUN(__glewPointAlongPathNV)
  10302. #define glStencilFillPathInstancedNV GLEW_GET_FUN(__glewStencilFillPathInstancedNV)
  10303. #define glStencilFillPathNV GLEW_GET_FUN(__glewStencilFillPathNV)
  10304. #define glStencilStrokePathInstancedNV GLEW_GET_FUN(__glewStencilStrokePathInstancedNV)
  10305. #define glStencilStrokePathNV GLEW_GET_FUN(__glewStencilStrokePathNV)
  10306. #define glTransformPathNV GLEW_GET_FUN(__glewTransformPathNV)
  10307. #define glWeightPathsNV GLEW_GET_FUN(__glewWeightPathsNV)
  10308. #define GLEW_NV_path_rendering GLEW_GET_VAR(__GLEW_NV_path_rendering)
  10309. #endif /* !GL_NV_path_rendering */
  10310. /* ------------------------- GL_NV_pixel_data_range ------------------------ */
  10311. #if !defined(GL_NV_pixel_data_range)
  10312. #define GL_NV_pixel_data_range 1
  10313. #define GL_WRITE_PIXEL_DATA_RANGE_NV 0x8878
  10314. #define GL_READ_PIXEL_DATA_RANGE_NV 0x8879
  10315. #define GL_WRITE_PIXEL_DATA_RANGE_LENGTH_NV 0x887A
  10316. #define GL_READ_PIXEL_DATA_RANGE_LENGTH_NV 0x887B
  10317. #define GL_WRITE_PIXEL_DATA_RANGE_POINTER_NV 0x887C
  10318. #define GL_READ_PIXEL_DATA_RANGE_POINTER_NV 0x887D
  10319. typedef void (GLAPIENTRY * PFNGLFLUSHPIXELDATARANGENVPROC) (GLenum target);
  10320. typedef void (GLAPIENTRY * PFNGLPIXELDATARANGENVPROC) (GLenum target, GLsizei length, void* pointer);
  10321. #define glFlushPixelDataRangeNV GLEW_GET_FUN(__glewFlushPixelDataRangeNV)
  10322. #define glPixelDataRangeNV GLEW_GET_FUN(__glewPixelDataRangeNV)
  10323. #define GLEW_NV_pixel_data_range GLEW_GET_VAR(__GLEW_NV_pixel_data_range)
  10324. #endif /* !GL_NV_pixel_data_range */
  10325. /* --------------------------- GL_NV_point_sprite -------------------------- */
  10326. #if !defined(GL_NV_point_sprite)
  10327. #define GL_NV_point_sprite 1
  10328. #define GL_POINT_SPRITE_NV 0x8861
  10329. #define GL_COORD_REPLACE_NV 0x8862
  10330. #define GL_POINT_SPRITE_R_MODE_NV 0x8863
  10331. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERINVPROC) (GLenum pname, GLint param);
  10332. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERIVNVPROC) (GLenum pname, const GLint* params);
  10333. #define glPointParameteriNV GLEW_GET_FUN(__glewPointParameteriNV)
  10334. #define glPointParameterivNV GLEW_GET_FUN(__glewPointParameterivNV)
  10335. #define GLEW_NV_point_sprite GLEW_GET_VAR(__GLEW_NV_point_sprite)
  10336. #endif /* !GL_NV_point_sprite */
  10337. /* -------------------------- GL_NV_present_video -------------------------- */
  10338. #if !defined(GL_NV_present_video)
  10339. #define GL_NV_present_video 1
  10340. #define GL_FRAME_NV 0x8E26
  10341. #define GL_FIELDS_NV 0x8E27
  10342. #define GL_CURRENT_TIME_NV 0x8E28
  10343. #define GL_NUM_FILL_STREAMS_NV 0x8E29
  10344. #define GL_PRESENT_TIME_NV 0x8E2A
  10345. #define GL_PRESENT_DURATION_NV 0x8E2B
  10346. typedef void (GLAPIENTRY * PFNGLGETVIDEOI64VNVPROC) (GLuint video_slot, GLenum pname, GLint64EXT* params);
  10347. typedef void (GLAPIENTRY * PFNGLGETVIDEOIVNVPROC) (GLuint video_slot, GLenum pname, GLint* params);
  10348. typedef void (GLAPIENTRY * PFNGLGETVIDEOUI64VNVPROC) (GLuint video_slot, GLenum pname, GLuint64EXT* params);
  10349. typedef void (GLAPIENTRY * PFNGLGETVIDEOUIVNVPROC) (GLuint video_slot, GLenum pname, GLuint* params);
  10350. typedef void (GLAPIENTRY * 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);
  10351. typedef void (GLAPIENTRY * PFNGLPRESENTFRAMEKEYEDNVPROC) (GLuint video_slot, GLuint64EXT minPresentTime, GLuint beginPresentTimeId, GLuint presentDurationId, GLenum type, GLenum target0, GLuint fill0, GLuint key0, GLenum target1, GLuint fill1, GLuint key1);
  10352. #define glGetVideoi64vNV GLEW_GET_FUN(__glewGetVideoi64vNV)
  10353. #define glGetVideoivNV GLEW_GET_FUN(__glewGetVideoivNV)
  10354. #define glGetVideoui64vNV GLEW_GET_FUN(__glewGetVideoui64vNV)
  10355. #define glGetVideouivNV GLEW_GET_FUN(__glewGetVideouivNV)
  10356. #define glPresentFrameDualFillNV GLEW_GET_FUN(__glewPresentFrameDualFillNV)
  10357. #define glPresentFrameKeyedNV GLEW_GET_FUN(__glewPresentFrameKeyedNV)
  10358. #define GLEW_NV_present_video GLEW_GET_VAR(__GLEW_NV_present_video)
  10359. #endif /* !GL_NV_present_video */
  10360. /* ------------------------ GL_NV_primitive_restart ------------------------ */
  10361. #if !defined(GL_NV_primitive_restart)
  10362. #define GL_NV_primitive_restart 1
  10363. #define GL_PRIMITIVE_RESTART_NV 0x8558
  10364. #define GL_PRIMITIVE_RESTART_INDEX_NV 0x8559
  10365. typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTINDEXNVPROC) (GLuint index);
  10366. typedef void (GLAPIENTRY * PFNGLPRIMITIVERESTARTNVPROC) (void);
  10367. #define glPrimitiveRestartIndexNV GLEW_GET_FUN(__glewPrimitiveRestartIndexNV)
  10368. #define glPrimitiveRestartNV GLEW_GET_FUN(__glewPrimitiveRestartNV)
  10369. #define GLEW_NV_primitive_restart GLEW_GET_VAR(__GLEW_NV_primitive_restart)
  10370. #endif /* !GL_NV_primitive_restart */
  10371. /* ------------------------ GL_NV_register_combiners ----------------------- */
  10372. #if !defined(GL_NV_register_combiners)
  10373. #define GL_NV_register_combiners 1
  10374. #define GL_REGISTER_COMBINERS_NV 0x8522
  10375. #define GL_VARIABLE_A_NV 0x8523
  10376. #define GL_VARIABLE_B_NV 0x8524
  10377. #define GL_VARIABLE_C_NV 0x8525
  10378. #define GL_VARIABLE_D_NV 0x8526
  10379. #define GL_VARIABLE_E_NV 0x8527
  10380. #define GL_VARIABLE_F_NV 0x8528
  10381. #define GL_VARIABLE_G_NV 0x8529
  10382. #define GL_CONSTANT_COLOR0_NV 0x852A
  10383. #define GL_CONSTANT_COLOR1_NV 0x852B
  10384. #define GL_PRIMARY_COLOR_NV 0x852C
  10385. #define GL_SECONDARY_COLOR_NV 0x852D
  10386. #define GL_SPARE0_NV 0x852E
  10387. #define GL_SPARE1_NV 0x852F
  10388. #define GL_DISCARD_NV 0x8530
  10389. #define GL_E_TIMES_F_NV 0x8531
  10390. #define GL_SPARE0_PLUS_SECONDARY_COLOR_NV 0x8532
  10391. #define GL_UNSIGNED_IDENTITY_NV 0x8536
  10392. #define GL_UNSIGNED_INVERT_NV 0x8537
  10393. #define GL_EXPAND_NORMAL_NV 0x8538
  10394. #define GL_EXPAND_NEGATE_NV 0x8539
  10395. #define GL_HALF_BIAS_NORMAL_NV 0x853A
  10396. #define GL_HALF_BIAS_NEGATE_NV 0x853B
  10397. #define GL_SIGNED_IDENTITY_NV 0x853C
  10398. #define GL_SIGNED_NEGATE_NV 0x853D
  10399. #define GL_SCALE_BY_TWO_NV 0x853E
  10400. #define GL_SCALE_BY_FOUR_NV 0x853F
  10401. #define GL_SCALE_BY_ONE_HALF_NV 0x8540
  10402. #define GL_BIAS_BY_NEGATIVE_ONE_HALF_NV 0x8541
  10403. #define GL_COMBINER_INPUT_NV 0x8542
  10404. #define GL_COMBINER_MAPPING_NV 0x8543
  10405. #define GL_COMBINER_COMPONENT_USAGE_NV 0x8544
  10406. #define GL_COMBINER_AB_DOT_PRODUCT_NV 0x8545
  10407. #define GL_COMBINER_CD_DOT_PRODUCT_NV 0x8546
  10408. #define GL_COMBINER_MUX_SUM_NV 0x8547
  10409. #define GL_COMBINER_SCALE_NV 0x8548
  10410. #define GL_COMBINER_BIAS_NV 0x8549
  10411. #define GL_COMBINER_AB_OUTPUT_NV 0x854A
  10412. #define GL_COMBINER_CD_OUTPUT_NV 0x854B
  10413. #define GL_COMBINER_SUM_OUTPUT_NV 0x854C
  10414. #define GL_MAX_GENERAL_COMBINERS_NV 0x854D
  10415. #define GL_NUM_GENERAL_COMBINERS_NV 0x854E
  10416. #define GL_COLOR_SUM_CLAMP_NV 0x854F
  10417. #define GL_COMBINER0_NV 0x8550
  10418. #define GL_COMBINER1_NV 0x8551
  10419. #define GL_COMBINER2_NV 0x8552
  10420. #define GL_COMBINER3_NV 0x8553
  10421. #define GL_COMBINER4_NV 0x8554
  10422. #define GL_COMBINER5_NV 0x8555
  10423. #define GL_COMBINER6_NV 0x8556
  10424. #define GL_COMBINER7_NV 0x8557
  10425. typedef void (GLAPIENTRY * PFNGLCOMBINERINPUTNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10426. typedef void (GLAPIENTRY * PFNGLCOMBINEROUTPUTNVPROC) (GLenum stage, GLenum portion, GLenum abOutput, GLenum cdOutput, GLenum sumOutput, GLenum scale, GLenum bias, GLboolean abDotProduct, GLboolean cdDotProduct, GLboolean muxSum);
  10427. typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  10428. typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERFVNVPROC) (GLenum pname, const GLfloat* params);
  10429. typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERINVPROC) (GLenum pname, GLint param);
  10430. typedef void (GLAPIENTRY * PFNGLCOMBINERPARAMETERIVNVPROC) (GLenum pname, const GLint* params);
  10431. typedef void (GLAPIENTRY * PFNGLFINALCOMBINERINPUTNVPROC) (GLenum variable, GLenum input, GLenum mapping, GLenum componentUsage);
  10432. typedef void (GLAPIENTRY * PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLfloat* params);
  10433. typedef void (GLAPIENTRY * PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum variable, GLenum pname, GLint* params);
  10434. typedef void (GLAPIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLfloat* params);
  10435. typedef void (GLAPIENTRY * PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC) (GLenum stage, GLenum portion, GLenum pname, GLint* params);
  10436. typedef void (GLAPIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC) (GLenum variable, GLenum pname, GLfloat* params);
  10437. typedef void (GLAPIENTRY * PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC) (GLenum variable, GLenum pname, GLint* params);
  10438. #define glCombinerInputNV GLEW_GET_FUN(__glewCombinerInputNV)
  10439. #define glCombinerOutputNV GLEW_GET_FUN(__glewCombinerOutputNV)
  10440. #define glCombinerParameterfNV GLEW_GET_FUN(__glewCombinerParameterfNV)
  10441. #define glCombinerParameterfvNV GLEW_GET_FUN(__glewCombinerParameterfvNV)
  10442. #define glCombinerParameteriNV GLEW_GET_FUN(__glewCombinerParameteriNV)
  10443. #define glCombinerParameterivNV GLEW_GET_FUN(__glewCombinerParameterivNV)
  10444. #define glFinalCombinerInputNV GLEW_GET_FUN(__glewFinalCombinerInputNV)
  10445. #define glGetCombinerInputParameterfvNV GLEW_GET_FUN(__glewGetCombinerInputParameterfvNV)
  10446. #define glGetCombinerInputParameterivNV GLEW_GET_FUN(__glewGetCombinerInputParameterivNV)
  10447. #define glGetCombinerOutputParameterfvNV GLEW_GET_FUN(__glewGetCombinerOutputParameterfvNV)
  10448. #define glGetCombinerOutputParameterivNV GLEW_GET_FUN(__glewGetCombinerOutputParameterivNV)
  10449. #define glGetFinalCombinerInputParameterfvNV GLEW_GET_FUN(__glewGetFinalCombinerInputParameterfvNV)
  10450. #define glGetFinalCombinerInputParameterivNV GLEW_GET_FUN(__glewGetFinalCombinerInputParameterivNV)
  10451. #define GLEW_NV_register_combiners GLEW_GET_VAR(__GLEW_NV_register_combiners)
  10452. #endif /* !GL_NV_register_combiners */
  10453. /* ----------------------- GL_NV_register_combiners2 ----------------------- */
  10454. #if !defined(GL_NV_register_combiners2)
  10455. #define GL_NV_register_combiners2 1
  10456. #define GL_PER_STAGE_CONSTANTS_NV 0x8535
  10457. typedef void (GLAPIENTRY * PFNGLCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, const GLfloat* params);
  10458. typedef void (GLAPIENTRY * PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC) (GLenum stage, GLenum pname, GLfloat* params);
  10459. #define glCombinerStageParameterfvNV GLEW_GET_FUN(__glewCombinerStageParameterfvNV)
  10460. #define glGetCombinerStageParameterfvNV GLEW_GET_FUN(__glewGetCombinerStageParameterfvNV)
  10461. #define GLEW_NV_register_combiners2 GLEW_GET_VAR(__GLEW_NV_register_combiners2)
  10462. #endif /* !GL_NV_register_combiners2 */
  10463. /* ---------------------- GL_NV_shader_atomic_counters --------------------- */
  10464. #if !defined(GL_NV_shader_atomic_counters)
  10465. #define GL_NV_shader_atomic_counters 1
  10466. #define GLEW_NV_shader_atomic_counters GLEW_GET_VAR(__GLEW_NV_shader_atomic_counters)
  10467. #endif /* !GL_NV_shader_atomic_counters */
  10468. /* ----------------------- GL_NV_shader_atomic_float ----------------------- */
  10469. #if !defined(GL_NV_shader_atomic_float)
  10470. #define GL_NV_shader_atomic_float 1
  10471. #define GLEW_NV_shader_atomic_float GLEW_GET_VAR(__GLEW_NV_shader_atomic_float)
  10472. #endif /* !GL_NV_shader_atomic_float */
  10473. /* ------------------------ GL_NV_shader_buffer_load ----------------------- */
  10474. #if !defined(GL_NV_shader_buffer_load)
  10475. #define GL_NV_shader_buffer_load 1
  10476. #define GL_BUFFER_GPU_ADDRESS_NV 0x8F1D
  10477. #define GL_GPU_ADDRESS_NV 0x8F34
  10478. #define GL_MAX_SHADER_BUFFER_ADDRESS_NV 0x8F35
  10479. typedef void (GLAPIENTRY * PFNGLGETBUFFERPARAMETERUI64VNVPROC) (GLenum target, GLenum pname, GLuint64EXT* params);
  10480. typedef void (GLAPIENTRY * PFNGLGETINTEGERUI64VNVPROC) (GLenum value, GLuint64EXT* result);
  10481. typedef void (GLAPIENTRY * PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC) (GLuint buffer, GLenum pname, GLuint64EXT* params);
  10482. typedef GLboolean (GLAPIENTRY * PFNGLISBUFFERRESIDENTNVPROC) (GLenum target);
  10483. typedef GLboolean (GLAPIENTRY * PFNGLISNAMEDBUFFERRESIDENTNVPROC) (GLuint buffer);
  10484. typedef void (GLAPIENTRY * PFNGLMAKEBUFFERNONRESIDENTNVPROC) (GLenum target);
  10485. typedef void (GLAPIENTRY * PFNGLMAKEBUFFERRESIDENTNVPROC) (GLenum target, GLenum access);
  10486. typedef void (GLAPIENTRY * PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC) (GLuint buffer);
  10487. typedef void (GLAPIENTRY * PFNGLMAKENAMEDBUFFERRESIDENTNVPROC) (GLuint buffer, GLenum access);
  10488. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMUI64NVPROC) (GLuint program, GLint location, GLuint64EXT value);
  10489. typedef void (GLAPIENTRY * PFNGLPROGRAMUNIFORMUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT* value);
  10490. typedef void (GLAPIENTRY * PFNGLUNIFORMUI64NVPROC) (GLint location, GLuint64EXT value);
  10491. typedef void (GLAPIENTRY * PFNGLUNIFORMUI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT* value);
  10492. #define glGetBufferParameterui64vNV GLEW_GET_FUN(__glewGetBufferParameterui64vNV)
  10493. #define glGetIntegerui64vNV GLEW_GET_FUN(__glewGetIntegerui64vNV)
  10494. #define glGetNamedBufferParameterui64vNV GLEW_GET_FUN(__glewGetNamedBufferParameterui64vNV)
  10495. #define glIsBufferResidentNV GLEW_GET_FUN(__glewIsBufferResidentNV)
  10496. #define glIsNamedBufferResidentNV GLEW_GET_FUN(__glewIsNamedBufferResidentNV)
  10497. #define glMakeBufferNonResidentNV GLEW_GET_FUN(__glewMakeBufferNonResidentNV)
  10498. #define glMakeBufferResidentNV GLEW_GET_FUN(__glewMakeBufferResidentNV)
  10499. #define glMakeNamedBufferNonResidentNV GLEW_GET_FUN(__glewMakeNamedBufferNonResidentNV)
  10500. #define glMakeNamedBufferResidentNV GLEW_GET_FUN(__glewMakeNamedBufferResidentNV)
  10501. #define glProgramUniformui64NV GLEW_GET_FUN(__glewProgramUniformui64NV)
  10502. #define glProgramUniformui64vNV GLEW_GET_FUN(__glewProgramUniformui64vNV)
  10503. #define glUniformui64NV GLEW_GET_FUN(__glewUniformui64NV)
  10504. #define glUniformui64vNV GLEW_GET_FUN(__glewUniformui64vNV)
  10505. #define GLEW_NV_shader_buffer_load GLEW_GET_VAR(__GLEW_NV_shader_buffer_load)
  10506. #endif /* !GL_NV_shader_buffer_load */
  10507. /* ------------------- GL_NV_shader_storage_buffer_object ------------------ */
  10508. #if !defined(GL_NV_shader_storage_buffer_object)
  10509. #define GL_NV_shader_storage_buffer_object 1
  10510. #define GLEW_NV_shader_storage_buffer_object GLEW_GET_VAR(__GLEW_NV_shader_storage_buffer_object)
  10511. #endif /* !GL_NV_shader_storage_buffer_object */
  10512. /* ---------------------- GL_NV_tessellation_program5 ---------------------- */
  10513. #if !defined(GL_NV_tessellation_program5)
  10514. #define GL_NV_tessellation_program5 1
  10515. #define GL_MAX_PROGRAM_PATCH_ATTRIBS_NV 0x86D8
  10516. #define GL_TESS_CONTROL_PROGRAM_NV 0x891E
  10517. #define GL_TESS_EVALUATION_PROGRAM_NV 0x891F
  10518. #define GL_TESS_CONTROL_PROGRAM_PARAMETER_BUFFER_NV 0x8C74
  10519. #define GL_TESS_EVALUATION_PROGRAM_PARAMETER_BUFFER_NV 0x8C75
  10520. #define GLEW_NV_tessellation_program5 GLEW_GET_VAR(__GLEW_NV_tessellation_program5)
  10521. #endif /* !GL_NV_tessellation_program5 */
  10522. /* -------------------------- GL_NV_texgen_emboss -------------------------- */
  10523. #if !defined(GL_NV_texgen_emboss)
  10524. #define GL_NV_texgen_emboss 1
  10525. #define GL_EMBOSS_LIGHT_NV 0x855D
  10526. #define GL_EMBOSS_CONSTANT_NV 0x855E
  10527. #define GL_EMBOSS_MAP_NV 0x855F
  10528. #define GLEW_NV_texgen_emboss GLEW_GET_VAR(__GLEW_NV_texgen_emboss)
  10529. #endif /* !GL_NV_texgen_emboss */
  10530. /* ------------------------ GL_NV_texgen_reflection ------------------------ */
  10531. #if !defined(GL_NV_texgen_reflection)
  10532. #define GL_NV_texgen_reflection 1
  10533. #define GL_NORMAL_MAP_NV 0x8511
  10534. #define GL_REFLECTION_MAP_NV 0x8512
  10535. #define GLEW_NV_texgen_reflection GLEW_GET_VAR(__GLEW_NV_texgen_reflection)
  10536. #endif /* !GL_NV_texgen_reflection */
  10537. /* ------------------------- GL_NV_texture_barrier ------------------------- */
  10538. #if !defined(GL_NV_texture_barrier)
  10539. #define GL_NV_texture_barrier 1
  10540. typedef void (GLAPIENTRY * PFNGLTEXTUREBARRIERNVPROC) (void);
  10541. #define glTextureBarrierNV GLEW_GET_FUN(__glewTextureBarrierNV)
  10542. #define GLEW_NV_texture_barrier GLEW_GET_VAR(__GLEW_NV_texture_barrier)
  10543. #endif /* !GL_NV_texture_barrier */
  10544. /* --------------------- GL_NV_texture_compression_vtc --------------------- */
  10545. #if !defined(GL_NV_texture_compression_vtc)
  10546. #define GL_NV_texture_compression_vtc 1
  10547. #define GLEW_NV_texture_compression_vtc GLEW_GET_VAR(__GLEW_NV_texture_compression_vtc)
  10548. #endif /* !GL_NV_texture_compression_vtc */
  10549. /* ----------------------- GL_NV_texture_env_combine4 ---------------------- */
  10550. #if !defined(GL_NV_texture_env_combine4)
  10551. #define GL_NV_texture_env_combine4 1
  10552. #define GL_COMBINE4_NV 0x8503
  10553. #define GL_SOURCE3_RGB_NV 0x8583
  10554. #define GL_SOURCE3_ALPHA_NV 0x858B
  10555. #define GL_OPERAND3_RGB_NV 0x8593
  10556. #define GL_OPERAND3_ALPHA_NV 0x859B
  10557. #define GLEW_NV_texture_env_combine4 GLEW_GET_VAR(__GLEW_NV_texture_env_combine4)
  10558. #endif /* !GL_NV_texture_env_combine4 */
  10559. /* ---------------------- GL_NV_texture_expand_normal ---------------------- */
  10560. #if !defined(GL_NV_texture_expand_normal)
  10561. #define GL_NV_texture_expand_normal 1
  10562. #define GL_TEXTURE_UNSIGNED_REMAP_MODE_NV 0x888F
  10563. #define GLEW_NV_texture_expand_normal GLEW_GET_VAR(__GLEW_NV_texture_expand_normal)
  10564. #endif /* !GL_NV_texture_expand_normal */
  10565. /* ----------------------- GL_NV_texture_multisample ----------------------- */
  10566. #if !defined(GL_NV_texture_multisample)
  10567. #define GL_NV_texture_multisample 1
  10568. #define GL_TEXTURE_COVERAGE_SAMPLES_NV 0x9045
  10569. #define GL_TEXTURE_COLOR_SAMPLES_NV 0x9046
  10570. typedef void (GLAPIENTRY * PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10571. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10572. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10573. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLboolean fixedSampleLocations);
  10574. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC) (GLuint texture, GLenum target, GLsizei coverageSamples, GLsizei colorSamples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10575. typedef void (GLAPIENTRY * PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC) (GLuint texture, GLenum target, GLsizei samples, GLint internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedSampleLocations);
  10576. #define glTexImage2DMultisampleCoverageNV GLEW_GET_FUN(__glewTexImage2DMultisampleCoverageNV)
  10577. #define glTexImage3DMultisampleCoverageNV GLEW_GET_FUN(__glewTexImage3DMultisampleCoverageNV)
  10578. #define glTextureImage2DMultisampleCoverageNV GLEW_GET_FUN(__glewTextureImage2DMultisampleCoverageNV)
  10579. #define glTextureImage2DMultisampleNV GLEW_GET_FUN(__glewTextureImage2DMultisampleNV)
  10580. #define glTextureImage3DMultisampleCoverageNV GLEW_GET_FUN(__glewTextureImage3DMultisampleCoverageNV)
  10581. #define glTextureImage3DMultisampleNV GLEW_GET_FUN(__glewTextureImage3DMultisampleNV)
  10582. #define GLEW_NV_texture_multisample GLEW_GET_VAR(__GLEW_NV_texture_multisample)
  10583. #endif /* !GL_NV_texture_multisample */
  10584. /* ------------------------ GL_NV_texture_rectangle ------------------------ */
  10585. #if !defined(GL_NV_texture_rectangle)
  10586. #define GL_NV_texture_rectangle 1
  10587. #define GL_TEXTURE_RECTANGLE_NV 0x84F5
  10588. #define GL_TEXTURE_BINDING_RECTANGLE_NV 0x84F6
  10589. #define GL_PROXY_TEXTURE_RECTANGLE_NV 0x84F7
  10590. #define GL_MAX_RECTANGLE_TEXTURE_SIZE_NV 0x84F8
  10591. #define GLEW_NV_texture_rectangle GLEW_GET_VAR(__GLEW_NV_texture_rectangle)
  10592. #endif /* !GL_NV_texture_rectangle */
  10593. /* -------------------------- GL_NV_texture_shader ------------------------- */
  10594. #if !defined(GL_NV_texture_shader)
  10595. #define GL_NV_texture_shader 1
  10596. #define GL_OFFSET_TEXTURE_RECTANGLE_NV 0x864C
  10597. #define GL_OFFSET_TEXTURE_RECTANGLE_SCALE_NV 0x864D
  10598. #define GL_DOT_PRODUCT_TEXTURE_RECTANGLE_NV 0x864E
  10599. #define GL_RGBA_UNSIGNED_DOT_PRODUCT_MAPPING_NV 0x86D9
  10600. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  10601. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  10602. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  10603. #define GL_SHADER_CONSISTENT_NV 0x86DD
  10604. #define GL_TEXTURE_SHADER_NV 0x86DE
  10605. #define GL_SHADER_OPERATION_NV 0x86DF
  10606. #define GL_CULL_MODES_NV 0x86E0
  10607. #define GL_OFFSET_TEXTURE_2D_MATRIX_NV 0x86E1
  10608. #define GL_OFFSET_TEXTURE_MATRIX_NV 0x86E1
  10609. #define GL_OFFSET_TEXTURE_2D_SCALE_NV 0x86E2
  10610. #define GL_OFFSET_TEXTURE_SCALE_NV 0x86E2
  10611. #define GL_OFFSET_TEXTURE_BIAS_NV 0x86E3
  10612. #define GL_OFFSET_TEXTURE_2D_BIAS_NV 0x86E3
  10613. #define GL_PREVIOUS_TEXTURE_INPUT_NV 0x86E4
  10614. #define GL_CONST_EYE_NV 0x86E5
  10615. #define GL_PASS_THROUGH_NV 0x86E6
  10616. #define GL_CULL_FRAGMENT_NV 0x86E7
  10617. #define GL_OFFSET_TEXTURE_2D_NV 0x86E8
  10618. #define GL_DEPENDENT_AR_TEXTURE_2D_NV 0x86E9
  10619. #define GL_DEPENDENT_GB_TEXTURE_2D_NV 0x86EA
  10620. #define GL_DOT_PRODUCT_NV 0x86EC
  10621. #define GL_DOT_PRODUCT_DEPTH_REPLACE_NV 0x86ED
  10622. #define GL_DOT_PRODUCT_TEXTURE_2D_NV 0x86EE
  10623. #define GL_DOT_PRODUCT_TEXTURE_CUBE_MAP_NV 0x86F0
  10624. #define GL_DOT_PRODUCT_DIFFUSE_CUBE_MAP_NV 0x86F1
  10625. #define GL_DOT_PRODUCT_REFLECT_CUBE_MAP_NV 0x86F2
  10626. #define GL_DOT_PRODUCT_CONST_EYE_REFLECT_CUBE_MAP_NV 0x86F3
  10627. #define GL_HILO_NV 0x86F4
  10628. #define GL_DSDT_NV 0x86F5
  10629. #define GL_DSDT_MAG_NV 0x86F6
  10630. #define GL_DSDT_MAG_VIB_NV 0x86F7
  10631. #define GL_HILO16_NV 0x86F8
  10632. #define GL_SIGNED_HILO_NV 0x86F9
  10633. #define GL_SIGNED_HILO16_NV 0x86FA
  10634. #define GL_SIGNED_RGBA_NV 0x86FB
  10635. #define GL_SIGNED_RGBA8_NV 0x86FC
  10636. #define GL_SIGNED_RGB_NV 0x86FE
  10637. #define GL_SIGNED_RGB8_NV 0x86FF
  10638. #define GL_SIGNED_LUMINANCE_NV 0x8701
  10639. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  10640. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  10641. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  10642. #define GL_SIGNED_ALPHA_NV 0x8705
  10643. #define GL_SIGNED_ALPHA8_NV 0x8706
  10644. #define GL_SIGNED_INTENSITY_NV 0x8707
  10645. #define GL_SIGNED_INTENSITY8_NV 0x8708
  10646. #define GL_DSDT8_NV 0x8709
  10647. #define GL_DSDT8_MAG8_NV 0x870A
  10648. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  10649. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  10650. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  10651. #define GL_HI_SCALE_NV 0x870E
  10652. #define GL_LO_SCALE_NV 0x870F
  10653. #define GL_DS_SCALE_NV 0x8710
  10654. #define GL_DT_SCALE_NV 0x8711
  10655. #define GL_MAGNITUDE_SCALE_NV 0x8712
  10656. #define GL_VIBRANCE_SCALE_NV 0x8713
  10657. #define GL_HI_BIAS_NV 0x8714
  10658. #define GL_LO_BIAS_NV 0x8715
  10659. #define GL_DS_BIAS_NV 0x8716
  10660. #define GL_DT_BIAS_NV 0x8717
  10661. #define GL_MAGNITUDE_BIAS_NV 0x8718
  10662. #define GL_VIBRANCE_BIAS_NV 0x8719
  10663. #define GL_TEXTURE_BORDER_VALUES_NV 0x871A
  10664. #define GL_TEXTURE_HI_SIZE_NV 0x871B
  10665. #define GL_TEXTURE_LO_SIZE_NV 0x871C
  10666. #define GL_TEXTURE_DS_SIZE_NV 0x871D
  10667. #define GL_TEXTURE_DT_SIZE_NV 0x871E
  10668. #define GL_TEXTURE_MAG_SIZE_NV 0x871F
  10669. #define GLEW_NV_texture_shader GLEW_GET_VAR(__GLEW_NV_texture_shader)
  10670. #endif /* !GL_NV_texture_shader */
  10671. /* ------------------------- GL_NV_texture_shader2 ------------------------- */
  10672. #if !defined(GL_NV_texture_shader2)
  10673. #define GL_NV_texture_shader2 1
  10674. #define GL_UNSIGNED_INT_S8_S8_8_8_NV 0x86DA
  10675. #define GL_UNSIGNED_INT_8_8_S8_S8_REV_NV 0x86DB
  10676. #define GL_DSDT_MAG_INTENSITY_NV 0x86DC
  10677. #define GL_DOT_PRODUCT_TEXTURE_3D_NV 0x86EF
  10678. #define GL_HILO_NV 0x86F4
  10679. #define GL_DSDT_NV 0x86F5
  10680. #define GL_DSDT_MAG_NV 0x86F6
  10681. #define GL_DSDT_MAG_VIB_NV 0x86F7
  10682. #define GL_HILO16_NV 0x86F8
  10683. #define GL_SIGNED_HILO_NV 0x86F9
  10684. #define GL_SIGNED_HILO16_NV 0x86FA
  10685. #define GL_SIGNED_RGBA_NV 0x86FB
  10686. #define GL_SIGNED_RGBA8_NV 0x86FC
  10687. #define GL_SIGNED_RGB_NV 0x86FE
  10688. #define GL_SIGNED_RGB8_NV 0x86FF
  10689. #define GL_SIGNED_LUMINANCE_NV 0x8701
  10690. #define GL_SIGNED_LUMINANCE8_NV 0x8702
  10691. #define GL_SIGNED_LUMINANCE_ALPHA_NV 0x8703
  10692. #define GL_SIGNED_LUMINANCE8_ALPHA8_NV 0x8704
  10693. #define GL_SIGNED_ALPHA_NV 0x8705
  10694. #define GL_SIGNED_ALPHA8_NV 0x8706
  10695. #define GL_SIGNED_INTENSITY_NV 0x8707
  10696. #define GL_SIGNED_INTENSITY8_NV 0x8708
  10697. #define GL_DSDT8_NV 0x8709
  10698. #define GL_DSDT8_MAG8_NV 0x870A
  10699. #define GL_DSDT8_MAG8_INTENSITY8_NV 0x870B
  10700. #define GL_SIGNED_RGB_UNSIGNED_ALPHA_NV 0x870C
  10701. #define GL_SIGNED_RGB8_UNSIGNED_ALPHA8_NV 0x870D
  10702. #define GLEW_NV_texture_shader2 GLEW_GET_VAR(__GLEW_NV_texture_shader2)
  10703. #endif /* !GL_NV_texture_shader2 */
  10704. /* ------------------------- GL_NV_texture_shader3 ------------------------- */
  10705. #if !defined(GL_NV_texture_shader3)
  10706. #define GL_NV_texture_shader3 1
  10707. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_NV 0x8850
  10708. #define GL_OFFSET_PROJECTIVE_TEXTURE_2D_SCALE_NV 0x8851
  10709. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8852
  10710. #define GL_OFFSET_PROJECTIVE_TEXTURE_RECTANGLE_SCALE_NV 0x8853
  10711. #define GL_OFFSET_HILO_TEXTURE_2D_NV 0x8854
  10712. #define GL_OFFSET_HILO_TEXTURE_RECTANGLE_NV 0x8855
  10713. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_2D_NV 0x8856
  10714. #define GL_OFFSET_HILO_PROJECTIVE_TEXTURE_RECTANGLE_NV 0x8857
  10715. #define GL_DEPENDENT_HILO_TEXTURE_2D_NV 0x8858
  10716. #define GL_DEPENDENT_RGB_TEXTURE_3D_NV 0x8859
  10717. #define GL_DEPENDENT_RGB_TEXTURE_CUBE_MAP_NV 0x885A
  10718. #define GL_DOT_PRODUCT_PASS_THROUGH_NV 0x885B
  10719. #define GL_DOT_PRODUCT_TEXTURE_1D_NV 0x885C
  10720. #define GL_DOT_PRODUCT_AFFINE_DEPTH_REPLACE_NV 0x885D
  10721. #define GL_HILO8_NV 0x885E
  10722. #define GL_SIGNED_HILO8_NV 0x885F
  10723. #define GL_FORCE_BLUE_TO_ONE_NV 0x8860
  10724. #define GLEW_NV_texture_shader3 GLEW_GET_VAR(__GLEW_NV_texture_shader3)
  10725. #endif /* !GL_NV_texture_shader3 */
  10726. /* ------------------------ GL_NV_transform_feedback ----------------------- */
  10727. #if !defined(GL_NV_transform_feedback)
  10728. #define GL_NV_transform_feedback 1
  10729. #define GL_BACK_PRIMARY_COLOR_NV 0x8C77
  10730. #define GL_BACK_SECONDARY_COLOR_NV 0x8C78
  10731. #define GL_TEXTURE_COORD_NV 0x8C79
  10732. #define GL_CLIP_DISTANCE_NV 0x8C7A
  10733. #define GL_VERTEX_ID_NV 0x8C7B
  10734. #define GL_PRIMITIVE_ID_NV 0x8C7C
  10735. #define GL_GENERIC_ATTRIB_NV 0x8C7D
  10736. #define GL_TRANSFORM_FEEDBACK_ATTRIBS_NV 0x8C7E
  10737. #define GL_TRANSFORM_FEEDBACK_BUFFER_MODE_NV 0x8C7F
  10738. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_COMPONENTS_NV 0x8C80
  10739. #define GL_ACTIVE_VARYINGS_NV 0x8C81
  10740. #define GL_ACTIVE_VARYING_MAX_LENGTH_NV 0x8C82
  10741. #define GL_TRANSFORM_FEEDBACK_VARYINGS_NV 0x8C83
  10742. #define GL_TRANSFORM_FEEDBACK_BUFFER_START_NV 0x8C84
  10743. #define GL_TRANSFORM_FEEDBACK_BUFFER_SIZE_NV 0x8C85
  10744. #define GL_TRANSFORM_FEEDBACK_RECORD_NV 0x8C86
  10745. #define GL_PRIMITIVES_GENERATED_NV 0x8C87
  10746. #define GL_TRANSFORM_FEEDBACK_PRIMITIVES_WRITTEN_NV 0x8C88
  10747. #define GL_RASTERIZER_DISCARD_NV 0x8C89
  10748. #define GL_MAX_TRANSFORM_FEEDBACK_INTERLEAVED_COMPONENTS_NV 0x8C8A
  10749. #define GL_MAX_TRANSFORM_FEEDBACK_SEPARATE_ATTRIBS_NV 0x8C8B
  10750. #define GL_INTERLEAVED_ATTRIBS_NV 0x8C8C
  10751. #define GL_SEPARATE_ATTRIBS_NV 0x8C8D
  10752. #define GL_TRANSFORM_FEEDBACK_BUFFER_NV 0x8C8E
  10753. #define GL_TRANSFORM_FEEDBACK_BUFFER_BINDING_NV 0x8C8F
  10754. typedef void (GLAPIENTRY * PFNGLACTIVEVARYINGNVPROC) (GLuint program, const GLchar *name);
  10755. typedef void (GLAPIENTRY * PFNGLBEGINTRANSFORMFEEDBACKNVPROC) (GLenum primitiveMode);
  10756. typedef void (GLAPIENTRY * PFNGLBINDBUFFERBASENVPROC) (GLenum target, GLuint index, GLuint buffer);
  10757. typedef void (GLAPIENTRY * PFNGLBINDBUFFEROFFSETNVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset);
  10758. typedef void (GLAPIENTRY * PFNGLBINDBUFFERRANGENVPROC) (GLenum target, GLuint index, GLuint buffer, GLintptr offset, GLsizeiptr size);
  10759. typedef void (GLAPIENTRY * PFNGLENDTRANSFORMFEEDBACKNVPROC) (void);
  10760. typedef void (GLAPIENTRY * PFNGLGETACTIVEVARYINGNVPROC) (GLuint program, GLuint index, GLsizei bufSize, GLsizei *length, GLsizei *size, GLenum *type, GLchar *name);
  10761. typedef void (GLAPIENTRY * PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC) (GLuint program, GLuint index, GLint *location);
  10762. typedef GLint (GLAPIENTRY * PFNGLGETVARYINGLOCATIONNVPROC) (GLuint program, const GLchar *name);
  10763. typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC) (GLuint count, const GLint *attribs, GLenum bufferMode);
  10764. typedef void (GLAPIENTRY * PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC) (GLuint program, GLsizei count, const GLint *locations, GLenum bufferMode);
  10765. #define glActiveVaryingNV GLEW_GET_FUN(__glewActiveVaryingNV)
  10766. #define glBeginTransformFeedbackNV GLEW_GET_FUN(__glewBeginTransformFeedbackNV)
  10767. #define glBindBufferBaseNV GLEW_GET_FUN(__glewBindBufferBaseNV)
  10768. #define glBindBufferOffsetNV GLEW_GET_FUN(__glewBindBufferOffsetNV)
  10769. #define glBindBufferRangeNV GLEW_GET_FUN(__glewBindBufferRangeNV)
  10770. #define glEndTransformFeedbackNV GLEW_GET_FUN(__glewEndTransformFeedbackNV)
  10771. #define glGetActiveVaryingNV GLEW_GET_FUN(__glewGetActiveVaryingNV)
  10772. #define glGetTransformFeedbackVaryingNV GLEW_GET_FUN(__glewGetTransformFeedbackVaryingNV)
  10773. #define glGetVaryingLocationNV GLEW_GET_FUN(__glewGetVaryingLocationNV)
  10774. #define glTransformFeedbackAttribsNV GLEW_GET_FUN(__glewTransformFeedbackAttribsNV)
  10775. #define glTransformFeedbackVaryingsNV GLEW_GET_FUN(__glewTransformFeedbackVaryingsNV)
  10776. #define GLEW_NV_transform_feedback GLEW_GET_VAR(__GLEW_NV_transform_feedback)
  10777. #endif /* !GL_NV_transform_feedback */
  10778. /* ----------------------- GL_NV_transform_feedback2 ----------------------- */
  10779. #if !defined(GL_NV_transform_feedback2)
  10780. #define GL_NV_transform_feedback2 1
  10781. #define GL_TRANSFORM_FEEDBACK_NV 0x8E22
  10782. #define GL_TRANSFORM_FEEDBACK_BUFFER_PAUSED_NV 0x8E23
  10783. #define GL_TRANSFORM_FEEDBACK_BUFFER_ACTIVE_NV 0x8E24
  10784. #define GL_TRANSFORM_FEEDBACK_BINDING_NV 0x8E25
  10785. typedef void (GLAPIENTRY * PFNGLBINDTRANSFORMFEEDBACKNVPROC) (GLenum target, GLuint id);
  10786. typedef void (GLAPIENTRY * PFNGLDELETETRANSFORMFEEDBACKSNVPROC) (GLsizei n, const GLuint* ids);
  10787. typedef void (GLAPIENTRY * PFNGLDRAWTRANSFORMFEEDBACKNVPROC) (GLenum mode, GLuint id);
  10788. typedef void (GLAPIENTRY * PFNGLGENTRANSFORMFEEDBACKSNVPROC) (GLsizei n, GLuint* ids);
  10789. typedef GLboolean (GLAPIENTRY * PFNGLISTRANSFORMFEEDBACKNVPROC) (GLuint id);
  10790. typedef void (GLAPIENTRY * PFNGLPAUSETRANSFORMFEEDBACKNVPROC) (void);
  10791. typedef void (GLAPIENTRY * PFNGLRESUMETRANSFORMFEEDBACKNVPROC) (void);
  10792. #define glBindTransformFeedbackNV GLEW_GET_FUN(__glewBindTransformFeedbackNV)
  10793. #define glDeleteTransformFeedbacksNV GLEW_GET_FUN(__glewDeleteTransformFeedbacksNV)
  10794. #define glDrawTransformFeedbackNV GLEW_GET_FUN(__glewDrawTransformFeedbackNV)
  10795. #define glGenTransformFeedbacksNV GLEW_GET_FUN(__glewGenTransformFeedbacksNV)
  10796. #define glIsTransformFeedbackNV GLEW_GET_FUN(__glewIsTransformFeedbackNV)
  10797. #define glPauseTransformFeedbackNV GLEW_GET_FUN(__glewPauseTransformFeedbackNV)
  10798. #define glResumeTransformFeedbackNV GLEW_GET_FUN(__glewResumeTransformFeedbackNV)
  10799. #define GLEW_NV_transform_feedback2 GLEW_GET_VAR(__GLEW_NV_transform_feedback2)
  10800. #endif /* !GL_NV_transform_feedback2 */
  10801. /* -------------------------- GL_NV_vdpau_interop -------------------------- */
  10802. #if !defined(GL_NV_vdpau_interop)
  10803. #define GL_NV_vdpau_interop 1
  10804. #define GL_SURFACE_STATE_NV 0x86EB
  10805. #define GL_SURFACE_REGISTERED_NV 0x86FD
  10806. #define GL_SURFACE_MAPPED_NV 0x8700
  10807. #define GL_WRITE_DISCARD_NV 0x88BE
  10808. typedef GLintptr GLvdpauSurfaceNV;
  10809. typedef void (GLAPIENTRY * PFNGLVDPAUFININVPROC) (void);
  10810. typedef void (GLAPIENTRY * PFNGLVDPAUGETSURFACEIVNVPROC) (GLvdpauSurfaceNV surface, GLenum pname, GLsizei bufSize, GLsizei* length, GLint *values);
  10811. typedef void (GLAPIENTRY * PFNGLVDPAUINITNVPROC) (const void* vdpDevice, const GLvoid*getProcAddress);
  10812. typedef void (GLAPIENTRY * PFNGLVDPAUISSURFACENVPROC) (GLvdpauSurfaceNV surface);
  10813. typedef void (GLAPIENTRY * PFNGLVDPAUMAPSURFACESNVPROC) (GLsizei numSurfaces, const GLvdpauSurfaceNV* surfaces);
  10814. typedef GLvdpauSurfaceNV (GLAPIENTRY * PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC) (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10815. typedef GLvdpauSurfaceNV (GLAPIENTRY * PFNGLVDPAUREGISTERVIDEOSURFACENVPROC) (const void* vdpSurface, GLenum target, GLsizei numTextureNames, const GLuint *textureNames);
  10816. typedef void (GLAPIENTRY * PFNGLVDPAUSURFACEACCESSNVPROC) (GLvdpauSurfaceNV surface, GLenum access);
  10817. typedef void (GLAPIENTRY * PFNGLVDPAUUNMAPSURFACESNVPROC) (GLsizei numSurface, const GLvdpauSurfaceNV* surfaces);
  10818. typedef void (GLAPIENTRY * PFNGLVDPAUUNREGISTERSURFACENVPROC) (GLvdpauSurfaceNV surface);
  10819. #define glVDPAUFiniNV GLEW_GET_FUN(__glewVDPAUFiniNV)
  10820. #define glVDPAUGetSurfaceivNV GLEW_GET_FUN(__glewVDPAUGetSurfaceivNV)
  10821. #define glVDPAUInitNV GLEW_GET_FUN(__glewVDPAUInitNV)
  10822. #define glVDPAUIsSurfaceNV GLEW_GET_FUN(__glewVDPAUIsSurfaceNV)
  10823. #define glVDPAUMapSurfacesNV GLEW_GET_FUN(__glewVDPAUMapSurfacesNV)
  10824. #define glVDPAURegisterOutputSurfaceNV GLEW_GET_FUN(__glewVDPAURegisterOutputSurfaceNV)
  10825. #define glVDPAURegisterVideoSurfaceNV GLEW_GET_FUN(__glewVDPAURegisterVideoSurfaceNV)
  10826. #define glVDPAUSurfaceAccessNV GLEW_GET_FUN(__glewVDPAUSurfaceAccessNV)
  10827. #define glVDPAUUnmapSurfacesNV GLEW_GET_FUN(__glewVDPAUUnmapSurfacesNV)
  10828. #define glVDPAUUnregisterSurfaceNV GLEW_GET_FUN(__glewVDPAUUnregisterSurfaceNV)
  10829. #define GLEW_NV_vdpau_interop GLEW_GET_VAR(__GLEW_NV_vdpau_interop)
  10830. #endif /* !GL_NV_vdpau_interop */
  10831. /* ------------------------ GL_NV_vertex_array_range ----------------------- */
  10832. #if !defined(GL_NV_vertex_array_range)
  10833. #define GL_NV_vertex_array_range 1
  10834. #define GL_VERTEX_ARRAY_RANGE_NV 0x851D
  10835. #define GL_VERTEX_ARRAY_RANGE_LENGTH_NV 0x851E
  10836. #define GL_VERTEX_ARRAY_RANGE_VALID_NV 0x851F
  10837. #define GL_MAX_VERTEX_ARRAY_RANGE_ELEMENT_NV 0x8520
  10838. #define GL_VERTEX_ARRAY_RANGE_POINTER_NV 0x8521
  10839. typedef void (GLAPIENTRY * PFNGLFLUSHVERTEXARRAYRANGENVPROC) (void);
  10840. typedef void (GLAPIENTRY * PFNGLVERTEXARRAYRANGENVPROC) (GLsizei length, void* pointer);
  10841. #define glFlushVertexArrayRangeNV GLEW_GET_FUN(__glewFlushVertexArrayRangeNV)
  10842. #define glVertexArrayRangeNV GLEW_GET_FUN(__glewVertexArrayRangeNV)
  10843. #define GLEW_NV_vertex_array_range GLEW_GET_VAR(__GLEW_NV_vertex_array_range)
  10844. #endif /* !GL_NV_vertex_array_range */
  10845. /* ----------------------- GL_NV_vertex_array_range2 ----------------------- */
  10846. #if !defined(GL_NV_vertex_array_range2)
  10847. #define GL_NV_vertex_array_range2 1
  10848. #define GL_VERTEX_ARRAY_RANGE_WITHOUT_FLUSH_NV 0x8533
  10849. #define GLEW_NV_vertex_array_range2 GLEW_GET_VAR(__GLEW_NV_vertex_array_range2)
  10850. #endif /* !GL_NV_vertex_array_range2 */
  10851. /* ------------------- GL_NV_vertex_attrib_integer_64bit ------------------- */
  10852. #if !defined(GL_NV_vertex_attrib_integer_64bit)
  10853. #define GL_NV_vertex_attrib_integer_64bit 1
  10854. #define GL_INT64_NV 0x140E
  10855. #define GL_UNSIGNED_INT64_NV 0x140F
  10856. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLI64VNVPROC) (GLuint index, GLenum pname, GLint64EXT* params);
  10857. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBLUI64VNVPROC) (GLuint index, GLenum pname, GLuint64EXT* params);
  10858. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1I64NVPROC) (GLuint index, GLint64EXT x);
  10859. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1I64VNVPROC) (GLuint index, const GLint64EXT* v);
  10860. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1UI64NVPROC) (GLuint index, GLuint64EXT x);
  10861. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL1UI64VNVPROC) (GLuint index, const GLuint64EXT* v);
  10862. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y);
  10863. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2I64VNVPROC) (GLuint index, const GLint64EXT* v);
  10864. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y);
  10865. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL2UI64VNVPROC) (GLuint index, const GLuint64EXT* v);
  10866. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  10867. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3I64VNVPROC) (GLuint index, const GLint64EXT* v);
  10868. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  10869. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL3UI64VNVPROC) (GLuint index, const GLuint64EXT* v);
  10870. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4I64NVPROC) (GLuint index, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  10871. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4I64VNVPROC) (GLuint index, const GLint64EXT* v);
  10872. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4UI64NVPROC) (GLuint index, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  10873. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBL4UI64VNVPROC) (GLuint index, const GLuint64EXT* v);
  10874. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBLFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  10875. #define glGetVertexAttribLi64vNV GLEW_GET_FUN(__glewGetVertexAttribLi64vNV)
  10876. #define glGetVertexAttribLui64vNV GLEW_GET_FUN(__glewGetVertexAttribLui64vNV)
  10877. #define glVertexAttribL1i64NV GLEW_GET_FUN(__glewVertexAttribL1i64NV)
  10878. #define glVertexAttribL1i64vNV GLEW_GET_FUN(__glewVertexAttribL1i64vNV)
  10879. #define glVertexAttribL1ui64NV GLEW_GET_FUN(__glewVertexAttribL1ui64NV)
  10880. #define glVertexAttribL1ui64vNV GLEW_GET_FUN(__glewVertexAttribL1ui64vNV)
  10881. #define glVertexAttribL2i64NV GLEW_GET_FUN(__glewVertexAttribL2i64NV)
  10882. #define glVertexAttribL2i64vNV GLEW_GET_FUN(__glewVertexAttribL2i64vNV)
  10883. #define glVertexAttribL2ui64NV GLEW_GET_FUN(__glewVertexAttribL2ui64NV)
  10884. #define glVertexAttribL2ui64vNV GLEW_GET_FUN(__glewVertexAttribL2ui64vNV)
  10885. #define glVertexAttribL3i64NV GLEW_GET_FUN(__glewVertexAttribL3i64NV)
  10886. #define glVertexAttribL3i64vNV GLEW_GET_FUN(__glewVertexAttribL3i64vNV)
  10887. #define glVertexAttribL3ui64NV GLEW_GET_FUN(__glewVertexAttribL3ui64NV)
  10888. #define glVertexAttribL3ui64vNV GLEW_GET_FUN(__glewVertexAttribL3ui64vNV)
  10889. #define glVertexAttribL4i64NV GLEW_GET_FUN(__glewVertexAttribL4i64NV)
  10890. #define glVertexAttribL4i64vNV GLEW_GET_FUN(__glewVertexAttribL4i64vNV)
  10891. #define glVertexAttribL4ui64NV GLEW_GET_FUN(__glewVertexAttribL4ui64NV)
  10892. #define glVertexAttribL4ui64vNV GLEW_GET_FUN(__glewVertexAttribL4ui64vNV)
  10893. #define glVertexAttribLFormatNV GLEW_GET_FUN(__glewVertexAttribLFormatNV)
  10894. #define GLEW_NV_vertex_attrib_integer_64bit GLEW_GET_VAR(__GLEW_NV_vertex_attrib_integer_64bit)
  10895. #endif /* !GL_NV_vertex_attrib_integer_64bit */
  10896. /* ------------------- GL_NV_vertex_buffer_unified_memory ------------------ */
  10897. #if !defined(GL_NV_vertex_buffer_unified_memory)
  10898. #define GL_NV_vertex_buffer_unified_memory 1
  10899. #define GL_VERTEX_ATTRIB_ARRAY_UNIFIED_NV 0x8F1E
  10900. #define GL_ELEMENT_ARRAY_UNIFIED_NV 0x8F1F
  10901. #define GL_VERTEX_ATTRIB_ARRAY_ADDRESS_NV 0x8F20
  10902. #define GL_VERTEX_ARRAY_ADDRESS_NV 0x8F21
  10903. #define GL_NORMAL_ARRAY_ADDRESS_NV 0x8F22
  10904. #define GL_COLOR_ARRAY_ADDRESS_NV 0x8F23
  10905. #define GL_INDEX_ARRAY_ADDRESS_NV 0x8F24
  10906. #define GL_TEXTURE_COORD_ARRAY_ADDRESS_NV 0x8F25
  10907. #define GL_EDGE_FLAG_ARRAY_ADDRESS_NV 0x8F26
  10908. #define GL_SECONDARY_COLOR_ARRAY_ADDRESS_NV 0x8F27
  10909. #define GL_FOG_COORD_ARRAY_ADDRESS_NV 0x8F28
  10910. #define GL_ELEMENT_ARRAY_ADDRESS_NV 0x8F29
  10911. #define GL_VERTEX_ATTRIB_ARRAY_LENGTH_NV 0x8F2A
  10912. #define GL_VERTEX_ARRAY_LENGTH_NV 0x8F2B
  10913. #define GL_NORMAL_ARRAY_LENGTH_NV 0x8F2C
  10914. #define GL_COLOR_ARRAY_LENGTH_NV 0x8F2D
  10915. #define GL_INDEX_ARRAY_LENGTH_NV 0x8F2E
  10916. #define GL_TEXTURE_COORD_ARRAY_LENGTH_NV 0x8F2F
  10917. #define GL_EDGE_FLAG_ARRAY_LENGTH_NV 0x8F30
  10918. #define GL_SECONDARY_COLOR_ARRAY_LENGTH_NV 0x8F31
  10919. #define GL_FOG_COORD_ARRAY_LENGTH_NV 0x8F32
  10920. #define GL_ELEMENT_ARRAY_LENGTH_NV 0x8F33
  10921. #define GL_DRAW_INDIRECT_UNIFIED_NV 0x8F40
  10922. #define GL_DRAW_INDIRECT_ADDRESS_NV 0x8F41
  10923. #define GL_DRAW_INDIRECT_LENGTH_NV 0x8F42
  10924. typedef void (GLAPIENTRY * PFNGLBUFFERADDRESSRANGENVPROC) (GLenum pname, GLuint index, GLuint64EXT address, GLsizeiptr length);
  10925. typedef void (GLAPIENTRY * PFNGLCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10926. typedef void (GLAPIENTRY * PFNGLEDGEFLAGFORMATNVPROC) (GLsizei stride);
  10927. typedef void (GLAPIENTRY * PFNGLFOGCOORDFORMATNVPROC) (GLenum type, GLsizei stride);
  10928. typedef void (GLAPIENTRY * PFNGLGETINTEGERUI64I_VNVPROC) (GLenum value, GLuint index, GLuint64EXT result[]);
  10929. typedef void (GLAPIENTRY * PFNGLINDEXFORMATNVPROC) (GLenum type, GLsizei stride);
  10930. typedef void (GLAPIENTRY * PFNGLNORMALFORMATNVPROC) (GLenum type, GLsizei stride);
  10931. typedef void (GLAPIENTRY * PFNGLSECONDARYCOLORFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10932. typedef void (GLAPIENTRY * PFNGLTEXCOORDFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10933. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride);
  10934. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBIFORMATNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride);
  10935. typedef void (GLAPIENTRY * PFNGLVERTEXFORMATNVPROC) (GLint size, GLenum type, GLsizei stride);
  10936. #define glBufferAddressRangeNV GLEW_GET_FUN(__glewBufferAddressRangeNV)
  10937. #define glColorFormatNV GLEW_GET_FUN(__glewColorFormatNV)
  10938. #define glEdgeFlagFormatNV GLEW_GET_FUN(__glewEdgeFlagFormatNV)
  10939. #define glFogCoordFormatNV GLEW_GET_FUN(__glewFogCoordFormatNV)
  10940. #define glGetIntegerui64i_vNV GLEW_GET_FUN(__glewGetIntegerui64i_vNV)
  10941. #define glIndexFormatNV GLEW_GET_FUN(__glewIndexFormatNV)
  10942. #define glNormalFormatNV GLEW_GET_FUN(__glewNormalFormatNV)
  10943. #define glSecondaryColorFormatNV GLEW_GET_FUN(__glewSecondaryColorFormatNV)
  10944. #define glTexCoordFormatNV GLEW_GET_FUN(__glewTexCoordFormatNV)
  10945. #define glVertexAttribFormatNV GLEW_GET_FUN(__glewVertexAttribFormatNV)
  10946. #define glVertexAttribIFormatNV GLEW_GET_FUN(__glewVertexAttribIFormatNV)
  10947. #define glVertexFormatNV GLEW_GET_FUN(__glewVertexFormatNV)
  10948. #define GLEW_NV_vertex_buffer_unified_memory GLEW_GET_VAR(__GLEW_NV_vertex_buffer_unified_memory)
  10949. #endif /* !GL_NV_vertex_buffer_unified_memory */
  10950. /* -------------------------- GL_NV_vertex_program ------------------------- */
  10951. #if !defined(GL_NV_vertex_program)
  10952. #define GL_NV_vertex_program 1
  10953. #define GL_VERTEX_PROGRAM_NV 0x8620
  10954. #define GL_VERTEX_STATE_PROGRAM_NV 0x8621
  10955. #define GL_ATTRIB_ARRAY_SIZE_NV 0x8623
  10956. #define GL_ATTRIB_ARRAY_STRIDE_NV 0x8624
  10957. #define GL_ATTRIB_ARRAY_TYPE_NV 0x8625
  10958. #define GL_CURRENT_ATTRIB_NV 0x8626
  10959. #define GL_PROGRAM_LENGTH_NV 0x8627
  10960. #define GL_PROGRAM_STRING_NV 0x8628
  10961. #define GL_MODELVIEW_PROJECTION_NV 0x8629
  10962. #define GL_IDENTITY_NV 0x862A
  10963. #define GL_INVERSE_NV 0x862B
  10964. #define GL_TRANSPOSE_NV 0x862C
  10965. #define GL_INVERSE_TRANSPOSE_NV 0x862D
  10966. #define GL_MAX_TRACK_MATRIX_STACK_DEPTH_NV 0x862E
  10967. #define GL_MAX_TRACK_MATRICES_NV 0x862F
  10968. #define GL_MATRIX0_NV 0x8630
  10969. #define GL_MATRIX1_NV 0x8631
  10970. #define GL_MATRIX2_NV 0x8632
  10971. #define GL_MATRIX3_NV 0x8633
  10972. #define GL_MATRIX4_NV 0x8634
  10973. #define GL_MATRIX5_NV 0x8635
  10974. #define GL_MATRIX6_NV 0x8636
  10975. #define GL_MATRIX7_NV 0x8637
  10976. #define GL_CURRENT_MATRIX_STACK_DEPTH_NV 0x8640
  10977. #define GL_CURRENT_MATRIX_NV 0x8641
  10978. #define GL_VERTEX_PROGRAM_POINT_SIZE_NV 0x8642
  10979. #define GL_VERTEX_PROGRAM_TWO_SIDE_NV 0x8643
  10980. #define GL_PROGRAM_PARAMETER_NV 0x8644
  10981. #define GL_ATTRIB_ARRAY_POINTER_NV 0x8645
  10982. #define GL_PROGRAM_TARGET_NV 0x8646
  10983. #define GL_PROGRAM_RESIDENT_NV 0x8647
  10984. #define GL_TRACK_MATRIX_NV 0x8648
  10985. #define GL_TRACK_MATRIX_TRANSFORM_NV 0x8649
  10986. #define GL_VERTEX_PROGRAM_BINDING_NV 0x864A
  10987. #define GL_PROGRAM_ERROR_POSITION_NV 0x864B
  10988. #define GL_VERTEX_ATTRIB_ARRAY0_NV 0x8650
  10989. #define GL_VERTEX_ATTRIB_ARRAY1_NV 0x8651
  10990. #define GL_VERTEX_ATTRIB_ARRAY2_NV 0x8652
  10991. #define GL_VERTEX_ATTRIB_ARRAY3_NV 0x8653
  10992. #define GL_VERTEX_ATTRIB_ARRAY4_NV 0x8654
  10993. #define GL_VERTEX_ATTRIB_ARRAY5_NV 0x8655
  10994. #define GL_VERTEX_ATTRIB_ARRAY6_NV 0x8656
  10995. #define GL_VERTEX_ATTRIB_ARRAY7_NV 0x8657
  10996. #define GL_VERTEX_ATTRIB_ARRAY8_NV 0x8658
  10997. #define GL_VERTEX_ATTRIB_ARRAY9_NV 0x8659
  10998. #define GL_VERTEX_ATTRIB_ARRAY10_NV 0x865A
  10999. #define GL_VERTEX_ATTRIB_ARRAY11_NV 0x865B
  11000. #define GL_VERTEX_ATTRIB_ARRAY12_NV 0x865C
  11001. #define GL_VERTEX_ATTRIB_ARRAY13_NV 0x865D
  11002. #define GL_VERTEX_ATTRIB_ARRAY14_NV 0x865E
  11003. #define GL_VERTEX_ATTRIB_ARRAY15_NV 0x865F
  11004. #define GL_MAP1_VERTEX_ATTRIB0_4_NV 0x8660
  11005. #define GL_MAP1_VERTEX_ATTRIB1_4_NV 0x8661
  11006. #define GL_MAP1_VERTEX_ATTRIB2_4_NV 0x8662
  11007. #define GL_MAP1_VERTEX_ATTRIB3_4_NV 0x8663
  11008. #define GL_MAP1_VERTEX_ATTRIB4_4_NV 0x8664
  11009. #define GL_MAP1_VERTEX_ATTRIB5_4_NV 0x8665
  11010. #define GL_MAP1_VERTEX_ATTRIB6_4_NV 0x8666
  11011. #define GL_MAP1_VERTEX_ATTRIB7_4_NV 0x8667
  11012. #define GL_MAP1_VERTEX_ATTRIB8_4_NV 0x8668
  11013. #define GL_MAP1_VERTEX_ATTRIB9_4_NV 0x8669
  11014. #define GL_MAP1_VERTEX_ATTRIB10_4_NV 0x866A
  11015. #define GL_MAP1_VERTEX_ATTRIB11_4_NV 0x866B
  11016. #define GL_MAP1_VERTEX_ATTRIB12_4_NV 0x866C
  11017. #define GL_MAP1_VERTEX_ATTRIB13_4_NV 0x866D
  11018. #define GL_MAP1_VERTEX_ATTRIB14_4_NV 0x866E
  11019. #define GL_MAP1_VERTEX_ATTRIB15_4_NV 0x866F
  11020. #define GL_MAP2_VERTEX_ATTRIB0_4_NV 0x8670
  11021. #define GL_MAP2_VERTEX_ATTRIB1_4_NV 0x8671
  11022. #define GL_MAP2_VERTEX_ATTRIB2_4_NV 0x8672
  11023. #define GL_MAP2_VERTEX_ATTRIB3_4_NV 0x8673
  11024. #define GL_MAP2_VERTEX_ATTRIB4_4_NV 0x8674
  11025. #define GL_MAP2_VERTEX_ATTRIB5_4_NV 0x8675
  11026. #define GL_MAP2_VERTEX_ATTRIB6_4_NV 0x8676
  11027. #define GL_MAP2_VERTEX_ATTRIB7_4_NV 0x8677
  11028. #define GL_MAP2_VERTEX_ATTRIB8_4_NV 0x8678
  11029. #define GL_MAP2_VERTEX_ATTRIB9_4_NV 0x8679
  11030. #define GL_MAP2_VERTEX_ATTRIB10_4_NV 0x867A
  11031. #define GL_MAP2_VERTEX_ATTRIB11_4_NV 0x867B
  11032. #define GL_MAP2_VERTEX_ATTRIB12_4_NV 0x867C
  11033. #define GL_MAP2_VERTEX_ATTRIB13_4_NV 0x867D
  11034. #define GL_MAP2_VERTEX_ATTRIB14_4_NV 0x867E
  11035. #define GL_MAP2_VERTEX_ATTRIB15_4_NV 0x867F
  11036. typedef GLboolean (GLAPIENTRY * PFNGLAREPROGRAMSRESIDENTNVPROC) (GLsizei n, const GLuint* ids, GLboolean *residences);
  11037. typedef void (GLAPIENTRY * PFNGLBINDPROGRAMNVPROC) (GLenum target, GLuint id);
  11038. typedef void (GLAPIENTRY * PFNGLDELETEPROGRAMSNVPROC) (GLsizei n, const GLuint* ids);
  11039. typedef void (GLAPIENTRY * PFNGLEXECUTEPROGRAMNVPROC) (GLenum target, GLuint id, const GLfloat* params);
  11040. typedef void (GLAPIENTRY * PFNGLGENPROGRAMSNVPROC) (GLsizei n, GLuint* ids);
  11041. typedef void (GLAPIENTRY * PFNGLGETPROGRAMPARAMETERDVNVPROC) (GLenum target, GLuint index, GLenum pname, GLdouble* params);
  11042. typedef void (GLAPIENTRY * PFNGLGETPROGRAMPARAMETERFVNVPROC) (GLenum target, GLuint index, GLenum pname, GLfloat* params);
  11043. typedef void (GLAPIENTRY * PFNGLGETPROGRAMSTRINGNVPROC) (GLuint id, GLenum pname, GLubyte* program);
  11044. typedef void (GLAPIENTRY * PFNGLGETPROGRAMIVNVPROC) (GLuint id, GLenum pname, GLint* params);
  11045. typedef void (GLAPIENTRY * PFNGLGETTRACKMATRIXIVNVPROC) (GLenum target, GLuint address, GLenum pname, GLint* params);
  11046. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBPOINTERVNVPROC) (GLuint index, GLenum pname, GLvoid** pointer);
  11047. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBDVNVPROC) (GLuint index, GLenum pname, GLdouble* params);
  11048. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBFVNVPROC) (GLuint index, GLenum pname, GLfloat* params);
  11049. typedef void (GLAPIENTRY * PFNGLGETVERTEXATTRIBIVNVPROC) (GLuint index, GLenum pname, GLint* params);
  11050. typedef GLboolean (GLAPIENTRY * PFNGLISPROGRAMNVPROC) (GLuint id);
  11051. typedef void (GLAPIENTRY * PFNGLLOADPROGRAMNVPROC) (GLenum target, GLuint id, GLsizei len, const GLubyte* program);
  11052. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DNVPROC) (GLenum target, GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11053. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4DVNVPROC) (GLenum target, GLuint index, const GLdouble* params);
  11054. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FNVPROC) (GLenum target, GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11055. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETER4FVNVPROC) (GLenum target, GLuint index, const GLfloat* params);
  11056. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4DVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLdouble* params);
  11057. typedef void (GLAPIENTRY * PFNGLPROGRAMPARAMETERS4FVNVPROC) (GLenum target, GLuint index, GLsizei num, const GLfloat* params);
  11058. typedef void (GLAPIENTRY * PFNGLREQUESTRESIDENTPROGRAMSNVPROC) (GLsizei n, GLuint* ids);
  11059. typedef void (GLAPIENTRY * PFNGLTRACKMATRIXNVPROC) (GLenum target, GLuint address, GLenum matrix, GLenum transform);
  11060. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DNVPROC) (GLuint index, GLdouble x);
  11061. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1DVNVPROC) (GLuint index, const GLdouble* v);
  11062. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FNVPROC) (GLuint index, GLfloat x);
  11063. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1FVNVPROC) (GLuint index, const GLfloat* v);
  11064. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SNVPROC) (GLuint index, GLshort x);
  11065. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB1SVNVPROC) (GLuint index, const GLshort* v);
  11066. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DNVPROC) (GLuint index, GLdouble x, GLdouble y);
  11067. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2DVNVPROC) (GLuint index, const GLdouble* v);
  11068. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FNVPROC) (GLuint index, GLfloat x, GLfloat y);
  11069. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2FVNVPROC) (GLuint index, const GLfloat* v);
  11070. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SNVPROC) (GLuint index, GLshort x, GLshort y);
  11071. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB2SVNVPROC) (GLuint index, const GLshort* v);
  11072. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z);
  11073. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3DVNVPROC) (GLuint index, const GLdouble* v);
  11074. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z);
  11075. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3FVNVPROC) (GLuint index, const GLfloat* v);
  11076. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z);
  11077. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB3SVNVPROC) (GLuint index, const GLshort* v);
  11078. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DNVPROC) (GLuint index, GLdouble x, GLdouble y, GLdouble z, GLdouble w);
  11079. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4DVNVPROC) (GLuint index, const GLdouble* v);
  11080. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  11081. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4FVNVPROC) (GLuint index, const GLfloat* v);
  11082. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SNVPROC) (GLuint index, GLshort x, GLshort y, GLshort z, GLshort w);
  11083. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4SVNVPROC) (GLuint index, const GLshort* v);
  11084. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBNVPROC) (GLuint index, GLubyte x, GLubyte y, GLubyte z, GLubyte w);
  11085. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIB4UBVNVPROC) (GLuint index, const GLubyte* v);
  11086. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBPOINTERNVPROC) (GLuint index, GLint size, GLenum type, GLsizei stride, const void* pointer);
  11087. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v);
  11088. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v);
  11089. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS1SVNVPROC) (GLuint index, GLsizei n, const GLshort* v);
  11090. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v);
  11091. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v);
  11092. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS2SVNVPROC) (GLuint index, GLsizei n, const GLshort* v);
  11093. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v);
  11094. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v);
  11095. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS3SVNVPROC) (GLuint index, GLsizei n, const GLshort* v);
  11096. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4DVNVPROC) (GLuint index, GLsizei n, const GLdouble* v);
  11097. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4FVNVPROC) (GLuint index, GLsizei n, const GLfloat* v);
  11098. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4SVNVPROC) (GLuint index, GLsizei n, const GLshort* v);
  11099. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBS4UBVNVPROC) (GLuint index, GLsizei n, const GLubyte* v);
  11100. #define glAreProgramsResidentNV GLEW_GET_FUN(__glewAreProgramsResidentNV)
  11101. #define glBindProgramNV GLEW_GET_FUN(__glewBindProgramNV)
  11102. #define glDeleteProgramsNV GLEW_GET_FUN(__glewDeleteProgramsNV)
  11103. #define glExecuteProgramNV GLEW_GET_FUN(__glewExecuteProgramNV)
  11104. #define glGenProgramsNV GLEW_GET_FUN(__glewGenProgramsNV)
  11105. #define glGetProgramParameterdvNV GLEW_GET_FUN(__glewGetProgramParameterdvNV)
  11106. #define glGetProgramParameterfvNV GLEW_GET_FUN(__glewGetProgramParameterfvNV)
  11107. #define glGetProgramStringNV GLEW_GET_FUN(__glewGetProgramStringNV)
  11108. #define glGetProgramivNV GLEW_GET_FUN(__glewGetProgramivNV)
  11109. #define glGetTrackMatrixivNV GLEW_GET_FUN(__glewGetTrackMatrixivNV)
  11110. #define glGetVertexAttribPointervNV GLEW_GET_FUN(__glewGetVertexAttribPointervNV)
  11111. #define glGetVertexAttribdvNV GLEW_GET_FUN(__glewGetVertexAttribdvNV)
  11112. #define glGetVertexAttribfvNV GLEW_GET_FUN(__glewGetVertexAttribfvNV)
  11113. #define glGetVertexAttribivNV GLEW_GET_FUN(__glewGetVertexAttribivNV)
  11114. #define glIsProgramNV GLEW_GET_FUN(__glewIsProgramNV)
  11115. #define glLoadProgramNV GLEW_GET_FUN(__glewLoadProgramNV)
  11116. #define glProgramParameter4dNV GLEW_GET_FUN(__glewProgramParameter4dNV)
  11117. #define glProgramParameter4dvNV GLEW_GET_FUN(__glewProgramParameter4dvNV)
  11118. #define glProgramParameter4fNV GLEW_GET_FUN(__glewProgramParameter4fNV)
  11119. #define glProgramParameter4fvNV GLEW_GET_FUN(__glewProgramParameter4fvNV)
  11120. #define glProgramParameters4dvNV GLEW_GET_FUN(__glewProgramParameters4dvNV)
  11121. #define glProgramParameters4fvNV GLEW_GET_FUN(__glewProgramParameters4fvNV)
  11122. #define glRequestResidentProgramsNV GLEW_GET_FUN(__glewRequestResidentProgramsNV)
  11123. #define glTrackMatrixNV GLEW_GET_FUN(__glewTrackMatrixNV)
  11124. #define glVertexAttrib1dNV GLEW_GET_FUN(__glewVertexAttrib1dNV)
  11125. #define glVertexAttrib1dvNV GLEW_GET_FUN(__glewVertexAttrib1dvNV)
  11126. #define glVertexAttrib1fNV GLEW_GET_FUN(__glewVertexAttrib1fNV)
  11127. #define glVertexAttrib1fvNV GLEW_GET_FUN(__glewVertexAttrib1fvNV)
  11128. #define glVertexAttrib1sNV GLEW_GET_FUN(__glewVertexAttrib1sNV)
  11129. #define glVertexAttrib1svNV GLEW_GET_FUN(__glewVertexAttrib1svNV)
  11130. #define glVertexAttrib2dNV GLEW_GET_FUN(__glewVertexAttrib2dNV)
  11131. #define glVertexAttrib2dvNV GLEW_GET_FUN(__glewVertexAttrib2dvNV)
  11132. #define glVertexAttrib2fNV GLEW_GET_FUN(__glewVertexAttrib2fNV)
  11133. #define glVertexAttrib2fvNV GLEW_GET_FUN(__glewVertexAttrib2fvNV)
  11134. #define glVertexAttrib2sNV GLEW_GET_FUN(__glewVertexAttrib2sNV)
  11135. #define glVertexAttrib2svNV GLEW_GET_FUN(__glewVertexAttrib2svNV)
  11136. #define glVertexAttrib3dNV GLEW_GET_FUN(__glewVertexAttrib3dNV)
  11137. #define glVertexAttrib3dvNV GLEW_GET_FUN(__glewVertexAttrib3dvNV)
  11138. #define glVertexAttrib3fNV GLEW_GET_FUN(__glewVertexAttrib3fNV)
  11139. #define glVertexAttrib3fvNV GLEW_GET_FUN(__glewVertexAttrib3fvNV)
  11140. #define glVertexAttrib3sNV GLEW_GET_FUN(__glewVertexAttrib3sNV)
  11141. #define glVertexAttrib3svNV GLEW_GET_FUN(__glewVertexAttrib3svNV)
  11142. #define glVertexAttrib4dNV GLEW_GET_FUN(__glewVertexAttrib4dNV)
  11143. #define glVertexAttrib4dvNV GLEW_GET_FUN(__glewVertexAttrib4dvNV)
  11144. #define glVertexAttrib4fNV GLEW_GET_FUN(__glewVertexAttrib4fNV)
  11145. #define glVertexAttrib4fvNV GLEW_GET_FUN(__glewVertexAttrib4fvNV)
  11146. #define glVertexAttrib4sNV GLEW_GET_FUN(__glewVertexAttrib4sNV)
  11147. #define glVertexAttrib4svNV GLEW_GET_FUN(__glewVertexAttrib4svNV)
  11148. #define glVertexAttrib4ubNV GLEW_GET_FUN(__glewVertexAttrib4ubNV)
  11149. #define glVertexAttrib4ubvNV GLEW_GET_FUN(__glewVertexAttrib4ubvNV)
  11150. #define glVertexAttribPointerNV GLEW_GET_FUN(__glewVertexAttribPointerNV)
  11151. #define glVertexAttribs1dvNV GLEW_GET_FUN(__glewVertexAttribs1dvNV)
  11152. #define glVertexAttribs1fvNV GLEW_GET_FUN(__glewVertexAttribs1fvNV)
  11153. #define glVertexAttribs1svNV GLEW_GET_FUN(__glewVertexAttribs1svNV)
  11154. #define glVertexAttribs2dvNV GLEW_GET_FUN(__glewVertexAttribs2dvNV)
  11155. #define glVertexAttribs2fvNV GLEW_GET_FUN(__glewVertexAttribs2fvNV)
  11156. #define glVertexAttribs2svNV GLEW_GET_FUN(__glewVertexAttribs2svNV)
  11157. #define glVertexAttribs3dvNV GLEW_GET_FUN(__glewVertexAttribs3dvNV)
  11158. #define glVertexAttribs3fvNV GLEW_GET_FUN(__glewVertexAttribs3fvNV)
  11159. #define glVertexAttribs3svNV GLEW_GET_FUN(__glewVertexAttribs3svNV)
  11160. #define glVertexAttribs4dvNV GLEW_GET_FUN(__glewVertexAttribs4dvNV)
  11161. #define glVertexAttribs4fvNV GLEW_GET_FUN(__glewVertexAttribs4fvNV)
  11162. #define glVertexAttribs4svNV GLEW_GET_FUN(__glewVertexAttribs4svNV)
  11163. #define glVertexAttribs4ubvNV GLEW_GET_FUN(__glewVertexAttribs4ubvNV)
  11164. #define GLEW_NV_vertex_program GLEW_GET_VAR(__GLEW_NV_vertex_program)
  11165. #endif /* !GL_NV_vertex_program */
  11166. /* ------------------------ GL_NV_vertex_program1_1 ------------------------ */
  11167. #if !defined(GL_NV_vertex_program1_1)
  11168. #define GL_NV_vertex_program1_1 1
  11169. #define GLEW_NV_vertex_program1_1 GLEW_GET_VAR(__GLEW_NV_vertex_program1_1)
  11170. #endif /* !GL_NV_vertex_program1_1 */
  11171. /* ------------------------- GL_NV_vertex_program2 ------------------------- */
  11172. #if !defined(GL_NV_vertex_program2)
  11173. #define GL_NV_vertex_program2 1
  11174. #define GLEW_NV_vertex_program2 GLEW_GET_VAR(__GLEW_NV_vertex_program2)
  11175. #endif /* !GL_NV_vertex_program2 */
  11176. /* ---------------------- GL_NV_vertex_program2_option --------------------- */
  11177. #if !defined(GL_NV_vertex_program2_option)
  11178. #define GL_NV_vertex_program2_option 1
  11179. #define GL_MAX_PROGRAM_EXEC_INSTRUCTIONS_NV 0x88F4
  11180. #define GL_MAX_PROGRAM_CALL_DEPTH_NV 0x88F5
  11181. #define GLEW_NV_vertex_program2_option GLEW_GET_VAR(__GLEW_NV_vertex_program2_option)
  11182. #endif /* !GL_NV_vertex_program2_option */
  11183. /* ------------------------- GL_NV_vertex_program3 ------------------------- */
  11184. #if !defined(GL_NV_vertex_program3)
  11185. #define GL_NV_vertex_program3 1
  11186. #define MAX_VERTEX_TEXTURE_IMAGE_UNITS_ARB 0x8B4C
  11187. #define GLEW_NV_vertex_program3 GLEW_GET_VAR(__GLEW_NV_vertex_program3)
  11188. #endif /* !GL_NV_vertex_program3 */
  11189. /* ------------------------- GL_NV_vertex_program4 ------------------------- */
  11190. #if !defined(GL_NV_vertex_program4)
  11191. #define GL_NV_vertex_program4 1
  11192. #define GL_VERTEX_ATTRIB_ARRAY_INTEGER_NV 0x88FD
  11193. #define GLEW_NV_vertex_program4 GLEW_GET_VAR(__GLEW_NV_vertex_program4)
  11194. #endif /* !GL_NV_vertex_program4 */
  11195. /* -------------------------- GL_NV_video_capture -------------------------- */
  11196. #if !defined(GL_NV_video_capture)
  11197. #define GL_NV_video_capture 1
  11198. #define GL_VIDEO_BUFFER_NV 0x9020
  11199. #define GL_VIDEO_BUFFER_BINDING_NV 0x9021
  11200. #define GL_FIELD_UPPER_NV 0x9022
  11201. #define GL_FIELD_LOWER_NV 0x9023
  11202. #define GL_NUM_VIDEO_CAPTURE_STREAMS_NV 0x9024
  11203. #define GL_NEXT_VIDEO_CAPTURE_BUFFER_STATUS_NV 0x9025
  11204. #define GL_VIDEO_CAPTURE_TO_422_SUPPORTED_NV 0x9026
  11205. #define GL_LAST_VIDEO_CAPTURE_STATUS_NV 0x9027
  11206. #define GL_VIDEO_BUFFER_PITCH_NV 0x9028
  11207. #define GL_VIDEO_COLOR_CONVERSION_MATRIX_NV 0x9029
  11208. #define GL_VIDEO_COLOR_CONVERSION_MAX_NV 0x902A
  11209. #define GL_VIDEO_COLOR_CONVERSION_MIN_NV 0x902B
  11210. #define GL_VIDEO_COLOR_CONVERSION_OFFSET_NV 0x902C
  11211. #define GL_VIDEO_BUFFER_INTERNAL_FORMAT_NV 0x902D
  11212. #define GL_PARTIAL_SUCCESS_NV 0x902E
  11213. #define GL_SUCCESS_NV 0x902F
  11214. #define GL_FAILURE_NV 0x9030
  11215. #define GL_YCBYCR8_422_NV 0x9031
  11216. #define GL_YCBAYCR8A_4224_NV 0x9032
  11217. #define GL_Z6Y10Z6CB10Z6Y10Z6CR10_422_NV 0x9033
  11218. #define GL_Z6Y10Z6CB10Z6A10Z6Y10Z6CR10Z6A10_4224_NV 0x9034
  11219. #define GL_Z4Y12Z4CB12Z4Y12Z4CR12_422_NV 0x9035
  11220. #define GL_Z4Y12Z4CB12Z4A12Z4Y12Z4CR12Z4A12_4224_NV 0x9036
  11221. #define GL_Z4Y12Z4CB12Z4CR12_444_NV 0x9037
  11222. #define GL_VIDEO_CAPTURE_FRAME_WIDTH_NV 0x9038
  11223. #define GL_VIDEO_CAPTURE_FRAME_HEIGHT_NV 0x9039
  11224. #define GL_VIDEO_CAPTURE_FIELD_UPPER_HEIGHT_NV 0x903A
  11225. #define GL_VIDEO_CAPTURE_FIELD_LOWER_HEIGHT_NV 0x903B
  11226. #define GL_VIDEO_CAPTURE_SURFACE_ORIGIN_NV 0x903C
  11227. typedef void (GLAPIENTRY * PFNGLBEGINVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11228. typedef void (GLAPIENTRY * PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLintptrARB offset);
  11229. typedef void (GLAPIENTRY * PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC) (GLuint video_capture_slot, GLuint stream, GLenum frame_region, GLenum target, GLuint texture);
  11230. typedef void (GLAPIENTRY * PFNGLENDVIDEOCAPTURENVPROC) (GLuint video_capture_slot);
  11231. typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLdouble* params);
  11232. typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLfloat* params);
  11233. typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTURESTREAMIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, GLint* params);
  11234. typedef void (GLAPIENTRY * PFNGLGETVIDEOCAPTUREIVNVPROC) (GLuint video_capture_slot, GLenum pname, GLint* params);
  11235. typedef GLenum (GLAPIENTRY * PFNGLVIDEOCAPTURENVPROC) (GLuint video_capture_slot, GLuint* sequence_num, GLuint64EXT *capture_time);
  11236. typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLdouble* params);
  11237. typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLfloat* params);
  11238. typedef void (GLAPIENTRY * PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC) (GLuint video_capture_slot, GLuint stream, GLenum pname, const GLint* params);
  11239. #define glBeginVideoCaptureNV GLEW_GET_FUN(__glewBeginVideoCaptureNV)
  11240. #define glBindVideoCaptureStreamBufferNV GLEW_GET_FUN(__glewBindVideoCaptureStreamBufferNV)
  11241. #define glBindVideoCaptureStreamTextureNV GLEW_GET_FUN(__glewBindVideoCaptureStreamTextureNV)
  11242. #define glEndVideoCaptureNV GLEW_GET_FUN(__glewEndVideoCaptureNV)
  11243. #define glGetVideoCaptureStreamdvNV GLEW_GET_FUN(__glewGetVideoCaptureStreamdvNV)
  11244. #define glGetVideoCaptureStreamfvNV GLEW_GET_FUN(__glewGetVideoCaptureStreamfvNV)
  11245. #define glGetVideoCaptureStreamivNV GLEW_GET_FUN(__glewGetVideoCaptureStreamivNV)
  11246. #define glGetVideoCaptureivNV GLEW_GET_FUN(__glewGetVideoCaptureivNV)
  11247. #define glVideoCaptureNV GLEW_GET_FUN(__glewVideoCaptureNV)
  11248. #define glVideoCaptureStreamParameterdvNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterdvNV)
  11249. #define glVideoCaptureStreamParameterfvNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterfvNV)
  11250. #define glVideoCaptureStreamParameterivNV GLEW_GET_FUN(__glewVideoCaptureStreamParameterivNV)
  11251. #define GLEW_NV_video_capture GLEW_GET_VAR(__GLEW_NV_video_capture)
  11252. #endif /* !GL_NV_video_capture */
  11253. /* ------------------------ GL_OES_byte_coordinates ------------------------ */
  11254. #if !defined(GL_OES_byte_coordinates)
  11255. #define GL_OES_byte_coordinates 1
  11256. #define GL_BYTE 0x1400
  11257. #define GLEW_OES_byte_coordinates GLEW_GET_VAR(__GLEW_OES_byte_coordinates)
  11258. #endif /* !GL_OES_byte_coordinates */
  11259. /* ------------------- GL_OES_compressed_paletted_texture ------------------ */
  11260. #if !defined(GL_OES_compressed_paletted_texture)
  11261. #define GL_OES_compressed_paletted_texture 1
  11262. #define GL_PALETTE4_RGB8_OES 0x8B90
  11263. #define GL_PALETTE4_RGBA8_OES 0x8B91
  11264. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  11265. #define GL_PALETTE4_RGBA4_OES 0x8B93
  11266. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  11267. #define GL_PALETTE8_RGB8_OES 0x8B95
  11268. #define GL_PALETTE8_RGBA8_OES 0x8B96
  11269. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  11270. #define GL_PALETTE8_RGBA4_OES 0x8B98
  11271. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  11272. #define GLEW_OES_compressed_paletted_texture GLEW_GET_VAR(__GLEW_OES_compressed_paletted_texture)
  11273. #endif /* !GL_OES_compressed_paletted_texture */
  11274. /* --------------------------- GL_OES_read_format -------------------------- */
  11275. #if !defined(GL_OES_read_format)
  11276. #define GL_OES_read_format 1
  11277. #define GL_IMPLEMENTATION_COLOR_READ_TYPE_OES 0x8B9A
  11278. #define GL_IMPLEMENTATION_COLOR_READ_FORMAT_OES 0x8B9B
  11279. #define GLEW_OES_read_format GLEW_GET_VAR(__GLEW_OES_read_format)
  11280. #endif /* !GL_OES_read_format */
  11281. /* ------------------------ GL_OES_single_precision ------------------------ */
  11282. #if !defined(GL_OES_single_precision)
  11283. #define GL_OES_single_precision 1
  11284. typedef void (GLAPIENTRY * PFNGLCLEARDEPTHFOESPROC) (GLclampd depth);
  11285. typedef void (GLAPIENTRY * PFNGLCLIPPLANEFOESPROC) (GLenum plane, const GLfloat* equation);
  11286. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEFOESPROC) (GLclampf n, GLclampf f);
  11287. typedef void (GLAPIENTRY * PFNGLFRUSTUMFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  11288. typedef void (GLAPIENTRY * PFNGLGETCLIPPLANEFOESPROC) (GLenum plane, GLfloat* equation);
  11289. typedef void (GLAPIENTRY * PFNGLORTHOFOESPROC) (GLfloat l, GLfloat r, GLfloat b, GLfloat t, GLfloat n, GLfloat f);
  11290. #define glClearDepthfOES GLEW_GET_FUN(__glewClearDepthfOES)
  11291. #define glClipPlanefOES GLEW_GET_FUN(__glewClipPlanefOES)
  11292. #define glDepthRangefOES GLEW_GET_FUN(__glewDepthRangefOES)
  11293. #define glFrustumfOES GLEW_GET_FUN(__glewFrustumfOES)
  11294. #define glGetClipPlanefOES GLEW_GET_FUN(__glewGetClipPlanefOES)
  11295. #define glOrthofOES GLEW_GET_FUN(__glewOrthofOES)
  11296. #define GLEW_OES_single_precision GLEW_GET_VAR(__GLEW_OES_single_precision)
  11297. #endif /* !GL_OES_single_precision */
  11298. /* ---------------------------- GL_OML_interlace --------------------------- */
  11299. #if !defined(GL_OML_interlace)
  11300. #define GL_OML_interlace 1
  11301. #define GL_INTERLACE_OML 0x8980
  11302. #define GL_INTERLACE_READ_OML 0x8981
  11303. #define GLEW_OML_interlace GLEW_GET_VAR(__GLEW_OML_interlace)
  11304. #endif /* !GL_OML_interlace */
  11305. /* ---------------------------- GL_OML_resample ---------------------------- */
  11306. #if !defined(GL_OML_resample)
  11307. #define GL_OML_resample 1
  11308. #define GL_PACK_RESAMPLE_OML 0x8984
  11309. #define GL_UNPACK_RESAMPLE_OML 0x8985
  11310. #define GL_RESAMPLE_REPLICATE_OML 0x8986
  11311. #define GL_RESAMPLE_ZERO_FILL_OML 0x8987
  11312. #define GL_RESAMPLE_AVERAGE_OML 0x8988
  11313. #define GL_RESAMPLE_DECIMATE_OML 0x8989
  11314. #define GLEW_OML_resample GLEW_GET_VAR(__GLEW_OML_resample)
  11315. #endif /* !GL_OML_resample */
  11316. /* ---------------------------- GL_OML_subsample --------------------------- */
  11317. #if !defined(GL_OML_subsample)
  11318. #define GL_OML_subsample 1
  11319. #define GL_FORMAT_SUBSAMPLE_24_24_OML 0x8982
  11320. #define GL_FORMAT_SUBSAMPLE_244_244_OML 0x8983
  11321. #define GLEW_OML_subsample GLEW_GET_VAR(__GLEW_OML_subsample)
  11322. #endif /* !GL_OML_subsample */
  11323. /* --------------------------- GL_PGI_misc_hints --------------------------- */
  11324. #if !defined(GL_PGI_misc_hints)
  11325. #define GL_PGI_misc_hints 1
  11326. #define GL_PREFER_DOUBLEBUFFER_HINT_PGI 107000
  11327. #define GL_CONSERVE_MEMORY_HINT_PGI 107005
  11328. #define GL_RECLAIM_MEMORY_HINT_PGI 107006
  11329. #define GL_NATIVE_GRAPHICS_HANDLE_PGI 107010
  11330. #define GL_NATIVE_GRAPHICS_BEGIN_HINT_PGI 107011
  11331. #define GL_NATIVE_GRAPHICS_END_HINT_PGI 107012
  11332. #define GL_ALWAYS_FAST_HINT_PGI 107020
  11333. #define GL_ALWAYS_SOFT_HINT_PGI 107021
  11334. #define GL_ALLOW_DRAW_OBJ_HINT_PGI 107022
  11335. #define GL_ALLOW_DRAW_WIN_HINT_PGI 107023
  11336. #define GL_ALLOW_DRAW_FRG_HINT_PGI 107024
  11337. #define GL_ALLOW_DRAW_MEM_HINT_PGI 107025
  11338. #define GL_STRICT_DEPTHFUNC_HINT_PGI 107030
  11339. #define GL_STRICT_LIGHTING_HINT_PGI 107031
  11340. #define GL_STRICT_SCISSOR_HINT_PGI 107032
  11341. #define GL_FULL_STIPPLE_HINT_PGI 107033
  11342. #define GL_CLIP_NEAR_HINT_PGI 107040
  11343. #define GL_CLIP_FAR_HINT_PGI 107041
  11344. #define GL_WIDE_LINE_HINT_PGI 107042
  11345. #define GL_BACK_NORMALS_HINT_PGI 107043
  11346. #define GLEW_PGI_misc_hints GLEW_GET_VAR(__GLEW_PGI_misc_hints)
  11347. #endif /* !GL_PGI_misc_hints */
  11348. /* -------------------------- GL_PGI_vertex_hints -------------------------- */
  11349. #if !defined(GL_PGI_vertex_hints)
  11350. #define GL_PGI_vertex_hints 1
  11351. #define GL_VERTEX23_BIT_PGI 0x00000004
  11352. #define GL_VERTEX4_BIT_PGI 0x00000008
  11353. #define GL_COLOR3_BIT_PGI 0x00010000
  11354. #define GL_COLOR4_BIT_PGI 0x00020000
  11355. #define GL_EDGEFLAG_BIT_PGI 0x00040000
  11356. #define GL_INDEX_BIT_PGI 0x00080000
  11357. #define GL_MAT_AMBIENT_BIT_PGI 0x00100000
  11358. #define GL_VERTEX_DATA_HINT_PGI 107050
  11359. #define GL_VERTEX_CONSISTENT_HINT_PGI 107051
  11360. #define GL_MATERIAL_SIDE_HINT_PGI 107052
  11361. #define GL_MAX_VERTEX_HINT_PGI 107053
  11362. #define GL_MAT_AMBIENT_AND_DIFFUSE_BIT_PGI 0x00200000
  11363. #define GL_MAT_DIFFUSE_BIT_PGI 0x00400000
  11364. #define GL_MAT_EMISSION_BIT_PGI 0x00800000
  11365. #define GL_MAT_COLOR_INDEXES_BIT_PGI 0x01000000
  11366. #define GL_MAT_SHININESS_BIT_PGI 0x02000000
  11367. #define GL_MAT_SPECULAR_BIT_PGI 0x04000000
  11368. #define GL_NORMAL_BIT_PGI 0x08000000
  11369. #define GL_TEXCOORD1_BIT_PGI 0x10000000
  11370. #define GL_TEXCOORD2_BIT_PGI 0x20000000
  11371. #define GL_TEXCOORD3_BIT_PGI 0x40000000
  11372. #define GL_TEXCOORD4_BIT_PGI 0x80000000
  11373. #define GLEW_PGI_vertex_hints GLEW_GET_VAR(__GLEW_PGI_vertex_hints)
  11374. #endif /* !GL_PGI_vertex_hints */
  11375. /* ----------------------- GL_REND_screen_coordinates ---------------------- */
  11376. #if !defined(GL_REND_screen_coordinates)
  11377. #define GL_REND_screen_coordinates 1
  11378. #define GL_SCREEN_COORDINATES_REND 0x8490
  11379. #define GL_INVERTED_SCREEN_W_REND 0x8491
  11380. #define GLEW_REND_screen_coordinates GLEW_GET_VAR(__GLEW_REND_screen_coordinates)
  11381. #endif /* !GL_REND_screen_coordinates */
  11382. /* ------------------------------- GL_S3_s3tc ------------------------------ */
  11383. #if !defined(GL_S3_s3tc)
  11384. #define GL_S3_s3tc 1
  11385. #define GL_RGB_S3TC 0x83A0
  11386. #define GL_RGB4_S3TC 0x83A1
  11387. #define GL_RGBA_S3TC 0x83A2
  11388. #define GL_RGBA4_S3TC 0x83A3
  11389. #define GL_RGBA_DXT5_S3TC 0x83A4
  11390. #define GL_RGBA4_DXT5_S3TC 0x83A5
  11391. #define GLEW_S3_s3tc GLEW_GET_VAR(__GLEW_S3_s3tc)
  11392. #endif /* !GL_S3_s3tc */
  11393. /* -------------------------- GL_SGIS_color_range -------------------------- */
  11394. #if !defined(GL_SGIS_color_range)
  11395. #define GL_SGIS_color_range 1
  11396. #define GL_EXTENDED_RANGE_SGIS 0x85A5
  11397. #define GL_MIN_RED_SGIS 0x85A6
  11398. #define GL_MAX_RED_SGIS 0x85A7
  11399. #define GL_MIN_GREEN_SGIS 0x85A8
  11400. #define GL_MAX_GREEN_SGIS 0x85A9
  11401. #define GL_MIN_BLUE_SGIS 0x85AA
  11402. #define GL_MAX_BLUE_SGIS 0x85AB
  11403. #define GL_MIN_ALPHA_SGIS 0x85AC
  11404. #define GL_MAX_ALPHA_SGIS 0x85AD
  11405. #define GLEW_SGIS_color_range GLEW_GET_VAR(__GLEW_SGIS_color_range)
  11406. #endif /* !GL_SGIS_color_range */
  11407. /* ------------------------- GL_SGIS_detail_texture ------------------------ */
  11408. #if !defined(GL_SGIS_detail_texture)
  11409. #define GL_SGIS_detail_texture 1
  11410. typedef void (GLAPIENTRY * PFNGLDETAILTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat* points);
  11411. typedef void (GLAPIENTRY * PFNGLGETDETAILTEXFUNCSGISPROC) (GLenum target, GLfloat* points);
  11412. #define glDetailTexFuncSGIS GLEW_GET_FUN(__glewDetailTexFuncSGIS)
  11413. #define glGetDetailTexFuncSGIS GLEW_GET_FUN(__glewGetDetailTexFuncSGIS)
  11414. #define GLEW_SGIS_detail_texture GLEW_GET_VAR(__GLEW_SGIS_detail_texture)
  11415. #endif /* !GL_SGIS_detail_texture */
  11416. /* -------------------------- GL_SGIS_fog_function ------------------------- */
  11417. #if !defined(GL_SGIS_fog_function)
  11418. #define GL_SGIS_fog_function 1
  11419. typedef void (GLAPIENTRY * PFNGLFOGFUNCSGISPROC) (GLsizei n, const GLfloat* points);
  11420. typedef void (GLAPIENTRY * PFNGLGETFOGFUNCSGISPROC) (GLfloat* points);
  11421. #define glFogFuncSGIS GLEW_GET_FUN(__glewFogFuncSGIS)
  11422. #define glGetFogFuncSGIS GLEW_GET_FUN(__glewGetFogFuncSGIS)
  11423. #define GLEW_SGIS_fog_function GLEW_GET_VAR(__GLEW_SGIS_fog_function)
  11424. #endif /* !GL_SGIS_fog_function */
  11425. /* ------------------------ GL_SGIS_generate_mipmap ------------------------ */
  11426. #if !defined(GL_SGIS_generate_mipmap)
  11427. #define GL_SGIS_generate_mipmap 1
  11428. #define GL_GENERATE_MIPMAP_SGIS 0x8191
  11429. #define GL_GENERATE_MIPMAP_HINT_SGIS 0x8192
  11430. #define GLEW_SGIS_generate_mipmap GLEW_GET_VAR(__GLEW_SGIS_generate_mipmap)
  11431. #endif /* !GL_SGIS_generate_mipmap */
  11432. /* -------------------------- GL_SGIS_multisample -------------------------- */
  11433. #if !defined(GL_SGIS_multisample)
  11434. #define GL_SGIS_multisample 1
  11435. #define GL_MULTISAMPLE_SGIS 0x809D
  11436. #define GL_SAMPLE_ALPHA_TO_MASK_SGIS 0x809E
  11437. #define GL_SAMPLE_ALPHA_TO_ONE_SGIS 0x809F
  11438. #define GL_SAMPLE_MASK_SGIS 0x80A0
  11439. #define GL_1PASS_SGIS 0x80A1
  11440. #define GL_2PASS_0_SGIS 0x80A2
  11441. #define GL_2PASS_1_SGIS 0x80A3
  11442. #define GL_4PASS_0_SGIS 0x80A4
  11443. #define GL_4PASS_1_SGIS 0x80A5
  11444. #define GL_4PASS_2_SGIS 0x80A6
  11445. #define GL_4PASS_3_SGIS 0x80A7
  11446. #define GL_SAMPLE_BUFFERS_SGIS 0x80A8
  11447. #define GL_SAMPLES_SGIS 0x80A9
  11448. #define GL_SAMPLE_MASK_VALUE_SGIS 0x80AA
  11449. #define GL_SAMPLE_MASK_INVERT_SGIS 0x80AB
  11450. #define GL_SAMPLE_PATTERN_SGIS 0x80AC
  11451. #define GL_MULTISAMPLE_BIT_EXT 0x20000000
  11452. typedef void (GLAPIENTRY * PFNGLSAMPLEMASKSGISPROC) (GLclampf value, GLboolean invert);
  11453. typedef void (GLAPIENTRY * PFNGLSAMPLEPATTERNSGISPROC) (GLenum pattern);
  11454. #define glSampleMaskSGIS GLEW_GET_FUN(__glewSampleMaskSGIS)
  11455. #define glSamplePatternSGIS GLEW_GET_FUN(__glewSamplePatternSGIS)
  11456. #define GLEW_SGIS_multisample GLEW_GET_VAR(__GLEW_SGIS_multisample)
  11457. #endif /* !GL_SGIS_multisample */
  11458. /* ------------------------- GL_SGIS_pixel_texture ------------------------- */
  11459. #if !defined(GL_SGIS_pixel_texture)
  11460. #define GL_SGIS_pixel_texture 1
  11461. #define GLEW_SGIS_pixel_texture GLEW_GET_VAR(__GLEW_SGIS_pixel_texture)
  11462. #endif /* !GL_SGIS_pixel_texture */
  11463. /* ----------------------- GL_SGIS_point_line_texgen ----------------------- */
  11464. #if !defined(GL_SGIS_point_line_texgen)
  11465. #define GL_SGIS_point_line_texgen 1
  11466. #define GL_EYE_DISTANCE_TO_POINT_SGIS 0x81F0
  11467. #define GL_OBJECT_DISTANCE_TO_POINT_SGIS 0x81F1
  11468. #define GL_EYE_DISTANCE_TO_LINE_SGIS 0x81F2
  11469. #define GL_OBJECT_DISTANCE_TO_LINE_SGIS 0x81F3
  11470. #define GL_EYE_POINT_SGIS 0x81F4
  11471. #define GL_OBJECT_POINT_SGIS 0x81F5
  11472. #define GL_EYE_LINE_SGIS 0x81F6
  11473. #define GL_OBJECT_LINE_SGIS 0x81F7
  11474. #define GLEW_SGIS_point_line_texgen GLEW_GET_VAR(__GLEW_SGIS_point_line_texgen)
  11475. #endif /* !GL_SGIS_point_line_texgen */
  11476. /* ------------------------ GL_SGIS_sharpen_texture ------------------------ */
  11477. #if !defined(GL_SGIS_sharpen_texture)
  11478. #define GL_SGIS_sharpen_texture 1
  11479. typedef void (GLAPIENTRY * PFNGLGETSHARPENTEXFUNCSGISPROC) (GLenum target, GLfloat* points);
  11480. typedef void (GLAPIENTRY * PFNGLSHARPENTEXFUNCSGISPROC) (GLenum target, GLsizei n, const GLfloat* points);
  11481. #define glGetSharpenTexFuncSGIS GLEW_GET_FUN(__glewGetSharpenTexFuncSGIS)
  11482. #define glSharpenTexFuncSGIS GLEW_GET_FUN(__glewSharpenTexFuncSGIS)
  11483. #define GLEW_SGIS_sharpen_texture GLEW_GET_VAR(__GLEW_SGIS_sharpen_texture)
  11484. #endif /* !GL_SGIS_sharpen_texture */
  11485. /* --------------------------- GL_SGIS_texture4D --------------------------- */
  11486. #if !defined(GL_SGIS_texture4D)
  11487. #define GL_SGIS_texture4D 1
  11488. typedef void (GLAPIENTRY * PFNGLTEXIMAGE4DSGISPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLint border, GLenum format, GLenum type, const void* pixels);
  11489. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE4DSGISPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint woffset, GLsizei width, GLsizei height, GLsizei depth, GLsizei extent, GLenum format, GLenum type, const void* pixels);
  11490. #define glTexImage4DSGIS GLEW_GET_FUN(__glewTexImage4DSGIS)
  11491. #define glTexSubImage4DSGIS GLEW_GET_FUN(__glewTexSubImage4DSGIS)
  11492. #define GLEW_SGIS_texture4D GLEW_GET_VAR(__GLEW_SGIS_texture4D)
  11493. #endif /* !GL_SGIS_texture4D */
  11494. /* ---------------------- GL_SGIS_texture_border_clamp --------------------- */
  11495. #if !defined(GL_SGIS_texture_border_clamp)
  11496. #define GL_SGIS_texture_border_clamp 1
  11497. #define GL_CLAMP_TO_BORDER_SGIS 0x812D
  11498. #define GLEW_SGIS_texture_border_clamp GLEW_GET_VAR(__GLEW_SGIS_texture_border_clamp)
  11499. #endif /* !GL_SGIS_texture_border_clamp */
  11500. /* ----------------------- GL_SGIS_texture_edge_clamp ---------------------- */
  11501. #if !defined(GL_SGIS_texture_edge_clamp)
  11502. #define GL_SGIS_texture_edge_clamp 1
  11503. #define GL_CLAMP_TO_EDGE_SGIS 0x812F
  11504. #define GLEW_SGIS_texture_edge_clamp GLEW_GET_VAR(__GLEW_SGIS_texture_edge_clamp)
  11505. #endif /* !GL_SGIS_texture_edge_clamp */
  11506. /* ------------------------ GL_SGIS_texture_filter4 ------------------------ */
  11507. #if !defined(GL_SGIS_texture_filter4)
  11508. #define GL_SGIS_texture_filter4 1
  11509. typedef void (GLAPIENTRY * PFNGLGETTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLfloat* weights);
  11510. typedef void (GLAPIENTRY * PFNGLTEXFILTERFUNCSGISPROC) (GLenum target, GLenum filter, GLsizei n, const GLfloat* weights);
  11511. #define glGetTexFilterFuncSGIS GLEW_GET_FUN(__glewGetTexFilterFuncSGIS)
  11512. #define glTexFilterFuncSGIS GLEW_GET_FUN(__glewTexFilterFuncSGIS)
  11513. #define GLEW_SGIS_texture_filter4 GLEW_GET_VAR(__GLEW_SGIS_texture_filter4)
  11514. #endif /* !GL_SGIS_texture_filter4 */
  11515. /* -------------------------- GL_SGIS_texture_lod -------------------------- */
  11516. #if !defined(GL_SGIS_texture_lod)
  11517. #define GL_SGIS_texture_lod 1
  11518. #define GL_TEXTURE_MIN_LOD_SGIS 0x813A
  11519. #define GL_TEXTURE_MAX_LOD_SGIS 0x813B
  11520. #define GL_TEXTURE_BASE_LEVEL_SGIS 0x813C
  11521. #define GL_TEXTURE_MAX_LEVEL_SGIS 0x813D
  11522. #define GLEW_SGIS_texture_lod GLEW_GET_VAR(__GLEW_SGIS_texture_lod)
  11523. #endif /* !GL_SGIS_texture_lod */
  11524. /* ------------------------- GL_SGIS_texture_select ------------------------ */
  11525. #if !defined(GL_SGIS_texture_select)
  11526. #define GL_SGIS_texture_select 1
  11527. #define GLEW_SGIS_texture_select GLEW_GET_VAR(__GLEW_SGIS_texture_select)
  11528. #endif /* !GL_SGIS_texture_select */
  11529. /* ----------------------------- GL_SGIX_async ----------------------------- */
  11530. #if !defined(GL_SGIX_async)
  11531. #define GL_SGIX_async 1
  11532. #define GL_ASYNC_MARKER_SGIX 0x8329
  11533. typedef void (GLAPIENTRY * PFNGLASYNCMARKERSGIXPROC) (GLuint marker);
  11534. typedef void (GLAPIENTRY * PFNGLDELETEASYNCMARKERSSGIXPROC) (GLuint marker, GLsizei range);
  11535. typedef GLint (GLAPIENTRY * PFNGLFINISHASYNCSGIXPROC) (GLuint* markerp);
  11536. typedef GLuint (GLAPIENTRY * PFNGLGENASYNCMARKERSSGIXPROC) (GLsizei range);
  11537. typedef GLboolean (GLAPIENTRY * PFNGLISASYNCMARKERSGIXPROC) (GLuint marker);
  11538. typedef GLint (GLAPIENTRY * PFNGLPOLLASYNCSGIXPROC) (GLuint* markerp);
  11539. #define glAsyncMarkerSGIX GLEW_GET_FUN(__glewAsyncMarkerSGIX)
  11540. #define glDeleteAsyncMarkersSGIX GLEW_GET_FUN(__glewDeleteAsyncMarkersSGIX)
  11541. #define glFinishAsyncSGIX GLEW_GET_FUN(__glewFinishAsyncSGIX)
  11542. #define glGenAsyncMarkersSGIX GLEW_GET_FUN(__glewGenAsyncMarkersSGIX)
  11543. #define glIsAsyncMarkerSGIX GLEW_GET_FUN(__glewIsAsyncMarkerSGIX)
  11544. #define glPollAsyncSGIX GLEW_GET_FUN(__glewPollAsyncSGIX)
  11545. #define GLEW_SGIX_async GLEW_GET_VAR(__GLEW_SGIX_async)
  11546. #endif /* !GL_SGIX_async */
  11547. /* ------------------------ GL_SGIX_async_histogram ------------------------ */
  11548. #if !defined(GL_SGIX_async_histogram)
  11549. #define GL_SGIX_async_histogram 1
  11550. #define GL_ASYNC_HISTOGRAM_SGIX 0x832C
  11551. #define GL_MAX_ASYNC_HISTOGRAM_SGIX 0x832D
  11552. #define GLEW_SGIX_async_histogram GLEW_GET_VAR(__GLEW_SGIX_async_histogram)
  11553. #endif /* !GL_SGIX_async_histogram */
  11554. /* -------------------------- GL_SGIX_async_pixel -------------------------- */
  11555. #if !defined(GL_SGIX_async_pixel)
  11556. #define GL_SGIX_async_pixel 1
  11557. #define GL_ASYNC_TEX_IMAGE_SGIX 0x835C
  11558. #define GL_ASYNC_DRAW_PIXELS_SGIX 0x835D
  11559. #define GL_ASYNC_READ_PIXELS_SGIX 0x835E
  11560. #define GL_MAX_ASYNC_TEX_IMAGE_SGIX 0x835F
  11561. #define GL_MAX_ASYNC_DRAW_PIXELS_SGIX 0x8360
  11562. #define GL_MAX_ASYNC_READ_PIXELS_SGIX 0x8361
  11563. #define GLEW_SGIX_async_pixel GLEW_GET_VAR(__GLEW_SGIX_async_pixel)
  11564. #endif /* !GL_SGIX_async_pixel */
  11565. /* ----------------------- GL_SGIX_blend_alpha_minmax ---------------------- */
  11566. #if !defined(GL_SGIX_blend_alpha_minmax)
  11567. #define GL_SGIX_blend_alpha_minmax 1
  11568. #define GL_ALPHA_MIN_SGIX 0x8320
  11569. #define GL_ALPHA_MAX_SGIX 0x8321
  11570. #define GLEW_SGIX_blend_alpha_minmax GLEW_GET_VAR(__GLEW_SGIX_blend_alpha_minmax)
  11571. #endif /* !GL_SGIX_blend_alpha_minmax */
  11572. /* ---------------------------- GL_SGIX_clipmap ---------------------------- */
  11573. #if !defined(GL_SGIX_clipmap)
  11574. #define GL_SGIX_clipmap 1
  11575. #define GLEW_SGIX_clipmap GLEW_GET_VAR(__GLEW_SGIX_clipmap)
  11576. #endif /* !GL_SGIX_clipmap */
  11577. /* ---------------------- GL_SGIX_convolution_accuracy --------------------- */
  11578. #if !defined(GL_SGIX_convolution_accuracy)
  11579. #define GL_SGIX_convolution_accuracy 1
  11580. #define GL_CONVOLUTION_HINT_SGIX 0x8316
  11581. #define GLEW_SGIX_convolution_accuracy GLEW_GET_VAR(__GLEW_SGIX_convolution_accuracy)
  11582. #endif /* !GL_SGIX_convolution_accuracy */
  11583. /* ------------------------- GL_SGIX_depth_texture ------------------------- */
  11584. #if !defined(GL_SGIX_depth_texture)
  11585. #define GL_SGIX_depth_texture 1
  11586. #define GL_DEPTH_COMPONENT16_SGIX 0x81A5
  11587. #define GL_DEPTH_COMPONENT24_SGIX 0x81A6
  11588. #define GL_DEPTH_COMPONENT32_SGIX 0x81A7
  11589. #define GLEW_SGIX_depth_texture GLEW_GET_VAR(__GLEW_SGIX_depth_texture)
  11590. #endif /* !GL_SGIX_depth_texture */
  11591. /* -------------------------- GL_SGIX_flush_raster ------------------------- */
  11592. #if !defined(GL_SGIX_flush_raster)
  11593. #define GL_SGIX_flush_raster 1
  11594. typedef void (GLAPIENTRY * PFNGLFLUSHRASTERSGIXPROC) (void);
  11595. #define glFlushRasterSGIX GLEW_GET_FUN(__glewFlushRasterSGIX)
  11596. #define GLEW_SGIX_flush_raster GLEW_GET_VAR(__GLEW_SGIX_flush_raster)
  11597. #endif /* !GL_SGIX_flush_raster */
  11598. /* --------------------------- GL_SGIX_fog_offset -------------------------- */
  11599. #if !defined(GL_SGIX_fog_offset)
  11600. #define GL_SGIX_fog_offset 1
  11601. #define GL_FOG_OFFSET_SGIX 0x8198
  11602. #define GL_FOG_OFFSET_VALUE_SGIX 0x8199
  11603. #define GLEW_SGIX_fog_offset GLEW_GET_VAR(__GLEW_SGIX_fog_offset)
  11604. #endif /* !GL_SGIX_fog_offset */
  11605. /* -------------------------- GL_SGIX_fog_texture -------------------------- */
  11606. #if !defined(GL_SGIX_fog_texture)
  11607. #define GL_SGIX_fog_texture 1
  11608. #define GL_TEXTURE_FOG_SGIX 0
  11609. #define GL_FOG_PATCHY_FACTOR_SGIX 0
  11610. #define GL_FRAGMENT_FOG_SGIX 0
  11611. typedef void (GLAPIENTRY * PFNGLTEXTUREFOGSGIXPROC) (GLenum pname);
  11612. #define glTextureFogSGIX GLEW_GET_FUN(__glewTextureFogSGIX)
  11613. #define GLEW_SGIX_fog_texture GLEW_GET_VAR(__GLEW_SGIX_fog_texture)
  11614. #endif /* !GL_SGIX_fog_texture */
  11615. /* ------------------- GL_SGIX_fragment_specular_lighting ------------------ */
  11616. #if !defined(GL_SGIX_fragment_specular_lighting)
  11617. #define GL_SGIX_fragment_specular_lighting 1
  11618. typedef void (GLAPIENTRY * PFNGLFRAGMENTCOLORMATERIALSGIXPROC) (GLenum face, GLenum mode);
  11619. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFSGIXPROC) (GLenum pname, GLfloat param);
  11620. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELFVSGIXPROC) (GLenum pname, GLfloat* params);
  11621. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELISGIXPROC) (GLenum pname, GLint param);
  11622. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTMODELIVSGIXPROC) (GLenum pname, GLint* params);
  11623. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFSGIXPROC) (GLenum light, GLenum pname, GLfloat param);
  11624. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum pname, GLfloat* params);
  11625. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTISGIXPROC) (GLenum light, GLenum pname, GLint param);
  11626. typedef void (GLAPIENTRY * PFNGLFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum pname, GLint* params);
  11627. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFSGIXPROC) (GLenum face, GLenum pname, const GLfloat param);
  11628. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* params);
  11629. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALISGIXPROC) (GLenum face, GLenum pname, const GLint param);
  11630. typedef void (GLAPIENTRY * PFNGLFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* params);
  11631. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTFVSGIXPROC) (GLenum light, GLenum value, GLfloat* data);
  11632. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTLIGHTIVSGIXPROC) (GLenum light, GLenum value, GLint* data);
  11633. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALFVSGIXPROC) (GLenum face, GLenum pname, const GLfloat* data);
  11634. typedef void (GLAPIENTRY * PFNGLGETFRAGMENTMATERIALIVSGIXPROC) (GLenum face, GLenum pname, const GLint* data);
  11635. #define glFragmentColorMaterialSGIX GLEW_GET_FUN(__glewFragmentColorMaterialSGIX)
  11636. #define glFragmentLightModelfSGIX GLEW_GET_FUN(__glewFragmentLightModelfSGIX)
  11637. #define glFragmentLightModelfvSGIX GLEW_GET_FUN(__glewFragmentLightModelfvSGIX)
  11638. #define glFragmentLightModeliSGIX GLEW_GET_FUN(__glewFragmentLightModeliSGIX)
  11639. #define glFragmentLightModelivSGIX GLEW_GET_FUN(__glewFragmentLightModelivSGIX)
  11640. #define glFragmentLightfSGIX GLEW_GET_FUN(__glewFragmentLightfSGIX)
  11641. #define glFragmentLightfvSGIX GLEW_GET_FUN(__glewFragmentLightfvSGIX)
  11642. #define glFragmentLightiSGIX GLEW_GET_FUN(__glewFragmentLightiSGIX)
  11643. #define glFragmentLightivSGIX GLEW_GET_FUN(__glewFragmentLightivSGIX)
  11644. #define glFragmentMaterialfSGIX GLEW_GET_FUN(__glewFragmentMaterialfSGIX)
  11645. #define glFragmentMaterialfvSGIX GLEW_GET_FUN(__glewFragmentMaterialfvSGIX)
  11646. #define glFragmentMaterialiSGIX GLEW_GET_FUN(__glewFragmentMaterialiSGIX)
  11647. #define glFragmentMaterialivSGIX GLEW_GET_FUN(__glewFragmentMaterialivSGIX)
  11648. #define glGetFragmentLightfvSGIX GLEW_GET_FUN(__glewGetFragmentLightfvSGIX)
  11649. #define glGetFragmentLightivSGIX GLEW_GET_FUN(__glewGetFragmentLightivSGIX)
  11650. #define glGetFragmentMaterialfvSGIX GLEW_GET_FUN(__glewGetFragmentMaterialfvSGIX)
  11651. #define glGetFragmentMaterialivSGIX GLEW_GET_FUN(__glewGetFragmentMaterialivSGIX)
  11652. #define GLEW_SGIX_fragment_specular_lighting GLEW_GET_VAR(__GLEW_SGIX_fragment_specular_lighting)
  11653. #endif /* !GL_SGIX_fragment_specular_lighting */
  11654. /* --------------------------- GL_SGIX_framezoom --------------------------- */
  11655. #if !defined(GL_SGIX_framezoom)
  11656. #define GL_SGIX_framezoom 1
  11657. typedef void (GLAPIENTRY * PFNGLFRAMEZOOMSGIXPROC) (GLint factor);
  11658. #define glFrameZoomSGIX GLEW_GET_FUN(__glewFrameZoomSGIX)
  11659. #define GLEW_SGIX_framezoom GLEW_GET_VAR(__GLEW_SGIX_framezoom)
  11660. #endif /* !GL_SGIX_framezoom */
  11661. /* --------------------------- GL_SGIX_interlace --------------------------- */
  11662. #if !defined(GL_SGIX_interlace)
  11663. #define GL_SGIX_interlace 1
  11664. #define GL_INTERLACE_SGIX 0x8094
  11665. #define GLEW_SGIX_interlace GLEW_GET_VAR(__GLEW_SGIX_interlace)
  11666. #endif /* !GL_SGIX_interlace */
  11667. /* ------------------------- GL_SGIX_ir_instrument1 ------------------------ */
  11668. #if !defined(GL_SGIX_ir_instrument1)
  11669. #define GL_SGIX_ir_instrument1 1
  11670. #define GLEW_SGIX_ir_instrument1 GLEW_GET_VAR(__GLEW_SGIX_ir_instrument1)
  11671. #endif /* !GL_SGIX_ir_instrument1 */
  11672. /* ------------------------- GL_SGIX_list_priority ------------------------- */
  11673. #if !defined(GL_SGIX_list_priority)
  11674. #define GL_SGIX_list_priority 1
  11675. #define GLEW_SGIX_list_priority GLEW_GET_VAR(__GLEW_SGIX_list_priority)
  11676. #endif /* !GL_SGIX_list_priority */
  11677. /* ------------------------- GL_SGIX_pixel_texture ------------------------- */
  11678. #if !defined(GL_SGIX_pixel_texture)
  11679. #define GL_SGIX_pixel_texture 1
  11680. typedef void (GLAPIENTRY * PFNGLPIXELTEXGENSGIXPROC) (GLenum mode);
  11681. #define glPixelTexGenSGIX GLEW_GET_FUN(__glewPixelTexGenSGIX)
  11682. #define GLEW_SGIX_pixel_texture GLEW_GET_VAR(__GLEW_SGIX_pixel_texture)
  11683. #endif /* !GL_SGIX_pixel_texture */
  11684. /* ----------------------- GL_SGIX_pixel_texture_bits ---------------------- */
  11685. #if !defined(GL_SGIX_pixel_texture_bits)
  11686. #define GL_SGIX_pixel_texture_bits 1
  11687. #define GLEW_SGIX_pixel_texture_bits GLEW_GET_VAR(__GLEW_SGIX_pixel_texture_bits)
  11688. #endif /* !GL_SGIX_pixel_texture_bits */
  11689. /* ------------------------ GL_SGIX_reference_plane ------------------------ */
  11690. #if !defined(GL_SGIX_reference_plane)
  11691. #define GL_SGIX_reference_plane 1
  11692. typedef void (GLAPIENTRY * PFNGLREFERENCEPLANESGIXPROC) (const GLdouble* equation);
  11693. #define glReferencePlaneSGIX GLEW_GET_FUN(__glewReferencePlaneSGIX)
  11694. #define GLEW_SGIX_reference_plane GLEW_GET_VAR(__GLEW_SGIX_reference_plane)
  11695. #endif /* !GL_SGIX_reference_plane */
  11696. /* ---------------------------- GL_SGIX_resample --------------------------- */
  11697. #if !defined(GL_SGIX_resample)
  11698. #define GL_SGIX_resample 1
  11699. #define GL_PACK_RESAMPLE_SGIX 0x842E
  11700. #define GL_UNPACK_RESAMPLE_SGIX 0x842F
  11701. #define GL_RESAMPLE_DECIMATE_SGIX 0x8430
  11702. #define GL_RESAMPLE_REPLICATE_SGIX 0x8433
  11703. #define GL_RESAMPLE_ZERO_FILL_SGIX 0x8434
  11704. #define GLEW_SGIX_resample GLEW_GET_VAR(__GLEW_SGIX_resample)
  11705. #endif /* !GL_SGIX_resample */
  11706. /* ----------------------------- GL_SGIX_shadow ---------------------------- */
  11707. #if !defined(GL_SGIX_shadow)
  11708. #define GL_SGIX_shadow 1
  11709. #define GL_TEXTURE_COMPARE_SGIX 0x819A
  11710. #define GL_TEXTURE_COMPARE_OPERATOR_SGIX 0x819B
  11711. #define GL_TEXTURE_LEQUAL_R_SGIX 0x819C
  11712. #define GL_TEXTURE_GEQUAL_R_SGIX 0x819D
  11713. #define GLEW_SGIX_shadow GLEW_GET_VAR(__GLEW_SGIX_shadow)
  11714. #endif /* !GL_SGIX_shadow */
  11715. /* ------------------------- GL_SGIX_shadow_ambient ------------------------ */
  11716. #if !defined(GL_SGIX_shadow_ambient)
  11717. #define GL_SGIX_shadow_ambient 1
  11718. #define GL_SHADOW_AMBIENT_SGIX 0x80BF
  11719. #define GLEW_SGIX_shadow_ambient GLEW_GET_VAR(__GLEW_SGIX_shadow_ambient)
  11720. #endif /* !GL_SGIX_shadow_ambient */
  11721. /* ----------------------------- GL_SGIX_sprite ---------------------------- */
  11722. #if !defined(GL_SGIX_sprite)
  11723. #define GL_SGIX_sprite 1
  11724. typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERFSGIXPROC) (GLenum pname, GLfloat param);
  11725. typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERFVSGIXPROC) (GLenum pname, GLfloat* params);
  11726. typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERISGIXPROC) (GLenum pname, GLint param);
  11727. typedef void (GLAPIENTRY * PFNGLSPRITEPARAMETERIVSGIXPROC) (GLenum pname, GLint* params);
  11728. #define glSpriteParameterfSGIX GLEW_GET_FUN(__glewSpriteParameterfSGIX)
  11729. #define glSpriteParameterfvSGIX GLEW_GET_FUN(__glewSpriteParameterfvSGIX)
  11730. #define glSpriteParameteriSGIX GLEW_GET_FUN(__glewSpriteParameteriSGIX)
  11731. #define glSpriteParameterivSGIX GLEW_GET_FUN(__glewSpriteParameterivSGIX)
  11732. #define GLEW_SGIX_sprite GLEW_GET_VAR(__GLEW_SGIX_sprite)
  11733. #endif /* !GL_SGIX_sprite */
  11734. /* ----------------------- GL_SGIX_tag_sample_buffer ----------------------- */
  11735. #if !defined(GL_SGIX_tag_sample_buffer)
  11736. #define GL_SGIX_tag_sample_buffer 1
  11737. typedef void (GLAPIENTRY * PFNGLTAGSAMPLEBUFFERSGIXPROC) (void);
  11738. #define glTagSampleBufferSGIX GLEW_GET_FUN(__glewTagSampleBufferSGIX)
  11739. #define GLEW_SGIX_tag_sample_buffer GLEW_GET_VAR(__GLEW_SGIX_tag_sample_buffer)
  11740. #endif /* !GL_SGIX_tag_sample_buffer */
  11741. /* ------------------------ GL_SGIX_texture_add_env ------------------------ */
  11742. #if !defined(GL_SGIX_texture_add_env)
  11743. #define GL_SGIX_texture_add_env 1
  11744. #define GLEW_SGIX_texture_add_env GLEW_GET_VAR(__GLEW_SGIX_texture_add_env)
  11745. #endif /* !GL_SGIX_texture_add_env */
  11746. /* -------------------- GL_SGIX_texture_coordinate_clamp ------------------- */
  11747. #if !defined(GL_SGIX_texture_coordinate_clamp)
  11748. #define GL_SGIX_texture_coordinate_clamp 1
  11749. #define GL_TEXTURE_MAX_CLAMP_S_SGIX 0x8369
  11750. #define GL_TEXTURE_MAX_CLAMP_T_SGIX 0x836A
  11751. #define GL_TEXTURE_MAX_CLAMP_R_SGIX 0x836B
  11752. #define GLEW_SGIX_texture_coordinate_clamp GLEW_GET_VAR(__GLEW_SGIX_texture_coordinate_clamp)
  11753. #endif /* !GL_SGIX_texture_coordinate_clamp */
  11754. /* ------------------------ GL_SGIX_texture_lod_bias ----------------------- */
  11755. #if !defined(GL_SGIX_texture_lod_bias)
  11756. #define GL_SGIX_texture_lod_bias 1
  11757. #define GLEW_SGIX_texture_lod_bias GLEW_GET_VAR(__GLEW_SGIX_texture_lod_bias)
  11758. #endif /* !GL_SGIX_texture_lod_bias */
  11759. /* ---------------------- GL_SGIX_texture_multi_buffer --------------------- */
  11760. #if !defined(GL_SGIX_texture_multi_buffer)
  11761. #define GL_SGIX_texture_multi_buffer 1
  11762. #define GL_TEXTURE_MULTI_BUFFER_HINT_SGIX 0x812E
  11763. #define GLEW_SGIX_texture_multi_buffer GLEW_GET_VAR(__GLEW_SGIX_texture_multi_buffer)
  11764. #endif /* !GL_SGIX_texture_multi_buffer */
  11765. /* ------------------------- GL_SGIX_texture_range ------------------------- */
  11766. #if !defined(GL_SGIX_texture_range)
  11767. #define GL_SGIX_texture_range 1
  11768. #define GL_RGB_SIGNED_SGIX 0x85E0
  11769. #define GL_RGBA_SIGNED_SGIX 0x85E1
  11770. #define GL_ALPHA_SIGNED_SGIX 0x85E2
  11771. #define GL_LUMINANCE_SIGNED_SGIX 0x85E3
  11772. #define GL_INTENSITY_SIGNED_SGIX 0x85E4
  11773. #define GL_LUMINANCE_ALPHA_SIGNED_SGIX 0x85E5
  11774. #define GL_RGB16_SIGNED_SGIX 0x85E6
  11775. #define GL_RGBA16_SIGNED_SGIX 0x85E7
  11776. #define GL_ALPHA16_SIGNED_SGIX 0x85E8
  11777. #define GL_LUMINANCE16_SIGNED_SGIX 0x85E9
  11778. #define GL_INTENSITY16_SIGNED_SGIX 0x85EA
  11779. #define GL_LUMINANCE16_ALPHA16_SIGNED_SGIX 0x85EB
  11780. #define GL_RGB_EXTENDED_RANGE_SGIX 0x85EC
  11781. #define GL_RGBA_EXTENDED_RANGE_SGIX 0x85ED
  11782. #define GL_ALPHA_EXTENDED_RANGE_SGIX 0x85EE
  11783. #define GL_LUMINANCE_EXTENDED_RANGE_SGIX 0x85EF
  11784. #define GL_INTENSITY_EXTENDED_RANGE_SGIX 0x85F0
  11785. #define GL_LUMINANCE_ALPHA_EXTENDED_RANGE_SGIX 0x85F1
  11786. #define GL_RGB16_EXTENDED_RANGE_SGIX 0x85F2
  11787. #define GL_RGBA16_EXTENDED_RANGE_SGIX 0x85F3
  11788. #define GL_ALPHA16_EXTENDED_RANGE_SGIX 0x85F4
  11789. #define GL_LUMINANCE16_EXTENDED_RANGE_SGIX 0x85F5
  11790. #define GL_INTENSITY16_EXTENDED_RANGE_SGIX 0x85F6
  11791. #define GL_LUMINANCE16_ALPHA16_EXTENDED_RANGE_SGIX 0x85F7
  11792. #define GL_MIN_LUMINANCE_SGIS 0x85F8
  11793. #define GL_MAX_LUMINANCE_SGIS 0x85F9
  11794. #define GL_MIN_INTENSITY_SGIS 0x85FA
  11795. #define GL_MAX_INTENSITY_SGIS 0x85FB
  11796. #define GLEW_SGIX_texture_range GLEW_GET_VAR(__GLEW_SGIX_texture_range)
  11797. #endif /* !GL_SGIX_texture_range */
  11798. /* ----------------------- GL_SGIX_texture_scale_bias ---------------------- */
  11799. #if !defined(GL_SGIX_texture_scale_bias)
  11800. #define GL_SGIX_texture_scale_bias 1
  11801. #define GL_POST_TEXTURE_FILTER_BIAS_SGIX 0x8179
  11802. #define GL_POST_TEXTURE_FILTER_SCALE_SGIX 0x817A
  11803. #define GL_POST_TEXTURE_FILTER_BIAS_RANGE_SGIX 0x817B
  11804. #define GL_POST_TEXTURE_FILTER_SCALE_RANGE_SGIX 0x817C
  11805. #define GLEW_SGIX_texture_scale_bias GLEW_GET_VAR(__GLEW_SGIX_texture_scale_bias)
  11806. #endif /* !GL_SGIX_texture_scale_bias */
  11807. /* ------------------------- GL_SGIX_vertex_preclip ------------------------ */
  11808. #if !defined(GL_SGIX_vertex_preclip)
  11809. #define GL_SGIX_vertex_preclip 1
  11810. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  11811. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  11812. #define GLEW_SGIX_vertex_preclip GLEW_GET_VAR(__GLEW_SGIX_vertex_preclip)
  11813. #endif /* !GL_SGIX_vertex_preclip */
  11814. /* ---------------------- GL_SGIX_vertex_preclip_hint ---------------------- */
  11815. #if !defined(GL_SGIX_vertex_preclip_hint)
  11816. #define GL_SGIX_vertex_preclip_hint 1
  11817. #define GL_VERTEX_PRECLIP_SGIX 0x83EE
  11818. #define GL_VERTEX_PRECLIP_HINT_SGIX 0x83EF
  11819. #define GLEW_SGIX_vertex_preclip_hint GLEW_GET_VAR(__GLEW_SGIX_vertex_preclip_hint)
  11820. #endif /* !GL_SGIX_vertex_preclip_hint */
  11821. /* ----------------------------- GL_SGIX_ycrcb ----------------------------- */
  11822. #if !defined(GL_SGIX_ycrcb)
  11823. #define GL_SGIX_ycrcb 1
  11824. #define GLEW_SGIX_ycrcb GLEW_GET_VAR(__GLEW_SGIX_ycrcb)
  11825. #endif /* !GL_SGIX_ycrcb */
  11826. /* -------------------------- GL_SGI_color_matrix -------------------------- */
  11827. #if !defined(GL_SGI_color_matrix)
  11828. #define GL_SGI_color_matrix 1
  11829. #define GL_COLOR_MATRIX_SGI 0x80B1
  11830. #define GL_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B2
  11831. #define GL_MAX_COLOR_MATRIX_STACK_DEPTH_SGI 0x80B3
  11832. #define GL_POST_COLOR_MATRIX_RED_SCALE_SGI 0x80B4
  11833. #define GL_POST_COLOR_MATRIX_GREEN_SCALE_SGI 0x80B5
  11834. #define GL_POST_COLOR_MATRIX_BLUE_SCALE_SGI 0x80B6
  11835. #define GL_POST_COLOR_MATRIX_ALPHA_SCALE_SGI 0x80B7
  11836. #define GL_POST_COLOR_MATRIX_RED_BIAS_SGI 0x80B8
  11837. #define GL_POST_COLOR_MATRIX_GREEN_BIAS_SGI 0x80B9
  11838. #define GL_POST_COLOR_MATRIX_BLUE_BIAS_SGI 0x80BA
  11839. #define GL_POST_COLOR_MATRIX_ALPHA_BIAS_SGI 0x80BB
  11840. #define GLEW_SGI_color_matrix GLEW_GET_VAR(__GLEW_SGI_color_matrix)
  11841. #endif /* !GL_SGI_color_matrix */
  11842. /* --------------------------- GL_SGI_color_table -------------------------- */
  11843. #if !defined(GL_SGI_color_table)
  11844. #define GL_SGI_color_table 1
  11845. #define GL_COLOR_TABLE_SGI 0x80D0
  11846. #define GL_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D1
  11847. #define GL_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D2
  11848. #define GL_PROXY_COLOR_TABLE_SGI 0x80D3
  11849. #define GL_PROXY_POST_CONVOLUTION_COLOR_TABLE_SGI 0x80D4
  11850. #define GL_PROXY_POST_COLOR_MATRIX_COLOR_TABLE_SGI 0x80D5
  11851. #define GL_COLOR_TABLE_SCALE_SGI 0x80D6
  11852. #define GL_COLOR_TABLE_BIAS_SGI 0x80D7
  11853. #define GL_COLOR_TABLE_FORMAT_SGI 0x80D8
  11854. #define GL_COLOR_TABLE_WIDTH_SGI 0x80D9
  11855. #define GL_COLOR_TABLE_RED_SIZE_SGI 0x80DA
  11856. #define GL_COLOR_TABLE_GREEN_SIZE_SGI 0x80DB
  11857. #define GL_COLOR_TABLE_BLUE_SIZE_SGI 0x80DC
  11858. #define GL_COLOR_TABLE_ALPHA_SIZE_SGI 0x80DD
  11859. #define GL_COLOR_TABLE_LUMINANCE_SIZE_SGI 0x80DE
  11860. #define GL_COLOR_TABLE_INTENSITY_SIZE_SGI 0x80DF
  11861. typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, const GLfloat* params);
  11862. typedef void (GLAPIENTRY * PFNGLCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, const GLint* params);
  11863. typedef void (GLAPIENTRY * PFNGLCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLsizei width, GLenum format, GLenum type, const void* table);
  11864. typedef void (GLAPIENTRY * PFNGLCOPYCOLORTABLESGIPROC) (GLenum target, GLenum internalformat, GLint x, GLint y, GLsizei width);
  11865. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERFVSGIPROC) (GLenum target, GLenum pname, GLfloat* params);
  11866. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLEPARAMETERIVSGIPROC) (GLenum target, GLenum pname, GLint* params);
  11867. typedef void (GLAPIENTRY * PFNGLGETCOLORTABLESGIPROC) (GLenum target, GLenum format, GLenum type, void* table);
  11868. #define glColorTableParameterfvSGI GLEW_GET_FUN(__glewColorTableParameterfvSGI)
  11869. #define glColorTableParameterivSGI GLEW_GET_FUN(__glewColorTableParameterivSGI)
  11870. #define glColorTableSGI GLEW_GET_FUN(__glewColorTableSGI)
  11871. #define glCopyColorTableSGI GLEW_GET_FUN(__glewCopyColorTableSGI)
  11872. #define glGetColorTableParameterfvSGI GLEW_GET_FUN(__glewGetColorTableParameterfvSGI)
  11873. #define glGetColorTableParameterivSGI GLEW_GET_FUN(__glewGetColorTableParameterivSGI)
  11874. #define glGetColorTableSGI GLEW_GET_FUN(__glewGetColorTableSGI)
  11875. #define GLEW_SGI_color_table GLEW_GET_VAR(__GLEW_SGI_color_table)
  11876. #endif /* !GL_SGI_color_table */
  11877. /* ----------------------- GL_SGI_texture_color_table ---------------------- */
  11878. #if !defined(GL_SGI_texture_color_table)
  11879. #define GL_SGI_texture_color_table 1
  11880. #define GL_TEXTURE_COLOR_TABLE_SGI 0x80BC
  11881. #define GL_PROXY_TEXTURE_COLOR_TABLE_SGI 0x80BD
  11882. #define GLEW_SGI_texture_color_table GLEW_GET_VAR(__GLEW_SGI_texture_color_table)
  11883. #endif /* !GL_SGI_texture_color_table */
  11884. /* ------------------------- GL_SUNX_constant_data ------------------------- */
  11885. #if !defined(GL_SUNX_constant_data)
  11886. #define GL_SUNX_constant_data 1
  11887. #define GL_UNPACK_CONSTANT_DATA_SUNX 0x81D5
  11888. #define GL_TEXTURE_CONSTANT_DATA_SUNX 0x81D6
  11889. typedef void (GLAPIENTRY * PFNGLFINISHTEXTURESUNXPROC) (void);
  11890. #define glFinishTextureSUNX GLEW_GET_FUN(__glewFinishTextureSUNX)
  11891. #define GLEW_SUNX_constant_data GLEW_GET_VAR(__GLEW_SUNX_constant_data)
  11892. #endif /* !GL_SUNX_constant_data */
  11893. /* -------------------- GL_SUN_convolution_border_modes -------------------- */
  11894. #if !defined(GL_SUN_convolution_border_modes)
  11895. #define GL_SUN_convolution_border_modes 1
  11896. #define GL_WRAP_BORDER_SUN 0x81D4
  11897. #define GLEW_SUN_convolution_border_modes GLEW_GET_VAR(__GLEW_SUN_convolution_border_modes)
  11898. #endif /* !GL_SUN_convolution_border_modes */
  11899. /* -------------------------- GL_SUN_global_alpha -------------------------- */
  11900. #if !defined(GL_SUN_global_alpha)
  11901. #define GL_SUN_global_alpha 1
  11902. #define GL_GLOBAL_ALPHA_SUN 0x81D9
  11903. #define GL_GLOBAL_ALPHA_FACTOR_SUN 0x81DA
  11904. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORBSUNPROC) (GLbyte factor);
  11905. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORDSUNPROC) (GLdouble factor);
  11906. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORFSUNPROC) (GLfloat factor);
  11907. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORISUNPROC) (GLint factor);
  11908. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORSSUNPROC) (GLshort factor);
  11909. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUBSUNPROC) (GLubyte factor);
  11910. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUISUNPROC) (GLuint factor);
  11911. typedef void (GLAPIENTRY * PFNGLGLOBALALPHAFACTORUSSUNPROC) (GLushort factor);
  11912. #define glGlobalAlphaFactorbSUN GLEW_GET_FUN(__glewGlobalAlphaFactorbSUN)
  11913. #define glGlobalAlphaFactordSUN GLEW_GET_FUN(__glewGlobalAlphaFactordSUN)
  11914. #define glGlobalAlphaFactorfSUN GLEW_GET_FUN(__glewGlobalAlphaFactorfSUN)
  11915. #define glGlobalAlphaFactoriSUN GLEW_GET_FUN(__glewGlobalAlphaFactoriSUN)
  11916. #define glGlobalAlphaFactorsSUN GLEW_GET_FUN(__glewGlobalAlphaFactorsSUN)
  11917. #define glGlobalAlphaFactorubSUN GLEW_GET_FUN(__glewGlobalAlphaFactorubSUN)
  11918. #define glGlobalAlphaFactoruiSUN GLEW_GET_FUN(__glewGlobalAlphaFactoruiSUN)
  11919. #define glGlobalAlphaFactorusSUN GLEW_GET_FUN(__glewGlobalAlphaFactorusSUN)
  11920. #define GLEW_SUN_global_alpha GLEW_GET_VAR(__GLEW_SUN_global_alpha)
  11921. #endif /* !GL_SUN_global_alpha */
  11922. /* --------------------------- GL_SUN_mesh_array --------------------------- */
  11923. #if !defined(GL_SUN_mesh_array)
  11924. #define GL_SUN_mesh_array 1
  11925. #define GL_QUAD_MESH_SUN 0x8614
  11926. #define GL_TRIANGLE_MESH_SUN 0x8615
  11927. #define GLEW_SUN_mesh_array GLEW_GET_VAR(__GLEW_SUN_mesh_array)
  11928. #endif /* !GL_SUN_mesh_array */
  11929. /* ------------------------ GL_SUN_read_video_pixels ----------------------- */
  11930. #if !defined(GL_SUN_read_video_pixels)
  11931. #define GL_SUN_read_video_pixels 1
  11932. typedef void (GLAPIENTRY * PFNGLREADVIDEOPIXELSSUNPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLvoid* pixels);
  11933. #define glReadVideoPixelsSUN GLEW_GET_FUN(__glewReadVideoPixelsSUN)
  11934. #define GLEW_SUN_read_video_pixels GLEW_GET_VAR(__GLEW_SUN_read_video_pixels)
  11935. #endif /* !GL_SUN_read_video_pixels */
  11936. /* --------------------------- GL_SUN_slice_accum -------------------------- */
  11937. #if !defined(GL_SUN_slice_accum)
  11938. #define GL_SUN_slice_accum 1
  11939. #define GL_SLICE_ACCUM_SUN 0x85CC
  11940. #define GLEW_SUN_slice_accum GLEW_GET_VAR(__GLEW_SUN_slice_accum)
  11941. #endif /* !GL_SUN_slice_accum */
  11942. /* -------------------------- GL_SUN_triangle_list ------------------------- */
  11943. #if !defined(GL_SUN_triangle_list)
  11944. #define GL_SUN_triangle_list 1
  11945. #define GL_RESTART_SUN 0x01
  11946. #define GL_REPLACE_MIDDLE_SUN 0x02
  11947. #define GL_REPLACE_OLDEST_SUN 0x03
  11948. #define GL_TRIANGLE_LIST_SUN 0x81D7
  11949. #define GL_REPLACEMENT_CODE_SUN 0x81D8
  11950. #define GL_REPLACEMENT_CODE_ARRAY_SUN 0x85C0
  11951. #define GL_REPLACEMENT_CODE_ARRAY_TYPE_SUN 0x85C1
  11952. #define GL_REPLACEMENT_CODE_ARRAY_STRIDE_SUN 0x85C2
  11953. #define GL_REPLACEMENT_CODE_ARRAY_POINTER_SUN 0x85C3
  11954. #define GL_R1UI_V3F_SUN 0x85C4
  11955. #define GL_R1UI_C4UB_V3F_SUN 0x85C5
  11956. #define GL_R1UI_C3F_V3F_SUN 0x85C6
  11957. #define GL_R1UI_N3F_V3F_SUN 0x85C7
  11958. #define GL_R1UI_C4F_N3F_V3F_SUN 0x85C8
  11959. #define GL_R1UI_T2F_V3F_SUN 0x85C9
  11960. #define GL_R1UI_T2F_N3F_V3F_SUN 0x85CA
  11961. #define GL_R1UI_T2F_C4F_N3F_V3F_SUN 0x85CB
  11962. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEPOINTERSUNPROC) (GLenum type, GLsizei stride, const void* pointer);
  11963. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUBSUNPROC) (GLubyte code);
  11964. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUBVSUNPROC) (const GLubyte* code);
  11965. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUISUNPROC) (GLuint code);
  11966. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVSUNPROC) (const GLuint* code);
  11967. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUSSUNPROC) (GLushort code);
  11968. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUSVSUNPROC) (const GLushort* code);
  11969. #define glReplacementCodePointerSUN GLEW_GET_FUN(__glewReplacementCodePointerSUN)
  11970. #define glReplacementCodeubSUN GLEW_GET_FUN(__glewReplacementCodeubSUN)
  11971. #define glReplacementCodeubvSUN GLEW_GET_FUN(__glewReplacementCodeubvSUN)
  11972. #define glReplacementCodeuiSUN GLEW_GET_FUN(__glewReplacementCodeuiSUN)
  11973. #define glReplacementCodeuivSUN GLEW_GET_FUN(__glewReplacementCodeuivSUN)
  11974. #define glReplacementCodeusSUN GLEW_GET_FUN(__glewReplacementCodeusSUN)
  11975. #define glReplacementCodeusvSUN GLEW_GET_FUN(__glewReplacementCodeusvSUN)
  11976. #define GLEW_SUN_triangle_list GLEW_GET_VAR(__GLEW_SUN_triangle_list)
  11977. #endif /* !GL_SUN_triangle_list */
  11978. /* ----------------------------- GL_SUN_vertex ----------------------------- */
  11979. #if !defined(GL_SUN_vertex)
  11980. #define GL_SUN_vertex 1
  11981. typedef void (GLAPIENTRY * PFNGLCOLOR3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11982. typedef void (GLAPIENTRY * PFNGLCOLOR3FVERTEX3FVSUNPROC) (const GLfloat* c, const GLfloat *v);
  11983. typedef void (GLAPIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11984. typedef void (GLAPIENTRY * PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* c, const GLfloat *n, const GLfloat *v);
  11985. typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX2FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y);
  11986. typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX2FVSUNPROC) (const GLubyte* c, const GLfloat *v);
  11987. typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX3FSUNPROC) (GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11988. typedef void (GLAPIENTRY * PFNGLCOLOR4UBVERTEX3FVSUNPROC) (const GLubyte* c, const GLfloat *v);
  11989. typedef void (GLAPIENTRY * PFNGLNORMAL3FVERTEX3FSUNPROC) (GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11990. typedef void (GLAPIENTRY * PFNGLNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* n, const GLfloat *v);
  11991. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  11992. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *c, const GLfloat *v);
  11993. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat r, GLfloat g, GLfloat b, GLfloat a, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11994. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  11995. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC) (GLuint rc, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  11996. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC) (const GLuint* rc, const GLubyte *c, const GLfloat *v);
  11997. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  11998. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *n, const GLfloat *v);
  11999. typedef void (GLAPIENTRY * 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);
  12000. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12001. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12002. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *n, const GLfloat *v);
  12003. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC) (GLuint rc, GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12004. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *tc, const GLfloat *v);
  12005. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC) (GLuint rc, GLfloat x, GLfloat y, GLfloat z);
  12006. typedef void (GLAPIENTRY * PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC) (const GLuint* rc, const GLfloat *v);
  12007. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat r, GLfloat g, GLfloat b, GLfloat x, GLfloat y, GLfloat z);
  12008. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *v);
  12009. typedef void (GLAPIENTRY * 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);
  12010. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12011. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLubyte r, GLubyte g, GLubyte b, GLubyte a, GLfloat x, GLfloat y, GLfloat z);
  12012. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC) (const GLfloat* tc, const GLubyte *c, const GLfloat *v);
  12013. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat nx, GLfloat ny, GLfloat nz, GLfloat x, GLfloat y, GLfloat z);
  12014. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *n, const GLfloat *v);
  12015. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FVERTEX3FSUNPROC) (GLfloat s, GLfloat t, GLfloat x, GLfloat y, GLfloat z);
  12016. typedef void (GLAPIENTRY * PFNGLTEXCOORD2FVERTEX3FVSUNPROC) (const GLfloat* tc, const GLfloat *v);
  12017. typedef void (GLAPIENTRY * 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);
  12018. typedef void (GLAPIENTRY * PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC) (const GLfloat* tc, const GLfloat *c, const GLfloat *n, const GLfloat *v);
  12019. typedef void (GLAPIENTRY * PFNGLTEXCOORD4FVERTEX4FSUNPROC) (GLfloat s, GLfloat t, GLfloat p, GLfloat q, GLfloat x, GLfloat y, GLfloat z, GLfloat w);
  12020. typedef void (GLAPIENTRY * PFNGLTEXCOORD4FVERTEX4FVSUNPROC) (const GLfloat* tc, const GLfloat *v);
  12021. #define glColor3fVertex3fSUN GLEW_GET_FUN(__glewColor3fVertex3fSUN)
  12022. #define glColor3fVertex3fvSUN GLEW_GET_FUN(__glewColor3fVertex3fvSUN)
  12023. #define glColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewColor4fNormal3fVertex3fSUN)
  12024. #define glColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewColor4fNormal3fVertex3fvSUN)
  12025. #define glColor4ubVertex2fSUN GLEW_GET_FUN(__glewColor4ubVertex2fSUN)
  12026. #define glColor4ubVertex2fvSUN GLEW_GET_FUN(__glewColor4ubVertex2fvSUN)
  12027. #define glColor4ubVertex3fSUN GLEW_GET_FUN(__glewColor4ubVertex3fSUN)
  12028. #define glColor4ubVertex3fvSUN GLEW_GET_FUN(__glewColor4ubVertex3fvSUN)
  12029. #define glNormal3fVertex3fSUN GLEW_GET_FUN(__glewNormal3fVertex3fSUN)
  12030. #define glNormal3fVertex3fvSUN GLEW_GET_FUN(__glewNormal3fVertex3fvSUN)
  12031. #define glReplacementCodeuiColor3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor3fVertex3fSUN)
  12032. #define glReplacementCodeuiColor3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor3fVertex3fvSUN)
  12033. #define glReplacementCodeuiColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4fNormal3fVertex3fSUN)
  12034. #define glReplacementCodeuiColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4fNormal3fVertex3fvSUN)
  12035. #define glReplacementCodeuiColor4ubVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4ubVertex3fSUN)
  12036. #define glReplacementCodeuiColor4ubVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiColor4ubVertex3fvSUN)
  12037. #define glReplacementCodeuiNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiNormal3fVertex3fSUN)
  12038. #define glReplacementCodeuiNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiNormal3fVertex3fvSUN)
  12039. #define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN)
  12040. #define glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN)
  12041. #define glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN)
  12042. #define glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN)
  12043. #define glReplacementCodeuiTexCoord2fVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fVertex3fSUN)
  12044. #define glReplacementCodeuiTexCoord2fVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiTexCoord2fVertex3fvSUN)
  12045. #define glReplacementCodeuiVertex3fSUN GLEW_GET_FUN(__glewReplacementCodeuiVertex3fSUN)
  12046. #define glReplacementCodeuiVertex3fvSUN GLEW_GET_FUN(__glewReplacementCodeuiVertex3fvSUN)
  12047. #define glTexCoord2fColor3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor3fVertex3fSUN)
  12048. #define glTexCoord2fColor3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor3fVertex3fvSUN)
  12049. #define glTexCoord2fColor4fNormal3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor4fNormal3fVertex3fSUN)
  12050. #define glTexCoord2fColor4fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor4fNormal3fVertex3fvSUN)
  12051. #define glTexCoord2fColor4ubVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fColor4ubVertex3fSUN)
  12052. #define glTexCoord2fColor4ubVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fColor4ubVertex3fvSUN)
  12053. #define glTexCoord2fNormal3fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fNormal3fVertex3fSUN)
  12054. #define glTexCoord2fNormal3fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fNormal3fVertex3fvSUN)
  12055. #define glTexCoord2fVertex3fSUN GLEW_GET_FUN(__glewTexCoord2fVertex3fSUN)
  12056. #define glTexCoord2fVertex3fvSUN GLEW_GET_FUN(__glewTexCoord2fVertex3fvSUN)
  12057. #define glTexCoord4fColor4fNormal3fVertex4fSUN GLEW_GET_FUN(__glewTexCoord4fColor4fNormal3fVertex4fSUN)
  12058. #define glTexCoord4fColor4fNormal3fVertex4fvSUN GLEW_GET_FUN(__glewTexCoord4fColor4fNormal3fVertex4fvSUN)
  12059. #define glTexCoord4fVertex4fSUN GLEW_GET_FUN(__glewTexCoord4fVertex4fSUN)
  12060. #define glTexCoord4fVertex4fvSUN GLEW_GET_FUN(__glewTexCoord4fVertex4fvSUN)
  12061. #define GLEW_SUN_vertex GLEW_GET_VAR(__GLEW_SUN_vertex)
  12062. #endif /* !GL_SUN_vertex */
  12063. /* -------------------------- GL_WIN_phong_shading ------------------------- */
  12064. #if !defined(GL_WIN_phong_shading)
  12065. #define GL_WIN_phong_shading 1
  12066. #define GL_PHONG_WIN 0x80EA
  12067. #define GL_PHONG_HINT_WIN 0x80EB
  12068. #define GLEW_WIN_phong_shading GLEW_GET_VAR(__GLEW_WIN_phong_shading)
  12069. #endif /* !GL_WIN_phong_shading */
  12070. /* -------------------------- GL_WIN_specular_fog -------------------------- */
  12071. #if !defined(GL_WIN_specular_fog)
  12072. #define GL_WIN_specular_fog 1
  12073. #define GL_FOG_SPECULAR_TEXTURE_WIN 0x80EC
  12074. #define GLEW_WIN_specular_fog GLEW_GET_VAR(__GLEW_WIN_specular_fog)
  12075. #endif /* !GL_WIN_specular_fog */
  12076. /* ---------------------------- GL_WIN_swap_hint --------------------------- */
  12077. #if !defined(GL_WIN_swap_hint)
  12078. #define GL_WIN_swap_hint 1
  12079. typedef void (GLAPIENTRY * PFNGLADDSWAPHINTRECTWINPROC) (GLint x, GLint y, GLsizei width, GLsizei height);
  12080. #define glAddSwapHintRectWIN GLEW_GET_FUN(__glewAddSwapHintRectWIN)
  12081. #define GLEW_WIN_swap_hint GLEW_GET_VAR(__GLEW_WIN_swap_hint)
  12082. #endif /* !GL_WIN_swap_hint */
  12083. /* --------------------------- GL_ES_VERSION_1_0 --------------------------- */
  12084. #if !defined(GL_ES_VERSION_1_0) && !defined(GLEW_NO_ES)
  12085. #define GL_ES_VERSION_1_0 1
  12086. typedef int GLclampx;
  12087. typedef khronos_int32_t GLfixed;
  12088. typedef void (*_GLfuncptr)();
  12089. typedef void (GLAPIENTRY * PFNGLALPHAFUNCXPROC) (GLenum func, GLclampx ref);
  12090. typedef void (GLAPIENTRY * PFNGLCLEARCOLORXPROC) (GLclampx red, GLclampx green, GLclampx blue, GLclampx alpha);
  12091. typedef void (GLAPIENTRY * PFNGLCLEARDEPTHXPROC) (GLclampx depth);
  12092. typedef void (GLAPIENTRY * PFNGLCOLOR4XPROC) (GLfixed red, GLfixed green, GLfixed blue, GLfixed alpha);
  12093. typedef void (GLAPIENTRY * PFNGLDEPTHRANGEXPROC) (GLclampx zNear, GLclampx zFar);
  12094. typedef void (GLAPIENTRY * PFNGLFOGXPROC) (GLenum pname, GLfixed param);
  12095. typedef void (GLAPIENTRY * PFNGLFOGXVPROC) (GLenum pname, const GLfixed *params);
  12096. typedef void (GLAPIENTRY * PFNGLFRUSTUMFPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
  12097. typedef void (GLAPIENTRY * PFNGLFRUSTUMXPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
  12098. typedef void (GLAPIENTRY * PFNGLLIGHTMODELXPROC) (GLenum pname, GLfixed params);
  12099. typedef void (GLAPIENTRY * PFNGLLIGHTMODELXVPROC) (GLenum pname, const GLfixed *params);
  12100. typedef void (GLAPIENTRY * PFNGLLIGHTXPROC) (GLenum light, GLenum pname, GLfixed param);
  12101. typedef void (GLAPIENTRY * PFNGLLIGHTXVPROC) (GLenum light, GLenum pname, const GLfixed *params);
  12102. typedef void (GLAPIENTRY * PFNGLLINEWIDTHXPROC) (GLfixed width);
  12103. typedef void (GLAPIENTRY * PFNGLLOADMATRIXXPROC) (const GLfixed *m);
  12104. typedef void (GLAPIENTRY * PFNGLMATERIALXPROC) (GLenum face, GLenum pname, GLfixed param);
  12105. typedef void (GLAPIENTRY * PFNGLMATERIALXVPROC) (GLenum face, GLenum pname, const GLfixed *params);
  12106. typedef void (GLAPIENTRY * PFNGLMULTMATRIXXPROC) (const GLfixed *m);
  12107. typedef void (GLAPIENTRY * PFNGLMULTITEXCOORD4XPROC) (GLenum target, GLfixed s, GLfixed t, GLfixed r, GLfixed q);
  12108. typedef void (GLAPIENTRY * PFNGLNORMAL3XPROC) (GLfixed nx, GLfixed ny, GLfixed nz);
  12109. typedef void (GLAPIENTRY * PFNGLORTHOFPROC) (GLfloat left, GLfloat right, GLfloat bottom, GLfloat top, GLfloat zNear, GLfloat zFar);
  12110. typedef void (GLAPIENTRY * PFNGLORTHOXPROC) (GLfixed left, GLfixed right, GLfixed bottom, GLfixed top, GLfixed zNear, GLfixed zFar);
  12111. typedef void (GLAPIENTRY * PFNGLPOINTSIZEXPROC) (GLfixed size);
  12112. typedef void (GLAPIENTRY * PFNGLPOLYGONOFFSETXPROC) (GLfixed factor, GLfixed units);
  12113. typedef void (GLAPIENTRY * PFNGLROTATEXPROC) (GLfixed angle, GLfixed x, GLfixed y, GLfixed z);
  12114. typedef void (GLAPIENTRY * PFNGLSAMPLECOVERAGEXPROC) (GLclampx value, GLboolean invert);
  12115. typedef void (GLAPIENTRY * PFNGLSCALEXPROC) (GLfixed x, GLfixed y, GLfixed z);
  12116. typedef void (GLAPIENTRY * PFNGLTEXENVXPROC) (GLenum target, GLenum pname, GLfixed param);
  12117. typedef void (GLAPIENTRY * PFNGLTEXENVXVPROC) (GLenum target, GLenum pname, const GLfixed *params);
  12118. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERXPROC) (GLenum target, GLenum pname, GLfixed param);
  12119. typedef void (GLAPIENTRY * PFNGLTRANSLATEXPROC) (GLfixed x, GLfixed y, GLfixed z);
  12120. #define glAlphaFuncx GLEW_GET_FUN(__glewAlphaFuncx)
  12121. #define glClearColorx GLEW_GET_FUN(__glewClearColorx)
  12122. #define glClearDepthx GLEW_GET_FUN(__glewClearDepthx)
  12123. #define glColor4x GLEW_GET_FUN(__glewColor4x)
  12124. #define glDepthRangex GLEW_GET_FUN(__glewDepthRangex)
  12125. #define glFogx GLEW_GET_FUN(__glewFogx)
  12126. #define glFogxv GLEW_GET_FUN(__glewFogxv)
  12127. #define glFrustumf GLEW_GET_FUN(__glewFrustumf)
  12128. #define glFrustumx GLEW_GET_FUN(__glewFrustumx)
  12129. #define glLightModelx GLEW_GET_FUN(__glewLightModelx)
  12130. #define glLightModelxv GLEW_GET_FUN(__glewLightModelxv)
  12131. #define glLightx GLEW_GET_FUN(__glewLightx)
  12132. #define glLightxv GLEW_GET_FUN(__glewLightxv)
  12133. #define glLineWidthx GLEW_GET_FUN(__glewLineWidthx)
  12134. #define glLoadMatrixx GLEW_GET_FUN(__glewLoadMatrixx)
  12135. #define glMaterialx GLEW_GET_FUN(__glewMaterialx)
  12136. #define glMaterialxv GLEW_GET_FUN(__glewMaterialxv)
  12137. #define glMultMatrixx GLEW_GET_FUN(__glewMultMatrixx)
  12138. #define glMultiTexCoord4x GLEW_GET_FUN(__glewMultiTexCoord4x)
  12139. #define glNormal3x GLEW_GET_FUN(__glewNormal3x)
  12140. #define glOrthof GLEW_GET_FUN(__glewOrthof)
  12141. #define glOrthox GLEW_GET_FUN(__glewOrthox)
  12142. #define glPointSizex GLEW_GET_FUN(__glewPointSizex)
  12143. #define glPolygonOffsetx GLEW_GET_FUN(__glewPolygonOffsetx)
  12144. #define glRotatex GLEW_GET_FUN(__glewRotatex)
  12145. #define glSampleCoveragex GLEW_GET_FUN(__glewSampleCoveragex)
  12146. #define glScalex GLEW_GET_FUN(__glewScalex)
  12147. #define glTexEnvx GLEW_GET_FUN(__glewTexEnvx)
  12148. #define glTexEnvxv GLEW_GET_FUN(__glewTexEnvxv)
  12149. #define glTexParameterx GLEW_GET_FUN(__glewTexParameterx)
  12150. #define glTranslatex GLEW_GET_FUN(__glewTranslatex)
  12151. #define GLEW_ES_VERSION_1_0 GLEW_GET_VAR(__GLEW_ES_VERSION_1_0)
  12152. #endif /* !GL_ES_VERSION_1_0 && !GLEW_NO_ES*/
  12153. /* -------------------------- GL_ES_VERSION_CL_1_1 ------------------------- */
  12154. #if !defined(GL_ES_VERSION_CL_1_1) && !defined(GLEW_NO_ES)
  12155. #define GL_ES_VERSION_CL_1_1 1
  12156. #define GL_VERSION_ES_CL_1_1 0x1
  12157. #define GL_VERSION_ES_CL_1_0 0x1
  12158. typedef void (GLAPIENTRY * PFNGLCLIPPLANEXPROC) (GLenum ,const GLfixed *);
  12159. typedef void (GLAPIENTRY * PFNGLGETCLIPPLANEXPROC) (GLenum ,GLfixed*);
  12160. typedef void (GLAPIENTRY * PFNGLGETFIXEDVPROC) (GLenum, GLfixed *);
  12161. typedef void (GLAPIENTRY * PFNGLGETLIGHTXVPROC) (GLenum, GLenum, GLfixed *);
  12162. typedef void (GLAPIENTRY * PFNGLGETMATERIALXVPROC) (GLenum, GLenum, GLfixed *);
  12163. typedef void (GLAPIENTRY * PFNGLGETTEXENVXVPROC) (GLenum, GLenum, GLfixed *);
  12164. typedef void (GLAPIENTRY * PFNGLGETTEXPARAMETERXVPROC) (GLenum, GLenum, GLfixed *);
  12165. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERXPROC) (GLenum, GLfixed);
  12166. typedef void (GLAPIENTRY * PFNGLPOINTPARAMETERXVPROC) (GLenum, const GLfixed *);
  12167. typedef void (GLAPIENTRY * PFNGLTEXPARAMETERXVPROC) (GLenum, GLenum, const GLfixed *);
  12168. #define glClipPlanex GLEW_GET_FUN(__glewClipPlanex)
  12169. #define glGetClipPlanex GLEW_GET_FUN(__glewGetClipPlanex)
  12170. #define glGetFixedv GLEW_GET_FUN(__glewGetFixedv)
  12171. #define glGetLightxv GLEW_GET_FUN(__glewGetLightxv)
  12172. #define glGetMaterialxv GLEW_GET_FUN(__glewGetMaterialxv)
  12173. #define glGetTexEnvxv GLEW_GET_FUN(__glewGetTexEnvxv)
  12174. #define glGetTexParameterxv GLEW_GET_FUN(__glewGetTexParameterxv)
  12175. #define glPointParameterx GLEW_GET_FUN(__glewPointParameterx)
  12176. #define glPointParameterxv GLEW_GET_FUN(__glewPointParameterxv)
  12177. #define glTexParameterxv GLEW_GET_FUN(__glewTexParameterxv)
  12178. #define GLEW_ES_VERSION_CL_1_1 GLEW_GET_VAR(__GLEW_ES_VERSION_CL_1_1)
  12179. #endif /* !GL_ES_VERSION_CL_1_1 && !GLEW_NO_ES*/
  12180. /* -------------------------- GL_ES_VERSION_CM_1_1 ------------------------- */
  12181. #if !defined(GL_ES_VERSION_CM_1_1) && !defined(GLEW_NO_ES)
  12182. #define GL_ES_VERSION_CM_1_1 1
  12183. #define GL_VERSION_ES_CM_1_1 0x1
  12184. #define GL_VERSION_ES_CM_1_0 0x1
  12185. typedef void (GLAPIENTRY * PFNGLCLIPPLANEFPROC) (GLenum, const GLfloat *);
  12186. typedef void (GLAPIENTRY * PFNGLGETCLIPPLANEFPROC) (GLenum , GLfloat* );
  12187. #define glClipPlanef GLEW_GET_FUN(__glewClipPlanef)
  12188. #define glGetClipPlanef GLEW_GET_FUN(__glewGetClipPlanef)
  12189. #define GLEW_ES_VERSION_CM_1_1 GLEW_GET_VAR(__GLEW_ES_VERSION_CM_1_1)
  12190. #endif /* !GL_ES_VERSION_CM_1_1 && !GLEW_NO_ES*/
  12191. /* --------------------------- GL_ES_VERSION_2_0 --------------------------- */
  12192. #if !defined(GL_ES_VERSION_2_0) && !defined(GLEW_NO_ES)
  12193. #define GL_ES_VERSION_2_0 1
  12194. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS 0x8CD9
  12195. #define GL_RGB565 0x8D62
  12196. #define GLEW_ES_VERSION_2_0 GLEW_GET_VAR(__GLEW_ES_VERSION_2_0)
  12197. #endif /* !GL_ES_VERSION_2_0 && !GLEW_NO_ES*/
  12198. /* --------------------- GL_AMD_compressed_3DC_texture --------------------- */
  12199. #if !defined(GL_AMD_compressed_3DC_texture) && !defined(GLEW_NO_ES)
  12200. #define GL_AMD_compressed_3DC_texture 1
  12201. #define GL_3DC_X_AMD 0x87F9
  12202. #define GL_3DC_XY_AMD 0x87FA
  12203. #define GLEW_AMD_compressed_3DC_texture GLEW_GET_VAR(__GLEW_AMD_compressed_3DC_texture)
  12204. #endif /* !GL_AMD_compressed_3DC_texture && !GLEW_NO_ES*/
  12205. /* --------------------- GL_AMD_compressed_ATC_texture --------------------- */
  12206. #if !defined(GL_AMD_compressed_ATC_texture) && !defined(GLEW_NO_ES)
  12207. #define GL_AMD_compressed_ATC_texture 1
  12208. #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
  12209. #define GL_ATC_RGB_AMD 0x8C92
  12210. #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
  12211. #define GLEW_AMD_compressed_ATC_texture GLEW_GET_VAR(__GLEW_AMD_compressed_ATC_texture)
  12212. #endif /* !GL_AMD_compressed_ATC_texture && !GLEW_NO_ES*/
  12213. /* ----------------------- GL_AMD_program_binary_Z400 ---------------------- */
  12214. #if !defined(GL_AMD_program_binary_Z400) && !defined(GLEW_NO_ES)
  12215. #define GL_AMD_program_binary_Z400 1
  12216. #define GL_Z400_BINARY_AMD 0x8740
  12217. #define GLEW_AMD_program_binary_Z400 GLEW_GET_VAR(__GLEW_AMD_program_binary_Z400)
  12218. #endif /* !GL_AMD_program_binary_Z400 && !GLEW_NO_ES*/
  12219. /* ----------------------- GL_ANGLE_framebuffer_blit ----------------------- */
  12220. #if !defined(GL_ANGLE_framebuffer_blit) && !defined(GLEW_NO_ES)
  12221. #define GL_ANGLE_framebuffer_blit 1
  12222. #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
  12223. #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
  12224. #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
  12225. #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
  12226. typedef void (GLAPIENTRY * PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  12227. #define glBlitFramebufferANGLE GLEW_GET_FUN(__glewBlitFramebufferANGLE)
  12228. #define GLEW_ANGLE_framebuffer_blit GLEW_GET_VAR(__GLEW_ANGLE_framebuffer_blit)
  12229. #endif /* !GL_ANGLE_framebuffer_blit && !GLEW_NO_ES*/
  12230. /* -------------------- GL_ANGLE_framebuffer_multisample ------------------- */
  12231. #if !defined(GL_ANGLE_framebuffer_multisample) && !defined(GLEW_NO_ES)
  12232. #define GL_ANGLE_framebuffer_multisample 1
  12233. #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
  12234. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
  12235. #define GL_MAX_SAMPLES_ANGLE 0x8D57
  12236. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  12237. #define glRenderbufferStorageMultisampleANGLE GLEW_GET_FUN(__glewRenderbufferStorageMultisampleANGLE)
  12238. #define GLEW_ANGLE_framebuffer_multisample GLEW_GET_VAR(__GLEW_ANGLE_framebuffer_multisample)
  12239. #endif /* !GL_ANGLE_framebuffer_multisample && !GLEW_NO_ES*/
  12240. /* ----------------------- GL_ANGLE_instanced_arrays ----------------------- */
  12241. #if !defined(GL_ANGLE_instanced_arrays) && !defined(GLEW_NO_ES)
  12242. #define GL_ANGLE_instanced_arrays 1
  12243. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
  12244. typedef void (GLAPIENTRY * PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  12245. typedef void (GLAPIENTRY * PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void* indices, GLsizei primcount);
  12246. typedef void (GLAPIENTRY * PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
  12247. #define glDrawArraysInstancedANGLE GLEW_GET_FUN(__glewDrawArraysInstancedANGLE)
  12248. #define glDrawElementsInstancedANGLE GLEW_GET_FUN(__glewDrawElementsInstancedANGLE)
  12249. #define glVertexAttribDivisorANGLE GLEW_GET_FUN(__glewVertexAttribDivisorANGLE)
  12250. #define GLEW_ANGLE_instanced_arrays GLEW_GET_VAR(__GLEW_ANGLE_instanced_arrays)
  12251. #endif /* !GL_ANGLE_instanced_arrays && !GLEW_NO_ES*/
  12252. /* -------------------- GL_ANGLE_pack_reverse_row_order -------------------- */
  12253. #if !defined(GL_ANGLE_pack_reverse_row_order) && !defined(GLEW_NO_ES)
  12254. #define GL_ANGLE_pack_reverse_row_order 1
  12255. #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
  12256. #define GLEW_ANGLE_pack_reverse_row_order GLEW_GET_VAR(__GLEW_ANGLE_pack_reverse_row_order)
  12257. #endif /* !GL_ANGLE_pack_reverse_row_order && !GLEW_NO_ES*/
  12258. /* ------------------- GL_ANGLE_texture_compression_dxt3 ------------------- */
  12259. #if !defined(GL_ANGLE_texture_compression_dxt3) && !defined(GLEW_NO_ES)
  12260. #define GL_ANGLE_texture_compression_dxt3 1
  12261. #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
  12262. #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
  12263. #define GLEW_ANGLE_texture_compression_dxt3 GLEW_GET_VAR(__GLEW_ANGLE_texture_compression_dxt3)
  12264. #endif /* !GL_ANGLE_texture_compression_dxt3 && !GLEW_NO_ES*/
  12265. /* ------------------- GL_ANGLE_texture_compression_dxt5 ------------------- */
  12266. #if !defined(GL_ANGLE_texture_compression_dxt5) && !defined(GLEW_NO_ES)
  12267. #define GL_ANGLE_texture_compression_dxt5 1
  12268. #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
  12269. #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
  12270. #define GLEW_ANGLE_texture_compression_dxt5 GLEW_GET_VAR(__GLEW_ANGLE_texture_compression_dxt5)
  12271. #endif /* !GL_ANGLE_texture_compression_dxt5 && !GLEW_NO_ES*/
  12272. /* ------------------------- GL_ANGLE_texture_usage ------------------------ */
  12273. #if !defined(GL_ANGLE_texture_usage) && !defined(GLEW_NO_ES)
  12274. #define GL_ANGLE_texture_usage 1
  12275. #define GL_NONE 0x0000
  12276. #define GL_TEXTURE_USAGE_ANGLE 0x93A2
  12277. #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
  12278. #define GLEW_ANGLE_texture_usage GLEW_GET_VAR(__GLEW_ANGLE_texture_usage)
  12279. #endif /* !GL_ANGLE_texture_usage && !GLEW_NO_ES*/
  12280. /* ------------------- GL_ANGLE_translated_shader_source ------------------- */
  12281. #if !defined(GL_ANGLE_translated_shader_source) && !defined(GLEW_NO_ES)
  12282. #define GL_ANGLE_translated_shader_source 1
  12283. #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
  12284. typedef void (GLAPIENTRY * PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei* length, char* source);
  12285. #define glGetTranslatedShaderSourceANGLE GLEW_GET_FUN(__glewGetTranslatedShaderSourceANGLE)
  12286. #define GLEW_ANGLE_translated_shader_source GLEW_GET_VAR(__GLEW_ANGLE_translated_shader_source)
  12287. #endif /* !GL_ANGLE_translated_shader_source && !GLEW_NO_ES*/
  12288. /* ---------------------- GL_APPLE_copy_texture_levels --------------------- */
  12289. #if !defined(GL_APPLE_copy_texture_levels) && !defined(GLEW_NO_ES)
  12290. #define GL_APPLE_copy_texture_levels 1
  12291. typedef void (GLAPIENTRY * PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
  12292. #define glCopyTextureLevelsAPPLE GLEW_GET_FUN(__glewCopyTextureLevelsAPPLE)
  12293. #define GLEW_APPLE_copy_texture_levels GLEW_GET_VAR(__GLEW_APPLE_copy_texture_levels)
  12294. #endif /* !GL_APPLE_copy_texture_levels && !GLEW_NO_ES*/
  12295. /* -------------------- GL_APPLE_framebuffer_multisample ------------------- */
  12296. #if !defined(GL_APPLE_framebuffer_multisample) && !defined(GLEW_NO_ES)
  12297. #define GL_APPLE_framebuffer_multisample 1
  12298. #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
  12299. #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
  12300. #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
  12301. #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
  12302. #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
  12303. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
  12304. #define GL_MAX_SAMPLES_APPLE 0x8D57
  12305. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  12306. typedef void (GLAPIENTRY * PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
  12307. #define glRenderbufferStorageMultisampleAPPLE GLEW_GET_FUN(__glewRenderbufferStorageMultisampleAPPLE)
  12308. #define glResolveMultisampleFramebufferAPPLE GLEW_GET_FUN(__glewResolveMultisampleFramebufferAPPLE)
  12309. #define GLEW_APPLE_framebuffer_multisample GLEW_GET_VAR(__GLEW_APPLE_framebuffer_multisample)
  12310. #endif /* !GL_APPLE_framebuffer_multisample && !GLEW_NO_ES*/
  12311. /* ----------------------------- GL_APPLE_sync ----------------------------- */
  12312. #if !defined(GL_APPLE_sync) && !defined(GLEW_NO_ES)
  12313. #define GL_APPLE_sync 1
  12314. #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
  12315. #define GL_SYNC_OBJECT_APPLE 0x8A53
  12316. #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
  12317. #define GL_OBJECT_TYPE_APPLE 0x9112
  12318. #define GL_SYNC_CONDITION_APPLE 0x9113
  12319. #define GL_SYNC_STATUS_APPLE 0x9114
  12320. #define GL_SYNC_FLAGS_APPLE 0x9115
  12321. #define GL_SYNC_FENCE_APPLE 0x9116
  12322. #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
  12323. #define GL_UNSIGNALED_APPLE 0x9118
  12324. #define GL_SIGNALED_APPLE 0x9119
  12325. #define GL_ALREADY_SIGNALED_APPLE 0x911A
  12326. #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
  12327. #define GL_CONDITION_SATISFIED_APPLE 0x911C
  12328. #define GL_WAIT_FAILED_APPLE 0x911D
  12329. #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFF
  12330. typedef GLenum (GLAPIENTRY * PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync GLsync, GLbitfield flags, GLuint64 timeout);
  12331. typedef void (GLAPIENTRY * PFNGLDELETESYNCAPPLEPROC) (GLsync GLsync);
  12332. typedef GLsync (GLAPIENTRY * PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
  12333. typedef void (GLAPIENTRY * PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64* params);
  12334. typedef void (GLAPIENTRY * PFNGLGETSYNCIVAPPLEPROC) (GLsync GLsync, GLenum pname, GLsizei bufSize, GLsizei* length, GLint *values);
  12335. typedef GLboolean (GLAPIENTRY * PFNGLISSYNCAPPLEPROC) (GLsync GLsync);
  12336. typedef void (GLAPIENTRY * PFNGLWAITSYNCAPPLEPROC) (GLsync GLsync, GLbitfield flags, GLuint64 timeout);
  12337. #define glClientWaitSyncAPPLE GLEW_GET_FUN(__glewClientWaitSyncAPPLE)
  12338. #define glDeleteSyncAPPLE GLEW_GET_FUN(__glewDeleteSyncAPPLE)
  12339. #define glFenceSyncAPPLE GLEW_GET_FUN(__glewFenceSyncAPPLE)
  12340. #define glGetInteger64vAPPLE GLEW_GET_FUN(__glewGetInteger64vAPPLE)
  12341. #define glGetSyncivAPPLE GLEW_GET_FUN(__glewGetSyncivAPPLE)
  12342. #define glIsSyncAPPLE GLEW_GET_FUN(__glewIsSyncAPPLE)
  12343. #define glWaitSyncAPPLE GLEW_GET_FUN(__glewWaitSyncAPPLE)
  12344. #define GLEW_APPLE_sync GLEW_GET_VAR(__GLEW_APPLE_sync)
  12345. #endif /* !GL_APPLE_sync && !GLEW_NO_ES*/
  12346. /* -------------------- GL_APPLE_texture_2D_limited_npot ------------------- */
  12347. #if !defined(GL_APPLE_texture_2D_limited_npot) && !defined(GLEW_NO_ES)
  12348. #define GL_APPLE_texture_2D_limited_npot 1
  12349. #define GLEW_APPLE_texture_2D_limited_npot GLEW_GET_VAR(__GLEW_APPLE_texture_2D_limited_npot)
  12350. #endif /* !GL_APPLE_texture_2D_limited_npot && !GLEW_NO_ES*/
  12351. /* -------------------- GL_APPLE_texture_format_BGRA8888 ------------------- */
  12352. #if !defined(GL_APPLE_texture_format_BGRA8888) && !defined(GLEW_NO_ES)
  12353. #define GL_APPLE_texture_format_BGRA8888 1
  12354. #define GL_BGRA_EXT 0x80E1
  12355. #define GLEW_APPLE_texture_format_BGRA8888 GLEW_GET_VAR(__GLEW_APPLE_texture_format_BGRA8888)
  12356. #endif /* !GL_APPLE_texture_format_BGRA8888 && !GLEW_NO_ES*/
  12357. /* ----------------------- GL_APPLE_texture_max_level ---------------------- */
  12358. #if !defined(GL_APPLE_texture_max_level) && !defined(GLEW_NO_ES)
  12359. #define GL_APPLE_texture_max_level 1
  12360. #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
  12361. #define GLEW_APPLE_texture_max_level GLEW_GET_VAR(__GLEW_APPLE_texture_max_level)
  12362. #endif /* !GL_APPLE_texture_max_level && !GLEW_NO_ES*/
  12363. /* ----------------------- GL_ARM_mali_program_binary ---------------------- */
  12364. #if !defined(GL_ARM_mali_program_binary) && !defined(GLEW_NO_ES)
  12365. #define GL_ARM_mali_program_binary 1
  12366. #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
  12367. #define GLEW_ARM_mali_program_binary GLEW_GET_VAR(__GLEW_ARM_mali_program_binary)
  12368. #endif /* !GL_ARM_mali_program_binary && !GLEW_NO_ES*/
  12369. /* ----------------------- GL_ARM_mali_shader_binary ----------------------- */
  12370. #if !defined(GL_ARM_mali_shader_binary) && !defined(GLEW_NO_ES)
  12371. #define GL_ARM_mali_shader_binary 1
  12372. #define GL_MALI_SHADER_BINARY_ARM 0x8F60
  12373. #define GLEW_ARM_mali_shader_binary GLEW_GET_VAR(__GLEW_ARM_mali_shader_binary)
  12374. #endif /* !GL_ARM_mali_shader_binary && !GLEW_NO_ES*/
  12375. /* ------------------------------ GL_ARM_rgba8 ----------------------------- */
  12376. #if !defined(GL_ARM_rgba8) && !defined(GLEW_NO_ES)
  12377. #define GL_ARM_rgba8 1
  12378. #define GL_RGBA8_OES 0x8058
  12379. #define GLEW_ARM_rgba8 GLEW_GET_VAR(__GLEW_ARM_rgba8)
  12380. #endif /* !GL_ARM_rgba8 && !GLEW_NO_ES*/
  12381. /* -------------------------- GL_DMP_shader_binary ------------------------- */
  12382. #if !defined(GL_DMP_shader_binary) && !defined(GLEW_NO_ES)
  12383. #define GL_DMP_shader_binary 1
  12384. #define GL_SHADER_BINARY_DMP 0x9250
  12385. #define GLEW_DMP_shader_binary GLEW_GET_VAR(__GLEW_DMP_shader_binary)
  12386. #endif /* !GL_DMP_shader_binary && !GLEW_NO_ES*/
  12387. /* --------------------- GL_EXT_color_buffer_half_float -------------------- */
  12388. #if !defined(GL_EXT_color_buffer_half_float) && !defined(GLEW_NO_ES)
  12389. #define GL_EXT_color_buffer_half_float 1
  12390. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
  12391. #define GL_R16F_EXT 0x822D
  12392. #define GL_RG16F_EXT 0x822F
  12393. #define GL_RGBA16F_EXT 0x881A
  12394. #define GL_RGB16F_EXT 0x881B
  12395. #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
  12396. #define GLEW_EXT_color_buffer_half_float GLEW_GET_VAR(__GLEW_EXT_color_buffer_half_float)
  12397. #endif /* !GL_EXT_color_buffer_half_float && !GLEW_NO_ES*/
  12398. /* --------------------------- GL_EXT_debug_label -------------------------- */
  12399. #if !defined(GL_EXT_debug_label) && !defined(GLEW_NO_ES)
  12400. #define GL_EXT_debug_label 1
  12401. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  12402. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  12403. #define GL_SHADER_OBJECT_EXT 0x8B48
  12404. #define GL_BUFFER_OBJECT_EXT 0x9151
  12405. #define GL_QUERY_OBJECT_EXT 0x9153
  12406. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  12407. typedef void (GLAPIENTRY * PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei* length, char *label);
  12408. typedef void (GLAPIENTRY * PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const char* label);
  12409. #define glGetObjectLabelEXT GLEW_GET_FUN(__glewGetObjectLabelEXT)
  12410. #define glLabelObjectEXT GLEW_GET_FUN(__glewLabelObjectEXT)
  12411. #define GLEW_EXT_debug_label GLEW_GET_VAR(__GLEW_EXT_debug_label)
  12412. #endif /* !GL_EXT_debug_label && !GLEW_NO_ES*/
  12413. /* -------------------------- GL_EXT_debug_marker -------------------------- */
  12414. #if !defined(GL_EXT_debug_marker) && !defined(GLEW_NO_ES)
  12415. #define GL_EXT_debug_marker 1
  12416. typedef void (GLAPIENTRY * PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const char* marker);
  12417. typedef void (GLAPIENTRY * PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const char* marker);
  12418. #define glInsertEventMarkerEXT GLEW_GET_FUN(__glewInsertEventMarkerEXT)
  12419. #define glPushGroupMarkerEXT GLEW_GET_FUN(__glewPushGroupMarkerEXT)
  12420. #define GLEW_EXT_debug_marker GLEW_GET_VAR(__GLEW_EXT_debug_marker)
  12421. #endif /* !GL_EXT_debug_marker && !GLEW_NO_ES*/
  12422. /* ----------------------- GL_EXT_discard_framebuffer ---------------------- */
  12423. #if !defined(GL_EXT_discard_framebuffer) && !defined(GLEW_NO_ES)
  12424. #define GL_EXT_discard_framebuffer 1
  12425. #define GL_COLOR_EXT 0x1800
  12426. #define GL_DEPTH_EXT 0x1801
  12427. #define GL_STENCIL_EXT 0x1802
  12428. typedef void (GLAPIENTRY * PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum* attachments);
  12429. #define glDiscardFramebufferEXT GLEW_GET_FUN(__glewDiscardFramebufferEXT)
  12430. #define GLEW_EXT_discard_framebuffer GLEW_GET_VAR(__GLEW_EXT_discard_framebuffer)
  12431. #endif /* !GL_EXT_discard_framebuffer && !GLEW_NO_ES*/
  12432. /* --------------------------- GL_EXT_frag_depth --------------------------- */
  12433. #if !defined(GL_EXT_frag_depth) && !defined(GLEW_NO_ES)
  12434. #define GL_EXT_frag_depth 1
  12435. #define GLEW_EXT_frag_depth GLEW_GET_VAR(__GLEW_EXT_frag_depth)
  12436. #endif /* !GL_EXT_frag_depth && !GLEW_NO_ES*/
  12437. /* ------------------------ GL_EXT_map_buffer_range ------------------------ */
  12438. #if !defined(GL_EXT_map_buffer_range) && !defined(GLEW_NO_ES)
  12439. #define GL_EXT_map_buffer_range 1
  12440. #define GL_MAP_READ_BIT_EXT 0x0001
  12441. #define GL_MAP_WRITE_BIT_EXT 0x0002
  12442. #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
  12443. #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
  12444. #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
  12445. #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
  12446. typedef void (GLAPIENTRY * PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  12447. typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  12448. #define glFlushMappedBufferRangeEXT GLEW_GET_FUN(__glewFlushMappedBufferRangeEXT)
  12449. #define glMapBufferRangeEXT GLEW_GET_FUN(__glewMapBufferRangeEXT)
  12450. #define GLEW_EXT_map_buffer_range GLEW_GET_VAR(__GLEW_EXT_map_buffer_range)
  12451. #endif /* !GL_EXT_map_buffer_range && !GLEW_NO_ES*/
  12452. /* ----------------- GL_EXT_multisampled_render_to_texture ----------------- */
  12453. #if !defined(GL_EXT_multisampled_render_to_texture) && !defined(GLEW_NO_ES)
  12454. #define GL_EXT_multisampled_render_to_texture 1
  12455. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  12456. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  12457. #define GL_MAX_SAMPLES_EXT 0x8D57
  12458. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
  12459. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  12460. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  12461. #define glFramebufferTexture2DMultisampleEXT GLEW_GET_FUN(__glewFramebufferTexture2DMultisampleEXT)
  12462. #define glRenderbufferStorageMultisampleEXT GLEW_GET_FUN(__glewRenderbufferStorageMultisampleEXT)
  12463. #define GLEW_EXT_multisampled_render_to_texture GLEW_GET_VAR(__GLEW_EXT_multisampled_render_to_texture)
  12464. #endif /* !GL_EXT_multisampled_render_to_texture && !GLEW_NO_ES*/
  12465. /* --------------------- GL_EXT_multiview_draw_buffers --------------------- */
  12466. #if !defined(GL_EXT_multiview_draw_buffers) && !defined(GLEW_NO_ES)
  12467. #define GL_EXT_multiview_draw_buffers 1
  12468. #define GL_DRAW_BUFFER_EXT 0x0C01
  12469. #define GL_READ_BUFFER_EXT 0x0C02
  12470. #define GL_COLOR_ATTACHMENT_EXT 0x90F0
  12471. #define GL_MULTIVIEW_EXT 0x90F1
  12472. #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
  12473. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum* location, const GLint *indices);
  12474. typedef void (GLAPIENTRY * PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint* data);
  12475. typedef void (GLAPIENTRY * PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
  12476. #define glDrawBuffersIndexedEXT GLEW_GET_FUN(__glewDrawBuffersIndexedEXT)
  12477. #define glGetIntegeri_vEXT GLEW_GET_FUN(__glewGetIntegeri_vEXT)
  12478. #define glReadBufferIndexedEXT GLEW_GET_FUN(__glewReadBufferIndexedEXT)
  12479. #define GLEW_EXT_multiview_draw_buffers GLEW_GET_VAR(__GLEW_EXT_multiview_draw_buffers)
  12480. #endif /* !GL_EXT_multiview_draw_buffers && !GLEW_NO_ES*/
  12481. /* --------------------- GL_EXT_occlusion_query_boolean -------------------- */
  12482. #if !defined(GL_EXT_occlusion_query_boolean) && !defined(GLEW_NO_ES)
  12483. #define GL_EXT_occlusion_query_boolean 1
  12484. #define GL_CURRENT_QUERY_EXT 0x8865
  12485. #define GL_QUERY_RESULT_EXT 0x8866
  12486. #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
  12487. #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
  12488. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
  12489. typedef void (GLAPIENTRY * PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
  12490. typedef void (GLAPIENTRY * PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint* ids);
  12491. typedef void (GLAPIENTRY * PFNGLENDQUERYEXTPROC) (GLenum target);
  12492. typedef void (GLAPIENTRY * PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint* ids);
  12493. typedef void (GLAPIENTRY * PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint* params);
  12494. typedef void (GLAPIENTRY * PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint* params);
  12495. typedef GLboolean (GLAPIENTRY * PFNGLISQUERYEXTPROC) (GLuint id);
  12496. #define glBeginQueryEXT GLEW_GET_FUN(__glewBeginQueryEXT)
  12497. #define glDeleteQueriesEXT GLEW_GET_FUN(__glewDeleteQueriesEXT)
  12498. #define glEndQueryEXT GLEW_GET_FUN(__glewEndQueryEXT)
  12499. #define glGenQueriesEXT GLEW_GET_FUN(__glewGenQueriesEXT)
  12500. #define glGetQueryObjectuivEXT GLEW_GET_FUN(__glewGetQueryObjectuivEXT)
  12501. #define glGetQueryivEXT GLEW_GET_FUN(__glewGetQueryivEXT)
  12502. #define glIsQueryEXT GLEW_GET_FUN(__glewIsQueryEXT)
  12503. #define GLEW_EXT_occlusion_query_boolean GLEW_GET_VAR(__GLEW_EXT_occlusion_query_boolean)
  12504. #endif /* !GL_EXT_occlusion_query_boolean && !GLEW_NO_ES*/
  12505. /* ------------------------ GL_EXT_read_format_bgra ------------------------ */
  12506. #if !defined(GL_EXT_read_format_bgra) && !defined(GLEW_NO_ES)
  12507. #define GL_EXT_read_format_bgra 1
  12508. #define GL_BGRA_EXT 0x80E1
  12509. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
  12510. #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
  12511. #define GLEW_EXT_read_format_bgra GLEW_GET_VAR(__GLEW_EXT_read_format_bgra)
  12512. #endif /* !GL_EXT_read_format_bgra && !GLEW_NO_ES*/
  12513. /* --------------------------- GL_EXT_robustness --------------------------- */
  12514. #if !defined(GL_EXT_robustness) && !defined(GLEW_NO_ES)
  12515. #define GL_EXT_robustness 1
  12516. #define GL_NO_ERROR 0x0000
  12517. #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
  12518. #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
  12519. #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
  12520. #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
  12521. #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
  12522. #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
  12523. #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
  12524. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat* params);
  12525. typedef void (GLAPIENTRY * PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint* params);
  12526. typedef void (GLAPIENTRY * PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void* data);
  12527. #define glGetnUniformfvEXT GLEW_GET_FUN(__glewGetnUniformfvEXT)
  12528. #define glGetnUniformivEXT GLEW_GET_FUN(__glewGetnUniformivEXT)
  12529. #define glReadnPixelsEXT GLEW_GET_FUN(__glewReadnPixelsEXT)
  12530. #define GLEW_EXT_robustness GLEW_GET_VAR(__GLEW_EXT_robustness)
  12531. #endif /* !GL_EXT_robustness && !GLEW_NO_ES*/
  12532. /* ------------------------------ GL_EXT_sRGB ------------------------------ */
  12533. #if !defined(GL_EXT_sRGB) && !defined(GLEW_NO_ES)
  12534. #define GL_EXT_sRGB 1
  12535. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
  12536. #define GL_SRGB_EXT 0x8C40
  12537. #define GL_SRGB_ALPHA_EXT 0x8C42
  12538. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  12539. #define GLEW_EXT_sRGB GLEW_GET_VAR(__GLEW_EXT_sRGB)
  12540. #endif /* !GL_EXT_sRGB && !GLEW_NO_ES*/
  12541. /* -------------------- GL_EXT_shader_framebuffer_fetch -------------------- */
  12542. #if !defined(GL_EXT_shader_framebuffer_fetch) && !defined(GLEW_NO_ES)
  12543. #define GL_EXT_shader_framebuffer_fetch 1
  12544. #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
  12545. #define GLEW_EXT_shader_framebuffer_fetch GLEW_GET_VAR(__GLEW_EXT_shader_framebuffer_fetch)
  12546. #endif /* !GL_EXT_shader_framebuffer_fetch && !GLEW_NO_ES*/
  12547. /* ----------------------- GL_EXT_shader_texture_lod ----------------------- */
  12548. #if !defined(GL_EXT_shader_texture_lod) && !defined(GLEW_NO_ES)
  12549. #define GL_EXT_shader_texture_lod 1
  12550. #define GLEW_EXT_shader_texture_lod GLEW_GET_VAR(__GLEW_EXT_shader_texture_lod)
  12551. #endif /* !GL_EXT_shader_texture_lod && !GLEW_NO_ES*/
  12552. /* ------------------------- GL_EXT_shadow_samplers ------------------------ */
  12553. #if !defined(GL_EXT_shadow_samplers) && !defined(GLEW_NO_ES)
  12554. #define GL_EXT_shadow_samplers 1
  12555. #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
  12556. #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
  12557. #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
  12558. #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
  12559. #define GLEW_EXT_shadow_samplers GLEW_GET_VAR(__GLEW_EXT_shadow_samplers)
  12560. #endif /* !GL_EXT_shadow_samplers && !GLEW_NO_ES*/
  12561. /* --------------------- GL_EXT_texture_format_BGRA8888 -------------------- */
  12562. #if !defined(GL_EXT_texture_format_BGRA8888) && !defined(GLEW_NO_ES)
  12563. #define GL_EXT_texture_format_BGRA8888 1
  12564. #define GL_BGRA_EXT 0x80E1
  12565. #define GLEW_EXT_texture_format_BGRA8888 GLEW_GET_VAR(__GLEW_EXT_texture_format_BGRA8888)
  12566. #endif /* !GL_EXT_texture_format_BGRA8888 && !GLEW_NO_ES*/
  12567. /* --------------------------- GL_EXT_texture_rg --------------------------- */
  12568. #if !defined(GL_EXT_texture_rg) && !defined(GLEW_NO_ES)
  12569. #define GL_EXT_texture_rg 1
  12570. #define GL_RED_EXT 0x1903
  12571. #define GL_RG_EXT 0x8227
  12572. #define GL_R8_EXT 0x8229
  12573. #define GL_RG8_EXT 0x822B
  12574. #define GLEW_EXT_texture_rg GLEW_GET_VAR(__GLEW_EXT_texture_rg)
  12575. #endif /* !GL_EXT_texture_rg && !GLEW_NO_ES*/
  12576. /* ------------------------- GL_EXT_texture_storage ------------------------ */
  12577. #if !defined(GL_EXT_texture_storage) && !defined(GLEW_NO_ES)
  12578. #define GL_EXT_texture_storage 1
  12579. #define GL_ALPHA8_EXT 0x803C
  12580. #define GL_LUMINANCE8_EXT 0x8040
  12581. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  12582. #define GL_RGB10_EXT 0x8052
  12583. #define GL_RGB10_A2_EXT 0x8059
  12584. #define GL_R8_EXT 0x8229
  12585. #define GL_RG8_EXT 0x822B
  12586. #define GL_R16F_EXT 0x822D
  12587. #define GL_R32F_EXT 0x822E
  12588. #define GL_RG16F_EXT 0x822F
  12589. #define GL_RG32F_EXT 0x8230
  12590. #define GL_RGBA32F_EXT 0x8814
  12591. #define GL_RGB32F_EXT 0x8815
  12592. #define GL_ALPHA32F_EXT 0x8816
  12593. #define GL_LUMINANCE32F_EXT 0x8818
  12594. #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
  12595. #define GL_RGBA16F_EXT 0x881A
  12596. #define GL_RGB16F_EXT 0x881B
  12597. #define GL_ALPHA16F_EXT 0x881C
  12598. #define GL_LUMINANCE16F_EXT 0x881E
  12599. #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
  12600. #define GL_RGB_422_APPLE 0x8A1F
  12601. #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
  12602. #define GL_BGRA8_EXT 0x93A1
  12603. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  12604. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  12605. typedef void (GLAPIENTRY * PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  12606. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  12607. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  12608. typedef void (GLAPIENTRY * PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  12609. #define glTexStorage1DEXT GLEW_GET_FUN(__glewTexStorage1DEXT)
  12610. #define glTexStorage2DEXT GLEW_GET_FUN(__glewTexStorage2DEXT)
  12611. #define glTexStorage3DEXT GLEW_GET_FUN(__glewTexStorage3DEXT)
  12612. #define glTextureStorage1DEXT GLEW_GET_FUN(__glewTextureStorage1DEXT)
  12613. #define glTextureStorage2DEXT GLEW_GET_FUN(__glewTextureStorage2DEXT)
  12614. #define glTextureStorage3DEXT GLEW_GET_FUN(__glewTextureStorage3DEXT)
  12615. #define GLEW_EXT_texture_storage GLEW_GET_VAR(__GLEW_EXT_texture_storage)
  12616. #endif /* !GL_EXT_texture_storage && !GLEW_NO_ES*/
  12617. /* ------------------- GL_EXT_texture_type_2_10_10_10_REV ------------------ */
  12618. #if !defined(GL_EXT_texture_type_2_10_10_10_REV) && !defined(GLEW_NO_ES)
  12619. #define GL_EXT_texture_type_2_10_10_10_REV 1
  12620. #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
  12621. #define GLEW_EXT_texture_type_2_10_10_10_REV GLEW_GET_VAR(__GLEW_EXT_texture_type_2_10_10_10_REV)
  12622. #endif /* !GL_EXT_texture_type_2_10_10_10_REV && !GLEW_NO_ES*/
  12623. /* ------------------------- GL_EXT_unpack_subimage ------------------------ */
  12624. #if !defined(GL_EXT_unpack_subimage) && !defined(GLEW_NO_ES)
  12625. #define GL_EXT_unpack_subimage 1
  12626. #define GL_UNPACK_ROW_LENGTH 0x0CF2
  12627. #define GL_UNPACK_SKIP_ROWS 0x0CF3
  12628. #define GL_UNPACK_SKIP_PIXELS 0x0CF4
  12629. #define GLEW_EXT_unpack_subimage GLEW_GET_VAR(__GLEW_EXT_unpack_subimage)
  12630. #endif /* !GL_EXT_unpack_subimage && !GLEW_NO_ES*/
  12631. /* ----------------------- GL_FJ_shader_binary_GCCSO ----------------------- */
  12632. #if !defined(GL_FJ_shader_binary_GCCSO) && !defined(GLEW_NO_ES)
  12633. #define GL_FJ_shader_binary_GCCSO 1
  12634. #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
  12635. #define GLEW_FJ_shader_binary_GCCSO GLEW_GET_VAR(__GLEW_FJ_shader_binary_GCCSO)
  12636. #endif /* !GL_FJ_shader_binary_GCCSO && !GLEW_NO_ES*/
  12637. /* ----------------- GL_IMG_multisampled_render_to_texture ----------------- */
  12638. #if !defined(GL_IMG_multisampled_render_to_texture) && !defined(GLEW_NO_ES)
  12639. #define GL_IMG_multisampled_render_to_texture 1
  12640. #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
  12641. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
  12642. #define GL_MAX_SAMPLES_IMG 0x9135
  12643. #define GL_TEXTURE_SAMPLES_IMG 0x9136
  12644. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  12645. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  12646. #define glFramebufferTexture2DMultisampleIMG GLEW_GET_FUN(__glewFramebufferTexture2DMultisampleIMG)
  12647. #define glRenderbufferStorageMultisampleIMG GLEW_GET_FUN(__glewRenderbufferStorageMultisampleIMG)
  12648. #define GLEW_IMG_multisampled_render_to_texture GLEW_GET_VAR(__GLEW_IMG_multisampled_render_to_texture)
  12649. #endif /* !GL_IMG_multisampled_render_to_texture && !GLEW_NO_ES*/
  12650. /* ------------------------- GL_IMG_program_binary ------------------------- */
  12651. #if !defined(GL_IMG_program_binary) && !defined(GLEW_NO_ES)
  12652. #define GL_IMG_program_binary 1
  12653. #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
  12654. #define GLEW_IMG_program_binary GLEW_GET_VAR(__GLEW_IMG_program_binary)
  12655. #endif /* !GL_IMG_program_binary && !GLEW_NO_ES*/
  12656. /* --------------------------- GL_IMG_read_format -------------------------- */
  12657. #if !defined(GL_IMG_read_format) && !defined(GLEW_NO_ES)
  12658. #define GL_IMG_read_format 1
  12659. #define GL_BGRA_IMG 0x80E1
  12660. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
  12661. #define GLEW_IMG_read_format GLEW_GET_VAR(__GLEW_IMG_read_format)
  12662. #endif /* !GL_IMG_read_format && !GLEW_NO_ES*/
  12663. /* -------------------------- GL_IMG_shader_binary ------------------------- */
  12664. #if !defined(GL_IMG_shader_binary) && !defined(GLEW_NO_ES)
  12665. #define GL_IMG_shader_binary 1
  12666. #define GL_SGX_BINARY_IMG 0x8C0A
  12667. #define GLEW_IMG_shader_binary GLEW_GET_VAR(__GLEW_IMG_shader_binary)
  12668. #endif /* !GL_IMG_shader_binary && !GLEW_NO_ES*/
  12669. /* -------------------- GL_IMG_texture_compression_pvrtc ------------------- */
  12670. #if !defined(GL_IMG_texture_compression_pvrtc) && !defined(GLEW_NO_ES)
  12671. #define GL_IMG_texture_compression_pvrtc 1
  12672. #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
  12673. #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
  12674. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
  12675. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
  12676. #define GLEW_IMG_texture_compression_pvrtc GLEW_GET_VAR(__GLEW_IMG_texture_compression_pvrtc)
  12677. #endif /* !GL_IMG_texture_compression_pvrtc && !GLEW_NO_ES*/
  12678. /* --------------- GL_IMG_texture_env_enhanced_fixed_function -------------- */
  12679. #if !defined(GL_IMG_texture_env_enhanced_fixed_function) && !defined(GLEW_NO_ES)
  12680. #define GL_IMG_texture_env_enhanced_fixed_function 1
  12681. #define GL_DOT3_RGBA_IMG 0x86AF
  12682. #define GL_MODULATE_COLOR_IMG 0x8C04
  12683. #define GL_RECIP_ADD_SIGNED_ALPHA_IMG 0x8C05
  12684. #define GL_TEXTURE_ALPHA_MODULATE_IMG 0x8C06
  12685. #define GL_FACTOR_ALPHA_MODULATE_IMG 0x8C07
  12686. #define GL_FRAGMENT_ALPHA_MODULATE_IMG 0x8C08
  12687. #define GL_ADD_BLEND_IMG 0x8C09
  12688. #define GLEW_IMG_texture_env_enhanced_fixed_function GLEW_GET_VAR(__GLEW_IMG_texture_env_enhanced_fixed_function)
  12689. #endif /* !GL_IMG_texture_env_enhanced_fixed_function && !GLEW_NO_ES*/
  12690. /* ------------------------- GL_IMG_user_clip_plane ------------------------ */
  12691. #if !defined(GL_IMG_user_clip_plane) && !defined(GLEW_NO_ES)
  12692. #define GL_IMG_user_clip_plane 1
  12693. #define GL_MAX_CLIP_PLANES_IMG 0x0D32
  12694. #define GL_CLIP_PLANE0_IMG 0x3000
  12695. #define GL_CLIP_PLANE1_IMG 0x3001
  12696. #define GL_CLIP_PLANE2_IMG 0x3002
  12697. #define GL_CLIP_PLANE3_IMG 0x3003
  12698. #define GL_CLIP_PLANE4_IMG 0x3004
  12699. #define GL_CLIP_PLANE5_IMG 0x3005
  12700. typedef void (GLAPIENTRY * PFNGLCLIPPLANEFIMGPROC) (GLenum p, GLfloat eqn[4]);
  12701. #define glClipPlanefIMG GLEW_GET_FUN(__glewClipPlanefIMG)
  12702. #define GLEW_IMG_user_clip_plane GLEW_GET_VAR(__GLEW_IMG_user_clip_plane)
  12703. #endif /* !GL_IMG_user_clip_plane && !GLEW_NO_ES*/
  12704. /* ------------------------ GL_NV_3dvision_settings ------------------------ */
  12705. #if !defined(GL_NV_3dvision_settings) && !defined(GLEW_NO_ES)
  12706. #define GL_NV_3dvision_settings 1
  12707. #define GL_3DVISION_STEREO_NV 0x90F4
  12708. #define GL_STEREO_SEPARATION_NV 0x90F5
  12709. #define GL_STEREO_CONVERGENCE_NV 0x90F6
  12710. #define GL_STEREO_CUTOFF_NV 0x90F7
  12711. #define GL_STEREO_PROJECTION_NV 0x90F8
  12712. #define GL_STEREO_PROJECTION_PERSPECTIVE_NV 0x90F9
  12713. #define GL_STEREO_PROJECTION_ORTHO_NV 0x90FA
  12714. typedef void (GLAPIENTRY * PFNGLSTEREOPARAMETERFNVPROC) (GLenum pname, GLfloat param);
  12715. typedef void (GLAPIENTRY * PFNGLSTEREOPARAMETERINVPROC) (GLenum pname, GLint param);
  12716. #define glStereoParameterfNV GLEW_GET_FUN(__glewStereoParameterfNV)
  12717. #define glStereoParameteriNV GLEW_GET_FUN(__glewStereoParameteriNV)
  12718. #define GLEW_NV_3dvision_settings GLEW_GET_VAR(__GLEW_NV_3dvision_settings)
  12719. #endif /* !GL_NV_3dvision_settings && !GLEW_NO_ES*/
  12720. /* ------------------- GL_NV_EGL_stream_consumer_external ------------------ */
  12721. #if !defined(GL_NV_EGL_stream_consumer_external) && !defined(GLEW_NO_ES)
  12722. #define GL_NV_EGL_stream_consumer_external 1
  12723. #define GL_TEXTURE_EXTERNAL_OES 0x8D65
  12724. #define GL_SAMPLER_EXTERNAL_OES 0x8D66
  12725. #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
  12726. #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
  12727. #define GLEW_NV_EGL_stream_consumer_external GLEW_GET_VAR(__GLEW_NV_EGL_stream_consumer_external)
  12728. #endif /* !GL_NV_EGL_stream_consumer_external && !GLEW_NO_ES*/
  12729. /* ------------------------------- GL_NV_bgr ------------------------------- */
  12730. #if !defined(GL_NV_bgr) && !defined(GLEW_NO_ES)
  12731. #define GL_NV_bgr 1
  12732. #define GL_BGR_NV 0x80E0
  12733. #define GLEW_NV_bgr GLEW_GET_VAR(__GLEW_NV_bgr)
  12734. #endif /* !GL_NV_bgr && !GLEW_NO_ES*/
  12735. /* ------------------------- GL_NV_coverage_sample ------------------------- */
  12736. #if !defined(GL_NV_coverage_sample) && !defined(GLEW_NO_ES)
  12737. #define GL_NV_coverage_sample 1
  12738. #define GL_COVERAGE_BUFFER_BIT_NV 0x8000
  12739. #define GL_COVERAGE_COMPONENT_NV 0x8ED0
  12740. #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
  12741. #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
  12742. #define GL_COVERAGE_BUFFERS_NV 0x8ED3
  12743. #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
  12744. #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
  12745. #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
  12746. typedef void (GLAPIENTRY * PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
  12747. typedef void (GLAPIENTRY * PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
  12748. #define glCoverageMaskNV GLEW_GET_FUN(__glewCoverageMaskNV)
  12749. #define glCoverageOperationNV GLEW_GET_FUN(__glewCoverageOperationNV)
  12750. #define GLEW_NV_coverage_sample GLEW_GET_VAR(__GLEW_NV_coverage_sample)
  12751. #endif /* !GL_NV_coverage_sample && !GLEW_NO_ES*/
  12752. /* ------------------------- GL_NV_depth_nonlinear ------------------------- */
  12753. #if !defined(GL_NV_depth_nonlinear) && !defined(GLEW_NO_ES)
  12754. #define GL_NV_depth_nonlinear 1
  12755. #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
  12756. #define GLEW_NV_depth_nonlinear GLEW_GET_VAR(__GLEW_NV_depth_nonlinear)
  12757. #endif /* !GL_NV_depth_nonlinear && !GLEW_NO_ES*/
  12758. /* --------------------------- GL_NV_draw_buffers -------------------------- */
  12759. #if !defined(GL_NV_draw_buffers) && !defined(GLEW_NO_ES)
  12760. #define GL_NV_draw_buffers 1
  12761. #define GL_MAX_DRAW_BUFFERS_NV 0x8824
  12762. #define GL_DRAW_BUFFER0_NV 0x8825
  12763. #define GL_DRAW_BUFFER1_NV 0x8826
  12764. #define GL_DRAW_BUFFER2_NV 0x8827
  12765. #define GL_DRAW_BUFFER3_NV 0x8828
  12766. #define GL_DRAW_BUFFER4_NV 0x8829
  12767. #define GL_DRAW_BUFFER5_NV 0x882A
  12768. #define GL_DRAW_BUFFER6_NV 0x882B
  12769. #define GL_DRAW_BUFFER7_NV 0x882C
  12770. #define GL_DRAW_BUFFER8_NV 0x882D
  12771. #define GL_DRAW_BUFFER9_NV 0x882E
  12772. #define GL_DRAW_BUFFER10_NV 0x882F
  12773. #define GL_DRAW_BUFFER11_NV 0x8830
  12774. #define GL_DRAW_BUFFER12_NV 0x8831
  12775. #define GL_DRAW_BUFFER13_NV 0x8832
  12776. #define GL_DRAW_BUFFER14_NV 0x8833
  12777. #define GL_DRAW_BUFFER15_NV 0x8834
  12778. #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
  12779. #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
  12780. #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
  12781. #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
  12782. #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
  12783. #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
  12784. #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
  12785. #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
  12786. #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
  12787. #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
  12788. #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
  12789. #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
  12790. #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
  12791. #define GL_COLOR_ATTACHMENT13_NV 0x8CED
  12792. #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
  12793. #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
  12794. typedef void (GLAPIENTRY * PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum* bufs);
  12795. #define glDrawBuffersNV GLEW_GET_FUN(__glewDrawBuffersNV)
  12796. #define GLEW_NV_draw_buffers GLEW_GET_VAR(__GLEW_NV_draw_buffers)
  12797. #endif /* !GL_NV_draw_buffers && !GLEW_NO_ES*/
  12798. /* ---------------------- GL_NV_fbo_color_attachments ---------------------- */
  12799. #if !defined(GL_NV_fbo_color_attachments) && !defined(GLEW_NO_ES)
  12800. #define GL_NV_fbo_color_attachments 1
  12801. #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
  12802. #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
  12803. #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
  12804. #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
  12805. #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
  12806. #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
  12807. #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
  12808. #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
  12809. #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
  12810. #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
  12811. #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
  12812. #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
  12813. #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
  12814. #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
  12815. #define GL_COLOR_ATTACHMENT13_NV 0x8CED
  12816. #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
  12817. #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
  12818. #define GLEW_NV_fbo_color_attachments GLEW_GET_VAR(__GLEW_NV_fbo_color_attachments)
  12819. #endif /* !GL_NV_fbo_color_attachments && !GLEW_NO_ES*/
  12820. /* -------------------------- GL_NV_pack_subimage -------------------------- */
  12821. #if !defined(GL_NV_pack_subimage) && !defined(GLEW_NO_ES)
  12822. #define GL_NV_pack_subimage 1
  12823. #define GL_PACK_ROW_LENGTH_NV 0x0D02
  12824. #define GL_PACK_SKIP_ROWS_NV 0x0D03
  12825. #define GL_PACK_SKIP_PIXELS_NV 0x0D04
  12826. #define GLEW_NV_pack_subimage GLEW_GET_VAR(__GLEW_NV_pack_subimage)
  12827. #endif /* !GL_NV_pack_subimage && !GLEW_NO_ES*/
  12828. /* --------------------------- GL_NV_packed_float -------------------------- */
  12829. #if !defined(GL_NV_packed_float) && !defined(GLEW_NO_ES)
  12830. #define GL_NV_packed_float 1
  12831. #define GL_R11F_G11F_B10F_NV 0x8C3A
  12832. #define GL_UNSIGNED_INT_10F_11F_11F_REV_NV 0x8C3B
  12833. #define GLEW_NV_packed_float GLEW_GET_VAR(__GLEW_NV_packed_float)
  12834. #endif /* !GL_NV_packed_float && !GLEW_NO_ES*/
  12835. /* ----------------------- GL_NV_packed_float_linear ----------------------- */
  12836. #if !defined(GL_NV_packed_float_linear) && !defined(GLEW_NO_ES)
  12837. #define GL_NV_packed_float_linear 1
  12838. #define GL_R11F_G11F_B10F_NV 0x8C3A
  12839. #define GL_UNSIGNED_INT_10F_11F_11F_REV_NV 0x8C3B
  12840. #define GLEW_NV_packed_float_linear GLEW_GET_VAR(__GLEW_NV_packed_float_linear)
  12841. #endif /* !GL_NV_packed_float_linear && !GLEW_NO_ES*/
  12842. /* ----------------------- GL_NV_pixel_buffer_object ----------------------- */
  12843. #if !defined(GL_NV_pixel_buffer_object) && !defined(GLEW_NO_ES)
  12844. #define GL_NV_pixel_buffer_object 1
  12845. #define GL_PIXEL_PACK_BUFFER_NV 0x88EB
  12846. #define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC
  12847. #define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED
  12848. #define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF
  12849. #define GLEW_NV_pixel_buffer_object GLEW_GET_VAR(__GLEW_NV_pixel_buffer_object)
  12850. #endif /* !GL_NV_pixel_buffer_object && !GLEW_NO_ES*/
  12851. /* ------------------------- GL_NV_platform_binary ------------------------- */
  12852. #if !defined(GL_NV_platform_binary) && !defined(GLEW_NO_ES)
  12853. #define GL_NV_platform_binary 1
  12854. #define GL_NVIDIA_PLATFORM_BINARY_NV 0x890B
  12855. #define GLEW_NV_platform_binary GLEW_GET_VAR(__GLEW_NV_platform_binary)
  12856. #endif /* !GL_NV_platform_binary && !GLEW_NO_ES*/
  12857. /* --------------------------- GL_NV_read_buffer --------------------------- */
  12858. #if !defined(GL_NV_read_buffer) && !defined(GLEW_NO_ES)
  12859. #define GL_NV_read_buffer 1
  12860. #define GL_READ_BUFFER_NV 0x0C02
  12861. typedef void (GLAPIENTRY * PFNGLREADBUFFERNVPROC) (GLenum mode);
  12862. #define glReadBufferNV GLEW_GET_FUN(__glewReadBufferNV)
  12863. #define GLEW_NV_read_buffer GLEW_GET_VAR(__GLEW_NV_read_buffer)
  12864. #endif /* !GL_NV_read_buffer && !GLEW_NO_ES*/
  12865. /* ------------------------ GL_NV_read_buffer_front ------------------------ */
  12866. #if !defined(GL_NV_read_buffer_front) && !defined(GLEW_NO_ES)
  12867. #define GL_NV_read_buffer_front 1
  12868. #define GLEW_NV_read_buffer_front GLEW_GET_VAR(__GLEW_NV_read_buffer_front)
  12869. #endif /* !GL_NV_read_buffer_front && !GLEW_NO_ES*/
  12870. /* ---------------------------- GL_NV_read_depth --------------------------- */
  12871. #if !defined(GL_NV_read_depth) && !defined(GLEW_NO_ES)
  12872. #define GL_NV_read_depth 1
  12873. #define GLEW_NV_read_depth GLEW_GET_VAR(__GLEW_NV_read_depth)
  12874. #endif /* !GL_NV_read_depth && !GLEW_NO_ES*/
  12875. /* ------------------------ GL_NV_read_depth_stencil ----------------------- */
  12876. #if !defined(GL_NV_read_depth_stencil) && !defined(GLEW_NO_ES)
  12877. #define GL_NV_read_depth_stencil 1
  12878. #define GLEW_NV_read_depth_stencil GLEW_GET_VAR(__GLEW_NV_read_depth_stencil)
  12879. #endif /* !GL_NV_read_depth_stencil && !GLEW_NO_ES*/
  12880. /* --------------------------- GL_NV_read_stencil -------------------------- */
  12881. #if !defined(GL_NV_read_stencil) && !defined(GLEW_NO_ES)
  12882. #define GL_NV_read_stencil 1
  12883. #define GLEW_NV_read_stencil GLEW_GET_VAR(__GLEW_NV_read_stencil)
  12884. #endif /* !GL_NV_read_stencil && !GLEW_NO_ES*/
  12885. /* -------------------------- GL_NV_texture_array -------------------------- */
  12886. #if !defined(GL_NV_texture_array) && !defined(GLEW_NO_ES)
  12887. #define GL_NV_texture_array 1
  12888. #define GL_UNPACK_SKIP_IMAGES_NV 0x806D
  12889. #define GL_UNPACK_IMAGE_HEIGHT_NV 0x806E
  12890. #define GL_MAX_ARRAY_TEXTURE_LAYERS_NV 0x88FF
  12891. #define GL_TEXTURE_2D_ARRAY_NV 0x8C1A
  12892. #define GL_TEXTURE_BINDING_2D_ARRAY_NV 0x8C1D
  12893. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LAYER_NV 0x8CD4
  12894. #define GL_SAMPLER_2D_ARRAY_NV 0x8DC1
  12895. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DNVPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
  12896. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
  12897. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DNVPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  12898. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURELAYERNVPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer);
  12899. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DNVPROC) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
  12900. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DNVPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
  12901. #define glCompressedTexImage3DNV GLEW_GET_FUN(__glewCompressedTexImage3DNV)
  12902. #define glCompressedTexSubImage3DNV GLEW_GET_FUN(__glewCompressedTexSubImage3DNV)
  12903. #define glCopyTexSubImage3DNV GLEW_GET_FUN(__glewCopyTexSubImage3DNV)
  12904. #define glFramebufferTextureLayerNV GLEW_GET_FUN(__glewFramebufferTextureLayerNV)
  12905. #define glTexImage3DNV GLEW_GET_FUN(__glewTexImage3DNV)
  12906. #define glTexSubImage3DNV GLEW_GET_FUN(__glewTexSubImage3DNV)
  12907. #define GLEW_NV_texture_array GLEW_GET_VAR(__GLEW_NV_texture_array)
  12908. #endif /* !GL_NV_texture_array && !GLEW_NO_ES*/
  12909. /* --------------------- GL_NV_texture_compression_latc -------------------- */
  12910. #if !defined(GL_NV_texture_compression_latc) && !defined(GLEW_NO_ES)
  12911. #define GL_NV_texture_compression_latc 1
  12912. #define GL_COMPRESSED_LUMINANCE_LATC1_NV 0x8C70
  12913. #define GL_COMPRESSED_SIGNED_LUMINANCE_LATC1_NV 0x8C71
  12914. #define GL_COMPRESSED_LUMINANCE_ALPHA_LATC2_NV 0x8C72
  12915. #define GL_COMPRESSED_SIGNED_LUMINANCE_ALPHA_LATC2_NV 0x8C73
  12916. #define GLEW_NV_texture_compression_latc GLEW_GET_VAR(__GLEW_NV_texture_compression_latc)
  12917. #endif /* !GL_NV_texture_compression_latc && !GLEW_NO_ES*/
  12918. /* --------------------- GL_NV_texture_compression_s3tc -------------------- */
  12919. #if !defined(GL_NV_texture_compression_s3tc) && !defined(GLEW_NO_ES)
  12920. #define GL_NV_texture_compression_s3tc 1
  12921. #define GL_COMPRESSED_RGB_S3TC_DXT1_NV 0x83F0
  12922. #define GL_COMPRESSED_RGBA_S3TC_DXT1_NV 0x83F1
  12923. #define GL_COMPRESSED_RGBA_S3TC_DXT3_NV 0x83F2
  12924. #define GL_COMPRESSED_RGBA_S3TC_DXT5_NV 0x83F3
  12925. #define GLEW_NV_texture_compression_s3tc GLEW_GET_VAR(__GLEW_NV_texture_compression_s3tc)
  12926. #endif /* !GL_NV_texture_compression_s3tc && !GLEW_NO_ES*/
  12927. /* ----------------- GL_NV_texture_compression_s3tc_update ----------------- */
  12928. #if !defined(GL_NV_texture_compression_s3tc_update) && !defined(GLEW_NO_ES)
  12929. #define GL_NV_texture_compression_s3tc_update 1
  12930. #define GLEW_NV_texture_compression_s3tc_update GLEW_GET_VAR(__GLEW_NV_texture_compression_s3tc_update)
  12931. #endif /* !GL_NV_texture_compression_s3tc_update && !GLEW_NO_ES*/
  12932. /* ---------------------- GL_NV_texture_npot_2D_mipmap --------------------- */
  12933. #if !defined(GL_NV_texture_npot_2D_mipmap) && !defined(GLEW_NO_ES)
  12934. #define GL_NV_texture_npot_2D_mipmap 1
  12935. #define GLEW_NV_texture_npot_2D_mipmap GLEW_GET_VAR(__GLEW_NV_texture_npot_2D_mipmap)
  12936. #endif /* !GL_NV_texture_npot_2D_mipmap && !GLEW_NO_ES*/
  12937. /* ---------------------------- GL_OES_EGL_image --------------------------- */
  12938. #if !defined(GL_OES_EGL_image) && !defined(GLEW_NO_ES)
  12939. #define GL_OES_EGL_image 1
  12940. typedef void* GLeglImageOES;
  12941. typedef void (GLAPIENTRY * PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
  12942. typedef void (GLAPIENTRY * PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
  12943. #define glEGLImageTargetRenderbufferStorageOES GLEW_GET_FUN(__glewEGLImageTargetRenderbufferStorageOES)
  12944. #define glEGLImageTargetTexture2DOES GLEW_GET_FUN(__glewEGLImageTargetTexture2DOES)
  12945. #define GLEW_OES_EGL_image GLEW_GET_VAR(__GLEW_OES_EGL_image)
  12946. #endif /* !GL_OES_EGL_image && !GLEW_NO_ES*/
  12947. /* ----------------------- GL_OES_EGL_image_external ----------------------- */
  12948. #if !defined(GL_OES_EGL_image_external) && !defined(GLEW_NO_ES)
  12949. #define GL_OES_EGL_image_external 1
  12950. #define GL_TEXTURE_EXTERNAL_OES 0x8D65
  12951. #define GL_SAMPLER_EXTERNAL_OES 0x8D66
  12952. #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
  12953. #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
  12954. #define GLEW_OES_EGL_image_external GLEW_GET_VAR(__GLEW_OES_EGL_image_external)
  12955. #endif /* !GL_OES_EGL_image_external && !GLEW_NO_ES*/
  12956. /* ---------------------------- GL_OES_EGL_sync ---------------------------- */
  12957. #if !defined(GL_OES_EGL_sync) && !defined(GLEW_NO_ES)
  12958. #define GL_OES_EGL_sync 1
  12959. #define GLEW_OES_EGL_sync GLEW_GET_VAR(__GLEW_OES_EGL_sync)
  12960. #endif /* !GL_OES_EGL_sync && !GLEW_NO_ES*/
  12961. /* --------------------- GL_OES_blend_equation_separate -------------------- */
  12962. #if !defined(GL_OES_blend_equation_separate) && !defined(GLEW_NO_ES)
  12963. #define GL_OES_blend_equation_separate 1
  12964. #define GL_BLEND_EQUATION_RGB_OES 0x8009
  12965. #define GL_BLEND_EQUATION_ALPHA_OES 0x883D
  12966. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONSEPARATEOESPROC) (GLenum modeRGB, GLenum modeAlpha);
  12967. #define glBlendEquationSeparateOES GLEW_GET_FUN(__glewBlendEquationSeparateOES)
  12968. #define GLEW_OES_blend_equation_separate GLEW_GET_VAR(__GLEW_OES_blend_equation_separate)
  12969. #endif /* !GL_OES_blend_equation_separate && !GLEW_NO_ES*/
  12970. /* ----------------------- GL_OES_blend_func_separate ---------------------- */
  12971. #if !defined(GL_OES_blend_func_separate) && !defined(GLEW_NO_ES)
  12972. #define GL_OES_blend_func_separate 1
  12973. #define GL_BLEND_DST_RGB_OES 0x80C8
  12974. #define GL_BLEND_SRC_RGB_OES 0x80C9
  12975. #define GL_BLEND_DST_ALPHA_OES 0x80CA
  12976. #define GL_BLEND_SRC_ALPHA_OES 0x80CB
  12977. typedef void (GLAPIENTRY * PFNGLBLENDFUNCSEPARATEOESPROC) (GLenum sfactorRGB, GLenum dfactorRGB, GLenum sfactorAlpha, GLenum dfactorAlpha);
  12978. #define glBlendFuncSeparateOES GLEW_GET_FUN(__glewBlendFuncSeparateOES)
  12979. #define GLEW_OES_blend_func_separate GLEW_GET_VAR(__GLEW_OES_blend_func_separate)
  12980. #endif /* !GL_OES_blend_func_separate && !GLEW_NO_ES*/
  12981. /* ------------------------- GL_OES_blend_subtract ------------------------- */
  12982. #if !defined(GL_OES_blend_subtract) && !defined(GLEW_NO_ES)
  12983. #define GL_OES_blend_subtract 1
  12984. #define GL_FUNC_ADD_OES 0x8006
  12985. #define GL_BLEND_EQUATION_OES 0x8009
  12986. #define GL_FUNC_SUBTRACT_OES 0x800A
  12987. #define GL_FUNC_REVERSE_SUBTRACT_OES 0x800B
  12988. typedef void (GLAPIENTRY * PFNGLBLENDEQUATIONOESPROC) (GLenum mode);
  12989. #define glBlendEquationOES GLEW_GET_FUN(__glewBlendEquationOES)
  12990. #define GLEW_OES_blend_subtract GLEW_GET_VAR(__GLEW_OES_blend_subtract)
  12991. #endif /* !GL_OES_blend_subtract && !GLEW_NO_ES*/
  12992. /* ------------------ GL_OES_compressed_ETC1_RGB8_texture ------------------ */
  12993. #if !defined(GL_OES_compressed_ETC1_RGB8_texture) && !defined(GLEW_NO_ES)
  12994. #define GL_OES_compressed_ETC1_RGB8_texture 1
  12995. #define GL_ETC1_RGB8_OES 0x8D64
  12996. #define GLEW_OES_compressed_ETC1_RGB8_texture GLEW_GET_VAR(__GLEW_OES_compressed_ETC1_RGB8_texture)
  12997. #endif /* !GL_OES_compressed_ETC1_RGB8_texture && !GLEW_NO_ES*/
  12998. /* ----------------------------- GL_OES_depth24 ---------------------------- */
  12999. #if !defined(GL_OES_depth24) && !defined(GLEW_NO_ES)
  13000. #define GL_OES_depth24 1
  13001. #define GL_DEPTH_COMPONENT24_OES 0x81A6
  13002. #define GLEW_OES_depth24 GLEW_GET_VAR(__GLEW_OES_depth24)
  13003. #endif /* !GL_OES_depth24 && !GLEW_NO_ES*/
  13004. /* ----------------------------- GL_OES_depth32 ---------------------------- */
  13005. #if !defined(GL_OES_depth32) && !defined(GLEW_NO_ES)
  13006. #define GL_OES_depth32 1
  13007. #define GL_DEPTH_COMPONENT32_OES 0x81A7
  13008. #define GLEW_OES_depth32 GLEW_GET_VAR(__GLEW_OES_depth32)
  13009. #endif /* !GL_OES_depth32 && !GLEW_NO_ES*/
  13010. /* -------------------------- GL_OES_depth_texture ------------------------- */
  13011. #if !defined(GL_OES_depth_texture) && !defined(GLEW_NO_ES)
  13012. #define GL_OES_depth_texture 1
  13013. #define GL_UNSIGNED_SHORT 0x1403
  13014. #define GL_UNSIGNED_INT 0x1405
  13015. #define GL_DEPTH_COMPONENT 0x1902
  13016. #define GLEW_OES_depth_texture GLEW_GET_VAR(__GLEW_OES_depth_texture)
  13017. #endif /* !GL_OES_depth_texture && !GLEW_NO_ES*/
  13018. /* --------------------- GL_OES_depth_texture_cube_map --------------------- */
  13019. #if !defined(GL_OES_depth_texture_cube_map) && !defined(GLEW_NO_ES)
  13020. #define GL_OES_depth_texture_cube_map 1
  13021. #define GL_UNSIGNED_SHORT 0x1403
  13022. #define GL_UNSIGNED_INT 0x1405
  13023. #define GL_DEPTH_COMPONENT 0x1902
  13024. #define GL_DEPTH_STENCIL_OES 0x84F9
  13025. #define GL_DEPTH24_STENCIL8_OES 0x88F0
  13026. #define GLEW_OES_depth_texture_cube_map GLEW_GET_VAR(__GLEW_OES_depth_texture_cube_map)
  13027. #endif /* !GL_OES_depth_texture_cube_map && !GLEW_NO_ES*/
  13028. /* -------------------------- GL_OES_draw_texture -------------------------- */
  13029. #if !defined(GL_OES_draw_texture) && !defined(GLEW_NO_ES)
  13030. #define GL_OES_draw_texture 1
  13031. #define GL_TEXTURE_CROP_RECT_OES 0x8B9D
  13032. #define GLEW_OES_draw_texture GLEW_GET_VAR(__GLEW_OES_draw_texture)
  13033. #endif /* !GL_OES_draw_texture && !GLEW_NO_ES*/
  13034. /* ----------------------- GL_OES_element_index_uint ----------------------- */
  13035. #if !defined(GL_OES_element_index_uint) && !defined(GLEW_NO_ES)
  13036. #define GL_OES_element_index_uint 1
  13037. #define GL_UNSIGNED_INT 0x1405
  13038. #define GLEW_OES_element_index_uint GLEW_GET_VAR(__GLEW_OES_element_index_uint)
  13039. #endif /* !GL_OES_element_index_uint && !GLEW_NO_ES*/
  13040. /* --------------------- GL_OES_extended_matrix_palette -------------------- */
  13041. #if !defined(GL_OES_extended_matrix_palette) && !defined(GLEW_NO_ES)
  13042. #define GL_OES_extended_matrix_palette 1
  13043. #define GLEW_OES_extended_matrix_palette GLEW_GET_VAR(__GLEW_OES_extended_matrix_palette)
  13044. #endif /* !GL_OES_extended_matrix_palette && !GLEW_NO_ES*/
  13045. /* ------------------------ GL_OES_fbo_render_mipmap ----------------------- */
  13046. #if !defined(GL_OES_fbo_render_mipmap) && !defined(GLEW_NO_ES)
  13047. #define GL_OES_fbo_render_mipmap 1
  13048. #define GLEW_OES_fbo_render_mipmap GLEW_GET_VAR(__GLEW_OES_fbo_render_mipmap)
  13049. #endif /* !GL_OES_fbo_render_mipmap && !GLEW_NO_ES*/
  13050. /* --------------------- GL_OES_fragment_precision_high -------------------- */
  13051. #if !defined(GL_OES_fragment_precision_high) && !defined(GLEW_NO_ES)
  13052. #define GL_OES_fragment_precision_high 1
  13053. #define GLEW_OES_fragment_precision_high GLEW_GET_VAR(__GLEW_OES_fragment_precision_high)
  13054. #endif /* !GL_OES_fragment_precision_high && !GLEW_NO_ES*/
  13055. /* ----------------------- GL_OES_framebuffer_object ----------------------- */
  13056. #if !defined(GL_OES_framebuffer_object) && !defined(GLEW_NO_ES)
  13057. #define GL_OES_framebuffer_object 1
  13058. #define GL_NONE_OES 0
  13059. #define GL_INVALID_FRAMEBUFFER_OPERATION_OES 0x0506
  13060. #define GL_RGBA4_OES 0x8056
  13061. #define GL_RGB5_A1_OES 0x8057
  13062. #define GL_DEPTH_COMPONENT16_OES 0x81A5
  13063. #define GL_MAX_RENDERBUFFER_SIZE_OES 0x84E8
  13064. #define GL_FRAMEBUFFER_BINDING_OES 0x8CA6
  13065. #define GL_RENDERBUFFER_BINDING_OES 0x8CA7
  13066. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_TYPE_OES 0x8CD0
  13067. #define GL_FRAMEBUFFER_ATTACHMENT_OBJECT_NAME_OES 0x8CD1
  13068. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_LEVEL_OES 0x8CD2
  13069. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_CUBE_MAP_FACE_OES 0x8CD3
  13070. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
  13071. #define GL_FRAMEBUFFER_COMPLETE_OES 0x8CD5
  13072. #define GL_FRAMEBUFFER_INCOMPLETE_ATTACHMENT_OES 0x8CD6
  13073. #define GL_FRAMEBUFFER_INCOMPLETE_MISSING_ATTACHMENT_OES 0x8CD7
  13074. #define GL_FRAMEBUFFER_INCOMPLETE_DIMENSIONS_OES 0x8CD9
  13075. #define GL_FRAMEBUFFER_INCOMPLETE_FORMATS_OES 0x8CDA
  13076. #define GL_FRAMEBUFFER_INCOMPLETE_DRAW_BUFFER_OES 0x8CDB
  13077. #define GL_FRAMEBUFFER_INCOMPLETE_READ_BUFFER_OES 0x8CDC
  13078. #define GL_FRAMEBUFFER_UNSUPPORTED_OES 0x8CDD
  13079. #define GL_COLOR_ATTACHMENT0_OES 0x8CE0
  13080. #define GL_DEPTH_ATTACHMENT_OES 0x8D00
  13081. #define GL_STENCIL_ATTACHMENT_OES 0x8D20
  13082. #define GL_FRAMEBUFFER_OES 0x8D40
  13083. #define GL_RENDERBUFFER_OES 0x8D41
  13084. #define GL_RENDERBUFFER_WIDTH_OES 0x8D42
  13085. #define GL_RENDERBUFFER_HEIGHT_OES 0x8D43
  13086. #define GL_RENDERBUFFER_INTERNAL_FORMAT_OES 0x8D44
  13087. #define GL_STENCIL_INDEX1_OES 0x8D46
  13088. #define GL_STENCIL_INDEX4_OES 0x8D47
  13089. #define GL_STENCIL_INDEX8_OES 0x8D48
  13090. #define GL_RENDERBUFFER_RED_SIZE_OES 0x8D50
  13091. #define GL_RENDERBUFFER_GREEN_SIZE_OES 0x8D51
  13092. #define GL_RENDERBUFFER_BLUE_SIZE_OES 0x8D52
  13093. #define GL_RENDERBUFFER_ALPHA_SIZE_OES 0x8D53
  13094. #define GL_RENDERBUFFER_DEPTH_SIZE_OES 0x8D54
  13095. #define GL_RENDERBUFFER_STENCIL_SIZE_OES 0x8D55
  13096. #define GL_RGB565_OES 0x8D62
  13097. typedef void (GLAPIENTRY * PFNGLBINDFRAMEBUFFEROESPROC) (GLenum target, GLuint framebuffer);
  13098. typedef void (GLAPIENTRY * PFNGLBINDRENDERBUFFEROESPROC) (GLenum target, GLuint renderbuffer);
  13099. typedef GLenum (GLAPIENTRY * PFNGLCHECKFRAMEBUFFERSTATUSOESPROC) (GLenum target);
  13100. typedef void (GLAPIENTRY * PFNGLDELETEFRAMEBUFFERSOESPROC) (GLsizei n, const GLuint* framebuffers);
  13101. typedef void (GLAPIENTRY * PFNGLDELETERENDERBUFFERSOESPROC) (GLsizei n, const GLuint* renderbuffers);
  13102. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERRENDERBUFFEROESPROC) (GLenum target, GLenum attachment, GLenum renderbuffertarget, GLuint renderbuffer);
  13103. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE2DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level);
  13104. typedef void (GLAPIENTRY * PFNGLGENFRAMEBUFFERSOESPROC) (GLsizei n, GLuint* framebuffers);
  13105. typedef void (GLAPIENTRY * PFNGLGENRENDERBUFFERSOESPROC) (GLsizei n, GLuint* renderbuffers);
  13106. typedef void (GLAPIENTRY * PFNGLGENERATEMIPMAPOESPROC) (GLenum target);
  13107. typedef void (GLAPIENTRY * PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC) (GLenum target, GLenum attachment, GLenum pname, GLint* params);
  13108. typedef void (GLAPIENTRY * PFNGLGETRENDERBUFFERPARAMETERIVOESPROC) (GLenum target, GLenum pname, GLint* params);
  13109. typedef GLboolean (GLAPIENTRY * PFNGLISFRAMEBUFFEROESPROC) (GLuint framebuffer);
  13110. typedef GLboolean (GLAPIENTRY * PFNGLISRENDERBUFFEROESPROC) (GLuint renderbuffer);
  13111. typedef void (GLAPIENTRY * PFNGLRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLenum internalformat, GLsizei width, GLsizei height);
  13112. #define glBindFramebufferOES GLEW_GET_FUN(__glewBindFramebufferOES)
  13113. #define glBindRenderbufferOES GLEW_GET_FUN(__glewBindRenderbufferOES)
  13114. #define glCheckFramebufferStatusOES GLEW_GET_FUN(__glewCheckFramebufferStatusOES)
  13115. #define glDeleteFramebuffersOES GLEW_GET_FUN(__glewDeleteFramebuffersOES)
  13116. #define glDeleteRenderbuffersOES GLEW_GET_FUN(__glewDeleteRenderbuffersOES)
  13117. #define glFramebufferRenderbufferOES GLEW_GET_FUN(__glewFramebufferRenderbufferOES)
  13118. #define glFramebufferTexture2DOES GLEW_GET_FUN(__glewFramebufferTexture2DOES)
  13119. #define glGenFramebuffersOES GLEW_GET_FUN(__glewGenFramebuffersOES)
  13120. #define glGenRenderbuffersOES GLEW_GET_FUN(__glewGenRenderbuffersOES)
  13121. #define glGenerateMipmapOES GLEW_GET_FUN(__glewGenerateMipmapOES)
  13122. #define glGetFramebufferAttachmentParameterivOES GLEW_GET_FUN(__glewGetFramebufferAttachmentParameterivOES)
  13123. #define glGetRenderbufferParameterivOES GLEW_GET_FUN(__glewGetRenderbufferParameterivOES)
  13124. #define glIsFramebufferOES GLEW_GET_FUN(__glewIsFramebufferOES)
  13125. #define glIsRenderbufferOES GLEW_GET_FUN(__glewIsRenderbufferOES)
  13126. #define glRenderbufferStorageOES GLEW_GET_FUN(__glewRenderbufferStorageOES)
  13127. #define GLEW_OES_framebuffer_object GLEW_GET_VAR(__GLEW_OES_framebuffer_object)
  13128. #endif /* !GL_OES_framebuffer_object && !GLEW_NO_ES*/
  13129. /* ----------------------- GL_OES_get_program_binary ----------------------- */
  13130. #if !defined(GL_OES_get_program_binary) && !defined(GLEW_NO_ES)
  13131. #define GL_OES_get_program_binary 1
  13132. #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
  13133. #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
  13134. #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
  13135. typedef void (GLAPIENTRY * PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei* length, GLenum *binaryFormat, GLvoid*binary);
  13136. typedef void (GLAPIENTRY * PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void* binary, GLint length);
  13137. #define glGetProgramBinaryOES GLEW_GET_FUN(__glewGetProgramBinaryOES)
  13138. #define glProgramBinaryOES GLEW_GET_FUN(__glewProgramBinaryOES)
  13139. #define GLEW_OES_get_program_binary GLEW_GET_VAR(__GLEW_OES_get_program_binary)
  13140. #endif /* !GL_OES_get_program_binary && !GLEW_NO_ES*/
  13141. /* ---------------------------- GL_OES_mapbuffer --------------------------- */
  13142. #if !defined(GL_OES_mapbuffer) && !defined(GLEW_NO_ES)
  13143. #define GL_OES_mapbuffer 1
  13144. #define GL_WRITE_ONLY_OES 0x88B9
  13145. #define GL_BUFFER_ACCESS_OES 0x88BB
  13146. #define GL_BUFFER_MAPPED_OES 0x88BC
  13147. #define GL_BUFFER_MAP_POINTER_OES 0x88BD
  13148. typedef void (GLAPIENTRY * PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void** params);
  13149. typedef GLvoid * (GLAPIENTRY * PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
  13150. typedef GLboolean (GLAPIENTRY * PFNGLUNMAPBUFFEROESPROC) (GLenum target);
  13151. #define glGetBufferPointervOES GLEW_GET_FUN(__glewGetBufferPointervOES)
  13152. #define glMapBufferOES GLEW_GET_FUN(__glewMapBufferOES)
  13153. #define glUnmapBufferOES GLEW_GET_FUN(__glewUnmapBufferOES)
  13154. #define GLEW_OES_mapbuffer GLEW_GET_VAR(__GLEW_OES_mapbuffer)
  13155. #endif /* !GL_OES_mapbuffer && !GLEW_NO_ES*/
  13156. /* --------------------------- GL_OES_matrix_get --------------------------- */
  13157. #if !defined(GL_OES_matrix_get) && !defined(GLEW_NO_ES)
  13158. #define GL_OES_matrix_get 1
  13159. #define GL_PROJECTION_MATRIX_FLOAT_AS_INT_BITS_OES 0x898
  13160. #define GL_MODELVIEW_MATRIX_FLOAT_AS_INT_BITS_OES 0x898
  13161. #define GL_TEXTURE_MATRIX_FLOAT_AS_INT_BITS_OES 0x898
  13162. #define GLEW_OES_matrix_get GLEW_GET_VAR(__GLEW_OES_matrix_get)
  13163. #endif /* !GL_OES_matrix_get && !GLEW_NO_ES*/
  13164. /* ------------------------- GL_OES_matrix_palette ------------------------- */
  13165. #if !defined(GL_OES_matrix_palette) && !defined(GLEW_NO_ES)
  13166. #define GL_OES_matrix_palette 1
  13167. #define GL_MAX_VERTEX_UNITS_OES 0x86A4
  13168. #define GL_WEIGHT_ARRAY_TYPE_OES 0x86A9
  13169. #define GL_WEIGHT_ARRAY_STRIDE_OES 0x86AA
  13170. #define GL_WEIGHT_ARRAY_SIZE_OES 0x86AB
  13171. #define GL_WEIGHT_ARRAY_POINTER_OES 0x86AC
  13172. #define GL_WEIGHT_ARRAY_OES 0x86AD
  13173. #define GL_MATRIX_PALETTE_OES 0x8840
  13174. #define GL_MAX_PALETTE_MATRICES_OES 0x8842
  13175. #define GL_CURRENT_PALETTE_MATRIX_OES 0x8843
  13176. #define GL_MATRIX_INDEX_ARRAY_OES 0x8844
  13177. #define GL_MATRIX_INDEX_ARRAY_SIZE_OES 0x8846
  13178. #define GL_MATRIX_INDEX_ARRAY_TYPE_OES 0x8847
  13179. #define GL_MATRIX_INDEX_ARRAY_STRIDE_OES 0x8848
  13180. #define GL_MATRIX_INDEX_ARRAY_POINTER_OES 0x8849
  13181. #define GL_WEIGHT_ARRAY_BUFFER_BINDING_OES 0x889E
  13182. #define GL_MATRIX_INDEX_ARRAY_BUFFER_BINDING_OES 0x8B9E
  13183. typedef void (GLAPIENTRY * PFNGLCURRENTPALETTEMATRIXOESPROC) (GLuint index);
  13184. typedef void (GLAPIENTRY * PFNGLMATRIXINDEXPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, void* pointer);
  13185. typedef void (GLAPIENTRY * PFNGLWEIGHTPOINTEROESPROC) (GLint size, GLenum type, GLsizei stride, void* pointer);
  13186. #define glCurrentPaletteMatrixOES GLEW_GET_FUN(__glewCurrentPaletteMatrixOES)
  13187. #define glMatrixIndexPointerOES GLEW_GET_FUN(__glewMatrixIndexPointerOES)
  13188. #define glWeightPointerOES GLEW_GET_FUN(__glewWeightPointerOES)
  13189. #define GLEW_OES_matrix_palette GLEW_GET_VAR(__GLEW_OES_matrix_palette)
  13190. #endif /* !GL_OES_matrix_palette && !GLEW_NO_ES*/
  13191. /* ---------------------- GL_OES_packed_depth_stencil ---------------------- */
  13192. #if !defined(GL_OES_packed_depth_stencil) && !defined(GLEW_NO_ES)
  13193. #define GL_OES_packed_depth_stencil 1
  13194. #define GL_DEPTH_STENCIL_OES 0x84F9
  13195. #define GL_UNSIGNED_INT_24_8_OES 0x84FA
  13196. #define GL_DEPTH24_STENCIL8_OES 0x88F0
  13197. #define GLEW_OES_packed_depth_stencil GLEW_GET_VAR(__GLEW_OES_packed_depth_stencil)
  13198. #endif /* !GL_OES_packed_depth_stencil && !GLEW_NO_ES*/
  13199. /* ------------------------ GL_OES_point_size_array ------------------------ */
  13200. #if !defined(GL_OES_point_size_array) && !defined(GLEW_NO_ES)
  13201. #define GL_OES_point_size_array 1
  13202. #define GL_POINT_SIZE_ARRAY_TYPE_OES 0x898A
  13203. #define GL_POINT_SIZE_ARRAY_STRIDE_OES 0x898B
  13204. #define GL_POINT_SIZE_ARRAY_POINTER_OES 0x898C
  13205. #define GL_POINT_SIZE_ARRAY_OES 0x8B9C
  13206. #define GL_POINT_SIZE_ARRAY_BUFFER_BINDING_OES 0x8B9F
  13207. typedef void (GLAPIENTRY * PFNGLPOINTSIZEPOINTEROESPROC) (GLenum type, GLsizei stride, const void* ptr);
  13208. #define glPointSizePointerOES GLEW_GET_FUN(__glewPointSizePointerOES)
  13209. #define GLEW_OES_point_size_array GLEW_GET_VAR(__GLEW_OES_point_size_array)
  13210. #endif /* !GL_OES_point_size_array && !GLEW_NO_ES*/
  13211. /* -------------------------- GL_OES_point_sprite -------------------------- */
  13212. #if !defined(GL_OES_point_sprite) && !defined(GLEW_NO_ES)
  13213. #define GL_OES_point_sprite 1
  13214. #define GL_POINT_SPRITE_OES 0x8861
  13215. #define GL_COORD_REPLACE_OES 0x8862
  13216. #define GLEW_OES_point_sprite GLEW_GET_VAR(__GLEW_OES_point_sprite)
  13217. #endif /* !GL_OES_point_sprite && !GLEW_NO_ES*/
  13218. /* --------------------- GL_OES_required_internalformat -------------------- */
  13219. #if !defined(GL_OES_required_internalformat) && !defined(GLEW_NO_ES)
  13220. #define GL_OES_required_internalformat 1
  13221. #define GL_ALPHA8_OES 0x803C
  13222. #define GL_LUMINANCE8_OES 0x8040
  13223. #define GL_LUMINANCE4_ALPHA4_OES 0x8043
  13224. #define GL_LUMINANCE8_ALPHA8_OES 0x8045
  13225. #define GL_RGB8_OES 0x8051
  13226. #define GL_RGB10_EXT 0x8052
  13227. #define GL_RGBA4_OES 0x8056
  13228. #define GL_RGB5_A1_OES 0x8057
  13229. #define GL_RGBA8_OES 0x8058
  13230. #define GL_RGB10_A2_EXT 0x8059
  13231. #define GL_DEPTH_COMPONENT16_OES 0x81A5
  13232. #define GL_DEPTH_COMPONENT24_OES 0x81A6
  13233. #define GL_DEPTH_COMPONENT32_OES 0x81A7
  13234. #define GL_DEPTH24_STENCIL8_OES 0x88F0
  13235. #define GL_RGB565_OES 0x8D62
  13236. #define GLEW_OES_required_internalformat GLEW_GET_VAR(__GLEW_OES_required_internalformat)
  13237. #endif /* !GL_OES_required_internalformat && !GLEW_NO_ES*/
  13238. /* --------------------------- GL_OES_rgb8_rgba8 --------------------------- */
  13239. #if !defined(GL_OES_rgb8_rgba8) && !defined(GLEW_NO_ES)
  13240. #define GL_OES_rgb8_rgba8 1
  13241. #define GL_RGB8_OES 0x8051
  13242. #define GL_RGBA8_OES 0x8058
  13243. #define GLEW_OES_rgb8_rgba8 GLEW_GET_VAR(__GLEW_OES_rgb8_rgba8)
  13244. #endif /* !GL_OES_rgb8_rgba8 && !GLEW_NO_ES*/
  13245. /* ---------------------- GL_OES_standard_derivatives ---------------------- */
  13246. #if !defined(GL_OES_standard_derivatives) && !defined(GLEW_NO_ES)
  13247. #define GL_OES_standard_derivatives 1
  13248. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
  13249. #define GLEW_OES_standard_derivatives GLEW_GET_VAR(__GLEW_OES_standard_derivatives)
  13250. #endif /* !GL_OES_standard_derivatives && !GLEW_NO_ES*/
  13251. /* ---------------------------- GL_OES_stencil1 ---------------------------- */
  13252. #if !defined(GL_OES_stencil1) && !defined(GLEW_NO_ES)
  13253. #define GL_OES_stencil1 1
  13254. #define GL_STENCIL_INDEX1_OES 0x8D46
  13255. #define GLEW_OES_stencil1 GLEW_GET_VAR(__GLEW_OES_stencil1)
  13256. #endif /* !GL_OES_stencil1 && !GLEW_NO_ES*/
  13257. /* ---------------------------- GL_OES_stencil4 ---------------------------- */
  13258. #if !defined(GL_OES_stencil4) && !defined(GLEW_NO_ES)
  13259. #define GL_OES_stencil4 1
  13260. #define GL_STENCIL_INDEX4_OES 0x8D47
  13261. #define GLEW_OES_stencil4 GLEW_GET_VAR(__GLEW_OES_stencil4)
  13262. #endif /* !GL_OES_stencil4 && !GLEW_NO_ES*/
  13263. /* ---------------------------- GL_OES_stencil8 ---------------------------- */
  13264. #if !defined(GL_OES_stencil8) && !defined(GLEW_NO_ES)
  13265. #define GL_OES_stencil8 1
  13266. #define GL_STENCIL_INDEX8_OES 0x8D48
  13267. #define GLEW_OES_stencil8 GLEW_GET_VAR(__GLEW_OES_stencil8)
  13268. #endif /* !GL_OES_stencil8 && !GLEW_NO_ES*/
  13269. /* ----------------------- GL_OES_surfaceless_context ---------------------- */
  13270. #if !defined(GL_OES_surfaceless_context) && !defined(GLEW_NO_ES)
  13271. #define GL_OES_surfaceless_context 1
  13272. #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
  13273. #define GLEW_OES_surfaceless_context GLEW_GET_VAR(__GLEW_OES_surfaceless_context)
  13274. #endif /* !GL_OES_surfaceless_context && !GLEW_NO_ES*/
  13275. /* --------------------------- GL_OES_texture_3D --------------------------- */
  13276. #if !defined(GL_OES_texture_3D) && !defined(GLEW_NO_ES)
  13277. #define GL_OES_texture_3D 1
  13278. #define GL_TEXTURE_BINDING_3D_OES 0x806A
  13279. #define GL_TEXTURE_3D_OES 0x806F
  13280. #define GL_TEXTURE_WRAP_R_OES 0x8072
  13281. #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
  13282. #define GL_SAMPLER_3D_OES 0x8B5F
  13283. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void* data);
  13284. typedef void (GLAPIENTRY * PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void* data);
  13285. typedef void (GLAPIENTRY * PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  13286. typedef void (GLAPIENTRY * PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  13287. typedef void (GLAPIENTRY * PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalFormat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void* pixels);
  13288. typedef void (GLAPIENTRY * PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void* pixels);
  13289. #define glCompressedTexImage3DOES GLEW_GET_FUN(__glewCompressedTexImage3DOES)
  13290. #define glCompressedTexSubImage3DOES GLEW_GET_FUN(__glewCompressedTexSubImage3DOES)
  13291. #define glCopyTexSubImage3DOES GLEW_GET_FUN(__glewCopyTexSubImage3DOES)
  13292. #define glFramebufferTexture3DOES GLEW_GET_FUN(__glewFramebufferTexture3DOES)
  13293. #define glTexImage3DOES GLEW_GET_FUN(__glewTexImage3DOES)
  13294. #define glTexSubImage3DOES GLEW_GET_FUN(__glewTexSubImage3DOES)
  13295. #define GLEW_OES_texture_3D GLEW_GET_VAR(__GLEW_OES_texture_3D)
  13296. #endif /* !GL_OES_texture_3D && !GLEW_NO_ES*/
  13297. /* ------------------------ GL_OES_texture_cube_map ------------------------ */
  13298. #if !defined(GL_OES_texture_cube_map) && !defined(GLEW_NO_ES)
  13299. #define GL_OES_texture_cube_map 1
  13300. #define GL_TEXTURE_GEN_MODE_OES 0x2500
  13301. #define GL_NORMAL_MAP_OES 0x8511
  13302. #define GL_REFLECTION_MAP_OES 0x8512
  13303. #define GL_TEXTURE_CUBE_MAP_OES 0x8513
  13304. #define GL_TEXTURE_BINDING_CUBE_MAP_OES 0x8514
  13305. #define GL_TEXTURE_CUBE_MAP_POSITIVE_X_OES 0x8515
  13306. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_X_OES 0x8516
  13307. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Y_OES 0x8517
  13308. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Y_OES 0x8518
  13309. #define GL_TEXTURE_CUBE_MAP_POSITIVE_Z_OES 0x8519
  13310. #define GL_TEXTURE_CUBE_MAP_NEGATIVE_Z_OES 0x851A
  13311. #define GL_MAX_CUBE_MAP_TEXTURE_SIZE_OES 0x851C
  13312. #define GL_TEXTURE_GEN_STR_OES 0x8D60
  13313. typedef void (GLAPIENTRY * PFNGLGETTEXGENFVOESPROC) (GLenum coord, GLenum pname, GLfloat* params);
  13314. typedef void (GLAPIENTRY * PFNGLGETTEXGENIVOESPROC) (GLenum coord, GLenum pname, GLint* params);
  13315. typedef void (GLAPIENTRY * PFNGLGETTEXGENXVOESPROC) (GLenum coord, GLenum pname, GLfixed* params);
  13316. typedef void (GLAPIENTRY * PFNGLTEXGENFOESPROC) (GLenum coord, GLenum pname, GLfloat param);
  13317. typedef void (GLAPIENTRY * PFNGLTEXGENFVOESPROC) (GLenum coord, GLenum pname, const GLfloat* params);
  13318. typedef void (GLAPIENTRY * PFNGLTEXGENIOESPROC) (GLenum coord, GLenum pname, GLint param);
  13319. typedef void (GLAPIENTRY * PFNGLTEXGENIVOESPROC) (GLenum coord, GLenum pname, const GLint* params);
  13320. typedef void (GLAPIENTRY * PFNGLTEXGENXOESPROC) (GLenum coord, GLenum pname, GLfixed param);
  13321. typedef void (GLAPIENTRY * PFNGLTEXGENXVOESPROC) (GLenum coord, GLenum pname, const GLfixed* params);
  13322. #define glGetTexGenfvOES GLEW_GET_FUN(__glewGetTexGenfvOES)
  13323. #define glGetTexGenivOES GLEW_GET_FUN(__glewGetTexGenivOES)
  13324. #define glGetTexGenxvOES GLEW_GET_FUN(__glewGetTexGenxvOES)
  13325. #define glTexGenfOES GLEW_GET_FUN(__glewTexGenfOES)
  13326. #define glTexGenfvOES GLEW_GET_FUN(__glewTexGenfvOES)
  13327. #define glTexGeniOES GLEW_GET_FUN(__glewTexGeniOES)
  13328. #define glTexGenivOES GLEW_GET_FUN(__glewTexGenivOES)
  13329. #define glTexGenxOES GLEW_GET_FUN(__glewTexGenxOES)
  13330. #define glTexGenxvOES GLEW_GET_FUN(__glewTexGenxvOES)
  13331. #define GLEW_OES_texture_cube_map GLEW_GET_VAR(__GLEW_OES_texture_cube_map)
  13332. #endif /* !GL_OES_texture_cube_map && !GLEW_NO_ES*/
  13333. /* ---------------------- GL_OES_texture_env_crossbar ---------------------- */
  13334. #if !defined(GL_OES_texture_env_crossbar) && !defined(GLEW_NO_ES)
  13335. #define GL_OES_texture_env_crossbar 1
  13336. #define GLEW_OES_texture_env_crossbar GLEW_GET_VAR(__GLEW_OES_texture_env_crossbar)
  13337. #endif /* !GL_OES_texture_env_crossbar && !GLEW_NO_ES*/
  13338. /* --------------------- GL_OES_texture_mirrored_repeat -------------------- */
  13339. #if !defined(GL_OES_texture_mirrored_repeat) && !defined(GLEW_NO_ES)
  13340. #define GL_OES_texture_mirrored_repeat 1
  13341. #define GL_MIRRORED_REPEAT 0x8370
  13342. #define GLEW_OES_texture_mirrored_repeat GLEW_GET_VAR(__GLEW_OES_texture_mirrored_repeat)
  13343. #endif /* !GL_OES_texture_mirrored_repeat && !GLEW_NO_ES*/
  13344. /* -------------------------- GL_OES_texture_npot -------------------------- */
  13345. #if !defined(GL_OES_texture_npot) && !defined(GLEW_NO_ES)
  13346. #define GL_OES_texture_npot 1
  13347. #define GLEW_OES_texture_npot GLEW_GET_VAR(__GLEW_OES_texture_npot)
  13348. #endif /* !GL_OES_texture_npot && !GLEW_NO_ES*/
  13349. /* ----------------------- GL_OES_vertex_array_object ---------------------- */
  13350. #if !defined(GL_OES_vertex_array_object) && !defined(GLEW_NO_ES)
  13351. #define GL_OES_vertex_array_object 1
  13352. #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
  13353. typedef void (GLAPIENTRY * PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
  13354. typedef void (GLAPIENTRY * PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint* arrays);
  13355. typedef void (GLAPIENTRY * PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint* arrays);
  13356. typedef GLboolean (GLAPIENTRY * PFNGLISVERTEXARRAYOESPROC) (GLuint array);
  13357. #define glBindVertexArrayOES GLEW_GET_FUN(__glewBindVertexArrayOES)
  13358. #define glDeleteVertexArraysOES GLEW_GET_FUN(__glewDeleteVertexArraysOES)
  13359. #define glGenVertexArraysOES GLEW_GET_FUN(__glewGenVertexArraysOES)
  13360. #define glIsVertexArrayOES GLEW_GET_FUN(__glewIsVertexArrayOES)
  13361. #define GLEW_OES_vertex_array_object GLEW_GET_VAR(__GLEW_OES_vertex_array_object)
  13362. #endif /* !GL_OES_vertex_array_object && !GLEW_NO_ES*/
  13363. /* ------------------------ GL_OES_vertex_half_float ----------------------- */
  13364. #if !defined(GL_OES_vertex_half_float) && !defined(GLEW_NO_ES)
  13365. #define GL_OES_vertex_half_float 1
  13366. #define GL_HALF_FLOAT_OES 0x8D61
  13367. #define GLEW_OES_vertex_half_float GLEW_GET_VAR(__GLEW_OES_vertex_half_float)
  13368. #endif /* !GL_OES_vertex_half_float && !GLEW_NO_ES*/
  13369. /* --------------------- GL_OES_vertex_type_10_10_10_2 --------------------- */
  13370. #if !defined(GL_OES_vertex_type_10_10_10_2) && !defined(GLEW_NO_ES)
  13371. #define GL_OES_vertex_type_10_10_10_2 1
  13372. #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
  13373. #define GL_INT_10_10_10_2_OES 0x8DF7
  13374. #define GLEW_OES_vertex_type_10_10_10_2 GLEW_GET_VAR(__GLEW_OES_vertex_type_10_10_10_2)
  13375. #endif /* !GL_OES_vertex_type_10_10_10_2 && !GLEW_NO_ES*/
  13376. /* --------------------------- GL_QCOM_alpha_test -------------------------- */
  13377. #if !defined(GL_QCOM_alpha_test) && !defined(GLEW_NO_ES)
  13378. #define GL_QCOM_alpha_test 1
  13379. #define GL_ALPHA_TEST_QCOM 0x0BC0
  13380. #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
  13381. #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
  13382. typedef void (GLAPIENTRY * PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
  13383. #define glAlphaFuncQCOM GLEW_GET_FUN(__glewAlphaFuncQCOM)
  13384. #define GLEW_QCOM_alpha_test GLEW_GET_VAR(__GLEW_QCOM_alpha_test)
  13385. #endif /* !GL_QCOM_alpha_test && !GLEW_NO_ES*/
  13386. /* ------------------------ GL_QCOM_binning_control ------------------------ */
  13387. #if !defined(GL_QCOM_binning_control) && !defined(GLEW_NO_ES)
  13388. #define GL_QCOM_binning_control 1
  13389. #define GL_DONT_CARE 0x1100
  13390. #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
  13391. #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
  13392. #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
  13393. #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
  13394. #define GLEW_QCOM_binning_control GLEW_GET_VAR(__GLEW_QCOM_binning_control)
  13395. #endif /* !GL_QCOM_binning_control && !GLEW_NO_ES*/
  13396. /* ------------------------- GL_QCOM_driver_control ------------------------ */
  13397. #if !defined(GL_QCOM_driver_control) && !defined(GLEW_NO_ES)
  13398. #define GL_QCOM_driver_control 1
  13399. typedef void (GLAPIENTRY * PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  13400. typedef void (GLAPIENTRY * PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  13401. typedef void (GLAPIENTRY * PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei* length, char *driverControlString);
  13402. typedef void (GLAPIENTRY * PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint* num, GLsizei size, GLuint *driverControls);
  13403. #define glDisableDriverControlQCOM GLEW_GET_FUN(__glewDisableDriverControlQCOM)
  13404. #define glEnableDriverControlQCOM GLEW_GET_FUN(__glewEnableDriverControlQCOM)
  13405. #define glGetDriverControlStringQCOM GLEW_GET_FUN(__glewGetDriverControlStringQCOM)
  13406. #define glGetDriverControlsQCOM GLEW_GET_FUN(__glewGetDriverControlsQCOM)
  13407. #define GLEW_QCOM_driver_control GLEW_GET_VAR(__GLEW_QCOM_driver_control)
  13408. #endif /* !GL_QCOM_driver_control && !GLEW_NO_ES*/
  13409. /* -------------------------- GL_QCOM_extended_get ------------------------- */
  13410. #if !defined(GL_QCOM_extended_get) && !defined(GLEW_NO_ES)
  13411. #define GL_QCOM_extended_get 1
  13412. #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
  13413. #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
  13414. #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
  13415. #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
  13416. #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
  13417. #define GL_TEXTURE_TYPE_QCOM 0x8BD7
  13418. #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
  13419. #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
  13420. #define GL_TEXTURE_TARGET_QCOM 0x8BDA
  13421. #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
  13422. #define GL_STATE_RESTORE 0x8BDC
  13423. typedef void (GLAPIENTRY * PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, GLvoid** params);
  13424. typedef void (GLAPIENTRY * PFNGLEXTGETBUFFERSQCOMPROC) (GLuint* buffers, GLint maxBuffers, GLint* numBuffers);
  13425. typedef void (GLAPIENTRY * PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint* framebuffers, GLint maxFramebuffers, GLint* numFramebuffers);
  13426. typedef void (GLAPIENTRY * PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint* renderbuffers, GLint maxRenderbuffers, GLint* numRenderbuffers);
  13427. typedef void (GLAPIENTRY * PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint* params);
  13428. typedef void (GLAPIENTRY * PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void* texels);
  13429. typedef void (GLAPIENTRY * PFNGLEXTGETTEXTURESQCOMPROC) (GLuint* textures, GLint maxTextures, GLint* numTextures);
  13430. typedef void (GLAPIENTRY * PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
  13431. #define glExtGetBufferPointervQCOM GLEW_GET_FUN(__glewExtGetBufferPointervQCOM)
  13432. #define glExtGetBuffersQCOM GLEW_GET_FUN(__glewExtGetBuffersQCOM)
  13433. #define glExtGetFramebuffersQCOM GLEW_GET_FUN(__glewExtGetFramebuffersQCOM)
  13434. #define glExtGetRenderbuffersQCOM GLEW_GET_FUN(__glewExtGetRenderbuffersQCOM)
  13435. #define glExtGetTexLevelParameterivQCOM GLEW_GET_FUN(__glewExtGetTexLevelParameterivQCOM)
  13436. #define glExtGetTexSubImageQCOM GLEW_GET_FUN(__glewExtGetTexSubImageQCOM)
  13437. #define glExtGetTexturesQCOM GLEW_GET_FUN(__glewExtGetTexturesQCOM)
  13438. #define glExtTexObjectStateOverrideiQCOM GLEW_GET_FUN(__glewExtTexObjectStateOverrideiQCOM)
  13439. #define GLEW_QCOM_extended_get GLEW_GET_VAR(__GLEW_QCOM_extended_get)
  13440. #endif /* !GL_QCOM_extended_get && !GLEW_NO_ES*/
  13441. /* ------------------------- GL_QCOM_extended_get2 ------------------------- */
  13442. #if !defined(GL_QCOM_extended_get2) && !defined(GLEW_NO_ES)
  13443. #define GL_QCOM_extended_get2 1
  13444. typedef void (GLAPIENTRY * PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, char* source, GLint* length);
  13445. typedef void (GLAPIENTRY * PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint* programs, GLint maxPrograms, GLint* numPrograms);
  13446. typedef void (GLAPIENTRY * PFNGLEXTGETSHADERSQCOMPROC) (GLuint* shaders, GLint maxShaders, GLint* numShaders);
  13447. typedef GLboolean (GLAPIENTRY * PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
  13448. #define glExtGetProgramBinarySourceQCOM GLEW_GET_FUN(__glewExtGetProgramBinarySourceQCOM)
  13449. #define glExtGetProgramsQCOM GLEW_GET_FUN(__glewExtGetProgramsQCOM)
  13450. #define glExtGetShadersQCOM GLEW_GET_FUN(__glewExtGetShadersQCOM)
  13451. #define glExtIsProgramBinaryQCOM GLEW_GET_FUN(__glewExtIsProgramBinaryQCOM)
  13452. #define GLEW_QCOM_extended_get2 GLEW_GET_VAR(__GLEW_QCOM_extended_get2)
  13453. #endif /* !GL_QCOM_extended_get2 && !GLEW_NO_ES*/
  13454. /* ---------------------- GL_QCOM_perfmon_global_mode ---------------------- */
  13455. #if !defined(GL_QCOM_perfmon_global_mode) && !defined(GLEW_NO_ES)
  13456. #define GL_QCOM_perfmon_global_mode 1
  13457. #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
  13458. #define GLEW_QCOM_perfmon_global_mode GLEW_GET_VAR(__GLEW_QCOM_perfmon_global_mode)
  13459. #endif /* !GL_QCOM_perfmon_global_mode && !GLEW_NO_ES*/
  13460. /* ------------------------ GL_QCOM_tiled_rendering ------------------------ */
  13461. #if !defined(GL_QCOM_tiled_rendering) && !defined(GLEW_NO_ES)
  13462. #define GL_QCOM_tiled_rendering 1
  13463. #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
  13464. #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
  13465. #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
  13466. #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
  13467. #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
  13468. #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
  13469. #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
  13470. #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
  13471. #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
  13472. #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
  13473. #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
  13474. #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
  13475. #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
  13476. #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
  13477. #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
  13478. #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
  13479. #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
  13480. #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
  13481. #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
  13482. #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
  13483. #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
  13484. #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
  13485. #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
  13486. #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
  13487. #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
  13488. #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
  13489. #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
  13490. #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
  13491. #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
  13492. #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
  13493. #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
  13494. #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
  13495. typedef void (GLAPIENTRY * PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
  13496. typedef void (GLAPIENTRY * PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
  13497. #define glEndTilingQCOM GLEW_GET_FUN(__glewEndTilingQCOM)
  13498. #define glStartTilingQCOM GLEW_GET_FUN(__glewStartTilingQCOM)
  13499. #define GLEW_QCOM_tiled_rendering GLEW_GET_VAR(__GLEW_QCOM_tiled_rendering)
  13500. #endif /* !GL_QCOM_tiled_rendering && !GLEW_NO_ES*/
  13501. /* ---------------------- GL_QCOM_writeonly_rendering ---------------------- */
  13502. #if !defined(GL_QCOM_writeonly_rendering) && !defined(GLEW_NO_ES)
  13503. #define GL_QCOM_writeonly_rendering 1
  13504. #define GL_WRITEONLY_RENDERING_QCOM 0x8823
  13505. #define GLEW_QCOM_writeonly_rendering GLEW_GET_VAR(__GLEW_QCOM_writeonly_rendering)
  13506. #endif /* !GL_QCOM_writeonly_rendering && !GLEW_NO_ES*/
  13507. /* ------------------------ GL_SUN_multi_draw_arrays ----------------------- */
  13508. #if !defined(GL_SUN_multi_draw_arrays) && !defined(GLEW_NO_ES)
  13509. #define GL_SUN_multi_draw_arrays 1
  13510. typedef void (GLAPIENTRY * PFNGLMULTIDRAWARRAYSSUNPROC) (GLenum mode, const GLint* first, const GLsizei *count, GLsizei primcount);
  13511. typedef void (GLAPIENTRY * PFNGLMULTIDRAWELEMENTSSUNPROC) (GLenum mode, GLsizei* count, GLenum type, const GLvoid **indices, GLsizei primcount);
  13512. #define glMultiDrawArraysSUN GLEW_GET_FUN(__glewMultiDrawArraysSUN)
  13513. #define glMultiDrawElementsSUN GLEW_GET_FUN(__glewMultiDrawElementsSUN)
  13514. #define GLEW_SUN_multi_draw_arrays GLEW_GET_VAR(__GLEW_SUN_multi_draw_arrays)
  13515. #endif /* !GL_SUN_multi_draw_arrays && !GLEW_NO_ES*/
  13516. /* --------------------------- GL_VG_KHR_EGL_sync -------------------------- */
  13517. #if !defined(GL_VG_KHR_EGL_sync) && !defined(GLEW_NO_ES)
  13518. #define GL_VG_KHR_EGL_sync 1
  13519. #define GLEW_VG_KHR_EGL_sync GLEW_GET_VAR(__GLEW_VG_KHR_EGL_sync)
  13520. #endif /* !GL_VG_KHR_EGL_sync && !GLEW_NO_ES*/
  13521. /* -------------------------- GL_VIV_shader_binary ------------------------- */
  13522. #if !defined(GL_VIV_shader_binary) && !defined(GLEW_NO_ES)
  13523. #define GL_VIV_shader_binary 1
  13524. #define GL_SHADER_BINARY_VIV 0x8FC4
  13525. #define GLEW_VIV_shader_binary GLEW_GET_VAR(__GLEW_VIV_shader_binary)
  13526. #endif /* !GL_VIV_shader_binary && !GLEW_NO_ES*/
  13527. /* ------------------------------------------------------------------------- */
  13528. #if defined(GLEW_MX) && defined(_WIN32)
  13529. #define GLEW_FUN_EXPORT
  13530. #else
  13531. #define GLEW_FUN_EXPORT GLEWAPI
  13532. #endif /* GLEW_MX */
  13533. #if defined(GLEW_MX)
  13534. #define GLEW_VAR_EXPORT
  13535. #else
  13536. #define GLEW_VAR_EXPORT GLEWAPI
  13537. #endif /* GLEW_MX */
  13538. #if defined(GLEW_MX) && defined(_WIN32)
  13539. struct GLEWContextStruct
  13540. {
  13541. #endif /* GLEW_MX */
  13542. GLEW_FUN_EXPORT PFNGLACCUMPROC __glewAccum;
  13543. GLEW_FUN_EXPORT PFNGLARETEXTURESRESIDENTPROC __glewAreTexturesResident;
  13544. GLEW_FUN_EXPORT PFNGLARRAYELEMENTPROC __glewArrayElement;
  13545. GLEW_FUN_EXPORT PFNGLBEGINPROC __glewBegin;
  13546. GLEW_FUN_EXPORT PFNGLBITMAPPROC __glewBitmap;
  13547. GLEW_FUN_EXPORT PFNGLCALLLISTPROC __glewCallList;
  13548. GLEW_FUN_EXPORT PFNGLCALLLISTSPROC __glewCallLists;
  13549. GLEW_FUN_EXPORT PFNGLCLEARACCUMPROC __glewClearAccum;
  13550. GLEW_FUN_EXPORT PFNGLCLEARDEPTHPROC __glewClearDepth;
  13551. GLEW_FUN_EXPORT PFNGLCLEARINDEXPROC __glewClearIndex;
  13552. GLEW_FUN_EXPORT PFNGLCLIPPLANEPROC __glewClipPlane;
  13553. GLEW_FUN_EXPORT PFNGLCOLOR3BPROC __glewColor3b;
  13554. GLEW_FUN_EXPORT PFNGLCOLOR3BVPROC __glewColor3bv;
  13555. GLEW_FUN_EXPORT PFNGLCOLOR3DPROC __glewColor3d;
  13556. GLEW_FUN_EXPORT PFNGLCOLOR3DVPROC __glewColor3dv;
  13557. GLEW_FUN_EXPORT PFNGLCOLOR3FPROC __glewColor3f;
  13558. GLEW_FUN_EXPORT PFNGLCOLOR3FVPROC __glewColor3fv;
  13559. GLEW_FUN_EXPORT PFNGLCOLOR3IPROC __glewColor3i;
  13560. GLEW_FUN_EXPORT PFNGLCOLOR3IVPROC __glewColor3iv;
  13561. GLEW_FUN_EXPORT PFNGLCOLOR3SPROC __glewColor3s;
  13562. GLEW_FUN_EXPORT PFNGLCOLOR3SVPROC __glewColor3sv;
  13563. GLEW_FUN_EXPORT PFNGLCOLOR3UBPROC __glewColor3ub;
  13564. GLEW_FUN_EXPORT PFNGLCOLOR3UBVPROC __glewColor3ubv;
  13565. GLEW_FUN_EXPORT PFNGLCOLOR3UIPROC __glewColor3ui;
  13566. GLEW_FUN_EXPORT PFNGLCOLOR3UIVPROC __glewColor3uiv;
  13567. GLEW_FUN_EXPORT PFNGLCOLOR3USPROC __glewColor3us;
  13568. GLEW_FUN_EXPORT PFNGLCOLOR3USVPROC __glewColor3usv;
  13569. GLEW_FUN_EXPORT PFNGLCOLOR4BPROC __glewColor4b;
  13570. GLEW_FUN_EXPORT PFNGLCOLOR4BVPROC __glewColor4bv;
  13571. GLEW_FUN_EXPORT PFNGLCOLOR4DPROC __glewColor4d;
  13572. GLEW_FUN_EXPORT PFNGLCOLOR4DVPROC __glewColor4dv;
  13573. GLEW_FUN_EXPORT PFNGLCOLOR4FVPROC __glewColor4fv;
  13574. GLEW_FUN_EXPORT PFNGLCOLOR4IPROC __glewColor4i;
  13575. GLEW_FUN_EXPORT PFNGLCOLOR4IVPROC __glewColor4iv;
  13576. GLEW_FUN_EXPORT PFNGLCOLOR4SPROC __glewColor4s;
  13577. GLEW_FUN_EXPORT PFNGLCOLOR4SVPROC __glewColor4sv;
  13578. GLEW_FUN_EXPORT PFNGLCOLOR4UBPROC __glewColor4ub;
  13579. GLEW_FUN_EXPORT PFNGLCOLOR4UBVPROC __glewColor4ubv;
  13580. GLEW_FUN_EXPORT PFNGLCOLOR4UIPROC __glewColor4ui;
  13581. GLEW_FUN_EXPORT PFNGLCOLOR4UIVPROC __glewColor4uiv;
  13582. GLEW_FUN_EXPORT PFNGLCOLOR4USPROC __glewColor4us;
  13583. GLEW_FUN_EXPORT PFNGLCOLOR4USVPROC __glewColor4usv;
  13584. GLEW_FUN_EXPORT PFNGLCOLORMATERIALPROC __glewColorMaterial;
  13585. GLEW_FUN_EXPORT PFNGLCOPYPIXELSPROC __glewCopyPixels;
  13586. GLEW_FUN_EXPORT PFNGLCOPYTEXIMAGE1DPROC __glewCopyTexImage1D;
  13587. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE1DPROC __glewCopyTexSubImage1D;
  13588. GLEW_FUN_EXPORT PFNGLDELETELISTSPROC __glewDeleteLists;
  13589. GLEW_FUN_EXPORT PFNGLDEPTHRANGEPROC __glewDepthRange;
  13590. GLEW_FUN_EXPORT PFNGLDRAWBUFFERPROC __glewDrawBuffer;
  13591. GLEW_FUN_EXPORT PFNGLDRAWPIXELSPROC __glewDrawPixels;
  13592. GLEW_FUN_EXPORT PFNGLEDGEFLAGPROC __glewEdgeFlag;
  13593. GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTERPROC __glewEdgeFlagPointer;
  13594. GLEW_FUN_EXPORT PFNGLEDGEFLAGVPROC __glewEdgeFlagv;
  13595. GLEW_FUN_EXPORT PFNGLENDPROC __glewEnd;
  13596. GLEW_FUN_EXPORT PFNGLENDLISTPROC __glewEndList;
  13597. GLEW_FUN_EXPORT PFNGLEVALCOORD1DPROC __glewEvalCoord1d;
  13598. GLEW_FUN_EXPORT PFNGLEVALCOORD1DVPROC __glewEvalCoord1dv;
  13599. GLEW_FUN_EXPORT PFNGLEVALCOORD1FPROC __glewEvalCoord1f;
  13600. GLEW_FUN_EXPORT PFNGLEVALCOORD1FVPROC __glewEvalCoord1fv;
  13601. GLEW_FUN_EXPORT PFNGLEVALCOORD2DPROC __glewEvalCoord2d;
  13602. GLEW_FUN_EXPORT PFNGLEVALCOORD2DVPROC __glewEvalCoord2dv;
  13603. GLEW_FUN_EXPORT PFNGLEVALCOORD2FPROC __glewEvalCoord2f;
  13604. GLEW_FUN_EXPORT PFNGLEVALCOORD2FVPROC __glewEvalCoord2fv;
  13605. GLEW_FUN_EXPORT PFNGLEVALMESH1PROC __glewEvalMesh1;
  13606. GLEW_FUN_EXPORT PFNGLEVALMESH2PROC __glewEvalMesh2;
  13607. GLEW_FUN_EXPORT PFNGLEVALPOINT1PROC __glewEvalPoint1;
  13608. GLEW_FUN_EXPORT PFNGLEVALPOINT2PROC __glewEvalPoint2;
  13609. GLEW_FUN_EXPORT PFNGLFEEDBACKBUFFERPROC __glewFeedbackBuffer;
  13610. GLEW_FUN_EXPORT PFNGLFOGIPROC __glewFogi;
  13611. GLEW_FUN_EXPORT PFNGLFOGIVPROC __glewFogiv;
  13612. GLEW_FUN_EXPORT PFNGLFRUSTUMPROC __glewFrustum;
  13613. GLEW_FUN_EXPORT PFNGLGENLISTSPROC __glewGenLists;
  13614. GLEW_FUN_EXPORT PFNGLGETBOOLEANVPROC __glewGetBooleanv;
  13615. GLEW_FUN_EXPORT PFNGLGETCLIPPLANEPROC __glewGetClipPlane;
  13616. GLEW_FUN_EXPORT PFNGLGETDOUBLEVPROC __glewGetDoublev;
  13617. GLEW_FUN_EXPORT PFNGLGETFLOATVPROC __glewGetFloatv;
  13618. GLEW_FUN_EXPORT PFNGLGETLIGHTFVPROC __glewGetLightfv;
  13619. GLEW_FUN_EXPORT PFNGLGETLIGHTIVPROC __glewGetLightiv;
  13620. GLEW_FUN_EXPORT PFNGLGETMAPDVPROC __glewGetMapdv;
  13621. GLEW_FUN_EXPORT PFNGLGETMAPFVPROC __glewGetMapfv;
  13622. GLEW_FUN_EXPORT PFNGLGETMAPIVPROC __glewGetMapiv;
  13623. GLEW_FUN_EXPORT PFNGLGETMATERIALFVPROC __glewGetMaterialfv;
  13624. GLEW_FUN_EXPORT PFNGLGETMATERIALIVPROC __glewGetMaterialiv;
  13625. GLEW_FUN_EXPORT PFNGLGETPIXELMAPFVPROC __glewGetPixelMapfv;
  13626. GLEW_FUN_EXPORT PFNGLGETPIXELMAPUIVPROC __glewGetPixelMapuiv;
  13627. GLEW_FUN_EXPORT PFNGLGETPIXELMAPUSVPROC __glewGetPixelMapusv;
  13628. GLEW_FUN_EXPORT PFNGLGETPOINTERVPROC __glewGetPointerv;
  13629. GLEW_FUN_EXPORT PFNGLGETPOLYGONSTIPPLEPROC __glewGetPolygonStipple;
  13630. GLEW_FUN_EXPORT PFNGLGETTEXENVFVPROC __glewGetTexEnvfv;
  13631. GLEW_FUN_EXPORT PFNGLGETTEXENVIVPROC __glewGetTexEnviv;
  13632. GLEW_FUN_EXPORT PFNGLGETTEXGENDVPROC __glewGetTexGendv;
  13633. GLEW_FUN_EXPORT PFNGLGETTEXGENFVPROC __glewGetTexGenfv;
  13634. GLEW_FUN_EXPORT PFNGLGETTEXGENIVPROC __glewGetTexGeniv;
  13635. GLEW_FUN_EXPORT PFNGLGETTEXIMAGEPROC __glewGetTexImage;
  13636. GLEW_FUN_EXPORT PFNGLGETTEXLEVELPARAMETERFVPROC __glewGetTexLevelParameterfv;
  13637. GLEW_FUN_EXPORT PFNGLGETTEXLEVELPARAMETERIVPROC __glewGetTexLevelParameteriv;
  13638. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERFVPROC __glewGetTexParameterfv;
  13639. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIVPROC __glewGetTexParameteriv;
  13640. GLEW_FUN_EXPORT PFNGLINDEXMASKPROC __glewIndexMask;
  13641. GLEW_FUN_EXPORT PFNGLINDEXPOINTERPROC __glewIndexPointer;
  13642. GLEW_FUN_EXPORT PFNGLINDEXDPROC __glewIndexd;
  13643. GLEW_FUN_EXPORT PFNGLINDEXDVPROC __glewIndexdv;
  13644. GLEW_FUN_EXPORT PFNGLINDEXFPROC __glewIndexf;
  13645. GLEW_FUN_EXPORT PFNGLINDEXFVPROC __glewIndexfv;
  13646. GLEW_FUN_EXPORT PFNGLINDEXIPROC __glewIndexi;
  13647. GLEW_FUN_EXPORT PFNGLINDEXIVPROC __glewIndexiv;
  13648. GLEW_FUN_EXPORT PFNGLINDEXSPROC __glewIndexs;
  13649. GLEW_FUN_EXPORT PFNGLINDEXSVPROC __glewIndexsv;
  13650. GLEW_FUN_EXPORT PFNGLINDEXUBPROC __glewIndexub;
  13651. GLEW_FUN_EXPORT PFNGLINDEXUBVPROC __glewIndexubv;
  13652. GLEW_FUN_EXPORT PFNGLINITNAMESPROC __glewInitNames;
  13653. GLEW_FUN_EXPORT PFNGLINTERLEAVEDARRAYSPROC __glewInterleavedArrays;
  13654. GLEW_FUN_EXPORT PFNGLISENABLEDPROC __glewIsEnabled;
  13655. GLEW_FUN_EXPORT PFNGLISLISTPROC __glewIsList;
  13656. GLEW_FUN_EXPORT PFNGLISTEXTUREPROC __glewIsTexture;
  13657. GLEW_FUN_EXPORT PFNGLLIGHTMODELIPROC __glewLightModeli;
  13658. GLEW_FUN_EXPORT PFNGLLIGHTMODELIVPROC __glewLightModeliv;
  13659. GLEW_FUN_EXPORT PFNGLLIGHTIPROC __glewLighti;
  13660. GLEW_FUN_EXPORT PFNGLLIGHTIVPROC __glewLightiv;
  13661. GLEW_FUN_EXPORT PFNGLLINESTIPPLEPROC __glewLineStipple;
  13662. GLEW_FUN_EXPORT PFNGLLISTBASEPROC __glewListBase;
  13663. GLEW_FUN_EXPORT PFNGLLOADMATRIXDPROC __glewLoadMatrixd;
  13664. GLEW_FUN_EXPORT PFNGLLOADNAMEPROC __glewLoadName;
  13665. GLEW_FUN_EXPORT PFNGLMAP1DPROC __glewMap1d;
  13666. GLEW_FUN_EXPORT PFNGLMAP1FPROC __glewMap1f;
  13667. GLEW_FUN_EXPORT PFNGLMAP2DPROC __glewMap2d;
  13668. GLEW_FUN_EXPORT PFNGLMAP2FPROC __glewMap2f;
  13669. GLEW_FUN_EXPORT PFNGLMAPGRID1DPROC __glewMapGrid1d;
  13670. GLEW_FUN_EXPORT PFNGLMAPGRID1FPROC __glewMapGrid1f;
  13671. GLEW_FUN_EXPORT PFNGLMAPGRID2DPROC __glewMapGrid2d;
  13672. GLEW_FUN_EXPORT PFNGLMAPGRID2FPROC __glewMapGrid2f;
  13673. GLEW_FUN_EXPORT PFNGLMATERIALIPROC __glewMateriali;
  13674. GLEW_FUN_EXPORT PFNGLMATERIALIVPROC __glewMaterialiv;
  13675. GLEW_FUN_EXPORT PFNGLMULTMATRIXDPROC __glewMultMatrixd;
  13676. GLEW_FUN_EXPORT PFNGLNEWLISTPROC __glewNewList;
  13677. GLEW_FUN_EXPORT PFNGLNORMAL3BPROC __glewNormal3b;
  13678. GLEW_FUN_EXPORT PFNGLNORMAL3BVPROC __glewNormal3bv;
  13679. GLEW_FUN_EXPORT PFNGLNORMAL3DPROC __glewNormal3d;
  13680. GLEW_FUN_EXPORT PFNGLNORMAL3DVPROC __glewNormal3dv;
  13681. GLEW_FUN_EXPORT PFNGLNORMAL3FVPROC __glewNormal3fv;
  13682. GLEW_FUN_EXPORT PFNGLNORMAL3IPROC __glewNormal3i;
  13683. GLEW_FUN_EXPORT PFNGLNORMAL3IVPROC __glewNormal3iv;
  13684. GLEW_FUN_EXPORT PFNGLNORMAL3SPROC __glewNormal3s;
  13685. GLEW_FUN_EXPORT PFNGLNORMAL3SVPROC __glewNormal3sv;
  13686. GLEW_FUN_EXPORT PFNGLORTHOPROC __glewOrtho;
  13687. GLEW_FUN_EXPORT PFNGLPASSTHROUGHPROC __glewPassThrough;
  13688. GLEW_FUN_EXPORT PFNGLPIXELMAPFVPROC __glewPixelMapfv;
  13689. GLEW_FUN_EXPORT PFNGLPIXELMAPUIVPROC __glewPixelMapuiv;
  13690. GLEW_FUN_EXPORT PFNGLPIXELMAPUSVPROC __glewPixelMapusv;
  13691. GLEW_FUN_EXPORT PFNGLPIXELSTOREFPROC __glewPixelStoref;
  13692. GLEW_FUN_EXPORT PFNGLPIXELTRANSFERFPROC __glewPixelTransferf;
  13693. GLEW_FUN_EXPORT PFNGLPIXELTRANSFERIPROC __glewPixelTransferi;
  13694. GLEW_FUN_EXPORT PFNGLPIXELZOOMPROC __glewPixelZoom;
  13695. GLEW_FUN_EXPORT PFNGLPOLYGONMODEPROC __glewPolygonMode;
  13696. GLEW_FUN_EXPORT PFNGLPOLYGONSTIPPLEPROC __glewPolygonStipple;
  13697. GLEW_FUN_EXPORT PFNGLPOPATTRIBPROC __glewPopAttrib;
  13698. GLEW_FUN_EXPORT PFNGLPOPCLIENTATTRIBPROC __glewPopClientAttrib;
  13699. GLEW_FUN_EXPORT PFNGLPOPNAMEPROC __glewPopName;
  13700. GLEW_FUN_EXPORT PFNGLPRIORITIZETEXTURESPROC __glewPrioritizeTextures;
  13701. GLEW_FUN_EXPORT PFNGLPUSHATTRIBPROC __glewPushAttrib;
  13702. GLEW_FUN_EXPORT PFNGLPUSHCLIENTATTRIBPROC __glewPushClientAttrib;
  13703. GLEW_FUN_EXPORT PFNGLPUSHNAMEPROC __glewPushName;
  13704. GLEW_FUN_EXPORT PFNGLRASTERPOS2DPROC __glewRasterPos2d;
  13705. GLEW_FUN_EXPORT PFNGLRASTERPOS2DVPROC __glewRasterPos2dv;
  13706. GLEW_FUN_EXPORT PFNGLRASTERPOS2FPROC __glewRasterPos2f;
  13707. GLEW_FUN_EXPORT PFNGLRASTERPOS2FVPROC __glewRasterPos2fv;
  13708. GLEW_FUN_EXPORT PFNGLRASTERPOS2IPROC __glewRasterPos2i;
  13709. GLEW_FUN_EXPORT PFNGLRASTERPOS2IVPROC __glewRasterPos2iv;
  13710. GLEW_FUN_EXPORT PFNGLRASTERPOS2SPROC __glewRasterPos2s;
  13711. GLEW_FUN_EXPORT PFNGLRASTERPOS2SVPROC __glewRasterPos2sv;
  13712. GLEW_FUN_EXPORT PFNGLRASTERPOS3DPROC __glewRasterPos3d;
  13713. GLEW_FUN_EXPORT PFNGLRASTERPOS3DVPROC __glewRasterPos3dv;
  13714. GLEW_FUN_EXPORT PFNGLRASTERPOS3FPROC __glewRasterPos3f;
  13715. GLEW_FUN_EXPORT PFNGLRASTERPOS3FVPROC __glewRasterPos3fv;
  13716. GLEW_FUN_EXPORT PFNGLRASTERPOS3IPROC __glewRasterPos3i;
  13717. GLEW_FUN_EXPORT PFNGLRASTERPOS3IVPROC __glewRasterPos3iv;
  13718. GLEW_FUN_EXPORT PFNGLRASTERPOS3SPROC __glewRasterPos3s;
  13719. GLEW_FUN_EXPORT PFNGLRASTERPOS3SVPROC __glewRasterPos3sv;
  13720. GLEW_FUN_EXPORT PFNGLRASTERPOS4DPROC __glewRasterPos4d;
  13721. GLEW_FUN_EXPORT PFNGLRASTERPOS4DVPROC __glewRasterPos4dv;
  13722. GLEW_FUN_EXPORT PFNGLRASTERPOS4FPROC __glewRasterPos4f;
  13723. GLEW_FUN_EXPORT PFNGLRASTERPOS4FVPROC __glewRasterPos4fv;
  13724. GLEW_FUN_EXPORT PFNGLRASTERPOS4IPROC __glewRasterPos4i;
  13725. GLEW_FUN_EXPORT PFNGLRASTERPOS4IVPROC __glewRasterPos4iv;
  13726. GLEW_FUN_EXPORT PFNGLRASTERPOS4SPROC __glewRasterPos4s;
  13727. GLEW_FUN_EXPORT PFNGLRASTERPOS4SVPROC __glewRasterPos4sv;
  13728. GLEW_FUN_EXPORT PFNGLREADBUFFERPROC __glewReadBuffer;
  13729. GLEW_FUN_EXPORT PFNGLRECTDPROC __glewRectd;
  13730. GLEW_FUN_EXPORT PFNGLRECTDVPROC __glewRectdv;
  13731. GLEW_FUN_EXPORT PFNGLRECTFPROC __glewRectf;
  13732. GLEW_FUN_EXPORT PFNGLRECTFVPROC __glewRectfv;
  13733. GLEW_FUN_EXPORT PFNGLRECTIPROC __glewRecti;
  13734. GLEW_FUN_EXPORT PFNGLRECTIVPROC __glewRectiv;
  13735. GLEW_FUN_EXPORT PFNGLRECTSPROC __glewRects;
  13736. GLEW_FUN_EXPORT PFNGLRECTSVPROC __glewRectsv;
  13737. GLEW_FUN_EXPORT PFNGLRENDERMODEPROC __glewRenderMode;
  13738. GLEW_FUN_EXPORT PFNGLROTATEDPROC __glewRotated;
  13739. GLEW_FUN_EXPORT PFNGLSCALEDPROC __glewScaled;
  13740. GLEW_FUN_EXPORT PFNGLSELECTBUFFERPROC __glewSelectBuffer;
  13741. GLEW_FUN_EXPORT PFNGLTEXCOORD1DPROC __glewTexCoord1d;
  13742. GLEW_FUN_EXPORT PFNGLTEXCOORD1DVPROC __glewTexCoord1dv;
  13743. GLEW_FUN_EXPORT PFNGLTEXCOORD1FPROC __glewTexCoord1f;
  13744. GLEW_FUN_EXPORT PFNGLTEXCOORD1FVPROC __glewTexCoord1fv;
  13745. GLEW_FUN_EXPORT PFNGLTEXCOORD1IPROC __glewTexCoord1i;
  13746. GLEW_FUN_EXPORT PFNGLTEXCOORD1IVPROC __glewTexCoord1iv;
  13747. GLEW_FUN_EXPORT PFNGLTEXCOORD1SPROC __glewTexCoord1s;
  13748. GLEW_FUN_EXPORT PFNGLTEXCOORD1SVPROC __glewTexCoord1sv;
  13749. GLEW_FUN_EXPORT PFNGLTEXCOORD2DPROC __glewTexCoord2d;
  13750. GLEW_FUN_EXPORT PFNGLTEXCOORD2DVPROC __glewTexCoord2dv;
  13751. GLEW_FUN_EXPORT PFNGLTEXCOORD2FPROC __glewTexCoord2f;
  13752. GLEW_FUN_EXPORT PFNGLTEXCOORD2FVPROC __glewTexCoord2fv;
  13753. GLEW_FUN_EXPORT PFNGLTEXCOORD2IPROC __glewTexCoord2i;
  13754. GLEW_FUN_EXPORT PFNGLTEXCOORD2IVPROC __glewTexCoord2iv;
  13755. GLEW_FUN_EXPORT PFNGLTEXCOORD2SPROC __glewTexCoord2s;
  13756. GLEW_FUN_EXPORT PFNGLTEXCOORD2SVPROC __glewTexCoord2sv;
  13757. GLEW_FUN_EXPORT PFNGLTEXCOORD3DPROC __glewTexCoord3d;
  13758. GLEW_FUN_EXPORT PFNGLTEXCOORD3DVPROC __glewTexCoord3dv;
  13759. GLEW_FUN_EXPORT PFNGLTEXCOORD3FPROC __glewTexCoord3f;
  13760. GLEW_FUN_EXPORT PFNGLTEXCOORD3FVPROC __glewTexCoord3fv;
  13761. GLEW_FUN_EXPORT PFNGLTEXCOORD3IPROC __glewTexCoord3i;
  13762. GLEW_FUN_EXPORT PFNGLTEXCOORD3IVPROC __glewTexCoord3iv;
  13763. GLEW_FUN_EXPORT PFNGLTEXCOORD3SPROC __glewTexCoord3s;
  13764. GLEW_FUN_EXPORT PFNGLTEXCOORD3SVPROC __glewTexCoord3sv;
  13765. GLEW_FUN_EXPORT PFNGLTEXCOORD4DPROC __glewTexCoord4d;
  13766. GLEW_FUN_EXPORT PFNGLTEXCOORD4DVPROC __glewTexCoord4dv;
  13767. GLEW_FUN_EXPORT PFNGLTEXCOORD4FPROC __glewTexCoord4f;
  13768. GLEW_FUN_EXPORT PFNGLTEXCOORD4FVPROC __glewTexCoord4fv;
  13769. GLEW_FUN_EXPORT PFNGLTEXCOORD4IPROC __glewTexCoord4i;
  13770. GLEW_FUN_EXPORT PFNGLTEXCOORD4IVPROC __glewTexCoord4iv;
  13771. GLEW_FUN_EXPORT PFNGLTEXCOORD4SPROC __glewTexCoord4s;
  13772. GLEW_FUN_EXPORT PFNGLTEXCOORD4SVPROC __glewTexCoord4sv;
  13773. GLEW_FUN_EXPORT PFNGLTEXENVIPROC __glewTexEnvi;
  13774. GLEW_FUN_EXPORT PFNGLTEXENVIVPROC __glewTexEnviv;
  13775. GLEW_FUN_EXPORT PFNGLTEXGENDPROC __glewTexGend;
  13776. GLEW_FUN_EXPORT PFNGLTEXGENDVPROC __glewTexGendv;
  13777. GLEW_FUN_EXPORT PFNGLTEXGENFPROC __glewTexGenf;
  13778. GLEW_FUN_EXPORT PFNGLTEXGENFVPROC __glewTexGenfv;
  13779. GLEW_FUN_EXPORT PFNGLTEXGENIPROC __glewTexGeni;
  13780. GLEW_FUN_EXPORT PFNGLTEXGENIVPROC __glewTexGeniv;
  13781. GLEW_FUN_EXPORT PFNGLTEXIMAGE1DPROC __glewTexImage1D;
  13782. GLEW_FUN_EXPORT PFNGLTEXPARAMETERFVPROC __glewTexParameterfv;
  13783. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIPROC __glewTexParameteri;
  13784. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIVPROC __glewTexParameteriv;
  13785. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE1DPROC __glewTexSubImage1D;
  13786. GLEW_FUN_EXPORT PFNGLTRANSLATEDPROC __glewTranslated;
  13787. GLEW_FUN_EXPORT PFNGLVERTEX2DPROC __glewVertex2d;
  13788. GLEW_FUN_EXPORT PFNGLVERTEX2DVPROC __glewVertex2dv;
  13789. GLEW_FUN_EXPORT PFNGLVERTEX2FPROC __glewVertex2f;
  13790. GLEW_FUN_EXPORT PFNGLVERTEX2FVPROC __glewVertex2fv;
  13791. GLEW_FUN_EXPORT PFNGLVERTEX2IPROC __glewVertex2i;
  13792. GLEW_FUN_EXPORT PFNGLVERTEX2IVPROC __glewVertex2iv;
  13793. GLEW_FUN_EXPORT PFNGLVERTEX2SPROC __glewVertex2s;
  13794. GLEW_FUN_EXPORT PFNGLVERTEX2SVPROC __glewVertex2sv;
  13795. GLEW_FUN_EXPORT PFNGLVERTEX3DPROC __glewVertex3d;
  13796. GLEW_FUN_EXPORT PFNGLVERTEX3DVPROC __glewVertex3dv;
  13797. GLEW_FUN_EXPORT PFNGLVERTEX3FPROC __glewVertex3f;
  13798. GLEW_FUN_EXPORT PFNGLVERTEX3FVPROC __glewVertex3fv;
  13799. GLEW_FUN_EXPORT PFNGLVERTEX3IPROC __glewVertex3i;
  13800. GLEW_FUN_EXPORT PFNGLVERTEX3IVPROC __glewVertex3iv;
  13801. GLEW_FUN_EXPORT PFNGLVERTEX3SPROC __glewVertex3s;
  13802. GLEW_FUN_EXPORT PFNGLVERTEX3SVPROC __glewVertex3sv;
  13803. GLEW_FUN_EXPORT PFNGLVERTEX4DPROC __glewVertex4d;
  13804. GLEW_FUN_EXPORT PFNGLVERTEX4DVPROC __glewVertex4dv;
  13805. GLEW_FUN_EXPORT PFNGLVERTEX4FPROC __glewVertex4f;
  13806. GLEW_FUN_EXPORT PFNGLVERTEX4FVPROC __glewVertex4fv;
  13807. GLEW_FUN_EXPORT PFNGLVERTEX4IPROC __glewVertex4i;
  13808. GLEW_FUN_EXPORT PFNGLVERTEX4IVPROC __glewVertex4iv;
  13809. GLEW_FUN_EXPORT PFNGLVERTEX4SPROC __glewVertex4s;
  13810. GLEW_FUN_EXPORT PFNGLVERTEX4SVPROC __glewVertex4sv;
  13811. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D;
  13812. GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements;
  13813. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DPROC __glewTexImage3D;
  13814. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D;
  13815. GLEW_FUN_EXPORT PFNGLACTIVETEXTUREPROC __glewActiveTexture;
  13816. GLEW_FUN_EXPORT PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture;
  13817. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D;
  13818. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D;
  13819. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D;
  13820. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D;
  13821. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D;
  13822. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D;
  13823. GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage;
  13824. GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd;
  13825. GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf;
  13826. GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd;
  13827. GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf;
  13828. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d;
  13829. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv;
  13830. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f;
  13831. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv;
  13832. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i;
  13833. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv;
  13834. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s;
  13835. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv;
  13836. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d;
  13837. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv;
  13838. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f;
  13839. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv;
  13840. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i;
  13841. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv;
  13842. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s;
  13843. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv;
  13844. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d;
  13845. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv;
  13846. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f;
  13847. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv;
  13848. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i;
  13849. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv;
  13850. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s;
  13851. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv;
  13852. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d;
  13853. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv;
  13854. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f;
  13855. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv;
  13856. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i;
  13857. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv;
  13858. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s;
  13859. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv;
  13860. GLEW_FUN_EXPORT PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage;
  13861. GLEW_FUN_EXPORT PFNGLBLENDCOLORPROC __glewBlendColor;
  13862. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONPROC __glewBlendEquation;
  13863. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate;
  13864. GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer;
  13865. GLEW_FUN_EXPORT PFNGLFOGCOORDDPROC __glewFogCoordd;
  13866. GLEW_FUN_EXPORT PFNGLFOGCOORDDVPROC __glewFogCoorddv;
  13867. GLEW_FUN_EXPORT PFNGLFOGCOORDFPROC __glewFogCoordf;
  13868. GLEW_FUN_EXPORT PFNGLFOGCOORDFVPROC __glewFogCoordfv;
  13869. GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays;
  13870. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements;
  13871. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFPROC __glewPointParameterf;
  13872. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv;
  13873. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIPROC __glewPointParameteri;
  13874. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv;
  13875. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b;
  13876. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv;
  13877. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d;
  13878. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv;
  13879. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f;
  13880. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv;
  13881. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i;
  13882. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv;
  13883. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s;
  13884. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv;
  13885. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub;
  13886. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv;
  13887. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui;
  13888. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv;
  13889. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us;
  13890. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv;
  13891. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer;
  13892. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DPROC __glewWindowPos2d;
  13893. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv;
  13894. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FPROC __glewWindowPos2f;
  13895. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv;
  13896. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IPROC __glewWindowPos2i;
  13897. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv;
  13898. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SPROC __glewWindowPos2s;
  13899. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv;
  13900. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DPROC __glewWindowPos3d;
  13901. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv;
  13902. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FPROC __glewWindowPos3f;
  13903. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv;
  13904. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IPROC __glewWindowPos3i;
  13905. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv;
  13906. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SPROC __glewWindowPos3s;
  13907. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv;
  13908. GLEW_FUN_EXPORT PFNGLBEGINQUERYPROC __glewBeginQuery;
  13909. GLEW_FUN_EXPORT PFNGLBINDBUFFERPROC __glewBindBuffer;
  13910. GLEW_FUN_EXPORT PFNGLBUFFERDATAPROC __glewBufferData;
  13911. GLEW_FUN_EXPORT PFNGLBUFFERSUBDATAPROC __glewBufferSubData;
  13912. GLEW_FUN_EXPORT PFNGLDELETEBUFFERSPROC __glewDeleteBuffers;
  13913. GLEW_FUN_EXPORT PFNGLDELETEQUERIESPROC __glewDeleteQueries;
  13914. GLEW_FUN_EXPORT PFNGLENDQUERYPROC __glewEndQuery;
  13915. GLEW_FUN_EXPORT PFNGLGENBUFFERSPROC __glewGenBuffers;
  13916. GLEW_FUN_EXPORT PFNGLGENQUERIESPROC __glewGenQueries;
  13917. GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv;
  13918. GLEW_FUN_EXPORT PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv;
  13919. GLEW_FUN_EXPORT PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData;
  13920. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv;
  13921. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv;
  13922. GLEW_FUN_EXPORT PFNGLGETQUERYIVPROC __glewGetQueryiv;
  13923. GLEW_FUN_EXPORT PFNGLISBUFFERPROC __glewIsBuffer;
  13924. GLEW_FUN_EXPORT PFNGLISQUERYPROC __glewIsQuery;
  13925. GLEW_FUN_EXPORT PFNGLMAPBUFFERPROC __glewMapBuffer;
  13926. GLEW_FUN_EXPORT PFNGLUNMAPBUFFERPROC __glewUnmapBuffer;
  13927. GLEW_FUN_EXPORT PFNGLATTACHSHADERPROC __glewAttachShader;
  13928. GLEW_FUN_EXPORT PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation;
  13929. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate;
  13930. GLEW_FUN_EXPORT PFNGLCOMPILESHADERPROC __glewCompileShader;
  13931. GLEW_FUN_EXPORT PFNGLCREATEPROGRAMPROC __glewCreateProgram;
  13932. GLEW_FUN_EXPORT PFNGLCREATESHADERPROC __glewCreateShader;
  13933. GLEW_FUN_EXPORT PFNGLDELETEPROGRAMPROC __glewDeleteProgram;
  13934. GLEW_FUN_EXPORT PFNGLDELETESHADERPROC __glewDeleteShader;
  13935. GLEW_FUN_EXPORT PFNGLDETACHSHADERPROC __glewDetachShader;
  13936. GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray;
  13937. GLEW_FUN_EXPORT PFNGLDRAWBUFFERSPROC __glewDrawBuffers;
  13938. GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray;
  13939. GLEW_FUN_EXPORT PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib;
  13940. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform;
  13941. GLEW_FUN_EXPORT PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders;
  13942. GLEW_FUN_EXPORT PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation;
  13943. GLEW_FUN_EXPORT PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog;
  13944. GLEW_FUN_EXPORT PFNGLGETPROGRAMIVPROC __glewGetProgramiv;
  13945. GLEW_FUN_EXPORT PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog;
  13946. GLEW_FUN_EXPORT PFNGLGETSHADERSOURCEPROC __glewGetShaderSource;
  13947. GLEW_FUN_EXPORT PFNGLGETSHADERIVPROC __glewGetShaderiv;
  13948. GLEW_FUN_EXPORT PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation;
  13949. GLEW_FUN_EXPORT PFNGLGETUNIFORMFVPROC __glewGetUniformfv;
  13950. GLEW_FUN_EXPORT PFNGLGETUNIFORMIVPROC __glewGetUniformiv;
  13951. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv;
  13952. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv;
  13953. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv;
  13954. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv;
  13955. GLEW_FUN_EXPORT PFNGLISPROGRAMPROC __glewIsProgram;
  13956. GLEW_FUN_EXPORT PFNGLISSHADERPROC __glewIsShader;
  13957. GLEW_FUN_EXPORT PFNGLLINKPROGRAMPROC __glewLinkProgram;
  13958. GLEW_FUN_EXPORT PFNGLSHADERSOURCEPROC __glewShaderSource;
  13959. GLEW_FUN_EXPORT PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate;
  13960. GLEW_FUN_EXPORT PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate;
  13961. GLEW_FUN_EXPORT PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate;
  13962. GLEW_FUN_EXPORT PFNGLUNIFORM1FPROC __glewUniform1f;
  13963. GLEW_FUN_EXPORT PFNGLUNIFORM1FVPROC __glewUniform1fv;
  13964. GLEW_FUN_EXPORT PFNGLUNIFORM1IPROC __glewUniform1i;
  13965. GLEW_FUN_EXPORT PFNGLUNIFORM1IVPROC __glewUniform1iv;
  13966. GLEW_FUN_EXPORT PFNGLUNIFORM2FPROC __glewUniform2f;
  13967. GLEW_FUN_EXPORT PFNGLUNIFORM2FVPROC __glewUniform2fv;
  13968. GLEW_FUN_EXPORT PFNGLUNIFORM2IPROC __glewUniform2i;
  13969. GLEW_FUN_EXPORT PFNGLUNIFORM2IVPROC __glewUniform2iv;
  13970. GLEW_FUN_EXPORT PFNGLUNIFORM3FPROC __glewUniform3f;
  13971. GLEW_FUN_EXPORT PFNGLUNIFORM3FVPROC __glewUniform3fv;
  13972. GLEW_FUN_EXPORT PFNGLUNIFORM3IPROC __glewUniform3i;
  13973. GLEW_FUN_EXPORT PFNGLUNIFORM3IVPROC __glewUniform3iv;
  13974. GLEW_FUN_EXPORT PFNGLUNIFORM4FPROC __glewUniform4f;
  13975. GLEW_FUN_EXPORT PFNGLUNIFORM4FVPROC __glewUniform4fv;
  13976. GLEW_FUN_EXPORT PFNGLUNIFORM4IPROC __glewUniform4i;
  13977. GLEW_FUN_EXPORT PFNGLUNIFORM4IVPROC __glewUniform4iv;
  13978. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv;
  13979. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv;
  13980. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv;
  13981. GLEW_FUN_EXPORT PFNGLUSEPROGRAMPROC __glewUseProgram;
  13982. GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMPROC __glewValidateProgram;
  13983. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d;
  13984. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv;
  13985. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f;
  13986. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv;
  13987. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s;
  13988. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv;
  13989. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d;
  13990. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv;
  13991. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f;
  13992. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv;
  13993. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s;
  13994. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv;
  13995. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d;
  13996. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv;
  13997. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f;
  13998. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv;
  13999. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s;
  14000. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv;
  14001. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv;
  14002. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv;
  14003. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv;
  14004. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub;
  14005. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv;
  14006. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv;
  14007. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv;
  14008. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv;
  14009. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d;
  14010. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv;
  14011. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f;
  14012. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv;
  14013. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv;
  14014. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s;
  14015. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv;
  14016. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv;
  14017. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv;
  14018. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv;
  14019. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer;
  14020. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv;
  14021. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv;
  14022. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv;
  14023. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv;
  14024. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv;
  14025. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv;
  14026. GLEW_FUN_EXPORT PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender;
  14027. GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback;
  14028. GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation;
  14029. GLEW_FUN_EXPORT PFNGLCLAMPCOLORPROC __glewClampColor;
  14030. GLEW_FUN_EXPORT PFNGLCLEARBUFFERFIPROC __glewClearBufferfi;
  14031. GLEW_FUN_EXPORT PFNGLCLEARBUFFERFVPROC __glewClearBufferfv;
  14032. GLEW_FUN_EXPORT PFNGLCLEARBUFFERIVPROC __glewClearBufferiv;
  14033. GLEW_FUN_EXPORT PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv;
  14034. GLEW_FUN_EXPORT PFNGLCOLORMASKIPROC __glewColorMaski;
  14035. GLEW_FUN_EXPORT PFNGLDISABLEIPROC __glewDisablei;
  14036. GLEW_FUN_EXPORT PFNGLENABLEIPROC __glewEnablei;
  14037. GLEW_FUN_EXPORT PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender;
  14038. GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback;
  14039. GLEW_FUN_EXPORT PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v;
  14040. GLEW_FUN_EXPORT PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation;
  14041. GLEW_FUN_EXPORT PFNGLGETSTRINGIPROC __glewGetStringi;
  14042. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv;
  14043. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv;
  14044. GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying;
  14045. GLEW_FUN_EXPORT PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv;
  14046. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv;
  14047. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv;
  14048. GLEW_FUN_EXPORT PFNGLISENABLEDIPROC __glewIsEnabledi;
  14049. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv;
  14050. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv;
  14051. GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings;
  14052. GLEW_FUN_EXPORT PFNGLUNIFORM1UIPROC __glewUniform1ui;
  14053. GLEW_FUN_EXPORT PFNGLUNIFORM1UIVPROC __glewUniform1uiv;
  14054. GLEW_FUN_EXPORT PFNGLUNIFORM2UIPROC __glewUniform2ui;
  14055. GLEW_FUN_EXPORT PFNGLUNIFORM2UIVPROC __glewUniform2uiv;
  14056. GLEW_FUN_EXPORT PFNGLUNIFORM3UIPROC __glewUniform3ui;
  14057. GLEW_FUN_EXPORT PFNGLUNIFORM3UIVPROC __glewUniform3uiv;
  14058. GLEW_FUN_EXPORT PFNGLUNIFORM4UIPROC __glewUniform4ui;
  14059. GLEW_FUN_EXPORT PFNGLUNIFORM4UIVPROC __glewUniform4uiv;
  14060. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i;
  14061. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv;
  14062. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui;
  14063. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv;
  14064. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i;
  14065. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv;
  14066. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui;
  14067. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv;
  14068. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i;
  14069. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv;
  14070. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui;
  14071. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv;
  14072. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv;
  14073. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i;
  14074. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv;
  14075. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv;
  14076. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv;
  14077. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui;
  14078. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv;
  14079. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv;
  14080. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer;
  14081. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced;
  14082. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced;
  14083. GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex;
  14084. GLEW_FUN_EXPORT PFNGLTEXBUFFERPROC __glewTexBuffer;
  14085. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture;
  14086. GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v;
  14087. GLEW_FUN_EXPORT PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v;
  14088. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor;
  14089. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei;
  14090. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONIPROC __glewBlendEquationi;
  14091. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei;
  14092. GLEW_FUN_EXPORT PFNGLBLENDFUNCIPROC __glewBlendFunci;
  14093. GLEW_FUN_EXPORT PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading;
  14094. GLEW_FUN_EXPORT PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX;
  14095. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD;
  14096. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD;
  14097. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD;
  14098. GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD;
  14099. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD;
  14100. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD;
  14101. GLEW_FUN_EXPORT PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD;
  14102. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD;
  14103. GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD;
  14104. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD;
  14105. GLEW_FUN_EXPORT PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD;
  14106. GLEW_FUN_EXPORT PFNGLGENNAMESAMDPROC __glewGenNamesAMD;
  14107. GLEW_FUN_EXPORT PFNGLISNAMEAMDPROC __glewIsNameAMD;
  14108. GLEW_FUN_EXPORT PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD;
  14109. GLEW_FUN_EXPORT PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD;
  14110. GLEW_FUN_EXPORT PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD;
  14111. GLEW_FUN_EXPORT PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD;
  14112. GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD;
  14113. GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD;
  14114. GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD;
  14115. GLEW_FUN_EXPORT PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD;
  14116. GLEW_FUN_EXPORT PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD;
  14117. GLEW_FUN_EXPORT PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD;
  14118. GLEW_FUN_EXPORT PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD;
  14119. GLEW_FUN_EXPORT PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD;
  14120. GLEW_FUN_EXPORT PFNGLTEXSTORAGESPARSEAMDPROC __glewTexStorageSparseAMD;
  14121. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGESPARSEAMDPROC __glewTextureStorageSparseAMD;
  14122. GLEW_FUN_EXPORT PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD;
  14123. GLEW_FUN_EXPORT PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD;
  14124. GLEW_FUN_EXPORT PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD;
  14125. GLEW_FUN_EXPORT PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE;
  14126. GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE;
  14127. GLEW_FUN_EXPORT PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE;
  14128. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE;
  14129. GLEW_FUN_EXPORT PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE;
  14130. GLEW_FUN_EXPORT PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE;
  14131. GLEW_FUN_EXPORT PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE;
  14132. GLEW_FUN_EXPORT PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE;
  14133. GLEW_FUN_EXPORT PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE;
  14134. GLEW_FUN_EXPORT PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE;
  14135. GLEW_FUN_EXPORT PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE;
  14136. GLEW_FUN_EXPORT PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE;
  14137. GLEW_FUN_EXPORT PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE;
  14138. GLEW_FUN_EXPORT PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE;
  14139. GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE;
  14140. GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE;
  14141. GLEW_FUN_EXPORT PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE;
  14142. GLEW_FUN_EXPORT PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE;
  14143. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE;
  14144. GLEW_FUN_EXPORT PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE;
  14145. GLEW_FUN_EXPORT PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE;
  14146. GLEW_FUN_EXPORT PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE;
  14147. GLEW_FUN_EXPORT PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE;
  14148. GLEW_FUN_EXPORT PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE;
  14149. GLEW_FUN_EXPORT PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE;
  14150. GLEW_FUN_EXPORT PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE;
  14151. GLEW_FUN_EXPORT PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE;
  14152. GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE;
  14153. GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE;
  14154. GLEW_FUN_EXPORT PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE;
  14155. GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE;
  14156. GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE;
  14157. GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE;
  14158. GLEW_FUN_EXPORT PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE;
  14159. GLEW_FUN_EXPORT PFNGLCLEARDEPTHFPROC __glewClearDepthf;
  14160. GLEW_FUN_EXPORT PFNGLDEPTHRANGEFPROC __glewDepthRangef;
  14161. GLEW_FUN_EXPORT PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat;
  14162. GLEW_FUN_EXPORT PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler;
  14163. GLEW_FUN_EXPORT PFNGLSHADERBINARYPROC __glewShaderBinary;
  14164. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance;
  14165. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance;
  14166. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance;
  14167. GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed;
  14168. GLEW_FUN_EXPORT PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex;
  14169. GLEW_FUN_EXPORT PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB;
  14170. GLEW_FUN_EXPORT PFNGLCLEARBUFFERDATAPROC __glewClearBufferData;
  14171. GLEW_FUN_EXPORT PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData;
  14172. GLEW_FUN_EXPORT PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT;
  14173. GLEW_FUN_EXPORT PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT;
  14174. GLEW_FUN_EXPORT PFNGLCLAMPCOLORARBPROC __glewClampColorARB;
  14175. GLEW_FUN_EXPORT PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute;
  14176. GLEW_FUN_EXPORT PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect;
  14177. GLEW_FUN_EXPORT PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData;
  14178. GLEW_FUN_EXPORT PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData;
  14179. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB;
  14180. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB;
  14181. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB;
  14182. GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB;
  14183. GLEW_FUN_EXPORT PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB;
  14184. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB;
  14185. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB;
  14186. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB;
  14187. GLEW_FUN_EXPORT PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB;
  14188. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex;
  14189. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex;
  14190. GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex;
  14191. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex;
  14192. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect;
  14193. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect;
  14194. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri;
  14195. GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv;
  14196. GLEW_FUN_EXPORT PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT;
  14197. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT;
  14198. GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer;
  14199. GLEW_FUN_EXPORT PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer;
  14200. GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer;
  14201. GLEW_FUN_EXPORT PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus;
  14202. GLEW_FUN_EXPORT PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers;
  14203. GLEW_FUN_EXPORT PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers;
  14204. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer;
  14205. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D;
  14206. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D;
  14207. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D;
  14208. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer;
  14209. GLEW_FUN_EXPORT PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers;
  14210. GLEW_FUN_EXPORT PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers;
  14211. GLEW_FUN_EXPORT PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap;
  14212. GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv;
  14213. GLEW_FUN_EXPORT PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv;
  14214. GLEW_FUN_EXPORT PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer;
  14215. GLEW_FUN_EXPORT PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer;
  14216. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage;
  14217. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample;
  14218. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB;
  14219. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB;
  14220. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB;
  14221. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB;
  14222. GLEW_FUN_EXPORT PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary;
  14223. GLEW_FUN_EXPORT PFNGLPROGRAMBINARYPROC __glewProgramBinary;
  14224. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri;
  14225. GLEW_FUN_EXPORT PFNGLGETUNIFORMDVPROC __glewGetUniformdv;
  14226. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DEXTPROC __glewProgramUniform1dEXT;
  14227. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DVEXTPROC __glewProgramUniform1dvEXT;
  14228. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DEXTPROC __glewProgramUniform2dEXT;
  14229. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DVEXTPROC __glewProgramUniform2dvEXT;
  14230. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DEXTPROC __glewProgramUniform3dEXT;
  14231. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DVEXTPROC __glewProgramUniform3dvEXT;
  14232. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DEXTPROC __glewProgramUniform4dEXT;
  14233. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DVEXTPROC __glewProgramUniform4dvEXT;
  14234. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2DVEXTPROC __glewProgramUniformMatrix2dvEXT;
  14235. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3DVEXTPROC __glewProgramUniformMatrix2x3dvEXT;
  14236. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4DVEXTPROC __glewProgramUniformMatrix2x4dvEXT;
  14237. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3DVEXTPROC __glewProgramUniformMatrix3dvEXT;
  14238. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2DVEXTPROC __glewProgramUniformMatrix3x2dvEXT;
  14239. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4DVEXTPROC __glewProgramUniformMatrix3x4dvEXT;
  14240. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4DVEXTPROC __glewProgramUniformMatrix4dvEXT;
  14241. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2DVEXTPROC __glewProgramUniformMatrix4x2dvEXT;
  14242. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3DVEXTPROC __glewProgramUniformMatrix4x3dvEXT;
  14243. GLEW_FUN_EXPORT PFNGLUNIFORM1DPROC __glewUniform1d;
  14244. GLEW_FUN_EXPORT PFNGLUNIFORM1DVPROC __glewUniform1dv;
  14245. GLEW_FUN_EXPORT PFNGLUNIFORM2DPROC __glewUniform2d;
  14246. GLEW_FUN_EXPORT PFNGLUNIFORM2DVPROC __glewUniform2dv;
  14247. GLEW_FUN_EXPORT PFNGLUNIFORM3DPROC __glewUniform3d;
  14248. GLEW_FUN_EXPORT PFNGLUNIFORM3DVPROC __glewUniform3dv;
  14249. GLEW_FUN_EXPORT PFNGLUNIFORM4DPROC __glewUniform4d;
  14250. GLEW_FUN_EXPORT PFNGLUNIFORM4DVPROC __glewUniform4dv;
  14251. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv;
  14252. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv;
  14253. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv;
  14254. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv;
  14255. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv;
  14256. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv;
  14257. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv;
  14258. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv;
  14259. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv;
  14260. GLEW_FUN_EXPORT PFNGLCOLORSUBTABLEPROC __glewColorSubTable;
  14261. GLEW_FUN_EXPORT PFNGLCOLORTABLEPROC __glewColorTable;
  14262. GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv;
  14263. GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv;
  14264. GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D;
  14265. GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D;
  14266. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf;
  14267. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv;
  14268. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri;
  14269. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv;
  14270. GLEW_FUN_EXPORT PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable;
  14271. GLEW_FUN_EXPORT PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable;
  14272. GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D;
  14273. GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D;
  14274. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPROC __glewGetColorTable;
  14275. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv;
  14276. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv;
  14277. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter;
  14278. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv;
  14279. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv;
  14280. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPROC __glewGetHistogram;
  14281. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv;
  14282. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv;
  14283. GLEW_FUN_EXPORT PFNGLGETMINMAXPROC __glewGetMinmax;
  14284. GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv;
  14285. GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv;
  14286. GLEW_FUN_EXPORT PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter;
  14287. GLEW_FUN_EXPORT PFNGLHISTOGRAMPROC __glewHistogram;
  14288. GLEW_FUN_EXPORT PFNGLMINMAXPROC __glewMinmax;
  14289. GLEW_FUN_EXPORT PFNGLRESETHISTOGRAMPROC __glewResetHistogram;
  14290. GLEW_FUN_EXPORT PFNGLRESETMINMAXPROC __glewResetMinmax;
  14291. GLEW_FUN_EXPORT PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D;
  14292. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB;
  14293. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB;
  14294. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB;
  14295. GLEW_FUN_EXPORT PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ;
  14296. GLEW_FUN_EXPORT PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v;
  14297. GLEW_FUN_EXPORT PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData;
  14298. GLEW_FUN_EXPORT PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData;
  14299. GLEW_FUN_EXPORT PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer;
  14300. GLEW_FUN_EXPORT PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer;
  14301. GLEW_FUN_EXPORT PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage;
  14302. GLEW_FUN_EXPORT PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage;
  14303. GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange;
  14304. GLEW_FUN_EXPORT PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange;
  14305. GLEW_FUN_EXPORT PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB;
  14306. GLEW_FUN_EXPORT PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB;
  14307. GLEW_FUN_EXPORT PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB;
  14308. GLEW_FUN_EXPORT PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB;
  14309. GLEW_FUN_EXPORT PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB;
  14310. GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect;
  14311. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect;
  14312. GLEW_FUN_EXPORT PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB;
  14313. GLEW_FUN_EXPORT PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB;
  14314. GLEW_FUN_EXPORT PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB;
  14315. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB;
  14316. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB;
  14317. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB;
  14318. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB;
  14319. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB;
  14320. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB;
  14321. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB;
  14322. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB;
  14323. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB;
  14324. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB;
  14325. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB;
  14326. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB;
  14327. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB;
  14328. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB;
  14329. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB;
  14330. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB;
  14331. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB;
  14332. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB;
  14333. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB;
  14334. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB;
  14335. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB;
  14336. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB;
  14337. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB;
  14338. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB;
  14339. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB;
  14340. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB;
  14341. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB;
  14342. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB;
  14343. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB;
  14344. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB;
  14345. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB;
  14346. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB;
  14347. GLEW_FUN_EXPORT PFNGLBEGINQUERYARBPROC __glewBeginQueryARB;
  14348. GLEW_FUN_EXPORT PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB;
  14349. GLEW_FUN_EXPORT PFNGLENDQUERYARBPROC __glewEndQueryARB;
  14350. GLEW_FUN_EXPORT PFNGLGENQUERIESARBPROC __glewGenQueriesARB;
  14351. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB;
  14352. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB;
  14353. GLEW_FUN_EXPORT PFNGLGETQUERYIVARBPROC __glewGetQueryivARB;
  14354. GLEW_FUN_EXPORT PFNGLISQUERYARBPROC __glewIsQueryARB;
  14355. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB;
  14356. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB;
  14357. GLEW_FUN_EXPORT PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv;
  14358. GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex;
  14359. GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation;
  14360. GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex;
  14361. GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName;
  14362. GLEW_FUN_EXPORT PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv;
  14363. GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex;
  14364. GLEW_FUN_EXPORT PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB;
  14365. GLEW_FUN_EXPORT PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB;
  14366. GLEW_FUN_EXPORT PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB;
  14367. GLEW_FUN_EXPORT PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB;
  14368. GLEW_FUN_EXPORT PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB;
  14369. GLEW_FUN_EXPORT PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB;
  14370. GLEW_FUN_EXPORT PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB;
  14371. GLEW_FUN_EXPORT PFNGLGETNMAPIVARBPROC __glewGetnMapivARB;
  14372. GLEW_FUN_EXPORT PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB;
  14373. GLEW_FUN_EXPORT PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB;
  14374. GLEW_FUN_EXPORT PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB;
  14375. GLEW_FUN_EXPORT PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB;
  14376. GLEW_FUN_EXPORT PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB;
  14377. GLEW_FUN_EXPORT PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB;
  14378. GLEW_FUN_EXPORT PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB;
  14379. GLEW_FUN_EXPORT PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB;
  14380. GLEW_FUN_EXPORT PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB;
  14381. GLEW_FUN_EXPORT PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB;
  14382. GLEW_FUN_EXPORT PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB;
  14383. GLEW_FUN_EXPORT PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB;
  14384. GLEW_FUN_EXPORT PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB;
  14385. GLEW_FUN_EXPORT PFNGLBINDSAMPLERPROC __glewBindSampler;
  14386. GLEW_FUN_EXPORT PFNGLDELETESAMPLERSPROC __glewDeleteSamplers;
  14387. GLEW_FUN_EXPORT PFNGLGENSAMPLERSPROC __glewGenSamplers;
  14388. GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv;
  14389. GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv;
  14390. GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv;
  14391. GLEW_FUN_EXPORT PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv;
  14392. GLEW_FUN_EXPORT PFNGLISSAMPLERPROC __glewIsSampler;
  14393. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv;
  14394. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv;
  14395. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf;
  14396. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv;
  14397. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri;
  14398. GLEW_FUN_EXPORT PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv;
  14399. #if 0 // NOTE jwilkins: inconsistencies between ES and Desktop versions
  14400. GLEW_FUN_EXPORT PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram;
  14401. GLEW_FUN_EXPORT PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline;
  14402. GLEW_FUN_EXPORT PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv;
  14403. GLEW_FUN_EXPORT PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines;
  14404. GLEW_FUN_EXPORT PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines;
  14405. GLEW_FUN_EXPORT PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog;
  14406. GLEW_FUN_EXPORT PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv;
  14407. GLEW_FUN_EXPORT PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline;
  14408. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d;
  14409. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv;
  14410. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f;
  14411. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv;
  14412. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i;
  14413. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv;
  14414. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui;
  14415. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv;
  14416. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d;
  14417. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv;
  14418. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f;
  14419. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv;
  14420. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i;
  14421. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv;
  14422. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui;
  14423. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv;
  14424. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d;
  14425. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv;
  14426. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f;
  14427. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv;
  14428. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i;
  14429. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv;
  14430. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui;
  14431. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv;
  14432. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d;
  14433. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv;
  14434. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f;
  14435. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv;
  14436. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i;
  14437. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv;
  14438. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui;
  14439. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv;
  14440. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv;
  14441. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv;
  14442. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv;
  14443. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv;
  14444. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv;
  14445. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv;
  14446. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv;
  14447. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv;
  14448. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv;
  14449. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv;
  14450. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv;
  14451. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv;
  14452. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv;
  14453. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv;
  14454. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv;
  14455. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv;
  14456. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv;
  14457. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv;
  14458. GLEW_FUN_EXPORT PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages;
  14459. GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline;
  14460. #endif
  14461. GLEW_FUN_EXPORT PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv;
  14462. GLEW_FUN_EXPORT PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture;
  14463. GLEW_FUN_EXPORT PFNGLMEMORYBARRIERPROC __glewMemoryBarrier;
  14464. GLEW_FUN_EXPORT PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB;
  14465. GLEW_FUN_EXPORT PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB;
  14466. GLEW_FUN_EXPORT PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB;
  14467. GLEW_FUN_EXPORT PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB;
  14468. GLEW_FUN_EXPORT PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB;
  14469. GLEW_FUN_EXPORT PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB;
  14470. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB;
  14471. GLEW_FUN_EXPORT PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB;
  14472. GLEW_FUN_EXPORT PFNGLGETHANDLEARBPROC __glewGetHandleARB;
  14473. GLEW_FUN_EXPORT PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB;
  14474. GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB;
  14475. GLEW_FUN_EXPORT PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB;
  14476. GLEW_FUN_EXPORT PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB;
  14477. GLEW_FUN_EXPORT PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB;
  14478. GLEW_FUN_EXPORT PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB;
  14479. GLEW_FUN_EXPORT PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB;
  14480. GLEW_FUN_EXPORT PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB;
  14481. GLEW_FUN_EXPORT PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB;
  14482. GLEW_FUN_EXPORT PFNGLUNIFORM1FARBPROC __glewUniform1fARB;
  14483. GLEW_FUN_EXPORT PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB;
  14484. GLEW_FUN_EXPORT PFNGLUNIFORM1IARBPROC __glewUniform1iARB;
  14485. GLEW_FUN_EXPORT PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB;
  14486. GLEW_FUN_EXPORT PFNGLUNIFORM2FARBPROC __glewUniform2fARB;
  14487. GLEW_FUN_EXPORT PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB;
  14488. GLEW_FUN_EXPORT PFNGLUNIFORM2IARBPROC __glewUniform2iARB;
  14489. GLEW_FUN_EXPORT PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB;
  14490. GLEW_FUN_EXPORT PFNGLUNIFORM3FARBPROC __glewUniform3fARB;
  14491. GLEW_FUN_EXPORT PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB;
  14492. GLEW_FUN_EXPORT PFNGLUNIFORM3IARBPROC __glewUniform3iARB;
  14493. GLEW_FUN_EXPORT PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB;
  14494. GLEW_FUN_EXPORT PFNGLUNIFORM4FARBPROC __glewUniform4fARB;
  14495. GLEW_FUN_EXPORT PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB;
  14496. GLEW_FUN_EXPORT PFNGLUNIFORM4IARBPROC __glewUniform4iARB;
  14497. GLEW_FUN_EXPORT PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB;
  14498. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB;
  14499. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB;
  14500. GLEW_FUN_EXPORT PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB;
  14501. GLEW_FUN_EXPORT PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB;
  14502. GLEW_FUN_EXPORT PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB;
  14503. GLEW_FUN_EXPORT PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding;
  14504. GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName;
  14505. GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName;
  14506. GLEW_FUN_EXPORT PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv;
  14507. GLEW_FUN_EXPORT PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv;
  14508. GLEW_FUN_EXPORT PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex;
  14509. GLEW_FUN_EXPORT PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation;
  14510. GLEW_FUN_EXPORT PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv;
  14511. GLEW_FUN_EXPORT PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv;
  14512. GLEW_FUN_EXPORT PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB;
  14513. GLEW_FUN_EXPORT PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB;
  14514. GLEW_FUN_EXPORT PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB;
  14515. GLEW_FUN_EXPORT PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB;
  14516. GLEW_FUN_EXPORT PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB;
  14517. GLEW_FUN_EXPORT PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB;
  14518. GLEW_FUN_EXPORT PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync;
  14519. GLEW_FUN_EXPORT PFNGLDELETESYNCPROC __glewDeleteSync;
  14520. GLEW_FUN_EXPORT PFNGLFENCESYNCPROC __glewFenceSync;
  14521. GLEW_FUN_EXPORT PFNGLGETINTEGER64VPROC __glewGetInteger64v;
  14522. GLEW_FUN_EXPORT PFNGLGETSYNCIVPROC __glewGetSynciv;
  14523. GLEW_FUN_EXPORT PFNGLISSYNCPROC __glewIsSync;
  14524. GLEW_FUN_EXPORT PFNGLWAITSYNCPROC __glewWaitSync;
  14525. GLEW_FUN_EXPORT PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv;
  14526. GLEW_FUN_EXPORT PFNGLPATCHPARAMETERIPROC __glewPatchParameteri;
  14527. GLEW_FUN_EXPORT PFNGLTEXBUFFERARBPROC __glewTexBufferARB;
  14528. GLEW_FUN_EXPORT PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange;
  14529. GLEW_FUN_EXPORT PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT;
  14530. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB;
  14531. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB;
  14532. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB;
  14533. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB;
  14534. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB;
  14535. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB;
  14536. GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB;
  14537. GLEW_FUN_EXPORT PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv;
  14538. GLEW_FUN_EXPORT PFNGLSAMPLEMASKIPROC __glewSampleMaski;
  14539. GLEW_FUN_EXPORT PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample;
  14540. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample;
  14541. GLEW_FUN_EXPORT PFNGLTEXSTORAGE1DPROC __glewTexStorage1D;
  14542. GLEW_FUN_EXPORT PFNGLTEXSTORAGE2DPROC __glewTexStorage2D;
  14543. GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DPROC __glewTexStorage3D;
  14544. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT;
  14545. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT;
  14546. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT;
  14547. GLEW_FUN_EXPORT PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample;
  14548. GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample;
  14549. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT;
  14550. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT;
  14551. GLEW_FUN_EXPORT PFNGLTEXTUREVIEWPROC __glewTextureView;
  14552. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v;
  14553. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v;
  14554. GLEW_FUN_EXPORT PFNGLQUERYCOUNTERPROC __glewQueryCounter;
  14555. GLEW_FUN_EXPORT PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback;
  14556. GLEW_FUN_EXPORT PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks;
  14557. GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback;
  14558. GLEW_FUN_EXPORT PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks;
  14559. GLEW_FUN_EXPORT PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback;
  14560. GLEW_FUN_EXPORT PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback;
  14561. GLEW_FUN_EXPORT PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback;
  14562. GLEW_FUN_EXPORT PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed;
  14563. GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream;
  14564. GLEW_FUN_EXPORT PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed;
  14565. GLEW_FUN_EXPORT PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv;
  14566. GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced;
  14567. GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced;
  14568. GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB;
  14569. GLEW_FUN_EXPORT PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB;
  14570. GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB;
  14571. GLEW_FUN_EXPORT PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB;
  14572. GLEW_FUN_EXPORT PFNGLBINDBUFFERBASEPROC __glewBindBufferBase;
  14573. GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange;
  14574. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName;
  14575. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv;
  14576. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName;
  14577. GLEW_FUN_EXPORT PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv;
  14578. GLEW_FUN_EXPORT PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v;
  14579. GLEW_FUN_EXPORT PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex;
  14580. GLEW_FUN_EXPORT PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices;
  14581. GLEW_FUN_EXPORT PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding;
  14582. GLEW_FUN_EXPORT PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray;
  14583. GLEW_FUN_EXPORT PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays;
  14584. GLEW_FUN_EXPORT PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays;
  14585. GLEW_FUN_EXPORT PFNGLISVERTEXARRAYPROC __glewIsVertexArray;
  14586. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv;
  14587. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d;
  14588. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv;
  14589. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d;
  14590. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv;
  14591. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d;
  14592. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv;
  14593. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d;
  14594. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv;
  14595. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer;
  14596. GLEW_FUN_EXPORT PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer;
  14597. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding;
  14598. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat;
  14599. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat;
  14600. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat;
  14601. GLEW_FUN_EXPORT PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor;
  14602. GLEW_FUN_EXPORT PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB;
  14603. GLEW_FUN_EXPORT PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB;
  14604. GLEW_FUN_EXPORT PFNGLWEIGHTBVARBPROC __glewWeightbvARB;
  14605. GLEW_FUN_EXPORT PFNGLWEIGHTDVARBPROC __glewWeightdvARB;
  14606. GLEW_FUN_EXPORT PFNGLWEIGHTFVARBPROC __glewWeightfvARB;
  14607. GLEW_FUN_EXPORT PFNGLWEIGHTIVARBPROC __glewWeightivARB;
  14608. GLEW_FUN_EXPORT PFNGLWEIGHTSVARBPROC __glewWeightsvARB;
  14609. GLEW_FUN_EXPORT PFNGLWEIGHTUBVARBPROC __glewWeightubvARB;
  14610. GLEW_FUN_EXPORT PFNGLWEIGHTUIVARBPROC __glewWeightuivARB;
  14611. GLEW_FUN_EXPORT PFNGLWEIGHTUSVARBPROC __glewWeightusvARB;
  14612. GLEW_FUN_EXPORT PFNGLBINDBUFFERARBPROC __glewBindBufferARB;
  14613. GLEW_FUN_EXPORT PFNGLBUFFERDATAARBPROC __glewBufferDataARB;
  14614. GLEW_FUN_EXPORT PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB;
  14615. GLEW_FUN_EXPORT PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB;
  14616. GLEW_FUN_EXPORT PFNGLGENBUFFERSARBPROC __glewGenBuffersARB;
  14617. GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB;
  14618. GLEW_FUN_EXPORT PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB;
  14619. GLEW_FUN_EXPORT PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB;
  14620. GLEW_FUN_EXPORT PFNGLISBUFFERARBPROC __glewIsBufferARB;
  14621. GLEW_FUN_EXPORT PFNGLMAPBUFFERARBPROC __glewMapBufferARB;
  14622. GLEW_FUN_EXPORT PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB;
  14623. GLEW_FUN_EXPORT PFNGLBINDPROGRAMARBPROC __glewBindProgramARB;
  14624. GLEW_FUN_EXPORT PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB;
  14625. GLEW_FUN_EXPORT PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB;
  14626. GLEW_FUN_EXPORT PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB;
  14627. GLEW_FUN_EXPORT PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB;
  14628. GLEW_FUN_EXPORT PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB;
  14629. GLEW_FUN_EXPORT PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB;
  14630. GLEW_FUN_EXPORT PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB;
  14631. GLEW_FUN_EXPORT PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB;
  14632. GLEW_FUN_EXPORT PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB;
  14633. GLEW_FUN_EXPORT PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB;
  14634. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB;
  14635. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB;
  14636. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB;
  14637. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB;
  14638. GLEW_FUN_EXPORT PFNGLISPROGRAMARBPROC __glewIsProgramARB;
  14639. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB;
  14640. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB;
  14641. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB;
  14642. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB;
  14643. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB;
  14644. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB;
  14645. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB;
  14646. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB;
  14647. GLEW_FUN_EXPORT PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB;
  14648. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB;
  14649. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB;
  14650. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB;
  14651. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB;
  14652. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB;
  14653. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB;
  14654. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB;
  14655. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB;
  14656. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB;
  14657. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB;
  14658. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB;
  14659. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB;
  14660. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB;
  14661. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB;
  14662. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB;
  14663. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB;
  14664. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB;
  14665. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB;
  14666. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB;
  14667. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB;
  14668. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB;
  14669. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB;
  14670. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB;
  14671. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB;
  14672. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB;
  14673. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB;
  14674. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB;
  14675. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB;
  14676. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB;
  14677. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB;
  14678. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB;
  14679. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB;
  14680. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB;
  14681. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB;
  14682. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB;
  14683. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB;
  14684. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB;
  14685. GLEW_FUN_EXPORT PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB;
  14686. GLEW_FUN_EXPORT PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB;
  14687. GLEW_FUN_EXPORT PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB;
  14688. GLEW_FUN_EXPORT PFNGLCOLORP3UIPROC __glewColorP3ui;
  14689. GLEW_FUN_EXPORT PFNGLCOLORP3UIVPROC __glewColorP3uiv;
  14690. GLEW_FUN_EXPORT PFNGLCOLORP4UIPROC __glewColorP4ui;
  14691. GLEW_FUN_EXPORT PFNGLCOLORP4UIVPROC __glewColorP4uiv;
  14692. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui;
  14693. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv;
  14694. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui;
  14695. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv;
  14696. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui;
  14697. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv;
  14698. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui;
  14699. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv;
  14700. GLEW_FUN_EXPORT PFNGLNORMALP3UIPROC __glewNormalP3ui;
  14701. GLEW_FUN_EXPORT PFNGLNORMALP3UIVPROC __glewNormalP3uiv;
  14702. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui;
  14703. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv;
  14704. GLEW_FUN_EXPORT PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui;
  14705. GLEW_FUN_EXPORT PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv;
  14706. GLEW_FUN_EXPORT PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui;
  14707. GLEW_FUN_EXPORT PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv;
  14708. GLEW_FUN_EXPORT PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui;
  14709. GLEW_FUN_EXPORT PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv;
  14710. GLEW_FUN_EXPORT PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui;
  14711. GLEW_FUN_EXPORT PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv;
  14712. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui;
  14713. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv;
  14714. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui;
  14715. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv;
  14716. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui;
  14717. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv;
  14718. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui;
  14719. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv;
  14720. GLEW_FUN_EXPORT PFNGLVERTEXP2UIPROC __glewVertexP2ui;
  14721. GLEW_FUN_EXPORT PFNGLVERTEXP2UIVPROC __glewVertexP2uiv;
  14722. GLEW_FUN_EXPORT PFNGLVERTEXP3UIPROC __glewVertexP3ui;
  14723. GLEW_FUN_EXPORT PFNGLVERTEXP3UIVPROC __glewVertexP3uiv;
  14724. GLEW_FUN_EXPORT PFNGLVERTEXP4UIPROC __glewVertexP4ui;
  14725. GLEW_FUN_EXPORT PFNGLVERTEXP4UIVPROC __glewVertexP4uiv;
  14726. GLEW_FUN_EXPORT PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv;
  14727. GLEW_FUN_EXPORT PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed;
  14728. GLEW_FUN_EXPORT PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v;
  14729. GLEW_FUN_EXPORT PFNGLGETFLOATI_VPROC __glewGetFloati_v;
  14730. GLEW_FUN_EXPORT PFNGLSCISSORARRAYVPROC __glewScissorArrayv;
  14731. GLEW_FUN_EXPORT PFNGLSCISSORINDEXEDPROC __glewScissorIndexed;
  14732. GLEW_FUN_EXPORT PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv;
  14733. GLEW_FUN_EXPORT PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv;
  14734. GLEW_FUN_EXPORT PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf;
  14735. GLEW_FUN_EXPORT PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv;
  14736. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB;
  14737. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB;
  14738. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB;
  14739. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB;
  14740. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB;
  14741. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB;
  14742. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB;
  14743. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB;
  14744. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB;
  14745. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB;
  14746. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB;
  14747. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB;
  14748. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB;
  14749. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB;
  14750. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB;
  14751. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB;
  14752. GLEW_FUN_EXPORT PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI;
  14753. GLEW_FUN_EXPORT PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI;
  14754. GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI;
  14755. GLEW_FUN_EXPORT PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI;
  14756. GLEW_FUN_EXPORT PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI;
  14757. GLEW_FUN_EXPORT PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI;
  14758. GLEW_FUN_EXPORT PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI;
  14759. GLEW_FUN_EXPORT PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI;
  14760. GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI;
  14761. GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI;
  14762. GLEW_FUN_EXPORT PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI;
  14763. GLEW_FUN_EXPORT PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI;
  14764. GLEW_FUN_EXPORT PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI;
  14765. GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI;
  14766. GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI;
  14767. GLEW_FUN_EXPORT PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI;
  14768. GLEW_FUN_EXPORT PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI;
  14769. GLEW_FUN_EXPORT PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI;
  14770. GLEW_FUN_EXPORT PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI;
  14771. GLEW_FUN_EXPORT PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI;
  14772. GLEW_FUN_EXPORT PFNGLSAMPLEMAPATIPROC __glewSampleMapATI;
  14773. GLEW_FUN_EXPORT PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI;
  14774. GLEW_FUN_EXPORT PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI;
  14775. GLEW_FUN_EXPORT PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI;
  14776. GLEW_FUN_EXPORT PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI;
  14777. GLEW_FUN_EXPORT PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI;
  14778. GLEW_FUN_EXPORT PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI;
  14779. GLEW_FUN_EXPORT PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI;
  14780. GLEW_FUN_EXPORT PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI;
  14781. GLEW_FUN_EXPORT PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI;
  14782. GLEW_FUN_EXPORT PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI;
  14783. GLEW_FUN_EXPORT PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI;
  14784. GLEW_FUN_EXPORT PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI;
  14785. GLEW_FUN_EXPORT PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI;
  14786. GLEW_FUN_EXPORT PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI;
  14787. GLEW_FUN_EXPORT PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI;
  14788. GLEW_FUN_EXPORT PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI;
  14789. GLEW_FUN_EXPORT PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI;
  14790. GLEW_FUN_EXPORT PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI;
  14791. GLEW_FUN_EXPORT PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI;
  14792. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI;
  14793. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI;
  14794. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI;
  14795. GLEW_FUN_EXPORT PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI;
  14796. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI;
  14797. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI;
  14798. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI;
  14799. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI;
  14800. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI;
  14801. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI;
  14802. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI;
  14803. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI;
  14804. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI;
  14805. GLEW_FUN_EXPORT PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI;
  14806. GLEW_FUN_EXPORT PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI;
  14807. GLEW_FUN_EXPORT PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI;
  14808. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI;
  14809. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI;
  14810. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI;
  14811. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI;
  14812. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI;
  14813. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI;
  14814. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI;
  14815. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI;
  14816. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI;
  14817. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI;
  14818. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI;
  14819. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI;
  14820. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI;
  14821. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI;
  14822. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI;
  14823. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI;
  14824. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI;
  14825. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI;
  14826. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI;
  14827. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI;
  14828. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI;
  14829. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI;
  14830. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI;
  14831. GLEW_FUN_EXPORT PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI;
  14832. GLEW_FUN_EXPORT PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT;
  14833. GLEW_FUN_EXPORT PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT;
  14834. GLEW_FUN_EXPORT PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT;
  14835. GLEW_FUN_EXPORT PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT;
  14836. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT;
  14837. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT;
  14838. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT;
  14839. GLEW_FUN_EXPORT PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT;
  14840. GLEW_FUN_EXPORT PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT;
  14841. GLEW_FUN_EXPORT PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT;
  14842. GLEW_FUN_EXPORT PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT;
  14843. GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT;
  14844. GLEW_FUN_EXPORT PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT;
  14845. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT;
  14846. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT;
  14847. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT;
  14848. GLEW_FUN_EXPORT PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT;
  14849. GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT;
  14850. GLEW_FUN_EXPORT PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT;
  14851. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT;
  14852. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT;
  14853. GLEW_FUN_EXPORT PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT;
  14854. GLEW_FUN_EXPORT PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT;
  14855. GLEW_FUN_EXPORT PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT;
  14856. GLEW_FUN_EXPORT PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT;
  14857. GLEW_FUN_EXPORT PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT;
  14858. GLEW_FUN_EXPORT PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT;
  14859. GLEW_FUN_EXPORT PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT;
  14860. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT;
  14861. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT;
  14862. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT;
  14863. GLEW_FUN_EXPORT PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT;
  14864. GLEW_FUN_EXPORT PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT;
  14865. GLEW_FUN_EXPORT PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT;
  14866. GLEW_FUN_EXPORT PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT;
  14867. GLEW_FUN_EXPORT PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT;
  14868. GLEW_FUN_EXPORT PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT;
  14869. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT;
  14870. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT;
  14871. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT;
  14872. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT;
  14873. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT;
  14874. GLEW_FUN_EXPORT PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT;
  14875. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT;
  14876. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT;
  14877. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT;
  14878. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT;
  14879. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT;
  14880. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT;
  14881. GLEW_FUN_EXPORT PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT;
  14882. GLEW_FUN_EXPORT PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT;
  14883. GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT;
  14884. GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT;
  14885. GLEW_FUN_EXPORT PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT;
  14886. GLEW_FUN_EXPORT PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT;
  14887. GLEW_FUN_EXPORT PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT;
  14888. GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT;
  14889. GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT;
  14890. GLEW_FUN_EXPORT PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT;
  14891. GLEW_FUN_EXPORT PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT;
  14892. GLEW_FUN_EXPORT PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT;
  14893. GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT;
  14894. GLEW_FUN_EXPORT PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT;
  14895. GLEW_FUN_EXPORT PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT;
  14896. GLEW_FUN_EXPORT PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT;
  14897. GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT;
  14898. GLEW_FUN_EXPORT PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT;
  14899. GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT;
  14900. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT;
  14901. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT;
  14902. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT;
  14903. GLEW_FUN_EXPORT PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT;
  14904. GLEW_FUN_EXPORT PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT;
  14905. GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT;
  14906. GLEW_FUN_EXPORT PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT;
  14907. GLEW_FUN_EXPORT PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT;
  14908. GLEW_FUN_EXPORT PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT;
  14909. GLEW_FUN_EXPORT PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT;
  14910. GLEW_FUN_EXPORT PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT;
  14911. GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT;
  14912. GLEW_FUN_EXPORT PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT;
  14913. GLEW_FUN_EXPORT PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT;
  14914. GLEW_FUN_EXPORT PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT;
  14915. GLEW_FUN_EXPORT PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT;
  14916. GLEW_FUN_EXPORT PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT;
  14917. GLEW_FUN_EXPORT PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT;
  14918. GLEW_FUN_EXPORT PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT;
  14919. GLEW_FUN_EXPORT PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT;
  14920. GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT;
  14921. GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT;
  14922. GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT;
  14923. GLEW_FUN_EXPORT PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT;
  14924. GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT;
  14925. GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT;
  14926. GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT;
  14927. GLEW_FUN_EXPORT PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT;
  14928. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT;
  14929. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT;
  14930. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT;
  14931. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT;
  14932. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT;
  14933. GLEW_FUN_EXPORT PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT;
  14934. GLEW_FUN_EXPORT PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT;
  14935. GLEW_FUN_EXPORT PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT;
  14936. GLEW_FUN_EXPORT PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT;
  14937. GLEW_FUN_EXPORT PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT;
  14938. GLEW_FUN_EXPORT PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT;
  14939. GLEW_FUN_EXPORT PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT;
  14940. GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT;
  14941. GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT;
  14942. GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT;
  14943. GLEW_FUN_EXPORT PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT;
  14944. GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT;
  14945. GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT;
  14946. GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT;
  14947. GLEW_FUN_EXPORT PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT;
  14948. GLEW_FUN_EXPORT PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT;
  14949. GLEW_FUN_EXPORT PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT;
  14950. GLEW_FUN_EXPORT PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT;
  14951. GLEW_FUN_EXPORT PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT;
  14952. GLEW_FUN_EXPORT PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT;
  14953. GLEW_FUN_EXPORT PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT;
  14954. GLEW_FUN_EXPORT PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT;
  14955. GLEW_FUN_EXPORT PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT;
  14956. GLEW_FUN_EXPORT PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT;
  14957. GLEW_FUN_EXPORT PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT;
  14958. GLEW_FUN_EXPORT PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT;
  14959. GLEW_FUN_EXPORT PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT;
  14960. GLEW_FUN_EXPORT PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT;
  14961. GLEW_FUN_EXPORT PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT;
  14962. GLEW_FUN_EXPORT PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT;
  14963. GLEW_FUN_EXPORT PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT;
  14964. GLEW_FUN_EXPORT PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT;
  14965. GLEW_FUN_EXPORT PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT;
  14966. GLEW_FUN_EXPORT PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT;
  14967. GLEW_FUN_EXPORT PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT;
  14968. GLEW_FUN_EXPORT PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT;
  14969. GLEW_FUN_EXPORT PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT;
  14970. GLEW_FUN_EXPORT PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT;
  14971. GLEW_FUN_EXPORT PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT;
  14972. GLEW_FUN_EXPORT PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT;
  14973. GLEW_FUN_EXPORT PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT;
  14974. GLEW_FUN_EXPORT PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT;
  14975. GLEW_FUN_EXPORT PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT;
  14976. GLEW_FUN_EXPORT PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT;
  14977. GLEW_FUN_EXPORT PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT;
  14978. GLEW_FUN_EXPORT PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT;
  14979. GLEW_FUN_EXPORT PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT;
  14980. GLEW_FUN_EXPORT PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT;
  14981. GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT;
  14982. GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT;
  14983. GLEW_FUN_EXPORT PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT;
  14984. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT;
  14985. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT;
  14986. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT;
  14987. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT;
  14988. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT;
  14989. GLEW_FUN_EXPORT PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT;
  14990. GLEW_FUN_EXPORT PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT;
  14991. GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT;
  14992. GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT;
  14993. GLEW_FUN_EXPORT PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT;
  14994. GLEW_FUN_EXPORT PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT;
  14995. GLEW_FUN_EXPORT PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT;
  14996. GLEW_FUN_EXPORT PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT;
  14997. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT;
  14998. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT;
  14999. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT;
  15000. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT;
  15001. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT;
  15002. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT;
  15003. GLEW_FUN_EXPORT PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT;
  15004. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT;
  15005. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT;
  15006. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT;
  15007. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT;
  15008. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT;
  15009. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT;
  15010. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT;
  15011. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT;
  15012. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT;
  15013. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT;
  15014. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT;
  15015. GLEW_FUN_EXPORT PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT;
  15016. GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT;
  15017. GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT;
  15018. GLEW_FUN_EXPORT PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT;
  15019. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT;
  15020. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT;
  15021. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT;
  15022. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT;
  15023. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT;
  15024. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT;
  15025. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT;
  15026. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT;
  15027. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT;
  15028. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT;
  15029. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT;
  15030. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT;
  15031. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT;
  15032. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT;
  15033. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT;
  15034. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT;
  15035. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT;
  15036. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT;
  15037. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT;
  15038. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT;
  15039. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT;
  15040. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT;
  15041. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT;
  15042. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT;
  15043. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT;
  15044. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT;
  15045. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT;
  15046. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT;
  15047. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT;
  15048. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT;
  15049. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT;
  15050. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT;
  15051. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT;
  15052. GLEW_FUN_EXPORT PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT;
  15053. GLEW_FUN_EXPORT PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT;
  15054. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT;
  15055. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT;
  15056. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT;
  15057. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT;
  15058. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT;
  15059. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT;
  15060. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT;
  15061. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT;
  15062. GLEW_FUN_EXPORT PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT;
  15063. GLEW_FUN_EXPORT PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT;
  15064. GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT;
  15065. GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT;
  15066. GLEW_FUN_EXPORT PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT;
  15067. GLEW_FUN_EXPORT PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT;
  15068. GLEW_FUN_EXPORT PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT;
  15069. GLEW_FUN_EXPORT PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT;
  15070. GLEW_FUN_EXPORT PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT;
  15071. GLEW_FUN_EXPORT PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT;
  15072. GLEW_FUN_EXPORT PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT;
  15073. GLEW_FUN_EXPORT PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT;
  15074. GLEW_FUN_EXPORT PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT;
  15075. GLEW_FUN_EXPORT PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT;
  15076. GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT;
  15077. GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT;
  15078. GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT;
  15079. GLEW_FUN_EXPORT PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT;
  15080. GLEW_FUN_EXPORT PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT;
  15081. GLEW_FUN_EXPORT PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT;
  15082. GLEW_FUN_EXPORT PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT;
  15083. GLEW_FUN_EXPORT PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT;
  15084. GLEW_FUN_EXPORT PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT;
  15085. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT;
  15086. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT;
  15087. GLEW_FUN_EXPORT PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT;
  15088. GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT;
  15089. GLEW_FUN_EXPORT PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT;
  15090. GLEW_FUN_EXPORT PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT;
  15091. GLEW_FUN_EXPORT PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT;
  15092. GLEW_FUN_EXPORT PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT;
  15093. GLEW_FUN_EXPORT PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT;
  15094. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT;
  15095. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT;
  15096. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT;
  15097. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT;
  15098. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT;
  15099. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT;
  15100. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT;
  15101. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT;
  15102. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT;
  15103. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT;
  15104. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT;
  15105. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT;
  15106. GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT;
  15107. GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT;
  15108. GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT;
  15109. GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT;
  15110. GLEW_FUN_EXPORT PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT;
  15111. GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT;
  15112. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT;
  15113. GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT;
  15114. GLEW_FUN_EXPORT PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT;
  15115. GLEW_FUN_EXPORT PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT;
  15116. GLEW_FUN_EXPORT PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT;
  15117. GLEW_FUN_EXPORT PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT;
  15118. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT;
  15119. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT;
  15120. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT;
  15121. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT;
  15122. GLEW_FUN_EXPORT PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT;
  15123. GLEW_FUN_EXPORT PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT;
  15124. GLEW_FUN_EXPORT PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT;
  15125. GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT;
  15126. GLEW_FUN_EXPORT PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT;
  15127. GLEW_FUN_EXPORT PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT;
  15128. GLEW_FUN_EXPORT PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT;
  15129. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT;
  15130. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT;
  15131. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT;
  15132. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT;
  15133. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT;
  15134. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT;
  15135. GLEW_FUN_EXPORT PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT;
  15136. GLEW_FUN_EXPORT PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT;
  15137. GLEW_FUN_EXPORT PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT;
  15138. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT;
  15139. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT;
  15140. GLEW_FUN_EXPORT PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT;
  15141. GLEW_FUN_EXPORT PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT;
  15142. GLEW_FUN_EXPORT PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT;
  15143. GLEW_FUN_EXPORT PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT;
  15144. GLEW_FUN_EXPORT PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT;
  15145. GLEW_FUN_EXPORT PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT;
  15146. GLEW_FUN_EXPORT PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT;
  15147. GLEW_FUN_EXPORT PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT;
  15148. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT;
  15149. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT;
  15150. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT;
  15151. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT;
  15152. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT;
  15153. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT;
  15154. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT;
  15155. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT;
  15156. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT;
  15157. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT;
  15158. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT;
  15159. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT;
  15160. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT;
  15161. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT;
  15162. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT;
  15163. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT;
  15164. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT;
  15165. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT;
  15166. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT;
  15167. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT;
  15168. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT;
  15169. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT;
  15170. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT;
  15171. GLEW_FUN_EXPORT PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT;
  15172. GLEW_FUN_EXPORT PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT;
  15173. GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT;
  15174. GLEW_FUN_EXPORT PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT;
  15175. GLEW_FUN_EXPORT PFNGLHISTOGRAMEXTPROC __glewHistogramEXT;
  15176. GLEW_FUN_EXPORT PFNGLMINMAXEXTPROC __glewMinmaxEXT;
  15177. GLEW_FUN_EXPORT PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT;
  15178. GLEW_FUN_EXPORT PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT;
  15179. GLEW_FUN_EXPORT PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT;
  15180. GLEW_FUN_EXPORT PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT;
  15181. GLEW_FUN_EXPORT PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT;
  15182. GLEW_FUN_EXPORT PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT;
  15183. GLEW_FUN_EXPORT PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT;
  15184. GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT;
  15185. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT;
  15186. GLEW_FUN_EXPORT PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT;
  15187. GLEW_FUN_EXPORT PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT;
  15188. GLEW_FUN_EXPORT PFNGLCOLORTABLEEXTPROC __glewColorTableEXT;
  15189. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT;
  15190. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT;
  15191. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT;
  15192. GLEW_FUN_EXPORT PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT;
  15193. GLEW_FUN_EXPORT PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT;
  15194. GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT;
  15195. GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT;
  15196. GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT;
  15197. GLEW_FUN_EXPORT PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT;
  15198. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT;
  15199. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT;
  15200. GLEW_FUN_EXPORT PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT;
  15201. GLEW_FUN_EXPORT PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT;
  15202. GLEW_FUN_EXPORT PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT;
  15203. GLEW_FUN_EXPORT PFNGLENDSCENEEXTPROC __glewEndSceneEXT;
  15204. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT;
  15205. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT;
  15206. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT;
  15207. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT;
  15208. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT;
  15209. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT;
  15210. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT;
  15211. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT;
  15212. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT;
  15213. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT;
  15214. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT;
  15215. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT;
  15216. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT;
  15217. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT;
  15218. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT;
  15219. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT;
  15220. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT;
  15221. #if 0 // NOTE jwilkins: inconsistencies...
  15222. GLEW_FUN_EXPORT PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT;
  15223. GLEW_FUN_EXPORT PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT;
  15224. GLEW_FUN_EXPORT PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT;
  15225. #endif
  15226. GLEW_FUN_EXPORT PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT;
  15227. GLEW_FUN_EXPORT PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT;
  15228. GLEW_FUN_EXPORT PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT;
  15229. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT;
  15230. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT;
  15231. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT;
  15232. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT;
  15233. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT;
  15234. GLEW_FUN_EXPORT PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT;
  15235. GLEW_FUN_EXPORT PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT;
  15236. GLEW_FUN_EXPORT PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT;
  15237. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT;
  15238. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT;
  15239. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT;
  15240. GLEW_FUN_EXPORT PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT;
  15241. GLEW_FUN_EXPORT PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT;
  15242. GLEW_FUN_EXPORT PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT;
  15243. GLEW_FUN_EXPORT PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT;
  15244. GLEW_FUN_EXPORT PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT;
  15245. GLEW_FUN_EXPORT PFNGLISTEXTUREEXTPROC __glewIsTextureEXT;
  15246. GLEW_FUN_EXPORT PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT;
  15247. GLEW_FUN_EXPORT PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT;
  15248. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT;
  15249. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT;
  15250. GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT;
  15251. GLEW_FUN_EXPORT PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT;
  15252. GLEW_FUN_EXPORT PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT;
  15253. GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT;
  15254. GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT;
  15255. GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT;
  15256. GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT;
  15257. GLEW_FUN_EXPORT PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT;
  15258. GLEW_FUN_EXPORT PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT;
  15259. GLEW_FUN_EXPORT PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT;
  15260. GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT;
  15261. GLEW_FUN_EXPORT PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT;
  15262. GLEW_FUN_EXPORT PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT;
  15263. GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT;
  15264. GLEW_FUN_EXPORT PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT;
  15265. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT;
  15266. GLEW_FUN_EXPORT PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT;
  15267. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT;
  15268. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT;
  15269. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT;
  15270. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT;
  15271. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT;
  15272. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT;
  15273. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT;
  15274. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT;
  15275. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT;
  15276. GLEW_FUN_EXPORT PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT;
  15277. GLEW_FUN_EXPORT PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT;
  15278. GLEW_FUN_EXPORT PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT;
  15279. GLEW_FUN_EXPORT PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT;
  15280. GLEW_FUN_EXPORT PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT;
  15281. GLEW_FUN_EXPORT PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT;
  15282. GLEW_FUN_EXPORT PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT;
  15283. GLEW_FUN_EXPORT PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT;
  15284. GLEW_FUN_EXPORT PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT;
  15285. GLEW_FUN_EXPORT PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT;
  15286. GLEW_FUN_EXPORT PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT;
  15287. GLEW_FUN_EXPORT PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT;
  15288. GLEW_FUN_EXPORT PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT;
  15289. GLEW_FUN_EXPORT PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT;
  15290. GLEW_FUN_EXPORT PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT;
  15291. GLEW_FUN_EXPORT PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT;
  15292. GLEW_FUN_EXPORT PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT;
  15293. GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT;
  15294. GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT;
  15295. GLEW_FUN_EXPORT PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT;
  15296. GLEW_FUN_EXPORT PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT;
  15297. GLEW_FUN_EXPORT PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT;
  15298. GLEW_FUN_EXPORT PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT;
  15299. GLEW_FUN_EXPORT PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT;
  15300. GLEW_FUN_EXPORT PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT;
  15301. GLEW_FUN_EXPORT PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT;
  15302. GLEW_FUN_EXPORT PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT;
  15303. GLEW_FUN_EXPORT PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT;
  15304. GLEW_FUN_EXPORT PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT;
  15305. GLEW_FUN_EXPORT PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT;
  15306. GLEW_FUN_EXPORT PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT;
  15307. GLEW_FUN_EXPORT PFNGLSWIZZLEEXTPROC __glewSwizzleEXT;
  15308. GLEW_FUN_EXPORT PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT;
  15309. GLEW_FUN_EXPORT PFNGLVARIANTBVEXTPROC __glewVariantbvEXT;
  15310. GLEW_FUN_EXPORT PFNGLVARIANTDVEXTPROC __glewVariantdvEXT;
  15311. GLEW_FUN_EXPORT PFNGLVARIANTFVEXTPROC __glewVariantfvEXT;
  15312. GLEW_FUN_EXPORT PFNGLVARIANTIVEXTPROC __glewVariantivEXT;
  15313. GLEW_FUN_EXPORT PFNGLVARIANTSVEXTPROC __glewVariantsvEXT;
  15314. GLEW_FUN_EXPORT PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT;
  15315. GLEW_FUN_EXPORT PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT;
  15316. GLEW_FUN_EXPORT PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT;
  15317. GLEW_FUN_EXPORT PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT;
  15318. GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT;
  15319. GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT;
  15320. GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT;
  15321. GLEW_FUN_EXPORT PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT;
  15322. GLEW_FUN_EXPORT PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY;
  15323. GLEW_FUN_EXPORT PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY;
  15324. GLEW_FUN_EXPORT PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP;
  15325. GLEW_FUN_EXPORT PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP;
  15326. GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP;
  15327. GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP;
  15328. GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP;
  15329. GLEW_FUN_EXPORT PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP;
  15330. GLEW_FUN_EXPORT PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM;
  15331. GLEW_FUN_EXPORT PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM;
  15332. GLEW_FUN_EXPORT PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM;
  15333. GLEW_FUN_EXPORT PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM;
  15334. GLEW_FUN_EXPORT PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM;
  15335. GLEW_FUN_EXPORT PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM;
  15336. GLEW_FUN_EXPORT PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM;
  15337. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM;
  15338. GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM;
  15339. GLEW_FUN_EXPORT PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM;
  15340. GLEW_FUN_EXPORT PFNGLMAPTEXTURE2DINTELPROC __glewMapTexture2DINTEL;
  15341. GLEW_FUN_EXPORT PFNGLSYNCTEXTUREINTELPROC __glewSyncTextureINTEL;
  15342. GLEW_FUN_EXPORT PFNGLUNMAPTEXTURE2DINTELPROC __glewUnmapTexture2DINTEL;
  15343. GLEW_FUN_EXPORT PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL;
  15344. GLEW_FUN_EXPORT PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL;
  15345. GLEW_FUN_EXPORT PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL;
  15346. GLEW_FUN_EXPORT PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL;
  15347. GLEW_FUN_EXPORT PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL;
  15348. GLEW_FUN_EXPORT PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL;
  15349. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback;
  15350. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl;
  15351. GLEW_FUN_EXPORT PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert;
  15352. GLEW_FUN_EXPORT PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog;
  15353. GLEW_FUN_EXPORT PFNGLGETOBJECTLABELPROC __glewGetObjectLabel;
  15354. GLEW_FUN_EXPORT PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel;
  15355. //GLEW_FUN_EXPORT PFNGLGETPOINTERVPROC __glewGetPointerv; // NOTE jwilkins redefinition?
  15356. GLEW_FUN_EXPORT PFNGLOBJECTLABELPROC __glewObjectLabel;
  15357. GLEW_FUN_EXPORT PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel;
  15358. GLEW_FUN_EXPORT PFNGLPOPDEBUGGROUPPROC __glewPopDebugGroup;
  15359. GLEW_FUN_EXPORT PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup;
  15360. GLEW_FUN_EXPORT PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled;
  15361. GLEW_FUN_EXPORT PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion;
  15362. GLEW_FUN_EXPORT PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion;
  15363. GLEW_FUN_EXPORT PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion;
  15364. GLEW_FUN_EXPORT PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion;
  15365. GLEW_FUN_EXPORT PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA;
  15366. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA;
  15367. GLEW_FUN_EXPORT PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA;
  15368. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA;
  15369. GLEW_FUN_EXPORT PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA;
  15370. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA;
  15371. GLEW_FUN_EXPORT PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA;
  15372. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA;
  15373. GLEW_FUN_EXPORT PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA;
  15374. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA;
  15375. GLEW_FUN_EXPORT PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA;
  15376. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA;
  15377. GLEW_FUN_EXPORT PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA;
  15378. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA;
  15379. GLEW_FUN_EXPORT PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA;
  15380. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA;
  15381. GLEW_FUN_EXPORT PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA;
  15382. GLEW_FUN_EXPORT PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA;
  15383. GLEW_FUN_EXPORT PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA;
  15384. GLEW_FUN_EXPORT PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA;
  15385. GLEW_FUN_EXPORT PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA;
  15386. GLEW_FUN_EXPORT PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA;
  15387. GLEW_FUN_EXPORT PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA;
  15388. GLEW_FUN_EXPORT PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA;
  15389. GLEW_FUN_EXPORT PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA;
  15390. GLEW_FUN_EXPORT PFNGLBEGINCONDITIONALRENDERNVXPROC __glewBeginConditionalRenderNVX;
  15391. GLEW_FUN_EXPORT PFNGLENDCONDITIONALRENDERNVXPROC __glewEndConditionalRenderNVX;
  15392. GLEW_FUN_EXPORT PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV;
  15393. GLEW_FUN_EXPORT PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV;
  15394. GLEW_FUN_EXPORT PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV;
  15395. GLEW_FUN_EXPORT PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV;
  15396. GLEW_FUN_EXPORT PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV;
  15397. GLEW_FUN_EXPORT PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV;
  15398. GLEW_FUN_EXPORT PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV;
  15399. GLEW_FUN_EXPORT PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV;
  15400. GLEW_FUN_EXPORT PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV;
  15401. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV;
  15402. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV;
  15403. GLEW_FUN_EXPORT PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV;
  15404. GLEW_FUN_EXPORT PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV;
  15405. GLEW_FUN_EXPORT PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV;
  15406. GLEW_FUN_EXPORT PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV;
  15407. GLEW_FUN_EXPORT PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV;
  15408. GLEW_FUN_EXPORT PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV;
  15409. GLEW_FUN_EXPORT PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV;
  15410. GLEW_FUN_EXPORT PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV;
  15411. GLEW_FUN_EXPORT PFNGLDRAWTEXTURENVPROC __glewDrawTextureNV;
  15412. GLEW_FUN_EXPORT PFNGLEVALMAPSNVPROC __glewEvalMapsNV;
  15413. GLEW_FUN_EXPORT PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV;
  15414. GLEW_FUN_EXPORT PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV;
  15415. GLEW_FUN_EXPORT PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV;
  15416. GLEW_FUN_EXPORT PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV;
  15417. GLEW_FUN_EXPORT PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV;
  15418. GLEW_FUN_EXPORT PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV;
  15419. GLEW_FUN_EXPORT PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV;
  15420. GLEW_FUN_EXPORT PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV;
  15421. GLEW_FUN_EXPORT PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV;
  15422. GLEW_FUN_EXPORT PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV;
  15423. GLEW_FUN_EXPORT PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV;
  15424. GLEW_FUN_EXPORT PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV;
  15425. GLEW_FUN_EXPORT PFNGLFINISHFENCENVPROC __glewFinishFenceNV;
  15426. GLEW_FUN_EXPORT PFNGLGENFENCESNVPROC __glewGenFencesNV;
  15427. GLEW_FUN_EXPORT PFNGLGETFENCEIVNVPROC __glewGetFenceivNV;
  15428. GLEW_FUN_EXPORT PFNGLISFENCENVPROC __glewIsFenceNV;
  15429. GLEW_FUN_EXPORT PFNGLSETFENCENVPROC __glewSetFenceNV;
  15430. GLEW_FUN_EXPORT PFNGLTESTFENCENVPROC __glewTestFenceNV;
  15431. GLEW_FUN_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV;
  15432. GLEW_FUN_EXPORT PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV;
  15433. GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV;
  15434. GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV;
  15435. GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV;
  15436. GLEW_FUN_EXPORT PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV;
  15437. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV;
  15438. GLEW_FUN_EXPORT PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV;
  15439. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV;
  15440. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV;
  15441. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV;
  15442. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV;
  15443. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV;
  15444. GLEW_FUN_EXPORT PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV;
  15445. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV;
  15446. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV;
  15447. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV;
  15448. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV;
  15449. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV;
  15450. GLEW_FUN_EXPORT PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV;
  15451. GLEW_FUN_EXPORT PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV;
  15452. GLEW_FUN_EXPORT PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV;
  15453. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV;
  15454. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV;
  15455. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV;
  15456. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV;
  15457. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV;
  15458. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV;
  15459. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV;
  15460. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV;
  15461. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV;
  15462. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV;
  15463. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV;
  15464. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV;
  15465. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV;
  15466. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV;
  15467. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV;
  15468. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV;
  15469. GLEW_FUN_EXPORT PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV;
  15470. GLEW_FUN_EXPORT PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV;
  15471. GLEW_FUN_EXPORT PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV;
  15472. GLEW_FUN_EXPORT PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV;
  15473. GLEW_FUN_EXPORT PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV;
  15474. GLEW_FUN_EXPORT PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV;
  15475. GLEW_FUN_EXPORT PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV;
  15476. GLEW_FUN_EXPORT PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV;
  15477. GLEW_FUN_EXPORT PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV;
  15478. GLEW_FUN_EXPORT PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV;
  15479. GLEW_FUN_EXPORT PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV;
  15480. GLEW_FUN_EXPORT PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV;
  15481. GLEW_FUN_EXPORT PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV;
  15482. GLEW_FUN_EXPORT PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV;
  15483. GLEW_FUN_EXPORT PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV;
  15484. GLEW_FUN_EXPORT PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV;
  15485. GLEW_FUN_EXPORT PFNGLCOLOR3HNVPROC __glewColor3hNV;
  15486. GLEW_FUN_EXPORT PFNGLCOLOR3HVNVPROC __glewColor3hvNV;
  15487. GLEW_FUN_EXPORT PFNGLCOLOR4HNVPROC __glewColor4hNV;
  15488. GLEW_FUN_EXPORT PFNGLCOLOR4HVNVPROC __glewColor4hvNV;
  15489. GLEW_FUN_EXPORT PFNGLFOGCOORDHNVPROC __glewFogCoordhNV;
  15490. GLEW_FUN_EXPORT PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV;
  15491. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV;
  15492. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV;
  15493. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV;
  15494. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV;
  15495. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV;
  15496. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV;
  15497. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV;
  15498. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV;
  15499. GLEW_FUN_EXPORT PFNGLNORMAL3HNVPROC __glewNormal3hNV;
  15500. GLEW_FUN_EXPORT PFNGLNORMAL3HVNVPROC __glewNormal3hvNV;
  15501. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV;
  15502. GLEW_FUN_EXPORT PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV;
  15503. GLEW_FUN_EXPORT PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV;
  15504. GLEW_FUN_EXPORT PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV;
  15505. GLEW_FUN_EXPORT PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV;
  15506. GLEW_FUN_EXPORT PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV;
  15507. GLEW_FUN_EXPORT PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV;
  15508. GLEW_FUN_EXPORT PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV;
  15509. GLEW_FUN_EXPORT PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV;
  15510. GLEW_FUN_EXPORT PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV;
  15511. GLEW_FUN_EXPORT PFNGLVERTEX2HNVPROC __glewVertex2hNV;
  15512. GLEW_FUN_EXPORT PFNGLVERTEX2HVNVPROC __glewVertex2hvNV;
  15513. GLEW_FUN_EXPORT PFNGLVERTEX3HNVPROC __glewVertex3hNV;
  15514. GLEW_FUN_EXPORT PFNGLVERTEX3HVNVPROC __glewVertex3hvNV;
  15515. GLEW_FUN_EXPORT PFNGLVERTEX4HNVPROC __glewVertex4hNV;
  15516. GLEW_FUN_EXPORT PFNGLVERTEX4HVNVPROC __glewVertex4hvNV;
  15517. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV;
  15518. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV;
  15519. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV;
  15520. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV;
  15521. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV;
  15522. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV;
  15523. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV;
  15524. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV;
  15525. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV;
  15526. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV;
  15527. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV;
  15528. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV;
  15529. GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV;
  15530. GLEW_FUN_EXPORT PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV;
  15531. GLEW_FUN_EXPORT PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV;
  15532. GLEW_FUN_EXPORT PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV;
  15533. GLEW_FUN_EXPORT PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV;
  15534. GLEW_FUN_EXPORT PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV;
  15535. GLEW_FUN_EXPORT PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV;
  15536. GLEW_FUN_EXPORT PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV;
  15537. GLEW_FUN_EXPORT PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV;
  15538. GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV;
  15539. GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV;
  15540. GLEW_FUN_EXPORT PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV;
  15541. GLEW_FUN_EXPORT PFNGLCOPYPATHNVPROC __glewCopyPathNV;
  15542. GLEW_FUN_EXPORT PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV;
  15543. GLEW_FUN_EXPORT PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV;
  15544. GLEW_FUN_EXPORT PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV;
  15545. GLEW_FUN_EXPORT PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV;
  15546. GLEW_FUN_EXPORT PFNGLDELETEPATHSNVPROC __glewDeletePathsNV;
  15547. GLEW_FUN_EXPORT PFNGLGENPATHSNVPROC __glewGenPathsNV;
  15548. GLEW_FUN_EXPORT PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV;
  15549. GLEW_FUN_EXPORT PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV;
  15550. GLEW_FUN_EXPORT PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV;
  15551. GLEW_FUN_EXPORT PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV;
  15552. GLEW_FUN_EXPORT PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV;
  15553. GLEW_FUN_EXPORT PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV;
  15554. GLEW_FUN_EXPORT PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV;
  15555. GLEW_FUN_EXPORT PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV;
  15556. GLEW_FUN_EXPORT PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV;
  15557. GLEW_FUN_EXPORT PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV;
  15558. GLEW_FUN_EXPORT PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV;
  15559. GLEW_FUN_EXPORT PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV;
  15560. GLEW_FUN_EXPORT PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV;
  15561. GLEW_FUN_EXPORT PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV;
  15562. GLEW_FUN_EXPORT PFNGLISPATHNVPROC __glewIsPathNV;
  15563. GLEW_FUN_EXPORT PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV;
  15564. GLEW_FUN_EXPORT PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV;
  15565. GLEW_FUN_EXPORT PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV;
  15566. GLEW_FUN_EXPORT PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV;
  15567. GLEW_FUN_EXPORT PFNGLPATHCOORDSNVPROC __glewPathCoordsNV;
  15568. GLEW_FUN_EXPORT PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV;
  15569. GLEW_FUN_EXPORT PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV;
  15570. GLEW_FUN_EXPORT PFNGLPATHFOGGENNVPROC __glewPathFogGenNV;
  15571. GLEW_FUN_EXPORT PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV;
  15572. GLEW_FUN_EXPORT PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV;
  15573. GLEW_FUN_EXPORT PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV;
  15574. GLEW_FUN_EXPORT PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV;
  15575. GLEW_FUN_EXPORT PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV;
  15576. GLEW_FUN_EXPORT PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV;
  15577. GLEW_FUN_EXPORT PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV;
  15578. GLEW_FUN_EXPORT PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV;
  15579. GLEW_FUN_EXPORT PFNGLPATHSTRINGNVPROC __glewPathStringNV;
  15580. GLEW_FUN_EXPORT PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV;
  15581. GLEW_FUN_EXPORT PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV;
  15582. GLEW_FUN_EXPORT PFNGLPATHTEXGENNVPROC __glewPathTexGenNV;
  15583. GLEW_FUN_EXPORT PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV;
  15584. GLEW_FUN_EXPORT PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV;
  15585. GLEW_FUN_EXPORT PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV;
  15586. GLEW_FUN_EXPORT PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV;
  15587. GLEW_FUN_EXPORT PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV;
  15588. GLEW_FUN_EXPORT PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV;
  15589. GLEW_FUN_EXPORT PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV;
  15590. GLEW_FUN_EXPORT PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV;
  15591. GLEW_FUN_EXPORT PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV;
  15592. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV;
  15593. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV;
  15594. GLEW_FUN_EXPORT PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV;
  15595. GLEW_FUN_EXPORT PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV;
  15596. GLEW_FUN_EXPORT PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV;
  15597. GLEW_FUN_EXPORT PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV;
  15598. GLEW_FUN_EXPORT PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV;
  15599. GLEW_FUN_EXPORT PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV;
  15600. GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV;
  15601. GLEW_FUN_EXPORT PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV;
  15602. GLEW_FUN_EXPORT PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV;
  15603. GLEW_FUN_EXPORT PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV;
  15604. GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV;
  15605. GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV;
  15606. GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV;
  15607. GLEW_FUN_EXPORT PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV;
  15608. GLEW_FUN_EXPORT PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV;
  15609. GLEW_FUN_EXPORT PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV;
  15610. GLEW_FUN_EXPORT PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV;
  15611. GLEW_FUN_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV;
  15612. GLEW_FUN_EXPORT PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV;
  15613. GLEW_FUN_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV;
  15614. GLEW_FUN_EXPORT PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV;
  15615. GLEW_FUN_EXPORT PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV;
  15616. GLEW_FUN_EXPORT PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV;
  15617. GLEW_FUN_EXPORT PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV;
  15618. GLEW_FUN_EXPORT PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV;
  15619. GLEW_FUN_EXPORT PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV;
  15620. GLEW_FUN_EXPORT PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV;
  15621. GLEW_FUN_EXPORT PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV;
  15622. GLEW_FUN_EXPORT PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV;
  15623. GLEW_FUN_EXPORT PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV;
  15624. GLEW_FUN_EXPORT PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV;
  15625. GLEW_FUN_EXPORT PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV;
  15626. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV;
  15627. GLEW_FUN_EXPORT PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV;
  15628. GLEW_FUN_EXPORT PFNGLUNIFORMUI64NVPROC __glewUniformui64NV;
  15629. GLEW_FUN_EXPORT PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV;
  15630. GLEW_FUN_EXPORT PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV;
  15631. GLEW_FUN_EXPORT PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV;
  15632. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV;
  15633. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV;
  15634. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV;
  15635. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV;
  15636. GLEW_FUN_EXPORT PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV;
  15637. GLEW_FUN_EXPORT PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV;
  15638. GLEW_FUN_EXPORT PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV;
  15639. GLEW_FUN_EXPORT PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV;
  15640. GLEW_FUN_EXPORT PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV;
  15641. GLEW_FUN_EXPORT PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV;
  15642. GLEW_FUN_EXPORT PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV;
  15643. GLEW_FUN_EXPORT PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV;
  15644. GLEW_FUN_EXPORT PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV;
  15645. GLEW_FUN_EXPORT PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV;
  15646. GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV;
  15647. GLEW_FUN_EXPORT PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV;
  15648. GLEW_FUN_EXPORT PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV;
  15649. GLEW_FUN_EXPORT PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV;
  15650. GLEW_FUN_EXPORT PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV;
  15651. GLEW_FUN_EXPORT PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV;
  15652. GLEW_FUN_EXPORT PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV;
  15653. GLEW_FUN_EXPORT PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV;
  15654. GLEW_FUN_EXPORT PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV;
  15655. GLEW_FUN_EXPORT PFNGLVDPAUFININVPROC __glewVDPAUFiniNV;
  15656. GLEW_FUN_EXPORT PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV;
  15657. GLEW_FUN_EXPORT PFNGLVDPAUINITNVPROC __glewVDPAUInitNV;
  15658. GLEW_FUN_EXPORT PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV;
  15659. GLEW_FUN_EXPORT PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV;
  15660. GLEW_FUN_EXPORT PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV;
  15661. GLEW_FUN_EXPORT PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV;
  15662. GLEW_FUN_EXPORT PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV;
  15663. GLEW_FUN_EXPORT PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV;
  15664. GLEW_FUN_EXPORT PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV;
  15665. GLEW_FUN_EXPORT PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV;
  15666. GLEW_FUN_EXPORT PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV;
  15667. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV;
  15668. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV;
  15669. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV;
  15670. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV;
  15671. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV;
  15672. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV;
  15673. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV;
  15674. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV;
  15675. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV;
  15676. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV;
  15677. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV;
  15678. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV;
  15679. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV;
  15680. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV;
  15681. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV;
  15682. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV;
  15683. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV;
  15684. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV;
  15685. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV;
  15686. GLEW_FUN_EXPORT PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV;
  15687. GLEW_FUN_EXPORT PFNGLCOLORFORMATNVPROC __glewColorFormatNV;
  15688. GLEW_FUN_EXPORT PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV;
  15689. GLEW_FUN_EXPORT PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV;
  15690. GLEW_FUN_EXPORT PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV;
  15691. GLEW_FUN_EXPORT PFNGLINDEXFORMATNVPROC __glewIndexFormatNV;
  15692. GLEW_FUN_EXPORT PFNGLNORMALFORMATNVPROC __glewNormalFormatNV;
  15693. GLEW_FUN_EXPORT PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV;
  15694. GLEW_FUN_EXPORT PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV;
  15695. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV;
  15696. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV;
  15697. GLEW_FUN_EXPORT PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV;
  15698. GLEW_FUN_EXPORT PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV;
  15699. GLEW_FUN_EXPORT PFNGLBINDPROGRAMNVPROC __glewBindProgramNV;
  15700. GLEW_FUN_EXPORT PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV;
  15701. GLEW_FUN_EXPORT PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV;
  15702. GLEW_FUN_EXPORT PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV;
  15703. GLEW_FUN_EXPORT PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV;
  15704. GLEW_FUN_EXPORT PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV;
  15705. GLEW_FUN_EXPORT PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV;
  15706. GLEW_FUN_EXPORT PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV;
  15707. GLEW_FUN_EXPORT PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV;
  15708. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV;
  15709. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV;
  15710. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV;
  15711. GLEW_FUN_EXPORT PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV;
  15712. GLEW_FUN_EXPORT PFNGLISPROGRAMNVPROC __glewIsProgramNV;
  15713. GLEW_FUN_EXPORT PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV;
  15714. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV;
  15715. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV;
  15716. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV;
  15717. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV;
  15718. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV;
  15719. GLEW_FUN_EXPORT PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV;
  15720. GLEW_FUN_EXPORT PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV;
  15721. GLEW_FUN_EXPORT PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV;
  15722. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV;
  15723. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV;
  15724. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV;
  15725. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV;
  15726. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV;
  15727. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV;
  15728. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV;
  15729. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV;
  15730. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV;
  15731. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV;
  15732. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV;
  15733. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV;
  15734. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV;
  15735. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV;
  15736. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV;
  15737. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV;
  15738. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV;
  15739. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV;
  15740. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV;
  15741. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV;
  15742. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV;
  15743. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV;
  15744. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV;
  15745. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV;
  15746. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV;
  15747. GLEW_FUN_EXPORT PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV;
  15748. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV;
  15749. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV;
  15750. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV;
  15751. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV;
  15752. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV;
  15753. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV;
  15754. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV;
  15755. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV;
  15756. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV;
  15757. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV;
  15758. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV;
  15759. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV;
  15760. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV;
  15761. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV;
  15762. GLEW_FUN_EXPORT PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV;
  15763. GLEW_FUN_EXPORT PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV;
  15764. GLEW_FUN_EXPORT PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV;
  15765. GLEW_FUN_EXPORT PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV;
  15766. GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV;
  15767. GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV;
  15768. GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV;
  15769. GLEW_FUN_EXPORT PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV;
  15770. GLEW_FUN_EXPORT PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV;
  15771. GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV;
  15772. GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV;
  15773. GLEW_FUN_EXPORT PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV;
  15774. GLEW_FUN_EXPORT PFNGLCLEARDEPTHFOESPROC __glewClearDepthfOES;
  15775. GLEW_FUN_EXPORT PFNGLCLIPPLANEFOESPROC __glewClipPlanefOES;
  15776. GLEW_FUN_EXPORT PFNGLDEPTHRANGEFOESPROC __glewDepthRangefOES;
  15777. GLEW_FUN_EXPORT PFNGLFRUSTUMFOESPROC __glewFrustumfOES;
  15778. GLEW_FUN_EXPORT PFNGLGETCLIPPLANEFOESPROC __glewGetClipPlanefOES;
  15779. GLEW_FUN_EXPORT PFNGLORTHOFOESPROC __glewOrthofOES;
  15780. GLEW_FUN_EXPORT PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS;
  15781. GLEW_FUN_EXPORT PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS;
  15782. GLEW_FUN_EXPORT PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS;
  15783. GLEW_FUN_EXPORT PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS;
  15784. GLEW_FUN_EXPORT PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS;
  15785. GLEW_FUN_EXPORT PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS;
  15786. GLEW_FUN_EXPORT PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS;
  15787. GLEW_FUN_EXPORT PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS;
  15788. GLEW_FUN_EXPORT PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS;
  15789. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS;
  15790. GLEW_FUN_EXPORT PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS;
  15791. GLEW_FUN_EXPORT PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS;
  15792. GLEW_FUN_EXPORT PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX;
  15793. GLEW_FUN_EXPORT PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX;
  15794. GLEW_FUN_EXPORT PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX;
  15795. GLEW_FUN_EXPORT PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX;
  15796. GLEW_FUN_EXPORT PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX;
  15797. GLEW_FUN_EXPORT PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX;
  15798. GLEW_FUN_EXPORT PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX;
  15799. GLEW_FUN_EXPORT PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX;
  15800. GLEW_FUN_EXPORT PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX;
  15801. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX;
  15802. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX;
  15803. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX;
  15804. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX;
  15805. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX;
  15806. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX;
  15807. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX;
  15808. GLEW_FUN_EXPORT PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX;
  15809. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX;
  15810. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX;
  15811. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX;
  15812. GLEW_FUN_EXPORT PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX;
  15813. GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX;
  15814. GLEW_FUN_EXPORT PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX;
  15815. GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX;
  15816. GLEW_FUN_EXPORT PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX;
  15817. GLEW_FUN_EXPORT PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX;
  15818. GLEW_FUN_EXPORT PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX;
  15819. GLEW_FUN_EXPORT PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX;
  15820. GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX;
  15821. GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX;
  15822. GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX;
  15823. GLEW_FUN_EXPORT PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX;
  15824. GLEW_FUN_EXPORT PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX;
  15825. GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI;
  15826. GLEW_FUN_EXPORT PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI;
  15827. GLEW_FUN_EXPORT PFNGLCOLORTABLESGIPROC __glewColorTableSGI;
  15828. GLEW_FUN_EXPORT PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI;
  15829. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI;
  15830. GLEW_FUN_EXPORT PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI;
  15831. GLEW_FUN_EXPORT PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI;
  15832. GLEW_FUN_EXPORT PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX;
  15833. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN;
  15834. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN;
  15835. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN;
  15836. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN;
  15837. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN;
  15838. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN;
  15839. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN;
  15840. GLEW_FUN_EXPORT PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN;
  15841. GLEW_FUN_EXPORT PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN;
  15842. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN;
  15843. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN;
  15844. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN;
  15845. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN;
  15846. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN;
  15847. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN;
  15848. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN;
  15849. GLEW_FUN_EXPORT PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN;
  15850. GLEW_FUN_EXPORT PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN;
  15851. GLEW_FUN_EXPORT PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN;
  15852. GLEW_FUN_EXPORT PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN;
  15853. GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN;
  15854. GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN;
  15855. GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN;
  15856. GLEW_FUN_EXPORT PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN;
  15857. GLEW_FUN_EXPORT PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN;
  15858. GLEW_FUN_EXPORT PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN;
  15859. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN;
  15860. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN;
  15861. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN;
  15862. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN;
  15863. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN;
  15864. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN;
  15865. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN;
  15866. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN;
  15867. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN;
  15868. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN;
  15869. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN;
  15870. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN;
  15871. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN;
  15872. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN;
  15873. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN;
  15874. GLEW_FUN_EXPORT PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN;
  15875. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN;
  15876. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN;
  15877. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN;
  15878. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN;
  15879. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN;
  15880. GLEW_FUN_EXPORT PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN;
  15881. GLEW_FUN_EXPORT PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN;
  15882. GLEW_FUN_EXPORT PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN;
  15883. GLEW_FUN_EXPORT PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN;
  15884. GLEW_FUN_EXPORT PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN;
  15885. GLEW_FUN_EXPORT PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN;
  15886. GLEW_FUN_EXPORT PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN;
  15887. GLEW_FUN_EXPORT PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN;
  15888. GLEW_FUN_EXPORT PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN;
  15889. GLEW_FUN_EXPORT PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN;
  15890. #if !defined(GLEW_NO_ES)
  15891. GLEW_FUN_EXPORT PFNGLALPHAFUNCXPROC __glewAlphaFuncx;
  15892. GLEW_FUN_EXPORT PFNGLCLEARCOLORXPROC __glewClearColorx;
  15893. GLEW_FUN_EXPORT PFNGLCLEARDEPTHXPROC __glewClearDepthx;
  15894. GLEW_FUN_EXPORT PFNGLCOLOR4XPROC __glewColor4x;
  15895. GLEW_FUN_EXPORT PFNGLDEPTHRANGEXPROC __glewDepthRangex;
  15896. GLEW_FUN_EXPORT PFNGLFOGXPROC __glewFogx;
  15897. GLEW_FUN_EXPORT PFNGLFOGXVPROC __glewFogxv;
  15898. GLEW_FUN_EXPORT PFNGLFRUSTUMFPROC __glewFrustumf;
  15899. GLEW_FUN_EXPORT PFNGLFRUSTUMXPROC __glewFrustumx;
  15900. GLEW_FUN_EXPORT PFNGLLIGHTMODELXPROC __glewLightModelx;
  15901. GLEW_FUN_EXPORT PFNGLLIGHTMODELXVPROC __glewLightModelxv;
  15902. GLEW_FUN_EXPORT PFNGLLIGHTXPROC __glewLightx;
  15903. GLEW_FUN_EXPORT PFNGLLIGHTXVPROC __glewLightxv;
  15904. GLEW_FUN_EXPORT PFNGLLINEWIDTHXPROC __glewLineWidthx;
  15905. GLEW_FUN_EXPORT PFNGLLOADMATRIXXPROC __glewLoadMatrixx;
  15906. GLEW_FUN_EXPORT PFNGLMATERIALXPROC __glewMaterialx;
  15907. GLEW_FUN_EXPORT PFNGLMATERIALXVPROC __glewMaterialxv;
  15908. GLEW_FUN_EXPORT PFNGLMULTMATRIXXPROC __glewMultMatrixx;
  15909. GLEW_FUN_EXPORT PFNGLMULTITEXCOORD4XPROC __glewMultiTexCoord4x;
  15910. GLEW_FUN_EXPORT PFNGLNORMAL3XPROC __glewNormal3x;
  15911. GLEW_FUN_EXPORT PFNGLORTHOFPROC __glewOrthof;
  15912. GLEW_FUN_EXPORT PFNGLORTHOXPROC __glewOrthox;
  15913. GLEW_FUN_EXPORT PFNGLPOINTSIZEXPROC __glewPointSizex;
  15914. GLEW_FUN_EXPORT PFNGLPOLYGONOFFSETXPROC __glewPolygonOffsetx;
  15915. GLEW_FUN_EXPORT PFNGLROTATEXPROC __glewRotatex;
  15916. GLEW_FUN_EXPORT PFNGLSAMPLECOVERAGEXPROC __glewSampleCoveragex;
  15917. GLEW_FUN_EXPORT PFNGLSCALEXPROC __glewScalex;
  15918. GLEW_FUN_EXPORT PFNGLTEXENVXPROC __glewTexEnvx;
  15919. GLEW_FUN_EXPORT PFNGLTEXENVXVPROC __glewTexEnvxv;
  15920. GLEW_FUN_EXPORT PFNGLTEXPARAMETERXPROC __glewTexParameterx;
  15921. GLEW_FUN_EXPORT PFNGLTRANSLATEXPROC __glewTranslatex;
  15922. GLEW_FUN_EXPORT PFNGLCLIPPLANEXPROC __glewClipPlanex;
  15923. GLEW_FUN_EXPORT PFNGLGETCLIPPLANEXPROC __glewGetClipPlanex;
  15924. GLEW_FUN_EXPORT PFNGLGETFIXEDVPROC __glewGetFixedv;
  15925. GLEW_FUN_EXPORT PFNGLGETLIGHTXVPROC __glewGetLightxv;
  15926. GLEW_FUN_EXPORT PFNGLGETMATERIALXVPROC __glewGetMaterialxv;
  15927. GLEW_FUN_EXPORT PFNGLGETTEXENVXVPROC __glewGetTexEnvxv;
  15928. GLEW_FUN_EXPORT PFNGLGETTEXPARAMETERXVPROC __glewGetTexParameterxv;
  15929. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERXPROC __glewPointParameterx;
  15930. GLEW_FUN_EXPORT PFNGLPOINTPARAMETERXVPROC __glewPointParameterxv;
  15931. GLEW_FUN_EXPORT PFNGLTEXPARAMETERXVPROC __glewTexParameterxv;
  15932. GLEW_FUN_EXPORT PFNGLCLIPPLANEFPROC __glewClipPlanef;
  15933. GLEW_FUN_EXPORT PFNGLGETCLIPPLANEFPROC __glewGetClipPlanef;
  15934. GLEW_FUN_EXPORT PFNGLBLITFRAMEBUFFERANGLEPROC __glewBlitFramebufferANGLE;
  15935. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC __glewRenderbufferStorageMultisampleANGLE;
  15936. GLEW_FUN_EXPORT PFNGLDRAWARRAYSINSTANCEDANGLEPROC __glewDrawArraysInstancedANGLE;
  15937. GLEW_FUN_EXPORT PFNGLDRAWELEMENTSINSTANCEDANGLEPROC __glewDrawElementsInstancedANGLE;
  15938. GLEW_FUN_EXPORT PFNGLVERTEXATTRIBDIVISORANGLEPROC __glewVertexAttribDivisorANGLE;
  15939. GLEW_FUN_EXPORT PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC __glewGetTranslatedShaderSourceANGLE;
  15940. GLEW_FUN_EXPORT PFNGLCOPYTEXTURELEVELSAPPLEPROC __glewCopyTextureLevelsAPPLE;
  15941. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC __glewRenderbufferStorageMultisampleAPPLE;
  15942. GLEW_FUN_EXPORT PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC __glewResolveMultisampleFramebufferAPPLE;
  15943. GLEW_FUN_EXPORT PFNGLCLIENTWAITSYNCAPPLEPROC __glewClientWaitSyncAPPLE;
  15944. GLEW_FUN_EXPORT PFNGLDELETESYNCAPPLEPROC __glewDeleteSyncAPPLE;
  15945. GLEW_FUN_EXPORT PFNGLFENCESYNCAPPLEPROC __glewFenceSyncAPPLE;
  15946. GLEW_FUN_EXPORT PFNGLGETINTEGER64VAPPLEPROC __glewGetInteger64vAPPLE;
  15947. GLEW_FUN_EXPORT PFNGLGETSYNCIVAPPLEPROC __glewGetSyncivAPPLE;
  15948. GLEW_FUN_EXPORT PFNGLISSYNCAPPLEPROC __glewIsSyncAPPLE;
  15949. GLEW_FUN_EXPORT PFNGLWAITSYNCAPPLEPROC __glewWaitSyncAPPLE;
  15950. GLEW_FUN_EXPORT PFNGLGETOBJECTLABELEXTPROC __glewGetObjectLabelEXT;
  15951. GLEW_FUN_EXPORT PFNGLLABELOBJECTEXTPROC __glewLabelObjectEXT;
  15952. GLEW_FUN_EXPORT PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT;
  15953. GLEW_FUN_EXPORT PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT;
  15954. GLEW_FUN_EXPORT PFNGLDISCARDFRAMEBUFFEREXTPROC __glewDiscardFramebufferEXT;
  15955. GLEW_FUN_EXPORT PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC __glewFlushMappedBufferRangeEXT;
  15956. GLEW_FUN_EXPORT PFNGLMAPBUFFERRANGEEXTPROC __glewMapBufferRangeEXT;
  15957. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC __glewFramebufferTexture2DMultisampleEXT;
  15958. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT;
  15959. GLEW_FUN_EXPORT PFNGLDRAWBUFFERSINDEXEDEXTPROC __glewDrawBuffersIndexedEXT;
  15960. GLEW_FUN_EXPORT PFNGLGETINTEGERI_VEXTPROC __glewGetIntegeri_vEXT;
  15961. GLEW_FUN_EXPORT PFNGLREADBUFFERINDEXEDEXTPROC __glewReadBufferIndexedEXT;
  15962. GLEW_FUN_EXPORT PFNGLBEGINQUERYEXTPROC __glewBeginQueryEXT;
  15963. GLEW_FUN_EXPORT PFNGLDELETEQUERIESEXTPROC __glewDeleteQueriesEXT;
  15964. GLEW_FUN_EXPORT PFNGLENDQUERYEXTPROC __glewEndQueryEXT;
  15965. GLEW_FUN_EXPORT PFNGLGENQUERIESEXTPROC __glewGenQueriesEXT;
  15966. GLEW_FUN_EXPORT PFNGLGETQUERYOBJECTUIVEXTPROC __glewGetQueryObjectuivEXT;
  15967. GLEW_FUN_EXPORT PFNGLGETQUERYIVEXTPROC __glewGetQueryivEXT;
  15968. GLEW_FUN_EXPORT PFNGLISQUERYEXTPROC __glewIsQueryEXT;
  15969. GLEW_FUN_EXPORT PFNGLGETNUNIFORMFVEXTPROC __glewGetnUniformfvEXT;
  15970. GLEW_FUN_EXPORT PFNGLGETNUNIFORMIVEXTPROC __glewGetnUniformivEXT;
  15971. GLEW_FUN_EXPORT PFNGLREADNPIXELSEXTPROC __glewReadnPixelsEXT;
  15972. GLEW_FUN_EXPORT PFNGLTEXSTORAGE1DEXTPROC __glewTexStorage1DEXT;
  15973. GLEW_FUN_EXPORT PFNGLTEXSTORAGE2DEXTPROC __glewTexStorage2DEXT;
  15974. GLEW_FUN_EXPORT PFNGLTEXSTORAGE3DEXTPROC __glewTexStorage3DEXT;
  15975. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT;
  15976. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT;
  15977. GLEW_FUN_EXPORT PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT;
  15978. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC __glewFramebufferTexture2DMultisampleIMG;
  15979. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC __glewRenderbufferStorageMultisampleIMG;
  15980. GLEW_FUN_EXPORT PFNGLCLIPPLANEFIMGPROC __glewClipPlanefIMG;
  15981. GLEW_FUN_EXPORT PFNGLSTEREOPARAMETERFNVPROC __glewStereoParameterfNV;
  15982. GLEW_FUN_EXPORT PFNGLSTEREOPARAMETERINVPROC __glewStereoParameteriNV;
  15983. GLEW_FUN_EXPORT PFNGLCOVERAGEMASKNVPROC __glewCoverageMaskNV;
  15984. GLEW_FUN_EXPORT PFNGLCOVERAGEOPERATIONNVPROC __glewCoverageOperationNV;
  15985. GLEW_FUN_EXPORT PFNGLDRAWBUFFERSNVPROC __glewDrawBuffersNV;
  15986. GLEW_FUN_EXPORT PFNGLREADBUFFERNVPROC __glewReadBufferNV;
  15987. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DNVPROC __glewCompressedTexImage3DNV;
  15988. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC __glewCompressedTexSubImage3DNV;
  15989. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DNVPROC __glewCopyTexSubImage3DNV;
  15990. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURELAYERNVPROC __glewFramebufferTextureLayerNV;
  15991. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DNVPROC __glewTexImage3DNV;
  15992. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DNVPROC __glewTexSubImage3DNV;
  15993. GLEW_FUN_EXPORT PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC __glewEGLImageTargetRenderbufferStorageOES;
  15994. GLEW_FUN_EXPORT PFNGLEGLIMAGETARGETTEXTURE2DOESPROC __glewEGLImageTargetTexture2DOES;
  15995. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONSEPARATEOESPROC __glewBlendEquationSeparateOES;
  15996. GLEW_FUN_EXPORT PFNGLBLENDFUNCSEPARATEOESPROC __glewBlendFuncSeparateOES;
  15997. GLEW_FUN_EXPORT PFNGLBLENDEQUATIONOESPROC __glewBlendEquationOES;
  15998. GLEW_FUN_EXPORT PFNGLBINDFRAMEBUFFEROESPROC __glewBindFramebufferOES;
  15999. GLEW_FUN_EXPORT PFNGLBINDRENDERBUFFEROESPROC __glewBindRenderbufferOES;
  16000. GLEW_FUN_EXPORT PFNGLCHECKFRAMEBUFFERSTATUSOESPROC __glewCheckFramebufferStatusOES;
  16001. GLEW_FUN_EXPORT PFNGLDELETEFRAMEBUFFERSOESPROC __glewDeleteFramebuffersOES;
  16002. GLEW_FUN_EXPORT PFNGLDELETERENDERBUFFERSOESPROC __glewDeleteRenderbuffersOES;
  16003. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERRENDERBUFFEROESPROC __glewFramebufferRenderbufferOES;
  16004. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE2DOESPROC __glewFramebufferTexture2DOES;
  16005. GLEW_FUN_EXPORT PFNGLGENFRAMEBUFFERSOESPROC __glewGenFramebuffersOES;
  16006. GLEW_FUN_EXPORT PFNGLGENRENDERBUFFERSOESPROC __glewGenRenderbuffersOES;
  16007. GLEW_FUN_EXPORT PFNGLGENERATEMIPMAPOESPROC __glewGenerateMipmapOES;
  16008. GLEW_FUN_EXPORT PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVOESPROC __glewGetFramebufferAttachmentParameterivOES;
  16009. GLEW_FUN_EXPORT PFNGLGETRENDERBUFFERPARAMETERIVOESPROC __glewGetRenderbufferParameterivOES;
  16010. GLEW_FUN_EXPORT PFNGLISFRAMEBUFFEROESPROC __glewIsFramebufferOES;
  16011. GLEW_FUN_EXPORT PFNGLISRENDERBUFFEROESPROC __glewIsRenderbufferOES;
  16012. GLEW_FUN_EXPORT PFNGLRENDERBUFFERSTORAGEOESPROC __glewRenderbufferStorageOES;
  16013. GLEW_FUN_EXPORT PFNGLGETPROGRAMBINARYOESPROC __glewGetProgramBinaryOES;
  16014. GLEW_FUN_EXPORT PFNGLPROGRAMBINARYOESPROC __glewProgramBinaryOES;
  16015. GLEW_FUN_EXPORT PFNGLGETBUFFERPOINTERVOESPROC __glewGetBufferPointervOES;
  16016. GLEW_FUN_EXPORT PFNGLMAPBUFFEROESPROC __glewMapBufferOES;
  16017. GLEW_FUN_EXPORT PFNGLUNMAPBUFFEROESPROC __glewUnmapBufferOES;
  16018. GLEW_FUN_EXPORT PFNGLCURRENTPALETTEMATRIXOESPROC __glewCurrentPaletteMatrixOES;
  16019. GLEW_FUN_EXPORT PFNGLMATRIXINDEXPOINTEROESPROC __glewMatrixIndexPointerOES;
  16020. GLEW_FUN_EXPORT PFNGLWEIGHTPOINTEROESPROC __glewWeightPointerOES;
  16021. GLEW_FUN_EXPORT PFNGLPOINTSIZEPOINTEROESPROC __glewPointSizePointerOES;
  16022. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXIMAGE3DOESPROC __glewCompressedTexImage3DOES;
  16023. GLEW_FUN_EXPORT PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC __glewCompressedTexSubImage3DOES;
  16024. GLEW_FUN_EXPORT PFNGLCOPYTEXSUBIMAGE3DOESPROC __glewCopyTexSubImage3DOES;
  16025. GLEW_FUN_EXPORT PFNGLFRAMEBUFFERTEXTURE3DOESPROC __glewFramebufferTexture3DOES;
  16026. GLEW_FUN_EXPORT PFNGLTEXIMAGE3DOESPROC __glewTexImage3DOES;
  16027. GLEW_FUN_EXPORT PFNGLTEXSUBIMAGE3DOESPROC __glewTexSubImage3DOES;
  16028. GLEW_FUN_EXPORT PFNGLGETTEXGENFVOESPROC __glewGetTexGenfvOES;
  16029. GLEW_FUN_EXPORT PFNGLGETTEXGENIVOESPROC __glewGetTexGenivOES;
  16030. GLEW_FUN_EXPORT PFNGLGETTEXGENXVOESPROC __glewGetTexGenxvOES;
  16031. GLEW_FUN_EXPORT PFNGLTEXGENFOESPROC __glewTexGenfOES;
  16032. GLEW_FUN_EXPORT PFNGLTEXGENFVOESPROC __glewTexGenfvOES;
  16033. GLEW_FUN_EXPORT PFNGLTEXGENIOESPROC __glewTexGeniOES;
  16034. GLEW_FUN_EXPORT PFNGLTEXGENIVOESPROC __glewTexGenivOES;
  16035. GLEW_FUN_EXPORT PFNGLTEXGENXOESPROC __glewTexGenxOES;
  16036. GLEW_FUN_EXPORT PFNGLTEXGENXVOESPROC __glewTexGenxvOES;
  16037. GLEW_FUN_EXPORT PFNGLBINDVERTEXARRAYOESPROC __glewBindVertexArrayOES;
  16038. GLEW_FUN_EXPORT PFNGLDELETEVERTEXARRAYSOESPROC __glewDeleteVertexArraysOES;
  16039. GLEW_FUN_EXPORT PFNGLGENVERTEXARRAYSOESPROC __glewGenVertexArraysOES;
  16040. GLEW_FUN_EXPORT PFNGLISVERTEXARRAYOESPROC __glewIsVertexArrayOES;
  16041. GLEW_FUN_EXPORT PFNGLALPHAFUNCQCOMPROC __glewAlphaFuncQCOM;
  16042. GLEW_FUN_EXPORT PFNGLDISABLEDRIVERCONTROLQCOMPROC __glewDisableDriverControlQCOM;
  16043. GLEW_FUN_EXPORT PFNGLENABLEDRIVERCONTROLQCOMPROC __glewEnableDriverControlQCOM;
  16044. GLEW_FUN_EXPORT PFNGLGETDRIVERCONTROLSTRINGQCOMPROC __glewGetDriverControlStringQCOM;
  16045. GLEW_FUN_EXPORT PFNGLGETDRIVERCONTROLSQCOMPROC __glewGetDriverControlsQCOM;
  16046. GLEW_FUN_EXPORT PFNGLEXTGETBUFFERPOINTERVQCOMPROC __glewExtGetBufferPointervQCOM;
  16047. GLEW_FUN_EXPORT PFNGLEXTGETBUFFERSQCOMPROC __glewExtGetBuffersQCOM;
  16048. GLEW_FUN_EXPORT PFNGLEXTGETFRAMEBUFFERSQCOMPROC __glewExtGetFramebuffersQCOM;
  16049. GLEW_FUN_EXPORT PFNGLEXTGETRENDERBUFFERSQCOMPROC __glewExtGetRenderbuffersQCOM;
  16050. GLEW_FUN_EXPORT PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC __glewExtGetTexLevelParameterivQCOM;
  16051. GLEW_FUN_EXPORT PFNGLEXTGETTEXSUBIMAGEQCOMPROC __glewExtGetTexSubImageQCOM;
  16052. GLEW_FUN_EXPORT PFNGLEXTGETTEXTURESQCOMPROC __glewExtGetTexturesQCOM;
  16053. GLEW_FUN_EXPORT PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC __glewExtTexObjectStateOverrideiQCOM;
  16054. GLEW_FUN_EXPORT PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC __glewExtGetProgramBinarySourceQCOM;
  16055. GLEW_FUN_EXPORT PFNGLEXTGETPROGRAMSQCOMPROC __glewExtGetProgramsQCOM;
  16056. GLEW_FUN_EXPORT PFNGLEXTGETSHADERSQCOMPROC __glewExtGetShadersQCOM;
  16057. GLEW_FUN_EXPORT PFNGLEXTISPROGRAMBINARYQCOMPROC __glewExtIsProgramBinaryQCOM;
  16058. GLEW_FUN_EXPORT PFNGLENDTILINGQCOMPROC __glewEndTilingQCOM;
  16059. GLEW_FUN_EXPORT PFNGLSTARTTILINGQCOMPROC __glewStartTilingQCOM;
  16060. GLEW_FUN_EXPORT PFNGLMULTIDRAWARRAYSSUNPROC __glewMultiDrawArraysSUN;
  16061. GLEW_FUN_EXPORT PFNGLMULTIDRAWELEMENTSSUNPROC __glewMultiDrawElementsSUN;
  16062. #endif /* !(GLEW_NO_ES) */
  16063. #if defined(GLEW_MX) && !defined(_WIN32)
  16064. struct GLEWContextStruct
  16065. {
  16066. #endif /* GLEW_MX */
  16067. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_1;
  16068. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2;
  16069. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_2_1;
  16070. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_3;
  16071. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_4;
  16072. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_1_5;
  16073. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_2_0;
  16074. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_2_1;
  16075. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_0;
  16076. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_1;
  16077. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_2;
  16078. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_3_3;
  16079. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_0;
  16080. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_1;
  16081. GLEW_VAR_EXPORT GLboolean __GLEW_VERSION_4_2;
  16082. GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_multisample;
  16083. GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_tbuffer;
  16084. GLEW_VAR_EXPORT GLboolean __GLEW_3DFX_texture_compression_FXT1;
  16085. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_blend_minmax_factor;
  16086. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_conservative_depth;
  16087. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_debug_output;
  16088. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_depth_clamp_separate;
  16089. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_draw_buffers_blend;
  16090. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_multi_draw_indirect;
  16091. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_name_gen_delete;
  16092. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_performance_monitor;
  16093. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_pinned_memory;
  16094. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_query_buffer_object;
  16095. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_sample_positions;
  16096. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_seamless_cubemap_per_texture;
  16097. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_shader_stencil_export;
  16098. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_shader_trinary_minmax;
  16099. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_sparse_texture;
  16100. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_stencil_operation_extended;
  16101. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_texture_texture4;
  16102. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_transform_feedback3_lines_triangles;
  16103. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_layer;
  16104. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_tessellator;
  16105. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_vertex_shader_viewport_index;
  16106. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_aux_depth_stencil;
  16107. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_client_storage;
  16108. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_element_array;
  16109. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_fence;
  16110. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_float_pixels;
  16111. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_flush_buffer_range;
  16112. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_object_purgeable;
  16113. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_pixel_buffer;
  16114. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_rgb_422;
  16115. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_row_bytes;
  16116. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_specular_vector;
  16117. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_texture_range;
  16118. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_transform_hint;
  16119. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_array_object;
  16120. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_array_range;
  16121. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_vertex_program_evaluators;
  16122. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_ycbcr_422;
  16123. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_ES2_compatibility;
  16124. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_ES3_compatibility;
  16125. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_arrays_of_arrays;
  16126. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_base_instance;
  16127. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_blend_func_extended;
  16128. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_cl_event;
  16129. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_clear_buffer_object;
  16130. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_color_buffer_float;
  16131. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compatibility;
  16132. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compressed_texture_pixel_storage;
  16133. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_compute_shader;
  16134. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_conservative_depth;
  16135. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_copy_buffer;
  16136. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_copy_image;
  16137. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_debug_output;
  16138. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_buffer_float;
  16139. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_clamp;
  16140. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_depth_texture;
  16141. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_buffers;
  16142. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_buffers_blend;
  16143. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_elements_base_vertex;
  16144. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_indirect;
  16145. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_draw_instanced;
  16146. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_explicit_attrib_location;
  16147. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_explicit_uniform_location;
  16148. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_coord_conventions;
  16149. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_layer_viewport;
  16150. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_program;
  16151. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_program_shadow;
  16152. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_fragment_shader;
  16153. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_no_attachments;
  16154. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_object;
  16155. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_framebuffer_sRGB;
  16156. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_geometry_shader4;
  16157. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_get_program_binary;
  16158. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader5;
  16159. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_gpu_shader_fp64;
  16160. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_half_float_pixel;
  16161. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_half_float_vertex;
  16162. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_imaging;
  16163. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_instanced_arrays;
  16164. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_internalformat_query;
  16165. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_internalformat_query2;
  16166. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_invalidate_subdata;
  16167. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_map_buffer_alignment;
  16168. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_map_buffer_range;
  16169. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_matrix_palette;
  16170. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multi_draw_indirect;
  16171. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multisample;
  16172. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_multitexture;
  16173. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_occlusion_query;
  16174. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_occlusion_query2;
  16175. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_pixel_buffer_object;
  16176. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_point_parameters;
  16177. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_point_sprite;
  16178. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_program_interface_query;
  16179. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_provoking_vertex;
  16180. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robust_buffer_access_behavior;
  16181. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness;
  16182. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness_application_isolation;
  16183. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_robustness_share_group_isolation;
  16184. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sample_shading;
  16185. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sampler_objects;
  16186. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_seamless_cube_map;
  16187. #if 0 // NOTE jwilkins: there is an inconsistency between the ES and Non-ES versions of this extension??
  16188. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_separate_shader_objects;
  16189. #endif
  16190. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_atomic_counters;
  16191. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_bit_encoding;
  16192. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_image_load_store;
  16193. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_image_size;
  16194. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_objects;
  16195. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_precision;
  16196. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_stencil_export;
  16197. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_storage_buffer_object;
  16198. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_subroutine;
  16199. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shader_texture_lod;
  16200. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_100;
  16201. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_420pack;
  16202. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_include;
  16203. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shading_language_packing;
  16204. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shadow;
  16205. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_shadow_ambient;
  16206. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_stencil_texturing;
  16207. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_sync;
  16208. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_tessellation_shader;
  16209. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_border_clamp;
  16210. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_object;
  16211. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_object_rgb32;
  16212. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_buffer_range;
  16213. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression;
  16214. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression_bptc;
  16215. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_compression_rgtc;
  16216. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_cube_map;
  16217. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_cube_map_array;
  16218. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_add;
  16219. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_combine;
  16220. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_crossbar;
  16221. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_env_dot3;
  16222. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_float;
  16223. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_gather;
  16224. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_mirrored_repeat;
  16225. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_multisample;
  16226. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_non_power_of_two;
  16227. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_query_levels;
  16228. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_query_lod;
  16229. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rectangle;
  16230. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rg;
  16231. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_rgb10_a2ui;
  16232. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_storage;
  16233. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_storage_multisample;
  16234. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_swizzle;
  16235. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_texture_view;
  16236. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_timer_query;
  16237. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback2;
  16238. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback3;
  16239. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transform_feedback_instanced;
  16240. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_transpose_matrix;
  16241. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_uniform_buffer_object;
  16242. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_array_bgra;
  16243. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_array_object;
  16244. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_attrib_64bit;
  16245. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_attrib_binding;
  16246. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_blend;
  16247. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_buffer_object;
  16248. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_program;
  16249. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_shader;
  16250. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev;
  16251. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_viewport_array;
  16252. GLEW_VAR_EXPORT GLboolean __GLEW_ARB_window_pos;
  16253. GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_point_sprites;
  16254. GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_texture_env_combine3;
  16255. GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_texture_env_route;
  16256. GLEW_VAR_EXPORT GLboolean __GLEW_ATIX_vertex_shader_output_point_size;
  16257. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_draw_buffers;
  16258. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_element_array;
  16259. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_envmap_bumpmap;
  16260. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_fragment_shader;
  16261. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_map_object_buffer;
  16262. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_meminfo;
  16263. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_pn_triangles;
  16264. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_separate_stencil;
  16265. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_shader_texture_lod;
  16266. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_text_fragment_shader;
  16267. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_compression_3dc;
  16268. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_env_combine3;
  16269. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_float;
  16270. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_texture_mirror_once;
  16271. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_array_object;
  16272. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_attrib_array_object;
  16273. GLEW_VAR_EXPORT GLboolean __GLEW_ATI_vertex_streams;
  16274. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_422_pixels;
  16275. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_Cg_shader;
  16276. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_abgr;
  16277. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_bgra;
  16278. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_bindable_uniform;
  16279. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_color;
  16280. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_equation_separate;
  16281. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_func_separate;
  16282. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_logic_op;
  16283. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_minmax;
  16284. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_blend_subtract;
  16285. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_clip_volume_hint;
  16286. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_cmyka;
  16287. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_color_subtable;
  16288. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_compiled_vertex_array;
  16289. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_convolution;
  16290. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_coordinate_frame;
  16291. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_copy_texture;
  16292. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_cull_vertex;
  16293. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_depth_bounds_test;
  16294. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_direct_state_access;
  16295. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_buffers2;
  16296. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_instanced;
  16297. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_draw_range_elements;
  16298. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fog_coord;
  16299. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_fragment_lighting;
  16300. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_blit;
  16301. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample;
  16302. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled;
  16303. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_object;
  16304. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_framebuffer_sRGB;
  16305. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_geometry_shader4;
  16306. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_gpu_program_parameters;
  16307. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_gpu_shader4;
  16308. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_histogram;
  16309. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_array_formats;
  16310. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_func;
  16311. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_material;
  16312. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_index_texture;
  16313. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_light_texture;
  16314. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_misc_attribute;
  16315. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multi_draw_arrays;
  16316. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multisample;
  16317. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_depth_stencil;
  16318. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_float;
  16319. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_packed_pixels;
  16320. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_paletted_texture;
  16321. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_buffer_object;
  16322. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_transform;
  16323. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_pixel_transform_color_table;
  16324. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_point_parameters;
  16325. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_polygon_offset;
  16326. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_provoking_vertex;
  16327. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_rescale_normal;
  16328. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_scene_marker;
  16329. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_secondary_color;
  16330. #if 0 // NOTE jwilkins: there is an inconsistency between the ES and Non-ES versions of this extension??
  16331. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_separate_shader_objects;
  16332. #endif
  16333. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_separate_specular_color;
  16334. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shader_image_load_store;
  16335. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shadow_funcs;
  16336. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shared_texture_palette;
  16337. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_clear_tag;
  16338. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_two_side;
  16339. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_stencil_wrap;
  16340. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_subtexture;
  16341. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture;
  16342. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture3D;
  16343. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_array;
  16344. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_buffer_object;
  16345. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_dxt1;
  16346. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_latc;
  16347. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_rgtc;
  16348. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_compression_s3tc;
  16349. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_cube_map;
  16350. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_edge_clamp;
  16351. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env;
  16352. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_add;
  16353. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_combine;
  16354. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_env_dot3;
  16355. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_filter_anisotropic;
  16356. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_integer;
  16357. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_lod_bias;
  16358. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_mirror_clamp;
  16359. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_object;
  16360. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_perturb_normal;
  16361. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_rectangle;
  16362. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_sRGB;
  16363. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_sRGB_decode;
  16364. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_shared_exponent;
  16365. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_snorm;
  16366. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_swizzle;
  16367. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_timer_query;
  16368. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_transform_feedback;
  16369. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_array;
  16370. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_array_bgra;
  16371. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_attrib_64bit;
  16372. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_shader;
  16373. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_vertex_weighting;
  16374. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_x11_sync_object;
  16375. GLEW_VAR_EXPORT GLboolean __GLEW_GREMEDY_frame_terminator;
  16376. GLEW_VAR_EXPORT GLboolean __GLEW_GREMEDY_string_marker;
  16377. GLEW_VAR_EXPORT GLboolean __GLEW_HP_convolution_border_modes;
  16378. GLEW_VAR_EXPORT GLboolean __GLEW_HP_image_transform;
  16379. GLEW_VAR_EXPORT GLboolean __GLEW_HP_occlusion_test;
  16380. GLEW_VAR_EXPORT GLboolean __GLEW_HP_texture_lighting;
  16381. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_cull_vertex;
  16382. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_multimode_draw_arrays;
  16383. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_rasterpos_clip;
  16384. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_static_data;
  16385. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_texture_mirrored_repeat;
  16386. GLEW_VAR_EXPORT GLboolean __GLEW_IBM_vertex_array_lists;
  16387. GLEW_VAR_EXPORT GLboolean __GLEW_INGR_color_clamp;
  16388. GLEW_VAR_EXPORT GLboolean __GLEW_INGR_interlace_read;
  16389. GLEW_VAR_EXPORT GLboolean __GLEW_INTEL_map_texture;
  16390. GLEW_VAR_EXPORT GLboolean __GLEW_INTEL_parallel_arrays;
  16391. GLEW_VAR_EXPORT GLboolean __GLEW_INTEL_texture_scissor;
  16392. GLEW_VAR_EXPORT GLboolean __GLEW_KHR_debug;
  16393. GLEW_VAR_EXPORT GLboolean __GLEW_KHR_texture_compression_astc_ldr;
  16394. GLEW_VAR_EXPORT GLboolean __GLEW_KTX_buffer_region;
  16395. GLEW_VAR_EXPORT GLboolean __GLEW_MESAX_texture_stack;
  16396. GLEW_VAR_EXPORT GLboolean __GLEW_MESA_pack_invert;
  16397. GLEW_VAR_EXPORT GLboolean __GLEW_MESA_resize_buffers;
  16398. GLEW_VAR_EXPORT GLboolean __GLEW_MESA_window_pos;
  16399. GLEW_VAR_EXPORT GLboolean __GLEW_MESA_ycbcr_texture;
  16400. GLEW_VAR_EXPORT GLboolean __GLEW_NVX_conditional_render;
  16401. GLEW_VAR_EXPORT GLboolean __GLEW_NVX_gpu_memory_info;
  16402. GLEW_VAR_EXPORT GLboolean __GLEW_NV_bindless_texture;
  16403. GLEW_VAR_EXPORT GLboolean __GLEW_NV_blend_square;
  16404. GLEW_VAR_EXPORT GLboolean __GLEW_NV_compute_program5;
  16405. GLEW_VAR_EXPORT GLboolean __GLEW_NV_conditional_render;
  16406. GLEW_VAR_EXPORT GLboolean __GLEW_NV_copy_depth_to_color;
  16407. GLEW_VAR_EXPORT GLboolean __GLEW_NV_copy_image;
  16408. GLEW_VAR_EXPORT GLboolean __GLEW_NV_deep_texture3D;
  16409. GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_buffer_float;
  16410. GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_clamp;
  16411. GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_range_unclamped;
  16412. GLEW_VAR_EXPORT GLboolean __GLEW_NV_draw_texture;
  16413. GLEW_VAR_EXPORT GLboolean __GLEW_NV_evaluators;
  16414. GLEW_VAR_EXPORT GLboolean __GLEW_NV_explicit_multisample;
  16415. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fence;
  16416. GLEW_VAR_EXPORT GLboolean __GLEW_NV_float_buffer;
  16417. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fog_distance;
  16418. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program;
  16419. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program2;
  16420. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program4;
  16421. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fragment_program_option;
  16422. GLEW_VAR_EXPORT GLboolean __GLEW_NV_framebuffer_multisample_coverage;
  16423. GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_program4;
  16424. GLEW_VAR_EXPORT GLboolean __GLEW_NV_geometry_shader4;
  16425. GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program4;
  16426. GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program5;
  16427. GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_program_fp64;
  16428. GLEW_VAR_EXPORT GLboolean __GLEW_NV_gpu_shader5;
  16429. GLEW_VAR_EXPORT GLboolean __GLEW_NV_half_float;
  16430. GLEW_VAR_EXPORT GLboolean __GLEW_NV_light_max_exponent;
  16431. GLEW_VAR_EXPORT GLboolean __GLEW_NV_multisample_coverage;
  16432. GLEW_VAR_EXPORT GLboolean __GLEW_NV_multisample_filter_hint;
  16433. GLEW_VAR_EXPORT GLboolean __GLEW_NV_occlusion_query;
  16434. GLEW_VAR_EXPORT GLboolean __GLEW_NV_packed_depth_stencil;
  16435. GLEW_VAR_EXPORT GLboolean __GLEW_NV_parameter_buffer_object;
  16436. GLEW_VAR_EXPORT GLboolean __GLEW_NV_parameter_buffer_object2;
  16437. GLEW_VAR_EXPORT GLboolean __GLEW_NV_path_rendering;
  16438. GLEW_VAR_EXPORT GLboolean __GLEW_NV_pixel_data_range;
  16439. GLEW_VAR_EXPORT GLboolean __GLEW_NV_point_sprite;
  16440. GLEW_VAR_EXPORT GLboolean __GLEW_NV_present_video;
  16441. GLEW_VAR_EXPORT GLboolean __GLEW_NV_primitive_restart;
  16442. GLEW_VAR_EXPORT GLboolean __GLEW_NV_register_combiners;
  16443. GLEW_VAR_EXPORT GLboolean __GLEW_NV_register_combiners2;
  16444. GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_atomic_counters;
  16445. GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_atomic_float;
  16446. GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_buffer_load;
  16447. GLEW_VAR_EXPORT GLboolean __GLEW_NV_shader_storage_buffer_object;
  16448. GLEW_VAR_EXPORT GLboolean __GLEW_NV_tessellation_program5;
  16449. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texgen_emboss;
  16450. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texgen_reflection;
  16451. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_barrier;
  16452. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_compression_vtc;
  16453. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_env_combine4;
  16454. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_expand_normal;
  16455. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_multisample;
  16456. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_rectangle;
  16457. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader;
  16458. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader2;
  16459. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_shader3;
  16460. GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback;
  16461. GLEW_VAR_EXPORT GLboolean __GLEW_NV_transform_feedback2;
  16462. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vdpau_interop;
  16463. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range;
  16464. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_array_range2;
  16465. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_attrib_integer_64bit;
  16466. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_buffer_unified_memory;
  16467. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program;
  16468. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program1_1;
  16469. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program2;
  16470. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program2_option;
  16471. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program3;
  16472. GLEW_VAR_EXPORT GLboolean __GLEW_NV_vertex_program4;
  16473. GLEW_VAR_EXPORT GLboolean __GLEW_NV_video_capture;
  16474. GLEW_VAR_EXPORT GLboolean __GLEW_OES_byte_coordinates;
  16475. GLEW_VAR_EXPORT GLboolean __GLEW_OES_compressed_paletted_texture;
  16476. GLEW_VAR_EXPORT GLboolean __GLEW_OES_read_format;
  16477. GLEW_VAR_EXPORT GLboolean __GLEW_OES_single_precision;
  16478. GLEW_VAR_EXPORT GLboolean __GLEW_OML_interlace;
  16479. GLEW_VAR_EXPORT GLboolean __GLEW_OML_resample;
  16480. GLEW_VAR_EXPORT GLboolean __GLEW_OML_subsample;
  16481. GLEW_VAR_EXPORT GLboolean __GLEW_PGI_misc_hints;
  16482. GLEW_VAR_EXPORT GLboolean __GLEW_PGI_vertex_hints;
  16483. GLEW_VAR_EXPORT GLboolean __GLEW_REND_screen_coordinates;
  16484. GLEW_VAR_EXPORT GLboolean __GLEW_S3_s3tc;
  16485. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_color_range;
  16486. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_detail_texture;
  16487. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_fog_function;
  16488. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_generate_mipmap;
  16489. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_multisample;
  16490. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_pixel_texture;
  16491. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_point_line_texgen;
  16492. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_sharpen_texture;
  16493. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture4D;
  16494. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_border_clamp;
  16495. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_edge_clamp;
  16496. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_filter4;
  16497. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_lod;
  16498. GLEW_VAR_EXPORT GLboolean __GLEW_SGIS_texture_select;
  16499. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async;
  16500. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async_histogram;
  16501. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_async_pixel;
  16502. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_blend_alpha_minmax;
  16503. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_clipmap;
  16504. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_convolution_accuracy;
  16505. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_depth_texture;
  16506. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_flush_raster;
  16507. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fog_offset;
  16508. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fog_texture;
  16509. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_fragment_specular_lighting;
  16510. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_framezoom;
  16511. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_interlace;
  16512. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_ir_instrument1;
  16513. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_list_priority;
  16514. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_pixel_texture;
  16515. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_pixel_texture_bits;
  16516. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_reference_plane;
  16517. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_resample;
  16518. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_shadow;
  16519. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_shadow_ambient;
  16520. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_sprite;
  16521. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_tag_sample_buffer;
  16522. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_add_env;
  16523. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_coordinate_clamp;
  16524. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_lod_bias;
  16525. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_multi_buffer;
  16526. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_range;
  16527. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_texture_scale_bias;
  16528. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_vertex_preclip;
  16529. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_vertex_preclip_hint;
  16530. GLEW_VAR_EXPORT GLboolean __GLEW_SGIX_ycrcb;
  16531. GLEW_VAR_EXPORT GLboolean __GLEW_SGI_color_matrix;
  16532. GLEW_VAR_EXPORT GLboolean __GLEW_SGI_color_table;
  16533. GLEW_VAR_EXPORT GLboolean __GLEW_SGI_texture_color_table;
  16534. GLEW_VAR_EXPORT GLboolean __GLEW_SUNX_constant_data;
  16535. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_convolution_border_modes;
  16536. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_global_alpha;
  16537. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_mesh_array;
  16538. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_read_video_pixels;
  16539. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_slice_accum;
  16540. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_triangle_list;
  16541. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_vertex;
  16542. GLEW_VAR_EXPORT GLboolean __GLEW_WIN_phong_shading;
  16543. GLEW_VAR_EXPORT GLboolean __GLEW_WIN_specular_fog;
  16544. GLEW_VAR_EXPORT GLboolean __GLEW_WIN_swap_hint;
  16545. #if !defined(GLEW_NO_ES)
  16546. GLEW_VAR_EXPORT GLboolean __GLEW_ES_VERSION_1_0;
  16547. GLEW_VAR_EXPORT GLboolean __GLEW_ES_VERSION_CL_1_1;
  16548. GLEW_VAR_EXPORT GLboolean __GLEW_ES_VERSION_CM_1_1;
  16549. GLEW_VAR_EXPORT GLboolean __GLEW_ES_VERSION_2_0;
  16550. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_compressed_3DC_texture;
  16551. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_compressed_ATC_texture;
  16552. GLEW_VAR_EXPORT GLboolean __GLEW_AMD_program_binary_Z400;
  16553. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_framebuffer_blit;
  16554. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_framebuffer_multisample;
  16555. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_instanced_arrays;
  16556. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_pack_reverse_row_order;
  16557. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_texture_compression_dxt3;
  16558. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_texture_compression_dxt5;
  16559. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_texture_usage;
  16560. GLEW_VAR_EXPORT GLboolean __GLEW_ANGLE_translated_shader_source;
  16561. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_copy_texture_levels;
  16562. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_framebuffer_multisample;
  16563. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_sync;
  16564. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_texture_2D_limited_npot;
  16565. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_texture_format_BGRA8888;
  16566. GLEW_VAR_EXPORT GLboolean __GLEW_APPLE_texture_max_level;
  16567. GLEW_VAR_EXPORT GLboolean __GLEW_ARM_mali_program_binary;
  16568. GLEW_VAR_EXPORT GLboolean __GLEW_ARM_mali_shader_binary;
  16569. GLEW_VAR_EXPORT GLboolean __GLEW_ARM_rgba8;
  16570. GLEW_VAR_EXPORT GLboolean __GLEW_DMP_shader_binary;
  16571. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_color_buffer_half_float;
  16572. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_debug_label;
  16573. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_debug_marker;
  16574. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_discard_framebuffer;
  16575. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_frag_depth;
  16576. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_map_buffer_range;
  16577. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multisampled_render_to_texture;
  16578. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_multiview_draw_buffers;
  16579. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_occlusion_query_boolean;
  16580. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_read_format_bgra;
  16581. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_robustness;
  16582. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_sRGB;
  16583. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shader_framebuffer_fetch;
  16584. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shader_texture_lod;
  16585. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_shadow_samplers;
  16586. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_format_BGRA8888;
  16587. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_rg;
  16588. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_storage;
  16589. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_texture_type_2_10_10_10_REV;
  16590. GLEW_VAR_EXPORT GLboolean __GLEW_EXT_unpack_subimage;
  16591. GLEW_VAR_EXPORT GLboolean __GLEW_FJ_shader_binary_GCCSO;
  16592. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_multisampled_render_to_texture;
  16593. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_program_binary;
  16594. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_read_format;
  16595. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_shader_binary;
  16596. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_texture_compression_pvrtc;
  16597. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_texture_env_enhanced_fixed_function;
  16598. GLEW_VAR_EXPORT GLboolean __GLEW_IMG_user_clip_plane;
  16599. GLEW_VAR_EXPORT GLboolean __GLEW_NV_3dvision_settings;
  16600. GLEW_VAR_EXPORT GLboolean __GLEW_NV_EGL_stream_consumer_external;
  16601. GLEW_VAR_EXPORT GLboolean __GLEW_NV_bgr;
  16602. GLEW_VAR_EXPORT GLboolean __GLEW_NV_coverage_sample;
  16603. GLEW_VAR_EXPORT GLboolean __GLEW_NV_depth_nonlinear;
  16604. GLEW_VAR_EXPORT GLboolean __GLEW_NV_draw_buffers;
  16605. GLEW_VAR_EXPORT GLboolean __GLEW_NV_fbo_color_attachments;
  16606. GLEW_VAR_EXPORT GLboolean __GLEW_NV_pack_subimage;
  16607. GLEW_VAR_EXPORT GLboolean __GLEW_NV_packed_float;
  16608. GLEW_VAR_EXPORT GLboolean __GLEW_NV_packed_float_linear;
  16609. GLEW_VAR_EXPORT GLboolean __GLEW_NV_pixel_buffer_object;
  16610. GLEW_VAR_EXPORT GLboolean __GLEW_NV_platform_binary;
  16611. GLEW_VAR_EXPORT GLboolean __GLEW_NV_read_buffer;
  16612. GLEW_VAR_EXPORT GLboolean __GLEW_NV_read_buffer_front;
  16613. GLEW_VAR_EXPORT GLboolean __GLEW_NV_read_depth;
  16614. GLEW_VAR_EXPORT GLboolean __GLEW_NV_read_depth_stencil;
  16615. GLEW_VAR_EXPORT GLboolean __GLEW_NV_read_stencil;
  16616. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_array;
  16617. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_compression_latc;
  16618. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_compression_s3tc;
  16619. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_compression_s3tc_update;
  16620. GLEW_VAR_EXPORT GLboolean __GLEW_NV_texture_npot_2D_mipmap;
  16621. GLEW_VAR_EXPORT GLboolean __GLEW_OES_EGL_image;
  16622. GLEW_VAR_EXPORT GLboolean __GLEW_OES_EGL_image_external;
  16623. GLEW_VAR_EXPORT GLboolean __GLEW_OES_EGL_sync;
  16624. GLEW_VAR_EXPORT GLboolean __GLEW_OES_blend_equation_separate;
  16625. GLEW_VAR_EXPORT GLboolean __GLEW_OES_blend_func_separate;
  16626. GLEW_VAR_EXPORT GLboolean __GLEW_OES_blend_subtract;
  16627. GLEW_VAR_EXPORT GLboolean __GLEW_OES_compressed_ETC1_RGB8_texture;
  16628. GLEW_VAR_EXPORT GLboolean __GLEW_OES_depth24;
  16629. GLEW_VAR_EXPORT GLboolean __GLEW_OES_depth32;
  16630. GLEW_VAR_EXPORT GLboolean __GLEW_OES_depth_texture;
  16631. GLEW_VAR_EXPORT GLboolean __GLEW_OES_depth_texture_cube_map;
  16632. GLEW_VAR_EXPORT GLboolean __GLEW_OES_draw_texture;
  16633. GLEW_VAR_EXPORT GLboolean __GLEW_OES_element_index_uint;
  16634. GLEW_VAR_EXPORT GLboolean __GLEW_OES_extended_matrix_palette;
  16635. GLEW_VAR_EXPORT GLboolean __GLEW_OES_fbo_render_mipmap;
  16636. GLEW_VAR_EXPORT GLboolean __GLEW_OES_fragment_precision_high;
  16637. GLEW_VAR_EXPORT GLboolean __GLEW_OES_framebuffer_object;
  16638. GLEW_VAR_EXPORT GLboolean __GLEW_OES_get_program_binary;
  16639. GLEW_VAR_EXPORT GLboolean __GLEW_OES_mapbuffer;
  16640. GLEW_VAR_EXPORT GLboolean __GLEW_OES_matrix_get;
  16641. GLEW_VAR_EXPORT GLboolean __GLEW_OES_matrix_palette;
  16642. GLEW_VAR_EXPORT GLboolean __GLEW_OES_packed_depth_stencil;
  16643. GLEW_VAR_EXPORT GLboolean __GLEW_OES_point_size_array;
  16644. GLEW_VAR_EXPORT GLboolean __GLEW_OES_point_sprite;
  16645. GLEW_VAR_EXPORT GLboolean __GLEW_OES_required_internalformat;
  16646. GLEW_VAR_EXPORT GLboolean __GLEW_OES_rgb8_rgba8;
  16647. GLEW_VAR_EXPORT GLboolean __GLEW_OES_standard_derivatives;
  16648. GLEW_VAR_EXPORT GLboolean __GLEW_OES_stencil1;
  16649. GLEW_VAR_EXPORT GLboolean __GLEW_OES_stencil4;
  16650. GLEW_VAR_EXPORT GLboolean __GLEW_OES_stencil8;
  16651. GLEW_VAR_EXPORT GLboolean __GLEW_OES_surfaceless_context;
  16652. GLEW_VAR_EXPORT GLboolean __GLEW_OES_texture_3D;
  16653. GLEW_VAR_EXPORT GLboolean __GLEW_OES_texture_cube_map;
  16654. GLEW_VAR_EXPORT GLboolean __GLEW_OES_texture_env_crossbar;
  16655. GLEW_VAR_EXPORT GLboolean __GLEW_OES_texture_mirrored_repeat;
  16656. GLEW_VAR_EXPORT GLboolean __GLEW_OES_texture_npot;
  16657. GLEW_VAR_EXPORT GLboolean __GLEW_OES_vertex_array_object;
  16658. GLEW_VAR_EXPORT GLboolean __GLEW_OES_vertex_half_float;
  16659. GLEW_VAR_EXPORT GLboolean __GLEW_OES_vertex_type_10_10_10_2;
  16660. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_alpha_test;
  16661. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_binning_control;
  16662. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_driver_control;
  16663. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_extended_get;
  16664. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_extended_get2;
  16665. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_perfmon_global_mode;
  16666. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_tiled_rendering;
  16667. GLEW_VAR_EXPORT GLboolean __GLEW_QCOM_writeonly_rendering;
  16668. GLEW_VAR_EXPORT GLboolean __GLEW_SUN_multi_draw_arrays;
  16669. GLEW_VAR_EXPORT GLboolean __GLEW_VG_KHR_EGL_sync;
  16670. GLEW_VAR_EXPORT GLboolean __GLEW_VIV_shader_binary;
  16671. #endif /* !(GLEW_NO_ES) */
  16672. #ifdef GLEW_MX
  16673. }; /* GLEWContextStruct */
  16674. #endif /* GLEW_MX */
  16675. #endif /* GLEW_ES_ONLY */
  16676. /* ------------------------------------------------------------------------- */
  16677. /* error codes */
  16678. #define GLEW_OK 0
  16679. #define GLEW_NO_ERROR 0
  16680. #define GLEW_ERROR_NO_GL_VERSION 1 /* missing GL version */
  16681. #define GLEW_ERROR_GL_VERSION_10_ONLY 2 /* Need at least OpenGL 1.1 */
  16682. #define GLEW_ERROR_GLX_VERSION_11_ONLY 3 /* Need at least GLX 1.2 */
  16683. #define GLEW_ERROR_NOT_GLES_VERSION 4 /* Need to be OpenGL ES version */
  16684. #define GLEW_ERROR_GLES_VERSION 5 /* Need to be desktop OpenGL version */
  16685. #define GLEW_ERROR_NO_EGL_VERSION 6 /* missing EGL version */
  16686. #define GLEW_ERROR_EGL_VERSION_10_ONLY 7 /* need at least EGL 1.1 */
  16687. /* string codes */
  16688. #define GLEW_VERSION 1
  16689. #define GLEW_VERSION_MAJOR 2
  16690. #define GLEW_VERSION_MINOR 3
  16691. #define GLEW_VERSION_MICRO 4
  16692. /* API */
  16693. #ifdef GLEW_MX
  16694. typedef struct GLEWContextStruct GLEWContext;
  16695. GLEWAPI GLenum glewContextInit (GLEWContext* ctx);
  16696. GLEWAPI GLboolean glewContextIsSupported (const GLEWContext* ctx, const char* name);
  16697. #define glewInit() glewContextInit(glewGetContext())
  16698. #define glewIsSupported(x) glewContextIsSupported(glewGetContext(), x)
  16699. #define glewIsExtensionSupported(x) glewIsSupported(x)
  16700. #define GLEW_GET_VAR(x) (*(const GLboolean*)&(glewGetContext()->x))
  16701. #ifdef _WIN32
  16702. # define GLEW_GET_FUN(x) glewGetContext()->x
  16703. #else
  16704. # define GLEW_GET_FUN(x) x
  16705. #endif
  16706. #else /* GLEW_MX */
  16707. GLEWAPI GLenum glewInit ();
  16708. GLEWAPI GLboolean glewIsSupported (const char* name);
  16709. #define glewIsExtensionSupported(x) glewIsSupported(x)
  16710. #define GLEW_GET_VAR(x) (*(const GLboolean*)&x)
  16711. #define GLEW_GET_FUN(x) x
  16712. #endif /* GLEW_MX */
  16713. GLEWAPI GLboolean glewExperimental;
  16714. GLEWAPI GLboolean glewGetExtension (const char* name);
  16715. GLEWAPI const GLubyte* glewGetErrorString (GLenum error);
  16716. GLEWAPI const GLubyte* glewGetString (GLenum name);
  16717. #ifdef __cplusplus
  16718. }
  16719. #endif
  16720. #ifdef GLEW_APIENTRY_DEFINED
  16721. #undef GLEW_APIENTRY_DEFINED
  16722. #undef APIENTRY
  16723. #undef GLAPIENTRY
  16724. #define GLAPIENTRY
  16725. #endif
  16726. #ifdef GLEW_CALLBACK_DEFINED
  16727. #undef GLEW_CALLBACK_DEFINED
  16728. #undef CALLBACK
  16729. #endif
  16730. #ifdef GLEW_WINGDIAPI_DEFINED
  16731. #undef GLEW_WINGDIAPI_DEFINED
  16732. #undef WINGDIAPI
  16733. #endif
  16734. #undef GLAPI
  16735. /* #undef GLEWAPI */
  16736. #endif /* __glew_h__ */