glew.c 1.2 MB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581
  1. /*
  2. ** The OpenGL Extension Wrangler Library
  3. ** Copyright (C) 2008-2017, Nigel Stewart <nigels[]users sourceforge net>
  4. ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
  5. ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
  6. ** Copyright (C) 2002, Lev Povalahev
  7. ** All rights reserved.
  8. **
  9. ** Redistribution and use in source and binary forms, with or without
  10. ** modification, are permitted provided that the following conditions are met:
  11. **
  12. ** * Redistributions of source code must retain the above copyright notice,
  13. ** this list of conditions and the following disclaimer.
  14. ** * Redistributions in binary form must reproduce the above copyright notice,
  15. ** this list of conditions and the following disclaimer in the documentation
  16. ** and/or other materials provided with the distribution.
  17. ** * The name of the author may be used to endorse or promote products
  18. ** derived from this software without specific prior written permission.
  19. **
  20. ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
  21. ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
  22. ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
  23. ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
  24. ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
  25. ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
  26. ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
  27. ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
  28. ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
  29. ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
  30. ** THE POSSIBILITY OF SUCH DAMAGE.
  31. */
  32. #ifndef GLEW_INCLUDE
  33. #include <GL/glew.h>
  34. #else
  35. #include GLEW_INCLUDE
  36. #endif
  37. #if defined(GLEW_OSMESA)
  38. # define GLAPI extern
  39. # include <GL/osmesa.h>
  40. #elif defined(GLEW_EGL)
  41. # include <GL/eglew.h>
  42. #elif defined(_WIN32)
  43. /*
  44. * If NOGDI is defined, wingdi.h won't be included by windows.h, and thus
  45. * wglGetProcAddress won't be declared. It will instead be implicitly declared,
  46. * potentially incorrectly, which we don't want.
  47. */
  48. # if defined(NOGDI)
  49. # undef NOGDI
  50. # endif
  51. # include <GL/wglew.h>
  52. #elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
  53. # include <GL/glxew.h>
  54. #endif
  55. #include <stddef.h> /* For size_t */
  56. #if defined(GLEW_EGL)
  57. #elif defined(GLEW_REGAL)
  58. /* In GLEW_REGAL mode we call direcly into the linked
  59. libRegal.so glGetProcAddressREGAL for looking up
  60. the GL function pointers. */
  61. # undef glGetProcAddressREGAL
  62. # ifdef WIN32
  63. extern void * __stdcall glGetProcAddressREGAL(const GLchar *name);
  64. static void * (__stdcall * regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
  65. # else
  66. extern void * glGetProcAddressREGAL(const GLchar *name);
  67. static void * (*regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
  68. # endif
  69. # define glGetProcAddressREGAL GLEW_GET_FUN(__glewGetProcAddressREGAL)
  70. #elif defined(__sgi) || defined (__sun) || defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
  71. #include <dlfcn.h>
  72. #include <stdio.h>
  73. #include <stdlib.h>
  74. void* dlGetProcAddress (const GLubyte* name)
  75. {
  76. static void* h = NULL;
  77. static void* gpa;
  78. if (h == NULL)
  79. {
  80. if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
  81. gpa = dlsym(h, "glXGetProcAddress");
  82. }
  83. if (gpa != NULL)
  84. return ((void*(*)(const GLubyte*))gpa)(name);
  85. else
  86. return dlsym(h, (const char*)name);
  87. }
  88. #endif /* __sgi || __sun || GLEW_APPLE_GLX */
  89. #if defined(__APPLE__)
  90. #include <stdlib.h>
  91. #include <string.h>
  92. #include <AvailabilityMacros.h>
  93. #ifdef MAC_OS_X_VERSION_10_3
  94. #include <dlfcn.h>
  95. void* NSGLGetProcAddress (const GLubyte *name)
  96. {
  97. static void* image = NULL;
  98. void* addr;
  99. if (NULL == image)
  100. {
  101. image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY);
  102. }
  103. if( !image ) return NULL;
  104. addr = dlsym(image, (const char*)name);
  105. if( addr ) return addr;
  106. #ifdef GLEW_APPLE_GLX
  107. return dlGetProcAddress( name ); // try next for glx symbols
  108. #else
  109. return NULL;
  110. #endif
  111. }
  112. #else
  113. #include <mach-o/dyld.h>
  114. void* NSGLGetProcAddress (const GLubyte *name)
  115. {
  116. static const struct mach_header* image = NULL;
  117. NSSymbol symbol;
  118. char* symbolName;
  119. if (NULL == image)
  120. {
  121. image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
  122. }
  123. /* prepend a '_' for the Unix C symbol mangling convention */
  124. symbolName = malloc(strlen((const char*)name) + 2);
  125. strcpy(symbolName+1, (const char*)name);
  126. symbolName[0] = '_';
  127. symbol = NULL;
  128. /* if (NSIsSymbolNameDefined(symbolName))
  129. symbol = NSLookupAndBindSymbol(symbolName); */
  130. symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL;
  131. free(symbolName);
  132. if( symbol ) return NSAddressOfSymbol(symbol);
  133. #ifdef GLEW_APPLE_GLX
  134. return dlGetProcAddress( name ); // try next for glx symbols
  135. #else
  136. return NULL;
  137. #endif
  138. }
  139. #endif /* MAC_OS_X_VERSION_10_3 */
  140. #endif /* __APPLE__ */
  141. /*
  142. * Define glewGetProcAddress.
  143. */
  144. #if defined(GLEW_REGAL)
  145. # define glewGetProcAddress(name) regalGetProcAddress((const GLchar *)name)
  146. #elif defined(GLEW_OSMESA)
  147. # define glewGetProcAddress(name) OSMesaGetProcAddress((const char *)name)
  148. #elif defined(GLEW_EGL)
  149. # define glewGetProcAddress(name) eglGetProcAddress((const char *)name)
  150. #elif defined(_WIN32)
  151. # define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
  152. #elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX)
  153. # define glewGetProcAddress(name) NSGLGetProcAddress(name)
  154. #elif defined(__sgi) || defined(__sun) || defined(__HAIKU__)
  155. # define glewGetProcAddress(name) dlGetProcAddress(name)
  156. #elif defined(__ANDROID__)
  157. # define glewGetProcAddress(name) NULL /* TODO */
  158. #elif defined(__native_client__)
  159. # define glewGetProcAddress(name) NULL /* TODO */
  160. #else /* __linux */
  161. # define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
  162. #endif
  163. /*
  164. * Redefine GLEW_GET_VAR etc without const cast
  165. */
  166. #undef GLEW_GET_VAR
  167. # define GLEW_GET_VAR(x) (x)
  168. #ifdef WGLEW_GET_VAR
  169. # undef WGLEW_GET_VAR
  170. # define WGLEW_GET_VAR(x) (x)
  171. #endif /* WGLEW_GET_VAR */
  172. #ifdef GLXEW_GET_VAR
  173. # undef GLXEW_GET_VAR
  174. # define GLXEW_GET_VAR(x) (x)
  175. #endif /* GLXEW_GET_VAR */
  176. #ifdef EGLEW_GET_VAR
  177. # undef EGLEW_GET_VAR
  178. # define EGLEW_GET_VAR(x) (x)
  179. #endif /* EGLEW_GET_VAR */
  180. /*
  181. * GLEW, just like OpenGL or GLU, does not rely on the standard C library.
  182. * These functions implement the functionality required in this file.
  183. */
  184. static GLuint _glewStrLen (const GLubyte* s)
  185. {
  186. GLuint i=0;
  187. if (s == NULL) return 0;
  188. while (s[i] != '\0') i++;
  189. return i;
  190. }
  191. static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
  192. {
  193. GLuint i=0;
  194. if (s == NULL) return 0;
  195. while (s[i] != '\0' && s[i] != c) i++;
  196. return i;
  197. }
  198. static GLuint _glewStrCopy(char *d, const char *s, char c)
  199. {
  200. GLuint i=0;
  201. if (s == NULL) return 0;
  202. while (s[i] != '\0' && s[i] != c) { d[i] = s[i]; i++; }
  203. d[i] = '\0';
  204. return i;
  205. }
  206. #if !defined(GLEW_OSMESA)
  207. #if !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
  208. static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
  209. {
  210. GLuint i=0;
  211. if(a == NULL || b == NULL)
  212. return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
  213. while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
  214. return i == n ? GL_TRUE : GL_FALSE;
  215. }
  216. #endif
  217. #endif
  218. static GLboolean _glewStrSame1 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
  219. {
  220. while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
  221. {
  222. (*a)++;
  223. (*na)--;
  224. }
  225. if(*na >= nb)
  226. {
  227. GLuint i=0;
  228. while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
  229. if(i == nb)
  230. {
  231. *a = *a + nb;
  232. *na = *na - nb;
  233. return GL_TRUE;
  234. }
  235. }
  236. return GL_FALSE;
  237. }
  238. static GLboolean _glewStrSame2 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
  239. {
  240. if(*na >= nb)
  241. {
  242. GLuint i=0;
  243. while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
  244. if(i == nb)
  245. {
  246. *a = *a + nb;
  247. *na = *na - nb;
  248. return GL_TRUE;
  249. }
  250. }
  251. return GL_FALSE;
  252. }
  253. static GLboolean _glewStrSame3 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
  254. {
  255. if(*na >= nb)
  256. {
  257. GLuint i=0;
  258. while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
  259. if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
  260. {
  261. *a = *a + nb;
  262. *na = *na - nb;
  263. return GL_TRUE;
  264. }
  265. }
  266. return GL_FALSE;
  267. }
  268. /*
  269. * Search for name in the extensions string. Use of strstr()
  270. * is not sufficient because extension names can be prefixes of
  271. * other extension names. Could use strtok() but the constant
  272. * string returned by glGetString might be in read-only memory.
  273. */
  274. #if !defined(GLEW_OSMESA)
  275. #if !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
  276. static GLboolean _glewSearchExtension (const char* name, const GLubyte *start, const GLubyte *end)
  277. {
  278. const GLubyte* p;
  279. GLuint len = _glewStrLen((const GLubyte*)name);
  280. p = start;
  281. while (p < end)
  282. {
  283. GLuint n = _glewStrCLen(p, ' ');
  284. if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
  285. p += n+1;
  286. }
  287. return GL_FALSE;
  288. }
  289. #endif
  290. #endif
  291. PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
  292. PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
  293. PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
  294. PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
  295. PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
  296. PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
  297. PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
  298. PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
  299. PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
  300. PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
  301. PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
  302. PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
  303. PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
  304. PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
  305. PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
  306. PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
  307. PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
  308. PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
  309. PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
  310. PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
  311. PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
  312. PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
  313. PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
  314. PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
  315. PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
  316. PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
  317. PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
  318. PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
  319. PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
  320. PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
  321. PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
  322. PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
  323. PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
  324. PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
  325. PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
  326. PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
  327. PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
  328. PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
  329. PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
  330. PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
  331. PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
  332. PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
  333. PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
  334. PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
  335. PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
  336. PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
  337. PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
  338. PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
  339. PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
  340. PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
  341. PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
  342. PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
  343. PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
  344. PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
  345. PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
  346. PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
  347. PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
  348. PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
  349. PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
  350. PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
  351. PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
  352. PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
  353. PFNGLPOINTPARAMETERIPROC __glewPointParameteri = NULL;
  354. PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv = NULL;
  355. PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
  356. PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
  357. PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
  358. PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
  359. PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
  360. PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
  361. PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
  362. PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
  363. PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
  364. PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
  365. PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
  366. PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
  367. PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
  368. PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
  369. PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
  370. PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
  371. PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
  372. PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
  373. PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
  374. PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
  375. PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
  376. PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
  377. PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
  378. PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
  379. PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
  380. PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
  381. PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
  382. PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
  383. PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
  384. PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
  385. PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
  386. PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
  387. PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
  388. PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
  389. PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
  390. PFNGLBUFFERDATAPROC __glewBufferData = NULL;
  391. PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
  392. PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
  393. PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
  394. PFNGLENDQUERYPROC __glewEndQuery = NULL;
  395. PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
  396. PFNGLGENQUERIESPROC __glewGenQueries = NULL;
  397. PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
  398. PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
  399. PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
  400. PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
  401. PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
  402. PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
  403. PFNGLISBUFFERPROC __glewIsBuffer = NULL;
  404. PFNGLISQUERYPROC __glewIsQuery = NULL;
  405. PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
  406. PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
  407. PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
  408. PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
  409. PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
  410. PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
  411. PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
  412. PFNGLCREATESHADERPROC __glewCreateShader = NULL;
  413. PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
  414. PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
  415. PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
  416. PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
  417. PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
  418. PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
  419. PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
  420. PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
  421. PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
  422. PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
  423. PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
  424. PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
  425. PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
  426. PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
  427. PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
  428. PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
  429. PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
  430. PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
  431. PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
  432. PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
  433. PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
  434. PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
  435. PFNGLISPROGRAMPROC __glewIsProgram = NULL;
  436. PFNGLISSHADERPROC __glewIsShader = NULL;
  437. PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
  438. PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
  439. PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
  440. PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
  441. PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
  442. PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
  443. PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
  444. PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
  445. PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
  446. PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
  447. PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
  448. PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
  449. PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
  450. PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
  451. PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
  452. PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
  453. PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
  454. PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
  455. PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
  456. PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
  457. PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
  458. PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
  459. PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
  460. PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
  461. PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
  462. PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
  463. PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
  464. PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
  465. PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
  466. PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
  467. PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
  468. PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
  469. PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
  470. PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
  471. PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
  472. PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
  473. PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
  474. PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
  475. PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
  476. PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
  477. PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
  478. PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
  479. PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
  480. PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
  481. PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
  482. PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
  483. PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
  484. PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
  485. PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
  486. PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
  487. PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
  488. PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
  489. PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
  490. PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
  491. PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
  492. PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
  493. PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
  494. PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
  495. PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
  496. PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
  497. PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
  498. PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
  499. PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
  500. PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv = NULL;
  501. PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv = NULL;
  502. PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv = NULL;
  503. PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv = NULL;
  504. PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv = NULL;
  505. PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv = NULL;
  506. PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;
  507. PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;
  508. PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;
  509. PFNGLCLAMPCOLORPROC __glewClampColor = NULL;
  510. PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;
  511. PFNGLCLEARBUFFERFVPROC __glewClearBufferfv = NULL;
  512. PFNGLCLEARBUFFERIVPROC __glewClearBufferiv = NULL;
  513. PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv = NULL;
  514. PFNGLCOLORMASKIPROC __glewColorMaski = NULL;
  515. PFNGLDISABLEIPROC __glewDisablei = NULL;
  516. PFNGLENABLEIPROC __glewEnablei = NULL;
  517. PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender = NULL;
  518. PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;
  519. PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;
  520. PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;
  521. PFNGLGETSTRINGIPROC __glewGetStringi = NULL;
  522. PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;
  523. PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;
  524. PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying = NULL;
  525. PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv = NULL;
  526. PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv = NULL;
  527. PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv = NULL;
  528. PFNGLISENABLEDIPROC __glewIsEnabledi = NULL;
  529. PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv = NULL;
  530. PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv = NULL;
  531. PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings = NULL;
  532. PFNGLUNIFORM1UIPROC __glewUniform1ui = NULL;
  533. PFNGLUNIFORM1UIVPROC __glewUniform1uiv = NULL;
  534. PFNGLUNIFORM2UIPROC __glewUniform2ui = NULL;
  535. PFNGLUNIFORM2UIVPROC __glewUniform2uiv = NULL;
  536. PFNGLUNIFORM3UIPROC __glewUniform3ui = NULL;
  537. PFNGLUNIFORM3UIVPROC __glewUniform3uiv = NULL;
  538. PFNGLUNIFORM4UIPROC __glewUniform4ui = NULL;
  539. PFNGLUNIFORM4UIVPROC __glewUniform4uiv = NULL;
  540. PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i = NULL;
  541. PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv = NULL;
  542. PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui = NULL;
  543. PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv = NULL;
  544. PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i = NULL;
  545. PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv = NULL;
  546. PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui = NULL;
  547. PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv = NULL;
  548. PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i = NULL;
  549. PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv = NULL;
  550. PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui = NULL;
  551. PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv = NULL;
  552. PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv = NULL;
  553. PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i = NULL;
  554. PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv = NULL;
  555. PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv = NULL;
  556. PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv = NULL;
  557. PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui = NULL;
  558. PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv = NULL;
  559. PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;
  560. PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;
  561. PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL;
  562. PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL;
  563. PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL;
  564. PFNGLTEXBUFFERPROC __glewTexBuffer = NULL;
  565. PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL;
  566. PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL;
  567. PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL;
  568. PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor = NULL;
  569. PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL;
  570. PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL;
  571. PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL;
  572. PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
  573. PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
  574. PFNGLGETGRAPHICSRESETSTATUSPROC __glewGetGraphicsResetStatus = NULL;
  575. PFNGLGETNCOMPRESSEDTEXIMAGEPROC __glewGetnCompressedTexImage = NULL;
  576. PFNGLGETNTEXIMAGEPROC __glewGetnTexImage = NULL;
  577. PFNGLGETNUNIFORMDVPROC __glewGetnUniformdv = NULL;
  578. PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC __glewMultiDrawArraysIndirectCount = NULL;
  579. PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC __glewMultiDrawElementsIndirectCount = NULL;
  580. PFNGLSPECIALIZESHADERPROC __glewSpecializeShader = NULL;
  581. PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
  582. PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD = NULL;
  583. PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD = NULL;
  584. PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD = NULL;
  585. PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD = NULL;
  586. PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL;
  587. PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL;
  588. PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL;
  589. PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL;
  590. PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC __glewFramebufferSamplePositionsfvAMD = NULL;
  591. PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC __glewGetFramebufferParameterfvAMD = NULL;
  592. PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC __glewGetNamedFramebufferParameterfvAMD = NULL;
  593. PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC __glewNamedFramebufferSamplePositionsfvAMD = NULL;
  594. PFNGLVERTEXATTRIBPARAMETERIAMDPROC __glewVertexAttribParameteriAMD = NULL;
  595. PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD = NULL;
  596. PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD = NULL;
  597. PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD = NULL;
  598. PFNGLGENNAMESAMDPROC __glewGenNamesAMD = NULL;
  599. PFNGLISNAMEAMDPROC __glewIsNameAMD = NULL;
  600. PFNGLQUERYOBJECTPARAMETERUIAMDPROC __glewQueryObjectParameteruiAMD = NULL;
  601. PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL;
  602. PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL;
  603. PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL;
  604. PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL;
  605. PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL;
  606. PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL;
  607. PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL;
  608. PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL;
  609. PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL;
  610. PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL;
  611. PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL;
  612. PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD = NULL;
  613. PFNGLTEXSTORAGESPARSEAMDPROC __glewTexStorageSparseAMD = NULL;
  614. PFNGLTEXTURESTORAGESPARSEAMDPROC __glewTextureStorageSparseAMD = NULL;
  615. PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD = NULL;
  616. PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL;
  617. PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL;
  618. PFNGLBLITFRAMEBUFFERANGLEPROC __glewBlitFramebufferANGLE = NULL;
  619. PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC __glewRenderbufferStorageMultisampleANGLE = NULL;
  620. PFNGLDRAWARRAYSINSTANCEDANGLEPROC __glewDrawArraysInstancedANGLE = NULL;
  621. PFNGLDRAWELEMENTSINSTANCEDANGLEPROC __glewDrawElementsInstancedANGLE = NULL;
  622. PFNGLVERTEXATTRIBDIVISORANGLEPROC __glewVertexAttribDivisorANGLE = NULL;
  623. PFNGLBEGINQUERYANGLEPROC __glewBeginQueryANGLE = NULL;
  624. PFNGLDELETEQUERIESANGLEPROC __glewDeleteQueriesANGLE = NULL;
  625. PFNGLENDQUERYANGLEPROC __glewEndQueryANGLE = NULL;
  626. PFNGLGENQUERIESANGLEPROC __glewGenQueriesANGLE = NULL;
  627. PFNGLGETQUERYOBJECTI64VANGLEPROC __glewGetQueryObjecti64vANGLE = NULL;
  628. PFNGLGETQUERYOBJECTIVANGLEPROC __glewGetQueryObjectivANGLE = NULL;
  629. PFNGLGETQUERYOBJECTUI64VANGLEPROC __glewGetQueryObjectui64vANGLE = NULL;
  630. PFNGLGETQUERYOBJECTUIVANGLEPROC __glewGetQueryObjectuivANGLE = NULL;
  631. PFNGLGETQUERYIVANGLEPROC __glewGetQueryivANGLE = NULL;
  632. PFNGLISQUERYANGLEPROC __glewIsQueryANGLE = NULL;
  633. PFNGLQUERYCOUNTERANGLEPROC __glewQueryCounterANGLE = NULL;
  634. PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC __glewGetTranslatedShaderSourceANGLE = NULL;
  635. PFNGLCOPYTEXTURELEVELSAPPLEPROC __glewCopyTextureLevelsAPPLE = NULL;
  636. PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
  637. PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
  638. PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
  639. PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
  640. PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
  641. PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
  642. PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
  643. PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
  644. PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
  645. PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
  646. PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
  647. PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
  648. PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
  649. PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;
  650. PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;
  651. PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC __glewRenderbufferStorageMultisampleAPPLE = NULL;
  652. PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC __glewResolveMultisampleFramebufferAPPLE = NULL;
  653. PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL;
  654. PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL;
  655. PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL;
  656. PFNGLCLIENTWAITSYNCAPPLEPROC __glewClientWaitSyncAPPLE = NULL;
  657. PFNGLDELETESYNCAPPLEPROC __glewDeleteSyncAPPLE = NULL;
  658. PFNGLFENCESYNCAPPLEPROC __glewFenceSyncAPPLE = NULL;
  659. PFNGLGETINTEGER64VAPPLEPROC __glewGetInteger64vAPPLE = NULL;
  660. PFNGLGETSYNCIVAPPLEPROC __glewGetSyncivAPPLE = NULL;
  661. PFNGLISSYNCAPPLEPROC __glewIsSyncAPPLE = NULL;
  662. PFNGLWAITSYNCAPPLEPROC __glewWaitSyncAPPLE = NULL;
  663. PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
  664. PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
  665. PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
  666. PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
  667. PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
  668. PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
  669. PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
  670. PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
  671. PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
  672. PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL;
  673. PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL;
  674. PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL;
  675. PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL;
  676. PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL;
  677. PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL;
  678. PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL;
  679. PFNGLCLEARDEPTHFPROC __glewClearDepthf = NULL;
  680. PFNGLDEPTHRANGEFPROC __glewDepthRangef = NULL;
  681. PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat = NULL;
  682. PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler = NULL;
  683. PFNGLSHADERBINARYPROC __glewShaderBinary = NULL;
  684. PFNGLMEMORYBARRIERBYREGIONPROC __glewMemoryBarrierByRegion = NULL;
  685. PFNGLPRIMITIVEBOUNDINGBOXARBPROC __glewPrimitiveBoundingBoxARB = NULL;
  686. PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance = NULL;
  687. PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance = NULL;
  688. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance = NULL;
  689. PFNGLGETIMAGEHANDLEARBPROC __glewGetImageHandleARB = NULL;
  690. PFNGLGETTEXTUREHANDLEARBPROC __glewGetTextureHandleARB = NULL;
  691. PFNGLGETTEXTURESAMPLERHANDLEARBPROC __glewGetTextureSamplerHandleARB = NULL;
  692. PFNGLGETVERTEXATTRIBLUI64VARBPROC __glewGetVertexAttribLui64vARB = NULL;
  693. PFNGLISIMAGEHANDLERESIDENTARBPROC __glewIsImageHandleResidentARB = NULL;
  694. PFNGLISTEXTUREHANDLERESIDENTARBPROC __glewIsTextureHandleResidentARB = NULL;
  695. PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC __glewMakeImageHandleNonResidentARB = NULL;
  696. PFNGLMAKEIMAGEHANDLERESIDENTARBPROC __glewMakeImageHandleResidentARB = NULL;
  697. PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC __glewMakeTextureHandleNonResidentARB = NULL;
  698. PFNGLMAKETEXTUREHANDLERESIDENTARBPROC __glewMakeTextureHandleResidentARB = NULL;
  699. PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC __glewProgramUniformHandleui64ARB = NULL;
  700. PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC __glewProgramUniformHandleui64vARB = NULL;
  701. PFNGLUNIFORMHANDLEUI64ARBPROC __glewUniformHandleui64ARB = NULL;
  702. PFNGLUNIFORMHANDLEUI64VARBPROC __glewUniformHandleui64vARB = NULL;
  703. PFNGLVERTEXATTRIBL1UI64ARBPROC __glewVertexAttribL1ui64ARB = NULL;
  704. PFNGLVERTEXATTRIBL1UI64VARBPROC __glewVertexAttribL1ui64vARB = NULL;
  705. PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL;
  706. PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL;
  707. PFNGLBUFFERSTORAGEPROC __glewBufferStorage = NULL;
  708. PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB = NULL;
  709. PFNGLCLEARBUFFERDATAPROC __glewClearBufferData = NULL;
  710. PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData = NULL;
  711. PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT = NULL;
  712. PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT = NULL;
  713. PFNGLCLEARTEXIMAGEPROC __glewClearTexImage = NULL;
  714. PFNGLCLEARTEXSUBIMAGEPROC __glewClearTexSubImage = NULL;
  715. PFNGLCLIPCONTROLPROC __glewClipControl = NULL;
  716. PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
  717. PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute = NULL;
  718. PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect = NULL;
  719. PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC __glewDispatchComputeGroupSizeARB = NULL;
  720. PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL;
  721. PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData = NULL;
  722. PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB = NULL;
  723. PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB = NULL;
  724. PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB = NULL;
  725. PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB = NULL;
  726. PFNGLBINDTEXTUREUNITPROC __glewBindTextureUnit = NULL;
  727. PFNGLBLITNAMEDFRAMEBUFFERPROC __glewBlitNamedFramebuffer = NULL;
  728. PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC __glewCheckNamedFramebufferStatus = NULL;
  729. PFNGLCLEARNAMEDBUFFERDATAPROC __glewClearNamedBufferData = NULL;
  730. PFNGLCLEARNAMEDBUFFERSUBDATAPROC __glewClearNamedBufferSubData = NULL;
  731. PFNGLCLEARNAMEDFRAMEBUFFERFIPROC __glewClearNamedFramebufferfi = NULL;
  732. PFNGLCLEARNAMEDFRAMEBUFFERFVPROC __glewClearNamedFramebufferfv = NULL;
  733. PFNGLCLEARNAMEDFRAMEBUFFERIVPROC __glewClearNamedFramebufferiv = NULL;
  734. PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC __glewClearNamedFramebufferuiv = NULL;
  735. PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC __glewCompressedTextureSubImage1D = NULL;
  736. PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC __glewCompressedTextureSubImage2D = NULL;
  737. PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC __glewCompressedTextureSubImage3D = NULL;
  738. PFNGLCOPYNAMEDBUFFERSUBDATAPROC __glewCopyNamedBufferSubData = NULL;
  739. PFNGLCOPYTEXTURESUBIMAGE1DPROC __glewCopyTextureSubImage1D = NULL;
  740. PFNGLCOPYTEXTURESUBIMAGE2DPROC __glewCopyTextureSubImage2D = NULL;
  741. PFNGLCOPYTEXTURESUBIMAGE3DPROC __glewCopyTextureSubImage3D = NULL;
  742. PFNGLCREATEBUFFERSPROC __glewCreateBuffers = NULL;
  743. PFNGLCREATEFRAMEBUFFERSPROC __glewCreateFramebuffers = NULL;
  744. PFNGLCREATEPROGRAMPIPELINESPROC __glewCreateProgramPipelines = NULL;
  745. PFNGLCREATEQUERIESPROC __glewCreateQueries = NULL;
  746. PFNGLCREATERENDERBUFFERSPROC __glewCreateRenderbuffers = NULL;
  747. PFNGLCREATESAMPLERSPROC __glewCreateSamplers = NULL;
  748. PFNGLCREATETEXTURESPROC __glewCreateTextures = NULL;
  749. PFNGLCREATETRANSFORMFEEDBACKSPROC __glewCreateTransformFeedbacks = NULL;
  750. PFNGLCREATEVERTEXARRAYSPROC __glewCreateVertexArrays = NULL;
  751. PFNGLDISABLEVERTEXARRAYATTRIBPROC __glewDisableVertexArrayAttrib = NULL;
  752. PFNGLENABLEVERTEXARRAYATTRIBPROC __glewEnableVertexArrayAttrib = NULL;
  753. PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC __glewFlushMappedNamedBufferRange = NULL;
  754. PFNGLGENERATETEXTUREMIPMAPPROC __glewGenerateTextureMipmap = NULL;
  755. PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC __glewGetCompressedTextureImage = NULL;
  756. PFNGLGETNAMEDBUFFERPARAMETERI64VPROC __glewGetNamedBufferParameteri64v = NULL;
  757. PFNGLGETNAMEDBUFFERPARAMETERIVPROC __glewGetNamedBufferParameteriv = NULL;
  758. PFNGLGETNAMEDBUFFERPOINTERVPROC __glewGetNamedBufferPointerv = NULL;
  759. PFNGLGETNAMEDBUFFERSUBDATAPROC __glewGetNamedBufferSubData = NULL;
  760. PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetNamedFramebufferAttachmentParameteriv = NULL;
  761. PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC __glewGetNamedFramebufferParameteriv = NULL;
  762. PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC __glewGetNamedRenderbufferParameteriv = NULL;
  763. PFNGLGETQUERYBUFFEROBJECTI64VPROC __glewGetQueryBufferObjecti64v = NULL;
  764. PFNGLGETQUERYBUFFEROBJECTIVPROC __glewGetQueryBufferObjectiv = NULL;
  765. PFNGLGETQUERYBUFFEROBJECTUI64VPROC __glewGetQueryBufferObjectui64v = NULL;
  766. PFNGLGETQUERYBUFFEROBJECTUIVPROC __glewGetQueryBufferObjectuiv = NULL;
  767. PFNGLGETTEXTUREIMAGEPROC __glewGetTextureImage = NULL;
  768. PFNGLGETTEXTURELEVELPARAMETERFVPROC __glewGetTextureLevelParameterfv = NULL;
  769. PFNGLGETTEXTURELEVELPARAMETERIVPROC __glewGetTextureLevelParameteriv = NULL;
  770. PFNGLGETTEXTUREPARAMETERIIVPROC __glewGetTextureParameterIiv = NULL;
  771. PFNGLGETTEXTUREPARAMETERIUIVPROC __glewGetTextureParameterIuiv = NULL;
  772. PFNGLGETTEXTUREPARAMETERFVPROC __glewGetTextureParameterfv = NULL;
  773. PFNGLGETTEXTUREPARAMETERIVPROC __glewGetTextureParameteriv = NULL;
  774. PFNGLGETTRANSFORMFEEDBACKI64_VPROC __glewGetTransformFeedbacki64_v = NULL;
  775. PFNGLGETTRANSFORMFEEDBACKI_VPROC __glewGetTransformFeedbacki_v = NULL;
  776. PFNGLGETTRANSFORMFEEDBACKIVPROC __glewGetTransformFeedbackiv = NULL;
  777. PFNGLGETVERTEXARRAYINDEXED64IVPROC __glewGetVertexArrayIndexed64iv = NULL;
  778. PFNGLGETVERTEXARRAYINDEXEDIVPROC __glewGetVertexArrayIndexediv = NULL;
  779. PFNGLGETVERTEXARRAYIVPROC __glewGetVertexArrayiv = NULL;
  780. PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC __glewInvalidateNamedFramebufferData = NULL;
  781. PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC __glewInvalidateNamedFramebufferSubData = NULL;
  782. PFNGLMAPNAMEDBUFFERPROC __glewMapNamedBuffer = NULL;
  783. PFNGLMAPNAMEDBUFFERRANGEPROC __glewMapNamedBufferRange = NULL;
  784. PFNGLNAMEDBUFFERDATAPROC __glewNamedBufferData = NULL;
  785. PFNGLNAMEDBUFFERSTORAGEPROC __glewNamedBufferStorage = NULL;
  786. PFNGLNAMEDBUFFERSUBDATAPROC __glewNamedBufferSubData = NULL;
  787. PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC __glewNamedFramebufferDrawBuffer = NULL;
  788. PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC __glewNamedFramebufferDrawBuffers = NULL;
  789. PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC __glewNamedFramebufferParameteri = NULL;
  790. PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC __glewNamedFramebufferReadBuffer = NULL;
  791. PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC __glewNamedFramebufferRenderbuffer = NULL;
  792. PFNGLNAMEDFRAMEBUFFERTEXTUREPROC __glewNamedFramebufferTexture = NULL;
  793. PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC __glewNamedFramebufferTextureLayer = NULL;
  794. PFNGLNAMEDRENDERBUFFERSTORAGEPROC __glewNamedRenderbufferStorage = NULL;
  795. PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewNamedRenderbufferStorageMultisample = NULL;
  796. PFNGLTEXTUREBUFFERPROC __glewTextureBuffer = NULL;
  797. PFNGLTEXTUREBUFFERRANGEPROC __glewTextureBufferRange = NULL;
  798. PFNGLTEXTUREPARAMETERIIVPROC __glewTextureParameterIiv = NULL;
  799. PFNGLTEXTUREPARAMETERIUIVPROC __glewTextureParameterIuiv = NULL;
  800. PFNGLTEXTUREPARAMETERFPROC __glewTextureParameterf = NULL;
  801. PFNGLTEXTUREPARAMETERFVPROC __glewTextureParameterfv = NULL;
  802. PFNGLTEXTUREPARAMETERIPROC __glewTextureParameteri = NULL;
  803. PFNGLTEXTUREPARAMETERIVPROC __glewTextureParameteriv = NULL;
  804. PFNGLTEXTURESTORAGE1DPROC __glewTextureStorage1D = NULL;
  805. PFNGLTEXTURESTORAGE2DPROC __glewTextureStorage2D = NULL;
  806. PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC __glewTextureStorage2DMultisample = NULL;
  807. PFNGLTEXTURESTORAGE3DPROC __glewTextureStorage3D = NULL;
  808. PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC __glewTextureStorage3DMultisample = NULL;
  809. PFNGLTEXTURESUBIMAGE1DPROC __glewTextureSubImage1D = NULL;
  810. PFNGLTEXTURESUBIMAGE2DPROC __glewTextureSubImage2D = NULL;
  811. PFNGLTEXTURESUBIMAGE3DPROC __glewTextureSubImage3D = NULL;
  812. PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC __glewTransformFeedbackBufferBase = NULL;
  813. PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC __glewTransformFeedbackBufferRange = NULL;
  814. PFNGLUNMAPNAMEDBUFFERPROC __glewUnmapNamedBuffer = NULL;
  815. PFNGLVERTEXARRAYATTRIBBINDINGPROC __glewVertexArrayAttribBinding = NULL;
  816. PFNGLVERTEXARRAYATTRIBFORMATPROC __glewVertexArrayAttribFormat = NULL;
  817. PFNGLVERTEXARRAYATTRIBIFORMATPROC __glewVertexArrayAttribIFormat = NULL;
  818. PFNGLVERTEXARRAYATTRIBLFORMATPROC __glewVertexArrayAttribLFormat = NULL;
  819. PFNGLVERTEXARRAYBINDINGDIVISORPROC __glewVertexArrayBindingDivisor = NULL;
  820. PFNGLVERTEXARRAYELEMENTBUFFERPROC __glewVertexArrayElementBuffer = NULL;
  821. PFNGLVERTEXARRAYVERTEXBUFFERPROC __glewVertexArrayVertexBuffer = NULL;
  822. PFNGLVERTEXARRAYVERTEXBUFFERSPROC __glewVertexArrayVertexBuffers = NULL;
  823. PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
  824. PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL;
  825. PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL;
  826. PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL;
  827. PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL;
  828. PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL;
  829. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL;
  830. PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL;
  831. PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL;
  832. PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL;
  833. PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL;
  834. PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri = NULL;
  835. PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv = NULL;
  836. PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT = NULL;
  837. PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT = NULL;
  838. PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer = NULL;
  839. PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer = NULL;
  840. PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer = NULL;
  841. PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus = NULL;
  842. PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;
  843. PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;
  844. PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;
  845. PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;
  846. PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;
  847. PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;
  848. PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL;
  849. PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;
  850. PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;
  851. PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;
  852. PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv = NULL;
  853. PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv = NULL;
  854. PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer = NULL;
  855. PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer = NULL;
  856. PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage = NULL;
  857. PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample = NULL;
  858. PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB = NULL;
  859. PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB = NULL;
  860. PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB = NULL;
  861. PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB = NULL;
  862. PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary = NULL;
  863. PFNGLPROGRAMBINARYPROC __glewProgramBinary = NULL;
  864. PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri = NULL;
  865. PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC __glewGetCompressedTextureSubImage = NULL;
  866. PFNGLGETTEXTURESUBIMAGEPROC __glewGetTextureSubImage = NULL;
  867. PFNGLSPECIALIZESHADERARBPROC __glewSpecializeShaderARB = NULL;
  868. PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL;
  869. PFNGLUNIFORM1DPROC __glewUniform1d = NULL;
  870. PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL;
  871. PFNGLUNIFORM2DPROC __glewUniform2d = NULL;
  872. PFNGLUNIFORM2DVPROC __glewUniform2dv = NULL;
  873. PFNGLUNIFORM3DPROC __glewUniform3d = NULL;
  874. PFNGLUNIFORM3DVPROC __glewUniform3dv = NULL;
  875. PFNGLUNIFORM4DPROC __glewUniform4d = NULL;
  876. PFNGLUNIFORM4DVPROC __glewUniform4dv = NULL;
  877. PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv = NULL;
  878. PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv = NULL;
  879. PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv = NULL;
  880. PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv = NULL;
  881. PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv = NULL;
  882. PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv = NULL;
  883. PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv = NULL;
  884. PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv = NULL;
  885. PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv = NULL;
  886. PFNGLGETUNIFORMI64VARBPROC __glewGetUniformi64vARB = NULL;
  887. PFNGLGETUNIFORMUI64VARBPROC __glewGetUniformui64vARB = NULL;
  888. PFNGLGETNUNIFORMI64VARBPROC __glewGetnUniformi64vARB = NULL;
  889. PFNGLGETNUNIFORMUI64VARBPROC __glewGetnUniformui64vARB = NULL;
  890. PFNGLPROGRAMUNIFORM1I64ARBPROC __glewProgramUniform1i64ARB = NULL;
  891. PFNGLPROGRAMUNIFORM1I64VARBPROC __glewProgramUniform1i64vARB = NULL;
  892. PFNGLPROGRAMUNIFORM1UI64ARBPROC __glewProgramUniform1ui64ARB = NULL;
  893. PFNGLPROGRAMUNIFORM1UI64VARBPROC __glewProgramUniform1ui64vARB = NULL;
  894. PFNGLPROGRAMUNIFORM2I64ARBPROC __glewProgramUniform2i64ARB = NULL;
  895. PFNGLPROGRAMUNIFORM2I64VARBPROC __glewProgramUniform2i64vARB = NULL;
  896. PFNGLPROGRAMUNIFORM2UI64ARBPROC __glewProgramUniform2ui64ARB = NULL;
  897. PFNGLPROGRAMUNIFORM2UI64VARBPROC __glewProgramUniform2ui64vARB = NULL;
  898. PFNGLPROGRAMUNIFORM3I64ARBPROC __glewProgramUniform3i64ARB = NULL;
  899. PFNGLPROGRAMUNIFORM3I64VARBPROC __glewProgramUniform3i64vARB = NULL;
  900. PFNGLPROGRAMUNIFORM3UI64ARBPROC __glewProgramUniform3ui64ARB = NULL;
  901. PFNGLPROGRAMUNIFORM3UI64VARBPROC __glewProgramUniform3ui64vARB = NULL;
  902. PFNGLPROGRAMUNIFORM4I64ARBPROC __glewProgramUniform4i64ARB = NULL;
  903. PFNGLPROGRAMUNIFORM4I64VARBPROC __glewProgramUniform4i64vARB = NULL;
  904. PFNGLPROGRAMUNIFORM4UI64ARBPROC __glewProgramUniform4ui64ARB = NULL;
  905. PFNGLPROGRAMUNIFORM4UI64VARBPROC __glewProgramUniform4ui64vARB = NULL;
  906. PFNGLUNIFORM1I64ARBPROC __glewUniform1i64ARB = NULL;
  907. PFNGLUNIFORM1I64VARBPROC __glewUniform1i64vARB = NULL;
  908. PFNGLUNIFORM1UI64ARBPROC __glewUniform1ui64ARB = NULL;
  909. PFNGLUNIFORM1UI64VARBPROC __glewUniform1ui64vARB = NULL;
  910. PFNGLUNIFORM2I64ARBPROC __glewUniform2i64ARB = NULL;
  911. PFNGLUNIFORM2I64VARBPROC __glewUniform2i64vARB = NULL;
  912. PFNGLUNIFORM2UI64ARBPROC __glewUniform2ui64ARB = NULL;
  913. PFNGLUNIFORM2UI64VARBPROC __glewUniform2ui64vARB = NULL;
  914. PFNGLUNIFORM3I64ARBPROC __glewUniform3i64ARB = NULL;
  915. PFNGLUNIFORM3I64VARBPROC __glewUniform3i64vARB = NULL;
  916. PFNGLUNIFORM3UI64ARBPROC __glewUniform3ui64ARB = NULL;
  917. PFNGLUNIFORM3UI64VARBPROC __glewUniform3ui64vARB = NULL;
  918. PFNGLUNIFORM4I64ARBPROC __glewUniform4i64ARB = NULL;
  919. PFNGLUNIFORM4I64VARBPROC __glewUniform4i64vARB = NULL;
  920. PFNGLUNIFORM4UI64ARBPROC __glewUniform4ui64ARB = NULL;
  921. PFNGLUNIFORM4UI64VARBPROC __glewUniform4ui64vARB = NULL;
  922. PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
  923. PFNGLCOLORTABLEPROC __glewColorTable = NULL;
  924. PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
  925. PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
  926. PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
  927. PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
  928. PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
  929. PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
  930. PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
  931. PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
  932. PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
  933. PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
  934. PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
  935. PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
  936. PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
  937. PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
  938. PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
  939. PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
  940. PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
  941. PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
  942. PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
  943. PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
  944. PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
  945. PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
  946. PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
  947. PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
  948. PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
  949. PFNGLHISTOGRAMPROC __glewHistogram = NULL;
  950. PFNGLMINMAXPROC __glewMinmax = NULL;
  951. PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
  952. PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
  953. PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
  954. PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC __glewMultiDrawArraysIndirectCountARB = NULL;
  955. PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC __glewMultiDrawElementsIndirectCountARB = NULL;
  956. PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;
  957. PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;
  958. PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB = NULL;
  959. PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ = NULL;
  960. PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v = NULL;
  961. PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData = NULL;
  962. PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData = NULL;
  963. PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer = NULL;
  964. PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer = NULL;
  965. PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage = NULL;
  966. PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage = NULL;
  967. PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange = NULL;
  968. PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange = NULL;
  969. PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
  970. PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
  971. PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
  972. PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
  973. PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
  974. PFNGLBINDBUFFERSBASEPROC __glewBindBuffersBase = NULL;
  975. PFNGLBINDBUFFERSRANGEPROC __glewBindBuffersRange = NULL;
  976. PFNGLBINDIMAGETEXTURESPROC __glewBindImageTextures = NULL;
  977. PFNGLBINDSAMPLERSPROC __glewBindSamplers = NULL;
  978. PFNGLBINDTEXTURESPROC __glewBindTextures = NULL;
  979. PFNGLBINDVERTEXBUFFERSPROC __glewBindVertexBuffers = NULL;
  980. PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect = NULL;
  981. PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect = NULL;
  982. PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
  983. PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
  984. PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
  985. PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
  986. PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
  987. PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
  988. PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
  989. PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
  990. PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
  991. PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
  992. PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
  993. PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
  994. PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
  995. PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
  996. PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
  997. PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
  998. PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
  999. PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
  1000. PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
  1001. PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
  1002. PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
  1003. PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
  1004. PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
  1005. PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
  1006. PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
  1007. PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
  1008. PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
  1009. PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
  1010. PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
  1011. PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
  1012. PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
  1013. PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
  1014. PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
  1015. PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
  1016. PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
  1017. PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
  1018. PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
  1019. PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
  1020. PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
  1021. PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
  1022. PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
  1023. PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
  1024. PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
  1025. PFNGLMAXSHADERCOMPILERTHREADSARBPROC __glewMaxShaderCompilerThreadsARB = NULL;
  1026. PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
  1027. PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
  1028. PFNGLPOLYGONOFFSETCLAMPPROC __glewPolygonOffsetClamp = NULL;
  1029. PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv = NULL;
  1030. PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex = NULL;
  1031. PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation = NULL;
  1032. PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex = NULL;
  1033. PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName = NULL;
  1034. PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv = NULL;
  1035. PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL;
  1036. PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB = NULL;
  1037. PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB = NULL;
  1038. PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB = NULL;
  1039. PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB = NULL;
  1040. PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB = NULL;
  1041. PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB = NULL;
  1042. PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB = NULL;
  1043. PFNGLGETNMAPIVARBPROC __glewGetnMapivARB = NULL;
  1044. PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB = NULL;
  1045. PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB = NULL;
  1046. PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB = NULL;
  1047. PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB = NULL;
  1048. PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB = NULL;
  1049. PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB = NULL;
  1050. PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB = NULL;
  1051. PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB = NULL;
  1052. PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB = NULL;
  1053. PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB = NULL;
  1054. PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB = NULL;
  1055. PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB = NULL;
  1056. PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC __glewFramebufferSampleLocationsfvARB = NULL;
  1057. PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC __glewNamedFramebufferSampleLocationsfvARB = NULL;
  1058. PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL;
  1059. PFNGLBINDSAMPLERPROC __glewBindSampler = NULL;
  1060. PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL;
  1061. PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL;
  1062. PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL;
  1063. PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL;
  1064. PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL;
  1065. PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL;
  1066. PFNGLISSAMPLERPROC __glewIsSampler = NULL;
  1067. PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL;
  1068. PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL;
  1069. PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL;
  1070. PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL;
  1071. PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL;
  1072. PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL;
  1073. PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram = NULL;
  1074. PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline = NULL;
  1075. PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv = NULL;
  1076. PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines = NULL;
  1077. PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines = NULL;
  1078. PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog = NULL;
  1079. PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv = NULL;
  1080. PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline = NULL;
  1081. PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d = NULL;
  1082. PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv = NULL;
  1083. PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f = NULL;
  1084. PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv = NULL;
  1085. PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i = NULL;
  1086. PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv = NULL;
  1087. PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui = NULL;
  1088. PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv = NULL;
  1089. PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d = NULL;
  1090. PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv = NULL;
  1091. PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f = NULL;
  1092. PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv = NULL;
  1093. PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i = NULL;
  1094. PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv = NULL;
  1095. PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui = NULL;
  1096. PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv = NULL;
  1097. PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d = NULL;
  1098. PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv = NULL;
  1099. PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f = NULL;
  1100. PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv = NULL;
  1101. PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i = NULL;
  1102. PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv = NULL;
  1103. PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui = NULL;
  1104. PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv = NULL;
  1105. PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d = NULL;
  1106. PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv = NULL;
  1107. PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f = NULL;
  1108. PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv = NULL;
  1109. PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i = NULL;
  1110. PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv = NULL;
  1111. PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui = NULL;
  1112. PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv = NULL;
  1113. PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv = NULL;
  1114. PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv = NULL;
  1115. PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv = NULL;
  1116. PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv = NULL;
  1117. PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv = NULL;
  1118. PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv = NULL;
  1119. PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv = NULL;
  1120. PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv = NULL;
  1121. PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv = NULL;
  1122. PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv = NULL;
  1123. PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv = NULL;
  1124. PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv = NULL;
  1125. PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv = NULL;
  1126. PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv = NULL;
  1127. PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv = NULL;
  1128. PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv = NULL;
  1129. PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv = NULL;
  1130. PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv = NULL;
  1131. PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages = NULL;
  1132. PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline = NULL;
  1133. PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv = NULL;
  1134. PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture = NULL;
  1135. PFNGLMEMORYBARRIERPROC __glewMemoryBarrier = NULL;
  1136. PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
  1137. PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
  1138. PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
  1139. PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
  1140. PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
  1141. PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
  1142. PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
  1143. PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
  1144. PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
  1145. PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
  1146. PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
  1147. PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
  1148. PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
  1149. PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
  1150. PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
  1151. PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
  1152. PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
  1153. PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
  1154. PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
  1155. PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
  1156. PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
  1157. PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
  1158. PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
  1159. PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
  1160. PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
  1161. PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
  1162. PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
  1163. PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
  1164. PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
  1165. PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
  1166. PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
  1167. PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
  1168. PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
  1169. PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
  1170. PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
  1171. PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
  1172. PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
  1173. PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
  1174. PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
  1175. PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding = NULL;
  1176. PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL;
  1177. PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL;
  1178. PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL;
  1179. PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL;
  1180. PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL;
  1181. PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL;
  1182. PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL;
  1183. PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL;
  1184. PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL;
  1185. PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL;
  1186. PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL;
  1187. PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL;
  1188. PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL;
  1189. PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL;
  1190. PFNGLBUFFERPAGECOMMITMENTARBPROC __glewBufferPageCommitmentARB = NULL;
  1191. PFNGLTEXPAGECOMMITMENTARBPROC __glewTexPageCommitmentARB = NULL;
  1192. PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL;
  1193. PFNGLDELETESYNCPROC __glewDeleteSync = NULL;
  1194. PFNGLFENCESYNCPROC __glewFenceSync = NULL;
  1195. PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL;
  1196. PFNGLGETSYNCIVPROC __glewGetSynciv = NULL;
  1197. PFNGLISSYNCPROC __glewIsSync = NULL;
  1198. PFNGLWAITSYNCPROC __glewWaitSync = NULL;
  1199. PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL;
  1200. PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL;
  1201. PFNGLTEXTUREBARRIERPROC __glewTextureBarrier = NULL;
  1202. PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;
  1203. PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange = NULL;
  1204. PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT = NULL;
  1205. PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
  1206. PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
  1207. PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
  1208. PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
  1209. PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
  1210. PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
  1211. PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
  1212. PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL;
  1213. PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL;
  1214. PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL;
  1215. PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL;
  1216. PFNGLTEXSTORAGE1DPROC __glewTexStorage1D = NULL;
  1217. PFNGLTEXSTORAGE2DPROC __glewTexStorage2D = NULL;
  1218. PFNGLTEXSTORAGE3DPROC __glewTexStorage3D = NULL;
  1219. PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample = NULL;
  1220. PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample = NULL;
  1221. PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT = NULL;
  1222. PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT = NULL;
  1223. PFNGLTEXTUREVIEWPROC __glewTextureView = NULL;
  1224. PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL;
  1225. PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL;
  1226. PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL;
  1227. PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL;
  1228. PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL;
  1229. PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL;
  1230. PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL;
  1231. PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL;
  1232. PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL;
  1233. PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL;
  1234. PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL;
  1235. PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL;
  1236. PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL;
  1237. PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL;
  1238. PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced = NULL;
  1239. PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced = NULL;
  1240. PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
  1241. PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
  1242. PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
  1243. PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
  1244. PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;
  1245. PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;
  1246. PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL;
  1247. PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL;
  1248. PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL;
  1249. PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL;
  1250. PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;
  1251. PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL;
  1252. PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL;
  1253. PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL;
  1254. PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;
  1255. PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;
  1256. PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;
  1257. PFNGLISVERTEXARRAYPROC __glewIsVertexArray = NULL;
  1258. PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv = NULL;
  1259. PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d = NULL;
  1260. PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv = NULL;
  1261. PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d = NULL;
  1262. PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv = NULL;
  1263. PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d = NULL;
  1264. PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv = NULL;
  1265. PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d = NULL;
  1266. PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv = NULL;
  1267. PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer = NULL;
  1268. PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer = NULL;
  1269. PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC __glewVertexArrayBindVertexBufferEXT = NULL;
  1270. PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC __glewVertexArrayVertexAttribBindingEXT = NULL;
  1271. PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC __glewVertexArrayVertexAttribFormatEXT = NULL;
  1272. PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC __glewVertexArrayVertexAttribIFormatEXT = NULL;
  1273. PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC __glewVertexArrayVertexAttribLFormatEXT = NULL;
  1274. PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC __glewVertexArrayVertexBindingDivisorEXT = NULL;
  1275. PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding = NULL;
  1276. PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat = NULL;
  1277. PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat = NULL;
  1278. PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat = NULL;
  1279. PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor = NULL;
  1280. PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
  1281. PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
  1282. PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
  1283. PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
  1284. PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
  1285. PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
  1286. PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
  1287. PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
  1288. PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
  1289. PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
  1290. PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
  1291. PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
  1292. PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
  1293. PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
  1294. PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
  1295. PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
  1296. PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
  1297. PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
  1298. PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
  1299. PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
  1300. PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
  1301. PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
  1302. PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
  1303. PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
  1304. PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
  1305. PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
  1306. PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
  1307. PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
  1308. PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
  1309. PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
  1310. PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
  1311. PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
  1312. PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
  1313. PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
  1314. PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
  1315. PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
  1316. PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
  1317. PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
  1318. PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
  1319. PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
  1320. PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
  1321. PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
  1322. PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
  1323. PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
  1324. PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
  1325. PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
  1326. PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
  1327. PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
  1328. PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
  1329. PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
  1330. PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
  1331. PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
  1332. PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
  1333. PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
  1334. PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
  1335. PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
  1336. PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
  1337. PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
  1338. PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
  1339. PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
  1340. PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
  1341. PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
  1342. PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
  1343. PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
  1344. PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
  1345. PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
  1346. PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
  1347. PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
  1348. PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
  1349. PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
  1350. PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
  1351. PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
  1352. PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
  1353. PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
  1354. PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
  1355. PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
  1356. PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
  1357. PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
  1358. PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
  1359. PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
  1360. PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
  1361. PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
  1362. PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
  1363. PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
  1364. PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
  1365. PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
  1366. PFNGLCOLORP3UIPROC __glewColorP3ui = NULL;
  1367. PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL;
  1368. PFNGLCOLORP4UIPROC __glewColorP4ui = NULL;
  1369. PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL;
  1370. PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL;
  1371. PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL;
  1372. PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL;
  1373. PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL;
  1374. PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL;
  1375. PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL;
  1376. PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL;
  1377. PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL;
  1378. PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL;
  1379. PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL;
  1380. PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL;
  1381. PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL;
  1382. PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL;
  1383. PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL;
  1384. PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL;
  1385. PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL;
  1386. PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL;
  1387. PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL;
  1388. PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL;
  1389. PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL;
  1390. PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL;
  1391. PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL;
  1392. PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL;
  1393. PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL;
  1394. PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL;
  1395. PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL;
  1396. PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL;
  1397. PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL;
  1398. PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL;
  1399. PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL;
  1400. PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL;
  1401. PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL;
  1402. PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL;
  1403. PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL;
  1404. PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv = NULL;
  1405. PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed = NULL;
  1406. PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v = NULL;
  1407. PFNGLGETFLOATI_VPROC __glewGetFloati_v = NULL;
  1408. PFNGLSCISSORARRAYVPROC __glewScissorArrayv = NULL;
  1409. PFNGLSCISSORINDEXEDPROC __glewScissorIndexed = NULL;
  1410. PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv = NULL;
  1411. PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv = NULL;
  1412. PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf = NULL;
  1413. PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv = NULL;
  1414. PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
  1415. PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
  1416. PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
  1417. PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
  1418. PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
  1419. PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
  1420. PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
  1421. PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
  1422. PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
  1423. PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
  1424. PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
  1425. PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
  1426. PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
  1427. PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
  1428. PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
  1429. PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
  1430. PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
  1431. PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
  1432. PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
  1433. PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
  1434. PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
  1435. PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
  1436. PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
  1437. PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
  1438. PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
  1439. PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
  1440. PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
  1441. PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
  1442. PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
  1443. PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
  1444. PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
  1445. PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
  1446. PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
  1447. PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
  1448. PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
  1449. PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
  1450. PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
  1451. PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
  1452. PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
  1453. PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
  1454. PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI = NULL;
  1455. PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI = NULL;
  1456. PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
  1457. PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
  1458. PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
  1459. PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
  1460. PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
  1461. PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
  1462. PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
  1463. PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
  1464. PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
  1465. PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
  1466. PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
  1467. PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
  1468. PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
  1469. PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
  1470. PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
  1471. PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
  1472. PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
  1473. PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
  1474. PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
  1475. PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
  1476. PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
  1477. PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
  1478. PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
  1479. PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
  1480. PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
  1481. PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
  1482. PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
  1483. PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
  1484. PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
  1485. PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
  1486. PFNGLVERTEXSTREAM1DATIPROC __glewVertexStream1dATI = NULL;
  1487. PFNGLVERTEXSTREAM1DVATIPROC __glewVertexStream1dvATI = NULL;
  1488. PFNGLVERTEXSTREAM1FATIPROC __glewVertexStream1fATI = NULL;
  1489. PFNGLVERTEXSTREAM1FVATIPROC __glewVertexStream1fvATI = NULL;
  1490. PFNGLVERTEXSTREAM1IATIPROC __glewVertexStream1iATI = NULL;
  1491. PFNGLVERTEXSTREAM1IVATIPROC __glewVertexStream1ivATI = NULL;
  1492. PFNGLVERTEXSTREAM1SATIPROC __glewVertexStream1sATI = NULL;
  1493. PFNGLVERTEXSTREAM1SVATIPROC __glewVertexStream1svATI = NULL;
  1494. PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
  1495. PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
  1496. PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
  1497. PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
  1498. PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
  1499. PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
  1500. PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
  1501. PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
  1502. PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
  1503. PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
  1504. PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
  1505. PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
  1506. PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
  1507. PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
  1508. PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
  1509. PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
  1510. PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
  1511. PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
  1512. PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
  1513. PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
  1514. PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
  1515. PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
  1516. PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
  1517. PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
  1518. PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC __glewDrawArraysInstancedBaseInstanceEXT = NULL;
  1519. PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC __glewDrawElementsInstancedBaseInstanceEXT = NULL;
  1520. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC __glewDrawElementsInstancedBaseVertexBaseInstanceEXT = NULL;
  1521. PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT = NULL;
  1522. PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT = NULL;
  1523. PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT = NULL;
  1524. PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
  1525. PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
  1526. PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC __glewBindFragDataLocationIndexedEXT = NULL;
  1527. PFNGLGETFRAGDATAINDEXEXTPROC __glewGetFragDataIndexEXT = NULL;
  1528. PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC __glewGetProgramResourceLocationIndexEXT = NULL;
  1529. PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
  1530. PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
  1531. PFNGLBUFFERSTORAGEEXTPROC __glewBufferStorageEXT = NULL;
  1532. PFNGLNAMEDBUFFERSTORAGEEXTPROC __glewNamedBufferStorageEXT = NULL;
  1533. PFNGLCLEARTEXIMAGEEXTPROC __glewClearTexImageEXT = NULL;
  1534. PFNGLCLEARTEXSUBIMAGEEXTPROC __glewClearTexSubImageEXT = NULL;
  1535. PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
  1536. PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
  1537. PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
  1538. PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
  1539. PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
  1540. PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
  1541. PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
  1542. PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
  1543. PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
  1544. PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
  1545. PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
  1546. PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
  1547. PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
  1548. PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
  1549. PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
  1550. PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
  1551. PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
  1552. PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
  1553. PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
  1554. PFNGLCOPYIMAGESUBDATAEXTPROC __glewCopyImageSubDataEXT = NULL;
  1555. PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
  1556. PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
  1557. PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
  1558. PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
  1559. PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
  1560. PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
  1561. PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
  1562. PFNGLGETOBJECTLABELEXTPROC __glewGetObjectLabelEXT = NULL;
  1563. PFNGLLABELOBJECTEXTPROC __glewLabelObjectEXT = NULL;
  1564. PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT = NULL;
  1565. PFNGLPOPGROUPMARKEREXTPROC __glewPopGroupMarkerEXT = NULL;
  1566. PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT = NULL;
  1567. PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
  1568. PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT = NULL;
  1569. PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT = NULL;
  1570. PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT = NULL;
  1571. PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT = NULL;
  1572. PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT = NULL;
  1573. PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT = NULL;
  1574. PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT = NULL;
  1575. PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT = NULL;
  1576. PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT = NULL;
  1577. PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT = NULL;
  1578. PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT = NULL;
  1579. PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT = NULL;
  1580. PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT = NULL;
  1581. PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT = NULL;
  1582. PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT = NULL;
  1583. PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT = NULL;
  1584. PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT = NULL;
  1585. PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT = NULL;
  1586. PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT = NULL;
  1587. PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT = NULL;
  1588. PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT = NULL;
  1589. PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT = NULL;
  1590. PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT = NULL;
  1591. PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;
  1592. PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;
  1593. PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;
  1594. PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL;
  1595. PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL;
  1596. PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL;
  1597. PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;
  1598. PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL;
  1599. PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL;
  1600. PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL;
  1601. PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL;
  1602. PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;
  1603. PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;
  1604. PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;
  1605. PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT = NULL;
  1606. PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT = NULL;
  1607. PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;
  1608. PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;
  1609. PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;
  1610. PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL;
  1611. PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;
  1612. PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL;
  1613. PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;
  1614. PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;
  1615. PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;
  1616. PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT = NULL;
  1617. PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT = NULL;
  1618. PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT = NULL;
  1619. PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT = NULL;
  1620. PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT = NULL;
  1621. PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT = NULL;
  1622. PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT = NULL;
  1623. PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT = NULL;
  1624. PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT = NULL;
  1625. PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT = NULL;
  1626. PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT = NULL;
  1627. PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT = NULL;
  1628. PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT = NULL;
  1629. PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT = NULL;
  1630. PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT = NULL;
  1631. PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT = NULL;
  1632. PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT = NULL;
  1633. PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT = NULL;
  1634. PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT = NULL;
  1635. PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;
  1636. PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;
  1637. PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;
  1638. PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL;
  1639. PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;
  1640. PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;
  1641. PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;
  1642. PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT = NULL;
  1643. PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;
  1644. PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;
  1645. PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;
  1646. PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL;
  1647. PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL;
  1648. PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL;
  1649. PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL;
  1650. PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;
  1651. PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL;
  1652. PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;
  1653. PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;
  1654. PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;
  1655. PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT = NULL;
  1656. PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT = NULL;
  1657. PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT = NULL;
  1658. PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT = NULL;
  1659. PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT = NULL;
  1660. PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT = NULL;
  1661. PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT = NULL;
  1662. PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT = NULL;
  1663. PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT = NULL;
  1664. PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT = NULL;
  1665. PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT = NULL;
  1666. PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT = NULL;
  1667. PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT = NULL;
  1668. PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT = NULL;
  1669. PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT = NULL;
  1670. PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT = NULL;
  1671. PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT = NULL;
  1672. PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT = NULL;
  1673. PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT = NULL;
  1674. PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT = NULL;
  1675. PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT = NULL;
  1676. PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT = NULL;
  1677. PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT = NULL;
  1678. PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT = NULL;
  1679. PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT = NULL;
  1680. PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT = NULL;
  1681. PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT = NULL;
  1682. PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT = NULL;
  1683. PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT = NULL;
  1684. PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT = NULL;
  1685. PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT = NULL;
  1686. PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT = NULL;
  1687. PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT = NULL;
  1688. PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT = NULL;
  1689. PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT = NULL;
  1690. PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT = NULL;
  1691. PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT = NULL;
  1692. PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT = NULL;
  1693. PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT = NULL;
  1694. PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT = NULL;
  1695. PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;
  1696. PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;
  1697. PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;
  1698. PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL;
  1699. PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;
  1700. PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;
  1701. PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;
  1702. PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT = NULL;
  1703. PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT = NULL;
  1704. PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT = NULL;
  1705. PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT = NULL;
  1706. PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT = NULL;
  1707. PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT = NULL;
  1708. PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT = NULL;
  1709. PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT = NULL;
  1710. PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT = NULL;
  1711. PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT = NULL;
  1712. PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT = NULL;
  1713. PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT = NULL;
  1714. PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT = NULL;
  1715. PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT = NULL;
  1716. PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT = NULL;
  1717. PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT = NULL;
  1718. PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT = NULL;
  1719. PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT = NULL;
  1720. PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT = NULL;
  1721. PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT = NULL;
  1722. PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT = NULL;
  1723. PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT = NULL;
  1724. PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT = NULL;
  1725. PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT = NULL;
  1726. PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT = NULL;
  1727. PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT = NULL;
  1728. PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT = NULL;
  1729. PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT = NULL;
  1730. PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT = NULL;
  1731. PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT = NULL;
  1732. PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT = NULL;
  1733. PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT = NULL;
  1734. PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT = NULL;
  1735. PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT = NULL;
  1736. PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT = NULL;
  1737. PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT = NULL;
  1738. PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT = NULL;
  1739. PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT = NULL;
  1740. PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT = NULL;
  1741. PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT = NULL;
  1742. PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT = NULL;
  1743. PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT = NULL;
  1744. PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT = NULL;
  1745. PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT = NULL;
  1746. PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT = NULL;
  1747. PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT = NULL;
  1748. PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT = NULL;
  1749. PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT = NULL;
  1750. PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT = NULL;
  1751. PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT = NULL;
  1752. PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT = NULL;
  1753. PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT = NULL;
  1754. PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT = NULL;
  1755. PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT = NULL;
  1756. PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT = NULL;
  1757. PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT = NULL;
  1758. PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT = NULL;
  1759. PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT = NULL;
  1760. PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT = NULL;
  1761. PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT = NULL;
  1762. PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT = NULL;
  1763. PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT = NULL;
  1764. PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT = NULL;
  1765. PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT = NULL;
  1766. PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT = NULL;
  1767. PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;
  1768. PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;
  1769. PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;
  1770. PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL;
  1771. PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL;
  1772. PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL;
  1773. PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL;
  1774. PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL;
  1775. PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL;
  1776. PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL;
  1777. PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL;
  1778. PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC __glewVertexArrayVertexAttribDivisorEXT = NULL;
  1779. PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL;
  1780. PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL;
  1781. PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL;
  1782. PFNGLDISCARDFRAMEBUFFEREXTPROC __glewDiscardFramebufferEXT = NULL;
  1783. PFNGLDRAWBUFFERSEXTPROC __glewDrawBuffersEXT = NULL;
  1784. PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;
  1785. PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;
  1786. PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT = NULL;
  1787. PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT = NULL;
  1788. PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT = NULL;
  1789. PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT = NULL;
  1790. PFNGLBLENDEQUATIONSEPARATEIEXTPROC __glewBlendEquationSeparateiEXT = NULL;
  1791. PFNGLBLENDEQUATIONIEXTPROC __glewBlendEquationiEXT = NULL;
  1792. PFNGLBLENDFUNCSEPARATEIEXTPROC __glewBlendFuncSeparateiEXT = NULL;
  1793. PFNGLBLENDFUNCIEXTPROC __glewBlendFunciEXT = NULL;
  1794. PFNGLCOLORMASKIEXTPROC __glewColorMaskiEXT = NULL;
  1795. PFNGLDISABLEIEXTPROC __glewDisableiEXT = NULL;
  1796. PFNGLENABLEIEXTPROC __glewEnableiEXT = NULL;
  1797. PFNGLISENABLEDIEXTPROC __glewIsEnablediEXT = NULL;
  1798. PFNGLDRAWELEMENTSBASEVERTEXEXTPROC __glewDrawElementsBaseVertexEXT = NULL;
  1799. PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC __glewDrawElementsInstancedBaseVertexEXT = NULL;
  1800. PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC __glewDrawRangeElementsBaseVertexEXT = NULL;
  1801. PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC __glewMultiDrawElementsBaseVertexEXT = NULL;
  1802. PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT = NULL;
  1803. PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT = NULL;
  1804. PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
  1805. PFNGLBUFFERSTORAGEEXTERNALEXTPROC __glewBufferStorageExternalEXT = NULL;
  1806. PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC __glewNamedBufferStorageExternalEXT = NULL;
  1807. PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
  1808. PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
  1809. PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
  1810. PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
  1811. PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
  1812. PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
  1813. PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
  1814. PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
  1815. PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
  1816. PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
  1817. PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
  1818. PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
  1819. PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
  1820. PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
  1821. PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
  1822. PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
  1823. PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
  1824. PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
  1825. PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
  1826. PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
  1827. PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
  1828. PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
  1829. PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
  1830. PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
  1831. PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
  1832. PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
  1833. PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
  1834. PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
  1835. PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
  1836. PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
  1837. PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
  1838. PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
  1839. PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
  1840. PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
  1841. PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
  1842. PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
  1843. PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
  1844. PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
  1845. PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
  1846. PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
  1847. PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
  1848. PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
  1849. PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT = NULL;
  1850. PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT = NULL;
  1851. PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT = NULL;
  1852. PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT = NULL;
  1853. PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT = NULL;
  1854. PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT = NULL;
  1855. PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT = NULL;
  1856. PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT = NULL;
  1857. PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT = NULL;
  1858. PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT = NULL;
  1859. PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT = NULL;
  1860. PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT = NULL;
  1861. PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT = NULL;
  1862. PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT = NULL;
  1863. PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT = NULL;
  1864. PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT = NULL;
  1865. PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT = NULL;
  1866. PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT = NULL;
  1867. PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT = NULL;
  1868. PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT = NULL;
  1869. PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT = NULL;
  1870. PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT = NULL;
  1871. PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT = NULL;
  1872. PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT = NULL;
  1873. PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT = NULL;
  1874. PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT = NULL;
  1875. PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT = NULL;
  1876. PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT = NULL;
  1877. PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT = NULL;
  1878. PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT = NULL;
  1879. PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT = NULL;
  1880. PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT = NULL;
  1881. PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT = NULL;
  1882. PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT = NULL;
  1883. PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT = NULL;
  1884. PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT = NULL;
  1885. PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT = NULL;
  1886. PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT = NULL;
  1887. PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT = NULL;
  1888. PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
  1889. PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
  1890. PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
  1891. PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
  1892. PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
  1893. PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
  1894. PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
  1895. PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
  1896. PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
  1897. PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
  1898. PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
  1899. PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
  1900. PFNGLVERTEXATTRIBDIVISOREXTPROC __glewVertexAttribDivisorEXT = NULL;
  1901. PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
  1902. PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
  1903. PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
  1904. PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC __glewFlushMappedBufferRangeEXT = NULL;
  1905. PFNGLMAPBUFFERRANGEEXTPROC __glewMapBufferRangeEXT = NULL;
  1906. PFNGLBUFFERSTORAGEMEMEXTPROC __glewBufferStorageMemEXT = NULL;
  1907. PFNGLCREATEMEMORYOBJECTSEXTPROC __glewCreateMemoryObjectsEXT = NULL;
  1908. PFNGLDELETEMEMORYOBJECTSEXTPROC __glewDeleteMemoryObjectsEXT = NULL;
  1909. PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC __glewGetMemoryObjectParameterivEXT = NULL;
  1910. PFNGLGETUNSIGNEDBYTEI_VEXTPROC __glewGetUnsignedBytei_vEXT = NULL;
  1911. PFNGLGETUNSIGNEDBYTEVEXTPROC __glewGetUnsignedBytevEXT = NULL;
  1912. PFNGLISMEMORYOBJECTEXTPROC __glewIsMemoryObjectEXT = NULL;
  1913. PFNGLMEMORYOBJECTPARAMETERIVEXTPROC __glewMemoryObjectParameterivEXT = NULL;
  1914. PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC __glewNamedBufferStorageMemEXT = NULL;
  1915. PFNGLTEXSTORAGEMEM1DEXTPROC __glewTexStorageMem1DEXT = NULL;
  1916. PFNGLTEXSTORAGEMEM2DEXTPROC __glewTexStorageMem2DEXT = NULL;
  1917. PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC __glewTexStorageMem2DMultisampleEXT = NULL;
  1918. PFNGLTEXSTORAGEMEM3DEXTPROC __glewTexStorageMem3DEXT = NULL;
  1919. PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC __glewTexStorageMem3DMultisampleEXT = NULL;
  1920. PFNGLTEXTURESTORAGEMEM1DEXTPROC __glewTextureStorageMem1DEXT = NULL;
  1921. PFNGLTEXTURESTORAGEMEM2DEXTPROC __glewTextureStorageMem2DEXT = NULL;
  1922. PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC __glewTextureStorageMem2DMultisampleEXT = NULL;
  1923. PFNGLTEXTURESTORAGEMEM3DEXTPROC __glewTextureStorageMem3DEXT = NULL;
  1924. PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC __glewTextureStorageMem3DMultisampleEXT = NULL;
  1925. PFNGLIMPORTMEMORYFDEXTPROC __glewImportMemoryFdEXT = NULL;
  1926. PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC __glewImportMemoryWin32HandleEXT = NULL;
  1927. PFNGLIMPORTMEMORYWIN32NAMEEXTPROC __glewImportMemoryWin32NameEXT = NULL;
  1928. PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
  1929. PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
  1930. PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC __glewMultiDrawArraysIndirectEXT = NULL;
  1931. PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC __glewMultiDrawElementsIndirectEXT = NULL;
  1932. PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
  1933. PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
  1934. PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC __glewFramebufferTexture2DMultisampleEXT = NULL;
  1935. PFNGLDRAWBUFFERSINDEXEDEXTPROC __glewDrawBuffersIndexedEXT = NULL;
  1936. PFNGLGETINTEGERI_VEXTPROC __glewGetIntegeri_vEXT = NULL;
  1937. PFNGLREADBUFFERINDEXEDEXTPROC __glewReadBufferIndexedEXT = NULL;
  1938. PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
  1939. PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
  1940. PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
  1941. PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
  1942. PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
  1943. PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
  1944. PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
  1945. PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
  1946. PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
  1947. PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
  1948. PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
  1949. PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
  1950. PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
  1951. PFNGLPOLYGONOFFSETCLAMPEXTPROC __glewPolygonOffsetClampEXT = NULL;
  1952. PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
  1953. PFNGLCOVERAGEMODULATIONNVPROC __glewCoverageModulationNV = NULL;
  1954. PFNGLCOVERAGEMODULATIONTABLENVPROC __glewCoverageModulationTableNV = NULL;
  1955. PFNGLGETCOVERAGEMODULATIONTABLENVPROC __glewGetCoverageModulationTableNV = NULL;
  1956. PFNGLRASTERSAMPLESEXTPROC __glewRasterSamplesEXT = NULL;
  1957. PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
  1958. PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
  1959. PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
  1960. PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
  1961. PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
  1962. PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
  1963. PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
  1964. PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
  1965. PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
  1966. PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
  1967. PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
  1968. PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
  1969. PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
  1970. PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
  1971. PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
  1972. PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
  1973. PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
  1974. PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
  1975. PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
  1976. PFNGLDELETESEMAPHORESEXTPROC __glewDeleteSemaphoresEXT = NULL;
  1977. PFNGLGENSEMAPHORESEXTPROC __glewGenSemaphoresEXT = NULL;
  1978. PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC __glewGetSemaphoreParameterui64vEXT = NULL;
  1979. PFNGLISSEMAPHOREEXTPROC __glewIsSemaphoreEXT = NULL;
  1980. PFNGLSEMAPHOREPARAMETERUI64VEXTPROC __glewSemaphoreParameterui64vEXT = NULL;
  1981. PFNGLSIGNALSEMAPHOREEXTPROC __glewSignalSemaphoreEXT = NULL;
  1982. PFNGLWAITSEMAPHOREEXTPROC __glewWaitSemaphoreEXT = NULL;
  1983. PFNGLIMPORTSEMAPHOREFDEXTPROC __glewImportSemaphoreFdEXT = NULL;
  1984. PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC __glewImportSemaphoreWin32HandleEXT = NULL;
  1985. PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC __glewImportSemaphoreWin32NameEXT = NULL;
  1986. PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL;
  1987. PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL;
  1988. PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL;
  1989. PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL;
  1990. PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL;
  1991. PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC __glewClearPixelLocalStorageuiEXT = NULL;
  1992. PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC __glewFramebufferPixelLocalStorageSizeEXT = NULL;
  1993. PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC __glewGetFramebufferPixelLocalStorageSizeEXT = NULL;
  1994. PFNGLTEXPAGECOMMITMENTEXTPROC __glewTexPageCommitmentEXT = NULL;
  1995. PFNGLTEXTUREPAGECOMMITMENTEXTPROC __glewTexturePageCommitmentEXT = NULL;
  1996. PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
  1997. PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
  1998. PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
  1999. PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
  2000. PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
  2001. PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT = NULL;
  2002. PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT = NULL;
  2003. PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT = NULL;
  2004. PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT = NULL;
  2005. PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT = NULL;
  2006. PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT = NULL;
  2007. PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT = NULL;
  2008. PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT = NULL;
  2009. PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
  2010. PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
  2011. PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
  2012. PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
  2013. PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
  2014. PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
  2015. PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
  2016. PFNGLTEXSTORAGE1DEXTPROC __glewTexStorage1DEXT = NULL;
  2017. PFNGLTEXSTORAGE2DEXTPROC __glewTexStorage2DEXT = NULL;
  2018. PFNGLTEXSTORAGE3DEXTPROC __glewTexStorage3DEXT = NULL;
  2019. PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT = NULL;
  2020. PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT = NULL;
  2021. PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT = NULL;
  2022. PFNGLTEXTUREVIEWEXTPROC __glewTextureViewEXT = NULL;
  2023. PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT = NULL;
  2024. PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT = NULL;
  2025. PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT = NULL;
  2026. PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT = NULL;
  2027. PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT = NULL;
  2028. PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT = NULL;
  2029. PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT = NULL;
  2030. PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT = NULL;
  2031. PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT = NULL;
  2032. PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
  2033. PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
  2034. PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
  2035. PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
  2036. PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
  2037. PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
  2038. PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
  2039. PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
  2040. PFNGLBINDARRAYSETEXTPROC __glewBindArraySetEXT = NULL;
  2041. PFNGLCREATEARRAYSETEXTPROC __glewCreateArraySetExt = NULL;
  2042. PFNGLDELETEARRAYSETSEXTPROC __glewDeleteArraySetsEXT = NULL;
  2043. PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL;
  2044. PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL;
  2045. PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL;
  2046. PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL;
  2047. PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL;
  2048. PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL;
  2049. PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL;
  2050. PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL;
  2051. PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL;
  2052. PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL;
  2053. PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL;
  2054. PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
  2055. PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
  2056. PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
  2057. PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
  2058. PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
  2059. PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
  2060. PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
  2061. PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
  2062. PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
  2063. PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
  2064. PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
  2065. PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
  2066. PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
  2067. PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
  2068. PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
  2069. PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
  2070. PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
  2071. PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
  2072. PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
  2073. PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
  2074. PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
  2075. PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
  2076. PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
  2077. PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
  2078. PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
  2079. PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
  2080. PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
  2081. PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
  2082. PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
  2083. PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
  2084. PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
  2085. PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
  2086. PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
  2087. PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
  2088. PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
  2089. PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
  2090. PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
  2091. PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
  2092. PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
  2093. PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
  2094. PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
  2095. PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
  2096. PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
  2097. PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
  2098. PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
  2099. PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC __glewAcquireKeyedMutexWin32EXT = NULL;
  2100. PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC __glewReleaseKeyedMutexWin32EXT = NULL;
  2101. PFNGLWINDOWRECTANGLESEXTPROC __glewWindowRectanglesEXT = NULL;
  2102. PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT = NULL;
  2103. PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY = NULL;
  2104. PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
  2105. PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
  2106. PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
  2107. PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
  2108. PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
  2109. PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
  2110. PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
  2111. PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
  2112. PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
  2113. PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
  2114. PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
  2115. PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
  2116. PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
  2117. PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
  2118. PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
  2119. PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
  2120. PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
  2121. PFNGLMAPTEXTURE2DINTELPROC __glewMapTexture2DINTEL = NULL;
  2122. PFNGLSYNCTEXTUREINTELPROC __glewSyncTextureINTEL = NULL;
  2123. PFNGLUNMAPTEXTURE2DINTELPROC __glewUnmapTexture2DINTEL = NULL;
  2124. PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
  2125. PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
  2126. PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
  2127. PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
  2128. PFNGLBEGINPERFQUERYINTELPROC __glewBeginPerfQueryINTEL = NULL;
  2129. PFNGLCREATEPERFQUERYINTELPROC __glewCreatePerfQueryINTEL = NULL;
  2130. PFNGLDELETEPERFQUERYINTELPROC __glewDeletePerfQueryINTEL = NULL;
  2131. PFNGLENDPERFQUERYINTELPROC __glewEndPerfQueryINTEL = NULL;
  2132. PFNGLGETFIRSTPERFQUERYIDINTELPROC __glewGetFirstPerfQueryIdINTEL = NULL;
  2133. PFNGLGETNEXTPERFQUERYIDINTELPROC __glewGetNextPerfQueryIdINTEL = NULL;
  2134. PFNGLGETPERFCOUNTERINFOINTELPROC __glewGetPerfCounterInfoINTEL = NULL;
  2135. PFNGLGETPERFQUERYDATAINTELPROC __glewGetPerfQueryDataINTEL = NULL;
  2136. PFNGLGETPERFQUERYIDBYNAMEINTELPROC __glewGetPerfQueryIdByNameINTEL = NULL;
  2137. PFNGLGETPERFQUERYINFOINTELPROC __glewGetPerfQueryInfoINTEL = NULL;
  2138. PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
  2139. PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
  2140. PFNGLBLENDBARRIERKHRPROC __glewBlendBarrierKHR = NULL;
  2141. PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback = NULL;
  2142. PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl = NULL;
  2143. PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert = NULL;
  2144. PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog = NULL;
  2145. PFNGLGETOBJECTLABELPROC __glewGetObjectLabel = NULL;
  2146. PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel = NULL;
  2147. PFNGLOBJECTLABELPROC __glewObjectLabel = NULL;
  2148. PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel = NULL;
  2149. PFNGLPOPDEBUGGROUPPROC __glewPopDebugGroup = NULL;
  2150. PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup = NULL;
  2151. PFNGLMAXSHADERCOMPILERTHREADSKHRPROC __glewMaxShaderCompilerThreadsKHR = NULL;
  2152. PFNGLGETNUNIFORMFVPROC __glewGetnUniformfv = NULL;
  2153. PFNGLGETNUNIFORMIVPROC __glewGetnUniformiv = NULL;
  2154. PFNGLGETNUNIFORMUIVPROC __glewGetnUniformuiv = NULL;
  2155. PFNGLREADNPIXELSPROC __glewReadnPixels = NULL;
  2156. PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled = NULL;
  2157. PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion = NULL;
  2158. PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion = NULL;
  2159. PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion = NULL;
  2160. PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion = NULL;
  2161. PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
  2162. PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
  2163. PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
  2164. PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
  2165. PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
  2166. PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
  2167. PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
  2168. PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
  2169. PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
  2170. PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
  2171. PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
  2172. PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
  2173. PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
  2174. PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
  2175. PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
  2176. PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
  2177. PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
  2178. PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
  2179. PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
  2180. PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
  2181. PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
  2182. PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
  2183. PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
  2184. PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
  2185. PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
  2186. PFNGLBEGINCONDITIONALRENDERNVXPROC __glewBeginConditionalRenderNVX = NULL;
  2187. PFNGLENDCONDITIONALRENDERNVXPROC __glewEndConditionalRenderNVX = NULL;
  2188. PFNGLLGPUCOPYIMAGESUBDATANVXPROC __glewLGPUCopyImageSubDataNVX = NULL;
  2189. PFNGLLGPUINTERLOCKNVXPROC __glewLGPUInterlockNVX = NULL;
  2190. PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC __glewLGPUNamedBufferSubDataNVX = NULL;
  2191. PFNGLSTEREOPARAMETERFNVPROC __glewStereoParameterfNV = NULL;
  2192. PFNGLSTEREOPARAMETERINVPROC __glewStereoParameteriNV = NULL;
  2193. PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC __glewMultiDrawArraysIndirectBindlessNV = NULL;
  2194. PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC __glewMultiDrawElementsIndirectBindlessNV = NULL;
  2195. PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC __glewMultiDrawArraysIndirectBindlessCountNV = NULL;
  2196. PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC __glewMultiDrawElementsIndirectBindlessCountNV = NULL;
  2197. PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV = NULL;
  2198. PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV = NULL;
  2199. PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV = NULL;
  2200. PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV = NULL;
  2201. PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV = NULL;
  2202. PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV = NULL;
  2203. PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV = NULL;
  2204. PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV = NULL;
  2205. PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV = NULL;
  2206. PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV = NULL;
  2207. PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV = NULL;
  2208. PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV = NULL;
  2209. PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV = NULL;
  2210. PFNGLBLENDBARRIERNVPROC __glewBlendBarrierNV = NULL;
  2211. PFNGLBLENDPARAMETERINVPROC __glewBlendParameteriNV = NULL;
  2212. PFNGLVIEWPORTPOSITIONWSCALENVPROC __glewViewportPositionWScaleNV = NULL;
  2213. PFNGLCALLCOMMANDLISTNVPROC __glewCallCommandListNV = NULL;
  2214. PFNGLCOMMANDLISTSEGMENTSNVPROC __glewCommandListSegmentsNV = NULL;
  2215. PFNGLCOMPILECOMMANDLISTNVPROC __glewCompileCommandListNV = NULL;
  2216. PFNGLCREATECOMMANDLISTSNVPROC __glewCreateCommandListsNV = NULL;
  2217. PFNGLCREATESTATESNVPROC __glewCreateStatesNV = NULL;
  2218. PFNGLDELETECOMMANDLISTSNVPROC __glewDeleteCommandListsNV = NULL;
  2219. PFNGLDELETESTATESNVPROC __glewDeleteStatesNV = NULL;
  2220. PFNGLDRAWCOMMANDSADDRESSNVPROC __glewDrawCommandsAddressNV = NULL;
  2221. PFNGLDRAWCOMMANDSNVPROC __glewDrawCommandsNV = NULL;
  2222. PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC __glewDrawCommandsStatesAddressNV = NULL;
  2223. PFNGLDRAWCOMMANDSSTATESNVPROC __glewDrawCommandsStatesNV = NULL;
  2224. PFNGLGETCOMMANDHEADERNVPROC __glewGetCommandHeaderNV = NULL;
  2225. PFNGLGETSTAGEINDEXNVPROC __glewGetStageIndexNV = NULL;
  2226. PFNGLISCOMMANDLISTNVPROC __glewIsCommandListNV = NULL;
  2227. PFNGLISSTATENVPROC __glewIsStateNV = NULL;
  2228. PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC __glewListDrawCommandsStatesClientNV = NULL;
  2229. PFNGLSTATECAPTURENVPROC __glewStateCaptureNV = NULL;
  2230. PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;
  2231. PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;
  2232. PFNGLSUBPIXELPRECISIONBIASNVPROC __glewSubpixelPrecisionBiasNV = NULL;
  2233. PFNGLCONSERVATIVERASTERPARAMETERFNVPROC __glewConservativeRasterParameterfNV = NULL;
  2234. PFNGLCONSERVATIVERASTERPARAMETERINVPROC __glewConservativeRasterParameteriNV = NULL;
  2235. PFNGLCOPYBUFFERSUBDATANVPROC __glewCopyBufferSubDataNV = NULL;
  2236. PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL;
  2237. PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;
  2238. PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;
  2239. PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;
  2240. PFNGLDRAWBUFFERSNVPROC __glewDrawBuffersNV = NULL;
  2241. PFNGLDRAWARRAYSINSTANCEDNVPROC __glewDrawArraysInstancedNV = NULL;
  2242. PFNGLDRAWELEMENTSINSTANCEDNVPROC __glewDrawElementsInstancedNV = NULL;
  2243. PFNGLDRAWTEXTURENVPROC __glewDrawTextureNV = NULL;
  2244. PFNGLDRAWVKIMAGENVPROC __glewDrawVkImageNV = NULL;
  2245. PFNGLGETVKPROCADDRNVPROC __glewGetVkProcAddrNV = NULL;
  2246. PFNGLSIGNALVKFENCENVPROC __glewSignalVkFenceNV = NULL;
  2247. PFNGLSIGNALVKSEMAPHORENVPROC __glewSignalVkSemaphoreNV = NULL;
  2248. PFNGLWAITVKSEMAPHORENVPROC __glewWaitVkSemaphoreNV = NULL;
  2249. PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
  2250. PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
  2251. PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
  2252. PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
  2253. PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
  2254. PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
  2255. PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
  2256. PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
  2257. PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
  2258. PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV = NULL;
  2259. PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV = NULL;
  2260. PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV = NULL;
  2261. PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
  2262. PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
  2263. PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
  2264. PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
  2265. PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
  2266. PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
  2267. PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
  2268. PFNGLFRAGMENTCOVERAGECOLORNVPROC __glewFragmentCoverageColorNV = NULL;
  2269. PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
  2270. PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
  2271. PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
  2272. PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
  2273. PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
  2274. PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
  2275. PFNGLBLITFRAMEBUFFERNVPROC __glewBlitFramebufferNV = NULL;
  2276. PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC __glewRenderbufferStorageMultisampleNV = NULL;
  2277. PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV = NULL;
  2278. PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL;
  2279. PFNGLMULTICASTBARRIERNVPROC __glewMulticastBarrierNV = NULL;
  2280. PFNGLMULTICASTBLITFRAMEBUFFERNVPROC __glewMulticastBlitFramebufferNV = NULL;
  2281. PFNGLMULTICASTBUFFERSUBDATANVPROC __glewMulticastBufferSubDataNV = NULL;
  2282. PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC __glewMulticastCopyBufferSubDataNV = NULL;
  2283. PFNGLMULTICASTCOPYIMAGESUBDATANVPROC __glewMulticastCopyImageSubDataNV = NULL;
  2284. PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewMulticastFramebufferSampleLocationsfvNV = NULL;
  2285. PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC __glewMulticastGetQueryObjecti64vNV = NULL;
  2286. PFNGLMULTICASTGETQUERYOBJECTIVNVPROC __glewMulticastGetQueryObjectivNV = NULL;
  2287. PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC __glewMulticastGetQueryObjectui64vNV = NULL;
  2288. PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC __glewMulticastGetQueryObjectuivNV = NULL;
  2289. PFNGLMULTICASTWAITSYNCNVPROC __glewMulticastWaitSyncNV = NULL;
  2290. PFNGLRENDERGPUMASKNVPROC __glewRenderGpuMaskNV = NULL;
  2291. PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL;
  2292. PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL;
  2293. PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL;
  2294. PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV = NULL;
  2295. PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV = NULL;
  2296. PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV = NULL;
  2297. PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV = NULL;
  2298. PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV = NULL;
  2299. PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV = NULL;
  2300. PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV = NULL;
  2301. PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;
  2302. PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;
  2303. PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL;
  2304. PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL;
  2305. PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL;
  2306. PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL;
  2307. PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL;
  2308. PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL;
  2309. PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL;
  2310. PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL;
  2311. PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL;
  2312. PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL;
  2313. PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL;
  2314. PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL;
  2315. PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL;
  2316. PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL;
  2317. PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL;
  2318. PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL;
  2319. PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL;
  2320. PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL;
  2321. PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL;
  2322. PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL;
  2323. PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL;
  2324. PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL;
  2325. PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL;
  2326. PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL;
  2327. PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL;
  2328. PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL;
  2329. PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL;
  2330. PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL;
  2331. PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL;
  2332. PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL;
  2333. PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL;
  2334. PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL;
  2335. PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL;
  2336. PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL;
  2337. PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
  2338. PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
  2339. PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
  2340. PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
  2341. PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
  2342. PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
  2343. PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
  2344. PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
  2345. PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
  2346. PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
  2347. PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
  2348. PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
  2349. PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
  2350. PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
  2351. PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
  2352. PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
  2353. PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
  2354. PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
  2355. PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
  2356. PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
  2357. PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
  2358. PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
  2359. PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
  2360. PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
  2361. PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
  2362. PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
  2363. PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
  2364. PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
  2365. PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
  2366. PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
  2367. PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
  2368. PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
  2369. PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
  2370. PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
  2371. PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
  2372. PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
  2373. PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
  2374. PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
  2375. PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
  2376. PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
  2377. PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
  2378. PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
  2379. PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
  2380. PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
  2381. PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
  2382. PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
  2383. PFNGLVERTEXATTRIBDIVISORNVPROC __glewVertexAttribDivisorNV = NULL;
  2384. PFNGLGETINTERNALFORMATSAMPLEIVNVPROC __glewGetInternalformatSampleivNV = NULL;
  2385. PFNGLUNIFORMMATRIX2X3FVNVPROC __glewUniformMatrix2x3fvNV = NULL;
  2386. PFNGLUNIFORMMATRIX2X4FVNVPROC __glewUniformMatrix2x4fvNV = NULL;
  2387. PFNGLUNIFORMMATRIX3X2FVNVPROC __glewUniformMatrix3x2fvNV = NULL;
  2388. PFNGLUNIFORMMATRIX3X4FVNVPROC __glewUniformMatrix3x4fvNV = NULL;
  2389. PFNGLUNIFORMMATRIX4X2FVNVPROC __glewUniformMatrix4x2fvNV = NULL;
  2390. PFNGLUNIFORMMATRIX4X3FVNVPROC __glewUniformMatrix4x3fvNV = NULL;
  2391. PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
  2392. PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
  2393. PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
  2394. PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
  2395. PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
  2396. PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
  2397. PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
  2398. PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV = NULL;
  2399. PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV = NULL;
  2400. PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV = NULL;
  2401. PFNGLCOPYPATHNVPROC __glewCopyPathNV = NULL;
  2402. PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV = NULL;
  2403. PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV = NULL;
  2404. PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV = NULL;
  2405. PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV = NULL;
  2406. PFNGLDELETEPATHSNVPROC __glewDeletePathsNV = NULL;
  2407. PFNGLGENPATHSNVPROC __glewGenPathsNV = NULL;
  2408. PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV = NULL;
  2409. PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV = NULL;
  2410. PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV = NULL;
  2411. PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV = NULL;
  2412. PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV = NULL;
  2413. PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV = NULL;
  2414. PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV = NULL;
  2415. PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV = NULL;
  2416. PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV = NULL;
  2417. PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV = NULL;
  2418. PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV = NULL;
  2419. PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV = NULL;
  2420. PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV = NULL;
  2421. PFNGLGETPROGRAMRESOURCEFVNVPROC __glewGetProgramResourcefvNV = NULL;
  2422. PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV = NULL;
  2423. PFNGLISPATHNVPROC __glewIsPathNV = NULL;
  2424. PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV = NULL;
  2425. PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV = NULL;
  2426. PFNGLMATRIXLOAD3X2FNVPROC __glewMatrixLoad3x2fNV = NULL;
  2427. PFNGLMATRIXLOAD3X3FNVPROC __glewMatrixLoad3x3fNV = NULL;
  2428. PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC __glewMatrixLoadTranspose3x3fNV = NULL;
  2429. PFNGLMATRIXMULT3X2FNVPROC __glewMatrixMult3x2fNV = NULL;
  2430. PFNGLMATRIXMULT3X3FNVPROC __glewMatrixMult3x3fNV = NULL;
  2431. PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC __glewMatrixMultTranspose3x3fNV = NULL;
  2432. PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV = NULL;
  2433. PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV = NULL;
  2434. PFNGLPATHCOORDSNVPROC __glewPathCoordsNV = NULL;
  2435. PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV = NULL;
  2436. PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV = NULL;
  2437. PFNGLPATHFOGGENNVPROC __glewPathFogGenNV = NULL;
  2438. PFNGLPATHGLYPHINDEXARRAYNVPROC __glewPathGlyphIndexArrayNV = NULL;
  2439. PFNGLPATHGLYPHINDEXRANGENVPROC __glewPathGlyphIndexRangeNV = NULL;
  2440. PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV = NULL;
  2441. PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV = NULL;
  2442. PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC __glewPathMemoryGlyphIndexArrayNV = NULL;
  2443. PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV = NULL;
  2444. PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV = NULL;
  2445. PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV = NULL;
  2446. PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV = NULL;
  2447. PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV = NULL;
  2448. PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV = NULL;
  2449. PFNGLPATHSTRINGNVPROC __glewPathStringNV = NULL;
  2450. PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV = NULL;
  2451. PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV = NULL;
  2452. PFNGLPATHTEXGENNVPROC __glewPathTexGenNV = NULL;
  2453. PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV = NULL;
  2454. PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC __glewProgramPathFragmentInputGenNV = NULL;
  2455. PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV = NULL;
  2456. PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV = NULL;
  2457. PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV = NULL;
  2458. PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV = NULL;
  2459. PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC __glewStencilThenCoverFillPathInstancedNV = NULL;
  2460. PFNGLSTENCILTHENCOVERFILLPATHNVPROC __glewStencilThenCoverFillPathNV = NULL;
  2461. PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC __glewStencilThenCoverStrokePathInstancedNV = NULL;
  2462. PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC __glewStencilThenCoverStrokePathNV = NULL;
  2463. PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV = NULL;
  2464. PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV = NULL;
  2465. PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
  2466. PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
  2467. PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
  2468. PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
  2469. PFNGLPOLYGONMODENVPROC __glewPolygonModeNV = NULL;
  2470. PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV = NULL;
  2471. PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV = NULL;
  2472. PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV = NULL;
  2473. PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;
  2474. PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;
  2475. PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;
  2476. PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
  2477. PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
  2478. PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
  2479. PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
  2480. PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
  2481. PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
  2482. PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
  2483. PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
  2484. PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
  2485. PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
  2486. PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
  2487. PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
  2488. PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
  2489. PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
  2490. PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
  2491. PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
  2492. PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
  2493. PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewFramebufferSampleLocationsfvNV = NULL;
  2494. PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewNamedFramebufferSampleLocationsfvNV = NULL;
  2495. PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL;
  2496. PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL;
  2497. PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL;
  2498. PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL;
  2499. PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL;
  2500. PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL;
  2501. PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL;
  2502. PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL;
  2503. PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL;
  2504. PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL;
  2505. PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL;
  2506. PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL;
  2507. PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL;
  2508. PFNGLCOMPRESSEDTEXIMAGE3DNVPROC __glewCompressedTexImage3DNV = NULL;
  2509. PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC __glewCompressedTexSubImage3DNV = NULL;
  2510. PFNGLCOPYTEXSUBIMAGE3DNVPROC __glewCopyTexSubImage3DNV = NULL;
  2511. PFNGLFRAMEBUFFERTEXTURELAYERNVPROC __glewFramebufferTextureLayerNV = NULL;
  2512. PFNGLTEXIMAGE3DNVPROC __glewTexImage3DNV = NULL;
  2513. PFNGLTEXSUBIMAGE3DNVPROC __glewTexSubImage3DNV = NULL;
  2514. PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL;
  2515. PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV = NULL;
  2516. PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV = NULL;
  2517. PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV = NULL;
  2518. PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV = NULL;
  2519. PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV = NULL;
  2520. PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV = NULL;
  2521. PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;
  2522. PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;
  2523. PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;
  2524. PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV = NULL;
  2525. PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV = NULL;
  2526. PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV = NULL;
  2527. PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV = NULL;
  2528. PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV = NULL;
  2529. PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV = NULL;
  2530. PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;
  2531. PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;
  2532. PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL;
  2533. PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL;
  2534. PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL;
  2535. PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL;
  2536. PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL;
  2537. PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL;
  2538. PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL;
  2539. PFNGLVDPAUFININVPROC __glewVDPAUFiniNV = NULL;
  2540. PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV = NULL;
  2541. PFNGLVDPAUINITNVPROC __glewVDPAUInitNV = NULL;
  2542. PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV = NULL;
  2543. PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV = NULL;
  2544. PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV = NULL;
  2545. PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV = NULL;
  2546. PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL;
  2547. PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL;
  2548. PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL;
  2549. PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
  2550. PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
  2551. PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL;
  2552. PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL;
  2553. PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL;
  2554. PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL;
  2555. PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL;
  2556. PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL;
  2557. PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL;
  2558. PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL;
  2559. PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL;
  2560. PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL;
  2561. PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL;
  2562. PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL;
  2563. PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL;
  2564. PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL;
  2565. PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL;
  2566. PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL;
  2567. PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL;
  2568. PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL;
  2569. PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL;
  2570. PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL;
  2571. PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL;
  2572. PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL;
  2573. PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL;
  2574. PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL;
  2575. PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL;
  2576. PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL;
  2577. PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL;
  2578. PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL;
  2579. PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL;
  2580. PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL;
  2581. PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL;
  2582. PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
  2583. PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
  2584. PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
  2585. PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
  2586. PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
  2587. PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
  2588. PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
  2589. PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
  2590. PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
  2591. PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
  2592. PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
  2593. PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
  2594. PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
  2595. PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
  2596. PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
  2597. PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
  2598. PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
  2599. PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
  2600. PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
  2601. PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
  2602. PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
  2603. PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
  2604. PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
  2605. PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
  2606. PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
  2607. PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
  2608. PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
  2609. PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
  2610. PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
  2611. PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
  2612. PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
  2613. PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
  2614. PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
  2615. PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
  2616. PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
  2617. PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
  2618. PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
  2619. PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
  2620. PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
  2621. PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
  2622. PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
  2623. PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
  2624. PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
  2625. PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
  2626. PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
  2627. PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
  2628. PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
  2629. PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
  2630. PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
  2631. PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
  2632. PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
  2633. PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
  2634. PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
  2635. PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
  2636. PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
  2637. PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
  2638. PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
  2639. PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
  2640. PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
  2641. PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
  2642. PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
  2643. PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
  2644. PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
  2645. PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
  2646. PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV = NULL;
  2647. PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV = NULL;
  2648. PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV = NULL;
  2649. PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV = NULL;
  2650. PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV = NULL;
  2651. PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV = NULL;
  2652. PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV = NULL;
  2653. PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV = NULL;
  2654. PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV = NULL;
  2655. PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV = NULL;
  2656. PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV = NULL;
  2657. PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV = NULL;
  2658. PFNGLDEPTHRANGEARRAYFVNVPROC __glewDepthRangeArrayfvNV = NULL;
  2659. PFNGLDEPTHRANGEINDEXEDFNVPROC __glewDepthRangeIndexedfNV = NULL;
  2660. PFNGLDISABLEINVPROC __glewDisableiNV = NULL;
  2661. PFNGLENABLEINVPROC __glewEnableiNV = NULL;
  2662. PFNGLGETFLOATI_VNVPROC __glewGetFloati_vNV = NULL;
  2663. PFNGLISENABLEDINVPROC __glewIsEnablediNV = NULL;
  2664. PFNGLSCISSORARRAYVNVPROC __glewScissorArrayvNV = NULL;
  2665. PFNGLSCISSORINDEXEDNVPROC __glewScissorIndexedNV = NULL;
  2666. PFNGLSCISSORINDEXEDVNVPROC __glewScissorIndexedvNV = NULL;
  2667. PFNGLVIEWPORTARRAYVNVPROC __glewViewportArrayvNV = NULL;
  2668. PFNGLVIEWPORTINDEXEDFNVPROC __glewViewportIndexedfNV = NULL;
  2669. PFNGLVIEWPORTINDEXEDFVNVPROC __glewViewportIndexedfvNV = NULL;
  2670. PFNGLVIEWPORTSWIZZLENVPROC __glewViewportSwizzleNV = NULL;
  2671. PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC __glewFramebufferTextureMultiviewOVR = NULL;
  2672. PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC __glewFramebufferTextureMultisampleMultiviewOVR = NULL;
  2673. PFNGLALPHAFUNCQCOMPROC __glewAlphaFuncQCOM = NULL;
  2674. PFNGLDISABLEDRIVERCONTROLQCOMPROC __glewDisableDriverControlQCOM = NULL;
  2675. PFNGLENABLEDRIVERCONTROLQCOMPROC __glewEnableDriverControlQCOM = NULL;
  2676. PFNGLGETDRIVERCONTROLSTRINGQCOMPROC __glewGetDriverControlStringQCOM = NULL;
  2677. PFNGLGETDRIVERCONTROLSQCOMPROC __glewGetDriverControlsQCOM = NULL;
  2678. PFNGLEXTGETBUFFERPOINTERVQCOMPROC __glewExtGetBufferPointervQCOM = NULL;
  2679. PFNGLEXTGETBUFFERSQCOMPROC __glewExtGetBuffersQCOM = NULL;
  2680. PFNGLEXTGETFRAMEBUFFERSQCOMPROC __glewExtGetFramebuffersQCOM = NULL;
  2681. PFNGLEXTGETRENDERBUFFERSQCOMPROC __glewExtGetRenderbuffersQCOM = NULL;
  2682. PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC __glewExtGetTexLevelParameterivQCOM = NULL;
  2683. PFNGLEXTGETTEXSUBIMAGEQCOMPROC __glewExtGetTexSubImageQCOM = NULL;
  2684. PFNGLEXTGETTEXTURESQCOMPROC __glewExtGetTexturesQCOM = NULL;
  2685. PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC __glewExtTexObjectStateOverrideiQCOM = NULL;
  2686. PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC __glewExtGetProgramBinarySourceQCOM = NULL;
  2687. PFNGLEXTGETPROGRAMSQCOMPROC __glewExtGetProgramsQCOM = NULL;
  2688. PFNGLEXTGETSHADERSQCOMPROC __glewExtGetShadersQCOM = NULL;
  2689. PFNGLEXTISPROGRAMBINARYQCOMPROC __glewExtIsProgramBinaryQCOM = NULL;
  2690. PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC __glewFramebufferFoveationConfigQCOM = NULL;
  2691. PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC __glewFramebufferFoveationParametersQCOM = NULL;
  2692. PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC __glewFramebufferFetchBarrierQCOM = NULL;
  2693. PFNGLENDTILINGQCOMPROC __glewEndTilingQCOM = NULL;
  2694. PFNGLSTARTTILINGQCOMPROC __glewStartTilingQCOM = NULL;
  2695. PFNGLALPHAFUNCXPROC __glewAlphaFuncx = NULL;
  2696. PFNGLCLEARCOLORXPROC __glewClearColorx = NULL;
  2697. PFNGLCLEARDEPTHXPROC __glewClearDepthx = NULL;
  2698. PFNGLCOLOR4XPROC __glewColor4x = NULL;
  2699. PFNGLDEPTHRANGEXPROC __glewDepthRangex = NULL;
  2700. PFNGLFOGXPROC __glewFogx = NULL;
  2701. PFNGLFOGXVPROC __glewFogxv = NULL;
  2702. PFNGLFRUSTUMFPROC __glewFrustumf = NULL;
  2703. PFNGLFRUSTUMXPROC __glewFrustumx = NULL;
  2704. PFNGLLIGHTMODELXPROC __glewLightModelx = NULL;
  2705. PFNGLLIGHTMODELXVPROC __glewLightModelxv = NULL;
  2706. PFNGLLIGHTXPROC __glewLightx = NULL;
  2707. PFNGLLIGHTXVPROC __glewLightxv = NULL;
  2708. PFNGLLINEWIDTHXPROC __glewLineWidthx = NULL;
  2709. PFNGLLOADMATRIXXPROC __glewLoadMatrixx = NULL;
  2710. PFNGLMATERIALXPROC __glewMaterialx = NULL;
  2711. PFNGLMATERIALXVPROC __glewMaterialxv = NULL;
  2712. PFNGLMULTMATRIXXPROC __glewMultMatrixx = NULL;
  2713. PFNGLMULTITEXCOORD4XPROC __glewMultiTexCoord4x = NULL;
  2714. PFNGLNORMAL3XPROC __glewNormal3x = NULL;
  2715. PFNGLORTHOFPROC __glewOrthof = NULL;
  2716. PFNGLORTHOXPROC __glewOrthox = NULL;
  2717. PFNGLPOINTSIZEXPROC __glewPointSizex = NULL;
  2718. PFNGLPOLYGONOFFSETXPROC __glewPolygonOffsetx = NULL;
  2719. PFNGLROTATEXPROC __glewRotatex = NULL;
  2720. PFNGLSAMPLECOVERAGEXPROC __glewSampleCoveragex = NULL;
  2721. PFNGLSCALEXPROC __glewScalex = NULL;
  2722. PFNGLTEXENVXPROC __glewTexEnvx = NULL;
  2723. PFNGLTEXENVXVPROC __glewTexEnvxv = NULL;
  2724. PFNGLTEXPARAMETERXPROC __glewTexParameterx = NULL;
  2725. PFNGLTRANSLATEXPROC __glewTranslatex = NULL;
  2726. PFNGLCLIPPLANEFPROC __glewClipPlanef = NULL;
  2727. PFNGLCLIPPLANEXPROC __glewClipPlanex = NULL;
  2728. PFNGLGETCLIPPLANEFPROC __glewGetClipPlanef = NULL;
  2729. PFNGLGETCLIPPLANEXPROC __glewGetClipPlanex = NULL;
  2730. PFNGLGETFIXEDVPROC __glewGetFixedv = NULL;
  2731. PFNGLGETLIGHTXVPROC __glewGetLightxv = NULL;
  2732. PFNGLGETMATERIALXVPROC __glewGetMaterialxv = NULL;
  2733. PFNGLGETTEXENVXVPROC __glewGetTexEnvxv = NULL;
  2734. PFNGLGETTEXPARAMETERXVPROC __glewGetTexParameterxv = NULL;
  2735. PFNGLPOINTPARAMETERXPROC __glewPointParameterx = NULL;
  2736. PFNGLPOINTPARAMETERXVPROC __glewPointParameterxv = NULL;
  2737. PFNGLPOINTSIZEPOINTEROESPROC __glewPointSizePointerOES = NULL;
  2738. PFNGLTEXPARAMETERXVPROC __glewTexParameterxv = NULL;
  2739. PFNGLERRORSTRINGREGALPROC __glewErrorStringREGAL = NULL;
  2740. PFNGLGETEXTENSIONREGALPROC __glewGetExtensionREGAL = NULL;
  2741. PFNGLISSUPPORTEDREGALPROC __glewIsSupportedREGAL = NULL;
  2742. PFNGLLOGMESSAGECALLBACKREGALPROC __glewLogMessageCallbackREGAL = NULL;
  2743. PFNGLGETPROCADDRESSREGALPROC __glewGetProcAddressREGAL = NULL;
  2744. PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
  2745. PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
  2746. PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
  2747. PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
  2748. PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
  2749. PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
  2750. PFNGLINTERLEAVEDTEXTURECOORDSETSSGISPROC __glewInterleavedTextureCoordSetsSGIS = NULL;
  2751. PFNGLSELECTTEXTURECOORDSETSGISPROC __glewSelectTextureCoordSetSGIS = NULL;
  2752. PFNGLSELECTTEXTURESGISPROC __glewSelectTextureSGIS = NULL;
  2753. PFNGLSELECTTEXTURETRANSFORMSGISPROC __glewSelectTextureTransformSGIS = NULL;
  2754. PFNGLMULTISAMPLESUBRECTPOSSGISPROC __glewMultisampleSubRectPosSGIS = NULL;
  2755. PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
  2756. PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
  2757. PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
  2758. PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
  2759. PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
  2760. PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
  2761. PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
  2762. PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
  2763. PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
  2764. PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
  2765. PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
  2766. PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
  2767. PFNGLADDRESSSPACEPROC __glewAddressSpace = NULL;
  2768. PFNGLDATAPIPEPROC __glewDataPipe = NULL;
  2769. PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
  2770. PFNGLFOGLAYERSSGIXPROC __glewFogLayersSGIX = NULL;
  2771. PFNGLGETFOGLAYERSSGIXPROC __glewGetFogLayersSGIX = NULL;
  2772. PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
  2773. PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
  2774. PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
  2775. PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
  2776. PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
  2777. PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
  2778. PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
  2779. PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
  2780. PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
  2781. PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
  2782. PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
  2783. PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
  2784. PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
  2785. PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
  2786. PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
  2787. PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
  2788. PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
  2789. PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
  2790. PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
  2791. PFNGLIGLOOINTERFACESGIXPROC __glewIglooInterfaceSGIX = NULL;
  2792. PFNGLALLOCMPEGPREDICTORSSGIXPROC __glewAllocMPEGPredictorsSGIX = NULL;
  2793. PFNGLDELETEMPEGPREDICTORSSGIXPROC __glewDeleteMPEGPredictorsSGIX = NULL;
  2794. PFNGLGENMPEGPREDICTORSSGIXPROC __glewGenMPEGPredictorsSGIX = NULL;
  2795. PFNGLGETMPEGPARAMETERFVSGIXPROC __glewGetMPEGParameterfvSGIX = NULL;
  2796. PFNGLGETMPEGPARAMETERIVSGIXPROC __glewGetMPEGParameterivSGIX = NULL;
  2797. PFNGLGETMPEGPREDICTORSGIXPROC __glewGetMPEGPredictorSGIX = NULL;
  2798. PFNGLGETMPEGQUANTTABLEUBVPROC __glewGetMPEGQuantTableubv = NULL;
  2799. PFNGLISMPEGPREDICTORSGIXPROC __glewIsMPEGPredictorSGIX = NULL;
  2800. PFNGLMPEGPREDICTORSGIXPROC __glewMPEGPredictorSGIX = NULL;
  2801. PFNGLMPEGQUANTTABLEUBVPROC __glewMPEGQuantTableubv = NULL;
  2802. PFNGLSWAPMPEGPREDICTORSSGIXPROC __glewSwapMPEGPredictorsSGIX = NULL;
  2803. PFNGLGETNONLINLIGHTFVSGIXPROC __glewGetNonlinLightfvSGIX = NULL;
  2804. PFNGLGETNONLINMATERIALFVSGIXPROC __glewGetNonlinMaterialfvSGIX = NULL;
  2805. PFNGLNONLINLIGHTFVSGIXPROC __glewNonlinLightfvSGIX = NULL;
  2806. PFNGLNONLINMATERIALFVSGIXPROC __glewNonlinMaterialfvSGIX = NULL;
  2807. PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
  2808. PFNGLDEFORMSGIXPROC __glewDeformSGIX = NULL;
  2809. PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC __glewLoadIdentityDeformationMapSGIX = NULL;
  2810. PFNGLMESHBREADTHSGIXPROC __glewMeshBreadthSGIX = NULL;
  2811. PFNGLMESHSTRIDESGIXPROC __glewMeshStrideSGIX = NULL;
  2812. PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
  2813. PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
  2814. PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
  2815. PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
  2816. PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
  2817. PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
  2818. PFNGLGETVECTOROPERATIONSGIXPROC __glewGetVectorOperationSGIX = NULL;
  2819. PFNGLVECTOROPERATIONSGIXPROC __glewVectorOperationSGIX = NULL;
  2820. PFNGLAREVERTEXARRAYSRESIDENTSGIXPROC __glewAreVertexArraysResidentSGIX = NULL;
  2821. PFNGLBINDVERTEXARRAYSGIXPROC __glewBindVertexArraySGIX = NULL;
  2822. PFNGLDELETEVERTEXARRAYSSGIXPROC __glewDeleteVertexArraysSGIX = NULL;
  2823. PFNGLGENVERTEXARRAYSSGIXPROC __glewGenVertexArraysSGIX = NULL;
  2824. PFNGLISVERTEXARRAYSGIXPROC __glewIsVertexArraySGIX = NULL;
  2825. PFNGLPRIORITIZEVERTEXARRAYSSGIXPROC __glewPrioritizeVertexArraysSGIX = NULL;
  2826. PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
  2827. PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
  2828. PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
  2829. PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
  2830. PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
  2831. PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
  2832. PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
  2833. PFNGLGETPIXELTRANSFORMPARAMETERFVSGIPROC __glewGetPixelTransformParameterfvSGI = NULL;
  2834. PFNGLGETPIXELTRANSFORMPARAMETERIVSGIPROC __glewGetPixelTransformParameterivSGI = NULL;
  2835. PFNGLPIXELTRANSFORMPARAMETERFSGIPROC __glewPixelTransformParameterfSGI = NULL;
  2836. PFNGLPIXELTRANSFORMPARAMETERFVSGIPROC __glewPixelTransformParameterfvSGI = NULL;
  2837. PFNGLPIXELTRANSFORMPARAMETERISGIPROC __glewPixelTransformParameteriSGI = NULL;
  2838. PFNGLPIXELTRANSFORMPARAMETERIVSGIPROC __glewPixelTransformParameterivSGI = NULL;
  2839. PFNGLPIXELTRANSFORMSGIPROC __glewPixelTransformSGI = NULL;
  2840. PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
  2841. PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
  2842. PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
  2843. PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
  2844. PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
  2845. PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
  2846. PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
  2847. PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
  2848. PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
  2849. PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
  2850. PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
  2851. PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
  2852. PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
  2853. PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
  2854. PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
  2855. PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
  2856. PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
  2857. PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
  2858. PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
  2859. PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
  2860. PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
  2861. PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
  2862. PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
  2863. PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
  2864. PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
  2865. PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
  2866. PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
  2867. PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
  2868. PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
  2869. PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
  2870. PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
  2871. PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
  2872. PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
  2873. PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
  2874. PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
  2875. PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
  2876. PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
  2877. PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
  2878. PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
  2879. PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
  2880. PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
  2881. PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
  2882. PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
  2883. PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
  2884. PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
  2885. PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
  2886. PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
  2887. PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
  2888. PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
  2889. PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
  2890. PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
  2891. PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
  2892. PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
  2893. PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
  2894. PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
  2895. PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
  2896. PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
  2897. PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
  2898. GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
  2899. GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
  2900. GLboolean __GLEW_VERSION_1_2_1 = GL_FALSE;
  2901. GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
  2902. GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
  2903. GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
  2904. GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
  2905. GLboolean __GLEW_VERSION_2_1 = GL_FALSE;
  2906. GLboolean __GLEW_VERSION_3_0 = GL_FALSE;
  2907. GLboolean __GLEW_VERSION_3_1 = GL_FALSE;
  2908. GLboolean __GLEW_VERSION_3_2 = GL_FALSE;
  2909. GLboolean __GLEW_VERSION_3_3 = GL_FALSE;
  2910. GLboolean __GLEW_VERSION_4_0 = GL_FALSE;
  2911. GLboolean __GLEW_VERSION_4_1 = GL_FALSE;
  2912. GLboolean __GLEW_VERSION_4_2 = GL_FALSE;
  2913. GLboolean __GLEW_VERSION_4_3 = GL_FALSE;
  2914. GLboolean __GLEW_VERSION_4_4 = GL_FALSE;
  2915. GLboolean __GLEW_VERSION_4_5 = GL_FALSE;
  2916. GLboolean __GLEW_VERSION_4_6 = GL_FALSE;
  2917. GLboolean __GLEW_3DFX_multisample = GL_FALSE;
  2918. GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
  2919. GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
  2920. GLboolean __GLEW_AMD_blend_minmax_factor = GL_FALSE;
  2921. GLboolean __GLEW_AMD_compressed_3DC_texture = GL_FALSE;
  2922. GLboolean __GLEW_AMD_compressed_ATC_texture = GL_FALSE;
  2923. GLboolean __GLEW_AMD_conservative_depth = GL_FALSE;
  2924. GLboolean __GLEW_AMD_debug_output = GL_FALSE;
  2925. GLboolean __GLEW_AMD_depth_clamp_separate = GL_FALSE;
  2926. GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE;
  2927. GLboolean __GLEW_AMD_framebuffer_sample_positions = GL_FALSE;
  2928. GLboolean __GLEW_AMD_gcn_shader = GL_FALSE;
  2929. GLboolean __GLEW_AMD_gpu_shader_half_float = GL_FALSE;
  2930. GLboolean __GLEW_AMD_gpu_shader_int16 = GL_FALSE;
  2931. GLboolean __GLEW_AMD_gpu_shader_int64 = GL_FALSE;
  2932. GLboolean __GLEW_AMD_interleaved_elements = GL_FALSE;
  2933. GLboolean __GLEW_AMD_multi_draw_indirect = GL_FALSE;
  2934. GLboolean __GLEW_AMD_name_gen_delete = GL_FALSE;
  2935. GLboolean __GLEW_AMD_occlusion_query_event = GL_FALSE;
  2936. GLboolean __GLEW_AMD_performance_monitor = GL_FALSE;
  2937. GLboolean __GLEW_AMD_pinned_memory = GL_FALSE;
  2938. GLboolean __GLEW_AMD_program_binary_Z400 = GL_FALSE;
  2939. GLboolean __GLEW_AMD_query_buffer_object = GL_FALSE;
  2940. GLboolean __GLEW_AMD_sample_positions = GL_FALSE;
  2941. GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE;
  2942. GLboolean __GLEW_AMD_shader_atomic_counter_ops = GL_FALSE;
  2943. GLboolean __GLEW_AMD_shader_ballot = GL_FALSE;
  2944. GLboolean __GLEW_AMD_shader_explicit_vertex_parameter = GL_FALSE;
  2945. GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE;
  2946. GLboolean __GLEW_AMD_shader_stencil_value_export = GL_FALSE;
  2947. GLboolean __GLEW_AMD_shader_trinary_minmax = GL_FALSE;
  2948. GLboolean __GLEW_AMD_sparse_texture = GL_FALSE;
  2949. GLboolean __GLEW_AMD_stencil_operation_extended = GL_FALSE;
  2950. GLboolean __GLEW_AMD_texture_gather_bias_lod = GL_FALSE;
  2951. GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE;
  2952. GLboolean __GLEW_AMD_transform_feedback3_lines_triangles = GL_FALSE;
  2953. GLboolean __GLEW_AMD_transform_feedback4 = GL_FALSE;
  2954. GLboolean __GLEW_AMD_vertex_shader_layer = GL_FALSE;
  2955. GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE;
  2956. GLboolean __GLEW_AMD_vertex_shader_viewport_index = GL_FALSE;
  2957. GLboolean __GLEW_ANDROID_extension_pack_es31a = GL_FALSE;
  2958. GLboolean __GLEW_ANGLE_depth_texture = GL_FALSE;
  2959. GLboolean __GLEW_ANGLE_framebuffer_blit = GL_FALSE;
  2960. GLboolean __GLEW_ANGLE_framebuffer_multisample = GL_FALSE;
  2961. GLboolean __GLEW_ANGLE_instanced_arrays = GL_FALSE;
  2962. GLboolean __GLEW_ANGLE_pack_reverse_row_order = GL_FALSE;
  2963. GLboolean __GLEW_ANGLE_program_binary = GL_FALSE;
  2964. GLboolean __GLEW_ANGLE_texture_compression_dxt1 = GL_FALSE;
  2965. GLboolean __GLEW_ANGLE_texture_compression_dxt3 = GL_FALSE;
  2966. GLboolean __GLEW_ANGLE_texture_compression_dxt5 = GL_FALSE;
  2967. GLboolean __GLEW_ANGLE_texture_usage = GL_FALSE;
  2968. GLboolean __GLEW_ANGLE_timer_query = GL_FALSE;
  2969. GLboolean __GLEW_ANGLE_translated_shader_source = GL_FALSE;
  2970. GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE;
  2971. GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
  2972. GLboolean __GLEW_APPLE_clip_distance = GL_FALSE;
  2973. GLboolean __GLEW_APPLE_color_buffer_packed_float = GL_FALSE;
  2974. GLboolean __GLEW_APPLE_copy_texture_levels = GL_FALSE;
  2975. GLboolean __GLEW_APPLE_element_array = GL_FALSE;
  2976. GLboolean __GLEW_APPLE_fence = GL_FALSE;
  2977. GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
  2978. GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;
  2979. GLboolean __GLEW_APPLE_framebuffer_multisample = GL_FALSE;
  2980. GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE;
  2981. GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
  2982. GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE;
  2983. GLboolean __GLEW_APPLE_row_bytes = GL_FALSE;
  2984. GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
  2985. GLboolean __GLEW_APPLE_sync = GL_FALSE;
  2986. GLboolean __GLEW_APPLE_texture_2D_limited_npot = GL_FALSE;
  2987. GLboolean __GLEW_APPLE_texture_format_BGRA8888 = GL_FALSE;
  2988. GLboolean __GLEW_APPLE_texture_max_level = GL_FALSE;
  2989. GLboolean __GLEW_APPLE_texture_packed_float = GL_FALSE;
  2990. GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
  2991. GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
  2992. GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
  2993. GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
  2994. GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE;
  2995. GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
  2996. GLboolean __GLEW_ARB_ES2_compatibility = GL_FALSE;
  2997. GLboolean __GLEW_ARB_ES3_1_compatibility = GL_FALSE;
  2998. GLboolean __GLEW_ARB_ES3_2_compatibility = GL_FALSE;
  2999. GLboolean __GLEW_ARB_ES3_compatibility = GL_FALSE;
  3000. GLboolean __GLEW_ARB_arrays_of_arrays = GL_FALSE;
  3001. GLboolean __GLEW_ARB_base_instance = GL_FALSE;
  3002. GLboolean __GLEW_ARB_bindless_texture = GL_FALSE;
  3003. GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE;
  3004. GLboolean __GLEW_ARB_buffer_storage = GL_FALSE;
  3005. GLboolean __GLEW_ARB_cl_event = GL_FALSE;
  3006. GLboolean __GLEW_ARB_clear_buffer_object = GL_FALSE;
  3007. GLboolean __GLEW_ARB_clear_texture = GL_FALSE;
  3008. GLboolean __GLEW_ARB_clip_control = GL_FALSE;
  3009. GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
  3010. GLboolean __GLEW_ARB_compatibility = GL_FALSE;
  3011. GLboolean __GLEW_ARB_compressed_texture_pixel_storage = GL_FALSE;
  3012. GLboolean __GLEW_ARB_compute_shader = GL_FALSE;
  3013. GLboolean __GLEW_ARB_compute_variable_group_size = GL_FALSE;
  3014. GLboolean __GLEW_ARB_conditional_render_inverted = GL_FALSE;
  3015. GLboolean __GLEW_ARB_conservative_depth = GL_FALSE;
  3016. GLboolean __GLEW_ARB_copy_buffer = GL_FALSE;
  3017. GLboolean __GLEW_ARB_copy_image = GL_FALSE;
  3018. GLboolean __GLEW_ARB_cull_distance = GL_FALSE;
  3019. GLboolean __GLEW_ARB_debug_output = GL_FALSE;
  3020. GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;
  3021. GLboolean __GLEW_ARB_depth_clamp = GL_FALSE;
  3022. GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
  3023. GLboolean __GLEW_ARB_derivative_control = GL_FALSE;
  3024. GLboolean __GLEW_ARB_direct_state_access = GL_FALSE;
  3025. GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
  3026. GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE;
  3027. GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE;
  3028. GLboolean __GLEW_ARB_draw_indirect = GL_FALSE;
  3029. GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;
  3030. GLboolean __GLEW_ARB_enhanced_layouts = GL_FALSE;
  3031. GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE;
  3032. GLboolean __GLEW_ARB_explicit_uniform_location = GL_FALSE;
  3033. GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE;
  3034. GLboolean __GLEW_ARB_fragment_layer_viewport = GL_FALSE;
  3035. GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
  3036. GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
  3037. GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
  3038. GLboolean __GLEW_ARB_fragment_shader_interlock = GL_FALSE;
  3039. GLboolean __GLEW_ARB_framebuffer_no_attachments = GL_FALSE;
  3040. GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;
  3041. GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
  3042. GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
  3043. GLboolean __GLEW_ARB_get_program_binary = GL_FALSE;
  3044. GLboolean __GLEW_ARB_get_texture_sub_image = GL_FALSE;
  3045. GLboolean __GLEW_ARB_gl_spirv = GL_FALSE;
  3046. GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
  3047. GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
  3048. GLboolean __GLEW_ARB_gpu_shader_int64 = GL_FALSE;
  3049. GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
  3050. GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;
  3051. GLboolean __GLEW_ARB_imaging = GL_FALSE;
  3052. GLboolean __GLEW_ARB_indirect_parameters = GL_FALSE;
  3053. GLboolean __GLEW_ARB_instanced_arrays = GL_FALSE;
  3054. GLboolean __GLEW_ARB_internalformat_query = GL_FALSE;
  3055. GLboolean __GLEW_ARB_internalformat_query2 = GL_FALSE;
  3056. GLboolean __GLEW_ARB_invalidate_subdata = GL_FALSE;
  3057. GLboolean __GLEW_ARB_map_buffer_alignment = GL_FALSE;
  3058. GLboolean __GLEW_ARB_map_buffer_range = GL_FALSE;
  3059. GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
  3060. GLboolean __GLEW_ARB_multi_bind = GL_FALSE;
  3061. GLboolean __GLEW_ARB_multi_draw_indirect = GL_FALSE;
  3062. GLboolean __GLEW_ARB_multisample = GL_FALSE;
  3063. GLboolean __GLEW_ARB_multitexture = GL_FALSE;
  3064. GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
  3065. GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE;
  3066. GLboolean __GLEW_ARB_parallel_shader_compile = GL_FALSE;
  3067. GLboolean __GLEW_ARB_pipeline_statistics_query = GL_FALSE;
  3068. GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
  3069. GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
  3070. GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
  3071. GLboolean __GLEW_ARB_polygon_offset_clamp = GL_FALSE;
  3072. GLboolean __GLEW_ARB_post_depth_coverage = GL_FALSE;
  3073. GLboolean __GLEW_ARB_program_interface_query = GL_FALSE;
  3074. GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE;
  3075. GLboolean __GLEW_ARB_query_buffer_object = GL_FALSE;
  3076. GLboolean __GLEW_ARB_robust_buffer_access_behavior = GL_FALSE;
  3077. GLboolean __GLEW_ARB_robustness = GL_FALSE;
  3078. GLboolean __GLEW_ARB_robustness_application_isolation = GL_FALSE;
  3079. GLboolean __GLEW_ARB_robustness_share_group_isolation = GL_FALSE;
  3080. GLboolean __GLEW_ARB_sample_locations = GL_FALSE;
  3081. GLboolean __GLEW_ARB_sample_shading = GL_FALSE;
  3082. GLboolean __GLEW_ARB_sampler_objects = GL_FALSE;
  3083. GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE;
  3084. GLboolean __GLEW_ARB_seamless_cubemap_per_texture = GL_FALSE;
  3085. GLboolean __GLEW_ARB_separate_shader_objects = GL_FALSE;
  3086. GLboolean __GLEW_ARB_shader_atomic_counter_ops = GL_FALSE;
  3087. GLboolean __GLEW_ARB_shader_atomic_counters = GL_FALSE;
  3088. GLboolean __GLEW_ARB_shader_ballot = GL_FALSE;
  3089. GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE;
  3090. GLboolean __GLEW_ARB_shader_clock = GL_FALSE;
  3091. GLboolean __GLEW_ARB_shader_draw_parameters = GL_FALSE;
  3092. GLboolean __GLEW_ARB_shader_group_vote = GL_FALSE;
  3093. GLboolean __GLEW_ARB_shader_image_load_store = GL_FALSE;
  3094. GLboolean __GLEW_ARB_shader_image_size = GL_FALSE;
  3095. GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
  3096. GLboolean __GLEW_ARB_shader_precision = GL_FALSE;
  3097. GLboolean __GLEW_ARB_shader_stencil_export = GL_FALSE;
  3098. GLboolean __GLEW_ARB_shader_storage_buffer_object = GL_FALSE;
  3099. GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE;
  3100. GLboolean __GLEW_ARB_shader_texture_image_samples = GL_FALSE;
  3101. GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE;
  3102. GLboolean __GLEW_ARB_shader_viewport_layer_array = GL_FALSE;
  3103. GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
  3104. GLboolean __GLEW_ARB_shading_language_420pack = GL_FALSE;
  3105. GLboolean __GLEW_ARB_shading_language_include = GL_FALSE;
  3106. GLboolean __GLEW_ARB_shading_language_packing = GL_FALSE;
  3107. GLboolean __GLEW_ARB_shadow = GL_FALSE;
  3108. GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
  3109. GLboolean __GLEW_ARB_sparse_buffer = GL_FALSE;
  3110. GLboolean __GLEW_ARB_sparse_texture = GL_FALSE;
  3111. GLboolean __GLEW_ARB_sparse_texture2 = GL_FALSE;
  3112. GLboolean __GLEW_ARB_sparse_texture_clamp = GL_FALSE;
  3113. GLboolean __GLEW_ARB_spirv_extensions = GL_FALSE;
  3114. GLboolean __GLEW_ARB_stencil_texturing = GL_FALSE;
  3115. GLboolean __GLEW_ARB_sync = GL_FALSE;
  3116. GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE;
  3117. GLboolean __GLEW_ARB_texture_barrier = GL_FALSE;
  3118. GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
  3119. GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;
  3120. GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE;
  3121. GLboolean __GLEW_ARB_texture_buffer_range = GL_FALSE;
  3122. GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
  3123. GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE;
  3124. GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;
  3125. GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
  3126. GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE;
  3127. GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
  3128. GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
  3129. GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
  3130. GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
  3131. GLboolean __GLEW_ARB_texture_filter_anisotropic = GL_FALSE;
  3132. GLboolean __GLEW_ARB_texture_filter_minmax = GL_FALSE;
  3133. GLboolean __GLEW_ARB_texture_float = GL_FALSE;
  3134. GLboolean __GLEW_ARB_texture_gather = GL_FALSE;
  3135. GLboolean __GLEW_ARB_texture_mirror_clamp_to_edge = GL_FALSE;
  3136. GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
  3137. GLboolean __GLEW_ARB_texture_multisample = GL_FALSE;
  3138. GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
  3139. GLboolean __GLEW_ARB_texture_query_levels = GL_FALSE;
  3140. GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE;
  3141. GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
  3142. GLboolean __GLEW_ARB_texture_rg = GL_FALSE;
  3143. GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE;
  3144. GLboolean __GLEW_ARB_texture_stencil8 = GL_FALSE;
  3145. GLboolean __GLEW_ARB_texture_storage = GL_FALSE;
  3146. GLboolean __GLEW_ARB_texture_storage_multisample = GL_FALSE;
  3147. GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE;
  3148. GLboolean __GLEW_ARB_texture_view = GL_FALSE;
  3149. GLboolean __GLEW_ARB_timer_query = GL_FALSE;
  3150. GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE;
  3151. GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE;
  3152. GLboolean __GLEW_ARB_transform_feedback_instanced = GL_FALSE;
  3153. GLboolean __GLEW_ARB_transform_feedback_overflow_query = GL_FALSE;
  3154. GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
  3155. GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE;
  3156. GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE;
  3157. GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;
  3158. GLboolean __GLEW_ARB_vertex_attrib_64bit = GL_FALSE;
  3159. GLboolean __GLEW_ARB_vertex_attrib_binding = GL_FALSE;
  3160. GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
  3161. GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
  3162. GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
  3163. GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
  3164. GLboolean __GLEW_ARB_vertex_type_10f_11f_11f_rev = GL_FALSE;
  3165. GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE;
  3166. GLboolean __GLEW_ARB_viewport_array = GL_FALSE;
  3167. GLboolean __GLEW_ARB_window_pos = GL_FALSE;
  3168. GLboolean __GLEW_ARM_mali_program_binary = GL_FALSE;
  3169. GLboolean __GLEW_ARM_mali_shader_binary = GL_FALSE;
  3170. GLboolean __GLEW_ARM_rgba8 = GL_FALSE;
  3171. GLboolean __GLEW_ARM_shader_framebuffer_fetch = GL_FALSE;
  3172. GLboolean __GLEW_ARM_shader_framebuffer_fetch_depth_stencil = GL_FALSE;
  3173. GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
  3174. GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
  3175. GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
  3176. GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
  3177. GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
  3178. GLboolean __GLEW_ATI_element_array = GL_FALSE;
  3179. GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
  3180. GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
  3181. GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
  3182. GLboolean __GLEW_ATI_meminfo = GL_FALSE;
  3183. GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
  3184. GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
  3185. GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;
  3186. GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
  3187. GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
  3188. GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
  3189. GLboolean __GLEW_ATI_texture_float = GL_FALSE;
  3190. GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
  3191. GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
  3192. GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
  3193. GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
  3194. GLboolean __GLEW_EGL_KHR_context_flush_control = GL_FALSE;
  3195. GLboolean __GLEW_EGL_NV_robustness_video_memory_purge = GL_FALSE;
  3196. GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
  3197. GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
  3198. GLboolean __GLEW_EXT_EGL_image_array = GL_FALSE;
  3199. GLboolean __GLEW_EXT_YUV_target = GL_FALSE;
  3200. GLboolean __GLEW_EXT_abgr = GL_FALSE;
  3201. GLboolean __GLEW_EXT_base_instance = GL_FALSE;
  3202. GLboolean __GLEW_EXT_bgra = GL_FALSE;
  3203. GLboolean __GLEW_EXT_bindable_uniform = GL_FALSE;
  3204. GLboolean __GLEW_EXT_blend_color = GL_FALSE;
  3205. GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
  3206. GLboolean __GLEW_EXT_blend_func_extended = GL_FALSE;
  3207. GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
  3208. GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
  3209. GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
  3210. GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
  3211. GLboolean __GLEW_EXT_buffer_storage = GL_FALSE;
  3212. GLboolean __GLEW_EXT_clear_texture = GL_FALSE;
  3213. GLboolean __GLEW_EXT_clip_cull_distance = GL_FALSE;
  3214. GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
  3215. GLboolean __GLEW_EXT_cmyka = GL_FALSE;
  3216. GLboolean __GLEW_EXT_color_buffer_float = GL_FALSE;
  3217. GLboolean __GLEW_EXT_color_buffer_half_float = GL_FALSE;
  3218. GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
  3219. GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
  3220. GLboolean __GLEW_EXT_compressed_ETC1_RGB8_sub_texture = GL_FALSE;
  3221. GLboolean __GLEW_EXT_conservative_depth = GL_FALSE;
  3222. GLboolean __GLEW_EXT_convolution = GL_FALSE;
  3223. GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
  3224. GLboolean __GLEW_EXT_copy_image = GL_FALSE;
  3225. GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
  3226. GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
  3227. GLboolean __GLEW_EXT_debug_label = GL_FALSE;
  3228. GLboolean __GLEW_EXT_debug_marker = GL_FALSE;
  3229. GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
  3230. GLboolean __GLEW_EXT_direct_state_access = GL_FALSE;
  3231. GLboolean __GLEW_EXT_discard_framebuffer = GL_FALSE;
  3232. GLboolean __GLEW_EXT_draw_buffers = GL_FALSE;
  3233. GLboolean __GLEW_EXT_draw_buffers2 = GL_FALSE;
  3234. GLboolean __GLEW_EXT_draw_buffers_indexed = GL_FALSE;
  3235. GLboolean __GLEW_EXT_draw_elements_base_vertex = GL_FALSE;
  3236. GLboolean __GLEW_EXT_draw_instanced = GL_FALSE;
  3237. GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
  3238. GLboolean __GLEW_EXT_external_buffer = GL_FALSE;
  3239. GLboolean __GLEW_EXT_float_blend = GL_FALSE;
  3240. GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
  3241. GLboolean __GLEW_EXT_frag_depth = GL_FALSE;
  3242. GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
  3243. GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
  3244. GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
  3245. GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE;
  3246. GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
  3247. GLboolean __GLEW_EXT_framebuffer_sRGB = GL_FALSE;
  3248. GLboolean __GLEW_EXT_geometry_point_size = GL_FALSE;
  3249. GLboolean __GLEW_EXT_geometry_shader = GL_FALSE;
  3250. GLboolean __GLEW_EXT_geometry_shader4 = GL_FALSE;
  3251. GLboolean __GLEW_EXT_gpu_program_parameters = GL_FALSE;
  3252. GLboolean __GLEW_EXT_gpu_shader4 = GL_FALSE;
  3253. GLboolean __GLEW_EXT_gpu_shader5 = GL_FALSE;
  3254. GLboolean __GLEW_EXT_histogram = GL_FALSE;
  3255. GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
  3256. GLboolean __GLEW_EXT_index_func = GL_FALSE;
  3257. GLboolean __GLEW_EXT_index_material = GL_FALSE;
  3258. GLboolean __GLEW_EXT_index_texture = GL_FALSE;
  3259. GLboolean __GLEW_EXT_instanced_arrays = GL_FALSE;
  3260. GLboolean __GLEW_EXT_light_texture = GL_FALSE;
  3261. GLboolean __GLEW_EXT_map_buffer_range = GL_FALSE;
  3262. GLboolean __GLEW_EXT_memory_object = GL_FALSE;
  3263. GLboolean __GLEW_EXT_memory_object_fd = GL_FALSE;
  3264. GLboolean __GLEW_EXT_memory_object_win32 = GL_FALSE;
  3265. GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
  3266. GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
  3267. GLboolean __GLEW_EXT_multi_draw_indirect = GL_FALSE;
  3268. GLboolean __GLEW_EXT_multiple_textures = GL_FALSE;
  3269. GLboolean __GLEW_EXT_multisample = GL_FALSE;
  3270. GLboolean __GLEW_EXT_multisample_compatibility = GL_FALSE;
  3271. GLboolean __GLEW_EXT_multisampled_render_to_texture = GL_FALSE;
  3272. GLboolean __GLEW_EXT_multisampled_render_to_texture2 = GL_FALSE;
  3273. GLboolean __GLEW_EXT_multiview_draw_buffers = GL_FALSE;
  3274. GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
  3275. GLboolean __GLEW_EXT_packed_float = GL_FALSE;
  3276. GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
  3277. GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
  3278. GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
  3279. GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
  3280. GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
  3281. GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
  3282. GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
  3283. GLboolean __GLEW_EXT_polygon_offset_clamp = GL_FALSE;
  3284. GLboolean __GLEW_EXT_post_depth_coverage = GL_FALSE;
  3285. GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
  3286. GLboolean __GLEW_EXT_pvrtc_sRGB = GL_FALSE;
  3287. GLboolean __GLEW_EXT_raster_multisample = GL_FALSE;
  3288. GLboolean __GLEW_EXT_read_format_bgra = GL_FALSE;
  3289. GLboolean __GLEW_EXT_render_snorm = GL_FALSE;
  3290. GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
  3291. GLboolean __GLEW_EXT_sRGB = GL_FALSE;
  3292. GLboolean __GLEW_EXT_sRGB_write_control = GL_FALSE;
  3293. GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
  3294. GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
  3295. GLboolean __GLEW_EXT_semaphore = GL_FALSE;
  3296. GLboolean __GLEW_EXT_semaphore_fd = GL_FALSE;
  3297. GLboolean __GLEW_EXT_semaphore_win32 = GL_FALSE;
  3298. GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE;
  3299. GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
  3300. GLboolean __GLEW_EXT_shader_framebuffer_fetch = GL_FALSE;
  3301. GLboolean __GLEW_EXT_shader_group_vote = GL_FALSE;
  3302. GLboolean __GLEW_EXT_shader_image_load_formatted = GL_FALSE;
  3303. GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE;
  3304. GLboolean __GLEW_EXT_shader_implicit_conversions = GL_FALSE;
  3305. GLboolean __GLEW_EXT_shader_integer_mix = GL_FALSE;
  3306. GLboolean __GLEW_EXT_shader_io_blocks = GL_FALSE;
  3307. GLboolean __GLEW_EXT_shader_non_constant_global_initializers = GL_FALSE;
  3308. GLboolean __GLEW_EXT_shader_pixel_local_storage = GL_FALSE;
  3309. GLboolean __GLEW_EXT_shader_pixel_local_storage2 = GL_FALSE;
  3310. GLboolean __GLEW_EXT_shader_texture_lod = GL_FALSE;
  3311. GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
  3312. GLboolean __GLEW_EXT_shadow_samplers = GL_FALSE;
  3313. GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
  3314. GLboolean __GLEW_EXT_sparse_texture = GL_FALSE;
  3315. GLboolean __GLEW_EXT_sparse_texture2 = GL_FALSE;
  3316. GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
  3317. GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
  3318. GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
  3319. GLboolean __GLEW_EXT_subtexture = GL_FALSE;
  3320. GLboolean __GLEW_EXT_texture = GL_FALSE;
  3321. GLboolean __GLEW_EXT_texture3D = GL_FALSE;
  3322. GLboolean __GLEW_EXT_texture_array = GL_FALSE;
  3323. GLboolean __GLEW_EXT_texture_buffer_object = GL_FALSE;
  3324. GLboolean __GLEW_EXT_texture_compression_astc_decode_mode = GL_FALSE;
  3325. GLboolean __GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5 = GL_FALSE;
  3326. GLboolean __GLEW_EXT_texture_compression_bptc = GL_FALSE;
  3327. GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
  3328. GLboolean __GLEW_EXT_texture_compression_latc = GL_FALSE;
  3329. GLboolean __GLEW_EXT_texture_compression_rgtc = GL_FALSE;
  3330. GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
  3331. GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
  3332. GLboolean __GLEW_EXT_texture_cube_map_array = GL_FALSE;
  3333. GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
  3334. GLboolean __GLEW_EXT_texture_env = GL_FALSE;
  3335. GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
  3336. GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
  3337. GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
  3338. GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
  3339. GLboolean __GLEW_EXT_texture_filter_minmax = GL_FALSE;
  3340. GLboolean __GLEW_EXT_texture_format_BGRA8888 = GL_FALSE;
  3341. GLboolean __GLEW_EXT_texture_integer = GL_FALSE;
  3342. GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
  3343. GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
  3344. GLboolean __GLEW_EXT_texture_norm16 = GL_FALSE;
  3345. GLboolean __GLEW_EXT_texture_object = GL_FALSE;
  3346. GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
  3347. GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
  3348. GLboolean __GLEW_EXT_texture_rg = GL_FALSE;
  3349. GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
  3350. GLboolean __GLEW_EXT_texture_sRGB_R8 = GL_FALSE;
  3351. GLboolean __GLEW_EXT_texture_sRGB_RG8 = GL_FALSE;
  3352. GLboolean __GLEW_EXT_texture_sRGB_decode = GL_FALSE;
  3353. GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;
  3354. GLboolean __GLEW_EXT_texture_snorm = GL_FALSE;
  3355. GLboolean __GLEW_EXT_texture_storage = GL_FALSE;
  3356. GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;
  3357. GLboolean __GLEW_EXT_texture_type_2_10_10_10_REV = GL_FALSE;
  3358. GLboolean __GLEW_EXT_texture_view = GL_FALSE;
  3359. GLboolean __GLEW_EXT_timer_query = GL_FALSE;
  3360. GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;
  3361. GLboolean __GLEW_EXT_unpack_subimage = GL_FALSE;
  3362. GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
  3363. GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;
  3364. GLboolean __GLEW_EXT_vertex_array_setXXX = GL_FALSE;
  3365. GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE;
  3366. GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
  3367. GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
  3368. GLboolean __GLEW_EXT_win32_keyed_mutex = GL_FALSE;
  3369. GLboolean __GLEW_EXT_window_rectangles = GL_FALSE;
  3370. GLboolean __GLEW_EXT_x11_sync_object = GL_FALSE;
  3371. GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;
  3372. GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
  3373. GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
  3374. GLboolean __GLEW_HP_image_transform = GL_FALSE;
  3375. GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
  3376. GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
  3377. GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
  3378. GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
  3379. GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
  3380. GLboolean __GLEW_IBM_static_data = GL_FALSE;
  3381. GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
  3382. GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
  3383. GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
  3384. GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
  3385. GLboolean __GLEW_INTEL_conservative_rasterization = GL_FALSE;
  3386. GLboolean __GLEW_INTEL_fragment_shader_ordering = GL_FALSE;
  3387. GLboolean __GLEW_INTEL_framebuffer_CMAA = GL_FALSE;
  3388. GLboolean __GLEW_INTEL_map_texture = GL_FALSE;
  3389. GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
  3390. GLboolean __GLEW_INTEL_performance_query = GL_FALSE;
  3391. GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
  3392. GLboolean __GLEW_KHR_blend_equation_advanced = GL_FALSE;
  3393. GLboolean __GLEW_KHR_blend_equation_advanced_coherent = GL_FALSE;
  3394. GLboolean __GLEW_KHR_context_flush_control = GL_FALSE;
  3395. GLboolean __GLEW_KHR_debug = GL_FALSE;
  3396. GLboolean __GLEW_KHR_no_error = GL_FALSE;
  3397. GLboolean __GLEW_KHR_parallel_shader_compile = GL_FALSE;
  3398. GLboolean __GLEW_KHR_robust_buffer_access_behavior = GL_FALSE;
  3399. GLboolean __GLEW_KHR_robustness = GL_FALSE;
  3400. GLboolean __GLEW_KHR_texture_compression_astc_hdr = GL_FALSE;
  3401. GLboolean __GLEW_KHR_texture_compression_astc_ldr = GL_FALSE;
  3402. GLboolean __GLEW_KHR_texture_compression_astc_sliced_3d = GL_FALSE;
  3403. GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
  3404. GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
  3405. GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
  3406. GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
  3407. GLboolean __GLEW_MESA_shader_integer_functions = GL_FALSE;
  3408. GLboolean __GLEW_MESA_window_pos = GL_FALSE;
  3409. GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
  3410. GLboolean __GLEW_NVX_blend_equation_advanced_multi_draw_buffers = GL_FALSE;
  3411. GLboolean __GLEW_NVX_conditional_render = GL_FALSE;
  3412. GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE;
  3413. GLboolean __GLEW_NVX_linked_gpu_multicast = GL_FALSE;
  3414. GLboolean __GLEW_NV_3dvision_settings = GL_FALSE;
  3415. GLboolean __GLEW_NV_EGL_stream_consumer_external = GL_FALSE;
  3416. GLboolean __GLEW_NV_alpha_to_coverage_dither_control = GL_FALSE;
  3417. GLboolean __GLEW_NV_bgr = GL_FALSE;
  3418. GLboolean __GLEW_NV_bindless_multi_draw_indirect = GL_FALSE;
  3419. GLboolean __GLEW_NV_bindless_multi_draw_indirect_count = GL_FALSE;
  3420. GLboolean __GLEW_NV_bindless_texture = GL_FALSE;
  3421. GLboolean __GLEW_NV_blend_equation_advanced = GL_FALSE;
  3422. GLboolean __GLEW_NV_blend_equation_advanced_coherent = GL_FALSE;
  3423. GLboolean __GLEW_NV_blend_minmax_factor = GL_FALSE;
  3424. GLboolean __GLEW_NV_blend_square = GL_FALSE;
  3425. GLboolean __GLEW_NV_clip_space_w_scaling = GL_FALSE;
  3426. GLboolean __GLEW_NV_command_list = GL_FALSE;
  3427. GLboolean __GLEW_NV_compute_program5 = GL_FALSE;
  3428. GLboolean __GLEW_NV_conditional_render = GL_FALSE;
  3429. GLboolean __GLEW_NV_conservative_raster = GL_FALSE;
  3430. GLboolean __GLEW_NV_conservative_raster_dilate = GL_FALSE;
  3431. GLboolean __GLEW_NV_conservative_raster_pre_snap_triangles = GL_FALSE;
  3432. GLboolean __GLEW_NV_copy_buffer = GL_FALSE;
  3433. GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
  3434. GLboolean __GLEW_NV_copy_image = GL_FALSE;
  3435. GLboolean __GLEW_NV_deep_texture3D = GL_FALSE;
  3436. GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;
  3437. GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
  3438. GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;
  3439. GLboolean __GLEW_NV_draw_buffers = GL_FALSE;
  3440. GLboolean __GLEW_NV_draw_instanced = GL_FALSE;
  3441. GLboolean __GLEW_NV_draw_texture = GL_FALSE;
  3442. GLboolean __GLEW_NV_draw_vulkan_image = GL_FALSE;
  3443. GLboolean __GLEW_NV_evaluators = GL_FALSE;
  3444. GLboolean __GLEW_NV_explicit_attrib_location = GL_FALSE;
  3445. GLboolean __GLEW_NV_explicit_multisample = GL_FALSE;
  3446. GLboolean __GLEW_NV_fbo_color_attachments = GL_FALSE;
  3447. GLboolean __GLEW_NV_fence = GL_FALSE;
  3448. GLboolean __GLEW_NV_fill_rectangle = GL_FALSE;
  3449. GLboolean __GLEW_NV_float_buffer = GL_FALSE;
  3450. GLboolean __GLEW_NV_fog_distance = GL_FALSE;
  3451. GLboolean __GLEW_NV_fragment_coverage_to_color = GL_FALSE;
  3452. GLboolean __GLEW_NV_fragment_program = GL_FALSE;
  3453. GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
  3454. GLboolean __GLEW_NV_fragment_program4 = GL_FALSE;
  3455. GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
  3456. GLboolean __GLEW_NV_fragment_shader_interlock = GL_FALSE;
  3457. GLboolean __GLEW_NV_framebuffer_blit = GL_FALSE;
  3458. GLboolean __GLEW_NV_framebuffer_mixed_samples = GL_FALSE;
  3459. GLboolean __GLEW_NV_framebuffer_multisample = GL_FALSE;
  3460. GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE;
  3461. GLboolean __GLEW_NV_generate_mipmap_sRGB = GL_FALSE;
  3462. GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
  3463. GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
  3464. GLboolean __GLEW_NV_geometry_shader_passthrough = GL_FALSE;
  3465. GLboolean __GLEW_NV_gpu_multicast = GL_FALSE;
  3466. GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
  3467. GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
  3468. GLboolean __GLEW_NV_gpu_program5_mem_extended = GL_FALSE;
  3469. GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE;
  3470. GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE;
  3471. GLboolean __GLEW_NV_half_float = GL_FALSE;
  3472. GLboolean __GLEW_NV_image_formats = GL_FALSE;
  3473. GLboolean __GLEW_NV_instanced_arrays = GL_FALSE;
  3474. GLboolean __GLEW_NV_internalformat_sample_query = GL_FALSE;
  3475. GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
  3476. GLboolean __GLEW_NV_multisample_coverage = GL_FALSE;
  3477. GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
  3478. GLboolean __GLEW_NV_non_square_matrices = GL_FALSE;
  3479. GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
  3480. GLboolean __GLEW_NV_pack_subimage = GL_FALSE;
  3481. GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
  3482. GLboolean __GLEW_NV_packed_float = GL_FALSE;
  3483. GLboolean __GLEW_NV_packed_float_linear = GL_FALSE;
  3484. GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;
  3485. GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE;
  3486. GLboolean __GLEW_NV_path_rendering = GL_FALSE;
  3487. GLboolean __GLEW_NV_path_rendering_shared_edge = GL_FALSE;
  3488. GLboolean __GLEW_NV_pixel_buffer_object = GL_FALSE;
  3489. GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
  3490. GLboolean __GLEW_NV_platform_binary = GL_FALSE;
  3491. GLboolean __GLEW_NV_point_sprite = GL_FALSE;
  3492. GLboolean __GLEW_NV_polygon_mode = GL_FALSE;
  3493. GLboolean __GLEW_NV_present_video = GL_FALSE;
  3494. GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
  3495. GLboolean __GLEW_NV_read_depth = GL_FALSE;
  3496. GLboolean __GLEW_NV_read_depth_stencil = GL_FALSE;
  3497. GLboolean __GLEW_NV_read_stencil = GL_FALSE;
  3498. GLboolean __GLEW_NV_register_combiners = GL_FALSE;
  3499. GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
  3500. GLboolean __GLEW_NV_robustness_video_memory_purge = GL_FALSE;
  3501. GLboolean __GLEW_NV_sRGB_formats = GL_FALSE;
  3502. GLboolean __GLEW_NV_sample_locations = GL_FALSE;
  3503. GLboolean __GLEW_NV_sample_mask_override_coverage = GL_FALSE;
  3504. GLboolean __GLEW_NV_shader_atomic_counters = GL_FALSE;
  3505. GLboolean __GLEW_NV_shader_atomic_float = GL_FALSE;
  3506. GLboolean __GLEW_NV_shader_atomic_float64 = GL_FALSE;
  3507. GLboolean __GLEW_NV_shader_atomic_fp16_vector = GL_FALSE;
  3508. GLboolean __GLEW_NV_shader_atomic_int64 = GL_FALSE;
  3509. GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE;
  3510. GLboolean __GLEW_NV_shader_noperspective_interpolation = GL_FALSE;
  3511. GLboolean __GLEW_NV_shader_storage_buffer_object = GL_FALSE;
  3512. GLboolean __GLEW_NV_shader_thread_group = GL_FALSE;
  3513. GLboolean __GLEW_NV_shader_thread_shuffle = GL_FALSE;
  3514. GLboolean __GLEW_NV_shadow_samplers_array = GL_FALSE;
  3515. GLboolean __GLEW_NV_shadow_samplers_cube = GL_FALSE;
  3516. GLboolean __GLEW_NV_stereo_view_rendering = GL_FALSE;
  3517. GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE;
  3518. GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
  3519. GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
  3520. GLboolean __GLEW_NV_texture_array = GL_FALSE;
  3521. GLboolean __GLEW_NV_texture_barrier = GL_FALSE;
  3522. GLboolean __GLEW_NV_texture_border_clamp = GL_FALSE;
  3523. GLboolean __GLEW_NV_texture_compression_latc = GL_FALSE;
  3524. GLboolean __GLEW_NV_texture_compression_s3tc = GL_FALSE;
  3525. GLboolean __GLEW_NV_texture_compression_s3tc_update = GL_FALSE;
  3526. GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
  3527. GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
  3528. GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
  3529. GLboolean __GLEW_NV_texture_multisample = GL_FALSE;
  3530. GLboolean __GLEW_NV_texture_npot_2D_mipmap = GL_FALSE;
  3531. GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
  3532. GLboolean __GLEW_NV_texture_rectangle_compressed = GL_FALSE;
  3533. GLboolean __GLEW_NV_texture_shader = GL_FALSE;
  3534. GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
  3535. GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
  3536. GLboolean __GLEW_NV_transform_feedback = GL_FALSE;
  3537. GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE;
  3538. GLboolean __GLEW_NV_uniform_buffer_unified_memory = GL_FALSE;
  3539. GLboolean __GLEW_NV_vdpau_interop = GL_FALSE;
  3540. GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
  3541. GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
  3542. GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE;
  3543. GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE;
  3544. GLboolean __GLEW_NV_vertex_program = GL_FALSE;
  3545. GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
  3546. GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
  3547. GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
  3548. GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
  3549. GLboolean __GLEW_NV_vertex_program4 = GL_FALSE;
  3550. GLboolean __GLEW_NV_video_capture = GL_FALSE;
  3551. GLboolean __GLEW_NV_viewport_array = GL_FALSE;
  3552. GLboolean __GLEW_NV_viewport_array2 = GL_FALSE;
  3553. GLboolean __GLEW_NV_viewport_swizzle = GL_FALSE;
  3554. GLboolean __GLEW_OES_byte_coordinates = GL_FALSE;
  3555. GLboolean __GLEW_OML_interlace = GL_FALSE;
  3556. GLboolean __GLEW_OML_resample = GL_FALSE;
  3557. GLboolean __GLEW_OML_subsample = GL_FALSE;
  3558. GLboolean __GLEW_OVR_multiview = GL_FALSE;
  3559. GLboolean __GLEW_OVR_multiview2 = GL_FALSE;
  3560. GLboolean __GLEW_OVR_multiview_multisampled_render_to_texture = GL_FALSE;
  3561. GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
  3562. GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
  3563. GLboolean __GLEW_QCOM_alpha_test = GL_FALSE;
  3564. GLboolean __GLEW_QCOM_binning_control = GL_FALSE;
  3565. GLboolean __GLEW_QCOM_driver_control = GL_FALSE;
  3566. GLboolean __GLEW_QCOM_extended_get = GL_FALSE;
  3567. GLboolean __GLEW_QCOM_extended_get2 = GL_FALSE;
  3568. GLboolean __GLEW_QCOM_framebuffer_foveated = GL_FALSE;
  3569. GLboolean __GLEW_QCOM_perfmon_global_mode = GL_FALSE;
  3570. GLboolean __GLEW_QCOM_shader_framebuffer_fetch_noncoherent = GL_FALSE;
  3571. GLboolean __GLEW_QCOM_tiled_rendering = GL_FALSE;
  3572. GLboolean __GLEW_QCOM_writeonly_rendering = GL_FALSE;
  3573. GLboolean __GLEW_REGAL_ES1_0_compatibility = GL_FALSE;
  3574. GLboolean __GLEW_REGAL_ES1_1_compatibility = GL_FALSE;
  3575. GLboolean __GLEW_REGAL_enable = GL_FALSE;
  3576. GLboolean __GLEW_REGAL_error_string = GL_FALSE;
  3577. GLboolean __GLEW_REGAL_extension_query = GL_FALSE;
  3578. GLboolean __GLEW_REGAL_log = GL_FALSE;
  3579. GLboolean __GLEW_REGAL_proc_address = GL_FALSE;
  3580. GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
  3581. GLboolean __GLEW_S3_s3tc = GL_FALSE;
  3582. GLboolean __GLEW_SGIS_clip_band_hint = GL_FALSE;
  3583. GLboolean __GLEW_SGIS_color_range = GL_FALSE;
  3584. GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
  3585. GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
  3586. GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
  3587. GLboolean __GLEW_SGIS_line_texgen = GL_FALSE;
  3588. GLboolean __GLEW_SGIS_multisample = GL_FALSE;
  3589. GLboolean __GLEW_SGIS_multitexture = GL_FALSE;
  3590. GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
  3591. GLboolean __GLEW_SGIS_point_line_texgen = GL_FALSE;
  3592. GLboolean __GLEW_SGIS_shared_multisample = GL_FALSE;
  3593. GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
  3594. GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
  3595. GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
  3596. GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
  3597. GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
  3598. GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
  3599. GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
  3600. GLboolean __GLEW_SGIX_async = GL_FALSE;
  3601. GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
  3602. GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
  3603. GLboolean __GLEW_SGIX_bali_g_instruments = GL_FALSE;
  3604. GLboolean __GLEW_SGIX_bali_r_instruments = GL_FALSE;
  3605. GLboolean __GLEW_SGIX_bali_timer_instruments = GL_FALSE;
  3606. GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
  3607. GLboolean __GLEW_SGIX_blend_cadd = GL_FALSE;
  3608. GLboolean __GLEW_SGIX_blend_cmultiply = GL_FALSE;
  3609. GLboolean __GLEW_SGIX_calligraphic_fragment = GL_FALSE;
  3610. GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
  3611. GLboolean __GLEW_SGIX_color_matrix_accuracy = GL_FALSE;
  3612. GLboolean __GLEW_SGIX_color_table_index_mode = GL_FALSE;
  3613. GLboolean __GLEW_SGIX_complex_polar = GL_FALSE;
  3614. GLboolean __GLEW_SGIX_convolution_accuracy = GL_FALSE;
  3615. GLboolean __GLEW_SGIX_cube_map = GL_FALSE;
  3616. GLboolean __GLEW_SGIX_cylinder_texgen = GL_FALSE;
  3617. GLboolean __GLEW_SGIX_datapipe = GL_FALSE;
  3618. GLboolean __GLEW_SGIX_decimation = GL_FALSE;
  3619. GLboolean __GLEW_SGIX_depth_pass_instrument = GL_FALSE;
  3620. GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
  3621. GLboolean __GLEW_SGIX_dvc = GL_FALSE;
  3622. GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
  3623. GLboolean __GLEW_SGIX_fog_blend = GL_FALSE;
  3624. GLboolean __GLEW_SGIX_fog_factor_to_alpha = GL_FALSE;
  3625. GLboolean __GLEW_SGIX_fog_layers = GL_FALSE;
  3626. GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
  3627. GLboolean __GLEW_SGIX_fog_patchy = GL_FALSE;
  3628. GLboolean __GLEW_SGIX_fog_scale = GL_FALSE;
  3629. GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
  3630. GLboolean __GLEW_SGIX_fragment_lighting_space = GL_FALSE;
  3631. GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
  3632. GLboolean __GLEW_SGIX_fragments_instrument = GL_FALSE;
  3633. GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
  3634. GLboolean __GLEW_SGIX_icc_texture = GL_FALSE;
  3635. GLboolean __GLEW_SGIX_igloo_interface = GL_FALSE;
  3636. GLboolean __GLEW_SGIX_image_compression = GL_FALSE;
  3637. GLboolean __GLEW_SGIX_impact_pixel_texture = GL_FALSE;
  3638. GLboolean __GLEW_SGIX_instrument_error = GL_FALSE;
  3639. GLboolean __GLEW_SGIX_interlace = GL_FALSE;
  3640. GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
  3641. GLboolean __GLEW_SGIX_line_quality_hint = GL_FALSE;
  3642. GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
  3643. GLboolean __GLEW_SGIX_mpeg1 = GL_FALSE;
  3644. GLboolean __GLEW_SGIX_mpeg2 = GL_FALSE;
  3645. GLboolean __GLEW_SGIX_nonlinear_lighting_pervertex = GL_FALSE;
  3646. GLboolean __GLEW_SGIX_nurbs_eval = GL_FALSE;
  3647. GLboolean __GLEW_SGIX_occlusion_instrument = GL_FALSE;
  3648. GLboolean __GLEW_SGIX_packed_6bytes = GL_FALSE;
  3649. GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
  3650. GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
  3651. GLboolean __GLEW_SGIX_pixel_texture_lod = GL_FALSE;
  3652. GLboolean __GLEW_SGIX_pixel_tiles = GL_FALSE;
  3653. GLboolean __GLEW_SGIX_polynomial_ffd = GL_FALSE;
  3654. GLboolean __GLEW_SGIX_quad_mesh = GL_FALSE;
  3655. GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
  3656. GLboolean __GLEW_SGIX_resample = GL_FALSE;
  3657. GLboolean __GLEW_SGIX_scalebias_hint = GL_FALSE;
  3658. GLboolean __GLEW_SGIX_shadow = GL_FALSE;
  3659. GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
  3660. GLboolean __GLEW_SGIX_slim = GL_FALSE;
  3661. GLboolean __GLEW_SGIX_spotlight_cutoff = GL_FALSE;
  3662. GLboolean __GLEW_SGIX_sprite = GL_FALSE;
  3663. GLboolean __GLEW_SGIX_subdiv_patch = GL_FALSE;
  3664. GLboolean __GLEW_SGIX_subsample = GL_FALSE;
  3665. GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
  3666. GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
  3667. GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
  3668. GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
  3669. GLboolean __GLEW_SGIX_texture_mipmap_anisotropic = GL_FALSE;
  3670. GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
  3671. GLboolean __GLEW_SGIX_texture_phase = GL_FALSE;
  3672. GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
  3673. GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
  3674. GLboolean __GLEW_SGIX_texture_supersample = GL_FALSE;
  3675. GLboolean __GLEW_SGIX_vector_ops = GL_FALSE;
  3676. GLboolean __GLEW_SGIX_vertex_array_object = GL_FALSE;
  3677. GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
  3678. GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
  3679. GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
  3680. GLboolean __GLEW_SGIX_ycrcb_subsample = GL_FALSE;
  3681. GLboolean __GLEW_SGIX_ycrcba = GL_FALSE;
  3682. GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
  3683. GLboolean __GLEW_SGI_color_table = GL_FALSE;
  3684. GLboolean __GLEW_SGI_complex = GL_FALSE;
  3685. GLboolean __GLEW_SGI_complex_type = GL_FALSE;
  3686. GLboolean __GLEW_SGI_fft = GL_FALSE;
  3687. GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
  3688. GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
  3689. GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
  3690. GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
  3691. GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
  3692. GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
  3693. GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
  3694. GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
  3695. GLboolean __GLEW_SUN_vertex = GL_FALSE;
  3696. GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
  3697. GLboolean __GLEW_WIN_scene_markerXXX = GL_FALSE;
  3698. GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
  3699. GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
  3700. static const char * _glewExtensionLookup[] = {
  3701. #ifdef GL_VERSION_1_2
  3702. "GL_VERSION_1_2",
  3703. #endif
  3704. #ifdef GL_VERSION_1_2_1
  3705. "GL_VERSION_1_2_1",
  3706. #endif
  3707. #ifdef GL_VERSION_1_3
  3708. "GL_VERSION_1_3",
  3709. #endif
  3710. #ifdef GL_VERSION_1_4
  3711. "GL_VERSION_1_4",
  3712. #endif
  3713. #ifdef GL_VERSION_1_5
  3714. "GL_VERSION_1_5",
  3715. #endif
  3716. #ifdef GL_VERSION_2_0
  3717. "GL_VERSION_2_0",
  3718. #endif
  3719. #ifdef GL_VERSION_2_1
  3720. "GL_VERSION_2_1",
  3721. #endif
  3722. #ifdef GL_VERSION_3_0
  3723. "GL_VERSION_3_0",
  3724. #endif
  3725. #ifdef GL_VERSION_3_1
  3726. "GL_VERSION_3_1",
  3727. #endif
  3728. #ifdef GL_VERSION_3_2
  3729. "GL_VERSION_3_2",
  3730. #endif
  3731. #ifdef GL_VERSION_3_3
  3732. "GL_VERSION_3_3",
  3733. #endif
  3734. #ifdef GL_VERSION_4_0
  3735. "GL_VERSION_4_0",
  3736. #endif
  3737. #ifdef GL_VERSION_4_1
  3738. "GL_VERSION_4_1",
  3739. #endif
  3740. #ifdef GL_VERSION_4_2
  3741. "GL_VERSION_4_2",
  3742. #endif
  3743. #ifdef GL_VERSION_4_3
  3744. "GL_VERSION_4_3",
  3745. #endif
  3746. #ifdef GL_VERSION_4_4
  3747. "GL_VERSION_4_4",
  3748. #endif
  3749. #ifdef GL_VERSION_4_5
  3750. "GL_VERSION_4_5",
  3751. #endif
  3752. #ifdef GL_VERSION_4_6
  3753. "GL_VERSION_4_6",
  3754. #endif
  3755. #ifdef GL_3DFX_multisample
  3756. "GL_3DFX_multisample",
  3757. #endif
  3758. #ifdef GL_3DFX_tbuffer
  3759. "GL_3DFX_tbuffer",
  3760. #endif
  3761. #ifdef GL_3DFX_texture_compression_FXT1
  3762. "GL_3DFX_texture_compression_FXT1",
  3763. #endif
  3764. #ifdef GL_AMD_blend_minmax_factor
  3765. "GL_AMD_blend_minmax_factor",
  3766. #endif
  3767. #ifdef GL_AMD_compressed_3DC_texture
  3768. "GL_AMD_compressed_3DC_texture",
  3769. #endif
  3770. #ifdef GL_AMD_compressed_ATC_texture
  3771. "GL_AMD_compressed_ATC_texture",
  3772. #endif
  3773. #ifdef GL_AMD_conservative_depth
  3774. "GL_AMD_conservative_depth",
  3775. #endif
  3776. #ifdef GL_AMD_debug_output
  3777. "GL_AMD_debug_output",
  3778. #endif
  3779. #ifdef GL_AMD_depth_clamp_separate
  3780. "GL_AMD_depth_clamp_separate",
  3781. #endif
  3782. #ifdef GL_AMD_draw_buffers_blend
  3783. "GL_AMD_draw_buffers_blend",
  3784. #endif
  3785. #ifdef GL_AMD_framebuffer_sample_positions
  3786. "GL_AMD_framebuffer_sample_positions",
  3787. #endif
  3788. #ifdef GL_AMD_gcn_shader
  3789. "GL_AMD_gcn_shader",
  3790. #endif
  3791. #ifdef GL_AMD_gpu_shader_half_float
  3792. "GL_AMD_gpu_shader_half_float",
  3793. #endif
  3794. #ifdef GL_AMD_gpu_shader_int16
  3795. "GL_AMD_gpu_shader_int16",
  3796. #endif
  3797. #ifdef GL_AMD_gpu_shader_int64
  3798. "GL_AMD_gpu_shader_int64",
  3799. #endif
  3800. #ifdef GL_AMD_interleaved_elements
  3801. "GL_AMD_interleaved_elements",
  3802. #endif
  3803. #ifdef GL_AMD_multi_draw_indirect
  3804. "GL_AMD_multi_draw_indirect",
  3805. #endif
  3806. #ifdef GL_AMD_name_gen_delete
  3807. "GL_AMD_name_gen_delete",
  3808. #endif
  3809. #ifdef GL_AMD_occlusion_query_event
  3810. "GL_AMD_occlusion_query_event",
  3811. #endif
  3812. #ifdef GL_AMD_performance_monitor
  3813. "GL_AMD_performance_monitor",
  3814. #endif
  3815. #ifdef GL_AMD_pinned_memory
  3816. "GL_AMD_pinned_memory",
  3817. #endif
  3818. #ifdef GL_AMD_program_binary_Z400
  3819. "GL_AMD_program_binary_Z400",
  3820. #endif
  3821. #ifdef GL_AMD_query_buffer_object
  3822. "GL_AMD_query_buffer_object",
  3823. #endif
  3824. #ifdef GL_AMD_sample_positions
  3825. "GL_AMD_sample_positions",
  3826. #endif
  3827. #ifdef GL_AMD_seamless_cubemap_per_texture
  3828. "GL_AMD_seamless_cubemap_per_texture",
  3829. #endif
  3830. #ifdef GL_AMD_shader_atomic_counter_ops
  3831. "GL_AMD_shader_atomic_counter_ops",
  3832. #endif
  3833. #ifdef GL_AMD_shader_ballot
  3834. "GL_AMD_shader_ballot",
  3835. #endif
  3836. #ifdef GL_AMD_shader_explicit_vertex_parameter
  3837. "GL_AMD_shader_explicit_vertex_parameter",
  3838. #endif
  3839. #ifdef GL_AMD_shader_stencil_export
  3840. "GL_AMD_shader_stencil_export",
  3841. #endif
  3842. #ifdef GL_AMD_shader_stencil_value_export
  3843. "GL_AMD_shader_stencil_value_export",
  3844. #endif
  3845. #ifdef GL_AMD_shader_trinary_minmax
  3846. "GL_AMD_shader_trinary_minmax",
  3847. #endif
  3848. #ifdef GL_AMD_sparse_texture
  3849. "GL_AMD_sparse_texture",
  3850. #endif
  3851. #ifdef GL_AMD_stencil_operation_extended
  3852. "GL_AMD_stencil_operation_extended",
  3853. #endif
  3854. #ifdef GL_AMD_texture_gather_bias_lod
  3855. "GL_AMD_texture_gather_bias_lod",
  3856. #endif
  3857. #ifdef GL_AMD_texture_texture4
  3858. "GL_AMD_texture_texture4",
  3859. #endif
  3860. #ifdef GL_AMD_transform_feedback3_lines_triangles
  3861. "GL_AMD_transform_feedback3_lines_triangles",
  3862. #endif
  3863. #ifdef GL_AMD_transform_feedback4
  3864. "GL_AMD_transform_feedback4",
  3865. #endif
  3866. #ifdef GL_AMD_vertex_shader_layer
  3867. "GL_AMD_vertex_shader_layer",
  3868. #endif
  3869. #ifdef GL_AMD_vertex_shader_tessellator
  3870. "GL_AMD_vertex_shader_tessellator",
  3871. #endif
  3872. #ifdef GL_AMD_vertex_shader_viewport_index
  3873. "GL_AMD_vertex_shader_viewport_index",
  3874. #endif
  3875. #ifdef GL_ANDROID_extension_pack_es31a
  3876. "GL_ANDROID_extension_pack_es31a",
  3877. #endif
  3878. #ifdef GL_ANGLE_depth_texture
  3879. "GL_ANGLE_depth_texture",
  3880. #endif
  3881. #ifdef GL_ANGLE_framebuffer_blit
  3882. "GL_ANGLE_framebuffer_blit",
  3883. #endif
  3884. #ifdef GL_ANGLE_framebuffer_multisample
  3885. "GL_ANGLE_framebuffer_multisample",
  3886. #endif
  3887. #ifdef GL_ANGLE_instanced_arrays
  3888. "GL_ANGLE_instanced_arrays",
  3889. #endif
  3890. #ifdef GL_ANGLE_pack_reverse_row_order
  3891. "GL_ANGLE_pack_reverse_row_order",
  3892. #endif
  3893. #ifdef GL_ANGLE_program_binary
  3894. "GL_ANGLE_program_binary",
  3895. #endif
  3896. #ifdef GL_ANGLE_texture_compression_dxt1
  3897. "GL_ANGLE_texture_compression_dxt1",
  3898. #endif
  3899. #ifdef GL_ANGLE_texture_compression_dxt3
  3900. "GL_ANGLE_texture_compression_dxt3",
  3901. #endif
  3902. #ifdef GL_ANGLE_texture_compression_dxt5
  3903. "GL_ANGLE_texture_compression_dxt5",
  3904. #endif
  3905. #ifdef GL_ANGLE_texture_usage
  3906. "GL_ANGLE_texture_usage",
  3907. #endif
  3908. #ifdef GL_ANGLE_timer_query
  3909. "GL_ANGLE_timer_query",
  3910. #endif
  3911. #ifdef GL_ANGLE_translated_shader_source
  3912. "GL_ANGLE_translated_shader_source",
  3913. #endif
  3914. #ifdef GL_APPLE_aux_depth_stencil
  3915. "GL_APPLE_aux_depth_stencil",
  3916. #endif
  3917. #ifdef GL_APPLE_client_storage
  3918. "GL_APPLE_client_storage",
  3919. #endif
  3920. #ifdef GL_APPLE_clip_distance
  3921. "GL_APPLE_clip_distance",
  3922. #endif
  3923. #ifdef GL_APPLE_color_buffer_packed_float
  3924. "GL_APPLE_color_buffer_packed_float",
  3925. #endif
  3926. #ifdef GL_APPLE_copy_texture_levels
  3927. "GL_APPLE_copy_texture_levels",
  3928. #endif
  3929. #ifdef GL_APPLE_element_array
  3930. "GL_APPLE_element_array",
  3931. #endif
  3932. #ifdef GL_APPLE_fence
  3933. "GL_APPLE_fence",
  3934. #endif
  3935. #ifdef GL_APPLE_float_pixels
  3936. "GL_APPLE_float_pixels",
  3937. #endif
  3938. #ifdef GL_APPLE_flush_buffer_range
  3939. "GL_APPLE_flush_buffer_range",
  3940. #endif
  3941. #ifdef GL_APPLE_framebuffer_multisample
  3942. "GL_APPLE_framebuffer_multisample",
  3943. #endif
  3944. #ifdef GL_APPLE_object_purgeable
  3945. "GL_APPLE_object_purgeable",
  3946. #endif
  3947. #ifdef GL_APPLE_pixel_buffer
  3948. "GL_APPLE_pixel_buffer",
  3949. #endif
  3950. #ifdef GL_APPLE_rgb_422
  3951. "GL_APPLE_rgb_422",
  3952. #endif
  3953. #ifdef GL_APPLE_row_bytes
  3954. "GL_APPLE_row_bytes",
  3955. #endif
  3956. #ifdef GL_APPLE_specular_vector
  3957. "GL_APPLE_specular_vector",
  3958. #endif
  3959. #ifdef GL_APPLE_sync
  3960. "GL_APPLE_sync",
  3961. #endif
  3962. #ifdef GL_APPLE_texture_2D_limited_npot
  3963. "GL_APPLE_texture_2D_limited_npot",
  3964. #endif
  3965. #ifdef GL_APPLE_texture_format_BGRA8888
  3966. "GL_APPLE_texture_format_BGRA8888",
  3967. #endif
  3968. #ifdef GL_APPLE_texture_max_level
  3969. "GL_APPLE_texture_max_level",
  3970. #endif
  3971. #ifdef GL_APPLE_texture_packed_float
  3972. "GL_APPLE_texture_packed_float",
  3973. #endif
  3974. #ifdef GL_APPLE_texture_range
  3975. "GL_APPLE_texture_range",
  3976. #endif
  3977. #ifdef GL_APPLE_transform_hint
  3978. "GL_APPLE_transform_hint",
  3979. #endif
  3980. #ifdef GL_APPLE_vertex_array_object
  3981. "GL_APPLE_vertex_array_object",
  3982. #endif
  3983. #ifdef GL_APPLE_vertex_array_range
  3984. "GL_APPLE_vertex_array_range",
  3985. #endif
  3986. #ifdef GL_APPLE_vertex_program_evaluators
  3987. "GL_APPLE_vertex_program_evaluators",
  3988. #endif
  3989. #ifdef GL_APPLE_ycbcr_422
  3990. "GL_APPLE_ycbcr_422",
  3991. #endif
  3992. #ifdef GL_ARB_ES2_compatibility
  3993. "GL_ARB_ES2_compatibility",
  3994. #endif
  3995. #ifdef GL_ARB_ES3_1_compatibility
  3996. "GL_ARB_ES3_1_compatibility",
  3997. #endif
  3998. #ifdef GL_ARB_ES3_2_compatibility
  3999. "GL_ARB_ES3_2_compatibility",
  4000. #endif
  4001. #ifdef GL_ARB_ES3_compatibility
  4002. "GL_ARB_ES3_compatibility",
  4003. #endif
  4004. #ifdef GL_ARB_arrays_of_arrays
  4005. "GL_ARB_arrays_of_arrays",
  4006. #endif
  4007. #ifdef GL_ARB_base_instance
  4008. "GL_ARB_base_instance",
  4009. #endif
  4010. #ifdef GL_ARB_bindless_texture
  4011. "GL_ARB_bindless_texture",
  4012. #endif
  4013. #ifdef GL_ARB_blend_func_extended
  4014. "GL_ARB_blend_func_extended",
  4015. #endif
  4016. #ifdef GL_ARB_buffer_storage
  4017. "GL_ARB_buffer_storage",
  4018. #endif
  4019. #ifdef GL_ARB_cl_event
  4020. "GL_ARB_cl_event",
  4021. #endif
  4022. #ifdef GL_ARB_clear_buffer_object
  4023. "GL_ARB_clear_buffer_object",
  4024. #endif
  4025. #ifdef GL_ARB_clear_texture
  4026. "GL_ARB_clear_texture",
  4027. #endif
  4028. #ifdef GL_ARB_clip_control
  4029. "GL_ARB_clip_control",
  4030. #endif
  4031. #ifdef GL_ARB_color_buffer_float
  4032. "GL_ARB_color_buffer_float",
  4033. #endif
  4034. #ifdef GL_ARB_compatibility
  4035. "GL_ARB_compatibility",
  4036. #endif
  4037. #ifdef GL_ARB_compressed_texture_pixel_storage
  4038. "GL_ARB_compressed_texture_pixel_storage",
  4039. #endif
  4040. #ifdef GL_ARB_compute_shader
  4041. "GL_ARB_compute_shader",
  4042. #endif
  4043. #ifdef GL_ARB_compute_variable_group_size
  4044. "GL_ARB_compute_variable_group_size",
  4045. #endif
  4046. #ifdef GL_ARB_conditional_render_inverted
  4047. "GL_ARB_conditional_render_inverted",
  4048. #endif
  4049. #ifdef GL_ARB_conservative_depth
  4050. "GL_ARB_conservative_depth",
  4051. #endif
  4052. #ifdef GL_ARB_copy_buffer
  4053. "GL_ARB_copy_buffer",
  4054. #endif
  4055. #ifdef GL_ARB_copy_image
  4056. "GL_ARB_copy_image",
  4057. #endif
  4058. #ifdef GL_ARB_cull_distance
  4059. "GL_ARB_cull_distance",
  4060. #endif
  4061. #ifdef GL_ARB_debug_output
  4062. "GL_ARB_debug_output",
  4063. #endif
  4064. #ifdef GL_ARB_depth_buffer_float
  4065. "GL_ARB_depth_buffer_float",
  4066. #endif
  4067. #ifdef GL_ARB_depth_clamp
  4068. "GL_ARB_depth_clamp",
  4069. #endif
  4070. #ifdef GL_ARB_depth_texture
  4071. "GL_ARB_depth_texture",
  4072. #endif
  4073. #ifdef GL_ARB_derivative_control
  4074. "GL_ARB_derivative_control",
  4075. #endif
  4076. #ifdef GL_ARB_direct_state_access
  4077. "GL_ARB_direct_state_access",
  4078. #endif
  4079. #ifdef GL_ARB_draw_buffers
  4080. "GL_ARB_draw_buffers",
  4081. #endif
  4082. #ifdef GL_ARB_draw_buffers_blend
  4083. "GL_ARB_draw_buffers_blend",
  4084. #endif
  4085. #ifdef GL_ARB_draw_elements_base_vertex
  4086. "GL_ARB_draw_elements_base_vertex",
  4087. #endif
  4088. #ifdef GL_ARB_draw_indirect
  4089. "GL_ARB_draw_indirect",
  4090. #endif
  4091. #ifdef GL_ARB_draw_instanced
  4092. "GL_ARB_draw_instanced",
  4093. #endif
  4094. #ifdef GL_ARB_enhanced_layouts
  4095. "GL_ARB_enhanced_layouts",
  4096. #endif
  4097. #ifdef GL_ARB_explicit_attrib_location
  4098. "GL_ARB_explicit_attrib_location",
  4099. #endif
  4100. #ifdef GL_ARB_explicit_uniform_location
  4101. "GL_ARB_explicit_uniform_location",
  4102. #endif
  4103. #ifdef GL_ARB_fragment_coord_conventions
  4104. "GL_ARB_fragment_coord_conventions",
  4105. #endif
  4106. #ifdef GL_ARB_fragment_layer_viewport
  4107. "GL_ARB_fragment_layer_viewport",
  4108. #endif
  4109. #ifdef GL_ARB_fragment_program
  4110. "GL_ARB_fragment_program",
  4111. #endif
  4112. #ifdef GL_ARB_fragment_program_shadow
  4113. "GL_ARB_fragment_program_shadow",
  4114. #endif
  4115. #ifdef GL_ARB_fragment_shader
  4116. "GL_ARB_fragment_shader",
  4117. #endif
  4118. #ifdef GL_ARB_fragment_shader_interlock
  4119. "GL_ARB_fragment_shader_interlock",
  4120. #endif
  4121. #ifdef GL_ARB_framebuffer_no_attachments
  4122. "GL_ARB_framebuffer_no_attachments",
  4123. #endif
  4124. #ifdef GL_ARB_framebuffer_object
  4125. "GL_ARB_framebuffer_object",
  4126. #endif
  4127. #ifdef GL_ARB_framebuffer_sRGB
  4128. "GL_ARB_framebuffer_sRGB",
  4129. #endif
  4130. #ifdef GL_ARB_geometry_shader4
  4131. "GL_ARB_geometry_shader4",
  4132. #endif
  4133. #ifdef GL_ARB_get_program_binary
  4134. "GL_ARB_get_program_binary",
  4135. #endif
  4136. #ifdef GL_ARB_get_texture_sub_image
  4137. "GL_ARB_get_texture_sub_image",
  4138. #endif
  4139. #ifdef GL_ARB_gl_spirv
  4140. "GL_ARB_gl_spirv",
  4141. #endif
  4142. #ifdef GL_ARB_gpu_shader5
  4143. "GL_ARB_gpu_shader5",
  4144. #endif
  4145. #ifdef GL_ARB_gpu_shader_fp64
  4146. "GL_ARB_gpu_shader_fp64",
  4147. #endif
  4148. #ifdef GL_ARB_gpu_shader_int64
  4149. "GL_ARB_gpu_shader_int64",
  4150. #endif
  4151. #ifdef GL_ARB_half_float_pixel
  4152. "GL_ARB_half_float_pixel",
  4153. #endif
  4154. #ifdef GL_ARB_half_float_vertex
  4155. "GL_ARB_half_float_vertex",
  4156. #endif
  4157. #ifdef GL_ARB_imaging
  4158. "GL_ARB_imaging",
  4159. #endif
  4160. #ifdef GL_ARB_indirect_parameters
  4161. "GL_ARB_indirect_parameters",
  4162. #endif
  4163. #ifdef GL_ARB_instanced_arrays
  4164. "GL_ARB_instanced_arrays",
  4165. #endif
  4166. #ifdef GL_ARB_internalformat_query
  4167. "GL_ARB_internalformat_query",
  4168. #endif
  4169. #ifdef GL_ARB_internalformat_query2
  4170. "GL_ARB_internalformat_query2",
  4171. #endif
  4172. #ifdef GL_ARB_invalidate_subdata
  4173. "GL_ARB_invalidate_subdata",
  4174. #endif
  4175. #ifdef GL_ARB_map_buffer_alignment
  4176. "GL_ARB_map_buffer_alignment",
  4177. #endif
  4178. #ifdef GL_ARB_map_buffer_range
  4179. "GL_ARB_map_buffer_range",
  4180. #endif
  4181. #ifdef GL_ARB_matrix_palette
  4182. "GL_ARB_matrix_palette",
  4183. #endif
  4184. #ifdef GL_ARB_multi_bind
  4185. "GL_ARB_multi_bind",
  4186. #endif
  4187. #ifdef GL_ARB_multi_draw_indirect
  4188. "GL_ARB_multi_draw_indirect",
  4189. #endif
  4190. #ifdef GL_ARB_multisample
  4191. "GL_ARB_multisample",
  4192. #endif
  4193. #ifdef GL_ARB_multitexture
  4194. "GL_ARB_multitexture",
  4195. #endif
  4196. #ifdef GL_ARB_occlusion_query
  4197. "GL_ARB_occlusion_query",
  4198. #endif
  4199. #ifdef GL_ARB_occlusion_query2
  4200. "GL_ARB_occlusion_query2",
  4201. #endif
  4202. #ifdef GL_ARB_parallel_shader_compile
  4203. "GL_ARB_parallel_shader_compile",
  4204. #endif
  4205. #ifdef GL_ARB_pipeline_statistics_query
  4206. "GL_ARB_pipeline_statistics_query",
  4207. #endif
  4208. #ifdef GL_ARB_pixel_buffer_object
  4209. "GL_ARB_pixel_buffer_object",
  4210. #endif
  4211. #ifdef GL_ARB_point_parameters
  4212. "GL_ARB_point_parameters",
  4213. #endif
  4214. #ifdef GL_ARB_point_sprite
  4215. "GL_ARB_point_sprite",
  4216. #endif
  4217. #ifdef GL_ARB_polygon_offset_clamp
  4218. "GL_ARB_polygon_offset_clamp",
  4219. #endif
  4220. #ifdef GL_ARB_post_depth_coverage
  4221. "GL_ARB_post_depth_coverage",
  4222. #endif
  4223. #ifdef GL_ARB_program_interface_query
  4224. "GL_ARB_program_interface_query",
  4225. #endif
  4226. #ifdef GL_ARB_provoking_vertex
  4227. "GL_ARB_provoking_vertex",
  4228. #endif
  4229. #ifdef GL_ARB_query_buffer_object
  4230. "GL_ARB_query_buffer_object",
  4231. #endif
  4232. #ifdef GL_ARB_robust_buffer_access_behavior
  4233. "GL_ARB_robust_buffer_access_behavior",
  4234. #endif
  4235. #ifdef GL_ARB_robustness
  4236. "GL_ARB_robustness",
  4237. #endif
  4238. #ifdef GL_ARB_robustness_application_isolation
  4239. "GL_ARB_robustness_application_isolation",
  4240. #endif
  4241. #ifdef GL_ARB_robustness_share_group_isolation
  4242. "GL_ARB_robustness_share_group_isolation",
  4243. #endif
  4244. #ifdef GL_ARB_sample_locations
  4245. "GL_ARB_sample_locations",
  4246. #endif
  4247. #ifdef GL_ARB_sample_shading
  4248. "GL_ARB_sample_shading",
  4249. #endif
  4250. #ifdef GL_ARB_sampler_objects
  4251. "GL_ARB_sampler_objects",
  4252. #endif
  4253. #ifdef GL_ARB_seamless_cube_map
  4254. "GL_ARB_seamless_cube_map",
  4255. #endif
  4256. #ifdef GL_ARB_seamless_cubemap_per_texture
  4257. "GL_ARB_seamless_cubemap_per_texture",
  4258. #endif
  4259. #ifdef GL_ARB_separate_shader_objects
  4260. "GL_ARB_separate_shader_objects",
  4261. #endif
  4262. #ifdef GL_ARB_shader_atomic_counter_ops
  4263. "GL_ARB_shader_atomic_counter_ops",
  4264. #endif
  4265. #ifdef GL_ARB_shader_atomic_counters
  4266. "GL_ARB_shader_atomic_counters",
  4267. #endif
  4268. #ifdef GL_ARB_shader_ballot
  4269. "GL_ARB_shader_ballot",
  4270. #endif
  4271. #ifdef GL_ARB_shader_bit_encoding
  4272. "GL_ARB_shader_bit_encoding",
  4273. #endif
  4274. #ifdef GL_ARB_shader_clock
  4275. "GL_ARB_shader_clock",
  4276. #endif
  4277. #ifdef GL_ARB_shader_draw_parameters
  4278. "GL_ARB_shader_draw_parameters",
  4279. #endif
  4280. #ifdef GL_ARB_shader_group_vote
  4281. "GL_ARB_shader_group_vote",
  4282. #endif
  4283. #ifdef GL_ARB_shader_image_load_store
  4284. "GL_ARB_shader_image_load_store",
  4285. #endif
  4286. #ifdef GL_ARB_shader_image_size
  4287. "GL_ARB_shader_image_size",
  4288. #endif
  4289. #ifdef GL_ARB_shader_objects
  4290. "GL_ARB_shader_objects",
  4291. #endif
  4292. #ifdef GL_ARB_shader_precision
  4293. "GL_ARB_shader_precision",
  4294. #endif
  4295. #ifdef GL_ARB_shader_stencil_export
  4296. "GL_ARB_shader_stencil_export",
  4297. #endif
  4298. #ifdef GL_ARB_shader_storage_buffer_object
  4299. "GL_ARB_shader_storage_buffer_object",
  4300. #endif
  4301. #ifdef GL_ARB_shader_subroutine
  4302. "GL_ARB_shader_subroutine",
  4303. #endif
  4304. #ifdef GL_ARB_shader_texture_image_samples
  4305. "GL_ARB_shader_texture_image_samples",
  4306. #endif
  4307. #ifdef GL_ARB_shader_texture_lod
  4308. "GL_ARB_shader_texture_lod",
  4309. #endif
  4310. #ifdef GL_ARB_shader_viewport_layer_array
  4311. "GL_ARB_shader_viewport_layer_array",
  4312. #endif
  4313. #ifdef GL_ARB_shading_language_100
  4314. "GL_ARB_shading_language_100",
  4315. #endif
  4316. #ifdef GL_ARB_shading_language_420pack
  4317. "GL_ARB_shading_language_420pack",
  4318. #endif
  4319. #ifdef GL_ARB_shading_language_include
  4320. "GL_ARB_shading_language_include",
  4321. #endif
  4322. #ifdef GL_ARB_shading_language_packing
  4323. "GL_ARB_shading_language_packing",
  4324. #endif
  4325. #ifdef GL_ARB_shadow
  4326. "GL_ARB_shadow",
  4327. #endif
  4328. #ifdef GL_ARB_shadow_ambient
  4329. "GL_ARB_shadow_ambient",
  4330. #endif
  4331. #ifdef GL_ARB_sparse_buffer
  4332. "GL_ARB_sparse_buffer",
  4333. #endif
  4334. #ifdef GL_ARB_sparse_texture
  4335. "GL_ARB_sparse_texture",
  4336. #endif
  4337. #ifdef GL_ARB_sparse_texture2
  4338. "GL_ARB_sparse_texture2",
  4339. #endif
  4340. #ifdef GL_ARB_sparse_texture_clamp
  4341. "GL_ARB_sparse_texture_clamp",
  4342. #endif
  4343. #ifdef GL_ARB_spirv_extensions
  4344. "GL_ARB_spirv_extensions",
  4345. #endif
  4346. #ifdef GL_ARB_stencil_texturing
  4347. "GL_ARB_stencil_texturing",
  4348. #endif
  4349. #ifdef GL_ARB_sync
  4350. "GL_ARB_sync",
  4351. #endif
  4352. #ifdef GL_ARB_tessellation_shader
  4353. "GL_ARB_tessellation_shader",
  4354. #endif
  4355. #ifdef GL_ARB_texture_barrier
  4356. "GL_ARB_texture_barrier",
  4357. #endif
  4358. #ifdef GL_ARB_texture_border_clamp
  4359. "GL_ARB_texture_border_clamp",
  4360. #endif
  4361. #ifdef GL_ARB_texture_buffer_object
  4362. "GL_ARB_texture_buffer_object",
  4363. #endif
  4364. #ifdef GL_ARB_texture_buffer_object_rgb32
  4365. "GL_ARB_texture_buffer_object_rgb32",
  4366. #endif
  4367. #ifdef GL_ARB_texture_buffer_range
  4368. "GL_ARB_texture_buffer_range",
  4369. #endif
  4370. #ifdef GL_ARB_texture_compression
  4371. "GL_ARB_texture_compression",
  4372. #endif
  4373. #ifdef GL_ARB_texture_compression_bptc
  4374. "GL_ARB_texture_compression_bptc",
  4375. #endif
  4376. #ifdef GL_ARB_texture_compression_rgtc
  4377. "GL_ARB_texture_compression_rgtc",
  4378. #endif
  4379. #ifdef GL_ARB_texture_cube_map
  4380. "GL_ARB_texture_cube_map",
  4381. #endif
  4382. #ifdef GL_ARB_texture_cube_map_array
  4383. "GL_ARB_texture_cube_map_array",
  4384. #endif
  4385. #ifdef GL_ARB_texture_env_add
  4386. "GL_ARB_texture_env_add",
  4387. #endif
  4388. #ifdef GL_ARB_texture_env_combine
  4389. "GL_ARB_texture_env_combine",
  4390. #endif
  4391. #ifdef GL_ARB_texture_env_crossbar
  4392. "GL_ARB_texture_env_crossbar",
  4393. #endif
  4394. #ifdef GL_ARB_texture_env_dot3
  4395. "GL_ARB_texture_env_dot3",
  4396. #endif
  4397. #ifdef GL_ARB_texture_filter_anisotropic
  4398. "GL_ARB_texture_filter_anisotropic",
  4399. #endif
  4400. #ifdef GL_ARB_texture_filter_minmax
  4401. "GL_ARB_texture_filter_minmax",
  4402. #endif
  4403. #ifdef GL_ARB_texture_float
  4404. "GL_ARB_texture_float",
  4405. #endif
  4406. #ifdef GL_ARB_texture_gather
  4407. "GL_ARB_texture_gather",
  4408. #endif
  4409. #ifdef GL_ARB_texture_mirror_clamp_to_edge
  4410. "GL_ARB_texture_mirror_clamp_to_edge",
  4411. #endif
  4412. #ifdef GL_ARB_texture_mirrored_repeat
  4413. "GL_ARB_texture_mirrored_repeat",
  4414. #endif
  4415. #ifdef GL_ARB_texture_multisample
  4416. "GL_ARB_texture_multisample",
  4417. #endif
  4418. #ifdef GL_ARB_texture_non_power_of_two
  4419. "GL_ARB_texture_non_power_of_two",
  4420. #endif
  4421. #ifdef GL_ARB_texture_query_levels
  4422. "GL_ARB_texture_query_levels",
  4423. #endif
  4424. #ifdef GL_ARB_texture_query_lod
  4425. "GL_ARB_texture_query_lod",
  4426. #endif
  4427. #ifdef GL_ARB_texture_rectangle
  4428. "GL_ARB_texture_rectangle",
  4429. #endif
  4430. #ifdef GL_ARB_texture_rg
  4431. "GL_ARB_texture_rg",
  4432. #endif
  4433. #ifdef GL_ARB_texture_rgb10_a2ui
  4434. "GL_ARB_texture_rgb10_a2ui",
  4435. #endif
  4436. #ifdef GL_ARB_texture_stencil8
  4437. "GL_ARB_texture_stencil8",
  4438. #endif
  4439. #ifdef GL_ARB_texture_storage
  4440. "GL_ARB_texture_storage",
  4441. #endif
  4442. #ifdef GL_ARB_texture_storage_multisample
  4443. "GL_ARB_texture_storage_multisample",
  4444. #endif
  4445. #ifdef GL_ARB_texture_swizzle
  4446. "GL_ARB_texture_swizzle",
  4447. #endif
  4448. #ifdef GL_ARB_texture_view
  4449. "GL_ARB_texture_view",
  4450. #endif
  4451. #ifdef GL_ARB_timer_query
  4452. "GL_ARB_timer_query",
  4453. #endif
  4454. #ifdef GL_ARB_transform_feedback2
  4455. "GL_ARB_transform_feedback2",
  4456. #endif
  4457. #ifdef GL_ARB_transform_feedback3
  4458. "GL_ARB_transform_feedback3",
  4459. #endif
  4460. #ifdef GL_ARB_transform_feedback_instanced
  4461. "GL_ARB_transform_feedback_instanced",
  4462. #endif
  4463. #ifdef GL_ARB_transform_feedback_overflow_query
  4464. "GL_ARB_transform_feedback_overflow_query",
  4465. #endif
  4466. #ifdef GL_ARB_transpose_matrix
  4467. "GL_ARB_transpose_matrix",
  4468. #endif
  4469. #ifdef GL_ARB_uniform_buffer_object
  4470. "GL_ARB_uniform_buffer_object",
  4471. #endif
  4472. #ifdef GL_ARB_vertex_array_bgra
  4473. "GL_ARB_vertex_array_bgra",
  4474. #endif
  4475. #ifdef GL_ARB_vertex_array_object
  4476. "GL_ARB_vertex_array_object",
  4477. #endif
  4478. #ifdef GL_ARB_vertex_attrib_64bit
  4479. "GL_ARB_vertex_attrib_64bit",
  4480. #endif
  4481. #ifdef GL_ARB_vertex_attrib_binding
  4482. "GL_ARB_vertex_attrib_binding",
  4483. #endif
  4484. #ifdef GL_ARB_vertex_blend
  4485. "GL_ARB_vertex_blend",
  4486. #endif
  4487. #ifdef GL_ARB_vertex_buffer_object
  4488. "GL_ARB_vertex_buffer_object",
  4489. #endif
  4490. #ifdef GL_ARB_vertex_program
  4491. "GL_ARB_vertex_program",
  4492. #endif
  4493. #ifdef GL_ARB_vertex_shader
  4494. "GL_ARB_vertex_shader",
  4495. #endif
  4496. #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
  4497. "GL_ARB_vertex_type_10f_11f_11f_rev",
  4498. #endif
  4499. #ifdef GL_ARB_vertex_type_2_10_10_10_rev
  4500. "GL_ARB_vertex_type_2_10_10_10_rev",
  4501. #endif
  4502. #ifdef GL_ARB_viewport_array
  4503. "GL_ARB_viewport_array",
  4504. #endif
  4505. #ifdef GL_ARB_window_pos
  4506. "GL_ARB_window_pos",
  4507. #endif
  4508. #ifdef GL_ARM_mali_program_binary
  4509. "GL_ARM_mali_program_binary",
  4510. #endif
  4511. #ifdef GL_ARM_mali_shader_binary
  4512. "GL_ARM_mali_shader_binary",
  4513. #endif
  4514. #ifdef GL_ARM_rgba8
  4515. "GL_ARM_rgba8",
  4516. #endif
  4517. #ifdef GL_ARM_shader_framebuffer_fetch
  4518. "GL_ARM_shader_framebuffer_fetch",
  4519. #endif
  4520. #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
  4521. "GL_ARM_shader_framebuffer_fetch_depth_stencil",
  4522. #endif
  4523. #ifdef GL_ATIX_point_sprites
  4524. "GL_ATIX_point_sprites",
  4525. #endif
  4526. #ifdef GL_ATIX_texture_env_combine3
  4527. "GL_ATIX_texture_env_combine3",
  4528. #endif
  4529. #ifdef GL_ATIX_texture_env_route
  4530. "GL_ATIX_texture_env_route",
  4531. #endif
  4532. #ifdef GL_ATIX_vertex_shader_output_point_size
  4533. "GL_ATIX_vertex_shader_output_point_size",
  4534. #endif
  4535. #ifdef GL_ATI_draw_buffers
  4536. "GL_ATI_draw_buffers",
  4537. #endif
  4538. #ifdef GL_ATI_element_array
  4539. "GL_ATI_element_array",
  4540. #endif
  4541. #ifdef GL_ATI_envmap_bumpmap
  4542. "GL_ATI_envmap_bumpmap",
  4543. #endif
  4544. #ifdef GL_ATI_fragment_shader
  4545. "GL_ATI_fragment_shader",
  4546. #endif
  4547. #ifdef GL_ATI_map_object_buffer
  4548. "GL_ATI_map_object_buffer",
  4549. #endif
  4550. #ifdef GL_ATI_meminfo
  4551. "GL_ATI_meminfo",
  4552. #endif
  4553. #ifdef GL_ATI_pn_triangles
  4554. "GL_ATI_pn_triangles",
  4555. #endif
  4556. #ifdef GL_ATI_separate_stencil
  4557. "GL_ATI_separate_stencil",
  4558. #endif
  4559. #ifdef GL_ATI_shader_texture_lod
  4560. "GL_ATI_shader_texture_lod",
  4561. #endif
  4562. #ifdef GL_ATI_text_fragment_shader
  4563. "GL_ATI_text_fragment_shader",
  4564. #endif
  4565. #ifdef GL_ATI_texture_compression_3dc
  4566. "GL_ATI_texture_compression_3dc",
  4567. #endif
  4568. #ifdef GL_ATI_texture_env_combine3
  4569. "GL_ATI_texture_env_combine3",
  4570. #endif
  4571. #ifdef GL_ATI_texture_float
  4572. "GL_ATI_texture_float",
  4573. #endif
  4574. #ifdef GL_ATI_texture_mirror_once
  4575. "GL_ATI_texture_mirror_once",
  4576. #endif
  4577. #ifdef GL_ATI_vertex_array_object
  4578. "GL_ATI_vertex_array_object",
  4579. #endif
  4580. #ifdef GL_ATI_vertex_attrib_array_object
  4581. "GL_ATI_vertex_attrib_array_object",
  4582. #endif
  4583. #ifdef GL_ATI_vertex_streams
  4584. "GL_ATI_vertex_streams",
  4585. #endif
  4586. #ifdef GL_EGL_KHR_context_flush_control
  4587. "GL_EGL_KHR_context_flush_control",
  4588. #endif
  4589. #ifdef GL_EGL_NV_robustness_video_memory_purge
  4590. "GL_EGL_NV_robustness_video_memory_purge",
  4591. #endif
  4592. #ifdef GL_EXT_422_pixels
  4593. "GL_EXT_422_pixels",
  4594. #endif
  4595. #ifdef GL_EXT_Cg_shader
  4596. "GL_EXT_Cg_shader",
  4597. #endif
  4598. #ifdef GL_EXT_EGL_image_array
  4599. "GL_EXT_EGL_image_array",
  4600. #endif
  4601. #ifdef GL_EXT_YUV_target
  4602. "GL_EXT_YUV_target",
  4603. #endif
  4604. #ifdef GL_EXT_abgr
  4605. "GL_EXT_abgr",
  4606. #endif
  4607. #ifdef GL_EXT_base_instance
  4608. "GL_EXT_base_instance",
  4609. #endif
  4610. #ifdef GL_EXT_bgra
  4611. "GL_EXT_bgra",
  4612. #endif
  4613. #ifdef GL_EXT_bindable_uniform
  4614. "GL_EXT_bindable_uniform",
  4615. #endif
  4616. #ifdef GL_EXT_blend_color
  4617. "GL_EXT_blend_color",
  4618. #endif
  4619. #ifdef GL_EXT_blend_equation_separate
  4620. "GL_EXT_blend_equation_separate",
  4621. #endif
  4622. #ifdef GL_EXT_blend_func_extended
  4623. "GL_EXT_blend_func_extended",
  4624. #endif
  4625. #ifdef GL_EXT_blend_func_separate
  4626. "GL_EXT_blend_func_separate",
  4627. #endif
  4628. #ifdef GL_EXT_blend_logic_op
  4629. "GL_EXT_blend_logic_op",
  4630. #endif
  4631. #ifdef GL_EXT_blend_minmax
  4632. "GL_EXT_blend_minmax",
  4633. #endif
  4634. #ifdef GL_EXT_blend_subtract
  4635. "GL_EXT_blend_subtract",
  4636. #endif
  4637. #ifdef GL_EXT_buffer_storage
  4638. "GL_EXT_buffer_storage",
  4639. #endif
  4640. #ifdef GL_EXT_clear_texture
  4641. "GL_EXT_clear_texture",
  4642. #endif
  4643. #ifdef GL_EXT_clip_cull_distance
  4644. "GL_EXT_clip_cull_distance",
  4645. #endif
  4646. #ifdef GL_EXT_clip_volume_hint
  4647. "GL_EXT_clip_volume_hint",
  4648. #endif
  4649. #ifdef GL_EXT_cmyka
  4650. "GL_EXT_cmyka",
  4651. #endif
  4652. #ifdef GL_EXT_color_buffer_float
  4653. "GL_EXT_color_buffer_float",
  4654. #endif
  4655. #ifdef GL_EXT_color_buffer_half_float
  4656. "GL_EXT_color_buffer_half_float",
  4657. #endif
  4658. #ifdef GL_EXT_color_subtable
  4659. "GL_EXT_color_subtable",
  4660. #endif
  4661. #ifdef GL_EXT_compiled_vertex_array
  4662. "GL_EXT_compiled_vertex_array",
  4663. #endif
  4664. #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
  4665. "GL_EXT_compressed_ETC1_RGB8_sub_texture",
  4666. #endif
  4667. #ifdef GL_EXT_conservative_depth
  4668. "GL_EXT_conservative_depth",
  4669. #endif
  4670. #ifdef GL_EXT_convolution
  4671. "GL_EXT_convolution",
  4672. #endif
  4673. #ifdef GL_EXT_coordinate_frame
  4674. "GL_EXT_coordinate_frame",
  4675. #endif
  4676. #ifdef GL_EXT_copy_image
  4677. "GL_EXT_copy_image",
  4678. #endif
  4679. #ifdef GL_EXT_copy_texture
  4680. "GL_EXT_copy_texture",
  4681. #endif
  4682. #ifdef GL_EXT_cull_vertex
  4683. "GL_EXT_cull_vertex",
  4684. #endif
  4685. #ifdef GL_EXT_debug_label
  4686. "GL_EXT_debug_label",
  4687. #endif
  4688. #ifdef GL_EXT_debug_marker
  4689. "GL_EXT_debug_marker",
  4690. #endif
  4691. #ifdef GL_EXT_depth_bounds_test
  4692. "GL_EXT_depth_bounds_test",
  4693. #endif
  4694. #ifdef GL_EXT_direct_state_access
  4695. "GL_EXT_direct_state_access",
  4696. #endif
  4697. #ifdef GL_EXT_discard_framebuffer
  4698. "GL_EXT_discard_framebuffer",
  4699. #endif
  4700. #ifdef GL_EXT_draw_buffers
  4701. "GL_EXT_draw_buffers",
  4702. #endif
  4703. #ifdef GL_EXT_draw_buffers2
  4704. "GL_EXT_draw_buffers2",
  4705. #endif
  4706. #ifdef GL_EXT_draw_buffers_indexed
  4707. "GL_EXT_draw_buffers_indexed",
  4708. #endif
  4709. #ifdef GL_EXT_draw_elements_base_vertex
  4710. "GL_EXT_draw_elements_base_vertex",
  4711. #endif
  4712. #ifdef GL_EXT_draw_instanced
  4713. "GL_EXT_draw_instanced",
  4714. #endif
  4715. #ifdef GL_EXT_draw_range_elements
  4716. "GL_EXT_draw_range_elements",
  4717. #endif
  4718. #ifdef GL_EXT_external_buffer
  4719. "GL_EXT_external_buffer",
  4720. #endif
  4721. #ifdef GL_EXT_float_blend
  4722. "GL_EXT_float_blend",
  4723. #endif
  4724. #ifdef GL_EXT_fog_coord
  4725. "GL_EXT_fog_coord",
  4726. #endif
  4727. #ifdef GL_EXT_frag_depth
  4728. "GL_EXT_frag_depth",
  4729. #endif
  4730. #ifdef GL_EXT_fragment_lighting
  4731. "GL_EXT_fragment_lighting",
  4732. #endif
  4733. #ifdef GL_EXT_framebuffer_blit
  4734. "GL_EXT_framebuffer_blit",
  4735. #endif
  4736. #ifdef GL_EXT_framebuffer_multisample
  4737. "GL_EXT_framebuffer_multisample",
  4738. #endif
  4739. #ifdef GL_EXT_framebuffer_multisample_blit_scaled
  4740. "GL_EXT_framebuffer_multisample_blit_scaled",
  4741. #endif
  4742. #ifdef GL_EXT_framebuffer_object
  4743. "GL_EXT_framebuffer_object",
  4744. #endif
  4745. #ifdef GL_EXT_framebuffer_sRGB
  4746. "GL_EXT_framebuffer_sRGB",
  4747. #endif
  4748. #ifdef GL_EXT_geometry_point_size
  4749. "GL_EXT_geometry_point_size",
  4750. #endif
  4751. #ifdef GL_EXT_geometry_shader
  4752. "GL_EXT_geometry_shader",
  4753. #endif
  4754. #ifdef GL_EXT_geometry_shader4
  4755. "GL_EXT_geometry_shader4",
  4756. #endif
  4757. #ifdef GL_EXT_gpu_program_parameters
  4758. "GL_EXT_gpu_program_parameters",
  4759. #endif
  4760. #ifdef GL_EXT_gpu_shader4
  4761. "GL_EXT_gpu_shader4",
  4762. #endif
  4763. #ifdef GL_EXT_gpu_shader5
  4764. "GL_EXT_gpu_shader5",
  4765. #endif
  4766. #ifdef GL_EXT_histogram
  4767. "GL_EXT_histogram",
  4768. #endif
  4769. #ifdef GL_EXT_index_array_formats
  4770. "GL_EXT_index_array_formats",
  4771. #endif
  4772. #ifdef GL_EXT_index_func
  4773. "GL_EXT_index_func",
  4774. #endif
  4775. #ifdef GL_EXT_index_material
  4776. "GL_EXT_index_material",
  4777. #endif
  4778. #ifdef GL_EXT_index_texture
  4779. "GL_EXT_index_texture",
  4780. #endif
  4781. #ifdef GL_EXT_instanced_arrays
  4782. "GL_EXT_instanced_arrays",
  4783. #endif
  4784. #ifdef GL_EXT_light_texture
  4785. "GL_EXT_light_texture",
  4786. #endif
  4787. #ifdef GL_EXT_map_buffer_range
  4788. "GL_EXT_map_buffer_range",
  4789. #endif
  4790. #ifdef GL_EXT_memory_object
  4791. "GL_EXT_memory_object",
  4792. #endif
  4793. #ifdef GL_EXT_memory_object_fd
  4794. "GL_EXT_memory_object_fd",
  4795. #endif
  4796. #ifdef GL_EXT_memory_object_win32
  4797. "GL_EXT_memory_object_win32",
  4798. #endif
  4799. #ifdef GL_EXT_misc_attribute
  4800. "GL_EXT_misc_attribute",
  4801. #endif
  4802. #ifdef GL_EXT_multi_draw_arrays
  4803. "GL_EXT_multi_draw_arrays",
  4804. #endif
  4805. #ifdef GL_EXT_multi_draw_indirect
  4806. "GL_EXT_multi_draw_indirect",
  4807. #endif
  4808. #ifdef GL_EXT_multiple_textures
  4809. "GL_EXT_multiple_textures",
  4810. #endif
  4811. #ifdef GL_EXT_multisample
  4812. "GL_EXT_multisample",
  4813. #endif
  4814. #ifdef GL_EXT_multisample_compatibility
  4815. "GL_EXT_multisample_compatibility",
  4816. #endif
  4817. #ifdef GL_EXT_multisampled_render_to_texture
  4818. "GL_EXT_multisampled_render_to_texture",
  4819. #endif
  4820. #ifdef GL_EXT_multisampled_render_to_texture2
  4821. "GL_EXT_multisampled_render_to_texture2",
  4822. #endif
  4823. #ifdef GL_EXT_multiview_draw_buffers
  4824. "GL_EXT_multiview_draw_buffers",
  4825. #endif
  4826. #ifdef GL_EXT_packed_depth_stencil
  4827. "GL_EXT_packed_depth_stencil",
  4828. #endif
  4829. #ifdef GL_EXT_packed_float
  4830. "GL_EXT_packed_float",
  4831. #endif
  4832. #ifdef GL_EXT_packed_pixels
  4833. "GL_EXT_packed_pixels",
  4834. #endif
  4835. #ifdef GL_EXT_paletted_texture
  4836. "GL_EXT_paletted_texture",
  4837. #endif
  4838. #ifdef GL_EXT_pixel_buffer_object
  4839. "GL_EXT_pixel_buffer_object",
  4840. #endif
  4841. #ifdef GL_EXT_pixel_transform
  4842. "GL_EXT_pixel_transform",
  4843. #endif
  4844. #ifdef GL_EXT_pixel_transform_color_table
  4845. "GL_EXT_pixel_transform_color_table",
  4846. #endif
  4847. #ifdef GL_EXT_point_parameters
  4848. "GL_EXT_point_parameters",
  4849. #endif
  4850. #ifdef GL_EXT_polygon_offset
  4851. "GL_EXT_polygon_offset",
  4852. #endif
  4853. #ifdef GL_EXT_polygon_offset_clamp
  4854. "GL_EXT_polygon_offset_clamp",
  4855. #endif
  4856. #ifdef GL_EXT_post_depth_coverage
  4857. "GL_EXT_post_depth_coverage",
  4858. #endif
  4859. #ifdef GL_EXT_provoking_vertex
  4860. "GL_EXT_provoking_vertex",
  4861. #endif
  4862. #ifdef GL_EXT_pvrtc_sRGB
  4863. "GL_EXT_pvrtc_sRGB",
  4864. #endif
  4865. #ifdef GL_EXT_raster_multisample
  4866. "GL_EXT_raster_multisample",
  4867. #endif
  4868. #ifdef GL_EXT_read_format_bgra
  4869. "GL_EXT_read_format_bgra",
  4870. #endif
  4871. #ifdef GL_EXT_render_snorm
  4872. "GL_EXT_render_snorm",
  4873. #endif
  4874. #ifdef GL_EXT_rescale_normal
  4875. "GL_EXT_rescale_normal",
  4876. #endif
  4877. #ifdef GL_EXT_sRGB
  4878. "GL_EXT_sRGB",
  4879. #endif
  4880. #ifdef GL_EXT_sRGB_write_control
  4881. "GL_EXT_sRGB_write_control",
  4882. #endif
  4883. #ifdef GL_EXT_scene_marker
  4884. "GL_EXT_scene_marker",
  4885. #endif
  4886. #ifdef GL_EXT_secondary_color
  4887. "GL_EXT_secondary_color",
  4888. #endif
  4889. #ifdef GL_EXT_semaphore
  4890. "GL_EXT_semaphore",
  4891. #endif
  4892. #ifdef GL_EXT_semaphore_fd
  4893. "GL_EXT_semaphore_fd",
  4894. #endif
  4895. #ifdef GL_EXT_semaphore_win32
  4896. "GL_EXT_semaphore_win32",
  4897. #endif
  4898. #ifdef GL_EXT_separate_shader_objects
  4899. "GL_EXT_separate_shader_objects",
  4900. #endif
  4901. #ifdef GL_EXT_separate_specular_color
  4902. "GL_EXT_separate_specular_color",
  4903. #endif
  4904. #ifdef GL_EXT_shader_framebuffer_fetch
  4905. "GL_EXT_shader_framebuffer_fetch",
  4906. #endif
  4907. #ifdef GL_EXT_shader_group_vote
  4908. "GL_EXT_shader_group_vote",
  4909. #endif
  4910. #ifdef GL_EXT_shader_image_load_formatted
  4911. "GL_EXT_shader_image_load_formatted",
  4912. #endif
  4913. #ifdef GL_EXT_shader_image_load_store
  4914. "GL_EXT_shader_image_load_store",
  4915. #endif
  4916. #ifdef GL_EXT_shader_implicit_conversions
  4917. "GL_EXT_shader_implicit_conversions",
  4918. #endif
  4919. #ifdef GL_EXT_shader_integer_mix
  4920. "GL_EXT_shader_integer_mix",
  4921. #endif
  4922. #ifdef GL_EXT_shader_io_blocks
  4923. "GL_EXT_shader_io_blocks",
  4924. #endif
  4925. #ifdef GL_EXT_shader_non_constant_global_initializers
  4926. "GL_EXT_shader_non_constant_global_initializers",
  4927. #endif
  4928. #ifdef GL_EXT_shader_pixel_local_storage
  4929. "GL_EXT_shader_pixel_local_storage",
  4930. #endif
  4931. #ifdef GL_EXT_shader_pixel_local_storage2
  4932. "GL_EXT_shader_pixel_local_storage2",
  4933. #endif
  4934. #ifdef GL_EXT_shader_texture_lod
  4935. "GL_EXT_shader_texture_lod",
  4936. #endif
  4937. #ifdef GL_EXT_shadow_funcs
  4938. "GL_EXT_shadow_funcs",
  4939. #endif
  4940. #ifdef GL_EXT_shadow_samplers
  4941. "GL_EXT_shadow_samplers",
  4942. #endif
  4943. #ifdef GL_EXT_shared_texture_palette
  4944. "GL_EXT_shared_texture_palette",
  4945. #endif
  4946. #ifdef GL_EXT_sparse_texture
  4947. "GL_EXT_sparse_texture",
  4948. #endif
  4949. #ifdef GL_EXT_sparse_texture2
  4950. "GL_EXT_sparse_texture2",
  4951. #endif
  4952. #ifdef GL_EXT_stencil_clear_tag
  4953. "GL_EXT_stencil_clear_tag",
  4954. #endif
  4955. #ifdef GL_EXT_stencil_two_side
  4956. "GL_EXT_stencil_two_side",
  4957. #endif
  4958. #ifdef GL_EXT_stencil_wrap
  4959. "GL_EXT_stencil_wrap",
  4960. #endif
  4961. #ifdef GL_EXT_subtexture
  4962. "GL_EXT_subtexture",
  4963. #endif
  4964. #ifdef GL_EXT_texture
  4965. "GL_EXT_texture",
  4966. #endif
  4967. #ifdef GL_EXT_texture3D
  4968. "GL_EXT_texture3D",
  4969. #endif
  4970. #ifdef GL_EXT_texture_array
  4971. "GL_EXT_texture_array",
  4972. #endif
  4973. #ifdef GL_EXT_texture_buffer_object
  4974. "GL_EXT_texture_buffer_object",
  4975. #endif
  4976. #ifdef GL_EXT_texture_compression_astc_decode_mode
  4977. "GL_EXT_texture_compression_astc_decode_mode",
  4978. #endif
  4979. #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
  4980. "GL_EXT_texture_compression_astc_decode_mode_rgb9e5",
  4981. #endif
  4982. #ifdef GL_EXT_texture_compression_bptc
  4983. "GL_EXT_texture_compression_bptc",
  4984. #endif
  4985. #ifdef GL_EXT_texture_compression_dxt1
  4986. "GL_EXT_texture_compression_dxt1",
  4987. #endif
  4988. #ifdef GL_EXT_texture_compression_latc
  4989. "GL_EXT_texture_compression_latc",
  4990. #endif
  4991. #ifdef GL_EXT_texture_compression_rgtc
  4992. "GL_EXT_texture_compression_rgtc",
  4993. #endif
  4994. #ifdef GL_EXT_texture_compression_s3tc
  4995. "GL_EXT_texture_compression_s3tc",
  4996. #endif
  4997. #ifdef GL_EXT_texture_cube_map
  4998. "GL_EXT_texture_cube_map",
  4999. #endif
  5000. #ifdef GL_EXT_texture_cube_map_array
  5001. "GL_EXT_texture_cube_map_array",
  5002. #endif
  5003. #ifdef GL_EXT_texture_edge_clamp
  5004. "GL_EXT_texture_edge_clamp",
  5005. #endif
  5006. #ifdef GL_EXT_texture_env
  5007. "GL_EXT_texture_env",
  5008. #endif
  5009. #ifdef GL_EXT_texture_env_add
  5010. "GL_EXT_texture_env_add",
  5011. #endif
  5012. #ifdef GL_EXT_texture_env_combine
  5013. "GL_EXT_texture_env_combine",
  5014. #endif
  5015. #ifdef GL_EXT_texture_env_dot3
  5016. "GL_EXT_texture_env_dot3",
  5017. #endif
  5018. #ifdef GL_EXT_texture_filter_anisotropic
  5019. "GL_EXT_texture_filter_anisotropic",
  5020. #endif
  5021. #ifdef GL_EXT_texture_filter_minmax
  5022. "GL_EXT_texture_filter_minmax",
  5023. #endif
  5024. #ifdef GL_EXT_texture_format_BGRA8888
  5025. "GL_EXT_texture_format_BGRA8888",
  5026. #endif
  5027. #ifdef GL_EXT_texture_integer
  5028. "GL_EXT_texture_integer",
  5029. #endif
  5030. #ifdef GL_EXT_texture_lod_bias
  5031. "GL_EXT_texture_lod_bias",
  5032. #endif
  5033. #ifdef GL_EXT_texture_mirror_clamp
  5034. "GL_EXT_texture_mirror_clamp",
  5035. #endif
  5036. #ifdef GL_EXT_texture_norm16
  5037. "GL_EXT_texture_norm16",
  5038. #endif
  5039. #ifdef GL_EXT_texture_object
  5040. "GL_EXT_texture_object",
  5041. #endif
  5042. #ifdef GL_EXT_texture_perturb_normal
  5043. "GL_EXT_texture_perturb_normal",
  5044. #endif
  5045. #ifdef GL_EXT_texture_rectangle
  5046. "GL_EXT_texture_rectangle",
  5047. #endif
  5048. #ifdef GL_EXT_texture_rg
  5049. "GL_EXT_texture_rg",
  5050. #endif
  5051. #ifdef GL_EXT_texture_sRGB
  5052. "GL_EXT_texture_sRGB",
  5053. #endif
  5054. #ifdef GL_EXT_texture_sRGB_R8
  5055. "GL_EXT_texture_sRGB_R8",
  5056. #endif
  5057. #ifdef GL_EXT_texture_sRGB_RG8
  5058. "GL_EXT_texture_sRGB_RG8",
  5059. #endif
  5060. #ifdef GL_EXT_texture_sRGB_decode
  5061. "GL_EXT_texture_sRGB_decode",
  5062. #endif
  5063. #ifdef GL_EXT_texture_shared_exponent
  5064. "GL_EXT_texture_shared_exponent",
  5065. #endif
  5066. #ifdef GL_EXT_texture_snorm
  5067. "GL_EXT_texture_snorm",
  5068. #endif
  5069. #ifdef GL_EXT_texture_storage
  5070. "GL_EXT_texture_storage",
  5071. #endif
  5072. #ifdef GL_EXT_texture_swizzle
  5073. "GL_EXT_texture_swizzle",
  5074. #endif
  5075. #ifdef GL_EXT_texture_type_2_10_10_10_REV
  5076. "GL_EXT_texture_type_2_10_10_10_REV",
  5077. #endif
  5078. #ifdef GL_EXT_texture_view
  5079. "GL_EXT_texture_view",
  5080. #endif
  5081. #ifdef GL_EXT_timer_query
  5082. "GL_EXT_timer_query",
  5083. #endif
  5084. #ifdef GL_EXT_transform_feedback
  5085. "GL_EXT_transform_feedback",
  5086. #endif
  5087. #ifdef GL_EXT_unpack_subimage
  5088. "GL_EXT_unpack_subimage",
  5089. #endif
  5090. #ifdef GL_EXT_vertex_array
  5091. "GL_EXT_vertex_array",
  5092. #endif
  5093. #ifdef GL_EXT_vertex_array_bgra
  5094. "GL_EXT_vertex_array_bgra",
  5095. #endif
  5096. #ifdef GL_EXT_vertex_array_setXXX
  5097. "GL_EXT_vertex_array_setXXX",
  5098. #endif
  5099. #ifdef GL_EXT_vertex_attrib_64bit
  5100. "GL_EXT_vertex_attrib_64bit",
  5101. #endif
  5102. #ifdef GL_EXT_vertex_shader
  5103. "GL_EXT_vertex_shader",
  5104. #endif
  5105. #ifdef GL_EXT_vertex_weighting
  5106. "GL_EXT_vertex_weighting",
  5107. #endif
  5108. #ifdef GL_EXT_win32_keyed_mutex
  5109. "GL_EXT_win32_keyed_mutex",
  5110. #endif
  5111. #ifdef GL_EXT_window_rectangles
  5112. "GL_EXT_window_rectangles",
  5113. #endif
  5114. #ifdef GL_EXT_x11_sync_object
  5115. "GL_EXT_x11_sync_object",
  5116. #endif
  5117. #ifdef GL_GREMEDY_frame_terminator
  5118. "GL_GREMEDY_frame_terminator",
  5119. #endif
  5120. #ifdef GL_GREMEDY_string_marker
  5121. "GL_GREMEDY_string_marker",
  5122. #endif
  5123. #ifdef GL_HP_convolution_border_modes
  5124. "GL_HP_convolution_border_modes",
  5125. #endif
  5126. #ifdef GL_HP_image_transform
  5127. "GL_HP_image_transform",
  5128. #endif
  5129. #ifdef GL_HP_occlusion_test
  5130. "GL_HP_occlusion_test",
  5131. #endif
  5132. #ifdef GL_HP_texture_lighting
  5133. "GL_HP_texture_lighting",
  5134. #endif
  5135. #ifdef GL_IBM_cull_vertex
  5136. "GL_IBM_cull_vertex",
  5137. #endif
  5138. #ifdef GL_IBM_multimode_draw_arrays
  5139. "GL_IBM_multimode_draw_arrays",
  5140. #endif
  5141. #ifdef GL_IBM_rasterpos_clip
  5142. "GL_IBM_rasterpos_clip",
  5143. #endif
  5144. #ifdef GL_IBM_static_data
  5145. "GL_IBM_static_data",
  5146. #endif
  5147. #ifdef GL_IBM_texture_mirrored_repeat
  5148. "GL_IBM_texture_mirrored_repeat",
  5149. #endif
  5150. #ifdef GL_IBM_vertex_array_lists
  5151. "GL_IBM_vertex_array_lists",
  5152. #endif
  5153. #ifdef GL_INGR_color_clamp
  5154. "GL_INGR_color_clamp",
  5155. #endif
  5156. #ifdef GL_INGR_interlace_read
  5157. "GL_INGR_interlace_read",
  5158. #endif
  5159. #ifdef GL_INTEL_conservative_rasterization
  5160. "GL_INTEL_conservative_rasterization",
  5161. #endif
  5162. #ifdef GL_INTEL_fragment_shader_ordering
  5163. "GL_INTEL_fragment_shader_ordering",
  5164. #endif
  5165. #ifdef GL_INTEL_framebuffer_CMAA
  5166. "GL_INTEL_framebuffer_CMAA",
  5167. #endif
  5168. #ifdef GL_INTEL_map_texture
  5169. "GL_INTEL_map_texture",
  5170. #endif
  5171. #ifdef GL_INTEL_parallel_arrays
  5172. "GL_INTEL_parallel_arrays",
  5173. #endif
  5174. #ifdef GL_INTEL_performance_query
  5175. "GL_INTEL_performance_query",
  5176. #endif
  5177. #ifdef GL_INTEL_texture_scissor
  5178. "GL_INTEL_texture_scissor",
  5179. #endif
  5180. #ifdef GL_KHR_blend_equation_advanced
  5181. "GL_KHR_blend_equation_advanced",
  5182. #endif
  5183. #ifdef GL_KHR_blend_equation_advanced_coherent
  5184. "GL_KHR_blend_equation_advanced_coherent",
  5185. #endif
  5186. #ifdef GL_KHR_context_flush_control
  5187. "GL_KHR_context_flush_control",
  5188. #endif
  5189. #ifdef GL_KHR_debug
  5190. "GL_KHR_debug",
  5191. #endif
  5192. #ifdef GL_KHR_no_error
  5193. "GL_KHR_no_error",
  5194. #endif
  5195. #ifdef GL_KHR_parallel_shader_compile
  5196. "GL_KHR_parallel_shader_compile",
  5197. #endif
  5198. #ifdef GL_KHR_robust_buffer_access_behavior
  5199. "GL_KHR_robust_buffer_access_behavior",
  5200. #endif
  5201. #ifdef GL_KHR_robustness
  5202. "GL_KHR_robustness",
  5203. #endif
  5204. #ifdef GL_KHR_texture_compression_astc_hdr
  5205. "GL_KHR_texture_compression_astc_hdr",
  5206. #endif
  5207. #ifdef GL_KHR_texture_compression_astc_ldr
  5208. "GL_KHR_texture_compression_astc_ldr",
  5209. #endif
  5210. #ifdef GL_KHR_texture_compression_astc_sliced_3d
  5211. "GL_KHR_texture_compression_astc_sliced_3d",
  5212. #endif
  5213. #ifdef GL_KTX_buffer_region
  5214. "GL_KTX_buffer_region",
  5215. #endif
  5216. #ifdef GL_MESAX_texture_stack
  5217. "GL_MESAX_texture_stack",
  5218. #endif
  5219. #ifdef GL_MESA_pack_invert
  5220. "GL_MESA_pack_invert",
  5221. #endif
  5222. #ifdef GL_MESA_resize_buffers
  5223. "GL_MESA_resize_buffers",
  5224. #endif
  5225. #ifdef GL_MESA_shader_integer_functions
  5226. "GL_MESA_shader_integer_functions",
  5227. #endif
  5228. #ifdef GL_MESA_window_pos
  5229. "GL_MESA_window_pos",
  5230. #endif
  5231. #ifdef GL_MESA_ycbcr_texture
  5232. "GL_MESA_ycbcr_texture",
  5233. #endif
  5234. #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
  5235. "GL_NVX_blend_equation_advanced_multi_draw_buffers",
  5236. #endif
  5237. #ifdef GL_NVX_conditional_render
  5238. "GL_NVX_conditional_render",
  5239. #endif
  5240. #ifdef GL_NVX_gpu_memory_info
  5241. "GL_NVX_gpu_memory_info",
  5242. #endif
  5243. #ifdef GL_NVX_linked_gpu_multicast
  5244. "GL_NVX_linked_gpu_multicast",
  5245. #endif
  5246. #ifdef GL_NV_3dvision_settings
  5247. "GL_NV_3dvision_settings",
  5248. #endif
  5249. #ifdef GL_NV_EGL_stream_consumer_external
  5250. "GL_NV_EGL_stream_consumer_external",
  5251. #endif
  5252. #ifdef GL_NV_alpha_to_coverage_dither_control
  5253. "GL_NV_alpha_to_coverage_dither_control",
  5254. #endif
  5255. #ifdef GL_NV_bgr
  5256. "GL_NV_bgr",
  5257. #endif
  5258. #ifdef GL_NV_bindless_multi_draw_indirect
  5259. "GL_NV_bindless_multi_draw_indirect",
  5260. #endif
  5261. #ifdef GL_NV_bindless_multi_draw_indirect_count
  5262. "GL_NV_bindless_multi_draw_indirect_count",
  5263. #endif
  5264. #ifdef GL_NV_bindless_texture
  5265. "GL_NV_bindless_texture",
  5266. #endif
  5267. #ifdef GL_NV_blend_equation_advanced
  5268. "GL_NV_blend_equation_advanced",
  5269. #endif
  5270. #ifdef GL_NV_blend_equation_advanced_coherent
  5271. "GL_NV_blend_equation_advanced_coherent",
  5272. #endif
  5273. #ifdef GL_NV_blend_minmax_factor
  5274. "GL_NV_blend_minmax_factor",
  5275. #endif
  5276. #ifdef GL_NV_blend_square
  5277. "GL_NV_blend_square",
  5278. #endif
  5279. #ifdef GL_NV_clip_space_w_scaling
  5280. "GL_NV_clip_space_w_scaling",
  5281. #endif
  5282. #ifdef GL_NV_command_list
  5283. "GL_NV_command_list",
  5284. #endif
  5285. #ifdef GL_NV_compute_program5
  5286. "GL_NV_compute_program5",
  5287. #endif
  5288. #ifdef GL_NV_conditional_render
  5289. "GL_NV_conditional_render",
  5290. #endif
  5291. #ifdef GL_NV_conservative_raster
  5292. "GL_NV_conservative_raster",
  5293. #endif
  5294. #ifdef GL_NV_conservative_raster_dilate
  5295. "GL_NV_conservative_raster_dilate",
  5296. #endif
  5297. #ifdef GL_NV_conservative_raster_pre_snap_triangles
  5298. "GL_NV_conservative_raster_pre_snap_triangles",
  5299. #endif
  5300. #ifdef GL_NV_copy_buffer
  5301. "GL_NV_copy_buffer",
  5302. #endif
  5303. #ifdef GL_NV_copy_depth_to_color
  5304. "GL_NV_copy_depth_to_color",
  5305. #endif
  5306. #ifdef GL_NV_copy_image
  5307. "GL_NV_copy_image",
  5308. #endif
  5309. #ifdef GL_NV_deep_texture3D
  5310. "GL_NV_deep_texture3D",
  5311. #endif
  5312. #ifdef GL_NV_depth_buffer_float
  5313. "GL_NV_depth_buffer_float",
  5314. #endif
  5315. #ifdef GL_NV_depth_clamp
  5316. "GL_NV_depth_clamp",
  5317. #endif
  5318. #ifdef GL_NV_depth_range_unclamped
  5319. "GL_NV_depth_range_unclamped",
  5320. #endif
  5321. #ifdef GL_NV_draw_buffers
  5322. "GL_NV_draw_buffers",
  5323. #endif
  5324. #ifdef GL_NV_draw_instanced
  5325. "GL_NV_draw_instanced",
  5326. #endif
  5327. #ifdef GL_NV_draw_texture
  5328. "GL_NV_draw_texture",
  5329. #endif
  5330. #ifdef GL_NV_draw_vulkan_image
  5331. "GL_NV_draw_vulkan_image",
  5332. #endif
  5333. #ifdef GL_NV_evaluators
  5334. "GL_NV_evaluators",
  5335. #endif
  5336. #ifdef GL_NV_explicit_attrib_location
  5337. "GL_NV_explicit_attrib_location",
  5338. #endif
  5339. #ifdef GL_NV_explicit_multisample
  5340. "GL_NV_explicit_multisample",
  5341. #endif
  5342. #ifdef GL_NV_fbo_color_attachments
  5343. "GL_NV_fbo_color_attachments",
  5344. #endif
  5345. #ifdef GL_NV_fence
  5346. "GL_NV_fence",
  5347. #endif
  5348. #ifdef GL_NV_fill_rectangle
  5349. "GL_NV_fill_rectangle",
  5350. #endif
  5351. #ifdef GL_NV_float_buffer
  5352. "GL_NV_float_buffer",
  5353. #endif
  5354. #ifdef GL_NV_fog_distance
  5355. "GL_NV_fog_distance",
  5356. #endif
  5357. #ifdef GL_NV_fragment_coverage_to_color
  5358. "GL_NV_fragment_coverage_to_color",
  5359. #endif
  5360. #ifdef GL_NV_fragment_program
  5361. "GL_NV_fragment_program",
  5362. #endif
  5363. #ifdef GL_NV_fragment_program2
  5364. "GL_NV_fragment_program2",
  5365. #endif
  5366. #ifdef GL_NV_fragment_program4
  5367. "GL_NV_fragment_program4",
  5368. #endif
  5369. #ifdef GL_NV_fragment_program_option
  5370. "GL_NV_fragment_program_option",
  5371. #endif
  5372. #ifdef GL_NV_fragment_shader_interlock
  5373. "GL_NV_fragment_shader_interlock",
  5374. #endif
  5375. #ifdef GL_NV_framebuffer_blit
  5376. "GL_NV_framebuffer_blit",
  5377. #endif
  5378. #ifdef GL_NV_framebuffer_mixed_samples
  5379. "GL_NV_framebuffer_mixed_samples",
  5380. #endif
  5381. #ifdef GL_NV_framebuffer_multisample
  5382. "GL_NV_framebuffer_multisample",
  5383. #endif
  5384. #ifdef GL_NV_framebuffer_multisample_coverage
  5385. "GL_NV_framebuffer_multisample_coverage",
  5386. #endif
  5387. #ifdef GL_NV_generate_mipmap_sRGB
  5388. "GL_NV_generate_mipmap_sRGB",
  5389. #endif
  5390. #ifdef GL_NV_geometry_program4
  5391. "GL_NV_geometry_program4",
  5392. #endif
  5393. #ifdef GL_NV_geometry_shader4
  5394. "GL_NV_geometry_shader4",
  5395. #endif
  5396. #ifdef GL_NV_geometry_shader_passthrough
  5397. "GL_NV_geometry_shader_passthrough",
  5398. #endif
  5399. #ifdef GL_NV_gpu_multicast
  5400. "GL_NV_gpu_multicast",
  5401. #endif
  5402. #ifdef GL_NV_gpu_program4
  5403. "GL_NV_gpu_program4",
  5404. #endif
  5405. #ifdef GL_NV_gpu_program5
  5406. "GL_NV_gpu_program5",
  5407. #endif
  5408. #ifdef GL_NV_gpu_program5_mem_extended
  5409. "GL_NV_gpu_program5_mem_extended",
  5410. #endif
  5411. #ifdef GL_NV_gpu_program_fp64
  5412. "GL_NV_gpu_program_fp64",
  5413. #endif
  5414. #ifdef GL_NV_gpu_shader5
  5415. "GL_NV_gpu_shader5",
  5416. #endif
  5417. #ifdef GL_NV_half_float
  5418. "GL_NV_half_float",
  5419. #endif
  5420. #ifdef GL_NV_image_formats
  5421. "GL_NV_image_formats",
  5422. #endif
  5423. #ifdef GL_NV_instanced_arrays
  5424. "GL_NV_instanced_arrays",
  5425. #endif
  5426. #ifdef GL_NV_internalformat_sample_query
  5427. "GL_NV_internalformat_sample_query",
  5428. #endif
  5429. #ifdef GL_NV_light_max_exponent
  5430. "GL_NV_light_max_exponent",
  5431. #endif
  5432. #ifdef GL_NV_multisample_coverage
  5433. "GL_NV_multisample_coverage",
  5434. #endif
  5435. #ifdef GL_NV_multisample_filter_hint
  5436. "GL_NV_multisample_filter_hint",
  5437. #endif
  5438. #ifdef GL_NV_non_square_matrices
  5439. "GL_NV_non_square_matrices",
  5440. #endif
  5441. #ifdef GL_NV_occlusion_query
  5442. "GL_NV_occlusion_query",
  5443. #endif
  5444. #ifdef GL_NV_pack_subimage
  5445. "GL_NV_pack_subimage",
  5446. #endif
  5447. #ifdef GL_NV_packed_depth_stencil
  5448. "GL_NV_packed_depth_stencil",
  5449. #endif
  5450. #ifdef GL_NV_packed_float
  5451. "GL_NV_packed_float",
  5452. #endif
  5453. #ifdef GL_NV_packed_float_linear
  5454. "GL_NV_packed_float_linear",
  5455. #endif
  5456. #ifdef GL_NV_parameter_buffer_object
  5457. "GL_NV_parameter_buffer_object",
  5458. #endif
  5459. #ifdef GL_NV_parameter_buffer_object2
  5460. "GL_NV_parameter_buffer_object2",
  5461. #endif
  5462. #ifdef GL_NV_path_rendering
  5463. "GL_NV_path_rendering",
  5464. #endif
  5465. #ifdef GL_NV_path_rendering_shared_edge
  5466. "GL_NV_path_rendering_shared_edge",
  5467. #endif
  5468. #ifdef GL_NV_pixel_buffer_object
  5469. "GL_NV_pixel_buffer_object",
  5470. #endif
  5471. #ifdef GL_NV_pixel_data_range
  5472. "GL_NV_pixel_data_range",
  5473. #endif
  5474. #ifdef GL_NV_platform_binary
  5475. "GL_NV_platform_binary",
  5476. #endif
  5477. #ifdef GL_NV_point_sprite
  5478. "GL_NV_point_sprite",
  5479. #endif
  5480. #ifdef GL_NV_polygon_mode
  5481. "GL_NV_polygon_mode",
  5482. #endif
  5483. #ifdef GL_NV_present_video
  5484. "GL_NV_present_video",
  5485. #endif
  5486. #ifdef GL_NV_primitive_restart
  5487. "GL_NV_primitive_restart",
  5488. #endif
  5489. #ifdef GL_NV_read_depth
  5490. "GL_NV_read_depth",
  5491. #endif
  5492. #ifdef GL_NV_read_depth_stencil
  5493. "GL_NV_read_depth_stencil",
  5494. #endif
  5495. #ifdef GL_NV_read_stencil
  5496. "GL_NV_read_stencil",
  5497. #endif
  5498. #ifdef GL_NV_register_combiners
  5499. "GL_NV_register_combiners",
  5500. #endif
  5501. #ifdef GL_NV_register_combiners2
  5502. "GL_NV_register_combiners2",
  5503. #endif
  5504. #ifdef GL_NV_robustness_video_memory_purge
  5505. "GL_NV_robustness_video_memory_purge",
  5506. #endif
  5507. #ifdef GL_NV_sRGB_formats
  5508. "GL_NV_sRGB_formats",
  5509. #endif
  5510. #ifdef GL_NV_sample_locations
  5511. "GL_NV_sample_locations",
  5512. #endif
  5513. #ifdef GL_NV_sample_mask_override_coverage
  5514. "GL_NV_sample_mask_override_coverage",
  5515. #endif
  5516. #ifdef GL_NV_shader_atomic_counters
  5517. "GL_NV_shader_atomic_counters",
  5518. #endif
  5519. #ifdef GL_NV_shader_atomic_float
  5520. "GL_NV_shader_atomic_float",
  5521. #endif
  5522. #ifdef GL_NV_shader_atomic_float64
  5523. "GL_NV_shader_atomic_float64",
  5524. #endif
  5525. #ifdef GL_NV_shader_atomic_fp16_vector
  5526. "GL_NV_shader_atomic_fp16_vector",
  5527. #endif
  5528. #ifdef GL_NV_shader_atomic_int64
  5529. "GL_NV_shader_atomic_int64",
  5530. #endif
  5531. #ifdef GL_NV_shader_buffer_load
  5532. "GL_NV_shader_buffer_load",
  5533. #endif
  5534. #ifdef GL_NV_shader_noperspective_interpolation
  5535. "GL_NV_shader_noperspective_interpolation",
  5536. #endif
  5537. #ifdef GL_NV_shader_storage_buffer_object
  5538. "GL_NV_shader_storage_buffer_object",
  5539. #endif
  5540. #ifdef GL_NV_shader_thread_group
  5541. "GL_NV_shader_thread_group",
  5542. #endif
  5543. #ifdef GL_NV_shader_thread_shuffle
  5544. "GL_NV_shader_thread_shuffle",
  5545. #endif
  5546. #ifdef GL_NV_shadow_samplers_array
  5547. "GL_NV_shadow_samplers_array",
  5548. #endif
  5549. #ifdef GL_NV_shadow_samplers_cube
  5550. "GL_NV_shadow_samplers_cube",
  5551. #endif
  5552. #ifdef GL_NV_stereo_view_rendering
  5553. "GL_NV_stereo_view_rendering",
  5554. #endif
  5555. #ifdef GL_NV_tessellation_program5
  5556. "GL_NV_tessellation_program5",
  5557. #endif
  5558. #ifdef GL_NV_texgen_emboss
  5559. "GL_NV_texgen_emboss",
  5560. #endif
  5561. #ifdef GL_NV_texgen_reflection
  5562. "GL_NV_texgen_reflection",
  5563. #endif
  5564. #ifdef GL_NV_texture_array
  5565. "GL_NV_texture_array",
  5566. #endif
  5567. #ifdef GL_NV_texture_barrier
  5568. "GL_NV_texture_barrier",
  5569. #endif
  5570. #ifdef GL_NV_texture_border_clamp
  5571. "GL_NV_texture_border_clamp",
  5572. #endif
  5573. #ifdef GL_NV_texture_compression_latc
  5574. "GL_NV_texture_compression_latc",
  5575. #endif
  5576. #ifdef GL_NV_texture_compression_s3tc
  5577. "GL_NV_texture_compression_s3tc",
  5578. #endif
  5579. #ifdef GL_NV_texture_compression_s3tc_update
  5580. "GL_NV_texture_compression_s3tc_update",
  5581. #endif
  5582. #ifdef GL_NV_texture_compression_vtc
  5583. "GL_NV_texture_compression_vtc",
  5584. #endif
  5585. #ifdef GL_NV_texture_env_combine4
  5586. "GL_NV_texture_env_combine4",
  5587. #endif
  5588. #ifdef GL_NV_texture_expand_normal
  5589. "GL_NV_texture_expand_normal",
  5590. #endif
  5591. #ifdef GL_NV_texture_multisample
  5592. "GL_NV_texture_multisample",
  5593. #endif
  5594. #ifdef GL_NV_texture_npot_2D_mipmap
  5595. "GL_NV_texture_npot_2D_mipmap",
  5596. #endif
  5597. #ifdef GL_NV_texture_rectangle
  5598. "GL_NV_texture_rectangle",
  5599. #endif
  5600. #ifdef GL_NV_texture_rectangle_compressed
  5601. "GL_NV_texture_rectangle_compressed",
  5602. #endif
  5603. #ifdef GL_NV_texture_shader
  5604. "GL_NV_texture_shader",
  5605. #endif
  5606. #ifdef GL_NV_texture_shader2
  5607. "GL_NV_texture_shader2",
  5608. #endif
  5609. #ifdef GL_NV_texture_shader3
  5610. "GL_NV_texture_shader3",
  5611. #endif
  5612. #ifdef GL_NV_transform_feedback
  5613. "GL_NV_transform_feedback",
  5614. #endif
  5615. #ifdef GL_NV_transform_feedback2
  5616. "GL_NV_transform_feedback2",
  5617. #endif
  5618. #ifdef GL_NV_uniform_buffer_unified_memory
  5619. "GL_NV_uniform_buffer_unified_memory",
  5620. #endif
  5621. #ifdef GL_NV_vdpau_interop
  5622. "GL_NV_vdpau_interop",
  5623. #endif
  5624. #ifdef GL_NV_vertex_array_range
  5625. "GL_NV_vertex_array_range",
  5626. #endif
  5627. #ifdef GL_NV_vertex_array_range2
  5628. "GL_NV_vertex_array_range2",
  5629. #endif
  5630. #ifdef GL_NV_vertex_attrib_integer_64bit
  5631. "GL_NV_vertex_attrib_integer_64bit",
  5632. #endif
  5633. #ifdef GL_NV_vertex_buffer_unified_memory
  5634. "GL_NV_vertex_buffer_unified_memory",
  5635. #endif
  5636. #ifdef GL_NV_vertex_program
  5637. "GL_NV_vertex_program",
  5638. #endif
  5639. #ifdef GL_NV_vertex_program1_1
  5640. "GL_NV_vertex_program1_1",
  5641. #endif
  5642. #ifdef GL_NV_vertex_program2
  5643. "GL_NV_vertex_program2",
  5644. #endif
  5645. #ifdef GL_NV_vertex_program2_option
  5646. "GL_NV_vertex_program2_option",
  5647. #endif
  5648. #ifdef GL_NV_vertex_program3
  5649. "GL_NV_vertex_program3",
  5650. #endif
  5651. #ifdef GL_NV_vertex_program4
  5652. "GL_NV_vertex_program4",
  5653. #endif
  5654. #ifdef GL_NV_video_capture
  5655. "GL_NV_video_capture",
  5656. #endif
  5657. #ifdef GL_NV_viewport_array
  5658. "GL_NV_viewport_array",
  5659. #endif
  5660. #ifdef GL_NV_viewport_array2
  5661. "GL_NV_viewport_array2",
  5662. #endif
  5663. #ifdef GL_NV_viewport_swizzle
  5664. "GL_NV_viewport_swizzle",
  5665. #endif
  5666. #ifdef GL_OES_byte_coordinates
  5667. "GL_OES_byte_coordinates",
  5668. #endif
  5669. #ifdef GL_OML_interlace
  5670. "GL_OML_interlace",
  5671. #endif
  5672. #ifdef GL_OML_resample
  5673. "GL_OML_resample",
  5674. #endif
  5675. #ifdef GL_OML_subsample
  5676. "GL_OML_subsample",
  5677. #endif
  5678. #ifdef GL_OVR_multiview
  5679. "GL_OVR_multiview",
  5680. #endif
  5681. #ifdef GL_OVR_multiview2
  5682. "GL_OVR_multiview2",
  5683. #endif
  5684. #ifdef GL_OVR_multiview_multisampled_render_to_texture
  5685. "GL_OVR_multiview_multisampled_render_to_texture",
  5686. #endif
  5687. #ifdef GL_PGI_misc_hints
  5688. "GL_PGI_misc_hints",
  5689. #endif
  5690. #ifdef GL_PGI_vertex_hints
  5691. "GL_PGI_vertex_hints",
  5692. #endif
  5693. #ifdef GL_QCOM_alpha_test
  5694. "GL_QCOM_alpha_test",
  5695. #endif
  5696. #ifdef GL_QCOM_binning_control
  5697. "GL_QCOM_binning_control",
  5698. #endif
  5699. #ifdef GL_QCOM_driver_control
  5700. "GL_QCOM_driver_control",
  5701. #endif
  5702. #ifdef GL_QCOM_extended_get
  5703. "GL_QCOM_extended_get",
  5704. #endif
  5705. #ifdef GL_QCOM_extended_get2
  5706. "GL_QCOM_extended_get2",
  5707. #endif
  5708. #ifdef GL_QCOM_framebuffer_foveated
  5709. "GL_QCOM_framebuffer_foveated",
  5710. #endif
  5711. #ifdef GL_QCOM_perfmon_global_mode
  5712. "GL_QCOM_perfmon_global_mode",
  5713. #endif
  5714. #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
  5715. "GL_QCOM_shader_framebuffer_fetch_noncoherent",
  5716. #endif
  5717. #ifdef GL_QCOM_tiled_rendering
  5718. "GL_QCOM_tiled_rendering",
  5719. #endif
  5720. #ifdef GL_QCOM_writeonly_rendering
  5721. "GL_QCOM_writeonly_rendering",
  5722. #endif
  5723. #ifdef GL_REGAL_ES1_0_compatibility
  5724. "GL_REGAL_ES1_0_compatibility",
  5725. #endif
  5726. #ifdef GL_REGAL_ES1_1_compatibility
  5727. "GL_REGAL_ES1_1_compatibility",
  5728. #endif
  5729. #ifdef GL_REGAL_enable
  5730. "GL_REGAL_enable",
  5731. #endif
  5732. #ifdef GL_REGAL_error_string
  5733. "GL_REGAL_error_string",
  5734. #endif
  5735. #ifdef GL_REGAL_extension_query
  5736. "GL_REGAL_extension_query",
  5737. #endif
  5738. #ifdef GL_REGAL_log
  5739. "GL_REGAL_log",
  5740. #endif
  5741. #ifdef GL_REGAL_proc_address
  5742. "GL_REGAL_proc_address",
  5743. #endif
  5744. #ifdef GL_REND_screen_coordinates
  5745. "GL_REND_screen_coordinates",
  5746. #endif
  5747. #ifdef GL_S3_s3tc
  5748. "GL_S3_s3tc",
  5749. #endif
  5750. #ifdef GL_SGIS_clip_band_hint
  5751. "GL_SGIS_clip_band_hint",
  5752. #endif
  5753. #ifdef GL_SGIS_color_range
  5754. "GL_SGIS_color_range",
  5755. #endif
  5756. #ifdef GL_SGIS_detail_texture
  5757. "GL_SGIS_detail_texture",
  5758. #endif
  5759. #ifdef GL_SGIS_fog_function
  5760. "GL_SGIS_fog_function",
  5761. #endif
  5762. #ifdef GL_SGIS_generate_mipmap
  5763. "GL_SGIS_generate_mipmap",
  5764. #endif
  5765. #ifdef GL_SGIS_line_texgen
  5766. "GL_SGIS_line_texgen",
  5767. #endif
  5768. #ifdef GL_SGIS_multisample
  5769. "GL_SGIS_multisample",
  5770. #endif
  5771. #ifdef GL_SGIS_multitexture
  5772. "GL_SGIS_multitexture",
  5773. #endif
  5774. #ifdef GL_SGIS_pixel_texture
  5775. "GL_SGIS_pixel_texture",
  5776. #endif
  5777. #ifdef GL_SGIS_point_line_texgen
  5778. "GL_SGIS_point_line_texgen",
  5779. #endif
  5780. #ifdef GL_SGIS_shared_multisample
  5781. "GL_SGIS_shared_multisample",
  5782. #endif
  5783. #ifdef GL_SGIS_sharpen_texture
  5784. "GL_SGIS_sharpen_texture",
  5785. #endif
  5786. #ifdef GL_SGIS_texture4D
  5787. "GL_SGIS_texture4D",
  5788. #endif
  5789. #ifdef GL_SGIS_texture_border_clamp
  5790. "GL_SGIS_texture_border_clamp",
  5791. #endif
  5792. #ifdef GL_SGIS_texture_edge_clamp
  5793. "GL_SGIS_texture_edge_clamp",
  5794. #endif
  5795. #ifdef GL_SGIS_texture_filter4
  5796. "GL_SGIS_texture_filter4",
  5797. #endif
  5798. #ifdef GL_SGIS_texture_lod
  5799. "GL_SGIS_texture_lod",
  5800. #endif
  5801. #ifdef GL_SGIS_texture_select
  5802. "GL_SGIS_texture_select",
  5803. #endif
  5804. #ifdef GL_SGIX_async
  5805. "GL_SGIX_async",
  5806. #endif
  5807. #ifdef GL_SGIX_async_histogram
  5808. "GL_SGIX_async_histogram",
  5809. #endif
  5810. #ifdef GL_SGIX_async_pixel
  5811. "GL_SGIX_async_pixel",
  5812. #endif
  5813. #ifdef GL_SGIX_bali_g_instruments
  5814. "GL_SGIX_bali_g_instruments",
  5815. #endif
  5816. #ifdef GL_SGIX_bali_r_instruments
  5817. "GL_SGIX_bali_r_instruments",
  5818. #endif
  5819. #ifdef GL_SGIX_bali_timer_instruments
  5820. "GL_SGIX_bali_timer_instruments",
  5821. #endif
  5822. #ifdef GL_SGIX_blend_alpha_minmax
  5823. "GL_SGIX_blend_alpha_minmax",
  5824. #endif
  5825. #ifdef GL_SGIX_blend_cadd
  5826. "GL_SGIX_blend_cadd",
  5827. #endif
  5828. #ifdef GL_SGIX_blend_cmultiply
  5829. "GL_SGIX_blend_cmultiply",
  5830. #endif
  5831. #ifdef GL_SGIX_calligraphic_fragment
  5832. "GL_SGIX_calligraphic_fragment",
  5833. #endif
  5834. #ifdef GL_SGIX_clipmap
  5835. "GL_SGIX_clipmap",
  5836. #endif
  5837. #ifdef GL_SGIX_color_matrix_accuracy
  5838. "GL_SGIX_color_matrix_accuracy",
  5839. #endif
  5840. #ifdef GL_SGIX_color_table_index_mode
  5841. "GL_SGIX_color_table_index_mode",
  5842. #endif
  5843. #ifdef GL_SGIX_complex_polar
  5844. "GL_SGIX_complex_polar",
  5845. #endif
  5846. #ifdef GL_SGIX_convolution_accuracy
  5847. "GL_SGIX_convolution_accuracy",
  5848. #endif
  5849. #ifdef GL_SGIX_cube_map
  5850. "GL_SGIX_cube_map",
  5851. #endif
  5852. #ifdef GL_SGIX_cylinder_texgen
  5853. "GL_SGIX_cylinder_texgen",
  5854. #endif
  5855. #ifdef GL_SGIX_datapipe
  5856. "GL_SGIX_datapipe",
  5857. #endif
  5858. #ifdef GL_SGIX_decimation
  5859. "GL_SGIX_decimation",
  5860. #endif
  5861. #ifdef GL_SGIX_depth_pass_instrument
  5862. "GL_SGIX_depth_pass_instrument",
  5863. #endif
  5864. #ifdef GL_SGIX_depth_texture
  5865. "GL_SGIX_depth_texture",
  5866. #endif
  5867. #ifdef GL_SGIX_dvc
  5868. "GL_SGIX_dvc",
  5869. #endif
  5870. #ifdef GL_SGIX_flush_raster
  5871. "GL_SGIX_flush_raster",
  5872. #endif
  5873. #ifdef GL_SGIX_fog_blend
  5874. "GL_SGIX_fog_blend",
  5875. #endif
  5876. #ifdef GL_SGIX_fog_factor_to_alpha
  5877. "GL_SGIX_fog_factor_to_alpha",
  5878. #endif
  5879. #ifdef GL_SGIX_fog_layers
  5880. "GL_SGIX_fog_layers",
  5881. #endif
  5882. #ifdef GL_SGIX_fog_offset
  5883. "GL_SGIX_fog_offset",
  5884. #endif
  5885. #ifdef GL_SGIX_fog_patchy
  5886. "GL_SGIX_fog_patchy",
  5887. #endif
  5888. #ifdef GL_SGIX_fog_scale
  5889. "GL_SGIX_fog_scale",
  5890. #endif
  5891. #ifdef GL_SGIX_fog_texture
  5892. "GL_SGIX_fog_texture",
  5893. #endif
  5894. #ifdef GL_SGIX_fragment_lighting_space
  5895. "GL_SGIX_fragment_lighting_space",
  5896. #endif
  5897. #ifdef GL_SGIX_fragment_specular_lighting
  5898. "GL_SGIX_fragment_specular_lighting",
  5899. #endif
  5900. #ifdef GL_SGIX_fragments_instrument
  5901. "GL_SGIX_fragments_instrument",
  5902. #endif
  5903. #ifdef GL_SGIX_framezoom
  5904. "GL_SGIX_framezoom",
  5905. #endif
  5906. #ifdef GL_SGIX_icc_texture
  5907. "GL_SGIX_icc_texture",
  5908. #endif
  5909. #ifdef GL_SGIX_igloo_interface
  5910. "GL_SGIX_igloo_interface",
  5911. #endif
  5912. #ifdef GL_SGIX_image_compression
  5913. "GL_SGIX_image_compression",
  5914. #endif
  5915. #ifdef GL_SGIX_impact_pixel_texture
  5916. "GL_SGIX_impact_pixel_texture",
  5917. #endif
  5918. #ifdef GL_SGIX_instrument_error
  5919. "GL_SGIX_instrument_error",
  5920. #endif
  5921. #ifdef GL_SGIX_interlace
  5922. "GL_SGIX_interlace",
  5923. #endif
  5924. #ifdef GL_SGIX_ir_instrument1
  5925. "GL_SGIX_ir_instrument1",
  5926. #endif
  5927. #ifdef GL_SGIX_line_quality_hint
  5928. "GL_SGIX_line_quality_hint",
  5929. #endif
  5930. #ifdef GL_SGIX_list_priority
  5931. "GL_SGIX_list_priority",
  5932. #endif
  5933. #ifdef GL_SGIX_mpeg1
  5934. "GL_SGIX_mpeg1",
  5935. #endif
  5936. #ifdef GL_SGIX_mpeg2
  5937. "GL_SGIX_mpeg2",
  5938. #endif
  5939. #ifdef GL_SGIX_nonlinear_lighting_pervertex
  5940. "GL_SGIX_nonlinear_lighting_pervertex",
  5941. #endif
  5942. #ifdef GL_SGIX_nurbs_eval
  5943. "GL_SGIX_nurbs_eval",
  5944. #endif
  5945. #ifdef GL_SGIX_occlusion_instrument
  5946. "GL_SGIX_occlusion_instrument",
  5947. #endif
  5948. #ifdef GL_SGIX_packed_6bytes
  5949. "GL_SGIX_packed_6bytes",
  5950. #endif
  5951. #ifdef GL_SGIX_pixel_texture
  5952. "GL_SGIX_pixel_texture",
  5953. #endif
  5954. #ifdef GL_SGIX_pixel_texture_bits
  5955. "GL_SGIX_pixel_texture_bits",
  5956. #endif
  5957. #ifdef GL_SGIX_pixel_texture_lod
  5958. "GL_SGIX_pixel_texture_lod",
  5959. #endif
  5960. #ifdef GL_SGIX_pixel_tiles
  5961. "GL_SGIX_pixel_tiles",
  5962. #endif
  5963. #ifdef GL_SGIX_polynomial_ffd
  5964. "GL_SGIX_polynomial_ffd",
  5965. #endif
  5966. #ifdef GL_SGIX_quad_mesh
  5967. "GL_SGIX_quad_mesh",
  5968. #endif
  5969. #ifdef GL_SGIX_reference_plane
  5970. "GL_SGIX_reference_plane",
  5971. #endif
  5972. #ifdef GL_SGIX_resample
  5973. "GL_SGIX_resample",
  5974. #endif
  5975. #ifdef GL_SGIX_scalebias_hint
  5976. "GL_SGIX_scalebias_hint",
  5977. #endif
  5978. #ifdef GL_SGIX_shadow
  5979. "GL_SGIX_shadow",
  5980. #endif
  5981. #ifdef GL_SGIX_shadow_ambient
  5982. "GL_SGIX_shadow_ambient",
  5983. #endif
  5984. #ifdef GL_SGIX_slim
  5985. "GL_SGIX_slim",
  5986. #endif
  5987. #ifdef GL_SGIX_spotlight_cutoff
  5988. "GL_SGIX_spotlight_cutoff",
  5989. #endif
  5990. #ifdef GL_SGIX_sprite
  5991. "GL_SGIX_sprite",
  5992. #endif
  5993. #ifdef GL_SGIX_subdiv_patch
  5994. "GL_SGIX_subdiv_patch",
  5995. #endif
  5996. #ifdef GL_SGIX_subsample
  5997. "GL_SGIX_subsample",
  5998. #endif
  5999. #ifdef GL_SGIX_tag_sample_buffer
  6000. "GL_SGIX_tag_sample_buffer",
  6001. #endif
  6002. #ifdef GL_SGIX_texture_add_env
  6003. "GL_SGIX_texture_add_env",
  6004. #endif
  6005. #ifdef GL_SGIX_texture_coordinate_clamp
  6006. "GL_SGIX_texture_coordinate_clamp",
  6007. #endif
  6008. #ifdef GL_SGIX_texture_lod_bias
  6009. "GL_SGIX_texture_lod_bias",
  6010. #endif
  6011. #ifdef GL_SGIX_texture_mipmap_anisotropic
  6012. "GL_SGIX_texture_mipmap_anisotropic",
  6013. #endif
  6014. #ifdef GL_SGIX_texture_multi_buffer
  6015. "GL_SGIX_texture_multi_buffer",
  6016. #endif
  6017. #ifdef GL_SGIX_texture_phase
  6018. "GL_SGIX_texture_phase",
  6019. #endif
  6020. #ifdef GL_SGIX_texture_range
  6021. "GL_SGIX_texture_range",
  6022. #endif
  6023. #ifdef GL_SGIX_texture_scale_bias
  6024. "GL_SGIX_texture_scale_bias",
  6025. #endif
  6026. #ifdef GL_SGIX_texture_supersample
  6027. "GL_SGIX_texture_supersample",
  6028. #endif
  6029. #ifdef GL_SGIX_vector_ops
  6030. "GL_SGIX_vector_ops",
  6031. #endif
  6032. #ifdef GL_SGIX_vertex_array_object
  6033. "GL_SGIX_vertex_array_object",
  6034. #endif
  6035. #ifdef GL_SGIX_vertex_preclip
  6036. "GL_SGIX_vertex_preclip",
  6037. #endif
  6038. #ifdef GL_SGIX_vertex_preclip_hint
  6039. "GL_SGIX_vertex_preclip_hint",
  6040. #endif
  6041. #ifdef GL_SGIX_ycrcb
  6042. "GL_SGIX_ycrcb",
  6043. #endif
  6044. #ifdef GL_SGIX_ycrcb_subsample
  6045. "GL_SGIX_ycrcb_subsample",
  6046. #endif
  6047. #ifdef GL_SGIX_ycrcba
  6048. "GL_SGIX_ycrcba",
  6049. #endif
  6050. #ifdef GL_SGI_color_matrix
  6051. "GL_SGI_color_matrix",
  6052. #endif
  6053. #ifdef GL_SGI_color_table
  6054. "GL_SGI_color_table",
  6055. #endif
  6056. #ifdef GL_SGI_complex
  6057. "GL_SGI_complex",
  6058. #endif
  6059. #ifdef GL_SGI_complex_type
  6060. "GL_SGI_complex_type",
  6061. #endif
  6062. #ifdef GL_SGI_fft
  6063. "GL_SGI_fft",
  6064. #endif
  6065. #ifdef GL_SGI_texture_color_table
  6066. "GL_SGI_texture_color_table",
  6067. #endif
  6068. #ifdef GL_SUNX_constant_data
  6069. "GL_SUNX_constant_data",
  6070. #endif
  6071. #ifdef GL_SUN_convolution_border_modes
  6072. "GL_SUN_convolution_border_modes",
  6073. #endif
  6074. #ifdef GL_SUN_global_alpha
  6075. "GL_SUN_global_alpha",
  6076. #endif
  6077. #ifdef GL_SUN_mesh_array
  6078. "GL_SUN_mesh_array",
  6079. #endif
  6080. #ifdef GL_SUN_read_video_pixels
  6081. "GL_SUN_read_video_pixels",
  6082. #endif
  6083. #ifdef GL_SUN_slice_accum
  6084. "GL_SUN_slice_accum",
  6085. #endif
  6086. #ifdef GL_SUN_triangle_list
  6087. "GL_SUN_triangle_list",
  6088. #endif
  6089. #ifdef GL_SUN_vertex
  6090. "GL_SUN_vertex",
  6091. #endif
  6092. #ifdef GL_WIN_phong_shading
  6093. "GL_WIN_phong_shading",
  6094. #endif
  6095. #ifdef GL_WIN_scene_markerXXX
  6096. "GL_WIN_scene_markerXXX",
  6097. #endif
  6098. #ifdef GL_WIN_specular_fog
  6099. "GL_WIN_specular_fog",
  6100. #endif
  6101. #ifdef GL_WIN_swap_hint
  6102. "GL_WIN_swap_hint",
  6103. #endif
  6104. NULL
  6105. };
  6106. /* Detected in the extension string or strings */
  6107. static GLboolean _glewExtensionString[801];
  6108. /* Detected via extension string or experimental mode */
  6109. static GLboolean* _glewExtensionEnabled[] = {
  6110. #ifdef GL_VERSION_1_2
  6111. &__GLEW_VERSION_1_2,
  6112. #endif
  6113. #ifdef GL_VERSION_1_2_1
  6114. &__GLEW_VERSION_1_2_1,
  6115. #endif
  6116. #ifdef GL_VERSION_1_3
  6117. &__GLEW_VERSION_1_3,
  6118. #endif
  6119. #ifdef GL_VERSION_1_4
  6120. &__GLEW_VERSION_1_4,
  6121. #endif
  6122. #ifdef GL_VERSION_1_5
  6123. &__GLEW_VERSION_1_5,
  6124. #endif
  6125. #ifdef GL_VERSION_2_0
  6126. &__GLEW_VERSION_2_0,
  6127. #endif
  6128. #ifdef GL_VERSION_2_1
  6129. &__GLEW_VERSION_2_1,
  6130. #endif
  6131. #ifdef GL_VERSION_3_0
  6132. &__GLEW_VERSION_3_0,
  6133. #endif
  6134. #ifdef GL_VERSION_3_1
  6135. &__GLEW_VERSION_3_1,
  6136. #endif
  6137. #ifdef GL_VERSION_3_2
  6138. &__GLEW_VERSION_3_2,
  6139. #endif
  6140. #ifdef GL_VERSION_3_3
  6141. &__GLEW_VERSION_3_3,
  6142. #endif
  6143. #ifdef GL_VERSION_4_0
  6144. &__GLEW_VERSION_4_0,
  6145. #endif
  6146. #ifdef GL_VERSION_4_1
  6147. &__GLEW_VERSION_4_1,
  6148. #endif
  6149. #ifdef GL_VERSION_4_2
  6150. &__GLEW_VERSION_4_2,
  6151. #endif
  6152. #ifdef GL_VERSION_4_3
  6153. &__GLEW_VERSION_4_3,
  6154. #endif
  6155. #ifdef GL_VERSION_4_4
  6156. &__GLEW_VERSION_4_4,
  6157. #endif
  6158. #ifdef GL_VERSION_4_5
  6159. &__GLEW_VERSION_4_5,
  6160. #endif
  6161. #ifdef GL_VERSION_4_6
  6162. &__GLEW_VERSION_4_6,
  6163. #endif
  6164. #ifdef GL_3DFX_multisample
  6165. &__GLEW_3DFX_multisample,
  6166. #endif
  6167. #ifdef GL_3DFX_tbuffer
  6168. &__GLEW_3DFX_tbuffer,
  6169. #endif
  6170. #ifdef GL_3DFX_texture_compression_FXT1
  6171. &__GLEW_3DFX_texture_compression_FXT1,
  6172. #endif
  6173. #ifdef GL_AMD_blend_minmax_factor
  6174. &__GLEW_AMD_blend_minmax_factor,
  6175. #endif
  6176. #ifdef GL_AMD_compressed_3DC_texture
  6177. &__GLEW_AMD_compressed_3DC_texture,
  6178. #endif
  6179. #ifdef GL_AMD_compressed_ATC_texture
  6180. &__GLEW_AMD_compressed_ATC_texture,
  6181. #endif
  6182. #ifdef GL_AMD_conservative_depth
  6183. &__GLEW_AMD_conservative_depth,
  6184. #endif
  6185. #ifdef GL_AMD_debug_output
  6186. &__GLEW_AMD_debug_output,
  6187. #endif
  6188. #ifdef GL_AMD_depth_clamp_separate
  6189. &__GLEW_AMD_depth_clamp_separate,
  6190. #endif
  6191. #ifdef GL_AMD_draw_buffers_blend
  6192. &__GLEW_AMD_draw_buffers_blend,
  6193. #endif
  6194. #ifdef GL_AMD_framebuffer_sample_positions
  6195. &__GLEW_AMD_framebuffer_sample_positions,
  6196. #endif
  6197. #ifdef GL_AMD_gcn_shader
  6198. &__GLEW_AMD_gcn_shader,
  6199. #endif
  6200. #ifdef GL_AMD_gpu_shader_half_float
  6201. &__GLEW_AMD_gpu_shader_half_float,
  6202. #endif
  6203. #ifdef GL_AMD_gpu_shader_int16
  6204. &__GLEW_AMD_gpu_shader_int16,
  6205. #endif
  6206. #ifdef GL_AMD_gpu_shader_int64
  6207. &__GLEW_AMD_gpu_shader_int64,
  6208. #endif
  6209. #ifdef GL_AMD_interleaved_elements
  6210. &__GLEW_AMD_interleaved_elements,
  6211. #endif
  6212. #ifdef GL_AMD_multi_draw_indirect
  6213. &__GLEW_AMD_multi_draw_indirect,
  6214. #endif
  6215. #ifdef GL_AMD_name_gen_delete
  6216. &__GLEW_AMD_name_gen_delete,
  6217. #endif
  6218. #ifdef GL_AMD_occlusion_query_event
  6219. &__GLEW_AMD_occlusion_query_event,
  6220. #endif
  6221. #ifdef GL_AMD_performance_monitor
  6222. &__GLEW_AMD_performance_monitor,
  6223. #endif
  6224. #ifdef GL_AMD_pinned_memory
  6225. &__GLEW_AMD_pinned_memory,
  6226. #endif
  6227. #ifdef GL_AMD_program_binary_Z400
  6228. &__GLEW_AMD_program_binary_Z400,
  6229. #endif
  6230. #ifdef GL_AMD_query_buffer_object
  6231. &__GLEW_AMD_query_buffer_object,
  6232. #endif
  6233. #ifdef GL_AMD_sample_positions
  6234. &__GLEW_AMD_sample_positions,
  6235. #endif
  6236. #ifdef GL_AMD_seamless_cubemap_per_texture
  6237. &__GLEW_AMD_seamless_cubemap_per_texture,
  6238. #endif
  6239. #ifdef GL_AMD_shader_atomic_counter_ops
  6240. &__GLEW_AMD_shader_atomic_counter_ops,
  6241. #endif
  6242. #ifdef GL_AMD_shader_ballot
  6243. &__GLEW_AMD_shader_ballot,
  6244. #endif
  6245. #ifdef GL_AMD_shader_explicit_vertex_parameter
  6246. &__GLEW_AMD_shader_explicit_vertex_parameter,
  6247. #endif
  6248. #ifdef GL_AMD_shader_stencil_export
  6249. &__GLEW_AMD_shader_stencil_export,
  6250. #endif
  6251. #ifdef GL_AMD_shader_stencil_value_export
  6252. &__GLEW_AMD_shader_stencil_value_export,
  6253. #endif
  6254. #ifdef GL_AMD_shader_trinary_minmax
  6255. &__GLEW_AMD_shader_trinary_minmax,
  6256. #endif
  6257. #ifdef GL_AMD_sparse_texture
  6258. &__GLEW_AMD_sparse_texture,
  6259. #endif
  6260. #ifdef GL_AMD_stencil_operation_extended
  6261. &__GLEW_AMD_stencil_operation_extended,
  6262. #endif
  6263. #ifdef GL_AMD_texture_gather_bias_lod
  6264. &__GLEW_AMD_texture_gather_bias_lod,
  6265. #endif
  6266. #ifdef GL_AMD_texture_texture4
  6267. &__GLEW_AMD_texture_texture4,
  6268. #endif
  6269. #ifdef GL_AMD_transform_feedback3_lines_triangles
  6270. &__GLEW_AMD_transform_feedback3_lines_triangles,
  6271. #endif
  6272. #ifdef GL_AMD_transform_feedback4
  6273. &__GLEW_AMD_transform_feedback4,
  6274. #endif
  6275. #ifdef GL_AMD_vertex_shader_layer
  6276. &__GLEW_AMD_vertex_shader_layer,
  6277. #endif
  6278. #ifdef GL_AMD_vertex_shader_tessellator
  6279. &__GLEW_AMD_vertex_shader_tessellator,
  6280. #endif
  6281. #ifdef GL_AMD_vertex_shader_viewport_index
  6282. &__GLEW_AMD_vertex_shader_viewport_index,
  6283. #endif
  6284. #ifdef GL_ANDROID_extension_pack_es31a
  6285. &__GLEW_ANDROID_extension_pack_es31a,
  6286. #endif
  6287. #ifdef GL_ANGLE_depth_texture
  6288. &__GLEW_ANGLE_depth_texture,
  6289. #endif
  6290. #ifdef GL_ANGLE_framebuffer_blit
  6291. &__GLEW_ANGLE_framebuffer_blit,
  6292. #endif
  6293. #ifdef GL_ANGLE_framebuffer_multisample
  6294. &__GLEW_ANGLE_framebuffer_multisample,
  6295. #endif
  6296. #ifdef GL_ANGLE_instanced_arrays
  6297. &__GLEW_ANGLE_instanced_arrays,
  6298. #endif
  6299. #ifdef GL_ANGLE_pack_reverse_row_order
  6300. &__GLEW_ANGLE_pack_reverse_row_order,
  6301. #endif
  6302. #ifdef GL_ANGLE_program_binary
  6303. &__GLEW_ANGLE_program_binary,
  6304. #endif
  6305. #ifdef GL_ANGLE_texture_compression_dxt1
  6306. &__GLEW_ANGLE_texture_compression_dxt1,
  6307. #endif
  6308. #ifdef GL_ANGLE_texture_compression_dxt3
  6309. &__GLEW_ANGLE_texture_compression_dxt3,
  6310. #endif
  6311. #ifdef GL_ANGLE_texture_compression_dxt5
  6312. &__GLEW_ANGLE_texture_compression_dxt5,
  6313. #endif
  6314. #ifdef GL_ANGLE_texture_usage
  6315. &__GLEW_ANGLE_texture_usage,
  6316. #endif
  6317. #ifdef GL_ANGLE_timer_query
  6318. &__GLEW_ANGLE_timer_query,
  6319. #endif
  6320. #ifdef GL_ANGLE_translated_shader_source
  6321. &__GLEW_ANGLE_translated_shader_source,
  6322. #endif
  6323. #ifdef GL_APPLE_aux_depth_stencil
  6324. &__GLEW_APPLE_aux_depth_stencil,
  6325. #endif
  6326. #ifdef GL_APPLE_client_storage
  6327. &__GLEW_APPLE_client_storage,
  6328. #endif
  6329. #ifdef GL_APPLE_clip_distance
  6330. &__GLEW_APPLE_clip_distance,
  6331. #endif
  6332. #ifdef GL_APPLE_color_buffer_packed_float
  6333. &__GLEW_APPLE_color_buffer_packed_float,
  6334. #endif
  6335. #ifdef GL_APPLE_copy_texture_levels
  6336. &__GLEW_APPLE_copy_texture_levels,
  6337. #endif
  6338. #ifdef GL_APPLE_element_array
  6339. &__GLEW_APPLE_element_array,
  6340. #endif
  6341. #ifdef GL_APPLE_fence
  6342. &__GLEW_APPLE_fence,
  6343. #endif
  6344. #ifdef GL_APPLE_float_pixels
  6345. &__GLEW_APPLE_float_pixels,
  6346. #endif
  6347. #ifdef GL_APPLE_flush_buffer_range
  6348. &__GLEW_APPLE_flush_buffer_range,
  6349. #endif
  6350. #ifdef GL_APPLE_framebuffer_multisample
  6351. &__GLEW_APPLE_framebuffer_multisample,
  6352. #endif
  6353. #ifdef GL_APPLE_object_purgeable
  6354. &__GLEW_APPLE_object_purgeable,
  6355. #endif
  6356. #ifdef GL_APPLE_pixel_buffer
  6357. &__GLEW_APPLE_pixel_buffer,
  6358. #endif
  6359. #ifdef GL_APPLE_rgb_422
  6360. &__GLEW_APPLE_rgb_422,
  6361. #endif
  6362. #ifdef GL_APPLE_row_bytes
  6363. &__GLEW_APPLE_row_bytes,
  6364. #endif
  6365. #ifdef GL_APPLE_specular_vector
  6366. &__GLEW_APPLE_specular_vector,
  6367. #endif
  6368. #ifdef GL_APPLE_sync
  6369. &__GLEW_APPLE_sync,
  6370. #endif
  6371. #ifdef GL_APPLE_texture_2D_limited_npot
  6372. &__GLEW_APPLE_texture_2D_limited_npot,
  6373. #endif
  6374. #ifdef GL_APPLE_texture_format_BGRA8888
  6375. &__GLEW_APPLE_texture_format_BGRA8888,
  6376. #endif
  6377. #ifdef GL_APPLE_texture_max_level
  6378. &__GLEW_APPLE_texture_max_level,
  6379. #endif
  6380. #ifdef GL_APPLE_texture_packed_float
  6381. &__GLEW_APPLE_texture_packed_float,
  6382. #endif
  6383. #ifdef GL_APPLE_texture_range
  6384. &__GLEW_APPLE_texture_range,
  6385. #endif
  6386. #ifdef GL_APPLE_transform_hint
  6387. &__GLEW_APPLE_transform_hint,
  6388. #endif
  6389. #ifdef GL_APPLE_vertex_array_object
  6390. &__GLEW_APPLE_vertex_array_object,
  6391. #endif
  6392. #ifdef GL_APPLE_vertex_array_range
  6393. &__GLEW_APPLE_vertex_array_range,
  6394. #endif
  6395. #ifdef GL_APPLE_vertex_program_evaluators
  6396. &__GLEW_APPLE_vertex_program_evaluators,
  6397. #endif
  6398. #ifdef GL_APPLE_ycbcr_422
  6399. &__GLEW_APPLE_ycbcr_422,
  6400. #endif
  6401. #ifdef GL_ARB_ES2_compatibility
  6402. &__GLEW_ARB_ES2_compatibility,
  6403. #endif
  6404. #ifdef GL_ARB_ES3_1_compatibility
  6405. &__GLEW_ARB_ES3_1_compatibility,
  6406. #endif
  6407. #ifdef GL_ARB_ES3_2_compatibility
  6408. &__GLEW_ARB_ES3_2_compatibility,
  6409. #endif
  6410. #ifdef GL_ARB_ES3_compatibility
  6411. &__GLEW_ARB_ES3_compatibility,
  6412. #endif
  6413. #ifdef GL_ARB_arrays_of_arrays
  6414. &__GLEW_ARB_arrays_of_arrays,
  6415. #endif
  6416. #ifdef GL_ARB_base_instance
  6417. &__GLEW_ARB_base_instance,
  6418. #endif
  6419. #ifdef GL_ARB_bindless_texture
  6420. &__GLEW_ARB_bindless_texture,
  6421. #endif
  6422. #ifdef GL_ARB_blend_func_extended
  6423. &__GLEW_ARB_blend_func_extended,
  6424. #endif
  6425. #ifdef GL_ARB_buffer_storage
  6426. &__GLEW_ARB_buffer_storage,
  6427. #endif
  6428. #ifdef GL_ARB_cl_event
  6429. &__GLEW_ARB_cl_event,
  6430. #endif
  6431. #ifdef GL_ARB_clear_buffer_object
  6432. &__GLEW_ARB_clear_buffer_object,
  6433. #endif
  6434. #ifdef GL_ARB_clear_texture
  6435. &__GLEW_ARB_clear_texture,
  6436. #endif
  6437. #ifdef GL_ARB_clip_control
  6438. &__GLEW_ARB_clip_control,
  6439. #endif
  6440. #ifdef GL_ARB_color_buffer_float
  6441. &__GLEW_ARB_color_buffer_float,
  6442. #endif
  6443. #ifdef GL_ARB_compatibility
  6444. &__GLEW_ARB_compatibility,
  6445. #endif
  6446. #ifdef GL_ARB_compressed_texture_pixel_storage
  6447. &__GLEW_ARB_compressed_texture_pixel_storage,
  6448. #endif
  6449. #ifdef GL_ARB_compute_shader
  6450. &__GLEW_ARB_compute_shader,
  6451. #endif
  6452. #ifdef GL_ARB_compute_variable_group_size
  6453. &__GLEW_ARB_compute_variable_group_size,
  6454. #endif
  6455. #ifdef GL_ARB_conditional_render_inverted
  6456. &__GLEW_ARB_conditional_render_inverted,
  6457. #endif
  6458. #ifdef GL_ARB_conservative_depth
  6459. &__GLEW_ARB_conservative_depth,
  6460. #endif
  6461. #ifdef GL_ARB_copy_buffer
  6462. &__GLEW_ARB_copy_buffer,
  6463. #endif
  6464. #ifdef GL_ARB_copy_image
  6465. &__GLEW_ARB_copy_image,
  6466. #endif
  6467. #ifdef GL_ARB_cull_distance
  6468. &__GLEW_ARB_cull_distance,
  6469. #endif
  6470. #ifdef GL_ARB_debug_output
  6471. &__GLEW_ARB_debug_output,
  6472. #endif
  6473. #ifdef GL_ARB_depth_buffer_float
  6474. &__GLEW_ARB_depth_buffer_float,
  6475. #endif
  6476. #ifdef GL_ARB_depth_clamp
  6477. &__GLEW_ARB_depth_clamp,
  6478. #endif
  6479. #ifdef GL_ARB_depth_texture
  6480. &__GLEW_ARB_depth_texture,
  6481. #endif
  6482. #ifdef GL_ARB_derivative_control
  6483. &__GLEW_ARB_derivative_control,
  6484. #endif
  6485. #ifdef GL_ARB_direct_state_access
  6486. &__GLEW_ARB_direct_state_access,
  6487. #endif
  6488. #ifdef GL_ARB_draw_buffers
  6489. &__GLEW_ARB_draw_buffers,
  6490. #endif
  6491. #ifdef GL_ARB_draw_buffers_blend
  6492. &__GLEW_ARB_draw_buffers_blend,
  6493. #endif
  6494. #ifdef GL_ARB_draw_elements_base_vertex
  6495. &__GLEW_ARB_draw_elements_base_vertex,
  6496. #endif
  6497. #ifdef GL_ARB_draw_indirect
  6498. &__GLEW_ARB_draw_indirect,
  6499. #endif
  6500. #ifdef GL_ARB_draw_instanced
  6501. &__GLEW_ARB_draw_instanced,
  6502. #endif
  6503. #ifdef GL_ARB_enhanced_layouts
  6504. &__GLEW_ARB_enhanced_layouts,
  6505. #endif
  6506. #ifdef GL_ARB_explicit_attrib_location
  6507. &__GLEW_ARB_explicit_attrib_location,
  6508. #endif
  6509. #ifdef GL_ARB_explicit_uniform_location
  6510. &__GLEW_ARB_explicit_uniform_location,
  6511. #endif
  6512. #ifdef GL_ARB_fragment_coord_conventions
  6513. &__GLEW_ARB_fragment_coord_conventions,
  6514. #endif
  6515. #ifdef GL_ARB_fragment_layer_viewport
  6516. &__GLEW_ARB_fragment_layer_viewport,
  6517. #endif
  6518. #ifdef GL_ARB_fragment_program
  6519. &__GLEW_ARB_fragment_program,
  6520. #endif
  6521. #ifdef GL_ARB_fragment_program_shadow
  6522. &__GLEW_ARB_fragment_program_shadow,
  6523. #endif
  6524. #ifdef GL_ARB_fragment_shader
  6525. &__GLEW_ARB_fragment_shader,
  6526. #endif
  6527. #ifdef GL_ARB_fragment_shader_interlock
  6528. &__GLEW_ARB_fragment_shader_interlock,
  6529. #endif
  6530. #ifdef GL_ARB_framebuffer_no_attachments
  6531. &__GLEW_ARB_framebuffer_no_attachments,
  6532. #endif
  6533. #ifdef GL_ARB_framebuffer_object
  6534. &__GLEW_ARB_framebuffer_object,
  6535. #endif
  6536. #ifdef GL_ARB_framebuffer_sRGB
  6537. &__GLEW_ARB_framebuffer_sRGB,
  6538. #endif
  6539. #ifdef GL_ARB_geometry_shader4
  6540. &__GLEW_ARB_geometry_shader4,
  6541. #endif
  6542. #ifdef GL_ARB_get_program_binary
  6543. &__GLEW_ARB_get_program_binary,
  6544. #endif
  6545. #ifdef GL_ARB_get_texture_sub_image
  6546. &__GLEW_ARB_get_texture_sub_image,
  6547. #endif
  6548. #ifdef GL_ARB_gl_spirv
  6549. &__GLEW_ARB_gl_spirv,
  6550. #endif
  6551. #ifdef GL_ARB_gpu_shader5
  6552. &__GLEW_ARB_gpu_shader5,
  6553. #endif
  6554. #ifdef GL_ARB_gpu_shader_fp64
  6555. &__GLEW_ARB_gpu_shader_fp64,
  6556. #endif
  6557. #ifdef GL_ARB_gpu_shader_int64
  6558. &__GLEW_ARB_gpu_shader_int64,
  6559. #endif
  6560. #ifdef GL_ARB_half_float_pixel
  6561. &__GLEW_ARB_half_float_pixel,
  6562. #endif
  6563. #ifdef GL_ARB_half_float_vertex
  6564. &__GLEW_ARB_half_float_vertex,
  6565. #endif
  6566. #ifdef GL_ARB_imaging
  6567. &__GLEW_ARB_imaging,
  6568. #endif
  6569. #ifdef GL_ARB_indirect_parameters
  6570. &__GLEW_ARB_indirect_parameters,
  6571. #endif
  6572. #ifdef GL_ARB_instanced_arrays
  6573. &__GLEW_ARB_instanced_arrays,
  6574. #endif
  6575. #ifdef GL_ARB_internalformat_query
  6576. &__GLEW_ARB_internalformat_query,
  6577. #endif
  6578. #ifdef GL_ARB_internalformat_query2
  6579. &__GLEW_ARB_internalformat_query2,
  6580. #endif
  6581. #ifdef GL_ARB_invalidate_subdata
  6582. &__GLEW_ARB_invalidate_subdata,
  6583. #endif
  6584. #ifdef GL_ARB_map_buffer_alignment
  6585. &__GLEW_ARB_map_buffer_alignment,
  6586. #endif
  6587. #ifdef GL_ARB_map_buffer_range
  6588. &__GLEW_ARB_map_buffer_range,
  6589. #endif
  6590. #ifdef GL_ARB_matrix_palette
  6591. &__GLEW_ARB_matrix_palette,
  6592. #endif
  6593. #ifdef GL_ARB_multi_bind
  6594. &__GLEW_ARB_multi_bind,
  6595. #endif
  6596. #ifdef GL_ARB_multi_draw_indirect
  6597. &__GLEW_ARB_multi_draw_indirect,
  6598. #endif
  6599. #ifdef GL_ARB_multisample
  6600. &__GLEW_ARB_multisample,
  6601. #endif
  6602. #ifdef GL_ARB_multitexture
  6603. &__GLEW_ARB_multitexture,
  6604. #endif
  6605. #ifdef GL_ARB_occlusion_query
  6606. &__GLEW_ARB_occlusion_query,
  6607. #endif
  6608. #ifdef GL_ARB_occlusion_query2
  6609. &__GLEW_ARB_occlusion_query2,
  6610. #endif
  6611. #ifdef GL_ARB_parallel_shader_compile
  6612. &__GLEW_ARB_parallel_shader_compile,
  6613. #endif
  6614. #ifdef GL_ARB_pipeline_statistics_query
  6615. &__GLEW_ARB_pipeline_statistics_query,
  6616. #endif
  6617. #ifdef GL_ARB_pixel_buffer_object
  6618. &__GLEW_ARB_pixel_buffer_object,
  6619. #endif
  6620. #ifdef GL_ARB_point_parameters
  6621. &__GLEW_ARB_point_parameters,
  6622. #endif
  6623. #ifdef GL_ARB_point_sprite
  6624. &__GLEW_ARB_point_sprite,
  6625. #endif
  6626. #ifdef GL_ARB_polygon_offset_clamp
  6627. &__GLEW_ARB_polygon_offset_clamp,
  6628. #endif
  6629. #ifdef GL_ARB_post_depth_coverage
  6630. &__GLEW_ARB_post_depth_coverage,
  6631. #endif
  6632. #ifdef GL_ARB_program_interface_query
  6633. &__GLEW_ARB_program_interface_query,
  6634. #endif
  6635. #ifdef GL_ARB_provoking_vertex
  6636. &__GLEW_ARB_provoking_vertex,
  6637. #endif
  6638. #ifdef GL_ARB_query_buffer_object
  6639. &__GLEW_ARB_query_buffer_object,
  6640. #endif
  6641. #ifdef GL_ARB_robust_buffer_access_behavior
  6642. &__GLEW_ARB_robust_buffer_access_behavior,
  6643. #endif
  6644. #ifdef GL_ARB_robustness
  6645. &__GLEW_ARB_robustness,
  6646. #endif
  6647. #ifdef GL_ARB_robustness_application_isolation
  6648. &__GLEW_ARB_robustness_application_isolation,
  6649. #endif
  6650. #ifdef GL_ARB_robustness_share_group_isolation
  6651. &__GLEW_ARB_robustness_share_group_isolation,
  6652. #endif
  6653. #ifdef GL_ARB_sample_locations
  6654. &__GLEW_ARB_sample_locations,
  6655. #endif
  6656. #ifdef GL_ARB_sample_shading
  6657. &__GLEW_ARB_sample_shading,
  6658. #endif
  6659. #ifdef GL_ARB_sampler_objects
  6660. &__GLEW_ARB_sampler_objects,
  6661. #endif
  6662. #ifdef GL_ARB_seamless_cube_map
  6663. &__GLEW_ARB_seamless_cube_map,
  6664. #endif
  6665. #ifdef GL_ARB_seamless_cubemap_per_texture
  6666. &__GLEW_ARB_seamless_cubemap_per_texture,
  6667. #endif
  6668. #ifdef GL_ARB_separate_shader_objects
  6669. &__GLEW_ARB_separate_shader_objects,
  6670. #endif
  6671. #ifdef GL_ARB_shader_atomic_counter_ops
  6672. &__GLEW_ARB_shader_atomic_counter_ops,
  6673. #endif
  6674. #ifdef GL_ARB_shader_atomic_counters
  6675. &__GLEW_ARB_shader_atomic_counters,
  6676. #endif
  6677. #ifdef GL_ARB_shader_ballot
  6678. &__GLEW_ARB_shader_ballot,
  6679. #endif
  6680. #ifdef GL_ARB_shader_bit_encoding
  6681. &__GLEW_ARB_shader_bit_encoding,
  6682. #endif
  6683. #ifdef GL_ARB_shader_clock
  6684. &__GLEW_ARB_shader_clock,
  6685. #endif
  6686. #ifdef GL_ARB_shader_draw_parameters
  6687. &__GLEW_ARB_shader_draw_parameters,
  6688. #endif
  6689. #ifdef GL_ARB_shader_group_vote
  6690. &__GLEW_ARB_shader_group_vote,
  6691. #endif
  6692. #ifdef GL_ARB_shader_image_load_store
  6693. &__GLEW_ARB_shader_image_load_store,
  6694. #endif
  6695. #ifdef GL_ARB_shader_image_size
  6696. &__GLEW_ARB_shader_image_size,
  6697. #endif
  6698. #ifdef GL_ARB_shader_objects
  6699. &__GLEW_ARB_shader_objects,
  6700. #endif
  6701. #ifdef GL_ARB_shader_precision
  6702. &__GLEW_ARB_shader_precision,
  6703. #endif
  6704. #ifdef GL_ARB_shader_stencil_export
  6705. &__GLEW_ARB_shader_stencil_export,
  6706. #endif
  6707. #ifdef GL_ARB_shader_storage_buffer_object
  6708. &__GLEW_ARB_shader_storage_buffer_object,
  6709. #endif
  6710. #ifdef GL_ARB_shader_subroutine
  6711. &__GLEW_ARB_shader_subroutine,
  6712. #endif
  6713. #ifdef GL_ARB_shader_texture_image_samples
  6714. &__GLEW_ARB_shader_texture_image_samples,
  6715. #endif
  6716. #ifdef GL_ARB_shader_texture_lod
  6717. &__GLEW_ARB_shader_texture_lod,
  6718. #endif
  6719. #ifdef GL_ARB_shader_viewport_layer_array
  6720. &__GLEW_ARB_shader_viewport_layer_array,
  6721. #endif
  6722. #ifdef GL_ARB_shading_language_100
  6723. &__GLEW_ARB_shading_language_100,
  6724. #endif
  6725. #ifdef GL_ARB_shading_language_420pack
  6726. &__GLEW_ARB_shading_language_420pack,
  6727. #endif
  6728. #ifdef GL_ARB_shading_language_include
  6729. &__GLEW_ARB_shading_language_include,
  6730. #endif
  6731. #ifdef GL_ARB_shading_language_packing
  6732. &__GLEW_ARB_shading_language_packing,
  6733. #endif
  6734. #ifdef GL_ARB_shadow
  6735. &__GLEW_ARB_shadow,
  6736. #endif
  6737. #ifdef GL_ARB_shadow_ambient
  6738. &__GLEW_ARB_shadow_ambient,
  6739. #endif
  6740. #ifdef GL_ARB_sparse_buffer
  6741. &__GLEW_ARB_sparse_buffer,
  6742. #endif
  6743. #ifdef GL_ARB_sparse_texture
  6744. &__GLEW_ARB_sparse_texture,
  6745. #endif
  6746. #ifdef GL_ARB_sparse_texture2
  6747. &__GLEW_ARB_sparse_texture2,
  6748. #endif
  6749. #ifdef GL_ARB_sparse_texture_clamp
  6750. &__GLEW_ARB_sparse_texture_clamp,
  6751. #endif
  6752. #ifdef GL_ARB_spirv_extensions
  6753. &__GLEW_ARB_spirv_extensions,
  6754. #endif
  6755. #ifdef GL_ARB_stencil_texturing
  6756. &__GLEW_ARB_stencil_texturing,
  6757. #endif
  6758. #ifdef GL_ARB_sync
  6759. &__GLEW_ARB_sync,
  6760. #endif
  6761. #ifdef GL_ARB_tessellation_shader
  6762. &__GLEW_ARB_tessellation_shader,
  6763. #endif
  6764. #ifdef GL_ARB_texture_barrier
  6765. &__GLEW_ARB_texture_barrier,
  6766. #endif
  6767. #ifdef GL_ARB_texture_border_clamp
  6768. &__GLEW_ARB_texture_border_clamp,
  6769. #endif
  6770. #ifdef GL_ARB_texture_buffer_object
  6771. &__GLEW_ARB_texture_buffer_object,
  6772. #endif
  6773. #ifdef GL_ARB_texture_buffer_object_rgb32
  6774. &__GLEW_ARB_texture_buffer_object_rgb32,
  6775. #endif
  6776. #ifdef GL_ARB_texture_buffer_range
  6777. &__GLEW_ARB_texture_buffer_range,
  6778. #endif
  6779. #ifdef GL_ARB_texture_compression
  6780. &__GLEW_ARB_texture_compression,
  6781. #endif
  6782. #ifdef GL_ARB_texture_compression_bptc
  6783. &__GLEW_ARB_texture_compression_bptc,
  6784. #endif
  6785. #ifdef GL_ARB_texture_compression_rgtc
  6786. &__GLEW_ARB_texture_compression_rgtc,
  6787. #endif
  6788. #ifdef GL_ARB_texture_cube_map
  6789. &__GLEW_ARB_texture_cube_map,
  6790. #endif
  6791. #ifdef GL_ARB_texture_cube_map_array
  6792. &__GLEW_ARB_texture_cube_map_array,
  6793. #endif
  6794. #ifdef GL_ARB_texture_env_add
  6795. &__GLEW_ARB_texture_env_add,
  6796. #endif
  6797. #ifdef GL_ARB_texture_env_combine
  6798. &__GLEW_ARB_texture_env_combine,
  6799. #endif
  6800. #ifdef GL_ARB_texture_env_crossbar
  6801. &__GLEW_ARB_texture_env_crossbar,
  6802. #endif
  6803. #ifdef GL_ARB_texture_env_dot3
  6804. &__GLEW_ARB_texture_env_dot3,
  6805. #endif
  6806. #ifdef GL_ARB_texture_filter_anisotropic
  6807. &__GLEW_ARB_texture_filter_anisotropic,
  6808. #endif
  6809. #ifdef GL_ARB_texture_filter_minmax
  6810. &__GLEW_ARB_texture_filter_minmax,
  6811. #endif
  6812. #ifdef GL_ARB_texture_float
  6813. &__GLEW_ARB_texture_float,
  6814. #endif
  6815. #ifdef GL_ARB_texture_gather
  6816. &__GLEW_ARB_texture_gather,
  6817. #endif
  6818. #ifdef GL_ARB_texture_mirror_clamp_to_edge
  6819. &__GLEW_ARB_texture_mirror_clamp_to_edge,
  6820. #endif
  6821. #ifdef GL_ARB_texture_mirrored_repeat
  6822. &__GLEW_ARB_texture_mirrored_repeat,
  6823. #endif
  6824. #ifdef GL_ARB_texture_multisample
  6825. &__GLEW_ARB_texture_multisample,
  6826. #endif
  6827. #ifdef GL_ARB_texture_non_power_of_two
  6828. &__GLEW_ARB_texture_non_power_of_two,
  6829. #endif
  6830. #ifdef GL_ARB_texture_query_levels
  6831. &__GLEW_ARB_texture_query_levels,
  6832. #endif
  6833. #ifdef GL_ARB_texture_query_lod
  6834. &__GLEW_ARB_texture_query_lod,
  6835. #endif
  6836. #ifdef GL_ARB_texture_rectangle
  6837. &__GLEW_ARB_texture_rectangle,
  6838. #endif
  6839. #ifdef GL_ARB_texture_rg
  6840. &__GLEW_ARB_texture_rg,
  6841. #endif
  6842. #ifdef GL_ARB_texture_rgb10_a2ui
  6843. &__GLEW_ARB_texture_rgb10_a2ui,
  6844. #endif
  6845. #ifdef GL_ARB_texture_stencil8
  6846. &__GLEW_ARB_texture_stencil8,
  6847. #endif
  6848. #ifdef GL_ARB_texture_storage
  6849. &__GLEW_ARB_texture_storage,
  6850. #endif
  6851. #ifdef GL_ARB_texture_storage_multisample
  6852. &__GLEW_ARB_texture_storage_multisample,
  6853. #endif
  6854. #ifdef GL_ARB_texture_swizzle
  6855. &__GLEW_ARB_texture_swizzle,
  6856. #endif
  6857. #ifdef GL_ARB_texture_view
  6858. &__GLEW_ARB_texture_view,
  6859. #endif
  6860. #ifdef GL_ARB_timer_query
  6861. &__GLEW_ARB_timer_query,
  6862. #endif
  6863. #ifdef GL_ARB_transform_feedback2
  6864. &__GLEW_ARB_transform_feedback2,
  6865. #endif
  6866. #ifdef GL_ARB_transform_feedback3
  6867. &__GLEW_ARB_transform_feedback3,
  6868. #endif
  6869. #ifdef GL_ARB_transform_feedback_instanced
  6870. &__GLEW_ARB_transform_feedback_instanced,
  6871. #endif
  6872. #ifdef GL_ARB_transform_feedback_overflow_query
  6873. &__GLEW_ARB_transform_feedback_overflow_query,
  6874. #endif
  6875. #ifdef GL_ARB_transpose_matrix
  6876. &__GLEW_ARB_transpose_matrix,
  6877. #endif
  6878. #ifdef GL_ARB_uniform_buffer_object
  6879. &__GLEW_ARB_uniform_buffer_object,
  6880. #endif
  6881. #ifdef GL_ARB_vertex_array_bgra
  6882. &__GLEW_ARB_vertex_array_bgra,
  6883. #endif
  6884. #ifdef GL_ARB_vertex_array_object
  6885. &__GLEW_ARB_vertex_array_object,
  6886. #endif
  6887. #ifdef GL_ARB_vertex_attrib_64bit
  6888. &__GLEW_ARB_vertex_attrib_64bit,
  6889. #endif
  6890. #ifdef GL_ARB_vertex_attrib_binding
  6891. &__GLEW_ARB_vertex_attrib_binding,
  6892. #endif
  6893. #ifdef GL_ARB_vertex_blend
  6894. &__GLEW_ARB_vertex_blend,
  6895. #endif
  6896. #ifdef GL_ARB_vertex_buffer_object
  6897. &__GLEW_ARB_vertex_buffer_object,
  6898. #endif
  6899. #ifdef GL_ARB_vertex_program
  6900. &__GLEW_ARB_vertex_program,
  6901. #endif
  6902. #ifdef GL_ARB_vertex_shader
  6903. &__GLEW_ARB_vertex_shader,
  6904. #endif
  6905. #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
  6906. &__GLEW_ARB_vertex_type_10f_11f_11f_rev,
  6907. #endif
  6908. #ifdef GL_ARB_vertex_type_2_10_10_10_rev
  6909. &__GLEW_ARB_vertex_type_2_10_10_10_rev,
  6910. #endif
  6911. #ifdef GL_ARB_viewport_array
  6912. &__GLEW_ARB_viewport_array,
  6913. #endif
  6914. #ifdef GL_ARB_window_pos
  6915. &__GLEW_ARB_window_pos,
  6916. #endif
  6917. #ifdef GL_ARM_mali_program_binary
  6918. &__GLEW_ARM_mali_program_binary,
  6919. #endif
  6920. #ifdef GL_ARM_mali_shader_binary
  6921. &__GLEW_ARM_mali_shader_binary,
  6922. #endif
  6923. #ifdef GL_ARM_rgba8
  6924. &__GLEW_ARM_rgba8,
  6925. #endif
  6926. #ifdef GL_ARM_shader_framebuffer_fetch
  6927. &__GLEW_ARM_shader_framebuffer_fetch,
  6928. #endif
  6929. #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
  6930. &__GLEW_ARM_shader_framebuffer_fetch_depth_stencil,
  6931. #endif
  6932. #ifdef GL_ATIX_point_sprites
  6933. &__GLEW_ATIX_point_sprites,
  6934. #endif
  6935. #ifdef GL_ATIX_texture_env_combine3
  6936. &__GLEW_ATIX_texture_env_combine3,
  6937. #endif
  6938. #ifdef GL_ATIX_texture_env_route
  6939. &__GLEW_ATIX_texture_env_route,
  6940. #endif
  6941. #ifdef GL_ATIX_vertex_shader_output_point_size
  6942. &__GLEW_ATIX_vertex_shader_output_point_size,
  6943. #endif
  6944. #ifdef GL_ATI_draw_buffers
  6945. &__GLEW_ATI_draw_buffers,
  6946. #endif
  6947. #ifdef GL_ATI_element_array
  6948. &__GLEW_ATI_element_array,
  6949. #endif
  6950. #ifdef GL_ATI_envmap_bumpmap
  6951. &__GLEW_ATI_envmap_bumpmap,
  6952. #endif
  6953. #ifdef GL_ATI_fragment_shader
  6954. &__GLEW_ATI_fragment_shader,
  6955. #endif
  6956. #ifdef GL_ATI_map_object_buffer
  6957. &__GLEW_ATI_map_object_buffer,
  6958. #endif
  6959. #ifdef GL_ATI_meminfo
  6960. &__GLEW_ATI_meminfo,
  6961. #endif
  6962. #ifdef GL_ATI_pn_triangles
  6963. &__GLEW_ATI_pn_triangles,
  6964. #endif
  6965. #ifdef GL_ATI_separate_stencil
  6966. &__GLEW_ATI_separate_stencil,
  6967. #endif
  6968. #ifdef GL_ATI_shader_texture_lod
  6969. &__GLEW_ATI_shader_texture_lod,
  6970. #endif
  6971. #ifdef GL_ATI_text_fragment_shader
  6972. &__GLEW_ATI_text_fragment_shader,
  6973. #endif
  6974. #ifdef GL_ATI_texture_compression_3dc
  6975. &__GLEW_ATI_texture_compression_3dc,
  6976. #endif
  6977. #ifdef GL_ATI_texture_env_combine3
  6978. &__GLEW_ATI_texture_env_combine3,
  6979. #endif
  6980. #ifdef GL_ATI_texture_float
  6981. &__GLEW_ATI_texture_float,
  6982. #endif
  6983. #ifdef GL_ATI_texture_mirror_once
  6984. &__GLEW_ATI_texture_mirror_once,
  6985. #endif
  6986. #ifdef GL_ATI_vertex_array_object
  6987. &__GLEW_ATI_vertex_array_object,
  6988. #endif
  6989. #ifdef GL_ATI_vertex_attrib_array_object
  6990. &__GLEW_ATI_vertex_attrib_array_object,
  6991. #endif
  6992. #ifdef GL_ATI_vertex_streams
  6993. &__GLEW_ATI_vertex_streams,
  6994. #endif
  6995. #ifdef GL_EGL_KHR_context_flush_control
  6996. &__GLEW_EGL_KHR_context_flush_control,
  6997. #endif
  6998. #ifdef GL_EGL_NV_robustness_video_memory_purge
  6999. &__GLEW_EGL_NV_robustness_video_memory_purge,
  7000. #endif
  7001. #ifdef GL_EXT_422_pixels
  7002. &__GLEW_EXT_422_pixels,
  7003. #endif
  7004. #ifdef GL_EXT_Cg_shader
  7005. &__GLEW_EXT_Cg_shader,
  7006. #endif
  7007. #ifdef GL_EXT_EGL_image_array
  7008. &__GLEW_EXT_EGL_image_array,
  7009. #endif
  7010. #ifdef GL_EXT_YUV_target
  7011. &__GLEW_EXT_YUV_target,
  7012. #endif
  7013. #ifdef GL_EXT_abgr
  7014. &__GLEW_EXT_abgr,
  7015. #endif
  7016. #ifdef GL_EXT_base_instance
  7017. &__GLEW_EXT_base_instance,
  7018. #endif
  7019. #ifdef GL_EXT_bgra
  7020. &__GLEW_EXT_bgra,
  7021. #endif
  7022. #ifdef GL_EXT_bindable_uniform
  7023. &__GLEW_EXT_bindable_uniform,
  7024. #endif
  7025. #ifdef GL_EXT_blend_color
  7026. &__GLEW_EXT_blend_color,
  7027. #endif
  7028. #ifdef GL_EXT_blend_equation_separate
  7029. &__GLEW_EXT_blend_equation_separate,
  7030. #endif
  7031. #ifdef GL_EXT_blend_func_extended
  7032. &__GLEW_EXT_blend_func_extended,
  7033. #endif
  7034. #ifdef GL_EXT_blend_func_separate
  7035. &__GLEW_EXT_blend_func_separate,
  7036. #endif
  7037. #ifdef GL_EXT_blend_logic_op
  7038. &__GLEW_EXT_blend_logic_op,
  7039. #endif
  7040. #ifdef GL_EXT_blend_minmax
  7041. &__GLEW_EXT_blend_minmax,
  7042. #endif
  7043. #ifdef GL_EXT_blend_subtract
  7044. &__GLEW_EXT_blend_subtract,
  7045. #endif
  7046. #ifdef GL_EXT_buffer_storage
  7047. &__GLEW_EXT_buffer_storage,
  7048. #endif
  7049. #ifdef GL_EXT_clear_texture
  7050. &__GLEW_EXT_clear_texture,
  7051. #endif
  7052. #ifdef GL_EXT_clip_cull_distance
  7053. &__GLEW_EXT_clip_cull_distance,
  7054. #endif
  7055. #ifdef GL_EXT_clip_volume_hint
  7056. &__GLEW_EXT_clip_volume_hint,
  7057. #endif
  7058. #ifdef GL_EXT_cmyka
  7059. &__GLEW_EXT_cmyka,
  7060. #endif
  7061. #ifdef GL_EXT_color_buffer_float
  7062. &__GLEW_EXT_color_buffer_float,
  7063. #endif
  7064. #ifdef GL_EXT_color_buffer_half_float
  7065. &__GLEW_EXT_color_buffer_half_float,
  7066. #endif
  7067. #ifdef GL_EXT_color_subtable
  7068. &__GLEW_EXT_color_subtable,
  7069. #endif
  7070. #ifdef GL_EXT_compiled_vertex_array
  7071. &__GLEW_EXT_compiled_vertex_array,
  7072. #endif
  7073. #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
  7074. &__GLEW_EXT_compressed_ETC1_RGB8_sub_texture,
  7075. #endif
  7076. #ifdef GL_EXT_conservative_depth
  7077. &__GLEW_EXT_conservative_depth,
  7078. #endif
  7079. #ifdef GL_EXT_convolution
  7080. &__GLEW_EXT_convolution,
  7081. #endif
  7082. #ifdef GL_EXT_coordinate_frame
  7083. &__GLEW_EXT_coordinate_frame,
  7084. #endif
  7085. #ifdef GL_EXT_copy_image
  7086. &__GLEW_EXT_copy_image,
  7087. #endif
  7088. #ifdef GL_EXT_copy_texture
  7089. &__GLEW_EXT_copy_texture,
  7090. #endif
  7091. #ifdef GL_EXT_cull_vertex
  7092. &__GLEW_EXT_cull_vertex,
  7093. #endif
  7094. #ifdef GL_EXT_debug_label
  7095. &__GLEW_EXT_debug_label,
  7096. #endif
  7097. #ifdef GL_EXT_debug_marker
  7098. &__GLEW_EXT_debug_marker,
  7099. #endif
  7100. #ifdef GL_EXT_depth_bounds_test
  7101. &__GLEW_EXT_depth_bounds_test,
  7102. #endif
  7103. #ifdef GL_EXT_direct_state_access
  7104. &__GLEW_EXT_direct_state_access,
  7105. #endif
  7106. #ifdef GL_EXT_discard_framebuffer
  7107. &__GLEW_EXT_discard_framebuffer,
  7108. #endif
  7109. #ifdef GL_EXT_draw_buffers
  7110. &__GLEW_EXT_draw_buffers,
  7111. #endif
  7112. #ifdef GL_EXT_draw_buffers2
  7113. &__GLEW_EXT_draw_buffers2,
  7114. #endif
  7115. #ifdef GL_EXT_draw_buffers_indexed
  7116. &__GLEW_EXT_draw_buffers_indexed,
  7117. #endif
  7118. #ifdef GL_EXT_draw_elements_base_vertex
  7119. &__GLEW_EXT_draw_elements_base_vertex,
  7120. #endif
  7121. #ifdef GL_EXT_draw_instanced
  7122. &__GLEW_EXT_draw_instanced,
  7123. #endif
  7124. #ifdef GL_EXT_draw_range_elements
  7125. &__GLEW_EXT_draw_range_elements,
  7126. #endif
  7127. #ifdef GL_EXT_external_buffer
  7128. &__GLEW_EXT_external_buffer,
  7129. #endif
  7130. #ifdef GL_EXT_float_blend
  7131. &__GLEW_EXT_float_blend,
  7132. #endif
  7133. #ifdef GL_EXT_fog_coord
  7134. &__GLEW_EXT_fog_coord,
  7135. #endif
  7136. #ifdef GL_EXT_frag_depth
  7137. &__GLEW_EXT_frag_depth,
  7138. #endif
  7139. #ifdef GL_EXT_fragment_lighting
  7140. &__GLEW_EXT_fragment_lighting,
  7141. #endif
  7142. #ifdef GL_EXT_framebuffer_blit
  7143. &__GLEW_EXT_framebuffer_blit,
  7144. #endif
  7145. #ifdef GL_EXT_framebuffer_multisample
  7146. &__GLEW_EXT_framebuffer_multisample,
  7147. #endif
  7148. #ifdef GL_EXT_framebuffer_multisample_blit_scaled
  7149. &__GLEW_EXT_framebuffer_multisample_blit_scaled,
  7150. #endif
  7151. #ifdef GL_EXT_framebuffer_object
  7152. &__GLEW_EXT_framebuffer_object,
  7153. #endif
  7154. #ifdef GL_EXT_framebuffer_sRGB
  7155. &__GLEW_EXT_framebuffer_sRGB,
  7156. #endif
  7157. #ifdef GL_EXT_geometry_point_size
  7158. &__GLEW_EXT_geometry_point_size,
  7159. #endif
  7160. #ifdef GL_EXT_geometry_shader
  7161. &__GLEW_EXT_geometry_shader,
  7162. #endif
  7163. #ifdef GL_EXT_geometry_shader4
  7164. &__GLEW_EXT_geometry_shader4,
  7165. #endif
  7166. #ifdef GL_EXT_gpu_program_parameters
  7167. &__GLEW_EXT_gpu_program_parameters,
  7168. #endif
  7169. #ifdef GL_EXT_gpu_shader4
  7170. &__GLEW_EXT_gpu_shader4,
  7171. #endif
  7172. #ifdef GL_EXT_gpu_shader5
  7173. &__GLEW_EXT_gpu_shader5,
  7174. #endif
  7175. #ifdef GL_EXT_histogram
  7176. &__GLEW_EXT_histogram,
  7177. #endif
  7178. #ifdef GL_EXT_index_array_formats
  7179. &__GLEW_EXT_index_array_formats,
  7180. #endif
  7181. #ifdef GL_EXT_index_func
  7182. &__GLEW_EXT_index_func,
  7183. #endif
  7184. #ifdef GL_EXT_index_material
  7185. &__GLEW_EXT_index_material,
  7186. #endif
  7187. #ifdef GL_EXT_index_texture
  7188. &__GLEW_EXT_index_texture,
  7189. #endif
  7190. #ifdef GL_EXT_instanced_arrays
  7191. &__GLEW_EXT_instanced_arrays,
  7192. #endif
  7193. #ifdef GL_EXT_light_texture
  7194. &__GLEW_EXT_light_texture,
  7195. #endif
  7196. #ifdef GL_EXT_map_buffer_range
  7197. &__GLEW_EXT_map_buffer_range,
  7198. #endif
  7199. #ifdef GL_EXT_memory_object
  7200. &__GLEW_EXT_memory_object,
  7201. #endif
  7202. #ifdef GL_EXT_memory_object_fd
  7203. &__GLEW_EXT_memory_object_fd,
  7204. #endif
  7205. #ifdef GL_EXT_memory_object_win32
  7206. &__GLEW_EXT_memory_object_win32,
  7207. #endif
  7208. #ifdef GL_EXT_misc_attribute
  7209. &__GLEW_EXT_misc_attribute,
  7210. #endif
  7211. #ifdef GL_EXT_multi_draw_arrays
  7212. &__GLEW_EXT_multi_draw_arrays,
  7213. #endif
  7214. #ifdef GL_EXT_multi_draw_indirect
  7215. &__GLEW_EXT_multi_draw_indirect,
  7216. #endif
  7217. #ifdef GL_EXT_multiple_textures
  7218. &__GLEW_EXT_multiple_textures,
  7219. #endif
  7220. #ifdef GL_EXT_multisample
  7221. &__GLEW_EXT_multisample,
  7222. #endif
  7223. #ifdef GL_EXT_multisample_compatibility
  7224. &__GLEW_EXT_multisample_compatibility,
  7225. #endif
  7226. #ifdef GL_EXT_multisampled_render_to_texture
  7227. &__GLEW_EXT_multisampled_render_to_texture,
  7228. #endif
  7229. #ifdef GL_EXT_multisampled_render_to_texture2
  7230. &__GLEW_EXT_multisampled_render_to_texture2,
  7231. #endif
  7232. #ifdef GL_EXT_multiview_draw_buffers
  7233. &__GLEW_EXT_multiview_draw_buffers,
  7234. #endif
  7235. #ifdef GL_EXT_packed_depth_stencil
  7236. &__GLEW_EXT_packed_depth_stencil,
  7237. #endif
  7238. #ifdef GL_EXT_packed_float
  7239. &__GLEW_EXT_packed_float,
  7240. #endif
  7241. #ifdef GL_EXT_packed_pixels
  7242. &__GLEW_EXT_packed_pixels,
  7243. #endif
  7244. #ifdef GL_EXT_paletted_texture
  7245. &__GLEW_EXT_paletted_texture,
  7246. #endif
  7247. #ifdef GL_EXT_pixel_buffer_object
  7248. &__GLEW_EXT_pixel_buffer_object,
  7249. #endif
  7250. #ifdef GL_EXT_pixel_transform
  7251. &__GLEW_EXT_pixel_transform,
  7252. #endif
  7253. #ifdef GL_EXT_pixel_transform_color_table
  7254. &__GLEW_EXT_pixel_transform_color_table,
  7255. #endif
  7256. #ifdef GL_EXT_point_parameters
  7257. &__GLEW_EXT_point_parameters,
  7258. #endif
  7259. #ifdef GL_EXT_polygon_offset
  7260. &__GLEW_EXT_polygon_offset,
  7261. #endif
  7262. #ifdef GL_EXT_polygon_offset_clamp
  7263. &__GLEW_EXT_polygon_offset_clamp,
  7264. #endif
  7265. #ifdef GL_EXT_post_depth_coverage
  7266. &__GLEW_EXT_post_depth_coverage,
  7267. #endif
  7268. #ifdef GL_EXT_provoking_vertex
  7269. &__GLEW_EXT_provoking_vertex,
  7270. #endif
  7271. #ifdef GL_EXT_pvrtc_sRGB
  7272. &__GLEW_EXT_pvrtc_sRGB,
  7273. #endif
  7274. #ifdef GL_EXT_raster_multisample
  7275. &__GLEW_EXT_raster_multisample,
  7276. #endif
  7277. #ifdef GL_EXT_read_format_bgra
  7278. &__GLEW_EXT_read_format_bgra,
  7279. #endif
  7280. #ifdef GL_EXT_render_snorm
  7281. &__GLEW_EXT_render_snorm,
  7282. #endif
  7283. #ifdef GL_EXT_rescale_normal
  7284. &__GLEW_EXT_rescale_normal,
  7285. #endif
  7286. #ifdef GL_EXT_sRGB
  7287. &__GLEW_EXT_sRGB,
  7288. #endif
  7289. #ifdef GL_EXT_sRGB_write_control
  7290. &__GLEW_EXT_sRGB_write_control,
  7291. #endif
  7292. #ifdef GL_EXT_scene_marker
  7293. &__GLEW_EXT_scene_marker,
  7294. #endif
  7295. #ifdef GL_EXT_secondary_color
  7296. &__GLEW_EXT_secondary_color,
  7297. #endif
  7298. #ifdef GL_EXT_semaphore
  7299. &__GLEW_EXT_semaphore,
  7300. #endif
  7301. #ifdef GL_EXT_semaphore_fd
  7302. &__GLEW_EXT_semaphore_fd,
  7303. #endif
  7304. #ifdef GL_EXT_semaphore_win32
  7305. &__GLEW_EXT_semaphore_win32,
  7306. #endif
  7307. #ifdef GL_EXT_separate_shader_objects
  7308. &__GLEW_EXT_separate_shader_objects,
  7309. #endif
  7310. #ifdef GL_EXT_separate_specular_color
  7311. &__GLEW_EXT_separate_specular_color,
  7312. #endif
  7313. #ifdef GL_EXT_shader_framebuffer_fetch
  7314. &__GLEW_EXT_shader_framebuffer_fetch,
  7315. #endif
  7316. #ifdef GL_EXT_shader_group_vote
  7317. &__GLEW_EXT_shader_group_vote,
  7318. #endif
  7319. #ifdef GL_EXT_shader_image_load_formatted
  7320. &__GLEW_EXT_shader_image_load_formatted,
  7321. #endif
  7322. #ifdef GL_EXT_shader_image_load_store
  7323. &__GLEW_EXT_shader_image_load_store,
  7324. #endif
  7325. #ifdef GL_EXT_shader_implicit_conversions
  7326. &__GLEW_EXT_shader_implicit_conversions,
  7327. #endif
  7328. #ifdef GL_EXT_shader_integer_mix
  7329. &__GLEW_EXT_shader_integer_mix,
  7330. #endif
  7331. #ifdef GL_EXT_shader_io_blocks
  7332. &__GLEW_EXT_shader_io_blocks,
  7333. #endif
  7334. #ifdef GL_EXT_shader_non_constant_global_initializers
  7335. &__GLEW_EXT_shader_non_constant_global_initializers,
  7336. #endif
  7337. #ifdef GL_EXT_shader_pixel_local_storage
  7338. &__GLEW_EXT_shader_pixel_local_storage,
  7339. #endif
  7340. #ifdef GL_EXT_shader_pixel_local_storage2
  7341. &__GLEW_EXT_shader_pixel_local_storage2,
  7342. #endif
  7343. #ifdef GL_EXT_shader_texture_lod
  7344. &__GLEW_EXT_shader_texture_lod,
  7345. #endif
  7346. #ifdef GL_EXT_shadow_funcs
  7347. &__GLEW_EXT_shadow_funcs,
  7348. #endif
  7349. #ifdef GL_EXT_shadow_samplers
  7350. &__GLEW_EXT_shadow_samplers,
  7351. #endif
  7352. #ifdef GL_EXT_shared_texture_palette
  7353. &__GLEW_EXT_shared_texture_palette,
  7354. #endif
  7355. #ifdef GL_EXT_sparse_texture
  7356. &__GLEW_EXT_sparse_texture,
  7357. #endif
  7358. #ifdef GL_EXT_sparse_texture2
  7359. &__GLEW_EXT_sparse_texture2,
  7360. #endif
  7361. #ifdef GL_EXT_stencil_clear_tag
  7362. &__GLEW_EXT_stencil_clear_tag,
  7363. #endif
  7364. #ifdef GL_EXT_stencil_two_side
  7365. &__GLEW_EXT_stencil_two_side,
  7366. #endif
  7367. #ifdef GL_EXT_stencil_wrap
  7368. &__GLEW_EXT_stencil_wrap,
  7369. #endif
  7370. #ifdef GL_EXT_subtexture
  7371. &__GLEW_EXT_subtexture,
  7372. #endif
  7373. #ifdef GL_EXT_texture
  7374. &__GLEW_EXT_texture,
  7375. #endif
  7376. #ifdef GL_EXT_texture3D
  7377. &__GLEW_EXT_texture3D,
  7378. #endif
  7379. #ifdef GL_EXT_texture_array
  7380. &__GLEW_EXT_texture_array,
  7381. #endif
  7382. #ifdef GL_EXT_texture_buffer_object
  7383. &__GLEW_EXT_texture_buffer_object,
  7384. #endif
  7385. #ifdef GL_EXT_texture_compression_astc_decode_mode
  7386. &__GLEW_EXT_texture_compression_astc_decode_mode,
  7387. #endif
  7388. #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
  7389. &__GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5,
  7390. #endif
  7391. #ifdef GL_EXT_texture_compression_bptc
  7392. &__GLEW_EXT_texture_compression_bptc,
  7393. #endif
  7394. #ifdef GL_EXT_texture_compression_dxt1
  7395. &__GLEW_EXT_texture_compression_dxt1,
  7396. #endif
  7397. #ifdef GL_EXT_texture_compression_latc
  7398. &__GLEW_EXT_texture_compression_latc,
  7399. #endif
  7400. #ifdef GL_EXT_texture_compression_rgtc
  7401. &__GLEW_EXT_texture_compression_rgtc,
  7402. #endif
  7403. #ifdef GL_EXT_texture_compression_s3tc
  7404. &__GLEW_EXT_texture_compression_s3tc,
  7405. #endif
  7406. #ifdef GL_EXT_texture_cube_map
  7407. &__GLEW_EXT_texture_cube_map,
  7408. #endif
  7409. #ifdef GL_EXT_texture_cube_map_array
  7410. &__GLEW_EXT_texture_cube_map_array,
  7411. #endif
  7412. #ifdef GL_EXT_texture_edge_clamp
  7413. &__GLEW_EXT_texture_edge_clamp,
  7414. #endif
  7415. #ifdef GL_EXT_texture_env
  7416. &__GLEW_EXT_texture_env,
  7417. #endif
  7418. #ifdef GL_EXT_texture_env_add
  7419. &__GLEW_EXT_texture_env_add,
  7420. #endif
  7421. #ifdef GL_EXT_texture_env_combine
  7422. &__GLEW_EXT_texture_env_combine,
  7423. #endif
  7424. #ifdef GL_EXT_texture_env_dot3
  7425. &__GLEW_EXT_texture_env_dot3,
  7426. #endif
  7427. #ifdef GL_EXT_texture_filter_anisotropic
  7428. &__GLEW_EXT_texture_filter_anisotropic,
  7429. #endif
  7430. #ifdef GL_EXT_texture_filter_minmax
  7431. &__GLEW_EXT_texture_filter_minmax,
  7432. #endif
  7433. #ifdef GL_EXT_texture_format_BGRA8888
  7434. &__GLEW_EXT_texture_format_BGRA8888,
  7435. #endif
  7436. #ifdef GL_EXT_texture_integer
  7437. &__GLEW_EXT_texture_integer,
  7438. #endif
  7439. #ifdef GL_EXT_texture_lod_bias
  7440. &__GLEW_EXT_texture_lod_bias,
  7441. #endif
  7442. #ifdef GL_EXT_texture_mirror_clamp
  7443. &__GLEW_EXT_texture_mirror_clamp,
  7444. #endif
  7445. #ifdef GL_EXT_texture_norm16
  7446. &__GLEW_EXT_texture_norm16,
  7447. #endif
  7448. #ifdef GL_EXT_texture_object
  7449. &__GLEW_EXT_texture_object,
  7450. #endif
  7451. #ifdef GL_EXT_texture_perturb_normal
  7452. &__GLEW_EXT_texture_perturb_normal,
  7453. #endif
  7454. #ifdef GL_EXT_texture_rectangle
  7455. &__GLEW_EXT_texture_rectangle,
  7456. #endif
  7457. #ifdef GL_EXT_texture_rg
  7458. &__GLEW_EXT_texture_rg,
  7459. #endif
  7460. #ifdef GL_EXT_texture_sRGB
  7461. &__GLEW_EXT_texture_sRGB,
  7462. #endif
  7463. #ifdef GL_EXT_texture_sRGB_R8
  7464. &__GLEW_EXT_texture_sRGB_R8,
  7465. #endif
  7466. #ifdef GL_EXT_texture_sRGB_RG8
  7467. &__GLEW_EXT_texture_sRGB_RG8,
  7468. #endif
  7469. #ifdef GL_EXT_texture_sRGB_decode
  7470. &__GLEW_EXT_texture_sRGB_decode,
  7471. #endif
  7472. #ifdef GL_EXT_texture_shared_exponent
  7473. &__GLEW_EXT_texture_shared_exponent,
  7474. #endif
  7475. #ifdef GL_EXT_texture_snorm
  7476. &__GLEW_EXT_texture_snorm,
  7477. #endif
  7478. #ifdef GL_EXT_texture_storage
  7479. &__GLEW_EXT_texture_storage,
  7480. #endif
  7481. #ifdef GL_EXT_texture_swizzle
  7482. &__GLEW_EXT_texture_swizzle,
  7483. #endif
  7484. #ifdef GL_EXT_texture_type_2_10_10_10_REV
  7485. &__GLEW_EXT_texture_type_2_10_10_10_REV,
  7486. #endif
  7487. #ifdef GL_EXT_texture_view
  7488. &__GLEW_EXT_texture_view,
  7489. #endif
  7490. #ifdef GL_EXT_timer_query
  7491. &__GLEW_EXT_timer_query,
  7492. #endif
  7493. #ifdef GL_EXT_transform_feedback
  7494. &__GLEW_EXT_transform_feedback,
  7495. #endif
  7496. #ifdef GL_EXT_unpack_subimage
  7497. &__GLEW_EXT_unpack_subimage,
  7498. #endif
  7499. #ifdef GL_EXT_vertex_array
  7500. &__GLEW_EXT_vertex_array,
  7501. #endif
  7502. #ifdef GL_EXT_vertex_array_bgra
  7503. &__GLEW_EXT_vertex_array_bgra,
  7504. #endif
  7505. #ifdef GL_EXT_vertex_array_setXXX
  7506. &__GLEW_EXT_vertex_array_setXXX,
  7507. #endif
  7508. #ifdef GL_EXT_vertex_attrib_64bit
  7509. &__GLEW_EXT_vertex_attrib_64bit,
  7510. #endif
  7511. #ifdef GL_EXT_vertex_shader
  7512. &__GLEW_EXT_vertex_shader,
  7513. #endif
  7514. #ifdef GL_EXT_vertex_weighting
  7515. &__GLEW_EXT_vertex_weighting,
  7516. #endif
  7517. #ifdef GL_EXT_win32_keyed_mutex
  7518. &__GLEW_EXT_win32_keyed_mutex,
  7519. #endif
  7520. #ifdef GL_EXT_window_rectangles
  7521. &__GLEW_EXT_window_rectangles,
  7522. #endif
  7523. #ifdef GL_EXT_x11_sync_object
  7524. &__GLEW_EXT_x11_sync_object,
  7525. #endif
  7526. #ifdef GL_GREMEDY_frame_terminator
  7527. &__GLEW_GREMEDY_frame_terminator,
  7528. #endif
  7529. #ifdef GL_GREMEDY_string_marker
  7530. &__GLEW_GREMEDY_string_marker,
  7531. #endif
  7532. #ifdef GL_HP_convolution_border_modes
  7533. &__GLEW_HP_convolution_border_modes,
  7534. #endif
  7535. #ifdef GL_HP_image_transform
  7536. &__GLEW_HP_image_transform,
  7537. #endif
  7538. #ifdef GL_HP_occlusion_test
  7539. &__GLEW_HP_occlusion_test,
  7540. #endif
  7541. #ifdef GL_HP_texture_lighting
  7542. &__GLEW_HP_texture_lighting,
  7543. #endif
  7544. #ifdef GL_IBM_cull_vertex
  7545. &__GLEW_IBM_cull_vertex,
  7546. #endif
  7547. #ifdef GL_IBM_multimode_draw_arrays
  7548. &__GLEW_IBM_multimode_draw_arrays,
  7549. #endif
  7550. #ifdef GL_IBM_rasterpos_clip
  7551. &__GLEW_IBM_rasterpos_clip,
  7552. #endif
  7553. #ifdef GL_IBM_static_data
  7554. &__GLEW_IBM_static_data,
  7555. #endif
  7556. #ifdef GL_IBM_texture_mirrored_repeat
  7557. &__GLEW_IBM_texture_mirrored_repeat,
  7558. #endif
  7559. #ifdef GL_IBM_vertex_array_lists
  7560. &__GLEW_IBM_vertex_array_lists,
  7561. #endif
  7562. #ifdef GL_INGR_color_clamp
  7563. &__GLEW_INGR_color_clamp,
  7564. #endif
  7565. #ifdef GL_INGR_interlace_read
  7566. &__GLEW_INGR_interlace_read,
  7567. #endif
  7568. #ifdef GL_INTEL_conservative_rasterization
  7569. &__GLEW_INTEL_conservative_rasterization,
  7570. #endif
  7571. #ifdef GL_INTEL_fragment_shader_ordering
  7572. &__GLEW_INTEL_fragment_shader_ordering,
  7573. #endif
  7574. #ifdef GL_INTEL_framebuffer_CMAA
  7575. &__GLEW_INTEL_framebuffer_CMAA,
  7576. #endif
  7577. #ifdef GL_INTEL_map_texture
  7578. &__GLEW_INTEL_map_texture,
  7579. #endif
  7580. #ifdef GL_INTEL_parallel_arrays
  7581. &__GLEW_INTEL_parallel_arrays,
  7582. #endif
  7583. #ifdef GL_INTEL_performance_query
  7584. &__GLEW_INTEL_performance_query,
  7585. #endif
  7586. #ifdef GL_INTEL_texture_scissor
  7587. &__GLEW_INTEL_texture_scissor,
  7588. #endif
  7589. #ifdef GL_KHR_blend_equation_advanced
  7590. &__GLEW_KHR_blend_equation_advanced,
  7591. #endif
  7592. #ifdef GL_KHR_blend_equation_advanced_coherent
  7593. &__GLEW_KHR_blend_equation_advanced_coherent,
  7594. #endif
  7595. #ifdef GL_KHR_context_flush_control
  7596. &__GLEW_KHR_context_flush_control,
  7597. #endif
  7598. #ifdef GL_KHR_debug
  7599. &__GLEW_KHR_debug,
  7600. #endif
  7601. #ifdef GL_KHR_no_error
  7602. &__GLEW_KHR_no_error,
  7603. #endif
  7604. #ifdef GL_KHR_parallel_shader_compile
  7605. &__GLEW_KHR_parallel_shader_compile,
  7606. #endif
  7607. #ifdef GL_KHR_robust_buffer_access_behavior
  7608. &__GLEW_KHR_robust_buffer_access_behavior,
  7609. #endif
  7610. #ifdef GL_KHR_robustness
  7611. &__GLEW_KHR_robustness,
  7612. #endif
  7613. #ifdef GL_KHR_texture_compression_astc_hdr
  7614. &__GLEW_KHR_texture_compression_astc_hdr,
  7615. #endif
  7616. #ifdef GL_KHR_texture_compression_astc_ldr
  7617. &__GLEW_KHR_texture_compression_astc_ldr,
  7618. #endif
  7619. #ifdef GL_KHR_texture_compression_astc_sliced_3d
  7620. &__GLEW_KHR_texture_compression_astc_sliced_3d,
  7621. #endif
  7622. #ifdef GL_KTX_buffer_region
  7623. &__GLEW_KTX_buffer_region,
  7624. #endif
  7625. #ifdef GL_MESAX_texture_stack
  7626. &__GLEW_MESAX_texture_stack,
  7627. #endif
  7628. #ifdef GL_MESA_pack_invert
  7629. &__GLEW_MESA_pack_invert,
  7630. #endif
  7631. #ifdef GL_MESA_resize_buffers
  7632. &__GLEW_MESA_resize_buffers,
  7633. #endif
  7634. #ifdef GL_MESA_shader_integer_functions
  7635. &__GLEW_MESA_shader_integer_functions,
  7636. #endif
  7637. #ifdef GL_MESA_window_pos
  7638. &__GLEW_MESA_window_pos,
  7639. #endif
  7640. #ifdef GL_MESA_ycbcr_texture
  7641. &__GLEW_MESA_ycbcr_texture,
  7642. #endif
  7643. #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
  7644. &__GLEW_NVX_blend_equation_advanced_multi_draw_buffers,
  7645. #endif
  7646. #ifdef GL_NVX_conditional_render
  7647. &__GLEW_NVX_conditional_render,
  7648. #endif
  7649. #ifdef GL_NVX_gpu_memory_info
  7650. &__GLEW_NVX_gpu_memory_info,
  7651. #endif
  7652. #ifdef GL_NVX_linked_gpu_multicast
  7653. &__GLEW_NVX_linked_gpu_multicast,
  7654. #endif
  7655. #ifdef GL_NV_3dvision_settings
  7656. &__GLEW_NV_3dvision_settings,
  7657. #endif
  7658. #ifdef GL_NV_EGL_stream_consumer_external
  7659. &__GLEW_NV_EGL_stream_consumer_external,
  7660. #endif
  7661. #ifdef GL_NV_alpha_to_coverage_dither_control
  7662. &__GLEW_NV_alpha_to_coverage_dither_control,
  7663. #endif
  7664. #ifdef GL_NV_bgr
  7665. &__GLEW_NV_bgr,
  7666. #endif
  7667. #ifdef GL_NV_bindless_multi_draw_indirect
  7668. &__GLEW_NV_bindless_multi_draw_indirect,
  7669. #endif
  7670. #ifdef GL_NV_bindless_multi_draw_indirect_count
  7671. &__GLEW_NV_bindless_multi_draw_indirect_count,
  7672. #endif
  7673. #ifdef GL_NV_bindless_texture
  7674. &__GLEW_NV_bindless_texture,
  7675. #endif
  7676. #ifdef GL_NV_blend_equation_advanced
  7677. &__GLEW_NV_blend_equation_advanced,
  7678. #endif
  7679. #ifdef GL_NV_blend_equation_advanced_coherent
  7680. &__GLEW_NV_blend_equation_advanced_coherent,
  7681. #endif
  7682. #ifdef GL_NV_blend_minmax_factor
  7683. &__GLEW_NV_blend_minmax_factor,
  7684. #endif
  7685. #ifdef GL_NV_blend_square
  7686. &__GLEW_NV_blend_square,
  7687. #endif
  7688. #ifdef GL_NV_clip_space_w_scaling
  7689. &__GLEW_NV_clip_space_w_scaling,
  7690. #endif
  7691. #ifdef GL_NV_command_list
  7692. &__GLEW_NV_command_list,
  7693. #endif
  7694. #ifdef GL_NV_compute_program5
  7695. &__GLEW_NV_compute_program5,
  7696. #endif
  7697. #ifdef GL_NV_conditional_render
  7698. &__GLEW_NV_conditional_render,
  7699. #endif
  7700. #ifdef GL_NV_conservative_raster
  7701. &__GLEW_NV_conservative_raster,
  7702. #endif
  7703. #ifdef GL_NV_conservative_raster_dilate
  7704. &__GLEW_NV_conservative_raster_dilate,
  7705. #endif
  7706. #ifdef GL_NV_conservative_raster_pre_snap_triangles
  7707. &__GLEW_NV_conservative_raster_pre_snap_triangles,
  7708. #endif
  7709. #ifdef GL_NV_copy_buffer
  7710. &__GLEW_NV_copy_buffer,
  7711. #endif
  7712. #ifdef GL_NV_copy_depth_to_color
  7713. &__GLEW_NV_copy_depth_to_color,
  7714. #endif
  7715. #ifdef GL_NV_copy_image
  7716. &__GLEW_NV_copy_image,
  7717. #endif
  7718. #ifdef GL_NV_deep_texture3D
  7719. &__GLEW_NV_deep_texture3D,
  7720. #endif
  7721. #ifdef GL_NV_depth_buffer_float
  7722. &__GLEW_NV_depth_buffer_float,
  7723. #endif
  7724. #ifdef GL_NV_depth_clamp
  7725. &__GLEW_NV_depth_clamp,
  7726. #endif
  7727. #ifdef GL_NV_depth_range_unclamped
  7728. &__GLEW_NV_depth_range_unclamped,
  7729. #endif
  7730. #ifdef GL_NV_draw_buffers
  7731. &__GLEW_NV_draw_buffers,
  7732. #endif
  7733. #ifdef GL_NV_draw_instanced
  7734. &__GLEW_NV_draw_instanced,
  7735. #endif
  7736. #ifdef GL_NV_draw_texture
  7737. &__GLEW_NV_draw_texture,
  7738. #endif
  7739. #ifdef GL_NV_draw_vulkan_image
  7740. &__GLEW_NV_draw_vulkan_image,
  7741. #endif
  7742. #ifdef GL_NV_evaluators
  7743. &__GLEW_NV_evaluators,
  7744. #endif
  7745. #ifdef GL_NV_explicit_attrib_location
  7746. &__GLEW_NV_explicit_attrib_location,
  7747. #endif
  7748. #ifdef GL_NV_explicit_multisample
  7749. &__GLEW_NV_explicit_multisample,
  7750. #endif
  7751. #ifdef GL_NV_fbo_color_attachments
  7752. &__GLEW_NV_fbo_color_attachments,
  7753. #endif
  7754. #ifdef GL_NV_fence
  7755. &__GLEW_NV_fence,
  7756. #endif
  7757. #ifdef GL_NV_fill_rectangle
  7758. &__GLEW_NV_fill_rectangle,
  7759. #endif
  7760. #ifdef GL_NV_float_buffer
  7761. &__GLEW_NV_float_buffer,
  7762. #endif
  7763. #ifdef GL_NV_fog_distance
  7764. &__GLEW_NV_fog_distance,
  7765. #endif
  7766. #ifdef GL_NV_fragment_coverage_to_color
  7767. &__GLEW_NV_fragment_coverage_to_color,
  7768. #endif
  7769. #ifdef GL_NV_fragment_program
  7770. &__GLEW_NV_fragment_program,
  7771. #endif
  7772. #ifdef GL_NV_fragment_program2
  7773. &__GLEW_NV_fragment_program2,
  7774. #endif
  7775. #ifdef GL_NV_fragment_program4
  7776. &__GLEW_NV_fragment_program4,
  7777. #endif
  7778. #ifdef GL_NV_fragment_program_option
  7779. &__GLEW_NV_fragment_program_option,
  7780. #endif
  7781. #ifdef GL_NV_fragment_shader_interlock
  7782. &__GLEW_NV_fragment_shader_interlock,
  7783. #endif
  7784. #ifdef GL_NV_framebuffer_blit
  7785. &__GLEW_NV_framebuffer_blit,
  7786. #endif
  7787. #ifdef GL_NV_framebuffer_mixed_samples
  7788. &__GLEW_NV_framebuffer_mixed_samples,
  7789. #endif
  7790. #ifdef GL_NV_framebuffer_multisample
  7791. &__GLEW_NV_framebuffer_multisample,
  7792. #endif
  7793. #ifdef GL_NV_framebuffer_multisample_coverage
  7794. &__GLEW_NV_framebuffer_multisample_coverage,
  7795. #endif
  7796. #ifdef GL_NV_generate_mipmap_sRGB
  7797. &__GLEW_NV_generate_mipmap_sRGB,
  7798. #endif
  7799. #ifdef GL_NV_geometry_program4
  7800. &__GLEW_NV_geometry_program4,
  7801. #endif
  7802. #ifdef GL_NV_geometry_shader4
  7803. &__GLEW_NV_geometry_shader4,
  7804. #endif
  7805. #ifdef GL_NV_geometry_shader_passthrough
  7806. &__GLEW_NV_geometry_shader_passthrough,
  7807. #endif
  7808. #ifdef GL_NV_gpu_multicast
  7809. &__GLEW_NV_gpu_multicast,
  7810. #endif
  7811. #ifdef GL_NV_gpu_program4
  7812. &__GLEW_NV_gpu_program4,
  7813. #endif
  7814. #ifdef GL_NV_gpu_program5
  7815. &__GLEW_NV_gpu_program5,
  7816. #endif
  7817. #ifdef GL_NV_gpu_program5_mem_extended
  7818. &__GLEW_NV_gpu_program5_mem_extended,
  7819. #endif
  7820. #ifdef GL_NV_gpu_program_fp64
  7821. &__GLEW_NV_gpu_program_fp64,
  7822. #endif
  7823. #ifdef GL_NV_gpu_shader5
  7824. &__GLEW_NV_gpu_shader5,
  7825. #endif
  7826. #ifdef GL_NV_half_float
  7827. &__GLEW_NV_half_float,
  7828. #endif
  7829. #ifdef GL_NV_image_formats
  7830. &__GLEW_NV_image_formats,
  7831. #endif
  7832. #ifdef GL_NV_instanced_arrays
  7833. &__GLEW_NV_instanced_arrays,
  7834. #endif
  7835. #ifdef GL_NV_internalformat_sample_query
  7836. &__GLEW_NV_internalformat_sample_query,
  7837. #endif
  7838. #ifdef GL_NV_light_max_exponent
  7839. &__GLEW_NV_light_max_exponent,
  7840. #endif
  7841. #ifdef GL_NV_multisample_coverage
  7842. &__GLEW_NV_multisample_coverage,
  7843. #endif
  7844. #ifdef GL_NV_multisample_filter_hint
  7845. &__GLEW_NV_multisample_filter_hint,
  7846. #endif
  7847. #ifdef GL_NV_non_square_matrices
  7848. &__GLEW_NV_non_square_matrices,
  7849. #endif
  7850. #ifdef GL_NV_occlusion_query
  7851. &__GLEW_NV_occlusion_query,
  7852. #endif
  7853. #ifdef GL_NV_pack_subimage
  7854. &__GLEW_NV_pack_subimage,
  7855. #endif
  7856. #ifdef GL_NV_packed_depth_stencil
  7857. &__GLEW_NV_packed_depth_stencil,
  7858. #endif
  7859. #ifdef GL_NV_packed_float
  7860. &__GLEW_NV_packed_float,
  7861. #endif
  7862. #ifdef GL_NV_packed_float_linear
  7863. &__GLEW_NV_packed_float_linear,
  7864. #endif
  7865. #ifdef GL_NV_parameter_buffer_object
  7866. &__GLEW_NV_parameter_buffer_object,
  7867. #endif
  7868. #ifdef GL_NV_parameter_buffer_object2
  7869. &__GLEW_NV_parameter_buffer_object2,
  7870. #endif
  7871. #ifdef GL_NV_path_rendering
  7872. &__GLEW_NV_path_rendering,
  7873. #endif
  7874. #ifdef GL_NV_path_rendering_shared_edge
  7875. &__GLEW_NV_path_rendering_shared_edge,
  7876. #endif
  7877. #ifdef GL_NV_pixel_buffer_object
  7878. &__GLEW_NV_pixel_buffer_object,
  7879. #endif
  7880. #ifdef GL_NV_pixel_data_range
  7881. &__GLEW_NV_pixel_data_range,
  7882. #endif
  7883. #ifdef GL_NV_platform_binary
  7884. &__GLEW_NV_platform_binary,
  7885. #endif
  7886. #ifdef GL_NV_point_sprite
  7887. &__GLEW_NV_point_sprite,
  7888. #endif
  7889. #ifdef GL_NV_polygon_mode
  7890. &__GLEW_NV_polygon_mode,
  7891. #endif
  7892. #ifdef GL_NV_present_video
  7893. &__GLEW_NV_present_video,
  7894. #endif
  7895. #ifdef GL_NV_primitive_restart
  7896. &__GLEW_NV_primitive_restart,
  7897. #endif
  7898. #ifdef GL_NV_read_depth
  7899. &__GLEW_NV_read_depth,
  7900. #endif
  7901. #ifdef GL_NV_read_depth_stencil
  7902. &__GLEW_NV_read_depth_stencil,
  7903. #endif
  7904. #ifdef GL_NV_read_stencil
  7905. &__GLEW_NV_read_stencil,
  7906. #endif
  7907. #ifdef GL_NV_register_combiners
  7908. &__GLEW_NV_register_combiners,
  7909. #endif
  7910. #ifdef GL_NV_register_combiners2
  7911. &__GLEW_NV_register_combiners2,
  7912. #endif
  7913. #ifdef GL_NV_robustness_video_memory_purge
  7914. &__GLEW_NV_robustness_video_memory_purge,
  7915. #endif
  7916. #ifdef GL_NV_sRGB_formats
  7917. &__GLEW_NV_sRGB_formats,
  7918. #endif
  7919. #ifdef GL_NV_sample_locations
  7920. &__GLEW_NV_sample_locations,
  7921. #endif
  7922. #ifdef GL_NV_sample_mask_override_coverage
  7923. &__GLEW_NV_sample_mask_override_coverage,
  7924. #endif
  7925. #ifdef GL_NV_shader_atomic_counters
  7926. &__GLEW_NV_shader_atomic_counters,
  7927. #endif
  7928. #ifdef GL_NV_shader_atomic_float
  7929. &__GLEW_NV_shader_atomic_float,
  7930. #endif
  7931. #ifdef GL_NV_shader_atomic_float64
  7932. &__GLEW_NV_shader_atomic_float64,
  7933. #endif
  7934. #ifdef GL_NV_shader_atomic_fp16_vector
  7935. &__GLEW_NV_shader_atomic_fp16_vector,
  7936. #endif
  7937. #ifdef GL_NV_shader_atomic_int64
  7938. &__GLEW_NV_shader_atomic_int64,
  7939. #endif
  7940. #ifdef GL_NV_shader_buffer_load
  7941. &__GLEW_NV_shader_buffer_load,
  7942. #endif
  7943. #ifdef GL_NV_shader_noperspective_interpolation
  7944. &__GLEW_NV_shader_noperspective_interpolation,
  7945. #endif
  7946. #ifdef GL_NV_shader_storage_buffer_object
  7947. &__GLEW_NV_shader_storage_buffer_object,
  7948. #endif
  7949. #ifdef GL_NV_shader_thread_group
  7950. &__GLEW_NV_shader_thread_group,
  7951. #endif
  7952. #ifdef GL_NV_shader_thread_shuffle
  7953. &__GLEW_NV_shader_thread_shuffle,
  7954. #endif
  7955. #ifdef GL_NV_shadow_samplers_array
  7956. &__GLEW_NV_shadow_samplers_array,
  7957. #endif
  7958. #ifdef GL_NV_shadow_samplers_cube
  7959. &__GLEW_NV_shadow_samplers_cube,
  7960. #endif
  7961. #ifdef GL_NV_stereo_view_rendering
  7962. &__GLEW_NV_stereo_view_rendering,
  7963. #endif
  7964. #ifdef GL_NV_tessellation_program5
  7965. &__GLEW_NV_tessellation_program5,
  7966. #endif
  7967. #ifdef GL_NV_texgen_emboss
  7968. &__GLEW_NV_texgen_emboss,
  7969. #endif
  7970. #ifdef GL_NV_texgen_reflection
  7971. &__GLEW_NV_texgen_reflection,
  7972. #endif
  7973. #ifdef GL_NV_texture_array
  7974. &__GLEW_NV_texture_array,
  7975. #endif
  7976. #ifdef GL_NV_texture_barrier
  7977. &__GLEW_NV_texture_barrier,
  7978. #endif
  7979. #ifdef GL_NV_texture_border_clamp
  7980. &__GLEW_NV_texture_border_clamp,
  7981. #endif
  7982. #ifdef GL_NV_texture_compression_latc
  7983. &__GLEW_NV_texture_compression_latc,
  7984. #endif
  7985. #ifdef GL_NV_texture_compression_s3tc
  7986. &__GLEW_NV_texture_compression_s3tc,
  7987. #endif
  7988. #ifdef GL_NV_texture_compression_s3tc_update
  7989. &__GLEW_NV_texture_compression_s3tc_update,
  7990. #endif
  7991. #ifdef GL_NV_texture_compression_vtc
  7992. &__GLEW_NV_texture_compression_vtc,
  7993. #endif
  7994. #ifdef GL_NV_texture_env_combine4
  7995. &__GLEW_NV_texture_env_combine4,
  7996. #endif
  7997. #ifdef GL_NV_texture_expand_normal
  7998. &__GLEW_NV_texture_expand_normal,
  7999. #endif
  8000. #ifdef GL_NV_texture_multisample
  8001. &__GLEW_NV_texture_multisample,
  8002. #endif
  8003. #ifdef GL_NV_texture_npot_2D_mipmap
  8004. &__GLEW_NV_texture_npot_2D_mipmap,
  8005. #endif
  8006. #ifdef GL_NV_texture_rectangle
  8007. &__GLEW_NV_texture_rectangle,
  8008. #endif
  8009. #ifdef GL_NV_texture_rectangle_compressed
  8010. &__GLEW_NV_texture_rectangle_compressed,
  8011. #endif
  8012. #ifdef GL_NV_texture_shader
  8013. &__GLEW_NV_texture_shader,
  8014. #endif
  8015. #ifdef GL_NV_texture_shader2
  8016. &__GLEW_NV_texture_shader2,
  8017. #endif
  8018. #ifdef GL_NV_texture_shader3
  8019. &__GLEW_NV_texture_shader3,
  8020. #endif
  8021. #ifdef GL_NV_transform_feedback
  8022. &__GLEW_NV_transform_feedback,
  8023. #endif
  8024. #ifdef GL_NV_transform_feedback2
  8025. &__GLEW_NV_transform_feedback2,
  8026. #endif
  8027. #ifdef GL_NV_uniform_buffer_unified_memory
  8028. &__GLEW_NV_uniform_buffer_unified_memory,
  8029. #endif
  8030. #ifdef GL_NV_vdpau_interop
  8031. &__GLEW_NV_vdpau_interop,
  8032. #endif
  8033. #ifdef GL_NV_vertex_array_range
  8034. &__GLEW_NV_vertex_array_range,
  8035. #endif
  8036. #ifdef GL_NV_vertex_array_range2
  8037. &__GLEW_NV_vertex_array_range2,
  8038. #endif
  8039. #ifdef GL_NV_vertex_attrib_integer_64bit
  8040. &__GLEW_NV_vertex_attrib_integer_64bit,
  8041. #endif
  8042. #ifdef GL_NV_vertex_buffer_unified_memory
  8043. &__GLEW_NV_vertex_buffer_unified_memory,
  8044. #endif
  8045. #ifdef GL_NV_vertex_program
  8046. &__GLEW_NV_vertex_program,
  8047. #endif
  8048. #ifdef GL_NV_vertex_program1_1
  8049. &__GLEW_NV_vertex_program1_1,
  8050. #endif
  8051. #ifdef GL_NV_vertex_program2
  8052. &__GLEW_NV_vertex_program2,
  8053. #endif
  8054. #ifdef GL_NV_vertex_program2_option
  8055. &__GLEW_NV_vertex_program2_option,
  8056. #endif
  8057. #ifdef GL_NV_vertex_program3
  8058. &__GLEW_NV_vertex_program3,
  8059. #endif
  8060. #ifdef GL_NV_vertex_program4
  8061. &__GLEW_NV_vertex_program4,
  8062. #endif
  8063. #ifdef GL_NV_video_capture
  8064. &__GLEW_NV_video_capture,
  8065. #endif
  8066. #ifdef GL_NV_viewport_array
  8067. &__GLEW_NV_viewport_array,
  8068. #endif
  8069. #ifdef GL_NV_viewport_array2
  8070. &__GLEW_NV_viewport_array2,
  8071. #endif
  8072. #ifdef GL_NV_viewport_swizzle
  8073. &__GLEW_NV_viewport_swizzle,
  8074. #endif
  8075. #ifdef GL_OES_byte_coordinates
  8076. &__GLEW_OES_byte_coordinates,
  8077. #endif
  8078. #ifdef GL_OML_interlace
  8079. &__GLEW_OML_interlace,
  8080. #endif
  8081. #ifdef GL_OML_resample
  8082. &__GLEW_OML_resample,
  8083. #endif
  8084. #ifdef GL_OML_subsample
  8085. &__GLEW_OML_subsample,
  8086. #endif
  8087. #ifdef GL_OVR_multiview
  8088. &__GLEW_OVR_multiview,
  8089. #endif
  8090. #ifdef GL_OVR_multiview2
  8091. &__GLEW_OVR_multiview2,
  8092. #endif
  8093. #ifdef GL_OVR_multiview_multisampled_render_to_texture
  8094. &__GLEW_OVR_multiview_multisampled_render_to_texture,
  8095. #endif
  8096. #ifdef GL_PGI_misc_hints
  8097. &__GLEW_PGI_misc_hints,
  8098. #endif
  8099. #ifdef GL_PGI_vertex_hints
  8100. &__GLEW_PGI_vertex_hints,
  8101. #endif
  8102. #ifdef GL_QCOM_alpha_test
  8103. &__GLEW_QCOM_alpha_test,
  8104. #endif
  8105. #ifdef GL_QCOM_binning_control
  8106. &__GLEW_QCOM_binning_control,
  8107. #endif
  8108. #ifdef GL_QCOM_driver_control
  8109. &__GLEW_QCOM_driver_control,
  8110. #endif
  8111. #ifdef GL_QCOM_extended_get
  8112. &__GLEW_QCOM_extended_get,
  8113. #endif
  8114. #ifdef GL_QCOM_extended_get2
  8115. &__GLEW_QCOM_extended_get2,
  8116. #endif
  8117. #ifdef GL_QCOM_framebuffer_foveated
  8118. &__GLEW_QCOM_framebuffer_foveated,
  8119. #endif
  8120. #ifdef GL_QCOM_perfmon_global_mode
  8121. &__GLEW_QCOM_perfmon_global_mode,
  8122. #endif
  8123. #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
  8124. &__GLEW_QCOM_shader_framebuffer_fetch_noncoherent,
  8125. #endif
  8126. #ifdef GL_QCOM_tiled_rendering
  8127. &__GLEW_QCOM_tiled_rendering,
  8128. #endif
  8129. #ifdef GL_QCOM_writeonly_rendering
  8130. &__GLEW_QCOM_writeonly_rendering,
  8131. #endif
  8132. #ifdef GL_REGAL_ES1_0_compatibility
  8133. &__GLEW_REGAL_ES1_0_compatibility,
  8134. #endif
  8135. #ifdef GL_REGAL_ES1_1_compatibility
  8136. &__GLEW_REGAL_ES1_1_compatibility,
  8137. #endif
  8138. #ifdef GL_REGAL_enable
  8139. &__GLEW_REGAL_enable,
  8140. #endif
  8141. #ifdef GL_REGAL_error_string
  8142. &__GLEW_REGAL_error_string,
  8143. #endif
  8144. #ifdef GL_REGAL_extension_query
  8145. &__GLEW_REGAL_extension_query,
  8146. #endif
  8147. #ifdef GL_REGAL_log
  8148. &__GLEW_REGAL_log,
  8149. #endif
  8150. #ifdef GL_REGAL_proc_address
  8151. &__GLEW_REGAL_proc_address,
  8152. #endif
  8153. #ifdef GL_REND_screen_coordinates
  8154. &__GLEW_REND_screen_coordinates,
  8155. #endif
  8156. #ifdef GL_S3_s3tc
  8157. &__GLEW_S3_s3tc,
  8158. #endif
  8159. #ifdef GL_SGIS_clip_band_hint
  8160. &__GLEW_SGIS_clip_band_hint,
  8161. #endif
  8162. #ifdef GL_SGIS_color_range
  8163. &__GLEW_SGIS_color_range,
  8164. #endif
  8165. #ifdef GL_SGIS_detail_texture
  8166. &__GLEW_SGIS_detail_texture,
  8167. #endif
  8168. #ifdef GL_SGIS_fog_function
  8169. &__GLEW_SGIS_fog_function,
  8170. #endif
  8171. #ifdef GL_SGIS_generate_mipmap
  8172. &__GLEW_SGIS_generate_mipmap,
  8173. #endif
  8174. #ifdef GL_SGIS_line_texgen
  8175. &__GLEW_SGIS_line_texgen,
  8176. #endif
  8177. #ifdef GL_SGIS_multisample
  8178. &__GLEW_SGIS_multisample,
  8179. #endif
  8180. #ifdef GL_SGIS_multitexture
  8181. &__GLEW_SGIS_multitexture,
  8182. #endif
  8183. #ifdef GL_SGIS_pixel_texture
  8184. &__GLEW_SGIS_pixel_texture,
  8185. #endif
  8186. #ifdef GL_SGIS_point_line_texgen
  8187. &__GLEW_SGIS_point_line_texgen,
  8188. #endif
  8189. #ifdef GL_SGIS_shared_multisample
  8190. &__GLEW_SGIS_shared_multisample,
  8191. #endif
  8192. #ifdef GL_SGIS_sharpen_texture
  8193. &__GLEW_SGIS_sharpen_texture,
  8194. #endif
  8195. #ifdef GL_SGIS_texture4D
  8196. &__GLEW_SGIS_texture4D,
  8197. #endif
  8198. #ifdef GL_SGIS_texture_border_clamp
  8199. &__GLEW_SGIS_texture_border_clamp,
  8200. #endif
  8201. #ifdef GL_SGIS_texture_edge_clamp
  8202. &__GLEW_SGIS_texture_edge_clamp,
  8203. #endif
  8204. #ifdef GL_SGIS_texture_filter4
  8205. &__GLEW_SGIS_texture_filter4,
  8206. #endif
  8207. #ifdef GL_SGIS_texture_lod
  8208. &__GLEW_SGIS_texture_lod,
  8209. #endif
  8210. #ifdef GL_SGIS_texture_select
  8211. &__GLEW_SGIS_texture_select,
  8212. #endif
  8213. #ifdef GL_SGIX_async
  8214. &__GLEW_SGIX_async,
  8215. #endif
  8216. #ifdef GL_SGIX_async_histogram
  8217. &__GLEW_SGIX_async_histogram,
  8218. #endif
  8219. #ifdef GL_SGIX_async_pixel
  8220. &__GLEW_SGIX_async_pixel,
  8221. #endif
  8222. #ifdef GL_SGIX_bali_g_instruments
  8223. &__GLEW_SGIX_bali_g_instruments,
  8224. #endif
  8225. #ifdef GL_SGIX_bali_r_instruments
  8226. &__GLEW_SGIX_bali_r_instruments,
  8227. #endif
  8228. #ifdef GL_SGIX_bali_timer_instruments
  8229. &__GLEW_SGIX_bali_timer_instruments,
  8230. #endif
  8231. #ifdef GL_SGIX_blend_alpha_minmax
  8232. &__GLEW_SGIX_blend_alpha_minmax,
  8233. #endif
  8234. #ifdef GL_SGIX_blend_cadd
  8235. &__GLEW_SGIX_blend_cadd,
  8236. #endif
  8237. #ifdef GL_SGIX_blend_cmultiply
  8238. &__GLEW_SGIX_blend_cmultiply,
  8239. #endif
  8240. #ifdef GL_SGIX_calligraphic_fragment
  8241. &__GLEW_SGIX_calligraphic_fragment,
  8242. #endif
  8243. #ifdef GL_SGIX_clipmap
  8244. &__GLEW_SGIX_clipmap,
  8245. #endif
  8246. #ifdef GL_SGIX_color_matrix_accuracy
  8247. &__GLEW_SGIX_color_matrix_accuracy,
  8248. #endif
  8249. #ifdef GL_SGIX_color_table_index_mode
  8250. &__GLEW_SGIX_color_table_index_mode,
  8251. #endif
  8252. #ifdef GL_SGIX_complex_polar
  8253. &__GLEW_SGIX_complex_polar,
  8254. #endif
  8255. #ifdef GL_SGIX_convolution_accuracy
  8256. &__GLEW_SGIX_convolution_accuracy,
  8257. #endif
  8258. #ifdef GL_SGIX_cube_map
  8259. &__GLEW_SGIX_cube_map,
  8260. #endif
  8261. #ifdef GL_SGIX_cylinder_texgen
  8262. &__GLEW_SGIX_cylinder_texgen,
  8263. #endif
  8264. #ifdef GL_SGIX_datapipe
  8265. &__GLEW_SGIX_datapipe,
  8266. #endif
  8267. #ifdef GL_SGIX_decimation
  8268. &__GLEW_SGIX_decimation,
  8269. #endif
  8270. #ifdef GL_SGIX_depth_pass_instrument
  8271. &__GLEW_SGIX_depth_pass_instrument,
  8272. #endif
  8273. #ifdef GL_SGIX_depth_texture
  8274. &__GLEW_SGIX_depth_texture,
  8275. #endif
  8276. #ifdef GL_SGIX_dvc
  8277. &__GLEW_SGIX_dvc,
  8278. #endif
  8279. #ifdef GL_SGIX_flush_raster
  8280. &__GLEW_SGIX_flush_raster,
  8281. #endif
  8282. #ifdef GL_SGIX_fog_blend
  8283. &__GLEW_SGIX_fog_blend,
  8284. #endif
  8285. #ifdef GL_SGIX_fog_factor_to_alpha
  8286. &__GLEW_SGIX_fog_factor_to_alpha,
  8287. #endif
  8288. #ifdef GL_SGIX_fog_layers
  8289. &__GLEW_SGIX_fog_layers,
  8290. #endif
  8291. #ifdef GL_SGIX_fog_offset
  8292. &__GLEW_SGIX_fog_offset,
  8293. #endif
  8294. #ifdef GL_SGIX_fog_patchy
  8295. &__GLEW_SGIX_fog_patchy,
  8296. #endif
  8297. #ifdef GL_SGIX_fog_scale
  8298. &__GLEW_SGIX_fog_scale,
  8299. #endif
  8300. #ifdef GL_SGIX_fog_texture
  8301. &__GLEW_SGIX_fog_texture,
  8302. #endif
  8303. #ifdef GL_SGIX_fragment_lighting_space
  8304. &__GLEW_SGIX_fragment_lighting_space,
  8305. #endif
  8306. #ifdef GL_SGIX_fragment_specular_lighting
  8307. &__GLEW_SGIX_fragment_specular_lighting,
  8308. #endif
  8309. #ifdef GL_SGIX_fragments_instrument
  8310. &__GLEW_SGIX_fragments_instrument,
  8311. #endif
  8312. #ifdef GL_SGIX_framezoom
  8313. &__GLEW_SGIX_framezoom,
  8314. #endif
  8315. #ifdef GL_SGIX_icc_texture
  8316. &__GLEW_SGIX_icc_texture,
  8317. #endif
  8318. #ifdef GL_SGIX_igloo_interface
  8319. &__GLEW_SGIX_igloo_interface,
  8320. #endif
  8321. #ifdef GL_SGIX_image_compression
  8322. &__GLEW_SGIX_image_compression,
  8323. #endif
  8324. #ifdef GL_SGIX_impact_pixel_texture
  8325. &__GLEW_SGIX_impact_pixel_texture,
  8326. #endif
  8327. #ifdef GL_SGIX_instrument_error
  8328. &__GLEW_SGIX_instrument_error,
  8329. #endif
  8330. #ifdef GL_SGIX_interlace
  8331. &__GLEW_SGIX_interlace,
  8332. #endif
  8333. #ifdef GL_SGIX_ir_instrument1
  8334. &__GLEW_SGIX_ir_instrument1,
  8335. #endif
  8336. #ifdef GL_SGIX_line_quality_hint
  8337. &__GLEW_SGIX_line_quality_hint,
  8338. #endif
  8339. #ifdef GL_SGIX_list_priority
  8340. &__GLEW_SGIX_list_priority,
  8341. #endif
  8342. #ifdef GL_SGIX_mpeg1
  8343. &__GLEW_SGIX_mpeg1,
  8344. #endif
  8345. #ifdef GL_SGIX_mpeg2
  8346. &__GLEW_SGIX_mpeg2,
  8347. #endif
  8348. #ifdef GL_SGIX_nonlinear_lighting_pervertex
  8349. &__GLEW_SGIX_nonlinear_lighting_pervertex,
  8350. #endif
  8351. #ifdef GL_SGIX_nurbs_eval
  8352. &__GLEW_SGIX_nurbs_eval,
  8353. #endif
  8354. #ifdef GL_SGIX_occlusion_instrument
  8355. &__GLEW_SGIX_occlusion_instrument,
  8356. #endif
  8357. #ifdef GL_SGIX_packed_6bytes
  8358. &__GLEW_SGIX_packed_6bytes,
  8359. #endif
  8360. #ifdef GL_SGIX_pixel_texture
  8361. &__GLEW_SGIX_pixel_texture,
  8362. #endif
  8363. #ifdef GL_SGIX_pixel_texture_bits
  8364. &__GLEW_SGIX_pixel_texture_bits,
  8365. #endif
  8366. #ifdef GL_SGIX_pixel_texture_lod
  8367. &__GLEW_SGIX_pixel_texture_lod,
  8368. #endif
  8369. #ifdef GL_SGIX_pixel_tiles
  8370. &__GLEW_SGIX_pixel_tiles,
  8371. #endif
  8372. #ifdef GL_SGIX_polynomial_ffd
  8373. &__GLEW_SGIX_polynomial_ffd,
  8374. #endif
  8375. #ifdef GL_SGIX_quad_mesh
  8376. &__GLEW_SGIX_quad_mesh,
  8377. #endif
  8378. #ifdef GL_SGIX_reference_plane
  8379. &__GLEW_SGIX_reference_plane,
  8380. #endif
  8381. #ifdef GL_SGIX_resample
  8382. &__GLEW_SGIX_resample,
  8383. #endif
  8384. #ifdef GL_SGIX_scalebias_hint
  8385. &__GLEW_SGIX_scalebias_hint,
  8386. #endif
  8387. #ifdef GL_SGIX_shadow
  8388. &__GLEW_SGIX_shadow,
  8389. #endif
  8390. #ifdef GL_SGIX_shadow_ambient
  8391. &__GLEW_SGIX_shadow_ambient,
  8392. #endif
  8393. #ifdef GL_SGIX_slim
  8394. &__GLEW_SGIX_slim,
  8395. #endif
  8396. #ifdef GL_SGIX_spotlight_cutoff
  8397. &__GLEW_SGIX_spotlight_cutoff,
  8398. #endif
  8399. #ifdef GL_SGIX_sprite
  8400. &__GLEW_SGIX_sprite,
  8401. #endif
  8402. #ifdef GL_SGIX_subdiv_patch
  8403. &__GLEW_SGIX_subdiv_patch,
  8404. #endif
  8405. #ifdef GL_SGIX_subsample
  8406. &__GLEW_SGIX_subsample,
  8407. #endif
  8408. #ifdef GL_SGIX_tag_sample_buffer
  8409. &__GLEW_SGIX_tag_sample_buffer,
  8410. #endif
  8411. #ifdef GL_SGIX_texture_add_env
  8412. &__GLEW_SGIX_texture_add_env,
  8413. #endif
  8414. #ifdef GL_SGIX_texture_coordinate_clamp
  8415. &__GLEW_SGIX_texture_coordinate_clamp,
  8416. #endif
  8417. #ifdef GL_SGIX_texture_lod_bias
  8418. &__GLEW_SGIX_texture_lod_bias,
  8419. #endif
  8420. #ifdef GL_SGIX_texture_mipmap_anisotropic
  8421. &__GLEW_SGIX_texture_mipmap_anisotropic,
  8422. #endif
  8423. #ifdef GL_SGIX_texture_multi_buffer
  8424. &__GLEW_SGIX_texture_multi_buffer,
  8425. #endif
  8426. #ifdef GL_SGIX_texture_phase
  8427. &__GLEW_SGIX_texture_phase,
  8428. #endif
  8429. #ifdef GL_SGIX_texture_range
  8430. &__GLEW_SGIX_texture_range,
  8431. #endif
  8432. #ifdef GL_SGIX_texture_scale_bias
  8433. &__GLEW_SGIX_texture_scale_bias,
  8434. #endif
  8435. #ifdef GL_SGIX_texture_supersample
  8436. &__GLEW_SGIX_texture_supersample,
  8437. #endif
  8438. #ifdef GL_SGIX_vector_ops
  8439. &__GLEW_SGIX_vector_ops,
  8440. #endif
  8441. #ifdef GL_SGIX_vertex_array_object
  8442. &__GLEW_SGIX_vertex_array_object,
  8443. #endif
  8444. #ifdef GL_SGIX_vertex_preclip
  8445. &__GLEW_SGIX_vertex_preclip,
  8446. #endif
  8447. #ifdef GL_SGIX_vertex_preclip_hint
  8448. &__GLEW_SGIX_vertex_preclip_hint,
  8449. #endif
  8450. #ifdef GL_SGIX_ycrcb
  8451. &__GLEW_SGIX_ycrcb,
  8452. #endif
  8453. #ifdef GL_SGIX_ycrcb_subsample
  8454. &__GLEW_SGIX_ycrcb_subsample,
  8455. #endif
  8456. #ifdef GL_SGIX_ycrcba
  8457. &__GLEW_SGIX_ycrcba,
  8458. #endif
  8459. #ifdef GL_SGI_color_matrix
  8460. &__GLEW_SGI_color_matrix,
  8461. #endif
  8462. #ifdef GL_SGI_color_table
  8463. &__GLEW_SGI_color_table,
  8464. #endif
  8465. #ifdef GL_SGI_complex
  8466. &__GLEW_SGI_complex,
  8467. #endif
  8468. #ifdef GL_SGI_complex_type
  8469. &__GLEW_SGI_complex_type,
  8470. #endif
  8471. #ifdef GL_SGI_fft
  8472. &__GLEW_SGI_fft,
  8473. #endif
  8474. #ifdef GL_SGI_texture_color_table
  8475. &__GLEW_SGI_texture_color_table,
  8476. #endif
  8477. #ifdef GL_SUNX_constant_data
  8478. &__GLEW_SUNX_constant_data,
  8479. #endif
  8480. #ifdef GL_SUN_convolution_border_modes
  8481. &__GLEW_SUN_convolution_border_modes,
  8482. #endif
  8483. #ifdef GL_SUN_global_alpha
  8484. &__GLEW_SUN_global_alpha,
  8485. #endif
  8486. #ifdef GL_SUN_mesh_array
  8487. &__GLEW_SUN_mesh_array,
  8488. #endif
  8489. #ifdef GL_SUN_read_video_pixels
  8490. &__GLEW_SUN_read_video_pixels,
  8491. #endif
  8492. #ifdef GL_SUN_slice_accum
  8493. &__GLEW_SUN_slice_accum,
  8494. #endif
  8495. #ifdef GL_SUN_triangle_list
  8496. &__GLEW_SUN_triangle_list,
  8497. #endif
  8498. #ifdef GL_SUN_vertex
  8499. &__GLEW_SUN_vertex,
  8500. #endif
  8501. #ifdef GL_WIN_phong_shading
  8502. &__GLEW_WIN_phong_shading,
  8503. #endif
  8504. #ifdef GL_WIN_scene_markerXXX
  8505. &__GLEW_WIN_scene_markerXXX,
  8506. #endif
  8507. #ifdef GL_WIN_specular_fog
  8508. &__GLEW_WIN_specular_fog,
  8509. #endif
  8510. #ifdef GL_WIN_swap_hint
  8511. &__GLEW_WIN_swap_hint,
  8512. #endif
  8513. NULL
  8514. };
  8515. static GLboolean _glewInit_GL_VERSION_1_2 ();
  8516. static GLboolean _glewInit_GL_VERSION_1_3 ();
  8517. static GLboolean _glewInit_GL_VERSION_1_4 ();
  8518. static GLboolean _glewInit_GL_VERSION_1_5 ();
  8519. static GLboolean _glewInit_GL_VERSION_2_0 ();
  8520. static GLboolean _glewInit_GL_VERSION_2_1 ();
  8521. static GLboolean _glewInit_GL_VERSION_3_0 ();
  8522. static GLboolean _glewInit_GL_VERSION_3_1 ();
  8523. static GLboolean _glewInit_GL_VERSION_3_2 ();
  8524. static GLboolean _glewInit_GL_VERSION_3_3 ();
  8525. static GLboolean _glewInit_GL_VERSION_4_0 ();
  8526. static GLboolean _glewInit_GL_VERSION_4_5 ();
  8527. static GLboolean _glewInit_GL_VERSION_4_6 ();
  8528. static GLboolean _glewInit_GL_3DFX_tbuffer ();
  8529. static GLboolean _glewInit_GL_AMD_debug_output ();
  8530. static GLboolean _glewInit_GL_AMD_draw_buffers_blend ();
  8531. static GLboolean _glewInit_GL_AMD_framebuffer_sample_positions ();
  8532. static GLboolean _glewInit_GL_AMD_interleaved_elements ();
  8533. static GLboolean _glewInit_GL_AMD_multi_draw_indirect ();
  8534. static GLboolean _glewInit_GL_AMD_name_gen_delete ();
  8535. static GLboolean _glewInit_GL_AMD_occlusion_query_event ();
  8536. static GLboolean _glewInit_GL_AMD_performance_monitor ();
  8537. static GLboolean _glewInit_GL_AMD_sample_positions ();
  8538. static GLboolean _glewInit_GL_AMD_sparse_texture ();
  8539. static GLboolean _glewInit_GL_AMD_stencil_operation_extended ();
  8540. static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator ();
  8541. static GLboolean _glewInit_GL_ANGLE_framebuffer_blit ();
  8542. static GLboolean _glewInit_GL_ANGLE_framebuffer_multisample ();
  8543. static GLboolean _glewInit_GL_ANGLE_instanced_arrays ();
  8544. static GLboolean _glewInit_GL_ANGLE_timer_query ();
  8545. static GLboolean _glewInit_GL_ANGLE_translated_shader_source ();
  8546. static GLboolean _glewInit_GL_APPLE_copy_texture_levels ();
  8547. static GLboolean _glewInit_GL_APPLE_element_array ();
  8548. static GLboolean _glewInit_GL_APPLE_fence ();
  8549. static GLboolean _glewInit_GL_APPLE_flush_buffer_range ();
  8550. static GLboolean _glewInit_GL_APPLE_framebuffer_multisample ();
  8551. static GLboolean _glewInit_GL_APPLE_object_purgeable ();
  8552. static GLboolean _glewInit_GL_APPLE_sync ();
  8553. static GLboolean _glewInit_GL_APPLE_texture_range ();
  8554. static GLboolean _glewInit_GL_APPLE_vertex_array_object ();
  8555. static GLboolean _glewInit_GL_APPLE_vertex_array_range ();
  8556. static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators ();
  8557. static GLboolean _glewInit_GL_ARB_ES2_compatibility ();
  8558. static GLboolean _glewInit_GL_ARB_ES3_1_compatibility ();
  8559. static GLboolean _glewInit_GL_ARB_ES3_2_compatibility ();
  8560. static GLboolean _glewInit_GL_ARB_base_instance ();
  8561. static GLboolean _glewInit_GL_ARB_bindless_texture ();
  8562. static GLboolean _glewInit_GL_ARB_blend_func_extended ();
  8563. static GLboolean _glewInit_GL_ARB_buffer_storage ();
  8564. static GLboolean _glewInit_GL_ARB_cl_event ();
  8565. static GLboolean _glewInit_GL_ARB_clear_buffer_object ();
  8566. static GLboolean _glewInit_GL_ARB_clear_texture ();
  8567. static GLboolean _glewInit_GL_ARB_clip_control ();
  8568. static GLboolean _glewInit_GL_ARB_color_buffer_float ();
  8569. static GLboolean _glewInit_GL_ARB_compute_shader ();
  8570. static GLboolean _glewInit_GL_ARB_compute_variable_group_size ();
  8571. static GLboolean _glewInit_GL_ARB_copy_buffer ();
  8572. static GLboolean _glewInit_GL_ARB_copy_image ();
  8573. static GLboolean _glewInit_GL_ARB_debug_output ();
  8574. static GLboolean _glewInit_GL_ARB_direct_state_access ();
  8575. static GLboolean _glewInit_GL_ARB_draw_buffers ();
  8576. static GLboolean _glewInit_GL_ARB_draw_buffers_blend ();
  8577. static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex ();
  8578. static GLboolean _glewInit_GL_ARB_draw_indirect ();
  8579. static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments ();
  8580. static GLboolean _glewInit_GL_ARB_framebuffer_object ();
  8581. static GLboolean _glewInit_GL_ARB_geometry_shader4 ();
  8582. static GLboolean _glewInit_GL_ARB_get_program_binary ();
  8583. static GLboolean _glewInit_GL_ARB_get_texture_sub_image ();
  8584. static GLboolean _glewInit_GL_ARB_gl_spirv ();
  8585. static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ();
  8586. static GLboolean _glewInit_GL_ARB_gpu_shader_int64 ();
  8587. static GLboolean _glewInit_GL_ARB_imaging ();
  8588. static GLboolean _glewInit_GL_ARB_indirect_parameters ();
  8589. static GLboolean _glewInit_GL_ARB_instanced_arrays ();
  8590. static GLboolean _glewInit_GL_ARB_internalformat_query ();
  8591. static GLboolean _glewInit_GL_ARB_internalformat_query2 ();
  8592. static GLboolean _glewInit_GL_ARB_invalidate_subdata ();
  8593. static GLboolean _glewInit_GL_ARB_map_buffer_range ();
  8594. static GLboolean _glewInit_GL_ARB_matrix_palette ();
  8595. static GLboolean _glewInit_GL_ARB_multi_bind ();
  8596. static GLboolean _glewInit_GL_ARB_multi_draw_indirect ();
  8597. static GLboolean _glewInit_GL_ARB_multisample ();
  8598. static GLboolean _glewInit_GL_ARB_multitexture ();
  8599. static GLboolean _glewInit_GL_ARB_occlusion_query ();
  8600. static GLboolean _glewInit_GL_ARB_parallel_shader_compile ();
  8601. static GLboolean _glewInit_GL_ARB_point_parameters ();
  8602. static GLboolean _glewInit_GL_ARB_polygon_offset_clamp ();
  8603. static GLboolean _glewInit_GL_ARB_program_interface_query ();
  8604. static GLboolean _glewInit_GL_ARB_provoking_vertex ();
  8605. static GLboolean _glewInit_GL_ARB_robustness ();
  8606. static GLboolean _glewInit_GL_ARB_sample_locations ();
  8607. static GLboolean _glewInit_GL_ARB_sample_shading ();
  8608. static GLboolean _glewInit_GL_ARB_sampler_objects ();
  8609. static GLboolean _glewInit_GL_ARB_separate_shader_objects ();
  8610. static GLboolean _glewInit_GL_ARB_shader_atomic_counters ();
  8611. static GLboolean _glewInit_GL_ARB_shader_image_load_store ();
  8612. static GLboolean _glewInit_GL_ARB_shader_objects ();
  8613. static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object ();
  8614. static GLboolean _glewInit_GL_ARB_shader_subroutine ();
  8615. static GLboolean _glewInit_GL_ARB_shading_language_include ();
  8616. static GLboolean _glewInit_GL_ARB_sparse_buffer ();
  8617. static GLboolean _glewInit_GL_ARB_sparse_texture ();
  8618. static GLboolean _glewInit_GL_ARB_sync ();
  8619. static GLboolean _glewInit_GL_ARB_tessellation_shader ();
  8620. static GLboolean _glewInit_GL_ARB_texture_barrier ();
  8621. static GLboolean _glewInit_GL_ARB_texture_buffer_object ();
  8622. static GLboolean _glewInit_GL_ARB_texture_buffer_range ();
  8623. static GLboolean _glewInit_GL_ARB_texture_compression ();
  8624. static GLboolean _glewInit_GL_ARB_texture_multisample ();
  8625. static GLboolean _glewInit_GL_ARB_texture_storage ();
  8626. static GLboolean _glewInit_GL_ARB_texture_storage_multisample ();
  8627. static GLboolean _glewInit_GL_ARB_texture_view ();
  8628. static GLboolean _glewInit_GL_ARB_timer_query ();
  8629. static GLboolean _glewInit_GL_ARB_transform_feedback2 ();
  8630. static GLboolean _glewInit_GL_ARB_transform_feedback3 ();
  8631. static GLboolean _glewInit_GL_ARB_transform_feedback_instanced ();
  8632. static GLboolean _glewInit_GL_ARB_transpose_matrix ();
  8633. static GLboolean _glewInit_GL_ARB_uniform_buffer_object ();
  8634. static GLboolean _glewInit_GL_ARB_vertex_array_object ();
  8635. static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit ();
  8636. static GLboolean _glewInit_GL_ARB_vertex_attrib_binding ();
  8637. static GLboolean _glewInit_GL_ARB_vertex_blend ();
  8638. static GLboolean _glewInit_GL_ARB_vertex_buffer_object ();
  8639. static GLboolean _glewInit_GL_ARB_vertex_program ();
  8640. static GLboolean _glewInit_GL_ARB_vertex_shader ();
  8641. static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev ();
  8642. static GLboolean _glewInit_GL_ARB_viewport_array ();
  8643. static GLboolean _glewInit_GL_ARB_window_pos ();
  8644. static GLboolean _glewInit_GL_ATI_draw_buffers ();
  8645. static GLboolean _glewInit_GL_ATI_element_array ();
  8646. static GLboolean _glewInit_GL_ATI_envmap_bumpmap ();
  8647. static GLboolean _glewInit_GL_ATI_fragment_shader ();
  8648. static GLboolean _glewInit_GL_ATI_map_object_buffer ();
  8649. static GLboolean _glewInit_GL_ATI_pn_triangles ();
  8650. static GLboolean _glewInit_GL_ATI_separate_stencil ();
  8651. static GLboolean _glewInit_GL_ATI_vertex_array_object ();
  8652. static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object ();
  8653. static GLboolean _glewInit_GL_ATI_vertex_streams ();
  8654. static GLboolean _glewInit_GL_EXT_base_instance ();
  8655. static GLboolean _glewInit_GL_EXT_bindable_uniform ();
  8656. static GLboolean _glewInit_GL_EXT_blend_color ();
  8657. static GLboolean _glewInit_GL_EXT_blend_equation_separate ();
  8658. static GLboolean _glewInit_GL_EXT_blend_func_extended ();
  8659. static GLboolean _glewInit_GL_EXT_blend_func_separate ();
  8660. static GLboolean _glewInit_GL_EXT_blend_minmax ();
  8661. static GLboolean _glewInit_GL_EXT_buffer_storage ();
  8662. static GLboolean _glewInit_GL_EXT_clear_texture ();
  8663. static GLboolean _glewInit_GL_EXT_color_subtable ();
  8664. static GLboolean _glewInit_GL_EXT_compiled_vertex_array ();
  8665. static GLboolean _glewInit_GL_EXT_convolution ();
  8666. static GLboolean _glewInit_GL_EXT_coordinate_frame ();
  8667. static GLboolean _glewInit_GL_EXT_copy_image ();
  8668. static GLboolean _glewInit_GL_EXT_copy_texture ();
  8669. static GLboolean _glewInit_GL_EXT_cull_vertex ();
  8670. static GLboolean _glewInit_GL_EXT_debug_label ();
  8671. static GLboolean _glewInit_GL_EXT_debug_marker ();
  8672. static GLboolean _glewInit_GL_EXT_depth_bounds_test ();
  8673. static GLboolean _glewInit_GL_EXT_direct_state_access ();
  8674. static GLboolean _glewInit_GL_EXT_discard_framebuffer ();
  8675. static GLboolean _glewInit_GL_EXT_draw_buffers ();
  8676. static GLboolean _glewInit_GL_EXT_draw_buffers2 ();
  8677. static GLboolean _glewInit_GL_EXT_draw_buffers_indexed ();
  8678. static GLboolean _glewInit_GL_EXT_draw_elements_base_vertex ();
  8679. static GLboolean _glewInit_GL_EXT_draw_instanced ();
  8680. static GLboolean _glewInit_GL_EXT_draw_range_elements ();
  8681. static GLboolean _glewInit_GL_EXT_external_buffer ();
  8682. static GLboolean _glewInit_GL_EXT_fog_coord ();
  8683. static GLboolean _glewInit_GL_EXT_fragment_lighting ();
  8684. static GLboolean _glewInit_GL_EXT_framebuffer_blit ();
  8685. static GLboolean _glewInit_GL_EXT_framebuffer_multisample ();
  8686. static GLboolean _glewInit_GL_EXT_framebuffer_object ();
  8687. static GLboolean _glewInit_GL_EXT_geometry_shader4 ();
  8688. static GLboolean _glewInit_GL_EXT_gpu_program_parameters ();
  8689. static GLboolean _glewInit_GL_EXT_gpu_shader4 ();
  8690. static GLboolean _glewInit_GL_EXT_histogram ();
  8691. static GLboolean _glewInit_GL_EXT_index_func ();
  8692. static GLboolean _glewInit_GL_EXT_index_material ();
  8693. static GLboolean _glewInit_GL_EXT_instanced_arrays ();
  8694. static GLboolean _glewInit_GL_EXT_light_texture ();
  8695. static GLboolean _glewInit_GL_EXT_map_buffer_range ();
  8696. static GLboolean _glewInit_GL_EXT_memory_object ();
  8697. static GLboolean _glewInit_GL_EXT_memory_object_fd ();
  8698. static GLboolean _glewInit_GL_EXT_memory_object_win32 ();
  8699. static GLboolean _glewInit_GL_EXT_multi_draw_arrays ();
  8700. static GLboolean _glewInit_GL_EXT_multi_draw_indirect ();
  8701. static GLboolean _glewInit_GL_EXT_multisample ();
  8702. static GLboolean _glewInit_GL_EXT_multisampled_render_to_texture ();
  8703. static GLboolean _glewInit_GL_EXT_multiview_draw_buffers ();
  8704. static GLboolean _glewInit_GL_EXT_paletted_texture ();
  8705. static GLboolean _glewInit_GL_EXT_pixel_transform ();
  8706. static GLboolean _glewInit_GL_EXT_point_parameters ();
  8707. static GLboolean _glewInit_GL_EXT_polygon_offset ();
  8708. static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ();
  8709. static GLboolean _glewInit_GL_EXT_provoking_vertex ();
  8710. static GLboolean _glewInit_GL_EXT_raster_multisample ();
  8711. static GLboolean _glewInit_GL_EXT_scene_marker ();
  8712. static GLboolean _glewInit_GL_EXT_secondary_color ();
  8713. static GLboolean _glewInit_GL_EXT_semaphore ();
  8714. static GLboolean _glewInit_GL_EXT_semaphore_fd ();
  8715. static GLboolean _glewInit_GL_EXT_semaphore_win32 ();
  8716. static GLboolean _glewInit_GL_EXT_separate_shader_objects ();
  8717. static GLboolean _glewInit_GL_EXT_shader_image_load_store ();
  8718. static GLboolean _glewInit_GL_EXT_shader_pixel_local_storage2 ();
  8719. static GLboolean _glewInit_GL_EXT_sparse_texture ();
  8720. static GLboolean _glewInit_GL_EXT_stencil_two_side ();
  8721. static GLboolean _glewInit_GL_EXT_subtexture ();
  8722. static GLboolean _glewInit_GL_EXT_texture3D ();
  8723. static GLboolean _glewInit_GL_EXT_texture_array ();
  8724. static GLboolean _glewInit_GL_EXT_texture_buffer_object ();
  8725. static GLboolean _glewInit_GL_EXT_texture_integer ();
  8726. static GLboolean _glewInit_GL_EXT_texture_object ();
  8727. static GLboolean _glewInit_GL_EXT_texture_perturb_normal ();
  8728. static GLboolean _glewInit_GL_EXT_texture_storage ();
  8729. static GLboolean _glewInit_GL_EXT_texture_view ();
  8730. static GLboolean _glewInit_GL_EXT_timer_query ();
  8731. static GLboolean _glewInit_GL_EXT_transform_feedback ();
  8732. static GLboolean _glewInit_GL_EXT_vertex_array ();
  8733. static GLboolean _glewInit_GL_EXT_vertex_array_setXXX ();
  8734. static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit ();
  8735. static GLboolean _glewInit_GL_EXT_vertex_shader ();
  8736. static GLboolean _glewInit_GL_EXT_vertex_weighting ();
  8737. static GLboolean _glewInit_GL_EXT_win32_keyed_mutex ();
  8738. static GLboolean _glewInit_GL_EXT_window_rectangles ();
  8739. static GLboolean _glewInit_GL_EXT_x11_sync_object ();
  8740. static GLboolean _glewInit_GL_GREMEDY_frame_terminator ();
  8741. static GLboolean _glewInit_GL_GREMEDY_string_marker ();
  8742. static GLboolean _glewInit_GL_HP_image_transform ();
  8743. static GLboolean _glewInit_GL_IBM_multimode_draw_arrays ();
  8744. static GLboolean _glewInit_GL_IBM_vertex_array_lists ();
  8745. static GLboolean _glewInit_GL_INTEL_map_texture ();
  8746. static GLboolean _glewInit_GL_INTEL_parallel_arrays ();
  8747. static GLboolean _glewInit_GL_INTEL_performance_query ();
  8748. static GLboolean _glewInit_GL_INTEL_texture_scissor ();
  8749. static GLboolean _glewInit_GL_KHR_blend_equation_advanced ();
  8750. static GLboolean _glewInit_GL_KHR_debug ();
  8751. static GLboolean _glewInit_GL_KHR_parallel_shader_compile ();
  8752. static GLboolean _glewInit_GL_KHR_robustness ();
  8753. static GLboolean _glewInit_GL_KTX_buffer_region ();
  8754. static GLboolean _glewInit_GL_MESA_resize_buffers ();
  8755. static GLboolean _glewInit_GL_MESA_window_pos ();
  8756. static GLboolean _glewInit_GL_NVX_conditional_render ();
  8757. static GLboolean _glewInit_GL_NVX_linked_gpu_multicast ();
  8758. static GLboolean _glewInit_GL_NV_3dvision_settings ();
  8759. static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect ();
  8760. static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect_count ();
  8761. static GLboolean _glewInit_GL_NV_bindless_texture ();
  8762. static GLboolean _glewInit_GL_NV_blend_equation_advanced ();
  8763. static GLboolean _glewInit_GL_NV_clip_space_w_scaling ();
  8764. static GLboolean _glewInit_GL_NV_command_list ();
  8765. static GLboolean _glewInit_GL_NV_conditional_render ();
  8766. static GLboolean _glewInit_GL_NV_conservative_raster ();
  8767. static GLboolean _glewInit_GL_NV_conservative_raster_dilate ();
  8768. static GLboolean _glewInit_GL_NV_conservative_raster_pre_snap_triangles ();
  8769. static GLboolean _glewInit_GL_NV_copy_buffer ();
  8770. static GLboolean _glewInit_GL_NV_copy_image ();
  8771. static GLboolean _glewInit_GL_NV_depth_buffer_float ();
  8772. static GLboolean _glewInit_GL_NV_draw_buffers ();
  8773. static GLboolean _glewInit_GL_NV_draw_instanced ();
  8774. static GLboolean _glewInit_GL_NV_draw_texture ();
  8775. static GLboolean _glewInit_GL_NV_draw_vulkan_image ();
  8776. static GLboolean _glewInit_GL_NV_evaluators ();
  8777. static GLboolean _glewInit_GL_NV_explicit_multisample ();
  8778. static GLboolean _glewInit_GL_NV_fence ();
  8779. static GLboolean _glewInit_GL_NV_fragment_coverage_to_color ();
  8780. static GLboolean _glewInit_GL_NV_fragment_program ();
  8781. static GLboolean _glewInit_GL_NV_framebuffer_blit ();
  8782. static GLboolean _glewInit_GL_NV_framebuffer_multisample ();
  8783. static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage ();
  8784. static GLboolean _glewInit_GL_NV_geometry_program4 ();
  8785. static GLboolean _glewInit_GL_NV_gpu_multicast ();
  8786. static GLboolean _glewInit_GL_NV_gpu_program4 ();
  8787. static GLboolean _glewInit_GL_NV_gpu_shader5 ();
  8788. static GLboolean _glewInit_GL_NV_half_float ();
  8789. static GLboolean _glewInit_GL_NV_instanced_arrays ();
  8790. static GLboolean _glewInit_GL_NV_internalformat_sample_query ();
  8791. static GLboolean _glewInit_GL_NV_non_square_matrices ();
  8792. static GLboolean _glewInit_GL_NV_occlusion_query ();
  8793. static GLboolean _glewInit_GL_NV_parameter_buffer_object ();
  8794. static GLboolean _glewInit_GL_NV_path_rendering ();
  8795. static GLboolean _glewInit_GL_NV_pixel_data_range ();
  8796. static GLboolean _glewInit_GL_NV_point_sprite ();
  8797. static GLboolean _glewInit_GL_NV_polygon_mode ();
  8798. static GLboolean _glewInit_GL_NV_present_video ();
  8799. static GLboolean _glewInit_GL_NV_primitive_restart ();
  8800. static GLboolean _glewInit_GL_NV_register_combiners ();
  8801. static GLboolean _glewInit_GL_NV_register_combiners2 ();
  8802. static GLboolean _glewInit_GL_NV_sample_locations ();
  8803. static GLboolean _glewInit_GL_NV_shader_buffer_load ();
  8804. static GLboolean _glewInit_GL_NV_texture_array ();
  8805. static GLboolean _glewInit_GL_NV_texture_barrier ();
  8806. static GLboolean _glewInit_GL_NV_texture_multisample ();
  8807. static GLboolean _glewInit_GL_NV_transform_feedback ();
  8808. static GLboolean _glewInit_GL_NV_transform_feedback2 ();
  8809. static GLboolean _glewInit_GL_NV_vdpau_interop ();
  8810. static GLboolean _glewInit_GL_NV_vertex_array_range ();
  8811. static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit ();
  8812. static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory ();
  8813. static GLboolean _glewInit_GL_NV_vertex_program ();
  8814. static GLboolean _glewInit_GL_NV_video_capture ();
  8815. static GLboolean _glewInit_GL_NV_viewport_array ();
  8816. static GLboolean _glewInit_GL_NV_viewport_swizzle ();
  8817. static GLboolean _glewInit_GL_OVR_multiview ();
  8818. static GLboolean _glewInit_GL_OVR_multiview_multisampled_render_to_texture ();
  8819. static GLboolean _glewInit_GL_QCOM_alpha_test ();
  8820. static GLboolean _glewInit_GL_QCOM_driver_control ();
  8821. static GLboolean _glewInit_GL_QCOM_extended_get ();
  8822. static GLboolean _glewInit_GL_QCOM_extended_get2 ();
  8823. static GLboolean _glewInit_GL_QCOM_framebuffer_foveated ();
  8824. static GLboolean _glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent ();
  8825. static GLboolean _glewInit_GL_QCOM_tiled_rendering ();
  8826. static GLboolean _glewInit_GL_REGAL_ES1_0_compatibility ();
  8827. static GLboolean _glewInit_GL_REGAL_ES1_1_compatibility ();
  8828. static GLboolean _glewInit_GL_REGAL_error_string ();
  8829. static GLboolean _glewInit_GL_REGAL_extension_query ();
  8830. static GLboolean _glewInit_GL_REGAL_log ();
  8831. static GLboolean _glewInit_GL_REGAL_proc_address ();
  8832. static GLboolean _glewInit_GL_SGIS_detail_texture ();
  8833. static GLboolean _glewInit_GL_SGIS_fog_function ();
  8834. static GLboolean _glewInit_GL_SGIS_multisample ();
  8835. static GLboolean _glewInit_GL_SGIS_multitexture ();
  8836. static GLboolean _glewInit_GL_SGIS_shared_multisample ();
  8837. static GLboolean _glewInit_GL_SGIS_sharpen_texture ();
  8838. static GLboolean _glewInit_GL_SGIS_texture4D ();
  8839. static GLboolean _glewInit_GL_SGIS_texture_filter4 ();
  8840. static GLboolean _glewInit_GL_SGIX_async ();
  8841. static GLboolean _glewInit_GL_SGIX_datapipe ();
  8842. static GLboolean _glewInit_GL_SGIX_flush_raster ();
  8843. static GLboolean _glewInit_GL_SGIX_fog_layers ();
  8844. static GLboolean _glewInit_GL_SGIX_fog_texture ();
  8845. static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting ();
  8846. static GLboolean _glewInit_GL_SGIX_framezoom ();
  8847. static GLboolean _glewInit_GL_SGIX_igloo_interface ();
  8848. static GLboolean _glewInit_GL_SGIX_mpeg1 ();
  8849. static GLboolean _glewInit_GL_SGIX_nonlinear_lighting_pervertex ();
  8850. static GLboolean _glewInit_GL_SGIX_pixel_texture ();
  8851. static GLboolean _glewInit_GL_SGIX_polynomial_ffd ();
  8852. static GLboolean _glewInit_GL_SGIX_quad_mesh ();
  8853. static GLboolean _glewInit_GL_SGIX_reference_plane ();
  8854. static GLboolean _glewInit_GL_SGIX_sprite ();
  8855. static GLboolean _glewInit_GL_SGIX_tag_sample_buffer ();
  8856. static GLboolean _glewInit_GL_SGIX_vector_ops ();
  8857. static GLboolean _glewInit_GL_SGIX_vertex_array_object ();
  8858. static GLboolean _glewInit_GL_SGI_color_table ();
  8859. static GLboolean _glewInit_GL_SGI_fft ();
  8860. static GLboolean _glewInit_GL_SUNX_constant_data ();
  8861. static GLboolean _glewInit_GL_SUN_global_alpha ();
  8862. static GLboolean _glewInit_GL_SUN_read_video_pixels ();
  8863. static GLboolean _glewInit_GL_SUN_triangle_list ();
  8864. static GLboolean _glewInit_GL_SUN_vertex ();
  8865. static GLboolean _glewInit_GL_WIN_swap_hint ();
  8866. #ifdef GL_VERSION_1_2
  8867. static GLboolean _glewInit_GL_VERSION_1_2 ()
  8868. {
  8869. GLboolean r = GL_FALSE;
  8870. r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
  8871. r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
  8872. r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
  8873. r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
  8874. return r;
  8875. }
  8876. #endif /* GL_VERSION_1_2 */
  8877. #ifdef GL_VERSION_1_3
  8878. static GLboolean _glewInit_GL_VERSION_1_3 ()
  8879. {
  8880. GLboolean r = GL_FALSE;
  8881. r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
  8882. r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
  8883. r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
  8884. r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
  8885. r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
  8886. r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
  8887. r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
  8888. r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
  8889. r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
  8890. r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
  8891. r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
  8892. r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
  8893. r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
  8894. r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
  8895. r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
  8896. r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
  8897. r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
  8898. r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
  8899. r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
  8900. r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
  8901. r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
  8902. r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
  8903. r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
  8904. r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
  8905. r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
  8906. r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
  8907. r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
  8908. r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
  8909. r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
  8910. r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
  8911. r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
  8912. r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
  8913. r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
  8914. r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
  8915. r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
  8916. r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
  8917. r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
  8918. r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
  8919. r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
  8920. r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
  8921. r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
  8922. r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
  8923. r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
  8924. r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
  8925. r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
  8926. r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
  8927. return r;
  8928. }
  8929. #endif /* GL_VERSION_1_3 */
  8930. #ifdef GL_VERSION_1_4
  8931. static GLboolean _glewInit_GL_VERSION_1_4 ()
  8932. {
  8933. GLboolean r = GL_FALSE;
  8934. r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
  8935. r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
  8936. r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
  8937. r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
  8938. r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
  8939. r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
  8940. r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
  8941. r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
  8942. r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
  8943. r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
  8944. r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
  8945. r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
  8946. r = ((glPointParameteri = (PFNGLPOINTPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPointParameteri")) == NULL) || r;
  8947. r = ((glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriv")) == NULL) || r;
  8948. r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
  8949. r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
  8950. r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
  8951. r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
  8952. r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
  8953. r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
  8954. r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
  8955. r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
  8956. r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
  8957. r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
  8958. r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
  8959. r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
  8960. r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
  8961. r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
  8962. r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
  8963. r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
  8964. r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
  8965. r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
  8966. r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
  8967. r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
  8968. r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
  8969. r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
  8970. r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
  8971. r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
  8972. r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
  8973. r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
  8974. r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
  8975. r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
  8976. r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
  8977. r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
  8978. r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
  8979. r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
  8980. r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
  8981. return r;
  8982. }
  8983. #endif /* GL_VERSION_1_4 */
  8984. #ifdef GL_VERSION_1_5
  8985. static GLboolean _glewInit_GL_VERSION_1_5 ()
  8986. {
  8987. GLboolean r = GL_FALSE;
  8988. r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
  8989. r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
  8990. r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
  8991. r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
  8992. r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
  8993. r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
  8994. r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
  8995. r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
  8996. r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
  8997. r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
  8998. r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
  8999. r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
  9000. r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
  9001. r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
  9002. r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
  9003. r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
  9004. r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
  9005. r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
  9006. r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
  9007. return r;
  9008. }
  9009. #endif /* GL_VERSION_1_5 */
  9010. #ifdef GL_VERSION_2_0
  9011. static GLboolean _glewInit_GL_VERSION_2_0 ()
  9012. {
  9013. GLboolean r = GL_FALSE;
  9014. r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
  9015. r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
  9016. r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
  9017. r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
  9018. r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
  9019. r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
  9020. r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
  9021. r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
  9022. r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
  9023. r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
  9024. r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
  9025. r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
  9026. r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
  9027. r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
  9028. r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
  9029. r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
  9030. r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
  9031. r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
  9032. r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
  9033. r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
  9034. r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
  9035. r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
  9036. r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
  9037. r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
  9038. r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
  9039. r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
  9040. r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
  9041. r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
  9042. r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
  9043. r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
  9044. r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
  9045. r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
  9046. r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
  9047. r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
  9048. r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
  9049. r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
  9050. r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
  9051. r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
  9052. r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
  9053. r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
  9054. r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
  9055. r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
  9056. r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
  9057. r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
  9058. r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
  9059. r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
  9060. r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
  9061. r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
  9062. r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
  9063. r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
  9064. r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
  9065. r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
  9066. r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
  9067. r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
  9068. r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
  9069. r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
  9070. r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
  9071. r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
  9072. r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
  9073. r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
  9074. r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
  9075. r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
  9076. r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
  9077. r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
  9078. r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
  9079. r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
  9080. r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
  9081. r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
  9082. r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
  9083. r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
  9084. r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
  9085. r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
  9086. r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
  9087. r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
  9088. r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
  9089. r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
  9090. r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
  9091. r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
  9092. r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
  9093. r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
  9094. r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
  9095. r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
  9096. r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
  9097. r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
  9098. r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
  9099. r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
  9100. r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
  9101. r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
  9102. r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
  9103. r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
  9104. r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
  9105. r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
  9106. r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
  9107. return r;
  9108. }
  9109. #endif /* GL_VERSION_2_0 */
  9110. #ifdef GL_VERSION_2_1
  9111. static GLboolean _glewInit_GL_VERSION_2_1 ()
  9112. {
  9113. GLboolean r = GL_FALSE;
  9114. r = ((glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fv")) == NULL) || r;
  9115. r = ((glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fv")) == NULL) || r;
  9116. r = ((glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fv")) == NULL) || r;
  9117. r = ((glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fv")) == NULL) || r;
  9118. r = ((glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fv")) == NULL) || r;
  9119. r = ((glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fv")) == NULL) || r;
  9120. return r;
  9121. }
  9122. #endif /* GL_VERSION_2_1 */
  9123. #ifdef GL_VERSION_3_0
  9124. static GLboolean _glewInit_GL_VERSION_3_0 ()
  9125. {
  9126. GLboolean r = GL_FALSE;
  9127. r = _glewInit_GL_ARB_framebuffer_object() || r;
  9128. r = _glewInit_GL_ARB_map_buffer_range() || r;
  9129. r = _glewInit_GL_ARB_uniform_buffer_object() || r;
  9130. r = _glewInit_GL_ARB_vertex_array_object() || r;
  9131. r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;
  9132. r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;
  9133. r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;
  9134. r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;
  9135. r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;
  9136. r = ((glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfv")) == NULL) || r;
  9137. r = ((glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferiv")) == NULL) || r;
  9138. r = ((glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferuiv")) == NULL) || r;
  9139. r = ((glColorMaski = (PFNGLCOLORMASKIPROC)glewGetProcAddress((const GLubyte*)"glColorMaski")) == NULL) || r;
  9140. r = ((glDisablei = (PFNGLDISABLEIPROC)glewGetProcAddress((const GLubyte*)"glDisablei")) == NULL) || r;
  9141. r = ((glEnablei = (PFNGLENABLEIPROC)glewGetProcAddress((const GLubyte*)"glEnablei")) == NULL) || r;
  9142. r = ((glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRender")) == NULL) || r;
  9143. r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;
  9144. r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;
  9145. r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;
  9146. r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;
  9147. r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;
  9148. r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;
  9149. r = ((glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVarying")) == NULL) || r;
  9150. r = ((glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuiv")) == NULL) || r;
  9151. r = ((glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIiv")) == NULL) || r;
  9152. r = ((glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuiv")) == NULL) || r;
  9153. r = ((glIsEnabledi = (PFNGLISENABLEDIPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledi")) == NULL) || r;
  9154. r = ((glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIiv")) == NULL) || r;
  9155. r = ((glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuiv")) == NULL) || r;
  9156. r = ((glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryings")) == NULL) || r;
  9157. r = ((glUniform1ui = (PFNGLUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui")) == NULL) || r;
  9158. r = ((glUniform1uiv = (PFNGLUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiv")) == NULL) || r;
  9159. r = ((glUniform2ui = (PFNGLUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui")) == NULL) || r;
  9160. r = ((glUniform2uiv = (PFNGLUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiv")) == NULL) || r;
  9161. r = ((glUniform3ui = (PFNGLUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui")) == NULL) || r;
  9162. r = ((glUniform3uiv = (PFNGLUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiv")) == NULL) || r;
  9163. r = ((glUniform4ui = (PFNGLUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui")) == NULL) || r;
  9164. r = ((glUniform4uiv = (PFNGLUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiv")) == NULL) || r;
  9165. r = ((glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1i")) == NULL) || r;
  9166. r = ((glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iv")) == NULL) || r;
  9167. r = ((glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ui")) == NULL) || r;
  9168. r = ((glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiv")) == NULL) || r;
  9169. r = ((glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2i")) == NULL) || r;
  9170. r = ((glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iv")) == NULL) || r;
  9171. r = ((glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ui")) == NULL) || r;
  9172. r = ((glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiv")) == NULL) || r;
  9173. r = ((glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3i")) == NULL) || r;
  9174. r = ((glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iv")) == NULL) || r;
  9175. r = ((glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ui")) == NULL) || r;
  9176. r = ((glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiv")) == NULL) || r;
  9177. r = ((glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bv")) == NULL) || r;
  9178. r = ((glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4i")) == NULL) || r;
  9179. r = ((glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iv")) == NULL) || r;
  9180. r = ((glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4sv")) == NULL) || r;
  9181. r = ((glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubv")) == NULL) || r;
  9182. r = ((glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ui")) == NULL) || r;
  9183. r = ((glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiv")) == NULL) || r;
  9184. r = ((glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usv")) == NULL) || r;
  9185. r = ((glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointer")) == NULL) || r;
  9186. return r;
  9187. }
  9188. #endif /* GL_VERSION_3_0 */
  9189. #ifdef GL_VERSION_3_1
  9190. static GLboolean _glewInit_GL_VERSION_3_1 ()
  9191. {
  9192. GLboolean r = GL_FALSE;
  9193. r = _glewInit_GL_ARB_copy_buffer() || r;
  9194. r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r;
  9195. r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r;
  9196. r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r;
  9197. r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r;
  9198. return r;
  9199. }
  9200. #endif /* GL_VERSION_3_1 */
  9201. #ifdef GL_VERSION_3_2
  9202. static GLboolean _glewInit_GL_VERSION_3_2 ()
  9203. {
  9204. GLboolean r = GL_FALSE;
  9205. r = _glewInit_GL_ARB_draw_elements_base_vertex() || r;
  9206. r = _glewInit_GL_ARB_provoking_vertex() || r;
  9207. r = _glewInit_GL_ARB_sync() || r;
  9208. r = _glewInit_GL_ARB_texture_multisample() || r;
  9209. r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r;
  9210. r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r;
  9211. r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r;
  9212. return r;
  9213. }
  9214. #endif /* GL_VERSION_3_2 */
  9215. #ifdef GL_VERSION_3_3
  9216. static GLboolean _glewInit_GL_VERSION_3_3 ()
  9217. {
  9218. GLboolean r = GL_FALSE;
  9219. r = ((glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisor")) == NULL) || r;
  9220. return r;
  9221. }
  9222. #endif /* GL_VERSION_3_3 */
  9223. #ifdef GL_VERSION_4_0
  9224. static GLboolean _glewInit_GL_VERSION_4_0 ()
  9225. {
  9226. GLboolean r = GL_FALSE;
  9227. r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r;
  9228. r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r;
  9229. r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r;
  9230. r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r;
  9231. r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r;
  9232. return r;
  9233. }
  9234. #endif /* GL_VERSION_4_0 */
  9235. #ifdef GL_VERSION_4_5
  9236. static GLboolean _glewInit_GL_VERSION_4_5 ()
  9237. {
  9238. GLboolean r = GL_FALSE;
  9239. r = ((glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatus")) == NULL) || r;
  9240. r = ((glGetnCompressedTexImage = (PFNGLGETNCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImage")) == NULL) || r;
  9241. r = ((glGetnTexImage = (PFNGLGETNTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImage")) == NULL) || r;
  9242. r = ((glGetnUniformdv = (PFNGLGETNUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdv")) == NULL) || r;
  9243. return r;
  9244. }
  9245. #endif /* GL_VERSION_4_5 */
  9246. #ifdef GL_VERSION_4_6
  9247. static GLboolean _glewInit_GL_VERSION_4_6 ()
  9248. {
  9249. GLboolean r = GL_FALSE;
  9250. r = ((glMultiDrawArraysIndirectCount = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectCount")) == NULL) || r;
  9251. r = ((glMultiDrawElementsIndirectCount = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectCount")) == NULL) || r;
  9252. r = ((glSpecializeShader = (PFNGLSPECIALIZESHADERPROC)glewGetProcAddress((const GLubyte*)"glSpecializeShader")) == NULL) || r;
  9253. return r;
  9254. }
  9255. #endif /* GL_VERSION_4_6 */
  9256. #ifdef GL_3DFX_tbuffer
  9257. static GLboolean _glewInit_GL_3DFX_tbuffer ()
  9258. {
  9259. GLboolean r = GL_FALSE;
  9260. r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
  9261. return r;
  9262. }
  9263. #endif /* GL_3DFX_tbuffer */
  9264. #ifdef GL_AMD_debug_output
  9265. static GLboolean _glewInit_GL_AMD_debug_output ()
  9266. {
  9267. GLboolean r = GL_FALSE;
  9268. r = ((glDebugMessageCallbackAMD = (PFNGLDEBUGMESSAGECALLBACKAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackAMD")) == NULL) || r;
  9269. r = ((glDebugMessageEnableAMD = (PFNGLDEBUGMESSAGEENABLEAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageEnableAMD")) == NULL) || r;
  9270. r = ((glDebugMessageInsertAMD = (PFNGLDEBUGMESSAGEINSERTAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertAMD")) == NULL) || r;
  9271. r = ((glGetDebugMessageLogAMD = (PFNGLGETDEBUGMESSAGELOGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogAMD")) == NULL) || r;
  9272. return r;
  9273. }
  9274. #endif /* GL_AMD_debug_output */
  9275. #ifdef GL_AMD_draw_buffers_blend
  9276. static GLboolean _glewInit_GL_AMD_draw_buffers_blend ()
  9277. {
  9278. GLboolean r = GL_FALSE;
  9279. r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r;
  9280. r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r;
  9281. r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r;
  9282. r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r;
  9283. return r;
  9284. }
  9285. #endif /* GL_AMD_draw_buffers_blend */
  9286. #ifdef GL_AMD_framebuffer_sample_positions
  9287. static GLboolean _glewInit_GL_AMD_framebuffer_sample_positions ()
  9288. {
  9289. GLboolean r = GL_FALSE;
  9290. r = ((glFramebufferSamplePositionsfvAMD = (PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSamplePositionsfvAMD")) == NULL) || r;
  9291. r = ((glGetFramebufferParameterfvAMD = (PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterfvAMD")) == NULL) || r;
  9292. r = ((glGetNamedFramebufferParameterfvAMD = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterfvAMD")) == NULL) || r;
  9293. r = ((glNamedFramebufferSamplePositionsfvAMD = (PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSamplePositionsfvAMD")) == NULL) || r;
  9294. return r;
  9295. }
  9296. #endif /* GL_AMD_framebuffer_sample_positions */
  9297. #ifdef GL_AMD_interleaved_elements
  9298. static GLboolean _glewInit_GL_AMD_interleaved_elements ()
  9299. {
  9300. GLboolean r = GL_FALSE;
  9301. r = ((glVertexAttribParameteriAMD = (PFNGLVERTEXATTRIBPARAMETERIAMDPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribParameteriAMD")) == NULL) || r;
  9302. return r;
  9303. }
  9304. #endif /* GL_AMD_interleaved_elements */
  9305. #ifdef GL_AMD_multi_draw_indirect
  9306. static GLboolean _glewInit_GL_AMD_multi_draw_indirect ()
  9307. {
  9308. GLboolean r = GL_FALSE;
  9309. r = ((glMultiDrawArraysIndirectAMD = (PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectAMD")) == NULL) || r;
  9310. r = ((glMultiDrawElementsIndirectAMD = (PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectAMD")) == NULL) || r;
  9311. return r;
  9312. }
  9313. #endif /* GL_AMD_multi_draw_indirect */
  9314. #ifdef GL_AMD_name_gen_delete
  9315. static GLboolean _glewInit_GL_AMD_name_gen_delete ()
  9316. {
  9317. GLboolean r = GL_FALSE;
  9318. r = ((glDeleteNamesAMD = (PFNGLDELETENAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamesAMD")) == NULL) || r;
  9319. r = ((glGenNamesAMD = (PFNGLGENNAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glGenNamesAMD")) == NULL) || r;
  9320. r = ((glIsNameAMD = (PFNGLISNAMEAMDPROC)glewGetProcAddress((const GLubyte*)"glIsNameAMD")) == NULL) || r;
  9321. return r;
  9322. }
  9323. #endif /* GL_AMD_name_gen_delete */
  9324. #ifdef GL_AMD_occlusion_query_event
  9325. static GLboolean _glewInit_GL_AMD_occlusion_query_event ()
  9326. {
  9327. GLboolean r = GL_FALSE;
  9328. r = ((glQueryObjectParameteruiAMD = (PFNGLQUERYOBJECTPARAMETERUIAMDPROC)glewGetProcAddress((const GLubyte*)"glQueryObjectParameteruiAMD")) == NULL) || r;
  9329. return r;
  9330. }
  9331. #endif /* GL_AMD_occlusion_query_event */
  9332. #ifdef GL_AMD_performance_monitor
  9333. static GLboolean _glewInit_GL_AMD_performance_monitor ()
  9334. {
  9335. GLboolean r = GL_FALSE;
  9336. r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r;
  9337. r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r;
  9338. r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r;
  9339. r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r;
  9340. r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r;
  9341. r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r;
  9342. r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r;
  9343. r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r;
  9344. r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r;
  9345. r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r;
  9346. r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r;
  9347. return r;
  9348. }
  9349. #endif /* GL_AMD_performance_monitor */
  9350. #ifdef GL_AMD_sample_positions
  9351. static GLboolean _glewInit_GL_AMD_sample_positions ()
  9352. {
  9353. GLboolean r = GL_FALSE;
  9354. r = ((glSetMultisamplefvAMD = (PFNGLSETMULTISAMPLEFVAMDPROC)glewGetProcAddress((const GLubyte*)"glSetMultisamplefvAMD")) == NULL) || r;
  9355. return r;
  9356. }
  9357. #endif /* GL_AMD_sample_positions */
  9358. #ifdef GL_AMD_sparse_texture
  9359. static GLboolean _glewInit_GL_AMD_sparse_texture ()
  9360. {
  9361. GLboolean r = GL_FALSE;
  9362. r = ((glTexStorageSparseAMD = (PFNGLTEXSTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTexStorageSparseAMD")) == NULL) || r;
  9363. r = ((glTextureStorageSparseAMD = (PFNGLTEXTURESTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageSparseAMD")) == NULL) || r;
  9364. return r;
  9365. }
  9366. #endif /* GL_AMD_sparse_texture */
  9367. #ifdef GL_AMD_stencil_operation_extended
  9368. static GLboolean _glewInit_GL_AMD_stencil_operation_extended ()
  9369. {
  9370. GLboolean r = GL_FALSE;
  9371. r = ((glStencilOpValueAMD = (PFNGLSTENCILOPVALUEAMDPROC)glewGetProcAddress((const GLubyte*)"glStencilOpValueAMD")) == NULL) || r;
  9372. return r;
  9373. }
  9374. #endif /* GL_AMD_stencil_operation_extended */
  9375. #ifdef GL_AMD_vertex_shader_tessellator
  9376. static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator ()
  9377. {
  9378. GLboolean r = GL_FALSE;
  9379. r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r;
  9380. r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r;
  9381. return r;
  9382. }
  9383. #endif /* GL_AMD_vertex_shader_tessellator */
  9384. #ifdef GL_ANGLE_framebuffer_blit
  9385. static GLboolean _glewInit_GL_ANGLE_framebuffer_blit ()
  9386. {
  9387. GLboolean r = GL_FALSE;
  9388. r = ((glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferANGLE")) == NULL) || r;
  9389. return r;
  9390. }
  9391. #endif /* GL_ANGLE_framebuffer_blit */
  9392. #ifdef GL_ANGLE_framebuffer_multisample
  9393. static GLboolean _glewInit_GL_ANGLE_framebuffer_multisample ()
  9394. {
  9395. GLboolean r = GL_FALSE;
  9396. r = ((glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleANGLE")) == NULL) || r;
  9397. return r;
  9398. }
  9399. #endif /* GL_ANGLE_framebuffer_multisample */
  9400. #ifdef GL_ANGLE_instanced_arrays
  9401. static GLboolean _glewInit_GL_ANGLE_instanced_arrays ()
  9402. {
  9403. GLboolean r = GL_FALSE;
  9404. r = ((glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedANGLE")) == NULL) || r;
  9405. r = ((glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedANGLE")) == NULL) || r;
  9406. r = ((glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorANGLE")) == NULL) || r;
  9407. return r;
  9408. }
  9409. #endif /* GL_ANGLE_instanced_arrays */
  9410. #ifdef GL_ANGLE_timer_query
  9411. static GLboolean _glewInit_GL_ANGLE_timer_query ()
  9412. {
  9413. GLboolean r = GL_FALSE;
  9414. r = ((glBeginQueryANGLE = (PFNGLBEGINQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryANGLE")) == NULL) || r;
  9415. r = ((glDeleteQueriesANGLE = (PFNGLDELETEQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesANGLE")) == NULL) || r;
  9416. r = ((glEndQueryANGLE = (PFNGLENDQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glEndQueryANGLE")) == NULL) || r;
  9417. r = ((glGenQueriesANGLE = (PFNGLGENQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesANGLE")) == NULL) || r;
  9418. r = ((glGetQueryObjecti64vANGLE = (PFNGLGETQUERYOBJECTI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vANGLE")) == NULL) || r;
  9419. r = ((glGetQueryObjectivANGLE = (PFNGLGETQUERYOBJECTIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivANGLE")) == NULL) || r;
  9420. r = ((glGetQueryObjectui64vANGLE = (PFNGLGETQUERYOBJECTUI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vANGLE")) == NULL) || r;
  9421. r = ((glGetQueryObjectuivANGLE = (PFNGLGETQUERYOBJECTUIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivANGLE")) == NULL) || r;
  9422. r = ((glGetQueryivANGLE = (PFNGLGETQUERYIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivANGLE")) == NULL) || r;
  9423. r = ((glIsQueryANGLE = (PFNGLISQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glIsQueryANGLE")) == NULL) || r;
  9424. r = ((glQueryCounterANGLE = (PFNGLQUERYCOUNTERANGLEPROC)glewGetProcAddress((const GLubyte*)"glQueryCounterANGLE")) == NULL) || r;
  9425. return r;
  9426. }
  9427. #endif /* GL_ANGLE_timer_query */
  9428. #ifdef GL_ANGLE_translated_shader_source
  9429. static GLboolean _glewInit_GL_ANGLE_translated_shader_source ()
  9430. {
  9431. GLboolean r = GL_FALSE;
  9432. r = ((glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetTranslatedShaderSourceANGLE")) == NULL) || r;
  9433. return r;
  9434. }
  9435. #endif /* GL_ANGLE_translated_shader_source */
  9436. #ifdef GL_APPLE_copy_texture_levels
  9437. static GLboolean _glewInit_GL_APPLE_copy_texture_levels ()
  9438. {
  9439. GLboolean r = GL_FALSE;
  9440. r = ((glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureLevelsAPPLE")) == NULL) || r;
  9441. return r;
  9442. }
  9443. #endif /* GL_APPLE_copy_texture_levels */
  9444. #ifdef GL_APPLE_element_array
  9445. static GLboolean _glewInit_GL_APPLE_element_array ()
  9446. {
  9447. GLboolean r = GL_FALSE;
  9448. r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
  9449. r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
  9450. r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
  9451. r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
  9452. r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
  9453. return r;
  9454. }
  9455. #endif /* GL_APPLE_element_array */
  9456. #ifdef GL_APPLE_fence
  9457. static GLboolean _glewInit_GL_APPLE_fence ()
  9458. {
  9459. GLboolean r = GL_FALSE;
  9460. r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
  9461. r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
  9462. r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
  9463. r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
  9464. r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
  9465. r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
  9466. r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
  9467. r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
  9468. return r;
  9469. }
  9470. #endif /* GL_APPLE_fence */
  9471. #ifdef GL_APPLE_flush_buffer_range
  9472. static GLboolean _glewInit_GL_APPLE_flush_buffer_range ()
  9473. {
  9474. GLboolean r = GL_FALSE;
  9475. r = ((glBufferParameteriAPPLE = (PFNGLBUFFERPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBufferParameteriAPPLE")) == NULL) || r;
  9476. r = ((glFlushMappedBufferRangeAPPLE = (PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeAPPLE")) == NULL) || r;
  9477. return r;
  9478. }
  9479. #endif /* GL_APPLE_flush_buffer_range */
  9480. #ifdef GL_APPLE_framebuffer_multisample
  9481. static GLboolean _glewInit_GL_APPLE_framebuffer_multisample ()
  9482. {
  9483. GLboolean r = GL_FALSE;
  9484. r = ((glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleAPPLE")) == NULL) || r;
  9485. r = ((glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glResolveMultisampleFramebufferAPPLE")) == NULL) || r;
  9486. return r;
  9487. }
  9488. #endif /* GL_APPLE_framebuffer_multisample */
  9489. #ifdef GL_APPLE_object_purgeable
  9490. static GLboolean _glewInit_GL_APPLE_object_purgeable ()
  9491. {
  9492. GLboolean r = GL_FALSE;
  9493. r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r;
  9494. r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r;
  9495. r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r;
  9496. return r;
  9497. }
  9498. #endif /* GL_APPLE_object_purgeable */
  9499. #ifdef GL_APPLE_sync
  9500. static GLboolean _glewInit_GL_APPLE_sync ()
  9501. {
  9502. GLboolean r = GL_FALSE;
  9503. r = ((glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSyncAPPLE")) == NULL) || r;
  9504. r = ((glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteSyncAPPLE")) == NULL) || r;
  9505. r = ((glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFenceSyncAPPLE")) == NULL) || r;
  9506. r = ((glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64vAPPLE")) == NULL) || r;
  9507. r = ((glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetSyncivAPPLE")) == NULL) || r;
  9508. r = ((glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsSyncAPPLE")) == NULL) || r;
  9509. r = ((glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glWaitSyncAPPLE")) == NULL) || r;
  9510. return r;
  9511. }
  9512. #endif /* GL_APPLE_sync */
  9513. #ifdef GL_APPLE_texture_range
  9514. static GLboolean _glewInit_GL_APPLE_texture_range ()
  9515. {
  9516. GLboolean r = GL_FALSE;
  9517. r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
  9518. r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
  9519. return r;
  9520. }
  9521. #endif /* GL_APPLE_texture_range */
  9522. #ifdef GL_APPLE_vertex_array_object
  9523. static GLboolean _glewInit_GL_APPLE_vertex_array_object ()
  9524. {
  9525. GLboolean r = GL_FALSE;
  9526. r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
  9527. r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
  9528. r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
  9529. r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
  9530. return r;
  9531. }
  9532. #endif /* GL_APPLE_vertex_array_object */
  9533. #ifdef GL_APPLE_vertex_array_range
  9534. static GLboolean _glewInit_GL_APPLE_vertex_array_range ()
  9535. {
  9536. GLboolean r = GL_FALSE;
  9537. r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
  9538. r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
  9539. r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
  9540. return r;
  9541. }
  9542. #endif /* GL_APPLE_vertex_array_range */
  9543. #ifdef GL_APPLE_vertex_program_evaluators
  9544. static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators ()
  9545. {
  9546. GLboolean r = GL_FALSE;
  9547. r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r;
  9548. r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r;
  9549. r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r;
  9550. r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r;
  9551. r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r;
  9552. r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r;
  9553. r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r;
  9554. return r;
  9555. }
  9556. #endif /* GL_APPLE_vertex_program_evaluators */
  9557. #ifdef GL_ARB_ES2_compatibility
  9558. static GLboolean _glewInit_GL_ARB_ES2_compatibility ()
  9559. {
  9560. GLboolean r = GL_FALSE;
  9561. r = ((glClearDepthf = (PFNGLCLEARDEPTHFPROC)glewGetProcAddress((const GLubyte*)"glClearDepthf")) == NULL) || r;
  9562. r = ((glDepthRangef = (PFNGLDEPTHRANGEFPROC)glewGetProcAddress((const GLubyte*)"glDepthRangef")) == NULL) || r;
  9563. r = ((glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)glewGetProcAddress((const GLubyte*)"glGetShaderPrecisionFormat")) == NULL) || r;
  9564. r = ((glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)glewGetProcAddress((const GLubyte*)"glReleaseShaderCompiler")) == NULL) || r;
  9565. r = ((glShaderBinary = (PFNGLSHADERBINARYPROC)glewGetProcAddress((const GLubyte*)"glShaderBinary")) == NULL) || r;
  9566. return r;
  9567. }
  9568. #endif /* GL_ARB_ES2_compatibility */
  9569. #ifdef GL_ARB_ES3_1_compatibility
  9570. static GLboolean _glewInit_GL_ARB_ES3_1_compatibility ()
  9571. {
  9572. GLboolean r = GL_FALSE;
  9573. r = ((glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierByRegion")) == NULL) || r;
  9574. return r;
  9575. }
  9576. #endif /* GL_ARB_ES3_1_compatibility */
  9577. #ifdef GL_ARB_ES3_2_compatibility
  9578. static GLboolean _glewInit_GL_ARB_ES3_2_compatibility ()
  9579. {
  9580. GLboolean r = GL_FALSE;
  9581. r = ((glPrimitiveBoundingBoxARB = (PFNGLPRIMITIVEBOUNDINGBOXARBPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveBoundingBoxARB")) == NULL) || r;
  9582. return r;
  9583. }
  9584. #endif /* GL_ARB_ES3_2_compatibility */
  9585. #ifdef GL_ARB_base_instance
  9586. static GLboolean _glewInit_GL_ARB_base_instance ()
  9587. {
  9588. GLboolean r = GL_FALSE;
  9589. r = ((glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstance")) == NULL) || r;
  9590. r = ((glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstance")) == NULL) || r;
  9591. r = ((glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstance")) == NULL) || r;
  9592. return r;
  9593. }
  9594. #endif /* GL_ARB_base_instance */
  9595. #ifdef GL_ARB_bindless_texture
  9596. static GLboolean _glewInit_GL_ARB_bindless_texture ()
  9597. {
  9598. GLboolean r = GL_FALSE;
  9599. r = ((glGetImageHandleARB = (PFNGLGETIMAGEHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleARB")) == NULL) || r;
  9600. r = ((glGetTextureHandleARB = (PFNGLGETTEXTUREHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleARB")) == NULL) || r;
  9601. r = ((glGetTextureSamplerHandleARB = (PFNGLGETTEXTURESAMPLERHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleARB")) == NULL) || r;
  9602. r = ((glGetVertexAttribLui64vARB = (PFNGLGETVERTEXATTRIBLUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vARB")) == NULL) || r;
  9603. r = ((glIsImageHandleResidentARB = (PFNGLISIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentARB")) == NULL) || r;
  9604. r = ((glIsTextureHandleResidentARB = (PFNGLISTEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentARB")) == NULL) || r;
  9605. r = ((glMakeImageHandleNonResidentARB = (PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentARB")) == NULL) || r;
  9606. r = ((glMakeImageHandleResidentARB = (PFNGLMAKEIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentARB")) == NULL) || r;
  9607. r = ((glMakeTextureHandleNonResidentARB = (PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentARB")) == NULL) || r;
  9608. r = ((glMakeTextureHandleResidentARB = (PFNGLMAKETEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentARB")) == NULL) || r;
  9609. r = ((glProgramUniformHandleui64ARB = (PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64ARB")) == NULL) || r;
  9610. r = ((glProgramUniformHandleui64vARB = (PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vARB")) == NULL) || r;
  9611. r = ((glUniformHandleui64ARB = (PFNGLUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64ARB")) == NULL) || r;
  9612. r = ((glUniformHandleui64vARB = (PFNGLUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vARB")) == NULL) || r;
  9613. r = ((glVertexAttribL1ui64ARB = (PFNGLVERTEXATTRIBL1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64ARB")) == NULL) || r;
  9614. r = ((glVertexAttribL1ui64vARB = (PFNGLVERTEXATTRIBL1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vARB")) == NULL) || r;
  9615. return r;
  9616. }
  9617. #endif /* GL_ARB_bindless_texture */
  9618. #ifdef GL_ARB_blend_func_extended
  9619. static GLboolean _glewInit_GL_ARB_blend_func_extended ()
  9620. {
  9621. GLboolean r = GL_FALSE;
  9622. r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r;
  9623. r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r;
  9624. return r;
  9625. }
  9626. #endif /* GL_ARB_blend_func_extended */
  9627. #ifdef GL_ARB_buffer_storage
  9628. static GLboolean _glewInit_GL_ARB_buffer_storage ()
  9629. {
  9630. GLboolean r = GL_FALSE;
  9631. r = ((glBufferStorage = (PFNGLBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glBufferStorage")) == NULL) || r;
  9632. return r;
  9633. }
  9634. #endif /* GL_ARB_buffer_storage */
  9635. #ifdef GL_ARB_cl_event
  9636. static GLboolean _glewInit_GL_ARB_cl_event ()
  9637. {
  9638. GLboolean r = GL_FALSE;
  9639. r = ((glCreateSyncFromCLeventARB = (PFNGLCREATESYNCFROMCLEVENTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateSyncFromCLeventARB")) == NULL) || r;
  9640. return r;
  9641. }
  9642. #endif /* GL_ARB_cl_event */
  9643. #ifdef GL_ARB_clear_buffer_object
  9644. static GLboolean _glewInit_GL_ARB_clear_buffer_object ()
  9645. {
  9646. GLboolean r = GL_FALSE;
  9647. r = ((glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferData")) == NULL) || r;
  9648. r = ((glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferSubData")) == NULL) || r;
  9649. r = ((glClearNamedBufferDataEXT = (PFNGLCLEARNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferDataEXT")) == NULL) || r;
  9650. r = ((glClearNamedBufferSubDataEXT = (PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubDataEXT")) == NULL) || r;
  9651. return r;
  9652. }
  9653. #endif /* GL_ARB_clear_buffer_object */
  9654. #ifdef GL_ARB_clear_texture
  9655. static GLboolean _glewInit_GL_ARB_clear_texture ()
  9656. {
  9657. GLboolean r = GL_FALSE;
  9658. r = ((glClearTexImage = (PFNGLCLEARTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexImage")) == NULL) || r;
  9659. r = ((glClearTexSubImage = (PFNGLCLEARTEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexSubImage")) == NULL) || r;
  9660. return r;
  9661. }
  9662. #endif /* GL_ARB_clear_texture */
  9663. #ifdef GL_ARB_clip_control
  9664. static GLboolean _glewInit_GL_ARB_clip_control ()
  9665. {
  9666. GLboolean r = GL_FALSE;
  9667. r = ((glClipControl = (PFNGLCLIPCONTROLPROC)glewGetProcAddress((const GLubyte*)"glClipControl")) == NULL) || r;
  9668. return r;
  9669. }
  9670. #endif /* GL_ARB_clip_control */
  9671. #ifdef GL_ARB_color_buffer_float
  9672. static GLboolean _glewInit_GL_ARB_color_buffer_float ()
  9673. {
  9674. GLboolean r = GL_FALSE;
  9675. r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
  9676. return r;
  9677. }
  9678. #endif /* GL_ARB_color_buffer_float */
  9679. #ifdef GL_ARB_compute_shader
  9680. static GLboolean _glewInit_GL_ARB_compute_shader ()
  9681. {
  9682. GLboolean r = GL_FALSE;
  9683. r = ((glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)glewGetProcAddress((const GLubyte*)"glDispatchCompute")) == NULL) || r;
  9684. r = ((glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeIndirect")) == NULL) || r;
  9685. return r;
  9686. }
  9687. #endif /* GL_ARB_compute_shader */
  9688. #ifdef GL_ARB_compute_variable_group_size
  9689. static GLboolean _glewInit_GL_ARB_compute_variable_group_size ()
  9690. {
  9691. GLboolean r = GL_FALSE;
  9692. r = ((glDispatchComputeGroupSizeARB = (PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeGroupSizeARB")) == NULL) || r;
  9693. return r;
  9694. }
  9695. #endif /* GL_ARB_compute_variable_group_size */
  9696. #ifdef GL_ARB_copy_buffer
  9697. static GLboolean _glewInit_GL_ARB_copy_buffer ()
  9698. {
  9699. GLboolean r = GL_FALSE;
  9700. r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r;
  9701. return r;
  9702. }
  9703. #endif /* GL_ARB_copy_buffer */
  9704. #ifdef GL_ARB_copy_image
  9705. static GLboolean _glewInit_GL_ARB_copy_image ()
  9706. {
  9707. GLboolean r = GL_FALSE;
  9708. r = ((glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubData")) == NULL) || r;
  9709. return r;
  9710. }
  9711. #endif /* GL_ARB_copy_image */
  9712. #ifdef GL_ARB_debug_output
  9713. static GLboolean _glewInit_GL_ARB_debug_output ()
  9714. {
  9715. GLboolean r = GL_FALSE;
  9716. r = ((glDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackARB")) == NULL) || r;
  9717. r = ((glDebugMessageControlARB = (PFNGLDEBUGMESSAGECONTROLARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControlARB")) == NULL) || r;
  9718. r = ((glDebugMessageInsertARB = (PFNGLDEBUGMESSAGEINSERTARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertARB")) == NULL) || r;
  9719. r = ((glGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogARB")) == NULL) || r;
  9720. return r;
  9721. }
  9722. #endif /* GL_ARB_debug_output */
  9723. #ifdef GL_ARB_direct_state_access
  9724. static GLboolean _glewInit_GL_ARB_direct_state_access ()
  9725. {
  9726. GLboolean r = GL_FALSE;
  9727. r = ((glBindTextureUnit = (PFNGLBINDTEXTUREUNITPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnit")) == NULL) || r;
  9728. r = ((glBlitNamedFramebuffer = (PFNGLBLITNAMEDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitNamedFramebuffer")) == NULL) || r;
  9729. r = ((glCheckNamedFramebufferStatus = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatus")) == NULL) || r;
  9730. r = ((glClearNamedBufferData = (PFNGLCLEARNAMEDBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferData")) == NULL) || r;
  9731. r = ((glClearNamedBufferSubData = (PFNGLCLEARNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubData")) == NULL) || r;
  9732. r = ((glClearNamedFramebufferfi = (PFNGLCLEARNAMEDFRAMEBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferfi")) == NULL) || r;
  9733. r = ((glClearNamedFramebufferfv = (PFNGLCLEARNAMEDFRAMEBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferfv")) == NULL) || r;
  9734. r = ((glClearNamedFramebufferiv = (PFNGLCLEARNAMEDFRAMEBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferiv")) == NULL) || r;
  9735. r = ((glClearNamedFramebufferuiv = (PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferuiv")) == NULL) || r;
  9736. r = ((glCompressedTextureSubImage1D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1D")) == NULL) || r;
  9737. r = ((glCompressedTextureSubImage2D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2D")) == NULL) || r;
  9738. r = ((glCompressedTextureSubImage3D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3D")) == NULL) || r;
  9739. r = ((glCopyNamedBufferSubData = (PFNGLCOPYNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyNamedBufferSubData")) == NULL) || r;
  9740. r = ((glCopyTextureSubImage1D = (PFNGLCOPYTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1D")) == NULL) || r;
  9741. r = ((glCopyTextureSubImage2D = (PFNGLCOPYTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2D")) == NULL) || r;
  9742. r = ((glCopyTextureSubImage3D = (PFNGLCOPYTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3D")) == NULL) || r;
  9743. r = ((glCreateBuffers = (PFNGLCREATEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateBuffers")) == NULL) || r;
  9744. r = ((glCreateFramebuffers = (PFNGLCREATEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateFramebuffers")) == NULL) || r;
  9745. r = ((glCreateProgramPipelines = (PFNGLCREATEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramPipelines")) == NULL) || r;
  9746. r = ((glCreateQueries = (PFNGLCREATEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glCreateQueries")) == NULL) || r;
  9747. r = ((glCreateRenderbuffers = (PFNGLCREATERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateRenderbuffers")) == NULL) || r;
  9748. r = ((glCreateSamplers = (PFNGLCREATESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glCreateSamplers")) == NULL) || r;
  9749. r = ((glCreateTextures = (PFNGLCREATETEXTURESPROC)glewGetProcAddress((const GLubyte*)"glCreateTextures")) == NULL) || r;
  9750. r = ((glCreateTransformFeedbacks = (PFNGLCREATETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glCreateTransformFeedbacks")) == NULL) || r;
  9751. r = ((glCreateVertexArrays = (PFNGLCREATEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glCreateVertexArrays")) == NULL) || r;
  9752. r = ((glDisableVertexArrayAttrib = (PFNGLDISABLEVERTEXARRAYATTRIBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttrib")) == NULL) || r;
  9753. r = ((glEnableVertexArrayAttrib = (PFNGLENABLEVERTEXARRAYATTRIBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttrib")) == NULL) || r;
  9754. r = ((glFlushMappedNamedBufferRange = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRange")) == NULL) || r;
  9755. r = ((glGenerateTextureMipmap = (PFNGLGENERATETEXTUREMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmap")) == NULL) || r;
  9756. r = ((glGetCompressedTextureImage = (PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImage")) == NULL) || r;
  9757. r = ((glGetNamedBufferParameteri64v = (PFNGLGETNAMEDBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameteri64v")) == NULL) || r;
  9758. r = ((glGetNamedBufferParameteriv = (PFNGLGETNAMEDBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameteriv")) == NULL) || r;
  9759. r = ((glGetNamedBufferPointerv = (PFNGLGETNAMEDBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointerv")) == NULL) || r;
  9760. r = ((glGetNamedBufferSubData = (PFNGLGETNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubData")) == NULL) || r;
  9761. r = ((glGetNamedFramebufferAttachmentParameteriv = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameteriv")) == NULL) || r;
  9762. r = ((glGetNamedFramebufferParameteriv = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameteriv")) == NULL) || r;
  9763. r = ((glGetNamedRenderbufferParameteriv = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameteriv")) == NULL) || r;
  9764. r = ((glGetQueryBufferObjecti64v = (PFNGLGETQUERYBUFFEROBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjecti64v")) == NULL) || r;
  9765. r = ((glGetQueryBufferObjectiv = (PFNGLGETQUERYBUFFEROBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectiv")) == NULL) || r;
  9766. r = ((glGetQueryBufferObjectui64v = (PFNGLGETQUERYBUFFEROBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectui64v")) == NULL) || r;
  9767. r = ((glGetQueryBufferObjectuiv = (PFNGLGETQUERYBUFFEROBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectuiv")) == NULL) || r;
  9768. r = ((glGetTextureImage = (PFNGLGETTEXTUREIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImage")) == NULL) || r;
  9769. r = ((glGetTextureLevelParameterfv = (PFNGLGETTEXTURELEVELPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfv")) == NULL) || r;
  9770. r = ((glGetTextureLevelParameteriv = (PFNGLGETTEXTURELEVELPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameteriv")) == NULL) || r;
  9771. r = ((glGetTextureParameterIiv = (PFNGLGETTEXTUREPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIiv")) == NULL) || r;
  9772. r = ((glGetTextureParameterIuiv = (PFNGLGETTEXTUREPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuiv")) == NULL) || r;
  9773. r = ((glGetTextureParameterfv = (PFNGLGETTEXTUREPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfv")) == NULL) || r;
  9774. r = ((glGetTextureParameteriv = (PFNGLGETTEXTUREPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameteriv")) == NULL) || r;
  9775. r = ((glGetTransformFeedbacki64_v = (PFNGLGETTRANSFORMFEEDBACKI64_VPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbacki64_v")) == NULL) || r;
  9776. r = ((glGetTransformFeedbacki_v = (PFNGLGETTRANSFORMFEEDBACKI_VPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbacki_v")) == NULL) || r;
  9777. r = ((glGetTransformFeedbackiv = (PFNGLGETTRANSFORMFEEDBACKIVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackiv")) == NULL) || r;
  9778. r = ((glGetVertexArrayIndexed64iv = (PFNGLGETVERTEXARRAYINDEXED64IVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIndexed64iv")) == NULL) || r;
  9779. r = ((glGetVertexArrayIndexediv = (PFNGLGETVERTEXARRAYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIndexediv")) == NULL) || r;
  9780. r = ((glGetVertexArrayiv = (PFNGLGETVERTEXARRAYIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayiv")) == NULL) || r;
  9781. r = ((glInvalidateNamedFramebufferData = (PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateNamedFramebufferData")) == NULL) || r;
  9782. r = ((glInvalidateNamedFramebufferSubData = (PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateNamedFramebufferSubData")) == NULL) || r;
  9783. r = ((glMapNamedBuffer = (PFNGLMAPNAMEDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBuffer")) == NULL) || r;
  9784. r = ((glMapNamedBufferRange = (PFNGLMAPNAMEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRange")) == NULL) || r;
  9785. r = ((glNamedBufferData = (PFNGLNAMEDBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferData")) == NULL) || r;
  9786. r = ((glNamedBufferStorage = (PFNGLNAMEDBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorage")) == NULL) || r;
  9787. r = ((glNamedBufferSubData = (PFNGLNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubData")) == NULL) || r;
  9788. r = ((glNamedFramebufferDrawBuffer = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferDrawBuffer")) == NULL) || r;
  9789. r = ((glNamedFramebufferDrawBuffers = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferDrawBuffers")) == NULL) || r;
  9790. r = ((glNamedFramebufferParameteri = (PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteri")) == NULL) || r;
  9791. r = ((glNamedFramebufferReadBuffer = (PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferReadBuffer")) == NULL) || r;
  9792. r = ((glNamedFramebufferRenderbuffer = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbuffer")) == NULL) || r;
  9793. r = ((glNamedFramebufferTexture = (PFNGLNAMEDFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture")) == NULL) || r;
  9794. r = ((glNamedFramebufferTextureLayer = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayer")) == NULL) || r;
  9795. r = ((glNamedRenderbufferStorage = (PFNGLNAMEDRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorage")) == NULL) || r;
  9796. r = ((glNamedRenderbufferStorageMultisample = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisample")) == NULL) || r;
  9797. r = ((glTextureBuffer = (PFNGLTEXTUREBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTextureBuffer")) == NULL) || r;
  9798. r = ((glTextureBufferRange = (PFNGLTEXTUREBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRange")) == NULL) || r;
  9799. r = ((glTextureParameterIiv = (PFNGLTEXTUREPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIiv")) == NULL) || r;
  9800. r = ((glTextureParameterIuiv = (PFNGLTEXTUREPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuiv")) == NULL) || r;
  9801. r = ((glTextureParameterf = (PFNGLTEXTUREPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterf")) == NULL) || r;
  9802. r = ((glTextureParameterfv = (PFNGLTEXTUREPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfv")) == NULL) || r;
  9803. r = ((glTextureParameteri = (PFNGLTEXTUREPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteri")) == NULL) || r;
  9804. r = ((glTextureParameteriv = (PFNGLTEXTUREPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriv")) == NULL) || r;
  9805. r = ((glTextureStorage1D = (PFNGLTEXTURESTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1D")) == NULL) || r;
  9806. r = ((glTextureStorage2D = (PFNGLTEXTURESTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2D")) == NULL) || r;
  9807. r = ((glTextureStorage2DMultisample = (PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisample")) == NULL) || r;
  9808. r = ((glTextureStorage3D = (PFNGLTEXTURESTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3D")) == NULL) || r;
  9809. r = ((glTextureStorage3DMultisample = (PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisample")) == NULL) || r;
  9810. r = ((glTextureSubImage1D = (PFNGLTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1D")) == NULL) || r;
  9811. r = ((glTextureSubImage2D = (PFNGLTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2D")) == NULL) || r;
  9812. r = ((glTextureSubImage3D = (PFNGLTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3D")) == NULL) || r;
  9813. r = ((glTransformFeedbackBufferBase = (PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackBufferBase")) == NULL) || r;
  9814. r = ((glTransformFeedbackBufferRange = (PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackBufferRange")) == NULL) || r;
  9815. r = ((glUnmapNamedBuffer = (PFNGLUNMAPNAMEDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBuffer")) == NULL) || r;
  9816. r = ((glVertexArrayAttribBinding = (PFNGLVERTEXARRAYATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribBinding")) == NULL) || r;
  9817. r = ((glVertexArrayAttribFormat = (PFNGLVERTEXARRAYATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribFormat")) == NULL) || r;
  9818. r = ((glVertexArrayAttribIFormat = (PFNGLVERTEXARRAYATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribIFormat")) == NULL) || r;
  9819. r = ((glVertexArrayAttribLFormat = (PFNGLVERTEXARRAYATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribLFormat")) == NULL) || r;
  9820. r = ((glVertexArrayBindingDivisor = (PFNGLVERTEXARRAYBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayBindingDivisor")) == NULL) || r;
  9821. r = ((glVertexArrayElementBuffer = (PFNGLVERTEXARRAYELEMENTBUFFERPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayElementBuffer")) == NULL) || r;
  9822. r = ((glVertexArrayVertexBuffer = (PFNGLVERTEXARRAYVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBuffer")) == NULL) || r;
  9823. r = ((glVertexArrayVertexBuffers = (PFNGLVERTEXARRAYVERTEXBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBuffers")) == NULL) || r;
  9824. return r;
  9825. }
  9826. #endif /* GL_ARB_direct_state_access */
  9827. #ifdef GL_ARB_draw_buffers
  9828. static GLboolean _glewInit_GL_ARB_draw_buffers ()
  9829. {
  9830. GLboolean r = GL_FALSE;
  9831. r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
  9832. return r;
  9833. }
  9834. #endif /* GL_ARB_draw_buffers */
  9835. #ifdef GL_ARB_draw_buffers_blend
  9836. static GLboolean _glewInit_GL_ARB_draw_buffers_blend ()
  9837. {
  9838. GLboolean r = GL_FALSE;
  9839. r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r;
  9840. r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r;
  9841. r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r;
  9842. r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r;
  9843. return r;
  9844. }
  9845. #endif /* GL_ARB_draw_buffers_blend */
  9846. #ifdef GL_ARB_draw_elements_base_vertex
  9847. static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex ()
  9848. {
  9849. GLboolean r = GL_FALSE;
  9850. r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r;
  9851. r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r;
  9852. r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r;
  9853. r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r;
  9854. return r;
  9855. }
  9856. #endif /* GL_ARB_draw_elements_base_vertex */
  9857. #ifdef GL_ARB_draw_indirect
  9858. static GLboolean _glewInit_GL_ARB_draw_indirect ()
  9859. {
  9860. GLboolean r = GL_FALSE;
  9861. r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r;
  9862. r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r;
  9863. return r;
  9864. }
  9865. #endif /* GL_ARB_draw_indirect */
  9866. #ifdef GL_ARB_framebuffer_no_attachments
  9867. static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments ()
  9868. {
  9869. GLboolean r = GL_FALSE;
  9870. r = ((glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glFramebufferParameteri")) == NULL) || r;
  9871. r = ((glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameteriv")) == NULL) || r;
  9872. r = ((glGetNamedFramebufferParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterivEXT")) == NULL) || r;
  9873. r = ((glNamedFramebufferParameteriEXT = (PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteriEXT")) == NULL) || r;
  9874. return r;
  9875. }
  9876. #endif /* GL_ARB_framebuffer_no_attachments */
  9877. #ifdef GL_ARB_framebuffer_object
  9878. static GLboolean _glewInit_GL_ARB_framebuffer_object ()
  9879. {
  9880. GLboolean r = GL_FALSE;
  9881. r = ((glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindFramebuffer")) == NULL) || r;
  9882. r = ((glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbuffer")) == NULL) || r;
  9883. r = ((glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebuffer")) == NULL) || r;
  9884. r = ((glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatus")) == NULL) || r;
  9885. r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;
  9886. r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;
  9887. r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;
  9888. r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;
  9889. r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;
  9890. r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;
  9891. r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r;
  9892. r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;
  9893. r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;
  9894. r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;
  9895. r = ((glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameteriv")) == NULL) || r;
  9896. r = ((glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameteriv")) == NULL) || r;
  9897. r = ((glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsFramebuffer")) == NULL) || r;
  9898. r = ((glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbuffer")) == NULL) || r;
  9899. r = ((glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorage")) == NULL) || r;
  9900. r = ((glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisample")) == NULL) || r;
  9901. return r;
  9902. }
  9903. #endif /* GL_ARB_framebuffer_object */
  9904. #ifdef GL_ARB_geometry_shader4
  9905. static GLboolean _glewInit_GL_ARB_geometry_shader4 ()
  9906. {
  9907. GLboolean r = GL_FALSE;
  9908. r = ((glFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureARB")) == NULL) || r;
  9909. r = ((glFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceARB")) == NULL) || r;
  9910. r = ((glFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerARB")) == NULL) || r;
  9911. r = ((glProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARBPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriARB")) == NULL) || r;
  9912. return r;
  9913. }
  9914. #endif /* GL_ARB_geometry_shader4 */
  9915. #ifdef GL_ARB_get_program_binary
  9916. static GLboolean _glewInit_GL_ARB_get_program_binary ()
  9917. {
  9918. GLboolean r = GL_FALSE;
  9919. r = ((glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glGetProgramBinary")) == NULL) || r;
  9920. r = ((glProgramBinary = (PFNGLPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glProgramBinary")) == NULL) || r;
  9921. r = ((glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteri")) == NULL) || r;
  9922. return r;
  9923. }
  9924. #endif /* GL_ARB_get_program_binary */
  9925. #ifdef GL_ARB_get_texture_sub_image
  9926. static GLboolean _glewInit_GL_ARB_get_texture_sub_image ()
  9927. {
  9928. GLboolean r = GL_FALSE;
  9929. r = ((glGetCompressedTextureSubImage = (PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureSubImage")) == NULL) || r;
  9930. r = ((glGetTextureSubImage = (PFNGLGETTEXTURESUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSubImage")) == NULL) || r;
  9931. return r;
  9932. }
  9933. #endif /* GL_ARB_get_texture_sub_image */
  9934. #ifdef GL_ARB_gl_spirv
  9935. static GLboolean _glewInit_GL_ARB_gl_spirv ()
  9936. {
  9937. GLboolean r = GL_FALSE;
  9938. r = ((glSpecializeShaderARB = (PFNGLSPECIALIZESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glSpecializeShaderARB")) == NULL) || r;
  9939. return r;
  9940. }
  9941. #endif /* GL_ARB_gl_spirv */
  9942. #ifdef GL_ARB_gpu_shader_fp64
  9943. static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ()
  9944. {
  9945. GLboolean r = GL_FALSE;
  9946. r = ((glGetUniformdv = (PFNGLGETUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformdv")) == NULL) || r;
  9947. r = ((glUniform1d = (PFNGLUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glUniform1d")) == NULL) || r;
  9948. r = ((glUniform1dv = (PFNGLUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glUniform1dv")) == NULL) || r;
  9949. r = ((glUniform2d = (PFNGLUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glUniform2d")) == NULL) || r;
  9950. r = ((glUniform2dv = (PFNGLUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glUniform2dv")) == NULL) || r;
  9951. r = ((glUniform3d = (PFNGLUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glUniform3d")) == NULL) || r;
  9952. r = ((glUniform3dv = (PFNGLUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glUniform3dv")) == NULL) || r;
  9953. r = ((glUniform4d = (PFNGLUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glUniform4d")) == NULL) || r;
  9954. r = ((glUniform4dv = (PFNGLUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glUniform4dv")) == NULL) || r;
  9955. r = ((glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2dv")) == NULL) || r;
  9956. r = ((glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3dv")) == NULL) || r;
  9957. r = ((glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4dv")) == NULL) || r;
  9958. r = ((glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3dv")) == NULL) || r;
  9959. r = ((glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2dv")) == NULL) || r;
  9960. r = ((glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4dv")) == NULL) || r;
  9961. r = ((glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4dv")) == NULL) || r;
  9962. r = ((glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2dv")) == NULL) || r;
  9963. r = ((glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3dv")) == NULL) || r;
  9964. return r;
  9965. }
  9966. #endif /* GL_ARB_gpu_shader_fp64 */
  9967. #ifdef GL_ARB_gpu_shader_int64
  9968. static GLboolean _glewInit_GL_ARB_gpu_shader_int64 ()
  9969. {
  9970. GLboolean r = GL_FALSE;
  9971. r = ((glGetUniformi64vARB = (PFNGLGETUNIFORMI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vARB")) == NULL) || r;
  9972. r = ((glGetUniformui64vARB = (PFNGLGETUNIFORMUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vARB")) == NULL) || r;
  9973. r = ((glGetnUniformi64vARB = (PFNGLGETNUNIFORMI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformi64vARB")) == NULL) || r;
  9974. r = ((glGetnUniformui64vARB = (PFNGLGETNUNIFORMUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformui64vARB")) == NULL) || r;
  9975. r = ((glProgramUniform1i64ARB = (PFNGLPROGRAMUNIFORM1I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64ARB")) == NULL) || r;
  9976. r = ((glProgramUniform1i64vARB = (PFNGLPROGRAMUNIFORM1I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vARB")) == NULL) || r;
  9977. r = ((glProgramUniform1ui64ARB = (PFNGLPROGRAMUNIFORM1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64ARB")) == NULL) || r;
  9978. r = ((glProgramUniform1ui64vARB = (PFNGLPROGRAMUNIFORM1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vARB")) == NULL) || r;
  9979. r = ((glProgramUniform2i64ARB = (PFNGLPROGRAMUNIFORM2I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64ARB")) == NULL) || r;
  9980. r = ((glProgramUniform2i64vARB = (PFNGLPROGRAMUNIFORM2I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vARB")) == NULL) || r;
  9981. r = ((glProgramUniform2ui64ARB = (PFNGLPROGRAMUNIFORM2UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64ARB")) == NULL) || r;
  9982. r = ((glProgramUniform2ui64vARB = (PFNGLPROGRAMUNIFORM2UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vARB")) == NULL) || r;
  9983. r = ((glProgramUniform3i64ARB = (PFNGLPROGRAMUNIFORM3I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64ARB")) == NULL) || r;
  9984. r = ((glProgramUniform3i64vARB = (PFNGLPROGRAMUNIFORM3I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vARB")) == NULL) || r;
  9985. r = ((glProgramUniform3ui64ARB = (PFNGLPROGRAMUNIFORM3UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64ARB")) == NULL) || r;
  9986. r = ((glProgramUniform3ui64vARB = (PFNGLPROGRAMUNIFORM3UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vARB")) == NULL) || r;
  9987. r = ((glProgramUniform4i64ARB = (PFNGLPROGRAMUNIFORM4I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64ARB")) == NULL) || r;
  9988. r = ((glProgramUniform4i64vARB = (PFNGLPROGRAMUNIFORM4I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vARB")) == NULL) || r;
  9989. r = ((glProgramUniform4ui64ARB = (PFNGLPROGRAMUNIFORM4UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64ARB")) == NULL) || r;
  9990. r = ((glProgramUniform4ui64vARB = (PFNGLPROGRAMUNIFORM4UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vARB")) == NULL) || r;
  9991. r = ((glUniform1i64ARB = (PFNGLUNIFORM1I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64ARB")) == NULL) || r;
  9992. r = ((glUniform1i64vARB = (PFNGLUNIFORM1I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vARB")) == NULL) || r;
  9993. r = ((glUniform1ui64ARB = (PFNGLUNIFORM1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64ARB")) == NULL) || r;
  9994. r = ((glUniform1ui64vARB = (PFNGLUNIFORM1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vARB")) == NULL) || r;
  9995. r = ((glUniform2i64ARB = (PFNGLUNIFORM2I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64ARB")) == NULL) || r;
  9996. r = ((glUniform2i64vARB = (PFNGLUNIFORM2I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vARB")) == NULL) || r;
  9997. r = ((glUniform2ui64ARB = (PFNGLUNIFORM2UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64ARB")) == NULL) || r;
  9998. r = ((glUniform2ui64vARB = (PFNGLUNIFORM2UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vARB")) == NULL) || r;
  9999. r = ((glUniform3i64ARB = (PFNGLUNIFORM3I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64ARB")) == NULL) || r;
  10000. r = ((glUniform3i64vARB = (PFNGLUNIFORM3I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vARB")) == NULL) || r;
  10001. r = ((glUniform3ui64ARB = (PFNGLUNIFORM3UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64ARB")) == NULL) || r;
  10002. r = ((glUniform3ui64vARB = (PFNGLUNIFORM3UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vARB")) == NULL) || r;
  10003. r = ((glUniform4i64ARB = (PFNGLUNIFORM4I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64ARB")) == NULL) || r;
  10004. r = ((glUniform4i64vARB = (PFNGLUNIFORM4I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vARB")) == NULL) || r;
  10005. r = ((glUniform4ui64ARB = (PFNGLUNIFORM4UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64ARB")) == NULL) || r;
  10006. r = ((glUniform4ui64vARB = (PFNGLUNIFORM4UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vARB")) == NULL) || r;
  10007. return r;
  10008. }
  10009. #endif /* GL_ARB_gpu_shader_int64 */
  10010. #ifdef GL_ARB_imaging
  10011. static GLboolean _glewInit_GL_ARB_imaging ()
  10012. {
  10013. GLboolean r = GL_FALSE;
  10014. r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
  10015. r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
  10016. r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
  10017. r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
  10018. r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
  10019. r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
  10020. r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
  10021. r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
  10022. r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
  10023. r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
  10024. r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
  10025. r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
  10026. r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
  10027. r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
  10028. r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
  10029. r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
  10030. r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
  10031. r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
  10032. r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
  10033. r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
  10034. r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
  10035. r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
  10036. r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
  10037. r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
  10038. r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
  10039. r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
  10040. r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
  10041. r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
  10042. r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
  10043. r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
  10044. r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
  10045. r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
  10046. r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
  10047. return r;
  10048. }
  10049. #endif /* GL_ARB_imaging */
  10050. #ifdef GL_ARB_indirect_parameters
  10051. static GLboolean _glewInit_GL_ARB_indirect_parameters ()
  10052. {
  10053. GLboolean r = GL_FALSE;
  10054. r = ((glMultiDrawArraysIndirectCountARB = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectCountARB")) == NULL) || r;
  10055. r = ((glMultiDrawElementsIndirectCountARB = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectCountARB")) == NULL) || r;
  10056. return r;
  10057. }
  10058. #endif /* GL_ARB_indirect_parameters */
  10059. #ifdef GL_ARB_instanced_arrays
  10060. static GLboolean _glewInit_GL_ARB_instanced_arrays ()
  10061. {
  10062. GLboolean r = GL_FALSE;
  10063. r = ((glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedARB")) == NULL) || r;
  10064. r = ((glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedARB")) == NULL) || r;
  10065. r = ((glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorARB")) == NULL) || r;
  10066. return r;
  10067. }
  10068. #endif /* GL_ARB_instanced_arrays */
  10069. #ifdef GL_ARB_internalformat_query
  10070. static GLboolean _glewInit_GL_ARB_internalformat_query ()
  10071. {
  10072. GLboolean r = GL_FALSE;
  10073. r = ((glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformativ")) == NULL) || r;
  10074. return r;
  10075. }
  10076. #endif /* GL_ARB_internalformat_query */
  10077. #ifdef GL_ARB_internalformat_query2
  10078. static GLboolean _glewInit_GL_ARB_internalformat_query2 ()
  10079. {
  10080. GLboolean r = GL_FALSE;
  10081. r = ((glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformati64v")) == NULL) || r;
  10082. return r;
  10083. }
  10084. #endif /* GL_ARB_internalformat_query2 */
  10085. #ifdef GL_ARB_invalidate_subdata
  10086. static GLboolean _glewInit_GL_ARB_invalidate_subdata ()
  10087. {
  10088. GLboolean r = GL_FALSE;
  10089. r = ((glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferData")) == NULL) || r;
  10090. r = ((glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferSubData")) == NULL) || r;
  10091. r = ((glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateFramebuffer")) == NULL) || r;
  10092. r = ((glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateSubFramebuffer")) == NULL) || r;
  10093. r = ((glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexImage")) == NULL) || r;
  10094. r = ((glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexSubImage")) == NULL) || r;
  10095. return r;
  10096. }
  10097. #endif /* GL_ARB_invalidate_subdata */
  10098. #ifdef GL_ARB_map_buffer_range
  10099. static GLboolean _glewInit_GL_ARB_map_buffer_range ()
  10100. {
  10101. GLboolean r = GL_FALSE;
  10102. r = ((glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRange")) == NULL) || r;
  10103. r = ((glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRange")) == NULL) || r;
  10104. return r;
  10105. }
  10106. #endif /* GL_ARB_map_buffer_range */
  10107. #ifdef GL_ARB_matrix_palette
  10108. static GLboolean _glewInit_GL_ARB_matrix_palette ()
  10109. {
  10110. GLboolean r = GL_FALSE;
  10111. r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
  10112. r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
  10113. r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
  10114. r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
  10115. r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
  10116. return r;
  10117. }
  10118. #endif /* GL_ARB_matrix_palette */
  10119. #ifdef GL_ARB_multi_bind
  10120. static GLboolean _glewInit_GL_ARB_multi_bind ()
  10121. {
  10122. GLboolean r = GL_FALSE;
  10123. r = ((glBindBuffersBase = (PFNGLBINDBUFFERSBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersBase")) == NULL) || r;
  10124. r = ((glBindBuffersRange = (PFNGLBINDBUFFERSRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersRange")) == NULL) || r;
  10125. r = ((glBindImageTextures = (PFNGLBINDIMAGETEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextures")) == NULL) || r;
  10126. r = ((glBindSamplers = (PFNGLBINDSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glBindSamplers")) == NULL) || r;
  10127. r = ((glBindTextures = (PFNGLBINDTEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindTextures")) == NULL) || r;
  10128. r = ((glBindVertexBuffers = (PFNGLBINDVERTEXBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffers")) == NULL) || r;
  10129. return r;
  10130. }
  10131. #endif /* GL_ARB_multi_bind */
  10132. #ifdef GL_ARB_multi_draw_indirect
  10133. static GLboolean _glewInit_GL_ARB_multi_draw_indirect ()
  10134. {
  10135. GLboolean r = GL_FALSE;
  10136. r = ((glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirect")) == NULL) || r;
  10137. r = ((glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirect")) == NULL) || r;
  10138. return r;
  10139. }
  10140. #endif /* GL_ARB_multi_draw_indirect */
  10141. #ifdef GL_ARB_multisample
  10142. static GLboolean _glewInit_GL_ARB_multisample ()
  10143. {
  10144. GLboolean r = GL_FALSE;
  10145. r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
  10146. return r;
  10147. }
  10148. #endif /* GL_ARB_multisample */
  10149. #ifdef GL_ARB_multitexture
  10150. static GLboolean _glewInit_GL_ARB_multitexture ()
  10151. {
  10152. GLboolean r = GL_FALSE;
  10153. r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
  10154. r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
  10155. r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
  10156. r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
  10157. r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
  10158. r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
  10159. r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
  10160. r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
  10161. r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
  10162. r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
  10163. r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
  10164. r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
  10165. r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
  10166. r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
  10167. r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
  10168. r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
  10169. r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
  10170. r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
  10171. r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
  10172. r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
  10173. r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
  10174. r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
  10175. r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
  10176. r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
  10177. r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
  10178. r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
  10179. r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
  10180. r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
  10181. r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
  10182. r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
  10183. r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
  10184. r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
  10185. r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
  10186. r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
  10187. return r;
  10188. }
  10189. #endif /* GL_ARB_multitexture */
  10190. #ifdef GL_ARB_occlusion_query
  10191. static GLboolean _glewInit_GL_ARB_occlusion_query ()
  10192. {
  10193. GLboolean r = GL_FALSE;
  10194. r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
  10195. r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
  10196. r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
  10197. r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
  10198. r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
  10199. r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
  10200. r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
  10201. r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
  10202. return r;
  10203. }
  10204. #endif /* GL_ARB_occlusion_query */
  10205. #ifdef GL_ARB_parallel_shader_compile
  10206. static GLboolean _glewInit_GL_ARB_parallel_shader_compile ()
  10207. {
  10208. GLboolean r = GL_FALSE;
  10209. r = ((glMaxShaderCompilerThreadsARB = (PFNGLMAXSHADERCOMPILERTHREADSARBPROC)glewGetProcAddress((const GLubyte*)"glMaxShaderCompilerThreadsARB")) == NULL) || r;
  10210. return r;
  10211. }
  10212. #endif /* GL_ARB_parallel_shader_compile */
  10213. #ifdef GL_ARB_point_parameters
  10214. static GLboolean _glewInit_GL_ARB_point_parameters ()
  10215. {
  10216. GLboolean r = GL_FALSE;
  10217. r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
  10218. r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
  10219. return r;
  10220. }
  10221. #endif /* GL_ARB_point_parameters */
  10222. #ifdef GL_ARB_polygon_offset_clamp
  10223. static GLboolean _glewInit_GL_ARB_polygon_offset_clamp ()
  10224. {
  10225. GLboolean r = GL_FALSE;
  10226. r = ((glPolygonOffsetClamp = (PFNGLPOLYGONOFFSETCLAMPPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetClamp")) == NULL) || r;
  10227. return r;
  10228. }
  10229. #endif /* GL_ARB_polygon_offset_clamp */
  10230. #ifdef GL_ARB_program_interface_query
  10231. static GLboolean _glewInit_GL_ARB_program_interface_query ()
  10232. {
  10233. GLboolean r = GL_FALSE;
  10234. r = ((glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInterfaceiv")) == NULL) || r;
  10235. r = ((glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceIndex")) == NULL) || r;
  10236. r = ((glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocation")) == NULL) || r;
  10237. r = ((glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndex")) == NULL) || r;
  10238. r = ((glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceName")) == NULL) || r;
  10239. r = ((glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceiv")) == NULL) || r;
  10240. return r;
  10241. }
  10242. #endif /* GL_ARB_program_interface_query */
  10243. #ifdef GL_ARB_provoking_vertex
  10244. static GLboolean _glewInit_GL_ARB_provoking_vertex ()
  10245. {
  10246. GLboolean r = GL_FALSE;
  10247. r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r;
  10248. return r;
  10249. }
  10250. #endif /* GL_ARB_provoking_vertex */
  10251. #ifdef GL_ARB_robustness
  10252. static GLboolean _glewInit_GL_ARB_robustness ()
  10253. {
  10254. GLboolean r = GL_FALSE;
  10255. r = ((glGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatusARB")) == NULL) || r;
  10256. r = ((glGetnColorTableARB = (PFNGLGETNCOLORTABLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnColorTableARB")) == NULL) || r;
  10257. r = ((glGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImageARB")) == NULL) || r;
  10258. r = ((glGetnConvolutionFilterARB = (PFNGLGETNCONVOLUTIONFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnConvolutionFilterARB")) == NULL) || r;
  10259. r = ((glGetnHistogramARB = (PFNGLGETNHISTOGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glGetnHistogramARB")) == NULL) || r;
  10260. r = ((glGetnMapdvARB = (PFNGLGETNMAPDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapdvARB")) == NULL) || r;
  10261. r = ((glGetnMapfvARB = (PFNGLGETNMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapfvARB")) == NULL) || r;
  10262. r = ((glGetnMapivARB = (PFNGLGETNMAPIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapivARB")) == NULL) || r;
  10263. r = ((glGetnMinmaxARB = (PFNGLGETNMINMAXARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMinmaxARB")) == NULL) || r;
  10264. r = ((glGetnPixelMapfvARB = (PFNGLGETNPIXELMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapfvARB")) == NULL) || r;
  10265. r = ((glGetnPixelMapuivARB = (PFNGLGETNPIXELMAPUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapuivARB")) == NULL) || r;
  10266. r = ((glGetnPixelMapusvARB = (PFNGLGETNPIXELMAPUSVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapusvARB")) == NULL) || r;
  10267. r = ((glGetnPolygonStippleARB = (PFNGLGETNPOLYGONSTIPPLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPolygonStippleARB")) == NULL) || r;
  10268. r = ((glGetnSeparableFilterARB = (PFNGLGETNSEPARABLEFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnSeparableFilterARB")) == NULL) || r;
  10269. r = ((glGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImageARB")) == NULL) || r;
  10270. r = ((glGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdvARB")) == NULL) || r;
  10271. r = ((glGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfvARB")) == NULL) || r;
  10272. r = ((glGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformivARB")) == NULL) || r;
  10273. r = ((glGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuivARB")) == NULL) || r;
  10274. r = ((glReadnPixelsARB = (PFNGLREADNPIXELSARBPROC)glewGetProcAddress((const GLubyte*)"glReadnPixelsARB")) == NULL) || r;
  10275. return r;
  10276. }
  10277. #endif /* GL_ARB_robustness */
  10278. #ifdef GL_ARB_sample_locations
  10279. static GLboolean _glewInit_GL_ARB_sample_locations ()
  10280. {
  10281. GLboolean r = GL_FALSE;
  10282. r = ((glFramebufferSampleLocationsfvARB = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSampleLocationsfvARB")) == NULL) || r;
  10283. r = ((glNamedFramebufferSampleLocationsfvARB = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSampleLocationsfvARB")) == NULL) || r;
  10284. return r;
  10285. }
  10286. #endif /* GL_ARB_sample_locations */
  10287. #ifdef GL_ARB_sample_shading
  10288. static GLboolean _glewInit_GL_ARB_sample_shading ()
  10289. {
  10290. GLboolean r = GL_FALSE;
  10291. r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r;
  10292. return r;
  10293. }
  10294. #endif /* GL_ARB_sample_shading */
  10295. #ifdef GL_ARB_sampler_objects
  10296. static GLboolean _glewInit_GL_ARB_sampler_objects ()
  10297. {
  10298. GLboolean r = GL_FALSE;
  10299. r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r;
  10300. r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r;
  10301. r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r;
  10302. r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r;
  10303. r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r;
  10304. r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r;
  10305. r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r;
  10306. r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r;
  10307. r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r;
  10308. r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r;
  10309. r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r;
  10310. r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r;
  10311. r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r;
  10312. r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r;
  10313. return r;
  10314. }
  10315. #endif /* GL_ARB_sampler_objects */
  10316. #ifdef GL_ARB_separate_shader_objects
  10317. static GLboolean _glewInit_GL_ARB_separate_shader_objects ()
  10318. {
  10319. GLboolean r = GL_FALSE;
  10320. r = ((glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glActiveShaderProgram")) == NULL) || r;
  10321. r = ((glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glBindProgramPipeline")) == NULL) || r;
  10322. r = ((glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramv")) == NULL) || r;
  10323. r = ((glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramPipelines")) == NULL) || r;
  10324. r = ((glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glGenProgramPipelines")) == NULL) || r;
  10325. r = ((glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineInfoLog")) == NULL) || r;
  10326. r = ((glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineiv")) == NULL) || r;
  10327. r = ((glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glIsProgramPipeline")) == NULL) || r;
  10328. r = ((glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1d")) == NULL) || r;
  10329. r = ((glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dv")) == NULL) || r;
  10330. r = ((glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1f")) == NULL) || r;
  10331. r = ((glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fv")) == NULL) || r;
  10332. r = ((glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i")) == NULL) || r;
  10333. r = ((glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iv")) == NULL) || r;
  10334. r = ((glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui")) == NULL) || r;
  10335. r = ((glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiv")) == NULL) || r;
  10336. r = ((glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2d")) == NULL) || r;
  10337. r = ((glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dv")) == NULL) || r;
  10338. r = ((glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2f")) == NULL) || r;
  10339. r = ((glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fv")) == NULL) || r;
  10340. r = ((glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i")) == NULL) || r;
  10341. r = ((glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iv")) == NULL) || r;
  10342. r = ((glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui")) == NULL) || r;
  10343. r = ((glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiv")) == NULL) || r;
  10344. r = ((glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3d")) == NULL) || r;
  10345. r = ((glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dv")) == NULL) || r;
  10346. r = ((glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3f")) == NULL) || r;
  10347. r = ((glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fv")) == NULL) || r;
  10348. r = ((glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i")) == NULL) || r;
  10349. r = ((glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iv")) == NULL) || r;
  10350. r = ((glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui")) == NULL) || r;
  10351. r = ((glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiv")) == NULL) || r;
  10352. r = ((glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4d")) == NULL) || r;
  10353. r = ((glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dv")) == NULL) || r;
  10354. r = ((glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4f")) == NULL) || r;
  10355. r = ((glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fv")) == NULL) || r;
  10356. r = ((glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i")) == NULL) || r;
  10357. r = ((glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iv")) == NULL) || r;
  10358. r = ((glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui")) == NULL) || r;
  10359. r = ((glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiv")) == NULL) || r;
  10360. r = ((glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dv")) == NULL) || r;
  10361. r = ((glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fv")) == NULL) || r;
  10362. r = ((glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dv")) == NULL) || r;
  10363. r = ((glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fv")) == NULL) || r;
  10364. r = ((glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dv")) == NULL) || r;
  10365. r = ((glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fv")) == NULL) || r;
  10366. r = ((glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dv")) == NULL) || r;
  10367. r = ((glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fv")) == NULL) || r;
  10368. r = ((glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dv")) == NULL) || r;
  10369. r = ((glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fv")) == NULL) || r;
  10370. r = ((glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dv")) == NULL) || r;
  10371. r = ((glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fv")) == NULL) || r;
  10372. r = ((glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dv")) == NULL) || r;
  10373. r = ((glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fv")) == NULL) || r;
  10374. r = ((glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dv")) == NULL) || r;
  10375. r = ((glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fv")) == NULL) || r;
  10376. r = ((glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dv")) == NULL) || r;
  10377. r = ((glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fv")) == NULL) || r;
  10378. r = ((glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)glewGetProcAddress((const GLubyte*)"glUseProgramStages")) == NULL) || r;
  10379. r = ((glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramPipeline")) == NULL) || r;
  10380. return r;
  10381. }
  10382. #endif /* GL_ARB_separate_shader_objects */
  10383. #ifdef GL_ARB_shader_atomic_counters
  10384. static GLboolean _glewInit_GL_ARB_shader_atomic_counters ()
  10385. {
  10386. GLboolean r = GL_FALSE;
  10387. r = ((glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAtomicCounterBufferiv")) == NULL) || r;
  10388. return r;
  10389. }
  10390. #endif /* GL_ARB_shader_atomic_counters */
  10391. #ifdef GL_ARB_shader_image_load_store
  10392. static GLboolean _glewInit_GL_ARB_shader_image_load_store ()
  10393. {
  10394. GLboolean r = GL_FALSE;
  10395. r = ((glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glBindImageTexture")) == NULL) || r;
  10396. r = ((glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrier")) == NULL) || r;
  10397. return r;
  10398. }
  10399. #endif /* GL_ARB_shader_image_load_store */
  10400. #ifdef GL_ARB_shader_objects
  10401. static GLboolean _glewInit_GL_ARB_shader_objects ()
  10402. {
  10403. GLboolean r = GL_FALSE;
  10404. r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
  10405. r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
  10406. r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
  10407. r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
  10408. r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
  10409. r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
  10410. r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
  10411. r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
  10412. r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
  10413. r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
  10414. r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
  10415. r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
  10416. r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
  10417. r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
  10418. r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
  10419. r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
  10420. r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
  10421. r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
  10422. r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
  10423. r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
  10424. r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
  10425. r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
  10426. r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
  10427. r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
  10428. r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
  10429. r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
  10430. r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
  10431. r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
  10432. r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
  10433. r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
  10434. r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
  10435. r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
  10436. r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
  10437. r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
  10438. r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
  10439. r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
  10440. r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
  10441. r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
  10442. r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
  10443. return r;
  10444. }
  10445. #endif /* GL_ARB_shader_objects */
  10446. #ifdef GL_ARB_shader_storage_buffer_object
  10447. static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object ()
  10448. {
  10449. GLboolean r = GL_FALSE;
  10450. r = ((glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glShaderStorageBlockBinding")) == NULL) || r;
  10451. return r;
  10452. }
  10453. #endif /* GL_ARB_shader_storage_buffer_object */
  10454. #ifdef GL_ARB_shader_subroutine
  10455. static GLboolean _glewInit_GL_ARB_shader_subroutine ()
  10456. {
  10457. GLboolean r = GL_FALSE;
  10458. r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r;
  10459. r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r;
  10460. r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r;
  10461. r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r;
  10462. r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r;
  10463. r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r;
  10464. r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r;
  10465. r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r;
  10466. return r;
  10467. }
  10468. #endif /* GL_ARB_shader_subroutine */
  10469. #ifdef GL_ARB_shading_language_include
  10470. static GLboolean _glewInit_GL_ARB_shading_language_include ()
  10471. {
  10472. GLboolean r = GL_FALSE;
  10473. r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r;
  10474. r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r;
  10475. r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r;
  10476. r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r;
  10477. r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r;
  10478. r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r;
  10479. return r;
  10480. }
  10481. #endif /* GL_ARB_shading_language_include */
  10482. #ifdef GL_ARB_sparse_buffer
  10483. static GLboolean _glewInit_GL_ARB_sparse_buffer ()
  10484. {
  10485. GLboolean r = GL_FALSE;
  10486. r = ((glBufferPageCommitmentARB = (PFNGLBUFFERPAGECOMMITMENTARBPROC)glewGetProcAddress((const GLubyte*)"glBufferPageCommitmentARB")) == NULL) || r;
  10487. return r;
  10488. }
  10489. #endif /* GL_ARB_sparse_buffer */
  10490. #ifdef GL_ARB_sparse_texture
  10491. static GLboolean _glewInit_GL_ARB_sparse_texture ()
  10492. {
  10493. GLboolean r = GL_FALSE;
  10494. r = ((glTexPageCommitmentARB = (PFNGLTEXPAGECOMMITMENTARBPROC)glewGetProcAddress((const GLubyte*)"glTexPageCommitmentARB")) == NULL) || r;
  10495. return r;
  10496. }
  10497. #endif /* GL_ARB_sparse_texture */
  10498. #ifdef GL_ARB_sync
  10499. static GLboolean _glewInit_GL_ARB_sync ()
  10500. {
  10501. GLboolean r = GL_FALSE;
  10502. r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r;
  10503. r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r;
  10504. r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r;
  10505. r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r;
  10506. r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r;
  10507. r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r;
  10508. r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r;
  10509. return r;
  10510. }
  10511. #endif /* GL_ARB_sync */
  10512. #ifdef GL_ARB_tessellation_shader
  10513. static GLboolean _glewInit_GL_ARB_tessellation_shader ()
  10514. {
  10515. GLboolean r = GL_FALSE;
  10516. r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r;
  10517. r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r;
  10518. return r;
  10519. }
  10520. #endif /* GL_ARB_tessellation_shader */
  10521. #ifdef GL_ARB_texture_barrier
  10522. static GLboolean _glewInit_GL_ARB_texture_barrier ()
  10523. {
  10524. GLboolean r = GL_FALSE;
  10525. r = ((glTextureBarrier = (PFNGLTEXTUREBARRIERPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrier")) == NULL) || r;
  10526. return r;
  10527. }
  10528. #endif /* GL_ARB_texture_barrier */
  10529. #ifdef GL_ARB_texture_buffer_object
  10530. static GLboolean _glewInit_GL_ARB_texture_buffer_object ()
  10531. {
  10532. GLboolean r = GL_FALSE;
  10533. r = ((glTexBufferARB = (PFNGLTEXBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glTexBufferARB")) == NULL) || r;
  10534. return r;
  10535. }
  10536. #endif /* GL_ARB_texture_buffer_object */
  10537. #ifdef GL_ARB_texture_buffer_range
  10538. static GLboolean _glewInit_GL_ARB_texture_buffer_range ()
  10539. {
  10540. GLboolean r = GL_FALSE;
  10541. r = ((glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTexBufferRange")) == NULL) || r;
  10542. r = ((glTextureBufferRangeEXT = (PFNGLTEXTUREBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRangeEXT")) == NULL) || r;
  10543. return r;
  10544. }
  10545. #endif /* GL_ARB_texture_buffer_range */
  10546. #ifdef GL_ARB_texture_compression
  10547. static GLboolean _glewInit_GL_ARB_texture_compression ()
  10548. {
  10549. GLboolean r = GL_FALSE;
  10550. r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
  10551. r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
  10552. r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
  10553. r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
  10554. r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
  10555. r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
  10556. r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
  10557. return r;
  10558. }
  10559. #endif /* GL_ARB_texture_compression */
  10560. #ifdef GL_ARB_texture_multisample
  10561. static GLboolean _glewInit_GL_ARB_texture_multisample ()
  10562. {
  10563. GLboolean r = GL_FALSE;
  10564. r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r;
  10565. r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r;
  10566. r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r;
  10567. r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r;
  10568. return r;
  10569. }
  10570. #endif /* GL_ARB_texture_multisample */
  10571. #ifdef GL_ARB_texture_storage
  10572. static GLboolean _glewInit_GL_ARB_texture_storage ()
  10573. {
  10574. GLboolean r = GL_FALSE;
  10575. r = ((glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1D")) == NULL) || r;
  10576. r = ((glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2D")) == NULL) || r;
  10577. r = ((glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3D")) == NULL) || r;
  10578. return r;
  10579. }
  10580. #endif /* GL_ARB_texture_storage */
  10581. #ifdef GL_ARB_texture_storage_multisample
  10582. static GLboolean _glewInit_GL_ARB_texture_storage_multisample ()
  10583. {
  10584. GLboolean r = GL_FALSE;
  10585. r = ((glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DMultisample")) == NULL) || r;
  10586. r = ((glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DMultisample")) == NULL) || r;
  10587. r = ((glTextureStorage2DMultisampleEXT = (PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisampleEXT")) == NULL) || r;
  10588. r = ((glTextureStorage3DMultisampleEXT = (PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisampleEXT")) == NULL) || r;
  10589. return r;
  10590. }
  10591. #endif /* GL_ARB_texture_storage_multisample */
  10592. #ifdef GL_ARB_texture_view
  10593. static GLboolean _glewInit_GL_ARB_texture_view ()
  10594. {
  10595. GLboolean r = GL_FALSE;
  10596. r = ((glTextureView = (PFNGLTEXTUREVIEWPROC)glewGetProcAddress((const GLubyte*)"glTextureView")) == NULL) || r;
  10597. return r;
  10598. }
  10599. #endif /* GL_ARB_texture_view */
  10600. #ifdef GL_ARB_timer_query
  10601. static GLboolean _glewInit_GL_ARB_timer_query ()
  10602. {
  10603. GLboolean r = GL_FALSE;
  10604. r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r;
  10605. r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r;
  10606. r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r;
  10607. return r;
  10608. }
  10609. #endif /* GL_ARB_timer_query */
  10610. #ifdef GL_ARB_transform_feedback2
  10611. static GLboolean _glewInit_GL_ARB_transform_feedback2 ()
  10612. {
  10613. GLboolean r = GL_FALSE;
  10614. r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r;
  10615. r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r;
  10616. r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r;
  10617. r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r;
  10618. r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r;
  10619. r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r;
  10620. r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r;
  10621. return r;
  10622. }
  10623. #endif /* GL_ARB_transform_feedback2 */
  10624. #ifdef GL_ARB_transform_feedback3
  10625. static GLboolean _glewInit_GL_ARB_transform_feedback3 ()
  10626. {
  10627. GLboolean r = GL_FALSE;
  10628. r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r;
  10629. r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r;
  10630. r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r;
  10631. r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r;
  10632. return r;
  10633. }
  10634. #endif /* GL_ARB_transform_feedback3 */
  10635. #ifdef GL_ARB_transform_feedback_instanced
  10636. static GLboolean _glewInit_GL_ARB_transform_feedback_instanced ()
  10637. {
  10638. GLboolean r = GL_FALSE;
  10639. r = ((glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackInstanced")) == NULL) || r;
  10640. r = ((glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStreamInstanced")) == NULL) || r;
  10641. return r;
  10642. }
  10643. #endif /* GL_ARB_transform_feedback_instanced */
  10644. #ifdef GL_ARB_transpose_matrix
  10645. static GLboolean _glewInit_GL_ARB_transpose_matrix ()
  10646. {
  10647. GLboolean r = GL_FALSE;
  10648. r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
  10649. r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
  10650. r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
  10651. r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
  10652. return r;
  10653. }
  10654. #endif /* GL_ARB_transpose_matrix */
  10655. #ifdef GL_ARB_uniform_buffer_object
  10656. static GLboolean _glewInit_GL_ARB_uniform_buffer_object ()
  10657. {
  10658. GLboolean r = GL_FALSE;
  10659. r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;
  10660. r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;
  10661. r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r;
  10662. r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r;
  10663. r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r;
  10664. r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r;
  10665. r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;
  10666. r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r;
  10667. r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r;
  10668. r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r;
  10669. return r;
  10670. }
  10671. #endif /* GL_ARB_uniform_buffer_object */
  10672. #ifdef GL_ARB_vertex_array_object
  10673. static GLboolean _glewInit_GL_ARB_vertex_array_object ()
  10674. {
  10675. GLboolean r = GL_FALSE;
  10676. r = ((glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArray")) == NULL) || r;
  10677. r = ((glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArrays")) == NULL) || r;
  10678. r = ((glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArrays")) == NULL) || r;
  10679. r = ((glIsVertexArray = (PFNGLISVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArray")) == NULL) || r;
  10680. return r;
  10681. }
  10682. #endif /* GL_ARB_vertex_array_object */
  10683. #ifdef GL_ARB_vertex_attrib_64bit
  10684. static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit ()
  10685. {
  10686. GLboolean r = GL_FALSE;
  10687. r = ((glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdv")) == NULL) || r;
  10688. r = ((glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1d")) == NULL) || r;
  10689. r = ((glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dv")) == NULL) || r;
  10690. r = ((glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2d")) == NULL) || r;
  10691. r = ((glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dv")) == NULL) || r;
  10692. r = ((glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3d")) == NULL) || r;
  10693. r = ((glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dv")) == NULL) || r;
  10694. r = ((glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4d")) == NULL) || r;
  10695. r = ((glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dv")) == NULL) || r;
  10696. r = ((glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointer")) == NULL) || r;
  10697. return r;
  10698. }
  10699. #endif /* GL_ARB_vertex_attrib_64bit */
  10700. #ifdef GL_ARB_vertex_attrib_binding
  10701. static GLboolean _glewInit_GL_ARB_vertex_attrib_binding ()
  10702. {
  10703. GLboolean r = GL_FALSE;
  10704. r = ((glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffer")) == NULL) || r;
  10705. r = ((glVertexArrayBindVertexBufferEXT = (PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayBindVertexBufferEXT")) == NULL) || r;
  10706. r = ((glVertexArrayVertexAttribBindingEXT = (PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribBindingEXT")) == NULL) || r;
  10707. r = ((glVertexArrayVertexAttribFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribFormatEXT")) == NULL) || r;
  10708. r = ((glVertexArrayVertexAttribIFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIFormatEXT")) == NULL) || r;
  10709. r = ((glVertexArrayVertexAttribLFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLFormatEXT")) == NULL) || r;
  10710. r = ((glVertexArrayVertexBindingDivisorEXT = (PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBindingDivisorEXT")) == NULL) || r;
  10711. r = ((glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribBinding")) == NULL) || r;
  10712. r = ((glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormat")) == NULL) || r;
  10713. r = ((glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormat")) == NULL) || r;
  10714. r = ((glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormat")) == NULL) || r;
  10715. r = ((glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexBindingDivisor")) == NULL) || r;
  10716. return r;
  10717. }
  10718. #endif /* GL_ARB_vertex_attrib_binding */
  10719. #ifdef GL_ARB_vertex_blend
  10720. static GLboolean _glewInit_GL_ARB_vertex_blend ()
  10721. {
  10722. GLboolean r = GL_FALSE;
  10723. r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
  10724. r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
  10725. r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
  10726. r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
  10727. r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
  10728. r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
  10729. r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
  10730. r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
  10731. r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
  10732. r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
  10733. return r;
  10734. }
  10735. #endif /* GL_ARB_vertex_blend */
  10736. #ifdef GL_ARB_vertex_buffer_object
  10737. static GLboolean _glewInit_GL_ARB_vertex_buffer_object ()
  10738. {
  10739. GLboolean r = GL_FALSE;
  10740. r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
  10741. r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
  10742. r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
  10743. r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
  10744. r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
  10745. r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
  10746. r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
  10747. r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
  10748. r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
  10749. r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
  10750. r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
  10751. return r;
  10752. }
  10753. #endif /* GL_ARB_vertex_buffer_object */
  10754. #ifdef GL_ARB_vertex_program
  10755. static GLboolean _glewInit_GL_ARB_vertex_program ()
  10756. {
  10757. GLboolean r = GL_FALSE;
  10758. r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
  10759. r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
  10760. r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
  10761. r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
  10762. r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
  10763. r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
  10764. r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
  10765. r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
  10766. r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
  10767. r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
  10768. r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
  10769. r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
  10770. r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
  10771. r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
  10772. r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
  10773. r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
  10774. r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
  10775. r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
  10776. r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
  10777. r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
  10778. r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
  10779. r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
  10780. r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
  10781. r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
  10782. r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
  10783. r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
  10784. r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
  10785. r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
  10786. r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
  10787. r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
  10788. r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
  10789. r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
  10790. r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
  10791. r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
  10792. r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
  10793. r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
  10794. r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
  10795. r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
  10796. r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
  10797. r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
  10798. r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
  10799. r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
  10800. r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
  10801. r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
  10802. r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
  10803. r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
  10804. r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
  10805. r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
  10806. r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
  10807. r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
  10808. r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
  10809. r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
  10810. r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
  10811. r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
  10812. r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
  10813. r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
  10814. r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
  10815. r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
  10816. r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
  10817. r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
  10818. r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
  10819. r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
  10820. return r;
  10821. }
  10822. #endif /* GL_ARB_vertex_program */
  10823. #ifdef GL_ARB_vertex_shader
  10824. static GLboolean _glewInit_GL_ARB_vertex_shader ()
  10825. {
  10826. GLboolean r = GL_FALSE;
  10827. r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
  10828. r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
  10829. r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
  10830. return r;
  10831. }
  10832. #endif /* GL_ARB_vertex_shader */
  10833. #ifdef GL_ARB_vertex_type_2_10_10_10_rev
  10834. static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev ()
  10835. {
  10836. GLboolean r = GL_FALSE;
  10837. r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r;
  10838. r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r;
  10839. r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r;
  10840. r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r;
  10841. r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r;
  10842. r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r;
  10843. r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r;
  10844. r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r;
  10845. r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r;
  10846. r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r;
  10847. r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r;
  10848. r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r;
  10849. r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r;
  10850. r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r;
  10851. r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r;
  10852. r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r;
  10853. r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r;
  10854. r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r;
  10855. r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r;
  10856. r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r;
  10857. r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r;
  10858. r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r;
  10859. r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r;
  10860. r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r;
  10861. r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r;
  10862. r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r;
  10863. r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r;
  10864. r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r;
  10865. r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r;
  10866. r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r;
  10867. r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r;
  10868. r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r;
  10869. r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r;
  10870. r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r;
  10871. r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r;
  10872. r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r;
  10873. r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r;
  10874. r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r;
  10875. return r;
  10876. }
  10877. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  10878. #ifdef GL_ARB_viewport_array
  10879. static GLboolean _glewInit_GL_ARB_viewport_array ()
  10880. {
  10881. GLboolean r = GL_FALSE;
  10882. r = ((glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayv")) == NULL) || r;
  10883. r = ((glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexed")) == NULL) || r;
  10884. r = ((glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_v")) == NULL) || r;
  10885. r = ((glGetFloati_v = (PFNGLGETFLOATI_VPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_v")) == NULL) || r;
  10886. r = ((glScissorArrayv = (PFNGLSCISSORARRAYVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayv")) == NULL) || r;
  10887. r = ((glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexed")) == NULL) || r;
  10888. r = ((glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedv")) == NULL) || r;
  10889. r = ((glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayv")) == NULL) || r;
  10890. r = ((glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedf")) == NULL) || r;
  10891. r = ((glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfv")) == NULL) || r;
  10892. return r;
  10893. }
  10894. #endif /* GL_ARB_viewport_array */
  10895. #ifdef GL_ARB_window_pos
  10896. static GLboolean _glewInit_GL_ARB_window_pos ()
  10897. {
  10898. GLboolean r = GL_FALSE;
  10899. r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
  10900. r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
  10901. r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
  10902. r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
  10903. r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
  10904. r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
  10905. r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
  10906. r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
  10907. r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
  10908. r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
  10909. r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
  10910. r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
  10911. r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
  10912. r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
  10913. r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
  10914. r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
  10915. return r;
  10916. }
  10917. #endif /* GL_ARB_window_pos */
  10918. #ifdef GL_ATI_draw_buffers
  10919. static GLboolean _glewInit_GL_ATI_draw_buffers ()
  10920. {
  10921. GLboolean r = GL_FALSE;
  10922. r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
  10923. return r;
  10924. }
  10925. #endif /* GL_ATI_draw_buffers */
  10926. #ifdef GL_ATI_element_array
  10927. static GLboolean _glewInit_GL_ATI_element_array ()
  10928. {
  10929. GLboolean r = GL_FALSE;
  10930. r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
  10931. r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
  10932. r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
  10933. return r;
  10934. }
  10935. #endif /* GL_ATI_element_array */
  10936. #ifdef GL_ATI_envmap_bumpmap
  10937. static GLboolean _glewInit_GL_ATI_envmap_bumpmap ()
  10938. {
  10939. GLboolean r = GL_FALSE;
  10940. r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
  10941. r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
  10942. r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
  10943. r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
  10944. return r;
  10945. }
  10946. #endif /* GL_ATI_envmap_bumpmap */
  10947. #ifdef GL_ATI_fragment_shader
  10948. static GLboolean _glewInit_GL_ATI_fragment_shader ()
  10949. {
  10950. GLboolean r = GL_FALSE;
  10951. r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
  10952. r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
  10953. r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
  10954. r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
  10955. r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
  10956. r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
  10957. r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
  10958. r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
  10959. r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
  10960. r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
  10961. r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
  10962. r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
  10963. r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
  10964. r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
  10965. return r;
  10966. }
  10967. #endif /* GL_ATI_fragment_shader */
  10968. #ifdef GL_ATI_map_object_buffer
  10969. static GLboolean _glewInit_GL_ATI_map_object_buffer ()
  10970. {
  10971. GLboolean r = GL_FALSE;
  10972. r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
  10973. r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
  10974. return r;
  10975. }
  10976. #endif /* GL_ATI_map_object_buffer */
  10977. #ifdef GL_ATI_pn_triangles
  10978. static GLboolean _glewInit_GL_ATI_pn_triangles ()
  10979. {
  10980. GLboolean r = GL_FALSE;
  10981. r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
  10982. r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
  10983. return r;
  10984. }
  10985. #endif /* GL_ATI_pn_triangles */
  10986. #ifdef GL_ATI_separate_stencil
  10987. static GLboolean _glewInit_GL_ATI_separate_stencil ()
  10988. {
  10989. GLboolean r = GL_FALSE;
  10990. r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
  10991. r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
  10992. return r;
  10993. }
  10994. #endif /* GL_ATI_separate_stencil */
  10995. #ifdef GL_ATI_vertex_array_object
  10996. static GLboolean _glewInit_GL_ATI_vertex_array_object ()
  10997. {
  10998. GLboolean r = GL_FALSE;
  10999. r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
  11000. r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
  11001. r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
  11002. r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
  11003. r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
  11004. r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
  11005. r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
  11006. r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
  11007. r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
  11008. r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
  11009. r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
  11010. r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
  11011. return r;
  11012. }
  11013. #endif /* GL_ATI_vertex_array_object */
  11014. #ifdef GL_ATI_vertex_attrib_array_object
  11015. static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object ()
  11016. {
  11017. GLboolean r = GL_FALSE;
  11018. r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
  11019. r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
  11020. r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
  11021. return r;
  11022. }
  11023. #endif /* GL_ATI_vertex_attrib_array_object */
  11024. #ifdef GL_ATI_vertex_streams
  11025. static GLboolean _glewInit_GL_ATI_vertex_streams ()
  11026. {
  11027. GLboolean r = GL_FALSE;
  11028. r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
  11029. r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
  11030. r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
  11031. r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
  11032. r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
  11033. r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
  11034. r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
  11035. r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
  11036. r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
  11037. r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
  11038. r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
  11039. r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
  11040. r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
  11041. r = ((glVertexStream1dATI = (PFNGLVERTEXSTREAM1DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dATI")) == NULL) || r;
  11042. r = ((glVertexStream1dvATI = (PFNGLVERTEXSTREAM1DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dvATI")) == NULL) || r;
  11043. r = ((glVertexStream1fATI = (PFNGLVERTEXSTREAM1FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fATI")) == NULL) || r;
  11044. r = ((glVertexStream1fvATI = (PFNGLVERTEXSTREAM1FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fvATI")) == NULL) || r;
  11045. r = ((glVertexStream1iATI = (PFNGLVERTEXSTREAM1IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1iATI")) == NULL) || r;
  11046. r = ((glVertexStream1ivATI = (PFNGLVERTEXSTREAM1IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1ivATI")) == NULL) || r;
  11047. r = ((glVertexStream1sATI = (PFNGLVERTEXSTREAM1SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1sATI")) == NULL) || r;
  11048. r = ((glVertexStream1svATI = (PFNGLVERTEXSTREAM1SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1svATI")) == NULL) || r;
  11049. r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
  11050. r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
  11051. r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
  11052. r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
  11053. r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
  11054. r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
  11055. r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
  11056. r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
  11057. r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
  11058. r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
  11059. r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
  11060. r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
  11061. r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
  11062. r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
  11063. r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
  11064. r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
  11065. r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
  11066. r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
  11067. r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
  11068. r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
  11069. r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
  11070. r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
  11071. r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
  11072. r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
  11073. return r;
  11074. }
  11075. #endif /* GL_ATI_vertex_streams */
  11076. #ifdef GL_EXT_base_instance
  11077. static GLboolean _glewInit_GL_EXT_base_instance ()
  11078. {
  11079. GLboolean r = GL_FALSE;
  11080. r = ((glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstanceEXT")) == NULL) || r;
  11081. r = ((glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstanceEXT")) == NULL) || r;
  11082. r = ((glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstanceEXT")) == NULL) || r;
  11083. return r;
  11084. }
  11085. #endif /* GL_EXT_base_instance */
  11086. #ifdef GL_EXT_bindable_uniform
  11087. static GLboolean _glewInit_GL_EXT_bindable_uniform ()
  11088. {
  11089. GLboolean r = GL_FALSE;
  11090. r = ((glGetUniformBufferSizeEXT = (PFNGLGETUNIFORMBUFFERSIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBufferSizeEXT")) == NULL) || r;
  11091. r = ((glGetUniformOffsetEXT = (PFNGLGETUNIFORMOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformOffsetEXT")) == NULL) || r;
  11092. r = ((glUniformBufferEXT = (PFNGLUNIFORMBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUniformBufferEXT")) == NULL) || r;
  11093. return r;
  11094. }
  11095. #endif /* GL_EXT_bindable_uniform */
  11096. #ifdef GL_EXT_blend_color
  11097. static GLboolean _glewInit_GL_EXT_blend_color ()
  11098. {
  11099. GLboolean r = GL_FALSE;
  11100. r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
  11101. return r;
  11102. }
  11103. #endif /* GL_EXT_blend_color */
  11104. #ifdef GL_EXT_blend_equation_separate
  11105. static GLboolean _glewInit_GL_EXT_blend_equation_separate ()
  11106. {
  11107. GLboolean r = GL_FALSE;
  11108. r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
  11109. return r;
  11110. }
  11111. #endif /* GL_EXT_blend_equation_separate */
  11112. #ifdef GL_EXT_blend_func_extended
  11113. static GLboolean _glewInit_GL_EXT_blend_func_extended ()
  11114. {
  11115. GLboolean r = GL_FALSE;
  11116. r = ((glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexedEXT")) == NULL) || r;
  11117. r = ((glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndexEXT")) == NULL) || r;
  11118. r = ((glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndexEXT")) == NULL) || r;
  11119. return r;
  11120. }
  11121. #endif /* GL_EXT_blend_func_extended */
  11122. #ifdef GL_EXT_blend_func_separate
  11123. static GLboolean _glewInit_GL_EXT_blend_func_separate ()
  11124. {
  11125. GLboolean r = GL_FALSE;
  11126. r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
  11127. return r;
  11128. }
  11129. #endif /* GL_EXT_blend_func_separate */
  11130. #ifdef GL_EXT_blend_minmax
  11131. static GLboolean _glewInit_GL_EXT_blend_minmax ()
  11132. {
  11133. GLboolean r = GL_FALSE;
  11134. r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
  11135. return r;
  11136. }
  11137. #endif /* GL_EXT_blend_minmax */
  11138. #ifdef GL_EXT_buffer_storage
  11139. static GLboolean _glewInit_GL_EXT_buffer_storage ()
  11140. {
  11141. GLboolean r = GL_FALSE;
  11142. r = ((glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageEXT")) == NULL) || r;
  11143. r = ((glNamedBufferStorageEXT = (PFNGLNAMEDBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageEXT")) == NULL) || r;
  11144. return r;
  11145. }
  11146. #endif /* GL_EXT_buffer_storage */
  11147. #ifdef GL_EXT_clear_texture
  11148. static GLboolean _glewInit_GL_EXT_clear_texture ()
  11149. {
  11150. GLboolean r = GL_FALSE;
  11151. r = ((glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glClearTexImageEXT")) == NULL) || r;
  11152. r = ((glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glClearTexSubImageEXT")) == NULL) || r;
  11153. return r;
  11154. }
  11155. #endif /* GL_EXT_clear_texture */
  11156. #ifdef GL_EXT_color_subtable
  11157. static GLboolean _glewInit_GL_EXT_color_subtable ()
  11158. {
  11159. GLboolean r = GL_FALSE;
  11160. r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
  11161. r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
  11162. return r;
  11163. }
  11164. #endif /* GL_EXT_color_subtable */
  11165. #ifdef GL_EXT_compiled_vertex_array
  11166. static GLboolean _glewInit_GL_EXT_compiled_vertex_array ()
  11167. {
  11168. GLboolean r = GL_FALSE;
  11169. r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
  11170. r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
  11171. return r;
  11172. }
  11173. #endif /* GL_EXT_compiled_vertex_array */
  11174. #ifdef GL_EXT_convolution
  11175. static GLboolean _glewInit_GL_EXT_convolution ()
  11176. {
  11177. GLboolean r = GL_FALSE;
  11178. r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
  11179. r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
  11180. r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
  11181. r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
  11182. r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
  11183. r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
  11184. r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
  11185. r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
  11186. r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
  11187. r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
  11188. r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
  11189. r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
  11190. r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
  11191. return r;
  11192. }
  11193. #endif /* GL_EXT_convolution */
  11194. #ifdef GL_EXT_coordinate_frame
  11195. static GLboolean _glewInit_GL_EXT_coordinate_frame ()
  11196. {
  11197. GLboolean r = GL_FALSE;
  11198. r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
  11199. r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
  11200. return r;
  11201. }
  11202. #endif /* GL_EXT_coordinate_frame */
  11203. #ifdef GL_EXT_copy_image
  11204. static GLboolean _glewInit_GL_EXT_copy_image ()
  11205. {
  11206. GLboolean r = GL_FALSE;
  11207. r = ((glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataEXT")) == NULL) || r;
  11208. return r;
  11209. }
  11210. #endif /* GL_EXT_copy_image */
  11211. #ifdef GL_EXT_copy_texture
  11212. static GLboolean _glewInit_GL_EXT_copy_texture ()
  11213. {
  11214. GLboolean r = GL_FALSE;
  11215. r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
  11216. r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
  11217. r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
  11218. r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
  11219. r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
  11220. return r;
  11221. }
  11222. #endif /* GL_EXT_copy_texture */
  11223. #ifdef GL_EXT_cull_vertex
  11224. static GLboolean _glewInit_GL_EXT_cull_vertex ()
  11225. {
  11226. GLboolean r = GL_FALSE;
  11227. r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
  11228. r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
  11229. return r;
  11230. }
  11231. #endif /* GL_EXT_cull_vertex */
  11232. #ifdef GL_EXT_debug_label
  11233. static GLboolean _glewInit_GL_EXT_debug_label ()
  11234. {
  11235. GLboolean r = GL_FALSE;
  11236. r = ((glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabelEXT")) == NULL) || r;
  11237. r = ((glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)glewGetProcAddress((const GLubyte*)"glLabelObjectEXT")) == NULL) || r;
  11238. return r;
  11239. }
  11240. #endif /* GL_EXT_debug_label */
  11241. #ifdef GL_EXT_debug_marker
  11242. static GLboolean _glewInit_GL_EXT_debug_marker ()
  11243. {
  11244. GLboolean r = GL_FALSE;
  11245. r = ((glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glInsertEventMarkerEXT")) == NULL) || r;
  11246. r = ((glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPopGroupMarkerEXT")) == NULL) || r;
  11247. r = ((glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPushGroupMarkerEXT")) == NULL) || r;
  11248. return r;
  11249. }
  11250. #endif /* GL_EXT_debug_marker */
  11251. #ifdef GL_EXT_depth_bounds_test
  11252. static GLboolean _glewInit_GL_EXT_depth_bounds_test ()
  11253. {
  11254. GLboolean r = GL_FALSE;
  11255. r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
  11256. return r;
  11257. }
  11258. #endif /* GL_EXT_depth_bounds_test */
  11259. #ifdef GL_EXT_direct_state_access
  11260. static GLboolean _glewInit_GL_EXT_direct_state_access ()
  11261. {
  11262. GLboolean r = GL_FALSE;
  11263. r = ((glBindMultiTextureEXT = (PFNGLBINDMULTITEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindMultiTextureEXT")) == NULL) || r;
  11264. r = ((glCheckNamedFramebufferStatusEXT = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatusEXT")) == NULL) || r;
  11265. r = ((glClientAttribDefaultEXT = (PFNGLCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glClientAttribDefaultEXT")) == NULL) || r;
  11266. r = ((glCompressedMultiTexImage1DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage1DEXT")) == NULL) || r;
  11267. r = ((glCompressedMultiTexImage2DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage2DEXT")) == NULL) || r;
  11268. r = ((glCompressedMultiTexImage3DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage3DEXT")) == NULL) || r;
  11269. r = ((glCompressedMultiTexSubImage1DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage1DEXT")) == NULL) || r;
  11270. r = ((glCompressedMultiTexSubImage2DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage2DEXT")) == NULL) || r;
  11271. r = ((glCompressedMultiTexSubImage3DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage3DEXT")) == NULL) || r;
  11272. r = ((glCompressedTextureImage1DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage1DEXT")) == NULL) || r;
  11273. r = ((glCompressedTextureImage2DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage2DEXT")) == NULL) || r;
  11274. r = ((glCompressedTextureImage3DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage3DEXT")) == NULL) || r;
  11275. r = ((glCompressedTextureSubImage1DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1DEXT")) == NULL) || r;
  11276. r = ((glCompressedTextureSubImage2DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2DEXT")) == NULL) || r;
  11277. r = ((glCompressedTextureSubImage3DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3DEXT")) == NULL) || r;
  11278. r = ((glCopyMultiTexImage1DEXT = (PFNGLCOPYMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage1DEXT")) == NULL) || r;
  11279. r = ((glCopyMultiTexImage2DEXT = (PFNGLCOPYMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage2DEXT")) == NULL) || r;
  11280. r = ((glCopyMultiTexSubImage1DEXT = (PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage1DEXT")) == NULL) || r;
  11281. r = ((glCopyMultiTexSubImage2DEXT = (PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage2DEXT")) == NULL) || r;
  11282. r = ((glCopyMultiTexSubImage3DEXT = (PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage3DEXT")) == NULL) || r;
  11283. r = ((glCopyTextureImage1DEXT = (PFNGLCOPYTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage1DEXT")) == NULL) || r;
  11284. r = ((glCopyTextureImage2DEXT = (PFNGLCOPYTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage2DEXT")) == NULL) || r;
  11285. r = ((glCopyTextureSubImage1DEXT = (PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1DEXT")) == NULL) || r;
  11286. r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;
  11287. r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;
  11288. r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;
  11289. r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r;
  11290. r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r;
  11291. r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r;
  11292. r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;
  11293. r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r;
  11294. r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r;
  11295. r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r;
  11296. r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r;
  11297. r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;
  11298. r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;
  11299. r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;
  11300. r = ((glGenerateMultiTexMipmapEXT = (PFNGLGENERATEMULTITEXMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMultiTexMipmapEXT")) == NULL) || r;
  11301. r = ((glGenerateTextureMipmapEXT = (PFNGLGENERATETEXTUREMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmapEXT")) == NULL) || r;
  11302. r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;
  11303. r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;
  11304. r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;
  11305. r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r;
  11306. r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;
  11307. r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r;
  11308. r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;
  11309. r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;
  11310. r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;
  11311. r = ((glGetMultiTexGendvEXT = (PFNGLGETMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGendvEXT")) == NULL) || r;
  11312. r = ((glGetMultiTexGenfvEXT = (PFNGLGETMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenfvEXT")) == NULL) || r;
  11313. r = ((glGetMultiTexGenivEXT = (PFNGLGETMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenivEXT")) == NULL) || r;
  11314. r = ((glGetMultiTexImageEXT = (PFNGLGETMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexImageEXT")) == NULL) || r;
  11315. r = ((glGetMultiTexLevelParameterfvEXT = (PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterfvEXT")) == NULL) || r;
  11316. r = ((glGetMultiTexLevelParameterivEXT = (PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterivEXT")) == NULL) || r;
  11317. r = ((glGetMultiTexParameterIivEXT = (PFNGLGETMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIivEXT")) == NULL) || r;
  11318. r = ((glGetMultiTexParameterIuivEXT = (PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIuivEXT")) == NULL) || r;
  11319. r = ((glGetMultiTexParameterfvEXT = (PFNGLGETMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterfvEXT")) == NULL) || r;
  11320. r = ((glGetMultiTexParameterivEXT = (PFNGLGETMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterivEXT")) == NULL) || r;
  11321. r = ((glGetNamedBufferParameterivEXT = (PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterivEXT")) == NULL) || r;
  11322. r = ((glGetNamedBufferPointervEXT = (PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointervEXT")) == NULL) || r;
  11323. r = ((glGetNamedBufferSubDataEXT = (PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubDataEXT")) == NULL) || r;
  11324. r = ((glGetNamedFramebufferAttachmentParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameterivEXT")) == NULL) || r;
  11325. r = ((glGetNamedProgramLocalParameterIivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIivEXT")) == NULL) || r;
  11326. r = ((glGetNamedProgramLocalParameterIuivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIuivEXT")) == NULL) || r;
  11327. r = ((glGetNamedProgramLocalParameterdvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterdvEXT")) == NULL) || r;
  11328. r = ((glGetNamedProgramLocalParameterfvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterfvEXT")) == NULL) || r;
  11329. r = ((glGetNamedProgramStringEXT = (PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramStringEXT")) == NULL) || r;
  11330. r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;
  11331. r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;
  11332. r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;
  11333. r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r;
  11334. r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;
  11335. r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;
  11336. r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;
  11337. r = ((glGetTextureParameterIivEXT = (PFNGLGETTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIivEXT")) == NULL) || r;
  11338. r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;
  11339. r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;
  11340. r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;
  11341. r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r;
  11342. r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r;
  11343. r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r;
  11344. r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r;
  11345. r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;
  11346. r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r;
  11347. r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;
  11348. r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;
  11349. r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;
  11350. r = ((glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposefEXT")) == NULL) || r;
  11351. r = ((glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoaddEXT")) == NULL) || r;
  11352. r = ((glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadfEXT")) == NULL) || r;
  11353. r = ((glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposedEXT")) == NULL) || r;
  11354. r = ((glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposefEXT")) == NULL) || r;
  11355. r = ((glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultdEXT")) == NULL) || r;
  11356. r = ((glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultfEXT")) == NULL) || r;
  11357. r = ((glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixOrthoEXT")) == NULL) || r;
  11358. r = ((glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPopEXT")) == NULL) || r;
  11359. r = ((glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPushEXT")) == NULL) || r;
  11360. r = ((glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatedEXT")) == NULL) || r;
  11361. r = ((glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatefEXT")) == NULL) || r;
  11362. r = ((glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScaledEXT")) == NULL) || r;
  11363. r = ((glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScalefEXT")) == NULL) || r;
  11364. r = ((glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatedEXT")) == NULL) || r;
  11365. r = ((glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatefEXT")) == NULL) || r;
  11366. r = ((glMultiTexBufferEXT = (PFNGLMULTITEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexBufferEXT")) == NULL) || r;
  11367. r = ((glMultiTexCoordPointerEXT = (PFNGLMULTITEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordPointerEXT")) == NULL) || r;
  11368. r = ((glMultiTexEnvfEXT = (PFNGLMULTITEXENVFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfEXT")) == NULL) || r;
  11369. r = ((glMultiTexEnvfvEXT = (PFNGLMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfvEXT")) == NULL) || r;
  11370. r = ((glMultiTexEnviEXT = (PFNGLMULTITEXENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnviEXT")) == NULL) || r;
  11371. r = ((glMultiTexEnvivEXT = (PFNGLMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvivEXT")) == NULL) || r;
  11372. r = ((glMultiTexGendEXT = (PFNGLMULTITEXGENDEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendEXT")) == NULL) || r;
  11373. r = ((glMultiTexGendvEXT = (PFNGLMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendvEXT")) == NULL) || r;
  11374. r = ((glMultiTexGenfEXT = (PFNGLMULTITEXGENFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfEXT")) == NULL) || r;
  11375. r = ((glMultiTexGenfvEXT = (PFNGLMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfvEXT")) == NULL) || r;
  11376. r = ((glMultiTexGeniEXT = (PFNGLMULTITEXGENIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGeniEXT")) == NULL) || r;
  11377. r = ((glMultiTexGenivEXT = (PFNGLMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenivEXT")) == NULL) || r;
  11378. r = ((glMultiTexImage1DEXT = (PFNGLMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage1DEXT")) == NULL) || r;
  11379. r = ((glMultiTexImage2DEXT = (PFNGLMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage2DEXT")) == NULL) || r;
  11380. r = ((glMultiTexImage3DEXT = (PFNGLMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage3DEXT")) == NULL) || r;
  11381. r = ((glMultiTexParameterIivEXT = (PFNGLMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIivEXT")) == NULL) || r;
  11382. r = ((glMultiTexParameterIuivEXT = (PFNGLMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIuivEXT")) == NULL) || r;
  11383. r = ((glMultiTexParameterfEXT = (PFNGLMULTITEXPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfEXT")) == NULL) || r;
  11384. r = ((glMultiTexParameterfvEXT = (PFNGLMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfvEXT")) == NULL) || r;
  11385. r = ((glMultiTexParameteriEXT = (PFNGLMULTITEXPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameteriEXT")) == NULL) || r;
  11386. r = ((glMultiTexParameterivEXT = (PFNGLMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterivEXT")) == NULL) || r;
  11387. r = ((glMultiTexRenderbufferEXT = (PFNGLMULTITEXRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexRenderbufferEXT")) == NULL) || r;
  11388. r = ((glMultiTexSubImage1DEXT = (PFNGLMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage1DEXT")) == NULL) || r;
  11389. r = ((glMultiTexSubImage2DEXT = (PFNGLMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage2DEXT")) == NULL) || r;
  11390. r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;
  11391. r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;
  11392. r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;
  11393. r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r;
  11394. r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;
  11395. r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;
  11396. r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;
  11397. r = ((glNamedFramebufferTexture3DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture3DEXT")) == NULL) || r;
  11398. r = ((glNamedFramebufferTextureEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureEXT")) == NULL) || r;
  11399. r = ((glNamedFramebufferTextureFaceEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureFaceEXT")) == NULL) || r;
  11400. r = ((glNamedFramebufferTextureLayerEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayerEXT")) == NULL) || r;
  11401. r = ((glNamedProgramLocalParameter4dEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dEXT")) == NULL) || r;
  11402. r = ((glNamedProgramLocalParameter4dvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dvEXT")) == NULL) || r;
  11403. r = ((glNamedProgramLocalParameter4fEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fEXT")) == NULL) || r;
  11404. r = ((glNamedProgramLocalParameter4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fvEXT")) == NULL) || r;
  11405. r = ((glNamedProgramLocalParameterI4iEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4iEXT")) == NULL) || r;
  11406. r = ((glNamedProgramLocalParameterI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4ivEXT")) == NULL) || r;
  11407. r = ((glNamedProgramLocalParameterI4uiEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uiEXT")) == NULL) || r;
  11408. r = ((glNamedProgramLocalParameterI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uivEXT")) == NULL) || r;
  11409. r = ((glNamedProgramLocalParameters4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameters4fvEXT")) == NULL) || r;
  11410. r = ((glNamedProgramLocalParametersI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4ivEXT")) == NULL) || r;
  11411. r = ((glNamedProgramLocalParametersI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4uivEXT")) == NULL) || r;
  11412. r = ((glNamedProgramStringEXT = (PFNGLNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramStringEXT")) == NULL) || r;
  11413. r = ((glNamedRenderbufferStorageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageEXT")) == NULL) || r;
  11414. r = ((glNamedRenderbufferStorageMultisampleCoverageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleCoverageEXT")) == NULL) || r;
  11415. r = ((glNamedRenderbufferStorageMultisampleEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleEXT")) == NULL) || r;
  11416. r = ((glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fEXT")) == NULL) || r;
  11417. r = ((glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fvEXT")) == NULL) || r;
  11418. r = ((glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iEXT")) == NULL) || r;
  11419. r = ((glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ivEXT")) == NULL) || r;
  11420. r = ((glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiEXT")) == NULL) || r;
  11421. r = ((glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uivEXT")) == NULL) || r;
  11422. r = ((glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fEXT")) == NULL) || r;
  11423. r = ((glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fvEXT")) == NULL) || r;
  11424. r = ((glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iEXT")) == NULL) || r;
  11425. r = ((glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ivEXT")) == NULL) || r;
  11426. r = ((glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiEXT")) == NULL) || r;
  11427. r = ((glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uivEXT")) == NULL) || r;
  11428. r = ((glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fEXT")) == NULL) || r;
  11429. r = ((glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fvEXT")) == NULL) || r;
  11430. r = ((glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iEXT")) == NULL) || r;
  11431. r = ((glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ivEXT")) == NULL) || r;
  11432. r = ((glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiEXT")) == NULL) || r;
  11433. r = ((glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uivEXT")) == NULL) || r;
  11434. r = ((glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fEXT")) == NULL) || r;
  11435. r = ((glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fvEXT")) == NULL) || r;
  11436. r = ((glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iEXT")) == NULL) || r;
  11437. r = ((glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ivEXT")) == NULL) || r;
  11438. r = ((glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiEXT")) == NULL) || r;
  11439. r = ((glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uivEXT")) == NULL) || r;
  11440. r = ((glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fvEXT")) == NULL) || r;
  11441. r = ((glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fvEXT")) == NULL) || r;
  11442. r = ((glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fvEXT")) == NULL) || r;
  11443. r = ((glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fvEXT")) == NULL) || r;
  11444. r = ((glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fvEXT")) == NULL) || r;
  11445. r = ((glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fvEXT")) == NULL) || r;
  11446. r = ((glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fvEXT")) == NULL) || r;
  11447. r = ((glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fvEXT")) == NULL) || r;
  11448. r = ((glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fvEXT")) == NULL) || r;
  11449. r = ((glPushClientAttribDefaultEXT = (PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glPushClientAttribDefaultEXT")) == NULL) || r;
  11450. r = ((glTextureBufferEXT = (PFNGLTEXTUREBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferEXT")) == NULL) || r;
  11451. r = ((glTextureImage1DEXT = (PFNGLTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage1DEXT")) == NULL) || r;
  11452. r = ((glTextureImage2DEXT = (PFNGLTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DEXT")) == NULL) || r;
  11453. r = ((glTextureImage3DEXT = (PFNGLTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DEXT")) == NULL) || r;
  11454. r = ((glTextureParameterIivEXT = (PFNGLTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIivEXT")) == NULL) || r;
  11455. r = ((glTextureParameterIuivEXT = (PFNGLTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuivEXT")) == NULL) || r;
  11456. r = ((glTextureParameterfEXT = (PFNGLTEXTUREPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfEXT")) == NULL) || r;
  11457. r = ((glTextureParameterfvEXT = (PFNGLTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfvEXT")) == NULL) || r;
  11458. r = ((glTextureParameteriEXT = (PFNGLTEXTUREPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriEXT")) == NULL) || r;
  11459. r = ((glTextureParameterivEXT = (PFNGLTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterivEXT")) == NULL) || r;
  11460. r = ((glTextureRenderbufferEXT = (PFNGLTEXTURERENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureRenderbufferEXT")) == NULL) || r;
  11461. r = ((glTextureSubImage1DEXT = (PFNGLTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1DEXT")) == NULL) || r;
  11462. r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;
  11463. r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;
  11464. r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;
  11465. r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r;
  11466. r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r;
  11467. r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r;
  11468. r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r;
  11469. r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r;
  11470. r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r;
  11471. r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r;
  11472. r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r;
  11473. r = ((glVertexArrayVertexAttribDivisorEXT = (PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribDivisorEXT")) == NULL) || r;
  11474. r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r;
  11475. r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r;
  11476. r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r;
  11477. return r;
  11478. }
  11479. #endif /* GL_EXT_direct_state_access */
  11480. #ifdef GL_EXT_discard_framebuffer
  11481. static GLboolean _glewInit_GL_EXT_discard_framebuffer ()
  11482. {
  11483. GLboolean r = GL_FALSE;
  11484. r = ((glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glDiscardFramebufferEXT")) == NULL) || r;
  11485. return r;
  11486. }
  11487. #endif /* GL_EXT_discard_framebuffer */
  11488. #ifdef GL_EXT_draw_buffers
  11489. static GLboolean _glewInit_GL_EXT_draw_buffers ()
  11490. {
  11491. GLboolean r = GL_FALSE;
  11492. r = ((glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersEXT")) == NULL) || r;
  11493. return r;
  11494. }
  11495. #endif /* GL_EXT_draw_buffers */
  11496. #ifdef GL_EXT_draw_buffers2
  11497. static GLboolean _glewInit_GL_EXT_draw_buffers2 ()
  11498. {
  11499. GLboolean r = GL_FALSE;
  11500. r = ((glColorMaskIndexedEXT = (PFNGLCOLORMASKINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskIndexedEXT")) == NULL) || r;
  11501. r = ((glDisableIndexedEXT = (PFNGLDISABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableIndexedEXT")) == NULL) || r;
  11502. r = ((glEnableIndexedEXT = (PFNGLENABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableIndexedEXT")) == NULL) || r;
  11503. r = ((glGetBooleanIndexedvEXT = (PFNGLGETBOOLEANINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetBooleanIndexedvEXT")) == NULL) || r;
  11504. r = ((glGetIntegerIndexedvEXT = (PFNGLGETINTEGERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerIndexedvEXT")) == NULL) || r;
  11505. r = ((glIsEnabledIndexedEXT = (PFNGLISENABLEDINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledIndexedEXT")) == NULL) || r;
  11506. return r;
  11507. }
  11508. #endif /* GL_EXT_draw_buffers2 */
  11509. #ifdef GL_EXT_draw_buffers_indexed
  11510. static GLboolean _glewInit_GL_EXT_draw_buffers_indexed ()
  11511. {
  11512. GLboolean r = GL_FALSE;
  11513. r = ((glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiEXT")) == NULL) || r;
  11514. r = ((glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiEXT")) == NULL) || r;
  11515. r = ((glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiEXT")) == NULL) || r;
  11516. r = ((glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciEXT")) == NULL) || r;
  11517. r = ((glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskiEXT")) == NULL) || r;
  11518. r = ((glDisableiEXT = (PFNGLDISABLEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableiEXT")) == NULL) || r;
  11519. r = ((glEnableiEXT = (PFNGLENABLEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableiEXT")) == NULL) || r;
  11520. r = ((glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnablediEXT")) == NULL) || r;
  11521. return r;
  11522. }
  11523. #endif /* GL_EXT_draw_buffers_indexed */
  11524. #ifdef GL_EXT_draw_elements_base_vertex
  11525. static GLboolean _glewInit_GL_EXT_draw_elements_base_vertex ()
  11526. {
  11527. GLboolean r = GL_FALSE;
  11528. r = ((glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertexEXT")) == NULL) || r;
  11529. r = ((glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexEXT")) == NULL) || r;
  11530. r = ((glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertexEXT")) == NULL) || r;
  11531. r = ((glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertexEXT")) == NULL) || r;
  11532. return r;
  11533. }
  11534. #endif /* GL_EXT_draw_elements_base_vertex */
  11535. #ifdef GL_EXT_draw_instanced
  11536. static GLboolean _glewInit_GL_EXT_draw_instanced ()
  11537. {
  11538. GLboolean r = GL_FALSE;
  11539. r = ((glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedEXT")) == NULL) || r;
  11540. r = ((glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedEXT")) == NULL) || r;
  11541. return r;
  11542. }
  11543. #endif /* GL_EXT_draw_instanced */
  11544. #ifdef GL_EXT_draw_range_elements
  11545. static GLboolean _glewInit_GL_EXT_draw_range_elements ()
  11546. {
  11547. GLboolean r = GL_FALSE;
  11548. r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
  11549. return r;
  11550. }
  11551. #endif /* GL_EXT_draw_range_elements */
  11552. #ifdef GL_EXT_external_buffer
  11553. static GLboolean _glewInit_GL_EXT_external_buffer ()
  11554. {
  11555. GLboolean r = GL_FALSE;
  11556. r = ((glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageExternalEXT")) == NULL) || r;
  11557. r = ((glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageExternalEXT")) == NULL) || r;
  11558. return r;
  11559. }
  11560. #endif /* GL_EXT_external_buffer */
  11561. #ifdef GL_EXT_fog_coord
  11562. static GLboolean _glewInit_GL_EXT_fog_coord ()
  11563. {
  11564. GLboolean r = GL_FALSE;
  11565. r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
  11566. r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
  11567. r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
  11568. r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
  11569. r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
  11570. return r;
  11571. }
  11572. #endif /* GL_EXT_fog_coord */
  11573. #ifdef GL_EXT_fragment_lighting
  11574. static GLboolean _glewInit_GL_EXT_fragment_lighting ()
  11575. {
  11576. GLboolean r = GL_FALSE;
  11577. r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
  11578. r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
  11579. r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
  11580. r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
  11581. r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
  11582. r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
  11583. r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
  11584. r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
  11585. r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
  11586. r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
  11587. r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
  11588. r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
  11589. r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
  11590. r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
  11591. r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
  11592. r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
  11593. r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
  11594. r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
  11595. return r;
  11596. }
  11597. #endif /* GL_EXT_fragment_lighting */
  11598. #ifdef GL_EXT_framebuffer_blit
  11599. static GLboolean _glewInit_GL_EXT_framebuffer_blit ()
  11600. {
  11601. GLboolean r = GL_FALSE;
  11602. r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
  11603. return r;
  11604. }
  11605. #endif /* GL_EXT_framebuffer_blit */
  11606. #ifdef GL_EXT_framebuffer_multisample
  11607. static GLboolean _glewInit_GL_EXT_framebuffer_multisample ()
  11608. {
  11609. GLboolean r = GL_FALSE;
  11610. r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
  11611. return r;
  11612. }
  11613. #endif /* GL_EXT_framebuffer_multisample */
  11614. #ifdef GL_EXT_framebuffer_object
  11615. static GLboolean _glewInit_GL_EXT_framebuffer_object ()
  11616. {
  11617. GLboolean r = GL_FALSE;
  11618. r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
  11619. r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
  11620. r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
  11621. r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
  11622. r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
  11623. r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
  11624. r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
  11625. r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
  11626. r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
  11627. r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
  11628. r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
  11629. r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
  11630. r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
  11631. r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
  11632. r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
  11633. r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
  11634. r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
  11635. return r;
  11636. }
  11637. #endif /* GL_EXT_framebuffer_object */
  11638. #ifdef GL_EXT_geometry_shader4
  11639. static GLboolean _glewInit_GL_EXT_geometry_shader4 ()
  11640. {
  11641. GLboolean r = GL_FALSE;
  11642. r = ((glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureEXT")) == NULL) || r;
  11643. r = ((glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceEXT")) == NULL) || r;
  11644. r = ((glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriEXT")) == NULL) || r;
  11645. return r;
  11646. }
  11647. #endif /* GL_EXT_geometry_shader4 */
  11648. #ifdef GL_EXT_gpu_program_parameters
  11649. static GLboolean _glewInit_GL_EXT_gpu_program_parameters ()
  11650. {
  11651. GLboolean r = GL_FALSE;
  11652. r = ((glProgramEnvParameters4fvEXT = (PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameters4fvEXT")) == NULL) || r;
  11653. r = ((glProgramLocalParameters4fvEXT = (PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameters4fvEXT")) == NULL) || r;
  11654. return r;
  11655. }
  11656. #endif /* GL_EXT_gpu_program_parameters */
  11657. #ifdef GL_EXT_gpu_shader4
  11658. static GLboolean _glewInit_GL_EXT_gpu_shader4 ()
  11659. {
  11660. GLboolean r = GL_FALSE;
  11661. r = ((glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationEXT")) == NULL) || r;
  11662. r = ((glGetFragDataLocationEXT = (PFNGLGETFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocationEXT")) == NULL) || r;
  11663. r = ((glGetUniformuivEXT = (PFNGLGETUNIFORMUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuivEXT")) == NULL) || r;
  11664. r = ((glGetVertexAttribIivEXT = (PFNGLGETVERTEXATTRIBIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIivEXT")) == NULL) || r;
  11665. r = ((glGetVertexAttribIuivEXT = (PFNGLGETVERTEXATTRIBIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuivEXT")) == NULL) || r;
  11666. r = ((glUniform1uiEXT = (PFNGLUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiEXT")) == NULL) || r;
  11667. r = ((glUniform1uivEXT = (PFNGLUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uivEXT")) == NULL) || r;
  11668. r = ((glUniform2uiEXT = (PFNGLUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiEXT")) == NULL) || r;
  11669. r = ((glUniform2uivEXT = (PFNGLUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uivEXT")) == NULL) || r;
  11670. r = ((glUniform3uiEXT = (PFNGLUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiEXT")) == NULL) || r;
  11671. r = ((glUniform3uivEXT = (PFNGLUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uivEXT")) == NULL) || r;
  11672. r = ((glUniform4uiEXT = (PFNGLUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiEXT")) == NULL) || r;
  11673. r = ((glUniform4uivEXT = (PFNGLUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uivEXT")) == NULL) || r;
  11674. r = ((glVertexAttribI1iEXT = (PFNGLVERTEXATTRIBI1IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iEXT")) == NULL) || r;
  11675. r = ((glVertexAttribI1ivEXT = (PFNGLVERTEXATTRIBI1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ivEXT")) == NULL) || r;
  11676. r = ((glVertexAttribI1uiEXT = (PFNGLVERTEXATTRIBI1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiEXT")) == NULL) || r;
  11677. r = ((glVertexAttribI1uivEXT = (PFNGLVERTEXATTRIBI1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uivEXT")) == NULL) || r;
  11678. r = ((glVertexAttribI2iEXT = (PFNGLVERTEXATTRIBI2IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iEXT")) == NULL) || r;
  11679. r = ((glVertexAttribI2ivEXT = (PFNGLVERTEXATTRIBI2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ivEXT")) == NULL) || r;
  11680. r = ((glVertexAttribI2uiEXT = (PFNGLVERTEXATTRIBI2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiEXT")) == NULL) || r;
  11681. r = ((glVertexAttribI2uivEXT = (PFNGLVERTEXATTRIBI2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uivEXT")) == NULL) || r;
  11682. r = ((glVertexAttribI3iEXT = (PFNGLVERTEXATTRIBI3IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iEXT")) == NULL) || r;
  11683. r = ((glVertexAttribI3ivEXT = (PFNGLVERTEXATTRIBI3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ivEXT")) == NULL) || r;
  11684. r = ((glVertexAttribI3uiEXT = (PFNGLVERTEXATTRIBI3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiEXT")) == NULL) || r;
  11685. r = ((glVertexAttribI3uivEXT = (PFNGLVERTEXATTRIBI3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uivEXT")) == NULL) || r;
  11686. r = ((glVertexAttribI4bvEXT = (PFNGLVERTEXATTRIBI4BVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bvEXT")) == NULL) || r;
  11687. r = ((glVertexAttribI4iEXT = (PFNGLVERTEXATTRIBI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iEXT")) == NULL) || r;
  11688. r = ((glVertexAttribI4ivEXT = (PFNGLVERTEXATTRIBI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ivEXT")) == NULL) || r;
  11689. r = ((glVertexAttribI4svEXT = (PFNGLVERTEXATTRIBI4SVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4svEXT")) == NULL) || r;
  11690. r = ((glVertexAttribI4ubvEXT = (PFNGLVERTEXATTRIBI4UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubvEXT")) == NULL) || r;
  11691. r = ((glVertexAttribI4uiEXT = (PFNGLVERTEXATTRIBI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiEXT")) == NULL) || r;
  11692. r = ((glVertexAttribI4uivEXT = (PFNGLVERTEXATTRIBI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uivEXT")) == NULL) || r;
  11693. r = ((glVertexAttribI4usvEXT = (PFNGLVERTEXATTRIBI4USVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usvEXT")) == NULL) || r;
  11694. r = ((glVertexAttribIPointerEXT = (PFNGLVERTEXATTRIBIPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointerEXT")) == NULL) || r;
  11695. return r;
  11696. }
  11697. #endif /* GL_EXT_gpu_shader4 */
  11698. #ifdef GL_EXT_histogram
  11699. static GLboolean _glewInit_GL_EXT_histogram ()
  11700. {
  11701. GLboolean r = GL_FALSE;
  11702. r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
  11703. r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
  11704. r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
  11705. r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
  11706. r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
  11707. r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
  11708. r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
  11709. r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
  11710. r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
  11711. r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
  11712. return r;
  11713. }
  11714. #endif /* GL_EXT_histogram */
  11715. #ifdef GL_EXT_index_func
  11716. static GLboolean _glewInit_GL_EXT_index_func ()
  11717. {
  11718. GLboolean r = GL_FALSE;
  11719. r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
  11720. return r;
  11721. }
  11722. #endif /* GL_EXT_index_func */
  11723. #ifdef GL_EXT_index_material
  11724. static GLboolean _glewInit_GL_EXT_index_material ()
  11725. {
  11726. GLboolean r = GL_FALSE;
  11727. r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
  11728. return r;
  11729. }
  11730. #endif /* GL_EXT_index_material */
  11731. #ifdef GL_EXT_instanced_arrays
  11732. static GLboolean _glewInit_GL_EXT_instanced_arrays ()
  11733. {
  11734. GLboolean r = GL_FALSE;
  11735. r = ((glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorEXT")) == NULL) || r;
  11736. return r;
  11737. }
  11738. #endif /* GL_EXT_instanced_arrays */
  11739. #ifdef GL_EXT_light_texture
  11740. static GLboolean _glewInit_GL_EXT_light_texture ()
  11741. {
  11742. GLboolean r = GL_FALSE;
  11743. r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
  11744. r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
  11745. r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
  11746. return r;
  11747. }
  11748. #endif /* GL_EXT_light_texture */
  11749. #ifdef GL_EXT_map_buffer_range
  11750. static GLboolean _glewInit_GL_EXT_map_buffer_range ()
  11751. {
  11752. GLboolean r = GL_FALSE;
  11753. r = ((glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeEXT")) == NULL) || r;
  11754. r = ((glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRangeEXT")) == NULL) || r;
  11755. return r;
  11756. }
  11757. #endif /* GL_EXT_map_buffer_range */
  11758. #ifdef GL_EXT_memory_object
  11759. static GLboolean _glewInit_GL_EXT_memory_object ()
  11760. {
  11761. GLboolean r = GL_FALSE;
  11762. r = ((glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageMemEXT")) == NULL) || r;
  11763. r = ((glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateMemoryObjectsEXT")) == NULL) || r;
  11764. r = ((glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteMemoryObjectsEXT")) == NULL) || r;
  11765. r = ((glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMemoryObjectParameterivEXT")) == NULL) || r;
  11766. r = ((glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUnsignedBytei_vEXT")) == NULL) || r;
  11767. r = ((glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUnsignedBytevEXT")) == NULL) || r;
  11768. r = ((glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)glewGetProcAddress((const GLubyte*)"glIsMemoryObjectEXT")) == NULL) || r;
  11769. r = ((glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryObjectParameterivEXT")) == NULL) || r;
  11770. r = ((glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageMemEXT")) == NULL) || r;
  11771. r = ((glTexStorageMem1DEXT = (PFNGLTEXSTORAGEMEM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem1DEXT")) == NULL) || r;
  11772. r = ((glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem2DEXT")) == NULL) || r;
  11773. r = ((glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem2DMultisampleEXT")) == NULL) || r;
  11774. r = ((glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem3DEXT")) == NULL) || r;
  11775. r = ((glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem3DMultisampleEXT")) == NULL) || r;
  11776. r = ((glTextureStorageMem1DEXT = (PFNGLTEXTURESTORAGEMEM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem1DEXT")) == NULL) || r;
  11777. r = ((glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem2DEXT")) == NULL) || r;
  11778. r = ((glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem2DMultisampleEXT")) == NULL) || r;
  11779. r = ((glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem3DEXT")) == NULL) || r;
  11780. r = ((glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem3DMultisampleEXT")) == NULL) || r;
  11781. return r;
  11782. }
  11783. #endif /* GL_EXT_memory_object */
  11784. #ifdef GL_EXT_memory_object_fd
  11785. static GLboolean _glewInit_GL_EXT_memory_object_fd ()
  11786. {
  11787. GLboolean r = GL_FALSE;
  11788. r = ((glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryFdEXT")) == NULL) || r;
  11789. return r;
  11790. }
  11791. #endif /* GL_EXT_memory_object_fd */
  11792. #ifdef GL_EXT_memory_object_win32
  11793. static GLboolean _glewInit_GL_EXT_memory_object_win32 ()
  11794. {
  11795. GLboolean r = GL_FALSE;
  11796. r = ((glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryWin32HandleEXT")) == NULL) || r;
  11797. r = ((glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryWin32NameEXT")) == NULL) || r;
  11798. return r;
  11799. }
  11800. #endif /* GL_EXT_memory_object_win32 */
  11801. #ifdef GL_EXT_multi_draw_arrays
  11802. static GLboolean _glewInit_GL_EXT_multi_draw_arrays ()
  11803. {
  11804. GLboolean r = GL_FALSE;
  11805. r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
  11806. r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
  11807. return r;
  11808. }
  11809. #endif /* GL_EXT_multi_draw_arrays */
  11810. #ifdef GL_EXT_multi_draw_indirect
  11811. static GLboolean _glewInit_GL_EXT_multi_draw_indirect ()
  11812. {
  11813. GLboolean r = GL_FALSE;
  11814. r = ((glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectEXT")) == NULL) || r;
  11815. r = ((glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectEXT")) == NULL) || r;
  11816. return r;
  11817. }
  11818. #endif /* GL_EXT_multi_draw_indirect */
  11819. #ifdef GL_EXT_multisample
  11820. static GLboolean _glewInit_GL_EXT_multisample ()
  11821. {
  11822. GLboolean r = GL_FALSE;
  11823. r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
  11824. r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
  11825. return r;
  11826. }
  11827. #endif /* GL_EXT_multisample */
  11828. #ifdef GL_EXT_multisampled_render_to_texture
  11829. static GLboolean _glewInit_GL_EXT_multisampled_render_to_texture ()
  11830. {
  11831. GLboolean r = GL_FALSE;
  11832. r = ((glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DMultisampleEXT")) == NULL) || r;
  11833. return r;
  11834. }
  11835. #endif /* GL_EXT_multisampled_render_to_texture */
  11836. #ifdef GL_EXT_multiview_draw_buffers
  11837. static GLboolean _glewInit_GL_EXT_multiview_draw_buffers ()
  11838. {
  11839. GLboolean r = GL_FALSE;
  11840. r = ((glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersIndexedEXT")) == NULL) || r;
  11841. r = ((glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_vEXT")) == NULL) || r;
  11842. r = ((glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glReadBufferIndexedEXT")) == NULL) || r;
  11843. return r;
  11844. }
  11845. #endif /* GL_EXT_multiview_draw_buffers */
  11846. #ifdef GL_EXT_paletted_texture
  11847. static GLboolean _glewInit_GL_EXT_paletted_texture ()
  11848. {
  11849. GLboolean r = GL_FALSE;
  11850. r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
  11851. r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
  11852. r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
  11853. r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
  11854. return r;
  11855. }
  11856. #endif /* GL_EXT_paletted_texture */
  11857. #ifdef GL_EXT_pixel_transform
  11858. static GLboolean _glewInit_GL_EXT_pixel_transform ()
  11859. {
  11860. GLboolean r = GL_FALSE;
  11861. r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
  11862. r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
  11863. r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
  11864. r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
  11865. r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
  11866. r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
  11867. return r;
  11868. }
  11869. #endif /* GL_EXT_pixel_transform */
  11870. #ifdef GL_EXT_point_parameters
  11871. static GLboolean _glewInit_GL_EXT_point_parameters ()
  11872. {
  11873. GLboolean r = GL_FALSE;
  11874. r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
  11875. r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
  11876. return r;
  11877. }
  11878. #endif /* GL_EXT_point_parameters */
  11879. #ifdef GL_EXT_polygon_offset
  11880. static GLboolean _glewInit_GL_EXT_polygon_offset ()
  11881. {
  11882. GLboolean r = GL_FALSE;
  11883. r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
  11884. return r;
  11885. }
  11886. #endif /* GL_EXT_polygon_offset */
  11887. #ifdef GL_EXT_polygon_offset_clamp
  11888. static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ()
  11889. {
  11890. GLboolean r = GL_FALSE;
  11891. r = ((glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetClampEXT")) == NULL) || r;
  11892. return r;
  11893. }
  11894. #endif /* GL_EXT_polygon_offset_clamp */
  11895. #ifdef GL_EXT_provoking_vertex
  11896. static GLboolean _glewInit_GL_EXT_provoking_vertex ()
  11897. {
  11898. GLboolean r = GL_FALSE;
  11899. r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r;
  11900. return r;
  11901. }
  11902. #endif /* GL_EXT_provoking_vertex */
  11903. #ifdef GL_EXT_raster_multisample
  11904. static GLboolean _glewInit_GL_EXT_raster_multisample ()
  11905. {
  11906. GLboolean r = GL_FALSE;
  11907. r = ((glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)glewGetProcAddress((const GLubyte*)"glCoverageModulationNV")) == NULL) || r;
  11908. r = ((glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)glewGetProcAddress((const GLubyte*)"glCoverageModulationTableNV")) == NULL) || r;
  11909. r = ((glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)glewGetProcAddress((const GLubyte*)"glGetCoverageModulationTableNV")) == NULL) || r;
  11910. r = ((glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)glewGetProcAddress((const GLubyte*)"glRasterSamplesEXT")) == NULL) || r;
  11911. return r;
  11912. }
  11913. #endif /* GL_EXT_raster_multisample */
  11914. #ifdef GL_EXT_scene_marker
  11915. static GLboolean _glewInit_GL_EXT_scene_marker ()
  11916. {
  11917. GLboolean r = GL_FALSE;
  11918. r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
  11919. r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
  11920. return r;
  11921. }
  11922. #endif /* GL_EXT_scene_marker */
  11923. #ifdef GL_EXT_secondary_color
  11924. static GLboolean _glewInit_GL_EXT_secondary_color ()
  11925. {
  11926. GLboolean r = GL_FALSE;
  11927. r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
  11928. r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
  11929. r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
  11930. r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
  11931. r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
  11932. r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
  11933. r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
  11934. r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
  11935. r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
  11936. r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
  11937. r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
  11938. r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
  11939. r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
  11940. r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
  11941. r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
  11942. r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
  11943. r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
  11944. return r;
  11945. }
  11946. #endif /* GL_EXT_secondary_color */
  11947. #ifdef GL_EXT_semaphore
  11948. static GLboolean _glewInit_GL_EXT_semaphore ()
  11949. {
  11950. GLboolean r = GL_FALSE;
  11951. r = ((glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteSemaphoresEXT")) == NULL) || r;
  11952. r = ((glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSemaphoresEXT")) == NULL) || r;
  11953. r = ((glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetSemaphoreParameterui64vEXT")) == NULL) || r;
  11954. r = ((glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsSemaphoreEXT")) == NULL) || r;
  11955. r = ((glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glSemaphoreParameterui64vEXT")) == NULL) || r;
  11956. r = ((glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glSignalSemaphoreEXT")) == NULL) || r;
  11957. r = ((glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glWaitSemaphoreEXT")) == NULL) || r;
  11958. return r;
  11959. }
  11960. #endif /* GL_EXT_semaphore */
  11961. #ifdef GL_EXT_semaphore_fd
  11962. static GLboolean _glewInit_GL_EXT_semaphore_fd ()
  11963. {
  11964. GLboolean r = GL_FALSE;
  11965. r = ((glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreFdEXT")) == NULL) || r;
  11966. return r;
  11967. }
  11968. #endif /* GL_EXT_semaphore_fd */
  11969. #ifdef GL_EXT_semaphore_win32
  11970. static GLboolean _glewInit_GL_EXT_semaphore_win32 ()
  11971. {
  11972. GLboolean r = GL_FALSE;
  11973. r = ((glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreWin32HandleEXT")) == NULL) || r;
  11974. r = ((glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreWin32NameEXT")) == NULL) || r;
  11975. return r;
  11976. }
  11977. #endif /* GL_EXT_semaphore_win32 */
  11978. #ifdef GL_EXT_separate_shader_objects
  11979. static GLboolean _glewInit_GL_EXT_separate_shader_objects ()
  11980. {
  11981. GLboolean r = GL_FALSE;
  11982. r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r;
  11983. r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r;
  11984. r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r;
  11985. return r;
  11986. }
  11987. #endif /* GL_EXT_separate_shader_objects */
  11988. #ifdef GL_EXT_shader_image_load_store
  11989. static GLboolean _glewInit_GL_EXT_shader_image_load_store ()
  11990. {
  11991. GLboolean r = GL_FALSE;
  11992. r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r;
  11993. r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r;
  11994. return r;
  11995. }
  11996. #endif /* GL_EXT_shader_image_load_store */
  11997. #ifdef GL_EXT_shader_pixel_local_storage2
  11998. static GLboolean _glewInit_GL_EXT_shader_pixel_local_storage2 ()
  11999. {
  12000. GLboolean r = GL_FALSE;
  12001. r = ((glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearPixelLocalStorageuiEXT")) == NULL) || r;
  12002. r = ((glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferPixelLocalStorageSizeEXT")) == NULL) || r;
  12003. r = ((glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferPixelLocalStorageSizeEXT")) == NULL) || r;
  12004. return r;
  12005. }
  12006. #endif /* GL_EXT_shader_pixel_local_storage2 */
  12007. #ifdef GL_EXT_sparse_texture
  12008. static GLboolean _glewInit_GL_EXT_sparse_texture ()
  12009. {
  12010. GLboolean r = GL_FALSE;
  12011. r = ((glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glTexPageCommitmentEXT")) == NULL) || r;
  12012. r = ((glTexturePageCommitmentEXT = (PFNGLTEXTUREPAGECOMMITMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glTexturePageCommitmentEXT")) == NULL) || r;
  12013. return r;
  12014. }
  12015. #endif /* GL_EXT_sparse_texture */
  12016. #ifdef GL_EXT_stencil_two_side
  12017. static GLboolean _glewInit_GL_EXT_stencil_two_side ()
  12018. {
  12019. GLboolean r = GL_FALSE;
  12020. r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
  12021. return r;
  12022. }
  12023. #endif /* GL_EXT_stencil_two_side */
  12024. #ifdef GL_EXT_subtexture
  12025. static GLboolean _glewInit_GL_EXT_subtexture ()
  12026. {
  12027. GLboolean r = GL_FALSE;
  12028. r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
  12029. r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
  12030. r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
  12031. return r;
  12032. }
  12033. #endif /* GL_EXT_subtexture */
  12034. #ifdef GL_EXT_texture3D
  12035. static GLboolean _glewInit_GL_EXT_texture3D ()
  12036. {
  12037. GLboolean r = GL_FALSE;
  12038. r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
  12039. return r;
  12040. }
  12041. #endif /* GL_EXT_texture3D */
  12042. #ifdef GL_EXT_texture_array
  12043. static GLboolean _glewInit_GL_EXT_texture_array ()
  12044. {
  12045. GLboolean r = GL_FALSE;
  12046. r = ((glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerEXT")) == NULL) || r;
  12047. return r;
  12048. }
  12049. #endif /* GL_EXT_texture_array */
  12050. #ifdef GL_EXT_texture_buffer_object
  12051. static GLboolean _glewInit_GL_EXT_texture_buffer_object ()
  12052. {
  12053. GLboolean r = GL_FALSE;
  12054. r = ((glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexBufferEXT")) == NULL) || r;
  12055. return r;
  12056. }
  12057. #endif /* GL_EXT_texture_buffer_object */
  12058. #ifdef GL_EXT_texture_integer
  12059. static GLboolean _glewInit_GL_EXT_texture_integer ()
  12060. {
  12061. GLboolean r = GL_FALSE;
  12062. r = ((glClearColorIiEXT = (PFNGLCLEARCOLORIIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIiEXT")) == NULL) || r;
  12063. r = ((glClearColorIuiEXT = (PFNGLCLEARCOLORIUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIuiEXT")) == NULL) || r;
  12064. r = ((glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIivEXT")) == NULL) || r;
  12065. r = ((glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuivEXT")) == NULL) || r;
  12066. r = ((glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIivEXT")) == NULL) || r;
  12067. r = ((glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuivEXT")) == NULL) || r;
  12068. return r;
  12069. }
  12070. #endif /* GL_EXT_texture_integer */
  12071. #ifdef GL_EXT_texture_object
  12072. static GLboolean _glewInit_GL_EXT_texture_object ()
  12073. {
  12074. GLboolean r = GL_FALSE;
  12075. r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
  12076. r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
  12077. r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
  12078. r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
  12079. r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
  12080. r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
  12081. return r;
  12082. }
  12083. #endif /* GL_EXT_texture_object */
  12084. #ifdef GL_EXT_texture_perturb_normal
  12085. static GLboolean _glewInit_GL_EXT_texture_perturb_normal ()
  12086. {
  12087. GLboolean r = GL_FALSE;
  12088. r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
  12089. return r;
  12090. }
  12091. #endif /* GL_EXT_texture_perturb_normal */
  12092. #ifdef GL_EXT_texture_storage
  12093. static GLboolean _glewInit_GL_EXT_texture_storage ()
  12094. {
  12095. GLboolean r = GL_FALSE;
  12096. r = ((glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1DEXT")) == NULL) || r;
  12097. r = ((glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DEXT")) == NULL) || r;
  12098. r = ((glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DEXT")) == NULL) || r;
  12099. r = ((glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1DEXT")) == NULL) || r;
  12100. r = ((glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DEXT")) == NULL) || r;
  12101. r = ((glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DEXT")) == NULL) || r;
  12102. return r;
  12103. }
  12104. #endif /* GL_EXT_texture_storage */
  12105. #ifdef GL_EXT_texture_view
  12106. static GLboolean _glewInit_GL_EXT_texture_view ()
  12107. {
  12108. GLboolean r = GL_FALSE;
  12109. r = ((glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureViewEXT")) == NULL) || r;
  12110. return r;
  12111. }
  12112. #endif /* GL_EXT_texture_view */
  12113. #ifdef GL_EXT_timer_query
  12114. static GLboolean _glewInit_GL_EXT_timer_query ()
  12115. {
  12116. GLboolean r = GL_FALSE;
  12117. r = ((glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vEXT")) == NULL) || r;
  12118. r = ((glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vEXT")) == NULL) || r;
  12119. return r;
  12120. }
  12121. #endif /* GL_EXT_timer_query */
  12122. #ifdef GL_EXT_transform_feedback
  12123. static GLboolean _glewInit_GL_EXT_transform_feedback ()
  12124. {
  12125. GLboolean r = GL_FALSE;
  12126. r = ((glBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackEXT")) == NULL) || r;
  12127. r = ((glBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseEXT")) == NULL) || r;
  12128. r = ((glBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetEXT")) == NULL) || r;
  12129. r = ((glBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeEXT")) == NULL) || r;
  12130. r = ((glEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackEXT")) == NULL) || r;
  12131. r = ((glGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingEXT")) == NULL) || r;
  12132. r = ((glTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsEXT")) == NULL) || r;
  12133. return r;
  12134. }
  12135. #endif /* GL_EXT_transform_feedback */
  12136. #ifdef GL_EXT_vertex_array
  12137. static GLboolean _glewInit_GL_EXT_vertex_array ()
  12138. {
  12139. GLboolean r = GL_FALSE;
  12140. r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
  12141. r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
  12142. r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
  12143. r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
  12144. r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
  12145. r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
  12146. r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
  12147. r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
  12148. return r;
  12149. }
  12150. #endif /* GL_EXT_vertex_array */
  12151. #ifdef GL_EXT_vertex_array_setXXX
  12152. static GLboolean _glewInit_GL_EXT_vertex_array_setXXX ()
  12153. {
  12154. GLboolean r = GL_FALSE;
  12155. r = ((glBindArraySetEXT = (PFNGLBINDARRAYSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindArraySetEXT")) == NULL) || r;
  12156. r = ((glCreateArraySetExt = (PFNGLCREATEARRAYSETEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateArraySetExt")) == NULL) || r;
  12157. r = ((glDeleteArraySetsEXT = (PFNGLDELETEARRAYSETSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteArraySetsEXT")) == NULL) || r;
  12158. return r;
  12159. }
  12160. #endif /* GL_EXT_vertex_array_setXXX */
  12161. #ifdef GL_EXT_vertex_attrib_64bit
  12162. static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit ()
  12163. {
  12164. GLboolean r = GL_FALSE;
  12165. r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r;
  12166. r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r;
  12167. r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r;
  12168. r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r;
  12169. r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r;
  12170. r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r;
  12171. r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r;
  12172. r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r;
  12173. r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r;
  12174. r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r;
  12175. r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r;
  12176. return r;
  12177. }
  12178. #endif /* GL_EXT_vertex_attrib_64bit */
  12179. #ifdef GL_EXT_vertex_shader
  12180. static GLboolean _glewInit_GL_EXT_vertex_shader ()
  12181. {
  12182. GLboolean r = GL_FALSE;
  12183. r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
  12184. r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
  12185. r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
  12186. r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
  12187. r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
  12188. r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
  12189. r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
  12190. r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
  12191. r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
  12192. r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
  12193. r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
  12194. r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
  12195. r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
  12196. r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
  12197. r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
  12198. r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
  12199. r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
  12200. r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
  12201. r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
  12202. r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
  12203. r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
  12204. r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
  12205. r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
  12206. r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
  12207. r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
  12208. r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
  12209. r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
  12210. r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
  12211. r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
  12212. r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
  12213. r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
  12214. r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
  12215. r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
  12216. r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
  12217. r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
  12218. r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
  12219. r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
  12220. r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
  12221. r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
  12222. r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
  12223. r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
  12224. r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
  12225. return r;
  12226. }
  12227. #endif /* GL_EXT_vertex_shader */
  12228. #ifdef GL_EXT_vertex_weighting
  12229. static GLboolean _glewInit_GL_EXT_vertex_weighting ()
  12230. {
  12231. GLboolean r = GL_FALSE;
  12232. r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
  12233. r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
  12234. r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
  12235. return r;
  12236. }
  12237. #endif /* GL_EXT_vertex_weighting */
  12238. #ifdef GL_EXT_win32_keyed_mutex
  12239. static GLboolean _glewInit_GL_EXT_win32_keyed_mutex ()
  12240. {
  12241. GLboolean r = GL_FALSE;
  12242. r = ((glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)glewGetProcAddress((const GLubyte*)"glAcquireKeyedMutexWin32EXT")) == NULL) || r;
  12243. r = ((glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)glewGetProcAddress((const GLubyte*)"glReleaseKeyedMutexWin32EXT")) == NULL) || r;
  12244. return r;
  12245. }
  12246. #endif /* GL_EXT_win32_keyed_mutex */
  12247. #ifdef GL_EXT_window_rectangles
  12248. static GLboolean _glewInit_GL_EXT_window_rectangles ()
  12249. {
  12250. GLboolean r = GL_FALSE;
  12251. r = ((glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)glewGetProcAddress((const GLubyte*)"glWindowRectanglesEXT")) == NULL) || r;
  12252. return r;
  12253. }
  12254. #endif /* GL_EXT_window_rectangles */
  12255. #ifdef GL_EXT_x11_sync_object
  12256. static GLboolean _glewInit_GL_EXT_x11_sync_object ()
  12257. {
  12258. GLboolean r = GL_FALSE;
  12259. r = ((glImportSyncEXT = (PFNGLIMPORTSYNCEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSyncEXT")) == NULL) || r;
  12260. return r;
  12261. }
  12262. #endif /* GL_EXT_x11_sync_object */
  12263. #ifdef GL_GREMEDY_frame_terminator
  12264. static GLboolean _glewInit_GL_GREMEDY_frame_terminator ()
  12265. {
  12266. GLboolean r = GL_FALSE;
  12267. r = ((glFrameTerminatorGREMEDY = (PFNGLFRAMETERMINATORGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glFrameTerminatorGREMEDY")) == NULL) || r;
  12268. return r;
  12269. }
  12270. #endif /* GL_GREMEDY_frame_terminator */
  12271. #ifdef GL_GREMEDY_string_marker
  12272. static GLboolean _glewInit_GL_GREMEDY_string_marker ()
  12273. {
  12274. GLboolean r = GL_FALSE;
  12275. r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
  12276. return r;
  12277. }
  12278. #endif /* GL_GREMEDY_string_marker */
  12279. #ifdef GL_HP_image_transform
  12280. static GLboolean _glewInit_GL_HP_image_transform ()
  12281. {
  12282. GLboolean r = GL_FALSE;
  12283. r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
  12284. r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
  12285. r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
  12286. r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
  12287. r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
  12288. r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
  12289. return r;
  12290. }
  12291. #endif /* GL_HP_image_transform */
  12292. #ifdef GL_IBM_multimode_draw_arrays
  12293. static GLboolean _glewInit_GL_IBM_multimode_draw_arrays ()
  12294. {
  12295. GLboolean r = GL_FALSE;
  12296. r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
  12297. r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
  12298. return r;
  12299. }
  12300. #endif /* GL_IBM_multimode_draw_arrays */
  12301. #ifdef GL_IBM_vertex_array_lists
  12302. static GLboolean _glewInit_GL_IBM_vertex_array_lists ()
  12303. {
  12304. GLboolean r = GL_FALSE;
  12305. r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
  12306. r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
  12307. r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
  12308. r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
  12309. r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
  12310. r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
  12311. r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
  12312. r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
  12313. return r;
  12314. }
  12315. #endif /* GL_IBM_vertex_array_lists */
  12316. #ifdef GL_INTEL_map_texture
  12317. static GLboolean _glewInit_GL_INTEL_map_texture ()
  12318. {
  12319. GLboolean r = GL_FALSE;
  12320. r = ((glMapTexture2DINTEL = (PFNGLMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glMapTexture2DINTEL")) == NULL) || r;
  12321. r = ((glSyncTextureINTEL = (PFNGLSYNCTEXTUREINTELPROC)glewGetProcAddress((const GLubyte*)"glSyncTextureINTEL")) == NULL) || r;
  12322. r = ((glUnmapTexture2DINTEL = (PFNGLUNMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glUnmapTexture2DINTEL")) == NULL) || r;
  12323. return r;
  12324. }
  12325. #endif /* GL_INTEL_map_texture */
  12326. #ifdef GL_INTEL_parallel_arrays
  12327. static GLboolean _glewInit_GL_INTEL_parallel_arrays ()
  12328. {
  12329. GLboolean r = GL_FALSE;
  12330. r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r;
  12331. r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r;
  12332. r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r;
  12333. r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r;
  12334. return r;
  12335. }
  12336. #endif /* GL_INTEL_parallel_arrays */
  12337. #ifdef GL_INTEL_performance_query
  12338. static GLboolean _glewInit_GL_INTEL_performance_query ()
  12339. {
  12340. GLboolean r = GL_FALSE;
  12341. r = ((glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfQueryINTEL")) == NULL) || r;
  12342. r = ((glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glCreatePerfQueryINTEL")) == NULL) || r;
  12343. r = ((glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfQueryINTEL")) == NULL) || r;
  12344. r = ((glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glEndPerfQueryINTEL")) == NULL) || r;
  12345. r = ((glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)glewGetProcAddress((const GLubyte*)"glGetFirstPerfQueryIdINTEL")) == NULL) || r;
  12346. r = ((glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)glewGetProcAddress((const GLubyte*)"glGetNextPerfQueryIdINTEL")) == NULL) || r;
  12347. r = ((glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfCounterInfoINTEL")) == NULL) || r;
  12348. r = ((glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryDataINTEL")) == NULL) || r;
  12349. r = ((glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryIdByNameINTEL")) == NULL) || r;
  12350. r = ((glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryInfoINTEL")) == NULL) || r;
  12351. return r;
  12352. }
  12353. #endif /* GL_INTEL_performance_query */
  12354. #ifdef GL_INTEL_texture_scissor
  12355. static GLboolean _glewInit_GL_INTEL_texture_scissor ()
  12356. {
  12357. GLboolean r = GL_FALSE;
  12358. r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r;
  12359. r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r;
  12360. return r;
  12361. }
  12362. #endif /* GL_INTEL_texture_scissor */
  12363. #ifdef GL_KHR_blend_equation_advanced
  12364. static GLboolean _glewInit_GL_KHR_blend_equation_advanced ()
  12365. {
  12366. GLboolean r = GL_FALSE;
  12367. r = ((glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)glewGetProcAddress((const GLubyte*)"glBlendBarrierKHR")) == NULL) || r;
  12368. return r;
  12369. }
  12370. #endif /* GL_KHR_blend_equation_advanced */
  12371. #ifdef GL_KHR_debug
  12372. static GLboolean _glewInit_GL_KHR_debug ()
  12373. {
  12374. GLboolean r = GL_FALSE;
  12375. r = ((glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallback")) == NULL) || r;
  12376. r = ((glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControl")) == NULL) || r;
  12377. r = ((glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsert")) == NULL) || r;
  12378. r = ((glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLog")) == NULL) || r;
  12379. r = ((glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabel")) == NULL) || r;
  12380. r = ((glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectPtrLabel")) == NULL) || r;
  12381. r = ((glObjectLabel = (PFNGLOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectLabel")) == NULL) || r;
  12382. r = ((glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectPtrLabel")) == NULL) || r;
  12383. r = ((glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPopDebugGroup")) == NULL) || r;
  12384. r = ((glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPushDebugGroup")) == NULL) || r;
  12385. return r;
  12386. }
  12387. #endif /* GL_KHR_debug */
  12388. #ifdef GL_KHR_parallel_shader_compile
  12389. static GLboolean _glewInit_GL_KHR_parallel_shader_compile ()
  12390. {
  12391. GLboolean r = GL_FALSE;
  12392. r = ((glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)glewGetProcAddress((const GLubyte*)"glMaxShaderCompilerThreadsKHR")) == NULL) || r;
  12393. return r;
  12394. }
  12395. #endif /* GL_KHR_parallel_shader_compile */
  12396. #ifdef GL_KHR_robustness
  12397. static GLboolean _glewInit_GL_KHR_robustness ()
  12398. {
  12399. GLboolean r = GL_FALSE;
  12400. r = ((glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfv")) == NULL) || r;
  12401. r = ((glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformiv")) == NULL) || r;
  12402. r = ((glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuiv")) == NULL) || r;
  12403. r = ((glReadnPixels = (PFNGLREADNPIXELSPROC)glewGetProcAddress((const GLubyte*)"glReadnPixels")) == NULL) || r;
  12404. return r;
  12405. }
  12406. #endif /* GL_KHR_robustness */
  12407. #ifdef GL_KTX_buffer_region
  12408. static GLboolean _glewInit_GL_KTX_buffer_region ()
  12409. {
  12410. GLboolean r = GL_FALSE;
  12411. r = ((glBufferRegionEnabled = (PFNGLBUFFERREGIONENABLEDPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabled")) == NULL) || r;
  12412. r = ((glDeleteBufferRegion = (PFNGLDELETEBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegion")) == NULL) || r;
  12413. r = ((glDrawBufferRegion = (PFNGLDRAWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegion")) == NULL) || r;
  12414. r = ((glNewBufferRegion = (PFNGLNEWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegion")) == NULL) || r;
  12415. r = ((glReadBufferRegion = (PFNGLREADBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegion")) == NULL) || r;
  12416. return r;
  12417. }
  12418. #endif /* GL_KTX_buffer_region */
  12419. #ifdef GL_MESA_resize_buffers
  12420. static GLboolean _glewInit_GL_MESA_resize_buffers ()
  12421. {
  12422. GLboolean r = GL_FALSE;
  12423. r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r;
  12424. return r;
  12425. }
  12426. #endif /* GL_MESA_resize_buffers */
  12427. #ifdef GL_MESA_window_pos
  12428. static GLboolean _glewInit_GL_MESA_window_pos ()
  12429. {
  12430. GLboolean r = GL_FALSE;
  12431. r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r;
  12432. r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r;
  12433. r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r;
  12434. r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r;
  12435. r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r;
  12436. r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r;
  12437. r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r;
  12438. r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r;
  12439. r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r;
  12440. r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r;
  12441. r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r;
  12442. r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r;
  12443. r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r;
  12444. r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r;
  12445. r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r;
  12446. r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r;
  12447. r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r;
  12448. r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r;
  12449. r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r;
  12450. r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r;
  12451. r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r;
  12452. r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r;
  12453. r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r;
  12454. r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r;
  12455. return r;
  12456. }
  12457. #endif /* GL_MESA_window_pos */
  12458. #ifdef GL_NVX_conditional_render
  12459. static GLboolean _glewInit_GL_NVX_conditional_render ()
  12460. {
  12461. GLboolean r = GL_FALSE;
  12462. r = ((glBeginConditionalRenderNVX = (PFNGLBEGINCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNVX")) == NULL) || r;
  12463. r = ((glEndConditionalRenderNVX = (PFNGLENDCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNVX")) == NULL) || r;
  12464. return r;
  12465. }
  12466. #endif /* GL_NVX_conditional_render */
  12467. #ifdef GL_NVX_linked_gpu_multicast
  12468. static GLboolean _glewInit_GL_NVX_linked_gpu_multicast ()
  12469. {
  12470. GLboolean r = GL_FALSE;
  12471. r = ((glLGPUCopyImageSubDataNVX = (PFNGLLGPUCOPYIMAGESUBDATANVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUCopyImageSubDataNVX")) == NULL) || r;
  12472. r = ((glLGPUInterlockNVX = (PFNGLLGPUINTERLOCKNVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUInterlockNVX")) == NULL) || r;
  12473. r = ((glLGPUNamedBufferSubDataNVX = (PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUNamedBufferSubDataNVX")) == NULL) || r;
  12474. return r;
  12475. }
  12476. #endif /* GL_NVX_linked_gpu_multicast */
  12477. #ifdef GL_NV_3dvision_settings
  12478. static GLboolean _glewInit_GL_NV_3dvision_settings ()
  12479. {
  12480. GLboolean r = GL_FALSE;
  12481. r = ((glStereoParameterfNV = (PFNGLSTEREOPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glStereoParameterfNV")) == NULL) || r;
  12482. r = ((glStereoParameteriNV = (PFNGLSTEREOPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glStereoParameteriNV")) == NULL) || r;
  12483. return r;
  12484. }
  12485. #endif /* GL_NV_3dvision_settings */
  12486. #ifdef GL_NV_bindless_multi_draw_indirect
  12487. static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect ()
  12488. {
  12489. GLboolean r = GL_FALSE;
  12490. r = ((glMultiDrawArraysIndirectBindlessNV = (PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectBindlessNV")) == NULL) || r;
  12491. r = ((glMultiDrawElementsIndirectBindlessNV = (PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectBindlessNV")) == NULL) || r;
  12492. return r;
  12493. }
  12494. #endif /* GL_NV_bindless_multi_draw_indirect */
  12495. #ifdef GL_NV_bindless_multi_draw_indirect_count
  12496. static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect_count ()
  12497. {
  12498. GLboolean r = GL_FALSE;
  12499. r = ((glMultiDrawArraysIndirectBindlessCountNV = (PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectBindlessCountNV")) == NULL) || r;
  12500. r = ((glMultiDrawElementsIndirectBindlessCountNV = (PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectBindlessCountNV")) == NULL) || r;
  12501. return r;
  12502. }
  12503. #endif /* GL_NV_bindless_multi_draw_indirect_count */
  12504. #ifdef GL_NV_bindless_texture
  12505. static GLboolean _glewInit_GL_NV_bindless_texture ()
  12506. {
  12507. GLboolean r = GL_FALSE;
  12508. r = ((glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleNV")) == NULL) || r;
  12509. r = ((glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleNV")) == NULL) || r;
  12510. r = ((glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleNV")) == NULL) || r;
  12511. r = ((glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentNV")) == NULL) || r;
  12512. r = ((glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentNV")) == NULL) || r;
  12513. r = ((glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentNV")) == NULL) || r;
  12514. r = ((glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentNV")) == NULL) || r;
  12515. r = ((glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentNV")) == NULL) || r;
  12516. r = ((glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentNV")) == NULL) || r;
  12517. r = ((glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64NV")) == NULL) || r;
  12518. r = ((glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vNV")) == NULL) || r;
  12519. r = ((glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64NV")) == NULL) || r;
  12520. r = ((glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vNV")) == NULL) || r;
  12521. return r;
  12522. }
  12523. #endif /* GL_NV_bindless_texture */
  12524. #ifdef GL_NV_blend_equation_advanced
  12525. static GLboolean _glewInit_GL_NV_blend_equation_advanced ()
  12526. {
  12527. GLboolean r = GL_FALSE;
  12528. r = ((glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glBlendBarrierNV")) == NULL) || r;
  12529. r = ((glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glBlendParameteriNV")) == NULL) || r;
  12530. return r;
  12531. }
  12532. #endif /* GL_NV_blend_equation_advanced */
  12533. #ifdef GL_NV_clip_space_w_scaling
  12534. static GLboolean _glewInit_GL_NV_clip_space_w_scaling ()
  12535. {
  12536. GLboolean r = GL_FALSE;
  12537. r = ((glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)glewGetProcAddress((const GLubyte*)"glViewportPositionWScaleNV")) == NULL) || r;
  12538. return r;
  12539. }
  12540. #endif /* GL_NV_clip_space_w_scaling */
  12541. #ifdef GL_NV_command_list
  12542. static GLboolean _glewInit_GL_NV_command_list ()
  12543. {
  12544. GLboolean r = GL_FALSE;
  12545. r = ((glCallCommandListNV = (PFNGLCALLCOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glCallCommandListNV")) == NULL) || r;
  12546. r = ((glCommandListSegmentsNV = (PFNGLCOMMANDLISTSEGMENTSNVPROC)glewGetProcAddress((const GLubyte*)"glCommandListSegmentsNV")) == NULL) || r;
  12547. r = ((glCompileCommandListNV = (PFNGLCOMPILECOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glCompileCommandListNV")) == NULL) || r;
  12548. r = ((glCreateCommandListsNV = (PFNGLCREATECOMMANDLISTSNVPROC)glewGetProcAddress((const GLubyte*)"glCreateCommandListsNV")) == NULL) || r;
  12549. r = ((glCreateStatesNV = (PFNGLCREATESTATESNVPROC)glewGetProcAddress((const GLubyte*)"glCreateStatesNV")) == NULL) || r;
  12550. r = ((glDeleteCommandListsNV = (PFNGLDELETECOMMANDLISTSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteCommandListsNV")) == NULL) || r;
  12551. r = ((glDeleteStatesNV = (PFNGLDELETESTATESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteStatesNV")) == NULL) || r;
  12552. r = ((glDrawCommandsAddressNV = (PFNGLDRAWCOMMANDSADDRESSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsAddressNV")) == NULL) || r;
  12553. r = ((glDrawCommandsNV = (PFNGLDRAWCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsNV")) == NULL) || r;
  12554. r = ((glDrawCommandsStatesAddressNV = (PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsStatesAddressNV")) == NULL) || r;
  12555. r = ((glDrawCommandsStatesNV = (PFNGLDRAWCOMMANDSSTATESNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsStatesNV")) == NULL) || r;
  12556. r = ((glGetCommandHeaderNV = (PFNGLGETCOMMANDHEADERNVPROC)glewGetProcAddress((const GLubyte*)"glGetCommandHeaderNV")) == NULL) || r;
  12557. r = ((glGetStageIndexNV = (PFNGLGETSTAGEINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glGetStageIndexNV")) == NULL) || r;
  12558. r = ((glIsCommandListNV = (PFNGLISCOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glIsCommandListNV")) == NULL) || r;
  12559. r = ((glIsStateNV = (PFNGLISSTATENVPROC)glewGetProcAddress((const GLubyte*)"glIsStateNV")) == NULL) || r;
  12560. r = ((glListDrawCommandsStatesClientNV = (PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC)glewGetProcAddress((const GLubyte*)"glListDrawCommandsStatesClientNV")) == NULL) || r;
  12561. r = ((glStateCaptureNV = (PFNGLSTATECAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glStateCaptureNV")) == NULL) || r;
  12562. return r;
  12563. }
  12564. #endif /* GL_NV_command_list */
  12565. #ifdef GL_NV_conditional_render
  12566. static GLboolean _glewInit_GL_NV_conditional_render ()
  12567. {
  12568. GLboolean r = GL_FALSE;
  12569. r = ((glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNV")) == NULL) || r;
  12570. r = ((glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNV")) == NULL) || r;
  12571. return r;
  12572. }
  12573. #endif /* GL_NV_conditional_render */
  12574. #ifdef GL_NV_conservative_raster
  12575. static GLboolean _glewInit_GL_NV_conservative_raster ()
  12576. {
  12577. GLboolean r = GL_FALSE;
  12578. r = ((glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)glewGetProcAddress((const GLubyte*)"glSubpixelPrecisionBiasNV")) == NULL) || r;
  12579. return r;
  12580. }
  12581. #endif /* GL_NV_conservative_raster */
  12582. #ifdef GL_NV_conservative_raster_dilate
  12583. static GLboolean _glewInit_GL_NV_conservative_raster_dilate ()
  12584. {
  12585. GLboolean r = GL_FALSE;
  12586. r = ((glConservativeRasterParameterfNV = (PFNGLCONSERVATIVERASTERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glConservativeRasterParameterfNV")) == NULL) || r;
  12587. return r;
  12588. }
  12589. #endif /* GL_NV_conservative_raster_dilate */
  12590. #ifdef GL_NV_conservative_raster_pre_snap_triangles
  12591. static GLboolean _glewInit_GL_NV_conservative_raster_pre_snap_triangles ()
  12592. {
  12593. GLboolean r = GL_FALSE;
  12594. r = ((glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glConservativeRasterParameteriNV")) == NULL) || r;
  12595. return r;
  12596. }
  12597. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  12598. #ifdef GL_NV_copy_buffer
  12599. static GLboolean _glewInit_GL_NV_copy_buffer ()
  12600. {
  12601. GLboolean r = GL_FALSE;
  12602. r = ((glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubDataNV")) == NULL) || r;
  12603. return r;
  12604. }
  12605. #endif /* GL_NV_copy_buffer */
  12606. #ifdef GL_NV_copy_image
  12607. static GLboolean _glewInit_GL_NV_copy_image ()
  12608. {
  12609. GLboolean r = GL_FALSE;
  12610. r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r;
  12611. return r;
  12612. }
  12613. #endif /* GL_NV_copy_image */
  12614. #ifdef GL_NV_depth_buffer_float
  12615. static GLboolean _glewInit_GL_NV_depth_buffer_float ()
  12616. {
  12617. GLboolean r = GL_FALSE;
  12618. r = ((glClearDepthdNV = (PFNGLCLEARDEPTHDNVPROC)glewGetProcAddress((const GLubyte*)"glClearDepthdNV")) == NULL) || r;
  12619. r = ((glDepthBoundsdNV = (PFNGLDEPTHBOUNDSDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsdNV")) == NULL) || r;
  12620. r = ((glDepthRangedNV = (PFNGLDEPTHRANGEDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangedNV")) == NULL) || r;
  12621. return r;
  12622. }
  12623. #endif /* GL_NV_depth_buffer_float */
  12624. #ifdef GL_NV_draw_buffers
  12625. static GLboolean _glewInit_GL_NV_draw_buffers ()
  12626. {
  12627. GLboolean r = GL_FALSE;
  12628. r = ((glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersNV")) == NULL) || r;
  12629. return r;
  12630. }
  12631. #endif /* GL_NV_draw_buffers */
  12632. #ifdef GL_NV_draw_instanced
  12633. static GLboolean _glewInit_GL_NV_draw_instanced ()
  12634. {
  12635. GLboolean r = GL_FALSE;
  12636. r = ((glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedNV")) == NULL) || r;
  12637. r = ((glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedNV")) == NULL) || r;
  12638. return r;
  12639. }
  12640. #endif /* GL_NV_draw_instanced */
  12641. #ifdef GL_NV_draw_texture
  12642. static GLboolean _glewInit_GL_NV_draw_texture ()
  12643. {
  12644. GLboolean r = GL_FALSE;
  12645. r = ((glDrawTextureNV = (PFNGLDRAWTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glDrawTextureNV")) == NULL) || r;
  12646. return r;
  12647. }
  12648. #endif /* GL_NV_draw_texture */
  12649. #ifdef GL_NV_draw_vulkan_image
  12650. static GLboolean _glewInit_GL_NV_draw_vulkan_image ()
  12651. {
  12652. GLboolean r = GL_FALSE;
  12653. r = ((glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glDrawVkImageNV")) == NULL) || r;
  12654. r = ((glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)glewGetProcAddress((const GLubyte*)"glGetVkProcAddrNV")) == NULL) || r;
  12655. r = ((glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSignalVkFenceNV")) == NULL) || r;
  12656. r = ((glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)glewGetProcAddress((const GLubyte*)"glSignalVkSemaphoreNV")) == NULL) || r;
  12657. r = ((glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)glewGetProcAddress((const GLubyte*)"glWaitVkSemaphoreNV")) == NULL) || r;
  12658. return r;
  12659. }
  12660. #endif /* GL_NV_draw_vulkan_image */
  12661. #ifdef GL_NV_evaluators
  12662. static GLboolean _glewInit_GL_NV_evaluators ()
  12663. {
  12664. GLboolean r = GL_FALSE;
  12665. r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r;
  12666. r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r;
  12667. r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r;
  12668. r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r;
  12669. r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r;
  12670. r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r;
  12671. r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r;
  12672. r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r;
  12673. r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r;
  12674. return r;
  12675. }
  12676. #endif /* GL_NV_evaluators */
  12677. #ifdef GL_NV_explicit_multisample
  12678. static GLboolean _glewInit_GL_NV_explicit_multisample ()
  12679. {
  12680. GLboolean r = GL_FALSE;
  12681. r = ((glGetMultisamplefvNV = (PFNGLGETMULTISAMPLEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefvNV")) == NULL) || r;
  12682. r = ((glSampleMaskIndexedNV = (PFNGLSAMPLEMASKINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskIndexedNV")) == NULL) || r;
  12683. r = ((glTexRenderbufferNV = (PFNGLTEXRENDERBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glTexRenderbufferNV")) == NULL) || r;
  12684. return r;
  12685. }
  12686. #endif /* GL_NV_explicit_multisample */
  12687. #ifdef GL_NV_fence
  12688. static GLboolean _glewInit_GL_NV_fence ()
  12689. {
  12690. GLboolean r = GL_FALSE;
  12691. r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r;
  12692. r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r;
  12693. r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r;
  12694. r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r;
  12695. r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r;
  12696. r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r;
  12697. r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r;
  12698. return r;
  12699. }
  12700. #endif /* GL_NV_fence */
  12701. #ifdef GL_NV_fragment_coverage_to_color
  12702. static GLboolean _glewInit_GL_NV_fragment_coverage_to_color ()
  12703. {
  12704. GLboolean r = GL_FALSE;
  12705. r = ((glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)glewGetProcAddress((const GLubyte*)"glFragmentCoverageColorNV")) == NULL) || r;
  12706. return r;
  12707. }
  12708. #endif /* GL_NV_fragment_coverage_to_color */
  12709. #ifdef GL_NV_fragment_program
  12710. static GLboolean _glewInit_GL_NV_fragment_program ()
  12711. {
  12712. GLboolean r = GL_FALSE;
  12713. r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r;
  12714. r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r;
  12715. r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r;
  12716. r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r;
  12717. r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r;
  12718. r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r;
  12719. return r;
  12720. }
  12721. #endif /* GL_NV_fragment_program */
  12722. #ifdef GL_NV_framebuffer_blit
  12723. static GLboolean _glewInit_GL_NV_framebuffer_blit ()
  12724. {
  12725. GLboolean r = GL_FALSE;
  12726. r = ((glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferNV")) == NULL) || r;
  12727. return r;
  12728. }
  12729. #endif /* GL_NV_framebuffer_blit */
  12730. #ifdef GL_NV_framebuffer_multisample
  12731. static GLboolean _glewInit_GL_NV_framebuffer_multisample ()
  12732. {
  12733. GLboolean r = GL_FALSE;
  12734. r = ((glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleNV")) == NULL) || r;
  12735. return r;
  12736. }
  12737. #endif /* GL_NV_framebuffer_multisample */
  12738. #ifdef GL_NV_framebuffer_multisample_coverage
  12739. static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage ()
  12740. {
  12741. GLboolean r = GL_FALSE;
  12742. r = ((glRenderbufferStorageMultisampleCoverageNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleCoverageNV")) == NULL) || r;
  12743. return r;
  12744. }
  12745. #endif /* GL_NV_framebuffer_multisample_coverage */
  12746. #ifdef GL_NV_geometry_program4
  12747. static GLboolean _glewInit_GL_NV_geometry_program4 ()
  12748. {
  12749. GLboolean r = GL_FALSE;
  12750. r = ((glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)glewGetProcAddress((const GLubyte*)"glProgramVertexLimitNV")) == NULL) || r;
  12751. return r;
  12752. }
  12753. #endif /* GL_NV_geometry_program4 */
  12754. #ifdef GL_NV_gpu_multicast
  12755. static GLboolean _glewInit_GL_NV_gpu_multicast ()
  12756. {
  12757. GLboolean r = GL_FALSE;
  12758. r = ((glMulticastBarrierNV = (PFNGLMULTICASTBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBarrierNV")) == NULL) || r;
  12759. r = ((glMulticastBlitFramebufferNV = (PFNGLMULTICASTBLITFRAMEBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBlitFramebufferNV")) == NULL) || r;
  12760. r = ((glMulticastBufferSubDataNV = (PFNGLMULTICASTBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBufferSubDataNV")) == NULL) || r;
  12761. r = ((glMulticastCopyBufferSubDataNV = (PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyBufferSubDataNV")) == NULL) || r;
  12762. r = ((glMulticastCopyImageSubDataNV = (PFNGLMULTICASTCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyImageSubDataNV")) == NULL) || r;
  12763. r = ((glMulticastFramebufferSampleLocationsfvNV = (PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastFramebufferSampleLocationsfvNV")) == NULL) || r;
  12764. r = ((glMulticastGetQueryObjecti64vNV = (PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjecti64vNV")) == NULL) || r;
  12765. r = ((glMulticastGetQueryObjectivNV = (PFNGLMULTICASTGETQUERYOBJECTIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectivNV")) == NULL) || r;
  12766. r = ((glMulticastGetQueryObjectui64vNV = (PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectui64vNV")) == NULL) || r;
  12767. r = ((glMulticastGetQueryObjectuivNV = (PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectuivNV")) == NULL) || r;
  12768. r = ((glMulticastWaitSyncNV = (PFNGLMULTICASTWAITSYNCNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastWaitSyncNV")) == NULL) || r;
  12769. r = ((glRenderGpuMaskNV = (PFNGLRENDERGPUMASKNVPROC)glewGetProcAddress((const GLubyte*)"glRenderGpuMaskNV")) == NULL) || r;
  12770. return r;
  12771. }
  12772. #endif /* GL_NV_gpu_multicast */
  12773. #ifdef GL_NV_gpu_program4
  12774. static GLboolean _glewInit_GL_NV_gpu_program4 ()
  12775. {
  12776. GLboolean r = GL_FALSE;
  12777. r = ((glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4iNV")) == NULL) || r;
  12778. r = ((glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4ivNV")) == NULL) || r;
  12779. r = ((glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uiNV")) == NULL) || r;
  12780. r = ((glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uivNV")) == NULL) || r;
  12781. r = ((glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4ivNV")) == NULL) || r;
  12782. r = ((glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4uivNV")) == NULL) || r;
  12783. r = ((glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4iNV")) == NULL) || r;
  12784. r = ((glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4ivNV")) == NULL) || r;
  12785. r = ((glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uiNV")) == NULL) || r;
  12786. r = ((glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uivNV")) == NULL) || r;
  12787. r = ((glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4ivNV")) == NULL) || r;
  12788. r = ((glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4uivNV")) == NULL) || r;
  12789. return r;
  12790. }
  12791. #endif /* GL_NV_gpu_program4 */
  12792. #ifdef GL_NV_gpu_shader5
  12793. static GLboolean _glewInit_GL_NV_gpu_shader5 ()
  12794. {
  12795. GLboolean r = GL_FALSE;
  12796. r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r;
  12797. r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r;
  12798. r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r;
  12799. r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r;
  12800. r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r;
  12801. r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r;
  12802. r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r;
  12803. r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r;
  12804. r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r;
  12805. r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r;
  12806. r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r;
  12807. r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r;
  12808. r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r;
  12809. r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r;
  12810. r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r;
  12811. r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r;
  12812. r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r;
  12813. r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r;
  12814. r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r;
  12815. r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r;
  12816. r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r;
  12817. r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r;
  12818. r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r;
  12819. r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r;
  12820. r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r;
  12821. r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r;
  12822. r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r;
  12823. r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r;
  12824. r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r;
  12825. r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r;
  12826. r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r;
  12827. r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r;
  12828. r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r;
  12829. r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r;
  12830. return r;
  12831. }
  12832. #endif /* GL_NV_gpu_shader5 */
  12833. #ifdef GL_NV_half_float
  12834. static GLboolean _glewInit_GL_NV_half_float ()
  12835. {
  12836. GLboolean r = GL_FALSE;
  12837. r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r;
  12838. r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r;
  12839. r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r;
  12840. r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r;
  12841. r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r;
  12842. r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r;
  12843. r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r;
  12844. r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r;
  12845. r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r;
  12846. r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r;
  12847. r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r;
  12848. r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r;
  12849. r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r;
  12850. r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r;
  12851. r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r;
  12852. r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r;
  12853. r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r;
  12854. r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r;
  12855. r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r;
  12856. r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r;
  12857. r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r;
  12858. r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r;
  12859. r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r;
  12860. r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r;
  12861. r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r;
  12862. r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r;
  12863. r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r;
  12864. r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r;
  12865. r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r;
  12866. r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r;
  12867. r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r;
  12868. r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r;
  12869. r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r;
  12870. r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r;
  12871. r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r;
  12872. r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r;
  12873. r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r;
  12874. r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r;
  12875. r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r;
  12876. r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r;
  12877. r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r;
  12878. r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r;
  12879. r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r;
  12880. r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r;
  12881. r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r;
  12882. r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r;
  12883. return r;
  12884. }
  12885. #endif /* GL_NV_half_float */
  12886. #ifdef GL_NV_instanced_arrays
  12887. static GLboolean _glewInit_GL_NV_instanced_arrays ()
  12888. {
  12889. GLboolean r = GL_FALSE;
  12890. r = ((glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorNV")) == NULL) || r;
  12891. return r;
  12892. }
  12893. #endif /* GL_NV_instanced_arrays */
  12894. #ifdef GL_NV_internalformat_sample_query
  12895. static GLboolean _glewInit_GL_NV_internalformat_sample_query ()
  12896. {
  12897. GLboolean r = GL_FALSE;
  12898. r = ((glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformatSampleivNV")) == NULL) || r;
  12899. return r;
  12900. }
  12901. #endif /* GL_NV_internalformat_sample_query */
  12902. #ifdef GL_NV_non_square_matrices
  12903. static GLboolean _glewInit_GL_NV_non_square_matrices ()
  12904. {
  12905. GLboolean r = GL_FALSE;
  12906. r = ((glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fvNV")) == NULL) || r;
  12907. r = ((glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fvNV")) == NULL) || r;
  12908. r = ((glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fvNV")) == NULL) || r;
  12909. r = ((glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fvNV")) == NULL) || r;
  12910. r = ((glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fvNV")) == NULL) || r;
  12911. r = ((glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fvNV")) == NULL) || r;
  12912. return r;
  12913. }
  12914. #endif /* GL_NV_non_square_matrices */
  12915. #ifdef GL_NV_occlusion_query
  12916. static GLboolean _glewInit_GL_NV_occlusion_query ()
  12917. {
  12918. GLboolean r = GL_FALSE;
  12919. r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r;
  12920. r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r;
  12921. r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r;
  12922. r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r;
  12923. r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r;
  12924. r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r;
  12925. r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r;
  12926. return r;
  12927. }
  12928. #endif /* GL_NV_occlusion_query */
  12929. #ifdef GL_NV_parameter_buffer_object
  12930. static GLboolean _glewInit_GL_NV_parameter_buffer_object ()
  12931. {
  12932. GLboolean r = GL_FALSE;
  12933. r = ((glProgramBufferParametersIivNV = (PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIivNV")) == NULL) || r;
  12934. r = ((glProgramBufferParametersIuivNV = (PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIuivNV")) == NULL) || r;
  12935. r = ((glProgramBufferParametersfvNV = (PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersfvNV")) == NULL) || r;
  12936. return r;
  12937. }
  12938. #endif /* GL_NV_parameter_buffer_object */
  12939. #ifdef GL_NV_path_rendering
  12940. static GLboolean _glewInit_GL_NV_path_rendering ()
  12941. {
  12942. GLboolean r = GL_FALSE;
  12943. r = ((glCopyPathNV = (PFNGLCOPYPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCopyPathNV")) == NULL) || r;
  12944. r = ((glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathInstancedNV")) == NULL) || r;
  12945. r = ((glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathNV")) == NULL) || r;
  12946. r = ((glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathInstancedNV")) == NULL) || r;
  12947. r = ((glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathNV")) == NULL) || r;
  12948. r = ((glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glDeletePathsNV")) == NULL) || r;
  12949. r = ((glGenPathsNV = (PFNGLGENPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glGenPathsNV")) == NULL) || r;
  12950. r = ((glGetPathColorGenfvNV = (PFNGLGETPATHCOLORGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenfvNV")) == NULL) || r;
  12951. r = ((glGetPathColorGenivNV = (PFNGLGETPATHCOLORGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenivNV")) == NULL) || r;
  12952. r = ((glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCommandsNV")) == NULL) || r;
  12953. r = ((glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCoordsNV")) == NULL) || r;
  12954. r = ((glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathDashArrayNV")) == NULL) || r;
  12955. r = ((glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathLengthNV")) == NULL) || r;
  12956. r = ((glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricRangeNV")) == NULL) || r;
  12957. r = ((glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricsNV")) == NULL) || r;
  12958. r = ((glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterfvNV")) == NULL) || r;
  12959. r = ((glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterivNV")) == NULL) || r;
  12960. r = ((glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathSpacingNV")) == NULL) || r;
  12961. r = ((glGetPathTexGenfvNV = (PFNGLGETPATHTEXGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenfvNV")) == NULL) || r;
  12962. r = ((glGetPathTexGenivNV = (PFNGLGETPATHTEXGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenivNV")) == NULL) || r;
  12963. r = ((glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourcefvNV")) == NULL) || r;
  12964. r = ((glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glInterpolatePathsNV")) == NULL) || r;
  12965. r = ((glIsPathNV = (PFNGLISPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPathNV")) == NULL) || r;
  12966. r = ((glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInFillPathNV")) == NULL) || r;
  12967. r = ((glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInStrokePathNV")) == NULL) || r;
  12968. r = ((glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoad3x2fNV")) == NULL) || r;
  12969. r = ((glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoad3x3fNV")) == NULL) || r;
  12970. r = ((glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTranspose3x3fNV")) == NULL) || r;
  12971. r = ((glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMult3x2fNV")) == NULL) || r;
  12972. r = ((glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMult3x3fNV")) == NULL) || r;
  12973. r = ((glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTranspose3x3fNV")) == NULL) || r;
  12974. r = ((glPathColorGenNV = (PFNGLPATHCOLORGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathColorGenNV")) == NULL) || r;
  12975. r = ((glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCommandsNV")) == NULL) || r;
  12976. r = ((glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoordsNV")) == NULL) || r;
  12977. r = ((glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoverDepthFuncNV")) == NULL) || r;
  12978. r = ((glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathDashArrayNV")) == NULL) || r;
  12979. r = ((glPathFogGenNV = (PFNGLPATHFOGGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathFogGenNV")) == NULL) || r;
  12980. r = ((glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphIndexArrayNV")) == NULL) || r;
  12981. r = ((glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphIndexRangeNV")) == NULL) || r;
  12982. r = ((glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphRangeNV")) == NULL) || r;
  12983. r = ((glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphsNV")) == NULL) || r;
  12984. r = ((glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathMemoryGlyphIndexArrayNV")) == NULL) || r;
  12985. r = ((glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfNV")) == NULL) || r;
  12986. r = ((glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfvNV")) == NULL) || r;
  12987. r = ((glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPathParameteriNV")) == NULL) || r;
  12988. r = ((glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterivNV")) == NULL) || r;
  12989. r = ((glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilDepthOffsetNV")) == NULL) || r;
  12990. r = ((glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilFuncNV")) == NULL) || r;
  12991. r = ((glPathStringNV = (PFNGLPATHSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glPathStringNV")) == NULL) || r;
  12992. r = ((glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCommandsNV")) == NULL) || r;
  12993. r = ((glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCoordsNV")) == NULL) || r;
  12994. r = ((glPathTexGenNV = (PFNGLPATHTEXGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathTexGenNV")) == NULL) || r;
  12995. r = ((glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)glewGetProcAddress((const GLubyte*)"glPointAlongPathNV")) == NULL) || r;
  12996. r = ((glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)glewGetProcAddress((const GLubyte*)"glProgramPathFragmentInputGenNV")) == NULL) || r;
  12997. r = ((glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathInstancedNV")) == NULL) || r;
  12998. r = ((glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathNV")) == NULL) || r;
  12999. r = ((glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathInstancedNV")) == NULL) || r;
  13000. r = ((glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathNV")) == NULL) || r;
  13001. r = ((glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverFillPathInstancedNV")) == NULL) || r;
  13002. r = ((glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverFillPathNV")) == NULL) || r;
  13003. r = ((glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverStrokePathInstancedNV")) == NULL) || r;
  13004. r = ((glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverStrokePathNV")) == NULL) || r;
  13005. r = ((glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)glewGetProcAddress((const GLubyte*)"glTransformPathNV")) == NULL) || r;
  13006. r = ((glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glWeightPathsNV")) == NULL) || r;
  13007. return r;
  13008. }
  13009. #endif /* GL_NV_path_rendering */
  13010. #ifdef GL_NV_pixel_data_range
  13011. static GLboolean _glewInit_GL_NV_pixel_data_range ()
  13012. {
  13013. GLboolean r = GL_FALSE;
  13014. r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r;
  13015. r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r;
  13016. return r;
  13017. }
  13018. #endif /* GL_NV_pixel_data_range */
  13019. #ifdef GL_NV_point_sprite
  13020. static GLboolean _glewInit_GL_NV_point_sprite ()
  13021. {
  13022. GLboolean r = GL_FALSE;
  13023. r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r;
  13024. r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r;
  13025. return r;
  13026. }
  13027. #endif /* GL_NV_point_sprite */
  13028. #ifdef GL_NV_polygon_mode
  13029. static GLboolean _glewInit_GL_NV_polygon_mode ()
  13030. {
  13031. GLboolean r = GL_FALSE;
  13032. r = ((glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)glewGetProcAddress((const GLubyte*)"glPolygonModeNV")) == NULL) || r;
  13033. return r;
  13034. }
  13035. #endif /* GL_NV_polygon_mode */
  13036. #ifdef GL_NV_present_video
  13037. static GLboolean _glewInit_GL_NV_present_video ()
  13038. {
  13039. GLboolean r = GL_FALSE;
  13040. r = ((glGetVideoi64vNV = (PFNGLGETVIDEOI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoi64vNV")) == NULL) || r;
  13041. r = ((glGetVideoivNV = (PFNGLGETVIDEOIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoivNV")) == NULL) || r;
  13042. r = ((glGetVideoui64vNV = (PFNGLGETVIDEOUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoui64vNV")) == NULL) || r;
  13043. r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;
  13044. r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;
  13045. r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;
  13046. return r;
  13047. }
  13048. #endif /* GL_NV_present_video */
  13049. #ifdef GL_NV_primitive_restart
  13050. static GLboolean _glewInit_GL_NV_primitive_restart ()
  13051. {
  13052. GLboolean r = GL_FALSE;
  13053. r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r;
  13054. r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r;
  13055. return r;
  13056. }
  13057. #endif /* GL_NV_primitive_restart */
  13058. #ifdef GL_NV_register_combiners
  13059. static GLboolean _glewInit_GL_NV_register_combiners ()
  13060. {
  13061. GLboolean r = GL_FALSE;
  13062. r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r;
  13063. r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r;
  13064. r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r;
  13065. r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r;
  13066. r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r;
  13067. r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r;
  13068. r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r;
  13069. r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r;
  13070. r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r;
  13071. r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r;
  13072. r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r;
  13073. r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r;
  13074. r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r;
  13075. return r;
  13076. }
  13077. #endif /* GL_NV_register_combiners */
  13078. #ifdef GL_NV_register_combiners2
  13079. static GLboolean _glewInit_GL_NV_register_combiners2 ()
  13080. {
  13081. GLboolean r = GL_FALSE;
  13082. r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r;
  13083. r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r;
  13084. return r;
  13085. }
  13086. #endif /* GL_NV_register_combiners2 */
  13087. #ifdef GL_NV_sample_locations
  13088. static GLboolean _glewInit_GL_NV_sample_locations ()
  13089. {
  13090. GLboolean r = GL_FALSE;
  13091. r = ((glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSampleLocationsfvNV")) == NULL) || r;
  13092. r = ((glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSampleLocationsfvNV")) == NULL) || r;
  13093. return r;
  13094. }
  13095. #endif /* GL_NV_sample_locations */
  13096. #ifdef GL_NV_shader_buffer_load
  13097. static GLboolean _glewInit_GL_NV_shader_buffer_load ()
  13098. {
  13099. GLboolean r = GL_FALSE;
  13100. r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r;
  13101. r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r;
  13102. r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r;
  13103. r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r;
  13104. r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r;
  13105. r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r;
  13106. r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r;
  13107. r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r;
  13108. r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r;
  13109. r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r;
  13110. r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r;
  13111. r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r;
  13112. r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r;
  13113. return r;
  13114. }
  13115. #endif /* GL_NV_shader_buffer_load */
  13116. #ifdef GL_NV_texture_array
  13117. static GLboolean _glewInit_GL_NV_texture_array ()
  13118. {
  13119. GLboolean r = GL_FALSE;
  13120. r = ((glCompressedTexImage3DNV = (PFNGLCOMPRESSEDTEXIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DNV")) == NULL) || r;
  13121. r = ((glCompressedTexSubImage3DNV = (PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DNV")) == NULL) || r;
  13122. r = ((glCopyTexSubImage3DNV = (PFNGLCOPYTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DNV")) == NULL) || r;
  13123. r = ((glFramebufferTextureLayerNV = (PFNGLFRAMEBUFFERTEXTURELAYERNVPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerNV")) == NULL) || r;
  13124. r = ((glTexImage3DNV = (PFNGLTEXIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DNV")) == NULL) || r;
  13125. r = ((glTexSubImage3DNV = (PFNGLTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DNV")) == NULL) || r;
  13126. return r;
  13127. }
  13128. #endif /* GL_NV_texture_array */
  13129. #ifdef GL_NV_texture_barrier
  13130. static GLboolean _glewInit_GL_NV_texture_barrier ()
  13131. {
  13132. GLboolean r = GL_FALSE;
  13133. r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r;
  13134. return r;
  13135. }
  13136. #endif /* GL_NV_texture_barrier */
  13137. #ifdef GL_NV_texture_multisample
  13138. static GLboolean _glewInit_GL_NV_texture_multisample ()
  13139. {
  13140. GLboolean r = GL_FALSE;
  13141. r = ((glTexImage2DMultisampleCoverageNV = (PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisampleCoverageNV")) == NULL) || r;
  13142. r = ((glTexImage3DMultisampleCoverageNV = (PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisampleCoverageNV")) == NULL) || r;
  13143. r = ((glTextureImage2DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleCoverageNV")) == NULL) || r;
  13144. r = ((glTextureImage2DMultisampleNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleNV")) == NULL) || r;
  13145. r = ((glTextureImage3DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleCoverageNV")) == NULL) || r;
  13146. r = ((glTextureImage3DMultisampleNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleNV")) == NULL) || r;
  13147. return r;
  13148. }
  13149. #endif /* GL_NV_texture_multisample */
  13150. #ifdef GL_NV_transform_feedback
  13151. static GLboolean _glewInit_GL_NV_transform_feedback ()
  13152. {
  13153. GLboolean r = GL_FALSE;
  13154. r = ((glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glActiveVaryingNV")) == NULL) || r;
  13155. r = ((glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackNV")) == NULL) || r;
  13156. r = ((glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseNV")) == NULL) || r;
  13157. r = ((glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetNV")) == NULL) || r;
  13158. r = ((glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeNV")) == NULL) || r;
  13159. r = ((glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackNV")) == NULL) || r;
  13160. r = ((glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveVaryingNV")) == NULL) || r;
  13161. r = ((glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingNV")) == NULL) || r;
  13162. r = ((glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)glewGetProcAddress((const GLubyte*)"glGetVaryingLocationNV")) == NULL) || r;
  13163. r = ((glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackAttribsNV")) == NULL) || r;
  13164. r = ((glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsNV")) == NULL) || r;
  13165. return r;
  13166. }
  13167. #endif /* GL_NV_transform_feedback */
  13168. #ifdef GL_NV_transform_feedback2
  13169. static GLboolean _glewInit_GL_NV_transform_feedback2 ()
  13170. {
  13171. GLboolean r = GL_FALSE;
  13172. r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r;
  13173. r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r;
  13174. r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r;
  13175. r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r;
  13176. r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r;
  13177. r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r;
  13178. r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r;
  13179. return r;
  13180. }
  13181. #endif /* GL_NV_transform_feedback2 */
  13182. #ifdef GL_NV_vdpau_interop
  13183. static GLboolean _glewInit_GL_NV_vdpau_interop ()
  13184. {
  13185. GLboolean r = GL_FALSE;
  13186. r = ((glVDPAUFiniNV = (PFNGLVDPAUFININVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUFiniNV")) == NULL) || r;
  13187. r = ((glVDPAUGetSurfaceivNV = (PFNGLVDPAUGETSURFACEIVNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUGetSurfaceivNV")) == NULL) || r;
  13188. r = ((glVDPAUInitNV = (PFNGLVDPAUINITNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUInitNV")) == NULL) || r;
  13189. r = ((glVDPAUIsSurfaceNV = (PFNGLVDPAUISSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUIsSurfaceNV")) == NULL) || r;
  13190. r = ((glVDPAUMapSurfacesNV = (PFNGLVDPAUMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUMapSurfacesNV")) == NULL) || r;
  13191. r = ((glVDPAURegisterOutputSurfaceNV = (PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterOutputSurfaceNV")) == NULL) || r;
  13192. r = ((glVDPAURegisterVideoSurfaceNV = (PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceNV")) == NULL) || r;
  13193. r = ((glVDPAUSurfaceAccessNV = (PFNGLVDPAUSURFACEACCESSNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUSurfaceAccessNV")) == NULL) || r;
  13194. r = ((glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnmapSurfacesNV")) == NULL) || r;
  13195. r = ((glVDPAUUnregisterSurfaceNV = (PFNGLVDPAUUNREGISTERSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnregisterSurfaceNV")) == NULL) || r;
  13196. return r;
  13197. }
  13198. #endif /* GL_NV_vdpau_interop */
  13199. #ifdef GL_NV_vertex_array_range
  13200. static GLboolean _glewInit_GL_NV_vertex_array_range ()
  13201. {
  13202. GLboolean r = GL_FALSE;
  13203. r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r;
  13204. r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r;
  13205. return r;
  13206. }
  13207. #endif /* GL_NV_vertex_array_range */
  13208. #ifdef GL_NV_vertex_attrib_integer_64bit
  13209. static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit ()
  13210. {
  13211. GLboolean r = GL_FALSE;
  13212. r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r;
  13213. r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r;
  13214. r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r;
  13215. r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r;
  13216. r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r;
  13217. r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r;
  13218. r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r;
  13219. r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r;
  13220. r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r;
  13221. r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r;
  13222. r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r;
  13223. r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r;
  13224. r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r;
  13225. r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r;
  13226. r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r;
  13227. r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r;
  13228. r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r;
  13229. r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r;
  13230. r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r;
  13231. return r;
  13232. }
  13233. #endif /* GL_NV_vertex_attrib_integer_64bit */
  13234. #ifdef GL_NV_vertex_buffer_unified_memory
  13235. static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory ()
  13236. {
  13237. GLboolean r = GL_FALSE;
  13238. r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r;
  13239. r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r;
  13240. r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r;
  13241. r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r;
  13242. r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r;
  13243. r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r;
  13244. r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r;
  13245. r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r;
  13246. r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r;
  13247. r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r;
  13248. r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r;
  13249. r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r;
  13250. return r;
  13251. }
  13252. #endif /* GL_NV_vertex_buffer_unified_memory */
  13253. #ifdef GL_NV_vertex_program
  13254. static GLboolean _glewInit_GL_NV_vertex_program ()
  13255. {
  13256. GLboolean r = GL_FALSE;
  13257. r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r;
  13258. r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r;
  13259. r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r;
  13260. r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r;
  13261. r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r;
  13262. r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r;
  13263. r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r;
  13264. r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r;
  13265. r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r;
  13266. r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r;
  13267. r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r;
  13268. r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r;
  13269. r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r;
  13270. r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r;
  13271. r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r;
  13272. r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r;
  13273. r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r;
  13274. r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r;
  13275. r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r;
  13276. r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r;
  13277. r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r;
  13278. r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r;
  13279. r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r;
  13280. r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r;
  13281. r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r;
  13282. r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r;
  13283. r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r;
  13284. r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r;
  13285. r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r;
  13286. r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r;
  13287. r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r;
  13288. r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r;
  13289. r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r;
  13290. r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r;
  13291. r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r;
  13292. r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r;
  13293. r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r;
  13294. r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r;
  13295. r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r;
  13296. r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r;
  13297. r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r;
  13298. r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r;
  13299. r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r;
  13300. r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r;
  13301. r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r;
  13302. r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r;
  13303. r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r;
  13304. r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r;
  13305. r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r;
  13306. r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r;
  13307. r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r;
  13308. r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r;
  13309. r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r;
  13310. r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r;
  13311. r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r;
  13312. r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r;
  13313. r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r;
  13314. r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r;
  13315. r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r;
  13316. r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r;
  13317. r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r;
  13318. r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r;
  13319. r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r;
  13320. r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r;
  13321. return r;
  13322. }
  13323. #endif /* GL_NV_vertex_program */
  13324. #ifdef GL_NV_video_capture
  13325. static GLboolean _glewInit_GL_NV_video_capture ()
  13326. {
  13327. GLboolean r = GL_FALSE;
  13328. r = ((glBeginVideoCaptureNV = (PFNGLBEGINVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glBeginVideoCaptureNV")) == NULL) || r;
  13329. r = ((glBindVideoCaptureStreamBufferNV = (PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamBufferNV")) == NULL) || r;
  13330. r = ((glBindVideoCaptureStreamTextureNV = (PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamTextureNV")) == NULL) || r;
  13331. r = ((glEndVideoCaptureNV = (PFNGLENDVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glEndVideoCaptureNV")) == NULL) || r;
  13332. r = ((glGetVideoCaptureStreamdvNV = (PFNGLGETVIDEOCAPTURESTREAMDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamdvNV")) == NULL) || r;
  13333. r = ((glGetVideoCaptureStreamfvNV = (PFNGLGETVIDEOCAPTURESTREAMFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamfvNV")) == NULL) || r;
  13334. r = ((glGetVideoCaptureStreamivNV = (PFNGLGETVIDEOCAPTURESTREAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamivNV")) == NULL) || r;
  13335. r = ((glGetVideoCaptureivNV = (PFNGLGETVIDEOCAPTUREIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureivNV")) == NULL) || r;
  13336. r = ((glVideoCaptureNV = (PFNGLVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureNV")) == NULL) || r;
  13337. r = ((glVideoCaptureStreamParameterdvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterdvNV")) == NULL) || r;
  13338. r = ((glVideoCaptureStreamParameterfvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterfvNV")) == NULL) || r;
  13339. r = ((glVideoCaptureStreamParameterivNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterivNV")) == NULL) || r;
  13340. return r;
  13341. }
  13342. #endif /* GL_NV_video_capture */
  13343. #ifdef GL_NV_viewport_array
  13344. static GLboolean _glewInit_GL_NV_viewport_array ()
  13345. {
  13346. GLboolean r = GL_FALSE;
  13347. r = ((glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayfvNV")) == NULL) || r;
  13348. r = ((glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexedfNV")) == NULL) || r;
  13349. r = ((glDisableiNV = (PFNGLDISABLEINVPROC)glewGetProcAddress((const GLubyte*)"glDisableiNV")) == NULL) || r;
  13350. r = ((glEnableiNV = (PFNGLENABLEINVPROC)glewGetProcAddress((const GLubyte*)"glEnableiNV")) == NULL) || r;
  13351. r = ((glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vNV")) == NULL) || r;
  13352. r = ((glIsEnablediNV = (PFNGLISENABLEDINVPROC)glewGetProcAddress((const GLubyte*)"glIsEnablediNV")) == NULL) || r;
  13353. r = ((glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayvNV")) == NULL) || r;
  13354. r = ((glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedNV")) == NULL) || r;
  13355. r = ((glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedvNV")) == NULL) || r;
  13356. r = ((glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayvNV")) == NULL) || r;
  13357. r = ((glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfNV")) == NULL) || r;
  13358. r = ((glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfvNV")) == NULL) || r;
  13359. return r;
  13360. }
  13361. #endif /* GL_NV_viewport_array */
  13362. #ifdef GL_NV_viewport_swizzle
  13363. static GLboolean _glewInit_GL_NV_viewport_swizzle ()
  13364. {
  13365. GLboolean r = GL_FALSE;
  13366. r = ((glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)glewGetProcAddress((const GLubyte*)"glViewportSwizzleNV")) == NULL) || r;
  13367. return r;
  13368. }
  13369. #endif /* GL_NV_viewport_swizzle */
  13370. #ifdef GL_OVR_multiview
  13371. static GLboolean _glewInit_GL_OVR_multiview ()
  13372. {
  13373. GLboolean r = GL_FALSE;
  13374. r = ((glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureMultiviewOVR")) == NULL) || r;
  13375. return r;
  13376. }
  13377. #endif /* GL_OVR_multiview */
  13378. #ifdef GL_OVR_multiview_multisampled_render_to_texture
  13379. static GLboolean _glewInit_GL_OVR_multiview_multisampled_render_to_texture ()
  13380. {
  13381. GLboolean r = GL_FALSE;
  13382. r = ((glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureMultisampleMultiviewOVR")) == NULL) || r;
  13383. return r;
  13384. }
  13385. #endif /* GL_OVR_multiview_multisampled_render_to_texture */
  13386. #ifdef GL_QCOM_alpha_test
  13387. static GLboolean _glewInit_GL_QCOM_alpha_test ()
  13388. {
  13389. GLboolean r = GL_FALSE;
  13390. r = ((glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)glewGetProcAddress((const GLubyte*)"glAlphaFuncQCOM")) == NULL) || r;
  13391. return r;
  13392. }
  13393. #endif /* GL_QCOM_alpha_test */
  13394. #ifdef GL_QCOM_driver_control
  13395. static GLboolean _glewInit_GL_QCOM_driver_control ()
  13396. {
  13397. GLboolean r = GL_FALSE;
  13398. r = ((glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)glewGetProcAddress((const GLubyte*)"glDisableDriverControlQCOM")) == NULL) || r;
  13399. r = ((glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)glewGetProcAddress((const GLubyte*)"glEnableDriverControlQCOM")) == NULL) || r;
  13400. r = ((glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glGetDriverControlStringQCOM")) == NULL) || r;
  13401. r = ((glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)glewGetProcAddress((const GLubyte*)"glGetDriverControlsQCOM")) == NULL) || r;
  13402. return r;
  13403. }
  13404. #endif /* GL_QCOM_driver_control */
  13405. #ifdef GL_QCOM_extended_get
  13406. static GLboolean _glewInit_GL_QCOM_extended_get ()
  13407. {
  13408. GLboolean r = GL_FALSE;
  13409. r = ((glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetBufferPointervQCOM")) == NULL) || r;
  13410. r = ((glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetBuffersQCOM")) == NULL) || r;
  13411. r = ((glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetFramebuffersQCOM")) == NULL) || r;
  13412. r = ((glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetRenderbuffersQCOM")) == NULL) || r;
  13413. r = ((glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexLevelParameterivQCOM")) == NULL) || r;
  13414. r = ((glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexSubImageQCOM")) == NULL) || r;
  13415. r = ((glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexturesQCOM")) == NULL) || r;
  13416. r = ((glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtTexObjectStateOverrideiQCOM")) == NULL) || r;
  13417. return r;
  13418. }
  13419. #endif /* GL_QCOM_extended_get */
  13420. #ifdef GL_QCOM_extended_get2
  13421. static GLboolean _glewInit_GL_QCOM_extended_get2 ()
  13422. {
  13423. GLboolean r = GL_FALSE;
  13424. r = ((glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetProgramBinarySourceQCOM")) == NULL) || r;
  13425. r = ((glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetProgramsQCOM")) == NULL) || r;
  13426. r = ((glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetShadersQCOM")) == NULL) || r;
  13427. r = ((glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtIsProgramBinaryQCOM")) == NULL) || r;
  13428. return r;
  13429. }
  13430. #endif /* GL_QCOM_extended_get2 */
  13431. #ifdef GL_QCOM_framebuffer_foveated
  13432. static GLboolean _glewInit_GL_QCOM_framebuffer_foveated ()
  13433. {
  13434. GLboolean r = GL_FALSE;
  13435. r = ((glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFoveationConfigQCOM")) == NULL) || r;
  13436. r = ((glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFoveationParametersQCOM")) == NULL) || r;
  13437. return r;
  13438. }
  13439. #endif /* GL_QCOM_framebuffer_foveated */
  13440. #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
  13441. static GLboolean _glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent ()
  13442. {
  13443. GLboolean r = GL_FALSE;
  13444. r = ((glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFetchBarrierQCOM")) == NULL) || r;
  13445. return r;
  13446. }
  13447. #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
  13448. #ifdef GL_QCOM_tiled_rendering
  13449. static GLboolean _glewInit_GL_QCOM_tiled_rendering ()
  13450. {
  13451. GLboolean r = GL_FALSE;
  13452. r = ((glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glEndTilingQCOM")) == NULL) || r;
  13453. r = ((glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glStartTilingQCOM")) == NULL) || r;
  13454. return r;
  13455. }
  13456. #endif /* GL_QCOM_tiled_rendering */
  13457. #ifdef GL_REGAL_ES1_0_compatibility
  13458. static GLboolean _glewInit_GL_REGAL_ES1_0_compatibility ()
  13459. {
  13460. GLboolean r = GL_FALSE;
  13461. r = ((glAlphaFuncx = (PFNGLALPHAFUNCXPROC)glewGetProcAddress((const GLubyte*)"glAlphaFuncx")) == NULL) || r;
  13462. r = ((glClearColorx = (PFNGLCLEARCOLORXPROC)glewGetProcAddress((const GLubyte*)"glClearColorx")) == NULL) || r;
  13463. r = ((glClearDepthx = (PFNGLCLEARDEPTHXPROC)glewGetProcAddress((const GLubyte*)"glClearDepthx")) == NULL) || r;
  13464. r = ((glColor4x = (PFNGLCOLOR4XPROC)glewGetProcAddress((const GLubyte*)"glColor4x")) == NULL) || r;
  13465. r = ((glDepthRangex = (PFNGLDEPTHRANGEXPROC)glewGetProcAddress((const GLubyte*)"glDepthRangex")) == NULL) || r;
  13466. r = ((glFogx = (PFNGLFOGXPROC)glewGetProcAddress((const GLubyte*)"glFogx")) == NULL) || r;
  13467. r = ((glFogxv = (PFNGLFOGXVPROC)glewGetProcAddress((const GLubyte*)"glFogxv")) == NULL) || r;
  13468. r = ((glFrustumf = (PFNGLFRUSTUMFPROC)glewGetProcAddress((const GLubyte*)"glFrustumf")) == NULL) || r;
  13469. r = ((glFrustumx = (PFNGLFRUSTUMXPROC)glewGetProcAddress((const GLubyte*)"glFrustumx")) == NULL) || r;
  13470. r = ((glLightModelx = (PFNGLLIGHTMODELXPROC)glewGetProcAddress((const GLubyte*)"glLightModelx")) == NULL) || r;
  13471. r = ((glLightModelxv = (PFNGLLIGHTMODELXVPROC)glewGetProcAddress((const GLubyte*)"glLightModelxv")) == NULL) || r;
  13472. r = ((glLightx = (PFNGLLIGHTXPROC)glewGetProcAddress((const GLubyte*)"glLightx")) == NULL) || r;
  13473. r = ((glLightxv = (PFNGLLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glLightxv")) == NULL) || r;
  13474. r = ((glLineWidthx = (PFNGLLINEWIDTHXPROC)glewGetProcAddress((const GLubyte*)"glLineWidthx")) == NULL) || r;
  13475. r = ((glLoadMatrixx = (PFNGLLOADMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glLoadMatrixx")) == NULL) || r;
  13476. r = ((glMaterialx = (PFNGLMATERIALXPROC)glewGetProcAddress((const GLubyte*)"glMaterialx")) == NULL) || r;
  13477. r = ((glMaterialxv = (PFNGLMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glMaterialxv")) == NULL) || r;
  13478. r = ((glMultMatrixx = (PFNGLMULTMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glMultMatrixx")) == NULL) || r;
  13479. r = ((glMultiTexCoord4x = (PFNGLMULTITEXCOORD4XPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4x")) == NULL) || r;
  13480. r = ((glNormal3x = (PFNGLNORMAL3XPROC)glewGetProcAddress((const GLubyte*)"glNormal3x")) == NULL) || r;
  13481. r = ((glOrthof = (PFNGLORTHOFPROC)glewGetProcAddress((const GLubyte*)"glOrthof")) == NULL) || r;
  13482. r = ((glOrthox = (PFNGLORTHOXPROC)glewGetProcAddress((const GLubyte*)"glOrthox")) == NULL) || r;
  13483. r = ((glPointSizex = (PFNGLPOINTSIZEXPROC)glewGetProcAddress((const GLubyte*)"glPointSizex")) == NULL) || r;
  13484. r = ((glPolygonOffsetx = (PFNGLPOLYGONOFFSETXPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetx")) == NULL) || r;
  13485. r = ((glRotatex = (PFNGLROTATEXPROC)glewGetProcAddress((const GLubyte*)"glRotatex")) == NULL) || r;
  13486. r = ((glSampleCoveragex = (PFNGLSAMPLECOVERAGEXPROC)glewGetProcAddress((const GLubyte*)"glSampleCoveragex")) == NULL) || r;
  13487. r = ((glScalex = (PFNGLSCALEXPROC)glewGetProcAddress((const GLubyte*)"glScalex")) == NULL) || r;
  13488. r = ((glTexEnvx = (PFNGLTEXENVXPROC)glewGetProcAddress((const GLubyte*)"glTexEnvx")) == NULL) || r;
  13489. r = ((glTexEnvxv = (PFNGLTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glTexEnvxv")) == NULL) || r;
  13490. r = ((glTexParameterx = (PFNGLTEXPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glTexParameterx")) == NULL) || r;
  13491. r = ((glTranslatex = (PFNGLTRANSLATEXPROC)glewGetProcAddress((const GLubyte*)"glTranslatex")) == NULL) || r;
  13492. return r;
  13493. }
  13494. #endif /* GL_REGAL_ES1_0_compatibility */
  13495. #ifdef GL_REGAL_ES1_1_compatibility
  13496. static GLboolean _glewInit_GL_REGAL_ES1_1_compatibility ()
  13497. {
  13498. GLboolean r = GL_FALSE;
  13499. r = ((glClipPlanef = (PFNGLCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glClipPlanef")) == NULL) || r;
  13500. r = ((glClipPlanex = (PFNGLCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glClipPlanex")) == NULL) || r;
  13501. r = ((glGetClipPlanef = (PFNGLGETCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanef")) == NULL) || r;
  13502. r = ((glGetClipPlanex = (PFNGLGETCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanex")) == NULL) || r;
  13503. r = ((glGetFixedv = (PFNGLGETFIXEDVPROC)glewGetProcAddress((const GLubyte*)"glGetFixedv")) == NULL) || r;
  13504. r = ((glGetLightxv = (PFNGLGETLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glGetLightxv")) == NULL) || r;
  13505. r = ((glGetMaterialxv = (PFNGLGETMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glGetMaterialxv")) == NULL) || r;
  13506. r = ((glGetTexEnvxv = (PFNGLGETTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexEnvxv")) == NULL) || r;
  13507. r = ((glGetTexParameterxv = (PFNGLGETTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterxv")) == NULL) || r;
  13508. r = ((glPointParameterx = (PFNGLPOINTPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glPointParameterx")) == NULL) || r;
  13509. r = ((glPointParameterxv = (PFNGLPOINTPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterxv")) == NULL) || r;
  13510. r = ((glPointSizePointerOES = (PFNGLPOINTSIZEPOINTEROESPROC)glewGetProcAddress((const GLubyte*)"glPointSizePointerOES")) == NULL) || r;
  13511. r = ((glTexParameterxv = (PFNGLTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterxv")) == NULL) || r;
  13512. return r;
  13513. }
  13514. #endif /* GL_REGAL_ES1_1_compatibility */
  13515. #ifdef GL_REGAL_error_string
  13516. static GLboolean _glewInit_GL_REGAL_error_string ()
  13517. {
  13518. GLboolean r = GL_FALSE;
  13519. r = ((glErrorStringREGAL = (PFNGLERRORSTRINGREGALPROC)glewGetProcAddress((const GLubyte*)"glErrorStringREGAL")) == NULL) || r;
  13520. return r;
  13521. }
  13522. #endif /* GL_REGAL_error_string */
  13523. #ifdef GL_REGAL_extension_query
  13524. static GLboolean _glewInit_GL_REGAL_extension_query ()
  13525. {
  13526. GLboolean r = GL_FALSE;
  13527. r = ((glGetExtensionREGAL = (PFNGLGETEXTENSIONREGALPROC)glewGetProcAddress((const GLubyte*)"glGetExtensionREGAL")) == NULL) || r;
  13528. r = ((glIsSupportedREGAL = (PFNGLISSUPPORTEDREGALPROC)glewGetProcAddress((const GLubyte*)"glIsSupportedREGAL")) == NULL) || r;
  13529. return r;
  13530. }
  13531. #endif /* GL_REGAL_extension_query */
  13532. #ifdef GL_REGAL_log
  13533. static GLboolean _glewInit_GL_REGAL_log ()
  13534. {
  13535. GLboolean r = GL_FALSE;
  13536. r = ((glLogMessageCallbackREGAL = (PFNGLLOGMESSAGECALLBACKREGALPROC)glewGetProcAddress((const GLubyte*)"glLogMessageCallbackREGAL")) == NULL) || r;
  13537. return r;
  13538. }
  13539. #endif /* GL_REGAL_log */
  13540. #ifdef GL_REGAL_proc_address
  13541. static GLboolean _glewInit_GL_REGAL_proc_address ()
  13542. {
  13543. GLboolean r = GL_FALSE;
  13544. r = ((glGetProcAddressREGAL = (PFNGLGETPROCADDRESSREGALPROC)glewGetProcAddress((const GLubyte*)"glGetProcAddressREGAL")) == NULL) || r;
  13545. return r;
  13546. }
  13547. #endif /* GL_REGAL_proc_address */
  13548. #ifdef GL_SGIS_detail_texture
  13549. static GLboolean _glewInit_GL_SGIS_detail_texture ()
  13550. {
  13551. GLboolean r = GL_FALSE;
  13552. r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r;
  13553. r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r;
  13554. return r;
  13555. }
  13556. #endif /* GL_SGIS_detail_texture */
  13557. #ifdef GL_SGIS_fog_function
  13558. static GLboolean _glewInit_GL_SGIS_fog_function ()
  13559. {
  13560. GLboolean r = GL_FALSE;
  13561. r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r;
  13562. r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r;
  13563. return r;
  13564. }
  13565. #endif /* GL_SGIS_fog_function */
  13566. #ifdef GL_SGIS_multisample
  13567. static GLboolean _glewInit_GL_SGIS_multisample ()
  13568. {
  13569. GLboolean r = GL_FALSE;
  13570. r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r;
  13571. r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r;
  13572. return r;
  13573. }
  13574. #endif /* GL_SGIS_multisample */
  13575. #ifdef GL_SGIS_multitexture
  13576. static GLboolean _glewInit_GL_SGIS_multitexture ()
  13577. {
  13578. GLboolean r = GL_FALSE;
  13579. r = ((glInterleavedTextureCoordSetsSGIS = (PFNGLINTERLEAVEDTEXTURECOORDSETSSGISPROC)glewGetProcAddress((const GLubyte*)"glInterleavedTextureCoordSetsSGIS")) == NULL) || r;
  13580. r = ((glSelectTextureCoordSetSGIS = (PFNGLSELECTTEXTURECOORDSETSGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureCoordSetSGIS")) == NULL) || r;
  13581. r = ((glSelectTextureSGIS = (PFNGLSELECTTEXTURESGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureSGIS")) == NULL) || r;
  13582. r = ((glSelectTextureTransformSGIS = (PFNGLSELECTTEXTURETRANSFORMSGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureTransformSGIS")) == NULL) || r;
  13583. return r;
  13584. }
  13585. #endif /* GL_SGIS_multitexture */
  13586. #ifdef GL_SGIS_shared_multisample
  13587. static GLboolean _glewInit_GL_SGIS_shared_multisample ()
  13588. {
  13589. GLboolean r = GL_FALSE;
  13590. r = ((glMultisampleSubRectPosSGIS = (PFNGLMULTISAMPLESUBRECTPOSSGISPROC)glewGetProcAddress((const GLubyte*)"glMultisampleSubRectPosSGIS")) == NULL) || r;
  13591. return r;
  13592. }
  13593. #endif /* GL_SGIS_shared_multisample */
  13594. #ifdef GL_SGIS_sharpen_texture
  13595. static GLboolean _glewInit_GL_SGIS_sharpen_texture ()
  13596. {
  13597. GLboolean r = GL_FALSE;
  13598. r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r;
  13599. r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r;
  13600. return r;
  13601. }
  13602. #endif /* GL_SGIS_sharpen_texture */
  13603. #ifdef GL_SGIS_texture4D
  13604. static GLboolean _glewInit_GL_SGIS_texture4D ()
  13605. {
  13606. GLboolean r = GL_FALSE;
  13607. r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r;
  13608. r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r;
  13609. return r;
  13610. }
  13611. #endif /* GL_SGIS_texture4D */
  13612. #ifdef GL_SGIS_texture_filter4
  13613. static GLboolean _glewInit_GL_SGIS_texture_filter4 ()
  13614. {
  13615. GLboolean r = GL_FALSE;
  13616. r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r;
  13617. r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r;
  13618. return r;
  13619. }
  13620. #endif /* GL_SGIS_texture_filter4 */
  13621. #ifdef GL_SGIX_async
  13622. static GLboolean _glewInit_GL_SGIX_async ()
  13623. {
  13624. GLboolean r = GL_FALSE;
  13625. r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r;
  13626. r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r;
  13627. r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r;
  13628. r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r;
  13629. r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r;
  13630. r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r;
  13631. return r;
  13632. }
  13633. #endif /* GL_SGIX_async */
  13634. #ifdef GL_SGIX_datapipe
  13635. static GLboolean _glewInit_GL_SGIX_datapipe ()
  13636. {
  13637. GLboolean r = GL_FALSE;
  13638. r = ((glAddressSpace = (PFNGLADDRESSSPACEPROC)glewGetProcAddress((const GLubyte*)"glAddressSpace")) == NULL) || r;
  13639. r = ((glDataPipe = (PFNGLDATAPIPEPROC)glewGetProcAddress((const GLubyte*)"glDataPipe")) == NULL) || r;
  13640. return r;
  13641. }
  13642. #endif /* GL_SGIX_datapipe */
  13643. #ifdef GL_SGIX_flush_raster
  13644. static GLboolean _glewInit_GL_SGIX_flush_raster ()
  13645. {
  13646. GLboolean r = GL_FALSE;
  13647. r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r;
  13648. return r;
  13649. }
  13650. #endif /* GL_SGIX_flush_raster */
  13651. #ifdef GL_SGIX_fog_layers
  13652. static GLboolean _glewInit_GL_SGIX_fog_layers ()
  13653. {
  13654. GLboolean r = GL_FALSE;
  13655. r = ((glFogLayersSGIX = (PFNGLFOGLAYERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glFogLayersSGIX")) == NULL) || r;
  13656. r = ((glGetFogLayersSGIX = (PFNGLGETFOGLAYERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFogLayersSGIX")) == NULL) || r;
  13657. return r;
  13658. }
  13659. #endif /* GL_SGIX_fog_layers */
  13660. #ifdef GL_SGIX_fog_texture
  13661. static GLboolean _glewInit_GL_SGIX_fog_texture ()
  13662. {
  13663. GLboolean r = GL_FALSE;
  13664. r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r;
  13665. return r;
  13666. }
  13667. #endif /* GL_SGIX_fog_texture */
  13668. #ifdef GL_SGIX_fragment_specular_lighting
  13669. static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting ()
  13670. {
  13671. GLboolean r = GL_FALSE;
  13672. r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r;
  13673. r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r;
  13674. r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r;
  13675. r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r;
  13676. r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r;
  13677. r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r;
  13678. r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r;
  13679. r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r;
  13680. r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r;
  13681. r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r;
  13682. r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r;
  13683. r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r;
  13684. r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r;
  13685. r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r;
  13686. r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r;
  13687. r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r;
  13688. r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r;
  13689. return r;
  13690. }
  13691. #endif /* GL_SGIX_fragment_specular_lighting */
  13692. #ifdef GL_SGIX_framezoom
  13693. static GLboolean _glewInit_GL_SGIX_framezoom ()
  13694. {
  13695. GLboolean r = GL_FALSE;
  13696. r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r;
  13697. return r;
  13698. }
  13699. #endif /* GL_SGIX_framezoom */
  13700. #ifdef GL_SGIX_igloo_interface
  13701. static GLboolean _glewInit_GL_SGIX_igloo_interface ()
  13702. {
  13703. GLboolean r = GL_FALSE;
  13704. r = ((glIglooInterfaceSGIX = (PFNGLIGLOOINTERFACESGIXPROC)glewGetProcAddress((const GLubyte*)"glIglooInterfaceSGIX")) == NULL) || r;
  13705. return r;
  13706. }
  13707. #endif /* GL_SGIX_igloo_interface */
  13708. #ifdef GL_SGIX_mpeg1
  13709. static GLboolean _glewInit_GL_SGIX_mpeg1 ()
  13710. {
  13711. GLboolean r = GL_FALSE;
  13712. r = ((glAllocMPEGPredictorsSGIX = (PFNGLALLOCMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glAllocMPEGPredictorsSGIX")) == NULL) || r;
  13713. r = ((glDeleteMPEGPredictorsSGIX = (PFNGLDELETEMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteMPEGPredictorsSGIX")) == NULL) || r;
  13714. r = ((glGenMPEGPredictorsSGIX = (PFNGLGENMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenMPEGPredictorsSGIX")) == NULL) || r;
  13715. r = ((glGetMPEGParameterfvSGIX = (PFNGLGETMPEGPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGParameterfvSGIX")) == NULL) || r;
  13716. r = ((glGetMPEGParameterivSGIX = (PFNGLGETMPEGPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGParameterivSGIX")) == NULL) || r;
  13717. r = ((glGetMPEGPredictorSGIX = (PFNGLGETMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGPredictorSGIX")) == NULL) || r;
  13718. r = ((glGetMPEGQuantTableubv = (PFNGLGETMPEGQUANTTABLEUBVPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGQuantTableubv")) == NULL) || r;
  13719. r = ((glIsMPEGPredictorSGIX = (PFNGLISMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsMPEGPredictorSGIX")) == NULL) || r;
  13720. r = ((glMPEGPredictorSGIX = (PFNGLMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glMPEGPredictorSGIX")) == NULL) || r;
  13721. r = ((glMPEGQuantTableubv = (PFNGLMPEGQUANTTABLEUBVPROC)glewGetProcAddress((const GLubyte*)"glMPEGQuantTableubv")) == NULL) || r;
  13722. r = ((glSwapMPEGPredictorsSGIX = (PFNGLSWAPMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glSwapMPEGPredictorsSGIX")) == NULL) || r;
  13723. return r;
  13724. }
  13725. #endif /* GL_SGIX_mpeg1 */
  13726. #ifdef GL_SGIX_nonlinear_lighting_pervertex
  13727. static GLboolean _glewInit_GL_SGIX_nonlinear_lighting_pervertex ()
  13728. {
  13729. GLboolean r = GL_FALSE;
  13730. r = ((glGetNonlinLightfvSGIX = (PFNGLGETNONLINLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetNonlinLightfvSGIX")) == NULL) || r;
  13731. r = ((glGetNonlinMaterialfvSGIX = (PFNGLGETNONLINMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetNonlinMaterialfvSGIX")) == NULL) || r;
  13732. r = ((glNonlinLightfvSGIX = (PFNGLNONLINLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glNonlinLightfvSGIX")) == NULL) || r;
  13733. r = ((glNonlinMaterialfvSGIX = (PFNGLNONLINMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glNonlinMaterialfvSGIX")) == NULL) || r;
  13734. return r;
  13735. }
  13736. #endif /* GL_SGIX_nonlinear_lighting_pervertex */
  13737. #ifdef GL_SGIX_pixel_texture
  13738. static GLboolean _glewInit_GL_SGIX_pixel_texture ()
  13739. {
  13740. GLboolean r = GL_FALSE;
  13741. r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r;
  13742. return r;
  13743. }
  13744. #endif /* GL_SGIX_pixel_texture */
  13745. #ifdef GL_SGIX_polynomial_ffd
  13746. static GLboolean _glewInit_GL_SGIX_polynomial_ffd ()
  13747. {
  13748. GLboolean r = GL_FALSE;
  13749. r = ((glDeformSGIX = (PFNGLDEFORMSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeformSGIX")) == NULL) || r;
  13750. r = ((glLoadIdentityDeformationMapSGIX = (PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC)glewGetProcAddress((const GLubyte*)"glLoadIdentityDeformationMapSGIX")) == NULL) || r;
  13751. return r;
  13752. }
  13753. #endif /* GL_SGIX_polynomial_ffd */
  13754. #ifdef GL_SGIX_quad_mesh
  13755. static GLboolean _glewInit_GL_SGIX_quad_mesh ()
  13756. {
  13757. GLboolean r = GL_FALSE;
  13758. r = ((glMeshBreadthSGIX = (PFNGLMESHBREADTHSGIXPROC)glewGetProcAddress((const GLubyte*)"glMeshBreadthSGIX")) == NULL) || r;
  13759. r = ((glMeshStrideSGIX = (PFNGLMESHSTRIDESGIXPROC)glewGetProcAddress((const GLubyte*)"glMeshStrideSGIX")) == NULL) || r;
  13760. return r;
  13761. }
  13762. #endif /* GL_SGIX_quad_mesh */
  13763. #ifdef GL_SGIX_reference_plane
  13764. static GLboolean _glewInit_GL_SGIX_reference_plane ()
  13765. {
  13766. GLboolean r = GL_FALSE;
  13767. r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r;
  13768. return r;
  13769. }
  13770. #endif /* GL_SGIX_reference_plane */
  13771. #ifdef GL_SGIX_sprite
  13772. static GLboolean _glewInit_GL_SGIX_sprite ()
  13773. {
  13774. GLboolean r = GL_FALSE;
  13775. r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r;
  13776. r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r;
  13777. r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r;
  13778. r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r;
  13779. return r;
  13780. }
  13781. #endif /* GL_SGIX_sprite */
  13782. #ifdef GL_SGIX_tag_sample_buffer
  13783. static GLboolean _glewInit_GL_SGIX_tag_sample_buffer ()
  13784. {
  13785. GLboolean r = GL_FALSE;
  13786. r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r;
  13787. return r;
  13788. }
  13789. #endif /* GL_SGIX_tag_sample_buffer */
  13790. #ifdef GL_SGIX_vector_ops
  13791. static GLboolean _glewInit_GL_SGIX_vector_ops ()
  13792. {
  13793. GLboolean r = GL_FALSE;
  13794. r = ((glGetVectorOperationSGIX = (PFNGLGETVECTOROPERATIONSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetVectorOperationSGIX")) == NULL) || r;
  13795. r = ((glVectorOperationSGIX = (PFNGLVECTOROPERATIONSGIXPROC)glewGetProcAddress((const GLubyte*)"glVectorOperationSGIX")) == NULL) || r;
  13796. return r;
  13797. }
  13798. #endif /* GL_SGIX_vector_ops */
  13799. #ifdef GL_SGIX_vertex_array_object
  13800. static GLboolean _glewInit_GL_SGIX_vertex_array_object ()
  13801. {
  13802. GLboolean r = GL_FALSE;
  13803. r = ((glAreVertexArraysResidentSGIX = (PFNGLAREVERTEXARRAYSRESIDENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glAreVertexArraysResidentSGIX")) == NULL) || r;
  13804. r = ((glBindVertexArraySGIX = (PFNGLBINDVERTEXARRAYSGIXPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArraySGIX")) == NULL) || r;
  13805. r = ((glDeleteVertexArraysSGIX = (PFNGLDELETEVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysSGIX")) == NULL) || r;
  13806. r = ((glGenVertexArraysSGIX = (PFNGLGENVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysSGIX")) == NULL) || r;
  13807. r = ((glIsVertexArraySGIX = (PFNGLISVERTEXARRAYSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArraySGIX")) == NULL) || r;
  13808. r = ((glPrioritizeVertexArraysSGIX = (PFNGLPRIORITIZEVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeVertexArraysSGIX")) == NULL) || r;
  13809. return r;
  13810. }
  13811. #endif /* GL_SGIX_vertex_array_object */
  13812. #ifdef GL_SGI_color_table
  13813. static GLboolean _glewInit_GL_SGI_color_table ()
  13814. {
  13815. GLboolean r = GL_FALSE;
  13816. r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r;
  13817. r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r;
  13818. r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r;
  13819. r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r;
  13820. r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r;
  13821. r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r;
  13822. r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r;
  13823. return r;
  13824. }
  13825. #endif /* GL_SGI_color_table */
  13826. #ifdef GL_SGI_fft
  13827. static GLboolean _glewInit_GL_SGI_fft ()
  13828. {
  13829. GLboolean r = GL_FALSE;
  13830. r = ((glGetPixelTransformParameterfvSGI = (PFNGLGETPIXELTRANSFORMPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvSGI")) == NULL) || r;
  13831. r = ((glGetPixelTransformParameterivSGI = (PFNGLGETPIXELTRANSFORMPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivSGI")) == NULL) || r;
  13832. r = ((glPixelTransformParameterfSGI = (PFNGLPIXELTRANSFORMPARAMETERFSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfSGI")) == NULL) || r;
  13833. r = ((glPixelTransformParameterfvSGI = (PFNGLPIXELTRANSFORMPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvSGI")) == NULL) || r;
  13834. r = ((glPixelTransformParameteriSGI = (PFNGLPIXELTRANSFORMPARAMETERISGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriSGI")) == NULL) || r;
  13835. r = ((glPixelTransformParameterivSGI = (PFNGLPIXELTRANSFORMPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivSGI")) == NULL) || r;
  13836. r = ((glPixelTransformSGI = (PFNGLPIXELTRANSFORMSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformSGI")) == NULL) || r;
  13837. return r;
  13838. }
  13839. #endif /* GL_SGI_fft */
  13840. #ifdef GL_SUNX_constant_data
  13841. static GLboolean _glewInit_GL_SUNX_constant_data ()
  13842. {
  13843. GLboolean r = GL_FALSE;
  13844. r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r;
  13845. return r;
  13846. }
  13847. #endif /* GL_SUNX_constant_data */
  13848. #ifdef GL_SUN_global_alpha
  13849. static GLboolean _glewInit_GL_SUN_global_alpha ()
  13850. {
  13851. GLboolean r = GL_FALSE;
  13852. r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r;
  13853. r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r;
  13854. r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r;
  13855. r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r;
  13856. r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r;
  13857. r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r;
  13858. r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r;
  13859. r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r;
  13860. return r;
  13861. }
  13862. #endif /* GL_SUN_global_alpha */
  13863. #ifdef GL_SUN_read_video_pixels
  13864. static GLboolean _glewInit_GL_SUN_read_video_pixels ()
  13865. {
  13866. GLboolean r = GL_FALSE;
  13867. r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r;
  13868. return r;
  13869. }
  13870. #endif /* GL_SUN_read_video_pixels */
  13871. #ifdef GL_SUN_triangle_list
  13872. static GLboolean _glewInit_GL_SUN_triangle_list ()
  13873. {
  13874. GLboolean r = GL_FALSE;
  13875. r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r;
  13876. r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r;
  13877. r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r;
  13878. r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r;
  13879. r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r;
  13880. r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r;
  13881. r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r;
  13882. return r;
  13883. }
  13884. #endif /* GL_SUN_triangle_list */
  13885. #ifdef GL_SUN_vertex
  13886. static GLboolean _glewInit_GL_SUN_vertex ()
  13887. {
  13888. GLboolean r = GL_FALSE;
  13889. r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r;
  13890. r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r;
  13891. r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r;
  13892. r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r;
  13893. r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r;
  13894. r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r;
  13895. r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r;
  13896. r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r;
  13897. r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r;
  13898. r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r;
  13899. r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r;
  13900. r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r;
  13901. r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r;
  13902. r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r;
  13903. r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r;
  13904. r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r;
  13905. r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r;
  13906. r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r;
  13907. r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
  13908. r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
  13909. r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
  13910. r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
  13911. r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r;
  13912. r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r;
  13913. r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r;
  13914. r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r;
  13915. r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r;
  13916. r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r;
  13917. r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
  13918. r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
  13919. r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r;
  13920. r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r;
  13921. r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
  13922. r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
  13923. r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r;
  13924. r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r;
  13925. r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r;
  13926. r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r;
  13927. r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r;
  13928. r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r;
  13929. return r;
  13930. }
  13931. #endif /* GL_SUN_vertex */
  13932. #ifdef GL_WIN_swap_hint
  13933. static GLboolean _glewInit_GL_WIN_swap_hint ()
  13934. {
  13935. GLboolean r = GL_FALSE;
  13936. r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r;
  13937. return r;
  13938. }
  13939. #endif /* GL_WIN_swap_hint */
  13940. /* ------------------------------------------------------------------------- */
  13941. static int _glewExtensionCompare(const char *s1, const char *s2)
  13942. {
  13943. /* http://www.chanduthedev.com/2012/07/strcmp-implementation-in-c.html */
  13944. while (*s1 || *s2)
  13945. {
  13946. if (*s1 > *s2)
  13947. return 1;
  13948. if (*s1 < *s2)
  13949. return -1;
  13950. s1++;
  13951. s2++;
  13952. }
  13953. return 0;
  13954. }
  13955. static ptrdiff_t _glewBsearchExtension(const char* name)
  13956. {
  13957. ptrdiff_t lo = 0, hi = sizeof(_glewExtensionLookup) / sizeof(char*) - 2;
  13958. while (lo <= hi)
  13959. {
  13960. ptrdiff_t mid = (lo + hi) / 2;
  13961. const int cmp = _glewExtensionCompare(name, _glewExtensionLookup[mid]);
  13962. if (cmp < 0) hi = mid - 1;
  13963. else if (cmp > 0) lo = mid + 1;
  13964. else return mid;
  13965. }
  13966. return -1;
  13967. }
  13968. static GLboolean *_glewGetExtensionString(const char *name)
  13969. {
  13970. ptrdiff_t n = _glewBsearchExtension(name);
  13971. if (n >= 0) return &_glewExtensionString[n];
  13972. return NULL;
  13973. }
  13974. static GLboolean *_glewGetExtensionEnable(const char *name)
  13975. {
  13976. ptrdiff_t n = _glewBsearchExtension(name);
  13977. if (n >= 0) return _glewExtensionEnabled[n];
  13978. return NULL;
  13979. }
  13980. static const char *_glewNextSpace(const char *i)
  13981. {
  13982. const char *j = i;
  13983. if (j)
  13984. while (*j!=' ' && *j) ++j;
  13985. return j;
  13986. }
  13987. static const char *_glewNextNonSpace(const char *i)
  13988. {
  13989. const char *j = i;
  13990. if (j)
  13991. while (*j==' ') ++j;
  13992. return j;
  13993. }
  13994. GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
  13995. {
  13996. GLboolean *enable = _glewGetExtensionString(name);
  13997. if (enable)
  13998. return *enable;
  13999. return GL_FALSE;
  14000. }
  14001. /* ------------------------------------------------------------------------- */
  14002. typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name);
  14003. typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
  14004. static GLenum GLEWAPIENTRY glewContextInit ()
  14005. {
  14006. PFNGLGETSTRINGPROC getString;
  14007. const GLubyte* s;
  14008. GLuint dot;
  14009. GLint major, minor;
  14010. size_t n;
  14011. #ifdef _WIN32
  14012. getString = glGetString;
  14013. #else
  14014. getString = (PFNGLGETSTRINGPROC) glewGetProcAddress((const GLubyte*)"glGetString");
  14015. if (!getString)
  14016. return GLEW_ERROR_NO_GL_VERSION;
  14017. #endif
  14018. /* query opengl version */
  14019. s = getString(GL_VERSION);
  14020. dot = _glewStrCLen(s, '.');
  14021. if (dot == 0)
  14022. return GLEW_ERROR_NO_GL_VERSION;
  14023. major = s[dot-1]-'0';
  14024. minor = s[dot+1]-'0';
  14025. if (minor < 0 || minor > 9)
  14026. minor = 0;
  14027. if (major<0 || major>9)
  14028. return GLEW_ERROR_NO_GL_VERSION;
  14029. if (major == 1 && minor == 0)
  14030. {
  14031. return GLEW_ERROR_GL_VERSION_10_ONLY;
  14032. }
  14033. else
  14034. {
  14035. GLEW_VERSION_4_6 = ( major > 4 ) || ( major == 4 && minor >= 6 ) ? GL_TRUE : GL_FALSE;
  14036. GLEW_VERSION_4_5 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
  14037. GLEW_VERSION_4_4 = GLEW_VERSION_4_5 == GL_TRUE || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
  14038. GLEW_VERSION_4_3 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
  14039. GLEW_VERSION_4_2 = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
  14040. GLEW_VERSION_4_1 = GLEW_VERSION_4_2 == GL_TRUE || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
  14041. GLEW_VERSION_4_0 = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
  14042. GLEW_VERSION_3_3 = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
  14043. GLEW_VERSION_3_2 = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
  14044. GLEW_VERSION_3_1 = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
  14045. GLEW_VERSION_3_0 = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
  14046. GLEW_VERSION_2_1 = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
  14047. GLEW_VERSION_2_0 = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
  14048. GLEW_VERSION_1_5 = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
  14049. GLEW_VERSION_1_4 = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
  14050. GLEW_VERSION_1_3 = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
  14051. GLEW_VERSION_1_2_1 = GLEW_VERSION_1_3 == GL_TRUE ? GL_TRUE : GL_FALSE;
  14052. GLEW_VERSION_1_2 = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
  14053. GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
  14054. }
  14055. for (n = 0; n < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++n)
  14056. _glewExtensionString[n] = GL_FALSE;
  14057. if (GLEW_VERSION_3_0)
  14058. {
  14059. GLint n = 0;
  14060. GLint i;
  14061. PFNGLGETINTEGERVPROC getIntegerv;
  14062. PFNGLGETSTRINGIPROC getStringi;
  14063. const char *ext;
  14064. GLboolean *enable;
  14065. #ifdef _WIN32
  14066. getIntegerv = glGetIntegerv;
  14067. #else
  14068. getIntegerv = (PFNGLGETINTEGERVPROC) glewGetProcAddress((const GLubyte*)"glGetIntegerv");
  14069. #endif
  14070. if (getIntegerv)
  14071. getIntegerv(GL_NUM_EXTENSIONS, &n);
  14072. /* glGetStringi is OpenGL 3.0 */
  14073. getStringi = (PFNGLGETSTRINGIPROC) glewGetProcAddress((const GLubyte*)"glGetStringi");
  14074. if (getStringi)
  14075. for (i = 0; i<n; ++i)
  14076. {
  14077. ext = (const char *) getStringi(GL_EXTENSIONS, i);
  14078. /* Based on extension string(s), glewGetExtension purposes */
  14079. enable = _glewGetExtensionString(ext);
  14080. if (enable)
  14081. *enable = GL_TRUE;
  14082. /* Based on extension string(s), experimental mode, glewIsSupported purposes */
  14083. enable = _glewGetExtensionEnable(ext);
  14084. if (enable)
  14085. *enable = GL_TRUE;
  14086. }
  14087. }
  14088. else
  14089. {
  14090. const char *extensions;
  14091. const char *end;
  14092. const char *i;
  14093. const char *j;
  14094. char ext[128];
  14095. GLboolean *enable;
  14096. extensions = (const char *) getString(GL_EXTENSIONS);
  14097. if (extensions)
  14098. {
  14099. end = extensions + _glewStrLen((const GLubyte *) extensions);
  14100. for (i=extensions; i<end; i = j + 1)
  14101. {
  14102. i = _glewNextNonSpace(i);
  14103. j = _glewNextSpace(i);
  14104. /* Copy extension into NUL terminated string */
  14105. if (j-i >= (ptrdiff_t) sizeof(ext))
  14106. continue;
  14107. _glewStrCopy(ext, i, ' ');
  14108. /* Based on extension string(s), glewGetExtension purposes */
  14109. enable = _glewGetExtensionString(ext);
  14110. if (enable)
  14111. *enable = GL_TRUE;
  14112. /* Based on extension string(s), experimental mode, glewIsSupported purposes */
  14113. enable = _glewGetExtensionEnable(ext);
  14114. if (enable)
  14115. *enable = GL_TRUE;
  14116. }
  14117. }
  14118. }
  14119. #ifdef GL_VERSION_1_2
  14120. if (glewExperimental || GLEW_VERSION_1_2) GLEW_VERSION_1_2 = !_glewInit_GL_VERSION_1_2();
  14121. #endif /* GL_VERSION_1_2 */
  14122. #ifdef GL_VERSION_1_3
  14123. if (glewExperimental || GLEW_VERSION_1_3) GLEW_VERSION_1_3 = !_glewInit_GL_VERSION_1_3();
  14124. #endif /* GL_VERSION_1_3 */
  14125. #ifdef GL_VERSION_1_4
  14126. if (glewExperimental || GLEW_VERSION_1_4) GLEW_VERSION_1_4 = !_glewInit_GL_VERSION_1_4();
  14127. #endif /* GL_VERSION_1_4 */
  14128. #ifdef GL_VERSION_1_5
  14129. if (glewExperimental || GLEW_VERSION_1_5) GLEW_VERSION_1_5 = !_glewInit_GL_VERSION_1_5();
  14130. #endif /* GL_VERSION_1_5 */
  14131. #ifdef GL_VERSION_2_0
  14132. if (glewExperimental || GLEW_VERSION_2_0) GLEW_VERSION_2_0 = !_glewInit_GL_VERSION_2_0();
  14133. #endif /* GL_VERSION_2_0 */
  14134. #ifdef GL_VERSION_2_1
  14135. if (glewExperimental || GLEW_VERSION_2_1) GLEW_VERSION_2_1 = !_glewInit_GL_VERSION_2_1();
  14136. #endif /* GL_VERSION_2_1 */
  14137. #ifdef GL_VERSION_3_0
  14138. if (glewExperimental || GLEW_VERSION_3_0) GLEW_VERSION_3_0 = !_glewInit_GL_VERSION_3_0();
  14139. #endif /* GL_VERSION_3_0 */
  14140. #ifdef GL_VERSION_3_1
  14141. if (glewExperimental || GLEW_VERSION_3_1) GLEW_VERSION_3_1 = !_glewInit_GL_VERSION_3_1();
  14142. #endif /* GL_VERSION_3_1 */
  14143. #ifdef GL_VERSION_3_2
  14144. if (glewExperimental || GLEW_VERSION_3_2) GLEW_VERSION_3_2 = !_glewInit_GL_VERSION_3_2();
  14145. #endif /* GL_VERSION_3_2 */
  14146. #ifdef GL_VERSION_3_3
  14147. if (glewExperimental || GLEW_VERSION_3_3) GLEW_VERSION_3_3 = !_glewInit_GL_VERSION_3_3();
  14148. #endif /* GL_VERSION_3_3 */
  14149. #ifdef GL_VERSION_4_0
  14150. if (glewExperimental || GLEW_VERSION_4_0) GLEW_VERSION_4_0 = !_glewInit_GL_VERSION_4_0();
  14151. #endif /* GL_VERSION_4_0 */
  14152. #ifdef GL_VERSION_4_5
  14153. if (glewExperimental || GLEW_VERSION_4_5) GLEW_VERSION_4_5 = !_glewInit_GL_VERSION_4_5();
  14154. #endif /* GL_VERSION_4_5 */
  14155. #ifdef GL_VERSION_4_6
  14156. if (glewExperimental || GLEW_VERSION_4_6) GLEW_VERSION_4_6 = !_glewInit_GL_VERSION_4_6();
  14157. #endif /* GL_VERSION_4_6 */
  14158. #ifdef GL_3DFX_tbuffer
  14159. if (glewExperimental || GLEW_3DFX_tbuffer) GLEW_3DFX_tbuffer = !_glewInit_GL_3DFX_tbuffer();
  14160. #endif /* GL_3DFX_tbuffer */
  14161. #ifdef GL_AMD_debug_output
  14162. if (glewExperimental || GLEW_AMD_debug_output) GLEW_AMD_debug_output = !_glewInit_GL_AMD_debug_output();
  14163. #endif /* GL_AMD_debug_output */
  14164. #ifdef GL_AMD_draw_buffers_blend
  14165. if (glewExperimental || GLEW_AMD_draw_buffers_blend) GLEW_AMD_draw_buffers_blend = !_glewInit_GL_AMD_draw_buffers_blend();
  14166. #endif /* GL_AMD_draw_buffers_blend */
  14167. #ifdef GL_AMD_framebuffer_sample_positions
  14168. if (glewExperimental || GLEW_AMD_framebuffer_sample_positions) GLEW_AMD_framebuffer_sample_positions = !_glewInit_GL_AMD_framebuffer_sample_positions();
  14169. #endif /* GL_AMD_framebuffer_sample_positions */
  14170. #ifdef GL_AMD_interleaved_elements
  14171. if (glewExperimental || GLEW_AMD_interleaved_elements) GLEW_AMD_interleaved_elements = !_glewInit_GL_AMD_interleaved_elements();
  14172. #endif /* GL_AMD_interleaved_elements */
  14173. #ifdef GL_AMD_multi_draw_indirect
  14174. if (glewExperimental || GLEW_AMD_multi_draw_indirect) GLEW_AMD_multi_draw_indirect = !_glewInit_GL_AMD_multi_draw_indirect();
  14175. #endif /* GL_AMD_multi_draw_indirect */
  14176. #ifdef GL_AMD_name_gen_delete
  14177. if (glewExperimental || GLEW_AMD_name_gen_delete) GLEW_AMD_name_gen_delete = !_glewInit_GL_AMD_name_gen_delete();
  14178. #endif /* GL_AMD_name_gen_delete */
  14179. #ifdef GL_AMD_occlusion_query_event
  14180. if (glewExperimental || GLEW_AMD_occlusion_query_event) GLEW_AMD_occlusion_query_event = !_glewInit_GL_AMD_occlusion_query_event();
  14181. #endif /* GL_AMD_occlusion_query_event */
  14182. #ifdef GL_AMD_performance_monitor
  14183. if (glewExperimental || GLEW_AMD_performance_monitor) GLEW_AMD_performance_monitor = !_glewInit_GL_AMD_performance_monitor();
  14184. #endif /* GL_AMD_performance_monitor */
  14185. #ifdef GL_AMD_sample_positions
  14186. if (glewExperimental || GLEW_AMD_sample_positions) GLEW_AMD_sample_positions = !_glewInit_GL_AMD_sample_positions();
  14187. #endif /* GL_AMD_sample_positions */
  14188. #ifdef GL_AMD_sparse_texture
  14189. if (glewExperimental || GLEW_AMD_sparse_texture) GLEW_AMD_sparse_texture = !_glewInit_GL_AMD_sparse_texture();
  14190. #endif /* GL_AMD_sparse_texture */
  14191. #ifdef GL_AMD_stencil_operation_extended
  14192. if (glewExperimental || GLEW_AMD_stencil_operation_extended) GLEW_AMD_stencil_operation_extended = !_glewInit_GL_AMD_stencil_operation_extended();
  14193. #endif /* GL_AMD_stencil_operation_extended */
  14194. #ifdef GL_AMD_vertex_shader_tessellator
  14195. if (glewExperimental || GLEW_AMD_vertex_shader_tessellator) GLEW_AMD_vertex_shader_tessellator = !_glewInit_GL_AMD_vertex_shader_tessellator();
  14196. #endif /* GL_AMD_vertex_shader_tessellator */
  14197. #ifdef GL_ANGLE_framebuffer_blit
  14198. if (glewExperimental || GLEW_ANGLE_framebuffer_blit) GLEW_ANGLE_framebuffer_blit = !_glewInit_GL_ANGLE_framebuffer_blit();
  14199. #endif /* GL_ANGLE_framebuffer_blit */
  14200. #ifdef GL_ANGLE_framebuffer_multisample
  14201. if (glewExperimental || GLEW_ANGLE_framebuffer_multisample) GLEW_ANGLE_framebuffer_multisample = !_glewInit_GL_ANGLE_framebuffer_multisample();
  14202. #endif /* GL_ANGLE_framebuffer_multisample */
  14203. #ifdef GL_ANGLE_instanced_arrays
  14204. if (glewExperimental || GLEW_ANGLE_instanced_arrays) GLEW_ANGLE_instanced_arrays = !_glewInit_GL_ANGLE_instanced_arrays();
  14205. #endif /* GL_ANGLE_instanced_arrays */
  14206. #ifdef GL_ANGLE_timer_query
  14207. if (glewExperimental || GLEW_ANGLE_timer_query) GLEW_ANGLE_timer_query = !_glewInit_GL_ANGLE_timer_query();
  14208. #endif /* GL_ANGLE_timer_query */
  14209. #ifdef GL_ANGLE_translated_shader_source
  14210. if (glewExperimental || GLEW_ANGLE_translated_shader_source) GLEW_ANGLE_translated_shader_source = !_glewInit_GL_ANGLE_translated_shader_source();
  14211. #endif /* GL_ANGLE_translated_shader_source */
  14212. #ifdef GL_APPLE_copy_texture_levels
  14213. if (glewExperimental || GLEW_APPLE_copy_texture_levels) GLEW_APPLE_copy_texture_levels = !_glewInit_GL_APPLE_copy_texture_levels();
  14214. #endif /* GL_APPLE_copy_texture_levels */
  14215. #ifdef GL_APPLE_element_array
  14216. if (glewExperimental || GLEW_APPLE_element_array) GLEW_APPLE_element_array = !_glewInit_GL_APPLE_element_array();
  14217. #endif /* GL_APPLE_element_array */
  14218. #ifdef GL_APPLE_fence
  14219. if (glewExperimental || GLEW_APPLE_fence) GLEW_APPLE_fence = !_glewInit_GL_APPLE_fence();
  14220. #endif /* GL_APPLE_fence */
  14221. #ifdef GL_APPLE_flush_buffer_range
  14222. if (glewExperimental || GLEW_APPLE_flush_buffer_range) GLEW_APPLE_flush_buffer_range = !_glewInit_GL_APPLE_flush_buffer_range();
  14223. #endif /* GL_APPLE_flush_buffer_range */
  14224. #ifdef GL_APPLE_framebuffer_multisample
  14225. if (glewExperimental || GLEW_APPLE_framebuffer_multisample) GLEW_APPLE_framebuffer_multisample = !_glewInit_GL_APPLE_framebuffer_multisample();
  14226. #endif /* GL_APPLE_framebuffer_multisample */
  14227. #ifdef GL_APPLE_object_purgeable
  14228. if (glewExperimental || GLEW_APPLE_object_purgeable) GLEW_APPLE_object_purgeable = !_glewInit_GL_APPLE_object_purgeable();
  14229. #endif /* GL_APPLE_object_purgeable */
  14230. #ifdef GL_APPLE_sync
  14231. if (glewExperimental || GLEW_APPLE_sync) GLEW_APPLE_sync = !_glewInit_GL_APPLE_sync();
  14232. #endif /* GL_APPLE_sync */
  14233. #ifdef GL_APPLE_texture_range
  14234. if (glewExperimental || GLEW_APPLE_texture_range) GLEW_APPLE_texture_range = !_glewInit_GL_APPLE_texture_range();
  14235. #endif /* GL_APPLE_texture_range */
  14236. #ifdef GL_APPLE_vertex_array_object
  14237. if (glewExperimental || GLEW_APPLE_vertex_array_object) GLEW_APPLE_vertex_array_object = !_glewInit_GL_APPLE_vertex_array_object();
  14238. #endif /* GL_APPLE_vertex_array_object */
  14239. #ifdef GL_APPLE_vertex_array_range
  14240. if (glewExperimental || GLEW_APPLE_vertex_array_range) GLEW_APPLE_vertex_array_range = !_glewInit_GL_APPLE_vertex_array_range();
  14241. #endif /* GL_APPLE_vertex_array_range */
  14242. #ifdef GL_APPLE_vertex_program_evaluators
  14243. if (glewExperimental || GLEW_APPLE_vertex_program_evaluators) GLEW_APPLE_vertex_program_evaluators = !_glewInit_GL_APPLE_vertex_program_evaluators();
  14244. #endif /* GL_APPLE_vertex_program_evaluators */
  14245. #ifdef GL_ARB_ES2_compatibility
  14246. if (glewExperimental || GLEW_ARB_ES2_compatibility) GLEW_ARB_ES2_compatibility = !_glewInit_GL_ARB_ES2_compatibility();
  14247. #endif /* GL_ARB_ES2_compatibility */
  14248. #ifdef GL_ARB_ES3_1_compatibility
  14249. if (glewExperimental || GLEW_ARB_ES3_1_compatibility) GLEW_ARB_ES3_1_compatibility = !_glewInit_GL_ARB_ES3_1_compatibility();
  14250. #endif /* GL_ARB_ES3_1_compatibility */
  14251. #ifdef GL_ARB_ES3_2_compatibility
  14252. if (glewExperimental || GLEW_ARB_ES3_2_compatibility) GLEW_ARB_ES3_2_compatibility = !_glewInit_GL_ARB_ES3_2_compatibility();
  14253. #endif /* GL_ARB_ES3_2_compatibility */
  14254. #ifdef GL_ARB_base_instance
  14255. if (glewExperimental || GLEW_ARB_base_instance) GLEW_ARB_base_instance = !_glewInit_GL_ARB_base_instance();
  14256. #endif /* GL_ARB_base_instance */
  14257. #ifdef GL_ARB_bindless_texture
  14258. if (glewExperimental || GLEW_ARB_bindless_texture) GLEW_ARB_bindless_texture = !_glewInit_GL_ARB_bindless_texture();
  14259. #endif /* GL_ARB_bindless_texture */
  14260. #ifdef GL_ARB_blend_func_extended
  14261. if (glewExperimental || GLEW_ARB_blend_func_extended) GLEW_ARB_blend_func_extended = !_glewInit_GL_ARB_blend_func_extended();
  14262. #endif /* GL_ARB_blend_func_extended */
  14263. #ifdef GL_ARB_buffer_storage
  14264. if (glewExperimental || GLEW_ARB_buffer_storage) GLEW_ARB_buffer_storage = !_glewInit_GL_ARB_buffer_storage();
  14265. #endif /* GL_ARB_buffer_storage */
  14266. #ifdef GL_ARB_cl_event
  14267. if (glewExperimental || GLEW_ARB_cl_event) GLEW_ARB_cl_event = !_glewInit_GL_ARB_cl_event();
  14268. #endif /* GL_ARB_cl_event */
  14269. #ifdef GL_ARB_clear_buffer_object
  14270. if (glewExperimental || GLEW_ARB_clear_buffer_object) GLEW_ARB_clear_buffer_object = !_glewInit_GL_ARB_clear_buffer_object();
  14271. #endif /* GL_ARB_clear_buffer_object */
  14272. #ifdef GL_ARB_clear_texture
  14273. if (glewExperimental || GLEW_ARB_clear_texture) GLEW_ARB_clear_texture = !_glewInit_GL_ARB_clear_texture();
  14274. #endif /* GL_ARB_clear_texture */
  14275. #ifdef GL_ARB_clip_control
  14276. if (glewExperimental || GLEW_ARB_clip_control) GLEW_ARB_clip_control = !_glewInit_GL_ARB_clip_control();
  14277. #endif /* GL_ARB_clip_control */
  14278. #ifdef GL_ARB_color_buffer_float
  14279. if (glewExperimental || GLEW_ARB_color_buffer_float) GLEW_ARB_color_buffer_float = !_glewInit_GL_ARB_color_buffer_float();
  14280. #endif /* GL_ARB_color_buffer_float */
  14281. #ifdef GL_ARB_compute_shader
  14282. if (glewExperimental || GLEW_ARB_compute_shader) GLEW_ARB_compute_shader = !_glewInit_GL_ARB_compute_shader();
  14283. #endif /* GL_ARB_compute_shader */
  14284. #ifdef GL_ARB_compute_variable_group_size
  14285. if (glewExperimental || GLEW_ARB_compute_variable_group_size) GLEW_ARB_compute_variable_group_size = !_glewInit_GL_ARB_compute_variable_group_size();
  14286. #endif /* GL_ARB_compute_variable_group_size */
  14287. #ifdef GL_ARB_copy_buffer
  14288. if (glewExperimental || GLEW_ARB_copy_buffer) GLEW_ARB_copy_buffer = !_glewInit_GL_ARB_copy_buffer();
  14289. #endif /* GL_ARB_copy_buffer */
  14290. #ifdef GL_ARB_copy_image
  14291. if (glewExperimental || GLEW_ARB_copy_image) GLEW_ARB_copy_image = !_glewInit_GL_ARB_copy_image();
  14292. #endif /* GL_ARB_copy_image */
  14293. #ifdef GL_ARB_debug_output
  14294. if (glewExperimental || GLEW_ARB_debug_output) GLEW_ARB_debug_output = !_glewInit_GL_ARB_debug_output();
  14295. #endif /* GL_ARB_debug_output */
  14296. #ifdef GL_ARB_direct_state_access
  14297. if (glewExperimental || GLEW_ARB_direct_state_access) GLEW_ARB_direct_state_access = !_glewInit_GL_ARB_direct_state_access();
  14298. #endif /* GL_ARB_direct_state_access */
  14299. #ifdef GL_ARB_draw_buffers
  14300. if (glewExperimental || GLEW_ARB_draw_buffers) GLEW_ARB_draw_buffers = !_glewInit_GL_ARB_draw_buffers();
  14301. #endif /* GL_ARB_draw_buffers */
  14302. #ifdef GL_ARB_draw_buffers_blend
  14303. if (glewExperimental || GLEW_ARB_draw_buffers_blend) GLEW_ARB_draw_buffers_blend = !_glewInit_GL_ARB_draw_buffers_blend();
  14304. #endif /* GL_ARB_draw_buffers_blend */
  14305. #ifdef GL_ARB_draw_elements_base_vertex
  14306. if (glewExperimental || GLEW_ARB_draw_elements_base_vertex) GLEW_ARB_draw_elements_base_vertex = !_glewInit_GL_ARB_draw_elements_base_vertex();
  14307. #endif /* GL_ARB_draw_elements_base_vertex */
  14308. #ifdef GL_ARB_draw_indirect
  14309. if (glewExperimental || GLEW_ARB_draw_indirect) GLEW_ARB_draw_indirect = !_glewInit_GL_ARB_draw_indirect();
  14310. #endif /* GL_ARB_draw_indirect */
  14311. #ifdef GL_ARB_framebuffer_no_attachments
  14312. if (glewExperimental || GLEW_ARB_framebuffer_no_attachments) GLEW_ARB_framebuffer_no_attachments = !_glewInit_GL_ARB_framebuffer_no_attachments();
  14313. #endif /* GL_ARB_framebuffer_no_attachments */
  14314. #ifdef GL_ARB_framebuffer_object
  14315. if (glewExperimental || GLEW_ARB_framebuffer_object) GLEW_ARB_framebuffer_object = !_glewInit_GL_ARB_framebuffer_object();
  14316. #endif /* GL_ARB_framebuffer_object */
  14317. #ifdef GL_ARB_geometry_shader4
  14318. if (glewExperimental || GLEW_ARB_geometry_shader4) GLEW_ARB_geometry_shader4 = !_glewInit_GL_ARB_geometry_shader4();
  14319. #endif /* GL_ARB_geometry_shader4 */
  14320. #ifdef GL_ARB_get_program_binary
  14321. if (glewExperimental || GLEW_ARB_get_program_binary) GLEW_ARB_get_program_binary = !_glewInit_GL_ARB_get_program_binary();
  14322. #endif /* GL_ARB_get_program_binary */
  14323. #ifdef GL_ARB_get_texture_sub_image
  14324. if (glewExperimental || GLEW_ARB_get_texture_sub_image) GLEW_ARB_get_texture_sub_image = !_glewInit_GL_ARB_get_texture_sub_image();
  14325. #endif /* GL_ARB_get_texture_sub_image */
  14326. #ifdef GL_ARB_gl_spirv
  14327. if (glewExperimental || GLEW_ARB_gl_spirv) GLEW_ARB_gl_spirv = !_glewInit_GL_ARB_gl_spirv();
  14328. #endif /* GL_ARB_gl_spirv */
  14329. #ifdef GL_ARB_gpu_shader_fp64
  14330. if (glewExperimental || GLEW_ARB_gpu_shader_fp64) GLEW_ARB_gpu_shader_fp64 = !_glewInit_GL_ARB_gpu_shader_fp64();
  14331. #endif /* GL_ARB_gpu_shader_fp64 */
  14332. #ifdef GL_ARB_gpu_shader_int64
  14333. if (glewExperimental || GLEW_ARB_gpu_shader_int64) GLEW_ARB_gpu_shader_int64 = !_glewInit_GL_ARB_gpu_shader_int64();
  14334. #endif /* GL_ARB_gpu_shader_int64 */
  14335. #ifdef GL_ARB_imaging
  14336. if (glewExperimental || GLEW_ARB_imaging) GLEW_ARB_imaging = !_glewInit_GL_ARB_imaging();
  14337. #endif /* GL_ARB_imaging */
  14338. #ifdef GL_ARB_indirect_parameters
  14339. if (glewExperimental || GLEW_ARB_indirect_parameters) GLEW_ARB_indirect_parameters = !_glewInit_GL_ARB_indirect_parameters();
  14340. #endif /* GL_ARB_indirect_parameters */
  14341. #ifdef GL_ARB_instanced_arrays
  14342. if (glewExperimental || GLEW_ARB_instanced_arrays) GLEW_ARB_instanced_arrays = !_glewInit_GL_ARB_instanced_arrays();
  14343. #endif /* GL_ARB_instanced_arrays */
  14344. #ifdef GL_ARB_internalformat_query
  14345. if (glewExperimental || GLEW_ARB_internalformat_query) GLEW_ARB_internalformat_query = !_glewInit_GL_ARB_internalformat_query();
  14346. #endif /* GL_ARB_internalformat_query */
  14347. #ifdef GL_ARB_internalformat_query2
  14348. if (glewExperimental || GLEW_ARB_internalformat_query2) GLEW_ARB_internalformat_query2 = !_glewInit_GL_ARB_internalformat_query2();
  14349. #endif /* GL_ARB_internalformat_query2 */
  14350. #ifdef GL_ARB_invalidate_subdata
  14351. if (glewExperimental || GLEW_ARB_invalidate_subdata) GLEW_ARB_invalidate_subdata = !_glewInit_GL_ARB_invalidate_subdata();
  14352. #endif /* GL_ARB_invalidate_subdata */
  14353. #ifdef GL_ARB_map_buffer_range
  14354. if (glewExperimental || GLEW_ARB_map_buffer_range) GLEW_ARB_map_buffer_range = !_glewInit_GL_ARB_map_buffer_range();
  14355. #endif /* GL_ARB_map_buffer_range */
  14356. #ifdef GL_ARB_matrix_palette
  14357. if (glewExperimental || GLEW_ARB_matrix_palette) GLEW_ARB_matrix_palette = !_glewInit_GL_ARB_matrix_palette();
  14358. #endif /* GL_ARB_matrix_palette */
  14359. #ifdef GL_ARB_multi_bind
  14360. if (glewExperimental || GLEW_ARB_multi_bind) GLEW_ARB_multi_bind = !_glewInit_GL_ARB_multi_bind();
  14361. #endif /* GL_ARB_multi_bind */
  14362. #ifdef GL_ARB_multi_draw_indirect
  14363. if (glewExperimental || GLEW_ARB_multi_draw_indirect) GLEW_ARB_multi_draw_indirect = !_glewInit_GL_ARB_multi_draw_indirect();
  14364. #endif /* GL_ARB_multi_draw_indirect */
  14365. #ifdef GL_ARB_multisample
  14366. if (glewExperimental || GLEW_ARB_multisample) GLEW_ARB_multisample = !_glewInit_GL_ARB_multisample();
  14367. #endif /* GL_ARB_multisample */
  14368. #ifdef GL_ARB_multitexture
  14369. if (glewExperimental || GLEW_ARB_multitexture) GLEW_ARB_multitexture = !_glewInit_GL_ARB_multitexture();
  14370. #endif /* GL_ARB_multitexture */
  14371. #ifdef GL_ARB_occlusion_query
  14372. if (glewExperimental || GLEW_ARB_occlusion_query) GLEW_ARB_occlusion_query = !_glewInit_GL_ARB_occlusion_query();
  14373. #endif /* GL_ARB_occlusion_query */
  14374. #ifdef GL_ARB_parallel_shader_compile
  14375. if (glewExperimental || GLEW_ARB_parallel_shader_compile) GLEW_ARB_parallel_shader_compile = !_glewInit_GL_ARB_parallel_shader_compile();
  14376. #endif /* GL_ARB_parallel_shader_compile */
  14377. #ifdef GL_ARB_point_parameters
  14378. if (glewExperimental || GLEW_ARB_point_parameters) GLEW_ARB_point_parameters = !_glewInit_GL_ARB_point_parameters();
  14379. #endif /* GL_ARB_point_parameters */
  14380. #ifdef GL_ARB_polygon_offset_clamp
  14381. if (glewExperimental || GLEW_ARB_polygon_offset_clamp) GLEW_ARB_polygon_offset_clamp = !_glewInit_GL_ARB_polygon_offset_clamp();
  14382. #endif /* GL_ARB_polygon_offset_clamp */
  14383. #ifdef GL_ARB_program_interface_query
  14384. if (glewExperimental || GLEW_ARB_program_interface_query) GLEW_ARB_program_interface_query = !_glewInit_GL_ARB_program_interface_query();
  14385. #endif /* GL_ARB_program_interface_query */
  14386. #ifdef GL_ARB_provoking_vertex
  14387. if (glewExperimental || GLEW_ARB_provoking_vertex) GLEW_ARB_provoking_vertex = !_glewInit_GL_ARB_provoking_vertex();
  14388. #endif /* GL_ARB_provoking_vertex */
  14389. #ifdef GL_ARB_robustness
  14390. if (glewExperimental || GLEW_ARB_robustness) GLEW_ARB_robustness = !_glewInit_GL_ARB_robustness();
  14391. #endif /* GL_ARB_robustness */
  14392. #ifdef GL_ARB_sample_locations
  14393. if (glewExperimental || GLEW_ARB_sample_locations) GLEW_ARB_sample_locations = !_glewInit_GL_ARB_sample_locations();
  14394. #endif /* GL_ARB_sample_locations */
  14395. #ifdef GL_ARB_sample_shading
  14396. if (glewExperimental || GLEW_ARB_sample_shading) GLEW_ARB_sample_shading = !_glewInit_GL_ARB_sample_shading();
  14397. #endif /* GL_ARB_sample_shading */
  14398. #ifdef GL_ARB_sampler_objects
  14399. if (glewExperimental || GLEW_ARB_sampler_objects) GLEW_ARB_sampler_objects = !_glewInit_GL_ARB_sampler_objects();
  14400. #endif /* GL_ARB_sampler_objects */
  14401. #ifdef GL_ARB_separate_shader_objects
  14402. if (glewExperimental || GLEW_ARB_separate_shader_objects) GLEW_ARB_separate_shader_objects = !_glewInit_GL_ARB_separate_shader_objects();
  14403. #endif /* GL_ARB_separate_shader_objects */
  14404. #ifdef GL_ARB_shader_atomic_counters
  14405. if (glewExperimental || GLEW_ARB_shader_atomic_counters) GLEW_ARB_shader_atomic_counters = !_glewInit_GL_ARB_shader_atomic_counters();
  14406. #endif /* GL_ARB_shader_atomic_counters */
  14407. #ifdef GL_ARB_shader_image_load_store
  14408. if (glewExperimental || GLEW_ARB_shader_image_load_store) GLEW_ARB_shader_image_load_store = !_glewInit_GL_ARB_shader_image_load_store();
  14409. #endif /* GL_ARB_shader_image_load_store */
  14410. #ifdef GL_ARB_shader_objects
  14411. if (glewExperimental || GLEW_ARB_shader_objects) GLEW_ARB_shader_objects = !_glewInit_GL_ARB_shader_objects();
  14412. #endif /* GL_ARB_shader_objects */
  14413. #ifdef GL_ARB_shader_storage_buffer_object
  14414. if (glewExperimental || GLEW_ARB_shader_storage_buffer_object) GLEW_ARB_shader_storage_buffer_object = !_glewInit_GL_ARB_shader_storage_buffer_object();
  14415. #endif /* GL_ARB_shader_storage_buffer_object */
  14416. #ifdef GL_ARB_shader_subroutine
  14417. if (glewExperimental || GLEW_ARB_shader_subroutine) GLEW_ARB_shader_subroutine = !_glewInit_GL_ARB_shader_subroutine();
  14418. #endif /* GL_ARB_shader_subroutine */
  14419. #ifdef GL_ARB_shading_language_include
  14420. if (glewExperimental || GLEW_ARB_shading_language_include) GLEW_ARB_shading_language_include = !_glewInit_GL_ARB_shading_language_include();
  14421. #endif /* GL_ARB_shading_language_include */
  14422. #ifdef GL_ARB_sparse_buffer
  14423. if (glewExperimental || GLEW_ARB_sparse_buffer) GLEW_ARB_sparse_buffer = !_glewInit_GL_ARB_sparse_buffer();
  14424. #endif /* GL_ARB_sparse_buffer */
  14425. #ifdef GL_ARB_sparse_texture
  14426. if (glewExperimental || GLEW_ARB_sparse_texture) GLEW_ARB_sparse_texture = !_glewInit_GL_ARB_sparse_texture();
  14427. #endif /* GL_ARB_sparse_texture */
  14428. #ifdef GL_ARB_sync
  14429. if (glewExperimental || GLEW_ARB_sync) GLEW_ARB_sync = !_glewInit_GL_ARB_sync();
  14430. #endif /* GL_ARB_sync */
  14431. #ifdef GL_ARB_tessellation_shader
  14432. if (glewExperimental || GLEW_ARB_tessellation_shader) GLEW_ARB_tessellation_shader = !_glewInit_GL_ARB_tessellation_shader();
  14433. #endif /* GL_ARB_tessellation_shader */
  14434. #ifdef GL_ARB_texture_barrier
  14435. if (glewExperimental || GLEW_ARB_texture_barrier) GLEW_ARB_texture_barrier = !_glewInit_GL_ARB_texture_barrier();
  14436. #endif /* GL_ARB_texture_barrier */
  14437. #ifdef GL_ARB_texture_buffer_object
  14438. if (glewExperimental || GLEW_ARB_texture_buffer_object) GLEW_ARB_texture_buffer_object = !_glewInit_GL_ARB_texture_buffer_object();
  14439. #endif /* GL_ARB_texture_buffer_object */
  14440. #ifdef GL_ARB_texture_buffer_range
  14441. if (glewExperimental || GLEW_ARB_texture_buffer_range) GLEW_ARB_texture_buffer_range = !_glewInit_GL_ARB_texture_buffer_range();
  14442. #endif /* GL_ARB_texture_buffer_range */
  14443. #ifdef GL_ARB_texture_compression
  14444. if (glewExperimental || GLEW_ARB_texture_compression) GLEW_ARB_texture_compression = !_glewInit_GL_ARB_texture_compression();
  14445. #endif /* GL_ARB_texture_compression */
  14446. #ifdef GL_ARB_texture_multisample
  14447. if (glewExperimental || GLEW_ARB_texture_multisample) GLEW_ARB_texture_multisample = !_glewInit_GL_ARB_texture_multisample();
  14448. #endif /* GL_ARB_texture_multisample */
  14449. #ifdef GL_ARB_texture_storage
  14450. if (glewExperimental || GLEW_ARB_texture_storage) GLEW_ARB_texture_storage = !_glewInit_GL_ARB_texture_storage();
  14451. #endif /* GL_ARB_texture_storage */
  14452. #ifdef GL_ARB_texture_storage_multisample
  14453. if (glewExperimental || GLEW_ARB_texture_storage_multisample) GLEW_ARB_texture_storage_multisample = !_glewInit_GL_ARB_texture_storage_multisample();
  14454. #endif /* GL_ARB_texture_storage_multisample */
  14455. #ifdef GL_ARB_texture_view
  14456. if (glewExperimental || GLEW_ARB_texture_view) GLEW_ARB_texture_view = !_glewInit_GL_ARB_texture_view();
  14457. #endif /* GL_ARB_texture_view */
  14458. #ifdef GL_ARB_timer_query
  14459. if (glewExperimental || GLEW_ARB_timer_query) GLEW_ARB_timer_query = !_glewInit_GL_ARB_timer_query();
  14460. #endif /* GL_ARB_timer_query */
  14461. #ifdef GL_ARB_transform_feedback2
  14462. if (glewExperimental || GLEW_ARB_transform_feedback2) GLEW_ARB_transform_feedback2 = !_glewInit_GL_ARB_transform_feedback2();
  14463. #endif /* GL_ARB_transform_feedback2 */
  14464. #ifdef GL_ARB_transform_feedback3
  14465. if (glewExperimental || GLEW_ARB_transform_feedback3) GLEW_ARB_transform_feedback3 = !_glewInit_GL_ARB_transform_feedback3();
  14466. #endif /* GL_ARB_transform_feedback3 */
  14467. #ifdef GL_ARB_transform_feedback_instanced
  14468. if (glewExperimental || GLEW_ARB_transform_feedback_instanced) GLEW_ARB_transform_feedback_instanced = !_glewInit_GL_ARB_transform_feedback_instanced();
  14469. #endif /* GL_ARB_transform_feedback_instanced */
  14470. #ifdef GL_ARB_transpose_matrix
  14471. if (glewExperimental || GLEW_ARB_transpose_matrix) GLEW_ARB_transpose_matrix = !_glewInit_GL_ARB_transpose_matrix();
  14472. #endif /* GL_ARB_transpose_matrix */
  14473. #ifdef GL_ARB_uniform_buffer_object
  14474. if (glewExperimental || GLEW_ARB_uniform_buffer_object) GLEW_ARB_uniform_buffer_object = !_glewInit_GL_ARB_uniform_buffer_object();
  14475. #endif /* GL_ARB_uniform_buffer_object */
  14476. #ifdef GL_ARB_vertex_array_object
  14477. if (glewExperimental || GLEW_ARB_vertex_array_object) GLEW_ARB_vertex_array_object = !_glewInit_GL_ARB_vertex_array_object();
  14478. #endif /* GL_ARB_vertex_array_object */
  14479. #ifdef GL_ARB_vertex_attrib_64bit
  14480. if (glewExperimental || GLEW_ARB_vertex_attrib_64bit) GLEW_ARB_vertex_attrib_64bit = !_glewInit_GL_ARB_vertex_attrib_64bit();
  14481. #endif /* GL_ARB_vertex_attrib_64bit */
  14482. #ifdef GL_ARB_vertex_attrib_binding
  14483. if (glewExperimental || GLEW_ARB_vertex_attrib_binding) GLEW_ARB_vertex_attrib_binding = !_glewInit_GL_ARB_vertex_attrib_binding();
  14484. #endif /* GL_ARB_vertex_attrib_binding */
  14485. #ifdef GL_ARB_vertex_blend
  14486. if (glewExperimental || GLEW_ARB_vertex_blend) GLEW_ARB_vertex_blend = !_glewInit_GL_ARB_vertex_blend();
  14487. #endif /* GL_ARB_vertex_blend */
  14488. #ifdef GL_ARB_vertex_buffer_object
  14489. if (glewExperimental || GLEW_ARB_vertex_buffer_object) GLEW_ARB_vertex_buffer_object = !_glewInit_GL_ARB_vertex_buffer_object();
  14490. #endif /* GL_ARB_vertex_buffer_object */
  14491. #ifdef GL_ARB_vertex_program
  14492. if (glewExperimental || GLEW_ARB_vertex_program) GLEW_ARB_vertex_program = !_glewInit_GL_ARB_vertex_program();
  14493. #endif /* GL_ARB_vertex_program */
  14494. #ifdef GL_ARB_vertex_shader
  14495. if (glewExperimental || GLEW_ARB_vertex_shader) { GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(); _glewInit_GL_ARB_vertex_program(); }
  14496. #endif /* GL_ARB_vertex_shader */
  14497. #ifdef GL_ARB_vertex_type_2_10_10_10_rev
  14498. if (glewExperimental || GLEW_ARB_vertex_type_2_10_10_10_rev) GLEW_ARB_vertex_type_2_10_10_10_rev = !_glewInit_GL_ARB_vertex_type_2_10_10_10_rev();
  14499. #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
  14500. #ifdef GL_ARB_viewport_array
  14501. if (glewExperimental || GLEW_ARB_viewport_array) GLEW_ARB_viewport_array = !_glewInit_GL_ARB_viewport_array();
  14502. #endif /* GL_ARB_viewport_array */
  14503. #ifdef GL_ARB_window_pos
  14504. if (glewExperimental || GLEW_ARB_window_pos) GLEW_ARB_window_pos = !_glewInit_GL_ARB_window_pos();
  14505. #endif /* GL_ARB_window_pos */
  14506. #ifdef GL_ATI_draw_buffers
  14507. if (glewExperimental || GLEW_ATI_draw_buffers) GLEW_ATI_draw_buffers = !_glewInit_GL_ATI_draw_buffers();
  14508. #endif /* GL_ATI_draw_buffers */
  14509. #ifdef GL_ATI_element_array
  14510. if (glewExperimental || GLEW_ATI_element_array) GLEW_ATI_element_array = !_glewInit_GL_ATI_element_array();
  14511. #endif /* GL_ATI_element_array */
  14512. #ifdef GL_ATI_envmap_bumpmap
  14513. if (glewExperimental || GLEW_ATI_envmap_bumpmap) GLEW_ATI_envmap_bumpmap = !_glewInit_GL_ATI_envmap_bumpmap();
  14514. #endif /* GL_ATI_envmap_bumpmap */
  14515. #ifdef GL_ATI_fragment_shader
  14516. if (glewExperimental || GLEW_ATI_fragment_shader) GLEW_ATI_fragment_shader = !_glewInit_GL_ATI_fragment_shader();
  14517. #endif /* GL_ATI_fragment_shader */
  14518. #ifdef GL_ATI_map_object_buffer
  14519. if (glewExperimental || GLEW_ATI_map_object_buffer) GLEW_ATI_map_object_buffer = !_glewInit_GL_ATI_map_object_buffer();
  14520. #endif /* GL_ATI_map_object_buffer */
  14521. #ifdef GL_ATI_pn_triangles
  14522. if (glewExperimental || GLEW_ATI_pn_triangles) GLEW_ATI_pn_triangles = !_glewInit_GL_ATI_pn_triangles();
  14523. #endif /* GL_ATI_pn_triangles */
  14524. #ifdef GL_ATI_separate_stencil
  14525. if (glewExperimental || GLEW_ATI_separate_stencil) GLEW_ATI_separate_stencil = !_glewInit_GL_ATI_separate_stencil();
  14526. #endif /* GL_ATI_separate_stencil */
  14527. #ifdef GL_ATI_vertex_array_object
  14528. if (glewExperimental || GLEW_ATI_vertex_array_object) GLEW_ATI_vertex_array_object = !_glewInit_GL_ATI_vertex_array_object();
  14529. #endif /* GL_ATI_vertex_array_object */
  14530. #ifdef GL_ATI_vertex_attrib_array_object
  14531. if (glewExperimental || GLEW_ATI_vertex_attrib_array_object) GLEW_ATI_vertex_attrib_array_object = !_glewInit_GL_ATI_vertex_attrib_array_object();
  14532. #endif /* GL_ATI_vertex_attrib_array_object */
  14533. #ifdef GL_ATI_vertex_streams
  14534. if (glewExperimental || GLEW_ATI_vertex_streams) GLEW_ATI_vertex_streams = !_glewInit_GL_ATI_vertex_streams();
  14535. #endif /* GL_ATI_vertex_streams */
  14536. #ifdef GL_EXT_base_instance
  14537. if (glewExperimental || GLEW_EXT_base_instance) GLEW_EXT_base_instance = !_glewInit_GL_EXT_base_instance();
  14538. #endif /* GL_EXT_base_instance */
  14539. #ifdef GL_EXT_bindable_uniform
  14540. if (glewExperimental || GLEW_EXT_bindable_uniform) GLEW_EXT_bindable_uniform = !_glewInit_GL_EXT_bindable_uniform();
  14541. #endif /* GL_EXT_bindable_uniform */
  14542. #ifdef GL_EXT_blend_color
  14543. if (glewExperimental || GLEW_EXT_blend_color) GLEW_EXT_blend_color = !_glewInit_GL_EXT_blend_color();
  14544. #endif /* GL_EXT_blend_color */
  14545. #ifdef GL_EXT_blend_equation_separate
  14546. if (glewExperimental || GLEW_EXT_blend_equation_separate) GLEW_EXT_blend_equation_separate = !_glewInit_GL_EXT_blend_equation_separate();
  14547. #endif /* GL_EXT_blend_equation_separate */
  14548. #ifdef GL_EXT_blend_func_extended
  14549. if (glewExperimental || GLEW_EXT_blend_func_extended) GLEW_EXT_blend_func_extended = !_glewInit_GL_EXT_blend_func_extended();
  14550. #endif /* GL_EXT_blend_func_extended */
  14551. #ifdef GL_EXT_blend_func_separate
  14552. if (glewExperimental || GLEW_EXT_blend_func_separate) GLEW_EXT_blend_func_separate = !_glewInit_GL_EXT_blend_func_separate();
  14553. #endif /* GL_EXT_blend_func_separate */
  14554. #ifdef GL_EXT_blend_minmax
  14555. if (glewExperimental || GLEW_EXT_blend_minmax) GLEW_EXT_blend_minmax = !_glewInit_GL_EXT_blend_minmax();
  14556. #endif /* GL_EXT_blend_minmax */
  14557. #ifdef GL_EXT_buffer_storage
  14558. if (glewExperimental || GLEW_EXT_buffer_storage) GLEW_EXT_buffer_storage = !_glewInit_GL_EXT_buffer_storage();
  14559. #endif /* GL_EXT_buffer_storage */
  14560. #ifdef GL_EXT_clear_texture
  14561. if (glewExperimental || GLEW_EXT_clear_texture) GLEW_EXT_clear_texture = !_glewInit_GL_EXT_clear_texture();
  14562. #endif /* GL_EXT_clear_texture */
  14563. #ifdef GL_EXT_color_subtable
  14564. if (glewExperimental || GLEW_EXT_color_subtable) GLEW_EXT_color_subtable = !_glewInit_GL_EXT_color_subtable();
  14565. #endif /* GL_EXT_color_subtable */
  14566. #ifdef GL_EXT_compiled_vertex_array
  14567. if (glewExperimental || GLEW_EXT_compiled_vertex_array) GLEW_EXT_compiled_vertex_array = !_glewInit_GL_EXT_compiled_vertex_array();
  14568. #endif /* GL_EXT_compiled_vertex_array */
  14569. #ifdef GL_EXT_convolution
  14570. if (glewExperimental || GLEW_EXT_convolution) GLEW_EXT_convolution = !_glewInit_GL_EXT_convolution();
  14571. #endif /* GL_EXT_convolution */
  14572. #ifdef GL_EXT_coordinate_frame
  14573. if (glewExperimental || GLEW_EXT_coordinate_frame) GLEW_EXT_coordinate_frame = !_glewInit_GL_EXT_coordinate_frame();
  14574. #endif /* GL_EXT_coordinate_frame */
  14575. #ifdef GL_EXT_copy_image
  14576. if (glewExperimental || GLEW_EXT_copy_image) GLEW_EXT_copy_image = !_glewInit_GL_EXT_copy_image();
  14577. #endif /* GL_EXT_copy_image */
  14578. #ifdef GL_EXT_copy_texture
  14579. if (glewExperimental || GLEW_EXT_copy_texture) GLEW_EXT_copy_texture = !_glewInit_GL_EXT_copy_texture();
  14580. #endif /* GL_EXT_copy_texture */
  14581. #ifdef GL_EXT_cull_vertex
  14582. if (glewExperimental || GLEW_EXT_cull_vertex) GLEW_EXT_cull_vertex = !_glewInit_GL_EXT_cull_vertex();
  14583. #endif /* GL_EXT_cull_vertex */
  14584. #ifdef GL_EXT_debug_label
  14585. if (glewExperimental || GLEW_EXT_debug_label) GLEW_EXT_debug_label = !_glewInit_GL_EXT_debug_label();
  14586. #endif /* GL_EXT_debug_label */
  14587. #ifdef GL_EXT_debug_marker
  14588. if (glewExperimental || GLEW_EXT_debug_marker) GLEW_EXT_debug_marker = !_glewInit_GL_EXT_debug_marker();
  14589. #endif /* GL_EXT_debug_marker */
  14590. #ifdef GL_EXT_depth_bounds_test
  14591. if (glewExperimental || GLEW_EXT_depth_bounds_test) GLEW_EXT_depth_bounds_test = !_glewInit_GL_EXT_depth_bounds_test();
  14592. #endif /* GL_EXT_depth_bounds_test */
  14593. #ifdef GL_EXT_direct_state_access
  14594. if (glewExperimental || GLEW_EXT_direct_state_access) GLEW_EXT_direct_state_access = !_glewInit_GL_EXT_direct_state_access();
  14595. #endif /* GL_EXT_direct_state_access */
  14596. #ifdef GL_EXT_discard_framebuffer
  14597. if (glewExperimental || GLEW_EXT_discard_framebuffer) GLEW_EXT_discard_framebuffer = !_glewInit_GL_EXT_discard_framebuffer();
  14598. #endif /* GL_EXT_discard_framebuffer */
  14599. #ifdef GL_EXT_draw_buffers
  14600. if (glewExperimental || GLEW_EXT_draw_buffers) GLEW_EXT_draw_buffers = !_glewInit_GL_EXT_draw_buffers();
  14601. #endif /* GL_EXT_draw_buffers */
  14602. #ifdef GL_EXT_draw_buffers2
  14603. if (glewExperimental || GLEW_EXT_draw_buffers2) GLEW_EXT_draw_buffers2 = !_glewInit_GL_EXT_draw_buffers2();
  14604. #endif /* GL_EXT_draw_buffers2 */
  14605. #ifdef GL_EXT_draw_buffers_indexed
  14606. if (glewExperimental || GLEW_EXT_draw_buffers_indexed) GLEW_EXT_draw_buffers_indexed = !_glewInit_GL_EXT_draw_buffers_indexed();
  14607. #endif /* GL_EXT_draw_buffers_indexed */
  14608. #ifdef GL_EXT_draw_elements_base_vertex
  14609. if (glewExperimental || GLEW_EXT_draw_elements_base_vertex) GLEW_EXT_draw_elements_base_vertex = !_glewInit_GL_EXT_draw_elements_base_vertex();
  14610. #endif /* GL_EXT_draw_elements_base_vertex */
  14611. #ifdef GL_EXT_draw_instanced
  14612. if (glewExperimental || GLEW_EXT_draw_instanced) GLEW_EXT_draw_instanced = !_glewInit_GL_EXT_draw_instanced();
  14613. #endif /* GL_EXT_draw_instanced */
  14614. #ifdef GL_EXT_draw_range_elements
  14615. if (glewExperimental || GLEW_EXT_draw_range_elements) GLEW_EXT_draw_range_elements = !_glewInit_GL_EXT_draw_range_elements();
  14616. #endif /* GL_EXT_draw_range_elements */
  14617. #ifdef GL_EXT_external_buffer
  14618. if (glewExperimental || GLEW_EXT_external_buffer) GLEW_EXT_external_buffer = !_glewInit_GL_EXT_external_buffer();
  14619. #endif /* GL_EXT_external_buffer */
  14620. #ifdef GL_EXT_fog_coord
  14621. if (glewExperimental || GLEW_EXT_fog_coord) GLEW_EXT_fog_coord = !_glewInit_GL_EXT_fog_coord();
  14622. #endif /* GL_EXT_fog_coord */
  14623. #ifdef GL_EXT_fragment_lighting
  14624. if (glewExperimental || GLEW_EXT_fragment_lighting) GLEW_EXT_fragment_lighting = !_glewInit_GL_EXT_fragment_lighting();
  14625. #endif /* GL_EXT_fragment_lighting */
  14626. #ifdef GL_EXT_framebuffer_blit
  14627. if (glewExperimental || GLEW_EXT_framebuffer_blit) GLEW_EXT_framebuffer_blit = !_glewInit_GL_EXT_framebuffer_blit();
  14628. #endif /* GL_EXT_framebuffer_blit */
  14629. #ifdef GL_EXT_framebuffer_multisample
  14630. if (glewExperimental || GLEW_EXT_framebuffer_multisample) GLEW_EXT_framebuffer_multisample = !_glewInit_GL_EXT_framebuffer_multisample();
  14631. #endif /* GL_EXT_framebuffer_multisample */
  14632. #ifdef GL_EXT_framebuffer_object
  14633. if (glewExperimental || GLEW_EXT_framebuffer_object) GLEW_EXT_framebuffer_object = !_glewInit_GL_EXT_framebuffer_object();
  14634. #endif /* GL_EXT_framebuffer_object */
  14635. #ifdef GL_EXT_geometry_shader4
  14636. if (glewExperimental || GLEW_EXT_geometry_shader4) GLEW_EXT_geometry_shader4 = !_glewInit_GL_EXT_geometry_shader4();
  14637. #endif /* GL_EXT_geometry_shader4 */
  14638. #ifdef GL_EXT_gpu_program_parameters
  14639. if (glewExperimental || GLEW_EXT_gpu_program_parameters) GLEW_EXT_gpu_program_parameters = !_glewInit_GL_EXT_gpu_program_parameters();
  14640. #endif /* GL_EXT_gpu_program_parameters */
  14641. #ifdef GL_EXT_gpu_shader4
  14642. if (glewExperimental || GLEW_EXT_gpu_shader4) GLEW_EXT_gpu_shader4 = !_glewInit_GL_EXT_gpu_shader4();
  14643. #endif /* GL_EXT_gpu_shader4 */
  14644. #ifdef GL_EXT_histogram
  14645. if (glewExperimental || GLEW_EXT_histogram) GLEW_EXT_histogram = !_glewInit_GL_EXT_histogram();
  14646. #endif /* GL_EXT_histogram */
  14647. #ifdef GL_EXT_index_func
  14648. if (glewExperimental || GLEW_EXT_index_func) GLEW_EXT_index_func = !_glewInit_GL_EXT_index_func();
  14649. #endif /* GL_EXT_index_func */
  14650. #ifdef GL_EXT_index_material
  14651. if (glewExperimental || GLEW_EXT_index_material) GLEW_EXT_index_material = !_glewInit_GL_EXT_index_material();
  14652. #endif /* GL_EXT_index_material */
  14653. #ifdef GL_EXT_instanced_arrays
  14654. if (glewExperimental || GLEW_EXT_instanced_arrays) GLEW_EXT_instanced_arrays = !_glewInit_GL_EXT_instanced_arrays();
  14655. #endif /* GL_EXT_instanced_arrays */
  14656. #ifdef GL_EXT_light_texture
  14657. if (glewExperimental || GLEW_EXT_light_texture) GLEW_EXT_light_texture = !_glewInit_GL_EXT_light_texture();
  14658. #endif /* GL_EXT_light_texture */
  14659. #ifdef GL_EXT_map_buffer_range
  14660. if (glewExperimental || GLEW_EXT_map_buffer_range) GLEW_EXT_map_buffer_range = !_glewInit_GL_EXT_map_buffer_range();
  14661. #endif /* GL_EXT_map_buffer_range */
  14662. #ifdef GL_EXT_memory_object
  14663. if (glewExperimental || GLEW_EXT_memory_object) GLEW_EXT_memory_object = !_glewInit_GL_EXT_memory_object();
  14664. #endif /* GL_EXT_memory_object */
  14665. #ifdef GL_EXT_memory_object_fd
  14666. if (glewExperimental || GLEW_EXT_memory_object_fd) GLEW_EXT_memory_object_fd = !_glewInit_GL_EXT_memory_object_fd();
  14667. #endif /* GL_EXT_memory_object_fd */
  14668. #ifdef GL_EXT_memory_object_win32
  14669. if (glewExperimental || GLEW_EXT_memory_object_win32) GLEW_EXT_memory_object_win32 = !_glewInit_GL_EXT_memory_object_win32();
  14670. #endif /* GL_EXT_memory_object_win32 */
  14671. #ifdef GL_EXT_multi_draw_arrays
  14672. if (glewExperimental || GLEW_EXT_multi_draw_arrays) GLEW_EXT_multi_draw_arrays = !_glewInit_GL_EXT_multi_draw_arrays();
  14673. #endif /* GL_EXT_multi_draw_arrays */
  14674. #ifdef GL_EXT_multi_draw_indirect
  14675. if (glewExperimental || GLEW_EXT_multi_draw_indirect) GLEW_EXT_multi_draw_indirect = !_glewInit_GL_EXT_multi_draw_indirect();
  14676. #endif /* GL_EXT_multi_draw_indirect */
  14677. #ifdef GL_EXT_multisample
  14678. if (glewExperimental || GLEW_EXT_multisample) GLEW_EXT_multisample = !_glewInit_GL_EXT_multisample();
  14679. #endif /* GL_EXT_multisample */
  14680. #ifdef GL_EXT_multisampled_render_to_texture
  14681. if (glewExperimental || GLEW_EXT_multisampled_render_to_texture) GLEW_EXT_multisampled_render_to_texture = !_glewInit_GL_EXT_multisampled_render_to_texture();
  14682. #endif /* GL_EXT_multisampled_render_to_texture */
  14683. #ifdef GL_EXT_multiview_draw_buffers
  14684. if (glewExperimental || GLEW_EXT_multiview_draw_buffers) GLEW_EXT_multiview_draw_buffers = !_glewInit_GL_EXT_multiview_draw_buffers();
  14685. #endif /* GL_EXT_multiview_draw_buffers */
  14686. #ifdef GL_EXT_paletted_texture
  14687. if (glewExperimental || GLEW_EXT_paletted_texture) GLEW_EXT_paletted_texture = !_glewInit_GL_EXT_paletted_texture();
  14688. #endif /* GL_EXT_paletted_texture */
  14689. #ifdef GL_EXT_pixel_transform
  14690. if (glewExperimental || GLEW_EXT_pixel_transform) GLEW_EXT_pixel_transform = !_glewInit_GL_EXT_pixel_transform();
  14691. #endif /* GL_EXT_pixel_transform */
  14692. #ifdef GL_EXT_point_parameters
  14693. if (glewExperimental || GLEW_EXT_point_parameters) GLEW_EXT_point_parameters = !_glewInit_GL_EXT_point_parameters();
  14694. #endif /* GL_EXT_point_parameters */
  14695. #ifdef GL_EXT_polygon_offset
  14696. if (glewExperimental || GLEW_EXT_polygon_offset) GLEW_EXT_polygon_offset = !_glewInit_GL_EXT_polygon_offset();
  14697. #endif /* GL_EXT_polygon_offset */
  14698. #ifdef GL_EXT_polygon_offset_clamp
  14699. if (glewExperimental || GLEW_EXT_polygon_offset_clamp) GLEW_EXT_polygon_offset_clamp = !_glewInit_GL_EXT_polygon_offset_clamp();
  14700. #endif /* GL_EXT_polygon_offset_clamp */
  14701. #ifdef GL_EXT_provoking_vertex
  14702. if (glewExperimental || GLEW_EXT_provoking_vertex) GLEW_EXT_provoking_vertex = !_glewInit_GL_EXT_provoking_vertex();
  14703. #endif /* GL_EXT_provoking_vertex */
  14704. #ifdef GL_EXT_raster_multisample
  14705. if (glewExperimental || GLEW_EXT_raster_multisample) GLEW_EXT_raster_multisample = !_glewInit_GL_EXT_raster_multisample();
  14706. #endif /* GL_EXT_raster_multisample */
  14707. #ifdef GL_EXT_scene_marker
  14708. if (glewExperimental || GLEW_EXT_scene_marker) GLEW_EXT_scene_marker = !_glewInit_GL_EXT_scene_marker();
  14709. #endif /* GL_EXT_scene_marker */
  14710. #ifdef GL_EXT_secondary_color
  14711. if (glewExperimental || GLEW_EXT_secondary_color) GLEW_EXT_secondary_color = !_glewInit_GL_EXT_secondary_color();
  14712. #endif /* GL_EXT_secondary_color */
  14713. #ifdef GL_EXT_semaphore
  14714. if (glewExperimental || GLEW_EXT_semaphore) GLEW_EXT_semaphore = !_glewInit_GL_EXT_semaphore();
  14715. #endif /* GL_EXT_semaphore */
  14716. #ifdef GL_EXT_semaphore_fd
  14717. if (glewExperimental || GLEW_EXT_semaphore_fd) GLEW_EXT_semaphore_fd = !_glewInit_GL_EXT_semaphore_fd();
  14718. #endif /* GL_EXT_semaphore_fd */
  14719. #ifdef GL_EXT_semaphore_win32
  14720. if (glewExperimental || GLEW_EXT_semaphore_win32) GLEW_EXT_semaphore_win32 = !_glewInit_GL_EXT_semaphore_win32();
  14721. #endif /* GL_EXT_semaphore_win32 */
  14722. #ifdef GL_EXT_separate_shader_objects
  14723. if (glewExperimental || GLEW_EXT_separate_shader_objects) GLEW_EXT_separate_shader_objects = !_glewInit_GL_EXT_separate_shader_objects();
  14724. #endif /* GL_EXT_separate_shader_objects */
  14725. #ifdef GL_EXT_shader_image_load_store
  14726. if (glewExperimental || GLEW_EXT_shader_image_load_store) GLEW_EXT_shader_image_load_store = !_glewInit_GL_EXT_shader_image_load_store();
  14727. #endif /* GL_EXT_shader_image_load_store */
  14728. #ifdef GL_EXT_shader_pixel_local_storage2
  14729. if (glewExperimental || GLEW_EXT_shader_pixel_local_storage2) GLEW_EXT_shader_pixel_local_storage2 = !_glewInit_GL_EXT_shader_pixel_local_storage2();
  14730. #endif /* GL_EXT_shader_pixel_local_storage2 */
  14731. #ifdef GL_EXT_sparse_texture
  14732. if (glewExperimental || GLEW_EXT_sparse_texture) GLEW_EXT_sparse_texture = !_glewInit_GL_EXT_sparse_texture();
  14733. #endif /* GL_EXT_sparse_texture */
  14734. #ifdef GL_EXT_stencil_two_side
  14735. if (glewExperimental || GLEW_EXT_stencil_two_side) GLEW_EXT_stencil_two_side = !_glewInit_GL_EXT_stencil_two_side();
  14736. #endif /* GL_EXT_stencil_two_side */
  14737. #ifdef GL_EXT_subtexture
  14738. if (glewExperimental || GLEW_EXT_subtexture) GLEW_EXT_subtexture = !_glewInit_GL_EXT_subtexture();
  14739. #endif /* GL_EXT_subtexture */
  14740. #ifdef GL_EXT_texture3D
  14741. if (glewExperimental || GLEW_EXT_texture3D) GLEW_EXT_texture3D = !_glewInit_GL_EXT_texture3D();
  14742. #endif /* GL_EXT_texture3D */
  14743. #ifdef GL_EXT_texture_array
  14744. if (glewExperimental || GLEW_EXT_texture_array) GLEW_EXT_texture_array = !_glewInit_GL_EXT_texture_array();
  14745. #endif /* GL_EXT_texture_array */
  14746. #ifdef GL_EXT_texture_buffer_object
  14747. if (glewExperimental || GLEW_EXT_texture_buffer_object) GLEW_EXT_texture_buffer_object = !_glewInit_GL_EXT_texture_buffer_object();
  14748. #endif /* GL_EXT_texture_buffer_object */
  14749. #ifdef GL_EXT_texture_integer
  14750. if (glewExperimental || GLEW_EXT_texture_integer) GLEW_EXT_texture_integer = !_glewInit_GL_EXT_texture_integer();
  14751. #endif /* GL_EXT_texture_integer */
  14752. #ifdef GL_EXT_texture_object
  14753. if (glewExperimental || GLEW_EXT_texture_object) GLEW_EXT_texture_object = !_glewInit_GL_EXT_texture_object();
  14754. #endif /* GL_EXT_texture_object */
  14755. #ifdef GL_EXT_texture_perturb_normal
  14756. if (glewExperimental || GLEW_EXT_texture_perturb_normal) GLEW_EXT_texture_perturb_normal = !_glewInit_GL_EXT_texture_perturb_normal();
  14757. #endif /* GL_EXT_texture_perturb_normal */
  14758. #ifdef GL_EXT_texture_storage
  14759. if (glewExperimental || GLEW_EXT_texture_storage) GLEW_EXT_texture_storage = !_glewInit_GL_EXT_texture_storage();
  14760. #endif /* GL_EXT_texture_storage */
  14761. #ifdef GL_EXT_texture_view
  14762. if (glewExperimental || GLEW_EXT_texture_view) GLEW_EXT_texture_view = !_glewInit_GL_EXT_texture_view();
  14763. #endif /* GL_EXT_texture_view */
  14764. #ifdef GL_EXT_timer_query
  14765. if (glewExperimental || GLEW_EXT_timer_query) GLEW_EXT_timer_query = !_glewInit_GL_EXT_timer_query();
  14766. #endif /* GL_EXT_timer_query */
  14767. #ifdef GL_EXT_transform_feedback
  14768. if (glewExperimental || GLEW_EXT_transform_feedback) GLEW_EXT_transform_feedback = !_glewInit_GL_EXT_transform_feedback();
  14769. #endif /* GL_EXT_transform_feedback */
  14770. #ifdef GL_EXT_vertex_array
  14771. if (glewExperimental || GLEW_EXT_vertex_array) GLEW_EXT_vertex_array = !_glewInit_GL_EXT_vertex_array();
  14772. #endif /* GL_EXT_vertex_array */
  14773. #ifdef GL_EXT_vertex_array_setXXX
  14774. if (glewExperimental || GLEW_EXT_vertex_array_setXXX) GLEW_EXT_vertex_array_setXXX = !_glewInit_GL_EXT_vertex_array_setXXX();
  14775. #endif /* GL_EXT_vertex_array_setXXX */
  14776. #ifdef GL_EXT_vertex_attrib_64bit
  14777. if (glewExperimental || GLEW_EXT_vertex_attrib_64bit) GLEW_EXT_vertex_attrib_64bit = !_glewInit_GL_EXT_vertex_attrib_64bit();
  14778. #endif /* GL_EXT_vertex_attrib_64bit */
  14779. #ifdef GL_EXT_vertex_shader
  14780. if (glewExperimental || GLEW_EXT_vertex_shader) GLEW_EXT_vertex_shader = !_glewInit_GL_EXT_vertex_shader();
  14781. #endif /* GL_EXT_vertex_shader */
  14782. #ifdef GL_EXT_vertex_weighting
  14783. if (glewExperimental || GLEW_EXT_vertex_weighting) GLEW_EXT_vertex_weighting = !_glewInit_GL_EXT_vertex_weighting();
  14784. #endif /* GL_EXT_vertex_weighting */
  14785. #ifdef GL_EXT_win32_keyed_mutex
  14786. if (glewExperimental || GLEW_EXT_win32_keyed_mutex) GLEW_EXT_win32_keyed_mutex = !_glewInit_GL_EXT_win32_keyed_mutex();
  14787. #endif /* GL_EXT_win32_keyed_mutex */
  14788. #ifdef GL_EXT_window_rectangles
  14789. if (glewExperimental || GLEW_EXT_window_rectangles) GLEW_EXT_window_rectangles = !_glewInit_GL_EXT_window_rectangles();
  14790. #endif /* GL_EXT_window_rectangles */
  14791. #ifdef GL_EXT_x11_sync_object
  14792. if (glewExperimental || GLEW_EXT_x11_sync_object) GLEW_EXT_x11_sync_object = !_glewInit_GL_EXT_x11_sync_object();
  14793. #endif /* GL_EXT_x11_sync_object */
  14794. #ifdef GL_GREMEDY_frame_terminator
  14795. if (glewExperimental || GLEW_GREMEDY_frame_terminator) GLEW_GREMEDY_frame_terminator = !_glewInit_GL_GREMEDY_frame_terminator();
  14796. #endif /* GL_GREMEDY_frame_terminator */
  14797. #ifdef GL_GREMEDY_string_marker
  14798. if (glewExperimental || GLEW_GREMEDY_string_marker) GLEW_GREMEDY_string_marker = !_glewInit_GL_GREMEDY_string_marker();
  14799. #endif /* GL_GREMEDY_string_marker */
  14800. #ifdef GL_HP_image_transform
  14801. if (glewExperimental || GLEW_HP_image_transform) GLEW_HP_image_transform = !_glewInit_GL_HP_image_transform();
  14802. #endif /* GL_HP_image_transform */
  14803. #ifdef GL_IBM_multimode_draw_arrays
  14804. if (glewExperimental || GLEW_IBM_multimode_draw_arrays) GLEW_IBM_multimode_draw_arrays = !_glewInit_GL_IBM_multimode_draw_arrays();
  14805. #endif /* GL_IBM_multimode_draw_arrays */
  14806. #ifdef GL_IBM_vertex_array_lists
  14807. if (glewExperimental || GLEW_IBM_vertex_array_lists) GLEW_IBM_vertex_array_lists = !_glewInit_GL_IBM_vertex_array_lists();
  14808. #endif /* GL_IBM_vertex_array_lists */
  14809. #ifdef GL_INTEL_map_texture
  14810. if (glewExperimental || GLEW_INTEL_map_texture) GLEW_INTEL_map_texture = !_glewInit_GL_INTEL_map_texture();
  14811. #endif /* GL_INTEL_map_texture */
  14812. #ifdef GL_INTEL_parallel_arrays
  14813. if (glewExperimental || GLEW_INTEL_parallel_arrays) GLEW_INTEL_parallel_arrays = !_glewInit_GL_INTEL_parallel_arrays();
  14814. #endif /* GL_INTEL_parallel_arrays */
  14815. #ifdef GL_INTEL_performance_query
  14816. if (glewExperimental || GLEW_INTEL_performance_query) GLEW_INTEL_performance_query = !_glewInit_GL_INTEL_performance_query();
  14817. #endif /* GL_INTEL_performance_query */
  14818. #ifdef GL_INTEL_texture_scissor
  14819. if (glewExperimental || GLEW_INTEL_texture_scissor) GLEW_INTEL_texture_scissor = !_glewInit_GL_INTEL_texture_scissor();
  14820. #endif /* GL_INTEL_texture_scissor */
  14821. #ifdef GL_KHR_blend_equation_advanced
  14822. if (glewExperimental || GLEW_KHR_blend_equation_advanced) GLEW_KHR_blend_equation_advanced = !_glewInit_GL_KHR_blend_equation_advanced();
  14823. #endif /* GL_KHR_blend_equation_advanced */
  14824. #ifdef GL_KHR_debug
  14825. if (glewExperimental || GLEW_KHR_debug) GLEW_KHR_debug = !_glewInit_GL_KHR_debug();
  14826. #endif /* GL_KHR_debug */
  14827. #ifdef GL_KHR_parallel_shader_compile
  14828. if (glewExperimental || GLEW_KHR_parallel_shader_compile) GLEW_KHR_parallel_shader_compile = !_glewInit_GL_KHR_parallel_shader_compile();
  14829. #endif /* GL_KHR_parallel_shader_compile */
  14830. #ifdef GL_KHR_robustness
  14831. if (glewExperimental || GLEW_KHR_robustness) GLEW_KHR_robustness = !_glewInit_GL_KHR_robustness();
  14832. #endif /* GL_KHR_robustness */
  14833. #ifdef GL_KTX_buffer_region
  14834. if (glewExperimental || GLEW_KTX_buffer_region) GLEW_KTX_buffer_region = !_glewInit_GL_KTX_buffer_region();
  14835. #endif /* GL_KTX_buffer_region */
  14836. #ifdef GL_MESA_resize_buffers
  14837. if (glewExperimental || GLEW_MESA_resize_buffers) GLEW_MESA_resize_buffers = !_glewInit_GL_MESA_resize_buffers();
  14838. #endif /* GL_MESA_resize_buffers */
  14839. #ifdef GL_MESA_window_pos
  14840. if (glewExperimental || GLEW_MESA_window_pos) GLEW_MESA_window_pos = !_glewInit_GL_MESA_window_pos();
  14841. #endif /* GL_MESA_window_pos */
  14842. #ifdef GL_NVX_conditional_render
  14843. if (glewExperimental || GLEW_NVX_conditional_render) GLEW_NVX_conditional_render = !_glewInit_GL_NVX_conditional_render();
  14844. #endif /* GL_NVX_conditional_render */
  14845. #ifdef GL_NVX_linked_gpu_multicast
  14846. if (glewExperimental || GLEW_NVX_linked_gpu_multicast) GLEW_NVX_linked_gpu_multicast = !_glewInit_GL_NVX_linked_gpu_multicast();
  14847. #endif /* GL_NVX_linked_gpu_multicast */
  14848. #ifdef GL_NV_3dvision_settings
  14849. if (glewExperimental || GLEW_NV_3dvision_settings) GLEW_NV_3dvision_settings = !_glewInit_GL_NV_3dvision_settings();
  14850. #endif /* GL_NV_3dvision_settings */
  14851. #ifdef GL_NV_bindless_multi_draw_indirect
  14852. if (glewExperimental || GLEW_NV_bindless_multi_draw_indirect) GLEW_NV_bindless_multi_draw_indirect = !_glewInit_GL_NV_bindless_multi_draw_indirect();
  14853. #endif /* GL_NV_bindless_multi_draw_indirect */
  14854. #ifdef GL_NV_bindless_multi_draw_indirect_count
  14855. if (glewExperimental || GLEW_NV_bindless_multi_draw_indirect_count) GLEW_NV_bindless_multi_draw_indirect_count = !_glewInit_GL_NV_bindless_multi_draw_indirect_count();
  14856. #endif /* GL_NV_bindless_multi_draw_indirect_count */
  14857. #ifdef GL_NV_bindless_texture
  14858. if (glewExperimental || GLEW_NV_bindless_texture) GLEW_NV_bindless_texture = !_glewInit_GL_NV_bindless_texture();
  14859. #endif /* GL_NV_bindless_texture */
  14860. #ifdef GL_NV_blend_equation_advanced
  14861. if (glewExperimental || GLEW_NV_blend_equation_advanced) GLEW_NV_blend_equation_advanced = !_glewInit_GL_NV_blend_equation_advanced();
  14862. #endif /* GL_NV_blend_equation_advanced */
  14863. #ifdef GL_NV_clip_space_w_scaling
  14864. if (glewExperimental || GLEW_NV_clip_space_w_scaling) GLEW_NV_clip_space_w_scaling = !_glewInit_GL_NV_clip_space_w_scaling();
  14865. #endif /* GL_NV_clip_space_w_scaling */
  14866. #ifdef GL_NV_command_list
  14867. if (glewExperimental || GLEW_NV_command_list) GLEW_NV_command_list = !_glewInit_GL_NV_command_list();
  14868. #endif /* GL_NV_command_list */
  14869. #ifdef GL_NV_conditional_render
  14870. if (glewExperimental || GLEW_NV_conditional_render) GLEW_NV_conditional_render = !_glewInit_GL_NV_conditional_render();
  14871. #endif /* GL_NV_conditional_render */
  14872. #ifdef GL_NV_conservative_raster
  14873. if (glewExperimental || GLEW_NV_conservative_raster) GLEW_NV_conservative_raster = !_glewInit_GL_NV_conservative_raster();
  14874. #endif /* GL_NV_conservative_raster */
  14875. #ifdef GL_NV_conservative_raster_dilate
  14876. if (glewExperimental || GLEW_NV_conservative_raster_dilate) GLEW_NV_conservative_raster_dilate = !_glewInit_GL_NV_conservative_raster_dilate();
  14877. #endif /* GL_NV_conservative_raster_dilate */
  14878. #ifdef GL_NV_conservative_raster_pre_snap_triangles
  14879. if (glewExperimental || GLEW_NV_conservative_raster_pre_snap_triangles) GLEW_NV_conservative_raster_pre_snap_triangles = !_glewInit_GL_NV_conservative_raster_pre_snap_triangles();
  14880. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  14881. #ifdef GL_NV_copy_buffer
  14882. if (glewExperimental || GLEW_NV_copy_buffer) GLEW_NV_copy_buffer = !_glewInit_GL_NV_copy_buffer();
  14883. #endif /* GL_NV_copy_buffer */
  14884. #ifdef GL_NV_copy_image
  14885. if (glewExperimental || GLEW_NV_copy_image) GLEW_NV_copy_image = !_glewInit_GL_NV_copy_image();
  14886. #endif /* GL_NV_copy_image */
  14887. #ifdef GL_NV_depth_buffer_float
  14888. if (glewExperimental || GLEW_NV_depth_buffer_float) GLEW_NV_depth_buffer_float = !_glewInit_GL_NV_depth_buffer_float();
  14889. #endif /* GL_NV_depth_buffer_float */
  14890. #ifdef GL_NV_draw_buffers
  14891. if (glewExperimental || GLEW_NV_draw_buffers) GLEW_NV_draw_buffers = !_glewInit_GL_NV_draw_buffers();
  14892. #endif /* GL_NV_draw_buffers */
  14893. #ifdef GL_NV_draw_instanced
  14894. if (glewExperimental || GLEW_NV_draw_instanced) GLEW_NV_draw_instanced = !_glewInit_GL_NV_draw_instanced();
  14895. #endif /* GL_NV_draw_instanced */
  14896. #ifdef GL_NV_draw_texture
  14897. if (glewExperimental || GLEW_NV_draw_texture) GLEW_NV_draw_texture = !_glewInit_GL_NV_draw_texture();
  14898. #endif /* GL_NV_draw_texture */
  14899. #ifdef GL_NV_draw_vulkan_image
  14900. if (glewExperimental || GLEW_NV_draw_vulkan_image) GLEW_NV_draw_vulkan_image = !_glewInit_GL_NV_draw_vulkan_image();
  14901. #endif /* GL_NV_draw_vulkan_image */
  14902. #ifdef GL_NV_evaluators
  14903. if (glewExperimental || GLEW_NV_evaluators) GLEW_NV_evaluators = !_glewInit_GL_NV_evaluators();
  14904. #endif /* GL_NV_evaluators */
  14905. #ifdef GL_NV_explicit_multisample
  14906. if (glewExperimental || GLEW_NV_explicit_multisample) GLEW_NV_explicit_multisample = !_glewInit_GL_NV_explicit_multisample();
  14907. #endif /* GL_NV_explicit_multisample */
  14908. #ifdef GL_NV_fence
  14909. if (glewExperimental || GLEW_NV_fence) GLEW_NV_fence = !_glewInit_GL_NV_fence();
  14910. #endif /* GL_NV_fence */
  14911. #ifdef GL_NV_fragment_coverage_to_color
  14912. if (glewExperimental || GLEW_NV_fragment_coverage_to_color) GLEW_NV_fragment_coverage_to_color = !_glewInit_GL_NV_fragment_coverage_to_color();
  14913. #endif /* GL_NV_fragment_coverage_to_color */
  14914. #ifdef GL_NV_fragment_program
  14915. if (glewExperimental || GLEW_NV_fragment_program) GLEW_NV_fragment_program = !_glewInit_GL_NV_fragment_program();
  14916. #endif /* GL_NV_fragment_program */
  14917. #ifdef GL_NV_framebuffer_blit
  14918. if (glewExperimental || GLEW_NV_framebuffer_blit) GLEW_NV_framebuffer_blit = !_glewInit_GL_NV_framebuffer_blit();
  14919. #endif /* GL_NV_framebuffer_blit */
  14920. #ifdef GL_NV_framebuffer_multisample
  14921. if (glewExperimental || GLEW_NV_framebuffer_multisample) GLEW_NV_framebuffer_multisample = !_glewInit_GL_NV_framebuffer_multisample();
  14922. #endif /* GL_NV_framebuffer_multisample */
  14923. #ifdef GL_NV_framebuffer_multisample_coverage
  14924. if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) GLEW_NV_framebuffer_multisample_coverage = !_glewInit_GL_NV_framebuffer_multisample_coverage();
  14925. #endif /* GL_NV_framebuffer_multisample_coverage */
  14926. #ifdef GL_NV_geometry_program4
  14927. if (glewExperimental || GLEW_NV_geometry_program4) GLEW_NV_geometry_program4 = !_glewInit_GL_NV_geometry_program4();
  14928. #endif /* GL_NV_geometry_program4 */
  14929. #ifdef GL_NV_gpu_multicast
  14930. if (glewExperimental || GLEW_NV_gpu_multicast) GLEW_NV_gpu_multicast = !_glewInit_GL_NV_gpu_multicast();
  14931. #endif /* GL_NV_gpu_multicast */
  14932. #ifdef GL_NV_gpu_program4
  14933. if (glewExperimental || GLEW_NV_gpu_program4) GLEW_NV_gpu_program4 = !_glewInit_GL_NV_gpu_program4();
  14934. #endif /* GL_NV_gpu_program4 */
  14935. #ifdef GL_NV_gpu_shader5
  14936. if (glewExperimental || GLEW_NV_gpu_shader5) GLEW_NV_gpu_shader5 = !_glewInit_GL_NV_gpu_shader5();
  14937. #endif /* GL_NV_gpu_shader5 */
  14938. #ifdef GL_NV_half_float
  14939. if (glewExperimental || GLEW_NV_half_float) GLEW_NV_half_float = !_glewInit_GL_NV_half_float();
  14940. #endif /* GL_NV_half_float */
  14941. #ifdef GL_NV_instanced_arrays
  14942. if (glewExperimental || GLEW_NV_instanced_arrays) GLEW_NV_instanced_arrays = !_glewInit_GL_NV_instanced_arrays();
  14943. #endif /* GL_NV_instanced_arrays */
  14944. #ifdef GL_NV_internalformat_sample_query
  14945. if (glewExperimental || GLEW_NV_internalformat_sample_query) GLEW_NV_internalformat_sample_query = !_glewInit_GL_NV_internalformat_sample_query();
  14946. #endif /* GL_NV_internalformat_sample_query */
  14947. #ifdef GL_NV_non_square_matrices
  14948. if (glewExperimental || GLEW_NV_non_square_matrices) GLEW_NV_non_square_matrices = !_glewInit_GL_NV_non_square_matrices();
  14949. #endif /* GL_NV_non_square_matrices */
  14950. #ifdef GL_NV_occlusion_query
  14951. if (glewExperimental || GLEW_NV_occlusion_query) GLEW_NV_occlusion_query = !_glewInit_GL_NV_occlusion_query();
  14952. #endif /* GL_NV_occlusion_query */
  14953. #ifdef GL_NV_parameter_buffer_object
  14954. if (glewExperimental || GLEW_NV_parameter_buffer_object) GLEW_NV_parameter_buffer_object = !_glewInit_GL_NV_parameter_buffer_object();
  14955. #endif /* GL_NV_parameter_buffer_object */
  14956. #ifdef GL_NV_path_rendering
  14957. if (glewExperimental || GLEW_NV_path_rendering) GLEW_NV_path_rendering = !_glewInit_GL_NV_path_rendering();
  14958. #endif /* GL_NV_path_rendering */
  14959. #ifdef GL_NV_pixel_data_range
  14960. if (glewExperimental || GLEW_NV_pixel_data_range) GLEW_NV_pixel_data_range = !_glewInit_GL_NV_pixel_data_range();
  14961. #endif /* GL_NV_pixel_data_range */
  14962. #ifdef GL_NV_point_sprite
  14963. if (glewExperimental || GLEW_NV_point_sprite) GLEW_NV_point_sprite = !_glewInit_GL_NV_point_sprite();
  14964. #endif /* GL_NV_point_sprite */
  14965. #ifdef GL_NV_polygon_mode
  14966. if (glewExperimental || GLEW_NV_polygon_mode) GLEW_NV_polygon_mode = !_glewInit_GL_NV_polygon_mode();
  14967. #endif /* GL_NV_polygon_mode */
  14968. #ifdef GL_NV_present_video
  14969. if (glewExperimental || GLEW_NV_present_video) GLEW_NV_present_video = !_glewInit_GL_NV_present_video();
  14970. #endif /* GL_NV_present_video */
  14971. #ifdef GL_NV_primitive_restart
  14972. if (glewExperimental || GLEW_NV_primitive_restart) GLEW_NV_primitive_restart = !_glewInit_GL_NV_primitive_restart();
  14973. #endif /* GL_NV_primitive_restart */
  14974. #ifdef GL_NV_register_combiners
  14975. if (glewExperimental || GLEW_NV_register_combiners) GLEW_NV_register_combiners = !_glewInit_GL_NV_register_combiners();
  14976. #endif /* GL_NV_register_combiners */
  14977. #ifdef GL_NV_register_combiners2
  14978. if (glewExperimental || GLEW_NV_register_combiners2) GLEW_NV_register_combiners2 = !_glewInit_GL_NV_register_combiners2();
  14979. #endif /* GL_NV_register_combiners2 */
  14980. #ifdef GL_NV_sample_locations
  14981. if (glewExperimental || GLEW_NV_sample_locations) GLEW_NV_sample_locations = !_glewInit_GL_NV_sample_locations();
  14982. #endif /* GL_NV_sample_locations */
  14983. #ifdef GL_NV_shader_buffer_load
  14984. if (glewExperimental || GLEW_NV_shader_buffer_load) GLEW_NV_shader_buffer_load = !_glewInit_GL_NV_shader_buffer_load();
  14985. #endif /* GL_NV_shader_buffer_load */
  14986. #ifdef GL_NV_texture_array
  14987. if (glewExperimental || GLEW_NV_texture_array) GLEW_NV_texture_array = !_glewInit_GL_NV_texture_array();
  14988. #endif /* GL_NV_texture_array */
  14989. #ifdef GL_NV_texture_barrier
  14990. if (glewExperimental || GLEW_NV_texture_barrier) GLEW_NV_texture_barrier = !_glewInit_GL_NV_texture_barrier();
  14991. #endif /* GL_NV_texture_barrier */
  14992. #ifdef GL_NV_texture_multisample
  14993. if (glewExperimental || GLEW_NV_texture_multisample) GLEW_NV_texture_multisample = !_glewInit_GL_NV_texture_multisample();
  14994. #endif /* GL_NV_texture_multisample */
  14995. #ifdef GL_NV_transform_feedback
  14996. if (glewExperimental || GLEW_NV_transform_feedback) GLEW_NV_transform_feedback = !_glewInit_GL_NV_transform_feedback();
  14997. #endif /* GL_NV_transform_feedback */
  14998. #ifdef GL_NV_transform_feedback2
  14999. if (glewExperimental || GLEW_NV_transform_feedback2) GLEW_NV_transform_feedback2 = !_glewInit_GL_NV_transform_feedback2();
  15000. #endif /* GL_NV_transform_feedback2 */
  15001. #ifdef GL_NV_vdpau_interop
  15002. if (glewExperimental || GLEW_NV_vdpau_interop) GLEW_NV_vdpau_interop = !_glewInit_GL_NV_vdpau_interop();
  15003. #endif /* GL_NV_vdpau_interop */
  15004. #ifdef GL_NV_vertex_array_range
  15005. if (glewExperimental || GLEW_NV_vertex_array_range) GLEW_NV_vertex_array_range = !_glewInit_GL_NV_vertex_array_range();
  15006. #endif /* GL_NV_vertex_array_range */
  15007. #ifdef GL_NV_vertex_attrib_integer_64bit
  15008. if (glewExperimental || GLEW_NV_vertex_attrib_integer_64bit) GLEW_NV_vertex_attrib_integer_64bit = !_glewInit_GL_NV_vertex_attrib_integer_64bit();
  15009. #endif /* GL_NV_vertex_attrib_integer_64bit */
  15010. #ifdef GL_NV_vertex_buffer_unified_memory
  15011. if (glewExperimental || GLEW_NV_vertex_buffer_unified_memory) GLEW_NV_vertex_buffer_unified_memory = !_glewInit_GL_NV_vertex_buffer_unified_memory();
  15012. #endif /* GL_NV_vertex_buffer_unified_memory */
  15013. #ifdef GL_NV_vertex_program
  15014. if (glewExperimental || GLEW_NV_vertex_program) GLEW_NV_vertex_program = !_glewInit_GL_NV_vertex_program();
  15015. #endif /* GL_NV_vertex_program */
  15016. #ifdef GL_NV_video_capture
  15017. if (glewExperimental || GLEW_NV_video_capture) GLEW_NV_video_capture = !_glewInit_GL_NV_video_capture();
  15018. #endif /* GL_NV_video_capture */
  15019. #ifdef GL_NV_viewport_array
  15020. if (glewExperimental || GLEW_NV_viewport_array) GLEW_NV_viewport_array = !_glewInit_GL_NV_viewport_array();
  15021. #endif /* GL_NV_viewport_array */
  15022. #ifdef GL_NV_viewport_swizzle
  15023. if (glewExperimental || GLEW_NV_viewport_swizzle) GLEW_NV_viewport_swizzle = !_glewInit_GL_NV_viewport_swizzle();
  15024. #endif /* GL_NV_viewport_swizzle */
  15025. #ifdef GL_OVR_multiview
  15026. if (glewExperimental || GLEW_OVR_multiview) GLEW_OVR_multiview = !_glewInit_GL_OVR_multiview();
  15027. #endif /* GL_OVR_multiview */
  15028. #ifdef GL_OVR_multiview_multisampled_render_to_texture
  15029. if (glewExperimental || GLEW_OVR_multiview_multisampled_render_to_texture) GLEW_OVR_multiview_multisampled_render_to_texture = !_glewInit_GL_OVR_multiview_multisampled_render_to_texture();
  15030. #endif /* GL_OVR_multiview_multisampled_render_to_texture */
  15031. #ifdef GL_QCOM_alpha_test
  15032. if (glewExperimental || GLEW_QCOM_alpha_test) GLEW_QCOM_alpha_test = !_glewInit_GL_QCOM_alpha_test();
  15033. #endif /* GL_QCOM_alpha_test */
  15034. #ifdef GL_QCOM_driver_control
  15035. if (glewExperimental || GLEW_QCOM_driver_control) GLEW_QCOM_driver_control = !_glewInit_GL_QCOM_driver_control();
  15036. #endif /* GL_QCOM_driver_control */
  15037. #ifdef GL_QCOM_extended_get
  15038. if (glewExperimental || GLEW_QCOM_extended_get) GLEW_QCOM_extended_get = !_glewInit_GL_QCOM_extended_get();
  15039. #endif /* GL_QCOM_extended_get */
  15040. #ifdef GL_QCOM_extended_get2
  15041. if (glewExperimental || GLEW_QCOM_extended_get2) GLEW_QCOM_extended_get2 = !_glewInit_GL_QCOM_extended_get2();
  15042. #endif /* GL_QCOM_extended_get2 */
  15043. #ifdef GL_QCOM_framebuffer_foveated
  15044. if (glewExperimental || GLEW_QCOM_framebuffer_foveated) GLEW_QCOM_framebuffer_foveated = !_glewInit_GL_QCOM_framebuffer_foveated();
  15045. #endif /* GL_QCOM_framebuffer_foveated */
  15046. #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
  15047. if (glewExperimental || GLEW_QCOM_shader_framebuffer_fetch_noncoherent) GLEW_QCOM_shader_framebuffer_fetch_noncoherent = !_glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent();
  15048. #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
  15049. #ifdef GL_QCOM_tiled_rendering
  15050. if (glewExperimental || GLEW_QCOM_tiled_rendering) GLEW_QCOM_tiled_rendering = !_glewInit_GL_QCOM_tiled_rendering();
  15051. #endif /* GL_QCOM_tiled_rendering */
  15052. #ifdef GL_REGAL_ES1_0_compatibility
  15053. if (glewExperimental || GLEW_REGAL_ES1_0_compatibility) GLEW_REGAL_ES1_0_compatibility = !_glewInit_GL_REGAL_ES1_0_compatibility();
  15054. #endif /* GL_REGAL_ES1_0_compatibility */
  15055. #ifdef GL_REGAL_ES1_1_compatibility
  15056. if (glewExperimental || GLEW_REGAL_ES1_1_compatibility) GLEW_REGAL_ES1_1_compatibility = !_glewInit_GL_REGAL_ES1_1_compatibility();
  15057. #endif /* GL_REGAL_ES1_1_compatibility */
  15058. #ifdef GL_REGAL_error_string
  15059. if (glewExperimental || GLEW_REGAL_error_string) GLEW_REGAL_error_string = !_glewInit_GL_REGAL_error_string();
  15060. #endif /* GL_REGAL_error_string */
  15061. #ifdef GL_REGAL_extension_query
  15062. if (glewExperimental || GLEW_REGAL_extension_query) GLEW_REGAL_extension_query = !_glewInit_GL_REGAL_extension_query();
  15063. #endif /* GL_REGAL_extension_query */
  15064. #ifdef GL_REGAL_log
  15065. if (glewExperimental || GLEW_REGAL_log) GLEW_REGAL_log = !_glewInit_GL_REGAL_log();
  15066. #endif /* GL_REGAL_log */
  15067. #ifdef GL_REGAL_proc_address
  15068. if (glewExperimental || GLEW_REGAL_proc_address) GLEW_REGAL_proc_address = !_glewInit_GL_REGAL_proc_address();
  15069. #endif /* GL_REGAL_proc_address */
  15070. #ifdef GL_SGIS_detail_texture
  15071. if (glewExperimental || GLEW_SGIS_detail_texture) GLEW_SGIS_detail_texture = !_glewInit_GL_SGIS_detail_texture();
  15072. #endif /* GL_SGIS_detail_texture */
  15073. #ifdef GL_SGIS_fog_function
  15074. if (glewExperimental || GLEW_SGIS_fog_function) GLEW_SGIS_fog_function = !_glewInit_GL_SGIS_fog_function();
  15075. #endif /* GL_SGIS_fog_function */
  15076. #ifdef GL_SGIS_multisample
  15077. if (glewExperimental || GLEW_SGIS_multisample) GLEW_SGIS_multisample = !_glewInit_GL_SGIS_multisample();
  15078. #endif /* GL_SGIS_multisample */
  15079. #ifdef GL_SGIS_multitexture
  15080. if (glewExperimental || GLEW_SGIS_multitexture) GLEW_SGIS_multitexture = !_glewInit_GL_SGIS_multitexture();
  15081. #endif /* GL_SGIS_multitexture */
  15082. #ifdef GL_SGIS_shared_multisample
  15083. if (glewExperimental || GLEW_SGIS_shared_multisample) GLEW_SGIS_shared_multisample = !_glewInit_GL_SGIS_shared_multisample();
  15084. #endif /* GL_SGIS_shared_multisample */
  15085. #ifdef GL_SGIS_sharpen_texture
  15086. if (glewExperimental || GLEW_SGIS_sharpen_texture) GLEW_SGIS_sharpen_texture = !_glewInit_GL_SGIS_sharpen_texture();
  15087. #endif /* GL_SGIS_sharpen_texture */
  15088. #ifdef GL_SGIS_texture4D
  15089. if (glewExperimental || GLEW_SGIS_texture4D) GLEW_SGIS_texture4D = !_glewInit_GL_SGIS_texture4D();
  15090. #endif /* GL_SGIS_texture4D */
  15091. #ifdef GL_SGIS_texture_filter4
  15092. if (glewExperimental || GLEW_SGIS_texture_filter4) GLEW_SGIS_texture_filter4 = !_glewInit_GL_SGIS_texture_filter4();
  15093. #endif /* GL_SGIS_texture_filter4 */
  15094. #ifdef GL_SGIX_async
  15095. if (glewExperimental || GLEW_SGIX_async) GLEW_SGIX_async = !_glewInit_GL_SGIX_async();
  15096. #endif /* GL_SGIX_async */
  15097. #ifdef GL_SGIX_datapipe
  15098. if (glewExperimental || GLEW_SGIX_datapipe) GLEW_SGIX_datapipe = !_glewInit_GL_SGIX_datapipe();
  15099. #endif /* GL_SGIX_datapipe */
  15100. #ifdef GL_SGIX_flush_raster
  15101. if (glewExperimental || GLEW_SGIX_flush_raster) GLEW_SGIX_flush_raster = !_glewInit_GL_SGIX_flush_raster();
  15102. #endif /* GL_SGIX_flush_raster */
  15103. #ifdef GL_SGIX_fog_layers
  15104. if (glewExperimental || GLEW_SGIX_fog_layers) GLEW_SGIX_fog_layers = !_glewInit_GL_SGIX_fog_layers();
  15105. #endif /* GL_SGIX_fog_layers */
  15106. #ifdef GL_SGIX_fog_texture
  15107. if (glewExperimental || GLEW_SGIX_fog_texture) GLEW_SGIX_fog_texture = !_glewInit_GL_SGIX_fog_texture();
  15108. #endif /* GL_SGIX_fog_texture */
  15109. #ifdef GL_SGIX_fragment_specular_lighting
  15110. if (glewExperimental || GLEW_SGIX_fragment_specular_lighting) GLEW_SGIX_fragment_specular_lighting = !_glewInit_GL_SGIX_fragment_specular_lighting();
  15111. #endif /* GL_SGIX_fragment_specular_lighting */
  15112. #ifdef GL_SGIX_framezoom
  15113. if (glewExperimental || GLEW_SGIX_framezoom) GLEW_SGIX_framezoom = !_glewInit_GL_SGIX_framezoom();
  15114. #endif /* GL_SGIX_framezoom */
  15115. #ifdef GL_SGIX_igloo_interface
  15116. if (glewExperimental || GLEW_SGIX_igloo_interface) GLEW_SGIX_igloo_interface = !_glewInit_GL_SGIX_igloo_interface();
  15117. #endif /* GL_SGIX_igloo_interface */
  15118. #ifdef GL_SGIX_mpeg1
  15119. if (glewExperimental || GLEW_SGIX_mpeg1) GLEW_SGIX_mpeg1 = !_glewInit_GL_SGIX_mpeg1();
  15120. #endif /* GL_SGIX_mpeg1 */
  15121. #ifdef GL_SGIX_nonlinear_lighting_pervertex
  15122. if (glewExperimental || GLEW_SGIX_nonlinear_lighting_pervertex) GLEW_SGIX_nonlinear_lighting_pervertex = !_glewInit_GL_SGIX_nonlinear_lighting_pervertex();
  15123. #endif /* GL_SGIX_nonlinear_lighting_pervertex */
  15124. #ifdef GL_SGIX_pixel_texture
  15125. if (glewExperimental || GLEW_SGIX_pixel_texture) GLEW_SGIX_pixel_texture = !_glewInit_GL_SGIX_pixel_texture();
  15126. #endif /* GL_SGIX_pixel_texture */
  15127. #ifdef GL_SGIX_polynomial_ffd
  15128. if (glewExperimental || GLEW_SGIX_polynomial_ffd) GLEW_SGIX_polynomial_ffd = !_glewInit_GL_SGIX_polynomial_ffd();
  15129. #endif /* GL_SGIX_polynomial_ffd */
  15130. #ifdef GL_SGIX_quad_mesh
  15131. if (glewExperimental || GLEW_SGIX_quad_mesh) GLEW_SGIX_quad_mesh = !_glewInit_GL_SGIX_quad_mesh();
  15132. #endif /* GL_SGIX_quad_mesh */
  15133. #ifdef GL_SGIX_reference_plane
  15134. if (glewExperimental || GLEW_SGIX_reference_plane) GLEW_SGIX_reference_plane = !_glewInit_GL_SGIX_reference_plane();
  15135. #endif /* GL_SGIX_reference_plane */
  15136. #ifdef GL_SGIX_sprite
  15137. if (glewExperimental || GLEW_SGIX_sprite) GLEW_SGIX_sprite = !_glewInit_GL_SGIX_sprite();
  15138. #endif /* GL_SGIX_sprite */
  15139. #ifdef GL_SGIX_tag_sample_buffer
  15140. if (glewExperimental || GLEW_SGIX_tag_sample_buffer) GLEW_SGIX_tag_sample_buffer = !_glewInit_GL_SGIX_tag_sample_buffer();
  15141. #endif /* GL_SGIX_tag_sample_buffer */
  15142. #ifdef GL_SGIX_vector_ops
  15143. if (glewExperimental || GLEW_SGIX_vector_ops) GLEW_SGIX_vector_ops = !_glewInit_GL_SGIX_vector_ops();
  15144. #endif /* GL_SGIX_vector_ops */
  15145. #ifdef GL_SGIX_vertex_array_object
  15146. if (glewExperimental || GLEW_SGIX_vertex_array_object) GLEW_SGIX_vertex_array_object = !_glewInit_GL_SGIX_vertex_array_object();
  15147. #endif /* GL_SGIX_vertex_array_object */
  15148. #ifdef GL_SGI_color_table
  15149. if (glewExperimental || GLEW_SGI_color_table) GLEW_SGI_color_table = !_glewInit_GL_SGI_color_table();
  15150. #endif /* GL_SGI_color_table */
  15151. #ifdef GL_SGI_fft
  15152. if (glewExperimental || GLEW_SGI_fft) GLEW_SGI_fft = !_glewInit_GL_SGI_fft();
  15153. #endif /* GL_SGI_fft */
  15154. #ifdef GL_SUNX_constant_data
  15155. if (glewExperimental || GLEW_SUNX_constant_data) GLEW_SUNX_constant_data = !_glewInit_GL_SUNX_constant_data();
  15156. #endif /* GL_SUNX_constant_data */
  15157. #ifdef GL_SUN_global_alpha
  15158. if (glewExperimental || GLEW_SUN_global_alpha) GLEW_SUN_global_alpha = !_glewInit_GL_SUN_global_alpha();
  15159. #endif /* GL_SUN_global_alpha */
  15160. #ifdef GL_SUN_read_video_pixels
  15161. if (glewExperimental || GLEW_SUN_read_video_pixels) GLEW_SUN_read_video_pixels = !_glewInit_GL_SUN_read_video_pixels();
  15162. #endif /* GL_SUN_read_video_pixels */
  15163. #ifdef GL_SUN_triangle_list
  15164. if (glewExperimental || GLEW_SUN_triangle_list) GLEW_SUN_triangle_list = !_glewInit_GL_SUN_triangle_list();
  15165. #endif /* GL_SUN_triangle_list */
  15166. #ifdef GL_SUN_vertex
  15167. if (glewExperimental || GLEW_SUN_vertex) GLEW_SUN_vertex = !_glewInit_GL_SUN_vertex();
  15168. #endif /* GL_SUN_vertex */
  15169. #ifdef GL_WIN_swap_hint
  15170. if (glewExperimental || GLEW_WIN_swap_hint) GLEW_WIN_swap_hint = !_glewInit_GL_WIN_swap_hint();
  15171. #endif /* GL_WIN_swap_hint */
  15172. #ifdef GL_NV_fragment_program4
  15173. GLEW_NV_fragment_program4 = GLEW_NV_gpu_program4;
  15174. #endif /* GL_NV_fragment_program4 */
  15175. #ifdef GL_NV_geometry_program4
  15176. GLEW_NV_geometry_program4 = GLEW_NV_gpu_program4;
  15177. #endif /* GL_NV_geometry_program4 */
  15178. #ifdef GL_NV_tessellation_program5
  15179. GLEW_NV_tessellation_program5 = GLEW_NV_gpu_program5;
  15180. #endif /* GL_NV_tessellation_program5 */
  15181. #ifdef GL_NV_vertex_program4
  15182. GLEW_NV_vertex_program4 = GLEW_NV_gpu_program4;
  15183. #endif /* GL_NV_vertex_program4 */
  15184. return GLEW_OK;
  15185. }
  15186. #if defined(GLEW_OSMESA)
  15187. #elif defined(GLEW_EGL)
  15188. PFNEGLCHOOSECONFIGPROC __eglewChooseConfig = NULL;
  15189. PFNEGLCOPYBUFFERSPROC __eglewCopyBuffers = NULL;
  15190. PFNEGLCREATECONTEXTPROC __eglewCreateContext = NULL;
  15191. PFNEGLCREATEPBUFFERSURFACEPROC __eglewCreatePbufferSurface = NULL;
  15192. PFNEGLCREATEPIXMAPSURFACEPROC __eglewCreatePixmapSurface = NULL;
  15193. PFNEGLCREATEWINDOWSURFACEPROC __eglewCreateWindowSurface = NULL;
  15194. PFNEGLDESTROYCONTEXTPROC __eglewDestroyContext = NULL;
  15195. PFNEGLDESTROYSURFACEPROC __eglewDestroySurface = NULL;
  15196. PFNEGLGETCONFIGATTRIBPROC __eglewGetConfigAttrib = NULL;
  15197. PFNEGLGETCONFIGSPROC __eglewGetConfigs = NULL;
  15198. PFNEGLGETCURRENTDISPLAYPROC __eglewGetCurrentDisplay = NULL;
  15199. PFNEGLGETCURRENTSURFACEPROC __eglewGetCurrentSurface = NULL;
  15200. PFNEGLGETDISPLAYPROC __eglewGetDisplay = NULL;
  15201. PFNEGLGETERRORPROC __eglewGetError = NULL;
  15202. PFNEGLINITIALIZEPROC __eglewInitialize = NULL;
  15203. PFNEGLMAKECURRENTPROC __eglewMakeCurrent = NULL;
  15204. PFNEGLQUERYCONTEXTPROC __eglewQueryContext = NULL;
  15205. PFNEGLQUERYSTRINGPROC __eglewQueryString = NULL;
  15206. PFNEGLQUERYSURFACEPROC __eglewQuerySurface = NULL;
  15207. PFNEGLSWAPBUFFERSPROC __eglewSwapBuffers = NULL;
  15208. PFNEGLTERMINATEPROC __eglewTerminate = NULL;
  15209. PFNEGLWAITGLPROC __eglewWaitGL = NULL;
  15210. PFNEGLWAITNATIVEPROC __eglewWaitNative = NULL;
  15211. PFNEGLBINDTEXIMAGEPROC __eglewBindTexImage = NULL;
  15212. PFNEGLRELEASETEXIMAGEPROC __eglewReleaseTexImage = NULL;
  15213. PFNEGLSURFACEATTRIBPROC __eglewSurfaceAttrib = NULL;
  15214. PFNEGLSWAPINTERVALPROC __eglewSwapInterval = NULL;
  15215. PFNEGLBINDAPIPROC __eglewBindAPI = NULL;
  15216. PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC __eglewCreatePbufferFromClientBuffer = NULL;
  15217. PFNEGLQUERYAPIPROC __eglewQueryAPI = NULL;
  15218. PFNEGLRELEASETHREADPROC __eglewReleaseThread = NULL;
  15219. PFNEGLWAITCLIENTPROC __eglewWaitClient = NULL;
  15220. PFNEGLGETCURRENTCONTEXTPROC __eglewGetCurrentContext = NULL;
  15221. PFNEGLCLIENTWAITSYNCPROC __eglewClientWaitSync = NULL;
  15222. PFNEGLCREATEIMAGEPROC __eglewCreateImage = NULL;
  15223. PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC __eglewCreatePlatformPixmapSurface = NULL;
  15224. PFNEGLCREATEPLATFORMWINDOWSURFACEPROC __eglewCreatePlatformWindowSurface = NULL;
  15225. PFNEGLCREATESYNCPROC __eglewCreateSync = NULL;
  15226. PFNEGLDESTROYIMAGEPROC __eglewDestroyImage = NULL;
  15227. PFNEGLDESTROYSYNCPROC __eglewDestroySync = NULL;
  15228. PFNEGLGETPLATFORMDISPLAYPROC __eglewGetPlatformDisplay = NULL;
  15229. PFNEGLGETSYNCATTRIBPROC __eglewGetSyncAttrib = NULL;
  15230. PFNEGLWAITSYNCPROC __eglewWaitSync = NULL;
  15231. PFNEGLSETBLOBCACHEFUNCSANDROIDPROC __eglewSetBlobCacheFuncsANDROID = NULL;
  15232. PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC __eglewCreateNativeClientBufferANDROID = NULL;
  15233. PFNEGLDUPNATIVEFENCEFDANDROIDPROC __eglewDupNativeFenceFDANDROID = NULL;
  15234. PFNEGLPRESENTATIONTIMEANDROIDPROC __eglewPresentationTimeANDROID = NULL;
  15235. PFNEGLQUERYSURFACEPOINTERANGLEPROC __eglewQuerySurfacePointerANGLE = NULL;
  15236. PFNEGLQUERYDEVICESEXTPROC __eglewQueryDevicesEXT = NULL;
  15237. PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT = NULL;
  15238. PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT = NULL;
  15239. PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT = NULL;
  15240. PFNEGLQUERYDMABUFFORMATSEXTPROC __eglewQueryDmaBufFormatsEXT = NULL;
  15241. PFNEGLQUERYDMABUFMODIFIERSEXTPROC __eglewQueryDmaBufModifiersEXT = NULL;
  15242. PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT = NULL;
  15243. PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT = NULL;
  15244. PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT = NULL;
  15245. PFNEGLOUTPUTPORTATTRIBEXTPROC __eglewOutputPortAttribEXT = NULL;
  15246. PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC __eglewQueryOutputLayerAttribEXT = NULL;
  15247. PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC __eglewQueryOutputLayerStringEXT = NULL;
  15248. PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC __eglewQueryOutputPortAttribEXT = NULL;
  15249. PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC __eglewQueryOutputPortStringEXT = NULL;
  15250. PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC __eglewCreatePlatformPixmapSurfaceEXT = NULL;
  15251. PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC __eglewCreatePlatformWindowSurfaceEXT = NULL;
  15252. PFNEGLGETPLATFORMDISPLAYEXTPROC __eglewGetPlatformDisplayEXT = NULL;
  15253. PFNEGLSTREAMCONSUMEROUTPUTEXTPROC __eglewStreamConsumerOutputEXT = NULL;
  15254. PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC __eglewSwapBuffersWithDamageEXT = NULL;
  15255. PFNEGLCREATEPIXMAPSURFACEHIPROC __eglewCreatePixmapSurfaceHI = NULL;
  15256. PFNEGLCREATESYNC64KHRPROC __eglewCreateSync64KHR = NULL;
  15257. PFNEGLDEBUGMESSAGECONTROLKHRPROC __eglewDebugMessageControlKHR = NULL;
  15258. PFNEGLLABELOBJECTKHRPROC __eglewLabelObjectKHR = NULL;
  15259. PFNEGLQUERYDEBUGKHRPROC __eglewQueryDebugKHR = NULL;
  15260. PFNEGLCREATEIMAGEKHRPROC __eglewCreateImageKHR = NULL;
  15261. PFNEGLDESTROYIMAGEKHRPROC __eglewDestroyImageKHR = NULL;
  15262. PFNEGLLOCKSURFACEKHRPROC __eglewLockSurfaceKHR = NULL;
  15263. PFNEGLUNLOCKSURFACEKHRPROC __eglewUnlockSurfaceKHR = NULL;
  15264. PFNEGLQUERYSURFACE64KHRPROC __eglewQuerySurface64KHR = NULL;
  15265. PFNEGLSETDAMAGEREGIONKHRPROC __eglewSetDamageRegionKHR = NULL;
  15266. PFNEGLCLIENTWAITSYNCKHRPROC __eglewClientWaitSyncKHR = NULL;
  15267. PFNEGLCREATESYNCKHRPROC __eglewCreateSyncKHR = NULL;
  15268. PFNEGLDESTROYSYNCKHRPROC __eglewDestroySyncKHR = NULL;
  15269. PFNEGLGETSYNCATTRIBKHRPROC __eglewGetSyncAttribKHR = NULL;
  15270. PFNEGLSIGNALSYNCKHRPROC __eglewSignalSyncKHR = NULL;
  15271. PFNEGLCREATESTREAMKHRPROC __eglewCreateStreamKHR = NULL;
  15272. PFNEGLDESTROYSTREAMKHRPROC __eglewDestroyStreamKHR = NULL;
  15273. PFNEGLQUERYSTREAMKHRPROC __eglewQueryStreamKHR = NULL;
  15274. PFNEGLQUERYSTREAMU64KHRPROC __eglewQueryStreamu64KHR = NULL;
  15275. PFNEGLSTREAMATTRIBKHRPROC __eglewStreamAttribKHR = NULL;
  15276. PFNEGLCREATESTREAMATTRIBKHRPROC __eglewCreateStreamAttribKHR = NULL;
  15277. PFNEGLQUERYSTREAMATTRIBKHRPROC __eglewQueryStreamAttribKHR = NULL;
  15278. PFNEGLSETSTREAMATTRIBKHRPROC __eglewSetStreamAttribKHR = NULL;
  15279. PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC __eglewStreamConsumerAcquireAttribKHR = NULL;
  15280. PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC __eglewStreamConsumerReleaseAttribKHR = NULL;
  15281. PFNEGLSTREAMCONSUMERACQUIREKHRPROC __eglewStreamConsumerAcquireKHR = NULL;
  15282. PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC __eglewStreamConsumerGLTextureExternalKHR = NULL;
  15283. PFNEGLSTREAMCONSUMERRELEASEKHRPROC __eglewStreamConsumerReleaseKHR = NULL;
  15284. PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC __eglewCreateStreamFromFileDescriptorKHR = NULL;
  15285. PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC __eglewGetStreamFileDescriptorKHR = NULL;
  15286. PFNEGLQUERYSTREAMTIMEKHRPROC __eglewQueryStreamTimeKHR = NULL;
  15287. PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC __eglewCreateStreamProducerSurfaceKHR = NULL;
  15288. PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC __eglewSwapBuffersWithDamageKHR = NULL;
  15289. PFNEGLWAITSYNCKHRPROC __eglewWaitSyncKHR = NULL;
  15290. PFNEGLCREATEDRMIMAGEMESAPROC __eglewCreateDRMImageMESA = NULL;
  15291. PFNEGLEXPORTDRMIMAGEMESAPROC __eglewExportDRMImageMESA = NULL;
  15292. PFNEGLEXPORTDMABUFIMAGEMESAPROC __eglewExportDMABUFImageMESA = NULL;
  15293. PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC __eglewExportDMABUFImageQueryMESA = NULL;
  15294. PFNEGLSWAPBUFFERSREGIONNOKPROC __eglewSwapBuffersRegionNOK = NULL;
  15295. PFNEGLSWAPBUFFERSREGION2NOKPROC __eglewSwapBuffersRegion2NOK = NULL;
  15296. PFNEGLQUERYNATIVEDISPLAYNVPROC __eglewQueryNativeDisplayNV = NULL;
  15297. PFNEGLQUERYNATIVEPIXMAPNVPROC __eglewQueryNativePixmapNV = NULL;
  15298. PFNEGLQUERYNATIVEWINDOWNVPROC __eglewQueryNativeWindowNV = NULL;
  15299. PFNEGLPOSTSUBBUFFERNVPROC __eglewPostSubBufferNV = NULL;
  15300. PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC __eglewStreamConsumerGLTextureExternalAttribsNV = NULL;
  15301. PFNEGLQUERYDISPLAYATTRIBNVPROC __eglewQueryDisplayAttribNV = NULL;
  15302. PFNEGLQUERYSTREAMMETADATANVPROC __eglewQueryStreamMetadataNV = NULL;
  15303. PFNEGLSETSTREAMMETADATANVPROC __eglewSetStreamMetadataNV = NULL;
  15304. PFNEGLRESETSTREAMNVPROC __eglewResetStreamNV = NULL;
  15305. PFNEGLCREATESTREAMSYNCNVPROC __eglewCreateStreamSyncNV = NULL;
  15306. PFNEGLCLIENTWAITSYNCNVPROC __eglewClientWaitSyncNV = NULL;
  15307. PFNEGLCREATEFENCESYNCNVPROC __eglewCreateFenceSyncNV = NULL;
  15308. PFNEGLDESTROYSYNCNVPROC __eglewDestroySyncNV = NULL;
  15309. PFNEGLFENCENVPROC __eglewFenceNV = NULL;
  15310. PFNEGLGETSYNCATTRIBNVPROC __eglewGetSyncAttribNV = NULL;
  15311. PFNEGLSIGNALSYNCNVPROC __eglewSignalSyncNV = NULL;
  15312. PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC __eglewGetSystemTimeFrequencyNV = NULL;
  15313. PFNEGLGETSYSTEMTIMENVPROC __eglewGetSystemTimeNV = NULL;
  15314. GLboolean __EGLEW_VERSION_1_0 = GL_FALSE;
  15315. GLboolean __EGLEW_VERSION_1_1 = GL_FALSE;
  15316. GLboolean __EGLEW_VERSION_1_2 = GL_FALSE;
  15317. GLboolean __EGLEW_VERSION_1_3 = GL_FALSE;
  15318. GLboolean __EGLEW_VERSION_1_4 = GL_FALSE;
  15319. GLboolean __EGLEW_VERSION_1_5 = GL_FALSE;
  15320. GLboolean __EGLEW_ANDROID_blob_cache = GL_FALSE;
  15321. GLboolean __EGLEW_ANDROID_create_native_client_buffer = GL_FALSE;
  15322. GLboolean __EGLEW_ANDROID_framebuffer_target = GL_FALSE;
  15323. GLboolean __EGLEW_ANDROID_front_buffer_auto_refresh = GL_FALSE;
  15324. GLboolean __EGLEW_ANDROID_image_native_buffer = GL_FALSE;
  15325. GLboolean __EGLEW_ANDROID_native_fence_sync = GL_FALSE;
  15326. GLboolean __EGLEW_ANDROID_presentation_time = GL_FALSE;
  15327. GLboolean __EGLEW_ANDROID_recordable = GL_FALSE;
  15328. GLboolean __EGLEW_ANGLE_d3d_share_handle_client_buffer = GL_FALSE;
  15329. GLboolean __EGLEW_ANGLE_device_d3d = GL_FALSE;
  15330. GLboolean __EGLEW_ANGLE_query_surface_pointer = GL_FALSE;
  15331. GLboolean __EGLEW_ANGLE_surface_d3d_texture_2d_share_handle = GL_FALSE;
  15332. GLboolean __EGLEW_ANGLE_window_fixed_size = GL_FALSE;
  15333. GLboolean __EGLEW_ARM_implicit_external_sync = GL_FALSE;
  15334. GLboolean __EGLEW_ARM_pixmap_multisample_discard = GL_FALSE;
  15335. GLboolean __EGLEW_EXT_buffer_age = GL_FALSE;
  15336. GLboolean __EGLEW_EXT_client_extensions = GL_FALSE;
  15337. GLboolean __EGLEW_EXT_create_context_robustness = GL_FALSE;
  15338. GLboolean __EGLEW_EXT_device_base = GL_FALSE;
  15339. GLboolean __EGLEW_EXT_device_drm = GL_FALSE;
  15340. GLboolean __EGLEW_EXT_device_enumeration = GL_FALSE;
  15341. GLboolean __EGLEW_EXT_device_openwf = GL_FALSE;
  15342. GLboolean __EGLEW_EXT_device_query = GL_FALSE;
  15343. GLboolean __EGLEW_EXT_gl_colorspace_bt2020_linear = GL_FALSE;
  15344. GLboolean __EGLEW_EXT_gl_colorspace_bt2020_pq = GL_FALSE;
  15345. GLboolean __EGLEW_EXT_gl_colorspace_scrgb_linear = GL_FALSE;
  15346. GLboolean __EGLEW_EXT_image_dma_buf_import = GL_FALSE;
  15347. GLboolean __EGLEW_EXT_image_dma_buf_import_modifiers = GL_FALSE;
  15348. GLboolean __EGLEW_EXT_multiview_window = GL_FALSE;
  15349. GLboolean __EGLEW_EXT_output_base = GL_FALSE;
  15350. GLboolean __EGLEW_EXT_output_drm = GL_FALSE;
  15351. GLboolean __EGLEW_EXT_output_openwf = GL_FALSE;
  15352. GLboolean __EGLEW_EXT_pixel_format_float = GL_FALSE;
  15353. GLboolean __EGLEW_EXT_platform_base = GL_FALSE;
  15354. GLboolean __EGLEW_EXT_platform_device = GL_FALSE;
  15355. GLboolean __EGLEW_EXT_platform_wayland = GL_FALSE;
  15356. GLboolean __EGLEW_EXT_platform_x11 = GL_FALSE;
  15357. GLboolean __EGLEW_EXT_protected_content = GL_FALSE;
  15358. GLboolean __EGLEW_EXT_protected_surface = GL_FALSE;
  15359. GLboolean __EGLEW_EXT_stream_consumer_egloutput = GL_FALSE;
  15360. GLboolean __EGLEW_EXT_surface_SMPTE2086_metadata = GL_FALSE;
  15361. GLboolean __EGLEW_EXT_swap_buffers_with_damage = GL_FALSE;
  15362. GLboolean __EGLEW_EXT_yuv_surface = GL_FALSE;
  15363. GLboolean __EGLEW_HI_clientpixmap = GL_FALSE;
  15364. GLboolean __EGLEW_HI_colorformats = GL_FALSE;
  15365. GLboolean __EGLEW_IMG_context_priority = GL_FALSE;
  15366. GLboolean __EGLEW_IMG_image_plane_attribs = GL_FALSE;
  15367. GLboolean __EGLEW_KHR_cl_event = GL_FALSE;
  15368. GLboolean __EGLEW_KHR_cl_event2 = GL_FALSE;
  15369. GLboolean __EGLEW_KHR_client_get_all_proc_addresses = GL_FALSE;
  15370. GLboolean __EGLEW_KHR_config_attribs = GL_FALSE;
  15371. GLboolean __EGLEW_KHR_context_flush_control = GL_FALSE;
  15372. GLboolean __EGLEW_KHR_create_context = GL_FALSE;
  15373. GLboolean __EGLEW_KHR_create_context_no_error = GL_FALSE;
  15374. GLboolean __EGLEW_KHR_debug = GL_FALSE;
  15375. GLboolean __EGLEW_KHR_fence_sync = GL_FALSE;
  15376. GLboolean __EGLEW_KHR_get_all_proc_addresses = GL_FALSE;
  15377. GLboolean __EGLEW_KHR_gl_colorspace = GL_FALSE;
  15378. GLboolean __EGLEW_KHR_gl_renderbuffer_image = GL_FALSE;
  15379. GLboolean __EGLEW_KHR_gl_texture_2D_image = GL_FALSE;
  15380. GLboolean __EGLEW_KHR_gl_texture_3D_image = GL_FALSE;
  15381. GLboolean __EGLEW_KHR_gl_texture_cubemap_image = GL_FALSE;
  15382. GLboolean __EGLEW_KHR_image = GL_FALSE;
  15383. GLboolean __EGLEW_KHR_image_base = GL_FALSE;
  15384. GLboolean __EGLEW_KHR_image_pixmap = GL_FALSE;
  15385. GLboolean __EGLEW_KHR_lock_surface = GL_FALSE;
  15386. GLboolean __EGLEW_KHR_lock_surface2 = GL_FALSE;
  15387. GLboolean __EGLEW_KHR_lock_surface3 = GL_FALSE;
  15388. GLboolean __EGLEW_KHR_mutable_render_buffer = GL_FALSE;
  15389. GLboolean __EGLEW_KHR_no_config_context = GL_FALSE;
  15390. GLboolean __EGLEW_KHR_partial_update = GL_FALSE;
  15391. GLboolean __EGLEW_KHR_platform_android = GL_FALSE;
  15392. GLboolean __EGLEW_KHR_platform_gbm = GL_FALSE;
  15393. GLboolean __EGLEW_KHR_platform_wayland = GL_FALSE;
  15394. GLboolean __EGLEW_KHR_platform_x11 = GL_FALSE;
  15395. GLboolean __EGLEW_KHR_reusable_sync = GL_FALSE;
  15396. GLboolean __EGLEW_KHR_stream = GL_FALSE;
  15397. GLboolean __EGLEW_KHR_stream_attrib = GL_FALSE;
  15398. GLboolean __EGLEW_KHR_stream_consumer_gltexture = GL_FALSE;
  15399. GLboolean __EGLEW_KHR_stream_cross_process_fd = GL_FALSE;
  15400. GLboolean __EGLEW_KHR_stream_fifo = GL_FALSE;
  15401. GLboolean __EGLEW_KHR_stream_producer_aldatalocator = GL_FALSE;
  15402. GLboolean __EGLEW_KHR_stream_producer_eglsurface = GL_FALSE;
  15403. GLboolean __EGLEW_KHR_surfaceless_context = GL_FALSE;
  15404. GLboolean __EGLEW_KHR_swap_buffers_with_damage = GL_FALSE;
  15405. GLboolean __EGLEW_KHR_vg_parent_image = GL_FALSE;
  15406. GLboolean __EGLEW_KHR_wait_sync = GL_FALSE;
  15407. GLboolean __EGLEW_MESA_drm_image = GL_FALSE;
  15408. GLboolean __EGLEW_MESA_image_dma_buf_export = GL_FALSE;
  15409. GLboolean __EGLEW_MESA_platform_gbm = GL_FALSE;
  15410. GLboolean __EGLEW_MESA_platform_surfaceless = GL_FALSE;
  15411. GLboolean __EGLEW_NOK_swap_region = GL_FALSE;
  15412. GLboolean __EGLEW_NOK_swap_region2 = GL_FALSE;
  15413. GLboolean __EGLEW_NOK_texture_from_pixmap = GL_FALSE;
  15414. GLboolean __EGLEW_NV_3dvision_surface = GL_FALSE;
  15415. GLboolean __EGLEW_NV_coverage_sample = GL_FALSE;
  15416. GLboolean __EGLEW_NV_coverage_sample_resolve = GL_FALSE;
  15417. GLboolean __EGLEW_NV_cuda_event = GL_FALSE;
  15418. GLboolean __EGLEW_NV_depth_nonlinear = GL_FALSE;
  15419. GLboolean __EGLEW_NV_device_cuda = GL_FALSE;
  15420. GLboolean __EGLEW_NV_native_query = GL_FALSE;
  15421. GLboolean __EGLEW_NV_post_convert_rounding = GL_FALSE;
  15422. GLboolean __EGLEW_NV_post_sub_buffer = GL_FALSE;
  15423. GLboolean __EGLEW_NV_robustness_video_memory_purge = GL_FALSE;
  15424. GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv = GL_FALSE;
  15425. GLboolean __EGLEW_NV_stream_cross_display = GL_FALSE;
  15426. GLboolean __EGLEW_NV_stream_cross_object = GL_FALSE;
  15427. GLboolean __EGLEW_NV_stream_cross_partition = GL_FALSE;
  15428. GLboolean __EGLEW_NV_stream_cross_process = GL_FALSE;
  15429. GLboolean __EGLEW_NV_stream_cross_system = GL_FALSE;
  15430. GLboolean __EGLEW_NV_stream_fifo_next = GL_FALSE;
  15431. GLboolean __EGLEW_NV_stream_fifo_synchronous = GL_FALSE;
  15432. GLboolean __EGLEW_NV_stream_frame_limits = GL_FALSE;
  15433. GLboolean __EGLEW_NV_stream_metadata = GL_FALSE;
  15434. GLboolean __EGLEW_NV_stream_remote = GL_FALSE;
  15435. GLboolean __EGLEW_NV_stream_reset = GL_FALSE;
  15436. GLboolean __EGLEW_NV_stream_socket = GL_FALSE;
  15437. GLboolean __EGLEW_NV_stream_socket_inet = GL_FALSE;
  15438. GLboolean __EGLEW_NV_stream_socket_unix = GL_FALSE;
  15439. GLboolean __EGLEW_NV_stream_sync = GL_FALSE;
  15440. GLboolean __EGLEW_NV_sync = GL_FALSE;
  15441. GLboolean __EGLEW_NV_system_time = GL_FALSE;
  15442. GLboolean __EGLEW_TIZEN_image_native_buffer = GL_FALSE;
  15443. GLboolean __EGLEW_TIZEN_image_native_surface = GL_FALSE;
  15444. #ifdef EGL_VERSION_1_0
  15445. static GLboolean _glewInit_EGL_VERSION_1_0 ()
  15446. {
  15447. GLboolean r = GL_FALSE;
  15448. r = ((eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)glewGetProcAddress((const GLubyte*)"eglChooseConfig")) == NULL) || r;
  15449. r = ((eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)glewGetProcAddress((const GLubyte*)"eglCopyBuffers")) == NULL) || r;
  15450. r = ((eglCreateContext = (PFNEGLCREATECONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreateContext")) == NULL) || r;
  15451. r = ((eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePbufferSurface")) == NULL) || r;
  15452. r = ((eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePixmapSurface")) == NULL) || r;
  15453. r = ((eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreateWindowSurface")) == NULL) || r;
  15454. r = ((eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglDestroyContext")) == NULL) || r;
  15455. r = ((eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglDestroySurface")) == NULL) || r;
  15456. r = ((eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglGetConfigAttrib")) == NULL) || r;
  15457. r = ((eglGetConfigs = (PFNEGLGETCONFIGSPROC)glewGetProcAddress((const GLubyte*)"eglGetConfigs")) == NULL) || r;
  15458. r = ((eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentDisplay")) == NULL) || r;
  15459. r = ((eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentSurface")) == NULL) || r;
  15460. r = ((eglGetDisplay = (PFNEGLGETDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetDisplay")) == NULL) || r;
  15461. r = ((eglGetError = (PFNEGLGETERRORPROC)glewGetProcAddress((const GLubyte*)"eglGetError")) == NULL) || r;
  15462. r = ((eglInitialize = (PFNEGLINITIALIZEPROC)glewGetProcAddress((const GLubyte*)"eglInitialize")) == NULL) || r;
  15463. r = ((eglMakeCurrent = (PFNEGLMAKECURRENTPROC)glewGetProcAddress((const GLubyte*)"eglMakeCurrent")) == NULL) || r;
  15464. r = ((eglQueryContext = (PFNEGLQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryContext")) == NULL) || r;
  15465. r = ((eglQueryString = (PFNEGLQUERYSTRINGPROC)glewGetProcAddress((const GLubyte*)"eglQueryString")) == NULL) || r;
  15466. r = ((eglQuerySurface = (PFNEGLQUERYSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurface")) == NULL) || r;
  15467. r = ((eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffers")) == NULL) || r;
  15468. r = ((eglTerminate = (PFNEGLTERMINATEPROC)glewGetProcAddress((const GLubyte*)"eglTerminate")) == NULL) || r;
  15469. r = ((eglWaitGL = (PFNEGLWAITGLPROC)glewGetProcAddress((const GLubyte*)"eglWaitGL")) == NULL) || r;
  15470. r = ((eglWaitNative = (PFNEGLWAITNATIVEPROC)glewGetProcAddress((const GLubyte*)"eglWaitNative")) == NULL) || r;
  15471. return r;
  15472. }
  15473. #endif /* EGL_VERSION_1_0 */
  15474. #ifdef EGL_VERSION_1_1
  15475. static GLboolean _glewInit_EGL_VERSION_1_1 ()
  15476. {
  15477. GLboolean r = GL_FALSE;
  15478. r = ((eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglBindTexImage")) == NULL) || r;
  15479. r = ((eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglReleaseTexImage")) == NULL) || r;
  15480. r = ((eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglSurfaceAttrib")) == NULL) || r;
  15481. r = ((eglSwapInterval = (PFNEGLSWAPINTERVALPROC)glewGetProcAddress((const GLubyte*)"eglSwapInterval")) == NULL) || r;
  15482. return r;
  15483. }
  15484. #endif /* EGL_VERSION_1_1 */
  15485. #ifdef EGL_VERSION_1_2
  15486. static GLboolean _glewInit_EGL_VERSION_1_2 ()
  15487. {
  15488. GLboolean r = GL_FALSE;
  15489. r = ((eglBindAPI = (PFNEGLBINDAPIPROC)glewGetProcAddress((const GLubyte*)"eglBindAPI")) == NULL) || r;
  15490. r = ((eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)glewGetProcAddress((const GLubyte*)"eglCreatePbufferFromClientBuffer")) == NULL) || r;
  15491. r = ((eglQueryAPI = (PFNEGLQUERYAPIPROC)glewGetProcAddress((const GLubyte*)"eglQueryAPI")) == NULL) || r;
  15492. r = ((eglReleaseThread = (PFNEGLRELEASETHREADPROC)glewGetProcAddress((const GLubyte*)"eglReleaseThread")) == NULL) || r;
  15493. r = ((eglWaitClient = (PFNEGLWAITCLIENTPROC)glewGetProcAddress((const GLubyte*)"eglWaitClient")) == NULL) || r;
  15494. return r;
  15495. }
  15496. #endif /* EGL_VERSION_1_2 */
  15497. #ifdef EGL_VERSION_1_4
  15498. static GLboolean _glewInit_EGL_VERSION_1_4 ()
  15499. {
  15500. GLboolean r = GL_FALSE;
  15501. r = ((eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentContext")) == NULL) || r;
  15502. return r;
  15503. }
  15504. #endif /* EGL_VERSION_1_4 */
  15505. #ifdef EGL_VERSION_1_5
  15506. static GLboolean _glewInit_EGL_VERSION_1_5 ()
  15507. {
  15508. GLboolean r = GL_FALSE;
  15509. r = ((eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSync")) == NULL) || r;
  15510. r = ((eglCreateImage = (PFNEGLCREATEIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglCreateImage")) == NULL) || r;
  15511. r = ((eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformPixmapSurface")) == NULL) || r;
  15512. r = ((eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformWindowSurface")) == NULL) || r;
  15513. r = ((eglCreateSync = (PFNEGLCREATESYNCPROC)glewGetProcAddress((const GLubyte*)"eglCreateSync")) == NULL) || r;
  15514. r = ((eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglDestroyImage")) == NULL) || r;
  15515. r = ((eglDestroySync = (PFNEGLDESTROYSYNCPROC)glewGetProcAddress((const GLubyte*)"eglDestroySync")) == NULL) || r;
  15516. r = ((eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetPlatformDisplay")) == NULL) || r;
  15517. r = ((eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttrib")) == NULL) || r;
  15518. r = ((eglWaitSync = (PFNEGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"eglWaitSync")) == NULL) || r;
  15519. return r;
  15520. }
  15521. #endif /* EGL_VERSION_1_5 */
  15522. #ifdef EGL_ANDROID_blob_cache
  15523. static GLboolean _glewInit_EGL_ANDROID_blob_cache ()
  15524. {
  15525. GLboolean r = GL_FALSE;
  15526. r = ((eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglSetBlobCacheFuncsANDROID")) == NULL) || r;
  15527. return r;
  15528. }
  15529. #endif /* EGL_ANDROID_blob_cache */
  15530. #ifdef EGL_ANDROID_create_native_client_buffer
  15531. static GLboolean _glewInit_EGL_ANDROID_create_native_client_buffer ()
  15532. {
  15533. GLboolean r = GL_FALSE;
  15534. r = ((eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglCreateNativeClientBufferANDROID")) == NULL) || r;
  15535. return r;
  15536. }
  15537. #endif /* EGL_ANDROID_create_native_client_buffer */
  15538. #ifdef EGL_ANDROID_native_fence_sync
  15539. static GLboolean _glewInit_EGL_ANDROID_native_fence_sync ()
  15540. {
  15541. GLboolean r = GL_FALSE;
  15542. r = ((eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglDupNativeFenceFDANDROID")) == NULL) || r;
  15543. return r;
  15544. }
  15545. #endif /* EGL_ANDROID_native_fence_sync */
  15546. #ifdef EGL_ANDROID_presentation_time
  15547. static GLboolean _glewInit_EGL_ANDROID_presentation_time ()
  15548. {
  15549. GLboolean r = GL_FALSE;
  15550. r = ((eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglPresentationTimeANDROID")) == NULL) || r;
  15551. return r;
  15552. }
  15553. #endif /* EGL_ANDROID_presentation_time */
  15554. #ifdef EGL_ANGLE_query_surface_pointer
  15555. static GLboolean _glewInit_EGL_ANGLE_query_surface_pointer ()
  15556. {
  15557. GLboolean r = GL_FALSE;
  15558. r = ((eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurfacePointerANGLE")) == NULL) || r;
  15559. return r;
  15560. }
  15561. #endif /* EGL_ANGLE_query_surface_pointer */
  15562. #ifdef EGL_EXT_device_enumeration
  15563. static GLboolean _glewInit_EGL_EXT_device_enumeration ()
  15564. {
  15565. GLboolean r = GL_FALSE;
  15566. r = ((eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDevicesEXT")) == NULL) || r;
  15567. return r;
  15568. }
  15569. #endif /* EGL_EXT_device_enumeration */
  15570. #ifdef EGL_EXT_device_query
  15571. static GLboolean _glewInit_EGL_EXT_device_query ()
  15572. {
  15573. GLboolean r = GL_FALSE;
  15574. r = ((eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDeviceAttribEXT")) == NULL) || r;
  15575. r = ((eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDeviceStringEXT")) == NULL) || r;
  15576. r = ((eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDisplayAttribEXT")) == NULL) || r;
  15577. return r;
  15578. }
  15579. #endif /* EGL_EXT_device_query */
  15580. #ifdef EGL_EXT_image_dma_buf_import_modifiers
  15581. static GLboolean _glewInit_EGL_EXT_image_dma_buf_import_modifiers ()
  15582. {
  15583. GLboolean r = GL_FALSE;
  15584. r = ((eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufFormatsEXT")) == NULL) || r;
  15585. r = ((eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufModifiersEXT")) == NULL) || r;
  15586. return r;
  15587. }
  15588. #endif /* EGL_EXT_image_dma_buf_import_modifiers */
  15589. #ifdef EGL_EXT_output_base
  15590. static GLboolean _glewInit_EGL_EXT_output_base ()
  15591. {
  15592. GLboolean r = GL_FALSE;
  15593. r = ((eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetOutputLayersEXT")) == NULL) || r;
  15594. r = ((eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetOutputPortsEXT")) == NULL) || r;
  15595. r = ((eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglOutputLayerAttribEXT")) == NULL) || r;
  15596. r = ((eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglOutputPortAttribEXT")) == NULL) || r;
  15597. r = ((eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputLayerAttribEXT")) == NULL) || r;
  15598. r = ((eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputLayerStringEXT")) == NULL) || r;
  15599. r = ((eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputPortAttribEXT")) == NULL) || r;
  15600. r = ((eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputPortStringEXT")) == NULL) || r;
  15601. return r;
  15602. }
  15603. #endif /* EGL_EXT_output_base */
  15604. #ifdef EGL_EXT_platform_base
  15605. static GLboolean _glewInit_EGL_EXT_platform_base ()
  15606. {
  15607. GLboolean r = GL_FALSE;
  15608. r = ((eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformPixmapSurfaceEXT")) == NULL) || r;
  15609. r = ((eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformWindowSurfaceEXT")) == NULL) || r;
  15610. r = ((eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetPlatformDisplayEXT")) == NULL) || r;
  15611. return r;
  15612. }
  15613. #endif /* EGL_EXT_platform_base */
  15614. #ifdef EGL_EXT_stream_consumer_egloutput
  15615. static GLboolean _glewInit_EGL_EXT_stream_consumer_egloutput ()
  15616. {
  15617. GLboolean r = GL_FALSE;
  15618. r = ((eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerOutputEXT")) == NULL) || r;
  15619. return r;
  15620. }
  15621. #endif /* EGL_EXT_stream_consumer_egloutput */
  15622. #ifdef EGL_EXT_swap_buffers_with_damage
  15623. static GLboolean _glewInit_EGL_EXT_swap_buffers_with_damage ()
  15624. {
  15625. GLboolean r = GL_FALSE;
  15626. r = ((eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersWithDamageEXT")) == NULL) || r;
  15627. return r;
  15628. }
  15629. #endif /* EGL_EXT_swap_buffers_with_damage */
  15630. #ifdef EGL_HI_clientpixmap
  15631. static GLboolean _glewInit_EGL_HI_clientpixmap ()
  15632. {
  15633. GLboolean r = GL_FALSE;
  15634. r = ((eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)glewGetProcAddress((const GLubyte*)"eglCreatePixmapSurfaceHI")) == NULL) || r;
  15635. return r;
  15636. }
  15637. #endif /* EGL_HI_clientpixmap */
  15638. #ifdef EGL_KHR_cl_event2
  15639. static GLboolean _glewInit_EGL_KHR_cl_event2 ()
  15640. {
  15641. GLboolean r = GL_FALSE;
  15642. r = ((eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateSync64KHR")) == NULL) || r;
  15643. return r;
  15644. }
  15645. #endif /* EGL_KHR_cl_event2 */
  15646. #ifdef EGL_KHR_debug
  15647. static GLboolean _glewInit_EGL_KHR_debug ()
  15648. {
  15649. GLboolean r = GL_FALSE;
  15650. r = ((eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)glewGetProcAddress((const GLubyte*)"eglDebugMessageControlKHR")) == NULL) || r;
  15651. r = ((eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)glewGetProcAddress((const GLubyte*)"eglLabelObjectKHR")) == NULL) || r;
  15652. r = ((eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryDebugKHR")) == NULL) || r;
  15653. return r;
  15654. }
  15655. #endif /* EGL_KHR_debug */
  15656. #ifdef EGL_KHR_image
  15657. static GLboolean _glewInit_EGL_KHR_image ()
  15658. {
  15659. GLboolean r = GL_FALSE;
  15660. r = ((eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateImageKHR")) == NULL) || r;
  15661. r = ((eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroyImageKHR")) == NULL) || r;
  15662. return r;
  15663. }
  15664. #endif /* EGL_KHR_image */
  15665. #ifdef EGL_KHR_lock_surface
  15666. static GLboolean _glewInit_EGL_KHR_lock_surface ()
  15667. {
  15668. GLboolean r = GL_FALSE;
  15669. r = ((eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglLockSurfaceKHR")) == NULL) || r;
  15670. r = ((eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglUnlockSurfaceKHR")) == NULL) || r;
  15671. return r;
  15672. }
  15673. #endif /* EGL_KHR_lock_surface */
  15674. #ifdef EGL_KHR_lock_surface3
  15675. static GLboolean _glewInit_EGL_KHR_lock_surface3 ()
  15676. {
  15677. GLboolean r = GL_FALSE;
  15678. r = ((eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurface64KHR")) == NULL) || r;
  15679. return r;
  15680. }
  15681. #endif /* EGL_KHR_lock_surface3 */
  15682. #ifdef EGL_KHR_partial_update
  15683. static GLboolean _glewInit_EGL_KHR_partial_update ()
  15684. {
  15685. GLboolean r = GL_FALSE;
  15686. r = ((eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)glewGetProcAddress((const GLubyte*)"eglSetDamageRegionKHR")) == NULL) || r;
  15687. return r;
  15688. }
  15689. #endif /* EGL_KHR_partial_update */
  15690. #ifdef EGL_KHR_reusable_sync
  15691. static GLboolean _glewInit_EGL_KHR_reusable_sync ()
  15692. {
  15693. GLboolean r = GL_FALSE;
  15694. r = ((eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSyncKHR")) == NULL) || r;
  15695. r = ((eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateSyncKHR")) == NULL) || r;
  15696. r = ((eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroySyncKHR")) == NULL) || r;
  15697. r = ((eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttribKHR")) == NULL) || r;
  15698. r = ((eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglSignalSyncKHR")) == NULL) || r;
  15699. return r;
  15700. }
  15701. #endif /* EGL_KHR_reusable_sync */
  15702. #ifdef EGL_KHR_stream
  15703. static GLboolean _glewInit_EGL_KHR_stream ()
  15704. {
  15705. GLboolean r = GL_FALSE;
  15706. r = ((eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamKHR")) == NULL) || r;
  15707. r = ((eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroyStreamKHR")) == NULL) || r;
  15708. r = ((eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamKHR")) == NULL) || r;
  15709. r = ((eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamu64KHR")) == NULL) || r;
  15710. r = ((eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamAttribKHR")) == NULL) || r;
  15711. return r;
  15712. }
  15713. #endif /* EGL_KHR_stream */
  15714. #ifdef EGL_KHR_stream_attrib
  15715. static GLboolean _glewInit_EGL_KHR_stream_attrib ()
  15716. {
  15717. GLboolean r = GL_FALSE;
  15718. r = ((eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamAttribKHR")) == NULL) || r;
  15719. r = ((eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamAttribKHR")) == NULL) || r;
  15720. r = ((eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglSetStreamAttribKHR")) == NULL) || r;
  15721. r = ((eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerAcquireAttribKHR")) == NULL) || r;
  15722. r = ((eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerReleaseAttribKHR")) == NULL) || r;
  15723. return r;
  15724. }
  15725. #endif /* EGL_KHR_stream_attrib */
  15726. #ifdef EGL_KHR_stream_consumer_gltexture
  15727. static GLboolean _glewInit_EGL_KHR_stream_consumer_gltexture ()
  15728. {
  15729. GLboolean r = GL_FALSE;
  15730. r = ((eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerAcquireKHR")) == NULL) || r;
  15731. r = ((eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerGLTextureExternalKHR")) == NULL) || r;
  15732. r = ((eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerReleaseKHR")) == NULL) || r;
  15733. return r;
  15734. }
  15735. #endif /* EGL_KHR_stream_consumer_gltexture */
  15736. #ifdef EGL_KHR_stream_cross_process_fd
  15737. static GLboolean _glewInit_EGL_KHR_stream_cross_process_fd ()
  15738. {
  15739. GLboolean r = GL_FALSE;
  15740. r = ((eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamFromFileDescriptorKHR")) == NULL) || r;
  15741. r = ((eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)glewGetProcAddress((const GLubyte*)"eglGetStreamFileDescriptorKHR")) == NULL) || r;
  15742. return r;
  15743. }
  15744. #endif /* EGL_KHR_stream_cross_process_fd */
  15745. #ifdef EGL_KHR_stream_fifo
  15746. static GLboolean _glewInit_EGL_KHR_stream_fifo ()
  15747. {
  15748. GLboolean r = GL_FALSE;
  15749. r = ((eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamTimeKHR")) == NULL) || r;
  15750. return r;
  15751. }
  15752. #endif /* EGL_KHR_stream_fifo */
  15753. #ifdef EGL_KHR_stream_producer_eglsurface
  15754. static GLboolean _glewInit_EGL_KHR_stream_producer_eglsurface ()
  15755. {
  15756. GLboolean r = GL_FALSE;
  15757. r = ((eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamProducerSurfaceKHR")) == NULL) || r;
  15758. return r;
  15759. }
  15760. #endif /* EGL_KHR_stream_producer_eglsurface */
  15761. #ifdef EGL_KHR_swap_buffers_with_damage
  15762. static GLboolean _glewInit_EGL_KHR_swap_buffers_with_damage ()
  15763. {
  15764. GLboolean r = GL_FALSE;
  15765. r = ((eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersWithDamageKHR")) == NULL) || r;
  15766. return r;
  15767. }
  15768. #endif /* EGL_KHR_swap_buffers_with_damage */
  15769. #ifdef EGL_KHR_wait_sync
  15770. static GLboolean _glewInit_EGL_KHR_wait_sync ()
  15771. {
  15772. GLboolean r = GL_FALSE;
  15773. r = ((eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglWaitSyncKHR")) == NULL) || r;
  15774. return r;
  15775. }
  15776. #endif /* EGL_KHR_wait_sync */
  15777. #ifdef EGL_MESA_drm_image
  15778. static GLboolean _glewInit_EGL_MESA_drm_image ()
  15779. {
  15780. GLboolean r = GL_FALSE;
  15781. r = ((eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglCreateDRMImageMESA")) == NULL) || r;
  15782. r = ((eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDRMImageMESA")) == NULL) || r;
  15783. return r;
  15784. }
  15785. #endif /* EGL_MESA_drm_image */
  15786. #ifdef EGL_MESA_image_dma_buf_export
  15787. static GLboolean _glewInit_EGL_MESA_image_dma_buf_export ()
  15788. {
  15789. GLboolean r = GL_FALSE;
  15790. r = ((eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDMABUFImageMESA")) == NULL) || r;
  15791. r = ((eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDMABUFImageQueryMESA")) == NULL) || r;
  15792. return r;
  15793. }
  15794. #endif /* EGL_MESA_image_dma_buf_export */
  15795. #ifdef EGL_NOK_swap_region
  15796. static GLboolean _glewInit_EGL_NOK_swap_region ()
  15797. {
  15798. GLboolean r = GL_FALSE;
  15799. r = ((eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersRegionNOK")) == NULL) || r;
  15800. return r;
  15801. }
  15802. #endif /* EGL_NOK_swap_region */
  15803. #ifdef EGL_NOK_swap_region2
  15804. static GLboolean _glewInit_EGL_NOK_swap_region2 ()
  15805. {
  15806. GLboolean r = GL_FALSE;
  15807. r = ((eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersRegion2NOK")) == NULL) || r;
  15808. return r;
  15809. }
  15810. #endif /* EGL_NOK_swap_region2 */
  15811. #ifdef EGL_NV_native_query
  15812. static GLboolean _glewInit_EGL_NV_native_query ()
  15813. {
  15814. GLboolean r = GL_FALSE;
  15815. r = ((eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativeDisplayNV")) == NULL) || r;
  15816. r = ((eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativePixmapNV")) == NULL) || r;
  15817. r = ((eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativeWindowNV")) == NULL) || r;
  15818. return r;
  15819. }
  15820. #endif /* EGL_NV_native_query */
  15821. #ifdef EGL_NV_post_sub_buffer
  15822. static GLboolean _glewInit_EGL_NV_post_sub_buffer ()
  15823. {
  15824. GLboolean r = GL_FALSE;
  15825. r = ((eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"eglPostSubBufferNV")) == NULL) || r;
  15826. return r;
  15827. }
  15828. #endif /* EGL_NV_post_sub_buffer */
  15829. #ifdef EGL_NV_stream_consumer_gltexture_yuv
  15830. static GLboolean _glewInit_EGL_NV_stream_consumer_gltexture_yuv ()
  15831. {
  15832. GLboolean r = GL_FALSE;
  15833. r = ((eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerGLTextureExternalAttribsNV")) == NULL) || r;
  15834. return r;
  15835. }
  15836. #endif /* EGL_NV_stream_consumer_gltexture_yuv */
  15837. #ifdef EGL_NV_stream_metadata
  15838. static GLboolean _glewInit_EGL_NV_stream_metadata ()
  15839. {
  15840. GLboolean r = GL_FALSE;
  15841. r = ((eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryDisplayAttribNV")) == NULL) || r;
  15842. r = ((eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamMetadataNV")) == NULL) || r;
  15843. r = ((eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)glewGetProcAddress((const GLubyte*)"eglSetStreamMetadataNV")) == NULL) || r;
  15844. return r;
  15845. }
  15846. #endif /* EGL_NV_stream_metadata */
  15847. #ifdef EGL_NV_stream_reset
  15848. static GLboolean _glewInit_EGL_NV_stream_reset ()
  15849. {
  15850. GLboolean r = GL_FALSE;
  15851. r = ((eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)glewGetProcAddress((const GLubyte*)"eglResetStreamNV")) == NULL) || r;
  15852. return r;
  15853. }
  15854. #endif /* EGL_NV_stream_reset */
  15855. #ifdef EGL_NV_stream_sync
  15856. static GLboolean _glewInit_EGL_NV_stream_sync ()
  15857. {
  15858. GLboolean r = GL_FALSE;
  15859. r = ((eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamSyncNV")) == NULL) || r;
  15860. return r;
  15861. }
  15862. #endif /* EGL_NV_stream_sync */
  15863. #ifdef EGL_NV_sync
  15864. static GLboolean _glewInit_EGL_NV_sync ()
  15865. {
  15866. GLboolean r = GL_FALSE;
  15867. r = ((eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSyncNV")) == NULL) || r;
  15868. r = ((eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglCreateFenceSyncNV")) == NULL) || r;
  15869. r = ((eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglDestroySyncNV")) == NULL) || r;
  15870. r = ((eglFenceNV = (PFNEGLFENCENVPROC)glewGetProcAddress((const GLubyte*)"eglFenceNV")) == NULL) || r;
  15871. r = ((eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttribNV")) == NULL) || r;
  15872. r = ((eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglSignalSyncNV")) == NULL) || r;
  15873. return r;
  15874. }
  15875. #endif /* EGL_NV_sync */
  15876. #ifdef EGL_NV_system_time
  15877. static GLboolean _glewInit_EGL_NV_system_time ()
  15878. {
  15879. GLboolean r = GL_FALSE;
  15880. r = ((eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)glewGetProcAddress((const GLubyte*)"eglGetSystemTimeFrequencyNV")) == NULL) || r;
  15881. r = ((eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)glewGetProcAddress((const GLubyte*)"eglGetSystemTimeNV")) == NULL) || r;
  15882. return r;
  15883. }
  15884. #endif /* EGL_NV_system_time */
  15885. /* ------------------------------------------------------------------------ */
  15886. GLboolean eglewGetExtension (const char* name)
  15887. {
  15888. const GLubyte* start;
  15889. const GLubyte* end;
  15890. start = (const GLubyte*) eglQueryString(eglGetCurrentDisplay(), EGL_EXTENSIONS);
  15891. if (0 == start) return GL_FALSE;
  15892. end = start + _glewStrLen(start);
  15893. return _glewSearchExtension(name, start, end);
  15894. }
  15895. GLenum eglewInit (EGLDisplay display)
  15896. {
  15897. EGLint major, minor;
  15898. const GLubyte* extStart;
  15899. const GLubyte* extEnd;
  15900. PFNEGLINITIALIZEPROC initialize = NULL;
  15901. PFNEGLQUERYSTRINGPROC queryString = NULL;
  15902. /* Load necessary entry points */
  15903. initialize = (PFNEGLINITIALIZEPROC) glewGetProcAddress("eglInitialize");
  15904. queryString = (PFNEGLQUERYSTRINGPROC) glewGetProcAddress("eglQueryString");
  15905. if (!initialize || !queryString)
  15906. return 1;
  15907. /* query EGK version */
  15908. if (initialize(display, &major, &minor) != EGL_TRUE)
  15909. return 1;
  15910. EGLEW_VERSION_1_5 = ( major > 1 ) || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
  15911. EGLEW_VERSION_1_4 = EGLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
  15912. EGLEW_VERSION_1_3 = EGLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
  15913. EGLEW_VERSION_1_2 = EGLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
  15914. EGLEW_VERSION_1_1 = EGLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
  15915. EGLEW_VERSION_1_0 = EGLEW_VERSION_1_1 == GL_TRUE || ( major == 1 && minor >= 0 ) ? GL_TRUE : GL_FALSE;
  15916. /* query EGL extension string */
  15917. extStart = (const GLubyte*) queryString(display, EGL_EXTENSIONS);
  15918. if (extStart == 0)
  15919. extStart = (const GLubyte *)"";
  15920. extEnd = extStart + _glewStrLen(extStart);
  15921. /* initialize extensions */
  15922. #ifdef EGL_VERSION_1_0
  15923. if (glewExperimental || EGLEW_VERSION_1_0) EGLEW_VERSION_1_0 = !_glewInit_EGL_VERSION_1_0();
  15924. #endif /* EGL_VERSION_1_0 */
  15925. #ifdef EGL_VERSION_1_1
  15926. if (glewExperimental || EGLEW_VERSION_1_1) EGLEW_VERSION_1_1 = !_glewInit_EGL_VERSION_1_1();
  15927. #endif /* EGL_VERSION_1_1 */
  15928. #ifdef EGL_VERSION_1_2
  15929. if (glewExperimental || EGLEW_VERSION_1_2) EGLEW_VERSION_1_2 = !_glewInit_EGL_VERSION_1_2();
  15930. #endif /* EGL_VERSION_1_2 */
  15931. #ifdef EGL_VERSION_1_4
  15932. if (glewExperimental || EGLEW_VERSION_1_4) EGLEW_VERSION_1_4 = !_glewInit_EGL_VERSION_1_4();
  15933. #endif /* EGL_VERSION_1_4 */
  15934. #ifdef EGL_VERSION_1_5
  15935. if (glewExperimental || EGLEW_VERSION_1_5) EGLEW_VERSION_1_5 = !_glewInit_EGL_VERSION_1_5();
  15936. #endif /* EGL_VERSION_1_5 */
  15937. #ifdef EGL_ANDROID_blob_cache
  15938. EGLEW_ANDROID_blob_cache = _glewSearchExtension("EGL_ANDROID_blob_cache", extStart, extEnd);
  15939. if (glewExperimental || EGLEW_ANDROID_blob_cache) EGLEW_ANDROID_blob_cache = !_glewInit_EGL_ANDROID_blob_cache();
  15940. #endif /* EGL_ANDROID_blob_cache */
  15941. #ifdef EGL_ANDROID_create_native_client_buffer
  15942. EGLEW_ANDROID_create_native_client_buffer = _glewSearchExtension("EGL_ANDROID_create_native_client_buffer", extStart, extEnd);
  15943. if (glewExperimental || EGLEW_ANDROID_create_native_client_buffer) EGLEW_ANDROID_create_native_client_buffer = !_glewInit_EGL_ANDROID_create_native_client_buffer();
  15944. #endif /* EGL_ANDROID_create_native_client_buffer */
  15945. #ifdef EGL_ANDROID_framebuffer_target
  15946. EGLEW_ANDROID_framebuffer_target = _glewSearchExtension("EGL_ANDROID_framebuffer_target", extStart, extEnd);
  15947. #endif /* EGL_ANDROID_framebuffer_target */
  15948. #ifdef EGL_ANDROID_front_buffer_auto_refresh
  15949. EGLEW_ANDROID_front_buffer_auto_refresh = _glewSearchExtension("EGL_ANDROID_front_buffer_auto_refresh", extStart, extEnd);
  15950. #endif /* EGL_ANDROID_front_buffer_auto_refresh */
  15951. #ifdef EGL_ANDROID_image_native_buffer
  15952. EGLEW_ANDROID_image_native_buffer = _glewSearchExtension("EGL_ANDROID_image_native_buffer", extStart, extEnd);
  15953. #endif /* EGL_ANDROID_image_native_buffer */
  15954. #ifdef EGL_ANDROID_native_fence_sync
  15955. EGLEW_ANDROID_native_fence_sync = _glewSearchExtension("EGL_ANDROID_native_fence_sync", extStart, extEnd);
  15956. if (glewExperimental || EGLEW_ANDROID_native_fence_sync) EGLEW_ANDROID_native_fence_sync = !_glewInit_EGL_ANDROID_native_fence_sync();
  15957. #endif /* EGL_ANDROID_native_fence_sync */
  15958. #ifdef EGL_ANDROID_presentation_time
  15959. EGLEW_ANDROID_presentation_time = _glewSearchExtension("EGL_ANDROID_presentation_time", extStart, extEnd);
  15960. if (glewExperimental || EGLEW_ANDROID_presentation_time) EGLEW_ANDROID_presentation_time = !_glewInit_EGL_ANDROID_presentation_time();
  15961. #endif /* EGL_ANDROID_presentation_time */
  15962. #ifdef EGL_ANDROID_recordable
  15963. EGLEW_ANDROID_recordable = _glewSearchExtension("EGL_ANDROID_recordable", extStart, extEnd);
  15964. #endif /* EGL_ANDROID_recordable */
  15965. #ifdef EGL_ANGLE_d3d_share_handle_client_buffer
  15966. EGLEW_ANGLE_d3d_share_handle_client_buffer = _glewSearchExtension("EGL_ANGLE_d3d_share_handle_client_buffer", extStart, extEnd);
  15967. #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
  15968. #ifdef EGL_ANGLE_device_d3d
  15969. EGLEW_ANGLE_device_d3d = _glewSearchExtension("EGL_ANGLE_device_d3d", extStart, extEnd);
  15970. #endif /* EGL_ANGLE_device_d3d */
  15971. #ifdef EGL_ANGLE_query_surface_pointer
  15972. EGLEW_ANGLE_query_surface_pointer = _glewSearchExtension("EGL_ANGLE_query_surface_pointer", extStart, extEnd);
  15973. if (glewExperimental || EGLEW_ANGLE_query_surface_pointer) EGLEW_ANGLE_query_surface_pointer = !_glewInit_EGL_ANGLE_query_surface_pointer();
  15974. #endif /* EGL_ANGLE_query_surface_pointer */
  15975. #ifdef EGL_ANGLE_surface_d3d_texture_2d_share_handle
  15976. EGLEW_ANGLE_surface_d3d_texture_2d_share_handle = _glewSearchExtension("EGL_ANGLE_surface_d3d_texture_2d_share_handle", extStart, extEnd);
  15977. #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
  15978. #ifdef EGL_ANGLE_window_fixed_size
  15979. EGLEW_ANGLE_window_fixed_size = _glewSearchExtension("EGL_ANGLE_window_fixed_size", extStart, extEnd);
  15980. #endif /* EGL_ANGLE_window_fixed_size */
  15981. #ifdef EGL_ARM_implicit_external_sync
  15982. EGLEW_ARM_implicit_external_sync = _glewSearchExtension("EGL_ARM_implicit_external_sync", extStart, extEnd);
  15983. #endif /* EGL_ARM_implicit_external_sync */
  15984. #ifdef EGL_ARM_pixmap_multisample_discard
  15985. EGLEW_ARM_pixmap_multisample_discard = _glewSearchExtension("EGL_ARM_pixmap_multisample_discard", extStart, extEnd);
  15986. #endif /* EGL_ARM_pixmap_multisample_discard */
  15987. #ifdef EGL_EXT_buffer_age
  15988. EGLEW_EXT_buffer_age = _glewSearchExtension("EGL_EXT_buffer_age", extStart, extEnd);
  15989. #endif /* EGL_EXT_buffer_age */
  15990. #ifdef EGL_EXT_client_extensions
  15991. EGLEW_EXT_client_extensions = _glewSearchExtension("EGL_EXT_client_extensions", extStart, extEnd);
  15992. #endif /* EGL_EXT_client_extensions */
  15993. #ifdef EGL_EXT_create_context_robustness
  15994. EGLEW_EXT_create_context_robustness = _glewSearchExtension("EGL_EXT_create_context_robustness", extStart, extEnd);
  15995. #endif /* EGL_EXT_create_context_robustness */
  15996. #ifdef EGL_EXT_device_base
  15997. EGLEW_EXT_device_base = _glewSearchExtension("EGL_EXT_device_base", extStart, extEnd);
  15998. #endif /* EGL_EXT_device_base */
  15999. #ifdef EGL_EXT_device_drm
  16000. EGLEW_EXT_device_drm = _glewSearchExtension("EGL_EXT_device_drm", extStart, extEnd);
  16001. #endif /* EGL_EXT_device_drm */
  16002. #ifdef EGL_EXT_device_enumeration
  16003. EGLEW_EXT_device_enumeration = _glewSearchExtension("EGL_EXT_device_enumeration", extStart, extEnd);
  16004. if (glewExperimental || EGLEW_EXT_device_enumeration) EGLEW_EXT_device_enumeration = !_glewInit_EGL_EXT_device_enumeration();
  16005. #endif /* EGL_EXT_device_enumeration */
  16006. #ifdef EGL_EXT_device_openwf
  16007. EGLEW_EXT_device_openwf = _glewSearchExtension("EGL_EXT_device_openwf", extStart, extEnd);
  16008. #endif /* EGL_EXT_device_openwf */
  16009. #ifdef EGL_EXT_device_query
  16010. EGLEW_EXT_device_query = _glewSearchExtension("EGL_EXT_device_query", extStart, extEnd);
  16011. if (glewExperimental || EGLEW_EXT_device_query) EGLEW_EXT_device_query = !_glewInit_EGL_EXT_device_query();
  16012. #endif /* EGL_EXT_device_query */
  16013. #ifdef EGL_EXT_gl_colorspace_bt2020_linear
  16014. EGLEW_EXT_gl_colorspace_bt2020_linear = _glewSearchExtension("EGL_EXT_gl_colorspace_bt2020_linear", extStart, extEnd);
  16015. #endif /* EGL_EXT_gl_colorspace_bt2020_linear */
  16016. #ifdef EGL_EXT_gl_colorspace_bt2020_pq
  16017. EGLEW_EXT_gl_colorspace_bt2020_pq = _glewSearchExtension("EGL_EXT_gl_colorspace_bt2020_pq", extStart, extEnd);
  16018. #endif /* EGL_EXT_gl_colorspace_bt2020_pq */
  16019. #ifdef EGL_EXT_gl_colorspace_scrgb_linear
  16020. EGLEW_EXT_gl_colorspace_scrgb_linear = _glewSearchExtension("EGL_EXT_gl_colorspace_scrgb_linear", extStart, extEnd);
  16021. #endif /* EGL_EXT_gl_colorspace_scrgb_linear */
  16022. #ifdef EGL_EXT_image_dma_buf_import
  16023. EGLEW_EXT_image_dma_buf_import = _glewSearchExtension("EGL_EXT_image_dma_buf_import", extStart, extEnd);
  16024. #endif /* EGL_EXT_image_dma_buf_import */
  16025. #ifdef EGL_EXT_image_dma_buf_import_modifiers
  16026. EGLEW_EXT_image_dma_buf_import_modifiers = _glewSearchExtension("EGL_EXT_image_dma_buf_import_modifiers", extStart, extEnd);
  16027. if (glewExperimental || EGLEW_EXT_image_dma_buf_import_modifiers) EGLEW_EXT_image_dma_buf_import_modifiers = !_glewInit_EGL_EXT_image_dma_buf_import_modifiers();
  16028. #endif /* EGL_EXT_image_dma_buf_import_modifiers */
  16029. #ifdef EGL_EXT_multiview_window
  16030. EGLEW_EXT_multiview_window = _glewSearchExtension("EGL_EXT_multiview_window", extStart, extEnd);
  16031. #endif /* EGL_EXT_multiview_window */
  16032. #ifdef EGL_EXT_output_base
  16033. EGLEW_EXT_output_base = _glewSearchExtension("EGL_EXT_output_base", extStart, extEnd);
  16034. if (glewExperimental || EGLEW_EXT_output_base) EGLEW_EXT_output_base = !_glewInit_EGL_EXT_output_base();
  16035. #endif /* EGL_EXT_output_base */
  16036. #ifdef EGL_EXT_output_drm
  16037. EGLEW_EXT_output_drm = _glewSearchExtension("EGL_EXT_output_drm", extStart, extEnd);
  16038. #endif /* EGL_EXT_output_drm */
  16039. #ifdef EGL_EXT_output_openwf
  16040. EGLEW_EXT_output_openwf = _glewSearchExtension("EGL_EXT_output_openwf", extStart, extEnd);
  16041. #endif /* EGL_EXT_output_openwf */
  16042. #ifdef EGL_EXT_pixel_format_float
  16043. EGLEW_EXT_pixel_format_float = _glewSearchExtension("EGL_EXT_pixel_format_float", extStart, extEnd);
  16044. #endif /* EGL_EXT_pixel_format_float */
  16045. #ifdef EGL_EXT_platform_base
  16046. EGLEW_EXT_platform_base = _glewSearchExtension("EGL_EXT_platform_base", extStart, extEnd);
  16047. if (glewExperimental || EGLEW_EXT_platform_base) EGLEW_EXT_platform_base = !_glewInit_EGL_EXT_platform_base();
  16048. #endif /* EGL_EXT_platform_base */
  16049. #ifdef EGL_EXT_platform_device
  16050. EGLEW_EXT_platform_device = _glewSearchExtension("EGL_EXT_platform_device", extStart, extEnd);
  16051. #endif /* EGL_EXT_platform_device */
  16052. #ifdef EGL_EXT_platform_wayland
  16053. EGLEW_EXT_platform_wayland = _glewSearchExtension("EGL_EXT_platform_wayland", extStart, extEnd);
  16054. #endif /* EGL_EXT_platform_wayland */
  16055. #ifdef EGL_EXT_platform_x11
  16056. EGLEW_EXT_platform_x11 = _glewSearchExtension("EGL_EXT_platform_x11", extStart, extEnd);
  16057. #endif /* EGL_EXT_platform_x11 */
  16058. #ifdef EGL_EXT_protected_content
  16059. EGLEW_EXT_protected_content = _glewSearchExtension("EGL_EXT_protected_content", extStart, extEnd);
  16060. #endif /* EGL_EXT_protected_content */
  16061. #ifdef EGL_EXT_protected_surface
  16062. EGLEW_EXT_protected_surface = _glewSearchExtension("EGL_EXT_protected_surface", extStart, extEnd);
  16063. #endif /* EGL_EXT_protected_surface */
  16064. #ifdef EGL_EXT_stream_consumer_egloutput
  16065. EGLEW_EXT_stream_consumer_egloutput = _glewSearchExtension("EGL_EXT_stream_consumer_egloutput", extStart, extEnd);
  16066. if (glewExperimental || EGLEW_EXT_stream_consumer_egloutput) EGLEW_EXT_stream_consumer_egloutput = !_glewInit_EGL_EXT_stream_consumer_egloutput();
  16067. #endif /* EGL_EXT_stream_consumer_egloutput */
  16068. #ifdef EGL_EXT_surface_SMPTE2086_metadata
  16069. EGLEW_EXT_surface_SMPTE2086_metadata = _glewSearchExtension("EGL_EXT_surface_SMPTE2086_metadata", extStart, extEnd);
  16070. #endif /* EGL_EXT_surface_SMPTE2086_metadata */
  16071. #ifdef EGL_EXT_swap_buffers_with_damage
  16072. EGLEW_EXT_swap_buffers_with_damage = _glewSearchExtension("EGL_EXT_swap_buffers_with_damage", extStart, extEnd);
  16073. if (glewExperimental || EGLEW_EXT_swap_buffers_with_damage) EGLEW_EXT_swap_buffers_with_damage = !_glewInit_EGL_EXT_swap_buffers_with_damage();
  16074. #endif /* EGL_EXT_swap_buffers_with_damage */
  16075. #ifdef EGL_EXT_yuv_surface
  16076. EGLEW_EXT_yuv_surface = _glewSearchExtension("EGL_EXT_yuv_surface", extStart, extEnd);
  16077. #endif /* EGL_EXT_yuv_surface */
  16078. #ifdef EGL_HI_clientpixmap
  16079. EGLEW_HI_clientpixmap = _glewSearchExtension("EGL_HI_clientpixmap", extStart, extEnd);
  16080. if (glewExperimental || EGLEW_HI_clientpixmap) EGLEW_HI_clientpixmap = !_glewInit_EGL_HI_clientpixmap();
  16081. #endif /* EGL_HI_clientpixmap */
  16082. #ifdef EGL_HI_colorformats
  16083. EGLEW_HI_colorformats = _glewSearchExtension("EGL_HI_colorformats", extStart, extEnd);
  16084. #endif /* EGL_HI_colorformats */
  16085. #ifdef EGL_IMG_context_priority
  16086. EGLEW_IMG_context_priority = _glewSearchExtension("EGL_IMG_context_priority", extStart, extEnd);
  16087. #endif /* EGL_IMG_context_priority */
  16088. #ifdef EGL_IMG_image_plane_attribs
  16089. EGLEW_IMG_image_plane_attribs = _glewSearchExtension("EGL_IMG_image_plane_attribs", extStart, extEnd);
  16090. #endif /* EGL_IMG_image_plane_attribs */
  16091. #ifdef EGL_KHR_cl_event
  16092. EGLEW_KHR_cl_event = _glewSearchExtension("EGL_KHR_cl_event", extStart, extEnd);
  16093. #endif /* EGL_KHR_cl_event */
  16094. #ifdef EGL_KHR_cl_event2
  16095. EGLEW_KHR_cl_event2 = _glewSearchExtension("EGL_KHR_cl_event2", extStart, extEnd);
  16096. if (glewExperimental || EGLEW_KHR_cl_event2) EGLEW_KHR_cl_event2 = !_glewInit_EGL_KHR_cl_event2();
  16097. #endif /* EGL_KHR_cl_event2 */
  16098. #ifdef EGL_KHR_client_get_all_proc_addresses
  16099. EGLEW_KHR_client_get_all_proc_addresses = _glewSearchExtension("EGL_KHR_client_get_all_proc_addresses", extStart, extEnd);
  16100. #endif /* EGL_KHR_client_get_all_proc_addresses */
  16101. #ifdef EGL_KHR_config_attribs
  16102. EGLEW_KHR_config_attribs = _glewSearchExtension("EGL_KHR_config_attribs", extStart, extEnd);
  16103. #endif /* EGL_KHR_config_attribs */
  16104. #ifdef EGL_KHR_context_flush_control
  16105. EGLEW_KHR_context_flush_control = _glewSearchExtension("EGL_KHR_context_flush_control", extStart, extEnd);
  16106. #endif /* EGL_KHR_context_flush_control */
  16107. #ifdef EGL_KHR_create_context
  16108. EGLEW_KHR_create_context = _glewSearchExtension("EGL_KHR_create_context", extStart, extEnd);
  16109. #endif /* EGL_KHR_create_context */
  16110. #ifdef EGL_KHR_create_context_no_error
  16111. EGLEW_KHR_create_context_no_error = _glewSearchExtension("EGL_KHR_create_context_no_error", extStart, extEnd);
  16112. #endif /* EGL_KHR_create_context_no_error */
  16113. #ifdef EGL_KHR_debug
  16114. EGLEW_KHR_debug = _glewSearchExtension("EGL_KHR_debug", extStart, extEnd);
  16115. if (glewExperimental || EGLEW_KHR_debug) EGLEW_KHR_debug = !_glewInit_EGL_KHR_debug();
  16116. #endif /* EGL_KHR_debug */
  16117. #ifdef EGL_KHR_fence_sync
  16118. EGLEW_KHR_fence_sync = _glewSearchExtension("EGL_KHR_fence_sync", extStart, extEnd);
  16119. #endif /* EGL_KHR_fence_sync */
  16120. #ifdef EGL_KHR_get_all_proc_addresses
  16121. EGLEW_KHR_get_all_proc_addresses = _glewSearchExtension("EGL_KHR_get_all_proc_addresses", extStart, extEnd);
  16122. #endif /* EGL_KHR_get_all_proc_addresses */
  16123. #ifdef EGL_KHR_gl_colorspace
  16124. EGLEW_KHR_gl_colorspace = _glewSearchExtension("EGL_KHR_gl_colorspace", extStart, extEnd);
  16125. #endif /* EGL_KHR_gl_colorspace */
  16126. #ifdef EGL_KHR_gl_renderbuffer_image
  16127. EGLEW_KHR_gl_renderbuffer_image = _glewSearchExtension("EGL_KHR_gl_renderbuffer_image", extStart, extEnd);
  16128. #endif /* EGL_KHR_gl_renderbuffer_image */
  16129. #ifdef EGL_KHR_gl_texture_2D_image
  16130. EGLEW_KHR_gl_texture_2D_image = _glewSearchExtension("EGL_KHR_gl_texture_2D_image", extStart, extEnd);
  16131. #endif /* EGL_KHR_gl_texture_2D_image */
  16132. #ifdef EGL_KHR_gl_texture_3D_image
  16133. EGLEW_KHR_gl_texture_3D_image = _glewSearchExtension("EGL_KHR_gl_texture_3D_image", extStart, extEnd);
  16134. #endif /* EGL_KHR_gl_texture_3D_image */
  16135. #ifdef EGL_KHR_gl_texture_cubemap_image
  16136. EGLEW_KHR_gl_texture_cubemap_image = _glewSearchExtension("EGL_KHR_gl_texture_cubemap_image", extStart, extEnd);
  16137. #endif /* EGL_KHR_gl_texture_cubemap_image */
  16138. #ifdef EGL_KHR_image
  16139. EGLEW_KHR_image = _glewSearchExtension("EGL_KHR_image", extStart, extEnd);
  16140. if (glewExperimental || EGLEW_KHR_image) EGLEW_KHR_image = !_glewInit_EGL_KHR_image();
  16141. #endif /* EGL_KHR_image */
  16142. #ifdef EGL_KHR_image_base
  16143. EGLEW_KHR_image_base = _glewSearchExtension("EGL_KHR_image_base", extStart, extEnd);
  16144. #endif /* EGL_KHR_image_base */
  16145. #ifdef EGL_KHR_image_pixmap
  16146. EGLEW_KHR_image_pixmap = _glewSearchExtension("EGL_KHR_image_pixmap", extStart, extEnd);
  16147. #endif /* EGL_KHR_image_pixmap */
  16148. #ifdef EGL_KHR_lock_surface
  16149. EGLEW_KHR_lock_surface = _glewSearchExtension("EGL_KHR_lock_surface", extStart, extEnd);
  16150. if (glewExperimental || EGLEW_KHR_lock_surface) EGLEW_KHR_lock_surface = !_glewInit_EGL_KHR_lock_surface();
  16151. #endif /* EGL_KHR_lock_surface */
  16152. #ifdef EGL_KHR_lock_surface2
  16153. EGLEW_KHR_lock_surface2 = _glewSearchExtension("EGL_KHR_lock_surface2", extStart, extEnd);
  16154. #endif /* EGL_KHR_lock_surface2 */
  16155. #ifdef EGL_KHR_lock_surface3
  16156. EGLEW_KHR_lock_surface3 = _glewSearchExtension("EGL_KHR_lock_surface3", extStart, extEnd);
  16157. if (glewExperimental || EGLEW_KHR_lock_surface3) EGLEW_KHR_lock_surface3 = !_glewInit_EGL_KHR_lock_surface3();
  16158. #endif /* EGL_KHR_lock_surface3 */
  16159. #ifdef EGL_KHR_mutable_render_buffer
  16160. EGLEW_KHR_mutable_render_buffer = _glewSearchExtension("EGL_KHR_mutable_render_buffer", extStart, extEnd);
  16161. #endif /* EGL_KHR_mutable_render_buffer */
  16162. #ifdef EGL_KHR_no_config_context
  16163. EGLEW_KHR_no_config_context = _glewSearchExtension("EGL_KHR_no_config_context", extStart, extEnd);
  16164. #endif /* EGL_KHR_no_config_context */
  16165. #ifdef EGL_KHR_partial_update
  16166. EGLEW_KHR_partial_update = _glewSearchExtension("EGL_KHR_partial_update", extStart, extEnd);
  16167. if (glewExperimental || EGLEW_KHR_partial_update) EGLEW_KHR_partial_update = !_glewInit_EGL_KHR_partial_update();
  16168. #endif /* EGL_KHR_partial_update */
  16169. #ifdef EGL_KHR_platform_android
  16170. EGLEW_KHR_platform_android = _glewSearchExtension("EGL_KHR_platform_android", extStart, extEnd);
  16171. #endif /* EGL_KHR_platform_android */
  16172. #ifdef EGL_KHR_platform_gbm
  16173. EGLEW_KHR_platform_gbm = _glewSearchExtension("EGL_KHR_platform_gbm", extStart, extEnd);
  16174. #endif /* EGL_KHR_platform_gbm */
  16175. #ifdef EGL_KHR_platform_wayland
  16176. EGLEW_KHR_platform_wayland = _glewSearchExtension("EGL_KHR_platform_wayland", extStart, extEnd);
  16177. #endif /* EGL_KHR_platform_wayland */
  16178. #ifdef EGL_KHR_platform_x11
  16179. EGLEW_KHR_platform_x11 = _glewSearchExtension("EGL_KHR_platform_x11", extStart, extEnd);
  16180. #endif /* EGL_KHR_platform_x11 */
  16181. #ifdef EGL_KHR_reusable_sync
  16182. EGLEW_KHR_reusable_sync = _glewSearchExtension("EGL_KHR_reusable_sync", extStart, extEnd);
  16183. if (glewExperimental || EGLEW_KHR_reusable_sync) EGLEW_KHR_reusable_sync = !_glewInit_EGL_KHR_reusable_sync();
  16184. #endif /* EGL_KHR_reusable_sync */
  16185. #ifdef EGL_KHR_stream
  16186. EGLEW_KHR_stream = _glewSearchExtension("EGL_KHR_stream", extStart, extEnd);
  16187. if (glewExperimental || EGLEW_KHR_stream) EGLEW_KHR_stream = !_glewInit_EGL_KHR_stream();
  16188. #endif /* EGL_KHR_stream */
  16189. #ifdef EGL_KHR_stream_attrib
  16190. EGLEW_KHR_stream_attrib = _glewSearchExtension("EGL_KHR_stream_attrib", extStart, extEnd);
  16191. if (glewExperimental || EGLEW_KHR_stream_attrib) EGLEW_KHR_stream_attrib = !_glewInit_EGL_KHR_stream_attrib();
  16192. #endif /* EGL_KHR_stream_attrib */
  16193. #ifdef EGL_KHR_stream_consumer_gltexture
  16194. EGLEW_KHR_stream_consumer_gltexture = _glewSearchExtension("EGL_KHR_stream_consumer_gltexture", extStart, extEnd);
  16195. if (glewExperimental || EGLEW_KHR_stream_consumer_gltexture) EGLEW_KHR_stream_consumer_gltexture = !_glewInit_EGL_KHR_stream_consumer_gltexture();
  16196. #endif /* EGL_KHR_stream_consumer_gltexture */
  16197. #ifdef EGL_KHR_stream_cross_process_fd
  16198. EGLEW_KHR_stream_cross_process_fd = _glewSearchExtension("EGL_KHR_stream_cross_process_fd", extStart, extEnd);
  16199. if (glewExperimental || EGLEW_KHR_stream_cross_process_fd) EGLEW_KHR_stream_cross_process_fd = !_glewInit_EGL_KHR_stream_cross_process_fd();
  16200. #endif /* EGL_KHR_stream_cross_process_fd */
  16201. #ifdef EGL_KHR_stream_fifo
  16202. EGLEW_KHR_stream_fifo = _glewSearchExtension("EGL_KHR_stream_fifo", extStart, extEnd);
  16203. if (glewExperimental || EGLEW_KHR_stream_fifo) EGLEW_KHR_stream_fifo = !_glewInit_EGL_KHR_stream_fifo();
  16204. #endif /* EGL_KHR_stream_fifo */
  16205. #ifdef EGL_KHR_stream_producer_aldatalocator
  16206. EGLEW_KHR_stream_producer_aldatalocator = _glewSearchExtension("EGL_KHR_stream_producer_aldatalocator", extStart, extEnd);
  16207. #endif /* EGL_KHR_stream_producer_aldatalocator */
  16208. #ifdef EGL_KHR_stream_producer_eglsurface
  16209. EGLEW_KHR_stream_producer_eglsurface = _glewSearchExtension("EGL_KHR_stream_producer_eglsurface", extStart, extEnd);
  16210. if (glewExperimental || EGLEW_KHR_stream_producer_eglsurface) EGLEW_KHR_stream_producer_eglsurface = !_glewInit_EGL_KHR_stream_producer_eglsurface();
  16211. #endif /* EGL_KHR_stream_producer_eglsurface */
  16212. #ifdef EGL_KHR_surfaceless_context
  16213. EGLEW_KHR_surfaceless_context = _glewSearchExtension("EGL_KHR_surfaceless_context", extStart, extEnd);
  16214. #endif /* EGL_KHR_surfaceless_context */
  16215. #ifdef EGL_KHR_swap_buffers_with_damage
  16216. EGLEW_KHR_swap_buffers_with_damage = _glewSearchExtension("EGL_KHR_swap_buffers_with_damage", extStart, extEnd);
  16217. if (glewExperimental || EGLEW_KHR_swap_buffers_with_damage) EGLEW_KHR_swap_buffers_with_damage = !_glewInit_EGL_KHR_swap_buffers_with_damage();
  16218. #endif /* EGL_KHR_swap_buffers_with_damage */
  16219. #ifdef EGL_KHR_vg_parent_image
  16220. EGLEW_KHR_vg_parent_image = _glewSearchExtension("EGL_KHR_vg_parent_image", extStart, extEnd);
  16221. #endif /* EGL_KHR_vg_parent_image */
  16222. #ifdef EGL_KHR_wait_sync
  16223. EGLEW_KHR_wait_sync = _glewSearchExtension("EGL_KHR_wait_sync", extStart, extEnd);
  16224. if (glewExperimental || EGLEW_KHR_wait_sync) EGLEW_KHR_wait_sync = !_glewInit_EGL_KHR_wait_sync();
  16225. #endif /* EGL_KHR_wait_sync */
  16226. #ifdef EGL_MESA_drm_image
  16227. EGLEW_MESA_drm_image = _glewSearchExtension("EGL_MESA_drm_image", extStart, extEnd);
  16228. if (glewExperimental || EGLEW_MESA_drm_image) EGLEW_MESA_drm_image = !_glewInit_EGL_MESA_drm_image();
  16229. #endif /* EGL_MESA_drm_image */
  16230. #ifdef EGL_MESA_image_dma_buf_export
  16231. EGLEW_MESA_image_dma_buf_export = _glewSearchExtension("EGL_MESA_image_dma_buf_export", extStart, extEnd);
  16232. if (glewExperimental || EGLEW_MESA_image_dma_buf_export) EGLEW_MESA_image_dma_buf_export = !_glewInit_EGL_MESA_image_dma_buf_export();
  16233. #endif /* EGL_MESA_image_dma_buf_export */
  16234. #ifdef EGL_MESA_platform_gbm
  16235. EGLEW_MESA_platform_gbm = _glewSearchExtension("EGL_MESA_platform_gbm", extStart, extEnd);
  16236. #endif /* EGL_MESA_platform_gbm */
  16237. #ifdef EGL_MESA_platform_surfaceless
  16238. EGLEW_MESA_platform_surfaceless = _glewSearchExtension("EGL_MESA_platform_surfaceless", extStart, extEnd);
  16239. #endif /* EGL_MESA_platform_surfaceless */
  16240. #ifdef EGL_NOK_swap_region
  16241. EGLEW_NOK_swap_region = _glewSearchExtension("EGL_NOK_swap_region", extStart, extEnd);
  16242. if (glewExperimental || EGLEW_NOK_swap_region) EGLEW_NOK_swap_region = !_glewInit_EGL_NOK_swap_region();
  16243. #endif /* EGL_NOK_swap_region */
  16244. #ifdef EGL_NOK_swap_region2
  16245. EGLEW_NOK_swap_region2 = _glewSearchExtension("EGL_NOK_swap_region2", extStart, extEnd);
  16246. if (glewExperimental || EGLEW_NOK_swap_region2) EGLEW_NOK_swap_region2 = !_glewInit_EGL_NOK_swap_region2();
  16247. #endif /* EGL_NOK_swap_region2 */
  16248. #ifdef EGL_NOK_texture_from_pixmap
  16249. EGLEW_NOK_texture_from_pixmap = _glewSearchExtension("EGL_NOK_texture_from_pixmap", extStart, extEnd);
  16250. #endif /* EGL_NOK_texture_from_pixmap */
  16251. #ifdef EGL_NV_3dvision_surface
  16252. EGLEW_NV_3dvision_surface = _glewSearchExtension("EGL_NV_3dvision_surface", extStart, extEnd);
  16253. #endif /* EGL_NV_3dvision_surface */
  16254. #ifdef EGL_NV_coverage_sample
  16255. EGLEW_NV_coverage_sample = _glewSearchExtension("EGL_NV_coverage_sample", extStart, extEnd);
  16256. #endif /* EGL_NV_coverage_sample */
  16257. #ifdef EGL_NV_coverage_sample_resolve
  16258. EGLEW_NV_coverage_sample_resolve = _glewSearchExtension("EGL_NV_coverage_sample_resolve", extStart, extEnd);
  16259. #endif /* EGL_NV_coverage_sample_resolve */
  16260. #ifdef EGL_NV_cuda_event
  16261. EGLEW_NV_cuda_event = _glewSearchExtension("EGL_NV_cuda_event", extStart, extEnd);
  16262. #endif /* EGL_NV_cuda_event */
  16263. #ifdef EGL_NV_depth_nonlinear
  16264. EGLEW_NV_depth_nonlinear = _glewSearchExtension("EGL_NV_depth_nonlinear", extStart, extEnd);
  16265. #endif /* EGL_NV_depth_nonlinear */
  16266. #ifdef EGL_NV_device_cuda
  16267. EGLEW_NV_device_cuda = _glewSearchExtension("EGL_NV_device_cuda", extStart, extEnd);
  16268. #endif /* EGL_NV_device_cuda */
  16269. #ifdef EGL_NV_native_query
  16270. EGLEW_NV_native_query = _glewSearchExtension("EGL_NV_native_query", extStart, extEnd);
  16271. if (glewExperimental || EGLEW_NV_native_query) EGLEW_NV_native_query = !_glewInit_EGL_NV_native_query();
  16272. #endif /* EGL_NV_native_query */
  16273. #ifdef EGL_NV_post_convert_rounding
  16274. EGLEW_NV_post_convert_rounding = _glewSearchExtension("EGL_NV_post_convert_rounding", extStart, extEnd);
  16275. #endif /* EGL_NV_post_convert_rounding */
  16276. #ifdef EGL_NV_post_sub_buffer
  16277. EGLEW_NV_post_sub_buffer = _glewSearchExtension("EGL_NV_post_sub_buffer", extStart, extEnd);
  16278. if (glewExperimental || EGLEW_NV_post_sub_buffer) EGLEW_NV_post_sub_buffer = !_glewInit_EGL_NV_post_sub_buffer();
  16279. #endif /* EGL_NV_post_sub_buffer */
  16280. #ifdef EGL_NV_robustness_video_memory_purge
  16281. EGLEW_NV_robustness_video_memory_purge = _glewSearchExtension("EGL_NV_robustness_video_memory_purge", extStart, extEnd);
  16282. #endif /* EGL_NV_robustness_video_memory_purge */
  16283. #ifdef EGL_NV_stream_consumer_gltexture_yuv
  16284. EGLEW_NV_stream_consumer_gltexture_yuv = _glewSearchExtension("EGL_NV_stream_consumer_gltexture_yuv", extStart, extEnd);
  16285. if (glewExperimental || EGLEW_NV_stream_consumer_gltexture_yuv) EGLEW_NV_stream_consumer_gltexture_yuv = !_glewInit_EGL_NV_stream_consumer_gltexture_yuv();
  16286. #endif /* EGL_NV_stream_consumer_gltexture_yuv */
  16287. #ifdef EGL_NV_stream_cross_display
  16288. EGLEW_NV_stream_cross_display = _glewSearchExtension("EGL_NV_stream_cross_display", extStart, extEnd);
  16289. #endif /* EGL_NV_stream_cross_display */
  16290. #ifdef EGL_NV_stream_cross_object
  16291. EGLEW_NV_stream_cross_object = _glewSearchExtension("EGL_NV_stream_cross_object", extStart, extEnd);
  16292. #endif /* EGL_NV_stream_cross_object */
  16293. #ifdef EGL_NV_stream_cross_partition
  16294. EGLEW_NV_stream_cross_partition = _glewSearchExtension("EGL_NV_stream_cross_partition", extStart, extEnd);
  16295. #endif /* EGL_NV_stream_cross_partition */
  16296. #ifdef EGL_NV_stream_cross_process
  16297. EGLEW_NV_stream_cross_process = _glewSearchExtension("EGL_NV_stream_cross_process", extStart, extEnd);
  16298. #endif /* EGL_NV_stream_cross_process */
  16299. #ifdef EGL_NV_stream_cross_system
  16300. EGLEW_NV_stream_cross_system = _glewSearchExtension("EGL_NV_stream_cross_system", extStart, extEnd);
  16301. #endif /* EGL_NV_stream_cross_system */
  16302. #ifdef EGL_NV_stream_fifo_next
  16303. EGLEW_NV_stream_fifo_next = _glewSearchExtension("EGL_NV_stream_fifo_next", extStart, extEnd);
  16304. #endif /* EGL_NV_stream_fifo_next */
  16305. #ifdef EGL_NV_stream_fifo_synchronous
  16306. EGLEW_NV_stream_fifo_synchronous = _glewSearchExtension("EGL_NV_stream_fifo_synchronous", extStart, extEnd);
  16307. #endif /* EGL_NV_stream_fifo_synchronous */
  16308. #ifdef EGL_NV_stream_frame_limits
  16309. EGLEW_NV_stream_frame_limits = _glewSearchExtension("EGL_NV_stream_frame_limits", extStart, extEnd);
  16310. #endif /* EGL_NV_stream_frame_limits */
  16311. #ifdef EGL_NV_stream_metadata
  16312. EGLEW_NV_stream_metadata = _glewSearchExtension("EGL_NV_stream_metadata", extStart, extEnd);
  16313. if (glewExperimental || EGLEW_NV_stream_metadata) EGLEW_NV_stream_metadata = !_glewInit_EGL_NV_stream_metadata();
  16314. #endif /* EGL_NV_stream_metadata */
  16315. #ifdef EGL_NV_stream_remote
  16316. EGLEW_NV_stream_remote = _glewSearchExtension("EGL_NV_stream_remote", extStart, extEnd);
  16317. #endif /* EGL_NV_stream_remote */
  16318. #ifdef EGL_NV_stream_reset
  16319. EGLEW_NV_stream_reset = _glewSearchExtension("EGL_NV_stream_reset", extStart, extEnd);
  16320. if (glewExperimental || EGLEW_NV_stream_reset) EGLEW_NV_stream_reset = !_glewInit_EGL_NV_stream_reset();
  16321. #endif /* EGL_NV_stream_reset */
  16322. #ifdef EGL_NV_stream_socket
  16323. EGLEW_NV_stream_socket = _glewSearchExtension("EGL_NV_stream_socket", extStart, extEnd);
  16324. #endif /* EGL_NV_stream_socket */
  16325. #ifdef EGL_NV_stream_socket_inet
  16326. EGLEW_NV_stream_socket_inet = _glewSearchExtension("EGL_NV_stream_socket_inet", extStart, extEnd);
  16327. #endif /* EGL_NV_stream_socket_inet */
  16328. #ifdef EGL_NV_stream_socket_unix
  16329. EGLEW_NV_stream_socket_unix = _glewSearchExtension("EGL_NV_stream_socket_unix", extStart, extEnd);
  16330. #endif /* EGL_NV_stream_socket_unix */
  16331. #ifdef EGL_NV_stream_sync
  16332. EGLEW_NV_stream_sync = _glewSearchExtension("EGL_NV_stream_sync", extStart, extEnd);
  16333. if (glewExperimental || EGLEW_NV_stream_sync) EGLEW_NV_stream_sync = !_glewInit_EGL_NV_stream_sync();
  16334. #endif /* EGL_NV_stream_sync */
  16335. #ifdef EGL_NV_sync
  16336. EGLEW_NV_sync = _glewSearchExtension("EGL_NV_sync", extStart, extEnd);
  16337. if (glewExperimental || EGLEW_NV_sync) EGLEW_NV_sync = !_glewInit_EGL_NV_sync();
  16338. #endif /* EGL_NV_sync */
  16339. #ifdef EGL_NV_system_time
  16340. EGLEW_NV_system_time = _glewSearchExtension("EGL_NV_system_time", extStart, extEnd);
  16341. if (glewExperimental || EGLEW_NV_system_time) EGLEW_NV_system_time = !_glewInit_EGL_NV_system_time();
  16342. #endif /* EGL_NV_system_time */
  16343. #ifdef EGL_TIZEN_image_native_buffer
  16344. EGLEW_TIZEN_image_native_buffer = _glewSearchExtension("EGL_TIZEN_image_native_buffer", extStart, extEnd);
  16345. #endif /* EGL_TIZEN_image_native_buffer */
  16346. #ifdef EGL_TIZEN_image_native_surface
  16347. EGLEW_TIZEN_image_native_surface = _glewSearchExtension("EGL_TIZEN_image_native_surface", extStart, extEnd);
  16348. #endif /* EGL_TIZEN_image_native_surface */
  16349. return GLEW_OK;
  16350. }
  16351. #elif defined(_WIN32)
  16352. PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
  16353. PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL;
  16354. PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL;
  16355. PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL;
  16356. PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL;
  16357. PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL;
  16358. PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL;
  16359. PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL;
  16360. PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL;
  16361. PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL;
  16362. PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
  16363. PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
  16364. PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
  16365. PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL;
  16366. PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB = NULL;
  16367. PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL;
  16368. PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL;
  16369. PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL;
  16370. PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL;
  16371. PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL;
  16372. PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL;
  16373. PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL;
  16374. PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL;
  16375. PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL;
  16376. PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL;
  16377. PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL;
  16378. PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL;
  16379. PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL;
  16380. PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL;
  16381. PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL;
  16382. PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL;
  16383. PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL;
  16384. PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL;
  16385. PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL;
  16386. PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL;
  16387. PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL;
  16388. PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL;
  16389. PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL;
  16390. PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL;
  16391. PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL;
  16392. PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL;
  16393. PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL;
  16394. PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL;
  16395. PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL;
  16396. PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL;
  16397. PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL;
  16398. PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL;
  16399. PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL;
  16400. PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL;
  16401. PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL;
  16402. PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL;
  16403. PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL;
  16404. PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL;
  16405. PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL;
  16406. PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL;
  16407. PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL;
  16408. PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL;
  16409. PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL;
  16410. PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL;
  16411. PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL;
  16412. PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL;
  16413. PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL;
  16414. PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL;
  16415. PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL;
  16416. PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL;
  16417. PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL;
  16418. PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL;
  16419. PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL;
  16420. PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL;
  16421. PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL;
  16422. PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL;
  16423. PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL;
  16424. PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL;
  16425. PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL;
  16426. PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
  16427. PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
  16428. PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV = NULL;
  16429. PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV = NULL;
  16430. PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV = NULL;
  16431. PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV = NULL;
  16432. PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV = NULL;
  16433. PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV = NULL;
  16434. PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV = NULL;
  16435. PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV = NULL;
  16436. PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL;
  16437. PFNWGLDELAYBEFORESWAPNVPROC __wglewDelayBeforeSwapNV = NULL;
  16438. PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;
  16439. PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;
  16440. PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;
  16441. PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV = NULL;
  16442. PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV = NULL;
  16443. PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV = NULL;
  16444. PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV = NULL;
  16445. PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV = NULL;
  16446. PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV = NULL;
  16447. PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV = NULL;
  16448. PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV = NULL;
  16449. PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV = NULL;
  16450. PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV = NULL;
  16451. PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV = NULL;
  16452. PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL;
  16453. PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL;
  16454. PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV = NULL;
  16455. PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV = NULL;
  16456. PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV = NULL;
  16457. PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV = NULL;
  16458. PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV = NULL;
  16459. PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV = NULL;
  16460. PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV = NULL;
  16461. PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV = NULL;
  16462. PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV = NULL;
  16463. PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV = NULL;
  16464. PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV = NULL;
  16465. PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL;
  16466. PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL;
  16467. PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL;
  16468. PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL;
  16469. PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL;
  16470. PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
  16471. GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
  16472. GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
  16473. GLboolean __WGLEW_AMD_gpu_association = GL_FALSE;
  16474. GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
  16475. GLboolean __WGLEW_ARB_context_flush_control = GL_FALSE;
  16476. GLboolean __WGLEW_ARB_create_context = GL_FALSE;
  16477. GLboolean __WGLEW_ARB_create_context_no_error = GL_FALSE;
  16478. GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE;
  16479. GLboolean __WGLEW_ARB_create_context_robustness = GL_FALSE;
  16480. GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
  16481. GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;
  16482. GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
  16483. GLboolean __WGLEW_ARB_multisample = GL_FALSE;
  16484. GLboolean __WGLEW_ARB_pbuffer = GL_FALSE;
  16485. GLboolean __WGLEW_ARB_pixel_format = GL_FALSE;
  16486. GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE;
  16487. GLboolean __WGLEW_ARB_render_texture = GL_FALSE;
  16488. GLboolean __WGLEW_ARB_robustness_application_isolation = GL_FALSE;
  16489. GLboolean __WGLEW_ARB_robustness_share_group_isolation = GL_FALSE;
  16490. GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE;
  16491. GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE;
  16492. GLboolean __WGLEW_EXT_colorspace = GL_FALSE;
  16493. GLboolean __WGLEW_EXT_create_context_es2_profile = GL_FALSE;
  16494. GLboolean __WGLEW_EXT_create_context_es_profile = GL_FALSE;
  16495. GLboolean __WGLEW_EXT_depth_float = GL_FALSE;
  16496. GLboolean __WGLEW_EXT_display_color_table = GL_FALSE;
  16497. GLboolean __WGLEW_EXT_extensions_string = GL_FALSE;
  16498. GLboolean __WGLEW_EXT_framebuffer_sRGB = GL_FALSE;
  16499. GLboolean __WGLEW_EXT_make_current_read = GL_FALSE;
  16500. GLboolean __WGLEW_EXT_multisample = GL_FALSE;
  16501. GLboolean __WGLEW_EXT_pbuffer = GL_FALSE;
  16502. GLboolean __WGLEW_EXT_pixel_format = GL_FALSE;
  16503. GLboolean __WGLEW_EXT_pixel_format_packed_float = GL_FALSE;
  16504. GLboolean __WGLEW_EXT_swap_control = GL_FALSE;
  16505. GLboolean __WGLEW_EXT_swap_control_tear = GL_FALSE;
  16506. GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE;
  16507. GLboolean __WGLEW_I3D_gamma = GL_FALSE;
  16508. GLboolean __WGLEW_I3D_genlock = GL_FALSE;
  16509. GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
  16510. GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
  16511. GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
  16512. GLboolean __WGLEW_NV_DX_interop = GL_FALSE;
  16513. GLboolean __WGLEW_NV_DX_interop2 = GL_FALSE;
  16514. GLboolean __WGLEW_NV_copy_image = GL_FALSE;
  16515. GLboolean __WGLEW_NV_delay_before_swap = GL_FALSE;
  16516. GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
  16517. GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;
  16518. GLboolean __WGLEW_NV_multisample_coverage = GL_FALSE;
  16519. GLboolean __WGLEW_NV_present_video = GL_FALSE;
  16520. GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE;
  16521. GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE;
  16522. GLboolean __WGLEW_NV_swap_group = GL_FALSE;
  16523. GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE;
  16524. GLboolean __WGLEW_NV_video_capture = GL_FALSE;
  16525. GLboolean __WGLEW_NV_video_output = GL_FALSE;
  16526. GLboolean __WGLEW_OML_sync_control = GL_FALSE;
  16527. #ifdef WGL_3DL_stereo_control
  16528. static GLboolean _glewInit_WGL_3DL_stereo_control ()
  16529. {
  16530. GLboolean r = GL_FALSE;
  16531. r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r;
  16532. return r;
  16533. }
  16534. #endif /* WGL_3DL_stereo_control */
  16535. #ifdef WGL_AMD_gpu_association
  16536. static GLboolean _glewInit_WGL_AMD_gpu_association ()
  16537. {
  16538. GLboolean r = GL_FALSE;
  16539. r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r;
  16540. r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r;
  16541. r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r;
  16542. r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r;
  16543. r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r;
  16544. r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r;
  16545. r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r;
  16546. r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r;
  16547. r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r;
  16548. return r;
  16549. }
  16550. #endif /* WGL_AMD_gpu_association */
  16551. #ifdef WGL_ARB_buffer_region
  16552. static GLboolean _glewInit_WGL_ARB_buffer_region ()
  16553. {
  16554. GLboolean r = GL_FALSE;
  16555. r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r;
  16556. r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r;
  16557. r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r;
  16558. r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r;
  16559. return r;
  16560. }
  16561. #endif /* WGL_ARB_buffer_region */
  16562. #ifdef WGL_ARB_create_context
  16563. static GLboolean _glewInit_WGL_ARB_create_context ()
  16564. {
  16565. GLboolean r = GL_FALSE;
  16566. r = ((wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateContextAttribsARB")) == NULL) || r;
  16567. return r;
  16568. }
  16569. #endif /* WGL_ARB_create_context */
  16570. #ifdef WGL_ARB_extensions_string
  16571. static GLboolean _glewInit_WGL_ARB_extensions_string ()
  16572. {
  16573. GLboolean r = GL_FALSE;
  16574. r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r;
  16575. return r;
  16576. }
  16577. #endif /* WGL_ARB_extensions_string */
  16578. #ifdef WGL_ARB_make_current_read
  16579. static GLboolean _glewInit_WGL_ARB_make_current_read ()
  16580. {
  16581. GLboolean r = GL_FALSE;
  16582. r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r;
  16583. r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r;
  16584. return r;
  16585. }
  16586. #endif /* WGL_ARB_make_current_read */
  16587. #ifdef WGL_ARB_pbuffer
  16588. static GLboolean _glewInit_WGL_ARB_pbuffer ()
  16589. {
  16590. GLboolean r = GL_FALSE;
  16591. r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r;
  16592. r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r;
  16593. r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r;
  16594. r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r;
  16595. r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r;
  16596. return r;
  16597. }
  16598. #endif /* WGL_ARB_pbuffer */
  16599. #ifdef WGL_ARB_pixel_format
  16600. static GLboolean _glewInit_WGL_ARB_pixel_format ()
  16601. {
  16602. GLboolean r = GL_FALSE;
  16603. r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r;
  16604. r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r;
  16605. r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r;
  16606. return r;
  16607. }
  16608. #endif /* WGL_ARB_pixel_format */
  16609. #ifdef WGL_ARB_render_texture
  16610. static GLboolean _glewInit_WGL_ARB_render_texture ()
  16611. {
  16612. GLboolean r = GL_FALSE;
  16613. r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r;
  16614. r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r;
  16615. r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r;
  16616. return r;
  16617. }
  16618. #endif /* WGL_ARB_render_texture */
  16619. #ifdef WGL_EXT_display_color_table
  16620. static GLboolean _glewInit_WGL_EXT_display_color_table ()
  16621. {
  16622. GLboolean r = GL_FALSE;
  16623. r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r;
  16624. r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r;
  16625. r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r;
  16626. r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r;
  16627. return r;
  16628. }
  16629. #endif /* WGL_EXT_display_color_table */
  16630. #ifdef WGL_EXT_extensions_string
  16631. static GLboolean _glewInit_WGL_EXT_extensions_string ()
  16632. {
  16633. GLboolean r = GL_FALSE;
  16634. r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r;
  16635. return r;
  16636. }
  16637. #endif /* WGL_EXT_extensions_string */
  16638. #ifdef WGL_EXT_make_current_read
  16639. static GLboolean _glewInit_WGL_EXT_make_current_read ()
  16640. {
  16641. GLboolean r = GL_FALSE;
  16642. r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r;
  16643. r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r;
  16644. return r;
  16645. }
  16646. #endif /* WGL_EXT_make_current_read */
  16647. #ifdef WGL_EXT_pbuffer
  16648. static GLboolean _glewInit_WGL_EXT_pbuffer ()
  16649. {
  16650. GLboolean r = GL_FALSE;
  16651. r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r;
  16652. r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r;
  16653. r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r;
  16654. r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r;
  16655. r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r;
  16656. return r;
  16657. }
  16658. #endif /* WGL_EXT_pbuffer */
  16659. #ifdef WGL_EXT_pixel_format
  16660. static GLboolean _glewInit_WGL_EXT_pixel_format ()
  16661. {
  16662. GLboolean r = GL_FALSE;
  16663. r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r;
  16664. r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r;
  16665. r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r;
  16666. return r;
  16667. }
  16668. #endif /* WGL_EXT_pixel_format */
  16669. #ifdef WGL_EXT_swap_control
  16670. static GLboolean _glewInit_WGL_EXT_swap_control ()
  16671. {
  16672. GLboolean r = GL_FALSE;
  16673. r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r;
  16674. r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r;
  16675. return r;
  16676. }
  16677. #endif /* WGL_EXT_swap_control */
  16678. #ifdef WGL_I3D_digital_video_control
  16679. static GLboolean _glewInit_WGL_I3D_digital_video_control ()
  16680. {
  16681. GLboolean r = GL_FALSE;
  16682. r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r;
  16683. r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r;
  16684. return r;
  16685. }
  16686. #endif /* WGL_I3D_digital_video_control */
  16687. #ifdef WGL_I3D_gamma
  16688. static GLboolean _glewInit_WGL_I3D_gamma ()
  16689. {
  16690. GLboolean r = GL_FALSE;
  16691. r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r;
  16692. r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r;
  16693. r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r;
  16694. r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r;
  16695. return r;
  16696. }
  16697. #endif /* WGL_I3D_gamma */
  16698. #ifdef WGL_I3D_genlock
  16699. static GLboolean _glewInit_WGL_I3D_genlock ()
  16700. {
  16701. GLboolean r = GL_FALSE;
  16702. r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r;
  16703. r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r;
  16704. r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r;
  16705. r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r;
  16706. r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r;
  16707. r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r;
  16708. r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r;
  16709. r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r;
  16710. r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r;
  16711. r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r;
  16712. r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r;
  16713. r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r;
  16714. return r;
  16715. }
  16716. #endif /* WGL_I3D_genlock */
  16717. #ifdef WGL_I3D_image_buffer
  16718. static GLboolean _glewInit_WGL_I3D_image_buffer ()
  16719. {
  16720. GLboolean r = GL_FALSE;
  16721. r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r;
  16722. r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r;
  16723. r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r;
  16724. r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r;
  16725. return r;
  16726. }
  16727. #endif /* WGL_I3D_image_buffer */
  16728. #ifdef WGL_I3D_swap_frame_lock
  16729. static GLboolean _glewInit_WGL_I3D_swap_frame_lock ()
  16730. {
  16731. GLboolean r = GL_FALSE;
  16732. r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r;
  16733. r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r;
  16734. r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r;
  16735. r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r;
  16736. return r;
  16737. }
  16738. #endif /* WGL_I3D_swap_frame_lock */
  16739. #ifdef WGL_I3D_swap_frame_usage
  16740. static GLboolean _glewInit_WGL_I3D_swap_frame_usage ()
  16741. {
  16742. GLboolean r = GL_FALSE;
  16743. r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r;
  16744. r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r;
  16745. r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r;
  16746. r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r;
  16747. return r;
  16748. }
  16749. #endif /* WGL_I3D_swap_frame_usage */
  16750. #ifdef WGL_NV_DX_interop
  16751. static GLboolean _glewInit_WGL_NV_DX_interop ()
  16752. {
  16753. GLboolean r = GL_FALSE;
  16754. r = ((wglDXCloseDeviceNV = (PFNWGLDXCLOSEDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXCloseDeviceNV")) == NULL) || r;
  16755. r = ((wglDXLockObjectsNV = (PFNWGLDXLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXLockObjectsNV")) == NULL) || r;
  16756. r = ((wglDXObjectAccessNV = (PFNWGLDXOBJECTACCESSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXObjectAccessNV")) == NULL) || r;
  16757. r = ((wglDXOpenDeviceNV = (PFNWGLDXOPENDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXOpenDeviceNV")) == NULL) || r;
  16758. r = ((wglDXRegisterObjectNV = (PFNWGLDXREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXRegisterObjectNV")) == NULL) || r;
  16759. r = ((wglDXSetResourceShareHandleNV = (PFNWGLDXSETRESOURCESHAREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"wglDXSetResourceShareHandleNV")) == NULL) || r;
  16760. r = ((wglDXUnlockObjectsNV = (PFNWGLDXUNLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnlockObjectsNV")) == NULL) || r;
  16761. r = ((wglDXUnregisterObjectNV = (PFNWGLDXUNREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnregisterObjectNV")) == NULL) || r;
  16762. return r;
  16763. }
  16764. #endif /* WGL_NV_DX_interop */
  16765. #ifdef WGL_NV_copy_image
  16766. static GLboolean _glewInit_WGL_NV_copy_image ()
  16767. {
  16768. GLboolean r = GL_FALSE;
  16769. r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r;
  16770. return r;
  16771. }
  16772. #endif /* WGL_NV_copy_image */
  16773. #ifdef WGL_NV_delay_before_swap
  16774. static GLboolean _glewInit_WGL_NV_delay_before_swap ()
  16775. {
  16776. GLboolean r = GL_FALSE;
  16777. r = ((wglDelayBeforeSwapNV = (PFNWGLDELAYBEFORESWAPNVPROC)glewGetProcAddress((const GLubyte*)"wglDelayBeforeSwapNV")) == NULL) || r;
  16778. return r;
  16779. }
  16780. #endif /* WGL_NV_delay_before_swap */
  16781. #ifdef WGL_NV_gpu_affinity
  16782. static GLboolean _glewInit_WGL_NV_gpu_affinity ()
  16783. {
  16784. GLboolean r = GL_FALSE;
  16785. r = ((wglCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglCreateAffinityDCNV")) == NULL) || r;
  16786. r = ((wglDeleteDCNV = (PFNWGLDELETEDCNVPROC)glewGetProcAddress((const GLubyte*)"wglDeleteDCNV")) == NULL) || r;
  16787. r = ((wglEnumGpuDevicesNV = (PFNWGLENUMGPUDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpuDevicesNV")) == NULL) || r;
  16788. r = ((wglEnumGpusFromAffinityDCNV = (PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusFromAffinityDCNV")) == NULL) || r;
  16789. r = ((wglEnumGpusNV = (PFNWGLENUMGPUSNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusNV")) == NULL) || r;
  16790. return r;
  16791. }
  16792. #endif /* WGL_NV_gpu_affinity */
  16793. #ifdef WGL_NV_present_video
  16794. static GLboolean _glewInit_WGL_NV_present_video ()
  16795. {
  16796. GLboolean r = GL_FALSE;
  16797. r = ((wglBindVideoDeviceNV = (PFNWGLBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoDeviceNV")) == NULL) || r;
  16798. r = ((wglEnumerateVideoDevicesNV = (PFNWGLENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoDevicesNV")) == NULL) || r;
  16799. r = ((wglQueryCurrentContextNV = (PFNWGLQUERYCURRENTCONTEXTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryCurrentContextNV")) == NULL) || r;
  16800. return r;
  16801. }
  16802. #endif /* WGL_NV_present_video */
  16803. #ifdef WGL_NV_swap_group
  16804. static GLboolean _glewInit_WGL_NV_swap_group ()
  16805. {
  16806. GLboolean r = GL_FALSE;
  16807. r = ((wglBindSwapBarrierNV = (PFNWGLBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"wglBindSwapBarrierNV")) == NULL) || r;
  16808. r = ((wglJoinSwapGroupNV = (PFNWGLJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglJoinSwapGroupNV")) == NULL) || r;
  16809. r = ((wglQueryFrameCountNV = (PFNWGLQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameCountNV")) == NULL) || r;
  16810. r = ((wglQueryMaxSwapGroupsNV = (PFNWGLQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryMaxSwapGroupsNV")) == NULL) || r;
  16811. r = ((wglQuerySwapGroupNV = (PFNWGLQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglQuerySwapGroupNV")) == NULL) || r;
  16812. r = ((wglResetFrameCountNV = (PFNWGLRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglResetFrameCountNV")) == NULL) || r;
  16813. return r;
  16814. }
  16815. #endif /* WGL_NV_swap_group */
  16816. #ifdef WGL_NV_vertex_array_range
  16817. static GLboolean _glewInit_WGL_NV_vertex_array_range ()
  16818. {
  16819. GLboolean r = GL_FALSE;
  16820. r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r;
  16821. r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r;
  16822. return r;
  16823. }
  16824. #endif /* WGL_NV_vertex_array_range */
  16825. #ifdef WGL_NV_video_capture
  16826. static GLboolean _glewInit_WGL_NV_video_capture ()
  16827. {
  16828. GLboolean r = GL_FALSE;
  16829. r = ((wglBindVideoCaptureDeviceNV = (PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoCaptureDeviceNV")) == NULL) || r;
  16830. r = ((wglEnumerateVideoCaptureDevicesNV = (PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoCaptureDevicesNV")) == NULL) || r;
  16831. r = ((wglLockVideoCaptureDeviceNV = (PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglLockVideoCaptureDeviceNV")) == NULL) || r;
  16832. r = ((wglQueryVideoCaptureDeviceNV = (PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglQueryVideoCaptureDeviceNV")) == NULL) || r;
  16833. r = ((wglReleaseVideoCaptureDeviceNV = (PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoCaptureDeviceNV")) == NULL) || r;
  16834. return r;
  16835. }
  16836. #endif /* WGL_NV_video_capture */
  16837. #ifdef WGL_NV_video_output
  16838. static GLboolean _glewInit_WGL_NV_video_output ()
  16839. {
  16840. GLboolean r = GL_FALSE;
  16841. r = ((wglBindVideoImageNV = (PFNWGLBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoImageNV")) == NULL) || r;
  16842. r = ((wglGetVideoDeviceNV = (PFNWGLGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoDeviceNV")) == NULL) || r;
  16843. r = ((wglGetVideoInfoNV = (PFNWGLGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoInfoNV")) == NULL) || r;
  16844. r = ((wglReleaseVideoDeviceNV = (PFNWGLRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoDeviceNV")) == NULL) || r;
  16845. r = ((wglReleaseVideoImageNV = (PFNWGLRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoImageNV")) == NULL) || r;
  16846. r = ((wglSendPbufferToVideoNV = (PFNWGLSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"wglSendPbufferToVideoNV")) == NULL) || r;
  16847. return r;
  16848. }
  16849. #endif /* WGL_NV_video_output */
  16850. #ifdef WGL_OML_sync_control
  16851. static GLboolean _glewInit_WGL_OML_sync_control ()
  16852. {
  16853. GLboolean r = GL_FALSE;
  16854. r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r;
  16855. r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r;
  16856. r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r;
  16857. r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r;
  16858. r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r;
  16859. r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r;
  16860. return r;
  16861. }
  16862. #endif /* WGL_OML_sync_control */
  16863. /* ------------------------------------------------------------------------- */
  16864. static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
  16865. static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
  16866. GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
  16867. {
  16868. const GLubyte* start;
  16869. const GLubyte* end;
  16870. if (_wglewGetExtensionsStringARB == NULL)
  16871. if (_wglewGetExtensionsStringEXT == NULL)
  16872. return GL_FALSE;
  16873. else
  16874. start = (const GLubyte*)_wglewGetExtensionsStringEXT();
  16875. else
  16876. start = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
  16877. if (start == 0)
  16878. return GL_FALSE;
  16879. end = start + _glewStrLen(start);
  16880. return _glewSearchExtension(name, start, end);
  16881. }
  16882. GLenum GLEWAPIENTRY wglewInit ()
  16883. {
  16884. GLboolean crippled;
  16885. const GLubyte* extStart;
  16886. const GLubyte* extEnd;
  16887. /* find wgl extension string query functions */
  16888. _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
  16889. _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
  16890. /* query wgl extension string */
  16891. if (_wglewGetExtensionsStringARB == NULL)
  16892. if (_wglewGetExtensionsStringEXT == NULL)
  16893. extStart = (const GLubyte*)"";
  16894. else
  16895. extStart = (const GLubyte*)_wglewGetExtensionsStringEXT();
  16896. else
  16897. extStart = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
  16898. extEnd = extStart + _glewStrLen(extStart);
  16899. /* initialize extensions */
  16900. crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
  16901. #ifdef WGL_3DFX_multisample
  16902. WGLEW_3DFX_multisample = _glewSearchExtension("WGL_3DFX_multisample", extStart, extEnd);
  16903. #endif /* WGL_3DFX_multisample */
  16904. #ifdef WGL_3DL_stereo_control
  16905. WGLEW_3DL_stereo_control = _glewSearchExtension("WGL_3DL_stereo_control", extStart, extEnd);
  16906. if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) WGLEW_3DL_stereo_control= !_glewInit_WGL_3DL_stereo_control();
  16907. #endif /* WGL_3DL_stereo_control */
  16908. #ifdef WGL_AMD_gpu_association
  16909. WGLEW_AMD_gpu_association = _glewSearchExtension("WGL_AMD_gpu_association", extStart, extEnd);
  16910. if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) WGLEW_AMD_gpu_association= !_glewInit_WGL_AMD_gpu_association();
  16911. #endif /* WGL_AMD_gpu_association */
  16912. #ifdef WGL_ARB_buffer_region
  16913. WGLEW_ARB_buffer_region = _glewSearchExtension("WGL_ARB_buffer_region", extStart, extEnd);
  16914. if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) WGLEW_ARB_buffer_region= !_glewInit_WGL_ARB_buffer_region();
  16915. #endif /* WGL_ARB_buffer_region */
  16916. #ifdef WGL_ARB_context_flush_control
  16917. WGLEW_ARB_context_flush_control = _glewSearchExtension("WGL_ARB_context_flush_control", extStart, extEnd);
  16918. #endif /* WGL_ARB_context_flush_control */
  16919. #ifdef WGL_ARB_create_context
  16920. WGLEW_ARB_create_context = _glewSearchExtension("WGL_ARB_create_context", extStart, extEnd);
  16921. if (glewExperimental || WGLEW_ARB_create_context|| crippled) WGLEW_ARB_create_context= !_glewInit_WGL_ARB_create_context();
  16922. #endif /* WGL_ARB_create_context */
  16923. #ifdef WGL_ARB_create_context_no_error
  16924. WGLEW_ARB_create_context_no_error = _glewSearchExtension("WGL_ARB_create_context_no_error", extStart, extEnd);
  16925. #endif /* WGL_ARB_create_context_no_error */
  16926. #ifdef WGL_ARB_create_context_profile
  16927. WGLEW_ARB_create_context_profile = _glewSearchExtension("WGL_ARB_create_context_profile", extStart, extEnd);
  16928. #endif /* WGL_ARB_create_context_profile */
  16929. #ifdef WGL_ARB_create_context_robustness
  16930. WGLEW_ARB_create_context_robustness = _glewSearchExtension("WGL_ARB_create_context_robustness", extStart, extEnd);
  16931. #endif /* WGL_ARB_create_context_robustness */
  16932. #ifdef WGL_ARB_extensions_string
  16933. WGLEW_ARB_extensions_string = _glewSearchExtension("WGL_ARB_extensions_string", extStart, extEnd);
  16934. if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) WGLEW_ARB_extensions_string= !_glewInit_WGL_ARB_extensions_string();
  16935. #endif /* WGL_ARB_extensions_string */
  16936. #ifdef WGL_ARB_framebuffer_sRGB
  16937. WGLEW_ARB_framebuffer_sRGB = _glewSearchExtension("WGL_ARB_framebuffer_sRGB", extStart, extEnd);
  16938. #endif /* WGL_ARB_framebuffer_sRGB */
  16939. #ifdef WGL_ARB_make_current_read
  16940. WGLEW_ARB_make_current_read = _glewSearchExtension("WGL_ARB_make_current_read", extStart, extEnd);
  16941. if (glewExperimental || WGLEW_ARB_make_current_read|| crippled) WGLEW_ARB_make_current_read= !_glewInit_WGL_ARB_make_current_read();
  16942. #endif /* WGL_ARB_make_current_read */
  16943. #ifdef WGL_ARB_multisample
  16944. WGLEW_ARB_multisample = _glewSearchExtension("WGL_ARB_multisample", extStart, extEnd);
  16945. #endif /* WGL_ARB_multisample */
  16946. #ifdef WGL_ARB_pbuffer
  16947. WGLEW_ARB_pbuffer = _glewSearchExtension("WGL_ARB_pbuffer", extStart, extEnd);
  16948. if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) WGLEW_ARB_pbuffer= !_glewInit_WGL_ARB_pbuffer();
  16949. #endif /* WGL_ARB_pbuffer */
  16950. #ifdef WGL_ARB_pixel_format
  16951. WGLEW_ARB_pixel_format = _glewSearchExtension("WGL_ARB_pixel_format", extStart, extEnd);
  16952. if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) WGLEW_ARB_pixel_format= !_glewInit_WGL_ARB_pixel_format();
  16953. #endif /* WGL_ARB_pixel_format */
  16954. #ifdef WGL_ARB_pixel_format_float
  16955. WGLEW_ARB_pixel_format_float = _glewSearchExtension("WGL_ARB_pixel_format_float", extStart, extEnd);
  16956. #endif /* WGL_ARB_pixel_format_float */
  16957. #ifdef WGL_ARB_render_texture
  16958. WGLEW_ARB_render_texture = _glewSearchExtension("WGL_ARB_render_texture", extStart, extEnd);
  16959. if (glewExperimental || WGLEW_ARB_render_texture|| crippled) WGLEW_ARB_render_texture= !_glewInit_WGL_ARB_render_texture();
  16960. #endif /* WGL_ARB_render_texture */
  16961. #ifdef WGL_ARB_robustness_application_isolation
  16962. WGLEW_ARB_robustness_application_isolation = _glewSearchExtension("WGL_ARB_robustness_application_isolation", extStart, extEnd);
  16963. #endif /* WGL_ARB_robustness_application_isolation */
  16964. #ifdef WGL_ARB_robustness_share_group_isolation
  16965. WGLEW_ARB_robustness_share_group_isolation = _glewSearchExtension("WGL_ARB_robustness_share_group_isolation", extStart, extEnd);
  16966. #endif /* WGL_ARB_robustness_share_group_isolation */
  16967. #ifdef WGL_ATI_pixel_format_float
  16968. WGLEW_ATI_pixel_format_float = _glewSearchExtension("WGL_ATI_pixel_format_float", extStart, extEnd);
  16969. #endif /* WGL_ATI_pixel_format_float */
  16970. #ifdef WGL_ATI_render_texture_rectangle
  16971. WGLEW_ATI_render_texture_rectangle = _glewSearchExtension("WGL_ATI_render_texture_rectangle", extStart, extEnd);
  16972. #endif /* WGL_ATI_render_texture_rectangle */
  16973. #ifdef WGL_EXT_colorspace
  16974. WGLEW_EXT_colorspace = _glewSearchExtension("WGL_EXT_colorspace", extStart, extEnd);
  16975. #endif /* WGL_EXT_colorspace */
  16976. #ifdef WGL_EXT_create_context_es2_profile
  16977. WGLEW_EXT_create_context_es2_profile = _glewSearchExtension("WGL_EXT_create_context_es2_profile", extStart, extEnd);
  16978. #endif /* WGL_EXT_create_context_es2_profile */
  16979. #ifdef WGL_EXT_create_context_es_profile
  16980. WGLEW_EXT_create_context_es_profile = _glewSearchExtension("WGL_EXT_create_context_es_profile", extStart, extEnd);
  16981. #endif /* WGL_EXT_create_context_es_profile */
  16982. #ifdef WGL_EXT_depth_float
  16983. WGLEW_EXT_depth_float = _glewSearchExtension("WGL_EXT_depth_float", extStart, extEnd);
  16984. #endif /* WGL_EXT_depth_float */
  16985. #ifdef WGL_EXT_display_color_table
  16986. WGLEW_EXT_display_color_table = _glewSearchExtension("WGL_EXT_display_color_table", extStart, extEnd);
  16987. if (glewExperimental || WGLEW_EXT_display_color_table|| crippled) WGLEW_EXT_display_color_table= !_glewInit_WGL_EXT_display_color_table();
  16988. #endif /* WGL_EXT_display_color_table */
  16989. #ifdef WGL_EXT_extensions_string
  16990. WGLEW_EXT_extensions_string = _glewSearchExtension("WGL_EXT_extensions_string", extStart, extEnd);
  16991. if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) WGLEW_EXT_extensions_string= !_glewInit_WGL_EXT_extensions_string();
  16992. #endif /* WGL_EXT_extensions_string */
  16993. #ifdef WGL_EXT_framebuffer_sRGB
  16994. WGLEW_EXT_framebuffer_sRGB = _glewSearchExtension("WGL_EXT_framebuffer_sRGB", extStart, extEnd);
  16995. #endif /* WGL_EXT_framebuffer_sRGB */
  16996. #ifdef WGL_EXT_make_current_read
  16997. WGLEW_EXT_make_current_read = _glewSearchExtension("WGL_EXT_make_current_read", extStart, extEnd);
  16998. if (glewExperimental || WGLEW_EXT_make_current_read|| crippled) WGLEW_EXT_make_current_read= !_glewInit_WGL_EXT_make_current_read();
  16999. #endif /* WGL_EXT_make_current_read */
  17000. #ifdef WGL_EXT_multisample
  17001. WGLEW_EXT_multisample = _glewSearchExtension("WGL_EXT_multisample", extStart, extEnd);
  17002. #endif /* WGL_EXT_multisample */
  17003. #ifdef WGL_EXT_pbuffer
  17004. WGLEW_EXT_pbuffer = _glewSearchExtension("WGL_EXT_pbuffer", extStart, extEnd);
  17005. if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) WGLEW_EXT_pbuffer= !_glewInit_WGL_EXT_pbuffer();
  17006. #endif /* WGL_EXT_pbuffer */
  17007. #ifdef WGL_EXT_pixel_format
  17008. WGLEW_EXT_pixel_format = _glewSearchExtension("WGL_EXT_pixel_format", extStart, extEnd);
  17009. if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) WGLEW_EXT_pixel_format= !_glewInit_WGL_EXT_pixel_format();
  17010. #endif /* WGL_EXT_pixel_format */
  17011. #ifdef WGL_EXT_pixel_format_packed_float
  17012. WGLEW_EXT_pixel_format_packed_float = _glewSearchExtension("WGL_EXT_pixel_format_packed_float", extStart, extEnd);
  17013. #endif /* WGL_EXT_pixel_format_packed_float */
  17014. #ifdef WGL_EXT_swap_control
  17015. WGLEW_EXT_swap_control = _glewSearchExtension("WGL_EXT_swap_control", extStart, extEnd);
  17016. if (glewExperimental || WGLEW_EXT_swap_control|| crippled) WGLEW_EXT_swap_control= !_glewInit_WGL_EXT_swap_control();
  17017. #endif /* WGL_EXT_swap_control */
  17018. #ifdef WGL_EXT_swap_control_tear
  17019. WGLEW_EXT_swap_control_tear = _glewSearchExtension("WGL_EXT_swap_control_tear", extStart, extEnd);
  17020. #endif /* WGL_EXT_swap_control_tear */
  17021. #ifdef WGL_I3D_digital_video_control
  17022. WGLEW_I3D_digital_video_control = _glewSearchExtension("WGL_I3D_digital_video_control", extStart, extEnd);
  17023. if (glewExperimental || WGLEW_I3D_digital_video_control|| crippled) WGLEW_I3D_digital_video_control= !_glewInit_WGL_I3D_digital_video_control();
  17024. #endif /* WGL_I3D_digital_video_control */
  17025. #ifdef WGL_I3D_gamma
  17026. WGLEW_I3D_gamma = _glewSearchExtension("WGL_I3D_gamma", extStart, extEnd);
  17027. if (glewExperimental || WGLEW_I3D_gamma|| crippled) WGLEW_I3D_gamma= !_glewInit_WGL_I3D_gamma();
  17028. #endif /* WGL_I3D_gamma */
  17029. #ifdef WGL_I3D_genlock
  17030. WGLEW_I3D_genlock = _glewSearchExtension("WGL_I3D_genlock", extStart, extEnd);
  17031. if (glewExperimental || WGLEW_I3D_genlock|| crippled) WGLEW_I3D_genlock= !_glewInit_WGL_I3D_genlock();
  17032. #endif /* WGL_I3D_genlock */
  17033. #ifdef WGL_I3D_image_buffer
  17034. WGLEW_I3D_image_buffer = _glewSearchExtension("WGL_I3D_image_buffer", extStart, extEnd);
  17035. if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) WGLEW_I3D_image_buffer= !_glewInit_WGL_I3D_image_buffer();
  17036. #endif /* WGL_I3D_image_buffer */
  17037. #ifdef WGL_I3D_swap_frame_lock
  17038. WGLEW_I3D_swap_frame_lock = _glewSearchExtension("WGL_I3D_swap_frame_lock", extStart, extEnd);
  17039. if (glewExperimental || WGLEW_I3D_swap_frame_lock|| crippled) WGLEW_I3D_swap_frame_lock= !_glewInit_WGL_I3D_swap_frame_lock();
  17040. #endif /* WGL_I3D_swap_frame_lock */
  17041. #ifdef WGL_I3D_swap_frame_usage
  17042. WGLEW_I3D_swap_frame_usage = _glewSearchExtension("WGL_I3D_swap_frame_usage", extStart, extEnd);
  17043. if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) WGLEW_I3D_swap_frame_usage= !_glewInit_WGL_I3D_swap_frame_usage();
  17044. #endif /* WGL_I3D_swap_frame_usage */
  17045. #ifdef WGL_NV_DX_interop
  17046. WGLEW_NV_DX_interop = _glewSearchExtension("WGL_NV_DX_interop", extStart, extEnd);
  17047. if (glewExperimental || WGLEW_NV_DX_interop|| crippled) WGLEW_NV_DX_interop= !_glewInit_WGL_NV_DX_interop();
  17048. #endif /* WGL_NV_DX_interop */
  17049. #ifdef WGL_NV_DX_interop2
  17050. WGLEW_NV_DX_interop2 = _glewSearchExtension("WGL_NV_DX_interop2", extStart, extEnd);
  17051. #endif /* WGL_NV_DX_interop2 */
  17052. #ifdef WGL_NV_copy_image
  17053. WGLEW_NV_copy_image = _glewSearchExtension("WGL_NV_copy_image", extStart, extEnd);
  17054. if (glewExperimental || WGLEW_NV_copy_image|| crippled) WGLEW_NV_copy_image= !_glewInit_WGL_NV_copy_image();
  17055. #endif /* WGL_NV_copy_image */
  17056. #ifdef WGL_NV_delay_before_swap
  17057. WGLEW_NV_delay_before_swap = _glewSearchExtension("WGL_NV_delay_before_swap", extStart, extEnd);
  17058. if (glewExperimental || WGLEW_NV_delay_before_swap|| crippled) WGLEW_NV_delay_before_swap= !_glewInit_WGL_NV_delay_before_swap();
  17059. #endif /* WGL_NV_delay_before_swap */
  17060. #ifdef WGL_NV_float_buffer
  17061. WGLEW_NV_float_buffer = _glewSearchExtension("WGL_NV_float_buffer", extStart, extEnd);
  17062. #endif /* WGL_NV_float_buffer */
  17063. #ifdef WGL_NV_gpu_affinity
  17064. WGLEW_NV_gpu_affinity = _glewSearchExtension("WGL_NV_gpu_affinity", extStart, extEnd);
  17065. if (glewExperimental || WGLEW_NV_gpu_affinity|| crippled) WGLEW_NV_gpu_affinity= !_glewInit_WGL_NV_gpu_affinity();
  17066. #endif /* WGL_NV_gpu_affinity */
  17067. #ifdef WGL_NV_multisample_coverage
  17068. WGLEW_NV_multisample_coverage = _glewSearchExtension("WGL_NV_multisample_coverage", extStart, extEnd);
  17069. #endif /* WGL_NV_multisample_coverage */
  17070. #ifdef WGL_NV_present_video
  17071. WGLEW_NV_present_video = _glewSearchExtension("WGL_NV_present_video", extStart, extEnd);
  17072. if (glewExperimental || WGLEW_NV_present_video|| crippled) WGLEW_NV_present_video= !_glewInit_WGL_NV_present_video();
  17073. #endif /* WGL_NV_present_video */
  17074. #ifdef WGL_NV_render_depth_texture
  17075. WGLEW_NV_render_depth_texture = _glewSearchExtension("WGL_NV_render_depth_texture", extStart, extEnd);
  17076. #endif /* WGL_NV_render_depth_texture */
  17077. #ifdef WGL_NV_render_texture_rectangle
  17078. WGLEW_NV_render_texture_rectangle = _glewSearchExtension("WGL_NV_render_texture_rectangle", extStart, extEnd);
  17079. #endif /* WGL_NV_render_texture_rectangle */
  17080. #ifdef WGL_NV_swap_group
  17081. WGLEW_NV_swap_group = _glewSearchExtension("WGL_NV_swap_group", extStart, extEnd);
  17082. if (glewExperimental || WGLEW_NV_swap_group|| crippled) WGLEW_NV_swap_group= !_glewInit_WGL_NV_swap_group();
  17083. #endif /* WGL_NV_swap_group */
  17084. #ifdef WGL_NV_vertex_array_range
  17085. WGLEW_NV_vertex_array_range = _glewSearchExtension("WGL_NV_vertex_array_range", extStart, extEnd);
  17086. if (glewExperimental || WGLEW_NV_vertex_array_range|| crippled) WGLEW_NV_vertex_array_range= !_glewInit_WGL_NV_vertex_array_range();
  17087. #endif /* WGL_NV_vertex_array_range */
  17088. #ifdef WGL_NV_video_capture
  17089. WGLEW_NV_video_capture = _glewSearchExtension("WGL_NV_video_capture", extStart, extEnd);
  17090. if (glewExperimental || WGLEW_NV_video_capture|| crippled) WGLEW_NV_video_capture= !_glewInit_WGL_NV_video_capture();
  17091. #endif /* WGL_NV_video_capture */
  17092. #ifdef WGL_NV_video_output
  17093. WGLEW_NV_video_output = _glewSearchExtension("WGL_NV_video_output", extStart, extEnd);
  17094. if (glewExperimental || WGLEW_NV_video_output|| crippled) WGLEW_NV_video_output= !_glewInit_WGL_NV_video_output();
  17095. #endif /* WGL_NV_video_output */
  17096. #ifdef WGL_OML_sync_control
  17097. WGLEW_OML_sync_control = _glewSearchExtension("WGL_OML_sync_control", extStart, extEnd);
  17098. if (glewExperimental || WGLEW_OML_sync_control|| crippled) WGLEW_OML_sync_control= !_glewInit_WGL_OML_sync_control();
  17099. #endif /* WGL_OML_sync_control */
  17100. return GLEW_OK;
  17101. }
  17102. #elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
  17103. PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL;
  17104. PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL;
  17105. PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL;
  17106. PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL;
  17107. PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL;
  17108. PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL;
  17109. PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL;
  17110. PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL;
  17111. PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL;
  17112. PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL;
  17113. PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL;
  17114. PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL;
  17115. PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL;
  17116. PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL;
  17117. PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL;
  17118. PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL;
  17119. PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL;
  17120. PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL;
  17121. PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD = NULL;
  17122. PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD = NULL;
  17123. PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD = NULL;
  17124. PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD = NULL;
  17125. PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD = NULL;
  17126. PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD = NULL;
  17127. PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD = NULL;
  17128. PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD = NULL;
  17129. PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD = NULL;
  17130. PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB = NULL;
  17131. PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL;
  17132. PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL;
  17133. PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL;
  17134. PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL;
  17135. PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL;
  17136. PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
  17137. PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
  17138. PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL;
  17139. PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;
  17140. PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;
  17141. PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL;
  17142. PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL;
  17143. PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL;
  17144. PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC __glewXQueryCurrentRendererIntegerMESA = NULL;
  17145. PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC __glewXQueryCurrentRendererStringMESA = NULL;
  17146. PFNGLXQUERYRENDERERINTEGERMESAPROC __glewXQueryRendererIntegerMESA = NULL;
  17147. PFNGLXQUERYRENDERERSTRINGMESAPROC __glewXQueryRendererStringMESA = NULL;
  17148. PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL;
  17149. PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
  17150. PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA = NULL;
  17151. PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA = NULL;
  17152. PFNGLXCOPYBUFFERSUBDATANVPROC __glewXCopyBufferSubDataNV = NULL;
  17153. PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC __glewXNamedCopyBufferSubDataNV = NULL;
  17154. PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL;
  17155. PFNGLXDELAYBEFORESWAPNVPROC __glewXDelayBeforeSwapNV = NULL;
  17156. PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;
  17157. PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;
  17158. PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV = NULL;
  17159. PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV = NULL;
  17160. PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV = NULL;
  17161. PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV = NULL;
  17162. PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV = NULL;
  17163. PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV = NULL;
  17164. PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL;
  17165. PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL;
  17166. PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV = NULL;
  17167. PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV = NULL;
  17168. PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV = NULL;
  17169. PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV = NULL;
  17170. PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV = NULL;
  17171. PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV = NULL;
  17172. PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV = NULL;
  17173. PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV = NULL;
  17174. PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV = NULL;
  17175. PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV = NULL;
  17176. PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV = NULL;
  17177. PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;
  17178. PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL;
  17179. PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL;
  17180. PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL;
  17181. PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;
  17182. PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL;
  17183. PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL;
  17184. PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL;
  17185. PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL;
  17186. PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL;
  17187. PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL;
  17188. PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX = NULL;
  17189. PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX = NULL;
  17190. PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX = NULL;
  17191. PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX = NULL;
  17192. PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX = NULL;
  17193. PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX = NULL;
  17194. PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX = NULL;
  17195. PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX = NULL;
  17196. PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL;
  17197. PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL;
  17198. PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL;
  17199. PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL;
  17200. PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL;
  17201. PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL;
  17202. PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL;
  17203. PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL;
  17204. PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL;
  17205. PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL;
  17206. PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL;
  17207. PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL;
  17208. PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL;
  17209. PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL;
  17210. PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL;
  17211. PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL;
  17212. PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL;
  17213. PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL;
  17214. PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL;
  17215. PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL;
  17216. PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL;
  17217. PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL;
  17218. GLboolean __GLXEW_VERSION_1_0 = GL_FALSE;
  17219. GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;
  17220. GLboolean __GLXEW_VERSION_1_2 = GL_FALSE;
  17221. GLboolean __GLXEW_VERSION_1_3 = GL_FALSE;
  17222. GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
  17223. GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
  17224. GLboolean __GLXEW_AMD_gpu_association = GL_FALSE;
  17225. GLboolean __GLXEW_ARB_context_flush_control = GL_FALSE;
  17226. GLboolean __GLXEW_ARB_create_context = GL_FALSE;
  17227. GLboolean __GLXEW_ARB_create_context_no_error = GL_FALSE;
  17228. GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE;
  17229. GLboolean __GLXEW_ARB_create_context_robustness = GL_FALSE;
  17230. GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
  17231. GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;
  17232. GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
  17233. GLboolean __GLXEW_ARB_multisample = GL_FALSE;
  17234. GLboolean __GLXEW_ARB_robustness_application_isolation = GL_FALSE;
  17235. GLboolean __GLXEW_ARB_robustness_share_group_isolation = GL_FALSE;
  17236. GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE;
  17237. GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
  17238. GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
  17239. GLboolean __GLXEW_EXT_buffer_age = GL_FALSE;
  17240. GLboolean __GLXEW_EXT_create_context_es2_profile = GL_FALSE;
  17241. GLboolean __GLXEW_EXT_create_context_es_profile = GL_FALSE;
  17242. GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;
  17243. GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;
  17244. GLboolean __GLXEW_EXT_import_context = GL_FALSE;
  17245. GLboolean __GLXEW_EXT_libglvnd = GL_FALSE;
  17246. GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
  17247. GLboolean __GLXEW_EXT_stereo_tree = GL_FALSE;
  17248. GLboolean __GLXEW_EXT_swap_control = GL_FALSE;
  17249. GLboolean __GLXEW_EXT_swap_control_tear = GL_FALSE;
  17250. GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;
  17251. GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
  17252. GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
  17253. GLboolean __GLXEW_INTEL_swap_event = GL_FALSE;
  17254. GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
  17255. GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
  17256. GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
  17257. GLboolean __GLXEW_MESA_query_renderer = GL_FALSE;
  17258. GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
  17259. GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
  17260. GLboolean __GLXEW_MESA_swap_control = GL_FALSE;
  17261. GLboolean __GLXEW_NV_copy_buffer = GL_FALSE;
  17262. GLboolean __GLXEW_NV_copy_image = GL_FALSE;
  17263. GLboolean __GLXEW_NV_delay_before_swap = GL_FALSE;
  17264. GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
  17265. GLboolean __GLXEW_NV_multisample_coverage = GL_FALSE;
  17266. GLboolean __GLXEW_NV_present_video = GL_FALSE;
  17267. GLboolean __GLXEW_NV_robustness_video_memory_purge = GL_FALSE;
  17268. GLboolean __GLXEW_NV_swap_group = GL_FALSE;
  17269. GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE;
  17270. GLboolean __GLXEW_NV_video_capture = GL_FALSE;
  17271. GLboolean __GLXEW_NV_video_out = GL_FALSE;
  17272. GLboolean __GLXEW_OML_swap_method = GL_FALSE;
  17273. GLboolean __GLXEW_OML_sync_control = GL_FALSE;
  17274. GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE;
  17275. GLboolean __GLXEW_SGIS_color_range = GL_FALSE;
  17276. GLboolean __GLXEW_SGIS_multisample = GL_FALSE;
  17277. GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE;
  17278. GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE;
  17279. GLboolean __GLXEW_SGIX_hyperpipe = GL_FALSE;
  17280. GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE;
  17281. GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE;
  17282. GLboolean __GLXEW_SGIX_swap_group = GL_FALSE;
  17283. GLboolean __GLXEW_SGIX_video_resize = GL_FALSE;
  17284. GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE;
  17285. GLboolean __GLXEW_SGI_cushion = GL_FALSE;
  17286. GLboolean __GLXEW_SGI_make_current_read = GL_FALSE;
  17287. GLboolean __GLXEW_SGI_swap_control = GL_FALSE;
  17288. GLboolean __GLXEW_SGI_video_sync = GL_FALSE;
  17289. GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE;
  17290. GLboolean __GLXEW_SUN_video_resize = GL_FALSE;
  17291. #ifdef GLX_VERSION_1_2
  17292. static GLboolean _glewInit_GLX_VERSION_1_2 ()
  17293. {
  17294. GLboolean r = GL_FALSE;
  17295. r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
  17296. return r;
  17297. }
  17298. #endif /* GLX_VERSION_1_2 */
  17299. #ifdef GLX_VERSION_1_3
  17300. static GLboolean _glewInit_GLX_VERSION_1_3 ()
  17301. {
  17302. GLboolean r = GL_FALSE;
  17303. r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r;
  17304. r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r;
  17305. r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r;
  17306. r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r;
  17307. r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r;
  17308. r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r;
  17309. r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r;
  17310. r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r;
  17311. r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r;
  17312. r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r;
  17313. r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r;
  17314. r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r;
  17315. r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r;
  17316. r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r;
  17317. r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r;
  17318. r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r;
  17319. r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r;
  17320. return r;
  17321. }
  17322. #endif /* GLX_VERSION_1_3 */
  17323. #ifdef GLX_AMD_gpu_association
  17324. static GLboolean _glewInit_GLX_AMD_gpu_association ()
  17325. {
  17326. GLboolean r = GL_FALSE;
  17327. r = ((glXBlitContextFramebufferAMD = (PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"glXBlitContextFramebufferAMD")) == NULL) || r;
  17328. r = ((glXCreateAssociatedContextAMD = (PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAMD")) == NULL) || r;
  17329. r = ((glXCreateAssociatedContextAttribsAMD = (PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAttribsAMD")) == NULL) || r;
  17330. r = ((glXDeleteAssociatedContextAMD = (PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXDeleteAssociatedContextAMD")) == NULL) || r;
  17331. r = ((glXGetContextGPUIDAMD = (PFNGLXGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetContextGPUIDAMD")) == NULL) || r;
  17332. r = ((glXGetCurrentAssociatedContextAMD = (PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentAssociatedContextAMD")) == NULL) || r;
  17333. r = ((glXGetGPUIDsAMD = (PFNGLXGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUIDsAMD")) == NULL) || r;
  17334. r = ((glXGetGPUInfoAMD = (PFNGLXGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUInfoAMD")) == NULL) || r;
  17335. r = ((glXMakeAssociatedContextCurrentAMD = (PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"glXMakeAssociatedContextCurrentAMD")) == NULL) || r;
  17336. return r;
  17337. }
  17338. #endif /* GLX_AMD_gpu_association */
  17339. #ifdef GLX_ARB_create_context
  17340. static GLboolean _glewInit_GLX_ARB_create_context ()
  17341. {
  17342. GLboolean r = GL_FALSE;
  17343. r = ((glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB")) == NULL) || r;
  17344. return r;
  17345. }
  17346. #endif /* GLX_ARB_create_context */
  17347. #ifdef GLX_ATI_render_texture
  17348. static GLboolean _glewInit_GLX_ATI_render_texture ()
  17349. {
  17350. GLboolean r = GL_FALSE;
  17351. r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r;
  17352. r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r;
  17353. r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r;
  17354. return r;
  17355. }
  17356. #endif /* GLX_ATI_render_texture */
  17357. #ifdef GLX_EXT_import_context
  17358. static GLboolean _glewInit_GLX_EXT_import_context ()
  17359. {
  17360. GLboolean r = GL_FALSE;
  17361. r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r;
  17362. r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r;
  17363. r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r;
  17364. r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r;
  17365. return r;
  17366. }
  17367. #endif /* GLX_EXT_import_context */
  17368. #ifdef GLX_EXT_swap_control
  17369. static GLboolean _glewInit_GLX_EXT_swap_control ()
  17370. {
  17371. GLboolean r = GL_FALSE;
  17372. r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r;
  17373. return r;
  17374. }
  17375. #endif /* GLX_EXT_swap_control */
  17376. #ifdef GLX_EXT_texture_from_pixmap
  17377. static GLboolean _glewInit_GLX_EXT_texture_from_pixmap ()
  17378. {
  17379. GLboolean r = GL_FALSE;
  17380. r = ((glXBindTexImageEXT = (PFNGLXBINDTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageEXT")) == NULL) || r;
  17381. r = ((glXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageEXT")) == NULL) || r;
  17382. return r;
  17383. }
  17384. #endif /* GLX_EXT_texture_from_pixmap */
  17385. #ifdef GLX_MESA_agp_offset
  17386. static GLboolean _glewInit_GLX_MESA_agp_offset ()
  17387. {
  17388. GLboolean r = GL_FALSE;
  17389. r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r;
  17390. return r;
  17391. }
  17392. #endif /* GLX_MESA_agp_offset */
  17393. #ifdef GLX_MESA_copy_sub_buffer
  17394. static GLboolean _glewInit_GLX_MESA_copy_sub_buffer ()
  17395. {
  17396. GLboolean r = GL_FALSE;
  17397. r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r;
  17398. return r;
  17399. }
  17400. #endif /* GLX_MESA_copy_sub_buffer */
  17401. #ifdef GLX_MESA_pixmap_colormap
  17402. static GLboolean _glewInit_GLX_MESA_pixmap_colormap ()
  17403. {
  17404. GLboolean r = GL_FALSE;
  17405. r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r;
  17406. return r;
  17407. }
  17408. #endif /* GLX_MESA_pixmap_colormap */
  17409. #ifdef GLX_MESA_query_renderer
  17410. static GLboolean _glewInit_GLX_MESA_query_renderer ()
  17411. {
  17412. GLboolean r = GL_FALSE;
  17413. r = ((glXQueryCurrentRendererIntegerMESA = (PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryCurrentRendererIntegerMESA")) == NULL) || r;
  17414. r = ((glXQueryCurrentRendererStringMESA = (PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryCurrentRendererStringMESA")) == NULL) || r;
  17415. r = ((glXQueryRendererIntegerMESA = (PFNGLXQUERYRENDERERINTEGERMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryRendererIntegerMESA")) == NULL) || r;
  17416. r = ((glXQueryRendererStringMESA = (PFNGLXQUERYRENDERERSTRINGMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryRendererStringMESA")) == NULL) || r;
  17417. return r;
  17418. }
  17419. #endif /* GLX_MESA_query_renderer */
  17420. #ifdef GLX_MESA_release_buffers
  17421. static GLboolean _glewInit_GLX_MESA_release_buffers ()
  17422. {
  17423. GLboolean r = GL_FALSE;
  17424. r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r;
  17425. return r;
  17426. }
  17427. #endif /* GLX_MESA_release_buffers */
  17428. #ifdef GLX_MESA_set_3dfx_mode
  17429. static GLboolean _glewInit_GLX_MESA_set_3dfx_mode ()
  17430. {
  17431. GLboolean r = GL_FALSE;
  17432. r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r;
  17433. return r;
  17434. }
  17435. #endif /* GLX_MESA_set_3dfx_mode */
  17436. #ifdef GLX_MESA_swap_control
  17437. static GLboolean _glewInit_GLX_MESA_swap_control ()
  17438. {
  17439. GLboolean r = GL_FALSE;
  17440. r = ((glXGetSwapIntervalMESA = (PFNGLXGETSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetSwapIntervalMESA")) == NULL) || r;
  17441. r = ((glXSwapIntervalMESA = (PFNGLXSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalMESA")) == NULL) || r;
  17442. return r;
  17443. }
  17444. #endif /* GLX_MESA_swap_control */
  17445. #ifdef GLX_NV_copy_buffer
  17446. static GLboolean _glewInit_GLX_NV_copy_buffer ()
  17447. {
  17448. GLboolean r = GL_FALSE;
  17449. r = ((glXCopyBufferSubDataNV = (PFNGLXCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyBufferSubDataNV")) == NULL) || r;
  17450. r = ((glXNamedCopyBufferSubDataNV = (PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXNamedCopyBufferSubDataNV")) == NULL) || r;
  17451. return r;
  17452. }
  17453. #endif /* GLX_NV_copy_buffer */
  17454. #ifdef GLX_NV_copy_image
  17455. static GLboolean _glewInit_GLX_NV_copy_image ()
  17456. {
  17457. GLboolean r = GL_FALSE;
  17458. r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r;
  17459. return r;
  17460. }
  17461. #endif /* GLX_NV_copy_image */
  17462. #ifdef GLX_NV_delay_before_swap
  17463. static GLboolean _glewInit_GLX_NV_delay_before_swap ()
  17464. {
  17465. GLboolean r = GL_FALSE;
  17466. r = ((glXDelayBeforeSwapNV = (PFNGLXDELAYBEFORESWAPNVPROC)glewGetProcAddress((const GLubyte*)"glXDelayBeforeSwapNV")) == NULL) || r;
  17467. return r;
  17468. }
  17469. #endif /* GLX_NV_delay_before_swap */
  17470. #ifdef GLX_NV_present_video
  17471. static GLboolean _glewInit_GLX_NV_present_video ()
  17472. {
  17473. GLboolean r = GL_FALSE;
  17474. r = ((glXBindVideoDeviceNV = (PFNGLXBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoDeviceNV")) == NULL) || r;
  17475. r = ((glXEnumerateVideoDevicesNV = (PFNGLXENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoDevicesNV")) == NULL) || r;
  17476. return r;
  17477. }
  17478. #endif /* GLX_NV_present_video */
  17479. #ifdef GLX_NV_swap_group
  17480. static GLboolean _glewInit_GLX_NV_swap_group ()
  17481. {
  17482. GLboolean r = GL_FALSE;
  17483. r = ((glXBindSwapBarrierNV = (PFNGLXBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierNV")) == NULL) || r;
  17484. r = ((glXJoinSwapGroupNV = (PFNGLXJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupNV")) == NULL) || r;
  17485. r = ((glXQueryFrameCountNV = (PFNGLXQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryFrameCountNV")) == NULL) || r;
  17486. r = ((glXQueryMaxSwapGroupsNV = (PFNGLXQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapGroupsNV")) == NULL) || r;
  17487. r = ((glXQuerySwapGroupNV = (PFNGLXQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXQuerySwapGroupNV")) == NULL) || r;
  17488. r = ((glXResetFrameCountNV = (PFNGLXRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXResetFrameCountNV")) == NULL) || r;
  17489. return r;
  17490. }
  17491. #endif /* GLX_NV_swap_group */
  17492. #ifdef GLX_NV_vertex_array_range
  17493. static GLboolean _glewInit_GLX_NV_vertex_array_range ()
  17494. {
  17495. GLboolean r = GL_FALSE;
  17496. r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r;
  17497. r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r;
  17498. return r;
  17499. }
  17500. #endif /* GLX_NV_vertex_array_range */
  17501. #ifdef GLX_NV_video_capture
  17502. static GLboolean _glewInit_GLX_NV_video_capture ()
  17503. {
  17504. GLboolean r = GL_FALSE;
  17505. r = ((glXBindVideoCaptureDeviceNV = (PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoCaptureDeviceNV")) == NULL) || r;
  17506. r = ((glXEnumerateVideoCaptureDevicesNV = (PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoCaptureDevicesNV")) == NULL) || r;
  17507. r = ((glXLockVideoCaptureDeviceNV = (PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXLockVideoCaptureDeviceNV")) == NULL) || r;
  17508. r = ((glXQueryVideoCaptureDeviceNV = (PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXQueryVideoCaptureDeviceNV")) == NULL) || r;
  17509. r = ((glXReleaseVideoCaptureDeviceNV = (PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoCaptureDeviceNV")) == NULL) || r;
  17510. return r;
  17511. }
  17512. #endif /* GLX_NV_video_capture */
  17513. #ifdef GLX_NV_video_out
  17514. static GLboolean _glewInit_GLX_NV_video_out ()
  17515. {
  17516. GLboolean r = GL_FALSE;
  17517. r = ((glXBindVideoImageNV = (PFNGLXBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoImageNV")) == NULL) || r;
  17518. r = ((glXGetVideoDeviceNV = (PFNGLXGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoDeviceNV")) == NULL) || r;
  17519. r = ((glXGetVideoInfoNV = (PFNGLXGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoInfoNV")) == NULL) || r;
  17520. r = ((glXReleaseVideoDeviceNV = (PFNGLXRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoDeviceNV")) == NULL) || r;
  17521. r = ((glXReleaseVideoImageNV = (PFNGLXRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoImageNV")) == NULL) || r;
  17522. r = ((glXSendPbufferToVideoNV = (PFNGLXSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"glXSendPbufferToVideoNV")) == NULL) || r;
  17523. return r;
  17524. }
  17525. #endif /* GLX_NV_video_out */
  17526. #ifdef GLX_OML_sync_control
  17527. static GLboolean _glewInit_GLX_OML_sync_control ()
  17528. {
  17529. GLboolean r = GL_FALSE;
  17530. r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r;
  17531. r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r;
  17532. r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r;
  17533. r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r;
  17534. r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r;
  17535. return r;
  17536. }
  17537. #endif /* GLX_OML_sync_control */
  17538. #ifdef GLX_SGIX_fbconfig
  17539. static GLboolean _glewInit_GLX_SGIX_fbconfig ()
  17540. {
  17541. GLboolean r = GL_FALSE;
  17542. r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r;
  17543. r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r;
  17544. r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r;
  17545. r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r;
  17546. r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r;
  17547. r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r;
  17548. return r;
  17549. }
  17550. #endif /* GLX_SGIX_fbconfig */
  17551. #ifdef GLX_SGIX_hyperpipe
  17552. static GLboolean _glewInit_GLX_SGIX_hyperpipe ()
  17553. {
  17554. GLboolean r = GL_FALSE;
  17555. r = ((glXBindHyperpipeSGIX = (PFNGLXBINDHYPERPIPESGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindHyperpipeSGIX")) == NULL) || r;
  17556. r = ((glXDestroyHyperpipeConfigSGIX = (PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyHyperpipeConfigSGIX")) == NULL) || r;
  17557. r = ((glXHyperpipeAttribSGIX = (PFNGLXHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeAttribSGIX")) == NULL) || r;
  17558. r = ((glXHyperpipeConfigSGIX = (PFNGLXHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeConfigSGIX")) == NULL) || r;
  17559. r = ((glXQueryHyperpipeAttribSGIX = (PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeAttribSGIX")) == NULL) || r;
  17560. r = ((glXQueryHyperpipeBestAttribSGIX = (PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeBestAttribSGIX")) == NULL) || r;
  17561. r = ((glXQueryHyperpipeConfigSGIX = (PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeConfigSGIX")) == NULL) || r;
  17562. r = ((glXQueryHyperpipeNetworkSGIX = (PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeNetworkSGIX")) == NULL) || r;
  17563. return r;
  17564. }
  17565. #endif /* GLX_SGIX_hyperpipe */
  17566. #ifdef GLX_SGIX_pbuffer
  17567. static GLboolean _glewInit_GLX_SGIX_pbuffer ()
  17568. {
  17569. GLboolean r = GL_FALSE;
  17570. r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r;
  17571. r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r;
  17572. r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r;
  17573. r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r;
  17574. r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r;
  17575. return r;
  17576. }
  17577. #endif /* GLX_SGIX_pbuffer */
  17578. #ifdef GLX_SGIX_swap_barrier
  17579. static GLboolean _glewInit_GLX_SGIX_swap_barrier ()
  17580. {
  17581. GLboolean r = GL_FALSE;
  17582. r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r;
  17583. r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r;
  17584. return r;
  17585. }
  17586. #endif /* GLX_SGIX_swap_barrier */
  17587. #ifdef GLX_SGIX_swap_group
  17588. static GLboolean _glewInit_GLX_SGIX_swap_group ()
  17589. {
  17590. GLboolean r = GL_FALSE;
  17591. r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r;
  17592. return r;
  17593. }
  17594. #endif /* GLX_SGIX_swap_group */
  17595. #ifdef GLX_SGIX_video_resize
  17596. static GLboolean _glewInit_GLX_SGIX_video_resize ()
  17597. {
  17598. GLboolean r = GL_FALSE;
  17599. r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r;
  17600. r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r;
  17601. r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r;
  17602. r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r;
  17603. r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r;
  17604. return r;
  17605. }
  17606. #endif /* GLX_SGIX_video_resize */
  17607. #ifdef GLX_SGI_cushion
  17608. static GLboolean _glewInit_GLX_SGI_cushion ()
  17609. {
  17610. GLboolean r = GL_FALSE;
  17611. r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r;
  17612. return r;
  17613. }
  17614. #endif /* GLX_SGI_cushion */
  17615. #ifdef GLX_SGI_make_current_read
  17616. static GLboolean _glewInit_GLX_SGI_make_current_read ()
  17617. {
  17618. GLboolean r = GL_FALSE;
  17619. r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r;
  17620. r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r;
  17621. return r;
  17622. }
  17623. #endif /* GLX_SGI_make_current_read */
  17624. #ifdef GLX_SGI_swap_control
  17625. static GLboolean _glewInit_GLX_SGI_swap_control ()
  17626. {
  17627. GLboolean r = GL_FALSE;
  17628. r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r;
  17629. return r;
  17630. }
  17631. #endif /* GLX_SGI_swap_control */
  17632. #ifdef GLX_SGI_video_sync
  17633. static GLboolean _glewInit_GLX_SGI_video_sync ()
  17634. {
  17635. GLboolean r = GL_FALSE;
  17636. r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r;
  17637. r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r;
  17638. return r;
  17639. }
  17640. #endif /* GLX_SGI_video_sync */
  17641. #ifdef GLX_SUN_get_transparent_index
  17642. static GLboolean _glewInit_GLX_SUN_get_transparent_index ()
  17643. {
  17644. GLboolean r = GL_FALSE;
  17645. r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r;
  17646. return r;
  17647. }
  17648. #endif /* GLX_SUN_get_transparent_index */
  17649. #ifdef GLX_SUN_video_resize
  17650. static GLboolean _glewInit_GLX_SUN_video_resize ()
  17651. {
  17652. GLboolean r = GL_FALSE;
  17653. r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r;
  17654. r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r;
  17655. return r;
  17656. }
  17657. #endif /* GLX_SUN_video_resize */
  17658. /* ------------------------------------------------------------------------ */
  17659. GLboolean glxewGetExtension (const char* name)
  17660. {
  17661. const GLubyte* start;
  17662. const GLubyte* end;
  17663. if (glXGetCurrentDisplay == NULL) return GL_FALSE;
  17664. start = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
  17665. if (0 == start) return GL_FALSE;
  17666. end = start + _glewStrLen(start);
  17667. return _glewSearchExtension(name, start, end);
  17668. }
  17669. GLenum glxewInit ()
  17670. {
  17671. Display* display;
  17672. int major, minor;
  17673. const GLubyte* extStart;
  17674. const GLubyte* extEnd;
  17675. /* initialize core GLX 1.2 */
  17676. if (_glewInit_GLX_VERSION_1_2()) return GLEW_ERROR_GLX_VERSION_11_ONLY;
  17677. /* check for a display */
  17678. display = glXGetCurrentDisplay();
  17679. if (display == NULL) return GLEW_ERROR_NO_GLX_DISPLAY;
  17680. /* initialize flags */
  17681. GLXEW_VERSION_1_0 = GL_TRUE;
  17682. GLXEW_VERSION_1_1 = GL_TRUE;
  17683. GLXEW_VERSION_1_2 = GL_TRUE;
  17684. GLXEW_VERSION_1_3 = GL_TRUE;
  17685. GLXEW_VERSION_1_4 = GL_TRUE;
  17686. /* query GLX version */
  17687. glXQueryVersion(display, &major, &minor);
  17688. if (major == 1 && minor <= 3)
  17689. {
  17690. switch (minor)
  17691. {
  17692. case 3:
  17693. GLXEW_VERSION_1_4 = GL_FALSE;
  17694. break;
  17695. case 2:
  17696. GLXEW_VERSION_1_4 = GL_FALSE;
  17697. GLXEW_VERSION_1_3 = GL_FALSE;
  17698. break;
  17699. default:
  17700. return GLEW_ERROR_GLX_VERSION_11_ONLY;
  17701. break;
  17702. }
  17703. }
  17704. /* query GLX extension string */
  17705. extStart = 0;
  17706. if (glXGetCurrentDisplay != NULL)
  17707. extStart = (const GLubyte*)glXGetClientString(display, GLX_EXTENSIONS);
  17708. if (extStart == 0)
  17709. extStart = (const GLubyte *)"";
  17710. extEnd = extStart + _glewStrLen(extStart);
  17711. /* initialize extensions */
  17712. #ifdef GLX_VERSION_1_3
  17713. if (glewExperimental || GLXEW_VERSION_1_3) GLXEW_VERSION_1_3 = !_glewInit_GLX_VERSION_1_3();
  17714. #endif /* GLX_VERSION_1_3 */
  17715. #ifdef GLX_3DFX_multisample
  17716. GLXEW_3DFX_multisample = _glewSearchExtension("GLX_3DFX_multisample", extStart, extEnd);
  17717. #endif /* GLX_3DFX_multisample */
  17718. #ifdef GLX_AMD_gpu_association
  17719. GLXEW_AMD_gpu_association = _glewSearchExtension("GLX_AMD_gpu_association", extStart, extEnd);
  17720. if (glewExperimental || GLXEW_AMD_gpu_association) GLXEW_AMD_gpu_association = !_glewInit_GLX_AMD_gpu_association();
  17721. #endif /* GLX_AMD_gpu_association */
  17722. #ifdef GLX_ARB_context_flush_control
  17723. GLXEW_ARB_context_flush_control = _glewSearchExtension("GLX_ARB_context_flush_control", extStart, extEnd);
  17724. #endif /* GLX_ARB_context_flush_control */
  17725. #ifdef GLX_ARB_create_context
  17726. GLXEW_ARB_create_context = _glewSearchExtension("GLX_ARB_create_context", extStart, extEnd);
  17727. if (glewExperimental || GLXEW_ARB_create_context) GLXEW_ARB_create_context = !_glewInit_GLX_ARB_create_context();
  17728. #endif /* GLX_ARB_create_context */
  17729. #ifdef GLX_ARB_create_context_no_error
  17730. GLXEW_ARB_create_context_no_error = _glewSearchExtension("GLX_ARB_create_context_no_error", extStart, extEnd);
  17731. #endif /* GLX_ARB_create_context_no_error */
  17732. #ifdef GLX_ARB_create_context_profile
  17733. GLXEW_ARB_create_context_profile = _glewSearchExtension("GLX_ARB_create_context_profile", extStart, extEnd);
  17734. #endif /* GLX_ARB_create_context_profile */
  17735. #ifdef GLX_ARB_create_context_robustness
  17736. GLXEW_ARB_create_context_robustness = _glewSearchExtension("GLX_ARB_create_context_robustness", extStart, extEnd);
  17737. #endif /* GLX_ARB_create_context_robustness */
  17738. #ifdef GLX_ARB_fbconfig_float
  17739. GLXEW_ARB_fbconfig_float = _glewSearchExtension("GLX_ARB_fbconfig_float", extStart, extEnd);
  17740. #endif /* GLX_ARB_fbconfig_float */
  17741. #ifdef GLX_ARB_framebuffer_sRGB
  17742. GLXEW_ARB_framebuffer_sRGB = _glewSearchExtension("GLX_ARB_framebuffer_sRGB", extStart, extEnd);
  17743. #endif /* GLX_ARB_framebuffer_sRGB */
  17744. #ifdef GLX_ARB_get_proc_address
  17745. GLXEW_ARB_get_proc_address = _glewSearchExtension("GLX_ARB_get_proc_address", extStart, extEnd);
  17746. #endif /* GLX_ARB_get_proc_address */
  17747. #ifdef GLX_ARB_multisample
  17748. GLXEW_ARB_multisample = _glewSearchExtension("GLX_ARB_multisample", extStart, extEnd);
  17749. #endif /* GLX_ARB_multisample */
  17750. #ifdef GLX_ARB_robustness_application_isolation
  17751. GLXEW_ARB_robustness_application_isolation = _glewSearchExtension("GLX_ARB_robustness_application_isolation", extStart, extEnd);
  17752. #endif /* GLX_ARB_robustness_application_isolation */
  17753. #ifdef GLX_ARB_robustness_share_group_isolation
  17754. GLXEW_ARB_robustness_share_group_isolation = _glewSearchExtension("GLX_ARB_robustness_share_group_isolation", extStart, extEnd);
  17755. #endif /* GLX_ARB_robustness_share_group_isolation */
  17756. #ifdef GLX_ARB_vertex_buffer_object
  17757. GLXEW_ARB_vertex_buffer_object = _glewSearchExtension("GLX_ARB_vertex_buffer_object", extStart, extEnd);
  17758. #endif /* GLX_ARB_vertex_buffer_object */
  17759. #ifdef GLX_ATI_pixel_format_float
  17760. GLXEW_ATI_pixel_format_float = _glewSearchExtension("GLX_ATI_pixel_format_float", extStart, extEnd);
  17761. #endif /* GLX_ATI_pixel_format_float */
  17762. #ifdef GLX_ATI_render_texture
  17763. GLXEW_ATI_render_texture = _glewSearchExtension("GLX_ATI_render_texture", extStart, extEnd);
  17764. if (glewExperimental || GLXEW_ATI_render_texture) GLXEW_ATI_render_texture = !_glewInit_GLX_ATI_render_texture();
  17765. #endif /* GLX_ATI_render_texture */
  17766. #ifdef GLX_EXT_buffer_age
  17767. GLXEW_EXT_buffer_age = _glewSearchExtension("GLX_EXT_buffer_age", extStart, extEnd);
  17768. #endif /* GLX_EXT_buffer_age */
  17769. #ifdef GLX_EXT_create_context_es2_profile
  17770. GLXEW_EXT_create_context_es2_profile = _glewSearchExtension("GLX_EXT_create_context_es2_profile", extStart, extEnd);
  17771. #endif /* GLX_EXT_create_context_es2_profile */
  17772. #ifdef GLX_EXT_create_context_es_profile
  17773. GLXEW_EXT_create_context_es_profile = _glewSearchExtension("GLX_EXT_create_context_es_profile", extStart, extEnd);
  17774. #endif /* GLX_EXT_create_context_es_profile */
  17775. #ifdef GLX_EXT_fbconfig_packed_float
  17776. GLXEW_EXT_fbconfig_packed_float = _glewSearchExtension("GLX_EXT_fbconfig_packed_float", extStart, extEnd);
  17777. #endif /* GLX_EXT_fbconfig_packed_float */
  17778. #ifdef GLX_EXT_framebuffer_sRGB
  17779. GLXEW_EXT_framebuffer_sRGB = _glewSearchExtension("GLX_EXT_framebuffer_sRGB", extStart, extEnd);
  17780. #endif /* GLX_EXT_framebuffer_sRGB */
  17781. #ifdef GLX_EXT_import_context
  17782. GLXEW_EXT_import_context = _glewSearchExtension("GLX_EXT_import_context", extStart, extEnd);
  17783. if (glewExperimental || GLXEW_EXT_import_context) GLXEW_EXT_import_context = !_glewInit_GLX_EXT_import_context();
  17784. #endif /* GLX_EXT_import_context */
  17785. #ifdef GLX_EXT_libglvnd
  17786. GLXEW_EXT_libglvnd = _glewSearchExtension("GLX_EXT_libglvnd", extStart, extEnd);
  17787. #endif /* GLX_EXT_libglvnd */
  17788. #ifdef GLX_EXT_scene_marker
  17789. GLXEW_EXT_scene_marker = _glewSearchExtension("GLX_EXT_scene_marker", extStart, extEnd);
  17790. #endif /* GLX_EXT_scene_marker */
  17791. #ifdef GLX_EXT_stereo_tree
  17792. GLXEW_EXT_stereo_tree = _glewSearchExtension("GLX_EXT_stereo_tree", extStart, extEnd);
  17793. #endif /* GLX_EXT_stereo_tree */
  17794. #ifdef GLX_EXT_swap_control
  17795. GLXEW_EXT_swap_control = _glewSearchExtension("GLX_EXT_swap_control", extStart, extEnd);
  17796. if (glewExperimental || GLXEW_EXT_swap_control) GLXEW_EXT_swap_control = !_glewInit_GLX_EXT_swap_control();
  17797. #endif /* GLX_EXT_swap_control */
  17798. #ifdef GLX_EXT_swap_control_tear
  17799. GLXEW_EXT_swap_control_tear = _glewSearchExtension("GLX_EXT_swap_control_tear", extStart, extEnd);
  17800. #endif /* GLX_EXT_swap_control_tear */
  17801. #ifdef GLX_EXT_texture_from_pixmap
  17802. GLXEW_EXT_texture_from_pixmap = _glewSearchExtension("GLX_EXT_texture_from_pixmap", extStart, extEnd);
  17803. if (glewExperimental || GLXEW_EXT_texture_from_pixmap) GLXEW_EXT_texture_from_pixmap = !_glewInit_GLX_EXT_texture_from_pixmap();
  17804. #endif /* GLX_EXT_texture_from_pixmap */
  17805. #ifdef GLX_EXT_visual_info
  17806. GLXEW_EXT_visual_info = _glewSearchExtension("GLX_EXT_visual_info", extStart, extEnd);
  17807. #endif /* GLX_EXT_visual_info */
  17808. #ifdef GLX_EXT_visual_rating
  17809. GLXEW_EXT_visual_rating = _glewSearchExtension("GLX_EXT_visual_rating", extStart, extEnd);
  17810. #endif /* GLX_EXT_visual_rating */
  17811. #ifdef GLX_INTEL_swap_event
  17812. GLXEW_INTEL_swap_event = _glewSearchExtension("GLX_INTEL_swap_event", extStart, extEnd);
  17813. #endif /* GLX_INTEL_swap_event */
  17814. #ifdef GLX_MESA_agp_offset
  17815. GLXEW_MESA_agp_offset = _glewSearchExtension("GLX_MESA_agp_offset", extStart, extEnd);
  17816. if (glewExperimental || GLXEW_MESA_agp_offset) GLXEW_MESA_agp_offset = !_glewInit_GLX_MESA_agp_offset();
  17817. #endif /* GLX_MESA_agp_offset */
  17818. #ifdef GLX_MESA_copy_sub_buffer
  17819. GLXEW_MESA_copy_sub_buffer = _glewSearchExtension("GLX_MESA_copy_sub_buffer", extStart, extEnd);
  17820. if (glewExperimental || GLXEW_MESA_copy_sub_buffer) GLXEW_MESA_copy_sub_buffer = !_glewInit_GLX_MESA_copy_sub_buffer();
  17821. #endif /* GLX_MESA_copy_sub_buffer */
  17822. #ifdef GLX_MESA_pixmap_colormap
  17823. GLXEW_MESA_pixmap_colormap = _glewSearchExtension("GLX_MESA_pixmap_colormap", extStart, extEnd);
  17824. if (glewExperimental || GLXEW_MESA_pixmap_colormap) GLXEW_MESA_pixmap_colormap = !_glewInit_GLX_MESA_pixmap_colormap();
  17825. #endif /* GLX_MESA_pixmap_colormap */
  17826. #ifdef GLX_MESA_query_renderer
  17827. GLXEW_MESA_query_renderer = _glewSearchExtension("GLX_MESA_query_renderer", extStart, extEnd);
  17828. if (glewExperimental || GLXEW_MESA_query_renderer) GLXEW_MESA_query_renderer = !_glewInit_GLX_MESA_query_renderer();
  17829. #endif /* GLX_MESA_query_renderer */
  17830. #ifdef GLX_MESA_release_buffers
  17831. GLXEW_MESA_release_buffers = _glewSearchExtension("GLX_MESA_release_buffers", extStart, extEnd);
  17832. if (glewExperimental || GLXEW_MESA_release_buffers) GLXEW_MESA_release_buffers = !_glewInit_GLX_MESA_release_buffers();
  17833. #endif /* GLX_MESA_release_buffers */
  17834. #ifdef GLX_MESA_set_3dfx_mode
  17835. GLXEW_MESA_set_3dfx_mode = _glewSearchExtension("GLX_MESA_set_3dfx_mode", extStart, extEnd);
  17836. if (glewExperimental || GLXEW_MESA_set_3dfx_mode) GLXEW_MESA_set_3dfx_mode = !_glewInit_GLX_MESA_set_3dfx_mode();
  17837. #endif /* GLX_MESA_set_3dfx_mode */
  17838. #ifdef GLX_MESA_swap_control
  17839. GLXEW_MESA_swap_control = _glewSearchExtension("GLX_MESA_swap_control", extStart, extEnd);
  17840. if (glewExperimental || GLXEW_MESA_swap_control) GLXEW_MESA_swap_control = !_glewInit_GLX_MESA_swap_control();
  17841. #endif /* GLX_MESA_swap_control */
  17842. #ifdef GLX_NV_copy_buffer
  17843. GLXEW_NV_copy_buffer = _glewSearchExtension("GLX_NV_copy_buffer", extStart, extEnd);
  17844. if (glewExperimental || GLXEW_NV_copy_buffer) GLXEW_NV_copy_buffer = !_glewInit_GLX_NV_copy_buffer();
  17845. #endif /* GLX_NV_copy_buffer */
  17846. #ifdef GLX_NV_copy_image
  17847. GLXEW_NV_copy_image = _glewSearchExtension("GLX_NV_copy_image", extStart, extEnd);
  17848. if (glewExperimental || GLXEW_NV_copy_image) GLXEW_NV_copy_image = !_glewInit_GLX_NV_copy_image();
  17849. #endif /* GLX_NV_copy_image */
  17850. #ifdef GLX_NV_delay_before_swap
  17851. GLXEW_NV_delay_before_swap = _glewSearchExtension("GLX_NV_delay_before_swap", extStart, extEnd);
  17852. if (glewExperimental || GLXEW_NV_delay_before_swap) GLXEW_NV_delay_before_swap = !_glewInit_GLX_NV_delay_before_swap();
  17853. #endif /* GLX_NV_delay_before_swap */
  17854. #ifdef GLX_NV_float_buffer
  17855. GLXEW_NV_float_buffer = _glewSearchExtension("GLX_NV_float_buffer", extStart, extEnd);
  17856. #endif /* GLX_NV_float_buffer */
  17857. #ifdef GLX_NV_multisample_coverage
  17858. GLXEW_NV_multisample_coverage = _glewSearchExtension("GLX_NV_multisample_coverage", extStart, extEnd);
  17859. #endif /* GLX_NV_multisample_coverage */
  17860. #ifdef GLX_NV_present_video
  17861. GLXEW_NV_present_video = _glewSearchExtension("GLX_NV_present_video", extStart, extEnd);
  17862. if (glewExperimental || GLXEW_NV_present_video) GLXEW_NV_present_video = !_glewInit_GLX_NV_present_video();
  17863. #endif /* GLX_NV_present_video */
  17864. #ifdef GLX_NV_robustness_video_memory_purge
  17865. GLXEW_NV_robustness_video_memory_purge = _glewSearchExtension("GLX_NV_robustness_video_memory_purge", extStart, extEnd);
  17866. #endif /* GLX_NV_robustness_video_memory_purge */
  17867. #ifdef GLX_NV_swap_group
  17868. GLXEW_NV_swap_group = _glewSearchExtension("GLX_NV_swap_group", extStart, extEnd);
  17869. if (glewExperimental || GLXEW_NV_swap_group) GLXEW_NV_swap_group = !_glewInit_GLX_NV_swap_group();
  17870. #endif /* GLX_NV_swap_group */
  17871. #ifdef GLX_NV_vertex_array_range
  17872. GLXEW_NV_vertex_array_range = _glewSearchExtension("GLX_NV_vertex_array_range", extStart, extEnd);
  17873. if (glewExperimental || GLXEW_NV_vertex_array_range) GLXEW_NV_vertex_array_range = !_glewInit_GLX_NV_vertex_array_range();
  17874. #endif /* GLX_NV_vertex_array_range */
  17875. #ifdef GLX_NV_video_capture
  17876. GLXEW_NV_video_capture = _glewSearchExtension("GLX_NV_video_capture", extStart, extEnd);
  17877. if (glewExperimental || GLXEW_NV_video_capture) GLXEW_NV_video_capture = !_glewInit_GLX_NV_video_capture();
  17878. #endif /* GLX_NV_video_capture */
  17879. #ifdef GLX_NV_video_out
  17880. GLXEW_NV_video_out = _glewSearchExtension("GLX_NV_video_out", extStart, extEnd);
  17881. if (glewExperimental || GLXEW_NV_video_out) GLXEW_NV_video_out = !_glewInit_GLX_NV_video_out();
  17882. #endif /* GLX_NV_video_out */
  17883. #ifdef GLX_OML_swap_method
  17884. GLXEW_OML_swap_method = _glewSearchExtension("GLX_OML_swap_method", extStart, extEnd);
  17885. #endif /* GLX_OML_swap_method */
  17886. #ifdef GLX_OML_sync_control
  17887. GLXEW_OML_sync_control = _glewSearchExtension("GLX_OML_sync_control", extStart, extEnd);
  17888. if (glewExperimental || GLXEW_OML_sync_control) GLXEW_OML_sync_control = !_glewInit_GLX_OML_sync_control();
  17889. #endif /* GLX_OML_sync_control */
  17890. #ifdef GLX_SGIS_blended_overlay
  17891. GLXEW_SGIS_blended_overlay = _glewSearchExtension("GLX_SGIS_blended_overlay", extStart, extEnd);
  17892. #endif /* GLX_SGIS_blended_overlay */
  17893. #ifdef GLX_SGIS_color_range
  17894. GLXEW_SGIS_color_range = _glewSearchExtension("GLX_SGIS_color_range", extStart, extEnd);
  17895. #endif /* GLX_SGIS_color_range */
  17896. #ifdef GLX_SGIS_multisample
  17897. GLXEW_SGIS_multisample = _glewSearchExtension("GLX_SGIS_multisample", extStart, extEnd);
  17898. #endif /* GLX_SGIS_multisample */
  17899. #ifdef GLX_SGIS_shared_multisample
  17900. GLXEW_SGIS_shared_multisample = _glewSearchExtension("GLX_SGIS_shared_multisample", extStart, extEnd);
  17901. #endif /* GLX_SGIS_shared_multisample */
  17902. #ifdef GLX_SGIX_fbconfig
  17903. GLXEW_SGIX_fbconfig = _glewSearchExtension("GLX_SGIX_fbconfig", extStart, extEnd);
  17904. if (glewExperimental || GLXEW_SGIX_fbconfig) GLXEW_SGIX_fbconfig = !_glewInit_GLX_SGIX_fbconfig();
  17905. #endif /* GLX_SGIX_fbconfig */
  17906. #ifdef GLX_SGIX_hyperpipe
  17907. GLXEW_SGIX_hyperpipe = _glewSearchExtension("GLX_SGIX_hyperpipe", extStart, extEnd);
  17908. if (glewExperimental || GLXEW_SGIX_hyperpipe) GLXEW_SGIX_hyperpipe = !_glewInit_GLX_SGIX_hyperpipe();
  17909. #endif /* GLX_SGIX_hyperpipe */
  17910. #ifdef GLX_SGIX_pbuffer
  17911. GLXEW_SGIX_pbuffer = _glewSearchExtension("GLX_SGIX_pbuffer", extStart, extEnd);
  17912. if (glewExperimental || GLXEW_SGIX_pbuffer) GLXEW_SGIX_pbuffer = !_glewInit_GLX_SGIX_pbuffer();
  17913. #endif /* GLX_SGIX_pbuffer */
  17914. #ifdef GLX_SGIX_swap_barrier
  17915. GLXEW_SGIX_swap_barrier = _glewSearchExtension("GLX_SGIX_swap_barrier", extStart, extEnd);
  17916. if (glewExperimental || GLXEW_SGIX_swap_barrier) GLXEW_SGIX_swap_barrier = !_glewInit_GLX_SGIX_swap_barrier();
  17917. #endif /* GLX_SGIX_swap_barrier */
  17918. #ifdef GLX_SGIX_swap_group
  17919. GLXEW_SGIX_swap_group = _glewSearchExtension("GLX_SGIX_swap_group", extStart, extEnd);
  17920. if (glewExperimental || GLXEW_SGIX_swap_group) GLXEW_SGIX_swap_group = !_glewInit_GLX_SGIX_swap_group();
  17921. #endif /* GLX_SGIX_swap_group */
  17922. #ifdef GLX_SGIX_video_resize
  17923. GLXEW_SGIX_video_resize = _glewSearchExtension("GLX_SGIX_video_resize", extStart, extEnd);
  17924. if (glewExperimental || GLXEW_SGIX_video_resize) GLXEW_SGIX_video_resize = !_glewInit_GLX_SGIX_video_resize();
  17925. #endif /* GLX_SGIX_video_resize */
  17926. #ifdef GLX_SGIX_visual_select_group
  17927. GLXEW_SGIX_visual_select_group = _glewSearchExtension("GLX_SGIX_visual_select_group", extStart, extEnd);
  17928. #endif /* GLX_SGIX_visual_select_group */
  17929. #ifdef GLX_SGI_cushion
  17930. GLXEW_SGI_cushion = _glewSearchExtension("GLX_SGI_cushion", extStart, extEnd);
  17931. if (glewExperimental || GLXEW_SGI_cushion) GLXEW_SGI_cushion = !_glewInit_GLX_SGI_cushion();
  17932. #endif /* GLX_SGI_cushion */
  17933. #ifdef GLX_SGI_make_current_read
  17934. GLXEW_SGI_make_current_read = _glewSearchExtension("GLX_SGI_make_current_read", extStart, extEnd);
  17935. if (glewExperimental || GLXEW_SGI_make_current_read) GLXEW_SGI_make_current_read = !_glewInit_GLX_SGI_make_current_read();
  17936. #endif /* GLX_SGI_make_current_read */
  17937. #ifdef GLX_SGI_swap_control
  17938. GLXEW_SGI_swap_control = _glewSearchExtension("GLX_SGI_swap_control", extStart, extEnd);
  17939. if (glewExperimental || GLXEW_SGI_swap_control) GLXEW_SGI_swap_control = !_glewInit_GLX_SGI_swap_control();
  17940. #endif /* GLX_SGI_swap_control */
  17941. #ifdef GLX_SGI_video_sync
  17942. GLXEW_SGI_video_sync = _glewSearchExtension("GLX_SGI_video_sync", extStart, extEnd);
  17943. if (glewExperimental || GLXEW_SGI_video_sync) GLXEW_SGI_video_sync = !_glewInit_GLX_SGI_video_sync();
  17944. #endif /* GLX_SGI_video_sync */
  17945. #ifdef GLX_SUN_get_transparent_index
  17946. GLXEW_SUN_get_transparent_index = _glewSearchExtension("GLX_SUN_get_transparent_index", extStart, extEnd);
  17947. if (glewExperimental || GLXEW_SUN_get_transparent_index) GLXEW_SUN_get_transparent_index = !_glewInit_GLX_SUN_get_transparent_index();
  17948. #endif /* GLX_SUN_get_transparent_index */
  17949. #ifdef GLX_SUN_video_resize
  17950. GLXEW_SUN_video_resize = _glewSearchExtension("GLX_SUN_video_resize", extStart, extEnd);
  17951. if (glewExperimental || GLXEW_SUN_video_resize) GLXEW_SUN_video_resize = !_glewInit_GLX_SUN_video_resize();
  17952. #endif /* GLX_SUN_video_resize */
  17953. return GLEW_OK;
  17954. }
  17955. #endif /* !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) */
  17956. /* ------------------------------------------------------------------------ */
  17957. const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)
  17958. {
  17959. static const GLubyte* _glewErrorString[] =
  17960. {
  17961. (const GLubyte*)"No error",
  17962. (const GLubyte*)"Missing GL version",
  17963. (const GLubyte*)"GL 1.1 and up are not supported",
  17964. (const GLubyte*)"GLX 1.2 and up are not supported",
  17965. (const GLubyte*)"Unknown error"
  17966. };
  17967. const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
  17968. return _glewErrorString[(size_t)error > max_error ? max_error : (size_t)error];
  17969. }
  17970. const GLubyte * GLEWAPIENTRY glewGetString (GLenum name)
  17971. {
  17972. static const GLubyte* _glewString[] =
  17973. {
  17974. (const GLubyte*)NULL,
  17975. (const GLubyte*)"2.1.0",
  17976. (const GLubyte*)"2",
  17977. (const GLubyte*)"1",
  17978. (const GLubyte*)"0"
  17979. };
  17980. const size_t max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
  17981. return _glewString[(size_t)name > max_string ? 0 : (size_t)name];
  17982. }
  17983. /* ------------------------------------------------------------------------ */
  17984. GLboolean glewExperimental = GL_FALSE;
  17985. GLenum GLEWAPIENTRY glewInit (void)
  17986. {
  17987. GLenum r;
  17988. #if defined(GLEW_EGL)
  17989. PFNEGLGETCURRENTDISPLAYPROC getCurrentDisplay = NULL;
  17990. #endif
  17991. r = glewContextInit();
  17992. if ( r != 0 ) return r;
  17993. #if defined(GLEW_EGL)
  17994. getCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC) glewGetProcAddress("eglGetCurrentDisplay");
  17995. return eglewInit(getCurrentDisplay());
  17996. #elif defined(GLEW_OSMESA) || defined(__ANDROID__) || defined(__native_client__) || defined(__HAIKU__)
  17997. return r;
  17998. #elif defined(_WIN32)
  17999. return wglewInit();
  18000. #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
  18001. return glxewInit();
  18002. #else
  18003. return r;
  18004. #endif /* _WIN32 */
  18005. }
  18006. #if defined(_WIN32) && defined(GLEW_BUILD) && defined(__GNUC__)
  18007. /* GCC requires a DLL entry point even without any standard library included. */
  18008. /* Types extracted from windows.h to avoid polluting the rest of the file. */
  18009. int __stdcall DllMainCRTStartup(void* instance, unsigned reason, void* reserved)
  18010. {
  18011. (void) instance;
  18012. (void) reason;
  18013. (void) reserved;
  18014. return 1;
  18015. }
  18016. #endif
  18017. GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
  18018. {
  18019. const GLubyte* pos = (const GLubyte*)name;
  18020. GLuint len = _glewStrLen(pos);
  18021. GLboolean ret = GL_TRUE;
  18022. while (ret && len > 0)
  18023. {
  18024. if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
  18025. {
  18026. if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
  18027. {
  18028. #ifdef GL_VERSION_1_2
  18029. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
  18030. {
  18031. ret = GLEW_VERSION_1_2;
  18032. continue;
  18033. }
  18034. #endif
  18035. #ifdef GL_VERSION_1_2_1
  18036. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2_1", 5))
  18037. {
  18038. ret = GLEW_VERSION_1_2_1;
  18039. continue;
  18040. }
  18041. #endif
  18042. #ifdef GL_VERSION_1_3
  18043. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
  18044. {
  18045. ret = GLEW_VERSION_1_3;
  18046. continue;
  18047. }
  18048. #endif
  18049. #ifdef GL_VERSION_1_4
  18050. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
  18051. {
  18052. ret = GLEW_VERSION_1_4;
  18053. continue;
  18054. }
  18055. #endif
  18056. #ifdef GL_VERSION_1_5
  18057. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
  18058. {
  18059. ret = GLEW_VERSION_1_5;
  18060. continue;
  18061. }
  18062. #endif
  18063. #ifdef GL_VERSION_2_0
  18064. if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3))
  18065. {
  18066. ret = GLEW_VERSION_2_0;
  18067. continue;
  18068. }
  18069. #endif
  18070. #ifdef GL_VERSION_2_1
  18071. if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_1", 3))
  18072. {
  18073. ret = GLEW_VERSION_2_1;
  18074. continue;
  18075. }
  18076. #endif
  18077. #ifdef GL_VERSION_3_0
  18078. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_0", 3))
  18079. {
  18080. ret = GLEW_VERSION_3_0;
  18081. continue;
  18082. }
  18083. #endif
  18084. #ifdef GL_VERSION_3_1
  18085. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3))
  18086. {
  18087. ret = GLEW_VERSION_3_1;
  18088. continue;
  18089. }
  18090. #endif
  18091. #ifdef GL_VERSION_3_2
  18092. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3))
  18093. {
  18094. ret = GLEW_VERSION_3_2;
  18095. continue;
  18096. }
  18097. #endif
  18098. #ifdef GL_VERSION_3_3
  18099. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3))
  18100. {
  18101. ret = GLEW_VERSION_3_3;
  18102. continue;
  18103. }
  18104. #endif
  18105. #ifdef GL_VERSION_4_0
  18106. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3))
  18107. {
  18108. ret = GLEW_VERSION_4_0;
  18109. continue;
  18110. }
  18111. #endif
  18112. #ifdef GL_VERSION_4_1
  18113. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_1", 3))
  18114. {
  18115. ret = GLEW_VERSION_4_1;
  18116. continue;
  18117. }
  18118. #endif
  18119. #ifdef GL_VERSION_4_2
  18120. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_2", 3))
  18121. {
  18122. ret = GLEW_VERSION_4_2;
  18123. continue;
  18124. }
  18125. #endif
  18126. #ifdef GL_VERSION_4_3
  18127. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_3", 3))
  18128. {
  18129. ret = GLEW_VERSION_4_3;
  18130. continue;
  18131. }
  18132. #endif
  18133. #ifdef GL_VERSION_4_4
  18134. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_4", 3))
  18135. {
  18136. ret = GLEW_VERSION_4_4;
  18137. continue;
  18138. }
  18139. #endif
  18140. #ifdef GL_VERSION_4_5
  18141. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_5", 3))
  18142. {
  18143. ret = GLEW_VERSION_4_5;
  18144. continue;
  18145. }
  18146. #endif
  18147. #ifdef GL_VERSION_4_6
  18148. if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_6", 3))
  18149. {
  18150. ret = GLEW_VERSION_4_6;
  18151. continue;
  18152. }
  18153. #endif
  18154. }
  18155. if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
  18156. {
  18157. #ifdef GL_3DFX_multisample
  18158. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  18159. {
  18160. ret = GLEW_3DFX_multisample;
  18161. continue;
  18162. }
  18163. #endif
  18164. #ifdef GL_3DFX_tbuffer
  18165. if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7))
  18166. {
  18167. ret = GLEW_3DFX_tbuffer;
  18168. continue;
  18169. }
  18170. #endif
  18171. #ifdef GL_3DFX_texture_compression_FXT1
  18172. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24))
  18173. {
  18174. ret = GLEW_3DFX_texture_compression_FXT1;
  18175. continue;
  18176. }
  18177. #endif
  18178. }
  18179. if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
  18180. {
  18181. #ifdef GL_AMD_blend_minmax_factor
  18182. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19))
  18183. {
  18184. ret = GLEW_AMD_blend_minmax_factor;
  18185. continue;
  18186. }
  18187. #endif
  18188. #ifdef GL_AMD_compressed_3DC_texture
  18189. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_3DC_texture", 22))
  18190. {
  18191. ret = GLEW_AMD_compressed_3DC_texture;
  18192. continue;
  18193. }
  18194. #endif
  18195. #ifdef GL_AMD_compressed_ATC_texture
  18196. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_ATC_texture", 22))
  18197. {
  18198. ret = GLEW_AMD_compressed_ATC_texture;
  18199. continue;
  18200. }
  18201. #endif
  18202. #ifdef GL_AMD_conservative_depth
  18203. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
  18204. {
  18205. ret = GLEW_AMD_conservative_depth;
  18206. continue;
  18207. }
  18208. #endif
  18209. #ifdef GL_AMD_debug_output
  18210. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
  18211. {
  18212. ret = GLEW_AMD_debug_output;
  18213. continue;
  18214. }
  18215. #endif
  18216. #ifdef GL_AMD_depth_clamp_separate
  18217. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp_separate", 20))
  18218. {
  18219. ret = GLEW_AMD_depth_clamp_separate;
  18220. continue;
  18221. }
  18222. #endif
  18223. #ifdef GL_AMD_draw_buffers_blend
  18224. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
  18225. {
  18226. ret = GLEW_AMD_draw_buffers_blend;
  18227. continue;
  18228. }
  18229. #endif
  18230. #ifdef GL_AMD_framebuffer_sample_positions
  18231. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sample_positions", 28))
  18232. {
  18233. ret = GLEW_AMD_framebuffer_sample_positions;
  18234. continue;
  18235. }
  18236. #endif
  18237. #ifdef GL_AMD_gcn_shader
  18238. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gcn_shader", 10))
  18239. {
  18240. ret = GLEW_AMD_gcn_shader;
  18241. continue;
  18242. }
  18243. #endif
  18244. #ifdef GL_AMD_gpu_shader_half_float
  18245. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_half_float", 21))
  18246. {
  18247. ret = GLEW_AMD_gpu_shader_half_float;
  18248. continue;
  18249. }
  18250. #endif
  18251. #ifdef GL_AMD_gpu_shader_int16
  18252. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int16", 16))
  18253. {
  18254. ret = GLEW_AMD_gpu_shader_int16;
  18255. continue;
  18256. }
  18257. #endif
  18258. #ifdef GL_AMD_gpu_shader_int64
  18259. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int64", 16))
  18260. {
  18261. ret = GLEW_AMD_gpu_shader_int64;
  18262. continue;
  18263. }
  18264. #endif
  18265. #ifdef GL_AMD_interleaved_elements
  18266. if (_glewStrSame3(&pos, &len, (const GLubyte*)"interleaved_elements", 20))
  18267. {
  18268. ret = GLEW_AMD_interleaved_elements;
  18269. continue;
  18270. }
  18271. #endif
  18272. #ifdef GL_AMD_multi_draw_indirect
  18273. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
  18274. {
  18275. ret = GLEW_AMD_multi_draw_indirect;
  18276. continue;
  18277. }
  18278. #endif
  18279. #ifdef GL_AMD_name_gen_delete
  18280. if (_glewStrSame3(&pos, &len, (const GLubyte*)"name_gen_delete", 15))
  18281. {
  18282. ret = GLEW_AMD_name_gen_delete;
  18283. continue;
  18284. }
  18285. #endif
  18286. #ifdef GL_AMD_occlusion_query_event
  18287. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query_event", 21))
  18288. {
  18289. ret = GLEW_AMD_occlusion_query_event;
  18290. continue;
  18291. }
  18292. #endif
  18293. #ifdef GL_AMD_performance_monitor
  18294. if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19))
  18295. {
  18296. ret = GLEW_AMD_performance_monitor;
  18297. continue;
  18298. }
  18299. #endif
  18300. #ifdef GL_AMD_pinned_memory
  18301. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pinned_memory", 13))
  18302. {
  18303. ret = GLEW_AMD_pinned_memory;
  18304. continue;
  18305. }
  18306. #endif
  18307. #ifdef GL_AMD_program_binary_Z400
  18308. if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_binary_Z400", 19))
  18309. {
  18310. ret = GLEW_AMD_program_binary_Z400;
  18311. continue;
  18312. }
  18313. #endif
  18314. #ifdef GL_AMD_query_buffer_object
  18315. if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
  18316. {
  18317. ret = GLEW_AMD_query_buffer_object;
  18318. continue;
  18319. }
  18320. #endif
  18321. #ifdef GL_AMD_sample_positions
  18322. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_positions", 16))
  18323. {
  18324. ret = GLEW_AMD_sample_positions;
  18325. continue;
  18326. }
  18327. #endif
  18328. #ifdef GL_AMD_seamless_cubemap_per_texture
  18329. if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
  18330. {
  18331. ret = GLEW_AMD_seamless_cubemap_per_texture;
  18332. continue;
  18333. }
  18334. #endif
  18335. #ifdef GL_AMD_shader_atomic_counter_ops
  18336. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counter_ops", 25))
  18337. {
  18338. ret = GLEW_AMD_shader_atomic_counter_ops;
  18339. continue;
  18340. }
  18341. #endif
  18342. #ifdef GL_AMD_shader_ballot
  18343. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_ballot", 13))
  18344. {
  18345. ret = GLEW_AMD_shader_ballot;
  18346. continue;
  18347. }
  18348. #endif
  18349. #ifdef GL_AMD_shader_explicit_vertex_parameter
  18350. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_explicit_vertex_parameter", 32))
  18351. {
  18352. ret = GLEW_AMD_shader_explicit_vertex_parameter;
  18353. continue;
  18354. }
  18355. #endif
  18356. #ifdef GL_AMD_shader_stencil_export
  18357. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
  18358. {
  18359. ret = GLEW_AMD_shader_stencil_export;
  18360. continue;
  18361. }
  18362. #endif
  18363. #ifdef GL_AMD_shader_stencil_value_export
  18364. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_value_export", 27))
  18365. {
  18366. ret = GLEW_AMD_shader_stencil_value_export;
  18367. continue;
  18368. }
  18369. #endif
  18370. #ifdef GL_AMD_shader_trinary_minmax
  18371. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_trinary_minmax", 21))
  18372. {
  18373. ret = GLEW_AMD_shader_trinary_minmax;
  18374. continue;
  18375. }
  18376. #endif
  18377. #ifdef GL_AMD_sparse_texture
  18378. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
  18379. {
  18380. ret = GLEW_AMD_sparse_texture;
  18381. continue;
  18382. }
  18383. #endif
  18384. #ifdef GL_AMD_stencil_operation_extended
  18385. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_operation_extended", 26))
  18386. {
  18387. ret = GLEW_AMD_stencil_operation_extended;
  18388. continue;
  18389. }
  18390. #endif
  18391. #ifdef GL_AMD_texture_gather_bias_lod
  18392. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather_bias_lod", 23))
  18393. {
  18394. ret = GLEW_AMD_texture_gather_bias_lod;
  18395. continue;
  18396. }
  18397. #endif
  18398. #ifdef GL_AMD_texture_texture4
  18399. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_texture4", 16))
  18400. {
  18401. ret = GLEW_AMD_texture_texture4;
  18402. continue;
  18403. }
  18404. #endif
  18405. #ifdef GL_AMD_transform_feedback3_lines_triangles
  18406. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3_lines_triangles", 35))
  18407. {
  18408. ret = GLEW_AMD_transform_feedback3_lines_triangles;
  18409. continue;
  18410. }
  18411. #endif
  18412. #ifdef GL_AMD_transform_feedback4
  18413. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback4", 19))
  18414. {
  18415. ret = GLEW_AMD_transform_feedback4;
  18416. continue;
  18417. }
  18418. #endif
  18419. #ifdef GL_AMD_vertex_shader_layer
  18420. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_layer", 19))
  18421. {
  18422. ret = GLEW_AMD_vertex_shader_layer;
  18423. continue;
  18424. }
  18425. #endif
  18426. #ifdef GL_AMD_vertex_shader_tessellator
  18427. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_tessellator", 25))
  18428. {
  18429. ret = GLEW_AMD_vertex_shader_tessellator;
  18430. continue;
  18431. }
  18432. #endif
  18433. #ifdef GL_AMD_vertex_shader_viewport_index
  18434. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_viewport_index", 28))
  18435. {
  18436. ret = GLEW_AMD_vertex_shader_viewport_index;
  18437. continue;
  18438. }
  18439. #endif
  18440. }
  18441. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANDROID_", 8))
  18442. {
  18443. #ifdef GL_ANDROID_extension_pack_es31a
  18444. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_pack_es31a", 20))
  18445. {
  18446. ret = GLEW_ANDROID_extension_pack_es31a;
  18447. continue;
  18448. }
  18449. #endif
  18450. }
  18451. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANGLE_", 6))
  18452. {
  18453. #ifdef GL_ANGLE_depth_texture
  18454. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
  18455. {
  18456. ret = GLEW_ANGLE_depth_texture;
  18457. continue;
  18458. }
  18459. #endif
  18460. #ifdef GL_ANGLE_framebuffer_blit
  18461. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
  18462. {
  18463. ret = GLEW_ANGLE_framebuffer_blit;
  18464. continue;
  18465. }
  18466. #endif
  18467. #ifdef GL_ANGLE_framebuffer_multisample
  18468. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
  18469. {
  18470. ret = GLEW_ANGLE_framebuffer_multisample;
  18471. continue;
  18472. }
  18473. #endif
  18474. #ifdef GL_ANGLE_instanced_arrays
  18475. if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
  18476. {
  18477. ret = GLEW_ANGLE_instanced_arrays;
  18478. continue;
  18479. }
  18480. #endif
  18481. #ifdef GL_ANGLE_pack_reverse_row_order
  18482. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_reverse_row_order", 22))
  18483. {
  18484. ret = GLEW_ANGLE_pack_reverse_row_order;
  18485. continue;
  18486. }
  18487. #endif
  18488. #ifdef GL_ANGLE_program_binary
  18489. if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_binary", 14))
  18490. {
  18491. ret = GLEW_ANGLE_program_binary;
  18492. continue;
  18493. }
  18494. #endif
  18495. #ifdef GL_ANGLE_texture_compression_dxt1
  18496. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
  18497. {
  18498. ret = GLEW_ANGLE_texture_compression_dxt1;
  18499. continue;
  18500. }
  18501. #endif
  18502. #ifdef GL_ANGLE_texture_compression_dxt3
  18503. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt3", 24))
  18504. {
  18505. ret = GLEW_ANGLE_texture_compression_dxt3;
  18506. continue;
  18507. }
  18508. #endif
  18509. #ifdef GL_ANGLE_texture_compression_dxt5
  18510. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt5", 24))
  18511. {
  18512. ret = GLEW_ANGLE_texture_compression_dxt5;
  18513. continue;
  18514. }
  18515. #endif
  18516. #ifdef GL_ANGLE_texture_usage
  18517. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_usage", 13))
  18518. {
  18519. ret = GLEW_ANGLE_texture_usage;
  18520. continue;
  18521. }
  18522. #endif
  18523. #ifdef GL_ANGLE_timer_query
  18524. if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
  18525. {
  18526. ret = GLEW_ANGLE_timer_query;
  18527. continue;
  18528. }
  18529. #endif
  18530. #ifdef GL_ANGLE_translated_shader_source
  18531. if (_glewStrSame3(&pos, &len, (const GLubyte*)"translated_shader_source", 24))
  18532. {
  18533. ret = GLEW_ANGLE_translated_shader_source;
  18534. continue;
  18535. }
  18536. #endif
  18537. }
  18538. if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6))
  18539. {
  18540. #ifdef GL_APPLE_aux_depth_stencil
  18541. if (_glewStrSame3(&pos, &len, (const GLubyte*)"aux_depth_stencil", 17))
  18542. {
  18543. ret = GLEW_APPLE_aux_depth_stencil;
  18544. continue;
  18545. }
  18546. #endif
  18547. #ifdef GL_APPLE_client_storage
  18548. if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14))
  18549. {
  18550. ret = GLEW_APPLE_client_storage;
  18551. continue;
  18552. }
  18553. #endif
  18554. #ifdef GL_APPLE_clip_distance
  18555. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_distance", 13))
  18556. {
  18557. ret = GLEW_APPLE_clip_distance;
  18558. continue;
  18559. }
  18560. #endif
  18561. #ifdef GL_APPLE_color_buffer_packed_float
  18562. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_packed_float", 25))
  18563. {
  18564. ret = GLEW_APPLE_color_buffer_packed_float;
  18565. continue;
  18566. }
  18567. #endif
  18568. #ifdef GL_APPLE_copy_texture_levels
  18569. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture_levels", 19))
  18570. {
  18571. ret = GLEW_APPLE_copy_texture_levels;
  18572. continue;
  18573. }
  18574. #endif
  18575. #ifdef GL_APPLE_element_array
  18576. if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
  18577. {
  18578. ret = GLEW_APPLE_element_array;
  18579. continue;
  18580. }
  18581. #endif
  18582. #ifdef GL_APPLE_fence
  18583. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
  18584. {
  18585. ret = GLEW_APPLE_fence;
  18586. continue;
  18587. }
  18588. #endif
  18589. #ifdef GL_APPLE_float_pixels
  18590. if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12))
  18591. {
  18592. ret = GLEW_APPLE_float_pixels;
  18593. continue;
  18594. }
  18595. #endif
  18596. #ifdef GL_APPLE_flush_buffer_range
  18597. if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_buffer_range", 18))
  18598. {
  18599. ret = GLEW_APPLE_flush_buffer_range;
  18600. continue;
  18601. }
  18602. #endif
  18603. #ifdef GL_APPLE_framebuffer_multisample
  18604. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
  18605. {
  18606. ret = GLEW_APPLE_framebuffer_multisample;
  18607. continue;
  18608. }
  18609. #endif
  18610. #ifdef GL_APPLE_object_purgeable
  18611. if (_glewStrSame3(&pos, &len, (const GLubyte*)"object_purgeable", 16))
  18612. {
  18613. ret = GLEW_APPLE_object_purgeable;
  18614. continue;
  18615. }
  18616. #endif
  18617. #ifdef GL_APPLE_pixel_buffer
  18618. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12))
  18619. {
  18620. ret = GLEW_APPLE_pixel_buffer;
  18621. continue;
  18622. }
  18623. #endif
  18624. #ifdef GL_APPLE_rgb_422
  18625. if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgb_422", 7))
  18626. {
  18627. ret = GLEW_APPLE_rgb_422;
  18628. continue;
  18629. }
  18630. #endif
  18631. #ifdef GL_APPLE_row_bytes
  18632. if (_glewStrSame3(&pos, &len, (const GLubyte*)"row_bytes", 9))
  18633. {
  18634. ret = GLEW_APPLE_row_bytes;
  18635. continue;
  18636. }
  18637. #endif
  18638. #ifdef GL_APPLE_specular_vector
  18639. if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15))
  18640. {
  18641. ret = GLEW_APPLE_specular_vector;
  18642. continue;
  18643. }
  18644. #endif
  18645. #ifdef GL_APPLE_sync
  18646. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
  18647. {
  18648. ret = GLEW_APPLE_sync;
  18649. continue;
  18650. }
  18651. #endif
  18652. #ifdef GL_APPLE_texture_2D_limited_npot
  18653. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_2D_limited_npot", 23))
  18654. {
  18655. ret = GLEW_APPLE_texture_2D_limited_npot;
  18656. continue;
  18657. }
  18658. #endif
  18659. #ifdef GL_APPLE_texture_format_BGRA8888
  18660. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_format_BGRA8888", 23))
  18661. {
  18662. ret = GLEW_APPLE_texture_format_BGRA8888;
  18663. continue;
  18664. }
  18665. #endif
  18666. #ifdef GL_APPLE_texture_max_level
  18667. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_max_level", 17))
  18668. {
  18669. ret = GLEW_APPLE_texture_max_level;
  18670. continue;
  18671. }
  18672. #endif
  18673. #ifdef GL_APPLE_texture_packed_float
  18674. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_packed_float", 20))
  18675. {
  18676. ret = GLEW_APPLE_texture_packed_float;
  18677. continue;
  18678. }
  18679. #endif
  18680. #ifdef GL_APPLE_texture_range
  18681. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
  18682. {
  18683. ret = GLEW_APPLE_texture_range;
  18684. continue;
  18685. }
  18686. #endif
  18687. #ifdef GL_APPLE_transform_hint
  18688. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14))
  18689. {
  18690. ret = GLEW_APPLE_transform_hint;
  18691. continue;
  18692. }
  18693. #endif
  18694. #ifdef GL_APPLE_vertex_array_object
  18695. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
  18696. {
  18697. ret = GLEW_APPLE_vertex_array_object;
  18698. continue;
  18699. }
  18700. #endif
  18701. #ifdef GL_APPLE_vertex_array_range
  18702. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
  18703. {
  18704. ret = GLEW_APPLE_vertex_array_range;
  18705. continue;
  18706. }
  18707. #endif
  18708. #ifdef GL_APPLE_vertex_program_evaluators
  18709. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program_evaluators", 25))
  18710. {
  18711. ret = GLEW_APPLE_vertex_program_evaluators;
  18712. continue;
  18713. }
  18714. #endif
  18715. #ifdef GL_APPLE_ycbcr_422
  18716. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9))
  18717. {
  18718. ret = GLEW_APPLE_ycbcr_422;
  18719. continue;
  18720. }
  18721. #endif
  18722. }
  18723. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
  18724. {
  18725. #ifdef GL_ARB_ES2_compatibility
  18726. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES2_compatibility", 17))
  18727. {
  18728. ret = GLEW_ARB_ES2_compatibility;
  18729. continue;
  18730. }
  18731. #endif
  18732. #ifdef GL_ARB_ES3_1_compatibility
  18733. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_1_compatibility", 19))
  18734. {
  18735. ret = GLEW_ARB_ES3_1_compatibility;
  18736. continue;
  18737. }
  18738. #endif
  18739. #ifdef GL_ARB_ES3_2_compatibility
  18740. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_2_compatibility", 19))
  18741. {
  18742. ret = GLEW_ARB_ES3_2_compatibility;
  18743. continue;
  18744. }
  18745. #endif
  18746. #ifdef GL_ARB_ES3_compatibility
  18747. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_compatibility", 17))
  18748. {
  18749. ret = GLEW_ARB_ES3_compatibility;
  18750. continue;
  18751. }
  18752. #endif
  18753. #ifdef GL_ARB_arrays_of_arrays
  18754. if (_glewStrSame3(&pos, &len, (const GLubyte*)"arrays_of_arrays", 16))
  18755. {
  18756. ret = GLEW_ARB_arrays_of_arrays;
  18757. continue;
  18758. }
  18759. #endif
  18760. #ifdef GL_ARB_base_instance
  18761. if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13))
  18762. {
  18763. ret = GLEW_ARB_base_instance;
  18764. continue;
  18765. }
  18766. #endif
  18767. #ifdef GL_ARB_bindless_texture
  18768. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
  18769. {
  18770. ret = GLEW_ARB_bindless_texture;
  18771. continue;
  18772. }
  18773. #endif
  18774. #ifdef GL_ARB_blend_func_extended
  18775. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
  18776. {
  18777. ret = GLEW_ARB_blend_func_extended;
  18778. continue;
  18779. }
  18780. #endif
  18781. #ifdef GL_ARB_buffer_storage
  18782. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_storage", 14))
  18783. {
  18784. ret = GLEW_ARB_buffer_storage;
  18785. continue;
  18786. }
  18787. #endif
  18788. #ifdef GL_ARB_cl_event
  18789. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8))
  18790. {
  18791. ret = GLEW_ARB_cl_event;
  18792. continue;
  18793. }
  18794. #endif
  18795. #ifdef GL_ARB_clear_buffer_object
  18796. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_buffer_object", 19))
  18797. {
  18798. ret = GLEW_ARB_clear_buffer_object;
  18799. continue;
  18800. }
  18801. #endif
  18802. #ifdef GL_ARB_clear_texture
  18803. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_texture", 13))
  18804. {
  18805. ret = GLEW_ARB_clear_texture;
  18806. continue;
  18807. }
  18808. #endif
  18809. #ifdef GL_ARB_clip_control
  18810. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_control", 12))
  18811. {
  18812. ret = GLEW_ARB_clip_control;
  18813. continue;
  18814. }
  18815. #endif
  18816. #ifdef GL_ARB_color_buffer_float
  18817. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
  18818. {
  18819. ret = GLEW_ARB_color_buffer_float;
  18820. continue;
  18821. }
  18822. #endif
  18823. #ifdef GL_ARB_compatibility
  18824. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compatibility", 13))
  18825. {
  18826. ret = GLEW_ARB_compatibility;
  18827. continue;
  18828. }
  18829. #endif
  18830. #ifdef GL_ARB_compressed_texture_pixel_storage
  18831. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_texture_pixel_storage", 32))
  18832. {
  18833. ret = GLEW_ARB_compressed_texture_pixel_storage;
  18834. continue;
  18835. }
  18836. #endif
  18837. #ifdef GL_ARB_compute_shader
  18838. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_shader", 14))
  18839. {
  18840. ret = GLEW_ARB_compute_shader;
  18841. continue;
  18842. }
  18843. #endif
  18844. #ifdef GL_ARB_compute_variable_group_size
  18845. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_variable_group_size", 27))
  18846. {
  18847. ret = GLEW_ARB_compute_variable_group_size;
  18848. continue;
  18849. }
  18850. #endif
  18851. #ifdef GL_ARB_conditional_render_inverted
  18852. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render_inverted", 27))
  18853. {
  18854. ret = GLEW_ARB_conditional_render_inverted;
  18855. continue;
  18856. }
  18857. #endif
  18858. #ifdef GL_ARB_conservative_depth
  18859. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
  18860. {
  18861. ret = GLEW_ARB_conservative_depth;
  18862. continue;
  18863. }
  18864. #endif
  18865. #ifdef GL_ARB_copy_buffer
  18866. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
  18867. {
  18868. ret = GLEW_ARB_copy_buffer;
  18869. continue;
  18870. }
  18871. #endif
  18872. #ifdef GL_ARB_copy_image
  18873. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
  18874. {
  18875. ret = GLEW_ARB_copy_image;
  18876. continue;
  18877. }
  18878. #endif
  18879. #ifdef GL_ARB_cull_distance
  18880. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_distance", 13))
  18881. {
  18882. ret = GLEW_ARB_cull_distance;
  18883. continue;
  18884. }
  18885. #endif
  18886. #ifdef GL_ARB_debug_output
  18887. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
  18888. {
  18889. ret = GLEW_ARB_debug_output;
  18890. continue;
  18891. }
  18892. #endif
  18893. #ifdef GL_ARB_depth_buffer_float
  18894. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
  18895. {
  18896. ret = GLEW_ARB_depth_buffer_float;
  18897. continue;
  18898. }
  18899. #endif
  18900. #ifdef GL_ARB_depth_clamp
  18901. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
  18902. {
  18903. ret = GLEW_ARB_depth_clamp;
  18904. continue;
  18905. }
  18906. #endif
  18907. #ifdef GL_ARB_depth_texture
  18908. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
  18909. {
  18910. ret = GLEW_ARB_depth_texture;
  18911. continue;
  18912. }
  18913. #endif
  18914. #ifdef GL_ARB_derivative_control
  18915. if (_glewStrSame3(&pos, &len, (const GLubyte*)"derivative_control", 18))
  18916. {
  18917. ret = GLEW_ARB_derivative_control;
  18918. continue;
  18919. }
  18920. #endif
  18921. #ifdef GL_ARB_direct_state_access
  18922. if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
  18923. {
  18924. ret = GLEW_ARB_direct_state_access;
  18925. continue;
  18926. }
  18927. #endif
  18928. #ifdef GL_ARB_draw_buffers
  18929. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
  18930. {
  18931. ret = GLEW_ARB_draw_buffers;
  18932. continue;
  18933. }
  18934. #endif
  18935. #ifdef GL_ARB_draw_buffers_blend
  18936. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
  18937. {
  18938. ret = GLEW_ARB_draw_buffers_blend;
  18939. continue;
  18940. }
  18941. #endif
  18942. #ifdef GL_ARB_draw_elements_base_vertex
  18943. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
  18944. {
  18945. ret = GLEW_ARB_draw_elements_base_vertex;
  18946. continue;
  18947. }
  18948. #endif
  18949. #ifdef GL_ARB_draw_indirect
  18950. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_indirect", 13))
  18951. {
  18952. ret = GLEW_ARB_draw_indirect;
  18953. continue;
  18954. }
  18955. #endif
  18956. #ifdef GL_ARB_draw_instanced
  18957. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
  18958. {
  18959. ret = GLEW_ARB_draw_instanced;
  18960. continue;
  18961. }
  18962. #endif
  18963. #ifdef GL_ARB_enhanced_layouts
  18964. if (_glewStrSame3(&pos, &len, (const GLubyte*)"enhanced_layouts", 16))
  18965. {
  18966. ret = GLEW_ARB_enhanced_layouts;
  18967. continue;
  18968. }
  18969. #endif
  18970. #ifdef GL_ARB_explicit_attrib_location
  18971. if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
  18972. {
  18973. ret = GLEW_ARB_explicit_attrib_location;
  18974. continue;
  18975. }
  18976. #endif
  18977. #ifdef GL_ARB_explicit_uniform_location
  18978. if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_uniform_location", 25))
  18979. {
  18980. ret = GLEW_ARB_explicit_uniform_location;
  18981. continue;
  18982. }
  18983. #endif
  18984. #ifdef GL_ARB_fragment_coord_conventions
  18985. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coord_conventions", 26))
  18986. {
  18987. ret = GLEW_ARB_fragment_coord_conventions;
  18988. continue;
  18989. }
  18990. #endif
  18991. #ifdef GL_ARB_fragment_layer_viewport
  18992. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_layer_viewport", 23))
  18993. {
  18994. ret = GLEW_ARB_fragment_layer_viewport;
  18995. continue;
  18996. }
  18997. #endif
  18998. #ifdef GL_ARB_fragment_program
  18999. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
  19000. {
  19001. ret = GLEW_ARB_fragment_program;
  19002. continue;
  19003. }
  19004. #endif
  19005. #ifdef GL_ARB_fragment_program_shadow
  19006. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23))
  19007. {
  19008. ret = GLEW_ARB_fragment_program_shadow;
  19009. continue;
  19010. }
  19011. #endif
  19012. #ifdef GL_ARB_fragment_shader
  19013. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
  19014. {
  19015. ret = GLEW_ARB_fragment_shader;
  19016. continue;
  19017. }
  19018. #endif
  19019. #ifdef GL_ARB_fragment_shader_interlock
  19020. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_interlock", 25))
  19021. {
  19022. ret = GLEW_ARB_fragment_shader_interlock;
  19023. continue;
  19024. }
  19025. #endif
  19026. #ifdef GL_ARB_framebuffer_no_attachments
  19027. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_no_attachments", 26))
  19028. {
  19029. ret = GLEW_ARB_framebuffer_no_attachments;
  19030. continue;
  19031. }
  19032. #endif
  19033. #ifdef GL_ARB_framebuffer_object
  19034. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
  19035. {
  19036. ret = GLEW_ARB_framebuffer_object;
  19037. continue;
  19038. }
  19039. #endif
  19040. #ifdef GL_ARB_framebuffer_sRGB
  19041. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  19042. {
  19043. ret = GLEW_ARB_framebuffer_sRGB;
  19044. continue;
  19045. }
  19046. #endif
  19047. #ifdef GL_ARB_geometry_shader4
  19048. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
  19049. {
  19050. ret = GLEW_ARB_geometry_shader4;
  19051. continue;
  19052. }
  19053. #endif
  19054. #ifdef GL_ARB_get_program_binary
  19055. if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_program_binary", 18))
  19056. {
  19057. ret = GLEW_ARB_get_program_binary;
  19058. continue;
  19059. }
  19060. #endif
  19061. #ifdef GL_ARB_get_texture_sub_image
  19062. if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_texture_sub_image", 21))
  19063. {
  19064. ret = GLEW_ARB_get_texture_sub_image;
  19065. continue;
  19066. }
  19067. #endif
  19068. #ifdef GL_ARB_gl_spirv
  19069. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_spirv", 8))
  19070. {
  19071. ret = GLEW_ARB_gl_spirv;
  19072. continue;
  19073. }
  19074. #endif
  19075. #ifdef GL_ARB_gpu_shader5
  19076. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
  19077. {
  19078. ret = GLEW_ARB_gpu_shader5;
  19079. continue;
  19080. }
  19081. #endif
  19082. #ifdef GL_ARB_gpu_shader_fp64
  19083. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_fp64", 15))
  19084. {
  19085. ret = GLEW_ARB_gpu_shader_fp64;
  19086. continue;
  19087. }
  19088. #endif
  19089. #ifdef GL_ARB_gpu_shader_int64
  19090. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int64", 16))
  19091. {
  19092. ret = GLEW_ARB_gpu_shader_int64;
  19093. continue;
  19094. }
  19095. #endif
  19096. #ifdef GL_ARB_half_float_pixel
  19097. if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16))
  19098. {
  19099. ret = GLEW_ARB_half_float_pixel;
  19100. continue;
  19101. }
  19102. #endif
  19103. #ifdef GL_ARB_half_float_vertex
  19104. if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_vertex", 17))
  19105. {
  19106. ret = GLEW_ARB_half_float_vertex;
  19107. continue;
  19108. }
  19109. #endif
  19110. #ifdef GL_ARB_imaging
  19111. if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7))
  19112. {
  19113. ret = GLEW_ARB_imaging;
  19114. continue;
  19115. }
  19116. #endif
  19117. #ifdef GL_ARB_indirect_parameters
  19118. if (_glewStrSame3(&pos, &len, (const GLubyte*)"indirect_parameters", 19))
  19119. {
  19120. ret = GLEW_ARB_indirect_parameters;
  19121. continue;
  19122. }
  19123. #endif
  19124. #ifdef GL_ARB_instanced_arrays
  19125. if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
  19126. {
  19127. ret = GLEW_ARB_instanced_arrays;
  19128. continue;
  19129. }
  19130. #endif
  19131. #ifdef GL_ARB_internalformat_query
  19132. if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query", 20))
  19133. {
  19134. ret = GLEW_ARB_internalformat_query;
  19135. continue;
  19136. }
  19137. #endif
  19138. #ifdef GL_ARB_internalformat_query2
  19139. if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query2", 21))
  19140. {
  19141. ret = GLEW_ARB_internalformat_query2;
  19142. continue;
  19143. }
  19144. #endif
  19145. #ifdef GL_ARB_invalidate_subdata
  19146. if (_glewStrSame3(&pos, &len, (const GLubyte*)"invalidate_subdata", 18))
  19147. {
  19148. ret = GLEW_ARB_invalidate_subdata;
  19149. continue;
  19150. }
  19151. #endif
  19152. #ifdef GL_ARB_map_buffer_alignment
  19153. if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_alignment", 20))
  19154. {
  19155. ret = GLEW_ARB_map_buffer_alignment;
  19156. continue;
  19157. }
  19158. #endif
  19159. #ifdef GL_ARB_map_buffer_range
  19160. if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
  19161. {
  19162. ret = GLEW_ARB_map_buffer_range;
  19163. continue;
  19164. }
  19165. #endif
  19166. #ifdef GL_ARB_matrix_palette
  19167. if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14))
  19168. {
  19169. ret = GLEW_ARB_matrix_palette;
  19170. continue;
  19171. }
  19172. #endif
  19173. #ifdef GL_ARB_multi_bind
  19174. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_bind", 10))
  19175. {
  19176. ret = GLEW_ARB_multi_bind;
  19177. continue;
  19178. }
  19179. #endif
  19180. #ifdef GL_ARB_multi_draw_indirect
  19181. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
  19182. {
  19183. ret = GLEW_ARB_multi_draw_indirect;
  19184. continue;
  19185. }
  19186. #endif
  19187. #ifdef GL_ARB_multisample
  19188. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  19189. {
  19190. ret = GLEW_ARB_multisample;
  19191. continue;
  19192. }
  19193. #endif
  19194. #ifdef GL_ARB_multitexture
  19195. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
  19196. {
  19197. ret = GLEW_ARB_multitexture;
  19198. continue;
  19199. }
  19200. #endif
  19201. #ifdef GL_ARB_occlusion_query
  19202. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
  19203. {
  19204. ret = GLEW_ARB_occlusion_query;
  19205. continue;
  19206. }
  19207. #endif
  19208. #ifdef GL_ARB_occlusion_query2
  19209. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query2", 16))
  19210. {
  19211. ret = GLEW_ARB_occlusion_query2;
  19212. continue;
  19213. }
  19214. #endif
  19215. #ifdef GL_ARB_parallel_shader_compile
  19216. if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_shader_compile", 23))
  19217. {
  19218. ret = GLEW_ARB_parallel_shader_compile;
  19219. continue;
  19220. }
  19221. #endif
  19222. #ifdef GL_ARB_pipeline_statistics_query
  19223. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pipeline_statistics_query", 25))
  19224. {
  19225. ret = GLEW_ARB_pipeline_statistics_query;
  19226. continue;
  19227. }
  19228. #endif
  19229. #ifdef GL_ARB_pixel_buffer_object
  19230. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
  19231. {
  19232. ret = GLEW_ARB_pixel_buffer_object;
  19233. continue;
  19234. }
  19235. #endif
  19236. #ifdef GL_ARB_point_parameters
  19237. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
  19238. {
  19239. ret = GLEW_ARB_point_parameters;
  19240. continue;
  19241. }
  19242. #endif
  19243. #ifdef GL_ARB_point_sprite
  19244. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
  19245. {
  19246. ret = GLEW_ARB_point_sprite;
  19247. continue;
  19248. }
  19249. #endif
  19250. #ifdef GL_ARB_polygon_offset_clamp
  19251. if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset_clamp", 20))
  19252. {
  19253. ret = GLEW_ARB_polygon_offset_clamp;
  19254. continue;
  19255. }
  19256. #endif
  19257. #ifdef GL_ARB_post_depth_coverage
  19258. if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_depth_coverage", 19))
  19259. {
  19260. ret = GLEW_ARB_post_depth_coverage;
  19261. continue;
  19262. }
  19263. #endif
  19264. #ifdef GL_ARB_program_interface_query
  19265. if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_interface_query", 23))
  19266. {
  19267. ret = GLEW_ARB_program_interface_query;
  19268. continue;
  19269. }
  19270. #endif
  19271. #ifdef GL_ARB_provoking_vertex
  19272. if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
  19273. {
  19274. ret = GLEW_ARB_provoking_vertex;
  19275. continue;
  19276. }
  19277. #endif
  19278. #ifdef GL_ARB_query_buffer_object
  19279. if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
  19280. {
  19281. ret = GLEW_ARB_query_buffer_object;
  19282. continue;
  19283. }
  19284. #endif
  19285. #ifdef GL_ARB_robust_buffer_access_behavior
  19286. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29))
  19287. {
  19288. ret = GLEW_ARB_robust_buffer_access_behavior;
  19289. continue;
  19290. }
  19291. #endif
  19292. #ifdef GL_ARB_robustness
  19293. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10))
  19294. {
  19295. ret = GLEW_ARB_robustness;
  19296. continue;
  19297. }
  19298. #endif
  19299. #ifdef GL_ARB_robustness_application_isolation
  19300. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
  19301. {
  19302. ret = GLEW_ARB_robustness_application_isolation;
  19303. continue;
  19304. }
  19305. #endif
  19306. #ifdef GL_ARB_robustness_share_group_isolation
  19307. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
  19308. {
  19309. ret = GLEW_ARB_robustness_share_group_isolation;
  19310. continue;
  19311. }
  19312. #endif
  19313. #ifdef GL_ARB_sample_locations
  19314. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_locations", 16))
  19315. {
  19316. ret = GLEW_ARB_sample_locations;
  19317. continue;
  19318. }
  19319. #endif
  19320. #ifdef GL_ARB_sample_shading
  19321. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_shading", 14))
  19322. {
  19323. ret = GLEW_ARB_sample_shading;
  19324. continue;
  19325. }
  19326. #endif
  19327. #ifdef GL_ARB_sampler_objects
  19328. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sampler_objects", 15))
  19329. {
  19330. ret = GLEW_ARB_sampler_objects;
  19331. continue;
  19332. }
  19333. #endif
  19334. #ifdef GL_ARB_seamless_cube_map
  19335. if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cube_map", 17))
  19336. {
  19337. ret = GLEW_ARB_seamless_cube_map;
  19338. continue;
  19339. }
  19340. #endif
  19341. #ifdef GL_ARB_seamless_cubemap_per_texture
  19342. if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
  19343. {
  19344. ret = GLEW_ARB_seamless_cubemap_per_texture;
  19345. continue;
  19346. }
  19347. #endif
  19348. #ifdef GL_ARB_separate_shader_objects
  19349. if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
  19350. {
  19351. ret = GLEW_ARB_separate_shader_objects;
  19352. continue;
  19353. }
  19354. #endif
  19355. #ifdef GL_ARB_shader_atomic_counter_ops
  19356. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counter_ops", 25))
  19357. {
  19358. ret = GLEW_ARB_shader_atomic_counter_ops;
  19359. continue;
  19360. }
  19361. #endif
  19362. #ifdef GL_ARB_shader_atomic_counters
  19363. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
  19364. {
  19365. ret = GLEW_ARB_shader_atomic_counters;
  19366. continue;
  19367. }
  19368. #endif
  19369. #ifdef GL_ARB_shader_ballot
  19370. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_ballot", 13))
  19371. {
  19372. ret = GLEW_ARB_shader_ballot;
  19373. continue;
  19374. }
  19375. #endif
  19376. #ifdef GL_ARB_shader_bit_encoding
  19377. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_bit_encoding", 19))
  19378. {
  19379. ret = GLEW_ARB_shader_bit_encoding;
  19380. continue;
  19381. }
  19382. #endif
  19383. #ifdef GL_ARB_shader_clock
  19384. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_clock", 12))
  19385. {
  19386. ret = GLEW_ARB_shader_clock;
  19387. continue;
  19388. }
  19389. #endif
  19390. #ifdef GL_ARB_shader_draw_parameters
  19391. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_draw_parameters", 22))
  19392. {
  19393. ret = GLEW_ARB_shader_draw_parameters;
  19394. continue;
  19395. }
  19396. #endif
  19397. #ifdef GL_ARB_shader_group_vote
  19398. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_group_vote", 17))
  19399. {
  19400. ret = GLEW_ARB_shader_group_vote;
  19401. continue;
  19402. }
  19403. #endif
  19404. #ifdef GL_ARB_shader_image_load_store
  19405. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
  19406. {
  19407. ret = GLEW_ARB_shader_image_load_store;
  19408. continue;
  19409. }
  19410. #endif
  19411. #ifdef GL_ARB_shader_image_size
  19412. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_size", 17))
  19413. {
  19414. ret = GLEW_ARB_shader_image_size;
  19415. continue;
  19416. }
  19417. #endif
  19418. #ifdef GL_ARB_shader_objects
  19419. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14))
  19420. {
  19421. ret = GLEW_ARB_shader_objects;
  19422. continue;
  19423. }
  19424. #endif
  19425. #ifdef GL_ARB_shader_precision
  19426. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_precision", 16))
  19427. {
  19428. ret = GLEW_ARB_shader_precision;
  19429. continue;
  19430. }
  19431. #endif
  19432. #ifdef GL_ARB_shader_stencil_export
  19433. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
  19434. {
  19435. ret = GLEW_ARB_shader_stencil_export;
  19436. continue;
  19437. }
  19438. #endif
  19439. #ifdef GL_ARB_shader_storage_buffer_object
  19440. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
  19441. {
  19442. ret = GLEW_ARB_shader_storage_buffer_object;
  19443. continue;
  19444. }
  19445. #endif
  19446. #ifdef GL_ARB_shader_subroutine
  19447. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_subroutine", 17))
  19448. {
  19449. ret = GLEW_ARB_shader_subroutine;
  19450. continue;
  19451. }
  19452. #endif
  19453. #ifdef GL_ARB_shader_texture_image_samples
  19454. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_image_samples", 28))
  19455. {
  19456. ret = GLEW_ARB_shader_texture_image_samples;
  19457. continue;
  19458. }
  19459. #endif
  19460. #ifdef GL_ARB_shader_texture_lod
  19461. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
  19462. {
  19463. ret = GLEW_ARB_shader_texture_lod;
  19464. continue;
  19465. }
  19466. #endif
  19467. #ifdef GL_ARB_shader_viewport_layer_array
  19468. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_viewport_layer_array", 27))
  19469. {
  19470. ret = GLEW_ARB_shader_viewport_layer_array;
  19471. continue;
  19472. }
  19473. #endif
  19474. #ifdef GL_ARB_shading_language_100
  19475. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20))
  19476. {
  19477. ret = GLEW_ARB_shading_language_100;
  19478. continue;
  19479. }
  19480. #endif
  19481. #ifdef GL_ARB_shading_language_420pack
  19482. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_420pack", 24))
  19483. {
  19484. ret = GLEW_ARB_shading_language_420pack;
  19485. continue;
  19486. }
  19487. #endif
  19488. #ifdef GL_ARB_shading_language_include
  19489. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_include", 24))
  19490. {
  19491. ret = GLEW_ARB_shading_language_include;
  19492. continue;
  19493. }
  19494. #endif
  19495. #ifdef GL_ARB_shading_language_packing
  19496. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_packing", 24))
  19497. {
  19498. ret = GLEW_ARB_shading_language_packing;
  19499. continue;
  19500. }
  19501. #endif
  19502. #ifdef GL_ARB_shadow
  19503. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
  19504. {
  19505. ret = GLEW_ARB_shadow;
  19506. continue;
  19507. }
  19508. #endif
  19509. #ifdef GL_ARB_shadow_ambient
  19510. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
  19511. {
  19512. ret = GLEW_ARB_shadow_ambient;
  19513. continue;
  19514. }
  19515. #endif
  19516. #ifdef GL_ARB_sparse_buffer
  19517. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_buffer", 13))
  19518. {
  19519. ret = GLEW_ARB_sparse_buffer;
  19520. continue;
  19521. }
  19522. #endif
  19523. #ifdef GL_ARB_sparse_texture
  19524. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
  19525. {
  19526. ret = GLEW_ARB_sparse_texture;
  19527. continue;
  19528. }
  19529. #endif
  19530. #ifdef GL_ARB_sparse_texture2
  19531. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture2", 15))
  19532. {
  19533. ret = GLEW_ARB_sparse_texture2;
  19534. continue;
  19535. }
  19536. #endif
  19537. #ifdef GL_ARB_sparse_texture_clamp
  19538. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture_clamp", 20))
  19539. {
  19540. ret = GLEW_ARB_sparse_texture_clamp;
  19541. continue;
  19542. }
  19543. #endif
  19544. #ifdef GL_ARB_spirv_extensions
  19545. if (_glewStrSame3(&pos, &len, (const GLubyte*)"spirv_extensions", 16))
  19546. {
  19547. ret = GLEW_ARB_spirv_extensions;
  19548. continue;
  19549. }
  19550. #endif
  19551. #ifdef GL_ARB_stencil_texturing
  19552. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_texturing", 17))
  19553. {
  19554. ret = GLEW_ARB_stencil_texturing;
  19555. continue;
  19556. }
  19557. #endif
  19558. #ifdef GL_ARB_sync
  19559. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
  19560. {
  19561. ret = GLEW_ARB_sync;
  19562. continue;
  19563. }
  19564. #endif
  19565. #ifdef GL_ARB_tessellation_shader
  19566. if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_shader", 19))
  19567. {
  19568. ret = GLEW_ARB_tessellation_shader;
  19569. continue;
  19570. }
  19571. #endif
  19572. #ifdef GL_ARB_texture_barrier
  19573. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
  19574. {
  19575. ret = GLEW_ARB_texture_barrier;
  19576. continue;
  19577. }
  19578. #endif
  19579. #ifdef GL_ARB_texture_border_clamp
  19580. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
  19581. {
  19582. ret = GLEW_ARB_texture_border_clamp;
  19583. continue;
  19584. }
  19585. #endif
  19586. #ifdef GL_ARB_texture_buffer_object
  19587. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
  19588. {
  19589. ret = GLEW_ARB_texture_buffer_object;
  19590. continue;
  19591. }
  19592. #endif
  19593. #ifdef GL_ARB_texture_buffer_object_rgb32
  19594. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object_rgb32", 27))
  19595. {
  19596. ret = GLEW_ARB_texture_buffer_object_rgb32;
  19597. continue;
  19598. }
  19599. #endif
  19600. #ifdef GL_ARB_texture_buffer_range
  19601. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_range", 20))
  19602. {
  19603. ret = GLEW_ARB_texture_buffer_range;
  19604. continue;
  19605. }
  19606. #endif
  19607. #ifdef GL_ARB_texture_compression
  19608. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19))
  19609. {
  19610. ret = GLEW_ARB_texture_compression;
  19611. continue;
  19612. }
  19613. #endif
  19614. #ifdef GL_ARB_texture_compression_bptc
  19615. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
  19616. {
  19617. ret = GLEW_ARB_texture_compression_bptc;
  19618. continue;
  19619. }
  19620. #endif
  19621. #ifdef GL_ARB_texture_compression_rgtc
  19622. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
  19623. {
  19624. ret = GLEW_ARB_texture_compression_rgtc;
  19625. continue;
  19626. }
  19627. #endif
  19628. #ifdef GL_ARB_texture_cube_map
  19629. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
  19630. {
  19631. ret = GLEW_ARB_texture_cube_map;
  19632. continue;
  19633. }
  19634. #endif
  19635. #ifdef GL_ARB_texture_cube_map_array
  19636. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
  19637. {
  19638. ret = GLEW_ARB_texture_cube_map_array;
  19639. continue;
  19640. }
  19641. #endif
  19642. #ifdef GL_ARB_texture_env_add
  19643. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
  19644. {
  19645. ret = GLEW_ARB_texture_env_add;
  19646. continue;
  19647. }
  19648. #endif
  19649. #ifdef GL_ARB_texture_env_combine
  19650. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
  19651. {
  19652. ret = GLEW_ARB_texture_env_combine;
  19653. continue;
  19654. }
  19655. #endif
  19656. #ifdef GL_ARB_texture_env_crossbar
  19657. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20))
  19658. {
  19659. ret = GLEW_ARB_texture_env_crossbar;
  19660. continue;
  19661. }
  19662. #endif
  19663. #ifdef GL_ARB_texture_env_dot3
  19664. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
  19665. {
  19666. ret = GLEW_ARB_texture_env_dot3;
  19667. continue;
  19668. }
  19669. #endif
  19670. #ifdef GL_ARB_texture_filter_anisotropic
  19671. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
  19672. {
  19673. ret = GLEW_ARB_texture_filter_anisotropic;
  19674. continue;
  19675. }
  19676. #endif
  19677. #ifdef GL_ARB_texture_filter_minmax
  19678. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_minmax", 21))
  19679. {
  19680. ret = GLEW_ARB_texture_filter_minmax;
  19681. continue;
  19682. }
  19683. #endif
  19684. #ifdef GL_ARB_texture_float
  19685. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
  19686. {
  19687. ret = GLEW_ARB_texture_float;
  19688. continue;
  19689. }
  19690. #endif
  19691. #ifdef GL_ARB_texture_gather
  19692. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather", 14))
  19693. {
  19694. ret = GLEW_ARB_texture_gather;
  19695. continue;
  19696. }
  19697. #endif
  19698. #ifdef GL_ARB_texture_mirror_clamp_to_edge
  19699. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp_to_edge", 28))
  19700. {
  19701. ret = GLEW_ARB_texture_mirror_clamp_to_edge;
  19702. continue;
  19703. }
  19704. #endif
  19705. #ifdef GL_ARB_texture_mirrored_repeat
  19706. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
  19707. {
  19708. ret = GLEW_ARB_texture_mirrored_repeat;
  19709. continue;
  19710. }
  19711. #endif
  19712. #ifdef GL_ARB_texture_multisample
  19713. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
  19714. {
  19715. ret = GLEW_ARB_texture_multisample;
  19716. continue;
  19717. }
  19718. #endif
  19719. #ifdef GL_ARB_texture_non_power_of_two
  19720. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24))
  19721. {
  19722. ret = GLEW_ARB_texture_non_power_of_two;
  19723. continue;
  19724. }
  19725. #endif
  19726. #ifdef GL_ARB_texture_query_levels
  19727. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_levels", 20))
  19728. {
  19729. ret = GLEW_ARB_texture_query_levels;
  19730. continue;
  19731. }
  19732. #endif
  19733. #ifdef GL_ARB_texture_query_lod
  19734. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_lod", 17))
  19735. {
  19736. ret = GLEW_ARB_texture_query_lod;
  19737. continue;
  19738. }
  19739. #endif
  19740. #ifdef GL_ARB_texture_rectangle
  19741. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
  19742. {
  19743. ret = GLEW_ARB_texture_rectangle;
  19744. continue;
  19745. }
  19746. #endif
  19747. #ifdef GL_ARB_texture_rg
  19748. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
  19749. {
  19750. ret = GLEW_ARB_texture_rg;
  19751. continue;
  19752. }
  19753. #endif
  19754. #ifdef GL_ARB_texture_rgb10_a2ui
  19755. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rgb10_a2ui", 18))
  19756. {
  19757. ret = GLEW_ARB_texture_rgb10_a2ui;
  19758. continue;
  19759. }
  19760. #endif
  19761. #ifdef GL_ARB_texture_stencil8
  19762. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stencil8", 16))
  19763. {
  19764. ret = GLEW_ARB_texture_stencil8;
  19765. continue;
  19766. }
  19767. #endif
  19768. #ifdef GL_ARB_texture_storage
  19769. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15))
  19770. {
  19771. ret = GLEW_ARB_texture_storage;
  19772. continue;
  19773. }
  19774. #endif
  19775. #ifdef GL_ARB_texture_storage_multisample
  19776. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage_multisample", 27))
  19777. {
  19778. ret = GLEW_ARB_texture_storage_multisample;
  19779. continue;
  19780. }
  19781. #endif
  19782. #ifdef GL_ARB_texture_swizzle
  19783. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
  19784. {
  19785. ret = GLEW_ARB_texture_swizzle;
  19786. continue;
  19787. }
  19788. #endif
  19789. #ifdef GL_ARB_texture_view
  19790. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12))
  19791. {
  19792. ret = GLEW_ARB_texture_view;
  19793. continue;
  19794. }
  19795. #endif
  19796. #ifdef GL_ARB_timer_query
  19797. if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
  19798. {
  19799. ret = GLEW_ARB_timer_query;
  19800. continue;
  19801. }
  19802. #endif
  19803. #ifdef GL_ARB_transform_feedback2
  19804. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
  19805. {
  19806. ret = GLEW_ARB_transform_feedback2;
  19807. continue;
  19808. }
  19809. #endif
  19810. #ifdef GL_ARB_transform_feedback3
  19811. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3", 19))
  19812. {
  19813. ret = GLEW_ARB_transform_feedback3;
  19814. continue;
  19815. }
  19816. #endif
  19817. #ifdef GL_ARB_transform_feedback_instanced
  19818. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_instanced", 28))
  19819. {
  19820. ret = GLEW_ARB_transform_feedback_instanced;
  19821. continue;
  19822. }
  19823. #endif
  19824. #ifdef GL_ARB_transform_feedback_overflow_query
  19825. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_overflow_query", 33))
  19826. {
  19827. ret = GLEW_ARB_transform_feedback_overflow_query;
  19828. continue;
  19829. }
  19830. #endif
  19831. #ifdef GL_ARB_transpose_matrix
  19832. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16))
  19833. {
  19834. ret = GLEW_ARB_transpose_matrix;
  19835. continue;
  19836. }
  19837. #endif
  19838. #ifdef GL_ARB_uniform_buffer_object
  19839. if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_object", 21))
  19840. {
  19841. ret = GLEW_ARB_uniform_buffer_object;
  19842. continue;
  19843. }
  19844. #endif
  19845. #ifdef GL_ARB_vertex_array_bgra
  19846. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
  19847. {
  19848. ret = GLEW_ARB_vertex_array_bgra;
  19849. continue;
  19850. }
  19851. #endif
  19852. #ifdef GL_ARB_vertex_array_object
  19853. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
  19854. {
  19855. ret = GLEW_ARB_vertex_array_object;
  19856. continue;
  19857. }
  19858. #endif
  19859. #ifdef GL_ARB_vertex_attrib_64bit
  19860. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
  19861. {
  19862. ret = GLEW_ARB_vertex_attrib_64bit;
  19863. continue;
  19864. }
  19865. #endif
  19866. #ifdef GL_ARB_vertex_attrib_binding
  19867. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_binding", 21))
  19868. {
  19869. ret = GLEW_ARB_vertex_attrib_binding;
  19870. continue;
  19871. }
  19872. #endif
  19873. #ifdef GL_ARB_vertex_blend
  19874. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12))
  19875. {
  19876. ret = GLEW_ARB_vertex_blend;
  19877. continue;
  19878. }
  19879. #endif
  19880. #ifdef GL_ARB_vertex_buffer_object
  19881. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
  19882. {
  19883. ret = GLEW_ARB_vertex_buffer_object;
  19884. continue;
  19885. }
  19886. #endif
  19887. #ifdef GL_ARB_vertex_program
  19888. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
  19889. {
  19890. ret = GLEW_ARB_vertex_program;
  19891. continue;
  19892. }
  19893. #endif
  19894. #ifdef GL_ARB_vertex_shader
  19895. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
  19896. {
  19897. ret = GLEW_ARB_vertex_shader;
  19898. continue;
  19899. }
  19900. #endif
  19901. #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
  19902. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_10f_11f_11f_rev", 27))
  19903. {
  19904. ret = GLEW_ARB_vertex_type_10f_11f_11f_rev;
  19905. continue;
  19906. }
  19907. #endif
  19908. #ifdef GL_ARB_vertex_type_2_10_10_10_rev
  19909. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_2_10_10_10_rev", 26))
  19910. {
  19911. ret = GLEW_ARB_vertex_type_2_10_10_10_rev;
  19912. continue;
  19913. }
  19914. #endif
  19915. #ifdef GL_ARB_viewport_array
  19916. if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14))
  19917. {
  19918. ret = GLEW_ARB_viewport_array;
  19919. continue;
  19920. }
  19921. #endif
  19922. #ifdef GL_ARB_window_pos
  19923. if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
  19924. {
  19925. ret = GLEW_ARB_window_pos;
  19926. continue;
  19927. }
  19928. #endif
  19929. }
  19930. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARM_", 4))
  19931. {
  19932. #ifdef GL_ARM_mali_program_binary
  19933. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mali_program_binary", 19))
  19934. {
  19935. ret = GLEW_ARM_mali_program_binary;
  19936. continue;
  19937. }
  19938. #endif
  19939. #ifdef GL_ARM_mali_shader_binary
  19940. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mali_shader_binary", 18))
  19941. {
  19942. ret = GLEW_ARM_mali_shader_binary;
  19943. continue;
  19944. }
  19945. #endif
  19946. #ifdef GL_ARM_rgba8
  19947. if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgba8", 5))
  19948. {
  19949. ret = GLEW_ARM_rgba8;
  19950. continue;
  19951. }
  19952. #endif
  19953. #ifdef GL_ARM_shader_framebuffer_fetch
  19954. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch", 24))
  19955. {
  19956. ret = GLEW_ARM_shader_framebuffer_fetch;
  19957. continue;
  19958. }
  19959. #endif
  19960. #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
  19961. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch_depth_stencil", 38))
  19962. {
  19963. ret = GLEW_ARM_shader_framebuffer_fetch_depth_stencil;
  19964. continue;
  19965. }
  19966. #endif
  19967. }
  19968. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5))
  19969. {
  19970. #ifdef GL_ATIX_point_sprites
  19971. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13))
  19972. {
  19973. ret = GLEW_ATIX_point_sprites;
  19974. continue;
  19975. }
  19976. #endif
  19977. #ifdef GL_ATIX_texture_env_combine3
  19978. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
  19979. {
  19980. ret = GLEW_ATIX_texture_env_combine3;
  19981. continue;
  19982. }
  19983. #endif
  19984. #ifdef GL_ATIX_texture_env_route
  19985. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17))
  19986. {
  19987. ret = GLEW_ATIX_texture_env_route;
  19988. continue;
  19989. }
  19990. #endif
  19991. #ifdef GL_ATIX_vertex_shader_output_point_size
  19992. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31))
  19993. {
  19994. ret = GLEW_ATIX_vertex_shader_output_point_size;
  19995. continue;
  19996. }
  19997. #endif
  19998. }
  19999. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
  20000. {
  20001. #ifdef GL_ATI_draw_buffers
  20002. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
  20003. {
  20004. ret = GLEW_ATI_draw_buffers;
  20005. continue;
  20006. }
  20007. #endif
  20008. #ifdef GL_ATI_element_array
  20009. if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
  20010. {
  20011. ret = GLEW_ATI_element_array;
  20012. continue;
  20013. }
  20014. #endif
  20015. #ifdef GL_ATI_envmap_bumpmap
  20016. if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14))
  20017. {
  20018. ret = GLEW_ATI_envmap_bumpmap;
  20019. continue;
  20020. }
  20021. #endif
  20022. #ifdef GL_ATI_fragment_shader
  20023. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
  20024. {
  20025. ret = GLEW_ATI_fragment_shader;
  20026. continue;
  20027. }
  20028. #endif
  20029. #ifdef GL_ATI_map_object_buffer
  20030. if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17))
  20031. {
  20032. ret = GLEW_ATI_map_object_buffer;
  20033. continue;
  20034. }
  20035. #endif
  20036. #ifdef GL_ATI_meminfo
  20037. if (_glewStrSame3(&pos, &len, (const GLubyte*)"meminfo", 7))
  20038. {
  20039. ret = GLEW_ATI_meminfo;
  20040. continue;
  20041. }
  20042. #endif
  20043. #ifdef GL_ATI_pn_triangles
  20044. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12))
  20045. {
  20046. ret = GLEW_ATI_pn_triangles;
  20047. continue;
  20048. }
  20049. #endif
  20050. #ifdef GL_ATI_separate_stencil
  20051. if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16))
  20052. {
  20053. ret = GLEW_ATI_separate_stencil;
  20054. continue;
  20055. }
  20056. #endif
  20057. #ifdef GL_ATI_shader_texture_lod
  20058. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
  20059. {
  20060. ret = GLEW_ATI_shader_texture_lod;
  20061. continue;
  20062. }
  20063. #endif
  20064. #ifdef GL_ATI_text_fragment_shader
  20065. if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20))
  20066. {
  20067. ret = GLEW_ATI_text_fragment_shader;
  20068. continue;
  20069. }
  20070. #endif
  20071. #ifdef GL_ATI_texture_compression_3dc
  20072. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23))
  20073. {
  20074. ret = GLEW_ATI_texture_compression_3dc;
  20075. continue;
  20076. }
  20077. #endif
  20078. #ifdef GL_ATI_texture_env_combine3
  20079. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
  20080. {
  20081. ret = GLEW_ATI_texture_env_combine3;
  20082. continue;
  20083. }
  20084. #endif
  20085. #ifdef GL_ATI_texture_float
  20086. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
  20087. {
  20088. ret = GLEW_ATI_texture_float;
  20089. continue;
  20090. }
  20091. #endif
  20092. #ifdef GL_ATI_texture_mirror_once
  20093. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19))
  20094. {
  20095. ret = GLEW_ATI_texture_mirror_once;
  20096. continue;
  20097. }
  20098. #endif
  20099. #ifdef GL_ATI_vertex_array_object
  20100. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
  20101. {
  20102. ret = GLEW_ATI_vertex_array_object;
  20103. continue;
  20104. }
  20105. #endif
  20106. #ifdef GL_ATI_vertex_attrib_array_object
  20107. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26))
  20108. {
  20109. ret = GLEW_ATI_vertex_attrib_array_object;
  20110. continue;
  20111. }
  20112. #endif
  20113. #ifdef GL_ATI_vertex_streams
  20114. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14))
  20115. {
  20116. ret = GLEW_ATI_vertex_streams;
  20117. continue;
  20118. }
  20119. #endif
  20120. }
  20121. if (_glewStrSame2(&pos, &len, (const GLubyte*)"EGL_", 4))
  20122. {
  20123. #ifdef GL_EGL_KHR_context_flush_control
  20124. if (_glewStrSame3(&pos, &len, (const GLubyte*)"KHR_context_flush_control", 25))
  20125. {
  20126. ret = GLEW_EGL_KHR_context_flush_control;
  20127. continue;
  20128. }
  20129. #endif
  20130. #ifdef GL_EGL_NV_robustness_video_memory_purge
  20131. if (_glewStrSame3(&pos, &len, (const GLubyte*)"NV_robustness_video_memory_purge", 32))
  20132. {
  20133. ret = GLEW_EGL_NV_robustness_video_memory_purge;
  20134. continue;
  20135. }
  20136. #endif
  20137. }
  20138. if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
  20139. {
  20140. #ifdef GL_EXT_422_pixels
  20141. if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10))
  20142. {
  20143. ret = GLEW_EXT_422_pixels;
  20144. continue;
  20145. }
  20146. #endif
  20147. #ifdef GL_EXT_Cg_shader
  20148. if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9))
  20149. {
  20150. ret = GLEW_EXT_Cg_shader;
  20151. continue;
  20152. }
  20153. #endif
  20154. #ifdef GL_EXT_EGL_image_array
  20155. if (_glewStrSame3(&pos, &len, (const GLubyte*)"EGL_image_array", 15))
  20156. {
  20157. ret = GLEW_EXT_EGL_image_array;
  20158. continue;
  20159. }
  20160. #endif
  20161. #ifdef GL_EXT_YUV_target
  20162. if (_glewStrSame3(&pos, &len, (const GLubyte*)"YUV_target", 10))
  20163. {
  20164. ret = GLEW_EXT_YUV_target;
  20165. continue;
  20166. }
  20167. #endif
  20168. #ifdef GL_EXT_abgr
  20169. if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4))
  20170. {
  20171. ret = GLEW_EXT_abgr;
  20172. continue;
  20173. }
  20174. #endif
  20175. #ifdef GL_EXT_base_instance
  20176. if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13))
  20177. {
  20178. ret = GLEW_EXT_base_instance;
  20179. continue;
  20180. }
  20181. #endif
  20182. #ifdef GL_EXT_bgra
  20183. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4))
  20184. {
  20185. ret = GLEW_EXT_bgra;
  20186. continue;
  20187. }
  20188. #endif
  20189. #ifdef GL_EXT_bindable_uniform
  20190. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindable_uniform", 16))
  20191. {
  20192. ret = GLEW_EXT_bindable_uniform;
  20193. continue;
  20194. }
  20195. #endif
  20196. #ifdef GL_EXT_blend_color
  20197. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11))
  20198. {
  20199. ret = GLEW_EXT_blend_color;
  20200. continue;
  20201. }
  20202. #endif
  20203. #ifdef GL_EXT_blend_equation_separate
  20204. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23))
  20205. {
  20206. ret = GLEW_EXT_blend_equation_separate;
  20207. continue;
  20208. }
  20209. #endif
  20210. #ifdef GL_EXT_blend_func_extended
  20211. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
  20212. {
  20213. ret = GLEW_EXT_blend_func_extended;
  20214. continue;
  20215. }
  20216. #endif
  20217. #ifdef GL_EXT_blend_func_separate
  20218. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19))
  20219. {
  20220. ret = GLEW_EXT_blend_func_separate;
  20221. continue;
  20222. }
  20223. #endif
  20224. #ifdef GL_EXT_blend_logic_op
  20225. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14))
  20226. {
  20227. ret = GLEW_EXT_blend_logic_op;
  20228. continue;
  20229. }
  20230. #endif
  20231. #ifdef GL_EXT_blend_minmax
  20232. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12))
  20233. {
  20234. ret = GLEW_EXT_blend_minmax;
  20235. continue;
  20236. }
  20237. #endif
  20238. #ifdef GL_EXT_blend_subtract
  20239. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14))
  20240. {
  20241. ret = GLEW_EXT_blend_subtract;
  20242. continue;
  20243. }
  20244. #endif
  20245. #ifdef GL_EXT_buffer_storage
  20246. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_storage", 14))
  20247. {
  20248. ret = GLEW_EXT_buffer_storage;
  20249. continue;
  20250. }
  20251. #endif
  20252. #ifdef GL_EXT_clear_texture
  20253. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_texture", 13))
  20254. {
  20255. ret = GLEW_EXT_clear_texture;
  20256. continue;
  20257. }
  20258. #endif
  20259. #ifdef GL_EXT_clip_cull_distance
  20260. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_cull_distance", 18))
  20261. {
  20262. ret = GLEW_EXT_clip_cull_distance;
  20263. continue;
  20264. }
  20265. #endif
  20266. #ifdef GL_EXT_clip_volume_hint
  20267. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16))
  20268. {
  20269. ret = GLEW_EXT_clip_volume_hint;
  20270. continue;
  20271. }
  20272. #endif
  20273. #ifdef GL_EXT_cmyka
  20274. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5))
  20275. {
  20276. ret = GLEW_EXT_cmyka;
  20277. continue;
  20278. }
  20279. #endif
  20280. #ifdef GL_EXT_color_buffer_float
  20281. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
  20282. {
  20283. ret = GLEW_EXT_color_buffer_float;
  20284. continue;
  20285. }
  20286. #endif
  20287. #ifdef GL_EXT_color_buffer_half_float
  20288. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_half_float", 23))
  20289. {
  20290. ret = GLEW_EXT_color_buffer_half_float;
  20291. continue;
  20292. }
  20293. #endif
  20294. #ifdef GL_EXT_color_subtable
  20295. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14))
  20296. {
  20297. ret = GLEW_EXT_color_subtable;
  20298. continue;
  20299. }
  20300. #endif
  20301. #ifdef GL_EXT_compiled_vertex_array
  20302. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21))
  20303. {
  20304. ret = GLEW_EXT_compiled_vertex_array;
  20305. continue;
  20306. }
  20307. #endif
  20308. #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
  20309. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_ETC1_RGB8_sub_texture", 32))
  20310. {
  20311. ret = GLEW_EXT_compressed_ETC1_RGB8_sub_texture;
  20312. continue;
  20313. }
  20314. #endif
  20315. #ifdef GL_EXT_conservative_depth
  20316. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
  20317. {
  20318. ret = GLEW_EXT_conservative_depth;
  20319. continue;
  20320. }
  20321. #endif
  20322. #ifdef GL_EXT_convolution
  20323. if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11))
  20324. {
  20325. ret = GLEW_EXT_convolution;
  20326. continue;
  20327. }
  20328. #endif
  20329. #ifdef GL_EXT_coordinate_frame
  20330. if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16))
  20331. {
  20332. ret = GLEW_EXT_coordinate_frame;
  20333. continue;
  20334. }
  20335. #endif
  20336. #ifdef GL_EXT_copy_image
  20337. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
  20338. {
  20339. ret = GLEW_EXT_copy_image;
  20340. continue;
  20341. }
  20342. #endif
  20343. #ifdef GL_EXT_copy_texture
  20344. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12))
  20345. {
  20346. ret = GLEW_EXT_copy_texture;
  20347. continue;
  20348. }
  20349. #endif
  20350. #ifdef GL_EXT_cull_vertex
  20351. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
  20352. {
  20353. ret = GLEW_EXT_cull_vertex;
  20354. continue;
  20355. }
  20356. #endif
  20357. #ifdef GL_EXT_debug_label
  20358. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_label", 11))
  20359. {
  20360. ret = GLEW_EXT_debug_label;
  20361. continue;
  20362. }
  20363. #endif
  20364. #ifdef GL_EXT_debug_marker
  20365. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_marker", 12))
  20366. {
  20367. ret = GLEW_EXT_debug_marker;
  20368. continue;
  20369. }
  20370. #endif
  20371. #ifdef GL_EXT_depth_bounds_test
  20372. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17))
  20373. {
  20374. ret = GLEW_EXT_depth_bounds_test;
  20375. continue;
  20376. }
  20377. #endif
  20378. #ifdef GL_EXT_direct_state_access
  20379. if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
  20380. {
  20381. ret = GLEW_EXT_direct_state_access;
  20382. continue;
  20383. }
  20384. #endif
  20385. #ifdef GL_EXT_discard_framebuffer
  20386. if (_glewStrSame3(&pos, &len, (const GLubyte*)"discard_framebuffer", 19))
  20387. {
  20388. ret = GLEW_EXT_discard_framebuffer;
  20389. continue;
  20390. }
  20391. #endif
  20392. #ifdef GL_EXT_draw_buffers
  20393. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
  20394. {
  20395. ret = GLEW_EXT_draw_buffers;
  20396. continue;
  20397. }
  20398. #endif
  20399. #ifdef GL_EXT_draw_buffers2
  20400. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers2", 13))
  20401. {
  20402. ret = GLEW_EXT_draw_buffers2;
  20403. continue;
  20404. }
  20405. #endif
  20406. #ifdef GL_EXT_draw_buffers_indexed
  20407. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_indexed", 20))
  20408. {
  20409. ret = GLEW_EXT_draw_buffers_indexed;
  20410. continue;
  20411. }
  20412. #endif
  20413. #ifdef GL_EXT_draw_elements_base_vertex
  20414. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
  20415. {
  20416. ret = GLEW_EXT_draw_elements_base_vertex;
  20417. continue;
  20418. }
  20419. #endif
  20420. #ifdef GL_EXT_draw_instanced
  20421. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
  20422. {
  20423. ret = GLEW_EXT_draw_instanced;
  20424. continue;
  20425. }
  20426. #endif
  20427. #ifdef GL_EXT_draw_range_elements
  20428. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19))
  20429. {
  20430. ret = GLEW_EXT_draw_range_elements;
  20431. continue;
  20432. }
  20433. #endif
  20434. #ifdef GL_EXT_external_buffer
  20435. if (_glewStrSame3(&pos, &len, (const GLubyte*)"external_buffer", 15))
  20436. {
  20437. ret = GLEW_EXT_external_buffer;
  20438. continue;
  20439. }
  20440. #endif
  20441. #ifdef GL_EXT_float_blend
  20442. if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_blend", 11))
  20443. {
  20444. ret = GLEW_EXT_float_blend;
  20445. continue;
  20446. }
  20447. #endif
  20448. #ifdef GL_EXT_fog_coord
  20449. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9))
  20450. {
  20451. ret = GLEW_EXT_fog_coord;
  20452. continue;
  20453. }
  20454. #endif
  20455. #ifdef GL_EXT_frag_depth
  20456. if (_glewStrSame3(&pos, &len, (const GLubyte*)"frag_depth", 10))
  20457. {
  20458. ret = GLEW_EXT_frag_depth;
  20459. continue;
  20460. }
  20461. #endif
  20462. #ifdef GL_EXT_fragment_lighting
  20463. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17))
  20464. {
  20465. ret = GLEW_EXT_fragment_lighting;
  20466. continue;
  20467. }
  20468. #endif
  20469. #ifdef GL_EXT_framebuffer_blit
  20470. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
  20471. {
  20472. ret = GLEW_EXT_framebuffer_blit;
  20473. continue;
  20474. }
  20475. #endif
  20476. #ifdef GL_EXT_framebuffer_multisample
  20477. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
  20478. {
  20479. ret = GLEW_EXT_framebuffer_multisample;
  20480. continue;
  20481. }
  20482. #endif
  20483. #ifdef GL_EXT_framebuffer_multisample_blit_scaled
  20484. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_blit_scaled", 35))
  20485. {
  20486. ret = GLEW_EXT_framebuffer_multisample_blit_scaled;
  20487. continue;
  20488. }
  20489. #endif
  20490. #ifdef GL_EXT_framebuffer_object
  20491. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
  20492. {
  20493. ret = GLEW_EXT_framebuffer_object;
  20494. continue;
  20495. }
  20496. #endif
  20497. #ifdef GL_EXT_framebuffer_sRGB
  20498. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  20499. {
  20500. ret = GLEW_EXT_framebuffer_sRGB;
  20501. continue;
  20502. }
  20503. #endif
  20504. #ifdef GL_EXT_geometry_point_size
  20505. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_point_size", 19))
  20506. {
  20507. ret = GLEW_EXT_geometry_point_size;
  20508. continue;
  20509. }
  20510. #endif
  20511. #ifdef GL_EXT_geometry_shader
  20512. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader", 15))
  20513. {
  20514. ret = GLEW_EXT_geometry_shader;
  20515. continue;
  20516. }
  20517. #endif
  20518. #ifdef GL_EXT_geometry_shader4
  20519. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
  20520. {
  20521. ret = GLEW_EXT_geometry_shader4;
  20522. continue;
  20523. }
  20524. #endif
  20525. #ifdef GL_EXT_gpu_program_parameters
  20526. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_parameters", 22))
  20527. {
  20528. ret = GLEW_EXT_gpu_program_parameters;
  20529. continue;
  20530. }
  20531. #endif
  20532. #ifdef GL_EXT_gpu_shader4
  20533. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader4", 11))
  20534. {
  20535. ret = GLEW_EXT_gpu_shader4;
  20536. continue;
  20537. }
  20538. #endif
  20539. #ifdef GL_EXT_gpu_shader5
  20540. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
  20541. {
  20542. ret = GLEW_EXT_gpu_shader5;
  20543. continue;
  20544. }
  20545. #endif
  20546. #ifdef GL_EXT_histogram
  20547. if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9))
  20548. {
  20549. ret = GLEW_EXT_histogram;
  20550. continue;
  20551. }
  20552. #endif
  20553. #ifdef GL_EXT_index_array_formats
  20554. if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19))
  20555. {
  20556. ret = GLEW_EXT_index_array_formats;
  20557. continue;
  20558. }
  20559. #endif
  20560. #ifdef GL_EXT_index_func
  20561. if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10))
  20562. {
  20563. ret = GLEW_EXT_index_func;
  20564. continue;
  20565. }
  20566. #endif
  20567. #ifdef GL_EXT_index_material
  20568. if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14))
  20569. {
  20570. ret = GLEW_EXT_index_material;
  20571. continue;
  20572. }
  20573. #endif
  20574. #ifdef GL_EXT_index_texture
  20575. if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13))
  20576. {
  20577. ret = GLEW_EXT_index_texture;
  20578. continue;
  20579. }
  20580. #endif
  20581. #ifdef GL_EXT_instanced_arrays
  20582. if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
  20583. {
  20584. ret = GLEW_EXT_instanced_arrays;
  20585. continue;
  20586. }
  20587. #endif
  20588. #ifdef GL_EXT_light_texture
  20589. if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13))
  20590. {
  20591. ret = GLEW_EXT_light_texture;
  20592. continue;
  20593. }
  20594. #endif
  20595. #ifdef GL_EXT_map_buffer_range
  20596. if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
  20597. {
  20598. ret = GLEW_EXT_map_buffer_range;
  20599. continue;
  20600. }
  20601. #endif
  20602. #ifdef GL_EXT_memory_object
  20603. if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object", 13))
  20604. {
  20605. ret = GLEW_EXT_memory_object;
  20606. continue;
  20607. }
  20608. #endif
  20609. #ifdef GL_EXT_memory_object_fd
  20610. if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object_fd", 16))
  20611. {
  20612. ret = GLEW_EXT_memory_object_fd;
  20613. continue;
  20614. }
  20615. #endif
  20616. #ifdef GL_EXT_memory_object_win32
  20617. if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object_win32", 19))
  20618. {
  20619. ret = GLEW_EXT_memory_object_win32;
  20620. continue;
  20621. }
  20622. #endif
  20623. #ifdef GL_EXT_misc_attribute
  20624. if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14))
  20625. {
  20626. ret = GLEW_EXT_misc_attribute;
  20627. continue;
  20628. }
  20629. #endif
  20630. #ifdef GL_EXT_multi_draw_arrays
  20631. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17))
  20632. {
  20633. ret = GLEW_EXT_multi_draw_arrays;
  20634. continue;
  20635. }
  20636. #endif
  20637. #ifdef GL_EXT_multi_draw_indirect
  20638. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
  20639. {
  20640. ret = GLEW_EXT_multi_draw_indirect;
  20641. continue;
  20642. }
  20643. #endif
  20644. #ifdef GL_EXT_multiple_textures
  20645. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiple_textures", 17))
  20646. {
  20647. ret = GLEW_EXT_multiple_textures;
  20648. continue;
  20649. }
  20650. #endif
  20651. #ifdef GL_EXT_multisample
  20652. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  20653. {
  20654. ret = GLEW_EXT_multisample;
  20655. continue;
  20656. }
  20657. #endif
  20658. #ifdef GL_EXT_multisample_compatibility
  20659. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_compatibility", 25))
  20660. {
  20661. ret = GLEW_EXT_multisample_compatibility;
  20662. continue;
  20663. }
  20664. #endif
  20665. #ifdef GL_EXT_multisampled_render_to_texture
  20666. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisampled_render_to_texture", 30))
  20667. {
  20668. ret = GLEW_EXT_multisampled_render_to_texture;
  20669. continue;
  20670. }
  20671. #endif
  20672. #ifdef GL_EXT_multisampled_render_to_texture2
  20673. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisampled_render_to_texture2", 31))
  20674. {
  20675. ret = GLEW_EXT_multisampled_render_to_texture2;
  20676. continue;
  20677. }
  20678. #endif
  20679. #ifdef GL_EXT_multiview_draw_buffers
  20680. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_draw_buffers", 22))
  20681. {
  20682. ret = GLEW_EXT_multiview_draw_buffers;
  20683. continue;
  20684. }
  20685. #endif
  20686. #ifdef GL_EXT_packed_depth_stencil
  20687. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
  20688. {
  20689. ret = GLEW_EXT_packed_depth_stencil;
  20690. continue;
  20691. }
  20692. #endif
  20693. #ifdef GL_EXT_packed_float
  20694. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
  20695. {
  20696. ret = GLEW_EXT_packed_float;
  20697. continue;
  20698. }
  20699. #endif
  20700. #ifdef GL_EXT_packed_pixels
  20701. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13))
  20702. {
  20703. ret = GLEW_EXT_packed_pixels;
  20704. continue;
  20705. }
  20706. #endif
  20707. #ifdef GL_EXT_paletted_texture
  20708. if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16))
  20709. {
  20710. ret = GLEW_EXT_paletted_texture;
  20711. continue;
  20712. }
  20713. #endif
  20714. #ifdef GL_EXT_pixel_buffer_object
  20715. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
  20716. {
  20717. ret = GLEW_EXT_pixel_buffer_object;
  20718. continue;
  20719. }
  20720. #endif
  20721. #ifdef GL_EXT_pixel_transform
  20722. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15))
  20723. {
  20724. ret = GLEW_EXT_pixel_transform;
  20725. continue;
  20726. }
  20727. #endif
  20728. #ifdef GL_EXT_pixel_transform_color_table
  20729. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27))
  20730. {
  20731. ret = GLEW_EXT_pixel_transform_color_table;
  20732. continue;
  20733. }
  20734. #endif
  20735. #ifdef GL_EXT_point_parameters
  20736. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
  20737. {
  20738. ret = GLEW_EXT_point_parameters;
  20739. continue;
  20740. }
  20741. #endif
  20742. #ifdef GL_EXT_polygon_offset
  20743. if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14))
  20744. {
  20745. ret = GLEW_EXT_polygon_offset;
  20746. continue;
  20747. }
  20748. #endif
  20749. #ifdef GL_EXT_polygon_offset_clamp
  20750. if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset_clamp", 20))
  20751. {
  20752. ret = GLEW_EXT_polygon_offset_clamp;
  20753. continue;
  20754. }
  20755. #endif
  20756. #ifdef GL_EXT_post_depth_coverage
  20757. if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_depth_coverage", 19))
  20758. {
  20759. ret = GLEW_EXT_post_depth_coverage;
  20760. continue;
  20761. }
  20762. #endif
  20763. #ifdef GL_EXT_provoking_vertex
  20764. if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
  20765. {
  20766. ret = GLEW_EXT_provoking_vertex;
  20767. continue;
  20768. }
  20769. #endif
  20770. #ifdef GL_EXT_pvrtc_sRGB
  20771. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pvrtc_sRGB", 10))
  20772. {
  20773. ret = GLEW_EXT_pvrtc_sRGB;
  20774. continue;
  20775. }
  20776. #endif
  20777. #ifdef GL_EXT_raster_multisample
  20778. if (_glewStrSame3(&pos, &len, (const GLubyte*)"raster_multisample", 18))
  20779. {
  20780. ret = GLEW_EXT_raster_multisample;
  20781. continue;
  20782. }
  20783. #endif
  20784. #ifdef GL_EXT_read_format_bgra
  20785. if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_format_bgra", 16))
  20786. {
  20787. ret = GLEW_EXT_read_format_bgra;
  20788. continue;
  20789. }
  20790. #endif
  20791. #ifdef GL_EXT_render_snorm
  20792. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_snorm", 12))
  20793. {
  20794. ret = GLEW_EXT_render_snorm;
  20795. continue;
  20796. }
  20797. #endif
  20798. #ifdef GL_EXT_rescale_normal
  20799. if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14))
  20800. {
  20801. ret = GLEW_EXT_rescale_normal;
  20802. continue;
  20803. }
  20804. #endif
  20805. #ifdef GL_EXT_sRGB
  20806. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB", 4))
  20807. {
  20808. ret = GLEW_EXT_sRGB;
  20809. continue;
  20810. }
  20811. #endif
  20812. #ifdef GL_EXT_sRGB_write_control
  20813. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB_write_control", 18))
  20814. {
  20815. ret = GLEW_EXT_sRGB_write_control;
  20816. continue;
  20817. }
  20818. #endif
  20819. #ifdef GL_EXT_scene_marker
  20820. if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
  20821. {
  20822. ret = GLEW_EXT_scene_marker;
  20823. continue;
  20824. }
  20825. #endif
  20826. #ifdef GL_EXT_secondary_color
  20827. if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15))
  20828. {
  20829. ret = GLEW_EXT_secondary_color;
  20830. continue;
  20831. }
  20832. #endif
  20833. #ifdef GL_EXT_semaphore
  20834. if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore", 9))
  20835. {
  20836. ret = GLEW_EXT_semaphore;
  20837. continue;
  20838. }
  20839. #endif
  20840. #ifdef GL_EXT_semaphore_fd
  20841. if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore_fd", 12))
  20842. {
  20843. ret = GLEW_EXT_semaphore_fd;
  20844. continue;
  20845. }
  20846. #endif
  20847. #ifdef GL_EXT_semaphore_win32
  20848. if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore_win32", 15))
  20849. {
  20850. ret = GLEW_EXT_semaphore_win32;
  20851. continue;
  20852. }
  20853. #endif
  20854. #ifdef GL_EXT_separate_shader_objects
  20855. if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
  20856. {
  20857. ret = GLEW_EXT_separate_shader_objects;
  20858. continue;
  20859. }
  20860. #endif
  20861. #ifdef GL_EXT_separate_specular_color
  20862. if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23))
  20863. {
  20864. ret = GLEW_EXT_separate_specular_color;
  20865. continue;
  20866. }
  20867. #endif
  20868. #ifdef GL_EXT_shader_framebuffer_fetch
  20869. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch", 24))
  20870. {
  20871. ret = GLEW_EXT_shader_framebuffer_fetch;
  20872. continue;
  20873. }
  20874. #endif
  20875. #ifdef GL_EXT_shader_group_vote
  20876. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_group_vote", 17))
  20877. {
  20878. ret = GLEW_EXT_shader_group_vote;
  20879. continue;
  20880. }
  20881. #endif
  20882. #ifdef GL_EXT_shader_image_load_formatted
  20883. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_formatted", 27))
  20884. {
  20885. ret = GLEW_EXT_shader_image_load_formatted;
  20886. continue;
  20887. }
  20888. #endif
  20889. #ifdef GL_EXT_shader_image_load_store
  20890. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
  20891. {
  20892. ret = GLEW_EXT_shader_image_load_store;
  20893. continue;
  20894. }
  20895. #endif
  20896. #ifdef GL_EXT_shader_implicit_conversions
  20897. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_implicit_conversions", 27))
  20898. {
  20899. ret = GLEW_EXT_shader_implicit_conversions;
  20900. continue;
  20901. }
  20902. #endif
  20903. #ifdef GL_EXT_shader_integer_mix
  20904. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_integer_mix", 18))
  20905. {
  20906. ret = GLEW_EXT_shader_integer_mix;
  20907. continue;
  20908. }
  20909. #endif
  20910. #ifdef GL_EXT_shader_io_blocks
  20911. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_io_blocks", 16))
  20912. {
  20913. ret = GLEW_EXT_shader_io_blocks;
  20914. continue;
  20915. }
  20916. #endif
  20917. #ifdef GL_EXT_shader_non_constant_global_initializers
  20918. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_non_constant_global_initializers", 39))
  20919. {
  20920. ret = GLEW_EXT_shader_non_constant_global_initializers;
  20921. continue;
  20922. }
  20923. #endif
  20924. #ifdef GL_EXT_shader_pixel_local_storage
  20925. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_pixel_local_storage", 26))
  20926. {
  20927. ret = GLEW_EXT_shader_pixel_local_storage;
  20928. continue;
  20929. }
  20930. #endif
  20931. #ifdef GL_EXT_shader_pixel_local_storage2
  20932. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_pixel_local_storage2", 27))
  20933. {
  20934. ret = GLEW_EXT_shader_pixel_local_storage2;
  20935. continue;
  20936. }
  20937. #endif
  20938. #ifdef GL_EXT_shader_texture_lod
  20939. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
  20940. {
  20941. ret = GLEW_EXT_shader_texture_lod;
  20942. continue;
  20943. }
  20944. #endif
  20945. #ifdef GL_EXT_shadow_funcs
  20946. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12))
  20947. {
  20948. ret = GLEW_EXT_shadow_funcs;
  20949. continue;
  20950. }
  20951. #endif
  20952. #ifdef GL_EXT_shadow_samplers
  20953. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers", 15))
  20954. {
  20955. ret = GLEW_EXT_shadow_samplers;
  20956. continue;
  20957. }
  20958. #endif
  20959. #ifdef GL_EXT_shared_texture_palette
  20960. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22))
  20961. {
  20962. ret = GLEW_EXT_shared_texture_palette;
  20963. continue;
  20964. }
  20965. #endif
  20966. #ifdef GL_EXT_sparse_texture
  20967. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
  20968. {
  20969. ret = GLEW_EXT_sparse_texture;
  20970. continue;
  20971. }
  20972. #endif
  20973. #ifdef GL_EXT_sparse_texture2
  20974. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture2", 15))
  20975. {
  20976. ret = GLEW_EXT_sparse_texture2;
  20977. continue;
  20978. }
  20979. #endif
  20980. #ifdef GL_EXT_stencil_clear_tag
  20981. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17))
  20982. {
  20983. ret = GLEW_EXT_stencil_clear_tag;
  20984. continue;
  20985. }
  20986. #endif
  20987. #ifdef GL_EXT_stencil_two_side
  20988. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16))
  20989. {
  20990. ret = GLEW_EXT_stencil_two_side;
  20991. continue;
  20992. }
  20993. #endif
  20994. #ifdef GL_EXT_stencil_wrap
  20995. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12))
  20996. {
  20997. ret = GLEW_EXT_stencil_wrap;
  20998. continue;
  20999. }
  21000. #endif
  21001. #ifdef GL_EXT_subtexture
  21002. if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10))
  21003. {
  21004. ret = GLEW_EXT_subtexture;
  21005. continue;
  21006. }
  21007. #endif
  21008. #ifdef GL_EXT_texture
  21009. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7))
  21010. {
  21011. ret = GLEW_EXT_texture;
  21012. continue;
  21013. }
  21014. #endif
  21015. #ifdef GL_EXT_texture3D
  21016. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9))
  21017. {
  21018. ret = GLEW_EXT_texture3D;
  21019. continue;
  21020. }
  21021. #endif
  21022. #ifdef GL_EXT_texture_array
  21023. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
  21024. {
  21025. ret = GLEW_EXT_texture_array;
  21026. continue;
  21027. }
  21028. #endif
  21029. #ifdef GL_EXT_texture_buffer_object
  21030. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
  21031. {
  21032. ret = GLEW_EXT_texture_buffer_object;
  21033. continue;
  21034. }
  21035. #endif
  21036. #ifdef GL_EXT_texture_compression_astc_decode_mode
  21037. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_decode_mode", 36))
  21038. {
  21039. ret = GLEW_EXT_texture_compression_astc_decode_mode;
  21040. continue;
  21041. }
  21042. #endif
  21043. #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
  21044. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_decode_mode_rgb9e5", 43))
  21045. {
  21046. ret = GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5;
  21047. continue;
  21048. }
  21049. #endif
  21050. #ifdef GL_EXT_texture_compression_bptc
  21051. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
  21052. {
  21053. ret = GLEW_EXT_texture_compression_bptc;
  21054. continue;
  21055. }
  21056. #endif
  21057. #ifdef GL_EXT_texture_compression_dxt1
  21058. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
  21059. {
  21060. ret = GLEW_EXT_texture_compression_dxt1;
  21061. continue;
  21062. }
  21063. #endif
  21064. #ifdef GL_EXT_texture_compression_latc
  21065. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
  21066. {
  21067. ret = GLEW_EXT_texture_compression_latc;
  21068. continue;
  21069. }
  21070. #endif
  21071. #ifdef GL_EXT_texture_compression_rgtc
  21072. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
  21073. {
  21074. ret = GLEW_EXT_texture_compression_rgtc;
  21075. continue;
  21076. }
  21077. #endif
  21078. #ifdef GL_EXT_texture_compression_s3tc
  21079. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
  21080. {
  21081. ret = GLEW_EXT_texture_compression_s3tc;
  21082. continue;
  21083. }
  21084. #endif
  21085. #ifdef GL_EXT_texture_cube_map
  21086. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
  21087. {
  21088. ret = GLEW_EXT_texture_cube_map;
  21089. continue;
  21090. }
  21091. #endif
  21092. #ifdef GL_EXT_texture_cube_map_array
  21093. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
  21094. {
  21095. ret = GLEW_EXT_texture_cube_map_array;
  21096. continue;
  21097. }
  21098. #endif
  21099. #ifdef GL_EXT_texture_edge_clamp
  21100. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
  21101. {
  21102. ret = GLEW_EXT_texture_edge_clamp;
  21103. continue;
  21104. }
  21105. #endif
  21106. #ifdef GL_EXT_texture_env
  21107. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11))
  21108. {
  21109. ret = GLEW_EXT_texture_env;
  21110. continue;
  21111. }
  21112. #endif
  21113. #ifdef GL_EXT_texture_env_add
  21114. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
  21115. {
  21116. ret = GLEW_EXT_texture_env_add;
  21117. continue;
  21118. }
  21119. #endif
  21120. #ifdef GL_EXT_texture_env_combine
  21121. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
  21122. {
  21123. ret = GLEW_EXT_texture_env_combine;
  21124. continue;
  21125. }
  21126. #endif
  21127. #ifdef GL_EXT_texture_env_dot3
  21128. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
  21129. {
  21130. ret = GLEW_EXT_texture_env_dot3;
  21131. continue;
  21132. }
  21133. #endif
  21134. #ifdef GL_EXT_texture_filter_anisotropic
  21135. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
  21136. {
  21137. ret = GLEW_EXT_texture_filter_anisotropic;
  21138. continue;
  21139. }
  21140. #endif
  21141. #ifdef GL_EXT_texture_filter_minmax
  21142. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_minmax", 21))
  21143. {
  21144. ret = GLEW_EXT_texture_filter_minmax;
  21145. continue;
  21146. }
  21147. #endif
  21148. #ifdef GL_EXT_texture_format_BGRA8888
  21149. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_format_BGRA8888", 23))
  21150. {
  21151. ret = GLEW_EXT_texture_format_BGRA8888;
  21152. continue;
  21153. }
  21154. #endif
  21155. #ifdef GL_EXT_texture_integer
  21156. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_integer", 15))
  21157. {
  21158. ret = GLEW_EXT_texture_integer;
  21159. continue;
  21160. }
  21161. #endif
  21162. #ifdef GL_EXT_texture_lod_bias
  21163. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
  21164. {
  21165. ret = GLEW_EXT_texture_lod_bias;
  21166. continue;
  21167. }
  21168. #endif
  21169. #ifdef GL_EXT_texture_mirror_clamp
  21170. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20))
  21171. {
  21172. ret = GLEW_EXT_texture_mirror_clamp;
  21173. continue;
  21174. }
  21175. #endif
  21176. #ifdef GL_EXT_texture_norm16
  21177. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_norm16", 14))
  21178. {
  21179. ret = GLEW_EXT_texture_norm16;
  21180. continue;
  21181. }
  21182. #endif
  21183. #ifdef GL_EXT_texture_object
  21184. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14))
  21185. {
  21186. ret = GLEW_EXT_texture_object;
  21187. continue;
  21188. }
  21189. #endif
  21190. #ifdef GL_EXT_texture_perturb_normal
  21191. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22))
  21192. {
  21193. ret = GLEW_EXT_texture_perturb_normal;
  21194. continue;
  21195. }
  21196. #endif
  21197. #ifdef GL_EXT_texture_rectangle
  21198. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
  21199. {
  21200. ret = GLEW_EXT_texture_rectangle;
  21201. continue;
  21202. }
  21203. #endif
  21204. #ifdef GL_EXT_texture_rg
  21205. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
  21206. {
  21207. ret = GLEW_EXT_texture_rg;
  21208. continue;
  21209. }
  21210. #endif
  21211. #ifdef GL_EXT_texture_sRGB
  21212. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12))
  21213. {
  21214. ret = GLEW_EXT_texture_sRGB;
  21215. continue;
  21216. }
  21217. #endif
  21218. #ifdef GL_EXT_texture_sRGB_R8
  21219. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_R8", 15))
  21220. {
  21221. ret = GLEW_EXT_texture_sRGB_R8;
  21222. continue;
  21223. }
  21224. #endif
  21225. #ifdef GL_EXT_texture_sRGB_RG8
  21226. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_RG8", 16))
  21227. {
  21228. ret = GLEW_EXT_texture_sRGB_RG8;
  21229. continue;
  21230. }
  21231. #endif
  21232. #ifdef GL_EXT_texture_sRGB_decode
  21233. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_decode", 19))
  21234. {
  21235. ret = GLEW_EXT_texture_sRGB_decode;
  21236. continue;
  21237. }
  21238. #endif
  21239. #ifdef GL_EXT_texture_shared_exponent
  21240. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shared_exponent", 23))
  21241. {
  21242. ret = GLEW_EXT_texture_shared_exponent;
  21243. continue;
  21244. }
  21245. #endif
  21246. #ifdef GL_EXT_texture_snorm
  21247. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_snorm", 13))
  21248. {
  21249. ret = GLEW_EXT_texture_snorm;
  21250. continue;
  21251. }
  21252. #endif
  21253. #ifdef GL_EXT_texture_storage
  21254. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15))
  21255. {
  21256. ret = GLEW_EXT_texture_storage;
  21257. continue;
  21258. }
  21259. #endif
  21260. #ifdef GL_EXT_texture_swizzle
  21261. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
  21262. {
  21263. ret = GLEW_EXT_texture_swizzle;
  21264. continue;
  21265. }
  21266. #endif
  21267. #ifdef GL_EXT_texture_type_2_10_10_10_REV
  21268. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_type_2_10_10_10_REV", 27))
  21269. {
  21270. ret = GLEW_EXT_texture_type_2_10_10_10_REV;
  21271. continue;
  21272. }
  21273. #endif
  21274. #ifdef GL_EXT_texture_view
  21275. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12))
  21276. {
  21277. ret = GLEW_EXT_texture_view;
  21278. continue;
  21279. }
  21280. #endif
  21281. #ifdef GL_EXT_timer_query
  21282. if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
  21283. {
  21284. ret = GLEW_EXT_timer_query;
  21285. continue;
  21286. }
  21287. #endif
  21288. #ifdef GL_EXT_transform_feedback
  21289. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
  21290. {
  21291. ret = GLEW_EXT_transform_feedback;
  21292. continue;
  21293. }
  21294. #endif
  21295. #ifdef GL_EXT_unpack_subimage
  21296. if (_glewStrSame3(&pos, &len, (const GLubyte*)"unpack_subimage", 15))
  21297. {
  21298. ret = GLEW_EXT_unpack_subimage;
  21299. continue;
  21300. }
  21301. #endif
  21302. #ifdef GL_EXT_vertex_array
  21303. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12))
  21304. {
  21305. ret = GLEW_EXT_vertex_array;
  21306. continue;
  21307. }
  21308. #endif
  21309. #ifdef GL_EXT_vertex_array_bgra
  21310. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
  21311. {
  21312. ret = GLEW_EXT_vertex_array_bgra;
  21313. continue;
  21314. }
  21315. #endif
  21316. #ifdef GL_EXT_vertex_array_setXXX
  21317. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_setXXX", 19))
  21318. {
  21319. ret = GLEW_EXT_vertex_array_setXXX;
  21320. continue;
  21321. }
  21322. #endif
  21323. #ifdef GL_EXT_vertex_attrib_64bit
  21324. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
  21325. {
  21326. ret = GLEW_EXT_vertex_attrib_64bit;
  21327. continue;
  21328. }
  21329. #endif
  21330. #ifdef GL_EXT_vertex_shader
  21331. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
  21332. {
  21333. ret = GLEW_EXT_vertex_shader;
  21334. continue;
  21335. }
  21336. #endif
  21337. #ifdef GL_EXT_vertex_weighting
  21338. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16))
  21339. {
  21340. ret = GLEW_EXT_vertex_weighting;
  21341. continue;
  21342. }
  21343. #endif
  21344. #ifdef GL_EXT_win32_keyed_mutex
  21345. if (_glewStrSame3(&pos, &len, (const GLubyte*)"win32_keyed_mutex", 17))
  21346. {
  21347. ret = GLEW_EXT_win32_keyed_mutex;
  21348. continue;
  21349. }
  21350. #endif
  21351. #ifdef GL_EXT_window_rectangles
  21352. if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_rectangles", 17))
  21353. {
  21354. ret = GLEW_EXT_window_rectangles;
  21355. continue;
  21356. }
  21357. #endif
  21358. #ifdef GL_EXT_x11_sync_object
  21359. if (_glewStrSame3(&pos, &len, (const GLubyte*)"x11_sync_object", 15))
  21360. {
  21361. ret = GLEW_EXT_x11_sync_object;
  21362. continue;
  21363. }
  21364. #endif
  21365. }
  21366. if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8))
  21367. {
  21368. #ifdef GL_GREMEDY_frame_terminator
  21369. if (_glewStrSame3(&pos, &len, (const GLubyte*)"frame_terminator", 16))
  21370. {
  21371. ret = GLEW_GREMEDY_frame_terminator;
  21372. continue;
  21373. }
  21374. #endif
  21375. #ifdef GL_GREMEDY_string_marker
  21376. if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13))
  21377. {
  21378. ret = GLEW_GREMEDY_string_marker;
  21379. continue;
  21380. }
  21381. #endif
  21382. }
  21383. if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3))
  21384. {
  21385. #ifdef GL_HP_convolution_border_modes
  21386. if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
  21387. {
  21388. ret = GLEW_HP_convolution_border_modes;
  21389. continue;
  21390. }
  21391. #endif
  21392. #ifdef GL_HP_image_transform
  21393. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15))
  21394. {
  21395. ret = GLEW_HP_image_transform;
  21396. continue;
  21397. }
  21398. #endif
  21399. #ifdef GL_HP_occlusion_test
  21400. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14))
  21401. {
  21402. ret = GLEW_HP_occlusion_test;
  21403. continue;
  21404. }
  21405. #endif
  21406. #ifdef GL_HP_texture_lighting
  21407. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16))
  21408. {
  21409. ret = GLEW_HP_texture_lighting;
  21410. continue;
  21411. }
  21412. #endif
  21413. }
  21414. if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4))
  21415. {
  21416. #ifdef GL_IBM_cull_vertex
  21417. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
  21418. {
  21419. ret = GLEW_IBM_cull_vertex;
  21420. continue;
  21421. }
  21422. #endif
  21423. #ifdef GL_IBM_multimode_draw_arrays
  21424. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21))
  21425. {
  21426. ret = GLEW_IBM_multimode_draw_arrays;
  21427. continue;
  21428. }
  21429. #endif
  21430. #ifdef GL_IBM_rasterpos_clip
  21431. if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14))
  21432. {
  21433. ret = GLEW_IBM_rasterpos_clip;
  21434. continue;
  21435. }
  21436. #endif
  21437. #ifdef GL_IBM_static_data
  21438. if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11))
  21439. {
  21440. ret = GLEW_IBM_static_data;
  21441. continue;
  21442. }
  21443. #endif
  21444. #ifdef GL_IBM_texture_mirrored_repeat
  21445. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
  21446. {
  21447. ret = GLEW_IBM_texture_mirrored_repeat;
  21448. continue;
  21449. }
  21450. #endif
  21451. #ifdef GL_IBM_vertex_array_lists
  21452. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18))
  21453. {
  21454. ret = GLEW_IBM_vertex_array_lists;
  21455. continue;
  21456. }
  21457. #endif
  21458. }
  21459. if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5))
  21460. {
  21461. #ifdef GL_INGR_color_clamp
  21462. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11))
  21463. {
  21464. ret = GLEW_INGR_color_clamp;
  21465. continue;
  21466. }
  21467. #endif
  21468. #ifdef GL_INGR_interlace_read
  21469. if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14))
  21470. {
  21471. ret = GLEW_INGR_interlace_read;
  21472. continue;
  21473. }
  21474. #endif
  21475. }
  21476. if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
  21477. {
  21478. #ifdef GL_INTEL_conservative_rasterization
  21479. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_rasterization", 26))
  21480. {
  21481. ret = GLEW_INTEL_conservative_rasterization;
  21482. continue;
  21483. }
  21484. #endif
  21485. #ifdef GL_INTEL_fragment_shader_ordering
  21486. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_ordering", 24))
  21487. {
  21488. ret = GLEW_INTEL_fragment_shader_ordering;
  21489. continue;
  21490. }
  21491. #endif
  21492. #ifdef GL_INTEL_framebuffer_CMAA
  21493. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_CMAA", 16))
  21494. {
  21495. ret = GLEW_INTEL_framebuffer_CMAA;
  21496. continue;
  21497. }
  21498. #endif
  21499. #ifdef GL_INTEL_map_texture
  21500. if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_texture", 11))
  21501. {
  21502. ret = GLEW_INTEL_map_texture;
  21503. continue;
  21504. }
  21505. #endif
  21506. #ifdef GL_INTEL_parallel_arrays
  21507. if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15))
  21508. {
  21509. ret = GLEW_INTEL_parallel_arrays;
  21510. continue;
  21511. }
  21512. #endif
  21513. #ifdef GL_INTEL_performance_query
  21514. if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_query", 17))
  21515. {
  21516. ret = GLEW_INTEL_performance_query;
  21517. continue;
  21518. }
  21519. #endif
  21520. #ifdef GL_INTEL_texture_scissor
  21521. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15))
  21522. {
  21523. ret = GLEW_INTEL_texture_scissor;
  21524. continue;
  21525. }
  21526. #endif
  21527. }
  21528. if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4))
  21529. {
  21530. #ifdef GL_KHR_blend_equation_advanced
  21531. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced", 23))
  21532. {
  21533. ret = GLEW_KHR_blend_equation_advanced;
  21534. continue;
  21535. }
  21536. #endif
  21537. #ifdef GL_KHR_blend_equation_advanced_coherent
  21538. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_coherent", 32))
  21539. {
  21540. ret = GLEW_KHR_blend_equation_advanced_coherent;
  21541. continue;
  21542. }
  21543. #endif
  21544. #ifdef GL_KHR_context_flush_control
  21545. if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
  21546. {
  21547. ret = GLEW_KHR_context_flush_control;
  21548. continue;
  21549. }
  21550. #endif
  21551. #ifdef GL_KHR_debug
  21552. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5))
  21553. {
  21554. ret = GLEW_KHR_debug;
  21555. continue;
  21556. }
  21557. #endif
  21558. #ifdef GL_KHR_no_error
  21559. if (_glewStrSame3(&pos, &len, (const GLubyte*)"no_error", 8))
  21560. {
  21561. ret = GLEW_KHR_no_error;
  21562. continue;
  21563. }
  21564. #endif
  21565. #ifdef GL_KHR_parallel_shader_compile
  21566. if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_shader_compile", 23))
  21567. {
  21568. ret = GLEW_KHR_parallel_shader_compile;
  21569. continue;
  21570. }
  21571. #endif
  21572. #ifdef GL_KHR_robust_buffer_access_behavior
  21573. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29))
  21574. {
  21575. ret = GLEW_KHR_robust_buffer_access_behavior;
  21576. continue;
  21577. }
  21578. #endif
  21579. #ifdef GL_KHR_robustness
  21580. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10))
  21581. {
  21582. ret = GLEW_KHR_robustness;
  21583. continue;
  21584. }
  21585. #endif
  21586. #ifdef GL_KHR_texture_compression_astc_hdr
  21587. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_hdr", 28))
  21588. {
  21589. ret = GLEW_KHR_texture_compression_astc_hdr;
  21590. continue;
  21591. }
  21592. #endif
  21593. #ifdef GL_KHR_texture_compression_astc_ldr
  21594. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_ldr", 28))
  21595. {
  21596. ret = GLEW_KHR_texture_compression_astc_ldr;
  21597. continue;
  21598. }
  21599. #endif
  21600. #ifdef GL_KHR_texture_compression_astc_sliced_3d
  21601. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_sliced_3d", 34))
  21602. {
  21603. ret = GLEW_KHR_texture_compression_astc_sliced_3d;
  21604. continue;
  21605. }
  21606. #endif
  21607. }
  21608. if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4))
  21609. {
  21610. #ifdef GL_KTX_buffer_region
  21611. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
  21612. {
  21613. ret = GLEW_KTX_buffer_region;
  21614. continue;
  21615. }
  21616. #endif
  21617. }
  21618. if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6))
  21619. {
  21620. #ifdef GL_MESAX_texture_stack
  21621. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13))
  21622. {
  21623. ret = GLEW_MESAX_texture_stack;
  21624. continue;
  21625. }
  21626. #endif
  21627. }
  21628. if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
  21629. {
  21630. #ifdef GL_MESA_pack_invert
  21631. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11))
  21632. {
  21633. ret = GLEW_MESA_pack_invert;
  21634. continue;
  21635. }
  21636. #endif
  21637. #ifdef GL_MESA_resize_buffers
  21638. if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14))
  21639. {
  21640. ret = GLEW_MESA_resize_buffers;
  21641. continue;
  21642. }
  21643. #endif
  21644. #ifdef GL_MESA_shader_integer_functions
  21645. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_integer_functions", 24))
  21646. {
  21647. ret = GLEW_MESA_shader_integer_functions;
  21648. continue;
  21649. }
  21650. #endif
  21651. #ifdef GL_MESA_window_pos
  21652. if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
  21653. {
  21654. ret = GLEW_MESA_window_pos;
  21655. continue;
  21656. }
  21657. #endif
  21658. #ifdef GL_MESA_ycbcr_texture
  21659. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13))
  21660. {
  21661. ret = GLEW_MESA_ycbcr_texture;
  21662. continue;
  21663. }
  21664. #endif
  21665. }
  21666. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4))
  21667. {
  21668. #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
  21669. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_multi_draw_buffers", 42))
  21670. {
  21671. ret = GLEW_NVX_blend_equation_advanced_multi_draw_buffers;
  21672. continue;
  21673. }
  21674. #endif
  21675. #ifdef GL_NVX_conditional_render
  21676. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
  21677. {
  21678. ret = GLEW_NVX_conditional_render;
  21679. continue;
  21680. }
  21681. #endif
  21682. #ifdef GL_NVX_gpu_memory_info
  21683. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_memory_info", 15))
  21684. {
  21685. ret = GLEW_NVX_gpu_memory_info;
  21686. continue;
  21687. }
  21688. #endif
  21689. #ifdef GL_NVX_linked_gpu_multicast
  21690. if (_glewStrSame3(&pos, &len, (const GLubyte*)"linked_gpu_multicast", 20))
  21691. {
  21692. ret = GLEW_NVX_linked_gpu_multicast;
  21693. continue;
  21694. }
  21695. #endif
  21696. }
  21697. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
  21698. {
  21699. #ifdef GL_NV_3dvision_settings
  21700. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3dvision_settings", 17))
  21701. {
  21702. ret = GLEW_NV_3dvision_settings;
  21703. continue;
  21704. }
  21705. #endif
  21706. #ifdef GL_NV_EGL_stream_consumer_external
  21707. if (_glewStrSame3(&pos, &len, (const GLubyte*)"EGL_stream_consumer_external", 28))
  21708. {
  21709. ret = GLEW_NV_EGL_stream_consumer_external;
  21710. continue;
  21711. }
  21712. #endif
  21713. #ifdef GL_NV_alpha_to_coverage_dither_control
  21714. if (_glewStrSame3(&pos, &len, (const GLubyte*)"alpha_to_coverage_dither_control", 32))
  21715. {
  21716. ret = GLEW_NV_alpha_to_coverage_dither_control;
  21717. continue;
  21718. }
  21719. #endif
  21720. #ifdef GL_NV_bgr
  21721. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgr", 3))
  21722. {
  21723. ret = GLEW_NV_bgr;
  21724. continue;
  21725. }
  21726. #endif
  21727. #ifdef GL_NV_bindless_multi_draw_indirect
  21728. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_multi_draw_indirect", 28))
  21729. {
  21730. ret = GLEW_NV_bindless_multi_draw_indirect;
  21731. continue;
  21732. }
  21733. #endif
  21734. #ifdef GL_NV_bindless_multi_draw_indirect_count
  21735. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_multi_draw_indirect_count", 34))
  21736. {
  21737. ret = GLEW_NV_bindless_multi_draw_indirect_count;
  21738. continue;
  21739. }
  21740. #endif
  21741. #ifdef GL_NV_bindless_texture
  21742. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
  21743. {
  21744. ret = GLEW_NV_bindless_texture;
  21745. continue;
  21746. }
  21747. #endif
  21748. #ifdef GL_NV_blend_equation_advanced
  21749. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced", 23))
  21750. {
  21751. ret = GLEW_NV_blend_equation_advanced;
  21752. continue;
  21753. }
  21754. #endif
  21755. #ifdef GL_NV_blend_equation_advanced_coherent
  21756. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_coherent", 32))
  21757. {
  21758. ret = GLEW_NV_blend_equation_advanced_coherent;
  21759. continue;
  21760. }
  21761. #endif
  21762. #ifdef GL_NV_blend_minmax_factor
  21763. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19))
  21764. {
  21765. ret = GLEW_NV_blend_minmax_factor;
  21766. continue;
  21767. }
  21768. #endif
  21769. #ifdef GL_NV_blend_square
  21770. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12))
  21771. {
  21772. ret = GLEW_NV_blend_square;
  21773. continue;
  21774. }
  21775. #endif
  21776. #ifdef GL_NV_clip_space_w_scaling
  21777. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_space_w_scaling", 20))
  21778. {
  21779. ret = GLEW_NV_clip_space_w_scaling;
  21780. continue;
  21781. }
  21782. #endif
  21783. #ifdef GL_NV_command_list
  21784. if (_glewStrSame3(&pos, &len, (const GLubyte*)"command_list", 12))
  21785. {
  21786. ret = GLEW_NV_command_list;
  21787. continue;
  21788. }
  21789. #endif
  21790. #ifdef GL_NV_compute_program5
  21791. if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_program5", 16))
  21792. {
  21793. ret = GLEW_NV_compute_program5;
  21794. continue;
  21795. }
  21796. #endif
  21797. #ifdef GL_NV_conditional_render
  21798. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
  21799. {
  21800. ret = GLEW_NV_conditional_render;
  21801. continue;
  21802. }
  21803. #endif
  21804. #ifdef GL_NV_conservative_raster
  21805. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster", 19))
  21806. {
  21807. ret = GLEW_NV_conservative_raster;
  21808. continue;
  21809. }
  21810. #endif
  21811. #ifdef GL_NV_conservative_raster_dilate
  21812. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster_dilate", 26))
  21813. {
  21814. ret = GLEW_NV_conservative_raster_dilate;
  21815. continue;
  21816. }
  21817. #endif
  21818. #ifdef GL_NV_conservative_raster_pre_snap_triangles
  21819. if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster_pre_snap_triangles", 38))
  21820. {
  21821. ret = GLEW_NV_conservative_raster_pre_snap_triangles;
  21822. continue;
  21823. }
  21824. #endif
  21825. #ifdef GL_NV_copy_buffer
  21826. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
  21827. {
  21828. ret = GLEW_NV_copy_buffer;
  21829. continue;
  21830. }
  21831. #endif
  21832. #ifdef GL_NV_copy_depth_to_color
  21833. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19))
  21834. {
  21835. ret = GLEW_NV_copy_depth_to_color;
  21836. continue;
  21837. }
  21838. #endif
  21839. #ifdef GL_NV_copy_image
  21840. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
  21841. {
  21842. ret = GLEW_NV_copy_image;
  21843. continue;
  21844. }
  21845. #endif
  21846. #ifdef GL_NV_deep_texture3D
  21847. if (_glewStrSame3(&pos, &len, (const GLubyte*)"deep_texture3D", 14))
  21848. {
  21849. ret = GLEW_NV_deep_texture3D;
  21850. continue;
  21851. }
  21852. #endif
  21853. #ifdef GL_NV_depth_buffer_float
  21854. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
  21855. {
  21856. ret = GLEW_NV_depth_buffer_float;
  21857. continue;
  21858. }
  21859. #endif
  21860. #ifdef GL_NV_depth_clamp
  21861. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
  21862. {
  21863. ret = GLEW_NV_depth_clamp;
  21864. continue;
  21865. }
  21866. #endif
  21867. #ifdef GL_NV_depth_range_unclamped
  21868. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_range_unclamped", 21))
  21869. {
  21870. ret = GLEW_NV_depth_range_unclamped;
  21871. continue;
  21872. }
  21873. #endif
  21874. #ifdef GL_NV_draw_buffers
  21875. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
  21876. {
  21877. ret = GLEW_NV_draw_buffers;
  21878. continue;
  21879. }
  21880. #endif
  21881. #ifdef GL_NV_draw_instanced
  21882. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
  21883. {
  21884. ret = GLEW_NV_draw_instanced;
  21885. continue;
  21886. }
  21887. #endif
  21888. #ifdef GL_NV_draw_texture
  21889. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_texture", 12))
  21890. {
  21891. ret = GLEW_NV_draw_texture;
  21892. continue;
  21893. }
  21894. #endif
  21895. #ifdef GL_NV_draw_vulkan_image
  21896. if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_vulkan_image", 17))
  21897. {
  21898. ret = GLEW_NV_draw_vulkan_image;
  21899. continue;
  21900. }
  21901. #endif
  21902. #ifdef GL_NV_evaluators
  21903. if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10))
  21904. {
  21905. ret = GLEW_NV_evaluators;
  21906. continue;
  21907. }
  21908. #endif
  21909. #ifdef GL_NV_explicit_attrib_location
  21910. if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
  21911. {
  21912. ret = GLEW_NV_explicit_attrib_location;
  21913. continue;
  21914. }
  21915. #endif
  21916. #ifdef GL_NV_explicit_multisample
  21917. if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_multisample", 20))
  21918. {
  21919. ret = GLEW_NV_explicit_multisample;
  21920. continue;
  21921. }
  21922. #endif
  21923. #ifdef GL_NV_fbo_color_attachments
  21924. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbo_color_attachments", 21))
  21925. {
  21926. ret = GLEW_NV_fbo_color_attachments;
  21927. continue;
  21928. }
  21929. #endif
  21930. #ifdef GL_NV_fence
  21931. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
  21932. {
  21933. ret = GLEW_NV_fence;
  21934. continue;
  21935. }
  21936. #endif
  21937. #ifdef GL_NV_fill_rectangle
  21938. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fill_rectangle", 14))
  21939. {
  21940. ret = GLEW_NV_fill_rectangle;
  21941. continue;
  21942. }
  21943. #endif
  21944. #ifdef GL_NV_float_buffer
  21945. if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
  21946. {
  21947. ret = GLEW_NV_float_buffer;
  21948. continue;
  21949. }
  21950. #endif
  21951. #ifdef GL_NV_fog_distance
  21952. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12))
  21953. {
  21954. ret = GLEW_NV_fog_distance;
  21955. continue;
  21956. }
  21957. #endif
  21958. #ifdef GL_NV_fragment_coverage_to_color
  21959. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coverage_to_color", 26))
  21960. {
  21961. ret = GLEW_NV_fragment_coverage_to_color;
  21962. continue;
  21963. }
  21964. #endif
  21965. #ifdef GL_NV_fragment_program
  21966. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
  21967. {
  21968. ret = GLEW_NV_fragment_program;
  21969. continue;
  21970. }
  21971. #endif
  21972. #ifdef GL_NV_fragment_program2
  21973. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17))
  21974. {
  21975. ret = GLEW_NV_fragment_program2;
  21976. continue;
  21977. }
  21978. #endif
  21979. #ifdef GL_NV_fragment_program4
  21980. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program4", 17))
  21981. {
  21982. ret = GLEW_NV_fragment_program4;
  21983. continue;
  21984. }
  21985. #endif
  21986. #ifdef GL_NV_fragment_program_option
  21987. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23))
  21988. {
  21989. ret = GLEW_NV_fragment_program_option;
  21990. continue;
  21991. }
  21992. #endif
  21993. #ifdef GL_NV_fragment_shader_interlock
  21994. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_interlock", 25))
  21995. {
  21996. ret = GLEW_NV_fragment_shader_interlock;
  21997. continue;
  21998. }
  21999. #endif
  22000. #ifdef GL_NV_framebuffer_blit
  22001. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
  22002. {
  22003. ret = GLEW_NV_framebuffer_blit;
  22004. continue;
  22005. }
  22006. #endif
  22007. #ifdef GL_NV_framebuffer_mixed_samples
  22008. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_mixed_samples", 25))
  22009. {
  22010. ret = GLEW_NV_framebuffer_mixed_samples;
  22011. continue;
  22012. }
  22013. #endif
  22014. #ifdef GL_NV_framebuffer_multisample
  22015. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
  22016. {
  22017. ret = GLEW_NV_framebuffer_multisample;
  22018. continue;
  22019. }
  22020. #endif
  22021. #ifdef GL_NV_framebuffer_multisample_coverage
  22022. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_coverage", 32))
  22023. {
  22024. ret = GLEW_NV_framebuffer_multisample_coverage;
  22025. continue;
  22026. }
  22027. #endif
  22028. #ifdef GL_NV_generate_mipmap_sRGB
  22029. if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap_sRGB", 20))
  22030. {
  22031. ret = GLEW_NV_generate_mipmap_sRGB;
  22032. continue;
  22033. }
  22034. #endif
  22035. #ifdef GL_NV_geometry_program4
  22036. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_program4", 17))
  22037. {
  22038. ret = GLEW_NV_geometry_program4;
  22039. continue;
  22040. }
  22041. #endif
  22042. #ifdef GL_NV_geometry_shader4
  22043. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
  22044. {
  22045. ret = GLEW_NV_geometry_shader4;
  22046. continue;
  22047. }
  22048. #endif
  22049. #ifdef GL_NV_geometry_shader_passthrough
  22050. if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader_passthrough", 27))
  22051. {
  22052. ret = GLEW_NV_geometry_shader_passthrough;
  22053. continue;
  22054. }
  22055. #endif
  22056. #ifdef GL_NV_gpu_multicast
  22057. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_multicast", 13))
  22058. {
  22059. ret = GLEW_NV_gpu_multicast;
  22060. continue;
  22061. }
  22062. #endif
  22063. #ifdef GL_NV_gpu_program4
  22064. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12))
  22065. {
  22066. ret = GLEW_NV_gpu_program4;
  22067. continue;
  22068. }
  22069. #endif
  22070. #ifdef GL_NV_gpu_program5
  22071. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5", 12))
  22072. {
  22073. ret = GLEW_NV_gpu_program5;
  22074. continue;
  22075. }
  22076. #endif
  22077. #ifdef GL_NV_gpu_program5_mem_extended
  22078. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5_mem_extended", 25))
  22079. {
  22080. ret = GLEW_NV_gpu_program5_mem_extended;
  22081. continue;
  22082. }
  22083. #endif
  22084. #ifdef GL_NV_gpu_program_fp64
  22085. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_fp64", 16))
  22086. {
  22087. ret = GLEW_NV_gpu_program_fp64;
  22088. continue;
  22089. }
  22090. #endif
  22091. #ifdef GL_NV_gpu_shader5
  22092. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
  22093. {
  22094. ret = GLEW_NV_gpu_shader5;
  22095. continue;
  22096. }
  22097. #endif
  22098. #ifdef GL_NV_half_float
  22099. if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10))
  22100. {
  22101. ret = GLEW_NV_half_float;
  22102. continue;
  22103. }
  22104. #endif
  22105. #ifdef GL_NV_image_formats
  22106. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_formats", 13))
  22107. {
  22108. ret = GLEW_NV_image_formats;
  22109. continue;
  22110. }
  22111. #endif
  22112. #ifdef GL_NV_instanced_arrays
  22113. if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
  22114. {
  22115. ret = GLEW_NV_instanced_arrays;
  22116. continue;
  22117. }
  22118. #endif
  22119. #ifdef GL_NV_internalformat_sample_query
  22120. if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_sample_query", 27))
  22121. {
  22122. ret = GLEW_NV_internalformat_sample_query;
  22123. continue;
  22124. }
  22125. #endif
  22126. #ifdef GL_NV_light_max_exponent
  22127. if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18))
  22128. {
  22129. ret = GLEW_NV_light_max_exponent;
  22130. continue;
  22131. }
  22132. #endif
  22133. #ifdef GL_NV_multisample_coverage
  22134. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
  22135. {
  22136. ret = GLEW_NV_multisample_coverage;
  22137. continue;
  22138. }
  22139. #endif
  22140. #ifdef GL_NV_multisample_filter_hint
  22141. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23))
  22142. {
  22143. ret = GLEW_NV_multisample_filter_hint;
  22144. continue;
  22145. }
  22146. #endif
  22147. #ifdef GL_NV_non_square_matrices
  22148. if (_glewStrSame3(&pos, &len, (const GLubyte*)"non_square_matrices", 19))
  22149. {
  22150. ret = GLEW_NV_non_square_matrices;
  22151. continue;
  22152. }
  22153. #endif
  22154. #ifdef GL_NV_occlusion_query
  22155. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
  22156. {
  22157. ret = GLEW_NV_occlusion_query;
  22158. continue;
  22159. }
  22160. #endif
  22161. #ifdef GL_NV_pack_subimage
  22162. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_subimage", 13))
  22163. {
  22164. ret = GLEW_NV_pack_subimage;
  22165. continue;
  22166. }
  22167. #endif
  22168. #ifdef GL_NV_packed_depth_stencil
  22169. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
  22170. {
  22171. ret = GLEW_NV_packed_depth_stencil;
  22172. continue;
  22173. }
  22174. #endif
  22175. #ifdef GL_NV_packed_float
  22176. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
  22177. {
  22178. ret = GLEW_NV_packed_float;
  22179. continue;
  22180. }
  22181. #endif
  22182. #ifdef GL_NV_packed_float_linear
  22183. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float_linear", 19))
  22184. {
  22185. ret = GLEW_NV_packed_float_linear;
  22186. continue;
  22187. }
  22188. #endif
  22189. #ifdef GL_NV_parameter_buffer_object
  22190. if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object", 23))
  22191. {
  22192. ret = GLEW_NV_parameter_buffer_object;
  22193. continue;
  22194. }
  22195. #endif
  22196. #ifdef GL_NV_parameter_buffer_object2
  22197. if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object2", 24))
  22198. {
  22199. ret = GLEW_NV_parameter_buffer_object2;
  22200. continue;
  22201. }
  22202. #endif
  22203. #ifdef GL_NV_path_rendering
  22204. if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering", 14))
  22205. {
  22206. ret = GLEW_NV_path_rendering;
  22207. continue;
  22208. }
  22209. #endif
  22210. #ifdef GL_NV_path_rendering_shared_edge
  22211. if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering_shared_edge", 26))
  22212. {
  22213. ret = GLEW_NV_path_rendering_shared_edge;
  22214. continue;
  22215. }
  22216. #endif
  22217. #ifdef GL_NV_pixel_buffer_object
  22218. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
  22219. {
  22220. ret = GLEW_NV_pixel_buffer_object;
  22221. continue;
  22222. }
  22223. #endif
  22224. #ifdef GL_NV_pixel_data_range
  22225. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16))
  22226. {
  22227. ret = GLEW_NV_pixel_data_range;
  22228. continue;
  22229. }
  22230. #endif
  22231. #ifdef GL_NV_platform_binary
  22232. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_binary", 15))
  22233. {
  22234. ret = GLEW_NV_platform_binary;
  22235. continue;
  22236. }
  22237. #endif
  22238. #ifdef GL_NV_point_sprite
  22239. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
  22240. {
  22241. ret = GLEW_NV_point_sprite;
  22242. continue;
  22243. }
  22244. #endif
  22245. #ifdef GL_NV_polygon_mode
  22246. if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_mode", 12))
  22247. {
  22248. ret = GLEW_NV_polygon_mode;
  22249. continue;
  22250. }
  22251. #endif
  22252. #ifdef GL_NV_present_video
  22253. if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
  22254. {
  22255. ret = GLEW_NV_present_video;
  22256. continue;
  22257. }
  22258. #endif
  22259. #ifdef GL_NV_primitive_restart
  22260. if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17))
  22261. {
  22262. ret = GLEW_NV_primitive_restart;
  22263. continue;
  22264. }
  22265. #endif
  22266. #ifdef GL_NV_read_depth
  22267. if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_depth", 10))
  22268. {
  22269. ret = GLEW_NV_read_depth;
  22270. continue;
  22271. }
  22272. #endif
  22273. #ifdef GL_NV_read_depth_stencil
  22274. if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_depth_stencil", 18))
  22275. {
  22276. ret = GLEW_NV_read_depth_stencil;
  22277. continue;
  22278. }
  22279. #endif
  22280. #ifdef GL_NV_read_stencil
  22281. if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_stencil", 12))
  22282. {
  22283. ret = GLEW_NV_read_stencil;
  22284. continue;
  22285. }
  22286. #endif
  22287. #ifdef GL_NV_register_combiners
  22288. if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18))
  22289. {
  22290. ret = GLEW_NV_register_combiners;
  22291. continue;
  22292. }
  22293. #endif
  22294. #ifdef GL_NV_register_combiners2
  22295. if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19))
  22296. {
  22297. ret = GLEW_NV_register_combiners2;
  22298. continue;
  22299. }
  22300. #endif
  22301. #ifdef GL_NV_robustness_video_memory_purge
  22302. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
  22303. {
  22304. ret = GLEW_NV_robustness_video_memory_purge;
  22305. continue;
  22306. }
  22307. #endif
  22308. #ifdef GL_NV_sRGB_formats
  22309. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB_formats", 12))
  22310. {
  22311. ret = GLEW_NV_sRGB_formats;
  22312. continue;
  22313. }
  22314. #endif
  22315. #ifdef GL_NV_sample_locations
  22316. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_locations", 16))
  22317. {
  22318. ret = GLEW_NV_sample_locations;
  22319. continue;
  22320. }
  22321. #endif
  22322. #ifdef GL_NV_sample_mask_override_coverage
  22323. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_mask_override_coverage", 29))
  22324. {
  22325. ret = GLEW_NV_sample_mask_override_coverage;
  22326. continue;
  22327. }
  22328. #endif
  22329. #ifdef GL_NV_shader_atomic_counters
  22330. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
  22331. {
  22332. ret = GLEW_NV_shader_atomic_counters;
  22333. continue;
  22334. }
  22335. #endif
  22336. #ifdef GL_NV_shader_atomic_float
  22337. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float", 19))
  22338. {
  22339. ret = GLEW_NV_shader_atomic_float;
  22340. continue;
  22341. }
  22342. #endif
  22343. #ifdef GL_NV_shader_atomic_float64
  22344. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float64", 21))
  22345. {
  22346. ret = GLEW_NV_shader_atomic_float64;
  22347. continue;
  22348. }
  22349. #endif
  22350. #ifdef GL_NV_shader_atomic_fp16_vector
  22351. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_fp16_vector", 25))
  22352. {
  22353. ret = GLEW_NV_shader_atomic_fp16_vector;
  22354. continue;
  22355. }
  22356. #endif
  22357. #ifdef GL_NV_shader_atomic_int64
  22358. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_int64", 19))
  22359. {
  22360. ret = GLEW_NV_shader_atomic_int64;
  22361. continue;
  22362. }
  22363. #endif
  22364. #ifdef GL_NV_shader_buffer_load
  22365. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_buffer_load", 18))
  22366. {
  22367. ret = GLEW_NV_shader_buffer_load;
  22368. continue;
  22369. }
  22370. #endif
  22371. #ifdef GL_NV_shader_noperspective_interpolation
  22372. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_noperspective_interpolation", 34))
  22373. {
  22374. ret = GLEW_NV_shader_noperspective_interpolation;
  22375. continue;
  22376. }
  22377. #endif
  22378. #ifdef GL_NV_shader_storage_buffer_object
  22379. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
  22380. {
  22381. ret = GLEW_NV_shader_storage_buffer_object;
  22382. continue;
  22383. }
  22384. #endif
  22385. #ifdef GL_NV_shader_thread_group
  22386. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_thread_group", 19))
  22387. {
  22388. ret = GLEW_NV_shader_thread_group;
  22389. continue;
  22390. }
  22391. #endif
  22392. #ifdef GL_NV_shader_thread_shuffle
  22393. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_thread_shuffle", 21))
  22394. {
  22395. ret = GLEW_NV_shader_thread_shuffle;
  22396. continue;
  22397. }
  22398. #endif
  22399. #ifdef GL_NV_shadow_samplers_array
  22400. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers_array", 21))
  22401. {
  22402. ret = GLEW_NV_shadow_samplers_array;
  22403. continue;
  22404. }
  22405. #endif
  22406. #ifdef GL_NV_shadow_samplers_cube
  22407. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers_cube", 20))
  22408. {
  22409. ret = GLEW_NV_shadow_samplers_cube;
  22410. continue;
  22411. }
  22412. #endif
  22413. #ifdef GL_NV_stereo_view_rendering
  22414. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_view_rendering", 21))
  22415. {
  22416. ret = GLEW_NV_stereo_view_rendering;
  22417. continue;
  22418. }
  22419. #endif
  22420. #ifdef GL_NV_tessellation_program5
  22421. if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_program5", 21))
  22422. {
  22423. ret = GLEW_NV_tessellation_program5;
  22424. continue;
  22425. }
  22426. #endif
  22427. #ifdef GL_NV_texgen_emboss
  22428. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13))
  22429. {
  22430. ret = GLEW_NV_texgen_emboss;
  22431. continue;
  22432. }
  22433. #endif
  22434. #ifdef GL_NV_texgen_reflection
  22435. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17))
  22436. {
  22437. ret = GLEW_NV_texgen_reflection;
  22438. continue;
  22439. }
  22440. #endif
  22441. #ifdef GL_NV_texture_array
  22442. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
  22443. {
  22444. ret = GLEW_NV_texture_array;
  22445. continue;
  22446. }
  22447. #endif
  22448. #ifdef GL_NV_texture_barrier
  22449. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
  22450. {
  22451. ret = GLEW_NV_texture_barrier;
  22452. continue;
  22453. }
  22454. #endif
  22455. #ifdef GL_NV_texture_border_clamp
  22456. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
  22457. {
  22458. ret = GLEW_NV_texture_border_clamp;
  22459. continue;
  22460. }
  22461. #endif
  22462. #ifdef GL_NV_texture_compression_latc
  22463. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
  22464. {
  22465. ret = GLEW_NV_texture_compression_latc;
  22466. continue;
  22467. }
  22468. #endif
  22469. #ifdef GL_NV_texture_compression_s3tc
  22470. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
  22471. {
  22472. ret = GLEW_NV_texture_compression_s3tc;
  22473. continue;
  22474. }
  22475. #endif
  22476. #ifdef GL_NV_texture_compression_s3tc_update
  22477. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc_update", 31))
  22478. {
  22479. ret = GLEW_NV_texture_compression_s3tc_update;
  22480. continue;
  22481. }
  22482. #endif
  22483. #ifdef GL_NV_texture_compression_vtc
  22484. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23))
  22485. {
  22486. ret = GLEW_NV_texture_compression_vtc;
  22487. continue;
  22488. }
  22489. #endif
  22490. #ifdef GL_NV_texture_env_combine4
  22491. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20))
  22492. {
  22493. ret = GLEW_NV_texture_env_combine4;
  22494. continue;
  22495. }
  22496. #endif
  22497. #ifdef GL_NV_texture_expand_normal
  22498. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21))
  22499. {
  22500. ret = GLEW_NV_texture_expand_normal;
  22501. continue;
  22502. }
  22503. #endif
  22504. #ifdef GL_NV_texture_multisample
  22505. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
  22506. {
  22507. ret = GLEW_NV_texture_multisample;
  22508. continue;
  22509. }
  22510. #endif
  22511. #ifdef GL_NV_texture_npot_2D_mipmap
  22512. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_npot_2D_mipmap", 22))
  22513. {
  22514. ret = GLEW_NV_texture_npot_2D_mipmap;
  22515. continue;
  22516. }
  22517. #endif
  22518. #ifdef GL_NV_texture_rectangle
  22519. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
  22520. {
  22521. ret = GLEW_NV_texture_rectangle;
  22522. continue;
  22523. }
  22524. #endif
  22525. #ifdef GL_NV_texture_rectangle_compressed
  22526. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle_compressed", 28))
  22527. {
  22528. ret = GLEW_NV_texture_rectangle_compressed;
  22529. continue;
  22530. }
  22531. #endif
  22532. #ifdef GL_NV_texture_shader
  22533. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14))
  22534. {
  22535. ret = GLEW_NV_texture_shader;
  22536. continue;
  22537. }
  22538. #endif
  22539. #ifdef GL_NV_texture_shader2
  22540. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15))
  22541. {
  22542. ret = GLEW_NV_texture_shader2;
  22543. continue;
  22544. }
  22545. #endif
  22546. #ifdef GL_NV_texture_shader3
  22547. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15))
  22548. {
  22549. ret = GLEW_NV_texture_shader3;
  22550. continue;
  22551. }
  22552. #endif
  22553. #ifdef GL_NV_transform_feedback
  22554. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
  22555. {
  22556. ret = GLEW_NV_transform_feedback;
  22557. continue;
  22558. }
  22559. #endif
  22560. #ifdef GL_NV_transform_feedback2
  22561. if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
  22562. {
  22563. ret = GLEW_NV_transform_feedback2;
  22564. continue;
  22565. }
  22566. #endif
  22567. #ifdef GL_NV_uniform_buffer_unified_memory
  22568. if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_unified_memory", 29))
  22569. {
  22570. ret = GLEW_NV_uniform_buffer_unified_memory;
  22571. continue;
  22572. }
  22573. #endif
  22574. #ifdef GL_NV_vdpau_interop
  22575. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop", 13))
  22576. {
  22577. ret = GLEW_NV_vdpau_interop;
  22578. continue;
  22579. }
  22580. #endif
  22581. #ifdef GL_NV_vertex_array_range
  22582. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
  22583. {
  22584. ret = GLEW_NV_vertex_array_range;
  22585. continue;
  22586. }
  22587. #endif
  22588. #ifdef GL_NV_vertex_array_range2
  22589. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19))
  22590. {
  22591. ret = GLEW_NV_vertex_array_range2;
  22592. continue;
  22593. }
  22594. #endif
  22595. #ifdef GL_NV_vertex_attrib_integer_64bit
  22596. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_integer_64bit", 27))
  22597. {
  22598. ret = GLEW_NV_vertex_attrib_integer_64bit;
  22599. continue;
  22600. }
  22601. #endif
  22602. #ifdef GL_NV_vertex_buffer_unified_memory
  22603. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_unified_memory", 28))
  22604. {
  22605. ret = GLEW_NV_vertex_buffer_unified_memory;
  22606. continue;
  22607. }
  22608. #endif
  22609. #ifdef GL_NV_vertex_program
  22610. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
  22611. {
  22612. ret = GLEW_NV_vertex_program;
  22613. continue;
  22614. }
  22615. #endif
  22616. #ifdef GL_NV_vertex_program1_1
  22617. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17))
  22618. {
  22619. ret = GLEW_NV_vertex_program1_1;
  22620. continue;
  22621. }
  22622. #endif
  22623. #ifdef GL_NV_vertex_program2
  22624. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15))
  22625. {
  22626. ret = GLEW_NV_vertex_program2;
  22627. continue;
  22628. }
  22629. #endif
  22630. #ifdef GL_NV_vertex_program2_option
  22631. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22))
  22632. {
  22633. ret = GLEW_NV_vertex_program2_option;
  22634. continue;
  22635. }
  22636. #endif
  22637. #ifdef GL_NV_vertex_program3
  22638. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15))
  22639. {
  22640. ret = GLEW_NV_vertex_program3;
  22641. continue;
  22642. }
  22643. #endif
  22644. #ifdef GL_NV_vertex_program4
  22645. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program4", 15))
  22646. {
  22647. ret = GLEW_NV_vertex_program4;
  22648. continue;
  22649. }
  22650. #endif
  22651. #ifdef GL_NV_video_capture
  22652. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
  22653. {
  22654. ret = GLEW_NV_video_capture;
  22655. continue;
  22656. }
  22657. #endif
  22658. #ifdef GL_NV_viewport_array
  22659. if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14))
  22660. {
  22661. ret = GLEW_NV_viewport_array;
  22662. continue;
  22663. }
  22664. #endif
  22665. #ifdef GL_NV_viewport_array2
  22666. if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array2", 15))
  22667. {
  22668. ret = GLEW_NV_viewport_array2;
  22669. continue;
  22670. }
  22671. #endif
  22672. #ifdef GL_NV_viewport_swizzle
  22673. if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_swizzle", 16))
  22674. {
  22675. ret = GLEW_NV_viewport_swizzle;
  22676. continue;
  22677. }
  22678. #endif
  22679. }
  22680. if (_glewStrSame2(&pos, &len, (const GLubyte*)"OES_", 4))
  22681. {
  22682. #ifdef GL_OES_byte_coordinates
  22683. if (_glewStrSame3(&pos, &len, (const GLubyte*)"byte_coordinates", 16))
  22684. {
  22685. ret = GLEW_OES_byte_coordinates;
  22686. continue;
  22687. }
  22688. #endif
  22689. }
  22690. if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
  22691. {
  22692. #ifdef GL_OML_interlace
  22693. if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
  22694. {
  22695. ret = GLEW_OML_interlace;
  22696. continue;
  22697. }
  22698. #endif
  22699. #ifdef GL_OML_resample
  22700. if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
  22701. {
  22702. ret = GLEW_OML_resample;
  22703. continue;
  22704. }
  22705. #endif
  22706. #ifdef GL_OML_subsample
  22707. if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
  22708. {
  22709. ret = GLEW_OML_subsample;
  22710. continue;
  22711. }
  22712. #endif
  22713. }
  22714. if (_glewStrSame2(&pos, &len, (const GLubyte*)"OVR_", 4))
  22715. {
  22716. #ifdef GL_OVR_multiview
  22717. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview", 9))
  22718. {
  22719. ret = GLEW_OVR_multiview;
  22720. continue;
  22721. }
  22722. #endif
  22723. #ifdef GL_OVR_multiview2
  22724. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview2", 10))
  22725. {
  22726. ret = GLEW_OVR_multiview2;
  22727. continue;
  22728. }
  22729. #endif
  22730. #ifdef GL_OVR_multiview_multisampled_render_to_texture
  22731. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_multisampled_render_to_texture", 40))
  22732. {
  22733. ret = GLEW_OVR_multiview_multisampled_render_to_texture;
  22734. continue;
  22735. }
  22736. #endif
  22737. }
  22738. if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4))
  22739. {
  22740. #ifdef GL_PGI_misc_hints
  22741. if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10))
  22742. {
  22743. ret = GLEW_PGI_misc_hints;
  22744. continue;
  22745. }
  22746. #endif
  22747. #ifdef GL_PGI_vertex_hints
  22748. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12))
  22749. {
  22750. ret = GLEW_PGI_vertex_hints;
  22751. continue;
  22752. }
  22753. #endif
  22754. }
  22755. if (_glewStrSame2(&pos, &len, (const GLubyte*)"QCOM_", 5))
  22756. {
  22757. #ifdef GL_QCOM_alpha_test
  22758. if (_glewStrSame3(&pos, &len, (const GLubyte*)"alpha_test", 10))
  22759. {
  22760. ret = GLEW_QCOM_alpha_test;
  22761. continue;
  22762. }
  22763. #endif
  22764. #ifdef GL_QCOM_binning_control
  22765. if (_glewStrSame3(&pos, &len, (const GLubyte*)"binning_control", 15))
  22766. {
  22767. ret = GLEW_QCOM_binning_control;
  22768. continue;
  22769. }
  22770. #endif
  22771. #ifdef GL_QCOM_driver_control
  22772. if (_glewStrSame3(&pos, &len, (const GLubyte*)"driver_control", 14))
  22773. {
  22774. ret = GLEW_QCOM_driver_control;
  22775. continue;
  22776. }
  22777. #endif
  22778. #ifdef GL_QCOM_extended_get
  22779. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extended_get", 12))
  22780. {
  22781. ret = GLEW_QCOM_extended_get;
  22782. continue;
  22783. }
  22784. #endif
  22785. #ifdef GL_QCOM_extended_get2
  22786. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extended_get2", 13))
  22787. {
  22788. ret = GLEW_QCOM_extended_get2;
  22789. continue;
  22790. }
  22791. #endif
  22792. #ifdef GL_QCOM_framebuffer_foveated
  22793. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_foveated", 20))
  22794. {
  22795. ret = GLEW_QCOM_framebuffer_foveated;
  22796. continue;
  22797. }
  22798. #endif
  22799. #ifdef GL_QCOM_perfmon_global_mode
  22800. if (_glewStrSame3(&pos, &len, (const GLubyte*)"perfmon_global_mode", 19))
  22801. {
  22802. ret = GLEW_QCOM_perfmon_global_mode;
  22803. continue;
  22804. }
  22805. #endif
  22806. #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
  22807. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch_noncoherent", 36))
  22808. {
  22809. ret = GLEW_QCOM_shader_framebuffer_fetch_noncoherent;
  22810. continue;
  22811. }
  22812. #endif
  22813. #ifdef GL_QCOM_tiled_rendering
  22814. if (_glewStrSame3(&pos, &len, (const GLubyte*)"tiled_rendering", 15))
  22815. {
  22816. ret = GLEW_QCOM_tiled_rendering;
  22817. continue;
  22818. }
  22819. #endif
  22820. #ifdef GL_QCOM_writeonly_rendering
  22821. if (_glewStrSame3(&pos, &len, (const GLubyte*)"writeonly_rendering", 19))
  22822. {
  22823. ret = GLEW_QCOM_writeonly_rendering;
  22824. continue;
  22825. }
  22826. #endif
  22827. }
  22828. if (_glewStrSame2(&pos, &len, (const GLubyte*)"REGAL_", 6))
  22829. {
  22830. #ifdef GL_REGAL_ES1_0_compatibility
  22831. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_0_compatibility", 19))
  22832. {
  22833. ret = GLEW_REGAL_ES1_0_compatibility;
  22834. continue;
  22835. }
  22836. #endif
  22837. #ifdef GL_REGAL_ES1_1_compatibility
  22838. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_1_compatibility", 19))
  22839. {
  22840. ret = GLEW_REGAL_ES1_1_compatibility;
  22841. continue;
  22842. }
  22843. #endif
  22844. #ifdef GL_REGAL_enable
  22845. if (_glewStrSame3(&pos, &len, (const GLubyte*)"enable", 6))
  22846. {
  22847. ret = GLEW_REGAL_enable;
  22848. continue;
  22849. }
  22850. #endif
  22851. #ifdef GL_REGAL_error_string
  22852. if (_glewStrSame3(&pos, &len, (const GLubyte*)"error_string", 12))
  22853. {
  22854. ret = GLEW_REGAL_error_string;
  22855. continue;
  22856. }
  22857. #endif
  22858. #ifdef GL_REGAL_extension_query
  22859. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_query", 15))
  22860. {
  22861. ret = GLEW_REGAL_extension_query;
  22862. continue;
  22863. }
  22864. #endif
  22865. #ifdef GL_REGAL_log
  22866. if (_glewStrSame3(&pos, &len, (const GLubyte*)"log", 3))
  22867. {
  22868. ret = GLEW_REGAL_log;
  22869. continue;
  22870. }
  22871. #endif
  22872. #ifdef GL_REGAL_proc_address
  22873. if (_glewStrSame3(&pos, &len, (const GLubyte*)"proc_address", 12))
  22874. {
  22875. ret = GLEW_REGAL_proc_address;
  22876. continue;
  22877. }
  22878. #endif
  22879. }
  22880. if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5))
  22881. {
  22882. #ifdef GL_REND_screen_coordinates
  22883. if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18))
  22884. {
  22885. ret = GLEW_REND_screen_coordinates;
  22886. continue;
  22887. }
  22888. #endif
  22889. }
  22890. if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3))
  22891. {
  22892. #ifdef GL_S3_s3tc
  22893. if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4))
  22894. {
  22895. ret = GLEW_S3_s3tc;
  22896. continue;
  22897. }
  22898. #endif
  22899. }
  22900. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
  22901. {
  22902. #ifdef GL_SGIS_clip_band_hint
  22903. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_band_hint", 14))
  22904. {
  22905. ret = GLEW_SGIS_clip_band_hint;
  22906. continue;
  22907. }
  22908. #endif
  22909. #ifdef GL_SGIS_color_range
  22910. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
  22911. {
  22912. ret = GLEW_SGIS_color_range;
  22913. continue;
  22914. }
  22915. #endif
  22916. #ifdef GL_SGIS_detail_texture
  22917. if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14))
  22918. {
  22919. ret = GLEW_SGIS_detail_texture;
  22920. continue;
  22921. }
  22922. #endif
  22923. #ifdef GL_SGIS_fog_function
  22924. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12))
  22925. {
  22926. ret = GLEW_SGIS_fog_function;
  22927. continue;
  22928. }
  22929. #endif
  22930. #ifdef GL_SGIS_generate_mipmap
  22931. if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15))
  22932. {
  22933. ret = GLEW_SGIS_generate_mipmap;
  22934. continue;
  22935. }
  22936. #endif
  22937. #ifdef GL_SGIS_line_texgen
  22938. if (_glewStrSame3(&pos, &len, (const GLubyte*)"line_texgen", 11))
  22939. {
  22940. ret = GLEW_SGIS_line_texgen;
  22941. continue;
  22942. }
  22943. #endif
  22944. #ifdef GL_SGIS_multisample
  22945. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  22946. {
  22947. ret = GLEW_SGIS_multisample;
  22948. continue;
  22949. }
  22950. #endif
  22951. #ifdef GL_SGIS_multitexture
  22952. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
  22953. {
  22954. ret = GLEW_SGIS_multitexture;
  22955. continue;
  22956. }
  22957. #endif
  22958. #ifdef GL_SGIS_pixel_texture
  22959. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
  22960. {
  22961. ret = GLEW_SGIS_pixel_texture;
  22962. continue;
  22963. }
  22964. #endif
  22965. #ifdef GL_SGIS_point_line_texgen
  22966. if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_line_texgen", 17))
  22967. {
  22968. ret = GLEW_SGIS_point_line_texgen;
  22969. continue;
  22970. }
  22971. #endif
  22972. #ifdef GL_SGIS_shared_multisample
  22973. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
  22974. {
  22975. ret = GLEW_SGIS_shared_multisample;
  22976. continue;
  22977. }
  22978. #endif
  22979. #ifdef GL_SGIS_sharpen_texture
  22980. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15))
  22981. {
  22982. ret = GLEW_SGIS_sharpen_texture;
  22983. continue;
  22984. }
  22985. #endif
  22986. #ifdef GL_SGIS_texture4D
  22987. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9))
  22988. {
  22989. ret = GLEW_SGIS_texture4D;
  22990. continue;
  22991. }
  22992. #endif
  22993. #ifdef GL_SGIS_texture_border_clamp
  22994. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
  22995. {
  22996. ret = GLEW_SGIS_texture_border_clamp;
  22997. continue;
  22998. }
  22999. #endif
  23000. #ifdef GL_SGIS_texture_edge_clamp
  23001. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
  23002. {
  23003. ret = GLEW_SGIS_texture_edge_clamp;
  23004. continue;
  23005. }
  23006. #endif
  23007. #ifdef GL_SGIS_texture_filter4
  23008. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15))
  23009. {
  23010. ret = GLEW_SGIS_texture_filter4;
  23011. continue;
  23012. }
  23013. #endif
  23014. #ifdef GL_SGIS_texture_lod
  23015. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11))
  23016. {
  23017. ret = GLEW_SGIS_texture_lod;
  23018. continue;
  23019. }
  23020. #endif
  23021. #ifdef GL_SGIS_texture_select
  23022. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14))
  23023. {
  23024. ret = GLEW_SGIS_texture_select;
  23025. continue;
  23026. }
  23027. #endif
  23028. }
  23029. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
  23030. {
  23031. #ifdef GL_SGIX_async
  23032. if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5))
  23033. {
  23034. ret = GLEW_SGIX_async;
  23035. continue;
  23036. }
  23037. #endif
  23038. #ifdef GL_SGIX_async_histogram
  23039. if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15))
  23040. {
  23041. ret = GLEW_SGIX_async_histogram;
  23042. continue;
  23043. }
  23044. #endif
  23045. #ifdef GL_SGIX_async_pixel
  23046. if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11))
  23047. {
  23048. ret = GLEW_SGIX_async_pixel;
  23049. continue;
  23050. }
  23051. #endif
  23052. #ifdef GL_SGIX_bali_g_instruments
  23053. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_g_instruments", 18))
  23054. {
  23055. ret = GLEW_SGIX_bali_g_instruments;
  23056. continue;
  23057. }
  23058. #endif
  23059. #ifdef GL_SGIX_bali_r_instruments
  23060. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_r_instruments", 18))
  23061. {
  23062. ret = GLEW_SGIX_bali_r_instruments;
  23063. continue;
  23064. }
  23065. #endif
  23066. #ifdef GL_SGIX_bali_timer_instruments
  23067. if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_timer_instruments", 22))
  23068. {
  23069. ret = GLEW_SGIX_bali_timer_instruments;
  23070. continue;
  23071. }
  23072. #endif
  23073. #ifdef GL_SGIX_blend_alpha_minmax
  23074. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18))
  23075. {
  23076. ret = GLEW_SGIX_blend_alpha_minmax;
  23077. continue;
  23078. }
  23079. #endif
  23080. #ifdef GL_SGIX_blend_cadd
  23081. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_cadd", 10))
  23082. {
  23083. ret = GLEW_SGIX_blend_cadd;
  23084. continue;
  23085. }
  23086. #endif
  23087. #ifdef GL_SGIX_blend_cmultiply
  23088. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_cmultiply", 15))
  23089. {
  23090. ret = GLEW_SGIX_blend_cmultiply;
  23091. continue;
  23092. }
  23093. #endif
  23094. #ifdef GL_SGIX_calligraphic_fragment
  23095. if (_glewStrSame3(&pos, &len, (const GLubyte*)"calligraphic_fragment", 21))
  23096. {
  23097. ret = GLEW_SGIX_calligraphic_fragment;
  23098. continue;
  23099. }
  23100. #endif
  23101. #ifdef GL_SGIX_clipmap
  23102. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7))
  23103. {
  23104. ret = GLEW_SGIX_clipmap;
  23105. continue;
  23106. }
  23107. #endif
  23108. #ifdef GL_SGIX_color_matrix_accuracy
  23109. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix_accuracy", 21))
  23110. {
  23111. ret = GLEW_SGIX_color_matrix_accuracy;
  23112. continue;
  23113. }
  23114. #endif
  23115. #ifdef GL_SGIX_color_table_index_mode
  23116. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table_index_mode", 22))
  23117. {
  23118. ret = GLEW_SGIX_color_table_index_mode;
  23119. continue;
  23120. }
  23121. #endif
  23122. #ifdef GL_SGIX_complex_polar
  23123. if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex_polar", 13))
  23124. {
  23125. ret = GLEW_SGIX_complex_polar;
  23126. continue;
  23127. }
  23128. #endif
  23129. #ifdef GL_SGIX_convolution_accuracy
  23130. if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_accuracy", 20))
  23131. {
  23132. ret = GLEW_SGIX_convolution_accuracy;
  23133. continue;
  23134. }
  23135. #endif
  23136. #ifdef GL_SGIX_cube_map
  23137. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cube_map", 8))
  23138. {
  23139. ret = GLEW_SGIX_cube_map;
  23140. continue;
  23141. }
  23142. #endif
  23143. #ifdef GL_SGIX_cylinder_texgen
  23144. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cylinder_texgen", 15))
  23145. {
  23146. ret = GLEW_SGIX_cylinder_texgen;
  23147. continue;
  23148. }
  23149. #endif
  23150. #ifdef GL_SGIX_datapipe
  23151. if (_glewStrSame3(&pos, &len, (const GLubyte*)"datapipe", 8))
  23152. {
  23153. ret = GLEW_SGIX_datapipe;
  23154. continue;
  23155. }
  23156. #endif
  23157. #ifdef GL_SGIX_decimation
  23158. if (_glewStrSame3(&pos, &len, (const GLubyte*)"decimation", 10))
  23159. {
  23160. ret = GLEW_SGIX_decimation;
  23161. continue;
  23162. }
  23163. #endif
  23164. #ifdef GL_SGIX_depth_pass_instrument
  23165. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_pass_instrument", 21))
  23166. {
  23167. ret = GLEW_SGIX_depth_pass_instrument;
  23168. continue;
  23169. }
  23170. #endif
  23171. #ifdef GL_SGIX_depth_texture
  23172. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
  23173. {
  23174. ret = GLEW_SGIX_depth_texture;
  23175. continue;
  23176. }
  23177. #endif
  23178. #ifdef GL_SGIX_dvc
  23179. if (_glewStrSame3(&pos, &len, (const GLubyte*)"dvc", 3))
  23180. {
  23181. ret = GLEW_SGIX_dvc;
  23182. continue;
  23183. }
  23184. #endif
  23185. #ifdef GL_SGIX_flush_raster
  23186. if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12))
  23187. {
  23188. ret = GLEW_SGIX_flush_raster;
  23189. continue;
  23190. }
  23191. #endif
  23192. #ifdef GL_SGIX_fog_blend
  23193. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_blend", 9))
  23194. {
  23195. ret = GLEW_SGIX_fog_blend;
  23196. continue;
  23197. }
  23198. #endif
  23199. #ifdef GL_SGIX_fog_factor_to_alpha
  23200. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_factor_to_alpha", 19))
  23201. {
  23202. ret = GLEW_SGIX_fog_factor_to_alpha;
  23203. continue;
  23204. }
  23205. #endif
  23206. #ifdef GL_SGIX_fog_layers
  23207. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_layers", 10))
  23208. {
  23209. ret = GLEW_SGIX_fog_layers;
  23210. continue;
  23211. }
  23212. #endif
  23213. #ifdef GL_SGIX_fog_offset
  23214. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10))
  23215. {
  23216. ret = GLEW_SGIX_fog_offset;
  23217. continue;
  23218. }
  23219. #endif
  23220. #ifdef GL_SGIX_fog_patchy
  23221. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_patchy", 10))
  23222. {
  23223. ret = GLEW_SGIX_fog_patchy;
  23224. continue;
  23225. }
  23226. #endif
  23227. #ifdef GL_SGIX_fog_scale
  23228. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_scale", 9))
  23229. {
  23230. ret = GLEW_SGIX_fog_scale;
  23231. continue;
  23232. }
  23233. #endif
  23234. #ifdef GL_SGIX_fog_texture
  23235. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11))
  23236. {
  23237. ret = GLEW_SGIX_fog_texture;
  23238. continue;
  23239. }
  23240. #endif
  23241. #ifdef GL_SGIX_fragment_lighting_space
  23242. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting_space", 23))
  23243. {
  23244. ret = GLEW_SGIX_fragment_lighting_space;
  23245. continue;
  23246. }
  23247. #endif
  23248. #ifdef GL_SGIX_fragment_specular_lighting
  23249. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26))
  23250. {
  23251. ret = GLEW_SGIX_fragment_specular_lighting;
  23252. continue;
  23253. }
  23254. #endif
  23255. #ifdef GL_SGIX_fragments_instrument
  23256. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragments_instrument", 20))
  23257. {
  23258. ret = GLEW_SGIX_fragments_instrument;
  23259. continue;
  23260. }
  23261. #endif
  23262. #ifdef GL_SGIX_framezoom
  23263. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9))
  23264. {
  23265. ret = GLEW_SGIX_framezoom;
  23266. continue;
  23267. }
  23268. #endif
  23269. #ifdef GL_SGIX_icc_texture
  23270. if (_glewStrSame3(&pos, &len, (const GLubyte*)"icc_texture", 11))
  23271. {
  23272. ret = GLEW_SGIX_icc_texture;
  23273. continue;
  23274. }
  23275. #endif
  23276. #ifdef GL_SGIX_igloo_interface
  23277. if (_glewStrSame3(&pos, &len, (const GLubyte*)"igloo_interface", 15))
  23278. {
  23279. ret = GLEW_SGIX_igloo_interface;
  23280. continue;
  23281. }
  23282. #endif
  23283. #ifdef GL_SGIX_image_compression
  23284. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_compression", 17))
  23285. {
  23286. ret = GLEW_SGIX_image_compression;
  23287. continue;
  23288. }
  23289. #endif
  23290. #ifdef GL_SGIX_impact_pixel_texture
  23291. if (_glewStrSame3(&pos, &len, (const GLubyte*)"impact_pixel_texture", 20))
  23292. {
  23293. ret = GLEW_SGIX_impact_pixel_texture;
  23294. continue;
  23295. }
  23296. #endif
  23297. #ifdef GL_SGIX_instrument_error
  23298. if (_glewStrSame3(&pos, &len, (const GLubyte*)"instrument_error", 16))
  23299. {
  23300. ret = GLEW_SGIX_instrument_error;
  23301. continue;
  23302. }
  23303. #endif
  23304. #ifdef GL_SGIX_interlace
  23305. if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
  23306. {
  23307. ret = GLEW_SGIX_interlace;
  23308. continue;
  23309. }
  23310. #endif
  23311. #ifdef GL_SGIX_ir_instrument1
  23312. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14))
  23313. {
  23314. ret = GLEW_SGIX_ir_instrument1;
  23315. continue;
  23316. }
  23317. #endif
  23318. #ifdef GL_SGIX_line_quality_hint
  23319. if (_glewStrSame3(&pos, &len, (const GLubyte*)"line_quality_hint", 17))
  23320. {
  23321. ret = GLEW_SGIX_line_quality_hint;
  23322. continue;
  23323. }
  23324. #endif
  23325. #ifdef GL_SGIX_list_priority
  23326. if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13))
  23327. {
  23328. ret = GLEW_SGIX_list_priority;
  23329. continue;
  23330. }
  23331. #endif
  23332. #ifdef GL_SGIX_mpeg1
  23333. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mpeg1", 5))
  23334. {
  23335. ret = GLEW_SGIX_mpeg1;
  23336. continue;
  23337. }
  23338. #endif
  23339. #ifdef GL_SGIX_mpeg2
  23340. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mpeg2", 5))
  23341. {
  23342. ret = GLEW_SGIX_mpeg2;
  23343. continue;
  23344. }
  23345. #endif
  23346. #ifdef GL_SGIX_nonlinear_lighting_pervertex
  23347. if (_glewStrSame3(&pos, &len, (const GLubyte*)"nonlinear_lighting_pervertex", 28))
  23348. {
  23349. ret = GLEW_SGIX_nonlinear_lighting_pervertex;
  23350. continue;
  23351. }
  23352. #endif
  23353. #ifdef GL_SGIX_nurbs_eval
  23354. if (_glewStrSame3(&pos, &len, (const GLubyte*)"nurbs_eval", 10))
  23355. {
  23356. ret = GLEW_SGIX_nurbs_eval;
  23357. continue;
  23358. }
  23359. #endif
  23360. #ifdef GL_SGIX_occlusion_instrument
  23361. if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_instrument", 20))
  23362. {
  23363. ret = GLEW_SGIX_occlusion_instrument;
  23364. continue;
  23365. }
  23366. #endif
  23367. #ifdef GL_SGIX_packed_6bytes
  23368. if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_6bytes", 13))
  23369. {
  23370. ret = GLEW_SGIX_packed_6bytes;
  23371. continue;
  23372. }
  23373. #endif
  23374. #ifdef GL_SGIX_pixel_texture
  23375. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
  23376. {
  23377. ret = GLEW_SGIX_pixel_texture;
  23378. continue;
  23379. }
  23380. #endif
  23381. #ifdef GL_SGIX_pixel_texture_bits
  23382. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18))
  23383. {
  23384. ret = GLEW_SGIX_pixel_texture_bits;
  23385. continue;
  23386. }
  23387. #endif
  23388. #ifdef GL_SGIX_pixel_texture_lod
  23389. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_lod", 17))
  23390. {
  23391. ret = GLEW_SGIX_pixel_texture_lod;
  23392. continue;
  23393. }
  23394. #endif
  23395. #ifdef GL_SGIX_pixel_tiles
  23396. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_tiles", 11))
  23397. {
  23398. ret = GLEW_SGIX_pixel_tiles;
  23399. continue;
  23400. }
  23401. #endif
  23402. #ifdef GL_SGIX_polynomial_ffd
  23403. if (_glewStrSame3(&pos, &len, (const GLubyte*)"polynomial_ffd", 14))
  23404. {
  23405. ret = GLEW_SGIX_polynomial_ffd;
  23406. continue;
  23407. }
  23408. #endif
  23409. #ifdef GL_SGIX_quad_mesh
  23410. if (_glewStrSame3(&pos, &len, (const GLubyte*)"quad_mesh", 9))
  23411. {
  23412. ret = GLEW_SGIX_quad_mesh;
  23413. continue;
  23414. }
  23415. #endif
  23416. #ifdef GL_SGIX_reference_plane
  23417. if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15))
  23418. {
  23419. ret = GLEW_SGIX_reference_plane;
  23420. continue;
  23421. }
  23422. #endif
  23423. #ifdef GL_SGIX_resample
  23424. if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
  23425. {
  23426. ret = GLEW_SGIX_resample;
  23427. continue;
  23428. }
  23429. #endif
  23430. #ifdef GL_SGIX_scalebias_hint
  23431. if (_glewStrSame3(&pos, &len, (const GLubyte*)"scalebias_hint", 14))
  23432. {
  23433. ret = GLEW_SGIX_scalebias_hint;
  23434. continue;
  23435. }
  23436. #endif
  23437. #ifdef GL_SGIX_shadow
  23438. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
  23439. {
  23440. ret = GLEW_SGIX_shadow;
  23441. continue;
  23442. }
  23443. #endif
  23444. #ifdef GL_SGIX_shadow_ambient
  23445. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
  23446. {
  23447. ret = GLEW_SGIX_shadow_ambient;
  23448. continue;
  23449. }
  23450. #endif
  23451. #ifdef GL_SGIX_slim
  23452. if (_glewStrSame3(&pos, &len, (const GLubyte*)"slim", 4))
  23453. {
  23454. ret = GLEW_SGIX_slim;
  23455. continue;
  23456. }
  23457. #endif
  23458. #ifdef GL_SGIX_spotlight_cutoff
  23459. if (_glewStrSame3(&pos, &len, (const GLubyte*)"spotlight_cutoff", 16))
  23460. {
  23461. ret = GLEW_SGIX_spotlight_cutoff;
  23462. continue;
  23463. }
  23464. #endif
  23465. #ifdef GL_SGIX_sprite
  23466. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6))
  23467. {
  23468. ret = GLEW_SGIX_sprite;
  23469. continue;
  23470. }
  23471. #endif
  23472. #ifdef GL_SGIX_subdiv_patch
  23473. if (_glewStrSame3(&pos, &len, (const GLubyte*)"subdiv_patch", 12))
  23474. {
  23475. ret = GLEW_SGIX_subdiv_patch;
  23476. continue;
  23477. }
  23478. #endif
  23479. #ifdef GL_SGIX_subsample
  23480. if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
  23481. {
  23482. ret = GLEW_SGIX_subsample;
  23483. continue;
  23484. }
  23485. #endif
  23486. #ifdef GL_SGIX_tag_sample_buffer
  23487. if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17))
  23488. {
  23489. ret = GLEW_SGIX_tag_sample_buffer;
  23490. continue;
  23491. }
  23492. #endif
  23493. #ifdef GL_SGIX_texture_add_env
  23494. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15))
  23495. {
  23496. ret = GLEW_SGIX_texture_add_env;
  23497. continue;
  23498. }
  23499. #endif
  23500. #ifdef GL_SGIX_texture_coordinate_clamp
  23501. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24))
  23502. {
  23503. ret = GLEW_SGIX_texture_coordinate_clamp;
  23504. continue;
  23505. }
  23506. #endif
  23507. #ifdef GL_SGIX_texture_lod_bias
  23508. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
  23509. {
  23510. ret = GLEW_SGIX_texture_lod_bias;
  23511. continue;
  23512. }
  23513. #endif
  23514. #ifdef GL_SGIX_texture_mipmap_anisotropic
  23515. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mipmap_anisotropic", 26))
  23516. {
  23517. ret = GLEW_SGIX_texture_mipmap_anisotropic;
  23518. continue;
  23519. }
  23520. #endif
  23521. #ifdef GL_SGIX_texture_multi_buffer
  23522. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20))
  23523. {
  23524. ret = GLEW_SGIX_texture_multi_buffer;
  23525. continue;
  23526. }
  23527. #endif
  23528. #ifdef GL_SGIX_texture_phase
  23529. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_phase", 13))
  23530. {
  23531. ret = GLEW_SGIX_texture_phase;
  23532. continue;
  23533. }
  23534. #endif
  23535. #ifdef GL_SGIX_texture_range
  23536. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
  23537. {
  23538. ret = GLEW_SGIX_texture_range;
  23539. continue;
  23540. }
  23541. #endif
  23542. #ifdef GL_SGIX_texture_scale_bias
  23543. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18))
  23544. {
  23545. ret = GLEW_SGIX_texture_scale_bias;
  23546. continue;
  23547. }
  23548. #endif
  23549. #ifdef GL_SGIX_texture_supersample
  23550. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_supersample", 19))
  23551. {
  23552. ret = GLEW_SGIX_texture_supersample;
  23553. continue;
  23554. }
  23555. #endif
  23556. #ifdef GL_SGIX_vector_ops
  23557. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vector_ops", 10))
  23558. {
  23559. ret = GLEW_SGIX_vector_ops;
  23560. continue;
  23561. }
  23562. #endif
  23563. #ifdef GL_SGIX_vertex_array_object
  23564. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
  23565. {
  23566. ret = GLEW_SGIX_vertex_array_object;
  23567. continue;
  23568. }
  23569. #endif
  23570. #ifdef GL_SGIX_vertex_preclip
  23571. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14))
  23572. {
  23573. ret = GLEW_SGIX_vertex_preclip;
  23574. continue;
  23575. }
  23576. #endif
  23577. #ifdef GL_SGIX_vertex_preclip_hint
  23578. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19))
  23579. {
  23580. ret = GLEW_SGIX_vertex_preclip_hint;
  23581. continue;
  23582. }
  23583. #endif
  23584. #ifdef GL_SGIX_ycrcb
  23585. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5))
  23586. {
  23587. ret = GLEW_SGIX_ycrcb;
  23588. continue;
  23589. }
  23590. #endif
  23591. #ifdef GL_SGIX_ycrcb_subsample
  23592. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb_subsample", 15))
  23593. {
  23594. ret = GLEW_SGIX_ycrcb_subsample;
  23595. continue;
  23596. }
  23597. #endif
  23598. #ifdef GL_SGIX_ycrcba
  23599. if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcba", 6))
  23600. {
  23601. ret = GLEW_SGIX_ycrcba;
  23602. continue;
  23603. }
  23604. #endif
  23605. }
  23606. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
  23607. {
  23608. #ifdef GL_SGI_color_matrix
  23609. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12))
  23610. {
  23611. ret = GLEW_SGI_color_matrix;
  23612. continue;
  23613. }
  23614. #endif
  23615. #ifdef GL_SGI_color_table
  23616. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11))
  23617. {
  23618. ret = GLEW_SGI_color_table;
  23619. continue;
  23620. }
  23621. #endif
  23622. #ifdef GL_SGI_complex
  23623. if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex", 7))
  23624. {
  23625. ret = GLEW_SGI_complex;
  23626. continue;
  23627. }
  23628. #endif
  23629. #ifdef GL_SGI_complex_type
  23630. if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex_type", 12))
  23631. {
  23632. ret = GLEW_SGI_complex_type;
  23633. continue;
  23634. }
  23635. #endif
  23636. #ifdef GL_SGI_fft
  23637. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fft", 3))
  23638. {
  23639. ret = GLEW_SGI_fft;
  23640. continue;
  23641. }
  23642. #endif
  23643. #ifdef GL_SGI_texture_color_table
  23644. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19))
  23645. {
  23646. ret = GLEW_SGI_texture_color_table;
  23647. continue;
  23648. }
  23649. #endif
  23650. }
  23651. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5))
  23652. {
  23653. #ifdef GL_SUNX_constant_data
  23654. if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13))
  23655. {
  23656. ret = GLEW_SUNX_constant_data;
  23657. continue;
  23658. }
  23659. #endif
  23660. }
  23661. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
  23662. {
  23663. #ifdef GL_SUN_convolution_border_modes
  23664. if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
  23665. {
  23666. ret = GLEW_SUN_convolution_border_modes;
  23667. continue;
  23668. }
  23669. #endif
  23670. #ifdef GL_SUN_global_alpha
  23671. if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12))
  23672. {
  23673. ret = GLEW_SUN_global_alpha;
  23674. continue;
  23675. }
  23676. #endif
  23677. #ifdef GL_SUN_mesh_array
  23678. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10))
  23679. {
  23680. ret = GLEW_SUN_mesh_array;
  23681. continue;
  23682. }
  23683. #endif
  23684. #ifdef GL_SUN_read_video_pixels
  23685. if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17))
  23686. {
  23687. ret = GLEW_SUN_read_video_pixels;
  23688. continue;
  23689. }
  23690. #endif
  23691. #ifdef GL_SUN_slice_accum
  23692. if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11))
  23693. {
  23694. ret = GLEW_SUN_slice_accum;
  23695. continue;
  23696. }
  23697. #endif
  23698. #ifdef GL_SUN_triangle_list
  23699. if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13))
  23700. {
  23701. ret = GLEW_SUN_triangle_list;
  23702. continue;
  23703. }
  23704. #endif
  23705. #ifdef GL_SUN_vertex
  23706. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6))
  23707. {
  23708. ret = GLEW_SUN_vertex;
  23709. continue;
  23710. }
  23711. #endif
  23712. }
  23713. if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4))
  23714. {
  23715. #ifdef GL_WIN_phong_shading
  23716. if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13))
  23717. {
  23718. ret = GLEW_WIN_phong_shading;
  23719. continue;
  23720. }
  23721. #endif
  23722. #ifdef GL_WIN_scene_markerXXX
  23723. if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_markerXXX", 15))
  23724. {
  23725. ret = GLEW_WIN_scene_markerXXX;
  23726. continue;
  23727. }
  23728. #endif
  23729. #ifdef GL_WIN_specular_fog
  23730. if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12))
  23731. {
  23732. ret = GLEW_WIN_specular_fog;
  23733. continue;
  23734. }
  23735. #endif
  23736. #ifdef GL_WIN_swap_hint
  23737. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9))
  23738. {
  23739. ret = GLEW_WIN_swap_hint;
  23740. continue;
  23741. }
  23742. #endif
  23743. }
  23744. }
  23745. ret = (len == 0);
  23746. }
  23747. return ret;
  23748. }
  23749. #if defined(_WIN32) && !defined(GLEW_EGL) && !defined(GLEW_OSMESA)
  23750. GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
  23751. {
  23752. const GLubyte* pos = (const GLubyte*)name;
  23753. GLuint len = _glewStrLen(pos);
  23754. GLboolean ret = GL_TRUE;
  23755. while (ret && len > 0)
  23756. {
  23757. if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
  23758. {
  23759. if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
  23760. {
  23761. #ifdef WGL_3DFX_multisample
  23762. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  23763. {
  23764. ret = WGLEW_3DFX_multisample;
  23765. continue;
  23766. }
  23767. #endif
  23768. }
  23769. if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4))
  23770. {
  23771. #ifdef WGL_3DL_stereo_control
  23772. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14))
  23773. {
  23774. ret = WGLEW_3DL_stereo_control;
  23775. continue;
  23776. }
  23777. #endif
  23778. }
  23779. if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
  23780. {
  23781. #ifdef WGL_AMD_gpu_association
  23782. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
  23783. {
  23784. ret = WGLEW_AMD_gpu_association;
  23785. continue;
  23786. }
  23787. #endif
  23788. }
  23789. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
  23790. {
  23791. #ifdef WGL_ARB_buffer_region
  23792. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
  23793. {
  23794. ret = WGLEW_ARB_buffer_region;
  23795. continue;
  23796. }
  23797. #endif
  23798. #ifdef WGL_ARB_context_flush_control
  23799. if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
  23800. {
  23801. ret = WGLEW_ARB_context_flush_control;
  23802. continue;
  23803. }
  23804. #endif
  23805. #ifdef WGL_ARB_create_context
  23806. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
  23807. {
  23808. ret = WGLEW_ARB_create_context;
  23809. continue;
  23810. }
  23811. #endif
  23812. #ifdef WGL_ARB_create_context_no_error
  23813. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
  23814. {
  23815. ret = WGLEW_ARB_create_context_no_error;
  23816. continue;
  23817. }
  23818. #endif
  23819. #ifdef WGL_ARB_create_context_profile
  23820. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
  23821. {
  23822. ret = WGLEW_ARB_create_context_profile;
  23823. continue;
  23824. }
  23825. #endif
  23826. #ifdef WGL_ARB_create_context_robustness
  23827. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
  23828. {
  23829. ret = WGLEW_ARB_create_context_robustness;
  23830. continue;
  23831. }
  23832. #endif
  23833. #ifdef WGL_ARB_extensions_string
  23834. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
  23835. {
  23836. ret = WGLEW_ARB_extensions_string;
  23837. continue;
  23838. }
  23839. #endif
  23840. #ifdef WGL_ARB_framebuffer_sRGB
  23841. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  23842. {
  23843. ret = WGLEW_ARB_framebuffer_sRGB;
  23844. continue;
  23845. }
  23846. #endif
  23847. #ifdef WGL_ARB_make_current_read
  23848. if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
  23849. {
  23850. ret = WGLEW_ARB_make_current_read;
  23851. continue;
  23852. }
  23853. #endif
  23854. #ifdef WGL_ARB_multisample
  23855. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  23856. {
  23857. ret = WGLEW_ARB_multisample;
  23858. continue;
  23859. }
  23860. #endif
  23861. #ifdef WGL_ARB_pbuffer
  23862. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
  23863. {
  23864. ret = WGLEW_ARB_pbuffer;
  23865. continue;
  23866. }
  23867. #endif
  23868. #ifdef WGL_ARB_pixel_format
  23869. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
  23870. {
  23871. ret = WGLEW_ARB_pixel_format;
  23872. continue;
  23873. }
  23874. #endif
  23875. #ifdef WGL_ARB_pixel_format_float
  23876. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
  23877. {
  23878. ret = WGLEW_ARB_pixel_format_float;
  23879. continue;
  23880. }
  23881. #endif
  23882. #ifdef WGL_ARB_render_texture
  23883. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
  23884. {
  23885. ret = WGLEW_ARB_render_texture;
  23886. continue;
  23887. }
  23888. #endif
  23889. #ifdef WGL_ARB_robustness_application_isolation
  23890. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
  23891. {
  23892. ret = WGLEW_ARB_robustness_application_isolation;
  23893. continue;
  23894. }
  23895. #endif
  23896. #ifdef WGL_ARB_robustness_share_group_isolation
  23897. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
  23898. {
  23899. ret = WGLEW_ARB_robustness_share_group_isolation;
  23900. continue;
  23901. }
  23902. #endif
  23903. }
  23904. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
  23905. {
  23906. #ifdef WGL_ATI_pixel_format_float
  23907. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
  23908. {
  23909. ret = WGLEW_ATI_pixel_format_float;
  23910. continue;
  23911. }
  23912. #endif
  23913. #ifdef WGL_ATI_render_texture_rectangle
  23914. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
  23915. {
  23916. ret = WGLEW_ATI_render_texture_rectangle;
  23917. continue;
  23918. }
  23919. #endif
  23920. }
  23921. if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
  23922. {
  23923. #ifdef WGL_EXT_colorspace
  23924. if (_glewStrSame3(&pos, &len, (const GLubyte*)"colorspace", 10))
  23925. {
  23926. ret = WGLEW_EXT_colorspace;
  23927. continue;
  23928. }
  23929. #endif
  23930. #ifdef WGL_EXT_create_context_es2_profile
  23931. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
  23932. {
  23933. ret = WGLEW_EXT_create_context_es2_profile;
  23934. continue;
  23935. }
  23936. #endif
  23937. #ifdef WGL_EXT_create_context_es_profile
  23938. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
  23939. {
  23940. ret = WGLEW_EXT_create_context_es_profile;
  23941. continue;
  23942. }
  23943. #endif
  23944. #ifdef WGL_EXT_depth_float
  23945. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11))
  23946. {
  23947. ret = WGLEW_EXT_depth_float;
  23948. continue;
  23949. }
  23950. #endif
  23951. #ifdef WGL_EXT_display_color_table
  23952. if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19))
  23953. {
  23954. ret = WGLEW_EXT_display_color_table;
  23955. continue;
  23956. }
  23957. #endif
  23958. #ifdef WGL_EXT_extensions_string
  23959. if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
  23960. {
  23961. ret = WGLEW_EXT_extensions_string;
  23962. continue;
  23963. }
  23964. #endif
  23965. #ifdef WGL_EXT_framebuffer_sRGB
  23966. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  23967. {
  23968. ret = WGLEW_EXT_framebuffer_sRGB;
  23969. continue;
  23970. }
  23971. #endif
  23972. #ifdef WGL_EXT_make_current_read
  23973. if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
  23974. {
  23975. ret = WGLEW_EXT_make_current_read;
  23976. continue;
  23977. }
  23978. #endif
  23979. #ifdef WGL_EXT_multisample
  23980. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  23981. {
  23982. ret = WGLEW_EXT_multisample;
  23983. continue;
  23984. }
  23985. #endif
  23986. #ifdef WGL_EXT_pbuffer
  23987. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
  23988. {
  23989. ret = WGLEW_EXT_pbuffer;
  23990. continue;
  23991. }
  23992. #endif
  23993. #ifdef WGL_EXT_pixel_format
  23994. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
  23995. {
  23996. ret = WGLEW_EXT_pixel_format;
  23997. continue;
  23998. }
  23999. #endif
  24000. #ifdef WGL_EXT_pixel_format_packed_float
  24001. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_packed_float", 25))
  24002. {
  24003. ret = WGLEW_EXT_pixel_format_packed_float;
  24004. continue;
  24005. }
  24006. #endif
  24007. #ifdef WGL_EXT_swap_control
  24008. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
  24009. {
  24010. ret = WGLEW_EXT_swap_control;
  24011. continue;
  24012. }
  24013. #endif
  24014. #ifdef WGL_EXT_swap_control_tear
  24015. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
  24016. {
  24017. ret = WGLEW_EXT_swap_control_tear;
  24018. continue;
  24019. }
  24020. #endif
  24021. }
  24022. if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4))
  24023. {
  24024. #ifdef WGL_I3D_digital_video_control
  24025. if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21))
  24026. {
  24027. ret = WGLEW_I3D_digital_video_control;
  24028. continue;
  24029. }
  24030. #endif
  24031. #ifdef WGL_I3D_gamma
  24032. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5))
  24033. {
  24034. ret = WGLEW_I3D_gamma;
  24035. continue;
  24036. }
  24037. #endif
  24038. #ifdef WGL_I3D_genlock
  24039. if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7))
  24040. {
  24041. ret = WGLEW_I3D_genlock;
  24042. continue;
  24043. }
  24044. #endif
  24045. #ifdef WGL_I3D_image_buffer
  24046. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12))
  24047. {
  24048. ret = WGLEW_I3D_image_buffer;
  24049. continue;
  24050. }
  24051. #endif
  24052. #ifdef WGL_I3D_swap_frame_lock
  24053. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15))
  24054. {
  24055. ret = WGLEW_I3D_swap_frame_lock;
  24056. continue;
  24057. }
  24058. #endif
  24059. #ifdef WGL_I3D_swap_frame_usage
  24060. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16))
  24061. {
  24062. ret = WGLEW_I3D_swap_frame_usage;
  24063. continue;
  24064. }
  24065. #endif
  24066. }
  24067. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
  24068. {
  24069. #ifdef WGL_NV_DX_interop
  24070. if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop", 10))
  24071. {
  24072. ret = WGLEW_NV_DX_interop;
  24073. continue;
  24074. }
  24075. #endif
  24076. #ifdef WGL_NV_DX_interop2
  24077. if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop2", 11))
  24078. {
  24079. ret = WGLEW_NV_DX_interop2;
  24080. continue;
  24081. }
  24082. #endif
  24083. #ifdef WGL_NV_copy_image
  24084. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
  24085. {
  24086. ret = WGLEW_NV_copy_image;
  24087. continue;
  24088. }
  24089. #endif
  24090. #ifdef WGL_NV_delay_before_swap
  24091. if (_glewStrSame3(&pos, &len, (const GLubyte*)"delay_before_swap", 17))
  24092. {
  24093. ret = WGLEW_NV_delay_before_swap;
  24094. continue;
  24095. }
  24096. #endif
  24097. #ifdef WGL_NV_float_buffer
  24098. if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
  24099. {
  24100. ret = WGLEW_NV_float_buffer;
  24101. continue;
  24102. }
  24103. #endif
  24104. #ifdef WGL_NV_gpu_affinity
  24105. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_affinity", 12))
  24106. {
  24107. ret = WGLEW_NV_gpu_affinity;
  24108. continue;
  24109. }
  24110. #endif
  24111. #ifdef WGL_NV_multisample_coverage
  24112. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
  24113. {
  24114. ret = WGLEW_NV_multisample_coverage;
  24115. continue;
  24116. }
  24117. #endif
  24118. #ifdef WGL_NV_present_video
  24119. if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
  24120. {
  24121. ret = WGLEW_NV_present_video;
  24122. continue;
  24123. }
  24124. #endif
  24125. #ifdef WGL_NV_render_depth_texture
  24126. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20))
  24127. {
  24128. ret = WGLEW_NV_render_depth_texture;
  24129. continue;
  24130. }
  24131. #endif
  24132. #ifdef WGL_NV_render_texture_rectangle
  24133. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
  24134. {
  24135. ret = WGLEW_NV_render_texture_rectangle;
  24136. continue;
  24137. }
  24138. #endif
  24139. #ifdef WGL_NV_swap_group
  24140. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
  24141. {
  24142. ret = WGLEW_NV_swap_group;
  24143. continue;
  24144. }
  24145. #endif
  24146. #ifdef WGL_NV_vertex_array_range
  24147. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
  24148. {
  24149. ret = WGLEW_NV_vertex_array_range;
  24150. continue;
  24151. }
  24152. #endif
  24153. #ifdef WGL_NV_video_capture
  24154. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
  24155. {
  24156. ret = WGLEW_NV_video_capture;
  24157. continue;
  24158. }
  24159. #endif
  24160. #ifdef WGL_NV_video_output
  24161. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
  24162. {
  24163. ret = WGLEW_NV_video_output;
  24164. continue;
  24165. }
  24166. #endif
  24167. }
  24168. if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
  24169. {
  24170. #ifdef WGL_OML_sync_control
  24171. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
  24172. {
  24173. ret = WGLEW_OML_sync_control;
  24174. continue;
  24175. }
  24176. #endif
  24177. }
  24178. }
  24179. ret = (len == 0);
  24180. }
  24181. return ret;
  24182. }
  24183. #elif !defined(GLEW_OSMESA) && !defined(GLEW_EGL) && !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
  24184. GLboolean glxewIsSupported (const char* name)
  24185. {
  24186. const GLubyte* pos = (const GLubyte*)name;
  24187. GLuint len = _glewStrLen(pos);
  24188. GLboolean ret = GL_TRUE;
  24189. while (ret && len > 0)
  24190. {
  24191. if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
  24192. {
  24193. if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
  24194. {
  24195. #ifdef GLX_VERSION_1_2
  24196. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
  24197. {
  24198. ret = GLXEW_VERSION_1_2;
  24199. continue;
  24200. }
  24201. #endif
  24202. #ifdef GLX_VERSION_1_3
  24203. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
  24204. {
  24205. ret = GLXEW_VERSION_1_3;
  24206. continue;
  24207. }
  24208. #endif
  24209. #ifdef GLX_VERSION_1_4
  24210. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
  24211. {
  24212. ret = GLXEW_VERSION_1_4;
  24213. continue;
  24214. }
  24215. #endif
  24216. }
  24217. if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
  24218. {
  24219. #ifdef GLX_3DFX_multisample
  24220. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  24221. {
  24222. ret = GLXEW_3DFX_multisample;
  24223. continue;
  24224. }
  24225. #endif
  24226. }
  24227. if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
  24228. {
  24229. #ifdef GLX_AMD_gpu_association
  24230. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
  24231. {
  24232. ret = GLXEW_AMD_gpu_association;
  24233. continue;
  24234. }
  24235. #endif
  24236. }
  24237. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
  24238. {
  24239. #ifdef GLX_ARB_context_flush_control
  24240. if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
  24241. {
  24242. ret = GLXEW_ARB_context_flush_control;
  24243. continue;
  24244. }
  24245. #endif
  24246. #ifdef GLX_ARB_create_context
  24247. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
  24248. {
  24249. ret = GLXEW_ARB_create_context;
  24250. continue;
  24251. }
  24252. #endif
  24253. #ifdef GLX_ARB_create_context_no_error
  24254. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
  24255. {
  24256. ret = GLXEW_ARB_create_context_no_error;
  24257. continue;
  24258. }
  24259. #endif
  24260. #ifdef GLX_ARB_create_context_profile
  24261. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
  24262. {
  24263. ret = GLXEW_ARB_create_context_profile;
  24264. continue;
  24265. }
  24266. #endif
  24267. #ifdef GLX_ARB_create_context_robustness
  24268. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
  24269. {
  24270. ret = GLXEW_ARB_create_context_robustness;
  24271. continue;
  24272. }
  24273. #endif
  24274. #ifdef GLX_ARB_fbconfig_float
  24275. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14))
  24276. {
  24277. ret = GLXEW_ARB_fbconfig_float;
  24278. continue;
  24279. }
  24280. #endif
  24281. #ifdef GLX_ARB_framebuffer_sRGB
  24282. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  24283. {
  24284. ret = GLXEW_ARB_framebuffer_sRGB;
  24285. continue;
  24286. }
  24287. #endif
  24288. #ifdef GLX_ARB_get_proc_address
  24289. if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16))
  24290. {
  24291. ret = GLXEW_ARB_get_proc_address;
  24292. continue;
  24293. }
  24294. #endif
  24295. #ifdef GLX_ARB_multisample
  24296. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  24297. {
  24298. ret = GLXEW_ARB_multisample;
  24299. continue;
  24300. }
  24301. #endif
  24302. #ifdef GLX_ARB_robustness_application_isolation
  24303. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
  24304. {
  24305. ret = GLXEW_ARB_robustness_application_isolation;
  24306. continue;
  24307. }
  24308. #endif
  24309. #ifdef GLX_ARB_robustness_share_group_isolation
  24310. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
  24311. {
  24312. ret = GLXEW_ARB_robustness_share_group_isolation;
  24313. continue;
  24314. }
  24315. #endif
  24316. #ifdef GLX_ARB_vertex_buffer_object
  24317. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
  24318. {
  24319. ret = GLXEW_ARB_vertex_buffer_object;
  24320. continue;
  24321. }
  24322. #endif
  24323. }
  24324. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
  24325. {
  24326. #ifdef GLX_ATI_pixel_format_float
  24327. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
  24328. {
  24329. ret = GLXEW_ATI_pixel_format_float;
  24330. continue;
  24331. }
  24332. #endif
  24333. #ifdef GLX_ATI_render_texture
  24334. if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
  24335. {
  24336. ret = GLXEW_ATI_render_texture;
  24337. continue;
  24338. }
  24339. #endif
  24340. }
  24341. if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
  24342. {
  24343. #ifdef GLX_EXT_buffer_age
  24344. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_age", 10))
  24345. {
  24346. ret = GLXEW_EXT_buffer_age;
  24347. continue;
  24348. }
  24349. #endif
  24350. #ifdef GLX_EXT_create_context_es2_profile
  24351. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
  24352. {
  24353. ret = GLXEW_EXT_create_context_es2_profile;
  24354. continue;
  24355. }
  24356. #endif
  24357. #ifdef GLX_EXT_create_context_es_profile
  24358. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
  24359. {
  24360. ret = GLXEW_EXT_create_context_es_profile;
  24361. continue;
  24362. }
  24363. #endif
  24364. #ifdef GLX_EXT_fbconfig_packed_float
  24365. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_packed_float", 21))
  24366. {
  24367. ret = GLXEW_EXT_fbconfig_packed_float;
  24368. continue;
  24369. }
  24370. #endif
  24371. #ifdef GLX_EXT_framebuffer_sRGB
  24372. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
  24373. {
  24374. ret = GLXEW_EXT_framebuffer_sRGB;
  24375. continue;
  24376. }
  24377. #endif
  24378. #ifdef GLX_EXT_import_context
  24379. if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14))
  24380. {
  24381. ret = GLXEW_EXT_import_context;
  24382. continue;
  24383. }
  24384. #endif
  24385. #ifdef GLX_EXT_libglvnd
  24386. if (_glewStrSame3(&pos, &len, (const GLubyte*)"libglvnd", 8))
  24387. {
  24388. ret = GLXEW_EXT_libglvnd;
  24389. continue;
  24390. }
  24391. #endif
  24392. #ifdef GLX_EXT_scene_marker
  24393. if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
  24394. {
  24395. ret = GLXEW_EXT_scene_marker;
  24396. continue;
  24397. }
  24398. #endif
  24399. #ifdef GLX_EXT_stereo_tree
  24400. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_tree", 11))
  24401. {
  24402. ret = GLXEW_EXT_stereo_tree;
  24403. continue;
  24404. }
  24405. #endif
  24406. #ifdef GLX_EXT_swap_control
  24407. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
  24408. {
  24409. ret = GLXEW_EXT_swap_control;
  24410. continue;
  24411. }
  24412. #endif
  24413. #ifdef GLX_EXT_swap_control_tear
  24414. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
  24415. {
  24416. ret = GLXEW_EXT_swap_control_tear;
  24417. continue;
  24418. }
  24419. #endif
  24420. #ifdef GLX_EXT_texture_from_pixmap
  24421. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
  24422. {
  24423. ret = GLXEW_EXT_texture_from_pixmap;
  24424. continue;
  24425. }
  24426. #endif
  24427. #ifdef GLX_EXT_visual_info
  24428. if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11))
  24429. {
  24430. ret = GLXEW_EXT_visual_info;
  24431. continue;
  24432. }
  24433. #endif
  24434. #ifdef GLX_EXT_visual_rating
  24435. if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13))
  24436. {
  24437. ret = GLXEW_EXT_visual_rating;
  24438. continue;
  24439. }
  24440. #endif
  24441. }
  24442. if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
  24443. {
  24444. #ifdef GLX_INTEL_swap_event
  24445. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_event", 10))
  24446. {
  24447. ret = GLXEW_INTEL_swap_event;
  24448. continue;
  24449. }
  24450. #endif
  24451. }
  24452. if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
  24453. {
  24454. #ifdef GLX_MESA_agp_offset
  24455. if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10))
  24456. {
  24457. ret = GLXEW_MESA_agp_offset;
  24458. continue;
  24459. }
  24460. #endif
  24461. #ifdef GLX_MESA_copy_sub_buffer
  24462. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15))
  24463. {
  24464. ret = GLXEW_MESA_copy_sub_buffer;
  24465. continue;
  24466. }
  24467. #endif
  24468. #ifdef GLX_MESA_pixmap_colormap
  24469. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15))
  24470. {
  24471. ret = GLXEW_MESA_pixmap_colormap;
  24472. continue;
  24473. }
  24474. #endif
  24475. #ifdef GLX_MESA_query_renderer
  24476. if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_renderer", 14))
  24477. {
  24478. ret = GLXEW_MESA_query_renderer;
  24479. continue;
  24480. }
  24481. #endif
  24482. #ifdef GLX_MESA_release_buffers
  24483. if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15))
  24484. {
  24485. ret = GLXEW_MESA_release_buffers;
  24486. continue;
  24487. }
  24488. #endif
  24489. #ifdef GLX_MESA_set_3dfx_mode
  24490. if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13))
  24491. {
  24492. ret = GLXEW_MESA_set_3dfx_mode;
  24493. continue;
  24494. }
  24495. #endif
  24496. #ifdef GLX_MESA_swap_control
  24497. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
  24498. {
  24499. ret = GLXEW_MESA_swap_control;
  24500. continue;
  24501. }
  24502. #endif
  24503. }
  24504. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
  24505. {
  24506. #ifdef GLX_NV_copy_buffer
  24507. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
  24508. {
  24509. ret = GLXEW_NV_copy_buffer;
  24510. continue;
  24511. }
  24512. #endif
  24513. #ifdef GLX_NV_copy_image
  24514. if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
  24515. {
  24516. ret = GLXEW_NV_copy_image;
  24517. continue;
  24518. }
  24519. #endif
  24520. #ifdef GLX_NV_delay_before_swap
  24521. if (_glewStrSame3(&pos, &len, (const GLubyte*)"delay_before_swap", 17))
  24522. {
  24523. ret = GLXEW_NV_delay_before_swap;
  24524. continue;
  24525. }
  24526. #endif
  24527. #ifdef GLX_NV_float_buffer
  24528. if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
  24529. {
  24530. ret = GLXEW_NV_float_buffer;
  24531. continue;
  24532. }
  24533. #endif
  24534. #ifdef GLX_NV_multisample_coverage
  24535. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
  24536. {
  24537. ret = GLXEW_NV_multisample_coverage;
  24538. continue;
  24539. }
  24540. #endif
  24541. #ifdef GLX_NV_present_video
  24542. if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
  24543. {
  24544. ret = GLXEW_NV_present_video;
  24545. continue;
  24546. }
  24547. #endif
  24548. #ifdef GLX_NV_robustness_video_memory_purge
  24549. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
  24550. {
  24551. ret = GLXEW_NV_robustness_video_memory_purge;
  24552. continue;
  24553. }
  24554. #endif
  24555. #ifdef GLX_NV_swap_group
  24556. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
  24557. {
  24558. ret = GLXEW_NV_swap_group;
  24559. continue;
  24560. }
  24561. #endif
  24562. #ifdef GLX_NV_vertex_array_range
  24563. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
  24564. {
  24565. ret = GLXEW_NV_vertex_array_range;
  24566. continue;
  24567. }
  24568. #endif
  24569. #ifdef GLX_NV_video_capture
  24570. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
  24571. {
  24572. ret = GLXEW_NV_video_capture;
  24573. continue;
  24574. }
  24575. #endif
  24576. #ifdef GLX_NV_video_out
  24577. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_out", 9))
  24578. {
  24579. ret = GLXEW_NV_video_out;
  24580. continue;
  24581. }
  24582. #endif
  24583. }
  24584. if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
  24585. {
  24586. #ifdef GLX_OML_swap_method
  24587. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11))
  24588. {
  24589. ret = GLXEW_OML_swap_method;
  24590. continue;
  24591. }
  24592. #endif
  24593. #ifdef GLX_OML_sync_control
  24594. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
  24595. {
  24596. ret = GLXEW_OML_sync_control;
  24597. continue;
  24598. }
  24599. #endif
  24600. }
  24601. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
  24602. {
  24603. #ifdef GLX_SGIS_blended_overlay
  24604. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15))
  24605. {
  24606. ret = GLXEW_SGIS_blended_overlay;
  24607. continue;
  24608. }
  24609. #endif
  24610. #ifdef GLX_SGIS_color_range
  24611. if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
  24612. {
  24613. ret = GLXEW_SGIS_color_range;
  24614. continue;
  24615. }
  24616. #endif
  24617. #ifdef GLX_SGIS_multisample
  24618. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
  24619. {
  24620. ret = GLXEW_SGIS_multisample;
  24621. continue;
  24622. }
  24623. #endif
  24624. #ifdef GLX_SGIS_shared_multisample
  24625. if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
  24626. {
  24627. ret = GLXEW_SGIS_shared_multisample;
  24628. continue;
  24629. }
  24630. #endif
  24631. }
  24632. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
  24633. {
  24634. #ifdef GLX_SGIX_fbconfig
  24635. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8))
  24636. {
  24637. ret = GLXEW_SGIX_fbconfig;
  24638. continue;
  24639. }
  24640. #endif
  24641. #ifdef GLX_SGIX_hyperpipe
  24642. if (_glewStrSame3(&pos, &len, (const GLubyte*)"hyperpipe", 9))
  24643. {
  24644. ret = GLXEW_SGIX_hyperpipe;
  24645. continue;
  24646. }
  24647. #endif
  24648. #ifdef GLX_SGIX_pbuffer
  24649. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
  24650. {
  24651. ret = GLXEW_SGIX_pbuffer;
  24652. continue;
  24653. }
  24654. #endif
  24655. #ifdef GLX_SGIX_swap_barrier
  24656. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12))
  24657. {
  24658. ret = GLXEW_SGIX_swap_barrier;
  24659. continue;
  24660. }
  24661. #endif
  24662. #ifdef GLX_SGIX_swap_group
  24663. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
  24664. {
  24665. ret = GLXEW_SGIX_swap_group;
  24666. continue;
  24667. }
  24668. #endif
  24669. #ifdef GLX_SGIX_video_resize
  24670. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
  24671. {
  24672. ret = GLXEW_SGIX_video_resize;
  24673. continue;
  24674. }
  24675. #endif
  24676. #ifdef GLX_SGIX_visual_select_group
  24677. if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19))
  24678. {
  24679. ret = GLXEW_SGIX_visual_select_group;
  24680. continue;
  24681. }
  24682. #endif
  24683. }
  24684. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
  24685. {
  24686. #ifdef GLX_SGI_cushion
  24687. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7))
  24688. {
  24689. ret = GLXEW_SGI_cushion;
  24690. continue;
  24691. }
  24692. #endif
  24693. #ifdef GLX_SGI_make_current_read
  24694. if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
  24695. {
  24696. ret = GLXEW_SGI_make_current_read;
  24697. continue;
  24698. }
  24699. #endif
  24700. #ifdef GLX_SGI_swap_control
  24701. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
  24702. {
  24703. ret = GLXEW_SGI_swap_control;
  24704. continue;
  24705. }
  24706. #endif
  24707. #ifdef GLX_SGI_video_sync
  24708. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10))
  24709. {
  24710. ret = GLXEW_SGI_video_sync;
  24711. continue;
  24712. }
  24713. #endif
  24714. }
  24715. if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
  24716. {
  24717. #ifdef GLX_SUN_get_transparent_index
  24718. if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21))
  24719. {
  24720. ret = GLXEW_SUN_get_transparent_index;
  24721. continue;
  24722. }
  24723. #endif
  24724. #ifdef GLX_SUN_video_resize
  24725. if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
  24726. {
  24727. ret = GLXEW_SUN_video_resize;
  24728. continue;
  24729. }
  24730. #endif
  24731. }
  24732. }
  24733. ret = (len == 0);
  24734. }
  24735. return ret;
  24736. }
  24737. #elif defined(GLEW_EGL)
  24738. GLboolean eglewIsSupported (const char* name)
  24739. {
  24740. const GLubyte* pos = (const GLubyte*)name;
  24741. GLuint len = _glewStrLen(pos);
  24742. GLboolean ret = GL_TRUE;
  24743. while (ret && len > 0)
  24744. {
  24745. if(_glewStrSame1(&pos, &len, (const GLubyte*)"EGL_", 4))
  24746. {
  24747. if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
  24748. {
  24749. #ifdef EGL_VERSION_1_0
  24750. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_0", 3))
  24751. {
  24752. ret = EGLEW_VERSION_1_0;
  24753. continue;
  24754. }
  24755. #endif
  24756. #ifdef EGL_VERSION_1_1
  24757. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_1", 3))
  24758. {
  24759. ret = EGLEW_VERSION_1_1;
  24760. continue;
  24761. }
  24762. #endif
  24763. #ifdef EGL_VERSION_1_2
  24764. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
  24765. {
  24766. ret = EGLEW_VERSION_1_2;
  24767. continue;
  24768. }
  24769. #endif
  24770. #ifdef EGL_VERSION_1_3
  24771. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
  24772. {
  24773. ret = EGLEW_VERSION_1_3;
  24774. continue;
  24775. }
  24776. #endif
  24777. #ifdef EGL_VERSION_1_4
  24778. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
  24779. {
  24780. ret = EGLEW_VERSION_1_4;
  24781. continue;
  24782. }
  24783. #endif
  24784. #ifdef EGL_VERSION_1_5
  24785. if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
  24786. {
  24787. ret = EGLEW_VERSION_1_5;
  24788. continue;
  24789. }
  24790. #endif
  24791. }
  24792. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANDROID_", 8))
  24793. {
  24794. #ifdef EGL_ANDROID_blob_cache
  24795. if (_glewStrSame3(&pos, &len, (const GLubyte*)"blob_cache", 10))
  24796. {
  24797. ret = EGLEW_ANDROID_blob_cache;
  24798. continue;
  24799. }
  24800. #endif
  24801. #ifdef EGL_ANDROID_create_native_client_buffer
  24802. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_native_client_buffer", 27))
  24803. {
  24804. ret = EGLEW_ANDROID_create_native_client_buffer;
  24805. continue;
  24806. }
  24807. #endif
  24808. #ifdef EGL_ANDROID_framebuffer_target
  24809. if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_target", 18))
  24810. {
  24811. ret = EGLEW_ANDROID_framebuffer_target;
  24812. continue;
  24813. }
  24814. #endif
  24815. #ifdef EGL_ANDROID_front_buffer_auto_refresh
  24816. if (_glewStrSame3(&pos, &len, (const GLubyte*)"front_buffer_auto_refresh", 25))
  24817. {
  24818. ret = EGLEW_ANDROID_front_buffer_auto_refresh;
  24819. continue;
  24820. }
  24821. #endif
  24822. #ifdef EGL_ANDROID_image_native_buffer
  24823. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_buffer", 19))
  24824. {
  24825. ret = EGLEW_ANDROID_image_native_buffer;
  24826. continue;
  24827. }
  24828. #endif
  24829. #ifdef EGL_ANDROID_native_fence_sync
  24830. if (_glewStrSame3(&pos, &len, (const GLubyte*)"native_fence_sync", 17))
  24831. {
  24832. ret = EGLEW_ANDROID_native_fence_sync;
  24833. continue;
  24834. }
  24835. #endif
  24836. #ifdef EGL_ANDROID_presentation_time
  24837. if (_glewStrSame3(&pos, &len, (const GLubyte*)"presentation_time", 17))
  24838. {
  24839. ret = EGLEW_ANDROID_presentation_time;
  24840. continue;
  24841. }
  24842. #endif
  24843. #ifdef EGL_ANDROID_recordable
  24844. if (_glewStrSame3(&pos, &len, (const GLubyte*)"recordable", 10))
  24845. {
  24846. ret = EGLEW_ANDROID_recordable;
  24847. continue;
  24848. }
  24849. #endif
  24850. }
  24851. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANGLE_", 6))
  24852. {
  24853. #ifdef EGL_ANGLE_d3d_share_handle_client_buffer
  24854. if (_glewStrSame3(&pos, &len, (const GLubyte*)"d3d_share_handle_client_buffer", 30))
  24855. {
  24856. ret = EGLEW_ANGLE_d3d_share_handle_client_buffer;
  24857. continue;
  24858. }
  24859. #endif
  24860. #ifdef EGL_ANGLE_device_d3d
  24861. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_d3d", 10))
  24862. {
  24863. ret = EGLEW_ANGLE_device_d3d;
  24864. continue;
  24865. }
  24866. #endif
  24867. #ifdef EGL_ANGLE_query_surface_pointer
  24868. if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_surface_pointer", 21))
  24869. {
  24870. ret = EGLEW_ANGLE_query_surface_pointer;
  24871. continue;
  24872. }
  24873. #endif
  24874. #ifdef EGL_ANGLE_surface_d3d_texture_2d_share_handle
  24875. if (_glewStrSame3(&pos, &len, (const GLubyte*)"surface_d3d_texture_2d_share_handle", 35))
  24876. {
  24877. ret = EGLEW_ANGLE_surface_d3d_texture_2d_share_handle;
  24878. continue;
  24879. }
  24880. #endif
  24881. #ifdef EGL_ANGLE_window_fixed_size
  24882. if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_fixed_size", 17))
  24883. {
  24884. ret = EGLEW_ANGLE_window_fixed_size;
  24885. continue;
  24886. }
  24887. #endif
  24888. }
  24889. if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARM_", 4))
  24890. {
  24891. #ifdef EGL_ARM_implicit_external_sync
  24892. if (_glewStrSame3(&pos, &len, (const GLubyte*)"implicit_external_sync", 22))
  24893. {
  24894. ret = EGLEW_ARM_implicit_external_sync;
  24895. continue;
  24896. }
  24897. #endif
  24898. #ifdef EGL_ARM_pixmap_multisample_discard
  24899. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_multisample_discard", 26))
  24900. {
  24901. ret = EGLEW_ARM_pixmap_multisample_discard;
  24902. continue;
  24903. }
  24904. #endif
  24905. }
  24906. if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
  24907. {
  24908. #ifdef EGL_EXT_buffer_age
  24909. if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_age", 10))
  24910. {
  24911. ret = EGLEW_EXT_buffer_age;
  24912. continue;
  24913. }
  24914. #endif
  24915. #ifdef EGL_EXT_client_extensions
  24916. if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_extensions", 17))
  24917. {
  24918. ret = EGLEW_EXT_client_extensions;
  24919. continue;
  24920. }
  24921. #endif
  24922. #ifdef EGL_EXT_create_context_robustness
  24923. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
  24924. {
  24925. ret = EGLEW_EXT_create_context_robustness;
  24926. continue;
  24927. }
  24928. #endif
  24929. #ifdef EGL_EXT_device_base
  24930. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_base", 11))
  24931. {
  24932. ret = EGLEW_EXT_device_base;
  24933. continue;
  24934. }
  24935. #endif
  24936. #ifdef EGL_EXT_device_drm
  24937. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_drm", 10))
  24938. {
  24939. ret = EGLEW_EXT_device_drm;
  24940. continue;
  24941. }
  24942. #endif
  24943. #ifdef EGL_EXT_device_enumeration
  24944. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_enumeration", 18))
  24945. {
  24946. ret = EGLEW_EXT_device_enumeration;
  24947. continue;
  24948. }
  24949. #endif
  24950. #ifdef EGL_EXT_device_openwf
  24951. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_openwf", 13))
  24952. {
  24953. ret = EGLEW_EXT_device_openwf;
  24954. continue;
  24955. }
  24956. #endif
  24957. #ifdef EGL_EXT_device_query
  24958. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_query", 12))
  24959. {
  24960. ret = EGLEW_EXT_device_query;
  24961. continue;
  24962. }
  24963. #endif
  24964. #ifdef EGL_EXT_gl_colorspace_bt2020_linear
  24965. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_bt2020_linear", 27))
  24966. {
  24967. ret = EGLEW_EXT_gl_colorspace_bt2020_linear;
  24968. continue;
  24969. }
  24970. #endif
  24971. #ifdef EGL_EXT_gl_colorspace_bt2020_pq
  24972. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_bt2020_pq", 23))
  24973. {
  24974. ret = EGLEW_EXT_gl_colorspace_bt2020_pq;
  24975. continue;
  24976. }
  24977. #endif
  24978. #ifdef EGL_EXT_gl_colorspace_scrgb_linear
  24979. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_scrgb_linear", 26))
  24980. {
  24981. ret = EGLEW_EXT_gl_colorspace_scrgb_linear;
  24982. continue;
  24983. }
  24984. #endif
  24985. #ifdef EGL_EXT_image_dma_buf_import
  24986. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_import", 20))
  24987. {
  24988. ret = EGLEW_EXT_image_dma_buf_import;
  24989. continue;
  24990. }
  24991. #endif
  24992. #ifdef EGL_EXT_image_dma_buf_import_modifiers
  24993. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_import_modifiers", 30))
  24994. {
  24995. ret = EGLEW_EXT_image_dma_buf_import_modifiers;
  24996. continue;
  24997. }
  24998. #endif
  24999. #ifdef EGL_EXT_multiview_window
  25000. if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_window", 16))
  25001. {
  25002. ret = EGLEW_EXT_multiview_window;
  25003. continue;
  25004. }
  25005. #endif
  25006. #ifdef EGL_EXT_output_base
  25007. if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_base", 11))
  25008. {
  25009. ret = EGLEW_EXT_output_base;
  25010. continue;
  25011. }
  25012. #endif
  25013. #ifdef EGL_EXT_output_drm
  25014. if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_drm", 10))
  25015. {
  25016. ret = EGLEW_EXT_output_drm;
  25017. continue;
  25018. }
  25019. #endif
  25020. #ifdef EGL_EXT_output_openwf
  25021. if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_openwf", 13))
  25022. {
  25023. ret = EGLEW_EXT_output_openwf;
  25024. continue;
  25025. }
  25026. #endif
  25027. #ifdef EGL_EXT_pixel_format_float
  25028. if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
  25029. {
  25030. ret = EGLEW_EXT_pixel_format_float;
  25031. continue;
  25032. }
  25033. #endif
  25034. #ifdef EGL_EXT_platform_base
  25035. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_base", 13))
  25036. {
  25037. ret = EGLEW_EXT_platform_base;
  25038. continue;
  25039. }
  25040. #endif
  25041. #ifdef EGL_EXT_platform_device
  25042. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_device", 15))
  25043. {
  25044. ret = EGLEW_EXT_platform_device;
  25045. continue;
  25046. }
  25047. #endif
  25048. #ifdef EGL_EXT_platform_wayland
  25049. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_wayland", 16))
  25050. {
  25051. ret = EGLEW_EXT_platform_wayland;
  25052. continue;
  25053. }
  25054. #endif
  25055. #ifdef EGL_EXT_platform_x11
  25056. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_x11", 12))
  25057. {
  25058. ret = EGLEW_EXT_platform_x11;
  25059. continue;
  25060. }
  25061. #endif
  25062. #ifdef EGL_EXT_protected_content
  25063. if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_content", 17))
  25064. {
  25065. ret = EGLEW_EXT_protected_content;
  25066. continue;
  25067. }
  25068. #endif
  25069. #ifdef EGL_EXT_protected_surface
  25070. if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_surface", 17))
  25071. {
  25072. ret = EGLEW_EXT_protected_surface;
  25073. continue;
  25074. }
  25075. #endif
  25076. #ifdef EGL_EXT_stream_consumer_egloutput
  25077. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_egloutput", 25))
  25078. {
  25079. ret = EGLEW_EXT_stream_consumer_egloutput;
  25080. continue;
  25081. }
  25082. #endif
  25083. #ifdef EGL_EXT_surface_SMPTE2086_metadata
  25084. if (_glewStrSame3(&pos, &len, (const GLubyte*)"surface_SMPTE2086_metadata", 26))
  25085. {
  25086. ret = EGLEW_EXT_surface_SMPTE2086_metadata;
  25087. continue;
  25088. }
  25089. #endif
  25090. #ifdef EGL_EXT_swap_buffers_with_damage
  25091. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_buffers_with_damage", 24))
  25092. {
  25093. ret = EGLEW_EXT_swap_buffers_with_damage;
  25094. continue;
  25095. }
  25096. #endif
  25097. #ifdef EGL_EXT_yuv_surface
  25098. if (_glewStrSame3(&pos, &len, (const GLubyte*)"yuv_surface", 11))
  25099. {
  25100. ret = EGLEW_EXT_yuv_surface;
  25101. continue;
  25102. }
  25103. #endif
  25104. }
  25105. if (_glewStrSame2(&pos, &len, (const GLubyte*)"HI_", 3))
  25106. {
  25107. #ifdef EGL_HI_clientpixmap
  25108. if (_glewStrSame3(&pos, &len, (const GLubyte*)"clientpixmap", 12))
  25109. {
  25110. ret = EGLEW_HI_clientpixmap;
  25111. continue;
  25112. }
  25113. #endif
  25114. #ifdef EGL_HI_colorformats
  25115. if (_glewStrSame3(&pos, &len, (const GLubyte*)"colorformats", 12))
  25116. {
  25117. ret = EGLEW_HI_colorformats;
  25118. continue;
  25119. }
  25120. #endif
  25121. }
  25122. if (_glewStrSame2(&pos, &len, (const GLubyte*)"IMG_", 4))
  25123. {
  25124. #ifdef EGL_IMG_context_priority
  25125. if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_priority", 16))
  25126. {
  25127. ret = EGLEW_IMG_context_priority;
  25128. continue;
  25129. }
  25130. #endif
  25131. #ifdef EGL_IMG_image_plane_attribs
  25132. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_plane_attribs", 19))
  25133. {
  25134. ret = EGLEW_IMG_image_plane_attribs;
  25135. continue;
  25136. }
  25137. #endif
  25138. }
  25139. if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4))
  25140. {
  25141. #ifdef EGL_KHR_cl_event
  25142. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8))
  25143. {
  25144. ret = EGLEW_KHR_cl_event;
  25145. continue;
  25146. }
  25147. #endif
  25148. #ifdef EGL_KHR_cl_event2
  25149. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event2", 9))
  25150. {
  25151. ret = EGLEW_KHR_cl_event2;
  25152. continue;
  25153. }
  25154. #endif
  25155. #ifdef EGL_KHR_client_get_all_proc_addresses
  25156. if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_get_all_proc_addresses", 29))
  25157. {
  25158. ret = EGLEW_KHR_client_get_all_proc_addresses;
  25159. continue;
  25160. }
  25161. #endif
  25162. #ifdef EGL_KHR_config_attribs
  25163. if (_glewStrSame3(&pos, &len, (const GLubyte*)"config_attribs", 14))
  25164. {
  25165. ret = EGLEW_KHR_config_attribs;
  25166. continue;
  25167. }
  25168. #endif
  25169. #ifdef EGL_KHR_context_flush_control
  25170. if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
  25171. {
  25172. ret = EGLEW_KHR_context_flush_control;
  25173. continue;
  25174. }
  25175. #endif
  25176. #ifdef EGL_KHR_create_context
  25177. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
  25178. {
  25179. ret = EGLEW_KHR_create_context;
  25180. continue;
  25181. }
  25182. #endif
  25183. #ifdef EGL_KHR_create_context_no_error
  25184. if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
  25185. {
  25186. ret = EGLEW_KHR_create_context_no_error;
  25187. continue;
  25188. }
  25189. #endif
  25190. #ifdef EGL_KHR_debug
  25191. if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5))
  25192. {
  25193. ret = EGLEW_KHR_debug;
  25194. continue;
  25195. }
  25196. #endif
  25197. #ifdef EGL_KHR_fence_sync
  25198. if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence_sync", 10))
  25199. {
  25200. ret = EGLEW_KHR_fence_sync;
  25201. continue;
  25202. }
  25203. #endif
  25204. #ifdef EGL_KHR_get_all_proc_addresses
  25205. if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_all_proc_addresses", 22))
  25206. {
  25207. ret = EGLEW_KHR_get_all_proc_addresses;
  25208. continue;
  25209. }
  25210. #endif
  25211. #ifdef EGL_KHR_gl_colorspace
  25212. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace", 13))
  25213. {
  25214. ret = EGLEW_KHR_gl_colorspace;
  25215. continue;
  25216. }
  25217. #endif
  25218. #ifdef EGL_KHR_gl_renderbuffer_image
  25219. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_renderbuffer_image", 21))
  25220. {
  25221. ret = EGLEW_KHR_gl_renderbuffer_image;
  25222. continue;
  25223. }
  25224. #endif
  25225. #ifdef EGL_KHR_gl_texture_2D_image
  25226. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_2D_image", 19))
  25227. {
  25228. ret = EGLEW_KHR_gl_texture_2D_image;
  25229. continue;
  25230. }
  25231. #endif
  25232. #ifdef EGL_KHR_gl_texture_3D_image
  25233. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_3D_image", 19))
  25234. {
  25235. ret = EGLEW_KHR_gl_texture_3D_image;
  25236. continue;
  25237. }
  25238. #endif
  25239. #ifdef EGL_KHR_gl_texture_cubemap_image
  25240. if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_cubemap_image", 24))
  25241. {
  25242. ret = EGLEW_KHR_gl_texture_cubemap_image;
  25243. continue;
  25244. }
  25245. #endif
  25246. #ifdef EGL_KHR_image
  25247. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image", 5))
  25248. {
  25249. ret = EGLEW_KHR_image;
  25250. continue;
  25251. }
  25252. #endif
  25253. #ifdef EGL_KHR_image_base
  25254. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_base", 10))
  25255. {
  25256. ret = EGLEW_KHR_image_base;
  25257. continue;
  25258. }
  25259. #endif
  25260. #ifdef EGL_KHR_image_pixmap
  25261. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_pixmap", 12))
  25262. {
  25263. ret = EGLEW_KHR_image_pixmap;
  25264. continue;
  25265. }
  25266. #endif
  25267. #ifdef EGL_KHR_lock_surface
  25268. if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface", 12))
  25269. {
  25270. ret = EGLEW_KHR_lock_surface;
  25271. continue;
  25272. }
  25273. #endif
  25274. #ifdef EGL_KHR_lock_surface2
  25275. if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface2", 13))
  25276. {
  25277. ret = EGLEW_KHR_lock_surface2;
  25278. continue;
  25279. }
  25280. #endif
  25281. #ifdef EGL_KHR_lock_surface3
  25282. if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface3", 13))
  25283. {
  25284. ret = EGLEW_KHR_lock_surface3;
  25285. continue;
  25286. }
  25287. #endif
  25288. #ifdef EGL_KHR_mutable_render_buffer
  25289. if (_glewStrSame3(&pos, &len, (const GLubyte*)"mutable_render_buffer", 21))
  25290. {
  25291. ret = EGLEW_KHR_mutable_render_buffer;
  25292. continue;
  25293. }
  25294. #endif
  25295. #ifdef EGL_KHR_no_config_context
  25296. if (_glewStrSame3(&pos, &len, (const GLubyte*)"no_config_context", 17))
  25297. {
  25298. ret = EGLEW_KHR_no_config_context;
  25299. continue;
  25300. }
  25301. #endif
  25302. #ifdef EGL_KHR_partial_update
  25303. if (_glewStrSame3(&pos, &len, (const GLubyte*)"partial_update", 14))
  25304. {
  25305. ret = EGLEW_KHR_partial_update;
  25306. continue;
  25307. }
  25308. #endif
  25309. #ifdef EGL_KHR_platform_android
  25310. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_android", 16))
  25311. {
  25312. ret = EGLEW_KHR_platform_android;
  25313. continue;
  25314. }
  25315. #endif
  25316. #ifdef EGL_KHR_platform_gbm
  25317. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_gbm", 12))
  25318. {
  25319. ret = EGLEW_KHR_platform_gbm;
  25320. continue;
  25321. }
  25322. #endif
  25323. #ifdef EGL_KHR_platform_wayland
  25324. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_wayland", 16))
  25325. {
  25326. ret = EGLEW_KHR_platform_wayland;
  25327. continue;
  25328. }
  25329. #endif
  25330. #ifdef EGL_KHR_platform_x11
  25331. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_x11", 12))
  25332. {
  25333. ret = EGLEW_KHR_platform_x11;
  25334. continue;
  25335. }
  25336. #endif
  25337. #ifdef EGL_KHR_reusable_sync
  25338. if (_glewStrSame3(&pos, &len, (const GLubyte*)"reusable_sync", 13))
  25339. {
  25340. ret = EGLEW_KHR_reusable_sync;
  25341. continue;
  25342. }
  25343. #endif
  25344. #ifdef EGL_KHR_stream
  25345. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream", 6))
  25346. {
  25347. ret = EGLEW_KHR_stream;
  25348. continue;
  25349. }
  25350. #endif
  25351. #ifdef EGL_KHR_stream_attrib
  25352. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_attrib", 13))
  25353. {
  25354. ret = EGLEW_KHR_stream_attrib;
  25355. continue;
  25356. }
  25357. #endif
  25358. #ifdef EGL_KHR_stream_consumer_gltexture
  25359. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture", 25))
  25360. {
  25361. ret = EGLEW_KHR_stream_consumer_gltexture;
  25362. continue;
  25363. }
  25364. #endif
  25365. #ifdef EGL_KHR_stream_cross_process_fd
  25366. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_process_fd", 23))
  25367. {
  25368. ret = EGLEW_KHR_stream_cross_process_fd;
  25369. continue;
  25370. }
  25371. #endif
  25372. #ifdef EGL_KHR_stream_fifo
  25373. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo", 11))
  25374. {
  25375. ret = EGLEW_KHR_stream_fifo;
  25376. continue;
  25377. }
  25378. #endif
  25379. #ifdef EGL_KHR_stream_producer_aldatalocator
  25380. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_producer_aldatalocator", 29))
  25381. {
  25382. ret = EGLEW_KHR_stream_producer_aldatalocator;
  25383. continue;
  25384. }
  25385. #endif
  25386. #ifdef EGL_KHR_stream_producer_eglsurface
  25387. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_producer_eglsurface", 26))
  25388. {
  25389. ret = EGLEW_KHR_stream_producer_eglsurface;
  25390. continue;
  25391. }
  25392. #endif
  25393. #ifdef EGL_KHR_surfaceless_context
  25394. if (_glewStrSame3(&pos, &len, (const GLubyte*)"surfaceless_context", 19))
  25395. {
  25396. ret = EGLEW_KHR_surfaceless_context;
  25397. continue;
  25398. }
  25399. #endif
  25400. #ifdef EGL_KHR_swap_buffers_with_damage
  25401. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_buffers_with_damage", 24))
  25402. {
  25403. ret = EGLEW_KHR_swap_buffers_with_damage;
  25404. continue;
  25405. }
  25406. #endif
  25407. #ifdef EGL_KHR_vg_parent_image
  25408. if (_glewStrSame3(&pos, &len, (const GLubyte*)"vg_parent_image", 15))
  25409. {
  25410. ret = EGLEW_KHR_vg_parent_image;
  25411. continue;
  25412. }
  25413. #endif
  25414. #ifdef EGL_KHR_wait_sync
  25415. if (_glewStrSame3(&pos, &len, (const GLubyte*)"wait_sync", 9))
  25416. {
  25417. ret = EGLEW_KHR_wait_sync;
  25418. continue;
  25419. }
  25420. #endif
  25421. }
  25422. if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
  25423. {
  25424. #ifdef EGL_MESA_drm_image
  25425. if (_glewStrSame3(&pos, &len, (const GLubyte*)"drm_image", 9))
  25426. {
  25427. ret = EGLEW_MESA_drm_image;
  25428. continue;
  25429. }
  25430. #endif
  25431. #ifdef EGL_MESA_image_dma_buf_export
  25432. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_export", 20))
  25433. {
  25434. ret = EGLEW_MESA_image_dma_buf_export;
  25435. continue;
  25436. }
  25437. #endif
  25438. #ifdef EGL_MESA_platform_gbm
  25439. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_gbm", 12))
  25440. {
  25441. ret = EGLEW_MESA_platform_gbm;
  25442. continue;
  25443. }
  25444. #endif
  25445. #ifdef EGL_MESA_platform_surfaceless
  25446. if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_surfaceless", 20))
  25447. {
  25448. ret = EGLEW_MESA_platform_surfaceless;
  25449. continue;
  25450. }
  25451. #endif
  25452. }
  25453. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NOK_", 4))
  25454. {
  25455. #ifdef EGL_NOK_swap_region
  25456. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_region", 11))
  25457. {
  25458. ret = EGLEW_NOK_swap_region;
  25459. continue;
  25460. }
  25461. #endif
  25462. #ifdef EGL_NOK_swap_region2
  25463. if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_region2", 12))
  25464. {
  25465. ret = EGLEW_NOK_swap_region2;
  25466. continue;
  25467. }
  25468. #endif
  25469. #ifdef EGL_NOK_texture_from_pixmap
  25470. if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
  25471. {
  25472. ret = EGLEW_NOK_texture_from_pixmap;
  25473. continue;
  25474. }
  25475. #endif
  25476. }
  25477. if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
  25478. {
  25479. #ifdef EGL_NV_3dvision_surface
  25480. if (_glewStrSame3(&pos, &len, (const GLubyte*)"3dvision_surface", 16))
  25481. {
  25482. ret = EGLEW_NV_3dvision_surface;
  25483. continue;
  25484. }
  25485. #endif
  25486. #ifdef EGL_NV_coverage_sample
  25487. if (_glewStrSame3(&pos, &len, (const GLubyte*)"coverage_sample", 15))
  25488. {
  25489. ret = EGLEW_NV_coverage_sample;
  25490. continue;
  25491. }
  25492. #endif
  25493. #ifdef EGL_NV_coverage_sample_resolve
  25494. if (_glewStrSame3(&pos, &len, (const GLubyte*)"coverage_sample_resolve", 23))
  25495. {
  25496. ret = EGLEW_NV_coverage_sample_resolve;
  25497. continue;
  25498. }
  25499. #endif
  25500. #ifdef EGL_NV_cuda_event
  25501. if (_glewStrSame3(&pos, &len, (const GLubyte*)"cuda_event", 10))
  25502. {
  25503. ret = EGLEW_NV_cuda_event;
  25504. continue;
  25505. }
  25506. #endif
  25507. #ifdef EGL_NV_depth_nonlinear
  25508. if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_nonlinear", 15))
  25509. {
  25510. ret = EGLEW_NV_depth_nonlinear;
  25511. continue;
  25512. }
  25513. #endif
  25514. #ifdef EGL_NV_device_cuda
  25515. if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_cuda", 11))
  25516. {
  25517. ret = EGLEW_NV_device_cuda;
  25518. continue;
  25519. }
  25520. #endif
  25521. #ifdef EGL_NV_native_query
  25522. if (_glewStrSame3(&pos, &len, (const GLubyte*)"native_query", 12))
  25523. {
  25524. ret = EGLEW_NV_native_query;
  25525. continue;
  25526. }
  25527. #endif
  25528. #ifdef EGL_NV_post_convert_rounding
  25529. if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_convert_rounding", 21))
  25530. {
  25531. ret = EGLEW_NV_post_convert_rounding;
  25532. continue;
  25533. }
  25534. #endif
  25535. #ifdef EGL_NV_post_sub_buffer
  25536. if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_sub_buffer", 15))
  25537. {
  25538. ret = EGLEW_NV_post_sub_buffer;
  25539. continue;
  25540. }
  25541. #endif
  25542. #ifdef EGL_NV_robustness_video_memory_purge
  25543. if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
  25544. {
  25545. ret = EGLEW_NV_robustness_video_memory_purge;
  25546. continue;
  25547. }
  25548. #endif
  25549. #ifdef EGL_NV_stream_consumer_gltexture_yuv
  25550. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture_yuv", 29))
  25551. {
  25552. ret = EGLEW_NV_stream_consumer_gltexture_yuv;
  25553. continue;
  25554. }
  25555. #endif
  25556. #ifdef EGL_NV_stream_cross_display
  25557. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_display", 20))
  25558. {
  25559. ret = EGLEW_NV_stream_cross_display;
  25560. continue;
  25561. }
  25562. #endif
  25563. #ifdef EGL_NV_stream_cross_object
  25564. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_object", 19))
  25565. {
  25566. ret = EGLEW_NV_stream_cross_object;
  25567. continue;
  25568. }
  25569. #endif
  25570. #ifdef EGL_NV_stream_cross_partition
  25571. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_partition", 22))
  25572. {
  25573. ret = EGLEW_NV_stream_cross_partition;
  25574. continue;
  25575. }
  25576. #endif
  25577. #ifdef EGL_NV_stream_cross_process
  25578. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_process", 20))
  25579. {
  25580. ret = EGLEW_NV_stream_cross_process;
  25581. continue;
  25582. }
  25583. #endif
  25584. #ifdef EGL_NV_stream_cross_system
  25585. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_system", 19))
  25586. {
  25587. ret = EGLEW_NV_stream_cross_system;
  25588. continue;
  25589. }
  25590. #endif
  25591. #ifdef EGL_NV_stream_fifo_next
  25592. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo_next", 16))
  25593. {
  25594. ret = EGLEW_NV_stream_fifo_next;
  25595. continue;
  25596. }
  25597. #endif
  25598. #ifdef EGL_NV_stream_fifo_synchronous
  25599. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo_synchronous", 23))
  25600. {
  25601. ret = EGLEW_NV_stream_fifo_synchronous;
  25602. continue;
  25603. }
  25604. #endif
  25605. #ifdef EGL_NV_stream_frame_limits
  25606. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_frame_limits", 19))
  25607. {
  25608. ret = EGLEW_NV_stream_frame_limits;
  25609. continue;
  25610. }
  25611. #endif
  25612. #ifdef EGL_NV_stream_metadata
  25613. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_metadata", 15))
  25614. {
  25615. ret = EGLEW_NV_stream_metadata;
  25616. continue;
  25617. }
  25618. #endif
  25619. #ifdef EGL_NV_stream_remote
  25620. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_remote", 13))
  25621. {
  25622. ret = EGLEW_NV_stream_remote;
  25623. continue;
  25624. }
  25625. #endif
  25626. #ifdef EGL_NV_stream_reset
  25627. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_reset", 12))
  25628. {
  25629. ret = EGLEW_NV_stream_reset;
  25630. continue;
  25631. }
  25632. #endif
  25633. #ifdef EGL_NV_stream_socket
  25634. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket", 13))
  25635. {
  25636. ret = EGLEW_NV_stream_socket;
  25637. continue;
  25638. }
  25639. #endif
  25640. #ifdef EGL_NV_stream_socket_inet
  25641. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket_inet", 18))
  25642. {
  25643. ret = EGLEW_NV_stream_socket_inet;
  25644. continue;
  25645. }
  25646. #endif
  25647. #ifdef EGL_NV_stream_socket_unix
  25648. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket_unix", 18))
  25649. {
  25650. ret = EGLEW_NV_stream_socket_unix;
  25651. continue;
  25652. }
  25653. #endif
  25654. #ifdef EGL_NV_stream_sync
  25655. if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_sync", 11))
  25656. {
  25657. ret = EGLEW_NV_stream_sync;
  25658. continue;
  25659. }
  25660. #endif
  25661. #ifdef EGL_NV_sync
  25662. if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
  25663. {
  25664. ret = EGLEW_NV_sync;
  25665. continue;
  25666. }
  25667. #endif
  25668. #ifdef EGL_NV_system_time
  25669. if (_glewStrSame3(&pos, &len, (const GLubyte*)"system_time", 11))
  25670. {
  25671. ret = EGLEW_NV_system_time;
  25672. continue;
  25673. }
  25674. #endif
  25675. }
  25676. if (_glewStrSame2(&pos, &len, (const GLubyte*)"TIZEN_", 6))
  25677. {
  25678. #ifdef EGL_TIZEN_image_native_buffer
  25679. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_buffer", 19))
  25680. {
  25681. ret = EGLEW_TIZEN_image_native_buffer;
  25682. continue;
  25683. }
  25684. #endif
  25685. #ifdef EGL_TIZEN_image_native_surface
  25686. if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_surface", 20))
  25687. {
  25688. ret = EGLEW_TIZEN_image_native_surface;
  25689. continue;
  25690. }
  25691. #endif
  25692. }
  25693. }
  25694. ret = (len == 0);
  25695. }
  25696. return ret;
  25697. }
  25698. #endif /* _WIN32 */