123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743174417451746174717481749175017511752175317541755175617571758175917601761176217631764176517661767176817691770177117721773177417751776177717781779178017811782178317841785178617871788178917901791179217931794179517961797179817991800180118021803180418051806180718081809181018111812181318141815181618171818181918201821182218231824182518261827182818291830183118321833183418351836183718381839184018411842184318441845184618471848184918501851185218531854185518561857185818591860186118621863186418651866186718681869187018711872187318741875187618771878187918801881188218831884188518861887188818891890189118921893189418951896189718981899190019011902190319041905190619071908190919101911191219131914191519161917191819191920192119221923192419251926192719281929193019311932193319341935193619371938193919401941194219431944194519461947194819491950195119521953195419551956195719581959196019611962196319641965196619671968196919701971197219731974197519761977197819791980198119821983198419851986198719881989199019911992199319941995199619971998199920002001200220032004200520062007200820092010201120122013201420152016201720182019202020212022202320242025202620272028202920302031203220332034203520362037203820392040204120422043204420452046204720482049205020512052205320542055205620572058205920602061206220632064206520662067206820692070207120722073207420752076207720782079208020812082208320842085208620872088208920902091209220932094209520962097209820992100210121022103210421052106210721082109211021112112211321142115211621172118211921202121212221232124212521262127212821292130213121322133213421352136213721382139214021412142214321442145214621472148214921502151215221532154215521562157215821592160216121622163216421652166216721682169217021712172217321742175217621772178217921802181218221832184218521862187218821892190219121922193219421952196219721982199220022012202220322042205220622072208220922102211221222132214221522162217221822192220222122222223222422252226222722282229223022312232223322342235223622372238223922402241224222432244224522462247224822492250225122522253225422552256225722582259226022612262226322642265226622672268226922702271227222732274227522762277227822792280228122822283228422852286228722882289229022912292229322942295229622972298229923002301230223032304230523062307230823092310231123122313231423152316231723182319232023212322232323242325232623272328232923302331233223332334233523362337233823392340234123422343234423452346234723482349235023512352235323542355235623572358235923602361236223632364236523662367236823692370237123722373237423752376237723782379238023812382238323842385238623872388238923902391239223932394239523962397239823992400240124022403240424052406240724082409241024112412241324142415241624172418241924202421242224232424242524262427242824292430243124322433243424352436243724382439244024412442244324442445244624472448244924502451245224532454245524562457245824592460246124622463246424652466246724682469247024712472247324742475247624772478247924802481248224832484248524862487248824892490249124922493249424952496249724982499250025012502250325042505250625072508250925102511251225132514251525162517251825192520252125222523252425252526252725282529253025312532253325342535253625372538253925402541254225432544254525462547254825492550255125522553255425552556255725582559256025612562256325642565256625672568256925702571257225732574257525762577257825792580258125822583258425852586258725882589259025912592259325942595259625972598259926002601260226032604260526062607260826092610261126122613261426152616261726182619262026212622262326242625262626272628262926302631263226332634263526362637263826392640264126422643264426452646264726482649265026512652265326542655265626572658265926602661266226632664266526662667266826692670267126722673267426752676267726782679268026812682268326842685268626872688268926902691269226932694269526962697269826992700270127022703270427052706270727082709271027112712271327142715271627172718271927202721272227232724272527262727272827292730273127322733273427352736273727382739274027412742274327442745274627472748274927502751275227532754275527562757275827592760276127622763276427652766276727682769277027712772277327742775277627772778277927802781278227832784278527862787278827892790279127922793279427952796279727982799280028012802280328042805280628072808280928102811281228132814281528162817281828192820282128222823282428252826282728282829283028312832283328342835283628372838283928402841284228432844284528462847284828492850285128522853285428552856285728582859286028612862286328642865286628672868286928702871287228732874287528762877287828792880288128822883288428852886288728882889289028912892289328942895289628972898289929002901290229032904290529062907290829092910291129122913291429152916291729182919292029212922292329242925292629272928292929302931293229332934293529362937293829392940294129422943294429452946294729482949295029512952295329542955295629572958295929602961296229632964296529662967296829692970297129722973297429752976297729782979298029812982298329842985298629872988298929902991299229932994299529962997299829993000300130023003300430053006300730083009301030113012301330143015301630173018301930203021302230233024302530263027302830293030303130323033303430353036303730383039304030413042304330443045304630473048304930503051305230533054305530563057305830593060306130623063306430653066306730683069307030713072307330743075307630773078307930803081308230833084308530863087308830893090309130923093309430953096309730983099310031013102310331043105310631073108310931103111311231133114311531163117311831193120312131223123312431253126312731283129313031313132313331343135313631373138313931403141314231433144314531463147314831493150315131523153315431553156315731583159316031613162316331643165316631673168316931703171317231733174317531763177317831793180318131823183318431853186318731883189319031913192319331943195319631973198319932003201320232033204320532063207320832093210321132123213321432153216321732183219322032213222322332243225322632273228322932303231323232333234323532363237323832393240324132423243324432453246324732483249325032513252325332543255325632573258325932603261326232633264326532663267326832693270327132723273327432753276327732783279328032813282328332843285328632873288328932903291329232933294329532963297329832993300330133023303330433053306330733083309331033113312331333143315331633173318331933203321332233233324332533263327332833293330333133323333333433353336333733383339334033413342334333443345334633473348334933503351335233533354335533563357335833593360336133623363336433653366336733683369337033713372337333743375337633773378337933803381338233833384338533863387338833893390339133923393339433953396339733983399340034013402340334043405340634073408340934103411341234133414341534163417341834193420342134223423342434253426342734283429343034313432343334343435343634373438343934403441344234433444344534463447344834493450345134523453345434553456345734583459346034613462346334643465346634673468346934703471347234733474347534763477347834793480348134823483348434853486348734883489349034913492349334943495349634973498349935003501350235033504350535063507350835093510351135123513351435153516351735183519352035213522352335243525352635273528352935303531353235333534353535363537353835393540354135423543354435453546354735483549355035513552355335543555355635573558355935603561356235633564356535663567356835693570357135723573357435753576357735783579358035813582358335843585358635873588358935903591359235933594359535963597359835993600360136023603360436053606360736083609361036113612361336143615361636173618361936203621362236233624362536263627362836293630363136323633363436353636363736383639364036413642364336443645364636473648364936503651365236533654365536563657365836593660366136623663366436653666366736683669367036713672367336743675367636773678367936803681368236833684368536863687368836893690369136923693369436953696369736983699370037013702370337043705370637073708370937103711371237133714371537163717371837193720372137223723372437253726372737283729373037313732373337343735373637373738373937403741374237433744374537463747374837493750375137523753375437553756375737583759376037613762376337643765376637673768376937703771377237733774377537763777377837793780378137823783378437853786378737883789379037913792379337943795379637973798379938003801380238033804380538063807380838093810381138123813381438153816381738183819382038213822382338243825382638273828382938303831383238333834383538363837383838393840384138423843384438453846384738483849385038513852385338543855385638573858385938603861386238633864386538663867386838693870387138723873387438753876387738783879388038813882388338843885388638873888388938903891389238933894389538963897389838993900390139023903390439053906390739083909391039113912391339143915391639173918391939203921392239233924392539263927392839293930393139323933393439353936393739383939394039413942394339443945394639473948394939503951395239533954395539563957395839593960396139623963396439653966396739683969397039713972397339743975397639773978397939803981398239833984398539863987398839893990399139923993399439953996399739983999400040014002400340044005400640074008400940104011401240134014401540164017401840194020402140224023402440254026402740284029403040314032403340344035403640374038403940404041404240434044404540464047404840494050405140524053405440554056405740584059406040614062406340644065406640674068406940704071407240734074407540764077407840794080408140824083408440854086408740884089409040914092409340944095409640974098409941004101410241034104410541064107410841094110411141124113411441154116411741184119412041214122412341244125412641274128412941304131413241334134413541364137413841394140414141424143414441454146414741484149415041514152415341544155415641574158415941604161416241634164416541664167416841694170417141724173417441754176417741784179418041814182418341844185418641874188418941904191419241934194419541964197419841994200420142024203420442054206420742084209421042114212421342144215421642174218421942204221422242234224422542264227422842294230423142324233423442354236423742384239424042414242424342444245424642474248424942504251425242534254425542564257425842594260426142624263426442654266426742684269427042714272427342744275427642774278427942804281428242834284428542864287428842894290429142924293429442954296429742984299430043014302430343044305430643074308430943104311431243134314431543164317431843194320432143224323432443254326432743284329433043314332433343344335433643374338433943404341434243434344434543464347434843494350435143524353435443554356435743584359436043614362436343644365436643674368436943704371437243734374437543764377437843794380438143824383438443854386438743884389439043914392439343944395439643974398439944004401440244034404440544064407440844094410441144124413441444154416441744184419442044214422442344244425442644274428442944304431443244334434443544364437443844394440444144424443444444454446444744484449445044514452445344544455445644574458445944604461446244634464446544664467446844694470447144724473447444754476447744784479448044814482448344844485448644874488448944904491449244934494449544964497449844994500450145024503450445054506450745084509451045114512451345144515451645174518451945204521452245234524452545264527452845294530453145324533453445354536453745384539454045414542454345444545454645474548454945504551455245534554455545564557455845594560456145624563456445654566456745684569457045714572457345744575457645774578457945804581458245834584458545864587458845894590459145924593459445954596459745984599460046014602460346044605460646074608460946104611461246134614461546164617461846194620462146224623462446254626462746284629463046314632463346344635463646374638463946404641464246434644464546464647464846494650465146524653465446554656465746584659466046614662466346644665466646674668466946704671467246734674467546764677467846794680468146824683468446854686468746884689469046914692469346944695469646974698469947004701470247034704470547064707470847094710471147124713471447154716471747184719472047214722472347244725472647274728472947304731473247334734473547364737473847394740474147424743474447454746474747484749475047514752475347544755475647574758475947604761476247634764476547664767476847694770477147724773477447754776477747784779478047814782478347844785478647874788478947904791479247934794479547964797479847994800480148024803480448054806480748084809481048114812481348144815481648174818481948204821482248234824482548264827482848294830483148324833483448354836483748384839484048414842484348444845484648474848484948504851485248534854485548564857485848594860486148624863486448654866486748684869487048714872487348744875487648774878487948804881488248834884488548864887488848894890489148924893489448954896489748984899490049014902490349044905490649074908490949104911491249134914491549164917491849194920492149224923492449254926492749284929493049314932493349344935493649374938493949404941494249434944494549464947494849494950495149524953495449554956495749584959496049614962496349644965496649674968496949704971497249734974497549764977497849794980498149824983498449854986498749884989499049914992499349944995499649974998499950005001500250035004500550065007500850095010501150125013501450155016501750185019502050215022502350245025502650275028502950305031503250335034503550365037503850395040504150425043504450455046504750485049505050515052505350545055505650575058505950605061506250635064506550665067506850695070507150725073507450755076507750785079508050815082508350845085508650875088508950905091509250935094509550965097509850995100510151025103510451055106510751085109511051115112511351145115511651175118511951205121512251235124512551265127512851295130513151325133513451355136513751385139514051415142514351445145514651475148514951505151515251535154515551565157515851595160516151625163516451655166516751685169517051715172517351745175517651775178517951805181518251835184518551865187518851895190519151925193519451955196519751985199520052015202520352045205520652075208520952105211521252135214521552165217521852195220522152225223522452255226522752285229523052315232523352345235523652375238523952405241524252435244524552465247524852495250525152525253525452555256525752585259526052615262526352645265526652675268526952705271527252735274527552765277527852795280528152825283528452855286528752885289529052915292529352945295529652975298529953005301530253035304530553065307530853095310531153125313531453155316531753185319532053215322532353245325532653275328532953305331533253335334533553365337533853395340534153425343534453455346534753485349535053515352535353545355535653575358535953605361536253635364536553665367536853695370537153725373537453755376537753785379538053815382538353845385538653875388538953905391539253935394539553965397539853995400540154025403540454055406540754085409541054115412541354145415541654175418541954205421542254235424542554265427542854295430543154325433543454355436543754385439544054415442544354445445544654475448544954505451545254535454545554565457545854595460546154625463546454655466546754685469547054715472547354745475547654775478547954805481548254835484548554865487548854895490549154925493549454955496549754985499550055015502550355045505550655075508550955105511551255135514551555165517551855195520552155225523552455255526552755285529553055315532553355345535553655375538553955405541554255435544554555465547554855495550555155525553555455555556555755585559556055615562556355645565556655675568556955705571557255735574557555765577557855795580558155825583558455855586558755885589559055915592559355945595559655975598559956005601560256035604560556065607560856095610561156125613561456155616561756185619562056215622562356245625562656275628562956305631563256335634563556365637563856395640564156425643564456455646564756485649565056515652565356545655565656575658565956605661566256635664566556665667566856695670567156725673567456755676567756785679568056815682568356845685568656875688568956905691569256935694569556965697569856995700570157025703570457055706570757085709571057115712571357145715571657175718571957205721572257235724572557265727572857295730573157325733573457355736573757385739574057415742574357445745574657475748574957505751575257535754575557565757575857595760576157625763576457655766576757685769577057715772577357745775577657775778577957805781578257835784578557865787578857895790579157925793579457955796579757985799580058015802580358045805580658075808580958105811581258135814581558165817581858195820582158225823582458255826582758285829583058315832583358345835583658375838583958405841584258435844584558465847584858495850585158525853585458555856585758585859586058615862586358645865586658675868586958705871587258735874587558765877587858795880588158825883588458855886588758885889589058915892589358945895589658975898589959005901590259035904590559065907590859095910591159125913591459155916591759185919592059215922592359245925592659275928592959305931593259335934593559365937593859395940594159425943594459455946594759485949595059515952595359545955595659575958595959605961596259635964596559665967596859695970597159725973597459755976597759785979598059815982598359845985598659875988598959905991599259935994599559965997599859996000600160026003600460056006600760086009601060116012601360146015601660176018601960206021602260236024602560266027602860296030603160326033603460356036603760386039604060416042604360446045604660476048604960506051605260536054605560566057605860596060606160626063606460656066606760686069607060716072607360746075607660776078607960806081608260836084608560866087608860896090609160926093609460956096609760986099610061016102610361046105610661076108610961106111611261136114611561166117611861196120612161226123612461256126612761286129613061316132613361346135613661376138613961406141614261436144614561466147614861496150615161526153615461556156615761586159616061616162616361646165616661676168616961706171617261736174617561766177617861796180618161826183618461856186618761886189619061916192619361946195619661976198619962006201620262036204620562066207620862096210621162126213621462156216621762186219622062216222622362246225622662276228622962306231623262336234623562366237623862396240624162426243624462456246624762486249625062516252625362546255625662576258625962606261626262636264626562666267626862696270627162726273627462756276627762786279628062816282628362846285628662876288628962906291629262936294629562966297629862996300630163026303630463056306630763086309631063116312631363146315631663176318631963206321632263236324632563266327632863296330633163326333633463356336633763386339634063416342634363446345634663476348634963506351635263536354635563566357635863596360636163626363636463656366636763686369637063716372637363746375637663776378637963806381638263836384638563866387638863896390639163926393639463956396639763986399640064016402640364046405640664076408640964106411641264136414641564166417641864196420642164226423642464256426642764286429643064316432643364346435643664376438643964406441644264436444644564466447644864496450645164526453645464556456645764586459646064616462646364646465646664676468646964706471647264736474647564766477647864796480648164826483648464856486648764886489649064916492649364946495649664976498649965006501650265036504650565066507650865096510651165126513651465156516651765186519652065216522652365246525652665276528652965306531653265336534653565366537653865396540654165426543654465456546654765486549655065516552655365546555655665576558655965606561656265636564656565666567656865696570657165726573657465756576657765786579658065816582658365846585658665876588658965906591659265936594659565966597659865996600660166026603660466056606660766086609661066116612661366146615661666176618661966206621662266236624662566266627662866296630663166326633663466356636663766386639664066416642664366446645664666476648664966506651665266536654665566566657665866596660666166626663666466656666666766686669667066716672667366746675667666776678667966806681668266836684668566866687668866896690669166926693669466956696669766986699670067016702670367046705670667076708670967106711671267136714671567166717671867196720672167226723672467256726672767286729673067316732673367346735673667376738673967406741674267436744674567466747674867496750675167526753675467556756675767586759676067616762676367646765676667676768676967706771677267736774677567766777677867796780678167826783678467856786678767886789679067916792679367946795679667976798679968006801680268036804680568066807680868096810681168126813681468156816681768186819682068216822682368246825682668276828682968306831683268336834683568366837683868396840684168426843684468456846684768486849685068516852685368546855685668576858685968606861686268636864686568666867686868696870687168726873687468756876687768786879688068816882688368846885688668876888688968906891689268936894689568966897689868996900690169026903690469056906690769086909691069116912691369146915691669176918691969206921692269236924692569266927692869296930693169326933693469356936693769386939694069416942694369446945694669476948694969506951695269536954695569566957695869596960696169626963696469656966696769686969697069716972697369746975697669776978697969806981698269836984698569866987698869896990699169926993699469956996699769986999700070017002700370047005700670077008700970107011701270137014701570167017701870197020702170227023702470257026702770287029703070317032703370347035703670377038703970407041704270437044704570467047704870497050705170527053705470557056705770587059706070617062706370647065706670677068706970707071707270737074707570767077707870797080708170827083708470857086708770887089709070917092709370947095709670977098709971007101710271037104710571067107710871097110711171127113711471157116711771187119712071217122712371247125712671277128712971307131713271337134713571367137713871397140714171427143714471457146714771487149715071517152715371547155715671577158715971607161716271637164716571667167716871697170717171727173717471757176717771787179718071817182718371847185718671877188718971907191719271937194719571967197719871997200720172027203720472057206720772087209721072117212721372147215721672177218721972207221722272237224722572267227722872297230723172327233723472357236723772387239724072417242724372447245724672477248724972507251725272537254725572567257725872597260726172627263726472657266726772687269727072717272727372747275727672777278727972807281728272837284728572867287728872897290729172927293729472957296729772987299730073017302730373047305730673077308730973107311731273137314731573167317731873197320732173227323732473257326732773287329733073317332733373347335733673377338733973407341734273437344734573467347734873497350735173527353735473557356735773587359736073617362736373647365736673677368736973707371737273737374737573767377737873797380738173827383738473857386738773887389739073917392739373947395739673977398739974007401740274037404740574067407740874097410741174127413741474157416741774187419742074217422742374247425742674277428742974307431743274337434743574367437743874397440744174427443744474457446744774487449745074517452745374547455745674577458745974607461746274637464746574667467746874697470747174727473747474757476747774787479748074817482748374847485748674877488748974907491749274937494749574967497749874997500750175027503750475057506750775087509751075117512751375147515751675177518751975207521752275237524752575267527752875297530753175327533753475357536753775387539754075417542754375447545754675477548754975507551755275537554755575567557755875597560756175627563756475657566756775687569757075717572757375747575757675777578757975807581758275837584758575867587758875897590759175927593759475957596759775987599760076017602760376047605760676077608760976107611761276137614761576167617761876197620762176227623762476257626762776287629763076317632763376347635763676377638763976407641764276437644764576467647764876497650765176527653765476557656765776587659766076617662766376647665766676677668766976707671767276737674767576767677767876797680768176827683768476857686768776887689769076917692769376947695769676977698769977007701770277037704770577067707770877097710771177127713771477157716771777187719772077217722772377247725772677277728772977307731773277337734773577367737773877397740774177427743774477457746774777487749775077517752775377547755775677577758775977607761776277637764776577667767776877697770777177727773777477757776777777787779778077817782778377847785778677877788778977907791779277937794779577967797779877997800780178027803780478057806780778087809781078117812781378147815781678177818781978207821782278237824782578267827782878297830783178327833783478357836783778387839784078417842784378447845784678477848784978507851785278537854785578567857785878597860786178627863786478657866786778687869787078717872787378747875787678777878787978807881788278837884788578867887788878897890789178927893789478957896789778987899790079017902790379047905790679077908790979107911791279137914791579167917791879197920792179227923792479257926792779287929793079317932793379347935793679377938793979407941794279437944794579467947794879497950795179527953795479557956795779587959796079617962796379647965796679677968796979707971797279737974797579767977797879797980798179827983798479857986798779887989799079917992799379947995799679977998799980008001800280038004800580068007800880098010801180128013801480158016801780188019802080218022802380248025802680278028802980308031803280338034803580368037803880398040804180428043804480458046804780488049805080518052805380548055805680578058805980608061806280638064806580668067806880698070807180728073807480758076807780788079808080818082808380848085808680878088808980908091809280938094809580968097809880998100810181028103810481058106810781088109811081118112811381148115811681178118811981208121812281238124812581268127812881298130813181328133813481358136813781388139814081418142814381448145814681478148814981508151815281538154815581568157815881598160816181628163816481658166816781688169817081718172817381748175817681778178817981808181818281838184818581868187818881898190819181928193819481958196819781988199820082018202820382048205820682078208820982108211821282138214821582168217821882198220822182228223822482258226822782288229823082318232823382348235823682378238823982408241824282438244824582468247824882498250825182528253825482558256825782588259826082618262826382648265826682678268826982708271827282738274827582768277827882798280828182828283828482858286828782888289829082918292829382948295829682978298829983008301830283038304830583068307830883098310831183128313831483158316831783188319832083218322832383248325832683278328832983308331833283338334833583368337833883398340834183428343834483458346834783488349835083518352835383548355835683578358835983608361836283638364836583668367836883698370837183728373837483758376837783788379838083818382838383848385838683878388838983908391839283938394839583968397839883998400840184028403840484058406840784088409841084118412841384148415841684178418841984208421842284238424842584268427842884298430843184328433843484358436843784388439844084418442844384448445844684478448844984508451845284538454845584568457845884598460846184628463846484658466846784688469847084718472847384748475847684778478847984808481848284838484848584868487848884898490849184928493849484958496849784988499850085018502850385048505850685078508850985108511851285138514851585168517851885198520852185228523852485258526852785288529853085318532853385348535853685378538853985408541854285438544854585468547854885498550855185528553855485558556855785588559856085618562856385648565856685678568856985708571857285738574857585768577857885798580858185828583858485858586858785888589859085918592859385948595859685978598859986008601860286038604860586068607860886098610861186128613861486158616861786188619862086218622862386248625862686278628862986308631863286338634863586368637863886398640864186428643864486458646864786488649865086518652865386548655865686578658865986608661866286638664866586668667866886698670867186728673867486758676867786788679868086818682868386848685868686878688868986908691869286938694869586968697869886998700870187028703870487058706870787088709871087118712871387148715871687178718871987208721872287238724872587268727872887298730873187328733873487358736873787388739874087418742874387448745874687478748874987508751875287538754875587568757875887598760876187628763876487658766876787688769877087718772877387748775877687778778877987808781878287838784878587868787878887898790879187928793879487958796879787988799880088018802880388048805880688078808880988108811881288138814881588168817881888198820882188228823882488258826882788288829883088318832883388348835883688378838883988408841884288438844884588468847884888498850885188528853885488558856885788588859886088618862886388648865886688678868886988708871887288738874887588768877887888798880888188828883888488858886888788888889889088918892889388948895889688978898889989008901890289038904890589068907890889098910891189128913891489158916891789188919892089218922892389248925892689278928892989308931893289338934893589368937893889398940894189428943894489458946894789488949895089518952895389548955895689578958895989608961896289638964896589668967896889698970897189728973897489758976897789788979898089818982898389848985898689878988898989908991899289938994899589968997899889999000900190029003900490059006900790089009901090119012901390149015901690179018901990209021902290239024902590269027902890299030903190329033903490359036903790389039904090419042904390449045904690479048904990509051905290539054905590569057905890599060906190629063906490659066906790689069907090719072907390749075907690779078907990809081908290839084908590869087908890899090909190929093909490959096909790989099910091019102910391049105910691079108910991109111911291139114911591169117911891199120912191229123912491259126912791289129913091319132913391349135913691379138913991409141914291439144914591469147914891499150915191529153915491559156915791589159916091619162916391649165916691679168916991709171917291739174917591769177917891799180918191829183918491859186918791889189919091919192919391949195919691979198919992009201920292039204920592069207920892099210921192129213921492159216921792189219922092219222922392249225922692279228922992309231923292339234923592369237923892399240924192429243924492459246924792489249925092519252925392549255925692579258925992609261926292639264926592669267926892699270927192729273927492759276927792789279928092819282928392849285928692879288928992909291929292939294929592969297929892999300930193029303930493059306930793089309931093119312931393149315931693179318931993209321932293239324932593269327932893299330933193329333933493359336933793389339934093419342934393449345934693479348934993509351935293539354935593569357935893599360936193629363936493659366936793689369937093719372937393749375937693779378937993809381938293839384938593869387938893899390939193929393939493959396939793989399940094019402940394049405940694079408940994109411941294139414941594169417941894199420942194229423942494259426942794289429943094319432943394349435943694379438943994409441944294439444944594469447944894499450945194529453945494559456945794589459946094619462946394649465946694679468946994709471947294739474947594769477947894799480948194829483948494859486948794889489949094919492949394949495949694979498949995009501950295039504950595069507950895099510951195129513951495159516951795189519952095219522952395249525952695279528952995309531953295339534953595369537953895399540954195429543954495459546954795489549955095519552955395549555955695579558955995609561956295639564956595669567956895699570957195729573957495759576957795789579958095819582958395849585958695879588958995909591959295939594959595969597959895999600960196029603960496059606960796089609961096119612961396149615961696179618961996209621962296239624962596269627962896299630963196329633963496359636963796389639964096419642964396449645964696479648964996509651965296539654965596569657965896599660966196629663966496659666966796689669967096719672967396749675967696779678967996809681968296839684968596869687968896899690969196929693969496959696969796989699970097019702970397049705970697079708970997109711971297139714971597169717971897199720972197229723972497259726972797289729973097319732973397349735973697379738973997409741974297439744974597469747974897499750975197529753975497559756975797589759976097619762976397649765976697679768976997709771977297739774977597769777977897799780978197829783978497859786978797889789979097919792979397949795979697979798979998009801980298039804980598069807980898099810981198129813981498159816981798189819982098219822982398249825982698279828982998309831983298339834983598369837983898399840984198429843984498459846984798489849985098519852985398549855985698579858985998609861986298639864986598669867986898699870987198729873987498759876987798789879988098819882988398849885988698879888988998909891989298939894989598969897989898999900990199029903990499059906990799089909991099119912991399149915991699179918991999209921992299239924992599269927992899299930993199329933993499359936993799389939994099419942994399449945994699479948994999509951995299539954995599569957995899599960996199629963996499659966996799689969997099719972997399749975997699779978997999809981998299839984998599869987998899899990999199929993999499959996999799989999100001000110002100031000410005100061000710008100091001010011100121001310014100151001610017100181001910020100211002210023100241002510026100271002810029100301003110032100331003410035100361003710038100391004010041100421004310044100451004610047100481004910050100511005210053100541005510056100571005810059100601006110062100631006410065100661006710068100691007010071100721007310074100751007610077100781007910080100811008210083100841008510086100871008810089100901009110092100931009410095100961009710098100991010010101101021010310104101051010610107101081010910110101111011210113101141011510116101171011810119101201012110122101231012410125101261012710128101291013010131101321013310134101351013610137101381013910140101411014210143101441014510146101471014810149101501015110152101531015410155101561015710158101591016010161101621016310164101651016610167101681016910170101711017210173101741017510176101771017810179101801018110182101831018410185101861018710188101891019010191101921019310194101951019610197101981019910200102011020210203102041020510206102071020810209102101021110212102131021410215102161021710218102191022010221102221022310224102251022610227102281022910230102311023210233102341023510236102371023810239102401024110242102431024410245102461024710248102491025010251102521025310254102551025610257102581025910260102611026210263102641026510266102671026810269102701027110272102731027410275102761027710278102791028010281102821028310284102851028610287102881028910290102911029210293102941029510296102971029810299103001030110302103031030410305103061030710308103091031010311103121031310314103151031610317103181031910320103211032210323103241032510326103271032810329103301033110332103331033410335103361033710338103391034010341103421034310344103451034610347103481034910350103511035210353103541035510356103571035810359103601036110362103631036410365103661036710368103691037010371103721037310374103751037610377103781037910380103811038210383103841038510386103871038810389103901039110392103931039410395103961039710398103991040010401104021040310404104051040610407104081040910410104111041210413104141041510416104171041810419104201042110422104231042410425104261042710428104291043010431104321043310434104351043610437104381043910440104411044210443104441044510446104471044810449104501045110452104531045410455104561045710458104591046010461104621046310464104651046610467104681046910470104711047210473104741047510476104771047810479104801048110482104831048410485104861048710488104891049010491104921049310494104951049610497104981049910500105011050210503105041050510506105071050810509105101051110512105131051410515105161051710518105191052010521105221052310524105251052610527105281052910530105311053210533105341053510536105371053810539105401054110542105431054410545105461054710548105491055010551105521055310554105551055610557105581055910560105611056210563105641056510566105671056810569105701057110572105731057410575105761057710578105791058010581105821058310584105851058610587105881058910590105911059210593105941059510596105971059810599106001060110602106031060410605106061060710608106091061010611106121061310614106151061610617106181061910620106211062210623106241062510626106271062810629106301063110632106331063410635106361063710638106391064010641106421064310644106451064610647106481064910650106511065210653106541065510656106571065810659106601066110662106631066410665106661066710668106691067010671106721067310674106751067610677106781067910680106811068210683106841068510686106871068810689106901069110692106931069410695106961069710698106991070010701107021070310704107051070610707107081070910710107111071210713107141071510716107171071810719107201072110722107231072410725107261072710728107291073010731107321073310734107351073610737107381073910740107411074210743107441074510746107471074810749107501075110752107531075410755107561075710758107591076010761107621076310764107651076610767107681076910770107711077210773107741077510776107771077810779107801078110782107831078410785107861078710788107891079010791107921079310794107951079610797107981079910800108011080210803108041080510806108071080810809108101081110812108131081410815108161081710818108191082010821108221082310824108251082610827108281082910830108311083210833108341083510836108371083810839108401084110842108431084410845108461084710848108491085010851108521085310854108551085610857108581085910860108611086210863108641086510866108671086810869108701087110872108731087410875108761087710878108791088010881108821088310884108851088610887108881088910890108911089210893108941089510896108971089810899109001090110902109031090410905109061090710908109091091010911109121091310914109151091610917109181091910920109211092210923109241092510926109271092810929109301093110932109331093410935109361093710938109391094010941109421094310944109451094610947109481094910950109511095210953109541095510956109571095810959109601096110962109631096410965109661096710968109691097010971109721097310974109751097610977109781097910980109811098210983109841098510986109871098810989109901099110992109931099410995109961099710998109991100011001110021100311004110051100611007110081100911010110111101211013110141101511016110171101811019110201102111022110231102411025110261102711028110291103011031110321103311034110351103611037110381103911040110411104211043110441104511046110471104811049110501105111052110531105411055110561105711058110591106011061110621106311064110651106611067110681106911070110711107211073110741107511076110771107811079110801108111082110831108411085110861108711088110891109011091110921109311094110951109611097110981109911100111011110211103111041110511106111071110811109111101111111112111131111411115111161111711118111191112011121111221112311124111251112611127111281112911130111311113211133111341113511136111371113811139111401114111142111431114411145111461114711148111491115011151111521115311154111551115611157111581115911160111611116211163111641116511166111671116811169111701117111172111731117411175111761117711178111791118011181111821118311184111851118611187111881118911190111911119211193111941119511196111971119811199112001120111202112031120411205112061120711208112091121011211112121121311214112151121611217112181121911220112211122211223112241122511226112271122811229112301123111232112331123411235112361123711238112391124011241112421124311244112451124611247112481124911250112511125211253112541125511256112571125811259112601126111262112631126411265112661126711268112691127011271112721127311274112751127611277112781127911280112811128211283112841128511286112871128811289112901129111292112931129411295112961129711298112991130011301113021130311304113051130611307113081130911310113111131211313113141131511316113171131811319113201132111322113231132411325113261132711328113291133011331113321133311334113351133611337113381133911340113411134211343113441134511346113471134811349113501135111352113531135411355113561135711358113591136011361113621136311364113651136611367113681136911370113711137211373113741137511376113771137811379113801138111382113831138411385113861138711388113891139011391113921139311394113951139611397113981139911400114011140211403114041140511406114071140811409114101141111412114131141411415114161141711418114191142011421114221142311424114251142611427114281142911430114311143211433114341143511436114371143811439114401144111442114431144411445114461144711448114491145011451114521145311454114551145611457114581145911460114611146211463114641146511466114671146811469114701147111472114731147411475114761147711478114791148011481114821148311484114851148611487114881148911490114911149211493114941149511496114971149811499115001150111502115031150411505115061150711508115091151011511115121151311514115151151611517115181151911520115211152211523115241152511526115271152811529115301153111532115331153411535115361153711538115391154011541115421154311544115451154611547115481154911550115511155211553115541155511556115571155811559115601156111562115631156411565115661156711568115691157011571115721157311574115751157611577115781157911580115811158211583115841158511586115871158811589115901159111592115931159411595115961159711598115991160011601116021160311604116051160611607116081160911610116111161211613116141161511616116171161811619116201162111622116231162411625116261162711628116291163011631116321163311634116351163611637116381163911640116411164211643116441164511646116471164811649116501165111652116531165411655116561165711658116591166011661116621166311664116651166611667116681166911670116711167211673116741167511676116771167811679116801168111682116831168411685116861168711688116891169011691116921169311694116951169611697116981169911700117011170211703117041170511706117071170811709117101171111712117131171411715117161171711718117191172011721117221172311724117251172611727117281172911730117311173211733117341173511736117371173811739117401174111742117431174411745117461174711748117491175011751117521175311754117551175611757117581175911760117611176211763117641176511766117671176811769117701177111772117731177411775117761177711778117791178011781117821178311784117851178611787117881178911790117911179211793117941179511796117971179811799118001180111802118031180411805118061180711808118091181011811118121181311814118151181611817118181181911820118211182211823118241182511826118271182811829118301183111832118331183411835118361183711838118391184011841118421184311844118451184611847118481184911850118511185211853118541185511856118571185811859118601186111862118631186411865118661186711868118691187011871118721187311874118751187611877118781187911880118811188211883118841188511886118871188811889118901189111892118931189411895118961189711898118991190011901119021190311904119051190611907119081190911910119111191211913119141191511916119171191811919119201192111922119231192411925119261192711928119291193011931119321193311934119351193611937119381193911940119411194211943119441194511946119471194811949119501195111952119531195411955119561195711958119591196011961119621196311964119651196611967119681196911970119711197211973119741197511976119771197811979119801198111982119831198411985119861198711988119891199011991119921199311994119951199611997119981199912000120011200212003120041200512006120071200812009120101201112012120131201412015120161201712018120191202012021120221202312024120251202612027120281202912030120311203212033120341203512036120371203812039120401204112042120431204412045120461204712048120491205012051120521205312054120551205612057120581205912060120611206212063120641206512066120671206812069120701207112072120731207412075120761207712078120791208012081120821208312084120851208612087120881208912090120911209212093120941209512096120971209812099121001210112102121031210412105121061210712108121091211012111121121211312114121151211612117121181211912120121211212212123121241212512126121271212812129121301213112132121331213412135121361213712138121391214012141121421214312144121451214612147121481214912150121511215212153121541215512156121571215812159121601216112162121631216412165121661216712168121691217012171121721217312174121751217612177121781217912180121811218212183121841218512186121871218812189121901219112192121931219412195121961219712198121991220012201122021220312204122051220612207122081220912210122111221212213122141221512216122171221812219122201222112222122231222412225122261222712228122291223012231122321223312234122351223612237122381223912240122411224212243122441224512246122471224812249122501225112252122531225412255122561225712258122591226012261122621226312264122651226612267122681226912270122711227212273122741227512276122771227812279122801228112282122831228412285122861228712288122891229012291122921229312294122951229612297122981229912300123011230212303123041230512306123071230812309123101231112312123131231412315123161231712318123191232012321123221232312324123251232612327123281232912330123311233212333123341233512336123371233812339123401234112342123431234412345123461234712348123491235012351123521235312354123551235612357123581235912360123611236212363123641236512366123671236812369123701237112372123731237412375123761237712378123791238012381123821238312384123851238612387123881238912390123911239212393123941239512396123971239812399124001240112402124031240412405124061240712408124091241012411124121241312414124151241612417124181241912420124211242212423124241242512426124271242812429124301243112432124331243412435124361243712438124391244012441124421244312444124451244612447124481244912450124511245212453124541245512456124571245812459124601246112462124631246412465124661246712468124691247012471124721247312474124751247612477124781247912480124811248212483124841248512486124871248812489124901249112492124931249412495124961249712498124991250012501125021250312504125051250612507125081250912510125111251212513125141251512516125171251812519125201252112522125231252412525125261252712528125291253012531125321253312534125351253612537125381253912540125411254212543125441254512546125471254812549125501255112552125531255412555125561255712558125591256012561125621256312564125651256612567125681256912570125711257212573125741257512576125771257812579125801258112582125831258412585125861258712588125891259012591125921259312594125951259612597125981259912600126011260212603126041260512606126071260812609126101261112612126131261412615126161261712618126191262012621126221262312624126251262612627126281262912630126311263212633126341263512636126371263812639126401264112642126431264412645126461264712648126491265012651126521265312654126551265612657126581265912660126611266212663126641266512666126671266812669126701267112672126731267412675126761267712678126791268012681126821268312684126851268612687126881268912690126911269212693126941269512696126971269812699127001270112702127031270412705127061270712708127091271012711127121271312714127151271612717127181271912720127211272212723127241272512726127271272812729127301273112732127331273412735127361273712738127391274012741127421274312744127451274612747127481274912750127511275212753127541275512756127571275812759127601276112762127631276412765127661276712768127691277012771127721277312774127751277612777127781277912780127811278212783127841278512786127871278812789127901279112792127931279412795127961279712798127991280012801128021280312804128051280612807128081280912810128111281212813128141281512816128171281812819128201282112822128231282412825128261282712828128291283012831128321283312834128351283612837128381283912840128411284212843128441284512846128471284812849128501285112852128531285412855128561285712858128591286012861128621286312864128651286612867128681286912870128711287212873128741287512876128771287812879128801288112882128831288412885128861288712888128891289012891128921289312894128951289612897128981289912900129011290212903129041290512906129071290812909129101291112912129131291412915129161291712918129191292012921129221292312924129251292612927129281292912930129311293212933129341293512936129371293812939129401294112942129431294412945129461294712948129491295012951129521295312954129551295612957129581295912960129611296212963129641296512966129671296812969129701297112972129731297412975129761297712978129791298012981129821298312984129851298612987129881298912990129911299212993129941299512996129971299812999130001300113002130031300413005130061300713008130091301013011130121301313014130151301613017130181301913020130211302213023130241302513026130271302813029130301303113032130331303413035130361303713038130391304013041130421304313044130451304613047130481304913050130511305213053130541305513056130571305813059130601306113062130631306413065130661306713068130691307013071130721307313074130751307613077130781307913080130811308213083130841308513086130871308813089130901309113092130931309413095130961309713098130991310013101131021310313104131051310613107131081310913110131111311213113131141311513116131171311813119131201312113122131231312413125131261312713128131291313013131131321313313134131351313613137131381313913140131411314213143131441314513146131471314813149131501315113152131531315413155131561315713158131591316013161131621316313164131651316613167131681316913170131711317213173131741317513176131771317813179131801318113182131831318413185131861318713188131891319013191131921319313194131951319613197131981319913200132011320213203132041320513206132071320813209132101321113212132131321413215132161321713218132191322013221132221322313224132251322613227132281322913230132311323213233132341323513236132371323813239132401324113242132431324413245132461324713248132491325013251132521325313254132551325613257132581325913260132611326213263132641326513266132671326813269132701327113272132731327413275132761327713278132791328013281132821328313284132851328613287132881328913290132911329213293132941329513296132971329813299133001330113302133031330413305133061330713308133091331013311133121331313314133151331613317133181331913320133211332213323133241332513326133271332813329133301333113332133331333413335133361333713338133391334013341133421334313344133451334613347133481334913350133511335213353133541335513356133571335813359133601336113362133631336413365133661336713368133691337013371133721337313374133751337613377133781337913380133811338213383133841338513386133871338813389133901339113392133931339413395133961339713398133991340013401134021340313404134051340613407134081340913410134111341213413134141341513416134171341813419134201342113422134231342413425134261342713428134291343013431134321343313434134351343613437134381343913440134411344213443134441344513446134471344813449134501345113452134531345413455134561345713458134591346013461134621346313464134651346613467134681346913470134711347213473134741347513476134771347813479134801348113482134831348413485134861348713488134891349013491134921349313494134951349613497134981349913500135011350213503135041350513506135071350813509135101351113512135131351413515135161351713518135191352013521135221352313524135251352613527135281352913530135311353213533135341353513536135371353813539135401354113542135431354413545135461354713548135491355013551135521355313554135551355613557135581355913560135611356213563135641356513566135671356813569135701357113572135731357413575135761357713578135791358013581135821358313584135851358613587135881358913590135911359213593135941359513596135971359813599136001360113602136031360413605136061360713608136091361013611136121361313614136151361613617136181361913620136211362213623136241362513626136271362813629136301363113632136331363413635136361363713638136391364013641136421364313644136451364613647136481364913650136511365213653136541365513656136571365813659136601366113662136631366413665136661366713668136691367013671136721367313674136751367613677136781367913680136811368213683136841368513686136871368813689136901369113692136931369413695136961369713698136991370013701137021370313704137051370613707137081370913710137111371213713137141371513716137171371813719137201372113722137231372413725137261372713728137291373013731137321373313734137351373613737137381373913740137411374213743137441374513746137471374813749137501375113752137531375413755137561375713758137591376013761137621376313764137651376613767137681376913770137711377213773137741377513776137771377813779137801378113782137831378413785137861378713788137891379013791137921379313794137951379613797137981379913800138011380213803138041380513806138071380813809138101381113812138131381413815138161381713818138191382013821138221382313824138251382613827138281382913830138311383213833138341383513836138371383813839138401384113842138431384413845138461384713848138491385013851138521385313854138551385613857138581385913860138611386213863138641386513866138671386813869138701387113872138731387413875138761387713878138791388013881138821388313884138851388613887138881388913890138911389213893138941389513896138971389813899139001390113902139031390413905139061390713908139091391013911139121391313914139151391613917139181391913920139211392213923139241392513926139271392813929139301393113932139331393413935139361393713938139391394013941139421394313944139451394613947139481394913950139511395213953139541395513956139571395813959139601396113962139631396413965139661396713968139691397013971139721397313974139751397613977139781397913980139811398213983139841398513986139871398813989139901399113992139931399413995139961399713998139991400014001140021400314004140051400614007140081400914010140111401214013140141401514016140171401814019140201402114022140231402414025140261402714028140291403014031140321403314034140351403614037140381403914040140411404214043140441404514046140471404814049140501405114052140531405414055140561405714058140591406014061140621406314064140651406614067140681406914070140711407214073140741407514076140771407814079140801408114082140831408414085140861408714088140891409014091140921409314094140951409614097140981409914100141011410214103141041410514106141071410814109141101411114112141131411414115141161411714118141191412014121141221412314124141251412614127141281412914130141311413214133141341413514136141371413814139141401414114142141431414414145141461414714148141491415014151141521415314154141551415614157141581415914160141611416214163141641416514166141671416814169141701417114172141731417414175141761417714178141791418014181141821418314184141851418614187141881418914190141911419214193141941419514196141971419814199142001420114202142031420414205142061420714208142091421014211142121421314214142151421614217142181421914220142211422214223142241422514226142271422814229142301423114232142331423414235142361423714238142391424014241142421424314244142451424614247142481424914250142511425214253142541425514256142571425814259142601426114262142631426414265142661426714268142691427014271142721427314274142751427614277142781427914280142811428214283142841428514286142871428814289142901429114292142931429414295142961429714298142991430014301143021430314304143051430614307143081430914310143111431214313143141431514316143171431814319143201432114322143231432414325143261432714328143291433014331143321433314334143351433614337143381433914340143411434214343143441434514346143471434814349143501435114352143531435414355143561435714358143591436014361143621436314364143651436614367143681436914370143711437214373143741437514376143771437814379143801438114382143831438414385143861438714388143891439014391143921439314394143951439614397143981439914400144011440214403144041440514406144071440814409144101441114412144131441414415144161441714418144191442014421144221442314424144251442614427144281442914430144311443214433144341443514436144371443814439144401444114442144431444414445144461444714448144491445014451144521445314454144551445614457144581445914460144611446214463144641446514466144671446814469144701447114472144731447414475144761447714478144791448014481144821448314484144851448614487144881448914490144911449214493144941449514496144971449814499145001450114502145031450414505145061450714508145091451014511145121451314514145151451614517145181451914520145211452214523145241452514526145271452814529145301453114532145331453414535145361453714538145391454014541145421454314544145451454614547145481454914550145511455214553145541455514556145571455814559145601456114562145631456414565145661456714568145691457014571145721457314574145751457614577145781457914580145811458214583145841458514586145871458814589145901459114592145931459414595145961459714598145991460014601146021460314604146051460614607146081460914610146111461214613146141461514616146171461814619146201462114622146231462414625146261462714628146291463014631146321463314634146351463614637146381463914640146411464214643146441464514646146471464814649146501465114652146531465414655146561465714658146591466014661146621466314664146651466614667146681466914670146711467214673146741467514676146771467814679146801468114682146831468414685146861468714688146891469014691146921469314694146951469614697146981469914700147011470214703147041470514706147071470814709147101471114712147131471414715147161471714718147191472014721147221472314724147251472614727147281472914730147311473214733147341473514736147371473814739147401474114742147431474414745147461474714748147491475014751147521475314754147551475614757147581475914760147611476214763147641476514766147671476814769147701477114772147731477414775147761477714778147791478014781147821478314784147851478614787147881478914790147911479214793147941479514796147971479814799148001480114802148031480414805148061480714808148091481014811148121481314814148151481614817148181481914820148211482214823148241482514826148271482814829148301483114832148331483414835148361483714838148391484014841148421484314844148451484614847148481484914850148511485214853148541485514856148571485814859148601486114862148631486414865148661486714868148691487014871148721487314874148751487614877148781487914880148811488214883148841488514886148871488814889148901489114892148931489414895148961489714898148991490014901149021490314904149051490614907149081490914910149111491214913149141491514916149171491814919149201492114922149231492414925149261492714928149291493014931149321493314934149351493614937149381493914940149411494214943149441494514946149471494814949149501495114952149531495414955149561495714958149591496014961149621496314964149651496614967149681496914970149711497214973149741497514976149771497814979149801498114982149831498414985149861498714988149891499014991149921499314994149951499614997149981499915000150011500215003150041500515006150071500815009150101501115012150131501415015150161501715018150191502015021150221502315024150251502615027150281502915030150311503215033150341503515036150371503815039150401504115042150431504415045150461504715048150491505015051150521505315054150551505615057150581505915060150611506215063150641506515066150671506815069150701507115072150731507415075150761507715078150791508015081150821508315084150851508615087150881508915090150911509215093150941509515096150971509815099151001510115102151031510415105151061510715108151091511015111151121511315114151151511615117151181511915120151211512215123151241512515126151271512815129151301513115132151331513415135151361513715138151391514015141151421514315144151451514615147151481514915150151511515215153151541515515156151571515815159151601516115162151631516415165151661516715168151691517015171151721517315174151751517615177151781517915180151811518215183151841518515186151871518815189151901519115192151931519415195151961519715198151991520015201152021520315204152051520615207152081520915210152111521215213152141521515216152171521815219152201522115222152231522415225152261522715228152291523015231152321523315234152351523615237152381523915240152411524215243152441524515246152471524815249152501525115252152531525415255152561525715258152591526015261152621526315264152651526615267152681526915270152711527215273152741527515276152771527815279152801528115282152831528415285152861528715288152891529015291152921529315294152951529615297152981529915300153011530215303153041530515306153071530815309153101531115312153131531415315153161531715318153191532015321153221532315324153251532615327153281532915330153311533215333153341533515336153371533815339153401534115342153431534415345153461534715348153491535015351153521535315354153551535615357153581535915360153611536215363153641536515366153671536815369153701537115372153731537415375153761537715378153791538015381153821538315384153851538615387153881538915390153911539215393153941539515396153971539815399154001540115402154031540415405154061540715408154091541015411154121541315414154151541615417154181541915420154211542215423154241542515426154271542815429154301543115432154331543415435154361543715438154391544015441154421544315444154451544615447154481544915450154511545215453154541545515456154571545815459154601546115462154631546415465154661546715468154691547015471154721547315474154751547615477154781547915480154811548215483154841548515486154871548815489154901549115492154931549415495154961549715498154991550015501155021550315504155051550615507155081550915510155111551215513155141551515516155171551815519155201552115522155231552415525155261552715528155291553015531155321553315534155351553615537155381553915540155411554215543155441554515546155471554815549155501555115552155531555415555155561555715558155591556015561155621556315564155651556615567155681556915570155711557215573155741557515576155771557815579155801558115582155831558415585155861558715588155891559015591155921559315594155951559615597155981559915600156011560215603156041560515606156071560815609156101561115612156131561415615156161561715618156191562015621156221562315624156251562615627156281562915630156311563215633156341563515636156371563815639156401564115642156431564415645156461564715648156491565015651156521565315654156551565615657156581565915660156611566215663156641566515666156671566815669156701567115672156731567415675156761567715678156791568015681156821568315684156851568615687156881568915690156911569215693156941569515696156971569815699157001570115702157031570415705157061570715708157091571015711157121571315714157151571615717157181571915720157211572215723157241572515726157271572815729157301573115732157331573415735157361573715738157391574015741157421574315744157451574615747157481574915750157511575215753157541575515756157571575815759157601576115762157631576415765157661576715768157691577015771157721577315774157751577615777157781577915780157811578215783157841578515786157871578815789157901579115792157931579415795157961579715798157991580015801158021580315804158051580615807158081580915810158111581215813158141581515816158171581815819158201582115822158231582415825158261582715828158291583015831158321583315834158351583615837158381583915840158411584215843158441584515846158471584815849158501585115852158531585415855158561585715858158591586015861158621586315864158651586615867158681586915870158711587215873158741587515876158771587815879158801588115882158831588415885158861588715888158891589015891158921589315894158951589615897158981589915900159011590215903159041590515906159071590815909159101591115912159131591415915159161591715918159191592015921159221592315924159251592615927159281592915930159311593215933159341593515936159371593815939159401594115942159431594415945159461594715948159491595015951159521595315954159551595615957159581595915960159611596215963159641596515966159671596815969159701597115972159731597415975159761597715978159791598015981159821598315984159851598615987159881598915990159911599215993159941599515996159971599815999160001600116002160031600416005160061600716008160091601016011160121601316014160151601616017160181601916020160211602216023160241602516026160271602816029160301603116032160331603416035160361603716038160391604016041160421604316044160451604616047160481604916050160511605216053160541605516056160571605816059160601606116062160631606416065160661606716068160691607016071160721607316074160751607616077160781607916080160811608216083160841608516086160871608816089160901609116092160931609416095160961609716098160991610016101161021610316104161051610616107161081610916110161111611216113161141611516116161171611816119161201612116122161231612416125161261612716128161291613016131161321613316134161351613616137161381613916140161411614216143161441614516146161471614816149161501615116152161531615416155161561615716158161591616016161161621616316164161651616616167161681616916170161711617216173161741617516176161771617816179161801618116182161831618416185161861618716188161891619016191161921619316194161951619616197161981619916200162011620216203162041620516206162071620816209162101621116212162131621416215162161621716218162191622016221162221622316224162251622616227162281622916230162311623216233162341623516236162371623816239162401624116242162431624416245162461624716248162491625016251162521625316254162551625616257162581625916260162611626216263162641626516266162671626816269162701627116272162731627416275162761627716278162791628016281162821628316284162851628616287162881628916290162911629216293162941629516296162971629816299163001630116302163031630416305163061630716308163091631016311163121631316314163151631616317163181631916320163211632216323163241632516326163271632816329163301633116332163331633416335163361633716338163391634016341163421634316344163451634616347163481634916350163511635216353163541635516356163571635816359163601636116362163631636416365163661636716368163691637016371163721637316374163751637616377163781637916380163811638216383163841638516386163871638816389163901639116392163931639416395163961639716398163991640016401164021640316404164051640616407164081640916410164111641216413164141641516416164171641816419164201642116422164231642416425164261642716428164291643016431164321643316434164351643616437164381643916440164411644216443164441644516446164471644816449164501645116452164531645416455164561645716458164591646016461164621646316464164651646616467164681646916470164711647216473164741647516476164771647816479164801648116482164831648416485164861648716488164891649016491164921649316494164951649616497164981649916500165011650216503165041650516506165071650816509165101651116512165131651416515165161651716518165191652016521165221652316524165251652616527165281652916530165311653216533165341653516536165371653816539165401654116542165431654416545165461654716548165491655016551165521655316554165551655616557165581655916560165611656216563165641656516566165671656816569165701657116572165731657416575165761657716578165791658016581165821658316584165851658616587165881658916590165911659216593165941659516596165971659816599166001660116602166031660416605166061660716608166091661016611166121661316614166151661616617166181661916620166211662216623166241662516626166271662816629166301663116632166331663416635166361663716638166391664016641166421664316644166451664616647166481664916650166511665216653166541665516656166571665816659166601666116662166631666416665166661666716668166691667016671166721667316674166751667616677166781667916680166811668216683166841668516686166871668816689166901669116692166931669416695166961669716698166991670016701167021670316704167051670616707167081670916710167111671216713167141671516716167171671816719167201672116722167231672416725167261672716728167291673016731167321673316734167351673616737167381673916740167411674216743167441674516746167471674816749167501675116752167531675416755167561675716758167591676016761167621676316764167651676616767167681676916770167711677216773167741677516776167771677816779167801678116782167831678416785167861678716788167891679016791167921679316794167951679616797167981679916800168011680216803168041680516806168071680816809168101681116812168131681416815168161681716818168191682016821168221682316824168251682616827168281682916830168311683216833168341683516836168371683816839168401684116842168431684416845168461684716848168491685016851168521685316854168551685616857168581685916860168611686216863168641686516866168671686816869168701687116872168731687416875168761687716878168791688016881168821688316884168851688616887168881688916890168911689216893168941689516896168971689816899169001690116902169031690416905169061690716908169091691016911169121691316914169151691616917169181691916920169211692216923169241692516926169271692816929169301693116932169331693416935169361693716938169391694016941169421694316944169451694616947169481694916950169511695216953169541695516956169571695816959169601696116962169631696416965169661696716968169691697016971169721697316974169751697616977169781697916980169811698216983169841698516986169871698816989169901699116992169931699416995169961699716998169991700017001170021700317004170051700617007170081700917010170111701217013170141701517016170171701817019170201702117022170231702417025170261702717028170291703017031170321703317034170351703617037170381703917040170411704217043170441704517046170471704817049170501705117052170531705417055170561705717058170591706017061170621706317064170651706617067170681706917070170711707217073170741707517076170771707817079170801708117082170831708417085170861708717088170891709017091170921709317094170951709617097170981709917100171011710217103171041710517106171071710817109171101711117112171131711417115171161711717118171191712017121171221712317124171251712617127171281712917130171311713217133171341713517136171371713817139171401714117142171431714417145171461714717148171491715017151171521715317154171551715617157171581715917160171611716217163171641716517166171671716817169171701717117172171731717417175171761717717178171791718017181171821718317184171851718617187171881718917190171911719217193171941719517196171971719817199172001720117202172031720417205172061720717208172091721017211172121721317214172151721617217172181721917220172211722217223172241722517226172271722817229172301723117232172331723417235172361723717238172391724017241172421724317244172451724617247172481724917250172511725217253172541725517256172571725817259172601726117262172631726417265172661726717268172691727017271172721727317274172751727617277172781727917280172811728217283172841728517286172871728817289172901729117292172931729417295172961729717298172991730017301173021730317304173051730617307173081730917310173111731217313173141731517316173171731817319173201732117322173231732417325173261732717328173291733017331173321733317334173351733617337173381733917340173411734217343173441734517346173471734817349173501735117352173531735417355173561735717358173591736017361173621736317364173651736617367173681736917370173711737217373173741737517376173771737817379173801738117382173831738417385173861738717388173891739017391173921739317394173951739617397173981739917400174011740217403174041740517406174071740817409174101741117412174131741417415174161741717418174191742017421174221742317424174251742617427174281742917430174311743217433174341743517436174371743817439174401744117442174431744417445174461744717448174491745017451174521745317454174551745617457174581745917460174611746217463174641746517466174671746817469174701747117472174731747417475174761747717478174791748017481174821748317484174851748617487174881748917490174911749217493174941749517496174971749817499175001750117502175031750417505175061750717508175091751017511175121751317514175151751617517175181751917520175211752217523175241752517526175271752817529175301753117532175331753417535175361753717538175391754017541175421754317544175451754617547175481754917550175511755217553175541755517556175571755817559175601756117562175631756417565175661756717568175691757017571175721757317574175751757617577175781757917580175811758217583175841758517586175871758817589175901759117592175931759417595175961759717598175991760017601176021760317604176051760617607176081760917610176111761217613176141761517616176171761817619176201762117622176231762417625176261762717628176291763017631176321763317634176351763617637176381763917640176411764217643176441764517646176471764817649176501765117652176531765417655176561765717658176591766017661176621766317664176651766617667176681766917670176711767217673176741767517676176771767817679176801768117682176831768417685176861768717688176891769017691176921769317694176951769617697176981769917700177011770217703177041770517706177071770817709177101771117712177131771417715177161771717718177191772017721177221772317724177251772617727177281772917730177311773217733177341773517736177371773817739177401774117742177431774417745177461774717748177491775017751177521775317754177551775617757177581775917760177611776217763177641776517766177671776817769177701777117772177731777417775177761777717778177791778017781177821778317784177851778617787177881778917790177911779217793177941779517796177971779817799178001780117802178031780417805178061780717808178091781017811178121781317814178151781617817178181781917820178211782217823178241782517826178271782817829178301783117832178331783417835178361783717838178391784017841178421784317844178451784617847178481784917850178511785217853178541785517856178571785817859178601786117862178631786417865178661786717868178691787017871178721787317874178751787617877178781787917880178811788217883178841788517886178871788817889178901789117892178931789417895178961789717898178991790017901179021790317904179051790617907179081790917910179111791217913179141791517916179171791817919179201792117922179231792417925179261792717928179291793017931179321793317934179351793617937179381793917940179411794217943179441794517946179471794817949179501795117952179531795417955179561795717958179591796017961179621796317964179651796617967179681796917970179711797217973179741797517976179771797817979179801798117982179831798417985179861798717988179891799017991179921799317994179951799617997179981799918000180011800218003180041800518006180071800818009180101801118012180131801418015180161801718018180191802018021180221802318024180251802618027180281802918030180311803218033180341803518036180371803818039180401804118042180431804418045180461804718048180491805018051180521805318054180551805618057180581805918060180611806218063180641806518066180671806818069180701807118072180731807418075180761807718078180791808018081180821808318084180851808618087180881808918090180911809218093180941809518096180971809818099181001810118102181031810418105181061810718108181091811018111181121811318114181151811618117181181811918120181211812218123181241812518126181271812818129181301813118132181331813418135181361813718138181391814018141181421814318144181451814618147181481814918150181511815218153181541815518156181571815818159181601816118162181631816418165181661816718168181691817018171181721817318174181751817618177181781817918180181811818218183181841818518186181871818818189181901819118192181931819418195181961819718198181991820018201182021820318204182051820618207182081820918210182111821218213182141821518216182171821818219182201822118222182231822418225182261822718228182291823018231182321823318234182351823618237182381823918240182411824218243182441824518246182471824818249182501825118252182531825418255182561825718258182591826018261182621826318264182651826618267182681826918270182711827218273182741827518276182771827818279182801828118282182831828418285182861828718288182891829018291182921829318294182951829618297182981829918300183011830218303183041830518306183071830818309183101831118312183131831418315183161831718318183191832018321183221832318324183251832618327183281832918330183311833218333183341833518336183371833818339183401834118342183431834418345183461834718348183491835018351183521835318354183551835618357183581835918360183611836218363183641836518366183671836818369183701837118372183731837418375183761837718378183791838018381183821838318384183851838618387183881838918390183911839218393183941839518396183971839818399184001840118402184031840418405184061840718408184091841018411184121841318414184151841618417184181841918420184211842218423184241842518426184271842818429184301843118432184331843418435184361843718438184391844018441184421844318444184451844618447184481844918450184511845218453184541845518456184571845818459184601846118462184631846418465184661846718468184691847018471184721847318474184751847618477184781847918480184811848218483184841848518486184871848818489184901849118492184931849418495184961849718498184991850018501185021850318504185051850618507185081850918510185111851218513185141851518516185171851818519185201852118522185231852418525185261852718528185291853018531185321853318534185351853618537185381853918540185411854218543185441854518546185471854818549185501855118552185531855418555185561855718558185591856018561185621856318564185651856618567185681856918570185711857218573185741857518576185771857818579185801858118582185831858418585185861858718588185891859018591185921859318594185951859618597185981859918600186011860218603186041860518606186071860818609186101861118612186131861418615186161861718618186191862018621186221862318624186251862618627186281862918630186311863218633186341863518636186371863818639186401864118642186431864418645186461864718648186491865018651186521865318654186551865618657186581865918660186611866218663186641866518666186671866818669186701867118672186731867418675186761867718678186791868018681186821868318684186851868618687186881868918690186911869218693186941869518696186971869818699187001870118702187031870418705187061870718708187091871018711187121871318714187151871618717187181871918720187211872218723187241872518726187271872818729187301873118732187331873418735187361873718738187391874018741187421874318744187451874618747187481874918750187511875218753187541875518756187571875818759187601876118762187631876418765187661876718768187691877018771187721877318774187751877618777187781877918780187811878218783187841878518786187871878818789187901879118792187931879418795187961879718798187991880018801188021880318804188051880618807188081880918810188111881218813188141881518816188171881818819188201882118822188231882418825188261882718828188291883018831188321883318834188351883618837188381883918840188411884218843188441884518846188471884818849188501885118852188531885418855188561885718858188591886018861188621886318864188651886618867188681886918870188711887218873188741887518876188771887818879188801888118882188831888418885188861888718888188891889018891188921889318894188951889618897188981889918900189011890218903189041890518906189071890818909189101891118912189131891418915189161891718918189191892018921189221892318924189251892618927189281892918930189311893218933189341893518936189371893818939189401894118942189431894418945189461894718948189491895018951189521895318954189551895618957189581895918960189611896218963189641896518966189671896818969189701897118972189731897418975189761897718978189791898018981189821898318984189851898618987189881898918990189911899218993189941899518996189971899818999190001900119002190031900419005190061900719008190091901019011190121901319014190151901619017190181901919020190211902219023190241902519026190271902819029190301903119032190331903419035190361903719038190391904019041190421904319044190451904619047190481904919050190511905219053190541905519056190571905819059190601906119062190631906419065190661906719068190691907019071190721907319074190751907619077190781907919080190811908219083190841908519086190871908819089190901909119092190931909419095190961909719098190991910019101191021910319104191051910619107191081910919110191111911219113191141911519116191171911819119191201912119122191231912419125191261912719128191291913019131191321913319134191351913619137191381913919140191411914219143191441914519146191471914819149191501915119152191531915419155191561915719158191591916019161191621916319164191651916619167191681916919170191711917219173191741917519176191771917819179191801918119182191831918419185191861918719188191891919019191191921919319194191951919619197191981919919200192011920219203192041920519206192071920819209192101921119212192131921419215192161921719218192191922019221192221922319224192251922619227192281922919230192311923219233192341923519236192371923819239192401924119242192431924419245192461924719248192491925019251192521925319254192551925619257192581925919260192611926219263192641926519266192671926819269192701927119272192731927419275192761927719278192791928019281192821928319284192851928619287192881928919290192911929219293192941929519296192971929819299193001930119302193031930419305193061930719308193091931019311193121931319314193151931619317193181931919320193211932219323193241932519326193271932819329193301933119332193331933419335193361933719338193391934019341193421934319344193451934619347193481934919350193511935219353193541935519356193571935819359193601936119362193631936419365193661936719368193691937019371193721937319374193751937619377193781937919380193811938219383193841938519386193871938819389193901939119392193931939419395193961939719398193991940019401194021940319404194051940619407194081940919410194111941219413194141941519416194171941819419194201942119422194231942419425194261942719428194291943019431194321943319434194351943619437194381943919440194411944219443194441944519446194471944819449194501945119452194531945419455194561945719458194591946019461194621946319464194651946619467194681946919470194711947219473194741947519476194771947819479194801948119482194831948419485194861948719488194891949019491194921949319494194951949619497194981949919500195011950219503195041950519506195071950819509195101951119512195131951419515195161951719518195191952019521195221952319524195251952619527195281952919530195311953219533195341953519536195371953819539195401954119542195431954419545195461954719548195491955019551195521955319554195551955619557195581955919560195611956219563195641956519566195671956819569195701957119572195731957419575195761957719578195791958019581195821958319584195851958619587195881958919590195911959219593195941959519596195971959819599196001960119602196031960419605196061960719608196091961019611196121961319614196151961619617196181961919620196211962219623196241962519626196271962819629196301963119632196331963419635196361963719638196391964019641196421964319644196451964619647196481964919650196511965219653196541965519656196571965819659196601966119662196631966419665196661966719668196691967019671196721967319674196751967619677196781967919680196811968219683196841968519686196871968819689196901969119692196931969419695196961969719698196991970019701197021970319704197051970619707197081970919710197111971219713197141971519716197171971819719197201972119722197231972419725197261972719728197291973019731197321973319734197351973619737197381973919740197411974219743197441974519746197471974819749197501975119752197531975419755197561975719758197591976019761197621976319764197651976619767197681976919770197711977219773197741977519776197771977819779197801978119782197831978419785197861978719788197891979019791197921979319794197951979619797197981979919800198011980219803198041980519806198071980819809198101981119812198131981419815198161981719818198191982019821198221982319824198251982619827198281982919830198311983219833198341983519836198371983819839198401984119842198431984419845198461984719848198491985019851198521985319854198551985619857198581985919860198611986219863198641986519866198671986819869198701987119872198731987419875198761987719878198791988019881198821988319884198851988619887198881988919890198911989219893198941989519896198971989819899199001990119902199031990419905199061990719908199091991019911199121991319914199151991619917199181991919920199211992219923199241992519926199271992819929199301993119932199331993419935199361993719938199391994019941199421994319944199451994619947199481994919950199511995219953199541995519956199571995819959199601996119962199631996419965199661996719968199691997019971199721997319974199751997619977199781997919980199811998219983199841998519986199871998819989199901999119992199931999419995199961999719998199992000020001200022000320004200052000620007200082000920010200112001220013200142001520016200172001820019200202002120022200232002420025200262002720028200292003020031200322003320034200352003620037200382003920040200412004220043200442004520046200472004820049200502005120052200532005420055200562005720058200592006020061200622006320064200652006620067200682006920070200712007220073200742007520076200772007820079200802008120082200832008420085200862008720088200892009020091200922009320094200952009620097200982009920100201012010220103201042010520106201072010820109201102011120112201132011420115201162011720118201192012020121201222012320124201252012620127201282012920130201312013220133201342013520136201372013820139201402014120142201432014420145201462014720148201492015020151201522015320154201552015620157201582015920160201612016220163201642016520166201672016820169201702017120172201732017420175201762017720178201792018020181201822018320184201852018620187201882018920190201912019220193201942019520196201972019820199202002020120202202032020420205202062020720208202092021020211202122021320214202152021620217202182021920220202212022220223202242022520226202272022820229202302023120232202332023420235202362023720238202392024020241202422024320244202452024620247202482024920250202512025220253202542025520256202572025820259202602026120262202632026420265202662026720268202692027020271202722027320274202752027620277202782027920280202812028220283202842028520286202872028820289202902029120292202932029420295202962029720298202992030020301203022030320304203052030620307203082030920310203112031220313203142031520316203172031820319203202032120322203232032420325203262032720328203292033020331203322033320334203352033620337203382033920340203412034220343203442034520346203472034820349203502035120352203532035420355203562035720358203592036020361203622036320364203652036620367203682036920370203712037220373203742037520376203772037820379203802038120382203832038420385203862038720388203892039020391203922039320394203952039620397203982039920400204012040220403204042040520406204072040820409204102041120412204132041420415204162041720418204192042020421204222042320424204252042620427204282042920430204312043220433204342043520436204372043820439204402044120442204432044420445204462044720448204492045020451204522045320454204552045620457204582045920460204612046220463204642046520466204672046820469204702047120472204732047420475204762047720478204792048020481204822048320484204852048620487204882048920490204912049220493204942049520496204972049820499205002050120502205032050420505205062050720508205092051020511205122051320514205152051620517205182051920520205212052220523205242052520526205272052820529205302053120532205332053420535205362053720538205392054020541205422054320544205452054620547205482054920550205512055220553205542055520556205572055820559205602056120562205632056420565205662056720568205692057020571205722057320574205752057620577205782057920580205812058220583205842058520586205872058820589205902059120592205932059420595205962059720598205992060020601206022060320604206052060620607206082060920610206112061220613206142061520616206172061820619206202062120622206232062420625206262062720628206292063020631206322063320634206352063620637206382063920640206412064220643206442064520646206472064820649206502065120652206532065420655206562065720658206592066020661206622066320664206652066620667206682066920670206712067220673206742067520676206772067820679206802068120682206832068420685206862068720688206892069020691206922069320694206952069620697206982069920700207012070220703207042070520706207072070820709207102071120712207132071420715207162071720718207192072020721207222072320724207252072620727207282072920730207312073220733207342073520736207372073820739207402074120742207432074420745207462074720748207492075020751207522075320754207552075620757207582075920760207612076220763207642076520766207672076820769207702077120772207732077420775207762077720778207792078020781207822078320784207852078620787207882078920790207912079220793207942079520796207972079820799208002080120802208032080420805208062080720808208092081020811208122081320814208152081620817208182081920820208212082220823208242082520826208272082820829208302083120832208332083420835208362083720838208392084020841208422084320844208452084620847208482084920850208512085220853208542085520856208572085820859208602086120862208632086420865208662086720868208692087020871208722087320874208752087620877208782087920880208812088220883208842088520886208872088820889208902089120892208932089420895208962089720898208992090020901209022090320904209052090620907209082090920910209112091220913209142091520916209172091820919209202092120922209232092420925209262092720928209292093020931209322093320934209352093620937209382093920940209412094220943209442094520946209472094820949209502095120952209532095420955209562095720958209592096020961209622096320964209652096620967209682096920970209712097220973209742097520976209772097820979209802098120982209832098420985209862098720988209892099020991209922099320994209952099620997209982099921000210012100221003210042100521006210072100821009210102101121012210132101421015210162101721018210192102021021210222102321024210252102621027210282102921030210312103221033210342103521036210372103821039210402104121042210432104421045210462104721048210492105021051210522105321054210552105621057210582105921060210612106221063210642106521066210672106821069210702107121072210732107421075210762107721078210792108021081210822108321084210852108621087210882108921090210912109221093210942109521096210972109821099211002110121102211032110421105211062110721108211092111021111211122111321114211152111621117211182111921120211212112221123211242112521126211272112821129211302113121132211332113421135211362113721138211392114021141211422114321144211452114621147211482114921150211512115221153211542115521156211572115821159211602116121162211632116421165211662116721168211692117021171211722117321174211752117621177211782117921180211812118221183211842118521186211872118821189211902119121192211932119421195211962119721198211992120021201212022120321204212052120621207212082120921210212112121221213212142121521216212172121821219212202122121222212232122421225212262122721228212292123021231212322123321234212352123621237212382123921240212412124221243212442124521246212472124821249212502125121252212532125421255212562125721258212592126021261212622126321264212652126621267212682126921270212712127221273212742127521276212772127821279212802128121282212832128421285212862128721288212892129021291212922129321294212952129621297212982129921300213012130221303213042130521306213072130821309213102131121312213132131421315213162131721318213192132021321213222132321324213252132621327213282132921330213312133221333213342133521336213372133821339213402134121342213432134421345213462134721348213492135021351213522135321354213552135621357213582135921360213612136221363213642136521366213672136821369213702137121372213732137421375213762137721378213792138021381213822138321384213852138621387213882138921390213912139221393213942139521396213972139821399214002140121402214032140421405214062140721408214092141021411214122141321414214152141621417214182141921420214212142221423214242142521426214272142821429214302143121432214332143421435214362143721438214392144021441214422144321444214452144621447214482144921450214512145221453214542145521456214572145821459214602146121462214632146421465214662146721468214692147021471214722147321474214752147621477214782147921480214812148221483214842148521486214872148821489214902149121492214932149421495214962149721498214992150021501215022150321504215052150621507215082150921510215112151221513215142151521516215172151821519215202152121522215232152421525215262152721528215292153021531215322153321534215352153621537215382153921540215412154221543215442154521546215472154821549215502155121552215532155421555215562155721558215592156021561215622156321564215652156621567215682156921570215712157221573215742157521576215772157821579215802158121582215832158421585215862158721588215892159021591215922159321594215952159621597215982159921600216012160221603216042160521606216072160821609216102161121612216132161421615216162161721618216192162021621216222162321624216252162621627216282162921630216312163221633216342163521636216372163821639216402164121642216432164421645216462164721648216492165021651216522165321654216552165621657216582165921660216612166221663216642166521666216672166821669216702167121672216732167421675216762167721678216792168021681216822168321684216852168621687216882168921690216912169221693216942169521696216972169821699217002170121702217032170421705217062170721708217092171021711217122171321714217152171621717217182171921720217212172221723217242172521726217272172821729217302173121732217332173421735217362173721738217392174021741217422174321744217452174621747217482174921750217512175221753217542175521756217572175821759217602176121762217632176421765217662176721768217692177021771217722177321774217752177621777217782177921780217812178221783217842178521786217872178821789217902179121792217932179421795217962179721798217992180021801218022180321804218052180621807218082180921810218112181221813218142181521816218172181821819218202182121822218232182421825218262182721828218292183021831218322183321834218352183621837218382183921840218412184221843218442184521846218472184821849218502185121852218532185421855218562185721858218592186021861218622186321864218652186621867218682186921870218712187221873218742187521876218772187821879218802188121882218832188421885218862188721888218892189021891218922189321894218952189621897218982189921900219012190221903219042190521906219072190821909219102191121912219132191421915219162191721918219192192021921219222192321924219252192621927219282192921930219312193221933219342193521936219372193821939219402194121942219432194421945219462194721948219492195021951219522195321954219552195621957219582195921960219612196221963219642196521966219672196821969219702197121972219732197421975219762197721978219792198021981219822198321984219852198621987219882198921990219912199221993219942199521996219972199821999220002200122002220032200422005220062200722008220092201022011220122201322014220152201622017220182201922020220212202222023220242202522026220272202822029220302203122032220332203422035220362203722038220392204022041220422204322044220452204622047220482204922050220512205222053220542205522056220572205822059220602206122062220632206422065220662206722068220692207022071220722207322074220752207622077220782207922080220812208222083220842208522086220872208822089220902209122092220932209422095220962209722098220992210022101221022210322104221052210622107221082210922110221112211222113221142211522116221172211822119221202212122122221232212422125221262212722128221292213022131221322213322134221352213622137221382213922140221412214222143221442214522146221472214822149221502215122152221532215422155221562215722158221592216022161221622216322164221652216622167221682216922170221712217222173221742217522176221772217822179221802218122182221832218422185221862218722188221892219022191221922219322194221952219622197221982219922200222012220222203222042220522206222072220822209222102221122212222132221422215222162221722218222192222022221222222222322224222252222622227222282222922230222312223222233222342223522236222372223822239222402224122242222432224422245222462224722248222492225022251222522225322254222552225622257222582225922260222612226222263222642226522266222672226822269222702227122272222732227422275222762227722278222792228022281222822228322284222852228622287222882228922290222912229222293222942229522296222972229822299223002230122302223032230422305223062230722308223092231022311223122231322314223152231622317223182231922320223212232222323223242232522326223272232822329223302233122332223332233422335223362233722338223392234022341223422234322344223452234622347223482234922350223512235222353223542235522356223572235822359223602236122362223632236422365223662236722368223692237022371223722237322374223752237622377223782237922380223812238222383223842238522386223872238822389223902239122392223932239422395223962239722398223992240022401224022240322404224052240622407224082240922410224112241222413224142241522416224172241822419224202242122422224232242422425224262242722428224292243022431224322243322434224352243622437224382243922440224412244222443224442244522446224472244822449224502245122452224532245422455224562245722458224592246022461224622246322464224652246622467224682246922470224712247222473224742247522476224772247822479224802248122482224832248422485224862248722488224892249022491224922249322494224952249622497224982249922500225012250222503225042250522506225072250822509225102251122512225132251422515225162251722518225192252022521225222252322524225252252622527225282252922530225312253222533225342253522536225372253822539225402254122542225432254422545225462254722548225492255022551225522255322554225552255622557225582255922560225612256222563225642256522566225672256822569225702257122572225732257422575225762257722578225792258022581225822258322584225852258622587225882258922590225912259222593225942259522596225972259822599226002260122602226032260422605226062260722608226092261022611226122261322614226152261622617226182261922620226212262222623226242262522626226272262822629226302263122632226332263422635226362263722638226392264022641226422264322644226452264622647226482264922650226512265222653226542265522656226572265822659226602266122662226632266422665226662266722668226692267022671226722267322674226752267622677226782267922680226812268222683226842268522686226872268822689226902269122692226932269422695226962269722698226992270022701227022270322704227052270622707227082270922710227112271222713227142271522716227172271822719227202272122722227232272422725227262272722728227292273022731227322273322734227352273622737227382273922740227412274222743227442274522746227472274822749227502275122752227532275422755227562275722758227592276022761227622276322764227652276622767227682276922770227712277222773227742277522776227772277822779227802278122782227832278422785227862278722788227892279022791227922279322794227952279622797227982279922800228012280222803228042280522806228072280822809228102281122812228132281422815228162281722818228192282022821228222282322824228252282622827228282282922830228312283222833228342283522836228372283822839228402284122842228432284422845228462284722848228492285022851228522285322854228552285622857228582285922860228612286222863228642286522866228672286822869228702287122872228732287422875228762287722878228792288022881228822288322884228852288622887228882288922890228912289222893228942289522896228972289822899229002290122902229032290422905229062290722908229092291022911229122291322914229152291622917229182291922920229212292222923229242292522926229272292822929229302293122932229332293422935229362293722938229392294022941229422294322944229452294622947229482294922950229512295222953229542295522956229572295822959229602296122962229632296422965229662296722968229692297022971229722297322974229752297622977229782297922980229812298222983229842298522986229872298822989229902299122992229932299422995229962299722998229992300023001230022300323004230052300623007230082300923010230112301223013230142301523016230172301823019230202302123022230232302423025230262302723028230292303023031230322303323034230352303623037230382303923040230412304223043230442304523046230472304823049230502305123052230532305423055230562305723058230592306023061230622306323064230652306623067230682306923070230712307223073230742307523076230772307823079230802308123082230832308423085230862308723088230892309023091230922309323094230952309623097230982309923100231012310223103231042310523106231072310823109231102311123112231132311423115231162311723118231192312023121231222312323124231252312623127231282312923130231312313223133231342313523136231372313823139231402314123142231432314423145231462314723148231492315023151231522315323154231552315623157231582315923160231612316223163231642316523166231672316823169231702317123172231732317423175231762317723178231792318023181231822318323184231852318623187231882318923190231912319223193231942319523196231972319823199232002320123202232032320423205232062320723208232092321023211232122321323214232152321623217232182321923220232212322223223232242322523226232272322823229232302323123232232332323423235232362323723238232392324023241232422324323244232452324623247232482324923250232512325223253232542325523256232572325823259232602326123262232632326423265232662326723268232692327023271232722327323274232752327623277232782327923280232812328223283232842328523286232872328823289232902329123292232932329423295232962329723298232992330023301233022330323304233052330623307233082330923310233112331223313233142331523316233172331823319233202332123322233232332423325233262332723328233292333023331233322333323334233352333623337233382333923340233412334223343233442334523346233472334823349233502335123352233532335423355233562335723358233592336023361233622336323364233652336623367233682336923370233712337223373233742337523376233772337823379233802338123382233832338423385233862338723388233892339023391233922339323394233952339623397233982339923400234012340223403234042340523406234072340823409234102341123412234132341423415234162341723418234192342023421234222342323424234252342623427234282342923430234312343223433234342343523436234372343823439234402344123442234432344423445234462344723448234492345023451234522345323454234552345623457234582345923460234612346223463234642346523466234672346823469234702347123472234732347423475234762347723478234792348023481234822348323484234852348623487234882348923490234912349223493234942349523496234972349823499235002350123502235032350423505235062350723508235092351023511235122351323514235152351623517235182351923520235212352223523235242352523526235272352823529235302353123532235332353423535235362353723538235392354023541235422354323544235452354623547235482354923550235512355223553235542355523556235572355823559235602356123562235632356423565235662356723568235692357023571235722357323574235752357623577235782357923580235812358223583235842358523586235872358823589235902359123592235932359423595235962359723598235992360023601236022360323604236052360623607236082360923610236112361223613236142361523616236172361823619236202362123622236232362423625236262362723628236292363023631236322363323634236352363623637236382363923640236412364223643236442364523646236472364823649236502365123652236532365423655236562365723658236592366023661236622366323664236652366623667236682366923670236712367223673236742367523676236772367823679236802368123682236832368423685236862368723688236892369023691236922369323694236952369623697236982369923700237012370223703237042370523706237072370823709237102371123712237132371423715237162371723718237192372023721237222372323724237252372623727237282372923730237312373223733237342373523736237372373823739237402374123742237432374423745237462374723748237492375023751237522375323754237552375623757237582375923760237612376223763237642376523766237672376823769237702377123772237732377423775237762377723778237792378023781237822378323784237852378623787237882378923790237912379223793237942379523796237972379823799238002380123802238032380423805238062380723808238092381023811238122381323814238152381623817238182381923820238212382223823238242382523826238272382823829238302383123832238332383423835238362383723838238392384023841238422384323844238452384623847238482384923850238512385223853238542385523856238572385823859238602386123862238632386423865238662386723868238692387023871238722387323874238752387623877238782387923880238812388223883238842388523886238872388823889238902389123892238932389423895238962389723898238992390023901239022390323904239052390623907239082390923910239112391223913239142391523916239172391823919239202392123922239232392423925239262392723928239292393023931239322393323934239352393623937239382393923940239412394223943239442394523946239472394823949239502395123952239532395423955239562395723958239592396023961239622396323964239652396623967239682396923970239712397223973239742397523976239772397823979239802398123982239832398423985239862398723988239892399023991239922399323994239952399623997239982399924000240012400224003240042400524006240072400824009240102401124012240132401424015240162401724018240192402024021240222402324024240252402624027240282402924030240312403224033240342403524036240372403824039240402404124042240432404424045240462404724048240492405024051240522405324054240552405624057240582405924060240612406224063240642406524066240672406824069240702407124072240732407424075240762407724078240792408024081240822408324084240852408624087240882408924090240912409224093240942409524096240972409824099241002410124102241032410424105241062410724108241092411024111241122411324114241152411624117241182411924120241212412224123241242412524126241272412824129241302413124132241332413424135241362413724138241392414024141241422414324144241452414624147241482414924150241512415224153241542415524156241572415824159241602416124162241632416424165241662416724168241692417024171241722417324174241752417624177241782417924180241812418224183241842418524186241872418824189241902419124192241932419424195241962419724198241992420024201242022420324204242052420624207242082420924210242112421224213242142421524216242172421824219242202422124222242232422424225242262422724228242292423024231242322423324234242352423624237242382423924240242412424224243242442424524246242472424824249242502425124252242532425424255242562425724258242592426024261242622426324264242652426624267242682426924270242712427224273242742427524276242772427824279242802428124282242832428424285242862428724288242892429024291242922429324294242952429624297242982429924300243012430224303243042430524306243072430824309243102431124312243132431424315243162431724318243192432024321243222432324324243252432624327243282432924330243312433224333243342433524336243372433824339243402434124342243432434424345243462434724348243492435024351243522435324354243552435624357243582435924360243612436224363243642436524366243672436824369243702437124372243732437424375243762437724378243792438024381243822438324384243852438624387243882438924390243912439224393243942439524396243972439824399244002440124402244032440424405244062440724408244092441024411244122441324414244152441624417244182441924420244212442224423244242442524426244272442824429244302443124432244332443424435244362443724438244392444024441244422444324444244452444624447244482444924450244512445224453244542445524456244572445824459244602446124462244632446424465244662446724468244692447024471244722447324474244752447624477244782447924480244812448224483244842448524486244872448824489244902449124492244932449424495244962449724498244992450024501245022450324504245052450624507245082450924510245112451224513245142451524516245172451824519245202452124522245232452424525245262452724528245292453024531245322453324534245352453624537245382453924540245412454224543245442454524546245472454824549245502455124552245532455424555245562455724558245592456024561245622456324564245652456624567245682456924570245712457224573245742457524576245772457824579245802458124582245832458424585245862458724588245892459024591245922459324594245952459624597245982459924600246012460224603246042460524606246072460824609246102461124612246132461424615246162461724618246192462024621246222462324624246252462624627246282462924630246312463224633246342463524636246372463824639246402464124642246432464424645246462464724648246492465024651246522465324654246552465624657246582465924660246612466224663246642466524666246672466824669246702467124672246732467424675246762467724678246792468024681246822468324684246852468624687246882468924690246912469224693246942469524696246972469824699247002470124702247032470424705247062470724708247092471024711247122471324714247152471624717247182471924720247212472224723247242472524726247272472824729247302473124732247332473424735247362473724738247392474024741247422474324744247452474624747247482474924750247512475224753247542475524756247572475824759247602476124762247632476424765247662476724768247692477024771247722477324774247752477624777247782477924780247812478224783247842478524786247872478824789247902479124792247932479424795247962479724798247992480024801248022480324804248052480624807248082480924810248112481224813248142481524816248172481824819248202482124822248232482424825248262482724828248292483024831248322483324834248352483624837248382483924840248412484224843248442484524846248472484824849248502485124852248532485424855248562485724858248592486024861248622486324864248652486624867248682486924870248712487224873248742487524876248772487824879248802488124882248832488424885248862488724888248892489024891248922489324894248952489624897248982489924900249012490224903249042490524906249072490824909249102491124912249132491424915249162491724918249192492024921249222492324924249252492624927249282492924930249312493224933249342493524936249372493824939249402494124942249432494424945249462494724948249492495024951249522495324954249552495624957249582495924960249612496224963249642496524966249672496824969249702497124972249732497424975249762497724978249792498024981249822498324984249852498624987249882498924990249912499224993249942499524996249972499824999250002500125002250032500425005250062500725008250092501025011250122501325014250152501625017250182501925020250212502225023250242502525026250272502825029250302503125032250332503425035250362503725038250392504025041250422504325044250452504625047250482504925050250512505225053250542505525056250572505825059250602506125062250632506425065250662506725068250692507025071250722507325074250752507625077250782507925080250812508225083250842508525086250872508825089250902509125092250932509425095250962509725098250992510025101251022510325104251052510625107251082510925110251112511225113251142511525116251172511825119251202512125122251232512425125251262512725128251292513025131251322513325134251352513625137251382513925140251412514225143251442514525146251472514825149251502515125152251532515425155251562515725158251592516025161251622516325164251652516625167251682516925170251712517225173251742517525176251772517825179251802518125182251832518425185251862518725188251892519025191251922519325194251952519625197251982519925200252012520225203252042520525206252072520825209252102521125212252132521425215252162521725218252192522025221252222522325224252252522625227252282522925230252312523225233252342523525236252372523825239252402524125242252432524425245252462524725248252492525025251252522525325254252552525625257252582525925260252612526225263252642526525266252672526825269252702527125272252732527425275252762527725278252792528025281252822528325284252852528625287252882528925290252912529225293252942529525296252972529825299253002530125302253032530425305253062530725308253092531025311253122531325314253152531625317253182531925320253212532225323253242532525326253272532825329253302533125332253332533425335253362533725338253392534025341253422534325344253452534625347253482534925350253512535225353253542535525356253572535825359253602536125362253632536425365253662536725368253692537025371253722537325374253752537625377253782537925380253812538225383253842538525386253872538825389253902539125392253932539425395253962539725398253992540025401254022540325404254052540625407254082540925410254112541225413254142541525416254172541825419254202542125422254232542425425254262542725428254292543025431254322543325434254352543625437254382543925440254412544225443254442544525446254472544825449254502545125452254532545425455254562545725458254592546025461254622546325464254652546625467254682546925470254712547225473254742547525476254772547825479254802548125482254832548425485254862548725488254892549025491254922549325494254952549625497254982549925500255012550225503255042550525506255072550825509255102551125512255132551425515255162551725518255192552025521255222552325524255252552625527255282552925530255312553225533255342553525536255372553825539255402554125542255432554425545255462554725548255492555025551255522555325554255552555625557255582555925560255612556225563255642556525566255672556825569255702557125572255732557425575255762557725578255792558025581255822558325584255852558625587255882558925590255912559225593255942559525596255972559825599256002560125602256032560425605256062560725608256092561025611256122561325614256152561625617256182561925620256212562225623256242562525626256272562825629256302563125632256332563425635256362563725638256392564025641256422564325644256452564625647256482564925650256512565225653256542565525656256572565825659256602566125662256632566425665256662566725668256692567025671256722567325674256752567625677256782567925680256812568225683256842568525686256872568825689256902569125692256932569425695256962569725698256992570025701257022570325704257052570625707257082570925710257112571225713257142571525716257172571825719257202572125722257232572425725257262572725728257292573025731257322573325734257352573625737257382573925740257412574225743257442574525746257472574825749257502575125752257532575425755257562575725758257592576025761257622576325764257652576625767257682576925770257712577225773257742577525776257772577825779257802578125782257832578425785257862578725788257892579025791257922579325794257952579625797257982579925800258012580225803258042580525806258072580825809258102581125812258132581425815258162581725818258192582025821258222582325824258252582625827258282582925830258312583225833258342583525836258372583825839258402584125842258432584425845258462584725848258492585025851258522585325854258552585625857258582585925860258612586225863258642586525866258672586825869258702587125872258732587425875258762587725878258792588025881258822588325884258852588625887258882588925890258912589225893258942589525896258972589825899259002590125902259032590425905259062590725908259092591025911259122591325914259152591625917259182591925920259212592225923259242592525926259272592825929259302593125932259332593425935259362593725938259392594025941259422594325944259452594625947259482594925950259512595225953259542595525956259572595825959259602596125962259632596425965259662596725968259692597025971259722597325974259752597625977259782597925980259812598225983259842598525986259872598825989259902599125992259932599425995259962599725998259992600026001260022600326004260052600626007260082600926010260112601226013260142601526016260172601826019260202602126022260232602426025260262602726028260292603026031260322603326034260352603626037260382603926040260412604226043260442604526046260472604826049260502605126052260532605426055260562605726058260592606026061260622606326064260652606626067260682606926070260712607226073260742607526076260772607826079260802608126082260832608426085260862608726088260892609026091260922609326094260952609626097260982609926100261012610226103261042610526106261072610826109261102611126112261132611426115261162611726118261192612026121261222612326124261252612626127261282612926130261312613226133261342613526136261372613826139261402614126142261432614426145261462614726148261492615026151261522615326154261552615626157261582615926160261612616226163261642616526166261672616826169261702617126172261732617426175261762617726178261792618026181261822618326184261852618626187261882618926190261912619226193261942619526196261972619826199262002620126202262032620426205262062620726208262092621026211262122621326214262152621626217262182621926220262212622226223262242622526226262272622826229262302623126232262332623426235262362623726238262392624026241262422624326244262452624626247262482624926250262512625226253262542625526256262572625826259262602626126262262632626426265262662626726268262692627026271262722627326274262752627626277262782627926280262812628226283262842628526286262872628826289262902629126292262932629426295262962629726298262992630026301263022630326304263052630626307263082630926310263112631226313263142631526316263172631826319263202632126322263232632426325263262632726328263292633026331263322633326334263352633626337263382633926340263412634226343263442634526346263472634826349263502635126352263532635426355263562635726358263592636026361263622636326364263652636626367263682636926370263712637226373263742637526376263772637826379263802638126382263832638426385263862638726388263892639026391263922639326394263952639626397263982639926400264012640226403264042640526406264072640826409264102641126412264132641426415264162641726418264192642026421264222642326424264252642626427264282642926430264312643226433264342643526436264372643826439264402644126442264432644426445264462644726448264492645026451264522645326454264552645626457264582645926460264612646226463264642646526466264672646826469264702647126472264732647426475264762647726478264792648026481264822648326484264852648626487264882648926490264912649226493264942649526496264972649826499265002650126502265032650426505265062650726508265092651026511265122651326514265152651626517265182651926520265212652226523265242652526526265272652826529265302653126532265332653426535265362653726538265392654026541265422654326544265452654626547265482654926550265512655226553265542655526556265572655826559265602656126562265632656426565265662656726568265692657026571265722657326574265752657626577265782657926580265812658226583265842658526586265872658826589265902659126592265932659426595265962659726598265992660026601266022660326604266052660626607266082660926610266112661226613266142661526616266172661826619266202662126622266232662426625266262662726628266292663026631266322663326634266352663626637266382663926640266412664226643266442664526646266472664826649266502665126652266532665426655266562665726658266592666026661266622666326664266652666626667266682666926670266712667226673266742667526676266772667826679266802668126682266832668426685266862668726688266892669026691266922669326694266952669626697266982669926700267012670226703267042670526706267072670826709267102671126712267132671426715267162671726718267192672026721267222672326724267252672626727267282672926730267312673226733267342673526736267372673826739267402674126742267432674426745267462674726748267492675026751267522675326754267552675626757267582675926760267612676226763267642676526766267672676826769267702677126772267732677426775267762677726778267792678026781267822678326784267852678626787267882678926790267912679226793267942679526796267972679826799268002680126802268032680426805268062680726808268092681026811268122681326814268152681626817268182681926820268212682226823268242682526826268272682826829268302683126832268332683426835268362683726838268392684026841268422684326844268452684626847268482684926850268512685226853268542685526856268572685826859268602686126862268632686426865268662686726868268692687026871268722687326874268752687626877268782687926880268812688226883268842688526886268872688826889268902689126892268932689426895268962689726898268992690026901269022690326904269052690626907269082690926910269112691226913269142691526916269172691826919269202692126922269232692426925269262692726928269292693026931269322693326934269352693626937269382693926940269412694226943269442694526946269472694826949269502695126952269532695426955269562695726958269592696026961269622696326964269652696626967269682696926970269712697226973269742697526976269772697826979269802698126982269832698426985269862698726988269892699026991269922699326994269952699626997269982699927000270012700227003270042700527006270072700827009270102701127012270132701427015270162701727018270192702027021270222702327024270252702627027270282702927030270312703227033270342703527036270372703827039270402704127042270432704427045270462704727048270492705027051270522705327054270552705627057270582705927060270612706227063270642706527066270672706827069270702707127072270732707427075270762707727078270792708027081270822708327084270852708627087270882708927090270912709227093270942709527096270972709827099271002710127102271032710427105271062710727108271092711027111271122711327114271152711627117271182711927120271212712227123271242712527126271272712827129271302713127132271332713427135271362713727138271392714027141271422714327144271452714627147271482714927150271512715227153271542715527156271572715827159271602716127162271632716427165271662716727168271692717027171271722717327174271752717627177271782717927180271812718227183271842718527186271872718827189271902719127192271932719427195271962719727198271992720027201272022720327204272052720627207272082720927210272112721227213272142721527216272172721827219272202722127222272232722427225272262722727228272292723027231272322723327234272352723627237272382723927240272412724227243272442724527246272472724827249272502725127252272532725427255272562725727258272592726027261272622726327264272652726627267272682726927270272712727227273272742727527276272772727827279272802728127282272832728427285272862728727288272892729027291272922729327294272952729627297272982729927300273012730227303273042730527306273072730827309273102731127312273132731427315273162731727318273192732027321273222732327324273252732627327273282732927330273312733227333273342733527336273372733827339273402734127342273432734427345273462734727348273492735027351273522735327354273552735627357273582735927360273612736227363273642736527366273672736827369273702737127372273732737427375273762737727378273792738027381273822738327384273852738627387273882738927390273912739227393273942739527396273972739827399274002740127402274032740427405274062740727408274092741027411274122741327414274152741627417274182741927420274212742227423274242742527426274272742827429274302743127432274332743427435274362743727438274392744027441274422744327444274452744627447274482744927450274512745227453274542745527456274572745827459274602746127462274632746427465274662746727468274692747027471274722747327474274752747627477274782747927480274812748227483274842748527486274872748827489274902749127492274932749427495274962749727498274992750027501275022750327504275052750627507275082750927510275112751227513275142751527516275172751827519275202752127522275232752427525275262752727528275292753027531275322753327534275352753627537275382753927540275412754227543275442754527546275472754827549275502755127552275532755427555275562755727558275592756027561275622756327564275652756627567275682756927570275712757227573275742757527576275772757827579275802758127582275832758427585275862758727588275892759027591275922759327594275952759627597275982759927600276012760227603276042760527606276072760827609276102761127612276132761427615276162761727618276192762027621276222762327624276252762627627276282762927630276312763227633276342763527636276372763827639276402764127642276432764427645276462764727648276492765027651276522765327654276552765627657276582765927660276612766227663276642766527666276672766827669276702767127672276732767427675276762767727678276792768027681276822768327684276852768627687276882768927690276912769227693276942769527696276972769827699277002770127702277032770427705277062770727708277092771027711277122771327714277152771627717277182771927720277212772227723277242772527726277272772827729277302773127732277332773427735277362773727738277392774027741277422774327744277452774627747277482774927750277512775227753277542775527756277572775827759277602776127762277632776427765277662776727768277692777027771277722777327774277752777627777277782777927780277812778227783277842778527786277872778827789277902779127792277932779427795277962779727798277992780027801278022780327804278052780627807278082780927810278112781227813278142781527816278172781827819278202782127822278232782427825278262782727828278292783027831278322783327834278352783627837278382783927840278412784227843278442784527846278472784827849278502785127852278532785427855278562785727858278592786027861278622786327864278652786627867278682786927870278712787227873278742787527876278772787827879278802788127882278832788427885278862788727888278892789027891278922789327894278952789627897278982789927900279012790227903279042790527906279072790827909279102791127912279132791427915279162791727918279192792027921279222792327924279252792627927279282792927930279312793227933279342793527936279372793827939279402794127942279432794427945279462794727948279492795027951279522795327954279552795627957279582795927960279612796227963279642796527966279672796827969279702797127972279732797427975279762797727978279792798027981279822798327984279852798627987279882798927990279912799227993279942799527996279972799827999280002800128002280032800428005280062800728008280092801028011280122801328014280152801628017280182801928020280212802228023280242802528026280272802828029280302803128032280332803428035280362803728038280392804028041280422804328044280452804628047280482804928050280512805228053280542805528056280572805828059280602806128062280632806428065280662806728068280692807028071280722807328074280752807628077280782807928080280812808228083280842808528086280872808828089280902809128092280932809428095280962809728098280992810028101281022810328104281052810628107281082810928110281112811228113281142811528116281172811828119281202812128122281232812428125281262812728128281292813028131281322813328134281352813628137281382813928140281412814228143281442814528146281472814828149281502815128152281532815428155281562815728158281592816028161281622816328164281652816628167281682816928170281712817228173281742817528176281772817828179281802818128182281832818428185281862818728188281892819028191281922819328194281952819628197281982819928200282012820228203282042820528206282072820828209282102821128212282132821428215282162821728218282192822028221282222822328224282252822628227282282822928230282312823228233282342823528236282372823828239282402824128242282432824428245282462824728248282492825028251282522825328254282552825628257282582825928260282612826228263282642826528266282672826828269282702827128272282732827428275282762827728278282792828028281282822828328284282852828628287282882828928290282912829228293282942829528296282972829828299283002830128302283032830428305283062830728308283092831028311283122831328314283152831628317283182831928320283212832228323283242832528326283272832828329283302833128332283332833428335283362833728338283392834028341283422834328344283452834628347283482834928350283512835228353283542835528356283572835828359283602836128362283632836428365283662836728368283692837028371283722837328374283752837628377283782837928380283812838228383283842838528386283872838828389283902839128392283932839428395283962839728398283992840028401284022840328404284052840628407284082840928410284112841228413284142841528416284172841828419284202842128422284232842428425284262842728428284292843028431284322843328434284352843628437284382843928440284412844228443284442844528446284472844828449284502845128452284532845428455284562845728458284592846028461284622846328464284652846628467284682846928470284712847228473284742847528476284772847828479284802848128482284832848428485284862848728488284892849028491284922849328494284952849628497284982849928500285012850228503285042850528506285072850828509285102851128512285132851428515285162851728518285192852028521285222852328524285252852628527285282852928530285312853228533285342853528536285372853828539285402854128542285432854428545285462854728548285492855028551285522855328554285552855628557285582855928560285612856228563285642856528566285672856828569285702857128572285732857428575285762857728578285792858028581 |
- /*
- ** The OpenGL Extension Wrangler Library
- ** Copyright (C) 2008-2017, Nigel Stewart <nigels[]users sourceforge net>
- ** Copyright (C) 2002-2008, Milan Ikits <milan ikits[]ieee org>
- ** Copyright (C) 2002-2008, Marcelo E. Magallon <mmagallo[]debian org>
- ** Copyright (C) 2002, Lev Povalahev
- ** All rights reserved.
- **
- ** Redistribution and use in source and binary forms, with or without
- ** modification, are permitted provided that the following conditions are met:
- **
- ** * Redistributions of source code must retain the above copyright notice,
- ** this list of conditions and the following disclaimer.
- ** * Redistributions in binary form must reproduce the above copyright notice,
- ** this list of conditions and the following disclaimer in the documentation
- ** and/or other materials provided with the distribution.
- ** * The name of the author may be used to endorse or promote products
- ** derived from this software without specific prior written permission.
- **
- ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
- ** AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
- ** IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
- ** ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
- ** LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
- ** CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
- ** SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
- ** INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
- ** CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
- ** ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
- ** THE POSSIBILITY OF SUCH DAMAGE.
- */
- #ifndef GLEW_INCLUDE
- #include <GL/glew.h>
- #else
- #include GLEW_INCLUDE
- #endif
- #if defined(GLEW_OSMESA)
- # define GLAPI extern
- # include <GL/osmesa.h>
- #elif defined(GLEW_EGL)
- # include <GL/eglew.h>
- #elif defined(_WIN32)
- /*
- * If NOGDI is defined, wingdi.h won't be included by windows.h, and thus
- * wglGetProcAddress won't be declared. It will instead be implicitly declared,
- * potentially incorrectly, which we don't want.
- */
- # if defined(NOGDI)
- # undef NOGDI
- # endif
- # include <GL/wglew.h>
- #elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
- # include <GL/glxew.h>
- #endif
- #include <stddef.h> /* For size_t */
- #if defined(GLEW_EGL)
- #elif defined(GLEW_REGAL)
- /* In GLEW_REGAL mode we call direcly into the linked
- libRegal.so glGetProcAddressREGAL for looking up
- the GL function pointers. */
- # undef glGetProcAddressREGAL
- # ifdef WIN32
- extern void * __stdcall glGetProcAddressREGAL(const GLchar *name);
- static void * (__stdcall * regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
- # else
- extern void * glGetProcAddressREGAL(const GLchar *name);
- static void * (*regalGetProcAddress) (const GLchar *) = glGetProcAddressREGAL;
- # endif
- # define glGetProcAddressREGAL GLEW_GET_FUN(__glewGetProcAddressREGAL)
- #elif defined(__sgi) || defined (__sun) || defined(__HAIKU__) || defined(GLEW_APPLE_GLX)
- #include <dlfcn.h>
- #include <stdio.h>
- #include <stdlib.h>
- void* dlGetProcAddress (const GLubyte* name)
- {
- static void* h = NULL;
- static void* gpa;
- if (h == NULL)
- {
- if ((h = dlopen(NULL, RTLD_LAZY | RTLD_LOCAL)) == NULL) return NULL;
- gpa = dlsym(h, "glXGetProcAddress");
- }
- if (gpa != NULL)
- return ((void*(*)(const GLubyte*))gpa)(name);
- else
- return dlsym(h, (const char*)name);
- }
- #endif /* __sgi || __sun || GLEW_APPLE_GLX */
- #if defined(__APPLE__)
- #include <stdlib.h>
- #include <string.h>
- #include <AvailabilityMacros.h>
- #ifdef MAC_OS_X_VERSION_10_3
- #include <dlfcn.h>
- void* NSGLGetProcAddress (const GLubyte *name)
- {
- static void* image = NULL;
- void* addr;
- if (NULL == image)
- {
- image = dlopen("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", RTLD_LAZY);
- }
- if( !image ) return NULL;
- addr = dlsym(image, (const char*)name);
- if( addr ) return addr;
- #ifdef GLEW_APPLE_GLX
- return dlGetProcAddress( name ); // try next for glx symbols
- #else
- return NULL;
- #endif
- }
- #else
- #include <mach-o/dyld.h>
- void* NSGLGetProcAddress (const GLubyte *name)
- {
- static const struct mach_header* image = NULL;
- NSSymbol symbol;
- char* symbolName;
- if (NULL == image)
- {
- image = NSAddImage("/System/Library/Frameworks/OpenGL.framework/Versions/Current/OpenGL", NSADDIMAGE_OPTION_RETURN_ON_ERROR);
- }
- /* prepend a '_' for the Unix C symbol mangling convention */
- symbolName = malloc(strlen((const char*)name) + 2);
- strcpy(symbolName+1, (const char*)name);
- symbolName[0] = '_';
- symbol = NULL;
- /* if (NSIsSymbolNameDefined(symbolName))
- symbol = NSLookupAndBindSymbol(symbolName); */
- symbol = image ? NSLookupSymbolInImage(image, symbolName, NSLOOKUPSYMBOLINIMAGE_OPTION_BIND | NSLOOKUPSYMBOLINIMAGE_OPTION_RETURN_ON_ERROR) : NULL;
- free(symbolName);
- if( symbol ) return NSAddressOfSymbol(symbol);
- #ifdef GLEW_APPLE_GLX
- return dlGetProcAddress( name ); // try next for glx symbols
- #else
- return NULL;
- #endif
- }
- #endif /* MAC_OS_X_VERSION_10_3 */
- #endif /* __APPLE__ */
- /*
- * Define glewGetProcAddress.
- */
- #if defined(GLEW_REGAL)
- # define glewGetProcAddress(name) regalGetProcAddress((const GLchar *)name)
- #elif defined(GLEW_OSMESA)
- # define glewGetProcAddress(name) OSMesaGetProcAddress((const char *)name)
- #elif defined(GLEW_EGL)
- # define glewGetProcAddress(name) eglGetProcAddress((const char *)name)
- #elif defined(_WIN32)
- # define glewGetProcAddress(name) wglGetProcAddress((LPCSTR)name)
- #elif defined(__APPLE__) && !defined(GLEW_APPLE_GLX)
- # define glewGetProcAddress(name) NSGLGetProcAddress(name)
- #elif defined(__sgi) || defined(__sun) || defined(__HAIKU__)
- # define glewGetProcAddress(name) dlGetProcAddress(name)
- #elif defined(__ANDROID__)
- # define glewGetProcAddress(name) NULL /* TODO */
- #elif defined(__native_client__)
- # define glewGetProcAddress(name) NULL /* TODO */
- #else /* __linux */
- # define glewGetProcAddress(name) (*glXGetProcAddressARB)(name)
- #endif
- /*
- * Redefine GLEW_GET_VAR etc without const cast
- */
- #undef GLEW_GET_VAR
- # define GLEW_GET_VAR(x) (x)
- #ifdef WGLEW_GET_VAR
- # undef WGLEW_GET_VAR
- # define WGLEW_GET_VAR(x) (x)
- #endif /* WGLEW_GET_VAR */
- #ifdef GLXEW_GET_VAR
- # undef GLXEW_GET_VAR
- # define GLXEW_GET_VAR(x) (x)
- #endif /* GLXEW_GET_VAR */
- #ifdef EGLEW_GET_VAR
- # undef EGLEW_GET_VAR
- # define EGLEW_GET_VAR(x) (x)
- #endif /* EGLEW_GET_VAR */
- /*
- * GLEW, just like OpenGL or GLU, does not rely on the standard C library.
- * These functions implement the functionality required in this file.
- */
- static GLuint _glewStrLen (const GLubyte* s)
- {
- GLuint i=0;
- if (s == NULL) return 0;
- while (s[i] != '\0') i++;
- return i;
- }
- static GLuint _glewStrCLen (const GLubyte* s, GLubyte c)
- {
- GLuint i=0;
- if (s == NULL) return 0;
- while (s[i] != '\0' && s[i] != c) i++;
- return i;
- }
- static GLuint _glewStrCopy(char *d, const char *s, char c)
- {
- GLuint i=0;
- if (s == NULL) return 0;
- while (s[i] != '\0' && s[i] != c) { d[i] = s[i]; i++; }
- d[i] = '\0';
- return i;
- }
- #if !defined(GLEW_OSMESA)
- #if !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
- static GLboolean _glewStrSame (const GLubyte* a, const GLubyte* b, GLuint n)
- {
- GLuint i=0;
- if(a == NULL || b == NULL)
- return (a == NULL && b == NULL && n == 0) ? GL_TRUE : GL_FALSE;
- while (i < n && a[i] != '\0' && b[i] != '\0' && a[i] == b[i]) i++;
- return i == n ? GL_TRUE : GL_FALSE;
- }
- #endif
- #endif
- static GLboolean _glewStrSame1 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
- {
- while (*na > 0 && (**a == ' ' || **a == '\n' || **a == '\r' || **a == '\t'))
- {
- (*a)++;
- (*na)--;
- }
- if(*na >= nb)
- {
- GLuint i=0;
- while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
- if(i == nb)
- {
- *a = *a + nb;
- *na = *na - nb;
- return GL_TRUE;
- }
- }
- return GL_FALSE;
- }
- static GLboolean _glewStrSame2 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
- {
- if(*na >= nb)
- {
- GLuint i=0;
- while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
- if(i == nb)
- {
- *a = *a + nb;
- *na = *na - nb;
- return GL_TRUE;
- }
- }
- return GL_FALSE;
- }
- static GLboolean _glewStrSame3 (const GLubyte** a, GLuint* na, const GLubyte* b, GLuint nb)
- {
- if(*na >= nb)
- {
- GLuint i=0;
- while (i < nb && (*a)+i != NULL && b+i != NULL && (*a)[i] == b[i]) i++;
- if (i == nb && (*na == nb || (*a)[i] == ' ' || (*a)[i] == '\n' || (*a)[i] == '\r' || (*a)[i] == '\t'))
- {
- *a = *a + nb;
- *na = *na - nb;
- return GL_TRUE;
- }
- }
- return GL_FALSE;
- }
- /*
- * Search for name in the extensions string. Use of strstr()
- * is not sufficient because extension names can be prefixes of
- * other extension names. Could use strtok() but the constant
- * string returned by glGetString might be in read-only memory.
- */
- #if !defined(GLEW_OSMESA)
- #if !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
- static GLboolean _glewSearchExtension (const char* name, const GLubyte *start, const GLubyte *end)
- {
- const GLubyte* p;
- GLuint len = _glewStrLen((const GLubyte*)name);
- p = start;
- while (p < end)
- {
- GLuint n = _glewStrCLen(p, ' ');
- if (len == n && _glewStrSame((const GLubyte*)name, p, n)) return GL_TRUE;
- p += n+1;
- }
- return GL_FALSE;
- }
- #endif
- #endif
- PFNGLCOPYTEXSUBIMAGE3DPROC __glewCopyTexSubImage3D = NULL;
- PFNGLDRAWRANGEELEMENTSPROC __glewDrawRangeElements = NULL;
- PFNGLTEXIMAGE3DPROC __glewTexImage3D = NULL;
- PFNGLTEXSUBIMAGE3DPROC __glewTexSubImage3D = NULL;
- PFNGLACTIVETEXTUREPROC __glewActiveTexture = NULL;
- PFNGLCLIENTACTIVETEXTUREPROC __glewClientActiveTexture = NULL;
- PFNGLCOMPRESSEDTEXIMAGE1DPROC __glewCompressedTexImage1D = NULL;
- PFNGLCOMPRESSEDTEXIMAGE2DPROC __glewCompressedTexImage2D = NULL;
- PFNGLCOMPRESSEDTEXIMAGE3DPROC __glewCompressedTexImage3D = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC __glewCompressedTexSubImage1D = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC __glewCompressedTexSubImage2D = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC __glewCompressedTexSubImage3D = NULL;
- PFNGLGETCOMPRESSEDTEXIMAGEPROC __glewGetCompressedTexImage = NULL;
- PFNGLLOADTRANSPOSEMATRIXDPROC __glewLoadTransposeMatrixd = NULL;
- PFNGLLOADTRANSPOSEMATRIXFPROC __glewLoadTransposeMatrixf = NULL;
- PFNGLMULTTRANSPOSEMATRIXDPROC __glewMultTransposeMatrixd = NULL;
- PFNGLMULTTRANSPOSEMATRIXFPROC __glewMultTransposeMatrixf = NULL;
- PFNGLMULTITEXCOORD1DPROC __glewMultiTexCoord1d = NULL;
- PFNGLMULTITEXCOORD1DVPROC __glewMultiTexCoord1dv = NULL;
- PFNGLMULTITEXCOORD1FPROC __glewMultiTexCoord1f = NULL;
- PFNGLMULTITEXCOORD1FVPROC __glewMultiTexCoord1fv = NULL;
- PFNGLMULTITEXCOORD1IPROC __glewMultiTexCoord1i = NULL;
- PFNGLMULTITEXCOORD1IVPROC __glewMultiTexCoord1iv = NULL;
- PFNGLMULTITEXCOORD1SPROC __glewMultiTexCoord1s = NULL;
- PFNGLMULTITEXCOORD1SVPROC __glewMultiTexCoord1sv = NULL;
- PFNGLMULTITEXCOORD2DPROC __glewMultiTexCoord2d = NULL;
- PFNGLMULTITEXCOORD2DVPROC __glewMultiTexCoord2dv = NULL;
- PFNGLMULTITEXCOORD2FPROC __glewMultiTexCoord2f = NULL;
- PFNGLMULTITEXCOORD2FVPROC __glewMultiTexCoord2fv = NULL;
- PFNGLMULTITEXCOORD2IPROC __glewMultiTexCoord2i = NULL;
- PFNGLMULTITEXCOORD2IVPROC __glewMultiTexCoord2iv = NULL;
- PFNGLMULTITEXCOORD2SPROC __glewMultiTexCoord2s = NULL;
- PFNGLMULTITEXCOORD2SVPROC __glewMultiTexCoord2sv = NULL;
- PFNGLMULTITEXCOORD3DPROC __glewMultiTexCoord3d = NULL;
- PFNGLMULTITEXCOORD3DVPROC __glewMultiTexCoord3dv = NULL;
- PFNGLMULTITEXCOORD3FPROC __glewMultiTexCoord3f = NULL;
- PFNGLMULTITEXCOORD3FVPROC __glewMultiTexCoord3fv = NULL;
- PFNGLMULTITEXCOORD3IPROC __glewMultiTexCoord3i = NULL;
- PFNGLMULTITEXCOORD3IVPROC __glewMultiTexCoord3iv = NULL;
- PFNGLMULTITEXCOORD3SPROC __glewMultiTexCoord3s = NULL;
- PFNGLMULTITEXCOORD3SVPROC __glewMultiTexCoord3sv = NULL;
- PFNGLMULTITEXCOORD4DPROC __glewMultiTexCoord4d = NULL;
- PFNGLMULTITEXCOORD4DVPROC __glewMultiTexCoord4dv = NULL;
- PFNGLMULTITEXCOORD4FPROC __glewMultiTexCoord4f = NULL;
- PFNGLMULTITEXCOORD4FVPROC __glewMultiTexCoord4fv = NULL;
- PFNGLMULTITEXCOORD4IPROC __glewMultiTexCoord4i = NULL;
- PFNGLMULTITEXCOORD4IVPROC __glewMultiTexCoord4iv = NULL;
- PFNGLMULTITEXCOORD4SPROC __glewMultiTexCoord4s = NULL;
- PFNGLMULTITEXCOORD4SVPROC __glewMultiTexCoord4sv = NULL;
- PFNGLSAMPLECOVERAGEPROC __glewSampleCoverage = NULL;
- PFNGLBLENDCOLORPROC __glewBlendColor = NULL;
- PFNGLBLENDEQUATIONPROC __glewBlendEquation = NULL;
- PFNGLBLENDFUNCSEPARATEPROC __glewBlendFuncSeparate = NULL;
- PFNGLFOGCOORDPOINTERPROC __glewFogCoordPointer = NULL;
- PFNGLFOGCOORDDPROC __glewFogCoordd = NULL;
- PFNGLFOGCOORDDVPROC __glewFogCoorddv = NULL;
- PFNGLFOGCOORDFPROC __glewFogCoordf = NULL;
- PFNGLFOGCOORDFVPROC __glewFogCoordfv = NULL;
- PFNGLMULTIDRAWARRAYSPROC __glewMultiDrawArrays = NULL;
- PFNGLMULTIDRAWELEMENTSPROC __glewMultiDrawElements = NULL;
- PFNGLPOINTPARAMETERFPROC __glewPointParameterf = NULL;
- PFNGLPOINTPARAMETERFVPROC __glewPointParameterfv = NULL;
- PFNGLPOINTPARAMETERIPROC __glewPointParameteri = NULL;
- PFNGLPOINTPARAMETERIVPROC __glewPointParameteriv = NULL;
- PFNGLSECONDARYCOLOR3BPROC __glewSecondaryColor3b = NULL;
- PFNGLSECONDARYCOLOR3BVPROC __glewSecondaryColor3bv = NULL;
- PFNGLSECONDARYCOLOR3DPROC __glewSecondaryColor3d = NULL;
- PFNGLSECONDARYCOLOR3DVPROC __glewSecondaryColor3dv = NULL;
- PFNGLSECONDARYCOLOR3FPROC __glewSecondaryColor3f = NULL;
- PFNGLSECONDARYCOLOR3FVPROC __glewSecondaryColor3fv = NULL;
- PFNGLSECONDARYCOLOR3IPROC __glewSecondaryColor3i = NULL;
- PFNGLSECONDARYCOLOR3IVPROC __glewSecondaryColor3iv = NULL;
- PFNGLSECONDARYCOLOR3SPROC __glewSecondaryColor3s = NULL;
- PFNGLSECONDARYCOLOR3SVPROC __glewSecondaryColor3sv = NULL;
- PFNGLSECONDARYCOLOR3UBPROC __glewSecondaryColor3ub = NULL;
- PFNGLSECONDARYCOLOR3UBVPROC __glewSecondaryColor3ubv = NULL;
- PFNGLSECONDARYCOLOR3UIPROC __glewSecondaryColor3ui = NULL;
- PFNGLSECONDARYCOLOR3UIVPROC __glewSecondaryColor3uiv = NULL;
- PFNGLSECONDARYCOLOR3USPROC __glewSecondaryColor3us = NULL;
- PFNGLSECONDARYCOLOR3USVPROC __glewSecondaryColor3usv = NULL;
- PFNGLSECONDARYCOLORPOINTERPROC __glewSecondaryColorPointer = NULL;
- PFNGLWINDOWPOS2DPROC __glewWindowPos2d = NULL;
- PFNGLWINDOWPOS2DVPROC __glewWindowPos2dv = NULL;
- PFNGLWINDOWPOS2FPROC __glewWindowPos2f = NULL;
- PFNGLWINDOWPOS2FVPROC __glewWindowPos2fv = NULL;
- PFNGLWINDOWPOS2IPROC __glewWindowPos2i = NULL;
- PFNGLWINDOWPOS2IVPROC __glewWindowPos2iv = NULL;
- PFNGLWINDOWPOS2SPROC __glewWindowPos2s = NULL;
- PFNGLWINDOWPOS2SVPROC __glewWindowPos2sv = NULL;
- PFNGLWINDOWPOS3DPROC __glewWindowPos3d = NULL;
- PFNGLWINDOWPOS3DVPROC __glewWindowPos3dv = NULL;
- PFNGLWINDOWPOS3FPROC __glewWindowPos3f = NULL;
- PFNGLWINDOWPOS3FVPROC __glewWindowPos3fv = NULL;
- PFNGLWINDOWPOS3IPROC __glewWindowPos3i = NULL;
- PFNGLWINDOWPOS3IVPROC __glewWindowPos3iv = NULL;
- PFNGLWINDOWPOS3SPROC __glewWindowPos3s = NULL;
- PFNGLWINDOWPOS3SVPROC __glewWindowPos3sv = NULL;
- PFNGLBEGINQUERYPROC __glewBeginQuery = NULL;
- PFNGLBINDBUFFERPROC __glewBindBuffer = NULL;
- PFNGLBUFFERDATAPROC __glewBufferData = NULL;
- PFNGLBUFFERSUBDATAPROC __glewBufferSubData = NULL;
- PFNGLDELETEBUFFERSPROC __glewDeleteBuffers = NULL;
- PFNGLDELETEQUERIESPROC __glewDeleteQueries = NULL;
- PFNGLENDQUERYPROC __glewEndQuery = NULL;
- PFNGLGENBUFFERSPROC __glewGenBuffers = NULL;
- PFNGLGENQUERIESPROC __glewGenQueries = NULL;
- PFNGLGETBUFFERPARAMETERIVPROC __glewGetBufferParameteriv = NULL;
- PFNGLGETBUFFERPOINTERVPROC __glewGetBufferPointerv = NULL;
- PFNGLGETBUFFERSUBDATAPROC __glewGetBufferSubData = NULL;
- PFNGLGETQUERYOBJECTIVPROC __glewGetQueryObjectiv = NULL;
- PFNGLGETQUERYOBJECTUIVPROC __glewGetQueryObjectuiv = NULL;
- PFNGLGETQUERYIVPROC __glewGetQueryiv = NULL;
- PFNGLISBUFFERPROC __glewIsBuffer = NULL;
- PFNGLISQUERYPROC __glewIsQuery = NULL;
- PFNGLMAPBUFFERPROC __glewMapBuffer = NULL;
- PFNGLUNMAPBUFFERPROC __glewUnmapBuffer = NULL;
- PFNGLATTACHSHADERPROC __glewAttachShader = NULL;
- PFNGLBINDATTRIBLOCATIONPROC __glewBindAttribLocation = NULL;
- PFNGLBLENDEQUATIONSEPARATEPROC __glewBlendEquationSeparate = NULL;
- PFNGLCOMPILESHADERPROC __glewCompileShader = NULL;
- PFNGLCREATEPROGRAMPROC __glewCreateProgram = NULL;
- PFNGLCREATESHADERPROC __glewCreateShader = NULL;
- PFNGLDELETEPROGRAMPROC __glewDeleteProgram = NULL;
- PFNGLDELETESHADERPROC __glewDeleteShader = NULL;
- PFNGLDETACHSHADERPROC __glewDetachShader = NULL;
- PFNGLDISABLEVERTEXATTRIBARRAYPROC __glewDisableVertexAttribArray = NULL;
- PFNGLDRAWBUFFERSPROC __glewDrawBuffers = NULL;
- PFNGLENABLEVERTEXATTRIBARRAYPROC __glewEnableVertexAttribArray = NULL;
- PFNGLGETACTIVEATTRIBPROC __glewGetActiveAttrib = NULL;
- PFNGLGETACTIVEUNIFORMPROC __glewGetActiveUniform = NULL;
- PFNGLGETATTACHEDSHADERSPROC __glewGetAttachedShaders = NULL;
- PFNGLGETATTRIBLOCATIONPROC __glewGetAttribLocation = NULL;
- PFNGLGETPROGRAMINFOLOGPROC __glewGetProgramInfoLog = NULL;
- PFNGLGETPROGRAMIVPROC __glewGetProgramiv = NULL;
- PFNGLGETSHADERINFOLOGPROC __glewGetShaderInfoLog = NULL;
- PFNGLGETSHADERSOURCEPROC __glewGetShaderSource = NULL;
- PFNGLGETSHADERIVPROC __glewGetShaderiv = NULL;
- PFNGLGETUNIFORMLOCATIONPROC __glewGetUniformLocation = NULL;
- PFNGLGETUNIFORMFVPROC __glewGetUniformfv = NULL;
- PFNGLGETUNIFORMIVPROC __glewGetUniformiv = NULL;
- PFNGLGETVERTEXATTRIBPOINTERVPROC __glewGetVertexAttribPointerv = NULL;
- PFNGLGETVERTEXATTRIBDVPROC __glewGetVertexAttribdv = NULL;
- PFNGLGETVERTEXATTRIBFVPROC __glewGetVertexAttribfv = NULL;
- PFNGLGETVERTEXATTRIBIVPROC __glewGetVertexAttribiv = NULL;
- PFNGLISPROGRAMPROC __glewIsProgram = NULL;
- PFNGLISSHADERPROC __glewIsShader = NULL;
- PFNGLLINKPROGRAMPROC __glewLinkProgram = NULL;
- PFNGLSHADERSOURCEPROC __glewShaderSource = NULL;
- PFNGLSTENCILFUNCSEPARATEPROC __glewStencilFuncSeparate = NULL;
- PFNGLSTENCILMASKSEPARATEPROC __glewStencilMaskSeparate = NULL;
- PFNGLSTENCILOPSEPARATEPROC __glewStencilOpSeparate = NULL;
- PFNGLUNIFORM1FPROC __glewUniform1f = NULL;
- PFNGLUNIFORM1FVPROC __glewUniform1fv = NULL;
- PFNGLUNIFORM1IPROC __glewUniform1i = NULL;
- PFNGLUNIFORM1IVPROC __glewUniform1iv = NULL;
- PFNGLUNIFORM2FPROC __glewUniform2f = NULL;
- PFNGLUNIFORM2FVPROC __glewUniform2fv = NULL;
- PFNGLUNIFORM2IPROC __glewUniform2i = NULL;
- PFNGLUNIFORM2IVPROC __glewUniform2iv = NULL;
- PFNGLUNIFORM3FPROC __glewUniform3f = NULL;
- PFNGLUNIFORM3FVPROC __glewUniform3fv = NULL;
- PFNGLUNIFORM3IPROC __glewUniform3i = NULL;
- PFNGLUNIFORM3IVPROC __glewUniform3iv = NULL;
- PFNGLUNIFORM4FPROC __glewUniform4f = NULL;
- PFNGLUNIFORM4FVPROC __glewUniform4fv = NULL;
- PFNGLUNIFORM4IPROC __glewUniform4i = NULL;
- PFNGLUNIFORM4IVPROC __glewUniform4iv = NULL;
- PFNGLUNIFORMMATRIX2FVPROC __glewUniformMatrix2fv = NULL;
- PFNGLUNIFORMMATRIX3FVPROC __glewUniformMatrix3fv = NULL;
- PFNGLUNIFORMMATRIX4FVPROC __glewUniformMatrix4fv = NULL;
- PFNGLUSEPROGRAMPROC __glewUseProgram = NULL;
- PFNGLVALIDATEPROGRAMPROC __glewValidateProgram = NULL;
- PFNGLVERTEXATTRIB1DPROC __glewVertexAttrib1d = NULL;
- PFNGLVERTEXATTRIB1DVPROC __glewVertexAttrib1dv = NULL;
- PFNGLVERTEXATTRIB1FPROC __glewVertexAttrib1f = NULL;
- PFNGLVERTEXATTRIB1FVPROC __glewVertexAttrib1fv = NULL;
- PFNGLVERTEXATTRIB1SPROC __glewVertexAttrib1s = NULL;
- PFNGLVERTEXATTRIB1SVPROC __glewVertexAttrib1sv = NULL;
- PFNGLVERTEXATTRIB2DPROC __glewVertexAttrib2d = NULL;
- PFNGLVERTEXATTRIB2DVPROC __glewVertexAttrib2dv = NULL;
- PFNGLVERTEXATTRIB2FPROC __glewVertexAttrib2f = NULL;
- PFNGLVERTEXATTRIB2FVPROC __glewVertexAttrib2fv = NULL;
- PFNGLVERTEXATTRIB2SPROC __glewVertexAttrib2s = NULL;
- PFNGLVERTEXATTRIB2SVPROC __glewVertexAttrib2sv = NULL;
- PFNGLVERTEXATTRIB3DPROC __glewVertexAttrib3d = NULL;
- PFNGLVERTEXATTRIB3DVPROC __glewVertexAttrib3dv = NULL;
- PFNGLVERTEXATTRIB3FPROC __glewVertexAttrib3f = NULL;
- PFNGLVERTEXATTRIB3FVPROC __glewVertexAttrib3fv = NULL;
- PFNGLVERTEXATTRIB3SPROC __glewVertexAttrib3s = NULL;
- PFNGLVERTEXATTRIB3SVPROC __glewVertexAttrib3sv = NULL;
- PFNGLVERTEXATTRIB4NBVPROC __glewVertexAttrib4Nbv = NULL;
- PFNGLVERTEXATTRIB4NIVPROC __glewVertexAttrib4Niv = NULL;
- PFNGLVERTEXATTRIB4NSVPROC __glewVertexAttrib4Nsv = NULL;
- PFNGLVERTEXATTRIB4NUBPROC __glewVertexAttrib4Nub = NULL;
- PFNGLVERTEXATTRIB4NUBVPROC __glewVertexAttrib4Nubv = NULL;
- PFNGLVERTEXATTRIB4NUIVPROC __glewVertexAttrib4Nuiv = NULL;
- PFNGLVERTEXATTRIB4NUSVPROC __glewVertexAttrib4Nusv = NULL;
- PFNGLVERTEXATTRIB4BVPROC __glewVertexAttrib4bv = NULL;
- PFNGLVERTEXATTRIB4DPROC __glewVertexAttrib4d = NULL;
- PFNGLVERTEXATTRIB4DVPROC __glewVertexAttrib4dv = NULL;
- PFNGLVERTEXATTRIB4FPROC __glewVertexAttrib4f = NULL;
- PFNGLVERTEXATTRIB4FVPROC __glewVertexAttrib4fv = NULL;
- PFNGLVERTEXATTRIB4IVPROC __glewVertexAttrib4iv = NULL;
- PFNGLVERTEXATTRIB4SPROC __glewVertexAttrib4s = NULL;
- PFNGLVERTEXATTRIB4SVPROC __glewVertexAttrib4sv = NULL;
- PFNGLVERTEXATTRIB4UBVPROC __glewVertexAttrib4ubv = NULL;
- PFNGLVERTEXATTRIB4UIVPROC __glewVertexAttrib4uiv = NULL;
- PFNGLVERTEXATTRIB4USVPROC __glewVertexAttrib4usv = NULL;
- PFNGLVERTEXATTRIBPOINTERPROC __glewVertexAttribPointer = NULL;
- PFNGLUNIFORMMATRIX2X3FVPROC __glewUniformMatrix2x3fv = NULL;
- PFNGLUNIFORMMATRIX2X4FVPROC __glewUniformMatrix2x4fv = NULL;
- PFNGLUNIFORMMATRIX3X2FVPROC __glewUniformMatrix3x2fv = NULL;
- PFNGLUNIFORMMATRIX3X4FVPROC __glewUniformMatrix3x4fv = NULL;
- PFNGLUNIFORMMATRIX4X2FVPROC __glewUniformMatrix4x2fv = NULL;
- PFNGLUNIFORMMATRIX4X3FVPROC __glewUniformMatrix4x3fv = NULL;
- PFNGLBEGINCONDITIONALRENDERPROC __glewBeginConditionalRender = NULL;
- PFNGLBEGINTRANSFORMFEEDBACKPROC __glewBeginTransformFeedback = NULL;
- PFNGLBINDFRAGDATALOCATIONPROC __glewBindFragDataLocation = NULL;
- PFNGLCLAMPCOLORPROC __glewClampColor = NULL;
- PFNGLCLEARBUFFERFIPROC __glewClearBufferfi = NULL;
- PFNGLCLEARBUFFERFVPROC __glewClearBufferfv = NULL;
- PFNGLCLEARBUFFERIVPROC __glewClearBufferiv = NULL;
- PFNGLCLEARBUFFERUIVPROC __glewClearBufferuiv = NULL;
- PFNGLCOLORMASKIPROC __glewColorMaski = NULL;
- PFNGLDISABLEIPROC __glewDisablei = NULL;
- PFNGLENABLEIPROC __glewEnablei = NULL;
- PFNGLENDCONDITIONALRENDERPROC __glewEndConditionalRender = NULL;
- PFNGLENDTRANSFORMFEEDBACKPROC __glewEndTransformFeedback = NULL;
- PFNGLGETBOOLEANI_VPROC __glewGetBooleani_v = NULL;
- PFNGLGETFRAGDATALOCATIONPROC __glewGetFragDataLocation = NULL;
- PFNGLGETSTRINGIPROC __glewGetStringi = NULL;
- PFNGLGETTEXPARAMETERIIVPROC __glewGetTexParameterIiv = NULL;
- PFNGLGETTEXPARAMETERIUIVPROC __glewGetTexParameterIuiv = NULL;
- PFNGLGETTRANSFORMFEEDBACKVARYINGPROC __glewGetTransformFeedbackVarying = NULL;
- PFNGLGETUNIFORMUIVPROC __glewGetUniformuiv = NULL;
- PFNGLGETVERTEXATTRIBIIVPROC __glewGetVertexAttribIiv = NULL;
- PFNGLGETVERTEXATTRIBIUIVPROC __glewGetVertexAttribIuiv = NULL;
- PFNGLISENABLEDIPROC __glewIsEnabledi = NULL;
- PFNGLTEXPARAMETERIIVPROC __glewTexParameterIiv = NULL;
- PFNGLTEXPARAMETERIUIVPROC __glewTexParameterIuiv = NULL;
- PFNGLTRANSFORMFEEDBACKVARYINGSPROC __glewTransformFeedbackVaryings = NULL;
- PFNGLUNIFORM1UIPROC __glewUniform1ui = NULL;
- PFNGLUNIFORM1UIVPROC __glewUniform1uiv = NULL;
- PFNGLUNIFORM2UIPROC __glewUniform2ui = NULL;
- PFNGLUNIFORM2UIVPROC __glewUniform2uiv = NULL;
- PFNGLUNIFORM3UIPROC __glewUniform3ui = NULL;
- PFNGLUNIFORM3UIVPROC __glewUniform3uiv = NULL;
- PFNGLUNIFORM4UIPROC __glewUniform4ui = NULL;
- PFNGLUNIFORM4UIVPROC __glewUniform4uiv = NULL;
- PFNGLVERTEXATTRIBI1IPROC __glewVertexAttribI1i = NULL;
- PFNGLVERTEXATTRIBI1IVPROC __glewVertexAttribI1iv = NULL;
- PFNGLVERTEXATTRIBI1UIPROC __glewVertexAttribI1ui = NULL;
- PFNGLVERTEXATTRIBI1UIVPROC __glewVertexAttribI1uiv = NULL;
- PFNGLVERTEXATTRIBI2IPROC __glewVertexAttribI2i = NULL;
- PFNGLVERTEXATTRIBI2IVPROC __glewVertexAttribI2iv = NULL;
- PFNGLVERTEXATTRIBI2UIPROC __glewVertexAttribI2ui = NULL;
- PFNGLVERTEXATTRIBI2UIVPROC __glewVertexAttribI2uiv = NULL;
- PFNGLVERTEXATTRIBI3IPROC __glewVertexAttribI3i = NULL;
- PFNGLVERTEXATTRIBI3IVPROC __glewVertexAttribI3iv = NULL;
- PFNGLVERTEXATTRIBI3UIPROC __glewVertexAttribI3ui = NULL;
- PFNGLVERTEXATTRIBI3UIVPROC __glewVertexAttribI3uiv = NULL;
- PFNGLVERTEXATTRIBI4BVPROC __glewVertexAttribI4bv = NULL;
- PFNGLVERTEXATTRIBI4IPROC __glewVertexAttribI4i = NULL;
- PFNGLVERTEXATTRIBI4IVPROC __glewVertexAttribI4iv = NULL;
- PFNGLVERTEXATTRIBI4SVPROC __glewVertexAttribI4sv = NULL;
- PFNGLVERTEXATTRIBI4UBVPROC __glewVertexAttribI4ubv = NULL;
- PFNGLVERTEXATTRIBI4UIPROC __glewVertexAttribI4ui = NULL;
- PFNGLVERTEXATTRIBI4UIVPROC __glewVertexAttribI4uiv = NULL;
- PFNGLVERTEXATTRIBI4USVPROC __glewVertexAttribI4usv = NULL;
- PFNGLVERTEXATTRIBIPOINTERPROC __glewVertexAttribIPointer = NULL;
- PFNGLDRAWARRAYSINSTANCEDPROC __glewDrawArraysInstanced = NULL;
- PFNGLDRAWELEMENTSINSTANCEDPROC __glewDrawElementsInstanced = NULL;
- PFNGLPRIMITIVERESTARTINDEXPROC __glewPrimitiveRestartIndex = NULL;
- PFNGLTEXBUFFERPROC __glewTexBuffer = NULL;
- PFNGLFRAMEBUFFERTEXTUREPROC __glewFramebufferTexture = NULL;
- PFNGLGETBUFFERPARAMETERI64VPROC __glewGetBufferParameteri64v = NULL;
- PFNGLGETINTEGER64I_VPROC __glewGetInteger64i_v = NULL;
- PFNGLVERTEXATTRIBDIVISORPROC __glewVertexAttribDivisor = NULL;
- PFNGLBLENDEQUATIONSEPARATEIPROC __glewBlendEquationSeparatei = NULL;
- PFNGLBLENDEQUATIONIPROC __glewBlendEquationi = NULL;
- PFNGLBLENDFUNCSEPARATEIPROC __glewBlendFuncSeparatei = NULL;
- PFNGLBLENDFUNCIPROC __glewBlendFunci = NULL;
- PFNGLMINSAMPLESHADINGPROC __glewMinSampleShading = NULL;
- PFNGLGETGRAPHICSRESETSTATUSPROC __glewGetGraphicsResetStatus = NULL;
- PFNGLGETNCOMPRESSEDTEXIMAGEPROC __glewGetnCompressedTexImage = NULL;
- PFNGLGETNTEXIMAGEPROC __glewGetnTexImage = NULL;
- PFNGLGETNUNIFORMDVPROC __glewGetnUniformdv = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC __glewMultiDrawArraysIndirectCount = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC __glewMultiDrawElementsIndirectCount = NULL;
- PFNGLSPECIALIZESHADERPROC __glewSpecializeShader = NULL;
- PFNGLTBUFFERMASK3DFXPROC __glewTbufferMask3DFX = NULL;
- PFNGLDEBUGMESSAGECALLBACKAMDPROC __glewDebugMessageCallbackAMD = NULL;
- PFNGLDEBUGMESSAGEENABLEAMDPROC __glewDebugMessageEnableAMD = NULL;
- PFNGLDEBUGMESSAGEINSERTAMDPROC __glewDebugMessageInsertAMD = NULL;
- PFNGLGETDEBUGMESSAGELOGAMDPROC __glewGetDebugMessageLogAMD = NULL;
- PFNGLBLENDEQUATIONINDEXEDAMDPROC __glewBlendEquationIndexedAMD = NULL;
- PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC __glewBlendEquationSeparateIndexedAMD = NULL;
- PFNGLBLENDFUNCINDEXEDAMDPROC __glewBlendFuncIndexedAMD = NULL;
- PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC __glewBlendFuncSeparateIndexedAMD = NULL;
- PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC __glewFramebufferSamplePositionsfvAMD = NULL;
- PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC __glewGetFramebufferParameterfvAMD = NULL;
- PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC __glewGetNamedFramebufferParameterfvAMD = NULL;
- PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC __glewNamedFramebufferSamplePositionsfvAMD = NULL;
- PFNGLVERTEXATTRIBPARAMETERIAMDPROC __glewVertexAttribParameteriAMD = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC __glewMultiDrawArraysIndirectAMD = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC __glewMultiDrawElementsIndirectAMD = NULL;
- PFNGLDELETENAMESAMDPROC __glewDeleteNamesAMD = NULL;
- PFNGLGENNAMESAMDPROC __glewGenNamesAMD = NULL;
- PFNGLISNAMEAMDPROC __glewIsNameAMD = NULL;
- PFNGLQUERYOBJECTPARAMETERUIAMDPROC __glewQueryObjectParameteruiAMD = NULL;
- PFNGLBEGINPERFMONITORAMDPROC __glewBeginPerfMonitorAMD = NULL;
- PFNGLDELETEPERFMONITORSAMDPROC __glewDeletePerfMonitorsAMD = NULL;
- PFNGLENDPERFMONITORAMDPROC __glewEndPerfMonitorAMD = NULL;
- PFNGLGENPERFMONITORSAMDPROC __glewGenPerfMonitorsAMD = NULL;
- PFNGLGETPERFMONITORCOUNTERDATAAMDPROC __glewGetPerfMonitorCounterDataAMD = NULL;
- PFNGLGETPERFMONITORCOUNTERINFOAMDPROC __glewGetPerfMonitorCounterInfoAMD = NULL;
- PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC __glewGetPerfMonitorCounterStringAMD = NULL;
- PFNGLGETPERFMONITORCOUNTERSAMDPROC __glewGetPerfMonitorCountersAMD = NULL;
- PFNGLGETPERFMONITORGROUPSTRINGAMDPROC __glewGetPerfMonitorGroupStringAMD = NULL;
- PFNGLGETPERFMONITORGROUPSAMDPROC __glewGetPerfMonitorGroupsAMD = NULL;
- PFNGLSELECTPERFMONITORCOUNTERSAMDPROC __glewSelectPerfMonitorCountersAMD = NULL;
- PFNGLSETMULTISAMPLEFVAMDPROC __glewSetMultisamplefvAMD = NULL;
- PFNGLTEXSTORAGESPARSEAMDPROC __glewTexStorageSparseAMD = NULL;
- PFNGLTEXTURESTORAGESPARSEAMDPROC __glewTextureStorageSparseAMD = NULL;
- PFNGLSTENCILOPVALUEAMDPROC __glewStencilOpValueAMD = NULL;
- PFNGLTESSELLATIONFACTORAMDPROC __glewTessellationFactorAMD = NULL;
- PFNGLTESSELLATIONMODEAMDPROC __glewTessellationModeAMD = NULL;
- PFNGLBLITFRAMEBUFFERANGLEPROC __glewBlitFramebufferANGLE = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC __glewRenderbufferStorageMultisampleANGLE = NULL;
- PFNGLDRAWARRAYSINSTANCEDANGLEPROC __glewDrawArraysInstancedANGLE = NULL;
- PFNGLDRAWELEMENTSINSTANCEDANGLEPROC __glewDrawElementsInstancedANGLE = NULL;
- PFNGLVERTEXATTRIBDIVISORANGLEPROC __glewVertexAttribDivisorANGLE = NULL;
- PFNGLBEGINQUERYANGLEPROC __glewBeginQueryANGLE = NULL;
- PFNGLDELETEQUERIESANGLEPROC __glewDeleteQueriesANGLE = NULL;
- PFNGLENDQUERYANGLEPROC __glewEndQueryANGLE = NULL;
- PFNGLGENQUERIESANGLEPROC __glewGenQueriesANGLE = NULL;
- PFNGLGETQUERYOBJECTI64VANGLEPROC __glewGetQueryObjecti64vANGLE = NULL;
- PFNGLGETQUERYOBJECTIVANGLEPROC __glewGetQueryObjectivANGLE = NULL;
- PFNGLGETQUERYOBJECTUI64VANGLEPROC __glewGetQueryObjectui64vANGLE = NULL;
- PFNGLGETQUERYOBJECTUIVANGLEPROC __glewGetQueryObjectuivANGLE = NULL;
- PFNGLGETQUERYIVANGLEPROC __glewGetQueryivANGLE = NULL;
- PFNGLISQUERYANGLEPROC __glewIsQueryANGLE = NULL;
- PFNGLQUERYCOUNTERANGLEPROC __glewQueryCounterANGLE = NULL;
- PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC __glewGetTranslatedShaderSourceANGLE = NULL;
- PFNGLCOPYTEXTURELEVELSAPPLEPROC __glewCopyTextureLevelsAPPLE = NULL;
- PFNGLDRAWELEMENTARRAYAPPLEPROC __glewDrawElementArrayAPPLE = NULL;
- PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC __glewDrawRangeElementArrayAPPLE = NULL;
- PFNGLELEMENTPOINTERAPPLEPROC __glewElementPointerAPPLE = NULL;
- PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC __glewMultiDrawElementArrayAPPLE = NULL;
- PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC __glewMultiDrawRangeElementArrayAPPLE = NULL;
- PFNGLDELETEFENCESAPPLEPROC __glewDeleteFencesAPPLE = NULL;
- PFNGLFINISHFENCEAPPLEPROC __glewFinishFenceAPPLE = NULL;
- PFNGLFINISHOBJECTAPPLEPROC __glewFinishObjectAPPLE = NULL;
- PFNGLGENFENCESAPPLEPROC __glewGenFencesAPPLE = NULL;
- PFNGLISFENCEAPPLEPROC __glewIsFenceAPPLE = NULL;
- PFNGLSETFENCEAPPLEPROC __glewSetFenceAPPLE = NULL;
- PFNGLTESTFENCEAPPLEPROC __glewTestFenceAPPLE = NULL;
- PFNGLTESTOBJECTAPPLEPROC __glewTestObjectAPPLE = NULL;
- PFNGLBUFFERPARAMETERIAPPLEPROC __glewBufferParameteriAPPLE = NULL;
- PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC __glewFlushMappedBufferRangeAPPLE = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC __glewRenderbufferStorageMultisampleAPPLE = NULL;
- PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC __glewResolveMultisampleFramebufferAPPLE = NULL;
- PFNGLGETOBJECTPARAMETERIVAPPLEPROC __glewGetObjectParameterivAPPLE = NULL;
- PFNGLOBJECTPURGEABLEAPPLEPROC __glewObjectPurgeableAPPLE = NULL;
- PFNGLOBJECTUNPURGEABLEAPPLEPROC __glewObjectUnpurgeableAPPLE = NULL;
- PFNGLCLIENTWAITSYNCAPPLEPROC __glewClientWaitSyncAPPLE = NULL;
- PFNGLDELETESYNCAPPLEPROC __glewDeleteSyncAPPLE = NULL;
- PFNGLFENCESYNCAPPLEPROC __glewFenceSyncAPPLE = NULL;
- PFNGLGETINTEGER64VAPPLEPROC __glewGetInteger64vAPPLE = NULL;
- PFNGLGETSYNCIVAPPLEPROC __glewGetSyncivAPPLE = NULL;
- PFNGLISSYNCAPPLEPROC __glewIsSyncAPPLE = NULL;
- PFNGLWAITSYNCAPPLEPROC __glewWaitSyncAPPLE = NULL;
- PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC __glewGetTexParameterPointervAPPLE = NULL;
- PFNGLTEXTURERANGEAPPLEPROC __glewTextureRangeAPPLE = NULL;
- PFNGLBINDVERTEXARRAYAPPLEPROC __glewBindVertexArrayAPPLE = NULL;
- PFNGLDELETEVERTEXARRAYSAPPLEPROC __glewDeleteVertexArraysAPPLE = NULL;
- PFNGLGENVERTEXARRAYSAPPLEPROC __glewGenVertexArraysAPPLE = NULL;
- PFNGLISVERTEXARRAYAPPLEPROC __glewIsVertexArrayAPPLE = NULL;
- PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC __glewFlushVertexArrayRangeAPPLE = NULL;
- PFNGLVERTEXARRAYPARAMETERIAPPLEPROC __glewVertexArrayParameteriAPPLE = NULL;
- PFNGLVERTEXARRAYRANGEAPPLEPROC __glewVertexArrayRangeAPPLE = NULL;
- PFNGLDISABLEVERTEXATTRIBAPPLEPROC __glewDisableVertexAttribAPPLE = NULL;
- PFNGLENABLEVERTEXATTRIBAPPLEPROC __glewEnableVertexAttribAPPLE = NULL;
- PFNGLISVERTEXATTRIBENABLEDAPPLEPROC __glewIsVertexAttribEnabledAPPLE = NULL;
- PFNGLMAPVERTEXATTRIB1DAPPLEPROC __glewMapVertexAttrib1dAPPLE = NULL;
- PFNGLMAPVERTEXATTRIB1FAPPLEPROC __glewMapVertexAttrib1fAPPLE = NULL;
- PFNGLMAPVERTEXATTRIB2DAPPLEPROC __glewMapVertexAttrib2dAPPLE = NULL;
- PFNGLMAPVERTEXATTRIB2FAPPLEPROC __glewMapVertexAttrib2fAPPLE = NULL;
- PFNGLCLEARDEPTHFPROC __glewClearDepthf = NULL;
- PFNGLDEPTHRANGEFPROC __glewDepthRangef = NULL;
- PFNGLGETSHADERPRECISIONFORMATPROC __glewGetShaderPrecisionFormat = NULL;
- PFNGLRELEASESHADERCOMPILERPROC __glewReleaseShaderCompiler = NULL;
- PFNGLSHADERBINARYPROC __glewShaderBinary = NULL;
- PFNGLMEMORYBARRIERBYREGIONPROC __glewMemoryBarrierByRegion = NULL;
- PFNGLPRIMITIVEBOUNDINGBOXARBPROC __glewPrimitiveBoundingBoxARB = NULL;
- PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC __glewDrawArraysInstancedBaseInstance = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC __glewDrawElementsInstancedBaseInstance = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC __glewDrawElementsInstancedBaseVertexBaseInstance = NULL;
- PFNGLGETIMAGEHANDLEARBPROC __glewGetImageHandleARB = NULL;
- PFNGLGETTEXTUREHANDLEARBPROC __glewGetTextureHandleARB = NULL;
- PFNGLGETTEXTURESAMPLERHANDLEARBPROC __glewGetTextureSamplerHandleARB = NULL;
- PFNGLGETVERTEXATTRIBLUI64VARBPROC __glewGetVertexAttribLui64vARB = NULL;
- PFNGLISIMAGEHANDLERESIDENTARBPROC __glewIsImageHandleResidentARB = NULL;
- PFNGLISTEXTUREHANDLERESIDENTARBPROC __glewIsTextureHandleResidentARB = NULL;
- PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC __glewMakeImageHandleNonResidentARB = NULL;
- PFNGLMAKEIMAGEHANDLERESIDENTARBPROC __glewMakeImageHandleResidentARB = NULL;
- PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC __glewMakeTextureHandleNonResidentARB = NULL;
- PFNGLMAKETEXTUREHANDLERESIDENTARBPROC __glewMakeTextureHandleResidentARB = NULL;
- PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC __glewProgramUniformHandleui64ARB = NULL;
- PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC __glewProgramUniformHandleui64vARB = NULL;
- PFNGLUNIFORMHANDLEUI64ARBPROC __glewUniformHandleui64ARB = NULL;
- PFNGLUNIFORMHANDLEUI64VARBPROC __glewUniformHandleui64vARB = NULL;
- PFNGLVERTEXATTRIBL1UI64ARBPROC __glewVertexAttribL1ui64ARB = NULL;
- PFNGLVERTEXATTRIBL1UI64VARBPROC __glewVertexAttribL1ui64vARB = NULL;
- PFNGLBINDFRAGDATALOCATIONINDEXEDPROC __glewBindFragDataLocationIndexed = NULL;
- PFNGLGETFRAGDATAINDEXPROC __glewGetFragDataIndex = NULL;
- PFNGLBUFFERSTORAGEPROC __glewBufferStorage = NULL;
- PFNGLCREATESYNCFROMCLEVENTARBPROC __glewCreateSyncFromCLeventARB = NULL;
- PFNGLCLEARBUFFERDATAPROC __glewClearBufferData = NULL;
- PFNGLCLEARBUFFERSUBDATAPROC __glewClearBufferSubData = NULL;
- PFNGLCLEARNAMEDBUFFERDATAEXTPROC __glewClearNamedBufferDataEXT = NULL;
- PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC __glewClearNamedBufferSubDataEXT = NULL;
- PFNGLCLEARTEXIMAGEPROC __glewClearTexImage = NULL;
- PFNGLCLEARTEXSUBIMAGEPROC __glewClearTexSubImage = NULL;
- PFNGLCLIPCONTROLPROC __glewClipControl = NULL;
- PFNGLCLAMPCOLORARBPROC __glewClampColorARB = NULL;
- PFNGLDISPATCHCOMPUTEPROC __glewDispatchCompute = NULL;
- PFNGLDISPATCHCOMPUTEINDIRECTPROC __glewDispatchComputeIndirect = NULL;
- PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC __glewDispatchComputeGroupSizeARB = NULL;
- PFNGLCOPYBUFFERSUBDATAPROC __glewCopyBufferSubData = NULL;
- PFNGLCOPYIMAGESUBDATAPROC __glewCopyImageSubData = NULL;
- PFNGLDEBUGMESSAGECALLBACKARBPROC __glewDebugMessageCallbackARB = NULL;
- PFNGLDEBUGMESSAGECONTROLARBPROC __glewDebugMessageControlARB = NULL;
- PFNGLDEBUGMESSAGEINSERTARBPROC __glewDebugMessageInsertARB = NULL;
- PFNGLGETDEBUGMESSAGELOGARBPROC __glewGetDebugMessageLogARB = NULL;
- PFNGLBINDTEXTUREUNITPROC __glewBindTextureUnit = NULL;
- PFNGLBLITNAMEDFRAMEBUFFERPROC __glewBlitNamedFramebuffer = NULL;
- PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC __glewCheckNamedFramebufferStatus = NULL;
- PFNGLCLEARNAMEDBUFFERDATAPROC __glewClearNamedBufferData = NULL;
- PFNGLCLEARNAMEDBUFFERSUBDATAPROC __glewClearNamedBufferSubData = NULL;
- PFNGLCLEARNAMEDFRAMEBUFFERFIPROC __glewClearNamedFramebufferfi = NULL;
- PFNGLCLEARNAMEDFRAMEBUFFERFVPROC __glewClearNamedFramebufferfv = NULL;
- PFNGLCLEARNAMEDFRAMEBUFFERIVPROC __glewClearNamedFramebufferiv = NULL;
- PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC __glewClearNamedFramebufferuiv = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC __glewCompressedTextureSubImage1D = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC __glewCompressedTextureSubImage2D = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC __glewCompressedTextureSubImage3D = NULL;
- PFNGLCOPYNAMEDBUFFERSUBDATAPROC __glewCopyNamedBufferSubData = NULL;
- PFNGLCOPYTEXTURESUBIMAGE1DPROC __glewCopyTextureSubImage1D = NULL;
- PFNGLCOPYTEXTURESUBIMAGE2DPROC __glewCopyTextureSubImage2D = NULL;
- PFNGLCOPYTEXTURESUBIMAGE3DPROC __glewCopyTextureSubImage3D = NULL;
- PFNGLCREATEBUFFERSPROC __glewCreateBuffers = NULL;
- PFNGLCREATEFRAMEBUFFERSPROC __glewCreateFramebuffers = NULL;
- PFNGLCREATEPROGRAMPIPELINESPROC __glewCreateProgramPipelines = NULL;
- PFNGLCREATEQUERIESPROC __glewCreateQueries = NULL;
- PFNGLCREATERENDERBUFFERSPROC __glewCreateRenderbuffers = NULL;
- PFNGLCREATESAMPLERSPROC __glewCreateSamplers = NULL;
- PFNGLCREATETEXTURESPROC __glewCreateTextures = NULL;
- PFNGLCREATETRANSFORMFEEDBACKSPROC __glewCreateTransformFeedbacks = NULL;
- PFNGLCREATEVERTEXARRAYSPROC __glewCreateVertexArrays = NULL;
- PFNGLDISABLEVERTEXARRAYATTRIBPROC __glewDisableVertexArrayAttrib = NULL;
- PFNGLENABLEVERTEXARRAYATTRIBPROC __glewEnableVertexArrayAttrib = NULL;
- PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC __glewFlushMappedNamedBufferRange = NULL;
- PFNGLGENERATETEXTUREMIPMAPPROC __glewGenerateTextureMipmap = NULL;
- PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC __glewGetCompressedTextureImage = NULL;
- PFNGLGETNAMEDBUFFERPARAMETERI64VPROC __glewGetNamedBufferParameteri64v = NULL;
- PFNGLGETNAMEDBUFFERPARAMETERIVPROC __glewGetNamedBufferParameteriv = NULL;
- PFNGLGETNAMEDBUFFERPOINTERVPROC __glewGetNamedBufferPointerv = NULL;
- PFNGLGETNAMEDBUFFERSUBDATAPROC __glewGetNamedBufferSubData = NULL;
- PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetNamedFramebufferAttachmentParameteriv = NULL;
- PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC __glewGetNamedFramebufferParameteriv = NULL;
- PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC __glewGetNamedRenderbufferParameteriv = NULL;
- PFNGLGETQUERYBUFFEROBJECTI64VPROC __glewGetQueryBufferObjecti64v = NULL;
- PFNGLGETQUERYBUFFEROBJECTIVPROC __glewGetQueryBufferObjectiv = NULL;
- PFNGLGETQUERYBUFFEROBJECTUI64VPROC __glewGetQueryBufferObjectui64v = NULL;
- PFNGLGETQUERYBUFFEROBJECTUIVPROC __glewGetQueryBufferObjectuiv = NULL;
- PFNGLGETTEXTUREIMAGEPROC __glewGetTextureImage = NULL;
- PFNGLGETTEXTURELEVELPARAMETERFVPROC __glewGetTextureLevelParameterfv = NULL;
- PFNGLGETTEXTURELEVELPARAMETERIVPROC __glewGetTextureLevelParameteriv = NULL;
- PFNGLGETTEXTUREPARAMETERIIVPROC __glewGetTextureParameterIiv = NULL;
- PFNGLGETTEXTUREPARAMETERIUIVPROC __glewGetTextureParameterIuiv = NULL;
- PFNGLGETTEXTUREPARAMETERFVPROC __glewGetTextureParameterfv = NULL;
- PFNGLGETTEXTUREPARAMETERIVPROC __glewGetTextureParameteriv = NULL;
- PFNGLGETTRANSFORMFEEDBACKI64_VPROC __glewGetTransformFeedbacki64_v = NULL;
- PFNGLGETTRANSFORMFEEDBACKI_VPROC __glewGetTransformFeedbacki_v = NULL;
- PFNGLGETTRANSFORMFEEDBACKIVPROC __glewGetTransformFeedbackiv = NULL;
- PFNGLGETVERTEXARRAYINDEXED64IVPROC __glewGetVertexArrayIndexed64iv = NULL;
- PFNGLGETVERTEXARRAYINDEXEDIVPROC __glewGetVertexArrayIndexediv = NULL;
- PFNGLGETVERTEXARRAYIVPROC __glewGetVertexArrayiv = NULL;
- PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC __glewInvalidateNamedFramebufferData = NULL;
- PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC __glewInvalidateNamedFramebufferSubData = NULL;
- PFNGLMAPNAMEDBUFFERPROC __glewMapNamedBuffer = NULL;
- PFNGLMAPNAMEDBUFFERRANGEPROC __glewMapNamedBufferRange = NULL;
- PFNGLNAMEDBUFFERDATAPROC __glewNamedBufferData = NULL;
- PFNGLNAMEDBUFFERSTORAGEPROC __glewNamedBufferStorage = NULL;
- PFNGLNAMEDBUFFERSUBDATAPROC __glewNamedBufferSubData = NULL;
- PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC __glewNamedFramebufferDrawBuffer = NULL;
- PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC __glewNamedFramebufferDrawBuffers = NULL;
- PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC __glewNamedFramebufferParameteri = NULL;
- PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC __glewNamedFramebufferReadBuffer = NULL;
- PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC __glewNamedFramebufferRenderbuffer = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTUREPROC __glewNamedFramebufferTexture = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC __glewNamedFramebufferTextureLayer = NULL;
- PFNGLNAMEDRENDERBUFFERSTORAGEPROC __glewNamedRenderbufferStorage = NULL;
- PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewNamedRenderbufferStorageMultisample = NULL;
- PFNGLTEXTUREBUFFERPROC __glewTextureBuffer = NULL;
- PFNGLTEXTUREBUFFERRANGEPROC __glewTextureBufferRange = NULL;
- PFNGLTEXTUREPARAMETERIIVPROC __glewTextureParameterIiv = NULL;
- PFNGLTEXTUREPARAMETERIUIVPROC __glewTextureParameterIuiv = NULL;
- PFNGLTEXTUREPARAMETERFPROC __glewTextureParameterf = NULL;
- PFNGLTEXTUREPARAMETERFVPROC __glewTextureParameterfv = NULL;
- PFNGLTEXTUREPARAMETERIPROC __glewTextureParameteri = NULL;
- PFNGLTEXTUREPARAMETERIVPROC __glewTextureParameteriv = NULL;
- PFNGLTEXTURESTORAGE1DPROC __glewTextureStorage1D = NULL;
- PFNGLTEXTURESTORAGE2DPROC __glewTextureStorage2D = NULL;
- PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC __glewTextureStorage2DMultisample = NULL;
- PFNGLTEXTURESTORAGE3DPROC __glewTextureStorage3D = NULL;
- PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC __glewTextureStorage3DMultisample = NULL;
- PFNGLTEXTURESUBIMAGE1DPROC __glewTextureSubImage1D = NULL;
- PFNGLTEXTURESUBIMAGE2DPROC __glewTextureSubImage2D = NULL;
- PFNGLTEXTURESUBIMAGE3DPROC __glewTextureSubImage3D = NULL;
- PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC __glewTransformFeedbackBufferBase = NULL;
- PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC __glewTransformFeedbackBufferRange = NULL;
- PFNGLUNMAPNAMEDBUFFERPROC __glewUnmapNamedBuffer = NULL;
- PFNGLVERTEXARRAYATTRIBBINDINGPROC __glewVertexArrayAttribBinding = NULL;
- PFNGLVERTEXARRAYATTRIBFORMATPROC __glewVertexArrayAttribFormat = NULL;
- PFNGLVERTEXARRAYATTRIBIFORMATPROC __glewVertexArrayAttribIFormat = NULL;
- PFNGLVERTEXARRAYATTRIBLFORMATPROC __glewVertexArrayAttribLFormat = NULL;
- PFNGLVERTEXARRAYBINDINGDIVISORPROC __glewVertexArrayBindingDivisor = NULL;
- PFNGLVERTEXARRAYELEMENTBUFFERPROC __glewVertexArrayElementBuffer = NULL;
- PFNGLVERTEXARRAYVERTEXBUFFERPROC __glewVertexArrayVertexBuffer = NULL;
- PFNGLVERTEXARRAYVERTEXBUFFERSPROC __glewVertexArrayVertexBuffers = NULL;
- PFNGLDRAWBUFFERSARBPROC __glewDrawBuffersARB = NULL;
- PFNGLBLENDEQUATIONSEPARATEIARBPROC __glewBlendEquationSeparateiARB = NULL;
- PFNGLBLENDEQUATIONIARBPROC __glewBlendEquationiARB = NULL;
- PFNGLBLENDFUNCSEPARATEIARBPROC __glewBlendFuncSeparateiARB = NULL;
- PFNGLBLENDFUNCIARBPROC __glewBlendFunciARB = NULL;
- PFNGLDRAWELEMENTSBASEVERTEXPROC __glewDrawElementsBaseVertex = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC __glewDrawElementsInstancedBaseVertex = NULL;
- PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC __glewDrawRangeElementsBaseVertex = NULL;
- PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC __glewMultiDrawElementsBaseVertex = NULL;
- PFNGLDRAWARRAYSINDIRECTPROC __glewDrawArraysIndirect = NULL;
- PFNGLDRAWELEMENTSINDIRECTPROC __glewDrawElementsIndirect = NULL;
- PFNGLFRAMEBUFFERPARAMETERIPROC __glewFramebufferParameteri = NULL;
- PFNGLGETFRAMEBUFFERPARAMETERIVPROC __glewGetFramebufferParameteriv = NULL;
- PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC __glewGetNamedFramebufferParameterivEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC __glewNamedFramebufferParameteriEXT = NULL;
- PFNGLBINDFRAMEBUFFERPROC __glewBindFramebuffer = NULL;
- PFNGLBINDRENDERBUFFERPROC __glewBindRenderbuffer = NULL;
- PFNGLBLITFRAMEBUFFERPROC __glewBlitFramebuffer = NULL;
- PFNGLCHECKFRAMEBUFFERSTATUSPROC __glewCheckFramebufferStatus = NULL;
- PFNGLDELETEFRAMEBUFFERSPROC __glewDeleteFramebuffers = NULL;
- PFNGLDELETERENDERBUFFERSPROC __glewDeleteRenderbuffers = NULL;
- PFNGLFRAMEBUFFERRENDERBUFFERPROC __glewFramebufferRenderbuffer = NULL;
- PFNGLFRAMEBUFFERTEXTURE1DPROC __glewFramebufferTexture1D = NULL;
- PFNGLFRAMEBUFFERTEXTURE2DPROC __glewFramebufferTexture2D = NULL;
- PFNGLFRAMEBUFFERTEXTURE3DPROC __glewFramebufferTexture3D = NULL;
- PFNGLFRAMEBUFFERTEXTURELAYERPROC __glewFramebufferTextureLayer = NULL;
- PFNGLGENFRAMEBUFFERSPROC __glewGenFramebuffers = NULL;
- PFNGLGENRENDERBUFFERSPROC __glewGenRenderbuffers = NULL;
- PFNGLGENERATEMIPMAPPROC __glewGenerateMipmap = NULL;
- PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC __glewGetFramebufferAttachmentParameteriv = NULL;
- PFNGLGETRENDERBUFFERPARAMETERIVPROC __glewGetRenderbufferParameteriv = NULL;
- PFNGLISFRAMEBUFFERPROC __glewIsFramebuffer = NULL;
- PFNGLISRENDERBUFFERPROC __glewIsRenderbuffer = NULL;
- PFNGLRENDERBUFFERSTORAGEPROC __glewRenderbufferStorage = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC __glewRenderbufferStorageMultisample = NULL;
- PFNGLFRAMEBUFFERTEXTUREARBPROC __glewFramebufferTextureARB = NULL;
- PFNGLFRAMEBUFFERTEXTUREFACEARBPROC __glewFramebufferTextureFaceARB = NULL;
- PFNGLFRAMEBUFFERTEXTURELAYERARBPROC __glewFramebufferTextureLayerARB = NULL;
- PFNGLPROGRAMPARAMETERIARBPROC __glewProgramParameteriARB = NULL;
- PFNGLGETPROGRAMBINARYPROC __glewGetProgramBinary = NULL;
- PFNGLPROGRAMBINARYPROC __glewProgramBinary = NULL;
- PFNGLPROGRAMPARAMETERIPROC __glewProgramParameteri = NULL;
- PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC __glewGetCompressedTextureSubImage = NULL;
- PFNGLGETTEXTURESUBIMAGEPROC __glewGetTextureSubImage = NULL;
- PFNGLSPECIALIZESHADERARBPROC __glewSpecializeShaderARB = NULL;
- PFNGLGETUNIFORMDVPROC __glewGetUniformdv = NULL;
- PFNGLUNIFORM1DPROC __glewUniform1d = NULL;
- PFNGLUNIFORM1DVPROC __glewUniform1dv = NULL;
- PFNGLUNIFORM2DPROC __glewUniform2d = NULL;
- PFNGLUNIFORM2DVPROC __glewUniform2dv = NULL;
- PFNGLUNIFORM3DPROC __glewUniform3d = NULL;
- PFNGLUNIFORM3DVPROC __glewUniform3dv = NULL;
- PFNGLUNIFORM4DPROC __glewUniform4d = NULL;
- PFNGLUNIFORM4DVPROC __glewUniform4dv = NULL;
- PFNGLUNIFORMMATRIX2DVPROC __glewUniformMatrix2dv = NULL;
- PFNGLUNIFORMMATRIX2X3DVPROC __glewUniformMatrix2x3dv = NULL;
- PFNGLUNIFORMMATRIX2X4DVPROC __glewUniformMatrix2x4dv = NULL;
- PFNGLUNIFORMMATRIX3DVPROC __glewUniformMatrix3dv = NULL;
- PFNGLUNIFORMMATRIX3X2DVPROC __glewUniformMatrix3x2dv = NULL;
- PFNGLUNIFORMMATRIX3X4DVPROC __glewUniformMatrix3x4dv = NULL;
- PFNGLUNIFORMMATRIX4DVPROC __glewUniformMatrix4dv = NULL;
- PFNGLUNIFORMMATRIX4X2DVPROC __glewUniformMatrix4x2dv = NULL;
- PFNGLUNIFORMMATRIX4X3DVPROC __glewUniformMatrix4x3dv = NULL;
- PFNGLGETUNIFORMI64VARBPROC __glewGetUniformi64vARB = NULL;
- PFNGLGETUNIFORMUI64VARBPROC __glewGetUniformui64vARB = NULL;
- PFNGLGETNUNIFORMI64VARBPROC __glewGetnUniformi64vARB = NULL;
- PFNGLGETNUNIFORMUI64VARBPROC __glewGetnUniformui64vARB = NULL;
- PFNGLPROGRAMUNIFORM1I64ARBPROC __glewProgramUniform1i64ARB = NULL;
- PFNGLPROGRAMUNIFORM1I64VARBPROC __glewProgramUniform1i64vARB = NULL;
- PFNGLPROGRAMUNIFORM1UI64ARBPROC __glewProgramUniform1ui64ARB = NULL;
- PFNGLPROGRAMUNIFORM1UI64VARBPROC __glewProgramUniform1ui64vARB = NULL;
- PFNGLPROGRAMUNIFORM2I64ARBPROC __glewProgramUniform2i64ARB = NULL;
- PFNGLPROGRAMUNIFORM2I64VARBPROC __glewProgramUniform2i64vARB = NULL;
- PFNGLPROGRAMUNIFORM2UI64ARBPROC __glewProgramUniform2ui64ARB = NULL;
- PFNGLPROGRAMUNIFORM2UI64VARBPROC __glewProgramUniform2ui64vARB = NULL;
- PFNGLPROGRAMUNIFORM3I64ARBPROC __glewProgramUniform3i64ARB = NULL;
- PFNGLPROGRAMUNIFORM3I64VARBPROC __glewProgramUniform3i64vARB = NULL;
- PFNGLPROGRAMUNIFORM3UI64ARBPROC __glewProgramUniform3ui64ARB = NULL;
- PFNGLPROGRAMUNIFORM3UI64VARBPROC __glewProgramUniform3ui64vARB = NULL;
- PFNGLPROGRAMUNIFORM4I64ARBPROC __glewProgramUniform4i64ARB = NULL;
- PFNGLPROGRAMUNIFORM4I64VARBPROC __glewProgramUniform4i64vARB = NULL;
- PFNGLPROGRAMUNIFORM4UI64ARBPROC __glewProgramUniform4ui64ARB = NULL;
- PFNGLPROGRAMUNIFORM4UI64VARBPROC __glewProgramUniform4ui64vARB = NULL;
- PFNGLUNIFORM1I64ARBPROC __glewUniform1i64ARB = NULL;
- PFNGLUNIFORM1I64VARBPROC __glewUniform1i64vARB = NULL;
- PFNGLUNIFORM1UI64ARBPROC __glewUniform1ui64ARB = NULL;
- PFNGLUNIFORM1UI64VARBPROC __glewUniform1ui64vARB = NULL;
- PFNGLUNIFORM2I64ARBPROC __glewUniform2i64ARB = NULL;
- PFNGLUNIFORM2I64VARBPROC __glewUniform2i64vARB = NULL;
- PFNGLUNIFORM2UI64ARBPROC __glewUniform2ui64ARB = NULL;
- PFNGLUNIFORM2UI64VARBPROC __glewUniform2ui64vARB = NULL;
- PFNGLUNIFORM3I64ARBPROC __glewUniform3i64ARB = NULL;
- PFNGLUNIFORM3I64VARBPROC __glewUniform3i64vARB = NULL;
- PFNGLUNIFORM3UI64ARBPROC __glewUniform3ui64ARB = NULL;
- PFNGLUNIFORM3UI64VARBPROC __glewUniform3ui64vARB = NULL;
- PFNGLUNIFORM4I64ARBPROC __glewUniform4i64ARB = NULL;
- PFNGLUNIFORM4I64VARBPROC __glewUniform4i64vARB = NULL;
- PFNGLUNIFORM4UI64ARBPROC __glewUniform4ui64ARB = NULL;
- PFNGLUNIFORM4UI64VARBPROC __glewUniform4ui64vARB = NULL;
- PFNGLCOLORSUBTABLEPROC __glewColorSubTable = NULL;
- PFNGLCOLORTABLEPROC __glewColorTable = NULL;
- PFNGLCOLORTABLEPARAMETERFVPROC __glewColorTableParameterfv = NULL;
- PFNGLCOLORTABLEPARAMETERIVPROC __glewColorTableParameteriv = NULL;
- PFNGLCONVOLUTIONFILTER1DPROC __glewConvolutionFilter1D = NULL;
- PFNGLCONVOLUTIONFILTER2DPROC __glewConvolutionFilter2D = NULL;
- PFNGLCONVOLUTIONPARAMETERFPROC __glewConvolutionParameterf = NULL;
- PFNGLCONVOLUTIONPARAMETERFVPROC __glewConvolutionParameterfv = NULL;
- PFNGLCONVOLUTIONPARAMETERIPROC __glewConvolutionParameteri = NULL;
- PFNGLCONVOLUTIONPARAMETERIVPROC __glewConvolutionParameteriv = NULL;
- PFNGLCOPYCOLORSUBTABLEPROC __glewCopyColorSubTable = NULL;
- PFNGLCOPYCOLORTABLEPROC __glewCopyColorTable = NULL;
- PFNGLCOPYCONVOLUTIONFILTER1DPROC __glewCopyConvolutionFilter1D = NULL;
- PFNGLCOPYCONVOLUTIONFILTER2DPROC __glewCopyConvolutionFilter2D = NULL;
- PFNGLGETCOLORTABLEPROC __glewGetColorTable = NULL;
- PFNGLGETCOLORTABLEPARAMETERFVPROC __glewGetColorTableParameterfv = NULL;
- PFNGLGETCOLORTABLEPARAMETERIVPROC __glewGetColorTableParameteriv = NULL;
- PFNGLGETCONVOLUTIONFILTERPROC __glewGetConvolutionFilter = NULL;
- PFNGLGETCONVOLUTIONPARAMETERFVPROC __glewGetConvolutionParameterfv = NULL;
- PFNGLGETCONVOLUTIONPARAMETERIVPROC __glewGetConvolutionParameteriv = NULL;
- PFNGLGETHISTOGRAMPROC __glewGetHistogram = NULL;
- PFNGLGETHISTOGRAMPARAMETERFVPROC __glewGetHistogramParameterfv = NULL;
- PFNGLGETHISTOGRAMPARAMETERIVPROC __glewGetHistogramParameteriv = NULL;
- PFNGLGETMINMAXPROC __glewGetMinmax = NULL;
- PFNGLGETMINMAXPARAMETERFVPROC __glewGetMinmaxParameterfv = NULL;
- PFNGLGETMINMAXPARAMETERIVPROC __glewGetMinmaxParameteriv = NULL;
- PFNGLGETSEPARABLEFILTERPROC __glewGetSeparableFilter = NULL;
- PFNGLHISTOGRAMPROC __glewHistogram = NULL;
- PFNGLMINMAXPROC __glewMinmax = NULL;
- PFNGLRESETHISTOGRAMPROC __glewResetHistogram = NULL;
- PFNGLRESETMINMAXPROC __glewResetMinmax = NULL;
- PFNGLSEPARABLEFILTER2DPROC __glewSeparableFilter2D = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC __glewMultiDrawArraysIndirectCountARB = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC __glewMultiDrawElementsIndirectCountARB = NULL;
- PFNGLDRAWARRAYSINSTANCEDARBPROC __glewDrawArraysInstancedARB = NULL;
- PFNGLDRAWELEMENTSINSTANCEDARBPROC __glewDrawElementsInstancedARB = NULL;
- PFNGLVERTEXATTRIBDIVISORARBPROC __glewVertexAttribDivisorARB = NULL;
- PFNGLGETINTERNALFORMATIVPROC __glewGetInternalformativ = NULL;
- PFNGLGETINTERNALFORMATI64VPROC __glewGetInternalformati64v = NULL;
- PFNGLINVALIDATEBUFFERDATAPROC __glewInvalidateBufferData = NULL;
- PFNGLINVALIDATEBUFFERSUBDATAPROC __glewInvalidateBufferSubData = NULL;
- PFNGLINVALIDATEFRAMEBUFFERPROC __glewInvalidateFramebuffer = NULL;
- PFNGLINVALIDATESUBFRAMEBUFFERPROC __glewInvalidateSubFramebuffer = NULL;
- PFNGLINVALIDATETEXIMAGEPROC __glewInvalidateTexImage = NULL;
- PFNGLINVALIDATETEXSUBIMAGEPROC __glewInvalidateTexSubImage = NULL;
- PFNGLFLUSHMAPPEDBUFFERRANGEPROC __glewFlushMappedBufferRange = NULL;
- PFNGLMAPBUFFERRANGEPROC __glewMapBufferRange = NULL;
- PFNGLCURRENTPALETTEMATRIXARBPROC __glewCurrentPaletteMatrixARB = NULL;
- PFNGLMATRIXINDEXPOINTERARBPROC __glewMatrixIndexPointerARB = NULL;
- PFNGLMATRIXINDEXUBVARBPROC __glewMatrixIndexubvARB = NULL;
- PFNGLMATRIXINDEXUIVARBPROC __glewMatrixIndexuivARB = NULL;
- PFNGLMATRIXINDEXUSVARBPROC __glewMatrixIndexusvARB = NULL;
- PFNGLBINDBUFFERSBASEPROC __glewBindBuffersBase = NULL;
- PFNGLBINDBUFFERSRANGEPROC __glewBindBuffersRange = NULL;
- PFNGLBINDIMAGETEXTURESPROC __glewBindImageTextures = NULL;
- PFNGLBINDSAMPLERSPROC __glewBindSamplers = NULL;
- PFNGLBINDTEXTURESPROC __glewBindTextures = NULL;
- PFNGLBINDVERTEXBUFFERSPROC __glewBindVertexBuffers = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTPROC __glewMultiDrawArraysIndirect = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTPROC __glewMultiDrawElementsIndirect = NULL;
- PFNGLSAMPLECOVERAGEARBPROC __glewSampleCoverageARB = NULL;
- PFNGLACTIVETEXTUREARBPROC __glewActiveTextureARB = NULL;
- PFNGLCLIENTACTIVETEXTUREARBPROC __glewClientActiveTextureARB = NULL;
- PFNGLMULTITEXCOORD1DARBPROC __glewMultiTexCoord1dARB = NULL;
- PFNGLMULTITEXCOORD1DVARBPROC __glewMultiTexCoord1dvARB = NULL;
- PFNGLMULTITEXCOORD1FARBPROC __glewMultiTexCoord1fARB = NULL;
- PFNGLMULTITEXCOORD1FVARBPROC __glewMultiTexCoord1fvARB = NULL;
- PFNGLMULTITEXCOORD1IARBPROC __glewMultiTexCoord1iARB = NULL;
- PFNGLMULTITEXCOORD1IVARBPROC __glewMultiTexCoord1ivARB = NULL;
- PFNGLMULTITEXCOORD1SARBPROC __glewMultiTexCoord1sARB = NULL;
- PFNGLMULTITEXCOORD1SVARBPROC __glewMultiTexCoord1svARB = NULL;
- PFNGLMULTITEXCOORD2DARBPROC __glewMultiTexCoord2dARB = NULL;
- PFNGLMULTITEXCOORD2DVARBPROC __glewMultiTexCoord2dvARB = NULL;
- PFNGLMULTITEXCOORD2FARBPROC __glewMultiTexCoord2fARB = NULL;
- PFNGLMULTITEXCOORD2FVARBPROC __glewMultiTexCoord2fvARB = NULL;
- PFNGLMULTITEXCOORD2IARBPROC __glewMultiTexCoord2iARB = NULL;
- PFNGLMULTITEXCOORD2IVARBPROC __glewMultiTexCoord2ivARB = NULL;
- PFNGLMULTITEXCOORD2SARBPROC __glewMultiTexCoord2sARB = NULL;
- PFNGLMULTITEXCOORD2SVARBPROC __glewMultiTexCoord2svARB = NULL;
- PFNGLMULTITEXCOORD3DARBPROC __glewMultiTexCoord3dARB = NULL;
- PFNGLMULTITEXCOORD3DVARBPROC __glewMultiTexCoord3dvARB = NULL;
- PFNGLMULTITEXCOORD3FARBPROC __glewMultiTexCoord3fARB = NULL;
- PFNGLMULTITEXCOORD3FVARBPROC __glewMultiTexCoord3fvARB = NULL;
- PFNGLMULTITEXCOORD3IARBPROC __glewMultiTexCoord3iARB = NULL;
- PFNGLMULTITEXCOORD3IVARBPROC __glewMultiTexCoord3ivARB = NULL;
- PFNGLMULTITEXCOORD3SARBPROC __glewMultiTexCoord3sARB = NULL;
- PFNGLMULTITEXCOORD3SVARBPROC __glewMultiTexCoord3svARB = NULL;
- PFNGLMULTITEXCOORD4DARBPROC __glewMultiTexCoord4dARB = NULL;
- PFNGLMULTITEXCOORD4DVARBPROC __glewMultiTexCoord4dvARB = NULL;
- PFNGLMULTITEXCOORD4FARBPROC __glewMultiTexCoord4fARB = NULL;
- PFNGLMULTITEXCOORD4FVARBPROC __glewMultiTexCoord4fvARB = NULL;
- PFNGLMULTITEXCOORD4IARBPROC __glewMultiTexCoord4iARB = NULL;
- PFNGLMULTITEXCOORD4IVARBPROC __glewMultiTexCoord4ivARB = NULL;
- PFNGLMULTITEXCOORD4SARBPROC __glewMultiTexCoord4sARB = NULL;
- PFNGLMULTITEXCOORD4SVARBPROC __glewMultiTexCoord4svARB = NULL;
- PFNGLBEGINQUERYARBPROC __glewBeginQueryARB = NULL;
- PFNGLDELETEQUERIESARBPROC __glewDeleteQueriesARB = NULL;
- PFNGLENDQUERYARBPROC __glewEndQueryARB = NULL;
- PFNGLGENQUERIESARBPROC __glewGenQueriesARB = NULL;
- PFNGLGETQUERYOBJECTIVARBPROC __glewGetQueryObjectivARB = NULL;
- PFNGLGETQUERYOBJECTUIVARBPROC __glewGetQueryObjectuivARB = NULL;
- PFNGLGETQUERYIVARBPROC __glewGetQueryivARB = NULL;
- PFNGLISQUERYARBPROC __glewIsQueryARB = NULL;
- PFNGLMAXSHADERCOMPILERTHREADSARBPROC __glewMaxShaderCompilerThreadsARB = NULL;
- PFNGLPOINTPARAMETERFARBPROC __glewPointParameterfARB = NULL;
- PFNGLPOINTPARAMETERFVARBPROC __glewPointParameterfvARB = NULL;
- PFNGLPOLYGONOFFSETCLAMPPROC __glewPolygonOffsetClamp = NULL;
- PFNGLGETPROGRAMINTERFACEIVPROC __glewGetProgramInterfaceiv = NULL;
- PFNGLGETPROGRAMRESOURCEINDEXPROC __glewGetProgramResourceIndex = NULL;
- PFNGLGETPROGRAMRESOURCELOCATIONPROC __glewGetProgramResourceLocation = NULL;
- PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC __glewGetProgramResourceLocationIndex = NULL;
- PFNGLGETPROGRAMRESOURCENAMEPROC __glewGetProgramResourceName = NULL;
- PFNGLGETPROGRAMRESOURCEIVPROC __glewGetProgramResourceiv = NULL;
- PFNGLPROVOKINGVERTEXPROC __glewProvokingVertex = NULL;
- PFNGLGETGRAPHICSRESETSTATUSARBPROC __glewGetGraphicsResetStatusARB = NULL;
- PFNGLGETNCOLORTABLEARBPROC __glewGetnColorTableARB = NULL;
- PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC __glewGetnCompressedTexImageARB = NULL;
- PFNGLGETNCONVOLUTIONFILTERARBPROC __glewGetnConvolutionFilterARB = NULL;
- PFNGLGETNHISTOGRAMARBPROC __glewGetnHistogramARB = NULL;
- PFNGLGETNMAPDVARBPROC __glewGetnMapdvARB = NULL;
- PFNGLGETNMAPFVARBPROC __glewGetnMapfvARB = NULL;
- PFNGLGETNMAPIVARBPROC __glewGetnMapivARB = NULL;
- PFNGLGETNMINMAXARBPROC __glewGetnMinmaxARB = NULL;
- PFNGLGETNPIXELMAPFVARBPROC __glewGetnPixelMapfvARB = NULL;
- PFNGLGETNPIXELMAPUIVARBPROC __glewGetnPixelMapuivARB = NULL;
- PFNGLGETNPIXELMAPUSVARBPROC __glewGetnPixelMapusvARB = NULL;
- PFNGLGETNPOLYGONSTIPPLEARBPROC __glewGetnPolygonStippleARB = NULL;
- PFNGLGETNSEPARABLEFILTERARBPROC __glewGetnSeparableFilterARB = NULL;
- PFNGLGETNTEXIMAGEARBPROC __glewGetnTexImageARB = NULL;
- PFNGLGETNUNIFORMDVARBPROC __glewGetnUniformdvARB = NULL;
- PFNGLGETNUNIFORMFVARBPROC __glewGetnUniformfvARB = NULL;
- PFNGLGETNUNIFORMIVARBPROC __glewGetnUniformivARB = NULL;
- PFNGLGETNUNIFORMUIVARBPROC __glewGetnUniformuivARB = NULL;
- PFNGLREADNPIXELSARBPROC __glewReadnPixelsARB = NULL;
- PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC __glewFramebufferSampleLocationsfvARB = NULL;
- PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC __glewNamedFramebufferSampleLocationsfvARB = NULL;
- PFNGLMINSAMPLESHADINGARBPROC __glewMinSampleShadingARB = NULL;
- PFNGLBINDSAMPLERPROC __glewBindSampler = NULL;
- PFNGLDELETESAMPLERSPROC __glewDeleteSamplers = NULL;
- PFNGLGENSAMPLERSPROC __glewGenSamplers = NULL;
- PFNGLGETSAMPLERPARAMETERIIVPROC __glewGetSamplerParameterIiv = NULL;
- PFNGLGETSAMPLERPARAMETERIUIVPROC __glewGetSamplerParameterIuiv = NULL;
- PFNGLGETSAMPLERPARAMETERFVPROC __glewGetSamplerParameterfv = NULL;
- PFNGLGETSAMPLERPARAMETERIVPROC __glewGetSamplerParameteriv = NULL;
- PFNGLISSAMPLERPROC __glewIsSampler = NULL;
- PFNGLSAMPLERPARAMETERIIVPROC __glewSamplerParameterIiv = NULL;
- PFNGLSAMPLERPARAMETERIUIVPROC __glewSamplerParameterIuiv = NULL;
- PFNGLSAMPLERPARAMETERFPROC __glewSamplerParameterf = NULL;
- PFNGLSAMPLERPARAMETERFVPROC __glewSamplerParameterfv = NULL;
- PFNGLSAMPLERPARAMETERIPROC __glewSamplerParameteri = NULL;
- PFNGLSAMPLERPARAMETERIVPROC __glewSamplerParameteriv = NULL;
- PFNGLACTIVESHADERPROGRAMPROC __glewActiveShaderProgram = NULL;
- PFNGLBINDPROGRAMPIPELINEPROC __glewBindProgramPipeline = NULL;
- PFNGLCREATESHADERPROGRAMVPROC __glewCreateShaderProgramv = NULL;
- PFNGLDELETEPROGRAMPIPELINESPROC __glewDeleteProgramPipelines = NULL;
- PFNGLGENPROGRAMPIPELINESPROC __glewGenProgramPipelines = NULL;
- PFNGLGETPROGRAMPIPELINEINFOLOGPROC __glewGetProgramPipelineInfoLog = NULL;
- PFNGLGETPROGRAMPIPELINEIVPROC __glewGetProgramPipelineiv = NULL;
- PFNGLISPROGRAMPIPELINEPROC __glewIsProgramPipeline = NULL;
- PFNGLPROGRAMUNIFORM1DPROC __glewProgramUniform1d = NULL;
- PFNGLPROGRAMUNIFORM1DVPROC __glewProgramUniform1dv = NULL;
- PFNGLPROGRAMUNIFORM1FPROC __glewProgramUniform1f = NULL;
- PFNGLPROGRAMUNIFORM1FVPROC __glewProgramUniform1fv = NULL;
- PFNGLPROGRAMUNIFORM1IPROC __glewProgramUniform1i = NULL;
- PFNGLPROGRAMUNIFORM1IVPROC __glewProgramUniform1iv = NULL;
- PFNGLPROGRAMUNIFORM1UIPROC __glewProgramUniform1ui = NULL;
- PFNGLPROGRAMUNIFORM1UIVPROC __glewProgramUniform1uiv = NULL;
- PFNGLPROGRAMUNIFORM2DPROC __glewProgramUniform2d = NULL;
- PFNGLPROGRAMUNIFORM2DVPROC __glewProgramUniform2dv = NULL;
- PFNGLPROGRAMUNIFORM2FPROC __glewProgramUniform2f = NULL;
- PFNGLPROGRAMUNIFORM2FVPROC __glewProgramUniform2fv = NULL;
- PFNGLPROGRAMUNIFORM2IPROC __glewProgramUniform2i = NULL;
- PFNGLPROGRAMUNIFORM2IVPROC __glewProgramUniform2iv = NULL;
- PFNGLPROGRAMUNIFORM2UIPROC __glewProgramUniform2ui = NULL;
- PFNGLPROGRAMUNIFORM2UIVPROC __glewProgramUniform2uiv = NULL;
- PFNGLPROGRAMUNIFORM3DPROC __glewProgramUniform3d = NULL;
- PFNGLPROGRAMUNIFORM3DVPROC __glewProgramUniform3dv = NULL;
- PFNGLPROGRAMUNIFORM3FPROC __glewProgramUniform3f = NULL;
- PFNGLPROGRAMUNIFORM3FVPROC __glewProgramUniform3fv = NULL;
- PFNGLPROGRAMUNIFORM3IPROC __glewProgramUniform3i = NULL;
- PFNGLPROGRAMUNIFORM3IVPROC __glewProgramUniform3iv = NULL;
- PFNGLPROGRAMUNIFORM3UIPROC __glewProgramUniform3ui = NULL;
- PFNGLPROGRAMUNIFORM3UIVPROC __glewProgramUniform3uiv = NULL;
- PFNGLPROGRAMUNIFORM4DPROC __glewProgramUniform4d = NULL;
- PFNGLPROGRAMUNIFORM4DVPROC __glewProgramUniform4dv = NULL;
- PFNGLPROGRAMUNIFORM4FPROC __glewProgramUniform4f = NULL;
- PFNGLPROGRAMUNIFORM4FVPROC __glewProgramUniform4fv = NULL;
- PFNGLPROGRAMUNIFORM4IPROC __glewProgramUniform4i = NULL;
- PFNGLPROGRAMUNIFORM4IVPROC __glewProgramUniform4iv = NULL;
- PFNGLPROGRAMUNIFORM4UIPROC __glewProgramUniform4ui = NULL;
- PFNGLPROGRAMUNIFORM4UIVPROC __glewProgramUniform4uiv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2DVPROC __glewProgramUniformMatrix2dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2FVPROC __glewProgramUniformMatrix2fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC __glewProgramUniformMatrix2x3dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC __glewProgramUniformMatrix2x3fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC __glewProgramUniformMatrix2x4dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC __glewProgramUniformMatrix2x4fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3DVPROC __glewProgramUniformMatrix3dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3FVPROC __glewProgramUniformMatrix3fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC __glewProgramUniformMatrix3x2dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC __glewProgramUniformMatrix3x2fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC __glewProgramUniformMatrix3x4dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC __glewProgramUniformMatrix3x4fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4DVPROC __glewProgramUniformMatrix4dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4FVPROC __glewProgramUniformMatrix4fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC __glewProgramUniformMatrix4x2dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC __glewProgramUniformMatrix4x2fv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC __glewProgramUniformMatrix4x3dv = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC __glewProgramUniformMatrix4x3fv = NULL;
- PFNGLUSEPROGRAMSTAGESPROC __glewUseProgramStages = NULL;
- PFNGLVALIDATEPROGRAMPIPELINEPROC __glewValidateProgramPipeline = NULL;
- PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC __glewGetActiveAtomicCounterBufferiv = NULL;
- PFNGLBINDIMAGETEXTUREPROC __glewBindImageTexture = NULL;
- PFNGLMEMORYBARRIERPROC __glewMemoryBarrier = NULL;
- PFNGLATTACHOBJECTARBPROC __glewAttachObjectARB = NULL;
- PFNGLCOMPILESHADERARBPROC __glewCompileShaderARB = NULL;
- PFNGLCREATEPROGRAMOBJECTARBPROC __glewCreateProgramObjectARB = NULL;
- PFNGLCREATESHADEROBJECTARBPROC __glewCreateShaderObjectARB = NULL;
- PFNGLDELETEOBJECTARBPROC __glewDeleteObjectARB = NULL;
- PFNGLDETACHOBJECTARBPROC __glewDetachObjectARB = NULL;
- PFNGLGETACTIVEUNIFORMARBPROC __glewGetActiveUniformARB = NULL;
- PFNGLGETATTACHEDOBJECTSARBPROC __glewGetAttachedObjectsARB = NULL;
- PFNGLGETHANDLEARBPROC __glewGetHandleARB = NULL;
- PFNGLGETINFOLOGARBPROC __glewGetInfoLogARB = NULL;
- PFNGLGETOBJECTPARAMETERFVARBPROC __glewGetObjectParameterfvARB = NULL;
- PFNGLGETOBJECTPARAMETERIVARBPROC __glewGetObjectParameterivARB = NULL;
- PFNGLGETSHADERSOURCEARBPROC __glewGetShaderSourceARB = NULL;
- PFNGLGETUNIFORMLOCATIONARBPROC __glewGetUniformLocationARB = NULL;
- PFNGLGETUNIFORMFVARBPROC __glewGetUniformfvARB = NULL;
- PFNGLGETUNIFORMIVARBPROC __glewGetUniformivARB = NULL;
- PFNGLLINKPROGRAMARBPROC __glewLinkProgramARB = NULL;
- PFNGLSHADERSOURCEARBPROC __glewShaderSourceARB = NULL;
- PFNGLUNIFORM1FARBPROC __glewUniform1fARB = NULL;
- PFNGLUNIFORM1FVARBPROC __glewUniform1fvARB = NULL;
- PFNGLUNIFORM1IARBPROC __glewUniform1iARB = NULL;
- PFNGLUNIFORM1IVARBPROC __glewUniform1ivARB = NULL;
- PFNGLUNIFORM2FARBPROC __glewUniform2fARB = NULL;
- PFNGLUNIFORM2FVARBPROC __glewUniform2fvARB = NULL;
- PFNGLUNIFORM2IARBPROC __glewUniform2iARB = NULL;
- PFNGLUNIFORM2IVARBPROC __glewUniform2ivARB = NULL;
- PFNGLUNIFORM3FARBPROC __glewUniform3fARB = NULL;
- PFNGLUNIFORM3FVARBPROC __glewUniform3fvARB = NULL;
- PFNGLUNIFORM3IARBPROC __glewUniform3iARB = NULL;
- PFNGLUNIFORM3IVARBPROC __glewUniform3ivARB = NULL;
- PFNGLUNIFORM4FARBPROC __glewUniform4fARB = NULL;
- PFNGLUNIFORM4FVARBPROC __glewUniform4fvARB = NULL;
- PFNGLUNIFORM4IARBPROC __glewUniform4iARB = NULL;
- PFNGLUNIFORM4IVARBPROC __glewUniform4ivARB = NULL;
- PFNGLUNIFORMMATRIX2FVARBPROC __glewUniformMatrix2fvARB = NULL;
- PFNGLUNIFORMMATRIX3FVARBPROC __glewUniformMatrix3fvARB = NULL;
- PFNGLUNIFORMMATRIX4FVARBPROC __glewUniformMatrix4fvARB = NULL;
- PFNGLUSEPROGRAMOBJECTARBPROC __glewUseProgramObjectARB = NULL;
- PFNGLVALIDATEPROGRAMARBPROC __glewValidateProgramARB = NULL;
- PFNGLSHADERSTORAGEBLOCKBINDINGPROC __glewShaderStorageBlockBinding = NULL;
- PFNGLGETACTIVESUBROUTINENAMEPROC __glewGetActiveSubroutineName = NULL;
- PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC __glewGetActiveSubroutineUniformName = NULL;
- PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC __glewGetActiveSubroutineUniformiv = NULL;
- PFNGLGETPROGRAMSTAGEIVPROC __glewGetProgramStageiv = NULL;
- PFNGLGETSUBROUTINEINDEXPROC __glewGetSubroutineIndex = NULL;
- PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC __glewGetSubroutineUniformLocation = NULL;
- PFNGLGETUNIFORMSUBROUTINEUIVPROC __glewGetUniformSubroutineuiv = NULL;
- PFNGLUNIFORMSUBROUTINESUIVPROC __glewUniformSubroutinesuiv = NULL;
- PFNGLCOMPILESHADERINCLUDEARBPROC __glewCompileShaderIncludeARB = NULL;
- PFNGLDELETENAMEDSTRINGARBPROC __glewDeleteNamedStringARB = NULL;
- PFNGLGETNAMEDSTRINGARBPROC __glewGetNamedStringARB = NULL;
- PFNGLGETNAMEDSTRINGIVARBPROC __glewGetNamedStringivARB = NULL;
- PFNGLISNAMEDSTRINGARBPROC __glewIsNamedStringARB = NULL;
- PFNGLNAMEDSTRINGARBPROC __glewNamedStringARB = NULL;
- PFNGLBUFFERPAGECOMMITMENTARBPROC __glewBufferPageCommitmentARB = NULL;
- PFNGLTEXPAGECOMMITMENTARBPROC __glewTexPageCommitmentARB = NULL;
- PFNGLCLIENTWAITSYNCPROC __glewClientWaitSync = NULL;
- PFNGLDELETESYNCPROC __glewDeleteSync = NULL;
- PFNGLFENCESYNCPROC __glewFenceSync = NULL;
- PFNGLGETINTEGER64VPROC __glewGetInteger64v = NULL;
- PFNGLGETSYNCIVPROC __glewGetSynciv = NULL;
- PFNGLISSYNCPROC __glewIsSync = NULL;
- PFNGLWAITSYNCPROC __glewWaitSync = NULL;
- PFNGLPATCHPARAMETERFVPROC __glewPatchParameterfv = NULL;
- PFNGLPATCHPARAMETERIPROC __glewPatchParameteri = NULL;
- PFNGLTEXTUREBARRIERPROC __glewTextureBarrier = NULL;
- PFNGLTEXBUFFERARBPROC __glewTexBufferARB = NULL;
- PFNGLTEXBUFFERRANGEPROC __glewTexBufferRange = NULL;
- PFNGLTEXTUREBUFFERRANGEEXTPROC __glewTextureBufferRangeEXT = NULL;
- PFNGLCOMPRESSEDTEXIMAGE1DARBPROC __glewCompressedTexImage1DARB = NULL;
- PFNGLCOMPRESSEDTEXIMAGE2DARBPROC __glewCompressedTexImage2DARB = NULL;
- PFNGLCOMPRESSEDTEXIMAGE3DARBPROC __glewCompressedTexImage3DARB = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC __glewCompressedTexSubImage1DARB = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC __glewCompressedTexSubImage2DARB = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC __glewCompressedTexSubImage3DARB = NULL;
- PFNGLGETCOMPRESSEDTEXIMAGEARBPROC __glewGetCompressedTexImageARB = NULL;
- PFNGLGETMULTISAMPLEFVPROC __glewGetMultisamplefv = NULL;
- PFNGLSAMPLEMASKIPROC __glewSampleMaski = NULL;
- PFNGLTEXIMAGE2DMULTISAMPLEPROC __glewTexImage2DMultisample = NULL;
- PFNGLTEXIMAGE3DMULTISAMPLEPROC __glewTexImage3DMultisample = NULL;
- PFNGLTEXSTORAGE1DPROC __glewTexStorage1D = NULL;
- PFNGLTEXSTORAGE2DPROC __glewTexStorage2D = NULL;
- PFNGLTEXSTORAGE3DPROC __glewTexStorage3D = NULL;
- PFNGLTEXSTORAGE2DMULTISAMPLEPROC __glewTexStorage2DMultisample = NULL;
- PFNGLTEXSTORAGE3DMULTISAMPLEPROC __glewTexStorage3DMultisample = NULL;
- PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC __glewTextureStorage2DMultisampleEXT = NULL;
- PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC __glewTextureStorage3DMultisampleEXT = NULL;
- PFNGLTEXTUREVIEWPROC __glewTextureView = NULL;
- PFNGLGETQUERYOBJECTI64VPROC __glewGetQueryObjecti64v = NULL;
- PFNGLGETQUERYOBJECTUI64VPROC __glewGetQueryObjectui64v = NULL;
- PFNGLQUERYCOUNTERPROC __glewQueryCounter = NULL;
- PFNGLBINDTRANSFORMFEEDBACKPROC __glewBindTransformFeedback = NULL;
- PFNGLDELETETRANSFORMFEEDBACKSPROC __glewDeleteTransformFeedbacks = NULL;
- PFNGLDRAWTRANSFORMFEEDBACKPROC __glewDrawTransformFeedback = NULL;
- PFNGLGENTRANSFORMFEEDBACKSPROC __glewGenTransformFeedbacks = NULL;
- PFNGLISTRANSFORMFEEDBACKPROC __glewIsTransformFeedback = NULL;
- PFNGLPAUSETRANSFORMFEEDBACKPROC __glewPauseTransformFeedback = NULL;
- PFNGLRESUMETRANSFORMFEEDBACKPROC __glewResumeTransformFeedback = NULL;
- PFNGLBEGINQUERYINDEXEDPROC __glewBeginQueryIndexed = NULL;
- PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC __glewDrawTransformFeedbackStream = NULL;
- PFNGLENDQUERYINDEXEDPROC __glewEndQueryIndexed = NULL;
- PFNGLGETQUERYINDEXEDIVPROC __glewGetQueryIndexediv = NULL;
- PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC __glewDrawTransformFeedbackInstanced = NULL;
- PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC __glewDrawTransformFeedbackStreamInstanced = NULL;
- PFNGLLOADTRANSPOSEMATRIXDARBPROC __glewLoadTransposeMatrixdARB = NULL;
- PFNGLLOADTRANSPOSEMATRIXFARBPROC __glewLoadTransposeMatrixfARB = NULL;
- PFNGLMULTTRANSPOSEMATRIXDARBPROC __glewMultTransposeMatrixdARB = NULL;
- PFNGLMULTTRANSPOSEMATRIXFARBPROC __glewMultTransposeMatrixfARB = NULL;
- PFNGLBINDBUFFERBASEPROC __glewBindBufferBase = NULL;
- PFNGLBINDBUFFERRANGEPROC __glewBindBufferRange = NULL;
- PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC __glewGetActiveUniformBlockName = NULL;
- PFNGLGETACTIVEUNIFORMBLOCKIVPROC __glewGetActiveUniformBlockiv = NULL;
- PFNGLGETACTIVEUNIFORMNAMEPROC __glewGetActiveUniformName = NULL;
- PFNGLGETACTIVEUNIFORMSIVPROC __glewGetActiveUniformsiv = NULL;
- PFNGLGETINTEGERI_VPROC __glewGetIntegeri_v = NULL;
- PFNGLGETUNIFORMBLOCKINDEXPROC __glewGetUniformBlockIndex = NULL;
- PFNGLGETUNIFORMINDICESPROC __glewGetUniformIndices = NULL;
- PFNGLUNIFORMBLOCKBINDINGPROC __glewUniformBlockBinding = NULL;
- PFNGLBINDVERTEXARRAYPROC __glewBindVertexArray = NULL;
- PFNGLDELETEVERTEXARRAYSPROC __glewDeleteVertexArrays = NULL;
- PFNGLGENVERTEXARRAYSPROC __glewGenVertexArrays = NULL;
- PFNGLISVERTEXARRAYPROC __glewIsVertexArray = NULL;
- PFNGLGETVERTEXATTRIBLDVPROC __glewGetVertexAttribLdv = NULL;
- PFNGLVERTEXATTRIBL1DPROC __glewVertexAttribL1d = NULL;
- PFNGLVERTEXATTRIBL1DVPROC __glewVertexAttribL1dv = NULL;
- PFNGLVERTEXATTRIBL2DPROC __glewVertexAttribL2d = NULL;
- PFNGLVERTEXATTRIBL2DVPROC __glewVertexAttribL2dv = NULL;
- PFNGLVERTEXATTRIBL3DPROC __glewVertexAttribL3d = NULL;
- PFNGLVERTEXATTRIBL3DVPROC __glewVertexAttribL3dv = NULL;
- PFNGLVERTEXATTRIBL4DPROC __glewVertexAttribL4d = NULL;
- PFNGLVERTEXATTRIBL4DVPROC __glewVertexAttribL4dv = NULL;
- PFNGLVERTEXATTRIBLPOINTERPROC __glewVertexAttribLPointer = NULL;
- PFNGLBINDVERTEXBUFFERPROC __glewBindVertexBuffer = NULL;
- PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC __glewVertexArrayBindVertexBufferEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC __glewVertexArrayVertexAttribBindingEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC __glewVertexArrayVertexAttribFormatEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC __glewVertexArrayVertexAttribIFormatEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC __glewVertexArrayVertexAttribLFormatEXT = NULL;
- PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC __glewVertexArrayVertexBindingDivisorEXT = NULL;
- PFNGLVERTEXATTRIBBINDINGPROC __glewVertexAttribBinding = NULL;
- PFNGLVERTEXATTRIBFORMATPROC __glewVertexAttribFormat = NULL;
- PFNGLVERTEXATTRIBIFORMATPROC __glewVertexAttribIFormat = NULL;
- PFNGLVERTEXATTRIBLFORMATPROC __glewVertexAttribLFormat = NULL;
- PFNGLVERTEXBINDINGDIVISORPROC __glewVertexBindingDivisor = NULL;
- PFNGLVERTEXBLENDARBPROC __glewVertexBlendARB = NULL;
- PFNGLWEIGHTPOINTERARBPROC __glewWeightPointerARB = NULL;
- PFNGLWEIGHTBVARBPROC __glewWeightbvARB = NULL;
- PFNGLWEIGHTDVARBPROC __glewWeightdvARB = NULL;
- PFNGLWEIGHTFVARBPROC __glewWeightfvARB = NULL;
- PFNGLWEIGHTIVARBPROC __glewWeightivARB = NULL;
- PFNGLWEIGHTSVARBPROC __glewWeightsvARB = NULL;
- PFNGLWEIGHTUBVARBPROC __glewWeightubvARB = NULL;
- PFNGLWEIGHTUIVARBPROC __glewWeightuivARB = NULL;
- PFNGLWEIGHTUSVARBPROC __glewWeightusvARB = NULL;
- PFNGLBINDBUFFERARBPROC __glewBindBufferARB = NULL;
- PFNGLBUFFERDATAARBPROC __glewBufferDataARB = NULL;
- PFNGLBUFFERSUBDATAARBPROC __glewBufferSubDataARB = NULL;
- PFNGLDELETEBUFFERSARBPROC __glewDeleteBuffersARB = NULL;
- PFNGLGENBUFFERSARBPROC __glewGenBuffersARB = NULL;
- PFNGLGETBUFFERPARAMETERIVARBPROC __glewGetBufferParameterivARB = NULL;
- PFNGLGETBUFFERPOINTERVARBPROC __glewGetBufferPointervARB = NULL;
- PFNGLGETBUFFERSUBDATAARBPROC __glewGetBufferSubDataARB = NULL;
- PFNGLISBUFFERARBPROC __glewIsBufferARB = NULL;
- PFNGLMAPBUFFERARBPROC __glewMapBufferARB = NULL;
- PFNGLUNMAPBUFFERARBPROC __glewUnmapBufferARB = NULL;
- PFNGLBINDPROGRAMARBPROC __glewBindProgramARB = NULL;
- PFNGLDELETEPROGRAMSARBPROC __glewDeleteProgramsARB = NULL;
- PFNGLDISABLEVERTEXATTRIBARRAYARBPROC __glewDisableVertexAttribArrayARB = NULL;
- PFNGLENABLEVERTEXATTRIBARRAYARBPROC __glewEnableVertexAttribArrayARB = NULL;
- PFNGLGENPROGRAMSARBPROC __glewGenProgramsARB = NULL;
- PFNGLGETPROGRAMENVPARAMETERDVARBPROC __glewGetProgramEnvParameterdvARB = NULL;
- PFNGLGETPROGRAMENVPARAMETERFVARBPROC __glewGetProgramEnvParameterfvARB = NULL;
- PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC __glewGetProgramLocalParameterdvARB = NULL;
- PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC __glewGetProgramLocalParameterfvARB = NULL;
- PFNGLGETPROGRAMSTRINGARBPROC __glewGetProgramStringARB = NULL;
- PFNGLGETPROGRAMIVARBPROC __glewGetProgramivARB = NULL;
- PFNGLGETVERTEXATTRIBPOINTERVARBPROC __glewGetVertexAttribPointervARB = NULL;
- PFNGLGETVERTEXATTRIBDVARBPROC __glewGetVertexAttribdvARB = NULL;
- PFNGLGETVERTEXATTRIBFVARBPROC __glewGetVertexAttribfvARB = NULL;
- PFNGLGETVERTEXATTRIBIVARBPROC __glewGetVertexAttribivARB = NULL;
- PFNGLISPROGRAMARBPROC __glewIsProgramARB = NULL;
- PFNGLPROGRAMENVPARAMETER4DARBPROC __glewProgramEnvParameter4dARB = NULL;
- PFNGLPROGRAMENVPARAMETER4DVARBPROC __glewProgramEnvParameter4dvARB = NULL;
- PFNGLPROGRAMENVPARAMETER4FARBPROC __glewProgramEnvParameter4fARB = NULL;
- PFNGLPROGRAMENVPARAMETER4FVARBPROC __glewProgramEnvParameter4fvARB = NULL;
- PFNGLPROGRAMLOCALPARAMETER4DARBPROC __glewProgramLocalParameter4dARB = NULL;
- PFNGLPROGRAMLOCALPARAMETER4DVARBPROC __glewProgramLocalParameter4dvARB = NULL;
- PFNGLPROGRAMLOCALPARAMETER4FARBPROC __glewProgramLocalParameter4fARB = NULL;
- PFNGLPROGRAMLOCALPARAMETER4FVARBPROC __glewProgramLocalParameter4fvARB = NULL;
- PFNGLPROGRAMSTRINGARBPROC __glewProgramStringARB = NULL;
- PFNGLVERTEXATTRIB1DARBPROC __glewVertexAttrib1dARB = NULL;
- PFNGLVERTEXATTRIB1DVARBPROC __glewVertexAttrib1dvARB = NULL;
- PFNGLVERTEXATTRIB1FARBPROC __glewVertexAttrib1fARB = NULL;
- PFNGLVERTEXATTRIB1FVARBPROC __glewVertexAttrib1fvARB = NULL;
- PFNGLVERTEXATTRIB1SARBPROC __glewVertexAttrib1sARB = NULL;
- PFNGLVERTEXATTRIB1SVARBPROC __glewVertexAttrib1svARB = NULL;
- PFNGLVERTEXATTRIB2DARBPROC __glewVertexAttrib2dARB = NULL;
- PFNGLVERTEXATTRIB2DVARBPROC __glewVertexAttrib2dvARB = NULL;
- PFNGLVERTEXATTRIB2FARBPROC __glewVertexAttrib2fARB = NULL;
- PFNGLVERTEXATTRIB2FVARBPROC __glewVertexAttrib2fvARB = NULL;
- PFNGLVERTEXATTRIB2SARBPROC __glewVertexAttrib2sARB = NULL;
- PFNGLVERTEXATTRIB2SVARBPROC __glewVertexAttrib2svARB = NULL;
- PFNGLVERTEXATTRIB3DARBPROC __glewVertexAttrib3dARB = NULL;
- PFNGLVERTEXATTRIB3DVARBPROC __glewVertexAttrib3dvARB = NULL;
- PFNGLVERTEXATTRIB3FARBPROC __glewVertexAttrib3fARB = NULL;
- PFNGLVERTEXATTRIB3FVARBPROC __glewVertexAttrib3fvARB = NULL;
- PFNGLVERTEXATTRIB3SARBPROC __glewVertexAttrib3sARB = NULL;
- PFNGLVERTEXATTRIB3SVARBPROC __glewVertexAttrib3svARB = NULL;
- PFNGLVERTEXATTRIB4NBVARBPROC __glewVertexAttrib4NbvARB = NULL;
- PFNGLVERTEXATTRIB4NIVARBPROC __glewVertexAttrib4NivARB = NULL;
- PFNGLVERTEXATTRIB4NSVARBPROC __glewVertexAttrib4NsvARB = NULL;
- PFNGLVERTEXATTRIB4NUBARBPROC __glewVertexAttrib4NubARB = NULL;
- PFNGLVERTEXATTRIB4NUBVARBPROC __glewVertexAttrib4NubvARB = NULL;
- PFNGLVERTEXATTRIB4NUIVARBPROC __glewVertexAttrib4NuivARB = NULL;
- PFNGLVERTEXATTRIB4NUSVARBPROC __glewVertexAttrib4NusvARB = NULL;
- PFNGLVERTEXATTRIB4BVARBPROC __glewVertexAttrib4bvARB = NULL;
- PFNGLVERTEXATTRIB4DARBPROC __glewVertexAttrib4dARB = NULL;
- PFNGLVERTEXATTRIB4DVARBPROC __glewVertexAttrib4dvARB = NULL;
- PFNGLVERTEXATTRIB4FARBPROC __glewVertexAttrib4fARB = NULL;
- PFNGLVERTEXATTRIB4FVARBPROC __glewVertexAttrib4fvARB = NULL;
- PFNGLVERTEXATTRIB4IVARBPROC __glewVertexAttrib4ivARB = NULL;
- PFNGLVERTEXATTRIB4SARBPROC __glewVertexAttrib4sARB = NULL;
- PFNGLVERTEXATTRIB4SVARBPROC __glewVertexAttrib4svARB = NULL;
- PFNGLVERTEXATTRIB4UBVARBPROC __glewVertexAttrib4ubvARB = NULL;
- PFNGLVERTEXATTRIB4UIVARBPROC __glewVertexAttrib4uivARB = NULL;
- PFNGLVERTEXATTRIB4USVARBPROC __glewVertexAttrib4usvARB = NULL;
- PFNGLVERTEXATTRIBPOINTERARBPROC __glewVertexAttribPointerARB = NULL;
- PFNGLBINDATTRIBLOCATIONARBPROC __glewBindAttribLocationARB = NULL;
- PFNGLGETACTIVEATTRIBARBPROC __glewGetActiveAttribARB = NULL;
- PFNGLGETATTRIBLOCATIONARBPROC __glewGetAttribLocationARB = NULL;
- PFNGLCOLORP3UIPROC __glewColorP3ui = NULL;
- PFNGLCOLORP3UIVPROC __glewColorP3uiv = NULL;
- PFNGLCOLORP4UIPROC __glewColorP4ui = NULL;
- PFNGLCOLORP4UIVPROC __glewColorP4uiv = NULL;
- PFNGLMULTITEXCOORDP1UIPROC __glewMultiTexCoordP1ui = NULL;
- PFNGLMULTITEXCOORDP1UIVPROC __glewMultiTexCoordP1uiv = NULL;
- PFNGLMULTITEXCOORDP2UIPROC __glewMultiTexCoordP2ui = NULL;
- PFNGLMULTITEXCOORDP2UIVPROC __glewMultiTexCoordP2uiv = NULL;
- PFNGLMULTITEXCOORDP3UIPROC __glewMultiTexCoordP3ui = NULL;
- PFNGLMULTITEXCOORDP3UIVPROC __glewMultiTexCoordP3uiv = NULL;
- PFNGLMULTITEXCOORDP4UIPROC __glewMultiTexCoordP4ui = NULL;
- PFNGLMULTITEXCOORDP4UIVPROC __glewMultiTexCoordP4uiv = NULL;
- PFNGLNORMALP3UIPROC __glewNormalP3ui = NULL;
- PFNGLNORMALP3UIVPROC __glewNormalP3uiv = NULL;
- PFNGLSECONDARYCOLORP3UIPROC __glewSecondaryColorP3ui = NULL;
- PFNGLSECONDARYCOLORP3UIVPROC __glewSecondaryColorP3uiv = NULL;
- PFNGLTEXCOORDP1UIPROC __glewTexCoordP1ui = NULL;
- PFNGLTEXCOORDP1UIVPROC __glewTexCoordP1uiv = NULL;
- PFNGLTEXCOORDP2UIPROC __glewTexCoordP2ui = NULL;
- PFNGLTEXCOORDP2UIVPROC __glewTexCoordP2uiv = NULL;
- PFNGLTEXCOORDP3UIPROC __glewTexCoordP3ui = NULL;
- PFNGLTEXCOORDP3UIVPROC __glewTexCoordP3uiv = NULL;
- PFNGLTEXCOORDP4UIPROC __glewTexCoordP4ui = NULL;
- PFNGLTEXCOORDP4UIVPROC __glewTexCoordP4uiv = NULL;
- PFNGLVERTEXATTRIBP1UIPROC __glewVertexAttribP1ui = NULL;
- PFNGLVERTEXATTRIBP1UIVPROC __glewVertexAttribP1uiv = NULL;
- PFNGLVERTEXATTRIBP2UIPROC __glewVertexAttribP2ui = NULL;
- PFNGLVERTEXATTRIBP2UIVPROC __glewVertexAttribP2uiv = NULL;
- PFNGLVERTEXATTRIBP3UIPROC __glewVertexAttribP3ui = NULL;
- PFNGLVERTEXATTRIBP3UIVPROC __glewVertexAttribP3uiv = NULL;
- PFNGLVERTEXATTRIBP4UIPROC __glewVertexAttribP4ui = NULL;
- PFNGLVERTEXATTRIBP4UIVPROC __glewVertexAttribP4uiv = NULL;
- PFNGLVERTEXP2UIPROC __glewVertexP2ui = NULL;
- PFNGLVERTEXP2UIVPROC __glewVertexP2uiv = NULL;
- PFNGLVERTEXP3UIPROC __glewVertexP3ui = NULL;
- PFNGLVERTEXP3UIVPROC __glewVertexP3uiv = NULL;
- PFNGLVERTEXP4UIPROC __glewVertexP4ui = NULL;
- PFNGLVERTEXP4UIVPROC __glewVertexP4uiv = NULL;
- PFNGLDEPTHRANGEARRAYVPROC __glewDepthRangeArrayv = NULL;
- PFNGLDEPTHRANGEINDEXEDPROC __glewDepthRangeIndexed = NULL;
- PFNGLGETDOUBLEI_VPROC __glewGetDoublei_v = NULL;
- PFNGLGETFLOATI_VPROC __glewGetFloati_v = NULL;
- PFNGLSCISSORARRAYVPROC __glewScissorArrayv = NULL;
- PFNGLSCISSORINDEXEDPROC __glewScissorIndexed = NULL;
- PFNGLSCISSORINDEXEDVPROC __glewScissorIndexedv = NULL;
- PFNGLVIEWPORTARRAYVPROC __glewViewportArrayv = NULL;
- PFNGLVIEWPORTINDEXEDFPROC __glewViewportIndexedf = NULL;
- PFNGLVIEWPORTINDEXEDFVPROC __glewViewportIndexedfv = NULL;
- PFNGLWINDOWPOS2DARBPROC __glewWindowPos2dARB = NULL;
- PFNGLWINDOWPOS2DVARBPROC __glewWindowPos2dvARB = NULL;
- PFNGLWINDOWPOS2FARBPROC __glewWindowPos2fARB = NULL;
- PFNGLWINDOWPOS2FVARBPROC __glewWindowPos2fvARB = NULL;
- PFNGLWINDOWPOS2IARBPROC __glewWindowPos2iARB = NULL;
- PFNGLWINDOWPOS2IVARBPROC __glewWindowPos2ivARB = NULL;
- PFNGLWINDOWPOS2SARBPROC __glewWindowPos2sARB = NULL;
- PFNGLWINDOWPOS2SVARBPROC __glewWindowPos2svARB = NULL;
- PFNGLWINDOWPOS3DARBPROC __glewWindowPos3dARB = NULL;
- PFNGLWINDOWPOS3DVARBPROC __glewWindowPos3dvARB = NULL;
- PFNGLWINDOWPOS3FARBPROC __glewWindowPos3fARB = NULL;
- PFNGLWINDOWPOS3FVARBPROC __glewWindowPos3fvARB = NULL;
- PFNGLWINDOWPOS3IARBPROC __glewWindowPos3iARB = NULL;
- PFNGLWINDOWPOS3IVARBPROC __glewWindowPos3ivARB = NULL;
- PFNGLWINDOWPOS3SARBPROC __glewWindowPos3sARB = NULL;
- PFNGLWINDOWPOS3SVARBPROC __glewWindowPos3svARB = NULL;
- PFNGLDRAWBUFFERSATIPROC __glewDrawBuffersATI = NULL;
- PFNGLDRAWELEMENTARRAYATIPROC __glewDrawElementArrayATI = NULL;
- PFNGLDRAWRANGEELEMENTARRAYATIPROC __glewDrawRangeElementArrayATI = NULL;
- PFNGLELEMENTPOINTERATIPROC __glewElementPointerATI = NULL;
- PFNGLGETTEXBUMPPARAMETERFVATIPROC __glewGetTexBumpParameterfvATI = NULL;
- PFNGLGETTEXBUMPPARAMETERIVATIPROC __glewGetTexBumpParameterivATI = NULL;
- PFNGLTEXBUMPPARAMETERFVATIPROC __glewTexBumpParameterfvATI = NULL;
- PFNGLTEXBUMPPARAMETERIVATIPROC __glewTexBumpParameterivATI = NULL;
- PFNGLALPHAFRAGMENTOP1ATIPROC __glewAlphaFragmentOp1ATI = NULL;
- PFNGLALPHAFRAGMENTOP2ATIPROC __glewAlphaFragmentOp2ATI = NULL;
- PFNGLALPHAFRAGMENTOP3ATIPROC __glewAlphaFragmentOp3ATI = NULL;
- PFNGLBEGINFRAGMENTSHADERATIPROC __glewBeginFragmentShaderATI = NULL;
- PFNGLBINDFRAGMENTSHADERATIPROC __glewBindFragmentShaderATI = NULL;
- PFNGLCOLORFRAGMENTOP1ATIPROC __glewColorFragmentOp1ATI = NULL;
- PFNGLCOLORFRAGMENTOP2ATIPROC __glewColorFragmentOp2ATI = NULL;
- PFNGLCOLORFRAGMENTOP3ATIPROC __glewColorFragmentOp3ATI = NULL;
- PFNGLDELETEFRAGMENTSHADERATIPROC __glewDeleteFragmentShaderATI = NULL;
- PFNGLENDFRAGMENTSHADERATIPROC __glewEndFragmentShaderATI = NULL;
- PFNGLGENFRAGMENTSHADERSATIPROC __glewGenFragmentShadersATI = NULL;
- PFNGLPASSTEXCOORDATIPROC __glewPassTexCoordATI = NULL;
- PFNGLSAMPLEMAPATIPROC __glewSampleMapATI = NULL;
- PFNGLSETFRAGMENTSHADERCONSTANTATIPROC __glewSetFragmentShaderConstantATI = NULL;
- PFNGLMAPOBJECTBUFFERATIPROC __glewMapObjectBufferATI = NULL;
- PFNGLUNMAPOBJECTBUFFERATIPROC __glewUnmapObjectBufferATI = NULL;
- PFNGLPNTRIANGLESFATIPROC __glewPNTrianglesfATI = NULL;
- PFNGLPNTRIANGLESIATIPROC __glewPNTrianglesiATI = NULL;
- PFNGLSTENCILFUNCSEPARATEATIPROC __glewStencilFuncSeparateATI = NULL;
- PFNGLSTENCILOPSEPARATEATIPROC __glewStencilOpSeparateATI = NULL;
- PFNGLARRAYOBJECTATIPROC __glewArrayObjectATI = NULL;
- PFNGLFREEOBJECTBUFFERATIPROC __glewFreeObjectBufferATI = NULL;
- PFNGLGETARRAYOBJECTFVATIPROC __glewGetArrayObjectfvATI = NULL;
- PFNGLGETARRAYOBJECTIVATIPROC __glewGetArrayObjectivATI = NULL;
- PFNGLGETOBJECTBUFFERFVATIPROC __glewGetObjectBufferfvATI = NULL;
- PFNGLGETOBJECTBUFFERIVATIPROC __glewGetObjectBufferivATI = NULL;
- PFNGLGETVARIANTARRAYOBJECTFVATIPROC __glewGetVariantArrayObjectfvATI = NULL;
- PFNGLGETVARIANTARRAYOBJECTIVATIPROC __glewGetVariantArrayObjectivATI = NULL;
- PFNGLISOBJECTBUFFERATIPROC __glewIsObjectBufferATI = NULL;
- PFNGLNEWOBJECTBUFFERATIPROC __glewNewObjectBufferATI = NULL;
- PFNGLUPDATEOBJECTBUFFERATIPROC __glewUpdateObjectBufferATI = NULL;
- PFNGLVARIANTARRAYOBJECTATIPROC __glewVariantArrayObjectATI = NULL;
- PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC __glewGetVertexAttribArrayObjectfvATI = NULL;
- PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC __glewGetVertexAttribArrayObjectivATI = NULL;
- PFNGLVERTEXATTRIBARRAYOBJECTATIPROC __glewVertexAttribArrayObjectATI = NULL;
- PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC __glewClientActiveVertexStreamATI = NULL;
- PFNGLNORMALSTREAM3BATIPROC __glewNormalStream3bATI = NULL;
- PFNGLNORMALSTREAM3BVATIPROC __glewNormalStream3bvATI = NULL;
- PFNGLNORMALSTREAM3DATIPROC __glewNormalStream3dATI = NULL;
- PFNGLNORMALSTREAM3DVATIPROC __glewNormalStream3dvATI = NULL;
- PFNGLNORMALSTREAM3FATIPROC __glewNormalStream3fATI = NULL;
- PFNGLNORMALSTREAM3FVATIPROC __glewNormalStream3fvATI = NULL;
- PFNGLNORMALSTREAM3IATIPROC __glewNormalStream3iATI = NULL;
- PFNGLNORMALSTREAM3IVATIPROC __glewNormalStream3ivATI = NULL;
- PFNGLNORMALSTREAM3SATIPROC __glewNormalStream3sATI = NULL;
- PFNGLNORMALSTREAM3SVATIPROC __glewNormalStream3svATI = NULL;
- PFNGLVERTEXBLENDENVFATIPROC __glewVertexBlendEnvfATI = NULL;
- PFNGLVERTEXBLENDENVIATIPROC __glewVertexBlendEnviATI = NULL;
- PFNGLVERTEXSTREAM1DATIPROC __glewVertexStream1dATI = NULL;
- PFNGLVERTEXSTREAM1DVATIPROC __glewVertexStream1dvATI = NULL;
- PFNGLVERTEXSTREAM1FATIPROC __glewVertexStream1fATI = NULL;
- PFNGLVERTEXSTREAM1FVATIPROC __glewVertexStream1fvATI = NULL;
- PFNGLVERTEXSTREAM1IATIPROC __glewVertexStream1iATI = NULL;
- PFNGLVERTEXSTREAM1IVATIPROC __glewVertexStream1ivATI = NULL;
- PFNGLVERTEXSTREAM1SATIPROC __glewVertexStream1sATI = NULL;
- PFNGLVERTEXSTREAM1SVATIPROC __glewVertexStream1svATI = NULL;
- PFNGLVERTEXSTREAM2DATIPROC __glewVertexStream2dATI = NULL;
- PFNGLVERTEXSTREAM2DVATIPROC __glewVertexStream2dvATI = NULL;
- PFNGLVERTEXSTREAM2FATIPROC __glewVertexStream2fATI = NULL;
- PFNGLVERTEXSTREAM2FVATIPROC __glewVertexStream2fvATI = NULL;
- PFNGLVERTEXSTREAM2IATIPROC __glewVertexStream2iATI = NULL;
- PFNGLVERTEXSTREAM2IVATIPROC __glewVertexStream2ivATI = NULL;
- PFNGLVERTEXSTREAM2SATIPROC __glewVertexStream2sATI = NULL;
- PFNGLVERTEXSTREAM2SVATIPROC __glewVertexStream2svATI = NULL;
- PFNGLVERTEXSTREAM3DATIPROC __glewVertexStream3dATI = NULL;
- PFNGLVERTEXSTREAM3DVATIPROC __glewVertexStream3dvATI = NULL;
- PFNGLVERTEXSTREAM3FATIPROC __glewVertexStream3fATI = NULL;
- PFNGLVERTEXSTREAM3FVATIPROC __glewVertexStream3fvATI = NULL;
- PFNGLVERTEXSTREAM3IATIPROC __glewVertexStream3iATI = NULL;
- PFNGLVERTEXSTREAM3IVATIPROC __glewVertexStream3ivATI = NULL;
- PFNGLVERTEXSTREAM3SATIPROC __glewVertexStream3sATI = NULL;
- PFNGLVERTEXSTREAM3SVATIPROC __glewVertexStream3svATI = NULL;
- PFNGLVERTEXSTREAM4DATIPROC __glewVertexStream4dATI = NULL;
- PFNGLVERTEXSTREAM4DVATIPROC __glewVertexStream4dvATI = NULL;
- PFNGLVERTEXSTREAM4FATIPROC __glewVertexStream4fATI = NULL;
- PFNGLVERTEXSTREAM4FVATIPROC __glewVertexStream4fvATI = NULL;
- PFNGLVERTEXSTREAM4IATIPROC __glewVertexStream4iATI = NULL;
- PFNGLVERTEXSTREAM4IVATIPROC __glewVertexStream4ivATI = NULL;
- PFNGLVERTEXSTREAM4SATIPROC __glewVertexStream4sATI = NULL;
- PFNGLVERTEXSTREAM4SVATIPROC __glewVertexStream4svATI = NULL;
- PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC __glewDrawArraysInstancedBaseInstanceEXT = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC __glewDrawElementsInstancedBaseInstanceEXT = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC __glewDrawElementsInstancedBaseVertexBaseInstanceEXT = NULL;
- PFNGLGETUNIFORMBUFFERSIZEEXTPROC __glewGetUniformBufferSizeEXT = NULL;
- PFNGLGETUNIFORMOFFSETEXTPROC __glewGetUniformOffsetEXT = NULL;
- PFNGLUNIFORMBUFFEREXTPROC __glewUniformBufferEXT = NULL;
- PFNGLBLENDCOLOREXTPROC __glewBlendColorEXT = NULL;
- PFNGLBLENDEQUATIONSEPARATEEXTPROC __glewBlendEquationSeparateEXT = NULL;
- PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC __glewBindFragDataLocationIndexedEXT = NULL;
- PFNGLGETFRAGDATAINDEXEXTPROC __glewGetFragDataIndexEXT = NULL;
- PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC __glewGetProgramResourceLocationIndexEXT = NULL;
- PFNGLBLENDFUNCSEPARATEEXTPROC __glewBlendFuncSeparateEXT = NULL;
- PFNGLBLENDEQUATIONEXTPROC __glewBlendEquationEXT = NULL;
- PFNGLBUFFERSTORAGEEXTPROC __glewBufferStorageEXT = NULL;
- PFNGLNAMEDBUFFERSTORAGEEXTPROC __glewNamedBufferStorageEXT = NULL;
- PFNGLCLEARTEXIMAGEEXTPROC __glewClearTexImageEXT = NULL;
- PFNGLCLEARTEXSUBIMAGEEXTPROC __glewClearTexSubImageEXT = NULL;
- PFNGLCOLORSUBTABLEEXTPROC __glewColorSubTableEXT = NULL;
- PFNGLCOPYCOLORSUBTABLEEXTPROC __glewCopyColorSubTableEXT = NULL;
- PFNGLLOCKARRAYSEXTPROC __glewLockArraysEXT = NULL;
- PFNGLUNLOCKARRAYSEXTPROC __glewUnlockArraysEXT = NULL;
- PFNGLCONVOLUTIONFILTER1DEXTPROC __glewConvolutionFilter1DEXT = NULL;
- PFNGLCONVOLUTIONFILTER2DEXTPROC __glewConvolutionFilter2DEXT = NULL;
- PFNGLCONVOLUTIONPARAMETERFEXTPROC __glewConvolutionParameterfEXT = NULL;
- PFNGLCONVOLUTIONPARAMETERFVEXTPROC __glewConvolutionParameterfvEXT = NULL;
- PFNGLCONVOLUTIONPARAMETERIEXTPROC __glewConvolutionParameteriEXT = NULL;
- PFNGLCONVOLUTIONPARAMETERIVEXTPROC __glewConvolutionParameterivEXT = NULL;
- PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC __glewCopyConvolutionFilter1DEXT = NULL;
- PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC __glewCopyConvolutionFilter2DEXT = NULL;
- PFNGLGETCONVOLUTIONFILTEREXTPROC __glewGetConvolutionFilterEXT = NULL;
- PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC __glewGetConvolutionParameterfvEXT = NULL;
- PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC __glewGetConvolutionParameterivEXT = NULL;
- PFNGLGETSEPARABLEFILTEREXTPROC __glewGetSeparableFilterEXT = NULL;
- PFNGLSEPARABLEFILTER2DEXTPROC __glewSeparableFilter2DEXT = NULL;
- PFNGLBINORMALPOINTEREXTPROC __glewBinormalPointerEXT = NULL;
- PFNGLTANGENTPOINTEREXTPROC __glewTangentPointerEXT = NULL;
- PFNGLCOPYIMAGESUBDATAEXTPROC __glewCopyImageSubDataEXT = NULL;
- PFNGLCOPYTEXIMAGE1DEXTPROC __glewCopyTexImage1DEXT = NULL;
- PFNGLCOPYTEXIMAGE2DEXTPROC __glewCopyTexImage2DEXT = NULL;
- PFNGLCOPYTEXSUBIMAGE1DEXTPROC __glewCopyTexSubImage1DEXT = NULL;
- PFNGLCOPYTEXSUBIMAGE2DEXTPROC __glewCopyTexSubImage2DEXT = NULL;
- PFNGLCOPYTEXSUBIMAGE3DEXTPROC __glewCopyTexSubImage3DEXT = NULL;
- PFNGLCULLPARAMETERDVEXTPROC __glewCullParameterdvEXT = NULL;
- PFNGLCULLPARAMETERFVEXTPROC __glewCullParameterfvEXT = NULL;
- PFNGLGETOBJECTLABELEXTPROC __glewGetObjectLabelEXT = NULL;
- PFNGLLABELOBJECTEXTPROC __glewLabelObjectEXT = NULL;
- PFNGLINSERTEVENTMARKEREXTPROC __glewInsertEventMarkerEXT = NULL;
- PFNGLPOPGROUPMARKEREXTPROC __glewPopGroupMarkerEXT = NULL;
- PFNGLPUSHGROUPMARKEREXTPROC __glewPushGroupMarkerEXT = NULL;
- PFNGLDEPTHBOUNDSEXTPROC __glewDepthBoundsEXT = NULL;
- PFNGLBINDMULTITEXTUREEXTPROC __glewBindMultiTextureEXT = NULL;
- PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC __glewCheckNamedFramebufferStatusEXT = NULL;
- PFNGLCLIENTATTRIBDEFAULTEXTPROC __glewClientAttribDefaultEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC __glewCompressedMultiTexImage1DEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC __glewCompressedMultiTexImage2DEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC __glewCompressedMultiTexImage3DEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC __glewCompressedMultiTexSubImage1DEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC __glewCompressedMultiTexSubImage2DEXT = NULL;
- PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC __glewCompressedMultiTexSubImage3DEXT = NULL;
- PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC __glewCompressedTextureImage1DEXT = NULL;
- PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC __glewCompressedTextureImage2DEXT = NULL;
- PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC __glewCompressedTextureImage3DEXT = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC __glewCompressedTextureSubImage1DEXT = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC __glewCompressedTextureSubImage2DEXT = NULL;
- PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC __glewCompressedTextureSubImage3DEXT = NULL;
- PFNGLCOPYMULTITEXIMAGE1DEXTPROC __glewCopyMultiTexImage1DEXT = NULL;
- PFNGLCOPYMULTITEXIMAGE2DEXTPROC __glewCopyMultiTexImage2DEXT = NULL;
- PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC __glewCopyMultiTexSubImage1DEXT = NULL;
- PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC __glewCopyMultiTexSubImage2DEXT = NULL;
- PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC __glewCopyMultiTexSubImage3DEXT = NULL;
- PFNGLCOPYTEXTUREIMAGE1DEXTPROC __glewCopyTextureImage1DEXT = NULL;
- PFNGLCOPYTEXTUREIMAGE2DEXTPROC __glewCopyTextureImage2DEXT = NULL;
- PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC __glewCopyTextureSubImage1DEXT = NULL;
- PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC __glewCopyTextureSubImage2DEXT = NULL;
- PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC __glewCopyTextureSubImage3DEXT = NULL;
- PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC __glewDisableClientStateIndexedEXT = NULL;
- PFNGLDISABLECLIENTSTATEIEXTPROC __glewDisableClientStateiEXT = NULL;
- PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC __glewDisableVertexArrayAttribEXT = NULL;
- PFNGLDISABLEVERTEXARRAYEXTPROC __glewDisableVertexArrayEXT = NULL;
- PFNGLENABLECLIENTSTATEINDEXEDEXTPROC __glewEnableClientStateIndexedEXT = NULL;
- PFNGLENABLECLIENTSTATEIEXTPROC __glewEnableClientStateiEXT = NULL;
- PFNGLENABLEVERTEXARRAYATTRIBEXTPROC __glewEnableVertexArrayAttribEXT = NULL;
- PFNGLENABLEVERTEXARRAYEXTPROC __glewEnableVertexArrayEXT = NULL;
- PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC __glewFlushMappedNamedBufferRangeEXT = NULL;
- PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC __glewFramebufferDrawBufferEXT = NULL;
- PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC __glewFramebufferDrawBuffersEXT = NULL;
- PFNGLFRAMEBUFFERREADBUFFEREXTPROC __glewFramebufferReadBufferEXT = NULL;
- PFNGLGENERATEMULTITEXMIPMAPEXTPROC __glewGenerateMultiTexMipmapEXT = NULL;
- PFNGLGENERATETEXTUREMIPMAPEXTPROC __glewGenerateTextureMipmapEXT = NULL;
- PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC __glewGetCompressedMultiTexImageEXT = NULL;
- PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC __glewGetCompressedTextureImageEXT = NULL;
- PFNGLGETDOUBLEINDEXEDVEXTPROC __glewGetDoubleIndexedvEXT = NULL;
- PFNGLGETDOUBLEI_VEXTPROC __glewGetDoublei_vEXT = NULL;
- PFNGLGETFLOATINDEXEDVEXTPROC __glewGetFloatIndexedvEXT = NULL;
- PFNGLGETFLOATI_VEXTPROC __glewGetFloati_vEXT = NULL;
- PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC __glewGetFramebufferParameterivEXT = NULL;
- PFNGLGETMULTITEXENVFVEXTPROC __glewGetMultiTexEnvfvEXT = NULL;
- PFNGLGETMULTITEXENVIVEXTPROC __glewGetMultiTexEnvivEXT = NULL;
- PFNGLGETMULTITEXGENDVEXTPROC __glewGetMultiTexGendvEXT = NULL;
- PFNGLGETMULTITEXGENFVEXTPROC __glewGetMultiTexGenfvEXT = NULL;
- PFNGLGETMULTITEXGENIVEXTPROC __glewGetMultiTexGenivEXT = NULL;
- PFNGLGETMULTITEXIMAGEEXTPROC __glewGetMultiTexImageEXT = NULL;
- PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC __glewGetMultiTexLevelParameterfvEXT = NULL;
- PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC __glewGetMultiTexLevelParameterivEXT = NULL;
- PFNGLGETMULTITEXPARAMETERIIVEXTPROC __glewGetMultiTexParameterIivEXT = NULL;
- PFNGLGETMULTITEXPARAMETERIUIVEXTPROC __glewGetMultiTexParameterIuivEXT = NULL;
- PFNGLGETMULTITEXPARAMETERFVEXTPROC __glewGetMultiTexParameterfvEXT = NULL;
- PFNGLGETMULTITEXPARAMETERIVEXTPROC __glewGetMultiTexParameterivEXT = NULL;
- PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC __glewGetNamedBufferParameterivEXT = NULL;
- PFNGLGETNAMEDBUFFERPOINTERVEXTPROC __glewGetNamedBufferPointervEXT = NULL;
- PFNGLGETNAMEDBUFFERSUBDATAEXTPROC __glewGetNamedBufferSubDataEXT = NULL;
- PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetNamedFramebufferAttachmentParameterivEXT = NULL;
- PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC __glewGetNamedProgramLocalParameterIivEXT = NULL;
- PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC __glewGetNamedProgramLocalParameterIuivEXT = NULL;
- PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC __glewGetNamedProgramLocalParameterdvEXT = NULL;
- PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC __glewGetNamedProgramLocalParameterfvEXT = NULL;
- PFNGLGETNAMEDPROGRAMSTRINGEXTPROC __glewGetNamedProgramStringEXT = NULL;
- PFNGLGETNAMEDPROGRAMIVEXTPROC __glewGetNamedProgramivEXT = NULL;
- PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC __glewGetNamedRenderbufferParameterivEXT = NULL;
- PFNGLGETPOINTERINDEXEDVEXTPROC __glewGetPointerIndexedvEXT = NULL;
- PFNGLGETPOINTERI_VEXTPROC __glewGetPointeri_vEXT = NULL;
- PFNGLGETTEXTUREIMAGEEXTPROC __glewGetTextureImageEXT = NULL;
- PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC __glewGetTextureLevelParameterfvEXT = NULL;
- PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC __glewGetTextureLevelParameterivEXT = NULL;
- PFNGLGETTEXTUREPARAMETERIIVEXTPROC __glewGetTextureParameterIivEXT = NULL;
- PFNGLGETTEXTUREPARAMETERIUIVEXTPROC __glewGetTextureParameterIuivEXT = NULL;
- PFNGLGETTEXTUREPARAMETERFVEXTPROC __glewGetTextureParameterfvEXT = NULL;
- PFNGLGETTEXTUREPARAMETERIVEXTPROC __glewGetTextureParameterivEXT = NULL;
- PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC __glewGetVertexArrayIntegeri_vEXT = NULL;
- PFNGLGETVERTEXARRAYINTEGERVEXTPROC __glewGetVertexArrayIntegervEXT = NULL;
- PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC __glewGetVertexArrayPointeri_vEXT = NULL;
- PFNGLGETVERTEXARRAYPOINTERVEXTPROC __glewGetVertexArrayPointervEXT = NULL;
- PFNGLMAPNAMEDBUFFEREXTPROC __glewMapNamedBufferEXT = NULL;
- PFNGLMAPNAMEDBUFFERRANGEEXTPROC __glewMapNamedBufferRangeEXT = NULL;
- PFNGLMATRIXFRUSTUMEXTPROC __glewMatrixFrustumEXT = NULL;
- PFNGLMATRIXLOADIDENTITYEXTPROC __glewMatrixLoadIdentityEXT = NULL;
- PFNGLMATRIXLOADTRANSPOSEDEXTPROC __glewMatrixLoadTransposedEXT = NULL;
- PFNGLMATRIXLOADTRANSPOSEFEXTPROC __glewMatrixLoadTransposefEXT = NULL;
- PFNGLMATRIXLOADDEXTPROC __glewMatrixLoaddEXT = NULL;
- PFNGLMATRIXLOADFEXTPROC __glewMatrixLoadfEXT = NULL;
- PFNGLMATRIXMULTTRANSPOSEDEXTPROC __glewMatrixMultTransposedEXT = NULL;
- PFNGLMATRIXMULTTRANSPOSEFEXTPROC __glewMatrixMultTransposefEXT = NULL;
- PFNGLMATRIXMULTDEXTPROC __glewMatrixMultdEXT = NULL;
- PFNGLMATRIXMULTFEXTPROC __glewMatrixMultfEXT = NULL;
- PFNGLMATRIXORTHOEXTPROC __glewMatrixOrthoEXT = NULL;
- PFNGLMATRIXPOPEXTPROC __glewMatrixPopEXT = NULL;
- PFNGLMATRIXPUSHEXTPROC __glewMatrixPushEXT = NULL;
- PFNGLMATRIXROTATEDEXTPROC __glewMatrixRotatedEXT = NULL;
- PFNGLMATRIXROTATEFEXTPROC __glewMatrixRotatefEXT = NULL;
- PFNGLMATRIXSCALEDEXTPROC __glewMatrixScaledEXT = NULL;
- PFNGLMATRIXSCALEFEXTPROC __glewMatrixScalefEXT = NULL;
- PFNGLMATRIXTRANSLATEDEXTPROC __glewMatrixTranslatedEXT = NULL;
- PFNGLMATRIXTRANSLATEFEXTPROC __glewMatrixTranslatefEXT = NULL;
- PFNGLMULTITEXBUFFEREXTPROC __glewMultiTexBufferEXT = NULL;
- PFNGLMULTITEXCOORDPOINTEREXTPROC __glewMultiTexCoordPointerEXT = NULL;
- PFNGLMULTITEXENVFEXTPROC __glewMultiTexEnvfEXT = NULL;
- PFNGLMULTITEXENVFVEXTPROC __glewMultiTexEnvfvEXT = NULL;
- PFNGLMULTITEXENVIEXTPROC __glewMultiTexEnviEXT = NULL;
- PFNGLMULTITEXENVIVEXTPROC __glewMultiTexEnvivEXT = NULL;
- PFNGLMULTITEXGENDEXTPROC __glewMultiTexGendEXT = NULL;
- PFNGLMULTITEXGENDVEXTPROC __glewMultiTexGendvEXT = NULL;
- PFNGLMULTITEXGENFEXTPROC __glewMultiTexGenfEXT = NULL;
- PFNGLMULTITEXGENFVEXTPROC __glewMultiTexGenfvEXT = NULL;
- PFNGLMULTITEXGENIEXTPROC __glewMultiTexGeniEXT = NULL;
- PFNGLMULTITEXGENIVEXTPROC __glewMultiTexGenivEXT = NULL;
- PFNGLMULTITEXIMAGE1DEXTPROC __glewMultiTexImage1DEXT = NULL;
- PFNGLMULTITEXIMAGE2DEXTPROC __glewMultiTexImage2DEXT = NULL;
- PFNGLMULTITEXIMAGE3DEXTPROC __glewMultiTexImage3DEXT = NULL;
- PFNGLMULTITEXPARAMETERIIVEXTPROC __glewMultiTexParameterIivEXT = NULL;
- PFNGLMULTITEXPARAMETERIUIVEXTPROC __glewMultiTexParameterIuivEXT = NULL;
- PFNGLMULTITEXPARAMETERFEXTPROC __glewMultiTexParameterfEXT = NULL;
- PFNGLMULTITEXPARAMETERFVEXTPROC __glewMultiTexParameterfvEXT = NULL;
- PFNGLMULTITEXPARAMETERIEXTPROC __glewMultiTexParameteriEXT = NULL;
- PFNGLMULTITEXPARAMETERIVEXTPROC __glewMultiTexParameterivEXT = NULL;
- PFNGLMULTITEXRENDERBUFFEREXTPROC __glewMultiTexRenderbufferEXT = NULL;
- PFNGLMULTITEXSUBIMAGE1DEXTPROC __glewMultiTexSubImage1DEXT = NULL;
- PFNGLMULTITEXSUBIMAGE2DEXTPROC __glewMultiTexSubImage2DEXT = NULL;
- PFNGLMULTITEXSUBIMAGE3DEXTPROC __glewMultiTexSubImage3DEXT = NULL;
- PFNGLNAMEDBUFFERDATAEXTPROC __glewNamedBufferDataEXT = NULL;
- PFNGLNAMEDBUFFERSUBDATAEXTPROC __glewNamedBufferSubDataEXT = NULL;
- PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC __glewNamedCopyBufferSubDataEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC __glewNamedFramebufferRenderbufferEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC __glewNamedFramebufferTexture1DEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC __glewNamedFramebufferTexture2DEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC __glewNamedFramebufferTexture3DEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC __glewNamedFramebufferTextureEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC __glewNamedFramebufferTextureFaceEXT = NULL;
- PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC __glewNamedFramebufferTextureLayerEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC __glewNamedProgramLocalParameter4dEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC __glewNamedProgramLocalParameter4dvEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC __glewNamedProgramLocalParameter4fEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC __glewNamedProgramLocalParameter4fvEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC __glewNamedProgramLocalParameterI4iEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC __glewNamedProgramLocalParameterI4ivEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC __glewNamedProgramLocalParameterI4uiEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC __glewNamedProgramLocalParameterI4uivEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC __glewNamedProgramLocalParameters4fvEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC __glewNamedProgramLocalParametersI4ivEXT = NULL;
- PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC __glewNamedProgramLocalParametersI4uivEXT = NULL;
- PFNGLNAMEDPROGRAMSTRINGEXTPROC __glewNamedProgramStringEXT = NULL;
- PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC __glewNamedRenderbufferStorageEXT = NULL;
- PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC __glewNamedRenderbufferStorageMultisampleCoverageEXT = NULL;
- PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewNamedRenderbufferStorageMultisampleEXT = NULL;
- PFNGLPROGRAMUNIFORM1FEXTPROC __glewProgramUniform1fEXT = NULL;
- PFNGLPROGRAMUNIFORM1FVEXTPROC __glewProgramUniform1fvEXT = NULL;
- PFNGLPROGRAMUNIFORM1IEXTPROC __glewProgramUniform1iEXT = NULL;
- PFNGLPROGRAMUNIFORM1IVEXTPROC __glewProgramUniform1ivEXT = NULL;
- PFNGLPROGRAMUNIFORM1UIEXTPROC __glewProgramUniform1uiEXT = NULL;
- PFNGLPROGRAMUNIFORM1UIVEXTPROC __glewProgramUniform1uivEXT = NULL;
- PFNGLPROGRAMUNIFORM2FEXTPROC __glewProgramUniform2fEXT = NULL;
- PFNGLPROGRAMUNIFORM2FVEXTPROC __glewProgramUniform2fvEXT = NULL;
- PFNGLPROGRAMUNIFORM2IEXTPROC __glewProgramUniform2iEXT = NULL;
- PFNGLPROGRAMUNIFORM2IVEXTPROC __glewProgramUniform2ivEXT = NULL;
- PFNGLPROGRAMUNIFORM2UIEXTPROC __glewProgramUniform2uiEXT = NULL;
- PFNGLPROGRAMUNIFORM2UIVEXTPROC __glewProgramUniform2uivEXT = NULL;
- PFNGLPROGRAMUNIFORM3FEXTPROC __glewProgramUniform3fEXT = NULL;
- PFNGLPROGRAMUNIFORM3FVEXTPROC __glewProgramUniform3fvEXT = NULL;
- PFNGLPROGRAMUNIFORM3IEXTPROC __glewProgramUniform3iEXT = NULL;
- PFNGLPROGRAMUNIFORM3IVEXTPROC __glewProgramUniform3ivEXT = NULL;
- PFNGLPROGRAMUNIFORM3UIEXTPROC __glewProgramUniform3uiEXT = NULL;
- PFNGLPROGRAMUNIFORM3UIVEXTPROC __glewProgramUniform3uivEXT = NULL;
- PFNGLPROGRAMUNIFORM4FEXTPROC __glewProgramUniform4fEXT = NULL;
- PFNGLPROGRAMUNIFORM4FVEXTPROC __glewProgramUniform4fvEXT = NULL;
- PFNGLPROGRAMUNIFORM4IEXTPROC __glewProgramUniform4iEXT = NULL;
- PFNGLPROGRAMUNIFORM4IVEXTPROC __glewProgramUniform4ivEXT = NULL;
- PFNGLPROGRAMUNIFORM4UIEXTPROC __glewProgramUniform4uiEXT = NULL;
- PFNGLPROGRAMUNIFORM4UIVEXTPROC __glewProgramUniform4uivEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC __glewProgramUniformMatrix2fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC __glewProgramUniformMatrix2x3fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC __glewProgramUniformMatrix2x4fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC __glewProgramUniformMatrix3fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC __glewProgramUniformMatrix3x2fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC __glewProgramUniformMatrix3x4fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC __glewProgramUniformMatrix4fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC __glewProgramUniformMatrix4x2fvEXT = NULL;
- PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC __glewProgramUniformMatrix4x3fvEXT = NULL;
- PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC __glewPushClientAttribDefaultEXT = NULL;
- PFNGLTEXTUREBUFFEREXTPROC __glewTextureBufferEXT = NULL;
- PFNGLTEXTUREIMAGE1DEXTPROC __glewTextureImage1DEXT = NULL;
- PFNGLTEXTUREIMAGE2DEXTPROC __glewTextureImage2DEXT = NULL;
- PFNGLTEXTUREIMAGE3DEXTPROC __glewTextureImage3DEXT = NULL;
- PFNGLTEXTUREPARAMETERIIVEXTPROC __glewTextureParameterIivEXT = NULL;
- PFNGLTEXTUREPARAMETERIUIVEXTPROC __glewTextureParameterIuivEXT = NULL;
- PFNGLTEXTUREPARAMETERFEXTPROC __glewTextureParameterfEXT = NULL;
- PFNGLTEXTUREPARAMETERFVEXTPROC __glewTextureParameterfvEXT = NULL;
- PFNGLTEXTUREPARAMETERIEXTPROC __glewTextureParameteriEXT = NULL;
- PFNGLTEXTUREPARAMETERIVEXTPROC __glewTextureParameterivEXT = NULL;
- PFNGLTEXTURERENDERBUFFEREXTPROC __glewTextureRenderbufferEXT = NULL;
- PFNGLTEXTURESUBIMAGE1DEXTPROC __glewTextureSubImage1DEXT = NULL;
- PFNGLTEXTURESUBIMAGE2DEXTPROC __glewTextureSubImage2DEXT = NULL;
- PFNGLTEXTURESUBIMAGE3DEXTPROC __glewTextureSubImage3DEXT = NULL;
- PFNGLUNMAPNAMEDBUFFEREXTPROC __glewUnmapNamedBufferEXT = NULL;
- PFNGLVERTEXARRAYCOLOROFFSETEXTPROC __glewVertexArrayColorOffsetEXT = NULL;
- PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC __glewVertexArrayEdgeFlagOffsetEXT = NULL;
- PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC __glewVertexArrayFogCoordOffsetEXT = NULL;
- PFNGLVERTEXARRAYINDEXOFFSETEXTPROC __glewVertexArrayIndexOffsetEXT = NULL;
- PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC __glewVertexArrayMultiTexCoordOffsetEXT = NULL;
- PFNGLVERTEXARRAYNORMALOFFSETEXTPROC __glewVertexArrayNormalOffsetEXT = NULL;
- PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC __glewVertexArraySecondaryColorOffsetEXT = NULL;
- PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC __glewVertexArrayTexCoordOffsetEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC __glewVertexArrayVertexAttribDivisorEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC __glewVertexArrayVertexAttribIOffsetEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC __glewVertexArrayVertexAttribOffsetEXT = NULL;
- PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC __glewVertexArrayVertexOffsetEXT = NULL;
- PFNGLDISCARDFRAMEBUFFEREXTPROC __glewDiscardFramebufferEXT = NULL;
- PFNGLDRAWBUFFERSEXTPROC __glewDrawBuffersEXT = NULL;
- PFNGLCOLORMASKINDEXEDEXTPROC __glewColorMaskIndexedEXT = NULL;
- PFNGLDISABLEINDEXEDEXTPROC __glewDisableIndexedEXT = NULL;
- PFNGLENABLEINDEXEDEXTPROC __glewEnableIndexedEXT = NULL;
- PFNGLGETBOOLEANINDEXEDVEXTPROC __glewGetBooleanIndexedvEXT = NULL;
- PFNGLGETINTEGERINDEXEDVEXTPROC __glewGetIntegerIndexedvEXT = NULL;
- PFNGLISENABLEDINDEXEDEXTPROC __glewIsEnabledIndexedEXT = NULL;
- PFNGLBLENDEQUATIONSEPARATEIEXTPROC __glewBlendEquationSeparateiEXT = NULL;
- PFNGLBLENDEQUATIONIEXTPROC __glewBlendEquationiEXT = NULL;
- PFNGLBLENDFUNCSEPARATEIEXTPROC __glewBlendFuncSeparateiEXT = NULL;
- PFNGLBLENDFUNCIEXTPROC __glewBlendFunciEXT = NULL;
- PFNGLCOLORMASKIEXTPROC __glewColorMaskiEXT = NULL;
- PFNGLDISABLEIEXTPROC __glewDisableiEXT = NULL;
- PFNGLENABLEIEXTPROC __glewEnableiEXT = NULL;
- PFNGLISENABLEDIEXTPROC __glewIsEnablediEXT = NULL;
- PFNGLDRAWELEMENTSBASEVERTEXEXTPROC __glewDrawElementsBaseVertexEXT = NULL;
- PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC __glewDrawElementsInstancedBaseVertexEXT = NULL;
- PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC __glewDrawRangeElementsBaseVertexEXT = NULL;
- PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC __glewMultiDrawElementsBaseVertexEXT = NULL;
- PFNGLDRAWARRAYSINSTANCEDEXTPROC __glewDrawArraysInstancedEXT = NULL;
- PFNGLDRAWELEMENTSINSTANCEDEXTPROC __glewDrawElementsInstancedEXT = NULL;
- PFNGLDRAWRANGEELEMENTSEXTPROC __glewDrawRangeElementsEXT = NULL;
- PFNGLBUFFERSTORAGEEXTERNALEXTPROC __glewBufferStorageExternalEXT = NULL;
- PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC __glewNamedBufferStorageExternalEXT = NULL;
- PFNGLFOGCOORDPOINTEREXTPROC __glewFogCoordPointerEXT = NULL;
- PFNGLFOGCOORDDEXTPROC __glewFogCoorddEXT = NULL;
- PFNGLFOGCOORDDVEXTPROC __glewFogCoorddvEXT = NULL;
- PFNGLFOGCOORDFEXTPROC __glewFogCoordfEXT = NULL;
- PFNGLFOGCOORDFVEXTPROC __glewFogCoordfvEXT = NULL;
- PFNGLFRAGMENTCOLORMATERIALEXTPROC __glewFragmentColorMaterialEXT = NULL;
- PFNGLFRAGMENTLIGHTMODELFEXTPROC __glewFragmentLightModelfEXT = NULL;
- PFNGLFRAGMENTLIGHTMODELFVEXTPROC __glewFragmentLightModelfvEXT = NULL;
- PFNGLFRAGMENTLIGHTMODELIEXTPROC __glewFragmentLightModeliEXT = NULL;
- PFNGLFRAGMENTLIGHTMODELIVEXTPROC __glewFragmentLightModelivEXT = NULL;
- PFNGLFRAGMENTLIGHTFEXTPROC __glewFragmentLightfEXT = NULL;
- PFNGLFRAGMENTLIGHTFVEXTPROC __glewFragmentLightfvEXT = NULL;
- PFNGLFRAGMENTLIGHTIEXTPROC __glewFragmentLightiEXT = NULL;
- PFNGLFRAGMENTLIGHTIVEXTPROC __glewFragmentLightivEXT = NULL;
- PFNGLFRAGMENTMATERIALFEXTPROC __glewFragmentMaterialfEXT = NULL;
- PFNGLFRAGMENTMATERIALFVEXTPROC __glewFragmentMaterialfvEXT = NULL;
- PFNGLFRAGMENTMATERIALIEXTPROC __glewFragmentMaterialiEXT = NULL;
- PFNGLFRAGMENTMATERIALIVEXTPROC __glewFragmentMaterialivEXT = NULL;
- PFNGLGETFRAGMENTLIGHTFVEXTPROC __glewGetFragmentLightfvEXT = NULL;
- PFNGLGETFRAGMENTLIGHTIVEXTPROC __glewGetFragmentLightivEXT = NULL;
- PFNGLGETFRAGMENTMATERIALFVEXTPROC __glewGetFragmentMaterialfvEXT = NULL;
- PFNGLGETFRAGMENTMATERIALIVEXTPROC __glewGetFragmentMaterialivEXT = NULL;
- PFNGLLIGHTENVIEXTPROC __glewLightEnviEXT = NULL;
- PFNGLBLITFRAMEBUFFEREXTPROC __glewBlitFramebufferEXT = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC __glewRenderbufferStorageMultisampleEXT = NULL;
- PFNGLBINDFRAMEBUFFEREXTPROC __glewBindFramebufferEXT = NULL;
- PFNGLBINDRENDERBUFFEREXTPROC __glewBindRenderbufferEXT = NULL;
- PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC __glewCheckFramebufferStatusEXT = NULL;
- PFNGLDELETEFRAMEBUFFERSEXTPROC __glewDeleteFramebuffersEXT = NULL;
- PFNGLDELETERENDERBUFFERSEXTPROC __glewDeleteRenderbuffersEXT = NULL;
- PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC __glewFramebufferRenderbufferEXT = NULL;
- PFNGLFRAMEBUFFERTEXTURE1DEXTPROC __glewFramebufferTexture1DEXT = NULL;
- PFNGLFRAMEBUFFERTEXTURE2DEXTPROC __glewFramebufferTexture2DEXT = NULL;
- PFNGLFRAMEBUFFERTEXTURE3DEXTPROC __glewFramebufferTexture3DEXT = NULL;
- PFNGLGENFRAMEBUFFERSEXTPROC __glewGenFramebuffersEXT = NULL;
- PFNGLGENRENDERBUFFERSEXTPROC __glewGenRenderbuffersEXT = NULL;
- PFNGLGENERATEMIPMAPEXTPROC __glewGenerateMipmapEXT = NULL;
- PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC __glewGetFramebufferAttachmentParameterivEXT = NULL;
- PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC __glewGetRenderbufferParameterivEXT = NULL;
- PFNGLISFRAMEBUFFEREXTPROC __glewIsFramebufferEXT = NULL;
- PFNGLISRENDERBUFFEREXTPROC __glewIsRenderbufferEXT = NULL;
- PFNGLRENDERBUFFERSTORAGEEXTPROC __glewRenderbufferStorageEXT = NULL;
- PFNGLFRAMEBUFFERTEXTUREEXTPROC __glewFramebufferTextureEXT = NULL;
- PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC __glewFramebufferTextureFaceEXT = NULL;
- PFNGLPROGRAMPARAMETERIEXTPROC __glewProgramParameteriEXT = NULL;
- PFNGLPROGRAMENVPARAMETERS4FVEXTPROC __glewProgramEnvParameters4fvEXT = NULL;
- PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC __glewProgramLocalParameters4fvEXT = NULL;
- PFNGLBINDFRAGDATALOCATIONEXTPROC __glewBindFragDataLocationEXT = NULL;
- PFNGLGETFRAGDATALOCATIONEXTPROC __glewGetFragDataLocationEXT = NULL;
- PFNGLGETUNIFORMUIVEXTPROC __glewGetUniformuivEXT = NULL;
- PFNGLGETVERTEXATTRIBIIVEXTPROC __glewGetVertexAttribIivEXT = NULL;
- PFNGLGETVERTEXATTRIBIUIVEXTPROC __glewGetVertexAttribIuivEXT = NULL;
- PFNGLUNIFORM1UIEXTPROC __glewUniform1uiEXT = NULL;
- PFNGLUNIFORM1UIVEXTPROC __glewUniform1uivEXT = NULL;
- PFNGLUNIFORM2UIEXTPROC __glewUniform2uiEXT = NULL;
- PFNGLUNIFORM2UIVEXTPROC __glewUniform2uivEXT = NULL;
- PFNGLUNIFORM3UIEXTPROC __glewUniform3uiEXT = NULL;
- PFNGLUNIFORM3UIVEXTPROC __glewUniform3uivEXT = NULL;
- PFNGLUNIFORM4UIEXTPROC __glewUniform4uiEXT = NULL;
- PFNGLUNIFORM4UIVEXTPROC __glewUniform4uivEXT = NULL;
- PFNGLVERTEXATTRIBI1IEXTPROC __glewVertexAttribI1iEXT = NULL;
- PFNGLVERTEXATTRIBI1IVEXTPROC __glewVertexAttribI1ivEXT = NULL;
- PFNGLVERTEXATTRIBI1UIEXTPROC __glewVertexAttribI1uiEXT = NULL;
- PFNGLVERTEXATTRIBI1UIVEXTPROC __glewVertexAttribI1uivEXT = NULL;
- PFNGLVERTEXATTRIBI2IEXTPROC __glewVertexAttribI2iEXT = NULL;
- PFNGLVERTEXATTRIBI2IVEXTPROC __glewVertexAttribI2ivEXT = NULL;
- PFNGLVERTEXATTRIBI2UIEXTPROC __glewVertexAttribI2uiEXT = NULL;
- PFNGLVERTEXATTRIBI2UIVEXTPROC __glewVertexAttribI2uivEXT = NULL;
- PFNGLVERTEXATTRIBI3IEXTPROC __glewVertexAttribI3iEXT = NULL;
- PFNGLVERTEXATTRIBI3IVEXTPROC __glewVertexAttribI3ivEXT = NULL;
- PFNGLVERTEXATTRIBI3UIEXTPROC __glewVertexAttribI3uiEXT = NULL;
- PFNGLVERTEXATTRIBI3UIVEXTPROC __glewVertexAttribI3uivEXT = NULL;
- PFNGLVERTEXATTRIBI4BVEXTPROC __glewVertexAttribI4bvEXT = NULL;
- PFNGLVERTEXATTRIBI4IEXTPROC __glewVertexAttribI4iEXT = NULL;
- PFNGLVERTEXATTRIBI4IVEXTPROC __glewVertexAttribI4ivEXT = NULL;
- PFNGLVERTEXATTRIBI4SVEXTPROC __glewVertexAttribI4svEXT = NULL;
- PFNGLVERTEXATTRIBI4UBVEXTPROC __glewVertexAttribI4ubvEXT = NULL;
- PFNGLVERTEXATTRIBI4UIEXTPROC __glewVertexAttribI4uiEXT = NULL;
- PFNGLVERTEXATTRIBI4UIVEXTPROC __glewVertexAttribI4uivEXT = NULL;
- PFNGLVERTEXATTRIBI4USVEXTPROC __glewVertexAttribI4usvEXT = NULL;
- PFNGLVERTEXATTRIBIPOINTEREXTPROC __glewVertexAttribIPointerEXT = NULL;
- PFNGLGETHISTOGRAMEXTPROC __glewGetHistogramEXT = NULL;
- PFNGLGETHISTOGRAMPARAMETERFVEXTPROC __glewGetHistogramParameterfvEXT = NULL;
- PFNGLGETHISTOGRAMPARAMETERIVEXTPROC __glewGetHistogramParameterivEXT = NULL;
- PFNGLGETMINMAXEXTPROC __glewGetMinmaxEXT = NULL;
- PFNGLGETMINMAXPARAMETERFVEXTPROC __glewGetMinmaxParameterfvEXT = NULL;
- PFNGLGETMINMAXPARAMETERIVEXTPROC __glewGetMinmaxParameterivEXT = NULL;
- PFNGLHISTOGRAMEXTPROC __glewHistogramEXT = NULL;
- PFNGLMINMAXEXTPROC __glewMinmaxEXT = NULL;
- PFNGLRESETHISTOGRAMEXTPROC __glewResetHistogramEXT = NULL;
- PFNGLRESETMINMAXEXTPROC __glewResetMinmaxEXT = NULL;
- PFNGLINDEXFUNCEXTPROC __glewIndexFuncEXT = NULL;
- PFNGLINDEXMATERIALEXTPROC __glewIndexMaterialEXT = NULL;
- PFNGLVERTEXATTRIBDIVISOREXTPROC __glewVertexAttribDivisorEXT = NULL;
- PFNGLAPPLYTEXTUREEXTPROC __glewApplyTextureEXT = NULL;
- PFNGLTEXTURELIGHTEXTPROC __glewTextureLightEXT = NULL;
- PFNGLTEXTUREMATERIALEXTPROC __glewTextureMaterialEXT = NULL;
- PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC __glewFlushMappedBufferRangeEXT = NULL;
- PFNGLMAPBUFFERRANGEEXTPROC __glewMapBufferRangeEXT = NULL;
- PFNGLBUFFERSTORAGEMEMEXTPROC __glewBufferStorageMemEXT = NULL;
- PFNGLCREATEMEMORYOBJECTSEXTPROC __glewCreateMemoryObjectsEXT = NULL;
- PFNGLDELETEMEMORYOBJECTSEXTPROC __glewDeleteMemoryObjectsEXT = NULL;
- PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC __glewGetMemoryObjectParameterivEXT = NULL;
- PFNGLGETUNSIGNEDBYTEI_VEXTPROC __glewGetUnsignedBytei_vEXT = NULL;
- PFNGLGETUNSIGNEDBYTEVEXTPROC __glewGetUnsignedBytevEXT = NULL;
- PFNGLISMEMORYOBJECTEXTPROC __glewIsMemoryObjectEXT = NULL;
- PFNGLMEMORYOBJECTPARAMETERIVEXTPROC __glewMemoryObjectParameterivEXT = NULL;
- PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC __glewNamedBufferStorageMemEXT = NULL;
- PFNGLTEXSTORAGEMEM1DEXTPROC __glewTexStorageMem1DEXT = NULL;
- PFNGLTEXSTORAGEMEM2DEXTPROC __glewTexStorageMem2DEXT = NULL;
- PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC __glewTexStorageMem2DMultisampleEXT = NULL;
- PFNGLTEXSTORAGEMEM3DEXTPROC __glewTexStorageMem3DEXT = NULL;
- PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC __glewTexStorageMem3DMultisampleEXT = NULL;
- PFNGLTEXTURESTORAGEMEM1DEXTPROC __glewTextureStorageMem1DEXT = NULL;
- PFNGLTEXTURESTORAGEMEM2DEXTPROC __glewTextureStorageMem2DEXT = NULL;
- PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC __glewTextureStorageMem2DMultisampleEXT = NULL;
- PFNGLTEXTURESTORAGEMEM3DEXTPROC __glewTextureStorageMem3DEXT = NULL;
- PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC __glewTextureStorageMem3DMultisampleEXT = NULL;
- PFNGLIMPORTMEMORYFDEXTPROC __glewImportMemoryFdEXT = NULL;
- PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC __glewImportMemoryWin32HandleEXT = NULL;
- PFNGLIMPORTMEMORYWIN32NAMEEXTPROC __glewImportMemoryWin32NameEXT = NULL;
- PFNGLMULTIDRAWARRAYSEXTPROC __glewMultiDrawArraysEXT = NULL;
- PFNGLMULTIDRAWELEMENTSEXTPROC __glewMultiDrawElementsEXT = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC __glewMultiDrawArraysIndirectEXT = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC __glewMultiDrawElementsIndirectEXT = NULL;
- PFNGLSAMPLEMASKEXTPROC __glewSampleMaskEXT = NULL;
- PFNGLSAMPLEPATTERNEXTPROC __glewSamplePatternEXT = NULL;
- PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC __glewFramebufferTexture2DMultisampleEXT = NULL;
- PFNGLDRAWBUFFERSINDEXEDEXTPROC __glewDrawBuffersIndexedEXT = NULL;
- PFNGLGETINTEGERI_VEXTPROC __glewGetIntegeri_vEXT = NULL;
- PFNGLREADBUFFERINDEXEDEXTPROC __glewReadBufferIndexedEXT = NULL;
- PFNGLCOLORTABLEEXTPROC __glewColorTableEXT = NULL;
- PFNGLGETCOLORTABLEEXTPROC __glewGetColorTableEXT = NULL;
- PFNGLGETCOLORTABLEPARAMETERFVEXTPROC __glewGetColorTableParameterfvEXT = NULL;
- PFNGLGETCOLORTABLEPARAMETERIVEXTPROC __glewGetColorTableParameterivEXT = NULL;
- PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC __glewGetPixelTransformParameterfvEXT = NULL;
- PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC __glewGetPixelTransformParameterivEXT = NULL;
- PFNGLPIXELTRANSFORMPARAMETERFEXTPROC __glewPixelTransformParameterfEXT = NULL;
- PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC __glewPixelTransformParameterfvEXT = NULL;
- PFNGLPIXELTRANSFORMPARAMETERIEXTPROC __glewPixelTransformParameteriEXT = NULL;
- PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC __glewPixelTransformParameterivEXT = NULL;
- PFNGLPOINTPARAMETERFEXTPROC __glewPointParameterfEXT = NULL;
- PFNGLPOINTPARAMETERFVEXTPROC __glewPointParameterfvEXT = NULL;
- PFNGLPOLYGONOFFSETEXTPROC __glewPolygonOffsetEXT = NULL;
- PFNGLPOLYGONOFFSETCLAMPEXTPROC __glewPolygonOffsetClampEXT = NULL;
- PFNGLPROVOKINGVERTEXEXTPROC __glewProvokingVertexEXT = NULL;
- PFNGLCOVERAGEMODULATIONNVPROC __glewCoverageModulationNV = NULL;
- PFNGLCOVERAGEMODULATIONTABLENVPROC __glewCoverageModulationTableNV = NULL;
- PFNGLGETCOVERAGEMODULATIONTABLENVPROC __glewGetCoverageModulationTableNV = NULL;
- PFNGLRASTERSAMPLESEXTPROC __glewRasterSamplesEXT = NULL;
- PFNGLBEGINSCENEEXTPROC __glewBeginSceneEXT = NULL;
- PFNGLENDSCENEEXTPROC __glewEndSceneEXT = NULL;
- PFNGLSECONDARYCOLOR3BEXTPROC __glewSecondaryColor3bEXT = NULL;
- PFNGLSECONDARYCOLOR3BVEXTPROC __glewSecondaryColor3bvEXT = NULL;
- PFNGLSECONDARYCOLOR3DEXTPROC __glewSecondaryColor3dEXT = NULL;
- PFNGLSECONDARYCOLOR3DVEXTPROC __glewSecondaryColor3dvEXT = NULL;
- PFNGLSECONDARYCOLOR3FEXTPROC __glewSecondaryColor3fEXT = NULL;
- PFNGLSECONDARYCOLOR3FVEXTPROC __glewSecondaryColor3fvEXT = NULL;
- PFNGLSECONDARYCOLOR3IEXTPROC __glewSecondaryColor3iEXT = NULL;
- PFNGLSECONDARYCOLOR3IVEXTPROC __glewSecondaryColor3ivEXT = NULL;
- PFNGLSECONDARYCOLOR3SEXTPROC __glewSecondaryColor3sEXT = NULL;
- PFNGLSECONDARYCOLOR3SVEXTPROC __glewSecondaryColor3svEXT = NULL;
- PFNGLSECONDARYCOLOR3UBEXTPROC __glewSecondaryColor3ubEXT = NULL;
- PFNGLSECONDARYCOLOR3UBVEXTPROC __glewSecondaryColor3ubvEXT = NULL;
- PFNGLSECONDARYCOLOR3UIEXTPROC __glewSecondaryColor3uiEXT = NULL;
- PFNGLSECONDARYCOLOR3UIVEXTPROC __glewSecondaryColor3uivEXT = NULL;
- PFNGLSECONDARYCOLOR3USEXTPROC __glewSecondaryColor3usEXT = NULL;
- PFNGLSECONDARYCOLOR3USVEXTPROC __glewSecondaryColor3usvEXT = NULL;
- PFNGLSECONDARYCOLORPOINTEREXTPROC __glewSecondaryColorPointerEXT = NULL;
- PFNGLDELETESEMAPHORESEXTPROC __glewDeleteSemaphoresEXT = NULL;
- PFNGLGENSEMAPHORESEXTPROC __glewGenSemaphoresEXT = NULL;
- PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC __glewGetSemaphoreParameterui64vEXT = NULL;
- PFNGLISSEMAPHOREEXTPROC __glewIsSemaphoreEXT = NULL;
- PFNGLSEMAPHOREPARAMETERUI64VEXTPROC __glewSemaphoreParameterui64vEXT = NULL;
- PFNGLSIGNALSEMAPHOREEXTPROC __glewSignalSemaphoreEXT = NULL;
- PFNGLWAITSEMAPHOREEXTPROC __glewWaitSemaphoreEXT = NULL;
- PFNGLIMPORTSEMAPHOREFDEXTPROC __glewImportSemaphoreFdEXT = NULL;
- PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC __glewImportSemaphoreWin32HandleEXT = NULL;
- PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC __glewImportSemaphoreWin32NameEXT = NULL;
- PFNGLACTIVEPROGRAMEXTPROC __glewActiveProgramEXT = NULL;
- PFNGLCREATESHADERPROGRAMEXTPROC __glewCreateShaderProgramEXT = NULL;
- PFNGLUSESHADERPROGRAMEXTPROC __glewUseShaderProgramEXT = NULL;
- PFNGLBINDIMAGETEXTUREEXTPROC __glewBindImageTextureEXT = NULL;
- PFNGLMEMORYBARRIEREXTPROC __glewMemoryBarrierEXT = NULL;
- PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC __glewClearPixelLocalStorageuiEXT = NULL;
- PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC __glewFramebufferPixelLocalStorageSizeEXT = NULL;
- PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC __glewGetFramebufferPixelLocalStorageSizeEXT = NULL;
- PFNGLTEXPAGECOMMITMENTEXTPROC __glewTexPageCommitmentEXT = NULL;
- PFNGLTEXTUREPAGECOMMITMENTEXTPROC __glewTexturePageCommitmentEXT = NULL;
- PFNGLACTIVESTENCILFACEEXTPROC __glewActiveStencilFaceEXT = NULL;
- PFNGLTEXSUBIMAGE1DEXTPROC __glewTexSubImage1DEXT = NULL;
- PFNGLTEXSUBIMAGE2DEXTPROC __glewTexSubImage2DEXT = NULL;
- PFNGLTEXSUBIMAGE3DEXTPROC __glewTexSubImage3DEXT = NULL;
- PFNGLTEXIMAGE3DEXTPROC __glewTexImage3DEXT = NULL;
- PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC __glewFramebufferTextureLayerEXT = NULL;
- PFNGLTEXBUFFEREXTPROC __glewTexBufferEXT = NULL;
- PFNGLCLEARCOLORIIEXTPROC __glewClearColorIiEXT = NULL;
- PFNGLCLEARCOLORIUIEXTPROC __glewClearColorIuiEXT = NULL;
- PFNGLGETTEXPARAMETERIIVEXTPROC __glewGetTexParameterIivEXT = NULL;
- PFNGLGETTEXPARAMETERIUIVEXTPROC __glewGetTexParameterIuivEXT = NULL;
- PFNGLTEXPARAMETERIIVEXTPROC __glewTexParameterIivEXT = NULL;
- PFNGLTEXPARAMETERIUIVEXTPROC __glewTexParameterIuivEXT = NULL;
- PFNGLARETEXTURESRESIDENTEXTPROC __glewAreTexturesResidentEXT = NULL;
- PFNGLBINDTEXTUREEXTPROC __glewBindTextureEXT = NULL;
- PFNGLDELETETEXTURESEXTPROC __glewDeleteTexturesEXT = NULL;
- PFNGLGENTEXTURESEXTPROC __glewGenTexturesEXT = NULL;
- PFNGLISTEXTUREEXTPROC __glewIsTextureEXT = NULL;
- PFNGLPRIORITIZETEXTURESEXTPROC __glewPrioritizeTexturesEXT = NULL;
- PFNGLTEXTURENORMALEXTPROC __glewTextureNormalEXT = NULL;
- PFNGLTEXSTORAGE1DEXTPROC __glewTexStorage1DEXT = NULL;
- PFNGLTEXSTORAGE2DEXTPROC __glewTexStorage2DEXT = NULL;
- PFNGLTEXSTORAGE3DEXTPROC __glewTexStorage3DEXT = NULL;
- PFNGLTEXTURESTORAGE1DEXTPROC __glewTextureStorage1DEXT = NULL;
- PFNGLTEXTURESTORAGE2DEXTPROC __glewTextureStorage2DEXT = NULL;
- PFNGLTEXTURESTORAGE3DEXTPROC __glewTextureStorage3DEXT = NULL;
- PFNGLTEXTUREVIEWEXTPROC __glewTextureViewEXT = NULL;
- PFNGLGETQUERYOBJECTI64VEXTPROC __glewGetQueryObjecti64vEXT = NULL;
- PFNGLGETQUERYOBJECTUI64VEXTPROC __glewGetQueryObjectui64vEXT = NULL;
- PFNGLBEGINTRANSFORMFEEDBACKEXTPROC __glewBeginTransformFeedbackEXT = NULL;
- PFNGLBINDBUFFERBASEEXTPROC __glewBindBufferBaseEXT = NULL;
- PFNGLBINDBUFFEROFFSETEXTPROC __glewBindBufferOffsetEXT = NULL;
- PFNGLBINDBUFFERRANGEEXTPROC __glewBindBufferRangeEXT = NULL;
- PFNGLENDTRANSFORMFEEDBACKEXTPROC __glewEndTransformFeedbackEXT = NULL;
- PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC __glewGetTransformFeedbackVaryingEXT = NULL;
- PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC __glewTransformFeedbackVaryingsEXT = NULL;
- PFNGLARRAYELEMENTEXTPROC __glewArrayElementEXT = NULL;
- PFNGLCOLORPOINTEREXTPROC __glewColorPointerEXT = NULL;
- PFNGLDRAWARRAYSEXTPROC __glewDrawArraysEXT = NULL;
- PFNGLEDGEFLAGPOINTEREXTPROC __glewEdgeFlagPointerEXT = NULL;
- PFNGLINDEXPOINTEREXTPROC __glewIndexPointerEXT = NULL;
- PFNGLNORMALPOINTEREXTPROC __glewNormalPointerEXT = NULL;
- PFNGLTEXCOORDPOINTEREXTPROC __glewTexCoordPointerEXT = NULL;
- PFNGLVERTEXPOINTEREXTPROC __glewVertexPointerEXT = NULL;
- PFNGLBINDARRAYSETEXTPROC __glewBindArraySetEXT = NULL;
- PFNGLCREATEARRAYSETEXTPROC __glewCreateArraySetExt = NULL;
- PFNGLDELETEARRAYSETSEXTPROC __glewDeleteArraySetsEXT = NULL;
- PFNGLGETVERTEXATTRIBLDVEXTPROC __glewGetVertexAttribLdvEXT = NULL;
- PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC __glewVertexArrayVertexAttribLOffsetEXT = NULL;
- PFNGLVERTEXATTRIBL1DEXTPROC __glewVertexAttribL1dEXT = NULL;
- PFNGLVERTEXATTRIBL1DVEXTPROC __glewVertexAttribL1dvEXT = NULL;
- PFNGLVERTEXATTRIBL2DEXTPROC __glewVertexAttribL2dEXT = NULL;
- PFNGLVERTEXATTRIBL2DVEXTPROC __glewVertexAttribL2dvEXT = NULL;
- PFNGLVERTEXATTRIBL3DEXTPROC __glewVertexAttribL3dEXT = NULL;
- PFNGLVERTEXATTRIBL3DVEXTPROC __glewVertexAttribL3dvEXT = NULL;
- PFNGLVERTEXATTRIBL4DEXTPROC __glewVertexAttribL4dEXT = NULL;
- PFNGLVERTEXATTRIBL4DVEXTPROC __glewVertexAttribL4dvEXT = NULL;
- PFNGLVERTEXATTRIBLPOINTEREXTPROC __glewVertexAttribLPointerEXT = NULL;
- PFNGLBEGINVERTEXSHADEREXTPROC __glewBeginVertexShaderEXT = NULL;
- PFNGLBINDLIGHTPARAMETEREXTPROC __glewBindLightParameterEXT = NULL;
- PFNGLBINDMATERIALPARAMETEREXTPROC __glewBindMaterialParameterEXT = NULL;
- PFNGLBINDPARAMETEREXTPROC __glewBindParameterEXT = NULL;
- PFNGLBINDTEXGENPARAMETEREXTPROC __glewBindTexGenParameterEXT = NULL;
- PFNGLBINDTEXTUREUNITPARAMETEREXTPROC __glewBindTextureUnitParameterEXT = NULL;
- PFNGLBINDVERTEXSHADEREXTPROC __glewBindVertexShaderEXT = NULL;
- PFNGLDELETEVERTEXSHADEREXTPROC __glewDeleteVertexShaderEXT = NULL;
- PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC __glewDisableVariantClientStateEXT = NULL;
- PFNGLENABLEVARIANTCLIENTSTATEEXTPROC __glewEnableVariantClientStateEXT = NULL;
- PFNGLENDVERTEXSHADEREXTPROC __glewEndVertexShaderEXT = NULL;
- PFNGLEXTRACTCOMPONENTEXTPROC __glewExtractComponentEXT = NULL;
- PFNGLGENSYMBOLSEXTPROC __glewGenSymbolsEXT = NULL;
- PFNGLGENVERTEXSHADERSEXTPROC __glewGenVertexShadersEXT = NULL;
- PFNGLGETINVARIANTBOOLEANVEXTPROC __glewGetInvariantBooleanvEXT = NULL;
- PFNGLGETINVARIANTFLOATVEXTPROC __glewGetInvariantFloatvEXT = NULL;
- PFNGLGETINVARIANTINTEGERVEXTPROC __glewGetInvariantIntegervEXT = NULL;
- PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC __glewGetLocalConstantBooleanvEXT = NULL;
- PFNGLGETLOCALCONSTANTFLOATVEXTPROC __glewGetLocalConstantFloatvEXT = NULL;
- PFNGLGETLOCALCONSTANTINTEGERVEXTPROC __glewGetLocalConstantIntegervEXT = NULL;
- PFNGLGETVARIANTBOOLEANVEXTPROC __glewGetVariantBooleanvEXT = NULL;
- PFNGLGETVARIANTFLOATVEXTPROC __glewGetVariantFloatvEXT = NULL;
- PFNGLGETVARIANTINTEGERVEXTPROC __glewGetVariantIntegervEXT = NULL;
- PFNGLGETVARIANTPOINTERVEXTPROC __glewGetVariantPointervEXT = NULL;
- PFNGLINSERTCOMPONENTEXTPROC __glewInsertComponentEXT = NULL;
- PFNGLISVARIANTENABLEDEXTPROC __glewIsVariantEnabledEXT = NULL;
- PFNGLSETINVARIANTEXTPROC __glewSetInvariantEXT = NULL;
- PFNGLSETLOCALCONSTANTEXTPROC __glewSetLocalConstantEXT = NULL;
- PFNGLSHADEROP1EXTPROC __glewShaderOp1EXT = NULL;
- PFNGLSHADEROP2EXTPROC __glewShaderOp2EXT = NULL;
- PFNGLSHADEROP3EXTPROC __glewShaderOp3EXT = NULL;
- PFNGLSWIZZLEEXTPROC __glewSwizzleEXT = NULL;
- PFNGLVARIANTPOINTEREXTPROC __glewVariantPointerEXT = NULL;
- PFNGLVARIANTBVEXTPROC __glewVariantbvEXT = NULL;
- PFNGLVARIANTDVEXTPROC __glewVariantdvEXT = NULL;
- PFNGLVARIANTFVEXTPROC __glewVariantfvEXT = NULL;
- PFNGLVARIANTIVEXTPROC __glewVariantivEXT = NULL;
- PFNGLVARIANTSVEXTPROC __glewVariantsvEXT = NULL;
- PFNGLVARIANTUBVEXTPROC __glewVariantubvEXT = NULL;
- PFNGLVARIANTUIVEXTPROC __glewVariantuivEXT = NULL;
- PFNGLVARIANTUSVEXTPROC __glewVariantusvEXT = NULL;
- PFNGLWRITEMASKEXTPROC __glewWriteMaskEXT = NULL;
- PFNGLVERTEXWEIGHTPOINTEREXTPROC __glewVertexWeightPointerEXT = NULL;
- PFNGLVERTEXWEIGHTFEXTPROC __glewVertexWeightfEXT = NULL;
- PFNGLVERTEXWEIGHTFVEXTPROC __glewVertexWeightfvEXT = NULL;
- PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC __glewAcquireKeyedMutexWin32EXT = NULL;
- PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC __glewReleaseKeyedMutexWin32EXT = NULL;
- PFNGLWINDOWRECTANGLESEXTPROC __glewWindowRectanglesEXT = NULL;
- PFNGLIMPORTSYNCEXTPROC __glewImportSyncEXT = NULL;
- PFNGLFRAMETERMINATORGREMEDYPROC __glewFrameTerminatorGREMEDY = NULL;
- PFNGLSTRINGMARKERGREMEDYPROC __glewStringMarkerGREMEDY = NULL;
- PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC __glewGetImageTransformParameterfvHP = NULL;
- PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC __glewGetImageTransformParameterivHP = NULL;
- PFNGLIMAGETRANSFORMPARAMETERFHPPROC __glewImageTransformParameterfHP = NULL;
- PFNGLIMAGETRANSFORMPARAMETERFVHPPROC __glewImageTransformParameterfvHP = NULL;
- PFNGLIMAGETRANSFORMPARAMETERIHPPROC __glewImageTransformParameteriHP = NULL;
- PFNGLIMAGETRANSFORMPARAMETERIVHPPROC __glewImageTransformParameterivHP = NULL;
- PFNGLMULTIMODEDRAWARRAYSIBMPROC __glewMultiModeDrawArraysIBM = NULL;
- PFNGLMULTIMODEDRAWELEMENTSIBMPROC __glewMultiModeDrawElementsIBM = NULL;
- PFNGLCOLORPOINTERLISTIBMPROC __glewColorPointerListIBM = NULL;
- PFNGLEDGEFLAGPOINTERLISTIBMPROC __glewEdgeFlagPointerListIBM = NULL;
- PFNGLFOGCOORDPOINTERLISTIBMPROC __glewFogCoordPointerListIBM = NULL;
- PFNGLINDEXPOINTERLISTIBMPROC __glewIndexPointerListIBM = NULL;
- PFNGLNORMALPOINTERLISTIBMPROC __glewNormalPointerListIBM = NULL;
- PFNGLSECONDARYCOLORPOINTERLISTIBMPROC __glewSecondaryColorPointerListIBM = NULL;
- PFNGLTEXCOORDPOINTERLISTIBMPROC __glewTexCoordPointerListIBM = NULL;
- PFNGLVERTEXPOINTERLISTIBMPROC __glewVertexPointerListIBM = NULL;
- PFNGLMAPTEXTURE2DINTELPROC __glewMapTexture2DINTEL = NULL;
- PFNGLSYNCTEXTUREINTELPROC __glewSyncTextureINTEL = NULL;
- PFNGLUNMAPTEXTURE2DINTELPROC __glewUnmapTexture2DINTEL = NULL;
- PFNGLCOLORPOINTERVINTELPROC __glewColorPointervINTEL = NULL;
- PFNGLNORMALPOINTERVINTELPROC __glewNormalPointervINTEL = NULL;
- PFNGLTEXCOORDPOINTERVINTELPROC __glewTexCoordPointervINTEL = NULL;
- PFNGLVERTEXPOINTERVINTELPROC __glewVertexPointervINTEL = NULL;
- PFNGLBEGINPERFQUERYINTELPROC __glewBeginPerfQueryINTEL = NULL;
- PFNGLCREATEPERFQUERYINTELPROC __glewCreatePerfQueryINTEL = NULL;
- PFNGLDELETEPERFQUERYINTELPROC __glewDeletePerfQueryINTEL = NULL;
- PFNGLENDPERFQUERYINTELPROC __glewEndPerfQueryINTEL = NULL;
- PFNGLGETFIRSTPERFQUERYIDINTELPROC __glewGetFirstPerfQueryIdINTEL = NULL;
- PFNGLGETNEXTPERFQUERYIDINTELPROC __glewGetNextPerfQueryIdINTEL = NULL;
- PFNGLGETPERFCOUNTERINFOINTELPROC __glewGetPerfCounterInfoINTEL = NULL;
- PFNGLGETPERFQUERYDATAINTELPROC __glewGetPerfQueryDataINTEL = NULL;
- PFNGLGETPERFQUERYIDBYNAMEINTELPROC __glewGetPerfQueryIdByNameINTEL = NULL;
- PFNGLGETPERFQUERYINFOINTELPROC __glewGetPerfQueryInfoINTEL = NULL;
- PFNGLTEXSCISSORFUNCINTELPROC __glewTexScissorFuncINTEL = NULL;
- PFNGLTEXSCISSORINTELPROC __glewTexScissorINTEL = NULL;
- PFNGLBLENDBARRIERKHRPROC __glewBlendBarrierKHR = NULL;
- PFNGLDEBUGMESSAGECALLBACKPROC __glewDebugMessageCallback = NULL;
- PFNGLDEBUGMESSAGECONTROLPROC __glewDebugMessageControl = NULL;
- PFNGLDEBUGMESSAGEINSERTPROC __glewDebugMessageInsert = NULL;
- PFNGLGETDEBUGMESSAGELOGPROC __glewGetDebugMessageLog = NULL;
- PFNGLGETOBJECTLABELPROC __glewGetObjectLabel = NULL;
- PFNGLGETOBJECTPTRLABELPROC __glewGetObjectPtrLabel = NULL;
- PFNGLOBJECTLABELPROC __glewObjectLabel = NULL;
- PFNGLOBJECTPTRLABELPROC __glewObjectPtrLabel = NULL;
- PFNGLPOPDEBUGGROUPPROC __glewPopDebugGroup = NULL;
- PFNGLPUSHDEBUGGROUPPROC __glewPushDebugGroup = NULL;
- PFNGLMAXSHADERCOMPILERTHREADSKHRPROC __glewMaxShaderCompilerThreadsKHR = NULL;
- PFNGLGETNUNIFORMFVPROC __glewGetnUniformfv = NULL;
- PFNGLGETNUNIFORMIVPROC __glewGetnUniformiv = NULL;
- PFNGLGETNUNIFORMUIVPROC __glewGetnUniformuiv = NULL;
- PFNGLREADNPIXELSPROC __glewReadnPixels = NULL;
- PFNGLBUFFERREGIONENABLEDPROC __glewBufferRegionEnabled = NULL;
- PFNGLDELETEBUFFERREGIONPROC __glewDeleteBufferRegion = NULL;
- PFNGLDRAWBUFFERREGIONPROC __glewDrawBufferRegion = NULL;
- PFNGLNEWBUFFERREGIONPROC __glewNewBufferRegion = NULL;
- PFNGLREADBUFFERREGIONPROC __glewReadBufferRegion = NULL;
- PFNGLRESIZEBUFFERSMESAPROC __glewResizeBuffersMESA = NULL;
- PFNGLWINDOWPOS2DMESAPROC __glewWindowPos2dMESA = NULL;
- PFNGLWINDOWPOS2DVMESAPROC __glewWindowPos2dvMESA = NULL;
- PFNGLWINDOWPOS2FMESAPROC __glewWindowPos2fMESA = NULL;
- PFNGLWINDOWPOS2FVMESAPROC __glewWindowPos2fvMESA = NULL;
- PFNGLWINDOWPOS2IMESAPROC __glewWindowPos2iMESA = NULL;
- PFNGLWINDOWPOS2IVMESAPROC __glewWindowPos2ivMESA = NULL;
- PFNGLWINDOWPOS2SMESAPROC __glewWindowPos2sMESA = NULL;
- PFNGLWINDOWPOS2SVMESAPROC __glewWindowPos2svMESA = NULL;
- PFNGLWINDOWPOS3DMESAPROC __glewWindowPos3dMESA = NULL;
- PFNGLWINDOWPOS3DVMESAPROC __glewWindowPos3dvMESA = NULL;
- PFNGLWINDOWPOS3FMESAPROC __glewWindowPos3fMESA = NULL;
- PFNGLWINDOWPOS3FVMESAPROC __glewWindowPos3fvMESA = NULL;
- PFNGLWINDOWPOS3IMESAPROC __glewWindowPos3iMESA = NULL;
- PFNGLWINDOWPOS3IVMESAPROC __glewWindowPos3ivMESA = NULL;
- PFNGLWINDOWPOS3SMESAPROC __glewWindowPos3sMESA = NULL;
- PFNGLWINDOWPOS3SVMESAPROC __glewWindowPos3svMESA = NULL;
- PFNGLWINDOWPOS4DMESAPROC __glewWindowPos4dMESA = NULL;
- PFNGLWINDOWPOS4DVMESAPROC __glewWindowPos4dvMESA = NULL;
- PFNGLWINDOWPOS4FMESAPROC __glewWindowPos4fMESA = NULL;
- PFNGLWINDOWPOS4FVMESAPROC __glewWindowPos4fvMESA = NULL;
- PFNGLWINDOWPOS4IMESAPROC __glewWindowPos4iMESA = NULL;
- PFNGLWINDOWPOS4IVMESAPROC __glewWindowPos4ivMESA = NULL;
- PFNGLWINDOWPOS4SMESAPROC __glewWindowPos4sMESA = NULL;
- PFNGLWINDOWPOS4SVMESAPROC __glewWindowPos4svMESA = NULL;
- PFNGLBEGINCONDITIONALRENDERNVXPROC __glewBeginConditionalRenderNVX = NULL;
- PFNGLENDCONDITIONALRENDERNVXPROC __glewEndConditionalRenderNVX = NULL;
- PFNGLLGPUCOPYIMAGESUBDATANVXPROC __glewLGPUCopyImageSubDataNVX = NULL;
- PFNGLLGPUINTERLOCKNVXPROC __glewLGPUInterlockNVX = NULL;
- PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC __glewLGPUNamedBufferSubDataNVX = NULL;
- PFNGLSTEREOPARAMETERFNVPROC __glewStereoParameterfNV = NULL;
- PFNGLSTEREOPARAMETERINVPROC __glewStereoParameteriNV = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC __glewMultiDrawArraysIndirectBindlessNV = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC __glewMultiDrawElementsIndirectBindlessNV = NULL;
- PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC __glewMultiDrawArraysIndirectBindlessCountNV = NULL;
- PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC __glewMultiDrawElementsIndirectBindlessCountNV = NULL;
- PFNGLGETIMAGEHANDLENVPROC __glewGetImageHandleNV = NULL;
- PFNGLGETTEXTUREHANDLENVPROC __glewGetTextureHandleNV = NULL;
- PFNGLGETTEXTURESAMPLERHANDLENVPROC __glewGetTextureSamplerHandleNV = NULL;
- PFNGLISIMAGEHANDLERESIDENTNVPROC __glewIsImageHandleResidentNV = NULL;
- PFNGLISTEXTUREHANDLERESIDENTNVPROC __glewIsTextureHandleResidentNV = NULL;
- PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC __glewMakeImageHandleNonResidentNV = NULL;
- PFNGLMAKEIMAGEHANDLERESIDENTNVPROC __glewMakeImageHandleResidentNV = NULL;
- PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC __glewMakeTextureHandleNonResidentNV = NULL;
- PFNGLMAKETEXTUREHANDLERESIDENTNVPROC __glewMakeTextureHandleResidentNV = NULL;
- PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC __glewProgramUniformHandleui64NV = NULL;
- PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC __glewProgramUniformHandleui64vNV = NULL;
- PFNGLUNIFORMHANDLEUI64NVPROC __glewUniformHandleui64NV = NULL;
- PFNGLUNIFORMHANDLEUI64VNVPROC __glewUniformHandleui64vNV = NULL;
- PFNGLBLENDBARRIERNVPROC __glewBlendBarrierNV = NULL;
- PFNGLBLENDPARAMETERINVPROC __glewBlendParameteriNV = NULL;
- PFNGLVIEWPORTPOSITIONWSCALENVPROC __glewViewportPositionWScaleNV = NULL;
- PFNGLCALLCOMMANDLISTNVPROC __glewCallCommandListNV = NULL;
- PFNGLCOMMANDLISTSEGMENTSNVPROC __glewCommandListSegmentsNV = NULL;
- PFNGLCOMPILECOMMANDLISTNVPROC __glewCompileCommandListNV = NULL;
- PFNGLCREATECOMMANDLISTSNVPROC __glewCreateCommandListsNV = NULL;
- PFNGLCREATESTATESNVPROC __glewCreateStatesNV = NULL;
- PFNGLDELETECOMMANDLISTSNVPROC __glewDeleteCommandListsNV = NULL;
- PFNGLDELETESTATESNVPROC __glewDeleteStatesNV = NULL;
- PFNGLDRAWCOMMANDSADDRESSNVPROC __glewDrawCommandsAddressNV = NULL;
- PFNGLDRAWCOMMANDSNVPROC __glewDrawCommandsNV = NULL;
- PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC __glewDrawCommandsStatesAddressNV = NULL;
- PFNGLDRAWCOMMANDSSTATESNVPROC __glewDrawCommandsStatesNV = NULL;
- PFNGLGETCOMMANDHEADERNVPROC __glewGetCommandHeaderNV = NULL;
- PFNGLGETSTAGEINDEXNVPROC __glewGetStageIndexNV = NULL;
- PFNGLISCOMMANDLISTNVPROC __glewIsCommandListNV = NULL;
- PFNGLISSTATENVPROC __glewIsStateNV = NULL;
- PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC __glewListDrawCommandsStatesClientNV = NULL;
- PFNGLSTATECAPTURENVPROC __glewStateCaptureNV = NULL;
- PFNGLBEGINCONDITIONALRENDERNVPROC __glewBeginConditionalRenderNV = NULL;
- PFNGLENDCONDITIONALRENDERNVPROC __glewEndConditionalRenderNV = NULL;
- PFNGLSUBPIXELPRECISIONBIASNVPROC __glewSubpixelPrecisionBiasNV = NULL;
- PFNGLCONSERVATIVERASTERPARAMETERFNVPROC __glewConservativeRasterParameterfNV = NULL;
- PFNGLCONSERVATIVERASTERPARAMETERINVPROC __glewConservativeRasterParameteriNV = NULL;
- PFNGLCOPYBUFFERSUBDATANVPROC __glewCopyBufferSubDataNV = NULL;
- PFNGLCOPYIMAGESUBDATANVPROC __glewCopyImageSubDataNV = NULL;
- PFNGLCLEARDEPTHDNVPROC __glewClearDepthdNV = NULL;
- PFNGLDEPTHBOUNDSDNVPROC __glewDepthBoundsdNV = NULL;
- PFNGLDEPTHRANGEDNVPROC __glewDepthRangedNV = NULL;
- PFNGLDRAWBUFFERSNVPROC __glewDrawBuffersNV = NULL;
- PFNGLDRAWARRAYSINSTANCEDNVPROC __glewDrawArraysInstancedNV = NULL;
- PFNGLDRAWELEMENTSINSTANCEDNVPROC __glewDrawElementsInstancedNV = NULL;
- PFNGLDRAWTEXTURENVPROC __glewDrawTextureNV = NULL;
- PFNGLDRAWVKIMAGENVPROC __glewDrawVkImageNV = NULL;
- PFNGLGETVKPROCADDRNVPROC __glewGetVkProcAddrNV = NULL;
- PFNGLSIGNALVKFENCENVPROC __glewSignalVkFenceNV = NULL;
- PFNGLSIGNALVKSEMAPHORENVPROC __glewSignalVkSemaphoreNV = NULL;
- PFNGLWAITVKSEMAPHORENVPROC __glewWaitVkSemaphoreNV = NULL;
- PFNGLEVALMAPSNVPROC __glewEvalMapsNV = NULL;
- PFNGLGETMAPATTRIBPARAMETERFVNVPROC __glewGetMapAttribParameterfvNV = NULL;
- PFNGLGETMAPATTRIBPARAMETERIVNVPROC __glewGetMapAttribParameterivNV = NULL;
- PFNGLGETMAPCONTROLPOINTSNVPROC __glewGetMapControlPointsNV = NULL;
- PFNGLGETMAPPARAMETERFVNVPROC __glewGetMapParameterfvNV = NULL;
- PFNGLGETMAPPARAMETERIVNVPROC __glewGetMapParameterivNV = NULL;
- PFNGLMAPCONTROLPOINTSNVPROC __glewMapControlPointsNV = NULL;
- PFNGLMAPPARAMETERFVNVPROC __glewMapParameterfvNV = NULL;
- PFNGLMAPPARAMETERIVNVPROC __glewMapParameterivNV = NULL;
- PFNGLGETMULTISAMPLEFVNVPROC __glewGetMultisamplefvNV = NULL;
- PFNGLSAMPLEMASKINDEXEDNVPROC __glewSampleMaskIndexedNV = NULL;
- PFNGLTEXRENDERBUFFERNVPROC __glewTexRenderbufferNV = NULL;
- PFNGLDELETEFENCESNVPROC __glewDeleteFencesNV = NULL;
- PFNGLFINISHFENCENVPROC __glewFinishFenceNV = NULL;
- PFNGLGENFENCESNVPROC __glewGenFencesNV = NULL;
- PFNGLGETFENCEIVNVPROC __glewGetFenceivNV = NULL;
- PFNGLISFENCENVPROC __glewIsFenceNV = NULL;
- PFNGLSETFENCENVPROC __glewSetFenceNV = NULL;
- PFNGLTESTFENCENVPROC __glewTestFenceNV = NULL;
- PFNGLFRAGMENTCOVERAGECOLORNVPROC __glewFragmentCoverageColorNV = NULL;
- PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC __glewGetProgramNamedParameterdvNV = NULL;
- PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC __glewGetProgramNamedParameterfvNV = NULL;
- PFNGLPROGRAMNAMEDPARAMETER4DNVPROC __glewProgramNamedParameter4dNV = NULL;
- PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC __glewProgramNamedParameter4dvNV = NULL;
- PFNGLPROGRAMNAMEDPARAMETER4FNVPROC __glewProgramNamedParameter4fNV = NULL;
- PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC __glewProgramNamedParameter4fvNV = NULL;
- PFNGLBLITFRAMEBUFFERNVPROC __glewBlitFramebufferNV = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC __glewRenderbufferStorageMultisampleNV = NULL;
- PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC __glewRenderbufferStorageMultisampleCoverageNV = NULL;
- PFNGLPROGRAMVERTEXLIMITNVPROC __glewProgramVertexLimitNV = NULL;
- PFNGLMULTICASTBARRIERNVPROC __glewMulticastBarrierNV = NULL;
- PFNGLMULTICASTBLITFRAMEBUFFERNVPROC __glewMulticastBlitFramebufferNV = NULL;
- PFNGLMULTICASTBUFFERSUBDATANVPROC __glewMulticastBufferSubDataNV = NULL;
- PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC __glewMulticastCopyBufferSubDataNV = NULL;
- PFNGLMULTICASTCOPYIMAGESUBDATANVPROC __glewMulticastCopyImageSubDataNV = NULL;
- PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewMulticastFramebufferSampleLocationsfvNV = NULL;
- PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC __glewMulticastGetQueryObjecti64vNV = NULL;
- PFNGLMULTICASTGETQUERYOBJECTIVNVPROC __glewMulticastGetQueryObjectivNV = NULL;
- PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC __glewMulticastGetQueryObjectui64vNV = NULL;
- PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC __glewMulticastGetQueryObjectuivNV = NULL;
- PFNGLMULTICASTWAITSYNCNVPROC __glewMulticastWaitSyncNV = NULL;
- PFNGLRENDERGPUMASKNVPROC __glewRenderGpuMaskNV = NULL;
- PFNGLPROGRAMENVPARAMETERI4INVPROC __glewProgramEnvParameterI4iNV = NULL;
- PFNGLPROGRAMENVPARAMETERI4IVNVPROC __glewProgramEnvParameterI4ivNV = NULL;
- PFNGLPROGRAMENVPARAMETERI4UINVPROC __glewProgramEnvParameterI4uiNV = NULL;
- PFNGLPROGRAMENVPARAMETERI4UIVNVPROC __glewProgramEnvParameterI4uivNV = NULL;
- PFNGLPROGRAMENVPARAMETERSI4IVNVPROC __glewProgramEnvParametersI4ivNV = NULL;
- PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC __glewProgramEnvParametersI4uivNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERI4INVPROC __glewProgramLocalParameterI4iNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC __glewProgramLocalParameterI4ivNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERI4UINVPROC __glewProgramLocalParameterI4uiNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC __glewProgramLocalParameterI4uivNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC __glewProgramLocalParametersI4ivNV = NULL;
- PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC __glewProgramLocalParametersI4uivNV = NULL;
- PFNGLGETUNIFORMI64VNVPROC __glewGetUniformi64vNV = NULL;
- PFNGLGETUNIFORMUI64VNVPROC __glewGetUniformui64vNV = NULL;
- PFNGLPROGRAMUNIFORM1I64NVPROC __glewProgramUniform1i64NV = NULL;
- PFNGLPROGRAMUNIFORM1I64VNVPROC __glewProgramUniform1i64vNV = NULL;
- PFNGLPROGRAMUNIFORM1UI64NVPROC __glewProgramUniform1ui64NV = NULL;
- PFNGLPROGRAMUNIFORM1UI64VNVPROC __glewProgramUniform1ui64vNV = NULL;
- PFNGLPROGRAMUNIFORM2I64NVPROC __glewProgramUniform2i64NV = NULL;
- PFNGLPROGRAMUNIFORM2I64VNVPROC __glewProgramUniform2i64vNV = NULL;
- PFNGLPROGRAMUNIFORM2UI64NVPROC __glewProgramUniform2ui64NV = NULL;
- PFNGLPROGRAMUNIFORM2UI64VNVPROC __glewProgramUniform2ui64vNV = NULL;
- PFNGLPROGRAMUNIFORM3I64NVPROC __glewProgramUniform3i64NV = NULL;
- PFNGLPROGRAMUNIFORM3I64VNVPROC __glewProgramUniform3i64vNV = NULL;
- PFNGLPROGRAMUNIFORM3UI64NVPROC __glewProgramUniform3ui64NV = NULL;
- PFNGLPROGRAMUNIFORM3UI64VNVPROC __glewProgramUniform3ui64vNV = NULL;
- PFNGLPROGRAMUNIFORM4I64NVPROC __glewProgramUniform4i64NV = NULL;
- PFNGLPROGRAMUNIFORM4I64VNVPROC __glewProgramUniform4i64vNV = NULL;
- PFNGLPROGRAMUNIFORM4UI64NVPROC __glewProgramUniform4ui64NV = NULL;
- PFNGLPROGRAMUNIFORM4UI64VNVPROC __glewProgramUniform4ui64vNV = NULL;
- PFNGLUNIFORM1I64NVPROC __glewUniform1i64NV = NULL;
- PFNGLUNIFORM1I64VNVPROC __glewUniform1i64vNV = NULL;
- PFNGLUNIFORM1UI64NVPROC __glewUniform1ui64NV = NULL;
- PFNGLUNIFORM1UI64VNVPROC __glewUniform1ui64vNV = NULL;
- PFNGLUNIFORM2I64NVPROC __glewUniform2i64NV = NULL;
- PFNGLUNIFORM2I64VNVPROC __glewUniform2i64vNV = NULL;
- PFNGLUNIFORM2UI64NVPROC __glewUniform2ui64NV = NULL;
- PFNGLUNIFORM2UI64VNVPROC __glewUniform2ui64vNV = NULL;
- PFNGLUNIFORM3I64NVPROC __glewUniform3i64NV = NULL;
- PFNGLUNIFORM3I64VNVPROC __glewUniform3i64vNV = NULL;
- PFNGLUNIFORM3UI64NVPROC __glewUniform3ui64NV = NULL;
- PFNGLUNIFORM3UI64VNVPROC __glewUniform3ui64vNV = NULL;
- PFNGLUNIFORM4I64NVPROC __glewUniform4i64NV = NULL;
- PFNGLUNIFORM4I64VNVPROC __glewUniform4i64vNV = NULL;
- PFNGLUNIFORM4UI64NVPROC __glewUniform4ui64NV = NULL;
- PFNGLUNIFORM4UI64VNVPROC __glewUniform4ui64vNV = NULL;
- PFNGLCOLOR3HNVPROC __glewColor3hNV = NULL;
- PFNGLCOLOR3HVNVPROC __glewColor3hvNV = NULL;
- PFNGLCOLOR4HNVPROC __glewColor4hNV = NULL;
- PFNGLCOLOR4HVNVPROC __glewColor4hvNV = NULL;
- PFNGLFOGCOORDHNVPROC __glewFogCoordhNV = NULL;
- PFNGLFOGCOORDHVNVPROC __glewFogCoordhvNV = NULL;
- PFNGLMULTITEXCOORD1HNVPROC __glewMultiTexCoord1hNV = NULL;
- PFNGLMULTITEXCOORD1HVNVPROC __glewMultiTexCoord1hvNV = NULL;
- PFNGLMULTITEXCOORD2HNVPROC __glewMultiTexCoord2hNV = NULL;
- PFNGLMULTITEXCOORD2HVNVPROC __glewMultiTexCoord2hvNV = NULL;
- PFNGLMULTITEXCOORD3HNVPROC __glewMultiTexCoord3hNV = NULL;
- PFNGLMULTITEXCOORD3HVNVPROC __glewMultiTexCoord3hvNV = NULL;
- PFNGLMULTITEXCOORD4HNVPROC __glewMultiTexCoord4hNV = NULL;
- PFNGLMULTITEXCOORD4HVNVPROC __glewMultiTexCoord4hvNV = NULL;
- PFNGLNORMAL3HNVPROC __glewNormal3hNV = NULL;
- PFNGLNORMAL3HVNVPROC __glewNormal3hvNV = NULL;
- PFNGLSECONDARYCOLOR3HNVPROC __glewSecondaryColor3hNV = NULL;
- PFNGLSECONDARYCOLOR3HVNVPROC __glewSecondaryColor3hvNV = NULL;
- PFNGLTEXCOORD1HNVPROC __glewTexCoord1hNV = NULL;
- PFNGLTEXCOORD1HVNVPROC __glewTexCoord1hvNV = NULL;
- PFNGLTEXCOORD2HNVPROC __glewTexCoord2hNV = NULL;
- PFNGLTEXCOORD2HVNVPROC __glewTexCoord2hvNV = NULL;
- PFNGLTEXCOORD3HNVPROC __glewTexCoord3hNV = NULL;
- PFNGLTEXCOORD3HVNVPROC __glewTexCoord3hvNV = NULL;
- PFNGLTEXCOORD4HNVPROC __glewTexCoord4hNV = NULL;
- PFNGLTEXCOORD4HVNVPROC __glewTexCoord4hvNV = NULL;
- PFNGLVERTEX2HNVPROC __glewVertex2hNV = NULL;
- PFNGLVERTEX2HVNVPROC __glewVertex2hvNV = NULL;
- PFNGLVERTEX3HNVPROC __glewVertex3hNV = NULL;
- PFNGLVERTEX3HVNVPROC __glewVertex3hvNV = NULL;
- PFNGLVERTEX4HNVPROC __glewVertex4hNV = NULL;
- PFNGLVERTEX4HVNVPROC __glewVertex4hvNV = NULL;
- PFNGLVERTEXATTRIB1HNVPROC __glewVertexAttrib1hNV = NULL;
- PFNGLVERTEXATTRIB1HVNVPROC __glewVertexAttrib1hvNV = NULL;
- PFNGLVERTEXATTRIB2HNVPROC __glewVertexAttrib2hNV = NULL;
- PFNGLVERTEXATTRIB2HVNVPROC __glewVertexAttrib2hvNV = NULL;
- PFNGLVERTEXATTRIB3HNVPROC __glewVertexAttrib3hNV = NULL;
- PFNGLVERTEXATTRIB3HVNVPROC __glewVertexAttrib3hvNV = NULL;
- PFNGLVERTEXATTRIB4HNVPROC __glewVertexAttrib4hNV = NULL;
- PFNGLVERTEXATTRIB4HVNVPROC __glewVertexAttrib4hvNV = NULL;
- PFNGLVERTEXATTRIBS1HVNVPROC __glewVertexAttribs1hvNV = NULL;
- PFNGLVERTEXATTRIBS2HVNVPROC __glewVertexAttribs2hvNV = NULL;
- PFNGLVERTEXATTRIBS3HVNVPROC __glewVertexAttribs3hvNV = NULL;
- PFNGLVERTEXATTRIBS4HVNVPROC __glewVertexAttribs4hvNV = NULL;
- PFNGLVERTEXWEIGHTHNVPROC __glewVertexWeighthNV = NULL;
- PFNGLVERTEXWEIGHTHVNVPROC __glewVertexWeighthvNV = NULL;
- PFNGLVERTEXATTRIBDIVISORNVPROC __glewVertexAttribDivisorNV = NULL;
- PFNGLGETINTERNALFORMATSAMPLEIVNVPROC __glewGetInternalformatSampleivNV = NULL;
- PFNGLUNIFORMMATRIX2X3FVNVPROC __glewUniformMatrix2x3fvNV = NULL;
- PFNGLUNIFORMMATRIX2X4FVNVPROC __glewUniformMatrix2x4fvNV = NULL;
- PFNGLUNIFORMMATRIX3X2FVNVPROC __glewUniformMatrix3x2fvNV = NULL;
- PFNGLUNIFORMMATRIX3X4FVNVPROC __glewUniformMatrix3x4fvNV = NULL;
- PFNGLUNIFORMMATRIX4X2FVNVPROC __glewUniformMatrix4x2fvNV = NULL;
- PFNGLUNIFORMMATRIX4X3FVNVPROC __glewUniformMatrix4x3fvNV = NULL;
- PFNGLBEGINOCCLUSIONQUERYNVPROC __glewBeginOcclusionQueryNV = NULL;
- PFNGLDELETEOCCLUSIONQUERIESNVPROC __glewDeleteOcclusionQueriesNV = NULL;
- PFNGLENDOCCLUSIONQUERYNVPROC __glewEndOcclusionQueryNV = NULL;
- PFNGLGENOCCLUSIONQUERIESNVPROC __glewGenOcclusionQueriesNV = NULL;
- PFNGLGETOCCLUSIONQUERYIVNVPROC __glewGetOcclusionQueryivNV = NULL;
- PFNGLGETOCCLUSIONQUERYUIVNVPROC __glewGetOcclusionQueryuivNV = NULL;
- PFNGLISOCCLUSIONQUERYNVPROC __glewIsOcclusionQueryNV = NULL;
- PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC __glewProgramBufferParametersIivNV = NULL;
- PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC __glewProgramBufferParametersIuivNV = NULL;
- PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC __glewProgramBufferParametersfvNV = NULL;
- PFNGLCOPYPATHNVPROC __glewCopyPathNV = NULL;
- PFNGLCOVERFILLPATHINSTANCEDNVPROC __glewCoverFillPathInstancedNV = NULL;
- PFNGLCOVERFILLPATHNVPROC __glewCoverFillPathNV = NULL;
- PFNGLCOVERSTROKEPATHINSTANCEDNVPROC __glewCoverStrokePathInstancedNV = NULL;
- PFNGLCOVERSTROKEPATHNVPROC __glewCoverStrokePathNV = NULL;
- PFNGLDELETEPATHSNVPROC __glewDeletePathsNV = NULL;
- PFNGLGENPATHSNVPROC __glewGenPathsNV = NULL;
- PFNGLGETPATHCOLORGENFVNVPROC __glewGetPathColorGenfvNV = NULL;
- PFNGLGETPATHCOLORGENIVNVPROC __glewGetPathColorGenivNV = NULL;
- PFNGLGETPATHCOMMANDSNVPROC __glewGetPathCommandsNV = NULL;
- PFNGLGETPATHCOORDSNVPROC __glewGetPathCoordsNV = NULL;
- PFNGLGETPATHDASHARRAYNVPROC __glewGetPathDashArrayNV = NULL;
- PFNGLGETPATHLENGTHNVPROC __glewGetPathLengthNV = NULL;
- PFNGLGETPATHMETRICRANGENVPROC __glewGetPathMetricRangeNV = NULL;
- PFNGLGETPATHMETRICSNVPROC __glewGetPathMetricsNV = NULL;
- PFNGLGETPATHPARAMETERFVNVPROC __glewGetPathParameterfvNV = NULL;
- PFNGLGETPATHPARAMETERIVNVPROC __glewGetPathParameterivNV = NULL;
- PFNGLGETPATHSPACINGNVPROC __glewGetPathSpacingNV = NULL;
- PFNGLGETPATHTEXGENFVNVPROC __glewGetPathTexGenfvNV = NULL;
- PFNGLGETPATHTEXGENIVNVPROC __glewGetPathTexGenivNV = NULL;
- PFNGLGETPROGRAMRESOURCEFVNVPROC __glewGetProgramResourcefvNV = NULL;
- PFNGLINTERPOLATEPATHSNVPROC __glewInterpolatePathsNV = NULL;
- PFNGLISPATHNVPROC __glewIsPathNV = NULL;
- PFNGLISPOINTINFILLPATHNVPROC __glewIsPointInFillPathNV = NULL;
- PFNGLISPOINTINSTROKEPATHNVPROC __glewIsPointInStrokePathNV = NULL;
- PFNGLMATRIXLOAD3X2FNVPROC __glewMatrixLoad3x2fNV = NULL;
- PFNGLMATRIXLOAD3X3FNVPROC __glewMatrixLoad3x3fNV = NULL;
- PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC __glewMatrixLoadTranspose3x3fNV = NULL;
- PFNGLMATRIXMULT3X2FNVPROC __glewMatrixMult3x2fNV = NULL;
- PFNGLMATRIXMULT3X3FNVPROC __glewMatrixMult3x3fNV = NULL;
- PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC __glewMatrixMultTranspose3x3fNV = NULL;
- PFNGLPATHCOLORGENNVPROC __glewPathColorGenNV = NULL;
- PFNGLPATHCOMMANDSNVPROC __glewPathCommandsNV = NULL;
- PFNGLPATHCOORDSNVPROC __glewPathCoordsNV = NULL;
- PFNGLPATHCOVERDEPTHFUNCNVPROC __glewPathCoverDepthFuncNV = NULL;
- PFNGLPATHDASHARRAYNVPROC __glewPathDashArrayNV = NULL;
- PFNGLPATHFOGGENNVPROC __glewPathFogGenNV = NULL;
- PFNGLPATHGLYPHINDEXARRAYNVPROC __glewPathGlyphIndexArrayNV = NULL;
- PFNGLPATHGLYPHINDEXRANGENVPROC __glewPathGlyphIndexRangeNV = NULL;
- PFNGLPATHGLYPHRANGENVPROC __glewPathGlyphRangeNV = NULL;
- PFNGLPATHGLYPHSNVPROC __glewPathGlyphsNV = NULL;
- PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC __glewPathMemoryGlyphIndexArrayNV = NULL;
- PFNGLPATHPARAMETERFNVPROC __glewPathParameterfNV = NULL;
- PFNGLPATHPARAMETERFVNVPROC __glewPathParameterfvNV = NULL;
- PFNGLPATHPARAMETERINVPROC __glewPathParameteriNV = NULL;
- PFNGLPATHPARAMETERIVNVPROC __glewPathParameterivNV = NULL;
- PFNGLPATHSTENCILDEPTHOFFSETNVPROC __glewPathStencilDepthOffsetNV = NULL;
- PFNGLPATHSTENCILFUNCNVPROC __glewPathStencilFuncNV = NULL;
- PFNGLPATHSTRINGNVPROC __glewPathStringNV = NULL;
- PFNGLPATHSUBCOMMANDSNVPROC __glewPathSubCommandsNV = NULL;
- PFNGLPATHSUBCOORDSNVPROC __glewPathSubCoordsNV = NULL;
- PFNGLPATHTEXGENNVPROC __glewPathTexGenNV = NULL;
- PFNGLPOINTALONGPATHNVPROC __glewPointAlongPathNV = NULL;
- PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC __glewProgramPathFragmentInputGenNV = NULL;
- PFNGLSTENCILFILLPATHINSTANCEDNVPROC __glewStencilFillPathInstancedNV = NULL;
- PFNGLSTENCILFILLPATHNVPROC __glewStencilFillPathNV = NULL;
- PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC __glewStencilStrokePathInstancedNV = NULL;
- PFNGLSTENCILSTROKEPATHNVPROC __glewStencilStrokePathNV = NULL;
- PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC __glewStencilThenCoverFillPathInstancedNV = NULL;
- PFNGLSTENCILTHENCOVERFILLPATHNVPROC __glewStencilThenCoverFillPathNV = NULL;
- PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC __glewStencilThenCoverStrokePathInstancedNV = NULL;
- PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC __glewStencilThenCoverStrokePathNV = NULL;
- PFNGLTRANSFORMPATHNVPROC __glewTransformPathNV = NULL;
- PFNGLWEIGHTPATHSNVPROC __glewWeightPathsNV = NULL;
- PFNGLFLUSHPIXELDATARANGENVPROC __glewFlushPixelDataRangeNV = NULL;
- PFNGLPIXELDATARANGENVPROC __glewPixelDataRangeNV = NULL;
- PFNGLPOINTPARAMETERINVPROC __glewPointParameteriNV = NULL;
- PFNGLPOINTPARAMETERIVNVPROC __glewPointParameterivNV = NULL;
- PFNGLPOLYGONMODENVPROC __glewPolygonModeNV = NULL;
- PFNGLGETVIDEOI64VNVPROC __glewGetVideoi64vNV = NULL;
- PFNGLGETVIDEOIVNVPROC __glewGetVideoivNV = NULL;
- PFNGLGETVIDEOUI64VNVPROC __glewGetVideoui64vNV = NULL;
- PFNGLGETVIDEOUIVNVPROC __glewGetVideouivNV = NULL;
- PFNGLPRESENTFRAMEDUALFILLNVPROC __glewPresentFrameDualFillNV = NULL;
- PFNGLPRESENTFRAMEKEYEDNVPROC __glewPresentFrameKeyedNV = NULL;
- PFNGLPRIMITIVERESTARTINDEXNVPROC __glewPrimitiveRestartIndexNV = NULL;
- PFNGLPRIMITIVERESTARTNVPROC __glewPrimitiveRestartNV = NULL;
- PFNGLCOMBINERINPUTNVPROC __glewCombinerInputNV = NULL;
- PFNGLCOMBINEROUTPUTNVPROC __glewCombinerOutputNV = NULL;
- PFNGLCOMBINERPARAMETERFNVPROC __glewCombinerParameterfNV = NULL;
- PFNGLCOMBINERPARAMETERFVNVPROC __glewCombinerParameterfvNV = NULL;
- PFNGLCOMBINERPARAMETERINVPROC __glewCombinerParameteriNV = NULL;
- PFNGLCOMBINERPARAMETERIVNVPROC __glewCombinerParameterivNV = NULL;
- PFNGLFINALCOMBINERINPUTNVPROC __glewFinalCombinerInputNV = NULL;
- PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC __glewGetCombinerInputParameterfvNV = NULL;
- PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC __glewGetCombinerInputParameterivNV = NULL;
- PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC __glewGetCombinerOutputParameterfvNV = NULL;
- PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC __glewGetCombinerOutputParameterivNV = NULL;
- PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC __glewGetFinalCombinerInputParameterfvNV = NULL;
- PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC __glewGetFinalCombinerInputParameterivNV = NULL;
- PFNGLCOMBINERSTAGEPARAMETERFVNVPROC __glewCombinerStageParameterfvNV = NULL;
- PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC __glewGetCombinerStageParameterfvNV = NULL;
- PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewFramebufferSampleLocationsfvNV = NULL;
- PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC __glewNamedFramebufferSampleLocationsfvNV = NULL;
- PFNGLGETBUFFERPARAMETERUI64VNVPROC __glewGetBufferParameterui64vNV = NULL;
- PFNGLGETINTEGERUI64VNVPROC __glewGetIntegerui64vNV = NULL;
- PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC __glewGetNamedBufferParameterui64vNV = NULL;
- PFNGLISBUFFERRESIDENTNVPROC __glewIsBufferResidentNV = NULL;
- PFNGLISNAMEDBUFFERRESIDENTNVPROC __glewIsNamedBufferResidentNV = NULL;
- PFNGLMAKEBUFFERNONRESIDENTNVPROC __glewMakeBufferNonResidentNV = NULL;
- PFNGLMAKEBUFFERRESIDENTNVPROC __glewMakeBufferResidentNV = NULL;
- PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC __glewMakeNamedBufferNonResidentNV = NULL;
- PFNGLMAKENAMEDBUFFERRESIDENTNVPROC __glewMakeNamedBufferResidentNV = NULL;
- PFNGLPROGRAMUNIFORMUI64NVPROC __glewProgramUniformui64NV = NULL;
- PFNGLPROGRAMUNIFORMUI64VNVPROC __glewProgramUniformui64vNV = NULL;
- PFNGLUNIFORMUI64NVPROC __glewUniformui64NV = NULL;
- PFNGLUNIFORMUI64VNVPROC __glewUniformui64vNV = NULL;
- PFNGLCOMPRESSEDTEXIMAGE3DNVPROC __glewCompressedTexImage3DNV = NULL;
- PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC __glewCompressedTexSubImage3DNV = NULL;
- PFNGLCOPYTEXSUBIMAGE3DNVPROC __glewCopyTexSubImage3DNV = NULL;
- PFNGLFRAMEBUFFERTEXTURELAYERNVPROC __glewFramebufferTextureLayerNV = NULL;
- PFNGLTEXIMAGE3DNVPROC __glewTexImage3DNV = NULL;
- PFNGLTEXSUBIMAGE3DNVPROC __glewTexSubImage3DNV = NULL;
- PFNGLTEXTUREBARRIERNVPROC __glewTextureBarrierNV = NULL;
- PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTexImage2DMultisampleCoverageNV = NULL;
- PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTexImage3DMultisampleCoverageNV = NULL;
- PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC __glewTextureImage2DMultisampleCoverageNV = NULL;
- PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC __glewTextureImage2DMultisampleNV = NULL;
- PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC __glewTextureImage3DMultisampleCoverageNV = NULL;
- PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC __glewTextureImage3DMultisampleNV = NULL;
- PFNGLACTIVEVARYINGNVPROC __glewActiveVaryingNV = NULL;
- PFNGLBEGINTRANSFORMFEEDBACKNVPROC __glewBeginTransformFeedbackNV = NULL;
- PFNGLBINDBUFFERBASENVPROC __glewBindBufferBaseNV = NULL;
- PFNGLBINDBUFFEROFFSETNVPROC __glewBindBufferOffsetNV = NULL;
- PFNGLBINDBUFFERRANGENVPROC __glewBindBufferRangeNV = NULL;
- PFNGLENDTRANSFORMFEEDBACKNVPROC __glewEndTransformFeedbackNV = NULL;
- PFNGLGETACTIVEVARYINGNVPROC __glewGetActiveVaryingNV = NULL;
- PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC __glewGetTransformFeedbackVaryingNV = NULL;
- PFNGLGETVARYINGLOCATIONNVPROC __glewGetVaryingLocationNV = NULL;
- PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC __glewTransformFeedbackAttribsNV = NULL;
- PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC __glewTransformFeedbackVaryingsNV = NULL;
- PFNGLBINDTRANSFORMFEEDBACKNVPROC __glewBindTransformFeedbackNV = NULL;
- PFNGLDELETETRANSFORMFEEDBACKSNVPROC __glewDeleteTransformFeedbacksNV = NULL;
- PFNGLDRAWTRANSFORMFEEDBACKNVPROC __glewDrawTransformFeedbackNV = NULL;
- PFNGLGENTRANSFORMFEEDBACKSNVPROC __glewGenTransformFeedbacksNV = NULL;
- PFNGLISTRANSFORMFEEDBACKNVPROC __glewIsTransformFeedbackNV = NULL;
- PFNGLPAUSETRANSFORMFEEDBACKNVPROC __glewPauseTransformFeedbackNV = NULL;
- PFNGLRESUMETRANSFORMFEEDBACKNVPROC __glewResumeTransformFeedbackNV = NULL;
- PFNGLVDPAUFININVPROC __glewVDPAUFiniNV = NULL;
- PFNGLVDPAUGETSURFACEIVNVPROC __glewVDPAUGetSurfaceivNV = NULL;
- PFNGLVDPAUINITNVPROC __glewVDPAUInitNV = NULL;
- PFNGLVDPAUISSURFACENVPROC __glewVDPAUIsSurfaceNV = NULL;
- PFNGLVDPAUMAPSURFACESNVPROC __glewVDPAUMapSurfacesNV = NULL;
- PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC __glewVDPAURegisterOutputSurfaceNV = NULL;
- PFNGLVDPAUREGISTERVIDEOSURFACENVPROC __glewVDPAURegisterVideoSurfaceNV = NULL;
- PFNGLVDPAUSURFACEACCESSNVPROC __glewVDPAUSurfaceAccessNV = NULL;
- PFNGLVDPAUUNMAPSURFACESNVPROC __glewVDPAUUnmapSurfacesNV = NULL;
- PFNGLVDPAUUNREGISTERSURFACENVPROC __glewVDPAUUnregisterSurfaceNV = NULL;
- PFNGLFLUSHVERTEXARRAYRANGENVPROC __glewFlushVertexArrayRangeNV = NULL;
- PFNGLVERTEXARRAYRANGENVPROC __glewVertexArrayRangeNV = NULL;
- PFNGLGETVERTEXATTRIBLI64VNVPROC __glewGetVertexAttribLi64vNV = NULL;
- PFNGLGETVERTEXATTRIBLUI64VNVPROC __glewGetVertexAttribLui64vNV = NULL;
- PFNGLVERTEXATTRIBL1I64NVPROC __glewVertexAttribL1i64NV = NULL;
- PFNGLVERTEXATTRIBL1I64VNVPROC __glewVertexAttribL1i64vNV = NULL;
- PFNGLVERTEXATTRIBL1UI64NVPROC __glewVertexAttribL1ui64NV = NULL;
- PFNGLVERTEXATTRIBL1UI64VNVPROC __glewVertexAttribL1ui64vNV = NULL;
- PFNGLVERTEXATTRIBL2I64NVPROC __glewVertexAttribL2i64NV = NULL;
- PFNGLVERTEXATTRIBL2I64VNVPROC __glewVertexAttribL2i64vNV = NULL;
- PFNGLVERTEXATTRIBL2UI64NVPROC __glewVertexAttribL2ui64NV = NULL;
- PFNGLVERTEXATTRIBL2UI64VNVPROC __glewVertexAttribL2ui64vNV = NULL;
- PFNGLVERTEXATTRIBL3I64NVPROC __glewVertexAttribL3i64NV = NULL;
- PFNGLVERTEXATTRIBL3I64VNVPROC __glewVertexAttribL3i64vNV = NULL;
- PFNGLVERTEXATTRIBL3UI64NVPROC __glewVertexAttribL3ui64NV = NULL;
- PFNGLVERTEXATTRIBL3UI64VNVPROC __glewVertexAttribL3ui64vNV = NULL;
- PFNGLVERTEXATTRIBL4I64NVPROC __glewVertexAttribL4i64NV = NULL;
- PFNGLVERTEXATTRIBL4I64VNVPROC __glewVertexAttribL4i64vNV = NULL;
- PFNGLVERTEXATTRIBL4UI64NVPROC __glewVertexAttribL4ui64NV = NULL;
- PFNGLVERTEXATTRIBL4UI64VNVPROC __glewVertexAttribL4ui64vNV = NULL;
- PFNGLVERTEXATTRIBLFORMATNVPROC __glewVertexAttribLFormatNV = NULL;
- PFNGLBUFFERADDRESSRANGENVPROC __glewBufferAddressRangeNV = NULL;
- PFNGLCOLORFORMATNVPROC __glewColorFormatNV = NULL;
- PFNGLEDGEFLAGFORMATNVPROC __glewEdgeFlagFormatNV = NULL;
- PFNGLFOGCOORDFORMATNVPROC __glewFogCoordFormatNV = NULL;
- PFNGLGETINTEGERUI64I_VNVPROC __glewGetIntegerui64i_vNV = NULL;
- PFNGLINDEXFORMATNVPROC __glewIndexFormatNV = NULL;
- PFNGLNORMALFORMATNVPROC __glewNormalFormatNV = NULL;
- PFNGLSECONDARYCOLORFORMATNVPROC __glewSecondaryColorFormatNV = NULL;
- PFNGLTEXCOORDFORMATNVPROC __glewTexCoordFormatNV = NULL;
- PFNGLVERTEXATTRIBFORMATNVPROC __glewVertexAttribFormatNV = NULL;
- PFNGLVERTEXATTRIBIFORMATNVPROC __glewVertexAttribIFormatNV = NULL;
- PFNGLVERTEXFORMATNVPROC __glewVertexFormatNV = NULL;
- PFNGLAREPROGRAMSRESIDENTNVPROC __glewAreProgramsResidentNV = NULL;
- PFNGLBINDPROGRAMNVPROC __glewBindProgramNV = NULL;
- PFNGLDELETEPROGRAMSNVPROC __glewDeleteProgramsNV = NULL;
- PFNGLEXECUTEPROGRAMNVPROC __glewExecuteProgramNV = NULL;
- PFNGLGENPROGRAMSNVPROC __glewGenProgramsNV = NULL;
- PFNGLGETPROGRAMPARAMETERDVNVPROC __glewGetProgramParameterdvNV = NULL;
- PFNGLGETPROGRAMPARAMETERFVNVPROC __glewGetProgramParameterfvNV = NULL;
- PFNGLGETPROGRAMSTRINGNVPROC __glewGetProgramStringNV = NULL;
- PFNGLGETPROGRAMIVNVPROC __glewGetProgramivNV = NULL;
- PFNGLGETTRACKMATRIXIVNVPROC __glewGetTrackMatrixivNV = NULL;
- PFNGLGETVERTEXATTRIBPOINTERVNVPROC __glewGetVertexAttribPointervNV = NULL;
- PFNGLGETVERTEXATTRIBDVNVPROC __glewGetVertexAttribdvNV = NULL;
- PFNGLGETVERTEXATTRIBFVNVPROC __glewGetVertexAttribfvNV = NULL;
- PFNGLGETVERTEXATTRIBIVNVPROC __glewGetVertexAttribivNV = NULL;
- PFNGLISPROGRAMNVPROC __glewIsProgramNV = NULL;
- PFNGLLOADPROGRAMNVPROC __glewLoadProgramNV = NULL;
- PFNGLPROGRAMPARAMETER4DNVPROC __glewProgramParameter4dNV = NULL;
- PFNGLPROGRAMPARAMETER4DVNVPROC __glewProgramParameter4dvNV = NULL;
- PFNGLPROGRAMPARAMETER4FNVPROC __glewProgramParameter4fNV = NULL;
- PFNGLPROGRAMPARAMETER4FVNVPROC __glewProgramParameter4fvNV = NULL;
- PFNGLPROGRAMPARAMETERS4DVNVPROC __glewProgramParameters4dvNV = NULL;
- PFNGLPROGRAMPARAMETERS4FVNVPROC __glewProgramParameters4fvNV = NULL;
- PFNGLREQUESTRESIDENTPROGRAMSNVPROC __glewRequestResidentProgramsNV = NULL;
- PFNGLTRACKMATRIXNVPROC __glewTrackMatrixNV = NULL;
- PFNGLVERTEXATTRIB1DNVPROC __glewVertexAttrib1dNV = NULL;
- PFNGLVERTEXATTRIB1DVNVPROC __glewVertexAttrib1dvNV = NULL;
- PFNGLVERTEXATTRIB1FNVPROC __glewVertexAttrib1fNV = NULL;
- PFNGLVERTEXATTRIB1FVNVPROC __glewVertexAttrib1fvNV = NULL;
- PFNGLVERTEXATTRIB1SNVPROC __glewVertexAttrib1sNV = NULL;
- PFNGLVERTEXATTRIB1SVNVPROC __glewVertexAttrib1svNV = NULL;
- PFNGLVERTEXATTRIB2DNVPROC __glewVertexAttrib2dNV = NULL;
- PFNGLVERTEXATTRIB2DVNVPROC __glewVertexAttrib2dvNV = NULL;
- PFNGLVERTEXATTRIB2FNVPROC __glewVertexAttrib2fNV = NULL;
- PFNGLVERTEXATTRIB2FVNVPROC __glewVertexAttrib2fvNV = NULL;
- PFNGLVERTEXATTRIB2SNVPROC __glewVertexAttrib2sNV = NULL;
- PFNGLVERTEXATTRIB2SVNVPROC __glewVertexAttrib2svNV = NULL;
- PFNGLVERTEXATTRIB3DNVPROC __glewVertexAttrib3dNV = NULL;
- PFNGLVERTEXATTRIB3DVNVPROC __glewVertexAttrib3dvNV = NULL;
- PFNGLVERTEXATTRIB3FNVPROC __glewVertexAttrib3fNV = NULL;
- PFNGLVERTEXATTRIB3FVNVPROC __glewVertexAttrib3fvNV = NULL;
- PFNGLVERTEXATTRIB3SNVPROC __glewVertexAttrib3sNV = NULL;
- PFNGLVERTEXATTRIB3SVNVPROC __glewVertexAttrib3svNV = NULL;
- PFNGLVERTEXATTRIB4DNVPROC __glewVertexAttrib4dNV = NULL;
- PFNGLVERTEXATTRIB4DVNVPROC __glewVertexAttrib4dvNV = NULL;
- PFNGLVERTEXATTRIB4FNVPROC __glewVertexAttrib4fNV = NULL;
- PFNGLVERTEXATTRIB4FVNVPROC __glewVertexAttrib4fvNV = NULL;
- PFNGLVERTEXATTRIB4SNVPROC __glewVertexAttrib4sNV = NULL;
- PFNGLVERTEXATTRIB4SVNVPROC __glewVertexAttrib4svNV = NULL;
- PFNGLVERTEXATTRIB4UBNVPROC __glewVertexAttrib4ubNV = NULL;
- PFNGLVERTEXATTRIB4UBVNVPROC __glewVertexAttrib4ubvNV = NULL;
- PFNGLVERTEXATTRIBPOINTERNVPROC __glewVertexAttribPointerNV = NULL;
- PFNGLVERTEXATTRIBS1DVNVPROC __glewVertexAttribs1dvNV = NULL;
- PFNGLVERTEXATTRIBS1FVNVPROC __glewVertexAttribs1fvNV = NULL;
- PFNGLVERTEXATTRIBS1SVNVPROC __glewVertexAttribs1svNV = NULL;
- PFNGLVERTEXATTRIBS2DVNVPROC __glewVertexAttribs2dvNV = NULL;
- PFNGLVERTEXATTRIBS2FVNVPROC __glewVertexAttribs2fvNV = NULL;
- PFNGLVERTEXATTRIBS2SVNVPROC __glewVertexAttribs2svNV = NULL;
- PFNGLVERTEXATTRIBS3DVNVPROC __glewVertexAttribs3dvNV = NULL;
- PFNGLVERTEXATTRIBS3FVNVPROC __glewVertexAttribs3fvNV = NULL;
- PFNGLVERTEXATTRIBS3SVNVPROC __glewVertexAttribs3svNV = NULL;
- PFNGLVERTEXATTRIBS4DVNVPROC __glewVertexAttribs4dvNV = NULL;
- PFNGLVERTEXATTRIBS4FVNVPROC __glewVertexAttribs4fvNV = NULL;
- PFNGLVERTEXATTRIBS4SVNVPROC __glewVertexAttribs4svNV = NULL;
- PFNGLVERTEXATTRIBS4UBVNVPROC __glewVertexAttribs4ubvNV = NULL;
- PFNGLBEGINVIDEOCAPTURENVPROC __glewBeginVideoCaptureNV = NULL;
- PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC __glewBindVideoCaptureStreamBufferNV = NULL;
- PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC __glewBindVideoCaptureStreamTextureNV = NULL;
- PFNGLENDVIDEOCAPTURENVPROC __glewEndVideoCaptureNV = NULL;
- PFNGLGETVIDEOCAPTURESTREAMDVNVPROC __glewGetVideoCaptureStreamdvNV = NULL;
- PFNGLGETVIDEOCAPTURESTREAMFVNVPROC __glewGetVideoCaptureStreamfvNV = NULL;
- PFNGLGETVIDEOCAPTURESTREAMIVNVPROC __glewGetVideoCaptureStreamivNV = NULL;
- PFNGLGETVIDEOCAPTUREIVNVPROC __glewGetVideoCaptureivNV = NULL;
- PFNGLVIDEOCAPTURENVPROC __glewVideoCaptureNV = NULL;
- PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC __glewVideoCaptureStreamParameterdvNV = NULL;
- PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC __glewVideoCaptureStreamParameterfvNV = NULL;
- PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC __glewVideoCaptureStreamParameterivNV = NULL;
- PFNGLDEPTHRANGEARRAYFVNVPROC __glewDepthRangeArrayfvNV = NULL;
- PFNGLDEPTHRANGEINDEXEDFNVPROC __glewDepthRangeIndexedfNV = NULL;
- PFNGLDISABLEINVPROC __glewDisableiNV = NULL;
- PFNGLENABLEINVPROC __glewEnableiNV = NULL;
- PFNGLGETFLOATI_VNVPROC __glewGetFloati_vNV = NULL;
- PFNGLISENABLEDINVPROC __glewIsEnablediNV = NULL;
- PFNGLSCISSORARRAYVNVPROC __glewScissorArrayvNV = NULL;
- PFNGLSCISSORINDEXEDNVPROC __glewScissorIndexedNV = NULL;
- PFNGLSCISSORINDEXEDVNVPROC __glewScissorIndexedvNV = NULL;
- PFNGLVIEWPORTARRAYVNVPROC __glewViewportArrayvNV = NULL;
- PFNGLVIEWPORTINDEXEDFNVPROC __glewViewportIndexedfNV = NULL;
- PFNGLVIEWPORTINDEXEDFVNVPROC __glewViewportIndexedfvNV = NULL;
- PFNGLVIEWPORTSWIZZLENVPROC __glewViewportSwizzleNV = NULL;
- PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC __glewFramebufferTextureMultiviewOVR = NULL;
- PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC __glewFramebufferTextureMultisampleMultiviewOVR = NULL;
- PFNGLALPHAFUNCQCOMPROC __glewAlphaFuncQCOM = NULL;
- PFNGLDISABLEDRIVERCONTROLQCOMPROC __glewDisableDriverControlQCOM = NULL;
- PFNGLENABLEDRIVERCONTROLQCOMPROC __glewEnableDriverControlQCOM = NULL;
- PFNGLGETDRIVERCONTROLSTRINGQCOMPROC __glewGetDriverControlStringQCOM = NULL;
- PFNGLGETDRIVERCONTROLSQCOMPROC __glewGetDriverControlsQCOM = NULL;
- PFNGLEXTGETBUFFERPOINTERVQCOMPROC __glewExtGetBufferPointervQCOM = NULL;
- PFNGLEXTGETBUFFERSQCOMPROC __glewExtGetBuffersQCOM = NULL;
- PFNGLEXTGETFRAMEBUFFERSQCOMPROC __glewExtGetFramebuffersQCOM = NULL;
- PFNGLEXTGETRENDERBUFFERSQCOMPROC __glewExtGetRenderbuffersQCOM = NULL;
- PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC __glewExtGetTexLevelParameterivQCOM = NULL;
- PFNGLEXTGETTEXSUBIMAGEQCOMPROC __glewExtGetTexSubImageQCOM = NULL;
- PFNGLEXTGETTEXTURESQCOMPROC __glewExtGetTexturesQCOM = NULL;
- PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC __glewExtTexObjectStateOverrideiQCOM = NULL;
- PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC __glewExtGetProgramBinarySourceQCOM = NULL;
- PFNGLEXTGETPROGRAMSQCOMPROC __glewExtGetProgramsQCOM = NULL;
- PFNGLEXTGETSHADERSQCOMPROC __glewExtGetShadersQCOM = NULL;
- PFNGLEXTISPROGRAMBINARYQCOMPROC __glewExtIsProgramBinaryQCOM = NULL;
- PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC __glewFramebufferFoveationConfigQCOM = NULL;
- PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC __glewFramebufferFoveationParametersQCOM = NULL;
- PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC __glewFramebufferFetchBarrierQCOM = NULL;
- PFNGLENDTILINGQCOMPROC __glewEndTilingQCOM = NULL;
- PFNGLSTARTTILINGQCOMPROC __glewStartTilingQCOM = NULL;
- PFNGLALPHAFUNCXPROC __glewAlphaFuncx = NULL;
- PFNGLCLEARCOLORXPROC __glewClearColorx = NULL;
- PFNGLCLEARDEPTHXPROC __glewClearDepthx = NULL;
- PFNGLCOLOR4XPROC __glewColor4x = NULL;
- PFNGLDEPTHRANGEXPROC __glewDepthRangex = NULL;
- PFNGLFOGXPROC __glewFogx = NULL;
- PFNGLFOGXVPROC __glewFogxv = NULL;
- PFNGLFRUSTUMFPROC __glewFrustumf = NULL;
- PFNGLFRUSTUMXPROC __glewFrustumx = NULL;
- PFNGLLIGHTMODELXPROC __glewLightModelx = NULL;
- PFNGLLIGHTMODELXVPROC __glewLightModelxv = NULL;
- PFNGLLIGHTXPROC __glewLightx = NULL;
- PFNGLLIGHTXVPROC __glewLightxv = NULL;
- PFNGLLINEWIDTHXPROC __glewLineWidthx = NULL;
- PFNGLLOADMATRIXXPROC __glewLoadMatrixx = NULL;
- PFNGLMATERIALXPROC __glewMaterialx = NULL;
- PFNGLMATERIALXVPROC __glewMaterialxv = NULL;
- PFNGLMULTMATRIXXPROC __glewMultMatrixx = NULL;
- PFNGLMULTITEXCOORD4XPROC __glewMultiTexCoord4x = NULL;
- PFNGLNORMAL3XPROC __glewNormal3x = NULL;
- PFNGLORTHOFPROC __glewOrthof = NULL;
- PFNGLORTHOXPROC __glewOrthox = NULL;
- PFNGLPOINTSIZEXPROC __glewPointSizex = NULL;
- PFNGLPOLYGONOFFSETXPROC __glewPolygonOffsetx = NULL;
- PFNGLROTATEXPROC __glewRotatex = NULL;
- PFNGLSAMPLECOVERAGEXPROC __glewSampleCoveragex = NULL;
- PFNGLSCALEXPROC __glewScalex = NULL;
- PFNGLTEXENVXPROC __glewTexEnvx = NULL;
- PFNGLTEXENVXVPROC __glewTexEnvxv = NULL;
- PFNGLTEXPARAMETERXPROC __glewTexParameterx = NULL;
- PFNGLTRANSLATEXPROC __glewTranslatex = NULL;
- PFNGLCLIPPLANEFPROC __glewClipPlanef = NULL;
- PFNGLCLIPPLANEXPROC __glewClipPlanex = NULL;
- PFNGLGETCLIPPLANEFPROC __glewGetClipPlanef = NULL;
- PFNGLGETCLIPPLANEXPROC __glewGetClipPlanex = NULL;
- PFNGLGETFIXEDVPROC __glewGetFixedv = NULL;
- PFNGLGETLIGHTXVPROC __glewGetLightxv = NULL;
- PFNGLGETMATERIALXVPROC __glewGetMaterialxv = NULL;
- PFNGLGETTEXENVXVPROC __glewGetTexEnvxv = NULL;
- PFNGLGETTEXPARAMETERXVPROC __glewGetTexParameterxv = NULL;
- PFNGLPOINTPARAMETERXPROC __glewPointParameterx = NULL;
- PFNGLPOINTPARAMETERXVPROC __glewPointParameterxv = NULL;
- PFNGLPOINTSIZEPOINTEROESPROC __glewPointSizePointerOES = NULL;
- PFNGLTEXPARAMETERXVPROC __glewTexParameterxv = NULL;
- PFNGLERRORSTRINGREGALPROC __glewErrorStringREGAL = NULL;
- PFNGLGETEXTENSIONREGALPROC __glewGetExtensionREGAL = NULL;
- PFNGLISSUPPORTEDREGALPROC __glewIsSupportedREGAL = NULL;
- PFNGLLOGMESSAGECALLBACKREGALPROC __glewLogMessageCallbackREGAL = NULL;
- PFNGLGETPROCADDRESSREGALPROC __glewGetProcAddressREGAL = NULL;
- PFNGLDETAILTEXFUNCSGISPROC __glewDetailTexFuncSGIS = NULL;
- PFNGLGETDETAILTEXFUNCSGISPROC __glewGetDetailTexFuncSGIS = NULL;
- PFNGLFOGFUNCSGISPROC __glewFogFuncSGIS = NULL;
- PFNGLGETFOGFUNCSGISPROC __glewGetFogFuncSGIS = NULL;
- PFNGLSAMPLEMASKSGISPROC __glewSampleMaskSGIS = NULL;
- PFNGLSAMPLEPATTERNSGISPROC __glewSamplePatternSGIS = NULL;
- PFNGLINTERLEAVEDTEXTURECOORDSETSSGISPROC __glewInterleavedTextureCoordSetsSGIS = NULL;
- PFNGLSELECTTEXTURECOORDSETSGISPROC __glewSelectTextureCoordSetSGIS = NULL;
- PFNGLSELECTTEXTURESGISPROC __glewSelectTextureSGIS = NULL;
- PFNGLSELECTTEXTURETRANSFORMSGISPROC __glewSelectTextureTransformSGIS = NULL;
- PFNGLMULTISAMPLESUBRECTPOSSGISPROC __glewMultisampleSubRectPosSGIS = NULL;
- PFNGLGETSHARPENTEXFUNCSGISPROC __glewGetSharpenTexFuncSGIS = NULL;
- PFNGLSHARPENTEXFUNCSGISPROC __glewSharpenTexFuncSGIS = NULL;
- PFNGLTEXIMAGE4DSGISPROC __glewTexImage4DSGIS = NULL;
- PFNGLTEXSUBIMAGE4DSGISPROC __glewTexSubImage4DSGIS = NULL;
- PFNGLGETTEXFILTERFUNCSGISPROC __glewGetTexFilterFuncSGIS = NULL;
- PFNGLTEXFILTERFUNCSGISPROC __glewTexFilterFuncSGIS = NULL;
- PFNGLASYNCMARKERSGIXPROC __glewAsyncMarkerSGIX = NULL;
- PFNGLDELETEASYNCMARKERSSGIXPROC __glewDeleteAsyncMarkersSGIX = NULL;
- PFNGLFINISHASYNCSGIXPROC __glewFinishAsyncSGIX = NULL;
- PFNGLGENASYNCMARKERSSGIXPROC __glewGenAsyncMarkersSGIX = NULL;
- PFNGLISASYNCMARKERSGIXPROC __glewIsAsyncMarkerSGIX = NULL;
- PFNGLPOLLASYNCSGIXPROC __glewPollAsyncSGIX = NULL;
- PFNGLADDRESSSPACEPROC __glewAddressSpace = NULL;
- PFNGLDATAPIPEPROC __glewDataPipe = NULL;
- PFNGLFLUSHRASTERSGIXPROC __glewFlushRasterSGIX = NULL;
- PFNGLFOGLAYERSSGIXPROC __glewFogLayersSGIX = NULL;
- PFNGLGETFOGLAYERSSGIXPROC __glewGetFogLayersSGIX = NULL;
- PFNGLTEXTUREFOGSGIXPROC __glewTextureFogSGIX = NULL;
- PFNGLFRAGMENTCOLORMATERIALSGIXPROC __glewFragmentColorMaterialSGIX = NULL;
- PFNGLFRAGMENTLIGHTMODELFSGIXPROC __glewFragmentLightModelfSGIX = NULL;
- PFNGLFRAGMENTLIGHTMODELFVSGIXPROC __glewFragmentLightModelfvSGIX = NULL;
- PFNGLFRAGMENTLIGHTMODELISGIXPROC __glewFragmentLightModeliSGIX = NULL;
- PFNGLFRAGMENTLIGHTMODELIVSGIXPROC __glewFragmentLightModelivSGIX = NULL;
- PFNGLFRAGMENTLIGHTFSGIXPROC __glewFragmentLightfSGIX = NULL;
- PFNGLFRAGMENTLIGHTFVSGIXPROC __glewFragmentLightfvSGIX = NULL;
- PFNGLFRAGMENTLIGHTISGIXPROC __glewFragmentLightiSGIX = NULL;
- PFNGLFRAGMENTLIGHTIVSGIXPROC __glewFragmentLightivSGIX = NULL;
- PFNGLFRAGMENTMATERIALFSGIXPROC __glewFragmentMaterialfSGIX = NULL;
- PFNGLFRAGMENTMATERIALFVSGIXPROC __glewFragmentMaterialfvSGIX = NULL;
- PFNGLFRAGMENTMATERIALISGIXPROC __glewFragmentMaterialiSGIX = NULL;
- PFNGLFRAGMENTMATERIALIVSGIXPROC __glewFragmentMaterialivSGIX = NULL;
- PFNGLGETFRAGMENTLIGHTFVSGIXPROC __glewGetFragmentLightfvSGIX = NULL;
- PFNGLGETFRAGMENTLIGHTIVSGIXPROC __glewGetFragmentLightivSGIX = NULL;
- PFNGLGETFRAGMENTMATERIALFVSGIXPROC __glewGetFragmentMaterialfvSGIX = NULL;
- PFNGLGETFRAGMENTMATERIALIVSGIXPROC __glewGetFragmentMaterialivSGIX = NULL;
- PFNGLFRAMEZOOMSGIXPROC __glewFrameZoomSGIX = NULL;
- PFNGLIGLOOINTERFACESGIXPROC __glewIglooInterfaceSGIX = NULL;
- PFNGLALLOCMPEGPREDICTORSSGIXPROC __glewAllocMPEGPredictorsSGIX = NULL;
- PFNGLDELETEMPEGPREDICTORSSGIXPROC __glewDeleteMPEGPredictorsSGIX = NULL;
- PFNGLGENMPEGPREDICTORSSGIXPROC __glewGenMPEGPredictorsSGIX = NULL;
- PFNGLGETMPEGPARAMETERFVSGIXPROC __glewGetMPEGParameterfvSGIX = NULL;
- PFNGLGETMPEGPARAMETERIVSGIXPROC __glewGetMPEGParameterivSGIX = NULL;
- PFNGLGETMPEGPREDICTORSGIXPROC __glewGetMPEGPredictorSGIX = NULL;
- PFNGLGETMPEGQUANTTABLEUBVPROC __glewGetMPEGQuantTableubv = NULL;
- PFNGLISMPEGPREDICTORSGIXPROC __glewIsMPEGPredictorSGIX = NULL;
- PFNGLMPEGPREDICTORSGIXPROC __glewMPEGPredictorSGIX = NULL;
- PFNGLMPEGQUANTTABLEUBVPROC __glewMPEGQuantTableubv = NULL;
- PFNGLSWAPMPEGPREDICTORSSGIXPROC __glewSwapMPEGPredictorsSGIX = NULL;
- PFNGLGETNONLINLIGHTFVSGIXPROC __glewGetNonlinLightfvSGIX = NULL;
- PFNGLGETNONLINMATERIALFVSGIXPROC __glewGetNonlinMaterialfvSGIX = NULL;
- PFNGLNONLINLIGHTFVSGIXPROC __glewNonlinLightfvSGIX = NULL;
- PFNGLNONLINMATERIALFVSGIXPROC __glewNonlinMaterialfvSGIX = NULL;
- PFNGLPIXELTEXGENSGIXPROC __glewPixelTexGenSGIX = NULL;
- PFNGLDEFORMSGIXPROC __glewDeformSGIX = NULL;
- PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC __glewLoadIdentityDeformationMapSGIX = NULL;
- PFNGLMESHBREADTHSGIXPROC __glewMeshBreadthSGIX = NULL;
- PFNGLMESHSTRIDESGIXPROC __glewMeshStrideSGIX = NULL;
- PFNGLREFERENCEPLANESGIXPROC __glewReferencePlaneSGIX = NULL;
- PFNGLSPRITEPARAMETERFSGIXPROC __glewSpriteParameterfSGIX = NULL;
- PFNGLSPRITEPARAMETERFVSGIXPROC __glewSpriteParameterfvSGIX = NULL;
- PFNGLSPRITEPARAMETERISGIXPROC __glewSpriteParameteriSGIX = NULL;
- PFNGLSPRITEPARAMETERIVSGIXPROC __glewSpriteParameterivSGIX = NULL;
- PFNGLTAGSAMPLEBUFFERSGIXPROC __glewTagSampleBufferSGIX = NULL;
- PFNGLGETVECTOROPERATIONSGIXPROC __glewGetVectorOperationSGIX = NULL;
- PFNGLVECTOROPERATIONSGIXPROC __glewVectorOperationSGIX = NULL;
- PFNGLAREVERTEXARRAYSRESIDENTSGIXPROC __glewAreVertexArraysResidentSGIX = NULL;
- PFNGLBINDVERTEXARRAYSGIXPROC __glewBindVertexArraySGIX = NULL;
- PFNGLDELETEVERTEXARRAYSSGIXPROC __glewDeleteVertexArraysSGIX = NULL;
- PFNGLGENVERTEXARRAYSSGIXPROC __glewGenVertexArraysSGIX = NULL;
- PFNGLISVERTEXARRAYSGIXPROC __glewIsVertexArraySGIX = NULL;
- PFNGLPRIORITIZEVERTEXARRAYSSGIXPROC __glewPrioritizeVertexArraysSGIX = NULL;
- PFNGLCOLORTABLEPARAMETERFVSGIPROC __glewColorTableParameterfvSGI = NULL;
- PFNGLCOLORTABLEPARAMETERIVSGIPROC __glewColorTableParameterivSGI = NULL;
- PFNGLCOLORTABLESGIPROC __glewColorTableSGI = NULL;
- PFNGLCOPYCOLORTABLESGIPROC __glewCopyColorTableSGI = NULL;
- PFNGLGETCOLORTABLEPARAMETERFVSGIPROC __glewGetColorTableParameterfvSGI = NULL;
- PFNGLGETCOLORTABLEPARAMETERIVSGIPROC __glewGetColorTableParameterivSGI = NULL;
- PFNGLGETCOLORTABLESGIPROC __glewGetColorTableSGI = NULL;
- PFNGLGETPIXELTRANSFORMPARAMETERFVSGIPROC __glewGetPixelTransformParameterfvSGI = NULL;
- PFNGLGETPIXELTRANSFORMPARAMETERIVSGIPROC __glewGetPixelTransformParameterivSGI = NULL;
- PFNGLPIXELTRANSFORMPARAMETERFSGIPROC __glewPixelTransformParameterfSGI = NULL;
- PFNGLPIXELTRANSFORMPARAMETERFVSGIPROC __glewPixelTransformParameterfvSGI = NULL;
- PFNGLPIXELTRANSFORMPARAMETERISGIPROC __glewPixelTransformParameteriSGI = NULL;
- PFNGLPIXELTRANSFORMPARAMETERIVSGIPROC __glewPixelTransformParameterivSGI = NULL;
- PFNGLPIXELTRANSFORMSGIPROC __glewPixelTransformSGI = NULL;
- PFNGLFINISHTEXTURESUNXPROC __glewFinishTextureSUNX = NULL;
- PFNGLGLOBALALPHAFACTORBSUNPROC __glewGlobalAlphaFactorbSUN = NULL;
- PFNGLGLOBALALPHAFACTORDSUNPROC __glewGlobalAlphaFactordSUN = NULL;
- PFNGLGLOBALALPHAFACTORFSUNPROC __glewGlobalAlphaFactorfSUN = NULL;
- PFNGLGLOBALALPHAFACTORISUNPROC __glewGlobalAlphaFactoriSUN = NULL;
- PFNGLGLOBALALPHAFACTORSSUNPROC __glewGlobalAlphaFactorsSUN = NULL;
- PFNGLGLOBALALPHAFACTORUBSUNPROC __glewGlobalAlphaFactorubSUN = NULL;
- PFNGLGLOBALALPHAFACTORUISUNPROC __glewGlobalAlphaFactoruiSUN = NULL;
- PFNGLGLOBALALPHAFACTORUSSUNPROC __glewGlobalAlphaFactorusSUN = NULL;
- PFNGLREADVIDEOPIXELSSUNPROC __glewReadVideoPixelsSUN = NULL;
- PFNGLREPLACEMENTCODEPOINTERSUNPROC __glewReplacementCodePointerSUN = NULL;
- PFNGLREPLACEMENTCODEUBSUNPROC __glewReplacementCodeubSUN = NULL;
- PFNGLREPLACEMENTCODEUBVSUNPROC __glewReplacementCodeubvSUN = NULL;
- PFNGLREPLACEMENTCODEUISUNPROC __glewReplacementCodeuiSUN = NULL;
- PFNGLREPLACEMENTCODEUIVSUNPROC __glewReplacementCodeuivSUN = NULL;
- PFNGLREPLACEMENTCODEUSSUNPROC __glewReplacementCodeusSUN = NULL;
- PFNGLREPLACEMENTCODEUSVSUNPROC __glewReplacementCodeusvSUN = NULL;
- PFNGLCOLOR3FVERTEX3FSUNPROC __glewColor3fVertex3fSUN = NULL;
- PFNGLCOLOR3FVERTEX3FVSUNPROC __glewColor3fVertex3fvSUN = NULL;
- PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewColor4fNormal3fVertex3fSUN = NULL;
- PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewColor4fNormal3fVertex3fvSUN = NULL;
- PFNGLCOLOR4UBVERTEX2FSUNPROC __glewColor4ubVertex2fSUN = NULL;
- PFNGLCOLOR4UBVERTEX2FVSUNPROC __glewColor4ubVertex2fvSUN = NULL;
- PFNGLCOLOR4UBVERTEX3FSUNPROC __glewColor4ubVertex3fSUN = NULL;
- PFNGLCOLOR4UBVERTEX3FVSUNPROC __glewColor4ubVertex3fvSUN = NULL;
- PFNGLNORMAL3FVERTEX3FSUNPROC __glewNormal3fVertex3fSUN = NULL;
- PFNGLNORMAL3FVERTEX3FVSUNPROC __glewNormal3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC __glewReplacementCodeuiColor3fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiColor4fNormal3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC __glewReplacementCodeuiColor4ubVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC __glewReplacementCodeuiColor4ubVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiNormal3fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiNormal3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC __glewReplacementCodeuiTexCoord2fVertex3fvSUN = NULL;
- PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC __glewReplacementCodeuiVertex3fSUN = NULL;
- PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC __glewReplacementCodeuiVertex3fvSUN = NULL;
- PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC __glewTexCoord2fColor3fVertex3fSUN = NULL;
- PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC __glewTexCoord2fColor3fVertex3fvSUN = NULL;
- PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fSUN = NULL;
- PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fColor4fNormal3fVertex3fvSUN = NULL;
- PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC __glewTexCoord2fColor4ubVertex3fSUN = NULL;
- PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC __glewTexCoord2fColor4ubVertex3fvSUN = NULL;
- PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC __glewTexCoord2fNormal3fVertex3fSUN = NULL;
- PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC __glewTexCoord2fNormal3fVertex3fvSUN = NULL;
- PFNGLTEXCOORD2FVERTEX3FSUNPROC __glewTexCoord2fVertex3fSUN = NULL;
- PFNGLTEXCOORD2FVERTEX3FVSUNPROC __glewTexCoord2fVertex3fvSUN = NULL;
- PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fSUN = NULL;
- PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC __glewTexCoord4fColor4fNormal3fVertex4fvSUN = NULL;
- PFNGLTEXCOORD4FVERTEX4FSUNPROC __glewTexCoord4fVertex4fSUN = NULL;
- PFNGLTEXCOORD4FVERTEX4FVSUNPROC __glewTexCoord4fVertex4fvSUN = NULL;
- PFNGLADDSWAPHINTRECTWINPROC __glewAddSwapHintRectWIN = NULL;
- GLboolean __GLEW_VERSION_1_1 = GL_FALSE;
- GLboolean __GLEW_VERSION_1_2 = GL_FALSE;
- GLboolean __GLEW_VERSION_1_2_1 = GL_FALSE;
- GLboolean __GLEW_VERSION_1_3 = GL_FALSE;
- GLboolean __GLEW_VERSION_1_4 = GL_FALSE;
- GLboolean __GLEW_VERSION_1_5 = GL_FALSE;
- GLboolean __GLEW_VERSION_2_0 = GL_FALSE;
- GLboolean __GLEW_VERSION_2_1 = GL_FALSE;
- GLboolean __GLEW_VERSION_3_0 = GL_FALSE;
- GLboolean __GLEW_VERSION_3_1 = GL_FALSE;
- GLboolean __GLEW_VERSION_3_2 = GL_FALSE;
- GLboolean __GLEW_VERSION_3_3 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_0 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_1 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_2 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_3 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_4 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_5 = GL_FALSE;
- GLboolean __GLEW_VERSION_4_6 = GL_FALSE;
- GLboolean __GLEW_3DFX_multisample = GL_FALSE;
- GLboolean __GLEW_3DFX_tbuffer = GL_FALSE;
- GLboolean __GLEW_3DFX_texture_compression_FXT1 = GL_FALSE;
- GLboolean __GLEW_AMD_blend_minmax_factor = GL_FALSE;
- GLboolean __GLEW_AMD_compressed_3DC_texture = GL_FALSE;
- GLboolean __GLEW_AMD_compressed_ATC_texture = GL_FALSE;
- GLboolean __GLEW_AMD_conservative_depth = GL_FALSE;
- GLboolean __GLEW_AMD_debug_output = GL_FALSE;
- GLboolean __GLEW_AMD_depth_clamp_separate = GL_FALSE;
- GLboolean __GLEW_AMD_draw_buffers_blend = GL_FALSE;
- GLboolean __GLEW_AMD_framebuffer_sample_positions = GL_FALSE;
- GLboolean __GLEW_AMD_gcn_shader = GL_FALSE;
- GLboolean __GLEW_AMD_gpu_shader_half_float = GL_FALSE;
- GLboolean __GLEW_AMD_gpu_shader_int16 = GL_FALSE;
- GLboolean __GLEW_AMD_gpu_shader_int64 = GL_FALSE;
- GLboolean __GLEW_AMD_interleaved_elements = GL_FALSE;
- GLboolean __GLEW_AMD_multi_draw_indirect = GL_FALSE;
- GLboolean __GLEW_AMD_name_gen_delete = GL_FALSE;
- GLboolean __GLEW_AMD_occlusion_query_event = GL_FALSE;
- GLboolean __GLEW_AMD_performance_monitor = GL_FALSE;
- GLboolean __GLEW_AMD_pinned_memory = GL_FALSE;
- GLboolean __GLEW_AMD_program_binary_Z400 = GL_FALSE;
- GLboolean __GLEW_AMD_query_buffer_object = GL_FALSE;
- GLboolean __GLEW_AMD_sample_positions = GL_FALSE;
- GLboolean __GLEW_AMD_seamless_cubemap_per_texture = GL_FALSE;
- GLboolean __GLEW_AMD_shader_atomic_counter_ops = GL_FALSE;
- GLboolean __GLEW_AMD_shader_ballot = GL_FALSE;
- GLboolean __GLEW_AMD_shader_explicit_vertex_parameter = GL_FALSE;
- GLboolean __GLEW_AMD_shader_stencil_export = GL_FALSE;
- GLboolean __GLEW_AMD_shader_stencil_value_export = GL_FALSE;
- GLboolean __GLEW_AMD_shader_trinary_minmax = GL_FALSE;
- GLboolean __GLEW_AMD_sparse_texture = GL_FALSE;
- GLboolean __GLEW_AMD_stencil_operation_extended = GL_FALSE;
- GLboolean __GLEW_AMD_texture_gather_bias_lod = GL_FALSE;
- GLboolean __GLEW_AMD_texture_texture4 = GL_FALSE;
- GLboolean __GLEW_AMD_transform_feedback3_lines_triangles = GL_FALSE;
- GLboolean __GLEW_AMD_transform_feedback4 = GL_FALSE;
- GLboolean __GLEW_AMD_vertex_shader_layer = GL_FALSE;
- GLboolean __GLEW_AMD_vertex_shader_tessellator = GL_FALSE;
- GLboolean __GLEW_AMD_vertex_shader_viewport_index = GL_FALSE;
- GLboolean __GLEW_ANDROID_extension_pack_es31a = GL_FALSE;
- GLboolean __GLEW_ANGLE_depth_texture = GL_FALSE;
- GLboolean __GLEW_ANGLE_framebuffer_blit = GL_FALSE;
- GLboolean __GLEW_ANGLE_framebuffer_multisample = GL_FALSE;
- GLboolean __GLEW_ANGLE_instanced_arrays = GL_FALSE;
- GLboolean __GLEW_ANGLE_pack_reverse_row_order = GL_FALSE;
- GLboolean __GLEW_ANGLE_program_binary = GL_FALSE;
- GLboolean __GLEW_ANGLE_texture_compression_dxt1 = GL_FALSE;
- GLboolean __GLEW_ANGLE_texture_compression_dxt3 = GL_FALSE;
- GLboolean __GLEW_ANGLE_texture_compression_dxt5 = GL_FALSE;
- GLboolean __GLEW_ANGLE_texture_usage = GL_FALSE;
- GLboolean __GLEW_ANGLE_timer_query = GL_FALSE;
- GLboolean __GLEW_ANGLE_translated_shader_source = GL_FALSE;
- GLboolean __GLEW_APPLE_aux_depth_stencil = GL_FALSE;
- GLboolean __GLEW_APPLE_client_storage = GL_FALSE;
- GLboolean __GLEW_APPLE_clip_distance = GL_FALSE;
- GLboolean __GLEW_APPLE_color_buffer_packed_float = GL_FALSE;
- GLboolean __GLEW_APPLE_copy_texture_levels = GL_FALSE;
- GLboolean __GLEW_APPLE_element_array = GL_FALSE;
- GLboolean __GLEW_APPLE_fence = GL_FALSE;
- GLboolean __GLEW_APPLE_float_pixels = GL_FALSE;
- GLboolean __GLEW_APPLE_flush_buffer_range = GL_FALSE;
- GLboolean __GLEW_APPLE_framebuffer_multisample = GL_FALSE;
- GLboolean __GLEW_APPLE_object_purgeable = GL_FALSE;
- GLboolean __GLEW_APPLE_pixel_buffer = GL_FALSE;
- GLboolean __GLEW_APPLE_rgb_422 = GL_FALSE;
- GLboolean __GLEW_APPLE_row_bytes = GL_FALSE;
- GLboolean __GLEW_APPLE_specular_vector = GL_FALSE;
- GLboolean __GLEW_APPLE_sync = GL_FALSE;
- GLboolean __GLEW_APPLE_texture_2D_limited_npot = GL_FALSE;
- GLboolean __GLEW_APPLE_texture_format_BGRA8888 = GL_FALSE;
- GLboolean __GLEW_APPLE_texture_max_level = GL_FALSE;
- GLboolean __GLEW_APPLE_texture_packed_float = GL_FALSE;
- GLboolean __GLEW_APPLE_texture_range = GL_FALSE;
- GLboolean __GLEW_APPLE_transform_hint = GL_FALSE;
- GLboolean __GLEW_APPLE_vertex_array_object = GL_FALSE;
- GLboolean __GLEW_APPLE_vertex_array_range = GL_FALSE;
- GLboolean __GLEW_APPLE_vertex_program_evaluators = GL_FALSE;
- GLboolean __GLEW_APPLE_ycbcr_422 = GL_FALSE;
- GLboolean __GLEW_ARB_ES2_compatibility = GL_FALSE;
- GLboolean __GLEW_ARB_ES3_1_compatibility = GL_FALSE;
- GLboolean __GLEW_ARB_ES3_2_compatibility = GL_FALSE;
- GLboolean __GLEW_ARB_ES3_compatibility = GL_FALSE;
- GLboolean __GLEW_ARB_arrays_of_arrays = GL_FALSE;
- GLboolean __GLEW_ARB_base_instance = GL_FALSE;
- GLboolean __GLEW_ARB_bindless_texture = GL_FALSE;
- GLboolean __GLEW_ARB_blend_func_extended = GL_FALSE;
- GLboolean __GLEW_ARB_buffer_storage = GL_FALSE;
- GLboolean __GLEW_ARB_cl_event = GL_FALSE;
- GLboolean __GLEW_ARB_clear_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_clear_texture = GL_FALSE;
- GLboolean __GLEW_ARB_clip_control = GL_FALSE;
- GLboolean __GLEW_ARB_color_buffer_float = GL_FALSE;
- GLboolean __GLEW_ARB_compatibility = GL_FALSE;
- GLboolean __GLEW_ARB_compressed_texture_pixel_storage = GL_FALSE;
- GLboolean __GLEW_ARB_compute_shader = GL_FALSE;
- GLboolean __GLEW_ARB_compute_variable_group_size = GL_FALSE;
- GLboolean __GLEW_ARB_conditional_render_inverted = GL_FALSE;
- GLboolean __GLEW_ARB_conservative_depth = GL_FALSE;
- GLboolean __GLEW_ARB_copy_buffer = GL_FALSE;
- GLboolean __GLEW_ARB_copy_image = GL_FALSE;
- GLboolean __GLEW_ARB_cull_distance = GL_FALSE;
- GLboolean __GLEW_ARB_debug_output = GL_FALSE;
- GLboolean __GLEW_ARB_depth_buffer_float = GL_FALSE;
- GLboolean __GLEW_ARB_depth_clamp = GL_FALSE;
- GLboolean __GLEW_ARB_depth_texture = GL_FALSE;
- GLboolean __GLEW_ARB_derivative_control = GL_FALSE;
- GLboolean __GLEW_ARB_direct_state_access = GL_FALSE;
- GLboolean __GLEW_ARB_draw_buffers = GL_FALSE;
- GLboolean __GLEW_ARB_draw_buffers_blend = GL_FALSE;
- GLboolean __GLEW_ARB_draw_elements_base_vertex = GL_FALSE;
- GLboolean __GLEW_ARB_draw_indirect = GL_FALSE;
- GLboolean __GLEW_ARB_draw_instanced = GL_FALSE;
- GLboolean __GLEW_ARB_enhanced_layouts = GL_FALSE;
- GLboolean __GLEW_ARB_explicit_attrib_location = GL_FALSE;
- GLboolean __GLEW_ARB_explicit_uniform_location = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_coord_conventions = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_layer_viewport = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_program = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_program_shadow = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_shader = GL_FALSE;
- GLboolean __GLEW_ARB_fragment_shader_interlock = GL_FALSE;
- GLboolean __GLEW_ARB_framebuffer_no_attachments = GL_FALSE;
- GLboolean __GLEW_ARB_framebuffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_framebuffer_sRGB = GL_FALSE;
- GLboolean __GLEW_ARB_geometry_shader4 = GL_FALSE;
- GLboolean __GLEW_ARB_get_program_binary = GL_FALSE;
- GLboolean __GLEW_ARB_get_texture_sub_image = GL_FALSE;
- GLboolean __GLEW_ARB_gl_spirv = GL_FALSE;
- GLboolean __GLEW_ARB_gpu_shader5 = GL_FALSE;
- GLboolean __GLEW_ARB_gpu_shader_fp64 = GL_FALSE;
- GLboolean __GLEW_ARB_gpu_shader_int64 = GL_FALSE;
- GLboolean __GLEW_ARB_half_float_pixel = GL_FALSE;
- GLboolean __GLEW_ARB_half_float_vertex = GL_FALSE;
- GLboolean __GLEW_ARB_imaging = GL_FALSE;
- GLboolean __GLEW_ARB_indirect_parameters = GL_FALSE;
- GLboolean __GLEW_ARB_instanced_arrays = GL_FALSE;
- GLboolean __GLEW_ARB_internalformat_query = GL_FALSE;
- GLboolean __GLEW_ARB_internalformat_query2 = GL_FALSE;
- GLboolean __GLEW_ARB_invalidate_subdata = GL_FALSE;
- GLboolean __GLEW_ARB_map_buffer_alignment = GL_FALSE;
- GLboolean __GLEW_ARB_map_buffer_range = GL_FALSE;
- GLboolean __GLEW_ARB_matrix_palette = GL_FALSE;
- GLboolean __GLEW_ARB_multi_bind = GL_FALSE;
- GLboolean __GLEW_ARB_multi_draw_indirect = GL_FALSE;
- GLboolean __GLEW_ARB_multisample = GL_FALSE;
- GLboolean __GLEW_ARB_multitexture = GL_FALSE;
- GLboolean __GLEW_ARB_occlusion_query = GL_FALSE;
- GLboolean __GLEW_ARB_occlusion_query2 = GL_FALSE;
- GLboolean __GLEW_ARB_parallel_shader_compile = GL_FALSE;
- GLboolean __GLEW_ARB_pipeline_statistics_query = GL_FALSE;
- GLboolean __GLEW_ARB_pixel_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_point_parameters = GL_FALSE;
- GLboolean __GLEW_ARB_point_sprite = GL_FALSE;
- GLboolean __GLEW_ARB_polygon_offset_clamp = GL_FALSE;
- GLboolean __GLEW_ARB_post_depth_coverage = GL_FALSE;
- GLboolean __GLEW_ARB_program_interface_query = GL_FALSE;
- GLboolean __GLEW_ARB_provoking_vertex = GL_FALSE;
- GLboolean __GLEW_ARB_query_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_robust_buffer_access_behavior = GL_FALSE;
- GLboolean __GLEW_ARB_robustness = GL_FALSE;
- GLboolean __GLEW_ARB_robustness_application_isolation = GL_FALSE;
- GLboolean __GLEW_ARB_robustness_share_group_isolation = GL_FALSE;
- GLboolean __GLEW_ARB_sample_locations = GL_FALSE;
- GLboolean __GLEW_ARB_sample_shading = GL_FALSE;
- GLboolean __GLEW_ARB_sampler_objects = GL_FALSE;
- GLboolean __GLEW_ARB_seamless_cube_map = GL_FALSE;
- GLboolean __GLEW_ARB_seamless_cubemap_per_texture = GL_FALSE;
- GLboolean __GLEW_ARB_separate_shader_objects = GL_FALSE;
- GLboolean __GLEW_ARB_shader_atomic_counter_ops = GL_FALSE;
- GLboolean __GLEW_ARB_shader_atomic_counters = GL_FALSE;
- GLboolean __GLEW_ARB_shader_ballot = GL_FALSE;
- GLboolean __GLEW_ARB_shader_bit_encoding = GL_FALSE;
- GLboolean __GLEW_ARB_shader_clock = GL_FALSE;
- GLboolean __GLEW_ARB_shader_draw_parameters = GL_FALSE;
- GLboolean __GLEW_ARB_shader_group_vote = GL_FALSE;
- GLboolean __GLEW_ARB_shader_image_load_store = GL_FALSE;
- GLboolean __GLEW_ARB_shader_image_size = GL_FALSE;
- GLboolean __GLEW_ARB_shader_objects = GL_FALSE;
- GLboolean __GLEW_ARB_shader_precision = GL_FALSE;
- GLboolean __GLEW_ARB_shader_stencil_export = GL_FALSE;
- GLboolean __GLEW_ARB_shader_storage_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_shader_subroutine = GL_FALSE;
- GLboolean __GLEW_ARB_shader_texture_image_samples = GL_FALSE;
- GLboolean __GLEW_ARB_shader_texture_lod = GL_FALSE;
- GLboolean __GLEW_ARB_shader_viewport_layer_array = GL_FALSE;
- GLboolean __GLEW_ARB_shading_language_100 = GL_FALSE;
- GLboolean __GLEW_ARB_shading_language_420pack = GL_FALSE;
- GLboolean __GLEW_ARB_shading_language_include = GL_FALSE;
- GLboolean __GLEW_ARB_shading_language_packing = GL_FALSE;
- GLboolean __GLEW_ARB_shadow = GL_FALSE;
- GLboolean __GLEW_ARB_shadow_ambient = GL_FALSE;
- GLboolean __GLEW_ARB_sparse_buffer = GL_FALSE;
- GLboolean __GLEW_ARB_sparse_texture = GL_FALSE;
- GLboolean __GLEW_ARB_sparse_texture2 = GL_FALSE;
- GLboolean __GLEW_ARB_sparse_texture_clamp = GL_FALSE;
- GLboolean __GLEW_ARB_spirv_extensions = GL_FALSE;
- GLboolean __GLEW_ARB_stencil_texturing = GL_FALSE;
- GLboolean __GLEW_ARB_sync = GL_FALSE;
- GLboolean __GLEW_ARB_tessellation_shader = GL_FALSE;
- GLboolean __GLEW_ARB_texture_barrier = GL_FALSE;
- GLboolean __GLEW_ARB_texture_border_clamp = GL_FALSE;
- GLboolean __GLEW_ARB_texture_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_texture_buffer_object_rgb32 = GL_FALSE;
- GLboolean __GLEW_ARB_texture_buffer_range = GL_FALSE;
- GLboolean __GLEW_ARB_texture_compression = GL_FALSE;
- GLboolean __GLEW_ARB_texture_compression_bptc = GL_FALSE;
- GLboolean __GLEW_ARB_texture_compression_rgtc = GL_FALSE;
- GLboolean __GLEW_ARB_texture_cube_map = GL_FALSE;
- GLboolean __GLEW_ARB_texture_cube_map_array = GL_FALSE;
- GLboolean __GLEW_ARB_texture_env_add = GL_FALSE;
- GLboolean __GLEW_ARB_texture_env_combine = GL_FALSE;
- GLboolean __GLEW_ARB_texture_env_crossbar = GL_FALSE;
- GLboolean __GLEW_ARB_texture_env_dot3 = GL_FALSE;
- GLboolean __GLEW_ARB_texture_filter_anisotropic = GL_FALSE;
- GLboolean __GLEW_ARB_texture_filter_minmax = GL_FALSE;
- GLboolean __GLEW_ARB_texture_float = GL_FALSE;
- GLboolean __GLEW_ARB_texture_gather = GL_FALSE;
- GLboolean __GLEW_ARB_texture_mirror_clamp_to_edge = GL_FALSE;
- GLboolean __GLEW_ARB_texture_mirrored_repeat = GL_FALSE;
- GLboolean __GLEW_ARB_texture_multisample = GL_FALSE;
- GLboolean __GLEW_ARB_texture_non_power_of_two = GL_FALSE;
- GLboolean __GLEW_ARB_texture_query_levels = GL_FALSE;
- GLboolean __GLEW_ARB_texture_query_lod = GL_FALSE;
- GLboolean __GLEW_ARB_texture_rectangle = GL_FALSE;
- GLboolean __GLEW_ARB_texture_rg = GL_FALSE;
- GLboolean __GLEW_ARB_texture_rgb10_a2ui = GL_FALSE;
- GLboolean __GLEW_ARB_texture_stencil8 = GL_FALSE;
- GLboolean __GLEW_ARB_texture_storage = GL_FALSE;
- GLboolean __GLEW_ARB_texture_storage_multisample = GL_FALSE;
- GLboolean __GLEW_ARB_texture_swizzle = GL_FALSE;
- GLboolean __GLEW_ARB_texture_view = GL_FALSE;
- GLboolean __GLEW_ARB_timer_query = GL_FALSE;
- GLboolean __GLEW_ARB_transform_feedback2 = GL_FALSE;
- GLboolean __GLEW_ARB_transform_feedback3 = GL_FALSE;
- GLboolean __GLEW_ARB_transform_feedback_instanced = GL_FALSE;
- GLboolean __GLEW_ARB_transform_feedback_overflow_query = GL_FALSE;
- GLboolean __GLEW_ARB_transpose_matrix = GL_FALSE;
- GLboolean __GLEW_ARB_uniform_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_array_bgra = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_array_object = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_attrib_64bit = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_attrib_binding = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_blend = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_buffer_object = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_program = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_shader = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_type_10f_11f_11f_rev = GL_FALSE;
- GLboolean __GLEW_ARB_vertex_type_2_10_10_10_rev = GL_FALSE;
- GLboolean __GLEW_ARB_viewport_array = GL_FALSE;
- GLboolean __GLEW_ARB_window_pos = GL_FALSE;
- GLboolean __GLEW_ARM_mali_program_binary = GL_FALSE;
- GLboolean __GLEW_ARM_mali_shader_binary = GL_FALSE;
- GLboolean __GLEW_ARM_rgba8 = GL_FALSE;
- GLboolean __GLEW_ARM_shader_framebuffer_fetch = GL_FALSE;
- GLboolean __GLEW_ARM_shader_framebuffer_fetch_depth_stencil = GL_FALSE;
- GLboolean __GLEW_ATIX_point_sprites = GL_FALSE;
- GLboolean __GLEW_ATIX_texture_env_combine3 = GL_FALSE;
- GLboolean __GLEW_ATIX_texture_env_route = GL_FALSE;
- GLboolean __GLEW_ATIX_vertex_shader_output_point_size = GL_FALSE;
- GLboolean __GLEW_ATI_draw_buffers = GL_FALSE;
- GLboolean __GLEW_ATI_element_array = GL_FALSE;
- GLboolean __GLEW_ATI_envmap_bumpmap = GL_FALSE;
- GLboolean __GLEW_ATI_fragment_shader = GL_FALSE;
- GLboolean __GLEW_ATI_map_object_buffer = GL_FALSE;
- GLboolean __GLEW_ATI_meminfo = GL_FALSE;
- GLboolean __GLEW_ATI_pn_triangles = GL_FALSE;
- GLboolean __GLEW_ATI_separate_stencil = GL_FALSE;
- GLboolean __GLEW_ATI_shader_texture_lod = GL_FALSE;
- GLboolean __GLEW_ATI_text_fragment_shader = GL_FALSE;
- GLboolean __GLEW_ATI_texture_compression_3dc = GL_FALSE;
- GLboolean __GLEW_ATI_texture_env_combine3 = GL_FALSE;
- GLboolean __GLEW_ATI_texture_float = GL_FALSE;
- GLboolean __GLEW_ATI_texture_mirror_once = GL_FALSE;
- GLboolean __GLEW_ATI_vertex_array_object = GL_FALSE;
- GLboolean __GLEW_ATI_vertex_attrib_array_object = GL_FALSE;
- GLboolean __GLEW_ATI_vertex_streams = GL_FALSE;
- GLboolean __GLEW_EGL_KHR_context_flush_control = GL_FALSE;
- GLboolean __GLEW_EGL_NV_robustness_video_memory_purge = GL_FALSE;
- GLboolean __GLEW_EXT_422_pixels = GL_FALSE;
- GLboolean __GLEW_EXT_Cg_shader = GL_FALSE;
- GLboolean __GLEW_EXT_EGL_image_array = GL_FALSE;
- GLboolean __GLEW_EXT_YUV_target = GL_FALSE;
- GLboolean __GLEW_EXT_abgr = GL_FALSE;
- GLboolean __GLEW_EXT_base_instance = GL_FALSE;
- GLboolean __GLEW_EXT_bgra = GL_FALSE;
- GLboolean __GLEW_EXT_bindable_uniform = GL_FALSE;
- GLboolean __GLEW_EXT_blend_color = GL_FALSE;
- GLboolean __GLEW_EXT_blend_equation_separate = GL_FALSE;
- GLboolean __GLEW_EXT_blend_func_extended = GL_FALSE;
- GLboolean __GLEW_EXT_blend_func_separate = GL_FALSE;
- GLboolean __GLEW_EXT_blend_logic_op = GL_FALSE;
- GLboolean __GLEW_EXT_blend_minmax = GL_FALSE;
- GLboolean __GLEW_EXT_blend_subtract = GL_FALSE;
- GLboolean __GLEW_EXT_buffer_storage = GL_FALSE;
- GLboolean __GLEW_EXT_clear_texture = GL_FALSE;
- GLboolean __GLEW_EXT_clip_cull_distance = GL_FALSE;
- GLboolean __GLEW_EXT_clip_volume_hint = GL_FALSE;
- GLboolean __GLEW_EXT_cmyka = GL_FALSE;
- GLboolean __GLEW_EXT_color_buffer_float = GL_FALSE;
- GLboolean __GLEW_EXT_color_buffer_half_float = GL_FALSE;
- GLboolean __GLEW_EXT_color_subtable = GL_FALSE;
- GLboolean __GLEW_EXT_compiled_vertex_array = GL_FALSE;
- GLboolean __GLEW_EXT_compressed_ETC1_RGB8_sub_texture = GL_FALSE;
- GLboolean __GLEW_EXT_conservative_depth = GL_FALSE;
- GLboolean __GLEW_EXT_convolution = GL_FALSE;
- GLboolean __GLEW_EXT_coordinate_frame = GL_FALSE;
- GLboolean __GLEW_EXT_copy_image = GL_FALSE;
- GLboolean __GLEW_EXT_copy_texture = GL_FALSE;
- GLboolean __GLEW_EXT_cull_vertex = GL_FALSE;
- GLboolean __GLEW_EXT_debug_label = GL_FALSE;
- GLboolean __GLEW_EXT_debug_marker = GL_FALSE;
- GLboolean __GLEW_EXT_depth_bounds_test = GL_FALSE;
- GLboolean __GLEW_EXT_direct_state_access = GL_FALSE;
- GLboolean __GLEW_EXT_discard_framebuffer = GL_FALSE;
- GLboolean __GLEW_EXT_draw_buffers = GL_FALSE;
- GLboolean __GLEW_EXT_draw_buffers2 = GL_FALSE;
- GLboolean __GLEW_EXT_draw_buffers_indexed = GL_FALSE;
- GLboolean __GLEW_EXT_draw_elements_base_vertex = GL_FALSE;
- GLboolean __GLEW_EXT_draw_instanced = GL_FALSE;
- GLboolean __GLEW_EXT_draw_range_elements = GL_FALSE;
- GLboolean __GLEW_EXT_external_buffer = GL_FALSE;
- GLboolean __GLEW_EXT_float_blend = GL_FALSE;
- GLboolean __GLEW_EXT_fog_coord = GL_FALSE;
- GLboolean __GLEW_EXT_frag_depth = GL_FALSE;
- GLboolean __GLEW_EXT_fragment_lighting = GL_FALSE;
- GLboolean __GLEW_EXT_framebuffer_blit = GL_FALSE;
- GLboolean __GLEW_EXT_framebuffer_multisample = GL_FALSE;
- GLboolean __GLEW_EXT_framebuffer_multisample_blit_scaled = GL_FALSE;
- GLboolean __GLEW_EXT_framebuffer_object = GL_FALSE;
- GLboolean __GLEW_EXT_framebuffer_sRGB = GL_FALSE;
- GLboolean __GLEW_EXT_geometry_point_size = GL_FALSE;
- GLboolean __GLEW_EXT_geometry_shader = GL_FALSE;
- GLboolean __GLEW_EXT_geometry_shader4 = GL_FALSE;
- GLboolean __GLEW_EXT_gpu_program_parameters = GL_FALSE;
- GLboolean __GLEW_EXT_gpu_shader4 = GL_FALSE;
- GLboolean __GLEW_EXT_gpu_shader5 = GL_FALSE;
- GLboolean __GLEW_EXT_histogram = GL_FALSE;
- GLboolean __GLEW_EXT_index_array_formats = GL_FALSE;
- GLboolean __GLEW_EXT_index_func = GL_FALSE;
- GLboolean __GLEW_EXT_index_material = GL_FALSE;
- GLboolean __GLEW_EXT_index_texture = GL_FALSE;
- GLboolean __GLEW_EXT_instanced_arrays = GL_FALSE;
- GLboolean __GLEW_EXT_light_texture = GL_FALSE;
- GLboolean __GLEW_EXT_map_buffer_range = GL_FALSE;
- GLboolean __GLEW_EXT_memory_object = GL_FALSE;
- GLboolean __GLEW_EXT_memory_object_fd = GL_FALSE;
- GLboolean __GLEW_EXT_memory_object_win32 = GL_FALSE;
- GLboolean __GLEW_EXT_misc_attribute = GL_FALSE;
- GLboolean __GLEW_EXT_multi_draw_arrays = GL_FALSE;
- GLboolean __GLEW_EXT_multi_draw_indirect = GL_FALSE;
- GLboolean __GLEW_EXT_multiple_textures = GL_FALSE;
- GLboolean __GLEW_EXT_multisample = GL_FALSE;
- GLboolean __GLEW_EXT_multisample_compatibility = GL_FALSE;
- GLboolean __GLEW_EXT_multisampled_render_to_texture = GL_FALSE;
- GLboolean __GLEW_EXT_multisampled_render_to_texture2 = GL_FALSE;
- GLboolean __GLEW_EXT_multiview_draw_buffers = GL_FALSE;
- GLboolean __GLEW_EXT_packed_depth_stencil = GL_FALSE;
- GLboolean __GLEW_EXT_packed_float = GL_FALSE;
- GLboolean __GLEW_EXT_packed_pixels = GL_FALSE;
- GLboolean __GLEW_EXT_paletted_texture = GL_FALSE;
- GLboolean __GLEW_EXT_pixel_buffer_object = GL_FALSE;
- GLboolean __GLEW_EXT_pixel_transform = GL_FALSE;
- GLboolean __GLEW_EXT_pixel_transform_color_table = GL_FALSE;
- GLboolean __GLEW_EXT_point_parameters = GL_FALSE;
- GLboolean __GLEW_EXT_polygon_offset = GL_FALSE;
- GLboolean __GLEW_EXT_polygon_offset_clamp = GL_FALSE;
- GLboolean __GLEW_EXT_post_depth_coverage = GL_FALSE;
- GLboolean __GLEW_EXT_provoking_vertex = GL_FALSE;
- GLboolean __GLEW_EXT_pvrtc_sRGB = GL_FALSE;
- GLboolean __GLEW_EXT_raster_multisample = GL_FALSE;
- GLboolean __GLEW_EXT_read_format_bgra = GL_FALSE;
- GLboolean __GLEW_EXT_render_snorm = GL_FALSE;
- GLboolean __GLEW_EXT_rescale_normal = GL_FALSE;
- GLboolean __GLEW_EXT_sRGB = GL_FALSE;
- GLboolean __GLEW_EXT_sRGB_write_control = GL_FALSE;
- GLboolean __GLEW_EXT_scene_marker = GL_FALSE;
- GLboolean __GLEW_EXT_secondary_color = GL_FALSE;
- GLboolean __GLEW_EXT_semaphore = GL_FALSE;
- GLboolean __GLEW_EXT_semaphore_fd = GL_FALSE;
- GLboolean __GLEW_EXT_semaphore_win32 = GL_FALSE;
- GLboolean __GLEW_EXT_separate_shader_objects = GL_FALSE;
- GLboolean __GLEW_EXT_separate_specular_color = GL_FALSE;
- GLboolean __GLEW_EXT_shader_framebuffer_fetch = GL_FALSE;
- GLboolean __GLEW_EXT_shader_group_vote = GL_FALSE;
- GLboolean __GLEW_EXT_shader_image_load_formatted = GL_FALSE;
- GLboolean __GLEW_EXT_shader_image_load_store = GL_FALSE;
- GLboolean __GLEW_EXT_shader_implicit_conversions = GL_FALSE;
- GLboolean __GLEW_EXT_shader_integer_mix = GL_FALSE;
- GLboolean __GLEW_EXT_shader_io_blocks = GL_FALSE;
- GLboolean __GLEW_EXT_shader_non_constant_global_initializers = GL_FALSE;
- GLboolean __GLEW_EXT_shader_pixel_local_storage = GL_FALSE;
- GLboolean __GLEW_EXT_shader_pixel_local_storage2 = GL_FALSE;
- GLboolean __GLEW_EXT_shader_texture_lod = GL_FALSE;
- GLboolean __GLEW_EXT_shadow_funcs = GL_FALSE;
- GLboolean __GLEW_EXT_shadow_samplers = GL_FALSE;
- GLboolean __GLEW_EXT_shared_texture_palette = GL_FALSE;
- GLboolean __GLEW_EXT_sparse_texture = GL_FALSE;
- GLboolean __GLEW_EXT_sparse_texture2 = GL_FALSE;
- GLboolean __GLEW_EXT_stencil_clear_tag = GL_FALSE;
- GLboolean __GLEW_EXT_stencil_two_side = GL_FALSE;
- GLboolean __GLEW_EXT_stencil_wrap = GL_FALSE;
- GLboolean __GLEW_EXT_subtexture = GL_FALSE;
- GLboolean __GLEW_EXT_texture = GL_FALSE;
- GLboolean __GLEW_EXT_texture3D = GL_FALSE;
- GLboolean __GLEW_EXT_texture_array = GL_FALSE;
- GLboolean __GLEW_EXT_texture_buffer_object = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_astc_decode_mode = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_bptc = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_dxt1 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_latc = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_rgtc = GL_FALSE;
- GLboolean __GLEW_EXT_texture_compression_s3tc = GL_FALSE;
- GLboolean __GLEW_EXT_texture_cube_map = GL_FALSE;
- GLboolean __GLEW_EXT_texture_cube_map_array = GL_FALSE;
- GLboolean __GLEW_EXT_texture_edge_clamp = GL_FALSE;
- GLboolean __GLEW_EXT_texture_env = GL_FALSE;
- GLboolean __GLEW_EXT_texture_env_add = GL_FALSE;
- GLboolean __GLEW_EXT_texture_env_combine = GL_FALSE;
- GLboolean __GLEW_EXT_texture_env_dot3 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_filter_anisotropic = GL_FALSE;
- GLboolean __GLEW_EXT_texture_filter_minmax = GL_FALSE;
- GLboolean __GLEW_EXT_texture_format_BGRA8888 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_integer = GL_FALSE;
- GLboolean __GLEW_EXT_texture_lod_bias = GL_FALSE;
- GLboolean __GLEW_EXT_texture_mirror_clamp = GL_FALSE;
- GLboolean __GLEW_EXT_texture_norm16 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_object = GL_FALSE;
- GLboolean __GLEW_EXT_texture_perturb_normal = GL_FALSE;
- GLboolean __GLEW_EXT_texture_rectangle = GL_FALSE;
- GLboolean __GLEW_EXT_texture_rg = GL_FALSE;
- GLboolean __GLEW_EXT_texture_sRGB = GL_FALSE;
- GLboolean __GLEW_EXT_texture_sRGB_R8 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_sRGB_RG8 = GL_FALSE;
- GLboolean __GLEW_EXT_texture_sRGB_decode = GL_FALSE;
- GLboolean __GLEW_EXT_texture_shared_exponent = GL_FALSE;
- GLboolean __GLEW_EXT_texture_snorm = GL_FALSE;
- GLboolean __GLEW_EXT_texture_storage = GL_FALSE;
- GLboolean __GLEW_EXT_texture_swizzle = GL_FALSE;
- GLboolean __GLEW_EXT_texture_type_2_10_10_10_REV = GL_FALSE;
- GLboolean __GLEW_EXT_texture_view = GL_FALSE;
- GLboolean __GLEW_EXT_timer_query = GL_FALSE;
- GLboolean __GLEW_EXT_transform_feedback = GL_FALSE;
- GLboolean __GLEW_EXT_unpack_subimage = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_array = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_array_bgra = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_array_setXXX = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_attrib_64bit = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_shader = GL_FALSE;
- GLboolean __GLEW_EXT_vertex_weighting = GL_FALSE;
- GLboolean __GLEW_EXT_win32_keyed_mutex = GL_FALSE;
- GLboolean __GLEW_EXT_window_rectangles = GL_FALSE;
- GLboolean __GLEW_EXT_x11_sync_object = GL_FALSE;
- GLboolean __GLEW_GREMEDY_frame_terminator = GL_FALSE;
- GLboolean __GLEW_GREMEDY_string_marker = GL_FALSE;
- GLboolean __GLEW_HP_convolution_border_modes = GL_FALSE;
- GLboolean __GLEW_HP_image_transform = GL_FALSE;
- GLboolean __GLEW_HP_occlusion_test = GL_FALSE;
- GLboolean __GLEW_HP_texture_lighting = GL_FALSE;
- GLboolean __GLEW_IBM_cull_vertex = GL_FALSE;
- GLboolean __GLEW_IBM_multimode_draw_arrays = GL_FALSE;
- GLboolean __GLEW_IBM_rasterpos_clip = GL_FALSE;
- GLboolean __GLEW_IBM_static_data = GL_FALSE;
- GLboolean __GLEW_IBM_texture_mirrored_repeat = GL_FALSE;
- GLboolean __GLEW_IBM_vertex_array_lists = GL_FALSE;
- GLboolean __GLEW_INGR_color_clamp = GL_FALSE;
- GLboolean __GLEW_INGR_interlace_read = GL_FALSE;
- GLboolean __GLEW_INTEL_conservative_rasterization = GL_FALSE;
- GLboolean __GLEW_INTEL_fragment_shader_ordering = GL_FALSE;
- GLboolean __GLEW_INTEL_framebuffer_CMAA = GL_FALSE;
- GLboolean __GLEW_INTEL_map_texture = GL_FALSE;
- GLboolean __GLEW_INTEL_parallel_arrays = GL_FALSE;
- GLboolean __GLEW_INTEL_performance_query = GL_FALSE;
- GLboolean __GLEW_INTEL_texture_scissor = GL_FALSE;
- GLboolean __GLEW_KHR_blend_equation_advanced = GL_FALSE;
- GLboolean __GLEW_KHR_blend_equation_advanced_coherent = GL_FALSE;
- GLboolean __GLEW_KHR_context_flush_control = GL_FALSE;
- GLboolean __GLEW_KHR_debug = GL_FALSE;
- GLboolean __GLEW_KHR_no_error = GL_FALSE;
- GLboolean __GLEW_KHR_parallel_shader_compile = GL_FALSE;
- GLboolean __GLEW_KHR_robust_buffer_access_behavior = GL_FALSE;
- GLboolean __GLEW_KHR_robustness = GL_FALSE;
- GLboolean __GLEW_KHR_texture_compression_astc_hdr = GL_FALSE;
- GLboolean __GLEW_KHR_texture_compression_astc_ldr = GL_FALSE;
- GLboolean __GLEW_KHR_texture_compression_astc_sliced_3d = GL_FALSE;
- GLboolean __GLEW_KTX_buffer_region = GL_FALSE;
- GLboolean __GLEW_MESAX_texture_stack = GL_FALSE;
- GLboolean __GLEW_MESA_pack_invert = GL_FALSE;
- GLboolean __GLEW_MESA_resize_buffers = GL_FALSE;
- GLboolean __GLEW_MESA_shader_integer_functions = GL_FALSE;
- GLboolean __GLEW_MESA_window_pos = GL_FALSE;
- GLboolean __GLEW_MESA_ycbcr_texture = GL_FALSE;
- GLboolean __GLEW_NVX_blend_equation_advanced_multi_draw_buffers = GL_FALSE;
- GLboolean __GLEW_NVX_conditional_render = GL_FALSE;
- GLboolean __GLEW_NVX_gpu_memory_info = GL_FALSE;
- GLboolean __GLEW_NVX_linked_gpu_multicast = GL_FALSE;
- GLboolean __GLEW_NV_3dvision_settings = GL_FALSE;
- GLboolean __GLEW_NV_EGL_stream_consumer_external = GL_FALSE;
- GLboolean __GLEW_NV_alpha_to_coverage_dither_control = GL_FALSE;
- GLboolean __GLEW_NV_bgr = GL_FALSE;
- GLboolean __GLEW_NV_bindless_multi_draw_indirect = GL_FALSE;
- GLboolean __GLEW_NV_bindless_multi_draw_indirect_count = GL_FALSE;
- GLboolean __GLEW_NV_bindless_texture = GL_FALSE;
- GLboolean __GLEW_NV_blend_equation_advanced = GL_FALSE;
- GLboolean __GLEW_NV_blend_equation_advanced_coherent = GL_FALSE;
- GLboolean __GLEW_NV_blend_minmax_factor = GL_FALSE;
- GLboolean __GLEW_NV_blend_square = GL_FALSE;
- GLboolean __GLEW_NV_clip_space_w_scaling = GL_FALSE;
- GLboolean __GLEW_NV_command_list = GL_FALSE;
- GLboolean __GLEW_NV_compute_program5 = GL_FALSE;
- GLboolean __GLEW_NV_conditional_render = GL_FALSE;
- GLboolean __GLEW_NV_conservative_raster = GL_FALSE;
- GLboolean __GLEW_NV_conservative_raster_dilate = GL_FALSE;
- GLboolean __GLEW_NV_conservative_raster_pre_snap_triangles = GL_FALSE;
- GLboolean __GLEW_NV_copy_buffer = GL_FALSE;
- GLboolean __GLEW_NV_copy_depth_to_color = GL_FALSE;
- GLboolean __GLEW_NV_copy_image = GL_FALSE;
- GLboolean __GLEW_NV_deep_texture3D = GL_FALSE;
- GLboolean __GLEW_NV_depth_buffer_float = GL_FALSE;
- GLboolean __GLEW_NV_depth_clamp = GL_FALSE;
- GLboolean __GLEW_NV_depth_range_unclamped = GL_FALSE;
- GLboolean __GLEW_NV_draw_buffers = GL_FALSE;
- GLboolean __GLEW_NV_draw_instanced = GL_FALSE;
- GLboolean __GLEW_NV_draw_texture = GL_FALSE;
- GLboolean __GLEW_NV_draw_vulkan_image = GL_FALSE;
- GLboolean __GLEW_NV_evaluators = GL_FALSE;
- GLboolean __GLEW_NV_explicit_attrib_location = GL_FALSE;
- GLboolean __GLEW_NV_explicit_multisample = GL_FALSE;
- GLboolean __GLEW_NV_fbo_color_attachments = GL_FALSE;
- GLboolean __GLEW_NV_fence = GL_FALSE;
- GLboolean __GLEW_NV_fill_rectangle = GL_FALSE;
- GLboolean __GLEW_NV_float_buffer = GL_FALSE;
- GLboolean __GLEW_NV_fog_distance = GL_FALSE;
- GLboolean __GLEW_NV_fragment_coverage_to_color = GL_FALSE;
- GLboolean __GLEW_NV_fragment_program = GL_FALSE;
- GLboolean __GLEW_NV_fragment_program2 = GL_FALSE;
- GLboolean __GLEW_NV_fragment_program4 = GL_FALSE;
- GLboolean __GLEW_NV_fragment_program_option = GL_FALSE;
- GLboolean __GLEW_NV_fragment_shader_interlock = GL_FALSE;
- GLboolean __GLEW_NV_framebuffer_blit = GL_FALSE;
- GLboolean __GLEW_NV_framebuffer_mixed_samples = GL_FALSE;
- GLboolean __GLEW_NV_framebuffer_multisample = GL_FALSE;
- GLboolean __GLEW_NV_framebuffer_multisample_coverage = GL_FALSE;
- GLboolean __GLEW_NV_generate_mipmap_sRGB = GL_FALSE;
- GLboolean __GLEW_NV_geometry_program4 = GL_FALSE;
- GLboolean __GLEW_NV_geometry_shader4 = GL_FALSE;
- GLboolean __GLEW_NV_geometry_shader_passthrough = GL_FALSE;
- GLboolean __GLEW_NV_gpu_multicast = GL_FALSE;
- GLboolean __GLEW_NV_gpu_program4 = GL_FALSE;
- GLboolean __GLEW_NV_gpu_program5 = GL_FALSE;
- GLboolean __GLEW_NV_gpu_program5_mem_extended = GL_FALSE;
- GLboolean __GLEW_NV_gpu_program_fp64 = GL_FALSE;
- GLboolean __GLEW_NV_gpu_shader5 = GL_FALSE;
- GLboolean __GLEW_NV_half_float = GL_FALSE;
- GLboolean __GLEW_NV_image_formats = GL_FALSE;
- GLboolean __GLEW_NV_instanced_arrays = GL_FALSE;
- GLboolean __GLEW_NV_internalformat_sample_query = GL_FALSE;
- GLboolean __GLEW_NV_light_max_exponent = GL_FALSE;
- GLboolean __GLEW_NV_multisample_coverage = GL_FALSE;
- GLboolean __GLEW_NV_multisample_filter_hint = GL_FALSE;
- GLboolean __GLEW_NV_non_square_matrices = GL_FALSE;
- GLboolean __GLEW_NV_occlusion_query = GL_FALSE;
- GLboolean __GLEW_NV_pack_subimage = GL_FALSE;
- GLboolean __GLEW_NV_packed_depth_stencil = GL_FALSE;
- GLboolean __GLEW_NV_packed_float = GL_FALSE;
- GLboolean __GLEW_NV_packed_float_linear = GL_FALSE;
- GLboolean __GLEW_NV_parameter_buffer_object = GL_FALSE;
- GLboolean __GLEW_NV_parameter_buffer_object2 = GL_FALSE;
- GLboolean __GLEW_NV_path_rendering = GL_FALSE;
- GLboolean __GLEW_NV_path_rendering_shared_edge = GL_FALSE;
- GLboolean __GLEW_NV_pixel_buffer_object = GL_FALSE;
- GLboolean __GLEW_NV_pixel_data_range = GL_FALSE;
- GLboolean __GLEW_NV_platform_binary = GL_FALSE;
- GLboolean __GLEW_NV_point_sprite = GL_FALSE;
- GLboolean __GLEW_NV_polygon_mode = GL_FALSE;
- GLboolean __GLEW_NV_present_video = GL_FALSE;
- GLboolean __GLEW_NV_primitive_restart = GL_FALSE;
- GLboolean __GLEW_NV_read_depth = GL_FALSE;
- GLboolean __GLEW_NV_read_depth_stencil = GL_FALSE;
- GLboolean __GLEW_NV_read_stencil = GL_FALSE;
- GLboolean __GLEW_NV_register_combiners = GL_FALSE;
- GLboolean __GLEW_NV_register_combiners2 = GL_FALSE;
- GLboolean __GLEW_NV_robustness_video_memory_purge = GL_FALSE;
- GLboolean __GLEW_NV_sRGB_formats = GL_FALSE;
- GLboolean __GLEW_NV_sample_locations = GL_FALSE;
- GLboolean __GLEW_NV_sample_mask_override_coverage = GL_FALSE;
- GLboolean __GLEW_NV_shader_atomic_counters = GL_FALSE;
- GLboolean __GLEW_NV_shader_atomic_float = GL_FALSE;
- GLboolean __GLEW_NV_shader_atomic_float64 = GL_FALSE;
- GLboolean __GLEW_NV_shader_atomic_fp16_vector = GL_FALSE;
- GLboolean __GLEW_NV_shader_atomic_int64 = GL_FALSE;
- GLboolean __GLEW_NV_shader_buffer_load = GL_FALSE;
- GLboolean __GLEW_NV_shader_noperspective_interpolation = GL_FALSE;
- GLboolean __GLEW_NV_shader_storage_buffer_object = GL_FALSE;
- GLboolean __GLEW_NV_shader_thread_group = GL_FALSE;
- GLboolean __GLEW_NV_shader_thread_shuffle = GL_FALSE;
- GLboolean __GLEW_NV_shadow_samplers_array = GL_FALSE;
- GLboolean __GLEW_NV_shadow_samplers_cube = GL_FALSE;
- GLboolean __GLEW_NV_stereo_view_rendering = GL_FALSE;
- GLboolean __GLEW_NV_tessellation_program5 = GL_FALSE;
- GLboolean __GLEW_NV_texgen_emboss = GL_FALSE;
- GLboolean __GLEW_NV_texgen_reflection = GL_FALSE;
- GLboolean __GLEW_NV_texture_array = GL_FALSE;
- GLboolean __GLEW_NV_texture_barrier = GL_FALSE;
- GLboolean __GLEW_NV_texture_border_clamp = GL_FALSE;
- GLboolean __GLEW_NV_texture_compression_latc = GL_FALSE;
- GLboolean __GLEW_NV_texture_compression_s3tc = GL_FALSE;
- GLboolean __GLEW_NV_texture_compression_s3tc_update = GL_FALSE;
- GLboolean __GLEW_NV_texture_compression_vtc = GL_FALSE;
- GLboolean __GLEW_NV_texture_env_combine4 = GL_FALSE;
- GLboolean __GLEW_NV_texture_expand_normal = GL_FALSE;
- GLboolean __GLEW_NV_texture_multisample = GL_FALSE;
- GLboolean __GLEW_NV_texture_npot_2D_mipmap = GL_FALSE;
- GLboolean __GLEW_NV_texture_rectangle = GL_FALSE;
- GLboolean __GLEW_NV_texture_rectangle_compressed = GL_FALSE;
- GLboolean __GLEW_NV_texture_shader = GL_FALSE;
- GLboolean __GLEW_NV_texture_shader2 = GL_FALSE;
- GLboolean __GLEW_NV_texture_shader3 = GL_FALSE;
- GLboolean __GLEW_NV_transform_feedback = GL_FALSE;
- GLboolean __GLEW_NV_transform_feedback2 = GL_FALSE;
- GLboolean __GLEW_NV_uniform_buffer_unified_memory = GL_FALSE;
- GLboolean __GLEW_NV_vdpau_interop = GL_FALSE;
- GLboolean __GLEW_NV_vertex_array_range = GL_FALSE;
- GLboolean __GLEW_NV_vertex_array_range2 = GL_FALSE;
- GLboolean __GLEW_NV_vertex_attrib_integer_64bit = GL_FALSE;
- GLboolean __GLEW_NV_vertex_buffer_unified_memory = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program1_1 = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program2 = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program2_option = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program3 = GL_FALSE;
- GLboolean __GLEW_NV_vertex_program4 = GL_FALSE;
- GLboolean __GLEW_NV_video_capture = GL_FALSE;
- GLboolean __GLEW_NV_viewport_array = GL_FALSE;
- GLboolean __GLEW_NV_viewport_array2 = GL_FALSE;
- GLboolean __GLEW_NV_viewport_swizzle = GL_FALSE;
- GLboolean __GLEW_OES_byte_coordinates = GL_FALSE;
- GLboolean __GLEW_OML_interlace = GL_FALSE;
- GLboolean __GLEW_OML_resample = GL_FALSE;
- GLboolean __GLEW_OML_subsample = GL_FALSE;
- GLboolean __GLEW_OVR_multiview = GL_FALSE;
- GLboolean __GLEW_OVR_multiview2 = GL_FALSE;
- GLboolean __GLEW_OVR_multiview_multisampled_render_to_texture = GL_FALSE;
- GLboolean __GLEW_PGI_misc_hints = GL_FALSE;
- GLboolean __GLEW_PGI_vertex_hints = GL_FALSE;
- GLboolean __GLEW_QCOM_alpha_test = GL_FALSE;
- GLboolean __GLEW_QCOM_binning_control = GL_FALSE;
- GLboolean __GLEW_QCOM_driver_control = GL_FALSE;
- GLboolean __GLEW_QCOM_extended_get = GL_FALSE;
- GLboolean __GLEW_QCOM_extended_get2 = GL_FALSE;
- GLboolean __GLEW_QCOM_framebuffer_foveated = GL_FALSE;
- GLboolean __GLEW_QCOM_perfmon_global_mode = GL_FALSE;
- GLboolean __GLEW_QCOM_shader_framebuffer_fetch_noncoherent = GL_FALSE;
- GLboolean __GLEW_QCOM_tiled_rendering = GL_FALSE;
- GLboolean __GLEW_QCOM_writeonly_rendering = GL_FALSE;
- GLboolean __GLEW_REGAL_ES1_0_compatibility = GL_FALSE;
- GLboolean __GLEW_REGAL_ES1_1_compatibility = GL_FALSE;
- GLboolean __GLEW_REGAL_enable = GL_FALSE;
- GLboolean __GLEW_REGAL_error_string = GL_FALSE;
- GLboolean __GLEW_REGAL_extension_query = GL_FALSE;
- GLboolean __GLEW_REGAL_log = GL_FALSE;
- GLboolean __GLEW_REGAL_proc_address = GL_FALSE;
- GLboolean __GLEW_REND_screen_coordinates = GL_FALSE;
- GLboolean __GLEW_S3_s3tc = GL_FALSE;
- GLboolean __GLEW_SGIS_clip_band_hint = GL_FALSE;
- GLboolean __GLEW_SGIS_color_range = GL_FALSE;
- GLboolean __GLEW_SGIS_detail_texture = GL_FALSE;
- GLboolean __GLEW_SGIS_fog_function = GL_FALSE;
- GLboolean __GLEW_SGIS_generate_mipmap = GL_FALSE;
- GLboolean __GLEW_SGIS_line_texgen = GL_FALSE;
- GLboolean __GLEW_SGIS_multisample = GL_FALSE;
- GLboolean __GLEW_SGIS_multitexture = GL_FALSE;
- GLboolean __GLEW_SGIS_pixel_texture = GL_FALSE;
- GLboolean __GLEW_SGIS_point_line_texgen = GL_FALSE;
- GLboolean __GLEW_SGIS_shared_multisample = GL_FALSE;
- GLboolean __GLEW_SGIS_sharpen_texture = GL_FALSE;
- GLboolean __GLEW_SGIS_texture4D = GL_FALSE;
- GLboolean __GLEW_SGIS_texture_border_clamp = GL_FALSE;
- GLboolean __GLEW_SGIS_texture_edge_clamp = GL_FALSE;
- GLboolean __GLEW_SGIS_texture_filter4 = GL_FALSE;
- GLboolean __GLEW_SGIS_texture_lod = GL_FALSE;
- GLboolean __GLEW_SGIS_texture_select = GL_FALSE;
- GLboolean __GLEW_SGIX_async = GL_FALSE;
- GLboolean __GLEW_SGIX_async_histogram = GL_FALSE;
- GLboolean __GLEW_SGIX_async_pixel = GL_FALSE;
- GLboolean __GLEW_SGIX_bali_g_instruments = GL_FALSE;
- GLboolean __GLEW_SGIX_bali_r_instruments = GL_FALSE;
- GLboolean __GLEW_SGIX_bali_timer_instruments = GL_FALSE;
- GLboolean __GLEW_SGIX_blend_alpha_minmax = GL_FALSE;
- GLboolean __GLEW_SGIX_blend_cadd = GL_FALSE;
- GLboolean __GLEW_SGIX_blend_cmultiply = GL_FALSE;
- GLboolean __GLEW_SGIX_calligraphic_fragment = GL_FALSE;
- GLboolean __GLEW_SGIX_clipmap = GL_FALSE;
- GLboolean __GLEW_SGIX_color_matrix_accuracy = GL_FALSE;
- GLboolean __GLEW_SGIX_color_table_index_mode = GL_FALSE;
- GLboolean __GLEW_SGIX_complex_polar = GL_FALSE;
- GLboolean __GLEW_SGIX_convolution_accuracy = GL_FALSE;
- GLboolean __GLEW_SGIX_cube_map = GL_FALSE;
- GLboolean __GLEW_SGIX_cylinder_texgen = GL_FALSE;
- GLboolean __GLEW_SGIX_datapipe = GL_FALSE;
- GLboolean __GLEW_SGIX_decimation = GL_FALSE;
- GLboolean __GLEW_SGIX_depth_pass_instrument = GL_FALSE;
- GLboolean __GLEW_SGIX_depth_texture = GL_FALSE;
- GLboolean __GLEW_SGIX_dvc = GL_FALSE;
- GLboolean __GLEW_SGIX_flush_raster = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_blend = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_factor_to_alpha = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_layers = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_offset = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_patchy = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_scale = GL_FALSE;
- GLboolean __GLEW_SGIX_fog_texture = GL_FALSE;
- GLboolean __GLEW_SGIX_fragment_lighting_space = GL_FALSE;
- GLboolean __GLEW_SGIX_fragment_specular_lighting = GL_FALSE;
- GLboolean __GLEW_SGIX_fragments_instrument = GL_FALSE;
- GLboolean __GLEW_SGIX_framezoom = GL_FALSE;
- GLboolean __GLEW_SGIX_icc_texture = GL_FALSE;
- GLboolean __GLEW_SGIX_igloo_interface = GL_FALSE;
- GLboolean __GLEW_SGIX_image_compression = GL_FALSE;
- GLboolean __GLEW_SGIX_impact_pixel_texture = GL_FALSE;
- GLboolean __GLEW_SGIX_instrument_error = GL_FALSE;
- GLboolean __GLEW_SGIX_interlace = GL_FALSE;
- GLboolean __GLEW_SGIX_ir_instrument1 = GL_FALSE;
- GLboolean __GLEW_SGIX_line_quality_hint = GL_FALSE;
- GLboolean __GLEW_SGIX_list_priority = GL_FALSE;
- GLboolean __GLEW_SGIX_mpeg1 = GL_FALSE;
- GLboolean __GLEW_SGIX_mpeg2 = GL_FALSE;
- GLboolean __GLEW_SGIX_nonlinear_lighting_pervertex = GL_FALSE;
- GLboolean __GLEW_SGIX_nurbs_eval = GL_FALSE;
- GLboolean __GLEW_SGIX_occlusion_instrument = GL_FALSE;
- GLboolean __GLEW_SGIX_packed_6bytes = GL_FALSE;
- GLboolean __GLEW_SGIX_pixel_texture = GL_FALSE;
- GLboolean __GLEW_SGIX_pixel_texture_bits = GL_FALSE;
- GLboolean __GLEW_SGIX_pixel_texture_lod = GL_FALSE;
- GLboolean __GLEW_SGIX_pixel_tiles = GL_FALSE;
- GLboolean __GLEW_SGIX_polynomial_ffd = GL_FALSE;
- GLboolean __GLEW_SGIX_quad_mesh = GL_FALSE;
- GLboolean __GLEW_SGIX_reference_plane = GL_FALSE;
- GLboolean __GLEW_SGIX_resample = GL_FALSE;
- GLboolean __GLEW_SGIX_scalebias_hint = GL_FALSE;
- GLboolean __GLEW_SGIX_shadow = GL_FALSE;
- GLboolean __GLEW_SGIX_shadow_ambient = GL_FALSE;
- GLboolean __GLEW_SGIX_slim = GL_FALSE;
- GLboolean __GLEW_SGIX_spotlight_cutoff = GL_FALSE;
- GLboolean __GLEW_SGIX_sprite = GL_FALSE;
- GLboolean __GLEW_SGIX_subdiv_patch = GL_FALSE;
- GLboolean __GLEW_SGIX_subsample = GL_FALSE;
- GLboolean __GLEW_SGIX_tag_sample_buffer = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_add_env = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_coordinate_clamp = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_lod_bias = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_mipmap_anisotropic = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_multi_buffer = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_phase = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_range = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_scale_bias = GL_FALSE;
- GLboolean __GLEW_SGIX_texture_supersample = GL_FALSE;
- GLboolean __GLEW_SGIX_vector_ops = GL_FALSE;
- GLboolean __GLEW_SGIX_vertex_array_object = GL_FALSE;
- GLboolean __GLEW_SGIX_vertex_preclip = GL_FALSE;
- GLboolean __GLEW_SGIX_vertex_preclip_hint = GL_FALSE;
- GLboolean __GLEW_SGIX_ycrcb = GL_FALSE;
- GLboolean __GLEW_SGIX_ycrcb_subsample = GL_FALSE;
- GLboolean __GLEW_SGIX_ycrcba = GL_FALSE;
- GLboolean __GLEW_SGI_color_matrix = GL_FALSE;
- GLboolean __GLEW_SGI_color_table = GL_FALSE;
- GLboolean __GLEW_SGI_complex = GL_FALSE;
- GLboolean __GLEW_SGI_complex_type = GL_FALSE;
- GLboolean __GLEW_SGI_fft = GL_FALSE;
- GLboolean __GLEW_SGI_texture_color_table = GL_FALSE;
- GLboolean __GLEW_SUNX_constant_data = GL_FALSE;
- GLboolean __GLEW_SUN_convolution_border_modes = GL_FALSE;
- GLboolean __GLEW_SUN_global_alpha = GL_FALSE;
- GLboolean __GLEW_SUN_mesh_array = GL_FALSE;
- GLboolean __GLEW_SUN_read_video_pixels = GL_FALSE;
- GLboolean __GLEW_SUN_slice_accum = GL_FALSE;
- GLboolean __GLEW_SUN_triangle_list = GL_FALSE;
- GLboolean __GLEW_SUN_vertex = GL_FALSE;
- GLboolean __GLEW_WIN_phong_shading = GL_FALSE;
- GLboolean __GLEW_WIN_scene_markerXXX = GL_FALSE;
- GLboolean __GLEW_WIN_specular_fog = GL_FALSE;
- GLboolean __GLEW_WIN_swap_hint = GL_FALSE;
- static const char * _glewExtensionLookup[] = {
- #ifdef GL_VERSION_1_2
- "GL_VERSION_1_2",
- #endif
- #ifdef GL_VERSION_1_2_1
- "GL_VERSION_1_2_1",
- #endif
- #ifdef GL_VERSION_1_3
- "GL_VERSION_1_3",
- #endif
- #ifdef GL_VERSION_1_4
- "GL_VERSION_1_4",
- #endif
- #ifdef GL_VERSION_1_5
- "GL_VERSION_1_5",
- #endif
- #ifdef GL_VERSION_2_0
- "GL_VERSION_2_0",
- #endif
- #ifdef GL_VERSION_2_1
- "GL_VERSION_2_1",
- #endif
- #ifdef GL_VERSION_3_0
- "GL_VERSION_3_0",
- #endif
- #ifdef GL_VERSION_3_1
- "GL_VERSION_3_1",
- #endif
- #ifdef GL_VERSION_3_2
- "GL_VERSION_3_2",
- #endif
- #ifdef GL_VERSION_3_3
- "GL_VERSION_3_3",
- #endif
- #ifdef GL_VERSION_4_0
- "GL_VERSION_4_0",
- #endif
- #ifdef GL_VERSION_4_1
- "GL_VERSION_4_1",
- #endif
- #ifdef GL_VERSION_4_2
- "GL_VERSION_4_2",
- #endif
- #ifdef GL_VERSION_4_3
- "GL_VERSION_4_3",
- #endif
- #ifdef GL_VERSION_4_4
- "GL_VERSION_4_4",
- #endif
- #ifdef GL_VERSION_4_5
- "GL_VERSION_4_5",
- #endif
- #ifdef GL_VERSION_4_6
- "GL_VERSION_4_6",
- #endif
- #ifdef GL_3DFX_multisample
- "GL_3DFX_multisample",
- #endif
- #ifdef GL_3DFX_tbuffer
- "GL_3DFX_tbuffer",
- #endif
- #ifdef GL_3DFX_texture_compression_FXT1
- "GL_3DFX_texture_compression_FXT1",
- #endif
- #ifdef GL_AMD_blend_minmax_factor
- "GL_AMD_blend_minmax_factor",
- #endif
- #ifdef GL_AMD_compressed_3DC_texture
- "GL_AMD_compressed_3DC_texture",
- #endif
- #ifdef GL_AMD_compressed_ATC_texture
- "GL_AMD_compressed_ATC_texture",
- #endif
- #ifdef GL_AMD_conservative_depth
- "GL_AMD_conservative_depth",
- #endif
- #ifdef GL_AMD_debug_output
- "GL_AMD_debug_output",
- #endif
- #ifdef GL_AMD_depth_clamp_separate
- "GL_AMD_depth_clamp_separate",
- #endif
- #ifdef GL_AMD_draw_buffers_blend
- "GL_AMD_draw_buffers_blend",
- #endif
- #ifdef GL_AMD_framebuffer_sample_positions
- "GL_AMD_framebuffer_sample_positions",
- #endif
- #ifdef GL_AMD_gcn_shader
- "GL_AMD_gcn_shader",
- #endif
- #ifdef GL_AMD_gpu_shader_half_float
- "GL_AMD_gpu_shader_half_float",
- #endif
- #ifdef GL_AMD_gpu_shader_int16
- "GL_AMD_gpu_shader_int16",
- #endif
- #ifdef GL_AMD_gpu_shader_int64
- "GL_AMD_gpu_shader_int64",
- #endif
- #ifdef GL_AMD_interleaved_elements
- "GL_AMD_interleaved_elements",
- #endif
- #ifdef GL_AMD_multi_draw_indirect
- "GL_AMD_multi_draw_indirect",
- #endif
- #ifdef GL_AMD_name_gen_delete
- "GL_AMD_name_gen_delete",
- #endif
- #ifdef GL_AMD_occlusion_query_event
- "GL_AMD_occlusion_query_event",
- #endif
- #ifdef GL_AMD_performance_monitor
- "GL_AMD_performance_monitor",
- #endif
- #ifdef GL_AMD_pinned_memory
- "GL_AMD_pinned_memory",
- #endif
- #ifdef GL_AMD_program_binary_Z400
- "GL_AMD_program_binary_Z400",
- #endif
- #ifdef GL_AMD_query_buffer_object
- "GL_AMD_query_buffer_object",
- #endif
- #ifdef GL_AMD_sample_positions
- "GL_AMD_sample_positions",
- #endif
- #ifdef GL_AMD_seamless_cubemap_per_texture
- "GL_AMD_seamless_cubemap_per_texture",
- #endif
- #ifdef GL_AMD_shader_atomic_counter_ops
- "GL_AMD_shader_atomic_counter_ops",
- #endif
- #ifdef GL_AMD_shader_ballot
- "GL_AMD_shader_ballot",
- #endif
- #ifdef GL_AMD_shader_explicit_vertex_parameter
- "GL_AMD_shader_explicit_vertex_parameter",
- #endif
- #ifdef GL_AMD_shader_stencil_export
- "GL_AMD_shader_stencil_export",
- #endif
- #ifdef GL_AMD_shader_stencil_value_export
- "GL_AMD_shader_stencil_value_export",
- #endif
- #ifdef GL_AMD_shader_trinary_minmax
- "GL_AMD_shader_trinary_minmax",
- #endif
- #ifdef GL_AMD_sparse_texture
- "GL_AMD_sparse_texture",
- #endif
- #ifdef GL_AMD_stencil_operation_extended
- "GL_AMD_stencil_operation_extended",
- #endif
- #ifdef GL_AMD_texture_gather_bias_lod
- "GL_AMD_texture_gather_bias_lod",
- #endif
- #ifdef GL_AMD_texture_texture4
- "GL_AMD_texture_texture4",
- #endif
- #ifdef GL_AMD_transform_feedback3_lines_triangles
- "GL_AMD_transform_feedback3_lines_triangles",
- #endif
- #ifdef GL_AMD_transform_feedback4
- "GL_AMD_transform_feedback4",
- #endif
- #ifdef GL_AMD_vertex_shader_layer
- "GL_AMD_vertex_shader_layer",
- #endif
- #ifdef GL_AMD_vertex_shader_tessellator
- "GL_AMD_vertex_shader_tessellator",
- #endif
- #ifdef GL_AMD_vertex_shader_viewport_index
- "GL_AMD_vertex_shader_viewport_index",
- #endif
- #ifdef GL_ANDROID_extension_pack_es31a
- "GL_ANDROID_extension_pack_es31a",
- #endif
- #ifdef GL_ANGLE_depth_texture
- "GL_ANGLE_depth_texture",
- #endif
- #ifdef GL_ANGLE_framebuffer_blit
- "GL_ANGLE_framebuffer_blit",
- #endif
- #ifdef GL_ANGLE_framebuffer_multisample
- "GL_ANGLE_framebuffer_multisample",
- #endif
- #ifdef GL_ANGLE_instanced_arrays
- "GL_ANGLE_instanced_arrays",
- #endif
- #ifdef GL_ANGLE_pack_reverse_row_order
- "GL_ANGLE_pack_reverse_row_order",
- #endif
- #ifdef GL_ANGLE_program_binary
- "GL_ANGLE_program_binary",
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt1
- "GL_ANGLE_texture_compression_dxt1",
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt3
- "GL_ANGLE_texture_compression_dxt3",
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt5
- "GL_ANGLE_texture_compression_dxt5",
- #endif
- #ifdef GL_ANGLE_texture_usage
- "GL_ANGLE_texture_usage",
- #endif
- #ifdef GL_ANGLE_timer_query
- "GL_ANGLE_timer_query",
- #endif
- #ifdef GL_ANGLE_translated_shader_source
- "GL_ANGLE_translated_shader_source",
- #endif
- #ifdef GL_APPLE_aux_depth_stencil
- "GL_APPLE_aux_depth_stencil",
- #endif
- #ifdef GL_APPLE_client_storage
- "GL_APPLE_client_storage",
- #endif
- #ifdef GL_APPLE_clip_distance
- "GL_APPLE_clip_distance",
- #endif
- #ifdef GL_APPLE_color_buffer_packed_float
- "GL_APPLE_color_buffer_packed_float",
- #endif
- #ifdef GL_APPLE_copy_texture_levels
- "GL_APPLE_copy_texture_levels",
- #endif
- #ifdef GL_APPLE_element_array
- "GL_APPLE_element_array",
- #endif
- #ifdef GL_APPLE_fence
- "GL_APPLE_fence",
- #endif
- #ifdef GL_APPLE_float_pixels
- "GL_APPLE_float_pixels",
- #endif
- #ifdef GL_APPLE_flush_buffer_range
- "GL_APPLE_flush_buffer_range",
- #endif
- #ifdef GL_APPLE_framebuffer_multisample
- "GL_APPLE_framebuffer_multisample",
- #endif
- #ifdef GL_APPLE_object_purgeable
- "GL_APPLE_object_purgeable",
- #endif
- #ifdef GL_APPLE_pixel_buffer
- "GL_APPLE_pixel_buffer",
- #endif
- #ifdef GL_APPLE_rgb_422
- "GL_APPLE_rgb_422",
- #endif
- #ifdef GL_APPLE_row_bytes
- "GL_APPLE_row_bytes",
- #endif
- #ifdef GL_APPLE_specular_vector
- "GL_APPLE_specular_vector",
- #endif
- #ifdef GL_APPLE_sync
- "GL_APPLE_sync",
- #endif
- #ifdef GL_APPLE_texture_2D_limited_npot
- "GL_APPLE_texture_2D_limited_npot",
- #endif
- #ifdef GL_APPLE_texture_format_BGRA8888
- "GL_APPLE_texture_format_BGRA8888",
- #endif
- #ifdef GL_APPLE_texture_max_level
- "GL_APPLE_texture_max_level",
- #endif
- #ifdef GL_APPLE_texture_packed_float
- "GL_APPLE_texture_packed_float",
- #endif
- #ifdef GL_APPLE_texture_range
- "GL_APPLE_texture_range",
- #endif
- #ifdef GL_APPLE_transform_hint
- "GL_APPLE_transform_hint",
- #endif
- #ifdef GL_APPLE_vertex_array_object
- "GL_APPLE_vertex_array_object",
- #endif
- #ifdef GL_APPLE_vertex_array_range
- "GL_APPLE_vertex_array_range",
- #endif
- #ifdef GL_APPLE_vertex_program_evaluators
- "GL_APPLE_vertex_program_evaluators",
- #endif
- #ifdef GL_APPLE_ycbcr_422
- "GL_APPLE_ycbcr_422",
- #endif
- #ifdef GL_ARB_ES2_compatibility
- "GL_ARB_ES2_compatibility",
- #endif
- #ifdef GL_ARB_ES3_1_compatibility
- "GL_ARB_ES3_1_compatibility",
- #endif
- #ifdef GL_ARB_ES3_2_compatibility
- "GL_ARB_ES3_2_compatibility",
- #endif
- #ifdef GL_ARB_ES3_compatibility
- "GL_ARB_ES3_compatibility",
- #endif
- #ifdef GL_ARB_arrays_of_arrays
- "GL_ARB_arrays_of_arrays",
- #endif
- #ifdef GL_ARB_base_instance
- "GL_ARB_base_instance",
- #endif
- #ifdef GL_ARB_bindless_texture
- "GL_ARB_bindless_texture",
- #endif
- #ifdef GL_ARB_blend_func_extended
- "GL_ARB_blend_func_extended",
- #endif
- #ifdef GL_ARB_buffer_storage
- "GL_ARB_buffer_storage",
- #endif
- #ifdef GL_ARB_cl_event
- "GL_ARB_cl_event",
- #endif
- #ifdef GL_ARB_clear_buffer_object
- "GL_ARB_clear_buffer_object",
- #endif
- #ifdef GL_ARB_clear_texture
- "GL_ARB_clear_texture",
- #endif
- #ifdef GL_ARB_clip_control
- "GL_ARB_clip_control",
- #endif
- #ifdef GL_ARB_color_buffer_float
- "GL_ARB_color_buffer_float",
- #endif
- #ifdef GL_ARB_compatibility
- "GL_ARB_compatibility",
- #endif
- #ifdef GL_ARB_compressed_texture_pixel_storage
- "GL_ARB_compressed_texture_pixel_storage",
- #endif
- #ifdef GL_ARB_compute_shader
- "GL_ARB_compute_shader",
- #endif
- #ifdef GL_ARB_compute_variable_group_size
- "GL_ARB_compute_variable_group_size",
- #endif
- #ifdef GL_ARB_conditional_render_inverted
- "GL_ARB_conditional_render_inverted",
- #endif
- #ifdef GL_ARB_conservative_depth
- "GL_ARB_conservative_depth",
- #endif
- #ifdef GL_ARB_copy_buffer
- "GL_ARB_copy_buffer",
- #endif
- #ifdef GL_ARB_copy_image
- "GL_ARB_copy_image",
- #endif
- #ifdef GL_ARB_cull_distance
- "GL_ARB_cull_distance",
- #endif
- #ifdef GL_ARB_debug_output
- "GL_ARB_debug_output",
- #endif
- #ifdef GL_ARB_depth_buffer_float
- "GL_ARB_depth_buffer_float",
- #endif
- #ifdef GL_ARB_depth_clamp
- "GL_ARB_depth_clamp",
- #endif
- #ifdef GL_ARB_depth_texture
- "GL_ARB_depth_texture",
- #endif
- #ifdef GL_ARB_derivative_control
- "GL_ARB_derivative_control",
- #endif
- #ifdef GL_ARB_direct_state_access
- "GL_ARB_direct_state_access",
- #endif
- #ifdef GL_ARB_draw_buffers
- "GL_ARB_draw_buffers",
- #endif
- #ifdef GL_ARB_draw_buffers_blend
- "GL_ARB_draw_buffers_blend",
- #endif
- #ifdef GL_ARB_draw_elements_base_vertex
- "GL_ARB_draw_elements_base_vertex",
- #endif
- #ifdef GL_ARB_draw_indirect
- "GL_ARB_draw_indirect",
- #endif
- #ifdef GL_ARB_draw_instanced
- "GL_ARB_draw_instanced",
- #endif
- #ifdef GL_ARB_enhanced_layouts
- "GL_ARB_enhanced_layouts",
- #endif
- #ifdef GL_ARB_explicit_attrib_location
- "GL_ARB_explicit_attrib_location",
- #endif
- #ifdef GL_ARB_explicit_uniform_location
- "GL_ARB_explicit_uniform_location",
- #endif
- #ifdef GL_ARB_fragment_coord_conventions
- "GL_ARB_fragment_coord_conventions",
- #endif
- #ifdef GL_ARB_fragment_layer_viewport
- "GL_ARB_fragment_layer_viewport",
- #endif
- #ifdef GL_ARB_fragment_program
- "GL_ARB_fragment_program",
- #endif
- #ifdef GL_ARB_fragment_program_shadow
- "GL_ARB_fragment_program_shadow",
- #endif
- #ifdef GL_ARB_fragment_shader
- "GL_ARB_fragment_shader",
- #endif
- #ifdef GL_ARB_fragment_shader_interlock
- "GL_ARB_fragment_shader_interlock",
- #endif
- #ifdef GL_ARB_framebuffer_no_attachments
- "GL_ARB_framebuffer_no_attachments",
- #endif
- #ifdef GL_ARB_framebuffer_object
- "GL_ARB_framebuffer_object",
- #endif
- #ifdef GL_ARB_framebuffer_sRGB
- "GL_ARB_framebuffer_sRGB",
- #endif
- #ifdef GL_ARB_geometry_shader4
- "GL_ARB_geometry_shader4",
- #endif
- #ifdef GL_ARB_get_program_binary
- "GL_ARB_get_program_binary",
- #endif
- #ifdef GL_ARB_get_texture_sub_image
- "GL_ARB_get_texture_sub_image",
- #endif
- #ifdef GL_ARB_gl_spirv
- "GL_ARB_gl_spirv",
- #endif
- #ifdef GL_ARB_gpu_shader5
- "GL_ARB_gpu_shader5",
- #endif
- #ifdef GL_ARB_gpu_shader_fp64
- "GL_ARB_gpu_shader_fp64",
- #endif
- #ifdef GL_ARB_gpu_shader_int64
- "GL_ARB_gpu_shader_int64",
- #endif
- #ifdef GL_ARB_half_float_pixel
- "GL_ARB_half_float_pixel",
- #endif
- #ifdef GL_ARB_half_float_vertex
- "GL_ARB_half_float_vertex",
- #endif
- #ifdef GL_ARB_imaging
- "GL_ARB_imaging",
- #endif
- #ifdef GL_ARB_indirect_parameters
- "GL_ARB_indirect_parameters",
- #endif
- #ifdef GL_ARB_instanced_arrays
- "GL_ARB_instanced_arrays",
- #endif
- #ifdef GL_ARB_internalformat_query
- "GL_ARB_internalformat_query",
- #endif
- #ifdef GL_ARB_internalformat_query2
- "GL_ARB_internalformat_query2",
- #endif
- #ifdef GL_ARB_invalidate_subdata
- "GL_ARB_invalidate_subdata",
- #endif
- #ifdef GL_ARB_map_buffer_alignment
- "GL_ARB_map_buffer_alignment",
- #endif
- #ifdef GL_ARB_map_buffer_range
- "GL_ARB_map_buffer_range",
- #endif
- #ifdef GL_ARB_matrix_palette
- "GL_ARB_matrix_palette",
- #endif
- #ifdef GL_ARB_multi_bind
- "GL_ARB_multi_bind",
- #endif
- #ifdef GL_ARB_multi_draw_indirect
- "GL_ARB_multi_draw_indirect",
- #endif
- #ifdef GL_ARB_multisample
- "GL_ARB_multisample",
- #endif
- #ifdef GL_ARB_multitexture
- "GL_ARB_multitexture",
- #endif
- #ifdef GL_ARB_occlusion_query
- "GL_ARB_occlusion_query",
- #endif
- #ifdef GL_ARB_occlusion_query2
- "GL_ARB_occlusion_query2",
- #endif
- #ifdef GL_ARB_parallel_shader_compile
- "GL_ARB_parallel_shader_compile",
- #endif
- #ifdef GL_ARB_pipeline_statistics_query
- "GL_ARB_pipeline_statistics_query",
- #endif
- #ifdef GL_ARB_pixel_buffer_object
- "GL_ARB_pixel_buffer_object",
- #endif
- #ifdef GL_ARB_point_parameters
- "GL_ARB_point_parameters",
- #endif
- #ifdef GL_ARB_point_sprite
- "GL_ARB_point_sprite",
- #endif
- #ifdef GL_ARB_polygon_offset_clamp
- "GL_ARB_polygon_offset_clamp",
- #endif
- #ifdef GL_ARB_post_depth_coverage
- "GL_ARB_post_depth_coverage",
- #endif
- #ifdef GL_ARB_program_interface_query
- "GL_ARB_program_interface_query",
- #endif
- #ifdef GL_ARB_provoking_vertex
- "GL_ARB_provoking_vertex",
- #endif
- #ifdef GL_ARB_query_buffer_object
- "GL_ARB_query_buffer_object",
- #endif
- #ifdef GL_ARB_robust_buffer_access_behavior
- "GL_ARB_robust_buffer_access_behavior",
- #endif
- #ifdef GL_ARB_robustness
- "GL_ARB_robustness",
- #endif
- #ifdef GL_ARB_robustness_application_isolation
- "GL_ARB_robustness_application_isolation",
- #endif
- #ifdef GL_ARB_robustness_share_group_isolation
- "GL_ARB_robustness_share_group_isolation",
- #endif
- #ifdef GL_ARB_sample_locations
- "GL_ARB_sample_locations",
- #endif
- #ifdef GL_ARB_sample_shading
- "GL_ARB_sample_shading",
- #endif
- #ifdef GL_ARB_sampler_objects
- "GL_ARB_sampler_objects",
- #endif
- #ifdef GL_ARB_seamless_cube_map
- "GL_ARB_seamless_cube_map",
- #endif
- #ifdef GL_ARB_seamless_cubemap_per_texture
- "GL_ARB_seamless_cubemap_per_texture",
- #endif
- #ifdef GL_ARB_separate_shader_objects
- "GL_ARB_separate_shader_objects",
- #endif
- #ifdef GL_ARB_shader_atomic_counter_ops
- "GL_ARB_shader_atomic_counter_ops",
- #endif
- #ifdef GL_ARB_shader_atomic_counters
- "GL_ARB_shader_atomic_counters",
- #endif
- #ifdef GL_ARB_shader_ballot
- "GL_ARB_shader_ballot",
- #endif
- #ifdef GL_ARB_shader_bit_encoding
- "GL_ARB_shader_bit_encoding",
- #endif
- #ifdef GL_ARB_shader_clock
- "GL_ARB_shader_clock",
- #endif
- #ifdef GL_ARB_shader_draw_parameters
- "GL_ARB_shader_draw_parameters",
- #endif
- #ifdef GL_ARB_shader_group_vote
- "GL_ARB_shader_group_vote",
- #endif
- #ifdef GL_ARB_shader_image_load_store
- "GL_ARB_shader_image_load_store",
- #endif
- #ifdef GL_ARB_shader_image_size
- "GL_ARB_shader_image_size",
- #endif
- #ifdef GL_ARB_shader_objects
- "GL_ARB_shader_objects",
- #endif
- #ifdef GL_ARB_shader_precision
- "GL_ARB_shader_precision",
- #endif
- #ifdef GL_ARB_shader_stencil_export
- "GL_ARB_shader_stencil_export",
- #endif
- #ifdef GL_ARB_shader_storage_buffer_object
- "GL_ARB_shader_storage_buffer_object",
- #endif
- #ifdef GL_ARB_shader_subroutine
- "GL_ARB_shader_subroutine",
- #endif
- #ifdef GL_ARB_shader_texture_image_samples
- "GL_ARB_shader_texture_image_samples",
- #endif
- #ifdef GL_ARB_shader_texture_lod
- "GL_ARB_shader_texture_lod",
- #endif
- #ifdef GL_ARB_shader_viewport_layer_array
- "GL_ARB_shader_viewport_layer_array",
- #endif
- #ifdef GL_ARB_shading_language_100
- "GL_ARB_shading_language_100",
- #endif
- #ifdef GL_ARB_shading_language_420pack
- "GL_ARB_shading_language_420pack",
- #endif
- #ifdef GL_ARB_shading_language_include
- "GL_ARB_shading_language_include",
- #endif
- #ifdef GL_ARB_shading_language_packing
- "GL_ARB_shading_language_packing",
- #endif
- #ifdef GL_ARB_shadow
- "GL_ARB_shadow",
- #endif
- #ifdef GL_ARB_shadow_ambient
- "GL_ARB_shadow_ambient",
- #endif
- #ifdef GL_ARB_sparse_buffer
- "GL_ARB_sparse_buffer",
- #endif
- #ifdef GL_ARB_sparse_texture
- "GL_ARB_sparse_texture",
- #endif
- #ifdef GL_ARB_sparse_texture2
- "GL_ARB_sparse_texture2",
- #endif
- #ifdef GL_ARB_sparse_texture_clamp
- "GL_ARB_sparse_texture_clamp",
- #endif
- #ifdef GL_ARB_spirv_extensions
- "GL_ARB_spirv_extensions",
- #endif
- #ifdef GL_ARB_stencil_texturing
- "GL_ARB_stencil_texturing",
- #endif
- #ifdef GL_ARB_sync
- "GL_ARB_sync",
- #endif
- #ifdef GL_ARB_tessellation_shader
- "GL_ARB_tessellation_shader",
- #endif
- #ifdef GL_ARB_texture_barrier
- "GL_ARB_texture_barrier",
- #endif
- #ifdef GL_ARB_texture_border_clamp
- "GL_ARB_texture_border_clamp",
- #endif
- #ifdef GL_ARB_texture_buffer_object
- "GL_ARB_texture_buffer_object",
- #endif
- #ifdef GL_ARB_texture_buffer_object_rgb32
- "GL_ARB_texture_buffer_object_rgb32",
- #endif
- #ifdef GL_ARB_texture_buffer_range
- "GL_ARB_texture_buffer_range",
- #endif
- #ifdef GL_ARB_texture_compression
- "GL_ARB_texture_compression",
- #endif
- #ifdef GL_ARB_texture_compression_bptc
- "GL_ARB_texture_compression_bptc",
- #endif
- #ifdef GL_ARB_texture_compression_rgtc
- "GL_ARB_texture_compression_rgtc",
- #endif
- #ifdef GL_ARB_texture_cube_map
- "GL_ARB_texture_cube_map",
- #endif
- #ifdef GL_ARB_texture_cube_map_array
- "GL_ARB_texture_cube_map_array",
- #endif
- #ifdef GL_ARB_texture_env_add
- "GL_ARB_texture_env_add",
- #endif
- #ifdef GL_ARB_texture_env_combine
- "GL_ARB_texture_env_combine",
- #endif
- #ifdef GL_ARB_texture_env_crossbar
- "GL_ARB_texture_env_crossbar",
- #endif
- #ifdef GL_ARB_texture_env_dot3
- "GL_ARB_texture_env_dot3",
- #endif
- #ifdef GL_ARB_texture_filter_anisotropic
- "GL_ARB_texture_filter_anisotropic",
- #endif
- #ifdef GL_ARB_texture_filter_minmax
- "GL_ARB_texture_filter_minmax",
- #endif
- #ifdef GL_ARB_texture_float
- "GL_ARB_texture_float",
- #endif
- #ifdef GL_ARB_texture_gather
- "GL_ARB_texture_gather",
- #endif
- #ifdef GL_ARB_texture_mirror_clamp_to_edge
- "GL_ARB_texture_mirror_clamp_to_edge",
- #endif
- #ifdef GL_ARB_texture_mirrored_repeat
- "GL_ARB_texture_mirrored_repeat",
- #endif
- #ifdef GL_ARB_texture_multisample
- "GL_ARB_texture_multisample",
- #endif
- #ifdef GL_ARB_texture_non_power_of_two
- "GL_ARB_texture_non_power_of_two",
- #endif
- #ifdef GL_ARB_texture_query_levels
- "GL_ARB_texture_query_levels",
- #endif
- #ifdef GL_ARB_texture_query_lod
- "GL_ARB_texture_query_lod",
- #endif
- #ifdef GL_ARB_texture_rectangle
- "GL_ARB_texture_rectangle",
- #endif
- #ifdef GL_ARB_texture_rg
- "GL_ARB_texture_rg",
- #endif
- #ifdef GL_ARB_texture_rgb10_a2ui
- "GL_ARB_texture_rgb10_a2ui",
- #endif
- #ifdef GL_ARB_texture_stencil8
- "GL_ARB_texture_stencil8",
- #endif
- #ifdef GL_ARB_texture_storage
- "GL_ARB_texture_storage",
- #endif
- #ifdef GL_ARB_texture_storage_multisample
- "GL_ARB_texture_storage_multisample",
- #endif
- #ifdef GL_ARB_texture_swizzle
- "GL_ARB_texture_swizzle",
- #endif
- #ifdef GL_ARB_texture_view
- "GL_ARB_texture_view",
- #endif
- #ifdef GL_ARB_timer_query
- "GL_ARB_timer_query",
- #endif
- #ifdef GL_ARB_transform_feedback2
- "GL_ARB_transform_feedback2",
- #endif
- #ifdef GL_ARB_transform_feedback3
- "GL_ARB_transform_feedback3",
- #endif
- #ifdef GL_ARB_transform_feedback_instanced
- "GL_ARB_transform_feedback_instanced",
- #endif
- #ifdef GL_ARB_transform_feedback_overflow_query
- "GL_ARB_transform_feedback_overflow_query",
- #endif
- #ifdef GL_ARB_transpose_matrix
- "GL_ARB_transpose_matrix",
- #endif
- #ifdef GL_ARB_uniform_buffer_object
- "GL_ARB_uniform_buffer_object",
- #endif
- #ifdef GL_ARB_vertex_array_bgra
- "GL_ARB_vertex_array_bgra",
- #endif
- #ifdef GL_ARB_vertex_array_object
- "GL_ARB_vertex_array_object",
- #endif
- #ifdef GL_ARB_vertex_attrib_64bit
- "GL_ARB_vertex_attrib_64bit",
- #endif
- #ifdef GL_ARB_vertex_attrib_binding
- "GL_ARB_vertex_attrib_binding",
- #endif
- #ifdef GL_ARB_vertex_blend
- "GL_ARB_vertex_blend",
- #endif
- #ifdef GL_ARB_vertex_buffer_object
- "GL_ARB_vertex_buffer_object",
- #endif
- #ifdef GL_ARB_vertex_program
- "GL_ARB_vertex_program",
- #endif
- #ifdef GL_ARB_vertex_shader
- "GL_ARB_vertex_shader",
- #endif
- #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
- "GL_ARB_vertex_type_10f_11f_11f_rev",
- #endif
- #ifdef GL_ARB_vertex_type_2_10_10_10_rev
- "GL_ARB_vertex_type_2_10_10_10_rev",
- #endif
- #ifdef GL_ARB_viewport_array
- "GL_ARB_viewport_array",
- #endif
- #ifdef GL_ARB_window_pos
- "GL_ARB_window_pos",
- #endif
- #ifdef GL_ARM_mali_program_binary
- "GL_ARM_mali_program_binary",
- #endif
- #ifdef GL_ARM_mali_shader_binary
- "GL_ARM_mali_shader_binary",
- #endif
- #ifdef GL_ARM_rgba8
- "GL_ARM_rgba8",
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch
- "GL_ARM_shader_framebuffer_fetch",
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
- "GL_ARM_shader_framebuffer_fetch_depth_stencil",
- #endif
- #ifdef GL_ATIX_point_sprites
- "GL_ATIX_point_sprites",
- #endif
- #ifdef GL_ATIX_texture_env_combine3
- "GL_ATIX_texture_env_combine3",
- #endif
- #ifdef GL_ATIX_texture_env_route
- "GL_ATIX_texture_env_route",
- #endif
- #ifdef GL_ATIX_vertex_shader_output_point_size
- "GL_ATIX_vertex_shader_output_point_size",
- #endif
- #ifdef GL_ATI_draw_buffers
- "GL_ATI_draw_buffers",
- #endif
- #ifdef GL_ATI_element_array
- "GL_ATI_element_array",
- #endif
- #ifdef GL_ATI_envmap_bumpmap
- "GL_ATI_envmap_bumpmap",
- #endif
- #ifdef GL_ATI_fragment_shader
- "GL_ATI_fragment_shader",
- #endif
- #ifdef GL_ATI_map_object_buffer
- "GL_ATI_map_object_buffer",
- #endif
- #ifdef GL_ATI_meminfo
- "GL_ATI_meminfo",
- #endif
- #ifdef GL_ATI_pn_triangles
- "GL_ATI_pn_triangles",
- #endif
- #ifdef GL_ATI_separate_stencil
- "GL_ATI_separate_stencil",
- #endif
- #ifdef GL_ATI_shader_texture_lod
- "GL_ATI_shader_texture_lod",
- #endif
- #ifdef GL_ATI_text_fragment_shader
- "GL_ATI_text_fragment_shader",
- #endif
- #ifdef GL_ATI_texture_compression_3dc
- "GL_ATI_texture_compression_3dc",
- #endif
- #ifdef GL_ATI_texture_env_combine3
- "GL_ATI_texture_env_combine3",
- #endif
- #ifdef GL_ATI_texture_float
- "GL_ATI_texture_float",
- #endif
- #ifdef GL_ATI_texture_mirror_once
- "GL_ATI_texture_mirror_once",
- #endif
- #ifdef GL_ATI_vertex_array_object
- "GL_ATI_vertex_array_object",
- #endif
- #ifdef GL_ATI_vertex_attrib_array_object
- "GL_ATI_vertex_attrib_array_object",
- #endif
- #ifdef GL_ATI_vertex_streams
- "GL_ATI_vertex_streams",
- #endif
- #ifdef GL_EGL_KHR_context_flush_control
- "GL_EGL_KHR_context_flush_control",
- #endif
- #ifdef GL_EGL_NV_robustness_video_memory_purge
- "GL_EGL_NV_robustness_video_memory_purge",
- #endif
- #ifdef GL_EXT_422_pixels
- "GL_EXT_422_pixels",
- #endif
- #ifdef GL_EXT_Cg_shader
- "GL_EXT_Cg_shader",
- #endif
- #ifdef GL_EXT_EGL_image_array
- "GL_EXT_EGL_image_array",
- #endif
- #ifdef GL_EXT_YUV_target
- "GL_EXT_YUV_target",
- #endif
- #ifdef GL_EXT_abgr
- "GL_EXT_abgr",
- #endif
- #ifdef GL_EXT_base_instance
- "GL_EXT_base_instance",
- #endif
- #ifdef GL_EXT_bgra
- "GL_EXT_bgra",
- #endif
- #ifdef GL_EXT_bindable_uniform
- "GL_EXT_bindable_uniform",
- #endif
- #ifdef GL_EXT_blend_color
- "GL_EXT_blend_color",
- #endif
- #ifdef GL_EXT_blend_equation_separate
- "GL_EXT_blend_equation_separate",
- #endif
- #ifdef GL_EXT_blend_func_extended
- "GL_EXT_blend_func_extended",
- #endif
- #ifdef GL_EXT_blend_func_separate
- "GL_EXT_blend_func_separate",
- #endif
- #ifdef GL_EXT_blend_logic_op
- "GL_EXT_blend_logic_op",
- #endif
- #ifdef GL_EXT_blend_minmax
- "GL_EXT_blend_minmax",
- #endif
- #ifdef GL_EXT_blend_subtract
- "GL_EXT_blend_subtract",
- #endif
- #ifdef GL_EXT_buffer_storage
- "GL_EXT_buffer_storage",
- #endif
- #ifdef GL_EXT_clear_texture
- "GL_EXT_clear_texture",
- #endif
- #ifdef GL_EXT_clip_cull_distance
- "GL_EXT_clip_cull_distance",
- #endif
- #ifdef GL_EXT_clip_volume_hint
- "GL_EXT_clip_volume_hint",
- #endif
- #ifdef GL_EXT_cmyka
- "GL_EXT_cmyka",
- #endif
- #ifdef GL_EXT_color_buffer_float
- "GL_EXT_color_buffer_float",
- #endif
- #ifdef GL_EXT_color_buffer_half_float
- "GL_EXT_color_buffer_half_float",
- #endif
- #ifdef GL_EXT_color_subtable
- "GL_EXT_color_subtable",
- #endif
- #ifdef GL_EXT_compiled_vertex_array
- "GL_EXT_compiled_vertex_array",
- #endif
- #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
- "GL_EXT_compressed_ETC1_RGB8_sub_texture",
- #endif
- #ifdef GL_EXT_conservative_depth
- "GL_EXT_conservative_depth",
- #endif
- #ifdef GL_EXT_convolution
- "GL_EXT_convolution",
- #endif
- #ifdef GL_EXT_coordinate_frame
- "GL_EXT_coordinate_frame",
- #endif
- #ifdef GL_EXT_copy_image
- "GL_EXT_copy_image",
- #endif
- #ifdef GL_EXT_copy_texture
- "GL_EXT_copy_texture",
- #endif
- #ifdef GL_EXT_cull_vertex
- "GL_EXT_cull_vertex",
- #endif
- #ifdef GL_EXT_debug_label
- "GL_EXT_debug_label",
- #endif
- #ifdef GL_EXT_debug_marker
- "GL_EXT_debug_marker",
- #endif
- #ifdef GL_EXT_depth_bounds_test
- "GL_EXT_depth_bounds_test",
- #endif
- #ifdef GL_EXT_direct_state_access
- "GL_EXT_direct_state_access",
- #endif
- #ifdef GL_EXT_discard_framebuffer
- "GL_EXT_discard_framebuffer",
- #endif
- #ifdef GL_EXT_draw_buffers
- "GL_EXT_draw_buffers",
- #endif
- #ifdef GL_EXT_draw_buffers2
- "GL_EXT_draw_buffers2",
- #endif
- #ifdef GL_EXT_draw_buffers_indexed
- "GL_EXT_draw_buffers_indexed",
- #endif
- #ifdef GL_EXT_draw_elements_base_vertex
- "GL_EXT_draw_elements_base_vertex",
- #endif
- #ifdef GL_EXT_draw_instanced
- "GL_EXT_draw_instanced",
- #endif
- #ifdef GL_EXT_draw_range_elements
- "GL_EXT_draw_range_elements",
- #endif
- #ifdef GL_EXT_external_buffer
- "GL_EXT_external_buffer",
- #endif
- #ifdef GL_EXT_float_blend
- "GL_EXT_float_blend",
- #endif
- #ifdef GL_EXT_fog_coord
- "GL_EXT_fog_coord",
- #endif
- #ifdef GL_EXT_frag_depth
- "GL_EXT_frag_depth",
- #endif
- #ifdef GL_EXT_fragment_lighting
- "GL_EXT_fragment_lighting",
- #endif
- #ifdef GL_EXT_framebuffer_blit
- "GL_EXT_framebuffer_blit",
- #endif
- #ifdef GL_EXT_framebuffer_multisample
- "GL_EXT_framebuffer_multisample",
- #endif
- #ifdef GL_EXT_framebuffer_multisample_blit_scaled
- "GL_EXT_framebuffer_multisample_blit_scaled",
- #endif
- #ifdef GL_EXT_framebuffer_object
- "GL_EXT_framebuffer_object",
- #endif
- #ifdef GL_EXT_framebuffer_sRGB
- "GL_EXT_framebuffer_sRGB",
- #endif
- #ifdef GL_EXT_geometry_point_size
- "GL_EXT_geometry_point_size",
- #endif
- #ifdef GL_EXT_geometry_shader
- "GL_EXT_geometry_shader",
- #endif
- #ifdef GL_EXT_geometry_shader4
- "GL_EXT_geometry_shader4",
- #endif
- #ifdef GL_EXT_gpu_program_parameters
- "GL_EXT_gpu_program_parameters",
- #endif
- #ifdef GL_EXT_gpu_shader4
- "GL_EXT_gpu_shader4",
- #endif
- #ifdef GL_EXT_gpu_shader5
- "GL_EXT_gpu_shader5",
- #endif
- #ifdef GL_EXT_histogram
- "GL_EXT_histogram",
- #endif
- #ifdef GL_EXT_index_array_formats
- "GL_EXT_index_array_formats",
- #endif
- #ifdef GL_EXT_index_func
- "GL_EXT_index_func",
- #endif
- #ifdef GL_EXT_index_material
- "GL_EXT_index_material",
- #endif
- #ifdef GL_EXT_index_texture
- "GL_EXT_index_texture",
- #endif
- #ifdef GL_EXT_instanced_arrays
- "GL_EXT_instanced_arrays",
- #endif
- #ifdef GL_EXT_light_texture
- "GL_EXT_light_texture",
- #endif
- #ifdef GL_EXT_map_buffer_range
- "GL_EXT_map_buffer_range",
- #endif
- #ifdef GL_EXT_memory_object
- "GL_EXT_memory_object",
- #endif
- #ifdef GL_EXT_memory_object_fd
- "GL_EXT_memory_object_fd",
- #endif
- #ifdef GL_EXT_memory_object_win32
- "GL_EXT_memory_object_win32",
- #endif
- #ifdef GL_EXT_misc_attribute
- "GL_EXT_misc_attribute",
- #endif
- #ifdef GL_EXT_multi_draw_arrays
- "GL_EXT_multi_draw_arrays",
- #endif
- #ifdef GL_EXT_multi_draw_indirect
- "GL_EXT_multi_draw_indirect",
- #endif
- #ifdef GL_EXT_multiple_textures
- "GL_EXT_multiple_textures",
- #endif
- #ifdef GL_EXT_multisample
- "GL_EXT_multisample",
- #endif
- #ifdef GL_EXT_multisample_compatibility
- "GL_EXT_multisample_compatibility",
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture
- "GL_EXT_multisampled_render_to_texture",
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture2
- "GL_EXT_multisampled_render_to_texture2",
- #endif
- #ifdef GL_EXT_multiview_draw_buffers
- "GL_EXT_multiview_draw_buffers",
- #endif
- #ifdef GL_EXT_packed_depth_stencil
- "GL_EXT_packed_depth_stencil",
- #endif
- #ifdef GL_EXT_packed_float
- "GL_EXT_packed_float",
- #endif
- #ifdef GL_EXT_packed_pixels
- "GL_EXT_packed_pixels",
- #endif
- #ifdef GL_EXT_paletted_texture
- "GL_EXT_paletted_texture",
- #endif
- #ifdef GL_EXT_pixel_buffer_object
- "GL_EXT_pixel_buffer_object",
- #endif
- #ifdef GL_EXT_pixel_transform
- "GL_EXT_pixel_transform",
- #endif
- #ifdef GL_EXT_pixel_transform_color_table
- "GL_EXT_pixel_transform_color_table",
- #endif
- #ifdef GL_EXT_point_parameters
- "GL_EXT_point_parameters",
- #endif
- #ifdef GL_EXT_polygon_offset
- "GL_EXT_polygon_offset",
- #endif
- #ifdef GL_EXT_polygon_offset_clamp
- "GL_EXT_polygon_offset_clamp",
- #endif
- #ifdef GL_EXT_post_depth_coverage
- "GL_EXT_post_depth_coverage",
- #endif
- #ifdef GL_EXT_provoking_vertex
- "GL_EXT_provoking_vertex",
- #endif
- #ifdef GL_EXT_pvrtc_sRGB
- "GL_EXT_pvrtc_sRGB",
- #endif
- #ifdef GL_EXT_raster_multisample
- "GL_EXT_raster_multisample",
- #endif
- #ifdef GL_EXT_read_format_bgra
- "GL_EXT_read_format_bgra",
- #endif
- #ifdef GL_EXT_render_snorm
- "GL_EXT_render_snorm",
- #endif
- #ifdef GL_EXT_rescale_normal
- "GL_EXT_rescale_normal",
- #endif
- #ifdef GL_EXT_sRGB
- "GL_EXT_sRGB",
- #endif
- #ifdef GL_EXT_sRGB_write_control
- "GL_EXT_sRGB_write_control",
- #endif
- #ifdef GL_EXT_scene_marker
- "GL_EXT_scene_marker",
- #endif
- #ifdef GL_EXT_secondary_color
- "GL_EXT_secondary_color",
- #endif
- #ifdef GL_EXT_semaphore
- "GL_EXT_semaphore",
- #endif
- #ifdef GL_EXT_semaphore_fd
- "GL_EXT_semaphore_fd",
- #endif
- #ifdef GL_EXT_semaphore_win32
- "GL_EXT_semaphore_win32",
- #endif
- #ifdef GL_EXT_separate_shader_objects
- "GL_EXT_separate_shader_objects",
- #endif
- #ifdef GL_EXT_separate_specular_color
- "GL_EXT_separate_specular_color",
- #endif
- #ifdef GL_EXT_shader_framebuffer_fetch
- "GL_EXT_shader_framebuffer_fetch",
- #endif
- #ifdef GL_EXT_shader_group_vote
- "GL_EXT_shader_group_vote",
- #endif
- #ifdef GL_EXT_shader_image_load_formatted
- "GL_EXT_shader_image_load_formatted",
- #endif
- #ifdef GL_EXT_shader_image_load_store
- "GL_EXT_shader_image_load_store",
- #endif
- #ifdef GL_EXT_shader_implicit_conversions
- "GL_EXT_shader_implicit_conversions",
- #endif
- #ifdef GL_EXT_shader_integer_mix
- "GL_EXT_shader_integer_mix",
- #endif
- #ifdef GL_EXT_shader_io_blocks
- "GL_EXT_shader_io_blocks",
- #endif
- #ifdef GL_EXT_shader_non_constant_global_initializers
- "GL_EXT_shader_non_constant_global_initializers",
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage
- "GL_EXT_shader_pixel_local_storage",
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage2
- "GL_EXT_shader_pixel_local_storage2",
- #endif
- #ifdef GL_EXT_shader_texture_lod
- "GL_EXT_shader_texture_lod",
- #endif
- #ifdef GL_EXT_shadow_funcs
- "GL_EXT_shadow_funcs",
- #endif
- #ifdef GL_EXT_shadow_samplers
- "GL_EXT_shadow_samplers",
- #endif
- #ifdef GL_EXT_shared_texture_palette
- "GL_EXT_shared_texture_palette",
- #endif
- #ifdef GL_EXT_sparse_texture
- "GL_EXT_sparse_texture",
- #endif
- #ifdef GL_EXT_sparse_texture2
- "GL_EXT_sparse_texture2",
- #endif
- #ifdef GL_EXT_stencil_clear_tag
- "GL_EXT_stencil_clear_tag",
- #endif
- #ifdef GL_EXT_stencil_two_side
- "GL_EXT_stencil_two_side",
- #endif
- #ifdef GL_EXT_stencil_wrap
- "GL_EXT_stencil_wrap",
- #endif
- #ifdef GL_EXT_subtexture
- "GL_EXT_subtexture",
- #endif
- #ifdef GL_EXT_texture
- "GL_EXT_texture",
- #endif
- #ifdef GL_EXT_texture3D
- "GL_EXT_texture3D",
- #endif
- #ifdef GL_EXT_texture_array
- "GL_EXT_texture_array",
- #endif
- #ifdef GL_EXT_texture_buffer_object
- "GL_EXT_texture_buffer_object",
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode
- "GL_EXT_texture_compression_astc_decode_mode",
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
- "GL_EXT_texture_compression_astc_decode_mode_rgb9e5",
- #endif
- #ifdef GL_EXT_texture_compression_bptc
- "GL_EXT_texture_compression_bptc",
- #endif
- #ifdef GL_EXT_texture_compression_dxt1
- "GL_EXT_texture_compression_dxt1",
- #endif
- #ifdef GL_EXT_texture_compression_latc
- "GL_EXT_texture_compression_latc",
- #endif
- #ifdef GL_EXT_texture_compression_rgtc
- "GL_EXT_texture_compression_rgtc",
- #endif
- #ifdef GL_EXT_texture_compression_s3tc
- "GL_EXT_texture_compression_s3tc",
- #endif
- #ifdef GL_EXT_texture_cube_map
- "GL_EXT_texture_cube_map",
- #endif
- #ifdef GL_EXT_texture_cube_map_array
- "GL_EXT_texture_cube_map_array",
- #endif
- #ifdef GL_EXT_texture_edge_clamp
- "GL_EXT_texture_edge_clamp",
- #endif
- #ifdef GL_EXT_texture_env
- "GL_EXT_texture_env",
- #endif
- #ifdef GL_EXT_texture_env_add
- "GL_EXT_texture_env_add",
- #endif
- #ifdef GL_EXT_texture_env_combine
- "GL_EXT_texture_env_combine",
- #endif
- #ifdef GL_EXT_texture_env_dot3
- "GL_EXT_texture_env_dot3",
- #endif
- #ifdef GL_EXT_texture_filter_anisotropic
- "GL_EXT_texture_filter_anisotropic",
- #endif
- #ifdef GL_EXT_texture_filter_minmax
- "GL_EXT_texture_filter_minmax",
- #endif
- #ifdef GL_EXT_texture_format_BGRA8888
- "GL_EXT_texture_format_BGRA8888",
- #endif
- #ifdef GL_EXT_texture_integer
- "GL_EXT_texture_integer",
- #endif
- #ifdef GL_EXT_texture_lod_bias
- "GL_EXT_texture_lod_bias",
- #endif
- #ifdef GL_EXT_texture_mirror_clamp
- "GL_EXT_texture_mirror_clamp",
- #endif
- #ifdef GL_EXT_texture_norm16
- "GL_EXT_texture_norm16",
- #endif
- #ifdef GL_EXT_texture_object
- "GL_EXT_texture_object",
- #endif
- #ifdef GL_EXT_texture_perturb_normal
- "GL_EXT_texture_perturb_normal",
- #endif
- #ifdef GL_EXT_texture_rectangle
- "GL_EXT_texture_rectangle",
- #endif
- #ifdef GL_EXT_texture_rg
- "GL_EXT_texture_rg",
- #endif
- #ifdef GL_EXT_texture_sRGB
- "GL_EXT_texture_sRGB",
- #endif
- #ifdef GL_EXT_texture_sRGB_R8
- "GL_EXT_texture_sRGB_R8",
- #endif
- #ifdef GL_EXT_texture_sRGB_RG8
- "GL_EXT_texture_sRGB_RG8",
- #endif
- #ifdef GL_EXT_texture_sRGB_decode
- "GL_EXT_texture_sRGB_decode",
- #endif
- #ifdef GL_EXT_texture_shared_exponent
- "GL_EXT_texture_shared_exponent",
- #endif
- #ifdef GL_EXT_texture_snorm
- "GL_EXT_texture_snorm",
- #endif
- #ifdef GL_EXT_texture_storage
- "GL_EXT_texture_storage",
- #endif
- #ifdef GL_EXT_texture_swizzle
- "GL_EXT_texture_swizzle",
- #endif
- #ifdef GL_EXT_texture_type_2_10_10_10_REV
- "GL_EXT_texture_type_2_10_10_10_REV",
- #endif
- #ifdef GL_EXT_texture_view
- "GL_EXT_texture_view",
- #endif
- #ifdef GL_EXT_timer_query
- "GL_EXT_timer_query",
- #endif
- #ifdef GL_EXT_transform_feedback
- "GL_EXT_transform_feedback",
- #endif
- #ifdef GL_EXT_unpack_subimage
- "GL_EXT_unpack_subimage",
- #endif
- #ifdef GL_EXT_vertex_array
- "GL_EXT_vertex_array",
- #endif
- #ifdef GL_EXT_vertex_array_bgra
- "GL_EXT_vertex_array_bgra",
- #endif
- #ifdef GL_EXT_vertex_array_setXXX
- "GL_EXT_vertex_array_setXXX",
- #endif
- #ifdef GL_EXT_vertex_attrib_64bit
- "GL_EXT_vertex_attrib_64bit",
- #endif
- #ifdef GL_EXT_vertex_shader
- "GL_EXT_vertex_shader",
- #endif
- #ifdef GL_EXT_vertex_weighting
- "GL_EXT_vertex_weighting",
- #endif
- #ifdef GL_EXT_win32_keyed_mutex
- "GL_EXT_win32_keyed_mutex",
- #endif
- #ifdef GL_EXT_window_rectangles
- "GL_EXT_window_rectangles",
- #endif
- #ifdef GL_EXT_x11_sync_object
- "GL_EXT_x11_sync_object",
- #endif
- #ifdef GL_GREMEDY_frame_terminator
- "GL_GREMEDY_frame_terminator",
- #endif
- #ifdef GL_GREMEDY_string_marker
- "GL_GREMEDY_string_marker",
- #endif
- #ifdef GL_HP_convolution_border_modes
- "GL_HP_convolution_border_modes",
- #endif
- #ifdef GL_HP_image_transform
- "GL_HP_image_transform",
- #endif
- #ifdef GL_HP_occlusion_test
- "GL_HP_occlusion_test",
- #endif
- #ifdef GL_HP_texture_lighting
- "GL_HP_texture_lighting",
- #endif
- #ifdef GL_IBM_cull_vertex
- "GL_IBM_cull_vertex",
- #endif
- #ifdef GL_IBM_multimode_draw_arrays
- "GL_IBM_multimode_draw_arrays",
- #endif
- #ifdef GL_IBM_rasterpos_clip
- "GL_IBM_rasterpos_clip",
- #endif
- #ifdef GL_IBM_static_data
- "GL_IBM_static_data",
- #endif
- #ifdef GL_IBM_texture_mirrored_repeat
- "GL_IBM_texture_mirrored_repeat",
- #endif
- #ifdef GL_IBM_vertex_array_lists
- "GL_IBM_vertex_array_lists",
- #endif
- #ifdef GL_INGR_color_clamp
- "GL_INGR_color_clamp",
- #endif
- #ifdef GL_INGR_interlace_read
- "GL_INGR_interlace_read",
- #endif
- #ifdef GL_INTEL_conservative_rasterization
- "GL_INTEL_conservative_rasterization",
- #endif
- #ifdef GL_INTEL_fragment_shader_ordering
- "GL_INTEL_fragment_shader_ordering",
- #endif
- #ifdef GL_INTEL_framebuffer_CMAA
- "GL_INTEL_framebuffer_CMAA",
- #endif
- #ifdef GL_INTEL_map_texture
- "GL_INTEL_map_texture",
- #endif
- #ifdef GL_INTEL_parallel_arrays
- "GL_INTEL_parallel_arrays",
- #endif
- #ifdef GL_INTEL_performance_query
- "GL_INTEL_performance_query",
- #endif
- #ifdef GL_INTEL_texture_scissor
- "GL_INTEL_texture_scissor",
- #endif
- #ifdef GL_KHR_blend_equation_advanced
- "GL_KHR_blend_equation_advanced",
- #endif
- #ifdef GL_KHR_blend_equation_advanced_coherent
- "GL_KHR_blend_equation_advanced_coherent",
- #endif
- #ifdef GL_KHR_context_flush_control
- "GL_KHR_context_flush_control",
- #endif
- #ifdef GL_KHR_debug
- "GL_KHR_debug",
- #endif
- #ifdef GL_KHR_no_error
- "GL_KHR_no_error",
- #endif
- #ifdef GL_KHR_parallel_shader_compile
- "GL_KHR_parallel_shader_compile",
- #endif
- #ifdef GL_KHR_robust_buffer_access_behavior
- "GL_KHR_robust_buffer_access_behavior",
- #endif
- #ifdef GL_KHR_robustness
- "GL_KHR_robustness",
- #endif
- #ifdef GL_KHR_texture_compression_astc_hdr
- "GL_KHR_texture_compression_astc_hdr",
- #endif
- #ifdef GL_KHR_texture_compression_astc_ldr
- "GL_KHR_texture_compression_astc_ldr",
- #endif
- #ifdef GL_KHR_texture_compression_astc_sliced_3d
- "GL_KHR_texture_compression_astc_sliced_3d",
- #endif
- #ifdef GL_KTX_buffer_region
- "GL_KTX_buffer_region",
- #endif
- #ifdef GL_MESAX_texture_stack
- "GL_MESAX_texture_stack",
- #endif
- #ifdef GL_MESA_pack_invert
- "GL_MESA_pack_invert",
- #endif
- #ifdef GL_MESA_resize_buffers
- "GL_MESA_resize_buffers",
- #endif
- #ifdef GL_MESA_shader_integer_functions
- "GL_MESA_shader_integer_functions",
- #endif
- #ifdef GL_MESA_window_pos
- "GL_MESA_window_pos",
- #endif
- #ifdef GL_MESA_ycbcr_texture
- "GL_MESA_ycbcr_texture",
- #endif
- #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
- "GL_NVX_blend_equation_advanced_multi_draw_buffers",
- #endif
- #ifdef GL_NVX_conditional_render
- "GL_NVX_conditional_render",
- #endif
- #ifdef GL_NVX_gpu_memory_info
- "GL_NVX_gpu_memory_info",
- #endif
- #ifdef GL_NVX_linked_gpu_multicast
- "GL_NVX_linked_gpu_multicast",
- #endif
- #ifdef GL_NV_3dvision_settings
- "GL_NV_3dvision_settings",
- #endif
- #ifdef GL_NV_EGL_stream_consumer_external
- "GL_NV_EGL_stream_consumer_external",
- #endif
- #ifdef GL_NV_alpha_to_coverage_dither_control
- "GL_NV_alpha_to_coverage_dither_control",
- #endif
- #ifdef GL_NV_bgr
- "GL_NV_bgr",
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect
- "GL_NV_bindless_multi_draw_indirect",
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect_count
- "GL_NV_bindless_multi_draw_indirect_count",
- #endif
- #ifdef GL_NV_bindless_texture
- "GL_NV_bindless_texture",
- #endif
- #ifdef GL_NV_blend_equation_advanced
- "GL_NV_blend_equation_advanced",
- #endif
- #ifdef GL_NV_blend_equation_advanced_coherent
- "GL_NV_blend_equation_advanced_coherent",
- #endif
- #ifdef GL_NV_blend_minmax_factor
- "GL_NV_blend_minmax_factor",
- #endif
- #ifdef GL_NV_blend_square
- "GL_NV_blend_square",
- #endif
- #ifdef GL_NV_clip_space_w_scaling
- "GL_NV_clip_space_w_scaling",
- #endif
- #ifdef GL_NV_command_list
- "GL_NV_command_list",
- #endif
- #ifdef GL_NV_compute_program5
- "GL_NV_compute_program5",
- #endif
- #ifdef GL_NV_conditional_render
- "GL_NV_conditional_render",
- #endif
- #ifdef GL_NV_conservative_raster
- "GL_NV_conservative_raster",
- #endif
- #ifdef GL_NV_conservative_raster_dilate
- "GL_NV_conservative_raster_dilate",
- #endif
- #ifdef GL_NV_conservative_raster_pre_snap_triangles
- "GL_NV_conservative_raster_pre_snap_triangles",
- #endif
- #ifdef GL_NV_copy_buffer
- "GL_NV_copy_buffer",
- #endif
- #ifdef GL_NV_copy_depth_to_color
- "GL_NV_copy_depth_to_color",
- #endif
- #ifdef GL_NV_copy_image
- "GL_NV_copy_image",
- #endif
- #ifdef GL_NV_deep_texture3D
- "GL_NV_deep_texture3D",
- #endif
- #ifdef GL_NV_depth_buffer_float
- "GL_NV_depth_buffer_float",
- #endif
- #ifdef GL_NV_depth_clamp
- "GL_NV_depth_clamp",
- #endif
- #ifdef GL_NV_depth_range_unclamped
- "GL_NV_depth_range_unclamped",
- #endif
- #ifdef GL_NV_draw_buffers
- "GL_NV_draw_buffers",
- #endif
- #ifdef GL_NV_draw_instanced
- "GL_NV_draw_instanced",
- #endif
- #ifdef GL_NV_draw_texture
- "GL_NV_draw_texture",
- #endif
- #ifdef GL_NV_draw_vulkan_image
- "GL_NV_draw_vulkan_image",
- #endif
- #ifdef GL_NV_evaluators
- "GL_NV_evaluators",
- #endif
- #ifdef GL_NV_explicit_attrib_location
- "GL_NV_explicit_attrib_location",
- #endif
- #ifdef GL_NV_explicit_multisample
- "GL_NV_explicit_multisample",
- #endif
- #ifdef GL_NV_fbo_color_attachments
- "GL_NV_fbo_color_attachments",
- #endif
- #ifdef GL_NV_fence
- "GL_NV_fence",
- #endif
- #ifdef GL_NV_fill_rectangle
- "GL_NV_fill_rectangle",
- #endif
- #ifdef GL_NV_float_buffer
- "GL_NV_float_buffer",
- #endif
- #ifdef GL_NV_fog_distance
- "GL_NV_fog_distance",
- #endif
- #ifdef GL_NV_fragment_coverage_to_color
- "GL_NV_fragment_coverage_to_color",
- #endif
- #ifdef GL_NV_fragment_program
- "GL_NV_fragment_program",
- #endif
- #ifdef GL_NV_fragment_program2
- "GL_NV_fragment_program2",
- #endif
- #ifdef GL_NV_fragment_program4
- "GL_NV_fragment_program4",
- #endif
- #ifdef GL_NV_fragment_program_option
- "GL_NV_fragment_program_option",
- #endif
- #ifdef GL_NV_fragment_shader_interlock
- "GL_NV_fragment_shader_interlock",
- #endif
- #ifdef GL_NV_framebuffer_blit
- "GL_NV_framebuffer_blit",
- #endif
- #ifdef GL_NV_framebuffer_mixed_samples
- "GL_NV_framebuffer_mixed_samples",
- #endif
- #ifdef GL_NV_framebuffer_multisample
- "GL_NV_framebuffer_multisample",
- #endif
- #ifdef GL_NV_framebuffer_multisample_coverage
- "GL_NV_framebuffer_multisample_coverage",
- #endif
- #ifdef GL_NV_generate_mipmap_sRGB
- "GL_NV_generate_mipmap_sRGB",
- #endif
- #ifdef GL_NV_geometry_program4
- "GL_NV_geometry_program4",
- #endif
- #ifdef GL_NV_geometry_shader4
- "GL_NV_geometry_shader4",
- #endif
- #ifdef GL_NV_geometry_shader_passthrough
- "GL_NV_geometry_shader_passthrough",
- #endif
- #ifdef GL_NV_gpu_multicast
- "GL_NV_gpu_multicast",
- #endif
- #ifdef GL_NV_gpu_program4
- "GL_NV_gpu_program4",
- #endif
- #ifdef GL_NV_gpu_program5
- "GL_NV_gpu_program5",
- #endif
- #ifdef GL_NV_gpu_program5_mem_extended
- "GL_NV_gpu_program5_mem_extended",
- #endif
- #ifdef GL_NV_gpu_program_fp64
- "GL_NV_gpu_program_fp64",
- #endif
- #ifdef GL_NV_gpu_shader5
- "GL_NV_gpu_shader5",
- #endif
- #ifdef GL_NV_half_float
- "GL_NV_half_float",
- #endif
- #ifdef GL_NV_image_formats
- "GL_NV_image_formats",
- #endif
- #ifdef GL_NV_instanced_arrays
- "GL_NV_instanced_arrays",
- #endif
- #ifdef GL_NV_internalformat_sample_query
- "GL_NV_internalformat_sample_query",
- #endif
- #ifdef GL_NV_light_max_exponent
- "GL_NV_light_max_exponent",
- #endif
- #ifdef GL_NV_multisample_coverage
- "GL_NV_multisample_coverage",
- #endif
- #ifdef GL_NV_multisample_filter_hint
- "GL_NV_multisample_filter_hint",
- #endif
- #ifdef GL_NV_non_square_matrices
- "GL_NV_non_square_matrices",
- #endif
- #ifdef GL_NV_occlusion_query
- "GL_NV_occlusion_query",
- #endif
- #ifdef GL_NV_pack_subimage
- "GL_NV_pack_subimage",
- #endif
- #ifdef GL_NV_packed_depth_stencil
- "GL_NV_packed_depth_stencil",
- #endif
- #ifdef GL_NV_packed_float
- "GL_NV_packed_float",
- #endif
- #ifdef GL_NV_packed_float_linear
- "GL_NV_packed_float_linear",
- #endif
- #ifdef GL_NV_parameter_buffer_object
- "GL_NV_parameter_buffer_object",
- #endif
- #ifdef GL_NV_parameter_buffer_object2
- "GL_NV_parameter_buffer_object2",
- #endif
- #ifdef GL_NV_path_rendering
- "GL_NV_path_rendering",
- #endif
- #ifdef GL_NV_path_rendering_shared_edge
- "GL_NV_path_rendering_shared_edge",
- #endif
- #ifdef GL_NV_pixel_buffer_object
- "GL_NV_pixel_buffer_object",
- #endif
- #ifdef GL_NV_pixel_data_range
- "GL_NV_pixel_data_range",
- #endif
- #ifdef GL_NV_platform_binary
- "GL_NV_platform_binary",
- #endif
- #ifdef GL_NV_point_sprite
- "GL_NV_point_sprite",
- #endif
- #ifdef GL_NV_polygon_mode
- "GL_NV_polygon_mode",
- #endif
- #ifdef GL_NV_present_video
- "GL_NV_present_video",
- #endif
- #ifdef GL_NV_primitive_restart
- "GL_NV_primitive_restart",
- #endif
- #ifdef GL_NV_read_depth
- "GL_NV_read_depth",
- #endif
- #ifdef GL_NV_read_depth_stencil
- "GL_NV_read_depth_stencil",
- #endif
- #ifdef GL_NV_read_stencil
- "GL_NV_read_stencil",
- #endif
- #ifdef GL_NV_register_combiners
- "GL_NV_register_combiners",
- #endif
- #ifdef GL_NV_register_combiners2
- "GL_NV_register_combiners2",
- #endif
- #ifdef GL_NV_robustness_video_memory_purge
- "GL_NV_robustness_video_memory_purge",
- #endif
- #ifdef GL_NV_sRGB_formats
- "GL_NV_sRGB_formats",
- #endif
- #ifdef GL_NV_sample_locations
- "GL_NV_sample_locations",
- #endif
- #ifdef GL_NV_sample_mask_override_coverage
- "GL_NV_sample_mask_override_coverage",
- #endif
- #ifdef GL_NV_shader_atomic_counters
- "GL_NV_shader_atomic_counters",
- #endif
- #ifdef GL_NV_shader_atomic_float
- "GL_NV_shader_atomic_float",
- #endif
- #ifdef GL_NV_shader_atomic_float64
- "GL_NV_shader_atomic_float64",
- #endif
- #ifdef GL_NV_shader_atomic_fp16_vector
- "GL_NV_shader_atomic_fp16_vector",
- #endif
- #ifdef GL_NV_shader_atomic_int64
- "GL_NV_shader_atomic_int64",
- #endif
- #ifdef GL_NV_shader_buffer_load
- "GL_NV_shader_buffer_load",
- #endif
- #ifdef GL_NV_shader_noperspective_interpolation
- "GL_NV_shader_noperspective_interpolation",
- #endif
- #ifdef GL_NV_shader_storage_buffer_object
- "GL_NV_shader_storage_buffer_object",
- #endif
- #ifdef GL_NV_shader_thread_group
- "GL_NV_shader_thread_group",
- #endif
- #ifdef GL_NV_shader_thread_shuffle
- "GL_NV_shader_thread_shuffle",
- #endif
- #ifdef GL_NV_shadow_samplers_array
- "GL_NV_shadow_samplers_array",
- #endif
- #ifdef GL_NV_shadow_samplers_cube
- "GL_NV_shadow_samplers_cube",
- #endif
- #ifdef GL_NV_stereo_view_rendering
- "GL_NV_stereo_view_rendering",
- #endif
- #ifdef GL_NV_tessellation_program5
- "GL_NV_tessellation_program5",
- #endif
- #ifdef GL_NV_texgen_emboss
- "GL_NV_texgen_emboss",
- #endif
- #ifdef GL_NV_texgen_reflection
- "GL_NV_texgen_reflection",
- #endif
- #ifdef GL_NV_texture_array
- "GL_NV_texture_array",
- #endif
- #ifdef GL_NV_texture_barrier
- "GL_NV_texture_barrier",
- #endif
- #ifdef GL_NV_texture_border_clamp
- "GL_NV_texture_border_clamp",
- #endif
- #ifdef GL_NV_texture_compression_latc
- "GL_NV_texture_compression_latc",
- #endif
- #ifdef GL_NV_texture_compression_s3tc
- "GL_NV_texture_compression_s3tc",
- #endif
- #ifdef GL_NV_texture_compression_s3tc_update
- "GL_NV_texture_compression_s3tc_update",
- #endif
- #ifdef GL_NV_texture_compression_vtc
- "GL_NV_texture_compression_vtc",
- #endif
- #ifdef GL_NV_texture_env_combine4
- "GL_NV_texture_env_combine4",
- #endif
- #ifdef GL_NV_texture_expand_normal
- "GL_NV_texture_expand_normal",
- #endif
- #ifdef GL_NV_texture_multisample
- "GL_NV_texture_multisample",
- #endif
- #ifdef GL_NV_texture_npot_2D_mipmap
- "GL_NV_texture_npot_2D_mipmap",
- #endif
- #ifdef GL_NV_texture_rectangle
- "GL_NV_texture_rectangle",
- #endif
- #ifdef GL_NV_texture_rectangle_compressed
- "GL_NV_texture_rectangle_compressed",
- #endif
- #ifdef GL_NV_texture_shader
- "GL_NV_texture_shader",
- #endif
- #ifdef GL_NV_texture_shader2
- "GL_NV_texture_shader2",
- #endif
- #ifdef GL_NV_texture_shader3
- "GL_NV_texture_shader3",
- #endif
- #ifdef GL_NV_transform_feedback
- "GL_NV_transform_feedback",
- #endif
- #ifdef GL_NV_transform_feedback2
- "GL_NV_transform_feedback2",
- #endif
- #ifdef GL_NV_uniform_buffer_unified_memory
- "GL_NV_uniform_buffer_unified_memory",
- #endif
- #ifdef GL_NV_vdpau_interop
- "GL_NV_vdpau_interop",
- #endif
- #ifdef GL_NV_vertex_array_range
- "GL_NV_vertex_array_range",
- #endif
- #ifdef GL_NV_vertex_array_range2
- "GL_NV_vertex_array_range2",
- #endif
- #ifdef GL_NV_vertex_attrib_integer_64bit
- "GL_NV_vertex_attrib_integer_64bit",
- #endif
- #ifdef GL_NV_vertex_buffer_unified_memory
- "GL_NV_vertex_buffer_unified_memory",
- #endif
- #ifdef GL_NV_vertex_program
- "GL_NV_vertex_program",
- #endif
- #ifdef GL_NV_vertex_program1_1
- "GL_NV_vertex_program1_1",
- #endif
- #ifdef GL_NV_vertex_program2
- "GL_NV_vertex_program2",
- #endif
- #ifdef GL_NV_vertex_program2_option
- "GL_NV_vertex_program2_option",
- #endif
- #ifdef GL_NV_vertex_program3
- "GL_NV_vertex_program3",
- #endif
- #ifdef GL_NV_vertex_program4
- "GL_NV_vertex_program4",
- #endif
- #ifdef GL_NV_video_capture
- "GL_NV_video_capture",
- #endif
- #ifdef GL_NV_viewport_array
- "GL_NV_viewport_array",
- #endif
- #ifdef GL_NV_viewport_array2
- "GL_NV_viewport_array2",
- #endif
- #ifdef GL_NV_viewport_swizzle
- "GL_NV_viewport_swizzle",
- #endif
- #ifdef GL_OES_byte_coordinates
- "GL_OES_byte_coordinates",
- #endif
- #ifdef GL_OML_interlace
- "GL_OML_interlace",
- #endif
- #ifdef GL_OML_resample
- "GL_OML_resample",
- #endif
- #ifdef GL_OML_subsample
- "GL_OML_subsample",
- #endif
- #ifdef GL_OVR_multiview
- "GL_OVR_multiview",
- #endif
- #ifdef GL_OVR_multiview2
- "GL_OVR_multiview2",
- #endif
- #ifdef GL_OVR_multiview_multisampled_render_to_texture
- "GL_OVR_multiview_multisampled_render_to_texture",
- #endif
- #ifdef GL_PGI_misc_hints
- "GL_PGI_misc_hints",
- #endif
- #ifdef GL_PGI_vertex_hints
- "GL_PGI_vertex_hints",
- #endif
- #ifdef GL_QCOM_alpha_test
- "GL_QCOM_alpha_test",
- #endif
- #ifdef GL_QCOM_binning_control
- "GL_QCOM_binning_control",
- #endif
- #ifdef GL_QCOM_driver_control
- "GL_QCOM_driver_control",
- #endif
- #ifdef GL_QCOM_extended_get
- "GL_QCOM_extended_get",
- #endif
- #ifdef GL_QCOM_extended_get2
- "GL_QCOM_extended_get2",
- #endif
- #ifdef GL_QCOM_framebuffer_foveated
- "GL_QCOM_framebuffer_foveated",
- #endif
- #ifdef GL_QCOM_perfmon_global_mode
- "GL_QCOM_perfmon_global_mode",
- #endif
- #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
- "GL_QCOM_shader_framebuffer_fetch_noncoherent",
- #endif
- #ifdef GL_QCOM_tiled_rendering
- "GL_QCOM_tiled_rendering",
- #endif
- #ifdef GL_QCOM_writeonly_rendering
- "GL_QCOM_writeonly_rendering",
- #endif
- #ifdef GL_REGAL_ES1_0_compatibility
- "GL_REGAL_ES1_0_compatibility",
- #endif
- #ifdef GL_REGAL_ES1_1_compatibility
- "GL_REGAL_ES1_1_compatibility",
- #endif
- #ifdef GL_REGAL_enable
- "GL_REGAL_enable",
- #endif
- #ifdef GL_REGAL_error_string
- "GL_REGAL_error_string",
- #endif
- #ifdef GL_REGAL_extension_query
- "GL_REGAL_extension_query",
- #endif
- #ifdef GL_REGAL_log
- "GL_REGAL_log",
- #endif
- #ifdef GL_REGAL_proc_address
- "GL_REGAL_proc_address",
- #endif
- #ifdef GL_REND_screen_coordinates
- "GL_REND_screen_coordinates",
- #endif
- #ifdef GL_S3_s3tc
- "GL_S3_s3tc",
- #endif
- #ifdef GL_SGIS_clip_band_hint
- "GL_SGIS_clip_band_hint",
- #endif
- #ifdef GL_SGIS_color_range
- "GL_SGIS_color_range",
- #endif
- #ifdef GL_SGIS_detail_texture
- "GL_SGIS_detail_texture",
- #endif
- #ifdef GL_SGIS_fog_function
- "GL_SGIS_fog_function",
- #endif
- #ifdef GL_SGIS_generate_mipmap
- "GL_SGIS_generate_mipmap",
- #endif
- #ifdef GL_SGIS_line_texgen
- "GL_SGIS_line_texgen",
- #endif
- #ifdef GL_SGIS_multisample
- "GL_SGIS_multisample",
- #endif
- #ifdef GL_SGIS_multitexture
- "GL_SGIS_multitexture",
- #endif
- #ifdef GL_SGIS_pixel_texture
- "GL_SGIS_pixel_texture",
- #endif
- #ifdef GL_SGIS_point_line_texgen
- "GL_SGIS_point_line_texgen",
- #endif
- #ifdef GL_SGIS_shared_multisample
- "GL_SGIS_shared_multisample",
- #endif
- #ifdef GL_SGIS_sharpen_texture
- "GL_SGIS_sharpen_texture",
- #endif
- #ifdef GL_SGIS_texture4D
- "GL_SGIS_texture4D",
- #endif
- #ifdef GL_SGIS_texture_border_clamp
- "GL_SGIS_texture_border_clamp",
- #endif
- #ifdef GL_SGIS_texture_edge_clamp
- "GL_SGIS_texture_edge_clamp",
- #endif
- #ifdef GL_SGIS_texture_filter4
- "GL_SGIS_texture_filter4",
- #endif
- #ifdef GL_SGIS_texture_lod
- "GL_SGIS_texture_lod",
- #endif
- #ifdef GL_SGIS_texture_select
- "GL_SGIS_texture_select",
- #endif
- #ifdef GL_SGIX_async
- "GL_SGIX_async",
- #endif
- #ifdef GL_SGIX_async_histogram
- "GL_SGIX_async_histogram",
- #endif
- #ifdef GL_SGIX_async_pixel
- "GL_SGIX_async_pixel",
- #endif
- #ifdef GL_SGIX_bali_g_instruments
- "GL_SGIX_bali_g_instruments",
- #endif
- #ifdef GL_SGIX_bali_r_instruments
- "GL_SGIX_bali_r_instruments",
- #endif
- #ifdef GL_SGIX_bali_timer_instruments
- "GL_SGIX_bali_timer_instruments",
- #endif
- #ifdef GL_SGIX_blend_alpha_minmax
- "GL_SGIX_blend_alpha_minmax",
- #endif
- #ifdef GL_SGIX_blend_cadd
- "GL_SGIX_blend_cadd",
- #endif
- #ifdef GL_SGIX_blend_cmultiply
- "GL_SGIX_blend_cmultiply",
- #endif
- #ifdef GL_SGIX_calligraphic_fragment
- "GL_SGIX_calligraphic_fragment",
- #endif
- #ifdef GL_SGIX_clipmap
- "GL_SGIX_clipmap",
- #endif
- #ifdef GL_SGIX_color_matrix_accuracy
- "GL_SGIX_color_matrix_accuracy",
- #endif
- #ifdef GL_SGIX_color_table_index_mode
- "GL_SGIX_color_table_index_mode",
- #endif
- #ifdef GL_SGIX_complex_polar
- "GL_SGIX_complex_polar",
- #endif
- #ifdef GL_SGIX_convolution_accuracy
- "GL_SGIX_convolution_accuracy",
- #endif
- #ifdef GL_SGIX_cube_map
- "GL_SGIX_cube_map",
- #endif
- #ifdef GL_SGIX_cylinder_texgen
- "GL_SGIX_cylinder_texgen",
- #endif
- #ifdef GL_SGIX_datapipe
- "GL_SGIX_datapipe",
- #endif
- #ifdef GL_SGIX_decimation
- "GL_SGIX_decimation",
- #endif
- #ifdef GL_SGIX_depth_pass_instrument
- "GL_SGIX_depth_pass_instrument",
- #endif
- #ifdef GL_SGIX_depth_texture
- "GL_SGIX_depth_texture",
- #endif
- #ifdef GL_SGIX_dvc
- "GL_SGIX_dvc",
- #endif
- #ifdef GL_SGIX_flush_raster
- "GL_SGIX_flush_raster",
- #endif
- #ifdef GL_SGIX_fog_blend
- "GL_SGIX_fog_blend",
- #endif
- #ifdef GL_SGIX_fog_factor_to_alpha
- "GL_SGIX_fog_factor_to_alpha",
- #endif
- #ifdef GL_SGIX_fog_layers
- "GL_SGIX_fog_layers",
- #endif
- #ifdef GL_SGIX_fog_offset
- "GL_SGIX_fog_offset",
- #endif
- #ifdef GL_SGIX_fog_patchy
- "GL_SGIX_fog_patchy",
- #endif
- #ifdef GL_SGIX_fog_scale
- "GL_SGIX_fog_scale",
- #endif
- #ifdef GL_SGIX_fog_texture
- "GL_SGIX_fog_texture",
- #endif
- #ifdef GL_SGIX_fragment_lighting_space
- "GL_SGIX_fragment_lighting_space",
- #endif
- #ifdef GL_SGIX_fragment_specular_lighting
- "GL_SGIX_fragment_specular_lighting",
- #endif
- #ifdef GL_SGIX_fragments_instrument
- "GL_SGIX_fragments_instrument",
- #endif
- #ifdef GL_SGIX_framezoom
- "GL_SGIX_framezoom",
- #endif
- #ifdef GL_SGIX_icc_texture
- "GL_SGIX_icc_texture",
- #endif
- #ifdef GL_SGIX_igloo_interface
- "GL_SGIX_igloo_interface",
- #endif
- #ifdef GL_SGIX_image_compression
- "GL_SGIX_image_compression",
- #endif
- #ifdef GL_SGIX_impact_pixel_texture
- "GL_SGIX_impact_pixel_texture",
- #endif
- #ifdef GL_SGIX_instrument_error
- "GL_SGIX_instrument_error",
- #endif
- #ifdef GL_SGIX_interlace
- "GL_SGIX_interlace",
- #endif
- #ifdef GL_SGIX_ir_instrument1
- "GL_SGIX_ir_instrument1",
- #endif
- #ifdef GL_SGIX_line_quality_hint
- "GL_SGIX_line_quality_hint",
- #endif
- #ifdef GL_SGIX_list_priority
- "GL_SGIX_list_priority",
- #endif
- #ifdef GL_SGIX_mpeg1
- "GL_SGIX_mpeg1",
- #endif
- #ifdef GL_SGIX_mpeg2
- "GL_SGIX_mpeg2",
- #endif
- #ifdef GL_SGIX_nonlinear_lighting_pervertex
- "GL_SGIX_nonlinear_lighting_pervertex",
- #endif
- #ifdef GL_SGIX_nurbs_eval
- "GL_SGIX_nurbs_eval",
- #endif
- #ifdef GL_SGIX_occlusion_instrument
- "GL_SGIX_occlusion_instrument",
- #endif
- #ifdef GL_SGIX_packed_6bytes
- "GL_SGIX_packed_6bytes",
- #endif
- #ifdef GL_SGIX_pixel_texture
- "GL_SGIX_pixel_texture",
- #endif
- #ifdef GL_SGIX_pixel_texture_bits
- "GL_SGIX_pixel_texture_bits",
- #endif
- #ifdef GL_SGIX_pixel_texture_lod
- "GL_SGIX_pixel_texture_lod",
- #endif
- #ifdef GL_SGIX_pixel_tiles
- "GL_SGIX_pixel_tiles",
- #endif
- #ifdef GL_SGIX_polynomial_ffd
- "GL_SGIX_polynomial_ffd",
- #endif
- #ifdef GL_SGIX_quad_mesh
- "GL_SGIX_quad_mesh",
- #endif
- #ifdef GL_SGIX_reference_plane
- "GL_SGIX_reference_plane",
- #endif
- #ifdef GL_SGIX_resample
- "GL_SGIX_resample",
- #endif
- #ifdef GL_SGIX_scalebias_hint
- "GL_SGIX_scalebias_hint",
- #endif
- #ifdef GL_SGIX_shadow
- "GL_SGIX_shadow",
- #endif
- #ifdef GL_SGIX_shadow_ambient
- "GL_SGIX_shadow_ambient",
- #endif
- #ifdef GL_SGIX_slim
- "GL_SGIX_slim",
- #endif
- #ifdef GL_SGIX_spotlight_cutoff
- "GL_SGIX_spotlight_cutoff",
- #endif
- #ifdef GL_SGIX_sprite
- "GL_SGIX_sprite",
- #endif
- #ifdef GL_SGIX_subdiv_patch
- "GL_SGIX_subdiv_patch",
- #endif
- #ifdef GL_SGIX_subsample
- "GL_SGIX_subsample",
- #endif
- #ifdef GL_SGIX_tag_sample_buffer
- "GL_SGIX_tag_sample_buffer",
- #endif
- #ifdef GL_SGIX_texture_add_env
- "GL_SGIX_texture_add_env",
- #endif
- #ifdef GL_SGIX_texture_coordinate_clamp
- "GL_SGIX_texture_coordinate_clamp",
- #endif
- #ifdef GL_SGIX_texture_lod_bias
- "GL_SGIX_texture_lod_bias",
- #endif
- #ifdef GL_SGIX_texture_mipmap_anisotropic
- "GL_SGIX_texture_mipmap_anisotropic",
- #endif
- #ifdef GL_SGIX_texture_multi_buffer
- "GL_SGIX_texture_multi_buffer",
- #endif
- #ifdef GL_SGIX_texture_phase
- "GL_SGIX_texture_phase",
- #endif
- #ifdef GL_SGIX_texture_range
- "GL_SGIX_texture_range",
- #endif
- #ifdef GL_SGIX_texture_scale_bias
- "GL_SGIX_texture_scale_bias",
- #endif
- #ifdef GL_SGIX_texture_supersample
- "GL_SGIX_texture_supersample",
- #endif
- #ifdef GL_SGIX_vector_ops
- "GL_SGIX_vector_ops",
- #endif
- #ifdef GL_SGIX_vertex_array_object
- "GL_SGIX_vertex_array_object",
- #endif
- #ifdef GL_SGIX_vertex_preclip
- "GL_SGIX_vertex_preclip",
- #endif
- #ifdef GL_SGIX_vertex_preclip_hint
- "GL_SGIX_vertex_preclip_hint",
- #endif
- #ifdef GL_SGIX_ycrcb
- "GL_SGIX_ycrcb",
- #endif
- #ifdef GL_SGIX_ycrcb_subsample
- "GL_SGIX_ycrcb_subsample",
- #endif
- #ifdef GL_SGIX_ycrcba
- "GL_SGIX_ycrcba",
- #endif
- #ifdef GL_SGI_color_matrix
- "GL_SGI_color_matrix",
- #endif
- #ifdef GL_SGI_color_table
- "GL_SGI_color_table",
- #endif
- #ifdef GL_SGI_complex
- "GL_SGI_complex",
- #endif
- #ifdef GL_SGI_complex_type
- "GL_SGI_complex_type",
- #endif
- #ifdef GL_SGI_fft
- "GL_SGI_fft",
- #endif
- #ifdef GL_SGI_texture_color_table
- "GL_SGI_texture_color_table",
- #endif
- #ifdef GL_SUNX_constant_data
- "GL_SUNX_constant_data",
- #endif
- #ifdef GL_SUN_convolution_border_modes
- "GL_SUN_convolution_border_modes",
- #endif
- #ifdef GL_SUN_global_alpha
- "GL_SUN_global_alpha",
- #endif
- #ifdef GL_SUN_mesh_array
- "GL_SUN_mesh_array",
- #endif
- #ifdef GL_SUN_read_video_pixels
- "GL_SUN_read_video_pixels",
- #endif
- #ifdef GL_SUN_slice_accum
- "GL_SUN_slice_accum",
- #endif
- #ifdef GL_SUN_triangle_list
- "GL_SUN_triangle_list",
- #endif
- #ifdef GL_SUN_vertex
- "GL_SUN_vertex",
- #endif
- #ifdef GL_WIN_phong_shading
- "GL_WIN_phong_shading",
- #endif
- #ifdef GL_WIN_scene_markerXXX
- "GL_WIN_scene_markerXXX",
- #endif
- #ifdef GL_WIN_specular_fog
- "GL_WIN_specular_fog",
- #endif
- #ifdef GL_WIN_swap_hint
- "GL_WIN_swap_hint",
- #endif
- NULL
- };
- /* Detected in the extension string or strings */
- static GLboolean _glewExtensionString[801];
- /* Detected via extension string or experimental mode */
- static GLboolean* _glewExtensionEnabled[] = {
- #ifdef GL_VERSION_1_2
- &__GLEW_VERSION_1_2,
- #endif
- #ifdef GL_VERSION_1_2_1
- &__GLEW_VERSION_1_2_1,
- #endif
- #ifdef GL_VERSION_1_3
- &__GLEW_VERSION_1_3,
- #endif
- #ifdef GL_VERSION_1_4
- &__GLEW_VERSION_1_4,
- #endif
- #ifdef GL_VERSION_1_5
- &__GLEW_VERSION_1_5,
- #endif
- #ifdef GL_VERSION_2_0
- &__GLEW_VERSION_2_0,
- #endif
- #ifdef GL_VERSION_2_1
- &__GLEW_VERSION_2_1,
- #endif
- #ifdef GL_VERSION_3_0
- &__GLEW_VERSION_3_0,
- #endif
- #ifdef GL_VERSION_3_1
- &__GLEW_VERSION_3_1,
- #endif
- #ifdef GL_VERSION_3_2
- &__GLEW_VERSION_3_2,
- #endif
- #ifdef GL_VERSION_3_3
- &__GLEW_VERSION_3_3,
- #endif
- #ifdef GL_VERSION_4_0
- &__GLEW_VERSION_4_0,
- #endif
- #ifdef GL_VERSION_4_1
- &__GLEW_VERSION_4_1,
- #endif
- #ifdef GL_VERSION_4_2
- &__GLEW_VERSION_4_2,
- #endif
- #ifdef GL_VERSION_4_3
- &__GLEW_VERSION_4_3,
- #endif
- #ifdef GL_VERSION_4_4
- &__GLEW_VERSION_4_4,
- #endif
- #ifdef GL_VERSION_4_5
- &__GLEW_VERSION_4_5,
- #endif
- #ifdef GL_VERSION_4_6
- &__GLEW_VERSION_4_6,
- #endif
- #ifdef GL_3DFX_multisample
- &__GLEW_3DFX_multisample,
- #endif
- #ifdef GL_3DFX_tbuffer
- &__GLEW_3DFX_tbuffer,
- #endif
- #ifdef GL_3DFX_texture_compression_FXT1
- &__GLEW_3DFX_texture_compression_FXT1,
- #endif
- #ifdef GL_AMD_blend_minmax_factor
- &__GLEW_AMD_blend_minmax_factor,
- #endif
- #ifdef GL_AMD_compressed_3DC_texture
- &__GLEW_AMD_compressed_3DC_texture,
- #endif
- #ifdef GL_AMD_compressed_ATC_texture
- &__GLEW_AMD_compressed_ATC_texture,
- #endif
- #ifdef GL_AMD_conservative_depth
- &__GLEW_AMD_conservative_depth,
- #endif
- #ifdef GL_AMD_debug_output
- &__GLEW_AMD_debug_output,
- #endif
- #ifdef GL_AMD_depth_clamp_separate
- &__GLEW_AMD_depth_clamp_separate,
- #endif
- #ifdef GL_AMD_draw_buffers_blend
- &__GLEW_AMD_draw_buffers_blend,
- #endif
- #ifdef GL_AMD_framebuffer_sample_positions
- &__GLEW_AMD_framebuffer_sample_positions,
- #endif
- #ifdef GL_AMD_gcn_shader
- &__GLEW_AMD_gcn_shader,
- #endif
- #ifdef GL_AMD_gpu_shader_half_float
- &__GLEW_AMD_gpu_shader_half_float,
- #endif
- #ifdef GL_AMD_gpu_shader_int16
- &__GLEW_AMD_gpu_shader_int16,
- #endif
- #ifdef GL_AMD_gpu_shader_int64
- &__GLEW_AMD_gpu_shader_int64,
- #endif
- #ifdef GL_AMD_interleaved_elements
- &__GLEW_AMD_interleaved_elements,
- #endif
- #ifdef GL_AMD_multi_draw_indirect
- &__GLEW_AMD_multi_draw_indirect,
- #endif
- #ifdef GL_AMD_name_gen_delete
- &__GLEW_AMD_name_gen_delete,
- #endif
- #ifdef GL_AMD_occlusion_query_event
- &__GLEW_AMD_occlusion_query_event,
- #endif
- #ifdef GL_AMD_performance_monitor
- &__GLEW_AMD_performance_monitor,
- #endif
- #ifdef GL_AMD_pinned_memory
- &__GLEW_AMD_pinned_memory,
- #endif
- #ifdef GL_AMD_program_binary_Z400
- &__GLEW_AMD_program_binary_Z400,
- #endif
- #ifdef GL_AMD_query_buffer_object
- &__GLEW_AMD_query_buffer_object,
- #endif
- #ifdef GL_AMD_sample_positions
- &__GLEW_AMD_sample_positions,
- #endif
- #ifdef GL_AMD_seamless_cubemap_per_texture
- &__GLEW_AMD_seamless_cubemap_per_texture,
- #endif
- #ifdef GL_AMD_shader_atomic_counter_ops
- &__GLEW_AMD_shader_atomic_counter_ops,
- #endif
- #ifdef GL_AMD_shader_ballot
- &__GLEW_AMD_shader_ballot,
- #endif
- #ifdef GL_AMD_shader_explicit_vertex_parameter
- &__GLEW_AMD_shader_explicit_vertex_parameter,
- #endif
- #ifdef GL_AMD_shader_stencil_export
- &__GLEW_AMD_shader_stencil_export,
- #endif
- #ifdef GL_AMD_shader_stencil_value_export
- &__GLEW_AMD_shader_stencil_value_export,
- #endif
- #ifdef GL_AMD_shader_trinary_minmax
- &__GLEW_AMD_shader_trinary_minmax,
- #endif
- #ifdef GL_AMD_sparse_texture
- &__GLEW_AMD_sparse_texture,
- #endif
- #ifdef GL_AMD_stencil_operation_extended
- &__GLEW_AMD_stencil_operation_extended,
- #endif
- #ifdef GL_AMD_texture_gather_bias_lod
- &__GLEW_AMD_texture_gather_bias_lod,
- #endif
- #ifdef GL_AMD_texture_texture4
- &__GLEW_AMD_texture_texture4,
- #endif
- #ifdef GL_AMD_transform_feedback3_lines_triangles
- &__GLEW_AMD_transform_feedback3_lines_triangles,
- #endif
- #ifdef GL_AMD_transform_feedback4
- &__GLEW_AMD_transform_feedback4,
- #endif
- #ifdef GL_AMD_vertex_shader_layer
- &__GLEW_AMD_vertex_shader_layer,
- #endif
- #ifdef GL_AMD_vertex_shader_tessellator
- &__GLEW_AMD_vertex_shader_tessellator,
- #endif
- #ifdef GL_AMD_vertex_shader_viewport_index
- &__GLEW_AMD_vertex_shader_viewport_index,
- #endif
- #ifdef GL_ANDROID_extension_pack_es31a
- &__GLEW_ANDROID_extension_pack_es31a,
- #endif
- #ifdef GL_ANGLE_depth_texture
- &__GLEW_ANGLE_depth_texture,
- #endif
- #ifdef GL_ANGLE_framebuffer_blit
- &__GLEW_ANGLE_framebuffer_blit,
- #endif
- #ifdef GL_ANGLE_framebuffer_multisample
- &__GLEW_ANGLE_framebuffer_multisample,
- #endif
- #ifdef GL_ANGLE_instanced_arrays
- &__GLEW_ANGLE_instanced_arrays,
- #endif
- #ifdef GL_ANGLE_pack_reverse_row_order
- &__GLEW_ANGLE_pack_reverse_row_order,
- #endif
- #ifdef GL_ANGLE_program_binary
- &__GLEW_ANGLE_program_binary,
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt1
- &__GLEW_ANGLE_texture_compression_dxt1,
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt3
- &__GLEW_ANGLE_texture_compression_dxt3,
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt5
- &__GLEW_ANGLE_texture_compression_dxt5,
- #endif
- #ifdef GL_ANGLE_texture_usage
- &__GLEW_ANGLE_texture_usage,
- #endif
- #ifdef GL_ANGLE_timer_query
- &__GLEW_ANGLE_timer_query,
- #endif
- #ifdef GL_ANGLE_translated_shader_source
- &__GLEW_ANGLE_translated_shader_source,
- #endif
- #ifdef GL_APPLE_aux_depth_stencil
- &__GLEW_APPLE_aux_depth_stencil,
- #endif
- #ifdef GL_APPLE_client_storage
- &__GLEW_APPLE_client_storage,
- #endif
- #ifdef GL_APPLE_clip_distance
- &__GLEW_APPLE_clip_distance,
- #endif
- #ifdef GL_APPLE_color_buffer_packed_float
- &__GLEW_APPLE_color_buffer_packed_float,
- #endif
- #ifdef GL_APPLE_copy_texture_levels
- &__GLEW_APPLE_copy_texture_levels,
- #endif
- #ifdef GL_APPLE_element_array
- &__GLEW_APPLE_element_array,
- #endif
- #ifdef GL_APPLE_fence
- &__GLEW_APPLE_fence,
- #endif
- #ifdef GL_APPLE_float_pixels
- &__GLEW_APPLE_float_pixels,
- #endif
- #ifdef GL_APPLE_flush_buffer_range
- &__GLEW_APPLE_flush_buffer_range,
- #endif
- #ifdef GL_APPLE_framebuffer_multisample
- &__GLEW_APPLE_framebuffer_multisample,
- #endif
- #ifdef GL_APPLE_object_purgeable
- &__GLEW_APPLE_object_purgeable,
- #endif
- #ifdef GL_APPLE_pixel_buffer
- &__GLEW_APPLE_pixel_buffer,
- #endif
- #ifdef GL_APPLE_rgb_422
- &__GLEW_APPLE_rgb_422,
- #endif
- #ifdef GL_APPLE_row_bytes
- &__GLEW_APPLE_row_bytes,
- #endif
- #ifdef GL_APPLE_specular_vector
- &__GLEW_APPLE_specular_vector,
- #endif
- #ifdef GL_APPLE_sync
- &__GLEW_APPLE_sync,
- #endif
- #ifdef GL_APPLE_texture_2D_limited_npot
- &__GLEW_APPLE_texture_2D_limited_npot,
- #endif
- #ifdef GL_APPLE_texture_format_BGRA8888
- &__GLEW_APPLE_texture_format_BGRA8888,
- #endif
- #ifdef GL_APPLE_texture_max_level
- &__GLEW_APPLE_texture_max_level,
- #endif
- #ifdef GL_APPLE_texture_packed_float
- &__GLEW_APPLE_texture_packed_float,
- #endif
- #ifdef GL_APPLE_texture_range
- &__GLEW_APPLE_texture_range,
- #endif
- #ifdef GL_APPLE_transform_hint
- &__GLEW_APPLE_transform_hint,
- #endif
- #ifdef GL_APPLE_vertex_array_object
- &__GLEW_APPLE_vertex_array_object,
- #endif
- #ifdef GL_APPLE_vertex_array_range
- &__GLEW_APPLE_vertex_array_range,
- #endif
- #ifdef GL_APPLE_vertex_program_evaluators
- &__GLEW_APPLE_vertex_program_evaluators,
- #endif
- #ifdef GL_APPLE_ycbcr_422
- &__GLEW_APPLE_ycbcr_422,
- #endif
- #ifdef GL_ARB_ES2_compatibility
- &__GLEW_ARB_ES2_compatibility,
- #endif
- #ifdef GL_ARB_ES3_1_compatibility
- &__GLEW_ARB_ES3_1_compatibility,
- #endif
- #ifdef GL_ARB_ES3_2_compatibility
- &__GLEW_ARB_ES3_2_compatibility,
- #endif
- #ifdef GL_ARB_ES3_compatibility
- &__GLEW_ARB_ES3_compatibility,
- #endif
- #ifdef GL_ARB_arrays_of_arrays
- &__GLEW_ARB_arrays_of_arrays,
- #endif
- #ifdef GL_ARB_base_instance
- &__GLEW_ARB_base_instance,
- #endif
- #ifdef GL_ARB_bindless_texture
- &__GLEW_ARB_bindless_texture,
- #endif
- #ifdef GL_ARB_blend_func_extended
- &__GLEW_ARB_blend_func_extended,
- #endif
- #ifdef GL_ARB_buffer_storage
- &__GLEW_ARB_buffer_storage,
- #endif
- #ifdef GL_ARB_cl_event
- &__GLEW_ARB_cl_event,
- #endif
- #ifdef GL_ARB_clear_buffer_object
- &__GLEW_ARB_clear_buffer_object,
- #endif
- #ifdef GL_ARB_clear_texture
- &__GLEW_ARB_clear_texture,
- #endif
- #ifdef GL_ARB_clip_control
- &__GLEW_ARB_clip_control,
- #endif
- #ifdef GL_ARB_color_buffer_float
- &__GLEW_ARB_color_buffer_float,
- #endif
- #ifdef GL_ARB_compatibility
- &__GLEW_ARB_compatibility,
- #endif
- #ifdef GL_ARB_compressed_texture_pixel_storage
- &__GLEW_ARB_compressed_texture_pixel_storage,
- #endif
- #ifdef GL_ARB_compute_shader
- &__GLEW_ARB_compute_shader,
- #endif
- #ifdef GL_ARB_compute_variable_group_size
- &__GLEW_ARB_compute_variable_group_size,
- #endif
- #ifdef GL_ARB_conditional_render_inverted
- &__GLEW_ARB_conditional_render_inverted,
- #endif
- #ifdef GL_ARB_conservative_depth
- &__GLEW_ARB_conservative_depth,
- #endif
- #ifdef GL_ARB_copy_buffer
- &__GLEW_ARB_copy_buffer,
- #endif
- #ifdef GL_ARB_copy_image
- &__GLEW_ARB_copy_image,
- #endif
- #ifdef GL_ARB_cull_distance
- &__GLEW_ARB_cull_distance,
- #endif
- #ifdef GL_ARB_debug_output
- &__GLEW_ARB_debug_output,
- #endif
- #ifdef GL_ARB_depth_buffer_float
- &__GLEW_ARB_depth_buffer_float,
- #endif
- #ifdef GL_ARB_depth_clamp
- &__GLEW_ARB_depth_clamp,
- #endif
- #ifdef GL_ARB_depth_texture
- &__GLEW_ARB_depth_texture,
- #endif
- #ifdef GL_ARB_derivative_control
- &__GLEW_ARB_derivative_control,
- #endif
- #ifdef GL_ARB_direct_state_access
- &__GLEW_ARB_direct_state_access,
- #endif
- #ifdef GL_ARB_draw_buffers
- &__GLEW_ARB_draw_buffers,
- #endif
- #ifdef GL_ARB_draw_buffers_blend
- &__GLEW_ARB_draw_buffers_blend,
- #endif
- #ifdef GL_ARB_draw_elements_base_vertex
- &__GLEW_ARB_draw_elements_base_vertex,
- #endif
- #ifdef GL_ARB_draw_indirect
- &__GLEW_ARB_draw_indirect,
- #endif
- #ifdef GL_ARB_draw_instanced
- &__GLEW_ARB_draw_instanced,
- #endif
- #ifdef GL_ARB_enhanced_layouts
- &__GLEW_ARB_enhanced_layouts,
- #endif
- #ifdef GL_ARB_explicit_attrib_location
- &__GLEW_ARB_explicit_attrib_location,
- #endif
- #ifdef GL_ARB_explicit_uniform_location
- &__GLEW_ARB_explicit_uniform_location,
- #endif
- #ifdef GL_ARB_fragment_coord_conventions
- &__GLEW_ARB_fragment_coord_conventions,
- #endif
- #ifdef GL_ARB_fragment_layer_viewport
- &__GLEW_ARB_fragment_layer_viewport,
- #endif
- #ifdef GL_ARB_fragment_program
- &__GLEW_ARB_fragment_program,
- #endif
- #ifdef GL_ARB_fragment_program_shadow
- &__GLEW_ARB_fragment_program_shadow,
- #endif
- #ifdef GL_ARB_fragment_shader
- &__GLEW_ARB_fragment_shader,
- #endif
- #ifdef GL_ARB_fragment_shader_interlock
- &__GLEW_ARB_fragment_shader_interlock,
- #endif
- #ifdef GL_ARB_framebuffer_no_attachments
- &__GLEW_ARB_framebuffer_no_attachments,
- #endif
- #ifdef GL_ARB_framebuffer_object
- &__GLEW_ARB_framebuffer_object,
- #endif
- #ifdef GL_ARB_framebuffer_sRGB
- &__GLEW_ARB_framebuffer_sRGB,
- #endif
- #ifdef GL_ARB_geometry_shader4
- &__GLEW_ARB_geometry_shader4,
- #endif
- #ifdef GL_ARB_get_program_binary
- &__GLEW_ARB_get_program_binary,
- #endif
- #ifdef GL_ARB_get_texture_sub_image
- &__GLEW_ARB_get_texture_sub_image,
- #endif
- #ifdef GL_ARB_gl_spirv
- &__GLEW_ARB_gl_spirv,
- #endif
- #ifdef GL_ARB_gpu_shader5
- &__GLEW_ARB_gpu_shader5,
- #endif
- #ifdef GL_ARB_gpu_shader_fp64
- &__GLEW_ARB_gpu_shader_fp64,
- #endif
- #ifdef GL_ARB_gpu_shader_int64
- &__GLEW_ARB_gpu_shader_int64,
- #endif
- #ifdef GL_ARB_half_float_pixel
- &__GLEW_ARB_half_float_pixel,
- #endif
- #ifdef GL_ARB_half_float_vertex
- &__GLEW_ARB_half_float_vertex,
- #endif
- #ifdef GL_ARB_imaging
- &__GLEW_ARB_imaging,
- #endif
- #ifdef GL_ARB_indirect_parameters
- &__GLEW_ARB_indirect_parameters,
- #endif
- #ifdef GL_ARB_instanced_arrays
- &__GLEW_ARB_instanced_arrays,
- #endif
- #ifdef GL_ARB_internalformat_query
- &__GLEW_ARB_internalformat_query,
- #endif
- #ifdef GL_ARB_internalformat_query2
- &__GLEW_ARB_internalformat_query2,
- #endif
- #ifdef GL_ARB_invalidate_subdata
- &__GLEW_ARB_invalidate_subdata,
- #endif
- #ifdef GL_ARB_map_buffer_alignment
- &__GLEW_ARB_map_buffer_alignment,
- #endif
- #ifdef GL_ARB_map_buffer_range
- &__GLEW_ARB_map_buffer_range,
- #endif
- #ifdef GL_ARB_matrix_palette
- &__GLEW_ARB_matrix_palette,
- #endif
- #ifdef GL_ARB_multi_bind
- &__GLEW_ARB_multi_bind,
- #endif
- #ifdef GL_ARB_multi_draw_indirect
- &__GLEW_ARB_multi_draw_indirect,
- #endif
- #ifdef GL_ARB_multisample
- &__GLEW_ARB_multisample,
- #endif
- #ifdef GL_ARB_multitexture
- &__GLEW_ARB_multitexture,
- #endif
- #ifdef GL_ARB_occlusion_query
- &__GLEW_ARB_occlusion_query,
- #endif
- #ifdef GL_ARB_occlusion_query2
- &__GLEW_ARB_occlusion_query2,
- #endif
- #ifdef GL_ARB_parallel_shader_compile
- &__GLEW_ARB_parallel_shader_compile,
- #endif
- #ifdef GL_ARB_pipeline_statistics_query
- &__GLEW_ARB_pipeline_statistics_query,
- #endif
- #ifdef GL_ARB_pixel_buffer_object
- &__GLEW_ARB_pixel_buffer_object,
- #endif
- #ifdef GL_ARB_point_parameters
- &__GLEW_ARB_point_parameters,
- #endif
- #ifdef GL_ARB_point_sprite
- &__GLEW_ARB_point_sprite,
- #endif
- #ifdef GL_ARB_polygon_offset_clamp
- &__GLEW_ARB_polygon_offset_clamp,
- #endif
- #ifdef GL_ARB_post_depth_coverage
- &__GLEW_ARB_post_depth_coverage,
- #endif
- #ifdef GL_ARB_program_interface_query
- &__GLEW_ARB_program_interface_query,
- #endif
- #ifdef GL_ARB_provoking_vertex
- &__GLEW_ARB_provoking_vertex,
- #endif
- #ifdef GL_ARB_query_buffer_object
- &__GLEW_ARB_query_buffer_object,
- #endif
- #ifdef GL_ARB_robust_buffer_access_behavior
- &__GLEW_ARB_robust_buffer_access_behavior,
- #endif
- #ifdef GL_ARB_robustness
- &__GLEW_ARB_robustness,
- #endif
- #ifdef GL_ARB_robustness_application_isolation
- &__GLEW_ARB_robustness_application_isolation,
- #endif
- #ifdef GL_ARB_robustness_share_group_isolation
- &__GLEW_ARB_robustness_share_group_isolation,
- #endif
- #ifdef GL_ARB_sample_locations
- &__GLEW_ARB_sample_locations,
- #endif
- #ifdef GL_ARB_sample_shading
- &__GLEW_ARB_sample_shading,
- #endif
- #ifdef GL_ARB_sampler_objects
- &__GLEW_ARB_sampler_objects,
- #endif
- #ifdef GL_ARB_seamless_cube_map
- &__GLEW_ARB_seamless_cube_map,
- #endif
- #ifdef GL_ARB_seamless_cubemap_per_texture
- &__GLEW_ARB_seamless_cubemap_per_texture,
- #endif
- #ifdef GL_ARB_separate_shader_objects
- &__GLEW_ARB_separate_shader_objects,
- #endif
- #ifdef GL_ARB_shader_atomic_counter_ops
- &__GLEW_ARB_shader_atomic_counter_ops,
- #endif
- #ifdef GL_ARB_shader_atomic_counters
- &__GLEW_ARB_shader_atomic_counters,
- #endif
- #ifdef GL_ARB_shader_ballot
- &__GLEW_ARB_shader_ballot,
- #endif
- #ifdef GL_ARB_shader_bit_encoding
- &__GLEW_ARB_shader_bit_encoding,
- #endif
- #ifdef GL_ARB_shader_clock
- &__GLEW_ARB_shader_clock,
- #endif
- #ifdef GL_ARB_shader_draw_parameters
- &__GLEW_ARB_shader_draw_parameters,
- #endif
- #ifdef GL_ARB_shader_group_vote
- &__GLEW_ARB_shader_group_vote,
- #endif
- #ifdef GL_ARB_shader_image_load_store
- &__GLEW_ARB_shader_image_load_store,
- #endif
- #ifdef GL_ARB_shader_image_size
- &__GLEW_ARB_shader_image_size,
- #endif
- #ifdef GL_ARB_shader_objects
- &__GLEW_ARB_shader_objects,
- #endif
- #ifdef GL_ARB_shader_precision
- &__GLEW_ARB_shader_precision,
- #endif
- #ifdef GL_ARB_shader_stencil_export
- &__GLEW_ARB_shader_stencil_export,
- #endif
- #ifdef GL_ARB_shader_storage_buffer_object
- &__GLEW_ARB_shader_storage_buffer_object,
- #endif
- #ifdef GL_ARB_shader_subroutine
- &__GLEW_ARB_shader_subroutine,
- #endif
- #ifdef GL_ARB_shader_texture_image_samples
- &__GLEW_ARB_shader_texture_image_samples,
- #endif
- #ifdef GL_ARB_shader_texture_lod
- &__GLEW_ARB_shader_texture_lod,
- #endif
- #ifdef GL_ARB_shader_viewport_layer_array
- &__GLEW_ARB_shader_viewport_layer_array,
- #endif
- #ifdef GL_ARB_shading_language_100
- &__GLEW_ARB_shading_language_100,
- #endif
- #ifdef GL_ARB_shading_language_420pack
- &__GLEW_ARB_shading_language_420pack,
- #endif
- #ifdef GL_ARB_shading_language_include
- &__GLEW_ARB_shading_language_include,
- #endif
- #ifdef GL_ARB_shading_language_packing
- &__GLEW_ARB_shading_language_packing,
- #endif
- #ifdef GL_ARB_shadow
- &__GLEW_ARB_shadow,
- #endif
- #ifdef GL_ARB_shadow_ambient
- &__GLEW_ARB_shadow_ambient,
- #endif
- #ifdef GL_ARB_sparse_buffer
- &__GLEW_ARB_sparse_buffer,
- #endif
- #ifdef GL_ARB_sparse_texture
- &__GLEW_ARB_sparse_texture,
- #endif
- #ifdef GL_ARB_sparse_texture2
- &__GLEW_ARB_sparse_texture2,
- #endif
- #ifdef GL_ARB_sparse_texture_clamp
- &__GLEW_ARB_sparse_texture_clamp,
- #endif
- #ifdef GL_ARB_spirv_extensions
- &__GLEW_ARB_spirv_extensions,
- #endif
- #ifdef GL_ARB_stencil_texturing
- &__GLEW_ARB_stencil_texturing,
- #endif
- #ifdef GL_ARB_sync
- &__GLEW_ARB_sync,
- #endif
- #ifdef GL_ARB_tessellation_shader
- &__GLEW_ARB_tessellation_shader,
- #endif
- #ifdef GL_ARB_texture_barrier
- &__GLEW_ARB_texture_barrier,
- #endif
- #ifdef GL_ARB_texture_border_clamp
- &__GLEW_ARB_texture_border_clamp,
- #endif
- #ifdef GL_ARB_texture_buffer_object
- &__GLEW_ARB_texture_buffer_object,
- #endif
- #ifdef GL_ARB_texture_buffer_object_rgb32
- &__GLEW_ARB_texture_buffer_object_rgb32,
- #endif
- #ifdef GL_ARB_texture_buffer_range
- &__GLEW_ARB_texture_buffer_range,
- #endif
- #ifdef GL_ARB_texture_compression
- &__GLEW_ARB_texture_compression,
- #endif
- #ifdef GL_ARB_texture_compression_bptc
- &__GLEW_ARB_texture_compression_bptc,
- #endif
- #ifdef GL_ARB_texture_compression_rgtc
- &__GLEW_ARB_texture_compression_rgtc,
- #endif
- #ifdef GL_ARB_texture_cube_map
- &__GLEW_ARB_texture_cube_map,
- #endif
- #ifdef GL_ARB_texture_cube_map_array
- &__GLEW_ARB_texture_cube_map_array,
- #endif
- #ifdef GL_ARB_texture_env_add
- &__GLEW_ARB_texture_env_add,
- #endif
- #ifdef GL_ARB_texture_env_combine
- &__GLEW_ARB_texture_env_combine,
- #endif
- #ifdef GL_ARB_texture_env_crossbar
- &__GLEW_ARB_texture_env_crossbar,
- #endif
- #ifdef GL_ARB_texture_env_dot3
- &__GLEW_ARB_texture_env_dot3,
- #endif
- #ifdef GL_ARB_texture_filter_anisotropic
- &__GLEW_ARB_texture_filter_anisotropic,
- #endif
- #ifdef GL_ARB_texture_filter_minmax
- &__GLEW_ARB_texture_filter_minmax,
- #endif
- #ifdef GL_ARB_texture_float
- &__GLEW_ARB_texture_float,
- #endif
- #ifdef GL_ARB_texture_gather
- &__GLEW_ARB_texture_gather,
- #endif
- #ifdef GL_ARB_texture_mirror_clamp_to_edge
- &__GLEW_ARB_texture_mirror_clamp_to_edge,
- #endif
- #ifdef GL_ARB_texture_mirrored_repeat
- &__GLEW_ARB_texture_mirrored_repeat,
- #endif
- #ifdef GL_ARB_texture_multisample
- &__GLEW_ARB_texture_multisample,
- #endif
- #ifdef GL_ARB_texture_non_power_of_two
- &__GLEW_ARB_texture_non_power_of_two,
- #endif
- #ifdef GL_ARB_texture_query_levels
- &__GLEW_ARB_texture_query_levels,
- #endif
- #ifdef GL_ARB_texture_query_lod
- &__GLEW_ARB_texture_query_lod,
- #endif
- #ifdef GL_ARB_texture_rectangle
- &__GLEW_ARB_texture_rectangle,
- #endif
- #ifdef GL_ARB_texture_rg
- &__GLEW_ARB_texture_rg,
- #endif
- #ifdef GL_ARB_texture_rgb10_a2ui
- &__GLEW_ARB_texture_rgb10_a2ui,
- #endif
- #ifdef GL_ARB_texture_stencil8
- &__GLEW_ARB_texture_stencil8,
- #endif
- #ifdef GL_ARB_texture_storage
- &__GLEW_ARB_texture_storage,
- #endif
- #ifdef GL_ARB_texture_storage_multisample
- &__GLEW_ARB_texture_storage_multisample,
- #endif
- #ifdef GL_ARB_texture_swizzle
- &__GLEW_ARB_texture_swizzle,
- #endif
- #ifdef GL_ARB_texture_view
- &__GLEW_ARB_texture_view,
- #endif
- #ifdef GL_ARB_timer_query
- &__GLEW_ARB_timer_query,
- #endif
- #ifdef GL_ARB_transform_feedback2
- &__GLEW_ARB_transform_feedback2,
- #endif
- #ifdef GL_ARB_transform_feedback3
- &__GLEW_ARB_transform_feedback3,
- #endif
- #ifdef GL_ARB_transform_feedback_instanced
- &__GLEW_ARB_transform_feedback_instanced,
- #endif
- #ifdef GL_ARB_transform_feedback_overflow_query
- &__GLEW_ARB_transform_feedback_overflow_query,
- #endif
- #ifdef GL_ARB_transpose_matrix
- &__GLEW_ARB_transpose_matrix,
- #endif
- #ifdef GL_ARB_uniform_buffer_object
- &__GLEW_ARB_uniform_buffer_object,
- #endif
- #ifdef GL_ARB_vertex_array_bgra
- &__GLEW_ARB_vertex_array_bgra,
- #endif
- #ifdef GL_ARB_vertex_array_object
- &__GLEW_ARB_vertex_array_object,
- #endif
- #ifdef GL_ARB_vertex_attrib_64bit
- &__GLEW_ARB_vertex_attrib_64bit,
- #endif
- #ifdef GL_ARB_vertex_attrib_binding
- &__GLEW_ARB_vertex_attrib_binding,
- #endif
- #ifdef GL_ARB_vertex_blend
- &__GLEW_ARB_vertex_blend,
- #endif
- #ifdef GL_ARB_vertex_buffer_object
- &__GLEW_ARB_vertex_buffer_object,
- #endif
- #ifdef GL_ARB_vertex_program
- &__GLEW_ARB_vertex_program,
- #endif
- #ifdef GL_ARB_vertex_shader
- &__GLEW_ARB_vertex_shader,
- #endif
- #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
- &__GLEW_ARB_vertex_type_10f_11f_11f_rev,
- #endif
- #ifdef GL_ARB_vertex_type_2_10_10_10_rev
- &__GLEW_ARB_vertex_type_2_10_10_10_rev,
- #endif
- #ifdef GL_ARB_viewport_array
- &__GLEW_ARB_viewport_array,
- #endif
- #ifdef GL_ARB_window_pos
- &__GLEW_ARB_window_pos,
- #endif
- #ifdef GL_ARM_mali_program_binary
- &__GLEW_ARM_mali_program_binary,
- #endif
- #ifdef GL_ARM_mali_shader_binary
- &__GLEW_ARM_mali_shader_binary,
- #endif
- #ifdef GL_ARM_rgba8
- &__GLEW_ARM_rgba8,
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch
- &__GLEW_ARM_shader_framebuffer_fetch,
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
- &__GLEW_ARM_shader_framebuffer_fetch_depth_stencil,
- #endif
- #ifdef GL_ATIX_point_sprites
- &__GLEW_ATIX_point_sprites,
- #endif
- #ifdef GL_ATIX_texture_env_combine3
- &__GLEW_ATIX_texture_env_combine3,
- #endif
- #ifdef GL_ATIX_texture_env_route
- &__GLEW_ATIX_texture_env_route,
- #endif
- #ifdef GL_ATIX_vertex_shader_output_point_size
- &__GLEW_ATIX_vertex_shader_output_point_size,
- #endif
- #ifdef GL_ATI_draw_buffers
- &__GLEW_ATI_draw_buffers,
- #endif
- #ifdef GL_ATI_element_array
- &__GLEW_ATI_element_array,
- #endif
- #ifdef GL_ATI_envmap_bumpmap
- &__GLEW_ATI_envmap_bumpmap,
- #endif
- #ifdef GL_ATI_fragment_shader
- &__GLEW_ATI_fragment_shader,
- #endif
- #ifdef GL_ATI_map_object_buffer
- &__GLEW_ATI_map_object_buffer,
- #endif
- #ifdef GL_ATI_meminfo
- &__GLEW_ATI_meminfo,
- #endif
- #ifdef GL_ATI_pn_triangles
- &__GLEW_ATI_pn_triangles,
- #endif
- #ifdef GL_ATI_separate_stencil
- &__GLEW_ATI_separate_stencil,
- #endif
- #ifdef GL_ATI_shader_texture_lod
- &__GLEW_ATI_shader_texture_lod,
- #endif
- #ifdef GL_ATI_text_fragment_shader
- &__GLEW_ATI_text_fragment_shader,
- #endif
- #ifdef GL_ATI_texture_compression_3dc
- &__GLEW_ATI_texture_compression_3dc,
- #endif
- #ifdef GL_ATI_texture_env_combine3
- &__GLEW_ATI_texture_env_combine3,
- #endif
- #ifdef GL_ATI_texture_float
- &__GLEW_ATI_texture_float,
- #endif
- #ifdef GL_ATI_texture_mirror_once
- &__GLEW_ATI_texture_mirror_once,
- #endif
- #ifdef GL_ATI_vertex_array_object
- &__GLEW_ATI_vertex_array_object,
- #endif
- #ifdef GL_ATI_vertex_attrib_array_object
- &__GLEW_ATI_vertex_attrib_array_object,
- #endif
- #ifdef GL_ATI_vertex_streams
- &__GLEW_ATI_vertex_streams,
- #endif
- #ifdef GL_EGL_KHR_context_flush_control
- &__GLEW_EGL_KHR_context_flush_control,
- #endif
- #ifdef GL_EGL_NV_robustness_video_memory_purge
- &__GLEW_EGL_NV_robustness_video_memory_purge,
- #endif
- #ifdef GL_EXT_422_pixels
- &__GLEW_EXT_422_pixels,
- #endif
- #ifdef GL_EXT_Cg_shader
- &__GLEW_EXT_Cg_shader,
- #endif
- #ifdef GL_EXT_EGL_image_array
- &__GLEW_EXT_EGL_image_array,
- #endif
- #ifdef GL_EXT_YUV_target
- &__GLEW_EXT_YUV_target,
- #endif
- #ifdef GL_EXT_abgr
- &__GLEW_EXT_abgr,
- #endif
- #ifdef GL_EXT_base_instance
- &__GLEW_EXT_base_instance,
- #endif
- #ifdef GL_EXT_bgra
- &__GLEW_EXT_bgra,
- #endif
- #ifdef GL_EXT_bindable_uniform
- &__GLEW_EXT_bindable_uniform,
- #endif
- #ifdef GL_EXT_blend_color
- &__GLEW_EXT_blend_color,
- #endif
- #ifdef GL_EXT_blend_equation_separate
- &__GLEW_EXT_blend_equation_separate,
- #endif
- #ifdef GL_EXT_blend_func_extended
- &__GLEW_EXT_blend_func_extended,
- #endif
- #ifdef GL_EXT_blend_func_separate
- &__GLEW_EXT_blend_func_separate,
- #endif
- #ifdef GL_EXT_blend_logic_op
- &__GLEW_EXT_blend_logic_op,
- #endif
- #ifdef GL_EXT_blend_minmax
- &__GLEW_EXT_blend_minmax,
- #endif
- #ifdef GL_EXT_blend_subtract
- &__GLEW_EXT_blend_subtract,
- #endif
- #ifdef GL_EXT_buffer_storage
- &__GLEW_EXT_buffer_storage,
- #endif
- #ifdef GL_EXT_clear_texture
- &__GLEW_EXT_clear_texture,
- #endif
- #ifdef GL_EXT_clip_cull_distance
- &__GLEW_EXT_clip_cull_distance,
- #endif
- #ifdef GL_EXT_clip_volume_hint
- &__GLEW_EXT_clip_volume_hint,
- #endif
- #ifdef GL_EXT_cmyka
- &__GLEW_EXT_cmyka,
- #endif
- #ifdef GL_EXT_color_buffer_float
- &__GLEW_EXT_color_buffer_float,
- #endif
- #ifdef GL_EXT_color_buffer_half_float
- &__GLEW_EXT_color_buffer_half_float,
- #endif
- #ifdef GL_EXT_color_subtable
- &__GLEW_EXT_color_subtable,
- #endif
- #ifdef GL_EXT_compiled_vertex_array
- &__GLEW_EXT_compiled_vertex_array,
- #endif
- #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
- &__GLEW_EXT_compressed_ETC1_RGB8_sub_texture,
- #endif
- #ifdef GL_EXT_conservative_depth
- &__GLEW_EXT_conservative_depth,
- #endif
- #ifdef GL_EXT_convolution
- &__GLEW_EXT_convolution,
- #endif
- #ifdef GL_EXT_coordinate_frame
- &__GLEW_EXT_coordinate_frame,
- #endif
- #ifdef GL_EXT_copy_image
- &__GLEW_EXT_copy_image,
- #endif
- #ifdef GL_EXT_copy_texture
- &__GLEW_EXT_copy_texture,
- #endif
- #ifdef GL_EXT_cull_vertex
- &__GLEW_EXT_cull_vertex,
- #endif
- #ifdef GL_EXT_debug_label
- &__GLEW_EXT_debug_label,
- #endif
- #ifdef GL_EXT_debug_marker
- &__GLEW_EXT_debug_marker,
- #endif
- #ifdef GL_EXT_depth_bounds_test
- &__GLEW_EXT_depth_bounds_test,
- #endif
- #ifdef GL_EXT_direct_state_access
- &__GLEW_EXT_direct_state_access,
- #endif
- #ifdef GL_EXT_discard_framebuffer
- &__GLEW_EXT_discard_framebuffer,
- #endif
- #ifdef GL_EXT_draw_buffers
- &__GLEW_EXT_draw_buffers,
- #endif
- #ifdef GL_EXT_draw_buffers2
- &__GLEW_EXT_draw_buffers2,
- #endif
- #ifdef GL_EXT_draw_buffers_indexed
- &__GLEW_EXT_draw_buffers_indexed,
- #endif
- #ifdef GL_EXT_draw_elements_base_vertex
- &__GLEW_EXT_draw_elements_base_vertex,
- #endif
- #ifdef GL_EXT_draw_instanced
- &__GLEW_EXT_draw_instanced,
- #endif
- #ifdef GL_EXT_draw_range_elements
- &__GLEW_EXT_draw_range_elements,
- #endif
- #ifdef GL_EXT_external_buffer
- &__GLEW_EXT_external_buffer,
- #endif
- #ifdef GL_EXT_float_blend
- &__GLEW_EXT_float_blend,
- #endif
- #ifdef GL_EXT_fog_coord
- &__GLEW_EXT_fog_coord,
- #endif
- #ifdef GL_EXT_frag_depth
- &__GLEW_EXT_frag_depth,
- #endif
- #ifdef GL_EXT_fragment_lighting
- &__GLEW_EXT_fragment_lighting,
- #endif
- #ifdef GL_EXT_framebuffer_blit
- &__GLEW_EXT_framebuffer_blit,
- #endif
- #ifdef GL_EXT_framebuffer_multisample
- &__GLEW_EXT_framebuffer_multisample,
- #endif
- #ifdef GL_EXT_framebuffer_multisample_blit_scaled
- &__GLEW_EXT_framebuffer_multisample_blit_scaled,
- #endif
- #ifdef GL_EXT_framebuffer_object
- &__GLEW_EXT_framebuffer_object,
- #endif
- #ifdef GL_EXT_framebuffer_sRGB
- &__GLEW_EXT_framebuffer_sRGB,
- #endif
- #ifdef GL_EXT_geometry_point_size
- &__GLEW_EXT_geometry_point_size,
- #endif
- #ifdef GL_EXT_geometry_shader
- &__GLEW_EXT_geometry_shader,
- #endif
- #ifdef GL_EXT_geometry_shader4
- &__GLEW_EXT_geometry_shader4,
- #endif
- #ifdef GL_EXT_gpu_program_parameters
- &__GLEW_EXT_gpu_program_parameters,
- #endif
- #ifdef GL_EXT_gpu_shader4
- &__GLEW_EXT_gpu_shader4,
- #endif
- #ifdef GL_EXT_gpu_shader5
- &__GLEW_EXT_gpu_shader5,
- #endif
- #ifdef GL_EXT_histogram
- &__GLEW_EXT_histogram,
- #endif
- #ifdef GL_EXT_index_array_formats
- &__GLEW_EXT_index_array_formats,
- #endif
- #ifdef GL_EXT_index_func
- &__GLEW_EXT_index_func,
- #endif
- #ifdef GL_EXT_index_material
- &__GLEW_EXT_index_material,
- #endif
- #ifdef GL_EXT_index_texture
- &__GLEW_EXT_index_texture,
- #endif
- #ifdef GL_EXT_instanced_arrays
- &__GLEW_EXT_instanced_arrays,
- #endif
- #ifdef GL_EXT_light_texture
- &__GLEW_EXT_light_texture,
- #endif
- #ifdef GL_EXT_map_buffer_range
- &__GLEW_EXT_map_buffer_range,
- #endif
- #ifdef GL_EXT_memory_object
- &__GLEW_EXT_memory_object,
- #endif
- #ifdef GL_EXT_memory_object_fd
- &__GLEW_EXT_memory_object_fd,
- #endif
- #ifdef GL_EXT_memory_object_win32
- &__GLEW_EXT_memory_object_win32,
- #endif
- #ifdef GL_EXT_misc_attribute
- &__GLEW_EXT_misc_attribute,
- #endif
- #ifdef GL_EXT_multi_draw_arrays
- &__GLEW_EXT_multi_draw_arrays,
- #endif
- #ifdef GL_EXT_multi_draw_indirect
- &__GLEW_EXT_multi_draw_indirect,
- #endif
- #ifdef GL_EXT_multiple_textures
- &__GLEW_EXT_multiple_textures,
- #endif
- #ifdef GL_EXT_multisample
- &__GLEW_EXT_multisample,
- #endif
- #ifdef GL_EXT_multisample_compatibility
- &__GLEW_EXT_multisample_compatibility,
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture
- &__GLEW_EXT_multisampled_render_to_texture,
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture2
- &__GLEW_EXT_multisampled_render_to_texture2,
- #endif
- #ifdef GL_EXT_multiview_draw_buffers
- &__GLEW_EXT_multiview_draw_buffers,
- #endif
- #ifdef GL_EXT_packed_depth_stencil
- &__GLEW_EXT_packed_depth_stencil,
- #endif
- #ifdef GL_EXT_packed_float
- &__GLEW_EXT_packed_float,
- #endif
- #ifdef GL_EXT_packed_pixels
- &__GLEW_EXT_packed_pixels,
- #endif
- #ifdef GL_EXT_paletted_texture
- &__GLEW_EXT_paletted_texture,
- #endif
- #ifdef GL_EXT_pixel_buffer_object
- &__GLEW_EXT_pixel_buffer_object,
- #endif
- #ifdef GL_EXT_pixel_transform
- &__GLEW_EXT_pixel_transform,
- #endif
- #ifdef GL_EXT_pixel_transform_color_table
- &__GLEW_EXT_pixel_transform_color_table,
- #endif
- #ifdef GL_EXT_point_parameters
- &__GLEW_EXT_point_parameters,
- #endif
- #ifdef GL_EXT_polygon_offset
- &__GLEW_EXT_polygon_offset,
- #endif
- #ifdef GL_EXT_polygon_offset_clamp
- &__GLEW_EXT_polygon_offset_clamp,
- #endif
- #ifdef GL_EXT_post_depth_coverage
- &__GLEW_EXT_post_depth_coverage,
- #endif
- #ifdef GL_EXT_provoking_vertex
- &__GLEW_EXT_provoking_vertex,
- #endif
- #ifdef GL_EXT_pvrtc_sRGB
- &__GLEW_EXT_pvrtc_sRGB,
- #endif
- #ifdef GL_EXT_raster_multisample
- &__GLEW_EXT_raster_multisample,
- #endif
- #ifdef GL_EXT_read_format_bgra
- &__GLEW_EXT_read_format_bgra,
- #endif
- #ifdef GL_EXT_render_snorm
- &__GLEW_EXT_render_snorm,
- #endif
- #ifdef GL_EXT_rescale_normal
- &__GLEW_EXT_rescale_normal,
- #endif
- #ifdef GL_EXT_sRGB
- &__GLEW_EXT_sRGB,
- #endif
- #ifdef GL_EXT_sRGB_write_control
- &__GLEW_EXT_sRGB_write_control,
- #endif
- #ifdef GL_EXT_scene_marker
- &__GLEW_EXT_scene_marker,
- #endif
- #ifdef GL_EXT_secondary_color
- &__GLEW_EXT_secondary_color,
- #endif
- #ifdef GL_EXT_semaphore
- &__GLEW_EXT_semaphore,
- #endif
- #ifdef GL_EXT_semaphore_fd
- &__GLEW_EXT_semaphore_fd,
- #endif
- #ifdef GL_EXT_semaphore_win32
- &__GLEW_EXT_semaphore_win32,
- #endif
- #ifdef GL_EXT_separate_shader_objects
- &__GLEW_EXT_separate_shader_objects,
- #endif
- #ifdef GL_EXT_separate_specular_color
- &__GLEW_EXT_separate_specular_color,
- #endif
- #ifdef GL_EXT_shader_framebuffer_fetch
- &__GLEW_EXT_shader_framebuffer_fetch,
- #endif
- #ifdef GL_EXT_shader_group_vote
- &__GLEW_EXT_shader_group_vote,
- #endif
- #ifdef GL_EXT_shader_image_load_formatted
- &__GLEW_EXT_shader_image_load_formatted,
- #endif
- #ifdef GL_EXT_shader_image_load_store
- &__GLEW_EXT_shader_image_load_store,
- #endif
- #ifdef GL_EXT_shader_implicit_conversions
- &__GLEW_EXT_shader_implicit_conversions,
- #endif
- #ifdef GL_EXT_shader_integer_mix
- &__GLEW_EXT_shader_integer_mix,
- #endif
- #ifdef GL_EXT_shader_io_blocks
- &__GLEW_EXT_shader_io_blocks,
- #endif
- #ifdef GL_EXT_shader_non_constant_global_initializers
- &__GLEW_EXT_shader_non_constant_global_initializers,
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage
- &__GLEW_EXT_shader_pixel_local_storage,
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage2
- &__GLEW_EXT_shader_pixel_local_storage2,
- #endif
- #ifdef GL_EXT_shader_texture_lod
- &__GLEW_EXT_shader_texture_lod,
- #endif
- #ifdef GL_EXT_shadow_funcs
- &__GLEW_EXT_shadow_funcs,
- #endif
- #ifdef GL_EXT_shadow_samplers
- &__GLEW_EXT_shadow_samplers,
- #endif
- #ifdef GL_EXT_shared_texture_palette
- &__GLEW_EXT_shared_texture_palette,
- #endif
- #ifdef GL_EXT_sparse_texture
- &__GLEW_EXT_sparse_texture,
- #endif
- #ifdef GL_EXT_sparse_texture2
- &__GLEW_EXT_sparse_texture2,
- #endif
- #ifdef GL_EXT_stencil_clear_tag
- &__GLEW_EXT_stencil_clear_tag,
- #endif
- #ifdef GL_EXT_stencil_two_side
- &__GLEW_EXT_stencil_two_side,
- #endif
- #ifdef GL_EXT_stencil_wrap
- &__GLEW_EXT_stencil_wrap,
- #endif
- #ifdef GL_EXT_subtexture
- &__GLEW_EXT_subtexture,
- #endif
- #ifdef GL_EXT_texture
- &__GLEW_EXT_texture,
- #endif
- #ifdef GL_EXT_texture3D
- &__GLEW_EXT_texture3D,
- #endif
- #ifdef GL_EXT_texture_array
- &__GLEW_EXT_texture_array,
- #endif
- #ifdef GL_EXT_texture_buffer_object
- &__GLEW_EXT_texture_buffer_object,
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode
- &__GLEW_EXT_texture_compression_astc_decode_mode,
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
- &__GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5,
- #endif
- #ifdef GL_EXT_texture_compression_bptc
- &__GLEW_EXT_texture_compression_bptc,
- #endif
- #ifdef GL_EXT_texture_compression_dxt1
- &__GLEW_EXT_texture_compression_dxt1,
- #endif
- #ifdef GL_EXT_texture_compression_latc
- &__GLEW_EXT_texture_compression_latc,
- #endif
- #ifdef GL_EXT_texture_compression_rgtc
- &__GLEW_EXT_texture_compression_rgtc,
- #endif
- #ifdef GL_EXT_texture_compression_s3tc
- &__GLEW_EXT_texture_compression_s3tc,
- #endif
- #ifdef GL_EXT_texture_cube_map
- &__GLEW_EXT_texture_cube_map,
- #endif
- #ifdef GL_EXT_texture_cube_map_array
- &__GLEW_EXT_texture_cube_map_array,
- #endif
- #ifdef GL_EXT_texture_edge_clamp
- &__GLEW_EXT_texture_edge_clamp,
- #endif
- #ifdef GL_EXT_texture_env
- &__GLEW_EXT_texture_env,
- #endif
- #ifdef GL_EXT_texture_env_add
- &__GLEW_EXT_texture_env_add,
- #endif
- #ifdef GL_EXT_texture_env_combine
- &__GLEW_EXT_texture_env_combine,
- #endif
- #ifdef GL_EXT_texture_env_dot3
- &__GLEW_EXT_texture_env_dot3,
- #endif
- #ifdef GL_EXT_texture_filter_anisotropic
- &__GLEW_EXT_texture_filter_anisotropic,
- #endif
- #ifdef GL_EXT_texture_filter_minmax
- &__GLEW_EXT_texture_filter_minmax,
- #endif
- #ifdef GL_EXT_texture_format_BGRA8888
- &__GLEW_EXT_texture_format_BGRA8888,
- #endif
- #ifdef GL_EXT_texture_integer
- &__GLEW_EXT_texture_integer,
- #endif
- #ifdef GL_EXT_texture_lod_bias
- &__GLEW_EXT_texture_lod_bias,
- #endif
- #ifdef GL_EXT_texture_mirror_clamp
- &__GLEW_EXT_texture_mirror_clamp,
- #endif
- #ifdef GL_EXT_texture_norm16
- &__GLEW_EXT_texture_norm16,
- #endif
- #ifdef GL_EXT_texture_object
- &__GLEW_EXT_texture_object,
- #endif
- #ifdef GL_EXT_texture_perturb_normal
- &__GLEW_EXT_texture_perturb_normal,
- #endif
- #ifdef GL_EXT_texture_rectangle
- &__GLEW_EXT_texture_rectangle,
- #endif
- #ifdef GL_EXT_texture_rg
- &__GLEW_EXT_texture_rg,
- #endif
- #ifdef GL_EXT_texture_sRGB
- &__GLEW_EXT_texture_sRGB,
- #endif
- #ifdef GL_EXT_texture_sRGB_R8
- &__GLEW_EXT_texture_sRGB_R8,
- #endif
- #ifdef GL_EXT_texture_sRGB_RG8
- &__GLEW_EXT_texture_sRGB_RG8,
- #endif
- #ifdef GL_EXT_texture_sRGB_decode
- &__GLEW_EXT_texture_sRGB_decode,
- #endif
- #ifdef GL_EXT_texture_shared_exponent
- &__GLEW_EXT_texture_shared_exponent,
- #endif
- #ifdef GL_EXT_texture_snorm
- &__GLEW_EXT_texture_snorm,
- #endif
- #ifdef GL_EXT_texture_storage
- &__GLEW_EXT_texture_storage,
- #endif
- #ifdef GL_EXT_texture_swizzle
- &__GLEW_EXT_texture_swizzle,
- #endif
- #ifdef GL_EXT_texture_type_2_10_10_10_REV
- &__GLEW_EXT_texture_type_2_10_10_10_REV,
- #endif
- #ifdef GL_EXT_texture_view
- &__GLEW_EXT_texture_view,
- #endif
- #ifdef GL_EXT_timer_query
- &__GLEW_EXT_timer_query,
- #endif
- #ifdef GL_EXT_transform_feedback
- &__GLEW_EXT_transform_feedback,
- #endif
- #ifdef GL_EXT_unpack_subimage
- &__GLEW_EXT_unpack_subimage,
- #endif
- #ifdef GL_EXT_vertex_array
- &__GLEW_EXT_vertex_array,
- #endif
- #ifdef GL_EXT_vertex_array_bgra
- &__GLEW_EXT_vertex_array_bgra,
- #endif
- #ifdef GL_EXT_vertex_array_setXXX
- &__GLEW_EXT_vertex_array_setXXX,
- #endif
- #ifdef GL_EXT_vertex_attrib_64bit
- &__GLEW_EXT_vertex_attrib_64bit,
- #endif
- #ifdef GL_EXT_vertex_shader
- &__GLEW_EXT_vertex_shader,
- #endif
- #ifdef GL_EXT_vertex_weighting
- &__GLEW_EXT_vertex_weighting,
- #endif
- #ifdef GL_EXT_win32_keyed_mutex
- &__GLEW_EXT_win32_keyed_mutex,
- #endif
- #ifdef GL_EXT_window_rectangles
- &__GLEW_EXT_window_rectangles,
- #endif
- #ifdef GL_EXT_x11_sync_object
- &__GLEW_EXT_x11_sync_object,
- #endif
- #ifdef GL_GREMEDY_frame_terminator
- &__GLEW_GREMEDY_frame_terminator,
- #endif
- #ifdef GL_GREMEDY_string_marker
- &__GLEW_GREMEDY_string_marker,
- #endif
- #ifdef GL_HP_convolution_border_modes
- &__GLEW_HP_convolution_border_modes,
- #endif
- #ifdef GL_HP_image_transform
- &__GLEW_HP_image_transform,
- #endif
- #ifdef GL_HP_occlusion_test
- &__GLEW_HP_occlusion_test,
- #endif
- #ifdef GL_HP_texture_lighting
- &__GLEW_HP_texture_lighting,
- #endif
- #ifdef GL_IBM_cull_vertex
- &__GLEW_IBM_cull_vertex,
- #endif
- #ifdef GL_IBM_multimode_draw_arrays
- &__GLEW_IBM_multimode_draw_arrays,
- #endif
- #ifdef GL_IBM_rasterpos_clip
- &__GLEW_IBM_rasterpos_clip,
- #endif
- #ifdef GL_IBM_static_data
- &__GLEW_IBM_static_data,
- #endif
- #ifdef GL_IBM_texture_mirrored_repeat
- &__GLEW_IBM_texture_mirrored_repeat,
- #endif
- #ifdef GL_IBM_vertex_array_lists
- &__GLEW_IBM_vertex_array_lists,
- #endif
- #ifdef GL_INGR_color_clamp
- &__GLEW_INGR_color_clamp,
- #endif
- #ifdef GL_INGR_interlace_read
- &__GLEW_INGR_interlace_read,
- #endif
- #ifdef GL_INTEL_conservative_rasterization
- &__GLEW_INTEL_conservative_rasterization,
- #endif
- #ifdef GL_INTEL_fragment_shader_ordering
- &__GLEW_INTEL_fragment_shader_ordering,
- #endif
- #ifdef GL_INTEL_framebuffer_CMAA
- &__GLEW_INTEL_framebuffer_CMAA,
- #endif
- #ifdef GL_INTEL_map_texture
- &__GLEW_INTEL_map_texture,
- #endif
- #ifdef GL_INTEL_parallel_arrays
- &__GLEW_INTEL_parallel_arrays,
- #endif
- #ifdef GL_INTEL_performance_query
- &__GLEW_INTEL_performance_query,
- #endif
- #ifdef GL_INTEL_texture_scissor
- &__GLEW_INTEL_texture_scissor,
- #endif
- #ifdef GL_KHR_blend_equation_advanced
- &__GLEW_KHR_blend_equation_advanced,
- #endif
- #ifdef GL_KHR_blend_equation_advanced_coherent
- &__GLEW_KHR_blend_equation_advanced_coherent,
- #endif
- #ifdef GL_KHR_context_flush_control
- &__GLEW_KHR_context_flush_control,
- #endif
- #ifdef GL_KHR_debug
- &__GLEW_KHR_debug,
- #endif
- #ifdef GL_KHR_no_error
- &__GLEW_KHR_no_error,
- #endif
- #ifdef GL_KHR_parallel_shader_compile
- &__GLEW_KHR_parallel_shader_compile,
- #endif
- #ifdef GL_KHR_robust_buffer_access_behavior
- &__GLEW_KHR_robust_buffer_access_behavior,
- #endif
- #ifdef GL_KHR_robustness
- &__GLEW_KHR_robustness,
- #endif
- #ifdef GL_KHR_texture_compression_astc_hdr
- &__GLEW_KHR_texture_compression_astc_hdr,
- #endif
- #ifdef GL_KHR_texture_compression_astc_ldr
- &__GLEW_KHR_texture_compression_astc_ldr,
- #endif
- #ifdef GL_KHR_texture_compression_astc_sliced_3d
- &__GLEW_KHR_texture_compression_astc_sliced_3d,
- #endif
- #ifdef GL_KTX_buffer_region
- &__GLEW_KTX_buffer_region,
- #endif
- #ifdef GL_MESAX_texture_stack
- &__GLEW_MESAX_texture_stack,
- #endif
- #ifdef GL_MESA_pack_invert
- &__GLEW_MESA_pack_invert,
- #endif
- #ifdef GL_MESA_resize_buffers
- &__GLEW_MESA_resize_buffers,
- #endif
- #ifdef GL_MESA_shader_integer_functions
- &__GLEW_MESA_shader_integer_functions,
- #endif
- #ifdef GL_MESA_window_pos
- &__GLEW_MESA_window_pos,
- #endif
- #ifdef GL_MESA_ycbcr_texture
- &__GLEW_MESA_ycbcr_texture,
- #endif
- #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
- &__GLEW_NVX_blend_equation_advanced_multi_draw_buffers,
- #endif
- #ifdef GL_NVX_conditional_render
- &__GLEW_NVX_conditional_render,
- #endif
- #ifdef GL_NVX_gpu_memory_info
- &__GLEW_NVX_gpu_memory_info,
- #endif
- #ifdef GL_NVX_linked_gpu_multicast
- &__GLEW_NVX_linked_gpu_multicast,
- #endif
- #ifdef GL_NV_3dvision_settings
- &__GLEW_NV_3dvision_settings,
- #endif
- #ifdef GL_NV_EGL_stream_consumer_external
- &__GLEW_NV_EGL_stream_consumer_external,
- #endif
- #ifdef GL_NV_alpha_to_coverage_dither_control
- &__GLEW_NV_alpha_to_coverage_dither_control,
- #endif
- #ifdef GL_NV_bgr
- &__GLEW_NV_bgr,
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect
- &__GLEW_NV_bindless_multi_draw_indirect,
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect_count
- &__GLEW_NV_bindless_multi_draw_indirect_count,
- #endif
- #ifdef GL_NV_bindless_texture
- &__GLEW_NV_bindless_texture,
- #endif
- #ifdef GL_NV_blend_equation_advanced
- &__GLEW_NV_blend_equation_advanced,
- #endif
- #ifdef GL_NV_blend_equation_advanced_coherent
- &__GLEW_NV_blend_equation_advanced_coherent,
- #endif
- #ifdef GL_NV_blend_minmax_factor
- &__GLEW_NV_blend_minmax_factor,
- #endif
- #ifdef GL_NV_blend_square
- &__GLEW_NV_blend_square,
- #endif
- #ifdef GL_NV_clip_space_w_scaling
- &__GLEW_NV_clip_space_w_scaling,
- #endif
- #ifdef GL_NV_command_list
- &__GLEW_NV_command_list,
- #endif
- #ifdef GL_NV_compute_program5
- &__GLEW_NV_compute_program5,
- #endif
- #ifdef GL_NV_conditional_render
- &__GLEW_NV_conditional_render,
- #endif
- #ifdef GL_NV_conservative_raster
- &__GLEW_NV_conservative_raster,
- #endif
- #ifdef GL_NV_conservative_raster_dilate
- &__GLEW_NV_conservative_raster_dilate,
- #endif
- #ifdef GL_NV_conservative_raster_pre_snap_triangles
- &__GLEW_NV_conservative_raster_pre_snap_triangles,
- #endif
- #ifdef GL_NV_copy_buffer
- &__GLEW_NV_copy_buffer,
- #endif
- #ifdef GL_NV_copy_depth_to_color
- &__GLEW_NV_copy_depth_to_color,
- #endif
- #ifdef GL_NV_copy_image
- &__GLEW_NV_copy_image,
- #endif
- #ifdef GL_NV_deep_texture3D
- &__GLEW_NV_deep_texture3D,
- #endif
- #ifdef GL_NV_depth_buffer_float
- &__GLEW_NV_depth_buffer_float,
- #endif
- #ifdef GL_NV_depth_clamp
- &__GLEW_NV_depth_clamp,
- #endif
- #ifdef GL_NV_depth_range_unclamped
- &__GLEW_NV_depth_range_unclamped,
- #endif
- #ifdef GL_NV_draw_buffers
- &__GLEW_NV_draw_buffers,
- #endif
- #ifdef GL_NV_draw_instanced
- &__GLEW_NV_draw_instanced,
- #endif
- #ifdef GL_NV_draw_texture
- &__GLEW_NV_draw_texture,
- #endif
- #ifdef GL_NV_draw_vulkan_image
- &__GLEW_NV_draw_vulkan_image,
- #endif
- #ifdef GL_NV_evaluators
- &__GLEW_NV_evaluators,
- #endif
- #ifdef GL_NV_explicit_attrib_location
- &__GLEW_NV_explicit_attrib_location,
- #endif
- #ifdef GL_NV_explicit_multisample
- &__GLEW_NV_explicit_multisample,
- #endif
- #ifdef GL_NV_fbo_color_attachments
- &__GLEW_NV_fbo_color_attachments,
- #endif
- #ifdef GL_NV_fence
- &__GLEW_NV_fence,
- #endif
- #ifdef GL_NV_fill_rectangle
- &__GLEW_NV_fill_rectangle,
- #endif
- #ifdef GL_NV_float_buffer
- &__GLEW_NV_float_buffer,
- #endif
- #ifdef GL_NV_fog_distance
- &__GLEW_NV_fog_distance,
- #endif
- #ifdef GL_NV_fragment_coverage_to_color
- &__GLEW_NV_fragment_coverage_to_color,
- #endif
- #ifdef GL_NV_fragment_program
- &__GLEW_NV_fragment_program,
- #endif
- #ifdef GL_NV_fragment_program2
- &__GLEW_NV_fragment_program2,
- #endif
- #ifdef GL_NV_fragment_program4
- &__GLEW_NV_fragment_program4,
- #endif
- #ifdef GL_NV_fragment_program_option
- &__GLEW_NV_fragment_program_option,
- #endif
- #ifdef GL_NV_fragment_shader_interlock
- &__GLEW_NV_fragment_shader_interlock,
- #endif
- #ifdef GL_NV_framebuffer_blit
- &__GLEW_NV_framebuffer_blit,
- #endif
- #ifdef GL_NV_framebuffer_mixed_samples
- &__GLEW_NV_framebuffer_mixed_samples,
- #endif
- #ifdef GL_NV_framebuffer_multisample
- &__GLEW_NV_framebuffer_multisample,
- #endif
- #ifdef GL_NV_framebuffer_multisample_coverage
- &__GLEW_NV_framebuffer_multisample_coverage,
- #endif
- #ifdef GL_NV_generate_mipmap_sRGB
- &__GLEW_NV_generate_mipmap_sRGB,
- #endif
- #ifdef GL_NV_geometry_program4
- &__GLEW_NV_geometry_program4,
- #endif
- #ifdef GL_NV_geometry_shader4
- &__GLEW_NV_geometry_shader4,
- #endif
- #ifdef GL_NV_geometry_shader_passthrough
- &__GLEW_NV_geometry_shader_passthrough,
- #endif
- #ifdef GL_NV_gpu_multicast
- &__GLEW_NV_gpu_multicast,
- #endif
- #ifdef GL_NV_gpu_program4
- &__GLEW_NV_gpu_program4,
- #endif
- #ifdef GL_NV_gpu_program5
- &__GLEW_NV_gpu_program5,
- #endif
- #ifdef GL_NV_gpu_program5_mem_extended
- &__GLEW_NV_gpu_program5_mem_extended,
- #endif
- #ifdef GL_NV_gpu_program_fp64
- &__GLEW_NV_gpu_program_fp64,
- #endif
- #ifdef GL_NV_gpu_shader5
- &__GLEW_NV_gpu_shader5,
- #endif
- #ifdef GL_NV_half_float
- &__GLEW_NV_half_float,
- #endif
- #ifdef GL_NV_image_formats
- &__GLEW_NV_image_formats,
- #endif
- #ifdef GL_NV_instanced_arrays
- &__GLEW_NV_instanced_arrays,
- #endif
- #ifdef GL_NV_internalformat_sample_query
- &__GLEW_NV_internalformat_sample_query,
- #endif
- #ifdef GL_NV_light_max_exponent
- &__GLEW_NV_light_max_exponent,
- #endif
- #ifdef GL_NV_multisample_coverage
- &__GLEW_NV_multisample_coverage,
- #endif
- #ifdef GL_NV_multisample_filter_hint
- &__GLEW_NV_multisample_filter_hint,
- #endif
- #ifdef GL_NV_non_square_matrices
- &__GLEW_NV_non_square_matrices,
- #endif
- #ifdef GL_NV_occlusion_query
- &__GLEW_NV_occlusion_query,
- #endif
- #ifdef GL_NV_pack_subimage
- &__GLEW_NV_pack_subimage,
- #endif
- #ifdef GL_NV_packed_depth_stencil
- &__GLEW_NV_packed_depth_stencil,
- #endif
- #ifdef GL_NV_packed_float
- &__GLEW_NV_packed_float,
- #endif
- #ifdef GL_NV_packed_float_linear
- &__GLEW_NV_packed_float_linear,
- #endif
- #ifdef GL_NV_parameter_buffer_object
- &__GLEW_NV_parameter_buffer_object,
- #endif
- #ifdef GL_NV_parameter_buffer_object2
- &__GLEW_NV_parameter_buffer_object2,
- #endif
- #ifdef GL_NV_path_rendering
- &__GLEW_NV_path_rendering,
- #endif
- #ifdef GL_NV_path_rendering_shared_edge
- &__GLEW_NV_path_rendering_shared_edge,
- #endif
- #ifdef GL_NV_pixel_buffer_object
- &__GLEW_NV_pixel_buffer_object,
- #endif
- #ifdef GL_NV_pixel_data_range
- &__GLEW_NV_pixel_data_range,
- #endif
- #ifdef GL_NV_platform_binary
- &__GLEW_NV_platform_binary,
- #endif
- #ifdef GL_NV_point_sprite
- &__GLEW_NV_point_sprite,
- #endif
- #ifdef GL_NV_polygon_mode
- &__GLEW_NV_polygon_mode,
- #endif
- #ifdef GL_NV_present_video
- &__GLEW_NV_present_video,
- #endif
- #ifdef GL_NV_primitive_restart
- &__GLEW_NV_primitive_restart,
- #endif
- #ifdef GL_NV_read_depth
- &__GLEW_NV_read_depth,
- #endif
- #ifdef GL_NV_read_depth_stencil
- &__GLEW_NV_read_depth_stencil,
- #endif
- #ifdef GL_NV_read_stencil
- &__GLEW_NV_read_stencil,
- #endif
- #ifdef GL_NV_register_combiners
- &__GLEW_NV_register_combiners,
- #endif
- #ifdef GL_NV_register_combiners2
- &__GLEW_NV_register_combiners2,
- #endif
- #ifdef GL_NV_robustness_video_memory_purge
- &__GLEW_NV_robustness_video_memory_purge,
- #endif
- #ifdef GL_NV_sRGB_formats
- &__GLEW_NV_sRGB_formats,
- #endif
- #ifdef GL_NV_sample_locations
- &__GLEW_NV_sample_locations,
- #endif
- #ifdef GL_NV_sample_mask_override_coverage
- &__GLEW_NV_sample_mask_override_coverage,
- #endif
- #ifdef GL_NV_shader_atomic_counters
- &__GLEW_NV_shader_atomic_counters,
- #endif
- #ifdef GL_NV_shader_atomic_float
- &__GLEW_NV_shader_atomic_float,
- #endif
- #ifdef GL_NV_shader_atomic_float64
- &__GLEW_NV_shader_atomic_float64,
- #endif
- #ifdef GL_NV_shader_atomic_fp16_vector
- &__GLEW_NV_shader_atomic_fp16_vector,
- #endif
- #ifdef GL_NV_shader_atomic_int64
- &__GLEW_NV_shader_atomic_int64,
- #endif
- #ifdef GL_NV_shader_buffer_load
- &__GLEW_NV_shader_buffer_load,
- #endif
- #ifdef GL_NV_shader_noperspective_interpolation
- &__GLEW_NV_shader_noperspective_interpolation,
- #endif
- #ifdef GL_NV_shader_storage_buffer_object
- &__GLEW_NV_shader_storage_buffer_object,
- #endif
- #ifdef GL_NV_shader_thread_group
- &__GLEW_NV_shader_thread_group,
- #endif
- #ifdef GL_NV_shader_thread_shuffle
- &__GLEW_NV_shader_thread_shuffle,
- #endif
- #ifdef GL_NV_shadow_samplers_array
- &__GLEW_NV_shadow_samplers_array,
- #endif
- #ifdef GL_NV_shadow_samplers_cube
- &__GLEW_NV_shadow_samplers_cube,
- #endif
- #ifdef GL_NV_stereo_view_rendering
- &__GLEW_NV_stereo_view_rendering,
- #endif
- #ifdef GL_NV_tessellation_program5
- &__GLEW_NV_tessellation_program5,
- #endif
- #ifdef GL_NV_texgen_emboss
- &__GLEW_NV_texgen_emboss,
- #endif
- #ifdef GL_NV_texgen_reflection
- &__GLEW_NV_texgen_reflection,
- #endif
- #ifdef GL_NV_texture_array
- &__GLEW_NV_texture_array,
- #endif
- #ifdef GL_NV_texture_barrier
- &__GLEW_NV_texture_barrier,
- #endif
- #ifdef GL_NV_texture_border_clamp
- &__GLEW_NV_texture_border_clamp,
- #endif
- #ifdef GL_NV_texture_compression_latc
- &__GLEW_NV_texture_compression_latc,
- #endif
- #ifdef GL_NV_texture_compression_s3tc
- &__GLEW_NV_texture_compression_s3tc,
- #endif
- #ifdef GL_NV_texture_compression_s3tc_update
- &__GLEW_NV_texture_compression_s3tc_update,
- #endif
- #ifdef GL_NV_texture_compression_vtc
- &__GLEW_NV_texture_compression_vtc,
- #endif
- #ifdef GL_NV_texture_env_combine4
- &__GLEW_NV_texture_env_combine4,
- #endif
- #ifdef GL_NV_texture_expand_normal
- &__GLEW_NV_texture_expand_normal,
- #endif
- #ifdef GL_NV_texture_multisample
- &__GLEW_NV_texture_multisample,
- #endif
- #ifdef GL_NV_texture_npot_2D_mipmap
- &__GLEW_NV_texture_npot_2D_mipmap,
- #endif
- #ifdef GL_NV_texture_rectangle
- &__GLEW_NV_texture_rectangle,
- #endif
- #ifdef GL_NV_texture_rectangle_compressed
- &__GLEW_NV_texture_rectangle_compressed,
- #endif
- #ifdef GL_NV_texture_shader
- &__GLEW_NV_texture_shader,
- #endif
- #ifdef GL_NV_texture_shader2
- &__GLEW_NV_texture_shader2,
- #endif
- #ifdef GL_NV_texture_shader3
- &__GLEW_NV_texture_shader3,
- #endif
- #ifdef GL_NV_transform_feedback
- &__GLEW_NV_transform_feedback,
- #endif
- #ifdef GL_NV_transform_feedback2
- &__GLEW_NV_transform_feedback2,
- #endif
- #ifdef GL_NV_uniform_buffer_unified_memory
- &__GLEW_NV_uniform_buffer_unified_memory,
- #endif
- #ifdef GL_NV_vdpau_interop
- &__GLEW_NV_vdpau_interop,
- #endif
- #ifdef GL_NV_vertex_array_range
- &__GLEW_NV_vertex_array_range,
- #endif
- #ifdef GL_NV_vertex_array_range2
- &__GLEW_NV_vertex_array_range2,
- #endif
- #ifdef GL_NV_vertex_attrib_integer_64bit
- &__GLEW_NV_vertex_attrib_integer_64bit,
- #endif
- #ifdef GL_NV_vertex_buffer_unified_memory
- &__GLEW_NV_vertex_buffer_unified_memory,
- #endif
- #ifdef GL_NV_vertex_program
- &__GLEW_NV_vertex_program,
- #endif
- #ifdef GL_NV_vertex_program1_1
- &__GLEW_NV_vertex_program1_1,
- #endif
- #ifdef GL_NV_vertex_program2
- &__GLEW_NV_vertex_program2,
- #endif
- #ifdef GL_NV_vertex_program2_option
- &__GLEW_NV_vertex_program2_option,
- #endif
- #ifdef GL_NV_vertex_program3
- &__GLEW_NV_vertex_program3,
- #endif
- #ifdef GL_NV_vertex_program4
- &__GLEW_NV_vertex_program4,
- #endif
- #ifdef GL_NV_video_capture
- &__GLEW_NV_video_capture,
- #endif
- #ifdef GL_NV_viewport_array
- &__GLEW_NV_viewport_array,
- #endif
- #ifdef GL_NV_viewport_array2
- &__GLEW_NV_viewport_array2,
- #endif
- #ifdef GL_NV_viewport_swizzle
- &__GLEW_NV_viewport_swizzle,
- #endif
- #ifdef GL_OES_byte_coordinates
- &__GLEW_OES_byte_coordinates,
- #endif
- #ifdef GL_OML_interlace
- &__GLEW_OML_interlace,
- #endif
- #ifdef GL_OML_resample
- &__GLEW_OML_resample,
- #endif
- #ifdef GL_OML_subsample
- &__GLEW_OML_subsample,
- #endif
- #ifdef GL_OVR_multiview
- &__GLEW_OVR_multiview,
- #endif
- #ifdef GL_OVR_multiview2
- &__GLEW_OVR_multiview2,
- #endif
- #ifdef GL_OVR_multiview_multisampled_render_to_texture
- &__GLEW_OVR_multiview_multisampled_render_to_texture,
- #endif
- #ifdef GL_PGI_misc_hints
- &__GLEW_PGI_misc_hints,
- #endif
- #ifdef GL_PGI_vertex_hints
- &__GLEW_PGI_vertex_hints,
- #endif
- #ifdef GL_QCOM_alpha_test
- &__GLEW_QCOM_alpha_test,
- #endif
- #ifdef GL_QCOM_binning_control
- &__GLEW_QCOM_binning_control,
- #endif
- #ifdef GL_QCOM_driver_control
- &__GLEW_QCOM_driver_control,
- #endif
- #ifdef GL_QCOM_extended_get
- &__GLEW_QCOM_extended_get,
- #endif
- #ifdef GL_QCOM_extended_get2
- &__GLEW_QCOM_extended_get2,
- #endif
- #ifdef GL_QCOM_framebuffer_foveated
- &__GLEW_QCOM_framebuffer_foveated,
- #endif
- #ifdef GL_QCOM_perfmon_global_mode
- &__GLEW_QCOM_perfmon_global_mode,
- #endif
- #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
- &__GLEW_QCOM_shader_framebuffer_fetch_noncoherent,
- #endif
- #ifdef GL_QCOM_tiled_rendering
- &__GLEW_QCOM_tiled_rendering,
- #endif
- #ifdef GL_QCOM_writeonly_rendering
- &__GLEW_QCOM_writeonly_rendering,
- #endif
- #ifdef GL_REGAL_ES1_0_compatibility
- &__GLEW_REGAL_ES1_0_compatibility,
- #endif
- #ifdef GL_REGAL_ES1_1_compatibility
- &__GLEW_REGAL_ES1_1_compatibility,
- #endif
- #ifdef GL_REGAL_enable
- &__GLEW_REGAL_enable,
- #endif
- #ifdef GL_REGAL_error_string
- &__GLEW_REGAL_error_string,
- #endif
- #ifdef GL_REGAL_extension_query
- &__GLEW_REGAL_extension_query,
- #endif
- #ifdef GL_REGAL_log
- &__GLEW_REGAL_log,
- #endif
- #ifdef GL_REGAL_proc_address
- &__GLEW_REGAL_proc_address,
- #endif
- #ifdef GL_REND_screen_coordinates
- &__GLEW_REND_screen_coordinates,
- #endif
- #ifdef GL_S3_s3tc
- &__GLEW_S3_s3tc,
- #endif
- #ifdef GL_SGIS_clip_band_hint
- &__GLEW_SGIS_clip_band_hint,
- #endif
- #ifdef GL_SGIS_color_range
- &__GLEW_SGIS_color_range,
- #endif
- #ifdef GL_SGIS_detail_texture
- &__GLEW_SGIS_detail_texture,
- #endif
- #ifdef GL_SGIS_fog_function
- &__GLEW_SGIS_fog_function,
- #endif
- #ifdef GL_SGIS_generate_mipmap
- &__GLEW_SGIS_generate_mipmap,
- #endif
- #ifdef GL_SGIS_line_texgen
- &__GLEW_SGIS_line_texgen,
- #endif
- #ifdef GL_SGIS_multisample
- &__GLEW_SGIS_multisample,
- #endif
- #ifdef GL_SGIS_multitexture
- &__GLEW_SGIS_multitexture,
- #endif
- #ifdef GL_SGIS_pixel_texture
- &__GLEW_SGIS_pixel_texture,
- #endif
- #ifdef GL_SGIS_point_line_texgen
- &__GLEW_SGIS_point_line_texgen,
- #endif
- #ifdef GL_SGIS_shared_multisample
- &__GLEW_SGIS_shared_multisample,
- #endif
- #ifdef GL_SGIS_sharpen_texture
- &__GLEW_SGIS_sharpen_texture,
- #endif
- #ifdef GL_SGIS_texture4D
- &__GLEW_SGIS_texture4D,
- #endif
- #ifdef GL_SGIS_texture_border_clamp
- &__GLEW_SGIS_texture_border_clamp,
- #endif
- #ifdef GL_SGIS_texture_edge_clamp
- &__GLEW_SGIS_texture_edge_clamp,
- #endif
- #ifdef GL_SGIS_texture_filter4
- &__GLEW_SGIS_texture_filter4,
- #endif
- #ifdef GL_SGIS_texture_lod
- &__GLEW_SGIS_texture_lod,
- #endif
- #ifdef GL_SGIS_texture_select
- &__GLEW_SGIS_texture_select,
- #endif
- #ifdef GL_SGIX_async
- &__GLEW_SGIX_async,
- #endif
- #ifdef GL_SGIX_async_histogram
- &__GLEW_SGIX_async_histogram,
- #endif
- #ifdef GL_SGIX_async_pixel
- &__GLEW_SGIX_async_pixel,
- #endif
- #ifdef GL_SGIX_bali_g_instruments
- &__GLEW_SGIX_bali_g_instruments,
- #endif
- #ifdef GL_SGIX_bali_r_instruments
- &__GLEW_SGIX_bali_r_instruments,
- #endif
- #ifdef GL_SGIX_bali_timer_instruments
- &__GLEW_SGIX_bali_timer_instruments,
- #endif
- #ifdef GL_SGIX_blend_alpha_minmax
- &__GLEW_SGIX_blend_alpha_minmax,
- #endif
- #ifdef GL_SGIX_blend_cadd
- &__GLEW_SGIX_blend_cadd,
- #endif
- #ifdef GL_SGIX_blend_cmultiply
- &__GLEW_SGIX_blend_cmultiply,
- #endif
- #ifdef GL_SGIX_calligraphic_fragment
- &__GLEW_SGIX_calligraphic_fragment,
- #endif
- #ifdef GL_SGIX_clipmap
- &__GLEW_SGIX_clipmap,
- #endif
- #ifdef GL_SGIX_color_matrix_accuracy
- &__GLEW_SGIX_color_matrix_accuracy,
- #endif
- #ifdef GL_SGIX_color_table_index_mode
- &__GLEW_SGIX_color_table_index_mode,
- #endif
- #ifdef GL_SGIX_complex_polar
- &__GLEW_SGIX_complex_polar,
- #endif
- #ifdef GL_SGIX_convolution_accuracy
- &__GLEW_SGIX_convolution_accuracy,
- #endif
- #ifdef GL_SGIX_cube_map
- &__GLEW_SGIX_cube_map,
- #endif
- #ifdef GL_SGIX_cylinder_texgen
- &__GLEW_SGIX_cylinder_texgen,
- #endif
- #ifdef GL_SGIX_datapipe
- &__GLEW_SGIX_datapipe,
- #endif
- #ifdef GL_SGIX_decimation
- &__GLEW_SGIX_decimation,
- #endif
- #ifdef GL_SGIX_depth_pass_instrument
- &__GLEW_SGIX_depth_pass_instrument,
- #endif
- #ifdef GL_SGIX_depth_texture
- &__GLEW_SGIX_depth_texture,
- #endif
- #ifdef GL_SGIX_dvc
- &__GLEW_SGIX_dvc,
- #endif
- #ifdef GL_SGIX_flush_raster
- &__GLEW_SGIX_flush_raster,
- #endif
- #ifdef GL_SGIX_fog_blend
- &__GLEW_SGIX_fog_blend,
- #endif
- #ifdef GL_SGIX_fog_factor_to_alpha
- &__GLEW_SGIX_fog_factor_to_alpha,
- #endif
- #ifdef GL_SGIX_fog_layers
- &__GLEW_SGIX_fog_layers,
- #endif
- #ifdef GL_SGIX_fog_offset
- &__GLEW_SGIX_fog_offset,
- #endif
- #ifdef GL_SGIX_fog_patchy
- &__GLEW_SGIX_fog_patchy,
- #endif
- #ifdef GL_SGIX_fog_scale
- &__GLEW_SGIX_fog_scale,
- #endif
- #ifdef GL_SGIX_fog_texture
- &__GLEW_SGIX_fog_texture,
- #endif
- #ifdef GL_SGIX_fragment_lighting_space
- &__GLEW_SGIX_fragment_lighting_space,
- #endif
- #ifdef GL_SGIX_fragment_specular_lighting
- &__GLEW_SGIX_fragment_specular_lighting,
- #endif
- #ifdef GL_SGIX_fragments_instrument
- &__GLEW_SGIX_fragments_instrument,
- #endif
- #ifdef GL_SGIX_framezoom
- &__GLEW_SGIX_framezoom,
- #endif
- #ifdef GL_SGIX_icc_texture
- &__GLEW_SGIX_icc_texture,
- #endif
- #ifdef GL_SGIX_igloo_interface
- &__GLEW_SGIX_igloo_interface,
- #endif
- #ifdef GL_SGIX_image_compression
- &__GLEW_SGIX_image_compression,
- #endif
- #ifdef GL_SGIX_impact_pixel_texture
- &__GLEW_SGIX_impact_pixel_texture,
- #endif
- #ifdef GL_SGIX_instrument_error
- &__GLEW_SGIX_instrument_error,
- #endif
- #ifdef GL_SGIX_interlace
- &__GLEW_SGIX_interlace,
- #endif
- #ifdef GL_SGIX_ir_instrument1
- &__GLEW_SGIX_ir_instrument1,
- #endif
- #ifdef GL_SGIX_line_quality_hint
- &__GLEW_SGIX_line_quality_hint,
- #endif
- #ifdef GL_SGIX_list_priority
- &__GLEW_SGIX_list_priority,
- #endif
- #ifdef GL_SGIX_mpeg1
- &__GLEW_SGIX_mpeg1,
- #endif
- #ifdef GL_SGIX_mpeg2
- &__GLEW_SGIX_mpeg2,
- #endif
- #ifdef GL_SGIX_nonlinear_lighting_pervertex
- &__GLEW_SGIX_nonlinear_lighting_pervertex,
- #endif
- #ifdef GL_SGIX_nurbs_eval
- &__GLEW_SGIX_nurbs_eval,
- #endif
- #ifdef GL_SGIX_occlusion_instrument
- &__GLEW_SGIX_occlusion_instrument,
- #endif
- #ifdef GL_SGIX_packed_6bytes
- &__GLEW_SGIX_packed_6bytes,
- #endif
- #ifdef GL_SGIX_pixel_texture
- &__GLEW_SGIX_pixel_texture,
- #endif
- #ifdef GL_SGIX_pixel_texture_bits
- &__GLEW_SGIX_pixel_texture_bits,
- #endif
- #ifdef GL_SGIX_pixel_texture_lod
- &__GLEW_SGIX_pixel_texture_lod,
- #endif
- #ifdef GL_SGIX_pixel_tiles
- &__GLEW_SGIX_pixel_tiles,
- #endif
- #ifdef GL_SGIX_polynomial_ffd
- &__GLEW_SGIX_polynomial_ffd,
- #endif
- #ifdef GL_SGIX_quad_mesh
- &__GLEW_SGIX_quad_mesh,
- #endif
- #ifdef GL_SGIX_reference_plane
- &__GLEW_SGIX_reference_plane,
- #endif
- #ifdef GL_SGIX_resample
- &__GLEW_SGIX_resample,
- #endif
- #ifdef GL_SGIX_scalebias_hint
- &__GLEW_SGIX_scalebias_hint,
- #endif
- #ifdef GL_SGIX_shadow
- &__GLEW_SGIX_shadow,
- #endif
- #ifdef GL_SGIX_shadow_ambient
- &__GLEW_SGIX_shadow_ambient,
- #endif
- #ifdef GL_SGIX_slim
- &__GLEW_SGIX_slim,
- #endif
- #ifdef GL_SGIX_spotlight_cutoff
- &__GLEW_SGIX_spotlight_cutoff,
- #endif
- #ifdef GL_SGIX_sprite
- &__GLEW_SGIX_sprite,
- #endif
- #ifdef GL_SGIX_subdiv_patch
- &__GLEW_SGIX_subdiv_patch,
- #endif
- #ifdef GL_SGIX_subsample
- &__GLEW_SGIX_subsample,
- #endif
- #ifdef GL_SGIX_tag_sample_buffer
- &__GLEW_SGIX_tag_sample_buffer,
- #endif
- #ifdef GL_SGIX_texture_add_env
- &__GLEW_SGIX_texture_add_env,
- #endif
- #ifdef GL_SGIX_texture_coordinate_clamp
- &__GLEW_SGIX_texture_coordinate_clamp,
- #endif
- #ifdef GL_SGIX_texture_lod_bias
- &__GLEW_SGIX_texture_lod_bias,
- #endif
- #ifdef GL_SGIX_texture_mipmap_anisotropic
- &__GLEW_SGIX_texture_mipmap_anisotropic,
- #endif
- #ifdef GL_SGIX_texture_multi_buffer
- &__GLEW_SGIX_texture_multi_buffer,
- #endif
- #ifdef GL_SGIX_texture_phase
- &__GLEW_SGIX_texture_phase,
- #endif
- #ifdef GL_SGIX_texture_range
- &__GLEW_SGIX_texture_range,
- #endif
- #ifdef GL_SGIX_texture_scale_bias
- &__GLEW_SGIX_texture_scale_bias,
- #endif
- #ifdef GL_SGIX_texture_supersample
- &__GLEW_SGIX_texture_supersample,
- #endif
- #ifdef GL_SGIX_vector_ops
- &__GLEW_SGIX_vector_ops,
- #endif
- #ifdef GL_SGIX_vertex_array_object
- &__GLEW_SGIX_vertex_array_object,
- #endif
- #ifdef GL_SGIX_vertex_preclip
- &__GLEW_SGIX_vertex_preclip,
- #endif
- #ifdef GL_SGIX_vertex_preclip_hint
- &__GLEW_SGIX_vertex_preclip_hint,
- #endif
- #ifdef GL_SGIX_ycrcb
- &__GLEW_SGIX_ycrcb,
- #endif
- #ifdef GL_SGIX_ycrcb_subsample
- &__GLEW_SGIX_ycrcb_subsample,
- #endif
- #ifdef GL_SGIX_ycrcba
- &__GLEW_SGIX_ycrcba,
- #endif
- #ifdef GL_SGI_color_matrix
- &__GLEW_SGI_color_matrix,
- #endif
- #ifdef GL_SGI_color_table
- &__GLEW_SGI_color_table,
- #endif
- #ifdef GL_SGI_complex
- &__GLEW_SGI_complex,
- #endif
- #ifdef GL_SGI_complex_type
- &__GLEW_SGI_complex_type,
- #endif
- #ifdef GL_SGI_fft
- &__GLEW_SGI_fft,
- #endif
- #ifdef GL_SGI_texture_color_table
- &__GLEW_SGI_texture_color_table,
- #endif
- #ifdef GL_SUNX_constant_data
- &__GLEW_SUNX_constant_data,
- #endif
- #ifdef GL_SUN_convolution_border_modes
- &__GLEW_SUN_convolution_border_modes,
- #endif
- #ifdef GL_SUN_global_alpha
- &__GLEW_SUN_global_alpha,
- #endif
- #ifdef GL_SUN_mesh_array
- &__GLEW_SUN_mesh_array,
- #endif
- #ifdef GL_SUN_read_video_pixels
- &__GLEW_SUN_read_video_pixels,
- #endif
- #ifdef GL_SUN_slice_accum
- &__GLEW_SUN_slice_accum,
- #endif
- #ifdef GL_SUN_triangle_list
- &__GLEW_SUN_triangle_list,
- #endif
- #ifdef GL_SUN_vertex
- &__GLEW_SUN_vertex,
- #endif
- #ifdef GL_WIN_phong_shading
- &__GLEW_WIN_phong_shading,
- #endif
- #ifdef GL_WIN_scene_markerXXX
- &__GLEW_WIN_scene_markerXXX,
- #endif
- #ifdef GL_WIN_specular_fog
- &__GLEW_WIN_specular_fog,
- #endif
- #ifdef GL_WIN_swap_hint
- &__GLEW_WIN_swap_hint,
- #endif
- NULL
- };
- static GLboolean _glewInit_GL_VERSION_1_2 ();
- static GLboolean _glewInit_GL_VERSION_1_3 ();
- static GLboolean _glewInit_GL_VERSION_1_4 ();
- static GLboolean _glewInit_GL_VERSION_1_5 ();
- static GLboolean _glewInit_GL_VERSION_2_0 ();
- static GLboolean _glewInit_GL_VERSION_2_1 ();
- static GLboolean _glewInit_GL_VERSION_3_0 ();
- static GLboolean _glewInit_GL_VERSION_3_1 ();
- static GLboolean _glewInit_GL_VERSION_3_2 ();
- static GLboolean _glewInit_GL_VERSION_3_3 ();
- static GLboolean _glewInit_GL_VERSION_4_0 ();
- static GLboolean _glewInit_GL_VERSION_4_5 ();
- static GLboolean _glewInit_GL_VERSION_4_6 ();
- static GLboolean _glewInit_GL_3DFX_tbuffer ();
- static GLboolean _glewInit_GL_AMD_debug_output ();
- static GLboolean _glewInit_GL_AMD_draw_buffers_blend ();
- static GLboolean _glewInit_GL_AMD_framebuffer_sample_positions ();
- static GLboolean _glewInit_GL_AMD_interleaved_elements ();
- static GLboolean _glewInit_GL_AMD_multi_draw_indirect ();
- static GLboolean _glewInit_GL_AMD_name_gen_delete ();
- static GLboolean _glewInit_GL_AMD_occlusion_query_event ();
- static GLboolean _glewInit_GL_AMD_performance_monitor ();
- static GLboolean _glewInit_GL_AMD_sample_positions ();
- static GLboolean _glewInit_GL_AMD_sparse_texture ();
- static GLboolean _glewInit_GL_AMD_stencil_operation_extended ();
- static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator ();
- static GLboolean _glewInit_GL_ANGLE_framebuffer_blit ();
- static GLboolean _glewInit_GL_ANGLE_framebuffer_multisample ();
- static GLboolean _glewInit_GL_ANGLE_instanced_arrays ();
- static GLboolean _glewInit_GL_ANGLE_timer_query ();
- static GLboolean _glewInit_GL_ANGLE_translated_shader_source ();
- static GLboolean _glewInit_GL_APPLE_copy_texture_levels ();
- static GLboolean _glewInit_GL_APPLE_element_array ();
- static GLboolean _glewInit_GL_APPLE_fence ();
- static GLboolean _glewInit_GL_APPLE_flush_buffer_range ();
- static GLboolean _glewInit_GL_APPLE_framebuffer_multisample ();
- static GLboolean _glewInit_GL_APPLE_object_purgeable ();
- static GLboolean _glewInit_GL_APPLE_sync ();
- static GLboolean _glewInit_GL_APPLE_texture_range ();
- static GLboolean _glewInit_GL_APPLE_vertex_array_object ();
- static GLboolean _glewInit_GL_APPLE_vertex_array_range ();
- static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators ();
- static GLboolean _glewInit_GL_ARB_ES2_compatibility ();
- static GLboolean _glewInit_GL_ARB_ES3_1_compatibility ();
- static GLboolean _glewInit_GL_ARB_ES3_2_compatibility ();
- static GLboolean _glewInit_GL_ARB_base_instance ();
- static GLboolean _glewInit_GL_ARB_bindless_texture ();
- static GLboolean _glewInit_GL_ARB_blend_func_extended ();
- static GLboolean _glewInit_GL_ARB_buffer_storage ();
- static GLboolean _glewInit_GL_ARB_cl_event ();
- static GLboolean _glewInit_GL_ARB_clear_buffer_object ();
- static GLboolean _glewInit_GL_ARB_clear_texture ();
- static GLboolean _glewInit_GL_ARB_clip_control ();
- static GLboolean _glewInit_GL_ARB_color_buffer_float ();
- static GLboolean _glewInit_GL_ARB_compute_shader ();
- static GLboolean _glewInit_GL_ARB_compute_variable_group_size ();
- static GLboolean _glewInit_GL_ARB_copy_buffer ();
- static GLboolean _glewInit_GL_ARB_copy_image ();
- static GLboolean _glewInit_GL_ARB_debug_output ();
- static GLboolean _glewInit_GL_ARB_direct_state_access ();
- static GLboolean _glewInit_GL_ARB_draw_buffers ();
- static GLboolean _glewInit_GL_ARB_draw_buffers_blend ();
- static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex ();
- static GLboolean _glewInit_GL_ARB_draw_indirect ();
- static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments ();
- static GLboolean _glewInit_GL_ARB_framebuffer_object ();
- static GLboolean _glewInit_GL_ARB_geometry_shader4 ();
- static GLboolean _glewInit_GL_ARB_get_program_binary ();
- static GLboolean _glewInit_GL_ARB_get_texture_sub_image ();
- static GLboolean _glewInit_GL_ARB_gl_spirv ();
- static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ();
- static GLboolean _glewInit_GL_ARB_gpu_shader_int64 ();
- static GLboolean _glewInit_GL_ARB_imaging ();
- static GLboolean _glewInit_GL_ARB_indirect_parameters ();
- static GLboolean _glewInit_GL_ARB_instanced_arrays ();
- static GLboolean _glewInit_GL_ARB_internalformat_query ();
- static GLboolean _glewInit_GL_ARB_internalformat_query2 ();
- static GLboolean _glewInit_GL_ARB_invalidate_subdata ();
- static GLboolean _glewInit_GL_ARB_map_buffer_range ();
- static GLboolean _glewInit_GL_ARB_matrix_palette ();
- static GLboolean _glewInit_GL_ARB_multi_bind ();
- static GLboolean _glewInit_GL_ARB_multi_draw_indirect ();
- static GLboolean _glewInit_GL_ARB_multisample ();
- static GLboolean _glewInit_GL_ARB_multitexture ();
- static GLboolean _glewInit_GL_ARB_occlusion_query ();
- static GLboolean _glewInit_GL_ARB_parallel_shader_compile ();
- static GLboolean _glewInit_GL_ARB_point_parameters ();
- static GLboolean _glewInit_GL_ARB_polygon_offset_clamp ();
- static GLboolean _glewInit_GL_ARB_program_interface_query ();
- static GLboolean _glewInit_GL_ARB_provoking_vertex ();
- static GLboolean _glewInit_GL_ARB_robustness ();
- static GLboolean _glewInit_GL_ARB_sample_locations ();
- static GLboolean _glewInit_GL_ARB_sample_shading ();
- static GLboolean _glewInit_GL_ARB_sampler_objects ();
- static GLboolean _glewInit_GL_ARB_separate_shader_objects ();
- static GLboolean _glewInit_GL_ARB_shader_atomic_counters ();
- static GLboolean _glewInit_GL_ARB_shader_image_load_store ();
- static GLboolean _glewInit_GL_ARB_shader_objects ();
- static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object ();
- static GLboolean _glewInit_GL_ARB_shader_subroutine ();
- static GLboolean _glewInit_GL_ARB_shading_language_include ();
- static GLboolean _glewInit_GL_ARB_sparse_buffer ();
- static GLboolean _glewInit_GL_ARB_sparse_texture ();
- static GLboolean _glewInit_GL_ARB_sync ();
- static GLboolean _glewInit_GL_ARB_tessellation_shader ();
- static GLboolean _glewInit_GL_ARB_texture_barrier ();
- static GLboolean _glewInit_GL_ARB_texture_buffer_object ();
- static GLboolean _glewInit_GL_ARB_texture_buffer_range ();
- static GLboolean _glewInit_GL_ARB_texture_compression ();
- static GLboolean _glewInit_GL_ARB_texture_multisample ();
- static GLboolean _glewInit_GL_ARB_texture_storage ();
- static GLboolean _glewInit_GL_ARB_texture_storage_multisample ();
- static GLboolean _glewInit_GL_ARB_texture_view ();
- static GLboolean _glewInit_GL_ARB_timer_query ();
- static GLboolean _glewInit_GL_ARB_transform_feedback2 ();
- static GLboolean _glewInit_GL_ARB_transform_feedback3 ();
- static GLboolean _glewInit_GL_ARB_transform_feedback_instanced ();
- static GLboolean _glewInit_GL_ARB_transpose_matrix ();
- static GLboolean _glewInit_GL_ARB_uniform_buffer_object ();
- static GLboolean _glewInit_GL_ARB_vertex_array_object ();
- static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit ();
- static GLboolean _glewInit_GL_ARB_vertex_attrib_binding ();
- static GLboolean _glewInit_GL_ARB_vertex_blend ();
- static GLboolean _glewInit_GL_ARB_vertex_buffer_object ();
- static GLboolean _glewInit_GL_ARB_vertex_program ();
- static GLboolean _glewInit_GL_ARB_vertex_shader ();
- static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev ();
- static GLboolean _glewInit_GL_ARB_viewport_array ();
- static GLboolean _glewInit_GL_ARB_window_pos ();
- static GLboolean _glewInit_GL_ATI_draw_buffers ();
- static GLboolean _glewInit_GL_ATI_element_array ();
- static GLboolean _glewInit_GL_ATI_envmap_bumpmap ();
- static GLboolean _glewInit_GL_ATI_fragment_shader ();
- static GLboolean _glewInit_GL_ATI_map_object_buffer ();
- static GLboolean _glewInit_GL_ATI_pn_triangles ();
- static GLboolean _glewInit_GL_ATI_separate_stencil ();
- static GLboolean _glewInit_GL_ATI_vertex_array_object ();
- static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object ();
- static GLboolean _glewInit_GL_ATI_vertex_streams ();
- static GLboolean _glewInit_GL_EXT_base_instance ();
- static GLboolean _glewInit_GL_EXT_bindable_uniform ();
- static GLboolean _glewInit_GL_EXT_blend_color ();
- static GLboolean _glewInit_GL_EXT_blend_equation_separate ();
- static GLboolean _glewInit_GL_EXT_blend_func_extended ();
- static GLboolean _glewInit_GL_EXT_blend_func_separate ();
- static GLboolean _glewInit_GL_EXT_blend_minmax ();
- static GLboolean _glewInit_GL_EXT_buffer_storage ();
- static GLboolean _glewInit_GL_EXT_clear_texture ();
- static GLboolean _glewInit_GL_EXT_color_subtable ();
- static GLboolean _glewInit_GL_EXT_compiled_vertex_array ();
- static GLboolean _glewInit_GL_EXT_convolution ();
- static GLboolean _glewInit_GL_EXT_coordinate_frame ();
- static GLboolean _glewInit_GL_EXT_copy_image ();
- static GLboolean _glewInit_GL_EXT_copy_texture ();
- static GLboolean _glewInit_GL_EXT_cull_vertex ();
- static GLboolean _glewInit_GL_EXT_debug_label ();
- static GLboolean _glewInit_GL_EXT_debug_marker ();
- static GLboolean _glewInit_GL_EXT_depth_bounds_test ();
- static GLboolean _glewInit_GL_EXT_direct_state_access ();
- static GLboolean _glewInit_GL_EXT_discard_framebuffer ();
- static GLboolean _glewInit_GL_EXT_draw_buffers ();
- static GLboolean _glewInit_GL_EXT_draw_buffers2 ();
- static GLboolean _glewInit_GL_EXT_draw_buffers_indexed ();
- static GLboolean _glewInit_GL_EXT_draw_elements_base_vertex ();
- static GLboolean _glewInit_GL_EXT_draw_instanced ();
- static GLboolean _glewInit_GL_EXT_draw_range_elements ();
- static GLboolean _glewInit_GL_EXT_external_buffer ();
- static GLboolean _glewInit_GL_EXT_fog_coord ();
- static GLboolean _glewInit_GL_EXT_fragment_lighting ();
- static GLboolean _glewInit_GL_EXT_framebuffer_blit ();
- static GLboolean _glewInit_GL_EXT_framebuffer_multisample ();
- static GLboolean _glewInit_GL_EXT_framebuffer_object ();
- static GLboolean _glewInit_GL_EXT_geometry_shader4 ();
- static GLboolean _glewInit_GL_EXT_gpu_program_parameters ();
- static GLboolean _glewInit_GL_EXT_gpu_shader4 ();
- static GLboolean _glewInit_GL_EXT_histogram ();
- static GLboolean _glewInit_GL_EXT_index_func ();
- static GLboolean _glewInit_GL_EXT_index_material ();
- static GLboolean _glewInit_GL_EXT_instanced_arrays ();
- static GLboolean _glewInit_GL_EXT_light_texture ();
- static GLboolean _glewInit_GL_EXT_map_buffer_range ();
- static GLboolean _glewInit_GL_EXT_memory_object ();
- static GLboolean _glewInit_GL_EXT_memory_object_fd ();
- static GLboolean _glewInit_GL_EXT_memory_object_win32 ();
- static GLboolean _glewInit_GL_EXT_multi_draw_arrays ();
- static GLboolean _glewInit_GL_EXT_multi_draw_indirect ();
- static GLboolean _glewInit_GL_EXT_multisample ();
- static GLboolean _glewInit_GL_EXT_multisampled_render_to_texture ();
- static GLboolean _glewInit_GL_EXT_multiview_draw_buffers ();
- static GLboolean _glewInit_GL_EXT_paletted_texture ();
- static GLboolean _glewInit_GL_EXT_pixel_transform ();
- static GLboolean _glewInit_GL_EXT_point_parameters ();
- static GLboolean _glewInit_GL_EXT_polygon_offset ();
- static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ();
- static GLboolean _glewInit_GL_EXT_provoking_vertex ();
- static GLboolean _glewInit_GL_EXT_raster_multisample ();
- static GLboolean _glewInit_GL_EXT_scene_marker ();
- static GLboolean _glewInit_GL_EXT_secondary_color ();
- static GLboolean _glewInit_GL_EXT_semaphore ();
- static GLboolean _glewInit_GL_EXT_semaphore_fd ();
- static GLboolean _glewInit_GL_EXT_semaphore_win32 ();
- static GLboolean _glewInit_GL_EXT_separate_shader_objects ();
- static GLboolean _glewInit_GL_EXT_shader_image_load_store ();
- static GLboolean _glewInit_GL_EXT_shader_pixel_local_storage2 ();
- static GLboolean _glewInit_GL_EXT_sparse_texture ();
- static GLboolean _glewInit_GL_EXT_stencil_two_side ();
- static GLboolean _glewInit_GL_EXT_subtexture ();
- static GLboolean _glewInit_GL_EXT_texture3D ();
- static GLboolean _glewInit_GL_EXT_texture_array ();
- static GLboolean _glewInit_GL_EXT_texture_buffer_object ();
- static GLboolean _glewInit_GL_EXT_texture_integer ();
- static GLboolean _glewInit_GL_EXT_texture_object ();
- static GLboolean _glewInit_GL_EXT_texture_perturb_normal ();
- static GLboolean _glewInit_GL_EXT_texture_storage ();
- static GLboolean _glewInit_GL_EXT_texture_view ();
- static GLboolean _glewInit_GL_EXT_timer_query ();
- static GLboolean _glewInit_GL_EXT_transform_feedback ();
- static GLboolean _glewInit_GL_EXT_vertex_array ();
- static GLboolean _glewInit_GL_EXT_vertex_array_setXXX ();
- static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit ();
- static GLboolean _glewInit_GL_EXT_vertex_shader ();
- static GLboolean _glewInit_GL_EXT_vertex_weighting ();
- static GLboolean _glewInit_GL_EXT_win32_keyed_mutex ();
- static GLboolean _glewInit_GL_EXT_window_rectangles ();
- static GLboolean _glewInit_GL_EXT_x11_sync_object ();
- static GLboolean _glewInit_GL_GREMEDY_frame_terminator ();
- static GLboolean _glewInit_GL_GREMEDY_string_marker ();
- static GLboolean _glewInit_GL_HP_image_transform ();
- static GLboolean _glewInit_GL_IBM_multimode_draw_arrays ();
- static GLboolean _glewInit_GL_IBM_vertex_array_lists ();
- static GLboolean _glewInit_GL_INTEL_map_texture ();
- static GLboolean _glewInit_GL_INTEL_parallel_arrays ();
- static GLboolean _glewInit_GL_INTEL_performance_query ();
- static GLboolean _glewInit_GL_INTEL_texture_scissor ();
- static GLboolean _glewInit_GL_KHR_blend_equation_advanced ();
- static GLboolean _glewInit_GL_KHR_debug ();
- static GLboolean _glewInit_GL_KHR_parallel_shader_compile ();
- static GLboolean _glewInit_GL_KHR_robustness ();
- static GLboolean _glewInit_GL_KTX_buffer_region ();
- static GLboolean _glewInit_GL_MESA_resize_buffers ();
- static GLboolean _glewInit_GL_MESA_window_pos ();
- static GLboolean _glewInit_GL_NVX_conditional_render ();
- static GLboolean _glewInit_GL_NVX_linked_gpu_multicast ();
- static GLboolean _glewInit_GL_NV_3dvision_settings ();
- static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect ();
- static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect_count ();
- static GLboolean _glewInit_GL_NV_bindless_texture ();
- static GLboolean _glewInit_GL_NV_blend_equation_advanced ();
- static GLboolean _glewInit_GL_NV_clip_space_w_scaling ();
- static GLboolean _glewInit_GL_NV_command_list ();
- static GLboolean _glewInit_GL_NV_conditional_render ();
- static GLboolean _glewInit_GL_NV_conservative_raster ();
- static GLboolean _glewInit_GL_NV_conservative_raster_dilate ();
- static GLboolean _glewInit_GL_NV_conservative_raster_pre_snap_triangles ();
- static GLboolean _glewInit_GL_NV_copy_buffer ();
- static GLboolean _glewInit_GL_NV_copy_image ();
- static GLboolean _glewInit_GL_NV_depth_buffer_float ();
- static GLboolean _glewInit_GL_NV_draw_buffers ();
- static GLboolean _glewInit_GL_NV_draw_instanced ();
- static GLboolean _glewInit_GL_NV_draw_texture ();
- static GLboolean _glewInit_GL_NV_draw_vulkan_image ();
- static GLboolean _glewInit_GL_NV_evaluators ();
- static GLboolean _glewInit_GL_NV_explicit_multisample ();
- static GLboolean _glewInit_GL_NV_fence ();
- static GLboolean _glewInit_GL_NV_fragment_coverage_to_color ();
- static GLboolean _glewInit_GL_NV_fragment_program ();
- static GLboolean _glewInit_GL_NV_framebuffer_blit ();
- static GLboolean _glewInit_GL_NV_framebuffer_multisample ();
- static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage ();
- static GLboolean _glewInit_GL_NV_geometry_program4 ();
- static GLboolean _glewInit_GL_NV_gpu_multicast ();
- static GLboolean _glewInit_GL_NV_gpu_program4 ();
- static GLboolean _glewInit_GL_NV_gpu_shader5 ();
- static GLboolean _glewInit_GL_NV_half_float ();
- static GLboolean _glewInit_GL_NV_instanced_arrays ();
- static GLboolean _glewInit_GL_NV_internalformat_sample_query ();
- static GLboolean _glewInit_GL_NV_non_square_matrices ();
- static GLboolean _glewInit_GL_NV_occlusion_query ();
- static GLboolean _glewInit_GL_NV_parameter_buffer_object ();
- static GLboolean _glewInit_GL_NV_path_rendering ();
- static GLboolean _glewInit_GL_NV_pixel_data_range ();
- static GLboolean _glewInit_GL_NV_point_sprite ();
- static GLboolean _glewInit_GL_NV_polygon_mode ();
- static GLboolean _glewInit_GL_NV_present_video ();
- static GLboolean _glewInit_GL_NV_primitive_restart ();
- static GLboolean _glewInit_GL_NV_register_combiners ();
- static GLboolean _glewInit_GL_NV_register_combiners2 ();
- static GLboolean _glewInit_GL_NV_sample_locations ();
- static GLboolean _glewInit_GL_NV_shader_buffer_load ();
- static GLboolean _glewInit_GL_NV_texture_array ();
- static GLboolean _glewInit_GL_NV_texture_barrier ();
- static GLboolean _glewInit_GL_NV_texture_multisample ();
- static GLboolean _glewInit_GL_NV_transform_feedback ();
- static GLboolean _glewInit_GL_NV_transform_feedback2 ();
- static GLboolean _glewInit_GL_NV_vdpau_interop ();
- static GLboolean _glewInit_GL_NV_vertex_array_range ();
- static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit ();
- static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory ();
- static GLboolean _glewInit_GL_NV_vertex_program ();
- static GLboolean _glewInit_GL_NV_video_capture ();
- static GLboolean _glewInit_GL_NV_viewport_array ();
- static GLboolean _glewInit_GL_NV_viewport_swizzle ();
- static GLboolean _glewInit_GL_OVR_multiview ();
- static GLboolean _glewInit_GL_OVR_multiview_multisampled_render_to_texture ();
- static GLboolean _glewInit_GL_QCOM_alpha_test ();
- static GLboolean _glewInit_GL_QCOM_driver_control ();
- static GLboolean _glewInit_GL_QCOM_extended_get ();
- static GLboolean _glewInit_GL_QCOM_extended_get2 ();
- static GLboolean _glewInit_GL_QCOM_framebuffer_foveated ();
- static GLboolean _glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent ();
- static GLboolean _glewInit_GL_QCOM_tiled_rendering ();
- static GLboolean _glewInit_GL_REGAL_ES1_0_compatibility ();
- static GLboolean _glewInit_GL_REGAL_ES1_1_compatibility ();
- static GLboolean _glewInit_GL_REGAL_error_string ();
- static GLboolean _glewInit_GL_REGAL_extension_query ();
- static GLboolean _glewInit_GL_REGAL_log ();
- static GLboolean _glewInit_GL_REGAL_proc_address ();
- static GLboolean _glewInit_GL_SGIS_detail_texture ();
- static GLboolean _glewInit_GL_SGIS_fog_function ();
- static GLboolean _glewInit_GL_SGIS_multisample ();
- static GLboolean _glewInit_GL_SGIS_multitexture ();
- static GLboolean _glewInit_GL_SGIS_shared_multisample ();
- static GLboolean _glewInit_GL_SGIS_sharpen_texture ();
- static GLboolean _glewInit_GL_SGIS_texture4D ();
- static GLboolean _glewInit_GL_SGIS_texture_filter4 ();
- static GLboolean _glewInit_GL_SGIX_async ();
- static GLboolean _glewInit_GL_SGIX_datapipe ();
- static GLboolean _glewInit_GL_SGIX_flush_raster ();
- static GLboolean _glewInit_GL_SGIX_fog_layers ();
- static GLboolean _glewInit_GL_SGIX_fog_texture ();
- static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting ();
- static GLboolean _glewInit_GL_SGIX_framezoom ();
- static GLboolean _glewInit_GL_SGIX_igloo_interface ();
- static GLboolean _glewInit_GL_SGIX_mpeg1 ();
- static GLboolean _glewInit_GL_SGIX_nonlinear_lighting_pervertex ();
- static GLboolean _glewInit_GL_SGIX_pixel_texture ();
- static GLboolean _glewInit_GL_SGIX_polynomial_ffd ();
- static GLboolean _glewInit_GL_SGIX_quad_mesh ();
- static GLboolean _glewInit_GL_SGIX_reference_plane ();
- static GLboolean _glewInit_GL_SGIX_sprite ();
- static GLboolean _glewInit_GL_SGIX_tag_sample_buffer ();
- static GLboolean _glewInit_GL_SGIX_vector_ops ();
- static GLboolean _glewInit_GL_SGIX_vertex_array_object ();
- static GLboolean _glewInit_GL_SGI_color_table ();
- static GLboolean _glewInit_GL_SGI_fft ();
- static GLboolean _glewInit_GL_SUNX_constant_data ();
- static GLboolean _glewInit_GL_SUN_global_alpha ();
- static GLboolean _glewInit_GL_SUN_read_video_pixels ();
- static GLboolean _glewInit_GL_SUN_triangle_list ();
- static GLboolean _glewInit_GL_SUN_vertex ();
- static GLboolean _glewInit_GL_WIN_swap_hint ();
- #ifdef GL_VERSION_1_2
- static GLboolean _glewInit_GL_VERSION_1_2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyTexSubImage3D = (PFNGLCOPYTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3D")) == NULL) || r;
- r = ((glDrawRangeElements = (PFNGLDRAWRANGEELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElements")) == NULL) || r;
- r = ((glTexImage3D = (PFNGLTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexImage3D")) == NULL) || r;
- r = ((glTexSubImage3D = (PFNGLTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3D")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_1_2 */
- #ifdef GL_VERSION_1_3
- static GLboolean _glewInit_GL_VERSION_1_3 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveTexture = (PFNGLACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glActiveTexture")) == NULL) || r;
- r = ((glClientActiveTexture = (PFNGLCLIENTACTIVETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTexture")) == NULL) || r;
- r = ((glCompressedTexImage1D = (PFNGLCOMPRESSEDTEXIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1D")) == NULL) || r;
- r = ((glCompressedTexImage2D = (PFNGLCOMPRESSEDTEXIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2D")) == NULL) || r;
- r = ((glCompressedTexImage3D = (PFNGLCOMPRESSEDTEXIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3D")) == NULL) || r;
- r = ((glCompressedTexSubImage1D = (PFNGLCOMPRESSEDTEXSUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1D")) == NULL) || r;
- r = ((glCompressedTexSubImage2D = (PFNGLCOMPRESSEDTEXSUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2D")) == NULL) || r;
- r = ((glCompressedTexSubImage3D = (PFNGLCOMPRESSEDTEXSUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3D")) == NULL) || r;
- r = ((glGetCompressedTexImage = (PFNGLGETCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImage")) == NULL) || r;
- r = ((glLoadTransposeMatrixd = (PFNGLLOADTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixd")) == NULL) || r;
- r = ((glLoadTransposeMatrixf = (PFNGLLOADTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixf")) == NULL) || r;
- r = ((glMultTransposeMatrixd = (PFNGLMULTTRANSPOSEMATRIXDPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixd")) == NULL) || r;
- r = ((glMultTransposeMatrixf = (PFNGLMULTTRANSPOSEMATRIXFPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixf")) == NULL) || r;
- r = ((glMultiTexCoord1d = (PFNGLMULTITEXCOORD1DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1d")) == NULL) || r;
- r = ((glMultiTexCoord1dv = (PFNGLMULTITEXCOORD1DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dv")) == NULL) || r;
- r = ((glMultiTexCoord1f = (PFNGLMULTITEXCOORD1FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1f")) == NULL) || r;
- r = ((glMultiTexCoord1fv = (PFNGLMULTITEXCOORD1FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fv")) == NULL) || r;
- r = ((glMultiTexCoord1i = (PFNGLMULTITEXCOORD1IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1i")) == NULL) || r;
- r = ((glMultiTexCoord1iv = (PFNGLMULTITEXCOORD1IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iv")) == NULL) || r;
- r = ((glMultiTexCoord1s = (PFNGLMULTITEXCOORD1SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1s")) == NULL) || r;
- r = ((glMultiTexCoord1sv = (PFNGLMULTITEXCOORD1SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sv")) == NULL) || r;
- r = ((glMultiTexCoord2d = (PFNGLMULTITEXCOORD2DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2d")) == NULL) || r;
- r = ((glMultiTexCoord2dv = (PFNGLMULTITEXCOORD2DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dv")) == NULL) || r;
- r = ((glMultiTexCoord2f = (PFNGLMULTITEXCOORD2FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2f")) == NULL) || r;
- r = ((glMultiTexCoord2fv = (PFNGLMULTITEXCOORD2FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fv")) == NULL) || r;
- r = ((glMultiTexCoord2i = (PFNGLMULTITEXCOORD2IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2i")) == NULL) || r;
- r = ((glMultiTexCoord2iv = (PFNGLMULTITEXCOORD2IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iv")) == NULL) || r;
- r = ((glMultiTexCoord2s = (PFNGLMULTITEXCOORD2SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2s")) == NULL) || r;
- r = ((glMultiTexCoord2sv = (PFNGLMULTITEXCOORD2SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sv")) == NULL) || r;
- r = ((glMultiTexCoord3d = (PFNGLMULTITEXCOORD3DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3d")) == NULL) || r;
- r = ((glMultiTexCoord3dv = (PFNGLMULTITEXCOORD3DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dv")) == NULL) || r;
- r = ((glMultiTexCoord3f = (PFNGLMULTITEXCOORD3FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3f")) == NULL) || r;
- r = ((glMultiTexCoord3fv = (PFNGLMULTITEXCOORD3FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fv")) == NULL) || r;
- r = ((glMultiTexCoord3i = (PFNGLMULTITEXCOORD3IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3i")) == NULL) || r;
- r = ((glMultiTexCoord3iv = (PFNGLMULTITEXCOORD3IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iv")) == NULL) || r;
- r = ((glMultiTexCoord3s = (PFNGLMULTITEXCOORD3SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3s")) == NULL) || r;
- r = ((glMultiTexCoord3sv = (PFNGLMULTITEXCOORD3SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sv")) == NULL) || r;
- r = ((glMultiTexCoord4d = (PFNGLMULTITEXCOORD4DPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4d")) == NULL) || r;
- r = ((glMultiTexCoord4dv = (PFNGLMULTITEXCOORD4DVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dv")) == NULL) || r;
- r = ((glMultiTexCoord4f = (PFNGLMULTITEXCOORD4FPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4f")) == NULL) || r;
- r = ((glMultiTexCoord4fv = (PFNGLMULTITEXCOORD4FVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fv")) == NULL) || r;
- r = ((glMultiTexCoord4i = (PFNGLMULTITEXCOORD4IPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4i")) == NULL) || r;
- r = ((glMultiTexCoord4iv = (PFNGLMULTITEXCOORD4IVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iv")) == NULL) || r;
- r = ((glMultiTexCoord4s = (PFNGLMULTITEXCOORD4SPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4s")) == NULL) || r;
- r = ((glMultiTexCoord4sv = (PFNGLMULTITEXCOORD4SVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sv")) == NULL) || r;
- r = ((glSampleCoverage = (PFNGLSAMPLECOVERAGEPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverage")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_1_3 */
- #ifdef GL_VERSION_1_4
- static GLboolean _glewInit_GL_VERSION_1_4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendColor = (PFNGLBLENDCOLORPROC)glewGetProcAddress((const GLubyte*)"glBlendColor")) == NULL) || r;
- r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
- r = ((glBlendFuncSeparate = (PFNGLBLENDFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparate")) == NULL) || r;
- r = ((glFogCoordPointer = (PFNGLFOGCOORDPOINTERPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointer")) == NULL) || r;
- r = ((glFogCoordd = (PFNGLFOGCOORDDPROC)glewGetProcAddress((const GLubyte*)"glFogCoordd")) == NULL) || r;
- r = ((glFogCoorddv = (PFNGLFOGCOORDDVPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddv")) == NULL) || r;
- r = ((glFogCoordf = (PFNGLFOGCOORDFPROC)glewGetProcAddress((const GLubyte*)"glFogCoordf")) == NULL) || r;
- r = ((glFogCoordfv = (PFNGLFOGCOORDFVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfv")) == NULL) || r;
- r = ((glMultiDrawArrays = (PFNGLMULTIDRAWARRAYSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArrays")) == NULL) || r;
- r = ((glMultiDrawElements = (PFNGLMULTIDRAWELEMENTSPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElements")) == NULL) || r;
- r = ((glPointParameterf = (PFNGLPOINTPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glPointParameterf")) == NULL) || r;
- r = ((glPointParameterfv = (PFNGLPOINTPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfv")) == NULL) || r;
- r = ((glPointParameteri = (PFNGLPOINTPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPointParameteri")) == NULL) || r;
- r = ((glPointParameteriv = (PFNGLPOINTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriv")) == NULL) || r;
- r = ((glSecondaryColor3b = (PFNGLSECONDARYCOLOR3BPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3b")) == NULL) || r;
- r = ((glSecondaryColor3bv = (PFNGLSECONDARYCOLOR3BVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bv")) == NULL) || r;
- r = ((glSecondaryColor3d = (PFNGLSECONDARYCOLOR3DPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3d")) == NULL) || r;
- r = ((glSecondaryColor3dv = (PFNGLSECONDARYCOLOR3DVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dv")) == NULL) || r;
- r = ((glSecondaryColor3f = (PFNGLSECONDARYCOLOR3FPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3f")) == NULL) || r;
- r = ((glSecondaryColor3fv = (PFNGLSECONDARYCOLOR3FVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fv")) == NULL) || r;
- r = ((glSecondaryColor3i = (PFNGLSECONDARYCOLOR3IPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3i")) == NULL) || r;
- r = ((glSecondaryColor3iv = (PFNGLSECONDARYCOLOR3IVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iv")) == NULL) || r;
- r = ((glSecondaryColor3s = (PFNGLSECONDARYCOLOR3SPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3s")) == NULL) || r;
- r = ((glSecondaryColor3sv = (PFNGLSECONDARYCOLOR3SVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sv")) == NULL) || r;
- r = ((glSecondaryColor3ub = (PFNGLSECONDARYCOLOR3UBPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ub")) == NULL) || r;
- r = ((glSecondaryColor3ubv = (PFNGLSECONDARYCOLOR3UBVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubv")) == NULL) || r;
- r = ((glSecondaryColor3ui = (PFNGLSECONDARYCOLOR3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ui")) == NULL) || r;
- r = ((glSecondaryColor3uiv = (PFNGLSECONDARYCOLOR3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiv")) == NULL) || r;
- r = ((glSecondaryColor3us = (PFNGLSECONDARYCOLOR3USPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3us")) == NULL) || r;
- r = ((glSecondaryColor3usv = (PFNGLSECONDARYCOLOR3USVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usv")) == NULL) || r;
- r = ((glSecondaryColorPointer = (PFNGLSECONDARYCOLORPOINTERPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointer")) == NULL) || r;
- r = ((glWindowPos2d = (PFNGLWINDOWPOS2DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2d")) == NULL) || r;
- r = ((glWindowPos2dv = (PFNGLWINDOWPOS2DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dv")) == NULL) || r;
- r = ((glWindowPos2f = (PFNGLWINDOWPOS2FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2f")) == NULL) || r;
- r = ((glWindowPos2fv = (PFNGLWINDOWPOS2FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fv")) == NULL) || r;
- r = ((glWindowPos2i = (PFNGLWINDOWPOS2IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2i")) == NULL) || r;
- r = ((glWindowPos2iv = (PFNGLWINDOWPOS2IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iv")) == NULL) || r;
- r = ((glWindowPos2s = (PFNGLWINDOWPOS2SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2s")) == NULL) || r;
- r = ((glWindowPos2sv = (PFNGLWINDOWPOS2SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sv")) == NULL) || r;
- r = ((glWindowPos3d = (PFNGLWINDOWPOS3DPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3d")) == NULL) || r;
- r = ((glWindowPos3dv = (PFNGLWINDOWPOS3DVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dv")) == NULL) || r;
- r = ((glWindowPos3f = (PFNGLWINDOWPOS3FPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3f")) == NULL) || r;
- r = ((glWindowPos3fv = (PFNGLWINDOWPOS3FVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fv")) == NULL) || r;
- r = ((glWindowPos3i = (PFNGLWINDOWPOS3IPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3i")) == NULL) || r;
- r = ((glWindowPos3iv = (PFNGLWINDOWPOS3IVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iv")) == NULL) || r;
- r = ((glWindowPos3s = (PFNGLWINDOWPOS3SPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3s")) == NULL) || r;
- r = ((glWindowPos3sv = (PFNGLWINDOWPOS3SVPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sv")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_1_4 */
- #ifdef GL_VERSION_1_5
- static GLboolean _glewInit_GL_VERSION_1_5 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginQuery = (PFNGLBEGINQUERYPROC)glewGetProcAddress((const GLubyte*)"glBeginQuery")) == NULL) || r;
- r = ((glBindBuffer = (PFNGLBINDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindBuffer")) == NULL) || r;
- r = ((glBufferData = (PFNGLBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferData")) == NULL) || r;
- r = ((glBufferSubData = (PFNGLBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glBufferSubData")) == NULL) || r;
- r = ((glDeleteBuffers = (PFNGLDELETEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffers")) == NULL) || r;
- r = ((glDeleteQueries = (PFNGLDELETEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueries")) == NULL) || r;
- r = ((glEndQuery = (PFNGLENDQUERYPROC)glewGetProcAddress((const GLubyte*)"glEndQuery")) == NULL) || r;
- r = ((glGenBuffers = (PFNGLGENBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenBuffers")) == NULL) || r;
- r = ((glGenQueries = (PFNGLGENQUERIESPROC)glewGetProcAddress((const GLubyte*)"glGenQueries")) == NULL) || r;
- r = ((glGetBufferParameteriv = (PFNGLGETBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteriv")) == NULL) || r;
- r = ((glGetBufferPointerv = (PFNGLGETBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointerv")) == NULL) || r;
- r = ((glGetBufferSubData = (PFNGLGETBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubData")) == NULL) || r;
- r = ((glGetQueryObjectiv = (PFNGLGETQUERYOBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectiv")) == NULL) || r;
- r = ((glGetQueryObjectuiv = (PFNGLGETQUERYOBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuiv")) == NULL) || r;
- r = ((glGetQueryiv = (PFNGLGETQUERYIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryiv")) == NULL) || r;
- r = ((glIsBuffer = (PFNGLISBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsBuffer")) == NULL) || r;
- r = ((glIsQuery = (PFNGLISQUERYPROC)glewGetProcAddress((const GLubyte*)"glIsQuery")) == NULL) || r;
- r = ((glMapBuffer = (PFNGLMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapBuffer")) == NULL) || r;
- r = ((glUnmapBuffer = (PFNGLUNMAPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapBuffer")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_1_5 */
- #ifdef GL_VERSION_2_0
- static GLboolean _glewInit_GL_VERSION_2_0 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAttachShader = (PFNGLATTACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glAttachShader")) == NULL) || r;
- r = ((glBindAttribLocation = (PFNGLBINDATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocation")) == NULL) || r;
- r = ((glBlendEquationSeparate = (PFNGLBLENDEQUATIONSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparate")) == NULL) || r;
- r = ((glCompileShader = (PFNGLCOMPILESHADERPROC)glewGetProcAddress((const GLubyte*)"glCompileShader")) == NULL) || r;
- r = ((glCreateProgram = (PFNGLCREATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glCreateProgram")) == NULL) || r;
- r = ((glCreateShader = (PFNGLCREATESHADERPROC)glewGetProcAddress((const GLubyte*)"glCreateShader")) == NULL) || r;
- r = ((glDeleteProgram = (PFNGLDELETEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgram")) == NULL) || r;
- r = ((glDeleteShader = (PFNGLDELETESHADERPROC)glewGetProcAddress((const GLubyte*)"glDeleteShader")) == NULL) || r;
- r = ((glDetachShader = (PFNGLDETACHSHADERPROC)glewGetProcAddress((const GLubyte*)"glDetachShader")) == NULL) || r;
- r = ((glDisableVertexAttribArray = (PFNGLDISABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArray")) == NULL) || r;
- r = ((glDrawBuffers = (PFNGLDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffers")) == NULL) || r;
- r = ((glEnableVertexAttribArray = (PFNGLENABLEVERTEXATTRIBARRAYPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArray")) == NULL) || r;
- r = ((glGetActiveAttrib = (PFNGLGETACTIVEATTRIBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttrib")) == NULL) || r;
- r = ((glGetActiveUniform = (PFNGLGETACTIVEUNIFORMPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniform")) == NULL) || r;
- r = ((glGetAttachedShaders = (PFNGLGETATTACHEDSHADERSPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedShaders")) == NULL) || r;
- r = ((glGetAttribLocation = (PFNGLGETATTRIBLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocation")) == NULL) || r;
- r = ((glGetProgramInfoLog = (PFNGLGETPROGRAMINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInfoLog")) == NULL) || r;
- r = ((glGetProgramiv = (PFNGLGETPROGRAMIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramiv")) == NULL) || r;
- r = ((glGetShaderInfoLog = (PFNGLGETSHADERINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetShaderInfoLog")) == NULL) || r;
- r = ((glGetShaderSource = (PFNGLGETSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSource")) == NULL) || r;
- r = ((glGetShaderiv = (PFNGLGETSHADERIVPROC)glewGetProcAddress((const GLubyte*)"glGetShaderiv")) == NULL) || r;
- r = ((glGetUniformLocation = (PFNGLGETUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocation")) == NULL) || r;
- r = ((glGetUniformfv = (PFNGLGETUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfv")) == NULL) || r;
- r = ((glGetUniformiv = (PFNGLGETUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformiv")) == NULL) || r;
- r = ((glGetVertexAttribPointerv = (PFNGLGETVERTEXATTRIBPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointerv")) == NULL) || r;
- r = ((glGetVertexAttribdv = (PFNGLGETVERTEXATTRIBDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdv")) == NULL) || r;
- r = ((glGetVertexAttribfv = (PFNGLGETVERTEXATTRIBFVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfv")) == NULL) || r;
- r = ((glGetVertexAttribiv = (PFNGLGETVERTEXATTRIBIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribiv")) == NULL) || r;
- r = ((glIsProgram = (PFNGLISPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glIsProgram")) == NULL) || r;
- r = ((glIsShader = (PFNGLISSHADERPROC)glewGetProcAddress((const GLubyte*)"glIsShader")) == NULL) || r;
- r = ((glLinkProgram = (PFNGLLINKPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glLinkProgram")) == NULL) || r;
- r = ((glShaderSource = (PFNGLSHADERSOURCEPROC)glewGetProcAddress((const GLubyte*)"glShaderSource")) == NULL) || r;
- r = ((glStencilFuncSeparate = (PFNGLSTENCILFUNCSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparate")) == NULL) || r;
- r = ((glStencilMaskSeparate = (PFNGLSTENCILMASKSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilMaskSeparate")) == NULL) || r;
- r = ((glStencilOpSeparate = (PFNGLSTENCILOPSEPARATEPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparate")) == NULL) || r;
- r = ((glUniform1f = (PFNGLUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glUniform1f")) == NULL) || r;
- r = ((glUniform1fv = (PFNGLUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glUniform1fv")) == NULL) || r;
- r = ((glUniform1i = (PFNGLUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glUniform1i")) == NULL) || r;
- r = ((glUniform1iv = (PFNGLUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glUniform1iv")) == NULL) || r;
- r = ((glUniform2f = (PFNGLUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glUniform2f")) == NULL) || r;
- r = ((glUniform2fv = (PFNGLUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glUniform2fv")) == NULL) || r;
- r = ((glUniform2i = (PFNGLUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glUniform2i")) == NULL) || r;
- r = ((glUniform2iv = (PFNGLUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glUniform2iv")) == NULL) || r;
- r = ((glUniform3f = (PFNGLUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glUniform3f")) == NULL) || r;
- r = ((glUniform3fv = (PFNGLUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glUniform3fv")) == NULL) || r;
- r = ((glUniform3i = (PFNGLUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glUniform3i")) == NULL) || r;
- r = ((glUniform3iv = (PFNGLUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glUniform3iv")) == NULL) || r;
- r = ((glUniform4f = (PFNGLUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glUniform4f")) == NULL) || r;
- r = ((glUniform4fv = (PFNGLUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glUniform4fv")) == NULL) || r;
- r = ((glUniform4i = (PFNGLUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glUniform4i")) == NULL) || r;
- r = ((glUniform4iv = (PFNGLUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glUniform4iv")) == NULL) || r;
- r = ((glUniformMatrix2fv = (PFNGLUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fv")) == NULL) || r;
- r = ((glUniformMatrix3fv = (PFNGLUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fv")) == NULL) || r;
- r = ((glUniformMatrix4fv = (PFNGLUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fv")) == NULL) || r;
- r = ((glUseProgram = (PFNGLUSEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glUseProgram")) == NULL) || r;
- r = ((glValidateProgram = (PFNGLVALIDATEPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glValidateProgram")) == NULL) || r;
- r = ((glVertexAttrib1d = (PFNGLVERTEXATTRIB1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1d")) == NULL) || r;
- r = ((glVertexAttrib1dv = (PFNGLVERTEXATTRIB1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dv")) == NULL) || r;
- r = ((glVertexAttrib1f = (PFNGLVERTEXATTRIB1FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1f")) == NULL) || r;
- r = ((glVertexAttrib1fv = (PFNGLVERTEXATTRIB1FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fv")) == NULL) || r;
- r = ((glVertexAttrib1s = (PFNGLVERTEXATTRIB1SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1s")) == NULL) || r;
- r = ((glVertexAttrib1sv = (PFNGLVERTEXATTRIB1SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sv")) == NULL) || r;
- r = ((glVertexAttrib2d = (PFNGLVERTEXATTRIB2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2d")) == NULL) || r;
- r = ((glVertexAttrib2dv = (PFNGLVERTEXATTRIB2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dv")) == NULL) || r;
- r = ((glVertexAttrib2f = (PFNGLVERTEXATTRIB2FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2f")) == NULL) || r;
- r = ((glVertexAttrib2fv = (PFNGLVERTEXATTRIB2FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fv")) == NULL) || r;
- r = ((glVertexAttrib2s = (PFNGLVERTEXATTRIB2SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2s")) == NULL) || r;
- r = ((glVertexAttrib2sv = (PFNGLVERTEXATTRIB2SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sv")) == NULL) || r;
- r = ((glVertexAttrib3d = (PFNGLVERTEXATTRIB3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3d")) == NULL) || r;
- r = ((glVertexAttrib3dv = (PFNGLVERTEXATTRIB3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dv")) == NULL) || r;
- r = ((glVertexAttrib3f = (PFNGLVERTEXATTRIB3FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3f")) == NULL) || r;
- r = ((glVertexAttrib3fv = (PFNGLVERTEXATTRIB3FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fv")) == NULL) || r;
- r = ((glVertexAttrib3s = (PFNGLVERTEXATTRIB3SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3s")) == NULL) || r;
- r = ((glVertexAttrib3sv = (PFNGLVERTEXATTRIB3SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sv")) == NULL) || r;
- r = ((glVertexAttrib4Nbv = (PFNGLVERTEXATTRIB4NBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nbv")) == NULL) || r;
- r = ((glVertexAttrib4Niv = (PFNGLVERTEXATTRIB4NIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Niv")) == NULL) || r;
- r = ((glVertexAttrib4Nsv = (PFNGLVERTEXATTRIB4NSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nsv")) == NULL) || r;
- r = ((glVertexAttrib4Nub = (PFNGLVERTEXATTRIB4NUBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nub")) == NULL) || r;
- r = ((glVertexAttrib4Nubv = (PFNGLVERTEXATTRIB4NUBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nubv")) == NULL) || r;
- r = ((glVertexAttrib4Nuiv = (PFNGLVERTEXATTRIB4NUIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nuiv")) == NULL) || r;
- r = ((glVertexAttrib4Nusv = (PFNGLVERTEXATTRIB4NUSVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4Nusv")) == NULL) || r;
- r = ((glVertexAttrib4bv = (PFNGLVERTEXATTRIB4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bv")) == NULL) || r;
- r = ((glVertexAttrib4d = (PFNGLVERTEXATTRIB4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4d")) == NULL) || r;
- r = ((glVertexAttrib4dv = (PFNGLVERTEXATTRIB4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dv")) == NULL) || r;
- r = ((glVertexAttrib4f = (PFNGLVERTEXATTRIB4FPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4f")) == NULL) || r;
- r = ((glVertexAttrib4fv = (PFNGLVERTEXATTRIB4FVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fv")) == NULL) || r;
- r = ((glVertexAttrib4iv = (PFNGLVERTEXATTRIB4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4iv")) == NULL) || r;
- r = ((glVertexAttrib4s = (PFNGLVERTEXATTRIB4SPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4s")) == NULL) || r;
- r = ((glVertexAttrib4sv = (PFNGLVERTEXATTRIB4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sv")) == NULL) || r;
- r = ((glVertexAttrib4ubv = (PFNGLVERTEXATTRIB4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubv")) == NULL) || r;
- r = ((glVertexAttrib4uiv = (PFNGLVERTEXATTRIB4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uiv")) == NULL) || r;
- r = ((glVertexAttrib4usv = (PFNGLVERTEXATTRIB4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usv")) == NULL) || r;
- r = ((glVertexAttribPointer = (PFNGLVERTEXATTRIBPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointer")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_2_0 */
- #ifdef GL_VERSION_2_1
- static GLboolean _glewInit_GL_VERSION_2_1 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glUniformMatrix2x3fv = (PFNGLUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fv")) == NULL) || r;
- r = ((glUniformMatrix2x4fv = (PFNGLUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fv")) == NULL) || r;
- r = ((glUniformMatrix3x2fv = (PFNGLUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fv")) == NULL) || r;
- r = ((glUniformMatrix3x4fv = (PFNGLUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fv")) == NULL) || r;
- r = ((glUniformMatrix4x2fv = (PFNGLUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fv")) == NULL) || r;
- r = ((glUniformMatrix4x3fv = (PFNGLUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fv")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_2_1 */
- #ifdef GL_VERSION_3_0
- static GLboolean _glewInit_GL_VERSION_3_0 ()
- {
- GLboolean r = GL_FALSE;
- r = _glewInit_GL_ARB_framebuffer_object() || r;
- r = _glewInit_GL_ARB_map_buffer_range() || r;
- r = _glewInit_GL_ARB_uniform_buffer_object() || r;
- r = _glewInit_GL_ARB_vertex_array_object() || r;
- r = ((glBeginConditionalRender = (PFNGLBEGINCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRender")) == NULL) || r;
- r = ((glBeginTransformFeedback = (PFNGLBEGINTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedback")) == NULL) || r;
- r = ((glBindFragDataLocation = (PFNGLBINDFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocation")) == NULL) || r;
- r = ((glClampColor = (PFNGLCLAMPCOLORPROC)glewGetProcAddress((const GLubyte*)"glClampColor")) == NULL) || r;
- r = ((glClearBufferfi = (PFNGLCLEARBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfi")) == NULL) || r;
- r = ((glClearBufferfv = (PFNGLCLEARBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferfv")) == NULL) || r;
- r = ((glClearBufferiv = (PFNGLCLEARBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferiv")) == NULL) || r;
- r = ((glClearBufferuiv = (PFNGLCLEARBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearBufferuiv")) == NULL) || r;
- r = ((glColorMaski = (PFNGLCOLORMASKIPROC)glewGetProcAddress((const GLubyte*)"glColorMaski")) == NULL) || r;
- r = ((glDisablei = (PFNGLDISABLEIPROC)glewGetProcAddress((const GLubyte*)"glDisablei")) == NULL) || r;
- r = ((glEnablei = (PFNGLENABLEIPROC)glewGetProcAddress((const GLubyte*)"glEnablei")) == NULL) || r;
- r = ((glEndConditionalRender = (PFNGLENDCONDITIONALRENDERPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRender")) == NULL) || r;
- r = ((glEndTransformFeedback = (PFNGLENDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedback")) == NULL) || r;
- r = ((glGetBooleani_v = (PFNGLGETBOOLEANI_VPROC)glewGetProcAddress((const GLubyte*)"glGetBooleani_v")) == NULL) || r;
- r = ((glGetFragDataLocation = (PFNGLGETFRAGDATALOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocation")) == NULL) || r;
- r = ((glGetStringi = (PFNGLGETSTRINGIPROC)glewGetProcAddress((const GLubyte*)"glGetStringi")) == NULL) || r;
- r = ((glGetTexParameterIiv = (PFNGLGETTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIiv")) == NULL) || r;
- r = ((glGetTexParameterIuiv = (PFNGLGETTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuiv")) == NULL) || r;
- r = ((glGetTransformFeedbackVarying = (PFNGLGETTRANSFORMFEEDBACKVARYINGPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVarying")) == NULL) || r;
- r = ((glGetUniformuiv = (PFNGLGETUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuiv")) == NULL) || r;
- r = ((glGetVertexAttribIiv = (PFNGLGETVERTEXATTRIBIIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIiv")) == NULL) || r;
- r = ((glGetVertexAttribIuiv = (PFNGLGETVERTEXATTRIBIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuiv")) == NULL) || r;
- r = ((glIsEnabledi = (PFNGLISENABLEDIPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledi")) == NULL) || r;
- r = ((glTexParameterIiv = (PFNGLTEXPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIiv")) == NULL) || r;
- r = ((glTexParameterIuiv = (PFNGLTEXPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuiv")) == NULL) || r;
- r = ((glTransformFeedbackVaryings = (PFNGLTRANSFORMFEEDBACKVARYINGSPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryings")) == NULL) || r;
- r = ((glUniform1ui = (PFNGLUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui")) == NULL) || r;
- r = ((glUniform1uiv = (PFNGLUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiv")) == NULL) || r;
- r = ((glUniform2ui = (PFNGLUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui")) == NULL) || r;
- r = ((glUniform2uiv = (PFNGLUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiv")) == NULL) || r;
- r = ((glUniform3ui = (PFNGLUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui")) == NULL) || r;
- r = ((glUniform3uiv = (PFNGLUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiv")) == NULL) || r;
- r = ((glUniform4ui = (PFNGLUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui")) == NULL) || r;
- r = ((glUniform4uiv = (PFNGLUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiv")) == NULL) || r;
- r = ((glVertexAttribI1i = (PFNGLVERTEXATTRIBI1IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1i")) == NULL) || r;
- r = ((glVertexAttribI1iv = (PFNGLVERTEXATTRIBI1IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iv")) == NULL) || r;
- r = ((glVertexAttribI1ui = (PFNGLVERTEXATTRIBI1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ui")) == NULL) || r;
- r = ((glVertexAttribI1uiv = (PFNGLVERTEXATTRIBI1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiv")) == NULL) || r;
- r = ((glVertexAttribI2i = (PFNGLVERTEXATTRIBI2IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2i")) == NULL) || r;
- r = ((glVertexAttribI2iv = (PFNGLVERTEXATTRIBI2IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iv")) == NULL) || r;
- r = ((glVertexAttribI2ui = (PFNGLVERTEXATTRIBI2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ui")) == NULL) || r;
- r = ((glVertexAttribI2uiv = (PFNGLVERTEXATTRIBI2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiv")) == NULL) || r;
- r = ((glVertexAttribI3i = (PFNGLVERTEXATTRIBI3IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3i")) == NULL) || r;
- r = ((glVertexAttribI3iv = (PFNGLVERTEXATTRIBI3IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iv")) == NULL) || r;
- r = ((glVertexAttribI3ui = (PFNGLVERTEXATTRIBI3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ui")) == NULL) || r;
- r = ((glVertexAttribI3uiv = (PFNGLVERTEXATTRIBI3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiv")) == NULL) || r;
- r = ((glVertexAttribI4bv = (PFNGLVERTEXATTRIBI4BVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bv")) == NULL) || r;
- r = ((glVertexAttribI4i = (PFNGLVERTEXATTRIBI4IPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4i")) == NULL) || r;
- r = ((glVertexAttribI4iv = (PFNGLVERTEXATTRIBI4IVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iv")) == NULL) || r;
- r = ((glVertexAttribI4sv = (PFNGLVERTEXATTRIBI4SVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4sv")) == NULL) || r;
- r = ((glVertexAttribI4ubv = (PFNGLVERTEXATTRIBI4UBVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubv")) == NULL) || r;
- r = ((glVertexAttribI4ui = (PFNGLVERTEXATTRIBI4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ui")) == NULL) || r;
- r = ((glVertexAttribI4uiv = (PFNGLVERTEXATTRIBI4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiv")) == NULL) || r;
- r = ((glVertexAttribI4usv = (PFNGLVERTEXATTRIBI4USVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usv")) == NULL) || r;
- r = ((glVertexAttribIPointer = (PFNGLVERTEXATTRIBIPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointer")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_3_0 */
- #ifdef GL_VERSION_3_1
- static GLboolean _glewInit_GL_VERSION_3_1 ()
- {
- GLboolean r = GL_FALSE;
- r = _glewInit_GL_ARB_copy_buffer() || r;
- r = ((glDrawArraysInstanced = (PFNGLDRAWARRAYSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstanced")) == NULL) || r;
- r = ((glDrawElementsInstanced = (PFNGLDRAWELEMENTSINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstanced")) == NULL) || r;
- r = ((glPrimitiveRestartIndex = (PFNGLPRIMITIVERESTARTINDEXPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndex")) == NULL) || r;
- r = ((glTexBuffer = (PFNGLTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTexBuffer")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_3_1 */
- #ifdef GL_VERSION_3_2
- static GLboolean _glewInit_GL_VERSION_3_2 ()
- {
- GLboolean r = GL_FALSE;
- r = _glewInit_GL_ARB_draw_elements_base_vertex() || r;
- r = _glewInit_GL_ARB_provoking_vertex() || r;
- r = _glewInit_GL_ARB_sync() || r;
- r = _glewInit_GL_ARB_texture_multisample() || r;
- r = ((glFramebufferTexture = (PFNGLFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture")) == NULL) || r;
- r = ((glGetBufferParameteri64v = (PFNGLGETBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameteri64v")) == NULL) || r;
- r = ((glGetInteger64i_v = (PFNGLGETINTEGER64I_VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64i_v")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_3_2 */
- #ifdef GL_VERSION_3_3
- static GLboolean _glewInit_GL_VERSION_3_3 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexAttribDivisor = (PFNGLVERTEXATTRIBDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisor")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_3_3 */
- #ifdef GL_VERSION_4_0
- static GLboolean _glewInit_GL_VERSION_4_0 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationSeparatei = (PFNGLBLENDEQUATIONSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparatei")) == NULL) || r;
- r = ((glBlendEquationi = (PFNGLBLENDEQUATIONIPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationi")) == NULL) || r;
- r = ((glBlendFuncSeparatei = (PFNGLBLENDFUNCSEPARATEIPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparatei")) == NULL) || r;
- r = ((glBlendFunci = (PFNGLBLENDFUNCIPROC)glewGetProcAddress((const GLubyte*)"glBlendFunci")) == NULL) || r;
- r = ((glMinSampleShading = (PFNGLMINSAMPLESHADINGPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShading")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_4_0 */
- #ifdef GL_VERSION_4_5
- static GLboolean _glewInit_GL_VERSION_4_5 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetGraphicsResetStatus = (PFNGLGETGRAPHICSRESETSTATUSPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatus")) == NULL) || r;
- r = ((glGetnCompressedTexImage = (PFNGLGETNCOMPRESSEDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImage")) == NULL) || r;
- r = ((glGetnTexImage = (PFNGLGETNTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImage")) == NULL) || r;
- r = ((glGetnUniformdv = (PFNGLGETNUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdv")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_4_5 */
- #ifdef GL_VERSION_4_6
- static GLboolean _glewInit_GL_VERSION_4_6 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectCount = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectCount")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectCount = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectCount")) == NULL) || r;
- r = ((glSpecializeShader = (PFNGLSPECIALIZESHADERPROC)glewGetProcAddress((const GLubyte*)"glSpecializeShader")) == NULL) || r;
- return r;
- }
- #endif /* GL_VERSION_4_6 */
- #ifdef GL_3DFX_tbuffer
- static GLboolean _glewInit_GL_3DFX_tbuffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTbufferMask3DFX = (PFNGLTBUFFERMASK3DFXPROC)glewGetProcAddress((const GLubyte*)"glTbufferMask3DFX")) == NULL) || r;
- return r;
- }
- #endif /* GL_3DFX_tbuffer */
- #ifdef GL_AMD_debug_output
- static GLboolean _glewInit_GL_AMD_debug_output ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDebugMessageCallbackAMD = (PFNGLDEBUGMESSAGECALLBACKAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackAMD")) == NULL) || r;
- r = ((glDebugMessageEnableAMD = (PFNGLDEBUGMESSAGEENABLEAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageEnableAMD")) == NULL) || r;
- r = ((glDebugMessageInsertAMD = (PFNGLDEBUGMESSAGEINSERTAMDPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertAMD")) == NULL) || r;
- r = ((glGetDebugMessageLogAMD = (PFNGLGETDEBUGMESSAGELOGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_debug_output */
- #ifdef GL_AMD_draw_buffers_blend
- static GLboolean _glewInit_GL_AMD_draw_buffers_blend ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationIndexedAMD = (PFNGLBLENDEQUATIONINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationIndexedAMD")) == NULL) || r;
- r = ((glBlendEquationSeparateIndexedAMD = (PFNGLBLENDEQUATIONSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateIndexedAMD")) == NULL) || r;
- r = ((glBlendFuncIndexedAMD = (PFNGLBLENDFUNCINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncIndexedAMD")) == NULL) || r;
- r = ((glBlendFuncSeparateIndexedAMD = (PFNGLBLENDFUNCSEPARATEINDEXEDAMDPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateIndexedAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_draw_buffers_blend */
- #ifdef GL_AMD_framebuffer_sample_positions
- static GLboolean _glewInit_GL_AMD_framebuffer_sample_positions ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferSamplePositionsfvAMD = (PFNGLFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSamplePositionsfvAMD")) == NULL) || r;
- r = ((glGetFramebufferParameterfvAMD = (PFNGLGETFRAMEBUFFERPARAMETERFVAMDPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterfvAMD")) == NULL) || r;
- r = ((glGetNamedFramebufferParameterfvAMD = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERFVAMDPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterfvAMD")) == NULL) || r;
- r = ((glNamedFramebufferSamplePositionsfvAMD = (PFNGLNAMEDFRAMEBUFFERSAMPLEPOSITIONSFVAMDPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSamplePositionsfvAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_framebuffer_sample_positions */
- #ifdef GL_AMD_interleaved_elements
- static GLboolean _glewInit_GL_AMD_interleaved_elements ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexAttribParameteriAMD = (PFNGLVERTEXATTRIBPARAMETERIAMDPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribParameteriAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_interleaved_elements */
- #ifdef GL_AMD_multi_draw_indirect
- static GLboolean _glewInit_GL_AMD_multi_draw_indirect ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectAMD = (PFNGLMULTIDRAWARRAYSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectAMD")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectAMD = (PFNGLMULTIDRAWELEMENTSINDIRECTAMDPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_multi_draw_indirect */
- #ifdef GL_AMD_name_gen_delete
- static GLboolean _glewInit_GL_AMD_name_gen_delete ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDeleteNamesAMD = (PFNGLDELETENAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamesAMD")) == NULL) || r;
- r = ((glGenNamesAMD = (PFNGLGENNAMESAMDPROC)glewGetProcAddress((const GLubyte*)"glGenNamesAMD")) == NULL) || r;
- r = ((glIsNameAMD = (PFNGLISNAMEAMDPROC)glewGetProcAddress((const GLubyte*)"glIsNameAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_name_gen_delete */
- #ifdef GL_AMD_occlusion_query_event
- static GLboolean _glewInit_GL_AMD_occlusion_query_event ()
- {
- GLboolean r = GL_FALSE;
- r = ((glQueryObjectParameteruiAMD = (PFNGLQUERYOBJECTPARAMETERUIAMDPROC)glewGetProcAddress((const GLubyte*)"glQueryObjectParameteruiAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_occlusion_query_event */
- #ifdef GL_AMD_performance_monitor
- static GLboolean _glewInit_GL_AMD_performance_monitor ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginPerfMonitorAMD = (PFNGLBEGINPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfMonitorAMD")) == NULL) || r;
- r = ((glDeletePerfMonitorsAMD = (PFNGLDELETEPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfMonitorsAMD")) == NULL) || r;
- r = ((glEndPerfMonitorAMD = (PFNGLENDPERFMONITORAMDPROC)glewGetProcAddress((const GLubyte*)"glEndPerfMonitorAMD")) == NULL) || r;
- r = ((glGenPerfMonitorsAMD = (PFNGLGENPERFMONITORSAMDPROC)glewGetProcAddress((const GLubyte*)"glGenPerfMonitorsAMD")) == NULL) || r;
- r = ((glGetPerfMonitorCounterDataAMD = (PFNGLGETPERFMONITORCOUNTERDATAAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterDataAMD")) == NULL) || r;
- r = ((glGetPerfMonitorCounterInfoAMD = (PFNGLGETPERFMONITORCOUNTERINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterInfoAMD")) == NULL) || r;
- r = ((glGetPerfMonitorCounterStringAMD = (PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCounterStringAMD")) == NULL) || r;
- r = ((glGetPerfMonitorCountersAMD = (PFNGLGETPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorCountersAMD")) == NULL) || r;
- r = ((glGetPerfMonitorGroupStringAMD = (PFNGLGETPERFMONITORGROUPSTRINGAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupStringAMD")) == NULL) || r;
- r = ((glGetPerfMonitorGroupsAMD = (PFNGLGETPERFMONITORGROUPSAMDPROC)glewGetProcAddress((const GLubyte*)"glGetPerfMonitorGroupsAMD")) == NULL) || r;
- r = ((glSelectPerfMonitorCountersAMD = (PFNGLSELECTPERFMONITORCOUNTERSAMDPROC)glewGetProcAddress((const GLubyte*)"glSelectPerfMonitorCountersAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_performance_monitor */
- #ifdef GL_AMD_sample_positions
- static GLboolean _glewInit_GL_AMD_sample_positions ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSetMultisamplefvAMD = (PFNGLSETMULTISAMPLEFVAMDPROC)glewGetProcAddress((const GLubyte*)"glSetMultisamplefvAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_sample_positions */
- #ifdef GL_AMD_sparse_texture
- static GLboolean _glewInit_GL_AMD_sparse_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexStorageSparseAMD = (PFNGLTEXSTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTexStorageSparseAMD")) == NULL) || r;
- r = ((glTextureStorageSparseAMD = (PFNGLTEXTURESTORAGESPARSEAMDPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageSparseAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_sparse_texture */
- #ifdef GL_AMD_stencil_operation_extended
- static GLboolean _glewInit_GL_AMD_stencil_operation_extended ()
- {
- GLboolean r = GL_FALSE;
- r = ((glStencilOpValueAMD = (PFNGLSTENCILOPVALUEAMDPROC)glewGetProcAddress((const GLubyte*)"glStencilOpValueAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_stencil_operation_extended */
- #ifdef GL_AMD_vertex_shader_tessellator
- static GLboolean _glewInit_GL_AMD_vertex_shader_tessellator ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTessellationFactorAMD = (PFNGLTESSELLATIONFACTORAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationFactorAMD")) == NULL) || r;
- r = ((glTessellationModeAMD = (PFNGLTESSELLATIONMODEAMDPROC)glewGetProcAddress((const GLubyte*)"glTessellationModeAMD")) == NULL) || r;
- return r;
- }
- #endif /* GL_AMD_vertex_shader_tessellator */
- #ifdef GL_ANGLE_framebuffer_blit
- static GLboolean _glewInit_GL_ANGLE_framebuffer_blit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlitFramebufferANGLE = (PFNGLBLITFRAMEBUFFERANGLEPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferANGLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_ANGLE_framebuffer_blit */
- #ifdef GL_ANGLE_framebuffer_multisample
- static GLboolean _glewInit_GL_ANGLE_framebuffer_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glRenderbufferStorageMultisampleANGLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleANGLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_ANGLE_framebuffer_multisample */
- #ifdef GL_ANGLE_instanced_arrays
- static GLboolean _glewInit_GL_ANGLE_instanced_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedANGLE = (PFNGLDRAWARRAYSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedANGLE")) == NULL) || r;
- r = ((glDrawElementsInstancedANGLE = (PFNGLDRAWELEMENTSINSTANCEDANGLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedANGLE")) == NULL) || r;
- r = ((glVertexAttribDivisorANGLE = (PFNGLVERTEXATTRIBDIVISORANGLEPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorANGLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_ANGLE_instanced_arrays */
- #ifdef GL_ANGLE_timer_query
- static GLboolean _glewInit_GL_ANGLE_timer_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginQueryANGLE = (PFNGLBEGINQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryANGLE")) == NULL) || r;
- r = ((glDeleteQueriesANGLE = (PFNGLDELETEQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesANGLE")) == NULL) || r;
- r = ((glEndQueryANGLE = (PFNGLENDQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glEndQueryANGLE")) == NULL) || r;
- r = ((glGenQueriesANGLE = (PFNGLGENQUERIESANGLEPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesANGLE")) == NULL) || r;
- r = ((glGetQueryObjecti64vANGLE = (PFNGLGETQUERYOBJECTI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vANGLE")) == NULL) || r;
- r = ((glGetQueryObjectivANGLE = (PFNGLGETQUERYOBJECTIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivANGLE")) == NULL) || r;
- r = ((glGetQueryObjectui64vANGLE = (PFNGLGETQUERYOBJECTUI64VANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vANGLE")) == NULL) || r;
- r = ((glGetQueryObjectuivANGLE = (PFNGLGETQUERYOBJECTUIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivANGLE")) == NULL) || r;
- r = ((glGetQueryivANGLE = (PFNGLGETQUERYIVANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivANGLE")) == NULL) || r;
- r = ((glIsQueryANGLE = (PFNGLISQUERYANGLEPROC)glewGetProcAddress((const GLubyte*)"glIsQueryANGLE")) == NULL) || r;
- r = ((glQueryCounterANGLE = (PFNGLQUERYCOUNTERANGLEPROC)glewGetProcAddress((const GLubyte*)"glQueryCounterANGLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_ANGLE_timer_query */
- #ifdef GL_ANGLE_translated_shader_source
- static GLboolean _glewInit_GL_ANGLE_translated_shader_source ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetTranslatedShaderSourceANGLE = (PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC)glewGetProcAddress((const GLubyte*)"glGetTranslatedShaderSourceANGLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_ANGLE_translated_shader_source */
- #ifdef GL_APPLE_copy_texture_levels
- static GLboolean _glewInit_GL_APPLE_copy_texture_levels ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyTextureLevelsAPPLE = (PFNGLCOPYTEXTURELEVELSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureLevelsAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_copy_texture_levels */
- #ifdef GL_APPLE_element_array
- static GLboolean _glewInit_GL_APPLE_element_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawElementArrayAPPLE = (PFNGLDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayAPPLE")) == NULL) || r;
- r = ((glDrawRangeElementArrayAPPLE = (PFNGLDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayAPPLE")) == NULL) || r;
- r = ((glElementPointerAPPLE = (PFNGLELEMENTPOINTERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glElementPointerAPPLE")) == NULL) || r;
- r = ((glMultiDrawElementArrayAPPLE = (PFNGLMULTIDRAWELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementArrayAPPLE")) == NULL) || r;
- r = ((glMultiDrawRangeElementArrayAPPLE = (PFNGLMULTIDRAWRANGEELEMENTARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawRangeElementArrayAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_element_array */
- #ifdef GL_APPLE_fence
- static GLboolean _glewInit_GL_APPLE_fence ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDeleteFencesAPPLE = (PFNGLDELETEFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesAPPLE")) == NULL) || r;
- r = ((glFinishFenceAPPLE = (PFNGLFINISHFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceAPPLE")) == NULL) || r;
- r = ((glFinishObjectAPPLE = (PFNGLFINISHOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFinishObjectAPPLE")) == NULL) || r;
- r = ((glGenFencesAPPLE = (PFNGLGENFENCESAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenFencesAPPLE")) == NULL) || r;
- r = ((glIsFenceAPPLE = (PFNGLISFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsFenceAPPLE")) == NULL) || r;
- r = ((glSetFenceAPPLE = (PFNGLSETFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glSetFenceAPPLE")) == NULL) || r;
- r = ((glTestFenceAPPLE = (PFNGLTESTFENCEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestFenceAPPLE")) == NULL) || r;
- r = ((glTestObjectAPPLE = (PFNGLTESTOBJECTAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTestObjectAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_fence */
- #ifdef GL_APPLE_flush_buffer_range
- static GLboolean _glewInit_GL_APPLE_flush_buffer_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferParameteriAPPLE = (PFNGLBUFFERPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBufferParameteriAPPLE")) == NULL) || r;
- r = ((glFlushMappedBufferRangeAPPLE = (PFNGLFLUSHMAPPEDBUFFERRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_flush_buffer_range */
- #ifdef GL_APPLE_framebuffer_multisample
- static GLboolean _glewInit_GL_APPLE_framebuffer_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glRenderbufferStorageMultisampleAPPLE = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleAPPLE")) == NULL) || r;
- r = ((glResolveMultisampleFramebufferAPPLE = (PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC)glewGetProcAddress((const GLubyte*)"glResolveMultisampleFramebufferAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_framebuffer_multisample */
- #ifdef GL_APPLE_object_purgeable
- static GLboolean _glewInit_GL_APPLE_object_purgeable ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetObjectParameterivAPPLE = (PFNGLGETOBJECTPARAMETERIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivAPPLE")) == NULL) || r;
- r = ((glObjectPurgeableAPPLE = (PFNGLOBJECTPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectPurgeableAPPLE")) == NULL) || r;
- r = ((glObjectUnpurgeableAPPLE = (PFNGLOBJECTUNPURGEABLEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glObjectUnpurgeableAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_object_purgeable */
- #ifdef GL_APPLE_sync
- static GLboolean _glewInit_GL_APPLE_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClientWaitSyncAPPLE = (PFNGLCLIENTWAITSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSyncAPPLE")) == NULL) || r;
- r = ((glDeleteSyncAPPLE = (PFNGLDELETESYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteSyncAPPLE")) == NULL) || r;
- r = ((glFenceSyncAPPLE = (PFNGLFENCESYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFenceSyncAPPLE")) == NULL) || r;
- r = ((glGetInteger64vAPPLE = (PFNGLGETINTEGER64VAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64vAPPLE")) == NULL) || r;
- r = ((glGetSyncivAPPLE = (PFNGLGETSYNCIVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetSyncivAPPLE")) == NULL) || r;
- r = ((glIsSyncAPPLE = (PFNGLISSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsSyncAPPLE")) == NULL) || r;
- r = ((glWaitSyncAPPLE = (PFNGLWAITSYNCAPPLEPROC)glewGetProcAddress((const GLubyte*)"glWaitSyncAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_sync */
- #ifdef GL_APPLE_texture_range
- static GLboolean _glewInit_GL_APPLE_texture_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetTexParameterPointervAPPLE = (PFNGLGETTEXPARAMETERPOINTERVAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterPointervAPPLE")) == NULL) || r;
- r = ((glTextureRangeAPPLE = (PFNGLTEXTURERANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureRangeAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_texture_range */
- #ifdef GL_APPLE_vertex_array_object
- static GLboolean _glewInit_GL_APPLE_vertex_array_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindVertexArrayAPPLE = (PFNGLBINDVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArrayAPPLE")) == NULL) || r;
- r = ((glDeleteVertexArraysAPPLE = (PFNGLDELETEVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysAPPLE")) == NULL) || r;
- r = ((glGenVertexArraysAPPLE = (PFNGLGENVERTEXARRAYSAPPLEPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysAPPLE")) == NULL) || r;
- r = ((glIsVertexArrayAPPLE = (PFNGLISVERTEXARRAYAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArrayAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_vertex_array_object */
- #ifdef GL_APPLE_vertex_array_range
- static GLboolean _glewInit_GL_APPLE_vertex_array_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushVertexArrayRangeAPPLE = (PFNGLFLUSHVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeAPPLE")) == NULL) || r;
- r = ((glVertexArrayParameteriAPPLE = (PFNGLVERTEXARRAYPARAMETERIAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayParameteriAPPLE")) == NULL) || r;
- r = ((glVertexArrayRangeAPPLE = (PFNGLVERTEXARRAYRANGEAPPLEPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_vertex_array_range */
- #ifdef GL_APPLE_vertex_program_evaluators
- static GLboolean _glewInit_GL_APPLE_vertex_program_evaluators ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDisableVertexAttribAPPLE = (PFNGLDISABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribAPPLE")) == NULL) || r;
- r = ((glEnableVertexAttribAPPLE = (PFNGLENABLEVERTEXATTRIBAPPLEPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribAPPLE")) == NULL) || r;
- r = ((glIsVertexAttribEnabledAPPLE = (PFNGLISVERTEXATTRIBENABLEDAPPLEPROC)glewGetProcAddress((const GLubyte*)"glIsVertexAttribEnabledAPPLE")) == NULL) || r;
- r = ((glMapVertexAttrib1dAPPLE = (PFNGLMAPVERTEXATTRIB1DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1dAPPLE")) == NULL) || r;
- r = ((glMapVertexAttrib1fAPPLE = (PFNGLMAPVERTEXATTRIB1FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib1fAPPLE")) == NULL) || r;
- r = ((glMapVertexAttrib2dAPPLE = (PFNGLMAPVERTEXATTRIB2DAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2dAPPLE")) == NULL) || r;
- r = ((glMapVertexAttrib2fAPPLE = (PFNGLMAPVERTEXATTRIB2FAPPLEPROC)glewGetProcAddress((const GLubyte*)"glMapVertexAttrib2fAPPLE")) == NULL) || r;
- return r;
- }
- #endif /* GL_APPLE_vertex_program_evaluators */
- #ifdef GL_ARB_ES2_compatibility
- static GLboolean _glewInit_GL_ARB_ES2_compatibility ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearDepthf = (PFNGLCLEARDEPTHFPROC)glewGetProcAddress((const GLubyte*)"glClearDepthf")) == NULL) || r;
- r = ((glDepthRangef = (PFNGLDEPTHRANGEFPROC)glewGetProcAddress((const GLubyte*)"glDepthRangef")) == NULL) || r;
- r = ((glGetShaderPrecisionFormat = (PFNGLGETSHADERPRECISIONFORMATPROC)glewGetProcAddress((const GLubyte*)"glGetShaderPrecisionFormat")) == NULL) || r;
- r = ((glReleaseShaderCompiler = (PFNGLRELEASESHADERCOMPILERPROC)glewGetProcAddress((const GLubyte*)"glReleaseShaderCompiler")) == NULL) || r;
- r = ((glShaderBinary = (PFNGLSHADERBINARYPROC)glewGetProcAddress((const GLubyte*)"glShaderBinary")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_ES2_compatibility */
- #ifdef GL_ARB_ES3_1_compatibility
- static GLboolean _glewInit_GL_ARB_ES3_1_compatibility ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMemoryBarrierByRegion = (PFNGLMEMORYBARRIERBYREGIONPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierByRegion")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_ES3_1_compatibility */
- #ifdef GL_ARB_ES3_2_compatibility
- static GLboolean _glewInit_GL_ARB_ES3_2_compatibility ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPrimitiveBoundingBoxARB = (PFNGLPRIMITIVEBOUNDINGBOXARBPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveBoundingBoxARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_ES3_2_compatibility */
- #ifdef GL_ARB_base_instance
- static GLboolean _glewInit_GL_ARB_base_instance ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedBaseInstance = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstance")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstance")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseVertexBaseInstance = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstance")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_base_instance */
- #ifdef GL_ARB_bindless_texture
- static GLboolean _glewInit_GL_ARB_bindless_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetImageHandleARB = (PFNGLGETIMAGEHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleARB")) == NULL) || r;
- r = ((glGetTextureHandleARB = (PFNGLGETTEXTUREHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleARB")) == NULL) || r;
- r = ((glGetTextureSamplerHandleARB = (PFNGLGETTEXTURESAMPLERHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleARB")) == NULL) || r;
- r = ((glGetVertexAttribLui64vARB = (PFNGLGETVERTEXATTRIBLUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vARB")) == NULL) || r;
- r = ((glIsImageHandleResidentARB = (PFNGLISIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentARB")) == NULL) || r;
- r = ((glIsTextureHandleResidentARB = (PFNGLISTEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentARB")) == NULL) || r;
- r = ((glMakeImageHandleNonResidentARB = (PFNGLMAKEIMAGEHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentARB")) == NULL) || r;
- r = ((glMakeImageHandleResidentARB = (PFNGLMAKEIMAGEHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentARB")) == NULL) || r;
- r = ((glMakeTextureHandleNonResidentARB = (PFNGLMAKETEXTUREHANDLENONRESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentARB")) == NULL) || r;
- r = ((glMakeTextureHandleResidentARB = (PFNGLMAKETEXTUREHANDLERESIDENTARBPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentARB")) == NULL) || r;
- r = ((glProgramUniformHandleui64ARB = (PFNGLPROGRAMUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64ARB")) == NULL) || r;
- r = ((glProgramUniformHandleui64vARB = (PFNGLPROGRAMUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vARB")) == NULL) || r;
- r = ((glUniformHandleui64ARB = (PFNGLUNIFORMHANDLEUI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64ARB")) == NULL) || r;
- r = ((glUniformHandleui64vARB = (PFNGLUNIFORMHANDLEUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vARB")) == NULL) || r;
- r = ((glVertexAttribL1ui64ARB = (PFNGLVERTEXATTRIBL1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64ARB")) == NULL) || r;
- r = ((glVertexAttribL1ui64vARB = (PFNGLVERTEXATTRIBL1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_bindless_texture */
- #ifdef GL_ARB_blend_func_extended
- static GLboolean _glewInit_GL_ARB_blend_func_extended ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindFragDataLocationIndexed = (PFNGLBINDFRAGDATALOCATIONINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexed")) == NULL) || r;
- r = ((glGetFragDataIndex = (PFNGLGETFRAGDATAINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndex")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_blend_func_extended */
- #ifdef GL_ARB_buffer_storage
- static GLboolean _glewInit_GL_ARB_buffer_storage ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferStorage = (PFNGLBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glBufferStorage")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_buffer_storage */
- #ifdef GL_ARB_cl_event
- static GLboolean _glewInit_GL_ARB_cl_event ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCreateSyncFromCLeventARB = (PFNGLCREATESYNCFROMCLEVENTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateSyncFromCLeventARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_cl_event */
- #ifdef GL_ARB_clear_buffer_object
- static GLboolean _glewInit_GL_ARB_clear_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearBufferData = (PFNGLCLEARBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferData")) == NULL) || r;
- r = ((glClearBufferSubData = (PFNGLCLEARBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearBufferSubData")) == NULL) || r;
- r = ((glClearNamedBufferDataEXT = (PFNGLCLEARNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferDataEXT")) == NULL) || r;
- r = ((glClearNamedBufferSubDataEXT = (PFNGLCLEARNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubDataEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_clear_buffer_object */
- #ifdef GL_ARB_clear_texture
- static GLboolean _glewInit_GL_ARB_clear_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearTexImage = (PFNGLCLEARTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexImage")) == NULL) || r;
- r = ((glClearTexSubImage = (PFNGLCLEARTEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glClearTexSubImage")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_clear_texture */
- #ifdef GL_ARB_clip_control
- static GLboolean _glewInit_GL_ARB_clip_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClipControl = (PFNGLCLIPCONTROLPROC)glewGetProcAddress((const GLubyte*)"glClipControl")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_clip_control */
- #ifdef GL_ARB_color_buffer_float
- static GLboolean _glewInit_GL_ARB_color_buffer_float ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClampColorARB = (PFNGLCLAMPCOLORARBPROC)glewGetProcAddress((const GLubyte*)"glClampColorARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_color_buffer_float */
- #ifdef GL_ARB_compute_shader
- static GLboolean _glewInit_GL_ARB_compute_shader ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDispatchCompute = (PFNGLDISPATCHCOMPUTEPROC)glewGetProcAddress((const GLubyte*)"glDispatchCompute")) == NULL) || r;
- r = ((glDispatchComputeIndirect = (PFNGLDISPATCHCOMPUTEINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeIndirect")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_compute_shader */
- #ifdef GL_ARB_compute_variable_group_size
- static GLboolean _glewInit_GL_ARB_compute_variable_group_size ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDispatchComputeGroupSizeARB = (PFNGLDISPATCHCOMPUTEGROUPSIZEARBPROC)glewGetProcAddress((const GLubyte*)"glDispatchComputeGroupSizeARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_compute_variable_group_size */
- #ifdef GL_ARB_copy_buffer
- static GLboolean _glewInit_GL_ARB_copy_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyBufferSubData = (PFNGLCOPYBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubData")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_copy_buffer */
- #ifdef GL_ARB_copy_image
- static GLboolean _glewInit_GL_ARB_copy_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyImageSubData = (PFNGLCOPYIMAGESUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubData")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_copy_image */
- #ifdef GL_ARB_debug_output
- static GLboolean _glewInit_GL_ARB_debug_output ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDebugMessageCallbackARB = (PFNGLDEBUGMESSAGECALLBACKARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallbackARB")) == NULL) || r;
- r = ((glDebugMessageControlARB = (PFNGLDEBUGMESSAGECONTROLARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControlARB")) == NULL) || r;
- r = ((glDebugMessageInsertARB = (PFNGLDEBUGMESSAGEINSERTARBPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsertARB")) == NULL) || r;
- r = ((glGetDebugMessageLogARB = (PFNGLGETDEBUGMESSAGELOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLogARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_debug_output */
- #ifdef GL_ARB_direct_state_access
- static GLboolean _glewInit_GL_ARB_direct_state_access ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindTextureUnit = (PFNGLBINDTEXTUREUNITPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnit")) == NULL) || r;
- r = ((glBlitNamedFramebuffer = (PFNGLBLITNAMEDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitNamedFramebuffer")) == NULL) || r;
- r = ((glCheckNamedFramebufferStatus = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatus")) == NULL) || r;
- r = ((glClearNamedBufferData = (PFNGLCLEARNAMEDBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferData")) == NULL) || r;
- r = ((glClearNamedBufferSubData = (PFNGLCLEARNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glClearNamedBufferSubData")) == NULL) || r;
- r = ((glClearNamedFramebufferfi = (PFNGLCLEARNAMEDFRAMEBUFFERFIPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferfi")) == NULL) || r;
- r = ((glClearNamedFramebufferfv = (PFNGLCLEARNAMEDFRAMEBUFFERFVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferfv")) == NULL) || r;
- r = ((glClearNamedFramebufferiv = (PFNGLCLEARNAMEDFRAMEBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferiv")) == NULL) || r;
- r = ((glClearNamedFramebufferuiv = (PFNGLCLEARNAMEDFRAMEBUFFERUIVPROC)glewGetProcAddress((const GLubyte*)"glClearNamedFramebufferuiv")) == NULL) || r;
- r = ((glCompressedTextureSubImage1D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1D")) == NULL) || r;
- r = ((glCompressedTextureSubImage2D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2D")) == NULL) || r;
- r = ((glCompressedTextureSubImage3D = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3D")) == NULL) || r;
- r = ((glCopyNamedBufferSubData = (PFNGLCOPYNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glCopyNamedBufferSubData")) == NULL) || r;
- r = ((glCopyTextureSubImage1D = (PFNGLCOPYTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1D")) == NULL) || r;
- r = ((glCopyTextureSubImage2D = (PFNGLCOPYTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2D")) == NULL) || r;
- r = ((glCopyTextureSubImage3D = (PFNGLCOPYTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3D")) == NULL) || r;
- r = ((glCreateBuffers = (PFNGLCREATEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateBuffers")) == NULL) || r;
- r = ((glCreateFramebuffers = (PFNGLCREATEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateFramebuffers")) == NULL) || r;
- r = ((glCreateProgramPipelines = (PFNGLCREATEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramPipelines")) == NULL) || r;
- r = ((glCreateQueries = (PFNGLCREATEQUERIESPROC)glewGetProcAddress((const GLubyte*)"glCreateQueries")) == NULL) || r;
- r = ((glCreateRenderbuffers = (PFNGLCREATERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glCreateRenderbuffers")) == NULL) || r;
- r = ((glCreateSamplers = (PFNGLCREATESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glCreateSamplers")) == NULL) || r;
- r = ((glCreateTextures = (PFNGLCREATETEXTURESPROC)glewGetProcAddress((const GLubyte*)"glCreateTextures")) == NULL) || r;
- r = ((glCreateTransformFeedbacks = (PFNGLCREATETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glCreateTransformFeedbacks")) == NULL) || r;
- r = ((glCreateVertexArrays = (PFNGLCREATEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glCreateVertexArrays")) == NULL) || r;
- r = ((glDisableVertexArrayAttrib = (PFNGLDISABLEVERTEXARRAYATTRIBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttrib")) == NULL) || r;
- r = ((glEnableVertexArrayAttrib = (PFNGLENABLEVERTEXARRAYATTRIBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttrib")) == NULL) || r;
- r = ((glFlushMappedNamedBufferRange = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRange")) == NULL) || r;
- r = ((glGenerateTextureMipmap = (PFNGLGENERATETEXTUREMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmap")) == NULL) || r;
- r = ((glGetCompressedTextureImage = (PFNGLGETCOMPRESSEDTEXTUREIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImage")) == NULL) || r;
- r = ((glGetNamedBufferParameteri64v = (PFNGLGETNAMEDBUFFERPARAMETERI64VPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameteri64v")) == NULL) || r;
- r = ((glGetNamedBufferParameteriv = (PFNGLGETNAMEDBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameteriv")) == NULL) || r;
- r = ((glGetNamedBufferPointerv = (PFNGLGETNAMEDBUFFERPOINTERVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointerv")) == NULL) || r;
- r = ((glGetNamedBufferSubData = (PFNGLGETNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubData")) == NULL) || r;
- r = ((glGetNamedFramebufferAttachmentParameteriv = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameteriv")) == NULL) || r;
- r = ((glGetNamedFramebufferParameteriv = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameteriv")) == NULL) || r;
- r = ((glGetNamedRenderbufferParameteriv = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameteriv")) == NULL) || r;
- r = ((glGetQueryBufferObjecti64v = (PFNGLGETQUERYBUFFEROBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjecti64v")) == NULL) || r;
- r = ((glGetQueryBufferObjectiv = (PFNGLGETQUERYBUFFEROBJECTIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectiv")) == NULL) || r;
- r = ((glGetQueryBufferObjectui64v = (PFNGLGETQUERYBUFFEROBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectui64v")) == NULL) || r;
- r = ((glGetQueryBufferObjectuiv = (PFNGLGETQUERYBUFFEROBJECTUIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryBufferObjectuiv")) == NULL) || r;
- r = ((glGetTextureImage = (PFNGLGETTEXTUREIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImage")) == NULL) || r;
- r = ((glGetTextureLevelParameterfv = (PFNGLGETTEXTURELEVELPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfv")) == NULL) || r;
- r = ((glGetTextureLevelParameteriv = (PFNGLGETTEXTURELEVELPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameteriv")) == NULL) || r;
- r = ((glGetTextureParameterIiv = (PFNGLGETTEXTUREPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIiv")) == NULL) || r;
- r = ((glGetTextureParameterIuiv = (PFNGLGETTEXTUREPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuiv")) == NULL) || r;
- r = ((glGetTextureParameterfv = (PFNGLGETTEXTUREPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfv")) == NULL) || r;
- r = ((glGetTextureParameteriv = (PFNGLGETTEXTUREPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameteriv")) == NULL) || r;
- r = ((glGetTransformFeedbacki64_v = (PFNGLGETTRANSFORMFEEDBACKI64_VPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbacki64_v")) == NULL) || r;
- r = ((glGetTransformFeedbacki_v = (PFNGLGETTRANSFORMFEEDBACKI_VPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbacki_v")) == NULL) || r;
- r = ((glGetTransformFeedbackiv = (PFNGLGETTRANSFORMFEEDBACKIVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackiv")) == NULL) || r;
- r = ((glGetVertexArrayIndexed64iv = (PFNGLGETVERTEXARRAYINDEXED64IVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIndexed64iv")) == NULL) || r;
- r = ((glGetVertexArrayIndexediv = (PFNGLGETVERTEXARRAYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIndexediv")) == NULL) || r;
- r = ((glGetVertexArrayiv = (PFNGLGETVERTEXARRAYIVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayiv")) == NULL) || r;
- r = ((glInvalidateNamedFramebufferData = (PFNGLINVALIDATENAMEDFRAMEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateNamedFramebufferData")) == NULL) || r;
- r = ((glInvalidateNamedFramebufferSubData = (PFNGLINVALIDATENAMEDFRAMEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateNamedFramebufferSubData")) == NULL) || r;
- r = ((glMapNamedBuffer = (PFNGLMAPNAMEDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBuffer")) == NULL) || r;
- r = ((glMapNamedBufferRange = (PFNGLMAPNAMEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRange")) == NULL) || r;
- r = ((glNamedBufferData = (PFNGLNAMEDBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferData")) == NULL) || r;
- r = ((glNamedBufferStorage = (PFNGLNAMEDBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorage")) == NULL) || r;
- r = ((glNamedBufferSubData = (PFNGLNAMEDBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubData")) == NULL) || r;
- r = ((glNamedFramebufferDrawBuffer = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferDrawBuffer")) == NULL) || r;
- r = ((glNamedFramebufferDrawBuffers = (PFNGLNAMEDFRAMEBUFFERDRAWBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferDrawBuffers")) == NULL) || r;
- r = ((glNamedFramebufferParameteri = (PFNGLNAMEDFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteri")) == NULL) || r;
- r = ((glNamedFramebufferReadBuffer = (PFNGLNAMEDFRAMEBUFFERREADBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferReadBuffer")) == NULL) || r;
- r = ((glNamedFramebufferRenderbuffer = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbuffer")) == NULL) || r;
- r = ((glNamedFramebufferTexture = (PFNGLNAMEDFRAMEBUFFERTEXTUREPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture")) == NULL) || r;
- r = ((glNamedFramebufferTextureLayer = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayer")) == NULL) || r;
- r = ((glNamedRenderbufferStorage = (PFNGLNAMEDRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorage")) == NULL) || r;
- r = ((glNamedRenderbufferStorageMultisample = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisample")) == NULL) || r;
- r = ((glTextureBuffer = (PFNGLTEXTUREBUFFERPROC)glewGetProcAddress((const GLubyte*)"glTextureBuffer")) == NULL) || r;
- r = ((glTextureBufferRange = (PFNGLTEXTUREBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRange")) == NULL) || r;
- r = ((glTextureParameterIiv = (PFNGLTEXTUREPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIiv")) == NULL) || r;
- r = ((glTextureParameterIuiv = (PFNGLTEXTUREPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuiv")) == NULL) || r;
- r = ((glTextureParameterf = (PFNGLTEXTUREPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterf")) == NULL) || r;
- r = ((glTextureParameterfv = (PFNGLTEXTUREPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfv")) == NULL) || r;
- r = ((glTextureParameteri = (PFNGLTEXTUREPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteri")) == NULL) || r;
- r = ((glTextureParameteriv = (PFNGLTEXTUREPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriv")) == NULL) || r;
- r = ((glTextureStorage1D = (PFNGLTEXTURESTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1D")) == NULL) || r;
- r = ((glTextureStorage2D = (PFNGLTEXTURESTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2D")) == NULL) || r;
- r = ((glTextureStorage2DMultisample = (PFNGLTEXTURESTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisample")) == NULL) || r;
- r = ((glTextureStorage3D = (PFNGLTEXTURESTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3D")) == NULL) || r;
- r = ((glTextureStorage3DMultisample = (PFNGLTEXTURESTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisample")) == NULL) || r;
- r = ((glTextureSubImage1D = (PFNGLTEXTURESUBIMAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1D")) == NULL) || r;
- r = ((glTextureSubImage2D = (PFNGLTEXTURESUBIMAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2D")) == NULL) || r;
- r = ((glTextureSubImage3D = (PFNGLTEXTURESUBIMAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3D")) == NULL) || r;
- r = ((glTransformFeedbackBufferBase = (PFNGLTRANSFORMFEEDBACKBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackBufferBase")) == NULL) || r;
- r = ((glTransformFeedbackBufferRange = (PFNGLTRANSFORMFEEDBACKBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackBufferRange")) == NULL) || r;
- r = ((glUnmapNamedBuffer = (PFNGLUNMAPNAMEDBUFFERPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBuffer")) == NULL) || r;
- r = ((glVertexArrayAttribBinding = (PFNGLVERTEXARRAYATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribBinding")) == NULL) || r;
- r = ((glVertexArrayAttribFormat = (PFNGLVERTEXARRAYATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribFormat")) == NULL) || r;
- r = ((glVertexArrayAttribIFormat = (PFNGLVERTEXARRAYATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribIFormat")) == NULL) || r;
- r = ((glVertexArrayAttribLFormat = (PFNGLVERTEXARRAYATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayAttribLFormat")) == NULL) || r;
- r = ((glVertexArrayBindingDivisor = (PFNGLVERTEXARRAYBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayBindingDivisor")) == NULL) || r;
- r = ((glVertexArrayElementBuffer = (PFNGLVERTEXARRAYELEMENTBUFFERPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayElementBuffer")) == NULL) || r;
- r = ((glVertexArrayVertexBuffer = (PFNGLVERTEXARRAYVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBuffer")) == NULL) || r;
- r = ((glVertexArrayVertexBuffers = (PFNGLVERTEXARRAYVERTEXBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBuffers")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_direct_state_access */
- #ifdef GL_ARB_draw_buffers
- static GLboolean _glewInit_GL_ARB_draw_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawBuffersARB = (PFNGLDRAWBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_draw_buffers */
- #ifdef GL_ARB_draw_buffers_blend
- static GLboolean _glewInit_GL_ARB_draw_buffers_blend ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationSeparateiARB = (PFNGLBLENDEQUATIONSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiARB")) == NULL) || r;
- r = ((glBlendEquationiARB = (PFNGLBLENDEQUATIONIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiARB")) == NULL) || r;
- r = ((glBlendFuncSeparateiARB = (PFNGLBLENDFUNCSEPARATEIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiARB")) == NULL) || r;
- r = ((glBlendFunciARB = (PFNGLBLENDFUNCIARBPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_draw_buffers_blend */
- #ifdef GL_ARB_draw_elements_base_vertex
- static GLboolean _glewInit_GL_ARB_draw_elements_base_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawElementsBaseVertex = (PFNGLDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertex")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseVertex = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertex")) == NULL) || r;
- r = ((glDrawRangeElementsBaseVertex = (PFNGLDRAWRANGEELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertex")) == NULL) || r;
- r = ((glMultiDrawElementsBaseVertex = (PFNGLMULTIDRAWELEMENTSBASEVERTEXPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertex")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_draw_elements_base_vertex */
- #ifdef GL_ARB_draw_indirect
- static GLboolean _glewInit_GL_ARB_draw_indirect ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysIndirect = (PFNGLDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysIndirect")) == NULL) || r;
- r = ((glDrawElementsIndirect = (PFNGLDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsIndirect")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_draw_indirect */
- #ifdef GL_ARB_framebuffer_no_attachments
- static GLboolean _glewInit_GL_ARB_framebuffer_no_attachments ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferParameteri = (PFNGLFRAMEBUFFERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glFramebufferParameteri")) == NULL) || r;
- r = ((glGetFramebufferParameteriv = (PFNGLGETFRAMEBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameteriv")) == NULL) || r;
- r = ((glGetNamedFramebufferParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferParameterivEXT")) == NULL) || r;
- r = ((glNamedFramebufferParameteriEXT = (PFNGLNAMEDFRAMEBUFFERPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferParameteriEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_framebuffer_no_attachments */
- #ifdef GL_ARB_framebuffer_object
- static GLboolean _glewInit_GL_ARB_framebuffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindFramebuffer = (PFNGLBINDFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindFramebuffer")) == NULL) || r;
- r = ((glBindRenderbuffer = (PFNGLBINDRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbuffer")) == NULL) || r;
- r = ((glBlitFramebuffer = (PFNGLBLITFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebuffer")) == NULL) || r;
- r = ((glCheckFramebufferStatus = (PFNGLCHECKFRAMEBUFFERSTATUSPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatus")) == NULL) || r;
- r = ((glDeleteFramebuffers = (PFNGLDELETEFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffers")) == NULL) || r;
- r = ((glDeleteRenderbuffers = (PFNGLDELETERENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffers")) == NULL) || r;
- r = ((glFramebufferRenderbuffer = (PFNGLFRAMEBUFFERRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbuffer")) == NULL) || r;
- r = ((glFramebufferTexture1D = (PFNGLFRAMEBUFFERTEXTURE1DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1D")) == NULL) || r;
- r = ((glFramebufferTexture2D = (PFNGLFRAMEBUFFERTEXTURE2DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2D")) == NULL) || r;
- r = ((glFramebufferTexture3D = (PFNGLFRAMEBUFFERTEXTURE3DPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3D")) == NULL) || r;
- r = ((glFramebufferTextureLayer = (PFNGLFRAMEBUFFERTEXTURELAYERPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayer")) == NULL) || r;
- r = ((glGenFramebuffers = (PFNGLGENFRAMEBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffers")) == NULL) || r;
- r = ((glGenRenderbuffers = (PFNGLGENRENDERBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffers")) == NULL) || r;
- r = ((glGenerateMipmap = (PFNGLGENERATEMIPMAPPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmap")) == NULL) || r;
- r = ((glGetFramebufferAttachmentParameteriv = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameteriv")) == NULL) || r;
- r = ((glGetRenderbufferParameteriv = (PFNGLGETRENDERBUFFERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameteriv")) == NULL) || r;
- r = ((glIsFramebuffer = (PFNGLISFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsFramebuffer")) == NULL) || r;
- r = ((glIsRenderbuffer = (PFNGLISRENDERBUFFERPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbuffer")) == NULL) || r;
- r = ((glRenderbufferStorage = (PFNGLRENDERBUFFERSTORAGEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorage")) == NULL) || r;
- r = ((glRenderbufferStorageMultisample = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisample")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_framebuffer_object */
- #ifdef GL_ARB_geometry_shader4
- static GLboolean _glewInit_GL_ARB_geometry_shader4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTextureARB = (PFNGLFRAMEBUFFERTEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureARB")) == NULL) || r;
- r = ((glFramebufferTextureFaceARB = (PFNGLFRAMEBUFFERTEXTUREFACEARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceARB")) == NULL) || r;
- r = ((glFramebufferTextureLayerARB = (PFNGLFRAMEBUFFERTEXTURELAYERARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerARB")) == NULL) || r;
- r = ((glProgramParameteriARB = (PFNGLPROGRAMPARAMETERIARBPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_geometry_shader4 */
- #ifdef GL_ARB_get_program_binary
- static GLboolean _glewInit_GL_ARB_get_program_binary ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetProgramBinary = (PFNGLGETPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glGetProgramBinary")) == NULL) || r;
- r = ((glProgramBinary = (PFNGLPROGRAMBINARYPROC)glewGetProcAddress((const GLubyte*)"glProgramBinary")) == NULL) || r;
- r = ((glProgramParameteri = (PFNGLPROGRAMPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteri")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_get_program_binary */
- #ifdef GL_ARB_get_texture_sub_image
- static GLboolean _glewInit_GL_ARB_get_texture_sub_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetCompressedTextureSubImage = (PFNGLGETCOMPRESSEDTEXTURESUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureSubImage")) == NULL) || r;
- r = ((glGetTextureSubImage = (PFNGLGETTEXTURESUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSubImage")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_get_texture_sub_image */
- #ifdef GL_ARB_gl_spirv
- static GLboolean _glewInit_GL_ARB_gl_spirv ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSpecializeShaderARB = (PFNGLSPECIALIZESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glSpecializeShaderARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_gl_spirv */
- #ifdef GL_ARB_gpu_shader_fp64
- static GLboolean _glewInit_GL_ARB_gpu_shader_fp64 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetUniformdv = (PFNGLGETUNIFORMDVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformdv")) == NULL) || r;
- r = ((glUniform1d = (PFNGLUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glUniform1d")) == NULL) || r;
- r = ((glUniform1dv = (PFNGLUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glUniform1dv")) == NULL) || r;
- r = ((glUniform2d = (PFNGLUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glUniform2d")) == NULL) || r;
- r = ((glUniform2dv = (PFNGLUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glUniform2dv")) == NULL) || r;
- r = ((glUniform3d = (PFNGLUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glUniform3d")) == NULL) || r;
- r = ((glUniform3dv = (PFNGLUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glUniform3dv")) == NULL) || r;
- r = ((glUniform4d = (PFNGLUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glUniform4d")) == NULL) || r;
- r = ((glUniform4dv = (PFNGLUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glUniform4dv")) == NULL) || r;
- r = ((glUniformMatrix2dv = (PFNGLUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2dv")) == NULL) || r;
- r = ((glUniformMatrix2x3dv = (PFNGLUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3dv")) == NULL) || r;
- r = ((glUniformMatrix2x4dv = (PFNGLUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4dv")) == NULL) || r;
- r = ((glUniformMatrix3dv = (PFNGLUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3dv")) == NULL) || r;
- r = ((glUniformMatrix3x2dv = (PFNGLUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2dv")) == NULL) || r;
- r = ((glUniformMatrix3x4dv = (PFNGLUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4dv")) == NULL) || r;
- r = ((glUniformMatrix4dv = (PFNGLUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4dv")) == NULL) || r;
- r = ((glUniformMatrix4x2dv = (PFNGLUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2dv")) == NULL) || r;
- r = ((glUniformMatrix4x3dv = (PFNGLUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3dv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_gpu_shader_fp64 */
- #ifdef GL_ARB_gpu_shader_int64
- static GLboolean _glewInit_GL_ARB_gpu_shader_int64 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetUniformi64vARB = (PFNGLGETUNIFORMI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vARB")) == NULL) || r;
- r = ((glGetUniformui64vARB = (PFNGLGETUNIFORMUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vARB")) == NULL) || r;
- r = ((glGetnUniformi64vARB = (PFNGLGETNUNIFORMI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformi64vARB")) == NULL) || r;
- r = ((glGetnUniformui64vARB = (PFNGLGETNUNIFORMUI64VARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformui64vARB")) == NULL) || r;
- r = ((glProgramUniform1i64ARB = (PFNGLPROGRAMUNIFORM1I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64ARB")) == NULL) || r;
- r = ((glProgramUniform1i64vARB = (PFNGLPROGRAMUNIFORM1I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vARB")) == NULL) || r;
- r = ((glProgramUniform1ui64ARB = (PFNGLPROGRAMUNIFORM1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64ARB")) == NULL) || r;
- r = ((glProgramUniform1ui64vARB = (PFNGLPROGRAMUNIFORM1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vARB")) == NULL) || r;
- r = ((glProgramUniform2i64ARB = (PFNGLPROGRAMUNIFORM2I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64ARB")) == NULL) || r;
- r = ((glProgramUniform2i64vARB = (PFNGLPROGRAMUNIFORM2I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vARB")) == NULL) || r;
- r = ((glProgramUniform2ui64ARB = (PFNGLPROGRAMUNIFORM2UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64ARB")) == NULL) || r;
- r = ((glProgramUniform2ui64vARB = (PFNGLPROGRAMUNIFORM2UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vARB")) == NULL) || r;
- r = ((glProgramUniform3i64ARB = (PFNGLPROGRAMUNIFORM3I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64ARB")) == NULL) || r;
- r = ((glProgramUniform3i64vARB = (PFNGLPROGRAMUNIFORM3I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vARB")) == NULL) || r;
- r = ((glProgramUniform3ui64ARB = (PFNGLPROGRAMUNIFORM3UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64ARB")) == NULL) || r;
- r = ((glProgramUniform3ui64vARB = (PFNGLPROGRAMUNIFORM3UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vARB")) == NULL) || r;
- r = ((glProgramUniform4i64ARB = (PFNGLPROGRAMUNIFORM4I64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64ARB")) == NULL) || r;
- r = ((glProgramUniform4i64vARB = (PFNGLPROGRAMUNIFORM4I64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vARB")) == NULL) || r;
- r = ((glProgramUniform4ui64ARB = (PFNGLPROGRAMUNIFORM4UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64ARB")) == NULL) || r;
- r = ((glProgramUniform4ui64vARB = (PFNGLPROGRAMUNIFORM4UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vARB")) == NULL) || r;
- r = ((glUniform1i64ARB = (PFNGLUNIFORM1I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64ARB")) == NULL) || r;
- r = ((glUniform1i64vARB = (PFNGLUNIFORM1I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vARB")) == NULL) || r;
- r = ((glUniform1ui64ARB = (PFNGLUNIFORM1UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64ARB")) == NULL) || r;
- r = ((glUniform1ui64vARB = (PFNGLUNIFORM1UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vARB")) == NULL) || r;
- r = ((glUniform2i64ARB = (PFNGLUNIFORM2I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64ARB")) == NULL) || r;
- r = ((glUniform2i64vARB = (PFNGLUNIFORM2I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vARB")) == NULL) || r;
- r = ((glUniform2ui64ARB = (PFNGLUNIFORM2UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64ARB")) == NULL) || r;
- r = ((glUniform2ui64vARB = (PFNGLUNIFORM2UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vARB")) == NULL) || r;
- r = ((glUniform3i64ARB = (PFNGLUNIFORM3I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64ARB")) == NULL) || r;
- r = ((glUniform3i64vARB = (PFNGLUNIFORM3I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vARB")) == NULL) || r;
- r = ((glUniform3ui64ARB = (PFNGLUNIFORM3UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64ARB")) == NULL) || r;
- r = ((glUniform3ui64vARB = (PFNGLUNIFORM3UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vARB")) == NULL) || r;
- r = ((glUniform4i64ARB = (PFNGLUNIFORM4I64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64ARB")) == NULL) || r;
- r = ((glUniform4i64vARB = (PFNGLUNIFORM4I64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vARB")) == NULL) || r;
- r = ((glUniform4ui64ARB = (PFNGLUNIFORM4UI64ARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64ARB")) == NULL) || r;
- r = ((glUniform4ui64vARB = (PFNGLUNIFORM4UI64VARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_gpu_shader_int64 */
- #ifdef GL_ARB_imaging
- static GLboolean _glewInit_GL_ARB_imaging ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquation = (PFNGLBLENDEQUATIONPROC)glewGetProcAddress((const GLubyte*)"glBlendEquation")) == NULL) || r;
- r = ((glColorSubTable = (PFNGLCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorSubTable")) == NULL) || r;
- r = ((glColorTable = (PFNGLCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glColorTable")) == NULL) || r;
- r = ((glColorTableParameterfv = (PFNGLCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfv")) == NULL) || r;
- r = ((glColorTableParameteriv = (PFNGLCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameteriv")) == NULL) || r;
- r = ((glConvolutionFilter1D = (PFNGLCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1D")) == NULL) || r;
- r = ((glConvolutionFilter2D = (PFNGLCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2D")) == NULL) || r;
- r = ((glConvolutionParameterf = (PFNGLCONVOLUTIONPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterf")) == NULL) || r;
- r = ((glConvolutionParameterfv = (PFNGLCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfv")) == NULL) || r;
- r = ((glConvolutionParameteri = (PFNGLCONVOLUTIONPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteri")) == NULL) || r;
- r = ((glConvolutionParameteriv = (PFNGLCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriv")) == NULL) || r;
- r = ((glCopyColorSubTable = (PFNGLCOPYCOLORSUBTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTable")) == NULL) || r;
- r = ((glCopyColorTable = (PFNGLCOPYCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTable")) == NULL) || r;
- r = ((glCopyConvolutionFilter1D = (PFNGLCOPYCONVOLUTIONFILTER1DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1D")) == NULL) || r;
- r = ((glCopyConvolutionFilter2D = (PFNGLCOPYCONVOLUTIONFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2D")) == NULL) || r;
- r = ((glGetColorTable = (PFNGLGETCOLORTABLEPROC)glewGetProcAddress((const GLubyte*)"glGetColorTable")) == NULL) || r;
- r = ((glGetColorTableParameterfv = (PFNGLGETCOLORTABLEPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfv")) == NULL) || r;
- r = ((glGetColorTableParameteriv = (PFNGLGETCOLORTABLEPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameteriv")) == NULL) || r;
- r = ((glGetConvolutionFilter = (PFNGLGETCONVOLUTIONFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilter")) == NULL) || r;
- r = ((glGetConvolutionParameterfv = (PFNGLGETCONVOLUTIONPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfv")) == NULL) || r;
- r = ((glGetConvolutionParameteriv = (PFNGLGETCONVOLUTIONPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameteriv")) == NULL) || r;
- r = ((glGetHistogram = (PFNGLGETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glGetHistogram")) == NULL) || r;
- r = ((glGetHistogramParameterfv = (PFNGLGETHISTOGRAMPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfv")) == NULL) || r;
- r = ((glGetHistogramParameteriv = (PFNGLGETHISTOGRAMPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameteriv")) == NULL) || r;
- r = ((glGetMinmax = (PFNGLGETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glGetMinmax")) == NULL) || r;
- r = ((glGetMinmaxParameterfv = (PFNGLGETMINMAXPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfv")) == NULL) || r;
- r = ((glGetMinmaxParameteriv = (PFNGLGETMINMAXPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameteriv")) == NULL) || r;
- r = ((glGetSeparableFilter = (PFNGLGETSEPARABLEFILTERPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilter")) == NULL) || r;
- r = ((glHistogram = (PFNGLHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glHistogram")) == NULL) || r;
- r = ((glMinmax = (PFNGLMINMAXPROC)glewGetProcAddress((const GLubyte*)"glMinmax")) == NULL) || r;
- r = ((glResetHistogram = (PFNGLRESETHISTOGRAMPROC)glewGetProcAddress((const GLubyte*)"glResetHistogram")) == NULL) || r;
- r = ((glResetMinmax = (PFNGLRESETMINMAXPROC)glewGetProcAddress((const GLubyte*)"glResetMinmax")) == NULL) || r;
- r = ((glSeparableFilter2D = (PFNGLSEPARABLEFILTER2DPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2D")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_imaging */
- #ifdef GL_ARB_indirect_parameters
- static GLboolean _glewInit_GL_ARB_indirect_parameters ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectCountARB = (PFNGLMULTIDRAWARRAYSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectCountARB")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectCountARB = (PFNGLMULTIDRAWELEMENTSINDIRECTCOUNTARBPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectCountARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_indirect_parameters */
- #ifdef GL_ARB_instanced_arrays
- static GLboolean _glewInit_GL_ARB_instanced_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedARB = (PFNGLDRAWARRAYSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedARB")) == NULL) || r;
- r = ((glDrawElementsInstancedARB = (PFNGLDRAWELEMENTSINSTANCEDARBPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedARB")) == NULL) || r;
- r = ((glVertexAttribDivisorARB = (PFNGLVERTEXATTRIBDIVISORARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_instanced_arrays */
- #ifdef GL_ARB_internalformat_query
- static GLboolean _glewInit_GL_ARB_internalformat_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetInternalformativ = (PFNGLGETINTERNALFORMATIVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformativ")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_internalformat_query */
- #ifdef GL_ARB_internalformat_query2
- static GLboolean _glewInit_GL_ARB_internalformat_query2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetInternalformati64v = (PFNGLGETINTERNALFORMATI64VPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformati64v")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_internalformat_query2 */
- #ifdef GL_ARB_invalidate_subdata
- static GLboolean _glewInit_GL_ARB_invalidate_subdata ()
- {
- GLboolean r = GL_FALSE;
- r = ((glInvalidateBufferData = (PFNGLINVALIDATEBUFFERDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferData")) == NULL) || r;
- r = ((glInvalidateBufferSubData = (PFNGLINVALIDATEBUFFERSUBDATAPROC)glewGetProcAddress((const GLubyte*)"glInvalidateBufferSubData")) == NULL) || r;
- r = ((glInvalidateFramebuffer = (PFNGLINVALIDATEFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateFramebuffer")) == NULL) || r;
- r = ((glInvalidateSubFramebuffer = (PFNGLINVALIDATESUBFRAMEBUFFERPROC)glewGetProcAddress((const GLubyte*)"glInvalidateSubFramebuffer")) == NULL) || r;
- r = ((glInvalidateTexImage = (PFNGLINVALIDATETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexImage")) == NULL) || r;
- r = ((glInvalidateTexSubImage = (PFNGLINVALIDATETEXSUBIMAGEPROC)glewGetProcAddress((const GLubyte*)"glInvalidateTexSubImage")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_invalidate_subdata */
- #ifdef GL_ARB_map_buffer_range
- static GLboolean _glewInit_GL_ARB_map_buffer_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushMappedBufferRange = (PFNGLFLUSHMAPPEDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRange")) == NULL) || r;
- r = ((glMapBufferRange = (PFNGLMAPBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRange")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_map_buffer_range */
- #ifdef GL_ARB_matrix_palette
- static GLboolean _glewInit_GL_ARB_matrix_palette ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCurrentPaletteMatrixARB = (PFNGLCURRENTPALETTEMATRIXARBPROC)glewGetProcAddress((const GLubyte*)"glCurrentPaletteMatrixARB")) == NULL) || r;
- r = ((glMatrixIndexPointerARB = (PFNGLMATRIXINDEXPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexPointerARB")) == NULL) || r;
- r = ((glMatrixIndexubvARB = (PFNGLMATRIXINDEXUBVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexubvARB")) == NULL) || r;
- r = ((glMatrixIndexuivARB = (PFNGLMATRIXINDEXUIVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexuivARB")) == NULL) || r;
- r = ((glMatrixIndexusvARB = (PFNGLMATRIXINDEXUSVARBPROC)glewGetProcAddress((const GLubyte*)"glMatrixIndexusvARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_matrix_palette */
- #ifdef GL_ARB_multi_bind
- static GLboolean _glewInit_GL_ARB_multi_bind ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindBuffersBase = (PFNGLBINDBUFFERSBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersBase")) == NULL) || r;
- r = ((glBindBuffersRange = (PFNGLBINDBUFFERSRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBuffersRange")) == NULL) || r;
- r = ((glBindImageTextures = (PFNGLBINDIMAGETEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextures")) == NULL) || r;
- r = ((glBindSamplers = (PFNGLBINDSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glBindSamplers")) == NULL) || r;
- r = ((glBindTextures = (PFNGLBINDTEXTURESPROC)glewGetProcAddress((const GLubyte*)"glBindTextures")) == NULL) || r;
- r = ((glBindVertexBuffers = (PFNGLBINDVERTEXBUFFERSPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffers")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_multi_bind */
- #ifdef GL_ARB_multi_draw_indirect
- static GLboolean _glewInit_GL_ARB_multi_draw_indirect ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirect = (PFNGLMULTIDRAWARRAYSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirect")) == NULL) || r;
- r = ((glMultiDrawElementsIndirect = (PFNGLMULTIDRAWELEMENTSINDIRECTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirect")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_multi_draw_indirect */
- #ifdef GL_ARB_multisample
- static GLboolean _glewInit_GL_ARB_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSampleCoverageARB = (PFNGLSAMPLECOVERAGEARBPROC)glewGetProcAddress((const GLubyte*)"glSampleCoverageARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_multisample */
- #ifdef GL_ARB_multitexture
- static GLboolean _glewInit_GL_ARB_multitexture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveTextureARB = (PFNGLACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glActiveTextureARB")) == NULL) || r;
- r = ((glClientActiveTextureARB = (PFNGLCLIENTACTIVETEXTUREARBPROC)glewGetProcAddress((const GLubyte*)"glClientActiveTextureARB")) == NULL) || r;
- r = ((glMultiTexCoord1dARB = (PFNGLMULTITEXCOORD1DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dARB")) == NULL) || r;
- r = ((glMultiTexCoord1dvARB = (PFNGLMULTITEXCOORD1DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1dvARB")) == NULL) || r;
- r = ((glMultiTexCoord1fARB = (PFNGLMULTITEXCOORD1FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fARB")) == NULL) || r;
- r = ((glMultiTexCoord1fvARB = (PFNGLMULTITEXCOORD1FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1fvARB")) == NULL) || r;
- r = ((glMultiTexCoord1iARB = (PFNGLMULTITEXCOORD1IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1iARB")) == NULL) || r;
- r = ((glMultiTexCoord1ivARB = (PFNGLMULTITEXCOORD1IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1ivARB")) == NULL) || r;
- r = ((glMultiTexCoord1sARB = (PFNGLMULTITEXCOORD1SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1sARB")) == NULL) || r;
- r = ((glMultiTexCoord1svARB = (PFNGLMULTITEXCOORD1SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1svARB")) == NULL) || r;
- r = ((glMultiTexCoord2dARB = (PFNGLMULTITEXCOORD2DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dARB")) == NULL) || r;
- r = ((glMultiTexCoord2dvARB = (PFNGLMULTITEXCOORD2DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2dvARB")) == NULL) || r;
- r = ((glMultiTexCoord2fARB = (PFNGLMULTITEXCOORD2FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fARB")) == NULL) || r;
- r = ((glMultiTexCoord2fvARB = (PFNGLMULTITEXCOORD2FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2fvARB")) == NULL) || r;
- r = ((glMultiTexCoord2iARB = (PFNGLMULTITEXCOORD2IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2iARB")) == NULL) || r;
- r = ((glMultiTexCoord2ivARB = (PFNGLMULTITEXCOORD2IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2ivARB")) == NULL) || r;
- r = ((glMultiTexCoord2sARB = (PFNGLMULTITEXCOORD2SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2sARB")) == NULL) || r;
- r = ((glMultiTexCoord2svARB = (PFNGLMULTITEXCOORD2SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2svARB")) == NULL) || r;
- r = ((glMultiTexCoord3dARB = (PFNGLMULTITEXCOORD3DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dARB")) == NULL) || r;
- r = ((glMultiTexCoord3dvARB = (PFNGLMULTITEXCOORD3DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3dvARB")) == NULL) || r;
- r = ((glMultiTexCoord3fARB = (PFNGLMULTITEXCOORD3FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fARB")) == NULL) || r;
- r = ((glMultiTexCoord3fvARB = (PFNGLMULTITEXCOORD3FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3fvARB")) == NULL) || r;
- r = ((glMultiTexCoord3iARB = (PFNGLMULTITEXCOORD3IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3iARB")) == NULL) || r;
- r = ((glMultiTexCoord3ivARB = (PFNGLMULTITEXCOORD3IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3ivARB")) == NULL) || r;
- r = ((glMultiTexCoord3sARB = (PFNGLMULTITEXCOORD3SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3sARB")) == NULL) || r;
- r = ((glMultiTexCoord3svARB = (PFNGLMULTITEXCOORD3SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3svARB")) == NULL) || r;
- r = ((glMultiTexCoord4dARB = (PFNGLMULTITEXCOORD4DARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dARB")) == NULL) || r;
- r = ((glMultiTexCoord4dvARB = (PFNGLMULTITEXCOORD4DVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4dvARB")) == NULL) || r;
- r = ((glMultiTexCoord4fARB = (PFNGLMULTITEXCOORD4FARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fARB")) == NULL) || r;
- r = ((glMultiTexCoord4fvARB = (PFNGLMULTITEXCOORD4FVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4fvARB")) == NULL) || r;
- r = ((glMultiTexCoord4iARB = (PFNGLMULTITEXCOORD4IARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4iARB")) == NULL) || r;
- r = ((glMultiTexCoord4ivARB = (PFNGLMULTITEXCOORD4IVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4ivARB")) == NULL) || r;
- r = ((glMultiTexCoord4sARB = (PFNGLMULTITEXCOORD4SARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4sARB")) == NULL) || r;
- r = ((glMultiTexCoord4svARB = (PFNGLMULTITEXCOORD4SVARBPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4svARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_multitexture */
- #ifdef GL_ARB_occlusion_query
- static GLboolean _glewInit_GL_ARB_occlusion_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginQueryARB = (PFNGLBEGINQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryARB")) == NULL) || r;
- r = ((glDeleteQueriesARB = (PFNGLDELETEQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteQueriesARB")) == NULL) || r;
- r = ((glEndQueryARB = (PFNGLENDQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glEndQueryARB")) == NULL) || r;
- r = ((glGenQueriesARB = (PFNGLGENQUERIESARBPROC)glewGetProcAddress((const GLubyte*)"glGenQueriesARB")) == NULL) || r;
- r = ((glGetQueryObjectivARB = (PFNGLGETQUERYOBJECTIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectivARB")) == NULL) || r;
- r = ((glGetQueryObjectuivARB = (PFNGLGETQUERYOBJECTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectuivARB")) == NULL) || r;
- r = ((glGetQueryivARB = (PFNGLGETQUERYIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetQueryivARB")) == NULL) || r;
- r = ((glIsQueryARB = (PFNGLISQUERYARBPROC)glewGetProcAddress((const GLubyte*)"glIsQueryARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_occlusion_query */
- #ifdef GL_ARB_parallel_shader_compile
- static GLboolean _glewInit_GL_ARB_parallel_shader_compile ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMaxShaderCompilerThreadsARB = (PFNGLMAXSHADERCOMPILERTHREADSARBPROC)glewGetProcAddress((const GLubyte*)"glMaxShaderCompilerThreadsARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_parallel_shader_compile */
- #ifdef GL_ARB_point_parameters
- static GLboolean _glewInit_GL_ARB_point_parameters ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPointParameterfARB = (PFNGLPOINTPARAMETERFARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfARB")) == NULL) || r;
- r = ((glPointParameterfvARB = (PFNGLPOINTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_point_parameters */
- #ifdef GL_ARB_polygon_offset_clamp
- static GLboolean _glewInit_GL_ARB_polygon_offset_clamp ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPolygonOffsetClamp = (PFNGLPOLYGONOFFSETCLAMPPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetClamp")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_polygon_offset_clamp */
- #ifdef GL_ARB_program_interface_query
- static GLboolean _glewInit_GL_ARB_program_interface_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetProgramInterfaceiv = (PFNGLGETPROGRAMINTERFACEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramInterfaceiv")) == NULL) || r;
- r = ((glGetProgramResourceIndex = (PFNGLGETPROGRAMRESOURCEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceIndex")) == NULL) || r;
- r = ((glGetProgramResourceLocation = (PFNGLGETPROGRAMRESOURCELOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocation")) == NULL) || r;
- r = ((glGetProgramResourceLocationIndex = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndex")) == NULL) || r;
- r = ((glGetProgramResourceName = (PFNGLGETPROGRAMRESOURCENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceName")) == NULL) || r;
- r = ((glGetProgramResourceiv = (PFNGLGETPROGRAMRESOURCEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceiv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_program_interface_query */
- #ifdef GL_ARB_provoking_vertex
- static GLboolean _glewInit_GL_ARB_provoking_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProvokingVertex = (PFNGLPROVOKINGVERTEXPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertex")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_provoking_vertex */
- #ifdef GL_ARB_robustness
- static GLboolean _glewInit_GL_ARB_robustness ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetGraphicsResetStatusARB = (PFNGLGETGRAPHICSRESETSTATUSARBPROC)glewGetProcAddress((const GLubyte*)"glGetGraphicsResetStatusARB")) == NULL) || r;
- r = ((glGetnColorTableARB = (PFNGLGETNCOLORTABLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnColorTableARB")) == NULL) || r;
- r = ((glGetnCompressedTexImageARB = (PFNGLGETNCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnCompressedTexImageARB")) == NULL) || r;
- r = ((glGetnConvolutionFilterARB = (PFNGLGETNCONVOLUTIONFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnConvolutionFilterARB")) == NULL) || r;
- r = ((glGetnHistogramARB = (PFNGLGETNHISTOGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glGetnHistogramARB")) == NULL) || r;
- r = ((glGetnMapdvARB = (PFNGLGETNMAPDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapdvARB")) == NULL) || r;
- r = ((glGetnMapfvARB = (PFNGLGETNMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapfvARB")) == NULL) || r;
- r = ((glGetnMapivARB = (PFNGLGETNMAPIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMapivARB")) == NULL) || r;
- r = ((glGetnMinmaxARB = (PFNGLGETNMINMAXARBPROC)glewGetProcAddress((const GLubyte*)"glGetnMinmaxARB")) == NULL) || r;
- r = ((glGetnPixelMapfvARB = (PFNGLGETNPIXELMAPFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapfvARB")) == NULL) || r;
- r = ((glGetnPixelMapuivARB = (PFNGLGETNPIXELMAPUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapuivARB")) == NULL) || r;
- r = ((glGetnPixelMapusvARB = (PFNGLGETNPIXELMAPUSVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPixelMapusvARB")) == NULL) || r;
- r = ((glGetnPolygonStippleARB = (PFNGLGETNPOLYGONSTIPPLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnPolygonStippleARB")) == NULL) || r;
- r = ((glGetnSeparableFilterARB = (PFNGLGETNSEPARABLEFILTERARBPROC)glewGetProcAddress((const GLubyte*)"glGetnSeparableFilterARB")) == NULL) || r;
- r = ((glGetnTexImageARB = (PFNGLGETNTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetnTexImageARB")) == NULL) || r;
- r = ((glGetnUniformdvARB = (PFNGLGETNUNIFORMDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformdvARB")) == NULL) || r;
- r = ((glGetnUniformfvARB = (PFNGLGETNUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfvARB")) == NULL) || r;
- r = ((glGetnUniformivARB = (PFNGLGETNUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformivARB")) == NULL) || r;
- r = ((glGetnUniformuivARB = (PFNGLGETNUNIFORMUIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuivARB")) == NULL) || r;
- r = ((glReadnPixelsARB = (PFNGLREADNPIXELSARBPROC)glewGetProcAddress((const GLubyte*)"glReadnPixelsARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_robustness */
- #ifdef GL_ARB_sample_locations
- static GLboolean _glewInit_GL_ARB_sample_locations ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferSampleLocationsfvARB = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSampleLocationsfvARB")) == NULL) || r;
- r = ((glNamedFramebufferSampleLocationsfvARB = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVARBPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSampleLocationsfvARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sample_locations */
- #ifdef GL_ARB_sample_shading
- static GLboolean _glewInit_GL_ARB_sample_shading ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMinSampleShadingARB = (PFNGLMINSAMPLESHADINGARBPROC)glewGetProcAddress((const GLubyte*)"glMinSampleShadingARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sample_shading */
- #ifdef GL_ARB_sampler_objects
- static GLboolean _glewInit_GL_ARB_sampler_objects ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindSampler = (PFNGLBINDSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glBindSampler")) == NULL) || r;
- r = ((glDeleteSamplers = (PFNGLDELETESAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glDeleteSamplers")) == NULL) || r;
- r = ((glGenSamplers = (PFNGLGENSAMPLERSPROC)glewGetProcAddress((const GLubyte*)"glGenSamplers")) == NULL) || r;
- r = ((glGetSamplerParameterIiv = (PFNGLGETSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIiv")) == NULL) || r;
- r = ((glGetSamplerParameterIuiv = (PFNGLGETSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterIuiv")) == NULL) || r;
- r = ((glGetSamplerParameterfv = (PFNGLGETSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameterfv")) == NULL) || r;
- r = ((glGetSamplerParameteriv = (PFNGLGETSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glGetSamplerParameteriv")) == NULL) || r;
- r = ((glIsSampler = (PFNGLISSAMPLERPROC)glewGetProcAddress((const GLubyte*)"glIsSampler")) == NULL) || r;
- r = ((glSamplerParameterIiv = (PFNGLSAMPLERPARAMETERIIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIiv")) == NULL) || r;
- r = ((glSamplerParameterIuiv = (PFNGLSAMPLERPARAMETERIUIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterIuiv")) == NULL) || r;
- r = ((glSamplerParameterf = (PFNGLSAMPLERPARAMETERFPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterf")) == NULL) || r;
- r = ((glSamplerParameterfv = (PFNGLSAMPLERPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameterfv")) == NULL) || r;
- r = ((glSamplerParameteri = (PFNGLSAMPLERPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteri")) == NULL) || r;
- r = ((glSamplerParameteriv = (PFNGLSAMPLERPARAMETERIVPROC)glewGetProcAddress((const GLubyte*)"glSamplerParameteriv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sampler_objects */
- #ifdef GL_ARB_separate_shader_objects
- static GLboolean _glewInit_GL_ARB_separate_shader_objects ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveShaderProgram = (PFNGLACTIVESHADERPROGRAMPROC)glewGetProcAddress((const GLubyte*)"glActiveShaderProgram")) == NULL) || r;
- r = ((glBindProgramPipeline = (PFNGLBINDPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glBindProgramPipeline")) == NULL) || r;
- r = ((glCreateShaderProgramv = (PFNGLCREATESHADERPROGRAMVPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramv")) == NULL) || r;
- r = ((glDeleteProgramPipelines = (PFNGLDELETEPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramPipelines")) == NULL) || r;
- r = ((glGenProgramPipelines = (PFNGLGENPROGRAMPIPELINESPROC)glewGetProcAddress((const GLubyte*)"glGenProgramPipelines")) == NULL) || r;
- r = ((glGetProgramPipelineInfoLog = (PFNGLGETPROGRAMPIPELINEINFOLOGPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineInfoLog")) == NULL) || r;
- r = ((glGetProgramPipelineiv = (PFNGLGETPROGRAMPIPELINEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramPipelineiv")) == NULL) || r;
- r = ((glIsProgramPipeline = (PFNGLISPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glIsProgramPipeline")) == NULL) || r;
- r = ((glProgramUniform1d = (PFNGLPROGRAMUNIFORM1DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1d")) == NULL) || r;
- r = ((glProgramUniform1dv = (PFNGLPROGRAMUNIFORM1DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1dv")) == NULL) || r;
- r = ((glProgramUniform1f = (PFNGLPROGRAMUNIFORM1FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1f")) == NULL) || r;
- r = ((glProgramUniform1fv = (PFNGLPROGRAMUNIFORM1FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fv")) == NULL) || r;
- r = ((glProgramUniform1i = (PFNGLPROGRAMUNIFORM1IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i")) == NULL) || r;
- r = ((glProgramUniform1iv = (PFNGLPROGRAMUNIFORM1IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iv")) == NULL) || r;
- r = ((glProgramUniform1ui = (PFNGLPROGRAMUNIFORM1UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui")) == NULL) || r;
- r = ((glProgramUniform1uiv = (PFNGLPROGRAMUNIFORM1UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiv")) == NULL) || r;
- r = ((glProgramUniform2d = (PFNGLPROGRAMUNIFORM2DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2d")) == NULL) || r;
- r = ((glProgramUniform2dv = (PFNGLPROGRAMUNIFORM2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2dv")) == NULL) || r;
- r = ((glProgramUniform2f = (PFNGLPROGRAMUNIFORM2FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2f")) == NULL) || r;
- r = ((glProgramUniform2fv = (PFNGLPROGRAMUNIFORM2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fv")) == NULL) || r;
- r = ((glProgramUniform2i = (PFNGLPROGRAMUNIFORM2IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i")) == NULL) || r;
- r = ((glProgramUniform2iv = (PFNGLPROGRAMUNIFORM2IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iv")) == NULL) || r;
- r = ((glProgramUniform2ui = (PFNGLPROGRAMUNIFORM2UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui")) == NULL) || r;
- r = ((glProgramUniform2uiv = (PFNGLPROGRAMUNIFORM2UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiv")) == NULL) || r;
- r = ((glProgramUniform3d = (PFNGLPROGRAMUNIFORM3DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3d")) == NULL) || r;
- r = ((glProgramUniform3dv = (PFNGLPROGRAMUNIFORM3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3dv")) == NULL) || r;
- r = ((glProgramUniform3f = (PFNGLPROGRAMUNIFORM3FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3f")) == NULL) || r;
- r = ((glProgramUniform3fv = (PFNGLPROGRAMUNIFORM3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fv")) == NULL) || r;
- r = ((glProgramUniform3i = (PFNGLPROGRAMUNIFORM3IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i")) == NULL) || r;
- r = ((glProgramUniform3iv = (PFNGLPROGRAMUNIFORM3IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iv")) == NULL) || r;
- r = ((glProgramUniform3ui = (PFNGLPROGRAMUNIFORM3UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui")) == NULL) || r;
- r = ((glProgramUniform3uiv = (PFNGLPROGRAMUNIFORM3UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiv")) == NULL) || r;
- r = ((glProgramUniform4d = (PFNGLPROGRAMUNIFORM4DPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4d")) == NULL) || r;
- r = ((glProgramUniform4dv = (PFNGLPROGRAMUNIFORM4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4dv")) == NULL) || r;
- r = ((glProgramUniform4f = (PFNGLPROGRAMUNIFORM4FPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4f")) == NULL) || r;
- r = ((glProgramUniform4fv = (PFNGLPROGRAMUNIFORM4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fv")) == NULL) || r;
- r = ((glProgramUniform4i = (PFNGLPROGRAMUNIFORM4IPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i")) == NULL) || r;
- r = ((glProgramUniform4iv = (PFNGLPROGRAMUNIFORM4IVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iv")) == NULL) || r;
- r = ((glProgramUniform4ui = (PFNGLPROGRAMUNIFORM4UIPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui")) == NULL) || r;
- r = ((glProgramUniform4uiv = (PFNGLPROGRAMUNIFORM4UIVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiv")) == NULL) || r;
- r = ((glProgramUniformMatrix2dv = (PFNGLPROGRAMUNIFORMMATRIX2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2dv")) == NULL) || r;
- r = ((glProgramUniformMatrix2fv = (PFNGLPROGRAMUNIFORMMATRIX2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fv")) == NULL) || r;
- r = ((glProgramUniformMatrix2x3dv = (PFNGLPROGRAMUNIFORMMATRIX2X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3dv")) == NULL) || r;
- r = ((glProgramUniformMatrix2x3fv = (PFNGLPROGRAMUNIFORMMATRIX2X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fv")) == NULL) || r;
- r = ((glProgramUniformMatrix2x4dv = (PFNGLPROGRAMUNIFORMMATRIX2X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4dv")) == NULL) || r;
- r = ((glProgramUniformMatrix2x4fv = (PFNGLPROGRAMUNIFORMMATRIX2X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fv")) == NULL) || r;
- r = ((glProgramUniformMatrix3dv = (PFNGLPROGRAMUNIFORMMATRIX3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3dv")) == NULL) || r;
- r = ((glProgramUniformMatrix3fv = (PFNGLPROGRAMUNIFORMMATRIX3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fv")) == NULL) || r;
- r = ((glProgramUniformMatrix3x2dv = (PFNGLPROGRAMUNIFORMMATRIX3X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2dv")) == NULL) || r;
- r = ((glProgramUniformMatrix3x2fv = (PFNGLPROGRAMUNIFORMMATRIX3X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fv")) == NULL) || r;
- r = ((glProgramUniformMatrix3x4dv = (PFNGLPROGRAMUNIFORMMATRIX3X4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4dv")) == NULL) || r;
- r = ((glProgramUniformMatrix3x4fv = (PFNGLPROGRAMUNIFORMMATRIX3X4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fv")) == NULL) || r;
- r = ((glProgramUniformMatrix4dv = (PFNGLPROGRAMUNIFORMMATRIX4DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4dv")) == NULL) || r;
- r = ((glProgramUniformMatrix4fv = (PFNGLPROGRAMUNIFORMMATRIX4FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fv")) == NULL) || r;
- r = ((glProgramUniformMatrix4x2dv = (PFNGLPROGRAMUNIFORMMATRIX4X2DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2dv")) == NULL) || r;
- r = ((glProgramUniformMatrix4x2fv = (PFNGLPROGRAMUNIFORMMATRIX4X2FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fv")) == NULL) || r;
- r = ((glProgramUniformMatrix4x3dv = (PFNGLPROGRAMUNIFORMMATRIX4X3DVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3dv")) == NULL) || r;
- r = ((glProgramUniformMatrix4x3fv = (PFNGLPROGRAMUNIFORMMATRIX4X3FVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fv")) == NULL) || r;
- r = ((glUseProgramStages = (PFNGLUSEPROGRAMSTAGESPROC)glewGetProcAddress((const GLubyte*)"glUseProgramStages")) == NULL) || r;
- r = ((glValidateProgramPipeline = (PFNGLVALIDATEPROGRAMPIPELINEPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramPipeline")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_separate_shader_objects */
- #ifdef GL_ARB_shader_atomic_counters
- static GLboolean _glewInit_GL_ARB_shader_atomic_counters ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetActiveAtomicCounterBufferiv = (PFNGLGETACTIVEATOMICCOUNTERBUFFERIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAtomicCounterBufferiv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shader_atomic_counters */
- #ifdef GL_ARB_shader_image_load_store
- static GLboolean _glewInit_GL_ARB_shader_image_load_store ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindImageTexture = (PFNGLBINDIMAGETEXTUREPROC)glewGetProcAddress((const GLubyte*)"glBindImageTexture")) == NULL) || r;
- r = ((glMemoryBarrier = (PFNGLMEMORYBARRIERPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrier")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shader_image_load_store */
- #ifdef GL_ARB_shader_objects
- static GLboolean _glewInit_GL_ARB_shader_objects ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAttachObjectARB = (PFNGLATTACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glAttachObjectARB")) == NULL) || r;
- r = ((glCompileShaderARB = (PFNGLCOMPILESHADERARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderARB")) == NULL) || r;
- r = ((glCreateProgramObjectARB = (PFNGLCREATEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateProgramObjectARB")) == NULL) || r;
- r = ((glCreateShaderObjectARB = (PFNGLCREATESHADEROBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderObjectARB")) == NULL) || r;
- r = ((glDeleteObjectARB = (PFNGLDELETEOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteObjectARB")) == NULL) || r;
- r = ((glDetachObjectARB = (PFNGLDETACHOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glDetachObjectARB")) == NULL) || r;
- r = ((glGetActiveUniformARB = (PFNGLGETACTIVEUNIFORMARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformARB")) == NULL) || r;
- r = ((glGetAttachedObjectsARB = (PFNGLGETATTACHEDOBJECTSARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttachedObjectsARB")) == NULL) || r;
- r = ((glGetHandleARB = (PFNGLGETHANDLEARBPROC)glewGetProcAddress((const GLubyte*)"glGetHandleARB")) == NULL) || r;
- r = ((glGetInfoLogARB = (PFNGLGETINFOLOGARBPROC)glewGetProcAddress((const GLubyte*)"glGetInfoLogARB")) == NULL) || r;
- r = ((glGetObjectParameterfvARB = (PFNGLGETOBJECTPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterfvARB")) == NULL) || r;
- r = ((glGetObjectParameterivARB = (PFNGLGETOBJECTPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetObjectParameterivARB")) == NULL) || r;
- r = ((glGetShaderSourceARB = (PFNGLGETSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glGetShaderSourceARB")) == NULL) || r;
- r = ((glGetUniformLocationARB = (PFNGLGETUNIFORMLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformLocationARB")) == NULL) || r;
- r = ((glGetUniformfvARB = (PFNGLGETUNIFORMFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformfvARB")) == NULL) || r;
- r = ((glGetUniformivARB = (PFNGLGETUNIFORMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetUniformivARB")) == NULL) || r;
- r = ((glLinkProgramARB = (PFNGLLINKPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glLinkProgramARB")) == NULL) || r;
- r = ((glShaderSourceARB = (PFNGLSHADERSOURCEARBPROC)glewGetProcAddress((const GLubyte*)"glShaderSourceARB")) == NULL) || r;
- r = ((glUniform1fARB = (PFNGLUNIFORM1FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fARB")) == NULL) || r;
- r = ((glUniform1fvARB = (PFNGLUNIFORM1FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1fvARB")) == NULL) || r;
- r = ((glUniform1iARB = (PFNGLUNIFORM1IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1iARB")) == NULL) || r;
- r = ((glUniform1ivARB = (PFNGLUNIFORM1IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform1ivARB")) == NULL) || r;
- r = ((glUniform2fARB = (PFNGLUNIFORM2FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fARB")) == NULL) || r;
- r = ((glUniform2fvARB = (PFNGLUNIFORM2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2fvARB")) == NULL) || r;
- r = ((glUniform2iARB = (PFNGLUNIFORM2IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2iARB")) == NULL) || r;
- r = ((glUniform2ivARB = (PFNGLUNIFORM2IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform2ivARB")) == NULL) || r;
- r = ((glUniform3fARB = (PFNGLUNIFORM3FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fARB")) == NULL) || r;
- r = ((glUniform3fvARB = (PFNGLUNIFORM3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3fvARB")) == NULL) || r;
- r = ((glUniform3iARB = (PFNGLUNIFORM3IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3iARB")) == NULL) || r;
- r = ((glUniform3ivARB = (PFNGLUNIFORM3IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform3ivARB")) == NULL) || r;
- r = ((glUniform4fARB = (PFNGLUNIFORM4FARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fARB")) == NULL) || r;
- r = ((glUniform4fvARB = (PFNGLUNIFORM4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4fvARB")) == NULL) || r;
- r = ((glUniform4iARB = (PFNGLUNIFORM4IARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4iARB")) == NULL) || r;
- r = ((glUniform4ivARB = (PFNGLUNIFORM4IVARBPROC)glewGetProcAddress((const GLubyte*)"glUniform4ivARB")) == NULL) || r;
- r = ((glUniformMatrix2fvARB = (PFNGLUNIFORMMATRIX2FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2fvARB")) == NULL) || r;
- r = ((glUniformMatrix3fvARB = (PFNGLUNIFORMMATRIX3FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3fvARB")) == NULL) || r;
- r = ((glUniformMatrix4fvARB = (PFNGLUNIFORMMATRIX4FVARBPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4fvARB")) == NULL) || r;
- r = ((glUseProgramObjectARB = (PFNGLUSEPROGRAMOBJECTARBPROC)glewGetProcAddress((const GLubyte*)"glUseProgramObjectARB")) == NULL) || r;
- r = ((glValidateProgramARB = (PFNGLVALIDATEPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glValidateProgramARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shader_objects */
- #ifdef GL_ARB_shader_storage_buffer_object
- static GLboolean _glewInit_GL_ARB_shader_storage_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glShaderStorageBlockBinding = (PFNGLSHADERSTORAGEBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glShaderStorageBlockBinding")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shader_storage_buffer_object */
- #ifdef GL_ARB_shader_subroutine
- static GLboolean _glewInit_GL_ARB_shader_subroutine ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetActiveSubroutineName = (PFNGLGETACTIVESUBROUTINENAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineName")) == NULL) || r;
- r = ((glGetActiveSubroutineUniformName = (PFNGLGETACTIVESUBROUTINEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformName")) == NULL) || r;
- r = ((glGetActiveSubroutineUniformiv = (PFNGLGETACTIVESUBROUTINEUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveSubroutineUniformiv")) == NULL) || r;
- r = ((glGetProgramStageiv = (PFNGLGETPROGRAMSTAGEIVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStageiv")) == NULL) || r;
- r = ((glGetSubroutineIndex = (PFNGLGETSUBROUTINEINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineIndex")) == NULL) || r;
- r = ((glGetSubroutineUniformLocation = (PFNGLGETSUBROUTINEUNIFORMLOCATIONPROC)glewGetProcAddress((const GLubyte*)"glGetSubroutineUniformLocation")) == NULL) || r;
- r = ((glGetUniformSubroutineuiv = (PFNGLGETUNIFORMSUBROUTINEUIVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformSubroutineuiv")) == NULL) || r;
- r = ((glUniformSubroutinesuiv = (PFNGLUNIFORMSUBROUTINESUIVPROC)glewGetProcAddress((const GLubyte*)"glUniformSubroutinesuiv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shader_subroutine */
- #ifdef GL_ARB_shading_language_include
- static GLboolean _glewInit_GL_ARB_shading_language_include ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCompileShaderIncludeARB = (PFNGLCOMPILESHADERINCLUDEARBPROC)glewGetProcAddress((const GLubyte*)"glCompileShaderIncludeARB")) == NULL) || r;
- r = ((glDeleteNamedStringARB = (PFNGLDELETENAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteNamedStringARB")) == NULL) || r;
- r = ((glGetNamedStringARB = (PFNGLGETNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringARB")) == NULL) || r;
- r = ((glGetNamedStringivARB = (PFNGLGETNAMEDSTRINGIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetNamedStringivARB")) == NULL) || r;
- r = ((glIsNamedStringARB = (PFNGLISNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glIsNamedStringARB")) == NULL) || r;
- r = ((glNamedStringARB = (PFNGLNAMEDSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glNamedStringARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_shading_language_include */
- #ifdef GL_ARB_sparse_buffer
- static GLboolean _glewInit_GL_ARB_sparse_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferPageCommitmentARB = (PFNGLBUFFERPAGECOMMITMENTARBPROC)glewGetProcAddress((const GLubyte*)"glBufferPageCommitmentARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sparse_buffer */
- #ifdef GL_ARB_sparse_texture
- static GLboolean _glewInit_GL_ARB_sparse_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexPageCommitmentARB = (PFNGLTEXPAGECOMMITMENTARBPROC)glewGetProcAddress((const GLubyte*)"glTexPageCommitmentARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sparse_texture */
- #ifdef GL_ARB_sync
- static GLboolean _glewInit_GL_ARB_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClientWaitSync = (PFNGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glClientWaitSync")) == NULL) || r;
- r = ((glDeleteSync = (PFNGLDELETESYNCPROC)glewGetProcAddress((const GLubyte*)"glDeleteSync")) == NULL) || r;
- r = ((glFenceSync = (PFNGLFENCESYNCPROC)glewGetProcAddress((const GLubyte*)"glFenceSync")) == NULL) || r;
- r = ((glGetInteger64v = (PFNGLGETINTEGER64VPROC)glewGetProcAddress((const GLubyte*)"glGetInteger64v")) == NULL) || r;
- r = ((glGetSynciv = (PFNGLGETSYNCIVPROC)glewGetProcAddress((const GLubyte*)"glGetSynciv")) == NULL) || r;
- r = ((glIsSync = (PFNGLISSYNCPROC)glewGetProcAddress((const GLubyte*)"glIsSync")) == NULL) || r;
- r = ((glWaitSync = (PFNGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"glWaitSync")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_sync */
- #ifdef GL_ARB_tessellation_shader
- static GLboolean _glewInit_GL_ARB_tessellation_shader ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPatchParameterfv = (PFNGLPATCHPARAMETERFVPROC)glewGetProcAddress((const GLubyte*)"glPatchParameterfv")) == NULL) || r;
- r = ((glPatchParameteri = (PFNGLPATCHPARAMETERIPROC)glewGetProcAddress((const GLubyte*)"glPatchParameteri")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_tessellation_shader */
- #ifdef GL_ARB_texture_barrier
- static GLboolean _glewInit_GL_ARB_texture_barrier ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureBarrier = (PFNGLTEXTUREBARRIERPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrier")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_barrier */
- #ifdef GL_ARB_texture_buffer_object
- static GLboolean _glewInit_GL_ARB_texture_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexBufferARB = (PFNGLTEXBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glTexBufferARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_buffer_object */
- #ifdef GL_ARB_texture_buffer_range
- static GLboolean _glewInit_GL_ARB_texture_buffer_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexBufferRange = (PFNGLTEXBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glTexBufferRange")) == NULL) || r;
- r = ((glTextureBufferRangeEXT = (PFNGLTEXTUREBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferRangeEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_buffer_range */
- #ifdef GL_ARB_texture_compression
- static GLboolean _glewInit_GL_ARB_texture_compression ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCompressedTexImage1DARB = (PFNGLCOMPRESSEDTEXIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage1DARB")) == NULL) || r;
- r = ((glCompressedTexImage2DARB = (PFNGLCOMPRESSEDTEXIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage2DARB")) == NULL) || r;
- r = ((glCompressedTexImage3DARB = (PFNGLCOMPRESSEDTEXIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DARB")) == NULL) || r;
- r = ((glCompressedTexSubImage1DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE1DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage1DARB")) == NULL) || r;
- r = ((glCompressedTexSubImage2DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE2DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage2DARB")) == NULL) || r;
- r = ((glCompressedTexSubImage3DARB = (PFNGLCOMPRESSEDTEXSUBIMAGE3DARBPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DARB")) == NULL) || r;
- r = ((glGetCompressedTexImageARB = (PFNGLGETCOMPRESSEDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTexImageARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_compression */
- #ifdef GL_ARB_texture_multisample
- static GLboolean _glewInit_GL_ARB_texture_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetMultisamplefv = (PFNGLGETMULTISAMPLEFVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefv")) == NULL) || r;
- r = ((glSampleMaski = (PFNGLSAMPLEMASKIPROC)glewGetProcAddress((const GLubyte*)"glSampleMaski")) == NULL) || r;
- r = ((glTexImage2DMultisample = (PFNGLTEXIMAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisample")) == NULL) || r;
- r = ((glTexImage3DMultisample = (PFNGLTEXIMAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisample")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_multisample */
- #ifdef GL_ARB_texture_storage
- static GLboolean _glewInit_GL_ARB_texture_storage ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexStorage1D = (PFNGLTEXSTORAGE1DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1D")) == NULL) || r;
- r = ((glTexStorage2D = (PFNGLTEXSTORAGE2DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2D")) == NULL) || r;
- r = ((glTexStorage3D = (PFNGLTEXSTORAGE3DPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3D")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_storage */
- #ifdef GL_ARB_texture_storage_multisample
- static GLboolean _glewInit_GL_ARB_texture_storage_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexStorage2DMultisample = (PFNGLTEXSTORAGE2DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DMultisample")) == NULL) || r;
- r = ((glTexStorage3DMultisample = (PFNGLTEXSTORAGE3DMULTISAMPLEPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DMultisample")) == NULL) || r;
- r = ((glTextureStorage2DMultisampleEXT = (PFNGLTEXTURESTORAGE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DMultisampleEXT")) == NULL) || r;
- r = ((glTextureStorage3DMultisampleEXT = (PFNGLTEXTURESTORAGE3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DMultisampleEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_storage_multisample */
- #ifdef GL_ARB_texture_view
- static GLboolean _glewInit_GL_ARB_texture_view ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureView = (PFNGLTEXTUREVIEWPROC)glewGetProcAddress((const GLubyte*)"glTextureView")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_texture_view */
- #ifdef GL_ARB_timer_query
- static GLboolean _glewInit_GL_ARB_timer_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetQueryObjecti64v = (PFNGLGETQUERYOBJECTI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64v")) == NULL) || r;
- r = ((glGetQueryObjectui64v = (PFNGLGETQUERYOBJECTUI64VPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64v")) == NULL) || r;
- r = ((glQueryCounter = (PFNGLQUERYCOUNTERPROC)glewGetProcAddress((const GLubyte*)"glQueryCounter")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_timer_query */
- #ifdef GL_ARB_transform_feedback2
- static GLboolean _glewInit_GL_ARB_transform_feedback2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindTransformFeedback = (PFNGLBINDTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedback")) == NULL) || r;
- r = ((glDeleteTransformFeedbacks = (PFNGLDELETETRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacks")) == NULL) || r;
- r = ((glDrawTransformFeedback = (PFNGLDRAWTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedback")) == NULL) || r;
- r = ((glGenTransformFeedbacks = (PFNGLGENTRANSFORMFEEDBACKSPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacks")) == NULL) || r;
- r = ((glIsTransformFeedback = (PFNGLISTRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedback")) == NULL) || r;
- r = ((glPauseTransformFeedback = (PFNGLPAUSETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedback")) == NULL) || r;
- r = ((glResumeTransformFeedback = (PFNGLRESUMETRANSFORMFEEDBACKPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedback")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_transform_feedback2 */
- #ifdef GL_ARB_transform_feedback3
- static GLboolean _glewInit_GL_ARB_transform_feedback3 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginQueryIndexed = (PFNGLBEGINQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glBeginQueryIndexed")) == NULL) || r;
- r = ((glDrawTransformFeedbackStream = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStream")) == NULL) || r;
- r = ((glEndQueryIndexed = (PFNGLENDQUERYINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glEndQueryIndexed")) == NULL) || r;
- r = ((glGetQueryIndexediv = (PFNGLGETQUERYINDEXEDIVPROC)glewGetProcAddress((const GLubyte*)"glGetQueryIndexediv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_transform_feedback3 */
- #ifdef GL_ARB_transform_feedback_instanced
- static GLboolean _glewInit_GL_ARB_transform_feedback_instanced ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawTransformFeedbackInstanced = (PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackInstanced")) == NULL) || r;
- r = ((glDrawTransformFeedbackStreamInstanced = (PFNGLDRAWTRANSFORMFEEDBACKSTREAMINSTANCEDPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackStreamInstanced")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_transform_feedback_instanced */
- #ifdef GL_ARB_transpose_matrix
- static GLboolean _glewInit_GL_ARB_transpose_matrix ()
- {
- GLboolean r = GL_FALSE;
- r = ((glLoadTransposeMatrixdARB = (PFNGLLOADTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixdARB")) == NULL) || r;
- r = ((glLoadTransposeMatrixfARB = (PFNGLLOADTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glLoadTransposeMatrixfARB")) == NULL) || r;
- r = ((glMultTransposeMatrixdARB = (PFNGLMULTTRANSPOSEMATRIXDARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixdARB")) == NULL) || r;
- r = ((glMultTransposeMatrixfARB = (PFNGLMULTTRANSPOSEMATRIXFARBPROC)glewGetProcAddress((const GLubyte*)"glMultTransposeMatrixfARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_transpose_matrix */
- #ifdef GL_ARB_uniform_buffer_object
- static GLboolean _glewInit_GL_ARB_uniform_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindBufferBase = (PFNGLBINDBUFFERBASEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBase")) == NULL) || r;
- r = ((glBindBufferRange = (PFNGLBINDBUFFERRANGEPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRange")) == NULL) || r;
- r = ((glGetActiveUniformBlockName = (PFNGLGETACTIVEUNIFORMBLOCKNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockName")) == NULL) || r;
- r = ((glGetActiveUniformBlockiv = (PFNGLGETACTIVEUNIFORMBLOCKIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformBlockiv")) == NULL) || r;
- r = ((glGetActiveUniformName = (PFNGLGETACTIVEUNIFORMNAMEPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformName")) == NULL) || r;
- r = ((glGetActiveUniformsiv = (PFNGLGETACTIVEUNIFORMSIVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveUniformsiv")) == NULL) || r;
- r = ((glGetIntegeri_v = (PFNGLGETINTEGERI_VPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_v")) == NULL) || r;
- r = ((glGetUniformBlockIndex = (PFNGLGETUNIFORMBLOCKINDEXPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBlockIndex")) == NULL) || r;
- r = ((glGetUniformIndices = (PFNGLGETUNIFORMINDICESPROC)glewGetProcAddress((const GLubyte*)"glGetUniformIndices")) == NULL) || r;
- r = ((glUniformBlockBinding = (PFNGLUNIFORMBLOCKBINDINGPROC)glewGetProcAddress((const GLubyte*)"glUniformBlockBinding")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_uniform_buffer_object */
- #ifdef GL_ARB_vertex_array_object
- static GLboolean _glewInit_GL_ARB_vertex_array_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindVertexArray = (PFNGLBINDVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArray")) == NULL) || r;
- r = ((glDeleteVertexArrays = (PFNGLDELETEVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArrays")) == NULL) || r;
- r = ((glGenVertexArrays = (PFNGLGENVERTEXARRAYSPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArrays")) == NULL) || r;
- r = ((glIsVertexArray = (PFNGLISVERTEXARRAYPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArray")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_array_object */
- #ifdef GL_ARB_vertex_attrib_64bit
- static GLboolean _glewInit_GL_ARB_vertex_attrib_64bit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVertexAttribLdv = (PFNGLGETVERTEXATTRIBLDVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdv")) == NULL) || r;
- r = ((glVertexAttribL1d = (PFNGLVERTEXATTRIBL1DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1d")) == NULL) || r;
- r = ((glVertexAttribL1dv = (PFNGLVERTEXATTRIBL1DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dv")) == NULL) || r;
- r = ((glVertexAttribL2d = (PFNGLVERTEXATTRIBL2DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2d")) == NULL) || r;
- r = ((glVertexAttribL2dv = (PFNGLVERTEXATTRIBL2DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dv")) == NULL) || r;
- r = ((glVertexAttribL3d = (PFNGLVERTEXATTRIBL3DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3d")) == NULL) || r;
- r = ((glVertexAttribL3dv = (PFNGLVERTEXATTRIBL3DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dv")) == NULL) || r;
- r = ((glVertexAttribL4d = (PFNGLVERTEXATTRIBL4DPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4d")) == NULL) || r;
- r = ((glVertexAttribL4dv = (PFNGLVERTEXATTRIBL4DVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dv")) == NULL) || r;
- r = ((glVertexAttribLPointer = (PFNGLVERTEXATTRIBLPOINTERPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointer")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_attrib_64bit */
- #ifdef GL_ARB_vertex_attrib_binding
- static GLboolean _glewInit_GL_ARB_vertex_attrib_binding ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindVertexBuffer = (PFNGLBINDVERTEXBUFFERPROC)glewGetProcAddress((const GLubyte*)"glBindVertexBuffer")) == NULL) || r;
- r = ((glVertexArrayBindVertexBufferEXT = (PFNGLVERTEXARRAYBINDVERTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayBindVertexBufferEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribBindingEXT = (PFNGLVERTEXARRAYVERTEXATTRIBBINDINGEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribBindingEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribFormatEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribIFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIFormatEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribLFormatEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLFormatEXT")) == NULL) || r;
- r = ((glVertexArrayVertexBindingDivisorEXT = (PFNGLVERTEXARRAYVERTEXBINDINGDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexBindingDivisorEXT")) == NULL) || r;
- r = ((glVertexAttribBinding = (PFNGLVERTEXATTRIBBINDINGPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribBinding")) == NULL) || r;
- r = ((glVertexAttribFormat = (PFNGLVERTEXATTRIBFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormat")) == NULL) || r;
- r = ((glVertexAttribIFormat = (PFNGLVERTEXATTRIBIFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormat")) == NULL) || r;
- r = ((glVertexAttribLFormat = (PFNGLVERTEXATTRIBLFORMATPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormat")) == NULL) || r;
- r = ((glVertexBindingDivisor = (PFNGLVERTEXBINDINGDIVISORPROC)glewGetProcAddress((const GLubyte*)"glVertexBindingDivisor")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_attrib_binding */
- #ifdef GL_ARB_vertex_blend
- static GLboolean _glewInit_GL_ARB_vertex_blend ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexBlendARB = (PFNGLVERTEXBLENDARBPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendARB")) == NULL) || r;
- r = ((glWeightPointerARB = (PFNGLWEIGHTPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glWeightPointerARB")) == NULL) || r;
- r = ((glWeightbvARB = (PFNGLWEIGHTBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightbvARB")) == NULL) || r;
- r = ((glWeightdvARB = (PFNGLWEIGHTDVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightdvARB")) == NULL) || r;
- r = ((glWeightfvARB = (PFNGLWEIGHTFVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightfvARB")) == NULL) || r;
- r = ((glWeightivARB = (PFNGLWEIGHTIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightivARB")) == NULL) || r;
- r = ((glWeightsvARB = (PFNGLWEIGHTSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightsvARB")) == NULL) || r;
- r = ((glWeightubvARB = (PFNGLWEIGHTUBVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightubvARB")) == NULL) || r;
- r = ((glWeightuivARB = (PFNGLWEIGHTUIVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightuivARB")) == NULL) || r;
- r = ((glWeightusvARB = (PFNGLWEIGHTUSVARBPROC)glewGetProcAddress((const GLubyte*)"glWeightusvARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_blend */
- #ifdef GL_ARB_vertex_buffer_object
- static GLboolean _glewInit_GL_ARB_vertex_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindBufferARB = (PFNGLBINDBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glBindBufferARB")) == NULL) || r;
- r = ((glBufferDataARB = (PFNGLBUFFERDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferDataARB")) == NULL) || r;
- r = ((glBufferSubDataARB = (PFNGLBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glBufferSubDataARB")) == NULL) || r;
- r = ((glDeleteBuffersARB = (PFNGLDELETEBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteBuffersARB")) == NULL) || r;
- r = ((glGenBuffersARB = (PFNGLGENBUFFERSARBPROC)glewGetProcAddress((const GLubyte*)"glGenBuffersARB")) == NULL) || r;
- r = ((glGetBufferParameterivARB = (PFNGLGETBUFFERPARAMETERIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterivARB")) == NULL) || r;
- r = ((glGetBufferPointervARB = (PFNGLGETBUFFERPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferPointervARB")) == NULL) || r;
- r = ((glGetBufferSubDataARB = (PFNGLGETBUFFERSUBDATAARBPROC)glewGetProcAddress((const GLubyte*)"glGetBufferSubDataARB")) == NULL) || r;
- r = ((glIsBufferARB = (PFNGLISBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glIsBufferARB")) == NULL) || r;
- r = ((glMapBufferARB = (PFNGLMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glMapBufferARB")) == NULL) || r;
- r = ((glUnmapBufferARB = (PFNGLUNMAPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"glUnmapBufferARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_buffer_object */
- #ifdef GL_ARB_vertex_program
- static GLboolean _glewInit_GL_ARB_vertex_program ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindProgramARB = (PFNGLBINDPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glBindProgramARB")) == NULL) || r;
- r = ((glDeleteProgramsARB = (PFNGLDELETEPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsARB")) == NULL) || r;
- r = ((glDisableVertexAttribArrayARB = (PFNGLDISABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexAttribArrayARB")) == NULL) || r;
- r = ((glEnableVertexAttribArrayARB = (PFNGLENABLEVERTEXATTRIBARRAYARBPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexAttribArrayARB")) == NULL) || r;
- r = ((glGenProgramsARB = (PFNGLGENPROGRAMSARBPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsARB")) == NULL) || r;
- r = ((glGetProgramEnvParameterdvARB = (PFNGLGETPROGRAMENVPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterdvARB")) == NULL) || r;
- r = ((glGetProgramEnvParameterfvARB = (PFNGLGETPROGRAMENVPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramEnvParameterfvARB")) == NULL) || r;
- r = ((glGetProgramLocalParameterdvARB = (PFNGLGETPROGRAMLOCALPARAMETERDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterdvARB")) == NULL) || r;
- r = ((glGetProgramLocalParameterfvARB = (PFNGLGETPROGRAMLOCALPARAMETERFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramLocalParameterfvARB")) == NULL) || r;
- r = ((glGetProgramStringARB = (PFNGLGETPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringARB")) == NULL) || r;
- r = ((glGetProgramivARB = (PFNGLGETPROGRAMIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivARB")) == NULL) || r;
- r = ((glGetVertexAttribPointervARB = (PFNGLGETVERTEXATTRIBPOINTERVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervARB")) == NULL) || r;
- r = ((glGetVertexAttribdvARB = (PFNGLGETVERTEXATTRIBDVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvARB")) == NULL) || r;
- r = ((glGetVertexAttribfvARB = (PFNGLGETVERTEXATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvARB")) == NULL) || r;
- r = ((glGetVertexAttribivARB = (PFNGLGETVERTEXATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivARB")) == NULL) || r;
- r = ((glIsProgramARB = (PFNGLISPROGRAMARBPROC)glewGetProcAddress((const GLubyte*)"glIsProgramARB")) == NULL) || r;
- r = ((glProgramEnvParameter4dARB = (PFNGLPROGRAMENVPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dARB")) == NULL) || r;
- r = ((glProgramEnvParameter4dvARB = (PFNGLPROGRAMENVPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4dvARB")) == NULL) || r;
- r = ((glProgramEnvParameter4fARB = (PFNGLPROGRAMENVPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fARB")) == NULL) || r;
- r = ((glProgramEnvParameter4fvARB = (PFNGLPROGRAMENVPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameter4fvARB")) == NULL) || r;
- r = ((glProgramLocalParameter4dARB = (PFNGLPROGRAMLOCALPARAMETER4DARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dARB")) == NULL) || r;
- r = ((glProgramLocalParameter4dvARB = (PFNGLPROGRAMLOCALPARAMETER4DVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4dvARB")) == NULL) || r;
- r = ((glProgramLocalParameter4fARB = (PFNGLPROGRAMLOCALPARAMETER4FARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fARB")) == NULL) || r;
- r = ((glProgramLocalParameter4fvARB = (PFNGLPROGRAMLOCALPARAMETER4FVARBPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameter4fvARB")) == NULL) || r;
- r = ((glProgramStringARB = (PFNGLPROGRAMSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"glProgramStringARB")) == NULL) || r;
- r = ((glVertexAttrib1dARB = (PFNGLVERTEXATTRIB1DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dARB")) == NULL) || r;
- r = ((glVertexAttrib1dvARB = (PFNGLVERTEXATTRIB1DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvARB")) == NULL) || r;
- r = ((glVertexAttrib1fARB = (PFNGLVERTEXATTRIB1FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fARB")) == NULL) || r;
- r = ((glVertexAttrib1fvARB = (PFNGLVERTEXATTRIB1FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvARB")) == NULL) || r;
- r = ((glVertexAttrib1sARB = (PFNGLVERTEXATTRIB1SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sARB")) == NULL) || r;
- r = ((glVertexAttrib1svARB = (PFNGLVERTEXATTRIB1SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svARB")) == NULL) || r;
- r = ((glVertexAttrib2dARB = (PFNGLVERTEXATTRIB2DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dARB")) == NULL) || r;
- r = ((glVertexAttrib2dvARB = (PFNGLVERTEXATTRIB2DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvARB")) == NULL) || r;
- r = ((glVertexAttrib2fARB = (PFNGLVERTEXATTRIB2FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fARB")) == NULL) || r;
- r = ((glVertexAttrib2fvARB = (PFNGLVERTEXATTRIB2FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvARB")) == NULL) || r;
- r = ((glVertexAttrib2sARB = (PFNGLVERTEXATTRIB2SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sARB")) == NULL) || r;
- r = ((glVertexAttrib2svARB = (PFNGLVERTEXATTRIB2SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svARB")) == NULL) || r;
- r = ((glVertexAttrib3dARB = (PFNGLVERTEXATTRIB3DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dARB")) == NULL) || r;
- r = ((glVertexAttrib3dvARB = (PFNGLVERTEXATTRIB3DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvARB")) == NULL) || r;
- r = ((glVertexAttrib3fARB = (PFNGLVERTEXATTRIB3FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fARB")) == NULL) || r;
- r = ((glVertexAttrib3fvARB = (PFNGLVERTEXATTRIB3FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvARB")) == NULL) || r;
- r = ((glVertexAttrib3sARB = (PFNGLVERTEXATTRIB3SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sARB")) == NULL) || r;
- r = ((glVertexAttrib3svARB = (PFNGLVERTEXATTRIB3SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svARB")) == NULL) || r;
- r = ((glVertexAttrib4NbvARB = (PFNGLVERTEXATTRIB4NBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NbvARB")) == NULL) || r;
- r = ((glVertexAttrib4NivARB = (PFNGLVERTEXATTRIB4NIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NivARB")) == NULL) || r;
- r = ((glVertexAttrib4NsvARB = (PFNGLVERTEXATTRIB4NSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NsvARB")) == NULL) || r;
- r = ((glVertexAttrib4NubARB = (PFNGLVERTEXATTRIB4NUBARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubARB")) == NULL) || r;
- r = ((glVertexAttrib4NubvARB = (PFNGLVERTEXATTRIB4NUBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NubvARB")) == NULL) || r;
- r = ((glVertexAttrib4NuivARB = (PFNGLVERTEXATTRIB4NUIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NuivARB")) == NULL) || r;
- r = ((glVertexAttrib4NusvARB = (PFNGLVERTEXATTRIB4NUSVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4NusvARB")) == NULL) || r;
- r = ((glVertexAttrib4bvARB = (PFNGLVERTEXATTRIB4BVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4bvARB")) == NULL) || r;
- r = ((glVertexAttrib4dARB = (PFNGLVERTEXATTRIB4DARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dARB")) == NULL) || r;
- r = ((glVertexAttrib4dvARB = (PFNGLVERTEXATTRIB4DVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvARB")) == NULL) || r;
- r = ((glVertexAttrib4fARB = (PFNGLVERTEXATTRIB4FARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fARB")) == NULL) || r;
- r = ((glVertexAttrib4fvARB = (PFNGLVERTEXATTRIB4FVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvARB")) == NULL) || r;
- r = ((glVertexAttrib4ivARB = (PFNGLVERTEXATTRIB4IVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ivARB")) == NULL) || r;
- r = ((glVertexAttrib4sARB = (PFNGLVERTEXATTRIB4SARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sARB")) == NULL) || r;
- r = ((glVertexAttrib4svARB = (PFNGLVERTEXATTRIB4SVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svARB")) == NULL) || r;
- r = ((glVertexAttrib4ubvARB = (PFNGLVERTEXATTRIB4UBVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvARB")) == NULL) || r;
- r = ((glVertexAttrib4uivARB = (PFNGLVERTEXATTRIB4UIVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4uivARB")) == NULL) || r;
- r = ((glVertexAttrib4usvARB = (PFNGLVERTEXATTRIB4USVARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4usvARB")) == NULL) || r;
- r = ((glVertexAttribPointerARB = (PFNGLVERTEXATTRIBPOINTERARBPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_program */
- #ifdef GL_ARB_vertex_shader
- static GLboolean _glewInit_GL_ARB_vertex_shader ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindAttribLocationARB = (PFNGLBINDATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glBindAttribLocationARB")) == NULL) || r;
- r = ((glGetActiveAttribARB = (PFNGLGETACTIVEATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"glGetActiveAttribARB")) == NULL) || r;
- r = ((glGetAttribLocationARB = (PFNGLGETATTRIBLOCATIONARBPROC)glewGetProcAddress((const GLubyte*)"glGetAttribLocationARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_shader */
- #ifdef GL_ARB_vertex_type_2_10_10_10_rev
- static GLboolean _glewInit_GL_ARB_vertex_type_2_10_10_10_rev ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorP3ui = (PFNGLCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glColorP3ui")) == NULL) || r;
- r = ((glColorP3uiv = (PFNGLCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP3uiv")) == NULL) || r;
- r = ((glColorP4ui = (PFNGLCOLORP4UIPROC)glewGetProcAddress((const GLubyte*)"glColorP4ui")) == NULL) || r;
- r = ((glColorP4uiv = (PFNGLCOLORP4UIVPROC)glewGetProcAddress((const GLubyte*)"glColorP4uiv")) == NULL) || r;
- r = ((glMultiTexCoordP1ui = (PFNGLMULTITEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1ui")) == NULL) || r;
- r = ((glMultiTexCoordP1uiv = (PFNGLMULTITEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP1uiv")) == NULL) || r;
- r = ((glMultiTexCoordP2ui = (PFNGLMULTITEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2ui")) == NULL) || r;
- r = ((glMultiTexCoordP2uiv = (PFNGLMULTITEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP2uiv")) == NULL) || r;
- r = ((glMultiTexCoordP3ui = (PFNGLMULTITEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3ui")) == NULL) || r;
- r = ((glMultiTexCoordP3uiv = (PFNGLMULTITEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP3uiv")) == NULL) || r;
- r = ((glMultiTexCoordP4ui = (PFNGLMULTITEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4ui")) == NULL) || r;
- r = ((glMultiTexCoordP4uiv = (PFNGLMULTITEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordP4uiv")) == NULL) || r;
- r = ((glNormalP3ui = (PFNGLNORMALP3UIPROC)glewGetProcAddress((const GLubyte*)"glNormalP3ui")) == NULL) || r;
- r = ((glNormalP3uiv = (PFNGLNORMALP3UIVPROC)glewGetProcAddress((const GLubyte*)"glNormalP3uiv")) == NULL) || r;
- r = ((glSecondaryColorP3ui = (PFNGLSECONDARYCOLORP3UIPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3ui")) == NULL) || r;
- r = ((glSecondaryColorP3uiv = (PFNGLSECONDARYCOLORP3UIVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorP3uiv")) == NULL) || r;
- r = ((glTexCoordP1ui = (PFNGLTEXCOORDP1UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1ui")) == NULL) || r;
- r = ((glTexCoordP1uiv = (PFNGLTEXCOORDP1UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP1uiv")) == NULL) || r;
- r = ((glTexCoordP2ui = (PFNGLTEXCOORDP2UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2ui")) == NULL) || r;
- r = ((glTexCoordP2uiv = (PFNGLTEXCOORDP2UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP2uiv")) == NULL) || r;
- r = ((glTexCoordP3ui = (PFNGLTEXCOORDP3UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3ui")) == NULL) || r;
- r = ((glTexCoordP3uiv = (PFNGLTEXCOORDP3UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP3uiv")) == NULL) || r;
- r = ((glTexCoordP4ui = (PFNGLTEXCOORDP4UIPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4ui")) == NULL) || r;
- r = ((glTexCoordP4uiv = (PFNGLTEXCOORDP4UIVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordP4uiv")) == NULL) || r;
- r = ((glVertexAttribP1ui = (PFNGLVERTEXATTRIBP1UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1ui")) == NULL) || r;
- r = ((glVertexAttribP1uiv = (PFNGLVERTEXATTRIBP1UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP1uiv")) == NULL) || r;
- r = ((glVertexAttribP2ui = (PFNGLVERTEXATTRIBP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2ui")) == NULL) || r;
- r = ((glVertexAttribP2uiv = (PFNGLVERTEXATTRIBP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP2uiv")) == NULL) || r;
- r = ((glVertexAttribP3ui = (PFNGLVERTEXATTRIBP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3ui")) == NULL) || r;
- r = ((glVertexAttribP3uiv = (PFNGLVERTEXATTRIBP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP3uiv")) == NULL) || r;
- r = ((glVertexAttribP4ui = (PFNGLVERTEXATTRIBP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4ui")) == NULL) || r;
- r = ((glVertexAttribP4uiv = (PFNGLVERTEXATTRIBP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribP4uiv")) == NULL) || r;
- r = ((glVertexP2ui = (PFNGLVERTEXP2UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP2ui")) == NULL) || r;
- r = ((glVertexP2uiv = (PFNGLVERTEXP2UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP2uiv")) == NULL) || r;
- r = ((glVertexP3ui = (PFNGLVERTEXP3UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP3ui")) == NULL) || r;
- r = ((glVertexP3uiv = (PFNGLVERTEXP3UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP3uiv")) == NULL) || r;
- r = ((glVertexP4ui = (PFNGLVERTEXP4UIPROC)glewGetProcAddress((const GLubyte*)"glVertexP4ui")) == NULL) || r;
- r = ((glVertexP4uiv = (PFNGLVERTEXP4UIVPROC)glewGetProcAddress((const GLubyte*)"glVertexP4uiv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
- #ifdef GL_ARB_viewport_array
- static GLboolean _glewInit_GL_ARB_viewport_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDepthRangeArrayv = (PFNGLDEPTHRANGEARRAYVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayv")) == NULL) || r;
- r = ((glDepthRangeIndexed = (PFNGLDEPTHRANGEINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexed")) == NULL) || r;
- r = ((glGetDoublei_v = (PFNGLGETDOUBLEI_VPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_v")) == NULL) || r;
- r = ((glGetFloati_v = (PFNGLGETFLOATI_VPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_v")) == NULL) || r;
- r = ((glScissorArrayv = (PFNGLSCISSORARRAYVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayv")) == NULL) || r;
- r = ((glScissorIndexed = (PFNGLSCISSORINDEXEDPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexed")) == NULL) || r;
- r = ((glScissorIndexedv = (PFNGLSCISSORINDEXEDVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedv")) == NULL) || r;
- r = ((glViewportArrayv = (PFNGLVIEWPORTARRAYVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayv")) == NULL) || r;
- r = ((glViewportIndexedf = (PFNGLVIEWPORTINDEXEDFPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedf")) == NULL) || r;
- r = ((glViewportIndexedfv = (PFNGLVIEWPORTINDEXEDFVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfv")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_viewport_array */
- #ifdef GL_ARB_window_pos
- static GLboolean _glewInit_GL_ARB_window_pos ()
- {
- GLboolean r = GL_FALSE;
- r = ((glWindowPos2dARB = (PFNGLWINDOWPOS2DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dARB")) == NULL) || r;
- r = ((glWindowPos2dvARB = (PFNGLWINDOWPOS2DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvARB")) == NULL) || r;
- r = ((glWindowPos2fARB = (PFNGLWINDOWPOS2FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fARB")) == NULL) || r;
- r = ((glWindowPos2fvARB = (PFNGLWINDOWPOS2FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvARB")) == NULL) || r;
- r = ((glWindowPos2iARB = (PFNGLWINDOWPOS2IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iARB")) == NULL) || r;
- r = ((glWindowPos2ivARB = (PFNGLWINDOWPOS2IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivARB")) == NULL) || r;
- r = ((glWindowPos2sARB = (PFNGLWINDOWPOS2SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sARB")) == NULL) || r;
- r = ((glWindowPos2svARB = (PFNGLWINDOWPOS2SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svARB")) == NULL) || r;
- r = ((glWindowPos3dARB = (PFNGLWINDOWPOS3DARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dARB")) == NULL) || r;
- r = ((glWindowPos3dvARB = (PFNGLWINDOWPOS3DVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvARB")) == NULL) || r;
- r = ((glWindowPos3fARB = (PFNGLWINDOWPOS3FARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fARB")) == NULL) || r;
- r = ((glWindowPos3fvARB = (PFNGLWINDOWPOS3FVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvARB")) == NULL) || r;
- r = ((glWindowPos3iARB = (PFNGLWINDOWPOS3IARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iARB")) == NULL) || r;
- r = ((glWindowPos3ivARB = (PFNGLWINDOWPOS3IVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivARB")) == NULL) || r;
- r = ((glWindowPos3sARB = (PFNGLWINDOWPOS3SARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sARB")) == NULL) || r;
- r = ((glWindowPos3svARB = (PFNGLWINDOWPOS3SVARBPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svARB")) == NULL) || r;
- return r;
- }
- #endif /* GL_ARB_window_pos */
- #ifdef GL_ATI_draw_buffers
- static GLboolean _glewInit_GL_ATI_draw_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawBuffersATI = (PFNGLDRAWBUFFERSATIPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_draw_buffers */
- #ifdef GL_ATI_element_array
- static GLboolean _glewInit_GL_ATI_element_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawElementArrayATI = (PFNGLDRAWELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawElementArrayATI")) == NULL) || r;
- r = ((glDrawRangeElementArrayATI = (PFNGLDRAWRANGEELEMENTARRAYATIPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementArrayATI")) == NULL) || r;
- r = ((glElementPointerATI = (PFNGLELEMENTPOINTERATIPROC)glewGetProcAddress((const GLubyte*)"glElementPointerATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_element_array */
- #ifdef GL_ATI_envmap_bumpmap
- static GLboolean _glewInit_GL_ATI_envmap_bumpmap ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetTexBumpParameterfvATI = (PFNGLGETTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterfvATI")) == NULL) || r;
- r = ((glGetTexBumpParameterivATI = (PFNGLGETTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetTexBumpParameterivATI")) == NULL) || r;
- r = ((glTexBumpParameterfvATI = (PFNGLTEXBUMPPARAMETERFVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterfvATI")) == NULL) || r;
- r = ((glTexBumpParameterivATI = (PFNGLTEXBUMPPARAMETERIVATIPROC)glewGetProcAddress((const GLubyte*)"glTexBumpParameterivATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_envmap_bumpmap */
- #ifdef GL_ATI_fragment_shader
- static GLboolean _glewInit_GL_ATI_fragment_shader ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAlphaFragmentOp1ATI = (PFNGLALPHAFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp1ATI")) == NULL) || r;
- r = ((glAlphaFragmentOp2ATI = (PFNGLALPHAFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp2ATI")) == NULL) || r;
- r = ((glAlphaFragmentOp3ATI = (PFNGLALPHAFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glAlphaFragmentOp3ATI")) == NULL) || r;
- r = ((glBeginFragmentShaderATI = (PFNGLBEGINFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBeginFragmentShaderATI")) == NULL) || r;
- r = ((glBindFragmentShaderATI = (PFNGLBINDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glBindFragmentShaderATI")) == NULL) || r;
- r = ((glColorFragmentOp1ATI = (PFNGLCOLORFRAGMENTOP1ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp1ATI")) == NULL) || r;
- r = ((glColorFragmentOp2ATI = (PFNGLCOLORFRAGMENTOP2ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp2ATI")) == NULL) || r;
- r = ((glColorFragmentOp3ATI = (PFNGLCOLORFRAGMENTOP3ATIPROC)glewGetProcAddress((const GLubyte*)"glColorFragmentOp3ATI")) == NULL) || r;
- r = ((glDeleteFragmentShaderATI = (PFNGLDELETEFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glDeleteFragmentShaderATI")) == NULL) || r;
- r = ((glEndFragmentShaderATI = (PFNGLENDFRAGMENTSHADERATIPROC)glewGetProcAddress((const GLubyte*)"glEndFragmentShaderATI")) == NULL) || r;
- r = ((glGenFragmentShadersATI = (PFNGLGENFRAGMENTSHADERSATIPROC)glewGetProcAddress((const GLubyte*)"glGenFragmentShadersATI")) == NULL) || r;
- r = ((glPassTexCoordATI = (PFNGLPASSTEXCOORDATIPROC)glewGetProcAddress((const GLubyte*)"glPassTexCoordATI")) == NULL) || r;
- r = ((glSampleMapATI = (PFNGLSAMPLEMAPATIPROC)glewGetProcAddress((const GLubyte*)"glSampleMapATI")) == NULL) || r;
- r = ((glSetFragmentShaderConstantATI = (PFNGLSETFRAGMENTSHADERCONSTANTATIPROC)glewGetProcAddress((const GLubyte*)"glSetFragmentShaderConstantATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_fragment_shader */
- #ifdef GL_ATI_map_object_buffer
- static GLboolean _glewInit_GL_ATI_map_object_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMapObjectBufferATI = (PFNGLMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glMapObjectBufferATI")) == NULL) || r;
- r = ((glUnmapObjectBufferATI = (PFNGLUNMAPOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUnmapObjectBufferATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_map_object_buffer */
- #ifdef GL_ATI_pn_triangles
- static GLboolean _glewInit_GL_ATI_pn_triangles ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPNTrianglesfATI = (PFNGLPNTRIANGLESFATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesfATI")) == NULL) || r;
- r = ((glPNTrianglesiATI = (PFNGLPNTRIANGLESIATIPROC)glewGetProcAddress((const GLubyte*)"glPNTrianglesiATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_pn_triangles */
- #ifdef GL_ATI_separate_stencil
- static GLboolean _glewInit_GL_ATI_separate_stencil ()
- {
- GLboolean r = GL_FALSE;
- r = ((glStencilFuncSeparateATI = (PFNGLSTENCILFUNCSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilFuncSeparateATI")) == NULL) || r;
- r = ((glStencilOpSeparateATI = (PFNGLSTENCILOPSEPARATEATIPROC)glewGetProcAddress((const GLubyte*)"glStencilOpSeparateATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_separate_stencil */
- #ifdef GL_ATI_vertex_array_object
- static GLboolean _glewInit_GL_ATI_vertex_array_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glArrayObjectATI = (PFNGLARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glArrayObjectATI")) == NULL) || r;
- r = ((glFreeObjectBufferATI = (PFNGLFREEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glFreeObjectBufferATI")) == NULL) || r;
- r = ((glGetArrayObjectfvATI = (PFNGLGETARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectfvATI")) == NULL) || r;
- r = ((glGetArrayObjectivATI = (PFNGLGETARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetArrayObjectivATI")) == NULL) || r;
- r = ((glGetObjectBufferfvATI = (PFNGLGETOBJECTBUFFERFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferfvATI")) == NULL) || r;
- r = ((glGetObjectBufferivATI = (PFNGLGETOBJECTBUFFERIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetObjectBufferivATI")) == NULL) || r;
- r = ((glGetVariantArrayObjectfvATI = (PFNGLGETVARIANTARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectfvATI")) == NULL) || r;
- r = ((glGetVariantArrayObjectivATI = (PFNGLGETVARIANTARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVariantArrayObjectivATI")) == NULL) || r;
- r = ((glIsObjectBufferATI = (PFNGLISOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glIsObjectBufferATI")) == NULL) || r;
- r = ((glNewObjectBufferATI = (PFNGLNEWOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glNewObjectBufferATI")) == NULL) || r;
- r = ((glUpdateObjectBufferATI = (PFNGLUPDATEOBJECTBUFFERATIPROC)glewGetProcAddress((const GLubyte*)"glUpdateObjectBufferATI")) == NULL) || r;
- r = ((glVariantArrayObjectATI = (PFNGLVARIANTARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVariantArrayObjectATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_vertex_array_object */
- #ifdef GL_ATI_vertex_attrib_array_object
- static GLboolean _glewInit_GL_ATI_vertex_attrib_array_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVertexAttribArrayObjectfvATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTFVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectfvATI")) == NULL) || r;
- r = ((glGetVertexAttribArrayObjectivATI = (PFNGLGETVERTEXATTRIBARRAYOBJECTIVATIPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribArrayObjectivATI")) == NULL) || r;
- r = ((glVertexAttribArrayObjectATI = (PFNGLVERTEXATTRIBARRAYOBJECTATIPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribArrayObjectATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_vertex_attrib_array_object */
- #ifdef GL_ATI_vertex_streams
- static GLboolean _glewInit_GL_ATI_vertex_streams ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClientActiveVertexStreamATI = (PFNGLCLIENTACTIVEVERTEXSTREAMATIPROC)glewGetProcAddress((const GLubyte*)"glClientActiveVertexStreamATI")) == NULL) || r;
- r = ((glNormalStream3bATI = (PFNGLNORMALSTREAM3BATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bATI")) == NULL) || r;
- r = ((glNormalStream3bvATI = (PFNGLNORMALSTREAM3BVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3bvATI")) == NULL) || r;
- r = ((glNormalStream3dATI = (PFNGLNORMALSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dATI")) == NULL) || r;
- r = ((glNormalStream3dvATI = (PFNGLNORMALSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3dvATI")) == NULL) || r;
- r = ((glNormalStream3fATI = (PFNGLNORMALSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fATI")) == NULL) || r;
- r = ((glNormalStream3fvATI = (PFNGLNORMALSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3fvATI")) == NULL) || r;
- r = ((glNormalStream3iATI = (PFNGLNORMALSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3iATI")) == NULL) || r;
- r = ((glNormalStream3ivATI = (PFNGLNORMALSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3ivATI")) == NULL) || r;
- r = ((glNormalStream3sATI = (PFNGLNORMALSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3sATI")) == NULL) || r;
- r = ((glNormalStream3svATI = (PFNGLNORMALSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glNormalStream3svATI")) == NULL) || r;
- r = ((glVertexBlendEnvfATI = (PFNGLVERTEXBLENDENVFATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnvfATI")) == NULL) || r;
- r = ((glVertexBlendEnviATI = (PFNGLVERTEXBLENDENVIATIPROC)glewGetProcAddress((const GLubyte*)"glVertexBlendEnviATI")) == NULL) || r;
- r = ((glVertexStream1dATI = (PFNGLVERTEXSTREAM1DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dATI")) == NULL) || r;
- r = ((glVertexStream1dvATI = (PFNGLVERTEXSTREAM1DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1dvATI")) == NULL) || r;
- r = ((glVertexStream1fATI = (PFNGLVERTEXSTREAM1FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fATI")) == NULL) || r;
- r = ((glVertexStream1fvATI = (PFNGLVERTEXSTREAM1FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1fvATI")) == NULL) || r;
- r = ((glVertexStream1iATI = (PFNGLVERTEXSTREAM1IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1iATI")) == NULL) || r;
- r = ((glVertexStream1ivATI = (PFNGLVERTEXSTREAM1IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1ivATI")) == NULL) || r;
- r = ((glVertexStream1sATI = (PFNGLVERTEXSTREAM1SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1sATI")) == NULL) || r;
- r = ((glVertexStream1svATI = (PFNGLVERTEXSTREAM1SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream1svATI")) == NULL) || r;
- r = ((glVertexStream2dATI = (PFNGLVERTEXSTREAM2DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dATI")) == NULL) || r;
- r = ((glVertexStream2dvATI = (PFNGLVERTEXSTREAM2DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2dvATI")) == NULL) || r;
- r = ((glVertexStream2fATI = (PFNGLVERTEXSTREAM2FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fATI")) == NULL) || r;
- r = ((glVertexStream2fvATI = (PFNGLVERTEXSTREAM2FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2fvATI")) == NULL) || r;
- r = ((glVertexStream2iATI = (PFNGLVERTEXSTREAM2IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2iATI")) == NULL) || r;
- r = ((glVertexStream2ivATI = (PFNGLVERTEXSTREAM2IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2ivATI")) == NULL) || r;
- r = ((glVertexStream2sATI = (PFNGLVERTEXSTREAM2SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2sATI")) == NULL) || r;
- r = ((glVertexStream2svATI = (PFNGLVERTEXSTREAM2SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream2svATI")) == NULL) || r;
- r = ((glVertexStream3dATI = (PFNGLVERTEXSTREAM3DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dATI")) == NULL) || r;
- r = ((glVertexStream3dvATI = (PFNGLVERTEXSTREAM3DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3dvATI")) == NULL) || r;
- r = ((glVertexStream3fATI = (PFNGLVERTEXSTREAM3FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fATI")) == NULL) || r;
- r = ((glVertexStream3fvATI = (PFNGLVERTEXSTREAM3FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3fvATI")) == NULL) || r;
- r = ((glVertexStream3iATI = (PFNGLVERTEXSTREAM3IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3iATI")) == NULL) || r;
- r = ((glVertexStream3ivATI = (PFNGLVERTEXSTREAM3IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3ivATI")) == NULL) || r;
- r = ((glVertexStream3sATI = (PFNGLVERTEXSTREAM3SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3sATI")) == NULL) || r;
- r = ((glVertexStream3svATI = (PFNGLVERTEXSTREAM3SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream3svATI")) == NULL) || r;
- r = ((glVertexStream4dATI = (PFNGLVERTEXSTREAM4DATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dATI")) == NULL) || r;
- r = ((glVertexStream4dvATI = (PFNGLVERTEXSTREAM4DVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4dvATI")) == NULL) || r;
- r = ((glVertexStream4fATI = (PFNGLVERTEXSTREAM4FATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fATI")) == NULL) || r;
- r = ((glVertexStream4fvATI = (PFNGLVERTEXSTREAM4FVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4fvATI")) == NULL) || r;
- r = ((glVertexStream4iATI = (PFNGLVERTEXSTREAM4IATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4iATI")) == NULL) || r;
- r = ((glVertexStream4ivATI = (PFNGLVERTEXSTREAM4IVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4ivATI")) == NULL) || r;
- r = ((glVertexStream4sATI = (PFNGLVERTEXSTREAM4SATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4sATI")) == NULL) || r;
- r = ((glVertexStream4svATI = (PFNGLVERTEXSTREAM4SVATIPROC)glewGetProcAddress((const GLubyte*)"glVertexStream4svATI")) == NULL) || r;
- return r;
- }
- #endif /* GL_ATI_vertex_streams */
- #ifdef GL_EXT_base_instance
- static GLboolean _glewInit_GL_EXT_base_instance ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedBaseInstanceEXT = (PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedBaseInstanceEXT")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseInstanceEXT")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseVertexBaseInstanceEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexBaseInstanceEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_base_instance */
- #ifdef GL_EXT_bindable_uniform
- static GLboolean _glewInit_GL_EXT_bindable_uniform ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetUniformBufferSizeEXT = (PFNGLGETUNIFORMBUFFERSIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformBufferSizeEXT")) == NULL) || r;
- r = ((glGetUniformOffsetEXT = (PFNGLGETUNIFORMOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformOffsetEXT")) == NULL) || r;
- r = ((glUniformBufferEXT = (PFNGLUNIFORMBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUniformBufferEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_bindable_uniform */
- #ifdef GL_EXT_blend_color
- static GLboolean _glewInit_GL_EXT_blend_color ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendColorEXT = (PFNGLBLENDCOLOREXTPROC)glewGetProcAddress((const GLubyte*)"glBlendColorEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_blend_color */
- #ifdef GL_EXT_blend_equation_separate
- static GLboolean _glewInit_GL_EXT_blend_equation_separate ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationSeparateEXT = (PFNGLBLENDEQUATIONSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_blend_equation_separate */
- #ifdef GL_EXT_blend_func_extended
- static GLboolean _glewInit_GL_EXT_blend_func_extended ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindFragDataLocationIndexedEXT = (PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationIndexedEXT")) == NULL) || r;
- r = ((glGetFragDataIndexEXT = (PFNGLGETFRAGDATAINDEXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataIndexEXT")) == NULL) || r;
- r = ((glGetProgramResourceLocationIndexEXT = (PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourceLocationIndexEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_blend_func_extended */
- #ifdef GL_EXT_blend_func_separate
- static GLboolean _glewInit_GL_EXT_blend_func_separate ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendFuncSeparateEXT = (PFNGLBLENDFUNCSEPARATEEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_blend_func_separate */
- #ifdef GL_EXT_blend_minmax
- static GLboolean _glewInit_GL_EXT_blend_minmax ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationEXT = (PFNGLBLENDEQUATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_blend_minmax */
- #ifdef GL_EXT_buffer_storage
- static GLboolean _glewInit_GL_EXT_buffer_storage ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferStorageEXT = (PFNGLBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageEXT")) == NULL) || r;
- r = ((glNamedBufferStorageEXT = (PFNGLNAMEDBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_buffer_storage */
- #ifdef GL_EXT_clear_texture
- static GLboolean _glewInit_GL_EXT_clear_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearTexImageEXT = (PFNGLCLEARTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glClearTexImageEXT")) == NULL) || r;
- r = ((glClearTexSubImageEXT = (PFNGLCLEARTEXSUBIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glClearTexSubImageEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_clear_texture */
- #ifdef GL_EXT_color_subtable
- static GLboolean _glewInit_GL_EXT_color_subtable ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorSubTableEXT = (PFNGLCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorSubTableEXT")) == NULL) || r;
- r = ((glCopyColorSubTableEXT = (PFNGLCOPYCOLORSUBTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyColorSubTableEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_color_subtable */
- #ifdef GL_EXT_compiled_vertex_array
- static GLboolean _glewInit_GL_EXT_compiled_vertex_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glLockArraysEXT = (PFNGLLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glLockArraysEXT")) == NULL) || r;
- r = ((glUnlockArraysEXT = (PFNGLUNLOCKARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glUnlockArraysEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_compiled_vertex_array */
- #ifdef GL_EXT_convolution
- static GLboolean _glewInit_GL_EXT_convolution ()
- {
- GLboolean r = GL_FALSE;
- r = ((glConvolutionFilter1DEXT = (PFNGLCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter1DEXT")) == NULL) || r;
- r = ((glConvolutionFilter2DEXT = (PFNGLCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionFilter2DEXT")) == NULL) || r;
- r = ((glConvolutionParameterfEXT = (PFNGLCONVOLUTIONPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfEXT")) == NULL) || r;
- r = ((glConvolutionParameterfvEXT = (PFNGLCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterfvEXT")) == NULL) || r;
- r = ((glConvolutionParameteriEXT = (PFNGLCONVOLUTIONPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameteriEXT")) == NULL) || r;
- r = ((glConvolutionParameterivEXT = (PFNGLCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glConvolutionParameterivEXT")) == NULL) || r;
- r = ((glCopyConvolutionFilter1DEXT = (PFNGLCOPYCONVOLUTIONFILTER1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter1DEXT")) == NULL) || r;
- r = ((glCopyConvolutionFilter2DEXT = (PFNGLCOPYCONVOLUTIONFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyConvolutionFilter2DEXT")) == NULL) || r;
- r = ((glGetConvolutionFilterEXT = (PFNGLGETCONVOLUTIONFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionFilterEXT")) == NULL) || r;
- r = ((glGetConvolutionParameterfvEXT = (PFNGLGETCONVOLUTIONPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterfvEXT")) == NULL) || r;
- r = ((glGetConvolutionParameterivEXT = (PFNGLGETCONVOLUTIONPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetConvolutionParameterivEXT")) == NULL) || r;
- r = ((glGetSeparableFilterEXT = (PFNGLGETSEPARABLEFILTEREXTPROC)glewGetProcAddress((const GLubyte*)"glGetSeparableFilterEXT")) == NULL) || r;
- r = ((glSeparableFilter2DEXT = (PFNGLSEPARABLEFILTER2DEXTPROC)glewGetProcAddress((const GLubyte*)"glSeparableFilter2DEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_convolution */
- #ifdef GL_EXT_coordinate_frame
- static GLboolean _glewInit_GL_EXT_coordinate_frame ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBinormalPointerEXT = (PFNGLBINORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glBinormalPointerEXT")) == NULL) || r;
- r = ((glTangentPointerEXT = (PFNGLTANGENTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTangentPointerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_coordinate_frame */
- #ifdef GL_EXT_copy_image
- static GLboolean _glewInit_GL_EXT_copy_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyImageSubDataEXT = (PFNGLCOPYIMAGESUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_copy_image */
- #ifdef GL_EXT_copy_texture
- static GLboolean _glewInit_GL_EXT_copy_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyTexImage1DEXT = (PFNGLCOPYTEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage1DEXT")) == NULL) || r;
- r = ((glCopyTexImage2DEXT = (PFNGLCOPYTEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexImage2DEXT")) == NULL) || r;
- r = ((glCopyTexSubImage1DEXT = (PFNGLCOPYTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage1DEXT")) == NULL) || r;
- r = ((glCopyTexSubImage2DEXT = (PFNGLCOPYTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage2DEXT")) == NULL) || r;
- r = ((glCopyTexSubImage3DEXT = (PFNGLCOPYTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_copy_texture */
- #ifdef GL_EXT_cull_vertex
- static GLboolean _glewInit_GL_EXT_cull_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCullParameterdvEXT = (PFNGLCULLPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterdvEXT")) == NULL) || r;
- r = ((glCullParameterfvEXT = (PFNGLCULLPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glCullParameterfvEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_cull_vertex */
- #ifdef GL_EXT_debug_label
- static GLboolean _glewInit_GL_EXT_debug_label ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetObjectLabelEXT = (PFNGLGETOBJECTLABELEXTPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabelEXT")) == NULL) || r;
- r = ((glLabelObjectEXT = (PFNGLLABELOBJECTEXTPROC)glewGetProcAddress((const GLubyte*)"glLabelObjectEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_debug_label */
- #ifdef GL_EXT_debug_marker
- static GLboolean _glewInit_GL_EXT_debug_marker ()
- {
- GLboolean r = GL_FALSE;
- r = ((glInsertEventMarkerEXT = (PFNGLINSERTEVENTMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glInsertEventMarkerEXT")) == NULL) || r;
- r = ((glPopGroupMarkerEXT = (PFNGLPOPGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPopGroupMarkerEXT")) == NULL) || r;
- r = ((glPushGroupMarkerEXT = (PFNGLPUSHGROUPMARKEREXTPROC)glewGetProcAddress((const GLubyte*)"glPushGroupMarkerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_debug_marker */
- #ifdef GL_EXT_depth_bounds_test
- static GLboolean _glewInit_GL_EXT_depth_bounds_test ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDepthBoundsEXT = (PFNGLDEPTHBOUNDSEXTPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_depth_bounds_test */
- #ifdef GL_EXT_direct_state_access
- static GLboolean _glewInit_GL_EXT_direct_state_access ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindMultiTextureEXT = (PFNGLBINDMULTITEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindMultiTextureEXT")) == NULL) || r;
- r = ((glCheckNamedFramebufferStatusEXT = (PFNGLCHECKNAMEDFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckNamedFramebufferStatusEXT")) == NULL) || r;
- r = ((glClientAttribDefaultEXT = (PFNGLCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glClientAttribDefaultEXT")) == NULL) || r;
- r = ((glCompressedMultiTexImage1DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage1DEXT")) == NULL) || r;
- r = ((glCompressedMultiTexImage2DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage2DEXT")) == NULL) || r;
- r = ((glCompressedMultiTexImage3DEXT = (PFNGLCOMPRESSEDMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexImage3DEXT")) == NULL) || r;
- r = ((glCompressedMultiTexSubImage1DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage1DEXT")) == NULL) || r;
- r = ((glCompressedMultiTexSubImage2DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage2DEXT")) == NULL) || r;
- r = ((glCompressedMultiTexSubImage3DEXT = (PFNGLCOMPRESSEDMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedMultiTexSubImage3DEXT")) == NULL) || r;
- r = ((glCompressedTextureImage1DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage1DEXT")) == NULL) || r;
- r = ((glCompressedTextureImage2DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage2DEXT")) == NULL) || r;
- r = ((glCompressedTextureImage3DEXT = (PFNGLCOMPRESSEDTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureImage3DEXT")) == NULL) || r;
- r = ((glCompressedTextureSubImage1DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage1DEXT")) == NULL) || r;
- r = ((glCompressedTextureSubImage2DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage2DEXT")) == NULL) || r;
- r = ((glCompressedTextureSubImage3DEXT = (PFNGLCOMPRESSEDTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCompressedTextureSubImage3DEXT")) == NULL) || r;
- r = ((glCopyMultiTexImage1DEXT = (PFNGLCOPYMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage1DEXT")) == NULL) || r;
- r = ((glCopyMultiTexImage2DEXT = (PFNGLCOPYMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexImage2DEXT")) == NULL) || r;
- r = ((glCopyMultiTexSubImage1DEXT = (PFNGLCOPYMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage1DEXT")) == NULL) || r;
- r = ((glCopyMultiTexSubImage2DEXT = (PFNGLCOPYMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage2DEXT")) == NULL) || r;
- r = ((glCopyMultiTexSubImage3DEXT = (PFNGLCOPYMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyMultiTexSubImage3DEXT")) == NULL) || r;
- r = ((glCopyTextureImage1DEXT = (PFNGLCOPYTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage1DEXT")) == NULL) || r;
- r = ((glCopyTextureImage2DEXT = (PFNGLCOPYTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureImage2DEXT")) == NULL) || r;
- r = ((glCopyTextureSubImage1DEXT = (PFNGLCOPYTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage1DEXT")) == NULL) || r;
- r = ((glCopyTextureSubImage2DEXT = (PFNGLCOPYTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage2DEXT")) == NULL) || r;
- r = ((glCopyTextureSubImage3DEXT = (PFNGLCOPYTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glCopyTextureSubImage3DEXT")) == NULL) || r;
- r = ((glDisableClientStateIndexedEXT = (PFNGLDISABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateIndexedEXT")) == NULL) || r;
- r = ((glDisableClientStateiEXT = (PFNGLDISABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableClientStateiEXT")) == NULL) || r;
- r = ((glDisableVertexArrayAttribEXT = (PFNGLDISABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayAttribEXT")) == NULL) || r;
- r = ((glDisableVertexArrayEXT = (PFNGLDISABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVertexArrayEXT")) == NULL) || r;
- r = ((glEnableClientStateIndexedEXT = (PFNGLENABLECLIENTSTATEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateIndexedEXT")) == NULL) || r;
- r = ((glEnableClientStateiEXT = (PFNGLENABLECLIENTSTATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableClientStateiEXT")) == NULL) || r;
- r = ((glEnableVertexArrayAttribEXT = (PFNGLENABLEVERTEXARRAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayAttribEXT")) == NULL) || r;
- r = ((glEnableVertexArrayEXT = (PFNGLENABLEVERTEXARRAYEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVertexArrayEXT")) == NULL) || r;
- r = ((glFlushMappedNamedBufferRangeEXT = (PFNGLFLUSHMAPPEDNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedNamedBufferRangeEXT")) == NULL) || r;
- r = ((glFramebufferDrawBufferEXT = (PFNGLFRAMEBUFFERDRAWBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBufferEXT")) == NULL) || r;
- r = ((glFramebufferDrawBuffersEXT = (PFNGLFRAMEBUFFERDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferDrawBuffersEXT")) == NULL) || r;
- r = ((glFramebufferReadBufferEXT = (PFNGLFRAMEBUFFERREADBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferReadBufferEXT")) == NULL) || r;
- r = ((glGenerateMultiTexMipmapEXT = (PFNGLGENERATEMULTITEXMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMultiTexMipmapEXT")) == NULL) || r;
- r = ((glGenerateTextureMipmapEXT = (PFNGLGENERATETEXTUREMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateTextureMipmapEXT")) == NULL) || r;
- r = ((glGetCompressedMultiTexImageEXT = (PFNGLGETCOMPRESSEDMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedMultiTexImageEXT")) == NULL) || r;
- r = ((glGetCompressedTextureImageEXT = (PFNGLGETCOMPRESSEDTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetCompressedTextureImageEXT")) == NULL) || r;
- r = ((glGetDoubleIndexedvEXT = (PFNGLGETDOUBLEINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoubleIndexedvEXT")) == NULL) || r;
- r = ((glGetDoublei_vEXT = (PFNGLGETDOUBLEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetDoublei_vEXT")) == NULL) || r;
- r = ((glGetFloatIndexedvEXT = (PFNGLGETFLOATINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloatIndexedvEXT")) == NULL) || r;
- r = ((glGetFloati_vEXT = (PFNGLGETFLOATI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vEXT")) == NULL) || r;
- r = ((glGetFramebufferParameterivEXT = (PFNGLGETFRAMEBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferParameterivEXT")) == NULL) || r;
- r = ((glGetMultiTexEnvfvEXT = (PFNGLGETMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvfvEXT")) == NULL) || r;
- r = ((glGetMultiTexEnvivEXT = (PFNGLGETMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexEnvivEXT")) == NULL) || r;
- r = ((glGetMultiTexGendvEXT = (PFNGLGETMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGendvEXT")) == NULL) || r;
- r = ((glGetMultiTexGenfvEXT = (PFNGLGETMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenfvEXT")) == NULL) || r;
- r = ((glGetMultiTexGenivEXT = (PFNGLGETMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexGenivEXT")) == NULL) || r;
- r = ((glGetMultiTexImageEXT = (PFNGLGETMULTITEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexImageEXT")) == NULL) || r;
- r = ((glGetMultiTexLevelParameterfvEXT = (PFNGLGETMULTITEXLEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterfvEXT")) == NULL) || r;
- r = ((glGetMultiTexLevelParameterivEXT = (PFNGLGETMULTITEXLEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexLevelParameterivEXT")) == NULL) || r;
- r = ((glGetMultiTexParameterIivEXT = (PFNGLGETMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIivEXT")) == NULL) || r;
- r = ((glGetMultiTexParameterIuivEXT = (PFNGLGETMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterIuivEXT")) == NULL) || r;
- r = ((glGetMultiTexParameterfvEXT = (PFNGLGETMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterfvEXT")) == NULL) || r;
- r = ((glGetMultiTexParameterivEXT = (PFNGLGETMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMultiTexParameterivEXT")) == NULL) || r;
- r = ((glGetNamedBufferParameterivEXT = (PFNGLGETNAMEDBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterivEXT")) == NULL) || r;
- r = ((glGetNamedBufferPointervEXT = (PFNGLGETNAMEDBUFFERPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferPointervEXT")) == NULL) || r;
- r = ((glGetNamedBufferSubDataEXT = (PFNGLGETNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferSubDataEXT")) == NULL) || r;
- r = ((glGetNamedFramebufferAttachmentParameterivEXT = (PFNGLGETNAMEDFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedFramebufferAttachmentParameterivEXT")) == NULL) || r;
- r = ((glGetNamedProgramLocalParameterIivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIivEXT")) == NULL) || r;
- r = ((glGetNamedProgramLocalParameterIuivEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterIuivEXT")) == NULL) || r;
- r = ((glGetNamedProgramLocalParameterdvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterdvEXT")) == NULL) || r;
- r = ((glGetNamedProgramLocalParameterfvEXT = (PFNGLGETNAMEDPROGRAMLOCALPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramLocalParameterfvEXT")) == NULL) || r;
- r = ((glGetNamedProgramStringEXT = (PFNGLGETNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramStringEXT")) == NULL) || r;
- r = ((glGetNamedProgramivEXT = (PFNGLGETNAMEDPROGRAMIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedProgramivEXT")) == NULL) || r;
- r = ((glGetNamedRenderbufferParameterivEXT = (PFNGLGETNAMEDRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetNamedRenderbufferParameterivEXT")) == NULL) || r;
- r = ((glGetPointerIndexedvEXT = (PFNGLGETPOINTERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointerIndexedvEXT")) == NULL) || r;
- r = ((glGetPointeri_vEXT = (PFNGLGETPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPointeri_vEXT")) == NULL) || r;
- r = ((glGetTextureImageEXT = (PFNGLGETTEXTUREIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureImageEXT")) == NULL) || r;
- r = ((glGetTextureLevelParameterfvEXT = (PFNGLGETTEXTURELEVELPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterfvEXT")) == NULL) || r;
- r = ((glGetTextureLevelParameterivEXT = (PFNGLGETTEXTURELEVELPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureLevelParameterivEXT")) == NULL) || r;
- r = ((glGetTextureParameterIivEXT = (PFNGLGETTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIivEXT")) == NULL) || r;
- r = ((glGetTextureParameterIuivEXT = (PFNGLGETTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterIuivEXT")) == NULL) || r;
- r = ((glGetTextureParameterfvEXT = (PFNGLGETTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterfvEXT")) == NULL) || r;
- r = ((glGetTextureParameterivEXT = (PFNGLGETTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTextureParameterivEXT")) == NULL) || r;
- r = ((glGetVertexArrayIntegeri_vEXT = (PFNGLGETVERTEXARRAYINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegeri_vEXT")) == NULL) || r;
- r = ((glGetVertexArrayIntegervEXT = (PFNGLGETVERTEXARRAYINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayIntegervEXT")) == NULL) || r;
- r = ((glGetVertexArrayPointeri_vEXT = (PFNGLGETVERTEXARRAYPOINTERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointeri_vEXT")) == NULL) || r;
- r = ((glGetVertexArrayPointervEXT = (PFNGLGETVERTEXARRAYPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexArrayPointervEXT")) == NULL) || r;
- r = ((glMapNamedBufferEXT = (PFNGLMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferEXT")) == NULL) || r;
- r = ((glMapNamedBufferRangeEXT = (PFNGLMAPNAMEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapNamedBufferRangeEXT")) == NULL) || r;
- r = ((glMatrixFrustumEXT = (PFNGLMATRIXFRUSTUMEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixFrustumEXT")) == NULL) || r;
- r = ((glMatrixLoadIdentityEXT = (PFNGLMATRIXLOADIDENTITYEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadIdentityEXT")) == NULL) || r;
- r = ((glMatrixLoadTransposedEXT = (PFNGLMATRIXLOADTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposedEXT")) == NULL) || r;
- r = ((glMatrixLoadTransposefEXT = (PFNGLMATRIXLOADTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTransposefEXT")) == NULL) || r;
- r = ((glMatrixLoaddEXT = (PFNGLMATRIXLOADDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoaddEXT")) == NULL) || r;
- r = ((glMatrixLoadfEXT = (PFNGLMATRIXLOADFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadfEXT")) == NULL) || r;
- r = ((glMatrixMultTransposedEXT = (PFNGLMATRIXMULTTRANSPOSEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposedEXT")) == NULL) || r;
- r = ((glMatrixMultTransposefEXT = (PFNGLMATRIXMULTTRANSPOSEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTransposefEXT")) == NULL) || r;
- r = ((glMatrixMultdEXT = (PFNGLMATRIXMULTDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultdEXT")) == NULL) || r;
- r = ((glMatrixMultfEXT = (PFNGLMATRIXMULTFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultfEXT")) == NULL) || r;
- r = ((glMatrixOrthoEXT = (PFNGLMATRIXORTHOEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixOrthoEXT")) == NULL) || r;
- r = ((glMatrixPopEXT = (PFNGLMATRIXPOPEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPopEXT")) == NULL) || r;
- r = ((glMatrixPushEXT = (PFNGLMATRIXPUSHEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixPushEXT")) == NULL) || r;
- r = ((glMatrixRotatedEXT = (PFNGLMATRIXROTATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatedEXT")) == NULL) || r;
- r = ((glMatrixRotatefEXT = (PFNGLMATRIXROTATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixRotatefEXT")) == NULL) || r;
- r = ((glMatrixScaledEXT = (PFNGLMATRIXSCALEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScaledEXT")) == NULL) || r;
- r = ((glMatrixScalefEXT = (PFNGLMATRIXSCALEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixScalefEXT")) == NULL) || r;
- r = ((glMatrixTranslatedEXT = (PFNGLMATRIXTRANSLATEDEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatedEXT")) == NULL) || r;
- r = ((glMatrixTranslatefEXT = (PFNGLMATRIXTRANSLATEFEXTPROC)glewGetProcAddress((const GLubyte*)"glMatrixTranslatefEXT")) == NULL) || r;
- r = ((glMultiTexBufferEXT = (PFNGLMULTITEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexBufferEXT")) == NULL) || r;
- r = ((glMultiTexCoordPointerEXT = (PFNGLMULTITEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoordPointerEXT")) == NULL) || r;
- r = ((glMultiTexEnvfEXT = (PFNGLMULTITEXENVFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfEXT")) == NULL) || r;
- r = ((glMultiTexEnvfvEXT = (PFNGLMULTITEXENVFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvfvEXT")) == NULL) || r;
- r = ((glMultiTexEnviEXT = (PFNGLMULTITEXENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnviEXT")) == NULL) || r;
- r = ((glMultiTexEnvivEXT = (PFNGLMULTITEXENVIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexEnvivEXT")) == NULL) || r;
- r = ((glMultiTexGendEXT = (PFNGLMULTITEXGENDEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendEXT")) == NULL) || r;
- r = ((glMultiTexGendvEXT = (PFNGLMULTITEXGENDVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGendvEXT")) == NULL) || r;
- r = ((glMultiTexGenfEXT = (PFNGLMULTITEXGENFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfEXT")) == NULL) || r;
- r = ((glMultiTexGenfvEXT = (PFNGLMULTITEXGENFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenfvEXT")) == NULL) || r;
- r = ((glMultiTexGeniEXT = (PFNGLMULTITEXGENIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGeniEXT")) == NULL) || r;
- r = ((glMultiTexGenivEXT = (PFNGLMULTITEXGENIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexGenivEXT")) == NULL) || r;
- r = ((glMultiTexImage1DEXT = (PFNGLMULTITEXIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage1DEXT")) == NULL) || r;
- r = ((glMultiTexImage2DEXT = (PFNGLMULTITEXIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage2DEXT")) == NULL) || r;
- r = ((glMultiTexImage3DEXT = (PFNGLMULTITEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexImage3DEXT")) == NULL) || r;
- r = ((glMultiTexParameterIivEXT = (PFNGLMULTITEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIivEXT")) == NULL) || r;
- r = ((glMultiTexParameterIuivEXT = (PFNGLMULTITEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterIuivEXT")) == NULL) || r;
- r = ((glMultiTexParameterfEXT = (PFNGLMULTITEXPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfEXT")) == NULL) || r;
- r = ((glMultiTexParameterfvEXT = (PFNGLMULTITEXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterfvEXT")) == NULL) || r;
- r = ((glMultiTexParameteriEXT = (PFNGLMULTITEXPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameteriEXT")) == NULL) || r;
- r = ((glMultiTexParameterivEXT = (PFNGLMULTITEXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexParameterivEXT")) == NULL) || r;
- r = ((glMultiTexRenderbufferEXT = (PFNGLMULTITEXRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexRenderbufferEXT")) == NULL) || r;
- r = ((glMultiTexSubImage1DEXT = (PFNGLMULTITEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage1DEXT")) == NULL) || r;
- r = ((glMultiTexSubImage2DEXT = (PFNGLMULTITEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage2DEXT")) == NULL) || r;
- r = ((glMultiTexSubImage3DEXT = (PFNGLMULTITEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiTexSubImage3DEXT")) == NULL) || r;
- r = ((glNamedBufferDataEXT = (PFNGLNAMEDBUFFERDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferDataEXT")) == NULL) || r;
- r = ((glNamedBufferSubDataEXT = (PFNGLNAMEDBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferSubDataEXT")) == NULL) || r;
- r = ((glNamedCopyBufferSubDataEXT = (PFNGLNAMEDCOPYBUFFERSUBDATAEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedCopyBufferSubDataEXT")) == NULL) || r;
- r = ((glNamedFramebufferRenderbufferEXT = (PFNGLNAMEDFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferRenderbufferEXT")) == NULL) || r;
- r = ((glNamedFramebufferTexture1DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture1DEXT")) == NULL) || r;
- r = ((glNamedFramebufferTexture2DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture2DEXT")) == NULL) || r;
- r = ((glNamedFramebufferTexture3DEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTexture3DEXT")) == NULL) || r;
- r = ((glNamedFramebufferTextureEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureEXT")) == NULL) || r;
- r = ((glNamedFramebufferTextureFaceEXT = (PFNGLNAMEDFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureFaceEXT")) == NULL) || r;
- r = ((glNamedFramebufferTextureLayerEXT = (PFNGLNAMEDFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferTextureLayerEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameter4dEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameter4dvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4dvEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameter4fEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameter4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETER4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameter4fvEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameterI4iEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4iEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameterI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4ivEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameterI4uiEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uiEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameterI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameterI4uivEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParameters4fvEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParameters4fvEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParametersI4ivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4ivEXT")) == NULL) || r;
- r = ((glNamedProgramLocalParametersI4uivEXT = (PFNGLNAMEDPROGRAMLOCALPARAMETERSI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramLocalParametersI4uivEXT")) == NULL) || r;
- r = ((glNamedProgramStringEXT = (PFNGLNAMEDPROGRAMSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedProgramStringEXT")) == NULL) || r;
- r = ((glNamedRenderbufferStorageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageEXT")) == NULL) || r;
- r = ((glNamedRenderbufferStorageMultisampleCoverageEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLECOVERAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleCoverageEXT")) == NULL) || r;
- r = ((glNamedRenderbufferStorageMultisampleEXT = (PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedRenderbufferStorageMultisampleEXT")) == NULL) || r;
- r = ((glProgramUniform1fEXT = (PFNGLPROGRAMUNIFORM1FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fEXT")) == NULL) || r;
- r = ((glProgramUniform1fvEXT = (PFNGLPROGRAMUNIFORM1FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1fvEXT")) == NULL) || r;
- r = ((glProgramUniform1iEXT = (PFNGLPROGRAMUNIFORM1IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1iEXT")) == NULL) || r;
- r = ((glProgramUniform1ivEXT = (PFNGLPROGRAMUNIFORM1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ivEXT")) == NULL) || r;
- r = ((glProgramUniform1uiEXT = (PFNGLPROGRAMUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uiEXT")) == NULL) || r;
- r = ((glProgramUniform1uivEXT = (PFNGLPROGRAMUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1uivEXT")) == NULL) || r;
- r = ((glProgramUniform2fEXT = (PFNGLPROGRAMUNIFORM2FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fEXT")) == NULL) || r;
- r = ((glProgramUniform2fvEXT = (PFNGLPROGRAMUNIFORM2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2fvEXT")) == NULL) || r;
- r = ((glProgramUniform2iEXT = (PFNGLPROGRAMUNIFORM2IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2iEXT")) == NULL) || r;
- r = ((glProgramUniform2ivEXT = (PFNGLPROGRAMUNIFORM2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ivEXT")) == NULL) || r;
- r = ((glProgramUniform2uiEXT = (PFNGLPROGRAMUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uiEXT")) == NULL) || r;
- r = ((glProgramUniform2uivEXT = (PFNGLPROGRAMUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2uivEXT")) == NULL) || r;
- r = ((glProgramUniform3fEXT = (PFNGLPROGRAMUNIFORM3FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fEXT")) == NULL) || r;
- r = ((glProgramUniform3fvEXT = (PFNGLPROGRAMUNIFORM3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3fvEXT")) == NULL) || r;
- r = ((glProgramUniform3iEXT = (PFNGLPROGRAMUNIFORM3IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3iEXT")) == NULL) || r;
- r = ((glProgramUniform3ivEXT = (PFNGLPROGRAMUNIFORM3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ivEXT")) == NULL) || r;
- r = ((glProgramUniform3uiEXT = (PFNGLPROGRAMUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uiEXT")) == NULL) || r;
- r = ((glProgramUniform3uivEXT = (PFNGLPROGRAMUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3uivEXT")) == NULL) || r;
- r = ((glProgramUniform4fEXT = (PFNGLPROGRAMUNIFORM4FEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fEXT")) == NULL) || r;
- r = ((glProgramUniform4fvEXT = (PFNGLPROGRAMUNIFORM4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4fvEXT")) == NULL) || r;
- r = ((glProgramUniform4iEXT = (PFNGLPROGRAMUNIFORM4IEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4iEXT")) == NULL) || r;
- r = ((glProgramUniform4ivEXT = (PFNGLPROGRAMUNIFORM4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ivEXT")) == NULL) || r;
- r = ((glProgramUniform4uiEXT = (PFNGLPROGRAMUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uiEXT")) == NULL) || r;
- r = ((glProgramUniform4uivEXT = (PFNGLPROGRAMUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4uivEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix2x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x3fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix2x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix2x4fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix3x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x2fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix3x4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix3x4fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix4fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix4x2fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x2fvEXT")) == NULL) || r;
- r = ((glProgramUniformMatrix4x3fvEXT = (PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformMatrix4x3fvEXT")) == NULL) || r;
- r = ((glPushClientAttribDefaultEXT = (PFNGLPUSHCLIENTATTRIBDEFAULTEXTPROC)glewGetProcAddress((const GLubyte*)"glPushClientAttribDefaultEXT")) == NULL) || r;
- r = ((glTextureBufferEXT = (PFNGLTEXTUREBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureBufferEXT")) == NULL) || r;
- r = ((glTextureImage1DEXT = (PFNGLTEXTUREIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage1DEXT")) == NULL) || r;
- r = ((glTextureImage2DEXT = (PFNGLTEXTUREIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DEXT")) == NULL) || r;
- r = ((glTextureImage3DEXT = (PFNGLTEXTUREIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DEXT")) == NULL) || r;
- r = ((glTextureParameterIivEXT = (PFNGLTEXTUREPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIivEXT")) == NULL) || r;
- r = ((glTextureParameterIuivEXT = (PFNGLTEXTUREPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterIuivEXT")) == NULL) || r;
- r = ((glTextureParameterfEXT = (PFNGLTEXTUREPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfEXT")) == NULL) || r;
- r = ((glTextureParameterfvEXT = (PFNGLTEXTUREPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterfvEXT")) == NULL) || r;
- r = ((glTextureParameteriEXT = (PFNGLTEXTUREPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameteriEXT")) == NULL) || r;
- r = ((glTextureParameterivEXT = (PFNGLTEXTUREPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureParameterivEXT")) == NULL) || r;
- r = ((glTextureRenderbufferEXT = (PFNGLTEXTURERENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTextureRenderbufferEXT")) == NULL) || r;
- r = ((glTextureSubImage1DEXT = (PFNGLTEXTURESUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage1DEXT")) == NULL) || r;
- r = ((glTextureSubImage2DEXT = (PFNGLTEXTURESUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage2DEXT")) == NULL) || r;
- r = ((glTextureSubImage3DEXT = (PFNGLTEXTURESUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureSubImage3DEXT")) == NULL) || r;
- r = ((glUnmapNamedBufferEXT = (PFNGLUNMAPNAMEDBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glUnmapNamedBufferEXT")) == NULL) || r;
- r = ((glVertexArrayColorOffsetEXT = (PFNGLVERTEXARRAYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayColorOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayEdgeFlagOffsetEXT = (PFNGLVERTEXARRAYEDGEFLAGOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayEdgeFlagOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayFogCoordOffsetEXT = (PFNGLVERTEXARRAYFOGCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayFogCoordOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayIndexOffsetEXT = (PFNGLVERTEXARRAYINDEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayIndexOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayMultiTexCoordOffsetEXT = (PFNGLVERTEXARRAYMULTITEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayMultiTexCoordOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayNormalOffsetEXT = (PFNGLVERTEXARRAYNORMALOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayNormalOffsetEXT")) == NULL) || r;
- r = ((glVertexArraySecondaryColorOffsetEXT = (PFNGLVERTEXARRAYSECONDARYCOLOROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArraySecondaryColorOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayTexCoordOffsetEXT = (PFNGLVERTEXARRAYTEXCOORDOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayTexCoordOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribDivisorEXT = (PFNGLVERTEXARRAYVERTEXATTRIBDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribDivisorEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribIOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBIOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribIOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribOffsetEXT")) == NULL) || r;
- r = ((glVertexArrayVertexOffsetEXT = (PFNGLVERTEXARRAYVERTEXOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexOffsetEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_direct_state_access */
- #ifdef GL_EXT_discard_framebuffer
- static GLboolean _glewInit_GL_EXT_discard_framebuffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glDiscardFramebufferEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_discard_framebuffer */
- #ifdef GL_EXT_draw_buffers
- static GLboolean _glewInit_GL_EXT_draw_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawBuffersEXT = (PFNGLDRAWBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_buffers */
- #ifdef GL_EXT_draw_buffers2
- static GLboolean _glewInit_GL_EXT_draw_buffers2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorMaskIndexedEXT = (PFNGLCOLORMASKINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskIndexedEXT")) == NULL) || r;
- r = ((glDisableIndexedEXT = (PFNGLDISABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableIndexedEXT")) == NULL) || r;
- r = ((glEnableIndexedEXT = (PFNGLENABLEINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableIndexedEXT")) == NULL) || r;
- r = ((glGetBooleanIndexedvEXT = (PFNGLGETBOOLEANINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetBooleanIndexedvEXT")) == NULL) || r;
- r = ((glGetIntegerIndexedvEXT = (PFNGLGETINTEGERINDEXEDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerIndexedvEXT")) == NULL) || r;
- r = ((glIsEnabledIndexedEXT = (PFNGLISENABLEDINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnabledIndexedEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_buffers2 */
- #ifdef GL_EXT_draw_buffers_indexed
- static GLboolean _glewInit_GL_EXT_draw_buffers_indexed ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendEquationSeparateiEXT = (PFNGLBLENDEQUATIONSEPARATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationSeparateiEXT")) == NULL) || r;
- r = ((glBlendEquationiEXT = (PFNGLBLENDEQUATIONIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendEquationiEXT")) == NULL) || r;
- r = ((glBlendFuncSeparateiEXT = (PFNGLBLENDFUNCSEPARATEIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFuncSeparateiEXT")) == NULL) || r;
- r = ((glBlendFunciEXT = (PFNGLBLENDFUNCIEXTPROC)glewGetProcAddress((const GLubyte*)"glBlendFunciEXT")) == NULL) || r;
- r = ((glColorMaskiEXT = (PFNGLCOLORMASKIEXTPROC)glewGetProcAddress((const GLubyte*)"glColorMaskiEXT")) == NULL) || r;
- r = ((glDisableiEXT = (PFNGLDISABLEIEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableiEXT")) == NULL) || r;
- r = ((glEnableiEXT = (PFNGLENABLEIEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableiEXT")) == NULL) || r;
- r = ((glIsEnablediEXT = (PFNGLISENABLEDIEXTPROC)glewGetProcAddress((const GLubyte*)"glIsEnablediEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_buffers_indexed */
- #ifdef GL_EXT_draw_elements_base_vertex
- static GLboolean _glewInit_GL_EXT_draw_elements_base_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawElementsBaseVertexEXT = (PFNGLDRAWELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsBaseVertexEXT")) == NULL) || r;
- r = ((glDrawElementsInstancedBaseVertexEXT = (PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedBaseVertexEXT")) == NULL) || r;
- r = ((glDrawRangeElementsBaseVertexEXT = (PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsBaseVertexEXT")) == NULL) || r;
- r = ((glMultiDrawElementsBaseVertexEXT = (PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsBaseVertexEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_elements_base_vertex */
- #ifdef GL_EXT_draw_instanced
- static GLboolean _glewInit_GL_EXT_draw_instanced ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedEXT = (PFNGLDRAWARRAYSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedEXT")) == NULL) || r;
- r = ((glDrawElementsInstancedEXT = (PFNGLDRAWELEMENTSINSTANCEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_instanced */
- #ifdef GL_EXT_draw_range_elements
- static GLboolean _glewInit_GL_EXT_draw_range_elements ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawRangeElementsEXT = (PFNGLDRAWRANGEELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawRangeElementsEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_draw_range_elements */
- #ifdef GL_EXT_external_buffer
- static GLboolean _glewInit_GL_EXT_external_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferStorageExternalEXT = (PFNGLBUFFERSTORAGEEXTERNALEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageExternalEXT")) == NULL) || r;
- r = ((glNamedBufferStorageExternalEXT = (PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageExternalEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_external_buffer */
- #ifdef GL_EXT_fog_coord
- static GLboolean _glewInit_GL_EXT_fog_coord ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFogCoordPointerEXT = (PFNGLFOGCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerEXT")) == NULL) || r;
- r = ((glFogCoorddEXT = (PFNGLFOGCOORDDEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddEXT")) == NULL) || r;
- r = ((glFogCoorddvEXT = (PFNGLFOGCOORDDVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoorddvEXT")) == NULL) || r;
- r = ((glFogCoordfEXT = (PFNGLFOGCOORDFEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfEXT")) == NULL) || r;
- r = ((glFogCoordfvEXT = (PFNGLFOGCOORDFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFogCoordfvEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_fog_coord */
- #ifdef GL_EXT_fragment_lighting
- static GLboolean _glewInit_GL_EXT_fragment_lighting ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFragmentColorMaterialEXT = (PFNGLFRAGMENTCOLORMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialEXT")) == NULL) || r;
- r = ((glFragmentLightModelfEXT = (PFNGLFRAGMENTLIGHTMODELFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfEXT")) == NULL) || r;
- r = ((glFragmentLightModelfvEXT = (PFNGLFRAGMENTLIGHTMODELFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvEXT")) == NULL) || r;
- r = ((glFragmentLightModeliEXT = (PFNGLFRAGMENTLIGHTMODELIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliEXT")) == NULL) || r;
- r = ((glFragmentLightModelivEXT = (PFNGLFRAGMENTLIGHTMODELIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivEXT")) == NULL) || r;
- r = ((glFragmentLightfEXT = (PFNGLFRAGMENTLIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfEXT")) == NULL) || r;
- r = ((glFragmentLightfvEXT = (PFNGLFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvEXT")) == NULL) || r;
- r = ((glFragmentLightiEXT = (PFNGLFRAGMENTLIGHTIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiEXT")) == NULL) || r;
- r = ((glFragmentLightivEXT = (PFNGLFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivEXT")) == NULL) || r;
- r = ((glFragmentMaterialfEXT = (PFNGLFRAGMENTMATERIALFEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfEXT")) == NULL) || r;
- r = ((glFragmentMaterialfvEXT = (PFNGLFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvEXT")) == NULL) || r;
- r = ((glFragmentMaterialiEXT = (PFNGLFRAGMENTMATERIALIEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiEXT")) == NULL) || r;
- r = ((glFragmentMaterialivEXT = (PFNGLFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivEXT")) == NULL) || r;
- r = ((glGetFragmentLightfvEXT = (PFNGLGETFRAGMENTLIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvEXT")) == NULL) || r;
- r = ((glGetFragmentLightivEXT = (PFNGLGETFRAGMENTLIGHTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivEXT")) == NULL) || r;
- r = ((glGetFragmentMaterialfvEXT = (PFNGLGETFRAGMENTMATERIALFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvEXT")) == NULL) || r;
- r = ((glGetFragmentMaterialivEXT = (PFNGLGETFRAGMENTMATERIALIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivEXT")) == NULL) || r;
- r = ((glLightEnviEXT = (PFNGLLIGHTENVIEXTPROC)glewGetProcAddress((const GLubyte*)"glLightEnviEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_fragment_lighting */
- #ifdef GL_EXT_framebuffer_blit
- static GLboolean _glewInit_GL_EXT_framebuffer_blit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlitFramebufferEXT = (PFNGLBLITFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_framebuffer_blit */
- #ifdef GL_EXT_framebuffer_multisample
- static GLboolean _glewInit_GL_EXT_framebuffer_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glRenderbufferStorageMultisampleEXT = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_framebuffer_multisample */
- #ifdef GL_EXT_framebuffer_object
- static GLboolean _glewInit_GL_EXT_framebuffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindFramebufferEXT = (PFNGLBINDFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindFramebufferEXT")) == NULL) || r;
- r = ((glBindRenderbufferEXT = (PFNGLBINDRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindRenderbufferEXT")) == NULL) || r;
- r = ((glCheckFramebufferStatusEXT = (PFNGLCHECKFRAMEBUFFERSTATUSEXTPROC)glewGetProcAddress((const GLubyte*)"glCheckFramebufferStatusEXT")) == NULL) || r;
- r = ((glDeleteFramebuffersEXT = (PFNGLDELETEFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteFramebuffersEXT")) == NULL) || r;
- r = ((glDeleteRenderbuffersEXT = (PFNGLDELETERENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteRenderbuffersEXT")) == NULL) || r;
- r = ((glFramebufferRenderbufferEXT = (PFNGLFRAMEBUFFERRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferRenderbufferEXT")) == NULL) || r;
- r = ((glFramebufferTexture1DEXT = (PFNGLFRAMEBUFFERTEXTURE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture1DEXT")) == NULL) || r;
- r = ((glFramebufferTexture2DEXT = (PFNGLFRAMEBUFFERTEXTURE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DEXT")) == NULL) || r;
- r = ((glFramebufferTexture3DEXT = (PFNGLFRAMEBUFFERTEXTURE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture3DEXT")) == NULL) || r;
- r = ((glGenFramebuffersEXT = (PFNGLGENFRAMEBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenFramebuffersEXT")) == NULL) || r;
- r = ((glGenRenderbuffersEXT = (PFNGLGENRENDERBUFFERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenRenderbuffersEXT")) == NULL) || r;
- r = ((glGenerateMipmapEXT = (PFNGLGENERATEMIPMAPEXTPROC)glewGetProcAddress((const GLubyte*)"glGenerateMipmapEXT")) == NULL) || r;
- r = ((glGetFramebufferAttachmentParameterivEXT = (PFNGLGETFRAMEBUFFERATTACHMENTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferAttachmentParameterivEXT")) == NULL) || r;
- r = ((glGetRenderbufferParameterivEXT = (PFNGLGETRENDERBUFFERPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetRenderbufferParameterivEXT")) == NULL) || r;
- r = ((glIsFramebufferEXT = (PFNGLISFRAMEBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsFramebufferEXT")) == NULL) || r;
- r = ((glIsRenderbufferEXT = (PFNGLISRENDERBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glIsRenderbufferEXT")) == NULL) || r;
- r = ((glRenderbufferStorageEXT = (PFNGLRENDERBUFFERSTORAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_framebuffer_object */
- #ifdef GL_EXT_geometry_shader4
- static GLboolean _glewInit_GL_EXT_geometry_shader4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTextureEXT = (PFNGLFRAMEBUFFERTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureEXT")) == NULL) || r;
- r = ((glFramebufferTextureFaceEXT = (PFNGLFRAMEBUFFERTEXTUREFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureFaceEXT")) == NULL) || r;
- r = ((glProgramParameteriEXT = (PFNGLPROGRAMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramParameteriEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_geometry_shader4 */
- #ifdef GL_EXT_gpu_program_parameters
- static GLboolean _glewInit_GL_EXT_gpu_program_parameters ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProgramEnvParameters4fvEXT = (PFNGLPROGRAMENVPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameters4fvEXT")) == NULL) || r;
- r = ((glProgramLocalParameters4fvEXT = (PFNGLPROGRAMLOCALPARAMETERS4FVEXTPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameters4fvEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_gpu_program_parameters */
- #ifdef GL_EXT_gpu_shader4
- static GLboolean _glewInit_GL_EXT_gpu_shader4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindFragDataLocationEXT = (PFNGLBINDFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glBindFragDataLocationEXT")) == NULL) || r;
- r = ((glGetFragDataLocationEXT = (PFNGLGETFRAGDATALOCATIONEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFragDataLocationEXT")) == NULL) || r;
- r = ((glGetUniformuivEXT = (PFNGLGETUNIFORMUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUniformuivEXT")) == NULL) || r;
- r = ((glGetVertexAttribIivEXT = (PFNGLGETVERTEXATTRIBIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIivEXT")) == NULL) || r;
- r = ((glGetVertexAttribIuivEXT = (PFNGLGETVERTEXATTRIBIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribIuivEXT")) == NULL) || r;
- r = ((glUniform1uiEXT = (PFNGLUNIFORM1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uiEXT")) == NULL) || r;
- r = ((glUniform1uivEXT = (PFNGLUNIFORM1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform1uivEXT")) == NULL) || r;
- r = ((glUniform2uiEXT = (PFNGLUNIFORM2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uiEXT")) == NULL) || r;
- r = ((glUniform2uivEXT = (PFNGLUNIFORM2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform2uivEXT")) == NULL) || r;
- r = ((glUniform3uiEXT = (PFNGLUNIFORM3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uiEXT")) == NULL) || r;
- r = ((glUniform3uivEXT = (PFNGLUNIFORM3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform3uivEXT")) == NULL) || r;
- r = ((glUniform4uiEXT = (PFNGLUNIFORM4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uiEXT")) == NULL) || r;
- r = ((glUniform4uivEXT = (PFNGLUNIFORM4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glUniform4uivEXT")) == NULL) || r;
- r = ((glVertexAttribI1iEXT = (PFNGLVERTEXATTRIBI1IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1iEXT")) == NULL) || r;
- r = ((glVertexAttribI1ivEXT = (PFNGLVERTEXATTRIBI1IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1ivEXT")) == NULL) || r;
- r = ((glVertexAttribI1uiEXT = (PFNGLVERTEXATTRIBI1UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uiEXT")) == NULL) || r;
- r = ((glVertexAttribI1uivEXT = (PFNGLVERTEXATTRIBI1UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI1uivEXT")) == NULL) || r;
- r = ((glVertexAttribI2iEXT = (PFNGLVERTEXATTRIBI2IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2iEXT")) == NULL) || r;
- r = ((glVertexAttribI2ivEXT = (PFNGLVERTEXATTRIBI2IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2ivEXT")) == NULL) || r;
- r = ((glVertexAttribI2uiEXT = (PFNGLVERTEXATTRIBI2UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uiEXT")) == NULL) || r;
- r = ((glVertexAttribI2uivEXT = (PFNGLVERTEXATTRIBI2UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI2uivEXT")) == NULL) || r;
- r = ((glVertexAttribI3iEXT = (PFNGLVERTEXATTRIBI3IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3iEXT")) == NULL) || r;
- r = ((glVertexAttribI3ivEXT = (PFNGLVERTEXATTRIBI3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3ivEXT")) == NULL) || r;
- r = ((glVertexAttribI3uiEXT = (PFNGLVERTEXATTRIBI3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uiEXT")) == NULL) || r;
- r = ((glVertexAttribI3uivEXT = (PFNGLVERTEXATTRIBI3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI3uivEXT")) == NULL) || r;
- r = ((glVertexAttribI4bvEXT = (PFNGLVERTEXATTRIBI4BVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4bvEXT")) == NULL) || r;
- r = ((glVertexAttribI4iEXT = (PFNGLVERTEXATTRIBI4IEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4iEXT")) == NULL) || r;
- r = ((glVertexAttribI4ivEXT = (PFNGLVERTEXATTRIBI4IVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ivEXT")) == NULL) || r;
- r = ((glVertexAttribI4svEXT = (PFNGLVERTEXATTRIBI4SVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4svEXT")) == NULL) || r;
- r = ((glVertexAttribI4ubvEXT = (PFNGLVERTEXATTRIBI4UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4ubvEXT")) == NULL) || r;
- r = ((glVertexAttribI4uiEXT = (PFNGLVERTEXATTRIBI4UIEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uiEXT")) == NULL) || r;
- r = ((glVertexAttribI4uivEXT = (PFNGLVERTEXATTRIBI4UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4uivEXT")) == NULL) || r;
- r = ((glVertexAttribI4usvEXT = (PFNGLVERTEXATTRIBI4USVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribI4usvEXT")) == NULL) || r;
- r = ((glVertexAttribIPointerEXT = (PFNGLVERTEXATTRIBIPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIPointerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_gpu_shader4 */
- #ifdef GL_EXT_histogram
- static GLboolean _glewInit_GL_EXT_histogram ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetHistogramEXT = (PFNGLGETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramEXT")) == NULL) || r;
- r = ((glGetHistogramParameterfvEXT = (PFNGLGETHISTOGRAMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterfvEXT")) == NULL) || r;
- r = ((glGetHistogramParameterivEXT = (PFNGLGETHISTOGRAMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetHistogramParameterivEXT")) == NULL) || r;
- r = ((glGetMinmaxEXT = (PFNGLGETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxEXT")) == NULL) || r;
- r = ((glGetMinmaxParameterfvEXT = (PFNGLGETMINMAXPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterfvEXT")) == NULL) || r;
- r = ((glGetMinmaxParameterivEXT = (PFNGLGETMINMAXPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMinmaxParameterivEXT")) == NULL) || r;
- r = ((glHistogramEXT = (PFNGLHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glHistogramEXT")) == NULL) || r;
- r = ((glMinmaxEXT = (PFNGLMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glMinmaxEXT")) == NULL) || r;
- r = ((glResetHistogramEXT = (PFNGLRESETHISTOGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glResetHistogramEXT")) == NULL) || r;
- r = ((glResetMinmaxEXT = (PFNGLRESETMINMAXEXTPROC)glewGetProcAddress((const GLubyte*)"glResetMinmaxEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_histogram */
- #ifdef GL_EXT_index_func
- static GLboolean _glewInit_GL_EXT_index_func ()
- {
- GLboolean r = GL_FALSE;
- r = ((glIndexFuncEXT = (PFNGLINDEXFUNCEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexFuncEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_index_func */
- #ifdef GL_EXT_index_material
- static GLboolean _glewInit_GL_EXT_index_material ()
- {
- GLboolean r = GL_FALSE;
- r = ((glIndexMaterialEXT = (PFNGLINDEXMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glIndexMaterialEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_index_material */
- #ifdef GL_EXT_instanced_arrays
- static GLboolean _glewInit_GL_EXT_instanced_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexAttribDivisorEXT = (PFNGLVERTEXATTRIBDIVISOREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_instanced_arrays */
- #ifdef GL_EXT_light_texture
- static GLboolean _glewInit_GL_EXT_light_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glApplyTextureEXT = (PFNGLAPPLYTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glApplyTextureEXT")) == NULL) || r;
- r = ((glTextureLightEXT = (PFNGLTEXTURELIGHTEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureLightEXT")) == NULL) || r;
- r = ((glTextureMaterialEXT = (PFNGLTEXTUREMATERIALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureMaterialEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_light_texture */
- #ifdef GL_EXT_map_buffer_range
- static GLboolean _glewInit_GL_EXT_map_buffer_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushMappedBufferRangeEXT = (PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glFlushMappedBufferRangeEXT")) == NULL) || r;
- r = ((glMapBufferRangeEXT = (PFNGLMAPBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glMapBufferRangeEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_map_buffer_range */
- #ifdef GL_EXT_memory_object
- static GLboolean _glewInit_GL_EXT_memory_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferStorageMemEXT = (PFNGLBUFFERSTORAGEMEMEXTPROC)glewGetProcAddress((const GLubyte*)"glBufferStorageMemEXT")) == NULL) || r;
- r = ((glCreateMemoryObjectsEXT = (PFNGLCREATEMEMORYOBJECTSEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateMemoryObjectsEXT")) == NULL) || r;
- r = ((glDeleteMemoryObjectsEXT = (PFNGLDELETEMEMORYOBJECTSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteMemoryObjectsEXT")) == NULL) || r;
- r = ((glGetMemoryObjectParameterivEXT = (PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetMemoryObjectParameterivEXT")) == NULL) || r;
- r = ((glGetUnsignedBytei_vEXT = (PFNGLGETUNSIGNEDBYTEI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUnsignedBytei_vEXT")) == NULL) || r;
- r = ((glGetUnsignedBytevEXT = (PFNGLGETUNSIGNEDBYTEVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetUnsignedBytevEXT")) == NULL) || r;
- r = ((glIsMemoryObjectEXT = (PFNGLISMEMORYOBJECTEXTPROC)glewGetProcAddress((const GLubyte*)"glIsMemoryObjectEXT")) == NULL) || r;
- r = ((glMemoryObjectParameterivEXT = (PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryObjectParameterivEXT")) == NULL) || r;
- r = ((glNamedBufferStorageMemEXT = (PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)glewGetProcAddress((const GLubyte*)"glNamedBufferStorageMemEXT")) == NULL) || r;
- r = ((glTexStorageMem1DEXT = (PFNGLTEXSTORAGEMEM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem1DEXT")) == NULL) || r;
- r = ((glTexStorageMem2DEXT = (PFNGLTEXSTORAGEMEM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem2DEXT")) == NULL) || r;
- r = ((glTexStorageMem2DMultisampleEXT = (PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem2DMultisampleEXT")) == NULL) || r;
- r = ((glTexStorageMem3DEXT = (PFNGLTEXSTORAGEMEM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem3DEXT")) == NULL) || r;
- r = ((glTexStorageMem3DMultisampleEXT = (PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorageMem3DMultisampleEXT")) == NULL) || r;
- r = ((glTextureStorageMem1DEXT = (PFNGLTEXTURESTORAGEMEM1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem1DEXT")) == NULL) || r;
- r = ((glTextureStorageMem2DEXT = (PFNGLTEXTURESTORAGEMEM2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem2DEXT")) == NULL) || r;
- r = ((glTextureStorageMem2DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem2DMultisampleEXT")) == NULL) || r;
- r = ((glTextureStorageMem3DEXT = (PFNGLTEXTURESTORAGEMEM3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem3DEXT")) == NULL) || r;
- r = ((glTextureStorageMem3DMultisampleEXT = (PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorageMem3DMultisampleEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_memory_object */
- #ifdef GL_EXT_memory_object_fd
- static GLboolean _glewInit_GL_EXT_memory_object_fd ()
- {
- GLboolean r = GL_FALSE;
- r = ((glImportMemoryFdEXT = (PFNGLIMPORTMEMORYFDEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryFdEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_memory_object_fd */
- #ifdef GL_EXT_memory_object_win32
- static GLboolean _glewInit_GL_EXT_memory_object_win32 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glImportMemoryWin32HandleEXT = (PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryWin32HandleEXT")) == NULL) || r;
- r = ((glImportMemoryWin32NameEXT = (PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportMemoryWin32NameEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_memory_object_win32 */
- #ifdef GL_EXT_multi_draw_arrays
- static GLboolean _glewInit_GL_EXT_multi_draw_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysEXT = (PFNGLMULTIDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysEXT")) == NULL) || r;
- r = ((glMultiDrawElementsEXT = (PFNGLMULTIDRAWELEMENTSEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_multi_draw_arrays */
- #ifdef GL_EXT_multi_draw_indirect
- static GLboolean _glewInit_GL_EXT_multi_draw_indirect ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectEXT = (PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectEXT")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectEXT = (PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_multi_draw_indirect */
- #ifdef GL_EXT_multisample
- static GLboolean _glewInit_GL_EXT_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSampleMaskEXT = (PFNGLSAMPLEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskEXT")) == NULL) || r;
- r = ((glSamplePatternEXT = (PFNGLSAMPLEPATTERNEXTPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_multisample */
- #ifdef GL_EXT_multisampled_render_to_texture
- static GLboolean _glewInit_GL_EXT_multisampled_render_to_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTexture2DMultisampleEXT = (PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTexture2DMultisampleEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_multisampled_render_to_texture */
- #ifdef GL_EXT_multiview_draw_buffers
- static GLboolean _glewInit_GL_EXT_multiview_draw_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawBuffersIndexedEXT = (PFNGLDRAWBUFFERSINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersIndexedEXT")) == NULL) || r;
- r = ((glGetIntegeri_vEXT = (PFNGLGETINTEGERI_VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetIntegeri_vEXT")) == NULL) || r;
- r = ((glReadBufferIndexedEXT = (PFNGLREADBUFFERINDEXEDEXTPROC)glewGetProcAddress((const GLubyte*)"glReadBufferIndexedEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_multiview_draw_buffers */
- #ifdef GL_EXT_paletted_texture
- static GLboolean _glewInit_GL_EXT_paletted_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorTableEXT = (PFNGLCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glColorTableEXT")) == NULL) || r;
- r = ((glGetColorTableEXT = (PFNGLGETCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableEXT")) == NULL) || r;
- r = ((glGetColorTableParameterfvEXT = (PFNGLGETCOLORTABLEPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvEXT")) == NULL) || r;
- r = ((glGetColorTableParameterivEXT = (PFNGLGETCOLORTABLEPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_paletted_texture */
- #ifdef GL_EXT_pixel_transform
- static GLboolean _glewInit_GL_EXT_pixel_transform ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetPixelTransformParameterfvEXT = (PFNGLGETPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvEXT")) == NULL) || r;
- r = ((glGetPixelTransformParameterivEXT = (PFNGLGETPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivEXT")) == NULL) || r;
- r = ((glPixelTransformParameterfEXT = (PFNGLPIXELTRANSFORMPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfEXT")) == NULL) || r;
- r = ((glPixelTransformParameterfvEXT = (PFNGLPIXELTRANSFORMPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvEXT")) == NULL) || r;
- r = ((glPixelTransformParameteriEXT = (PFNGLPIXELTRANSFORMPARAMETERIEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriEXT")) == NULL) || r;
- r = ((glPixelTransformParameterivEXT = (PFNGLPIXELTRANSFORMPARAMETERIVEXTPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_pixel_transform */
- #ifdef GL_EXT_point_parameters
- static GLboolean _glewInit_GL_EXT_point_parameters ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPointParameterfEXT = (PFNGLPOINTPARAMETERFEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfEXT")) == NULL) || r;
- r = ((glPointParameterfvEXT = (PFNGLPOINTPARAMETERFVEXTPROC)glewGetProcAddress((const GLubyte*)"glPointParameterfvEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_point_parameters */
- #ifdef GL_EXT_polygon_offset
- static GLboolean _glewInit_GL_EXT_polygon_offset ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPolygonOffsetEXT = (PFNGLPOLYGONOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_polygon_offset */
- #ifdef GL_EXT_polygon_offset_clamp
- static GLboolean _glewInit_GL_EXT_polygon_offset_clamp ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPolygonOffsetClampEXT = (PFNGLPOLYGONOFFSETCLAMPEXTPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetClampEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_polygon_offset_clamp */
- #ifdef GL_EXT_provoking_vertex
- static GLboolean _glewInit_GL_EXT_provoking_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProvokingVertexEXT = (PFNGLPROVOKINGVERTEXEXTPROC)glewGetProcAddress((const GLubyte*)"glProvokingVertexEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_provoking_vertex */
- #ifdef GL_EXT_raster_multisample
- static GLboolean _glewInit_GL_EXT_raster_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCoverageModulationNV = (PFNGLCOVERAGEMODULATIONNVPROC)glewGetProcAddress((const GLubyte*)"glCoverageModulationNV")) == NULL) || r;
- r = ((glCoverageModulationTableNV = (PFNGLCOVERAGEMODULATIONTABLENVPROC)glewGetProcAddress((const GLubyte*)"glCoverageModulationTableNV")) == NULL) || r;
- r = ((glGetCoverageModulationTableNV = (PFNGLGETCOVERAGEMODULATIONTABLENVPROC)glewGetProcAddress((const GLubyte*)"glGetCoverageModulationTableNV")) == NULL) || r;
- r = ((glRasterSamplesEXT = (PFNGLRASTERSAMPLESEXTPROC)glewGetProcAddress((const GLubyte*)"glRasterSamplesEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_raster_multisample */
- #ifdef GL_EXT_scene_marker
- static GLboolean _glewInit_GL_EXT_scene_marker ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginSceneEXT = (PFNGLBEGINSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginSceneEXT")) == NULL) || r;
- r = ((glEndSceneEXT = (PFNGLENDSCENEEXTPROC)glewGetProcAddress((const GLubyte*)"glEndSceneEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_scene_marker */
- #ifdef GL_EXT_secondary_color
- static GLboolean _glewInit_GL_EXT_secondary_color ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSecondaryColor3bEXT = (PFNGLSECONDARYCOLOR3BEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bEXT")) == NULL) || r;
- r = ((glSecondaryColor3bvEXT = (PFNGLSECONDARYCOLOR3BVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3bvEXT")) == NULL) || r;
- r = ((glSecondaryColor3dEXT = (PFNGLSECONDARYCOLOR3DEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dEXT")) == NULL) || r;
- r = ((glSecondaryColor3dvEXT = (PFNGLSECONDARYCOLOR3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3dvEXT")) == NULL) || r;
- r = ((glSecondaryColor3fEXT = (PFNGLSECONDARYCOLOR3FEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fEXT")) == NULL) || r;
- r = ((glSecondaryColor3fvEXT = (PFNGLSECONDARYCOLOR3FVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3fvEXT")) == NULL) || r;
- r = ((glSecondaryColor3iEXT = (PFNGLSECONDARYCOLOR3IEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3iEXT")) == NULL) || r;
- r = ((glSecondaryColor3ivEXT = (PFNGLSECONDARYCOLOR3IVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ivEXT")) == NULL) || r;
- r = ((glSecondaryColor3sEXT = (PFNGLSECONDARYCOLOR3SEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3sEXT")) == NULL) || r;
- r = ((glSecondaryColor3svEXT = (PFNGLSECONDARYCOLOR3SVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3svEXT")) == NULL) || r;
- r = ((glSecondaryColor3ubEXT = (PFNGLSECONDARYCOLOR3UBEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubEXT")) == NULL) || r;
- r = ((glSecondaryColor3ubvEXT = (PFNGLSECONDARYCOLOR3UBVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3ubvEXT")) == NULL) || r;
- r = ((glSecondaryColor3uiEXT = (PFNGLSECONDARYCOLOR3UIEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uiEXT")) == NULL) || r;
- r = ((glSecondaryColor3uivEXT = (PFNGLSECONDARYCOLOR3UIVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3uivEXT")) == NULL) || r;
- r = ((glSecondaryColor3usEXT = (PFNGLSECONDARYCOLOR3USEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usEXT")) == NULL) || r;
- r = ((glSecondaryColor3usvEXT = (PFNGLSECONDARYCOLOR3USVEXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3usvEXT")) == NULL) || r;
- r = ((glSecondaryColorPointerEXT = (PFNGLSECONDARYCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_secondary_color */
- #ifdef GL_EXT_semaphore
- static GLboolean _glewInit_GL_EXT_semaphore ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDeleteSemaphoresEXT = (PFNGLDELETESEMAPHORESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteSemaphoresEXT")) == NULL) || r;
- r = ((glGenSemaphoresEXT = (PFNGLGENSEMAPHORESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSemaphoresEXT")) == NULL) || r;
- r = ((glGetSemaphoreParameterui64vEXT = (PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetSemaphoreParameterui64vEXT")) == NULL) || r;
- r = ((glIsSemaphoreEXT = (PFNGLISSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsSemaphoreEXT")) == NULL) || r;
- r = ((glSemaphoreParameterui64vEXT = (PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glSemaphoreParameterui64vEXT")) == NULL) || r;
- r = ((glSignalSemaphoreEXT = (PFNGLSIGNALSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glSignalSemaphoreEXT")) == NULL) || r;
- r = ((glWaitSemaphoreEXT = (PFNGLWAITSEMAPHOREEXTPROC)glewGetProcAddress((const GLubyte*)"glWaitSemaphoreEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_semaphore */
- #ifdef GL_EXT_semaphore_fd
- static GLboolean _glewInit_GL_EXT_semaphore_fd ()
- {
- GLboolean r = GL_FALSE;
- r = ((glImportSemaphoreFdEXT = (PFNGLIMPORTSEMAPHOREFDEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreFdEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_semaphore_fd */
- #ifdef GL_EXT_semaphore_win32
- static GLboolean _glewInit_GL_EXT_semaphore_win32 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glImportSemaphoreWin32HandleEXT = (PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreWin32HandleEXT")) == NULL) || r;
- r = ((glImportSemaphoreWin32NameEXT = (PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSemaphoreWin32NameEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_semaphore_win32 */
- #ifdef GL_EXT_separate_shader_objects
- static GLboolean _glewInit_GL_EXT_separate_shader_objects ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveProgramEXT = (PFNGLACTIVEPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveProgramEXT")) == NULL) || r;
- r = ((glCreateShaderProgramEXT = (PFNGLCREATESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateShaderProgramEXT")) == NULL) || r;
- r = ((glUseShaderProgramEXT = (PFNGLUSESHADERPROGRAMEXTPROC)glewGetProcAddress((const GLubyte*)"glUseShaderProgramEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_separate_shader_objects */
- #ifdef GL_EXT_shader_image_load_store
- static GLboolean _glewInit_GL_EXT_shader_image_load_store ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindImageTextureEXT = (PFNGLBINDIMAGETEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindImageTextureEXT")) == NULL) || r;
- r = ((glMemoryBarrierEXT = (PFNGLMEMORYBARRIEREXTPROC)glewGetProcAddress((const GLubyte*)"glMemoryBarrierEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_shader_image_load_store */
- #ifdef GL_EXT_shader_pixel_local_storage2
- static GLboolean _glewInit_GL_EXT_shader_pixel_local_storage2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearPixelLocalStorageuiEXT = (PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearPixelLocalStorageuiEXT")) == NULL) || r;
- r = ((glFramebufferPixelLocalStorageSizeEXT = (PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferPixelLocalStorageSizeEXT")) == NULL) || r;
- r = ((glGetFramebufferPixelLocalStorageSizeEXT = (PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC)glewGetProcAddress((const GLubyte*)"glGetFramebufferPixelLocalStorageSizeEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_shader_pixel_local_storage2 */
- #ifdef GL_EXT_sparse_texture
- static GLboolean _glewInit_GL_EXT_sparse_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexPageCommitmentEXT = (PFNGLTEXPAGECOMMITMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glTexPageCommitmentEXT")) == NULL) || r;
- r = ((glTexturePageCommitmentEXT = (PFNGLTEXTUREPAGECOMMITMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glTexturePageCommitmentEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_sparse_texture */
- #ifdef GL_EXT_stencil_two_side
- static GLboolean _glewInit_GL_EXT_stencil_two_side ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveStencilFaceEXT = (PFNGLACTIVESTENCILFACEEXTPROC)glewGetProcAddress((const GLubyte*)"glActiveStencilFaceEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_stencil_two_side */
- #ifdef GL_EXT_subtexture
- static GLboolean _glewInit_GL_EXT_subtexture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexSubImage1DEXT = (PFNGLTEXSUBIMAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage1DEXT")) == NULL) || r;
- r = ((glTexSubImage2DEXT = (PFNGLTEXSUBIMAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage2DEXT")) == NULL) || r;
- r = ((glTexSubImage3DEXT = (PFNGLTEXSUBIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_subtexture */
- #ifdef GL_EXT_texture3D
- static GLboolean _glewInit_GL_EXT_texture3D ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexImage3DEXT = (PFNGLTEXIMAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture3D */
- #ifdef GL_EXT_texture_array
- static GLboolean _glewInit_GL_EXT_texture_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTextureLayerEXT = (PFNGLFRAMEBUFFERTEXTURELAYEREXTPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_array */
- #ifdef GL_EXT_texture_buffer_object
- static GLboolean _glewInit_GL_EXT_texture_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexBufferEXT = (PFNGLTEXBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexBufferEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_buffer_object */
- #ifdef GL_EXT_texture_integer
- static GLboolean _glewInit_GL_EXT_texture_integer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearColorIiEXT = (PFNGLCLEARCOLORIIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIiEXT")) == NULL) || r;
- r = ((glClearColorIuiEXT = (PFNGLCLEARCOLORIUIEXTPROC)glewGetProcAddress((const GLubyte*)"glClearColorIuiEXT")) == NULL) || r;
- r = ((glGetTexParameterIivEXT = (PFNGLGETTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIivEXT")) == NULL) || r;
- r = ((glGetTexParameterIuivEXT = (PFNGLGETTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterIuivEXT")) == NULL) || r;
- r = ((glTexParameterIivEXT = (PFNGLTEXPARAMETERIIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIivEXT")) == NULL) || r;
- r = ((glTexParameterIuivEXT = (PFNGLTEXPARAMETERIUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glTexParameterIuivEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_integer */
- #ifdef GL_EXT_texture_object
- static GLboolean _glewInit_GL_EXT_texture_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAreTexturesResidentEXT = (PFNGLARETEXTURESRESIDENTEXTPROC)glewGetProcAddress((const GLubyte*)"glAreTexturesResidentEXT")) == NULL) || r;
- r = ((glBindTextureEXT = (PFNGLBINDTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureEXT")) == NULL) || r;
- r = ((glDeleteTexturesEXT = (PFNGLDELETETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteTexturesEXT")) == NULL) || r;
- r = ((glGenTexturesEXT = (PFNGLGENTEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glGenTexturesEXT")) == NULL) || r;
- r = ((glIsTextureEXT = (PFNGLISTEXTUREEXTPROC)glewGetProcAddress((const GLubyte*)"glIsTextureEXT")) == NULL) || r;
- r = ((glPrioritizeTexturesEXT = (PFNGLPRIORITIZETEXTURESEXTPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeTexturesEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_object */
- #ifdef GL_EXT_texture_perturb_normal
- static GLboolean _glewInit_GL_EXT_texture_perturb_normal ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureNormalEXT = (PFNGLTEXTURENORMALEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureNormalEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_perturb_normal */
- #ifdef GL_EXT_texture_storage
- static GLboolean _glewInit_GL_EXT_texture_storage ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexStorage1DEXT = (PFNGLTEXSTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage1DEXT")) == NULL) || r;
- r = ((glTexStorage2DEXT = (PFNGLTEXSTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage2DEXT")) == NULL) || r;
- r = ((glTexStorage3DEXT = (PFNGLTEXSTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTexStorage3DEXT")) == NULL) || r;
- r = ((glTextureStorage1DEXT = (PFNGLTEXTURESTORAGE1DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage1DEXT")) == NULL) || r;
- r = ((glTextureStorage2DEXT = (PFNGLTEXTURESTORAGE2DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage2DEXT")) == NULL) || r;
- r = ((glTextureStorage3DEXT = (PFNGLTEXTURESTORAGE3DEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureStorage3DEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_storage */
- #ifdef GL_EXT_texture_view
- static GLboolean _glewInit_GL_EXT_texture_view ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureViewEXT = (PFNGLTEXTUREVIEWEXTPROC)glewGetProcAddress((const GLubyte*)"glTextureViewEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_texture_view */
- #ifdef GL_EXT_timer_query
- static GLboolean _glewInit_GL_EXT_timer_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetQueryObjecti64vEXT = (PFNGLGETQUERYOBJECTI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjecti64vEXT")) == NULL) || r;
- r = ((glGetQueryObjectui64vEXT = (PFNGLGETQUERYOBJECTUI64VEXTPROC)glewGetProcAddress((const GLubyte*)"glGetQueryObjectui64vEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_timer_query */
- #ifdef GL_EXT_transform_feedback
- static GLboolean _glewInit_GL_EXT_transform_feedback ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginTransformFeedbackEXT = (PFNGLBEGINTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackEXT")) == NULL) || r;
- r = ((glBindBufferBaseEXT = (PFNGLBINDBUFFERBASEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseEXT")) == NULL) || r;
- r = ((glBindBufferOffsetEXT = (PFNGLBINDBUFFEROFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetEXT")) == NULL) || r;
- r = ((glBindBufferRangeEXT = (PFNGLBINDBUFFERRANGEEXTPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeEXT")) == NULL) || r;
- r = ((glEndTransformFeedbackEXT = (PFNGLENDTRANSFORMFEEDBACKEXTPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackEXT")) == NULL) || r;
- r = ((glGetTransformFeedbackVaryingEXT = (PFNGLGETTRANSFORMFEEDBACKVARYINGEXTPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingEXT")) == NULL) || r;
- r = ((glTransformFeedbackVaryingsEXT = (PFNGLTRANSFORMFEEDBACKVARYINGSEXTPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_transform_feedback */
- #ifdef GL_EXT_vertex_array
- static GLboolean _glewInit_GL_EXT_vertex_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glArrayElementEXT = (PFNGLARRAYELEMENTEXTPROC)glewGetProcAddress((const GLubyte*)"glArrayElementEXT")) == NULL) || r;
- r = ((glColorPointerEXT = (PFNGLCOLORPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glColorPointerEXT")) == NULL) || r;
- r = ((glDrawArraysEXT = (PFNGLDRAWARRAYSEXTPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysEXT")) == NULL) || r;
- r = ((glEdgeFlagPointerEXT = (PFNGLEDGEFLAGPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerEXT")) == NULL) || r;
- r = ((glIndexPointerEXT = (PFNGLINDEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerEXT")) == NULL) || r;
- r = ((glNormalPointerEXT = (PFNGLNORMALPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerEXT")) == NULL) || r;
- r = ((glTexCoordPointerEXT = (PFNGLTEXCOORDPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerEXT")) == NULL) || r;
- r = ((glVertexPointerEXT = (PFNGLVERTEXPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_vertex_array */
- #ifdef GL_EXT_vertex_array_setXXX
- static GLboolean _glewInit_GL_EXT_vertex_array_setXXX ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindArraySetEXT = (PFNGLBINDARRAYSETEXTPROC)glewGetProcAddress((const GLubyte*)"glBindArraySetEXT")) == NULL) || r;
- r = ((glCreateArraySetExt = (PFNGLCREATEARRAYSETEXTPROC)glewGetProcAddress((const GLubyte*)"glCreateArraySetExt")) == NULL) || r;
- r = ((glDeleteArraySetsEXT = (PFNGLDELETEARRAYSETSEXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteArraySetsEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_vertex_array_setXXX */
- #ifdef GL_EXT_vertex_attrib_64bit
- static GLboolean _glewInit_GL_EXT_vertex_attrib_64bit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVertexAttribLdvEXT = (PFNGLGETVERTEXATTRIBLDVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLdvEXT")) == NULL) || r;
- r = ((glVertexArrayVertexAttribLOffsetEXT = (PFNGLVERTEXARRAYVERTEXATTRIBLOFFSETEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayVertexAttribLOffsetEXT")) == NULL) || r;
- r = ((glVertexAttribL1dEXT = (PFNGLVERTEXATTRIBL1DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dEXT")) == NULL) || r;
- r = ((glVertexAttribL1dvEXT = (PFNGLVERTEXATTRIBL1DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1dvEXT")) == NULL) || r;
- r = ((glVertexAttribL2dEXT = (PFNGLVERTEXATTRIBL2DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dEXT")) == NULL) || r;
- r = ((glVertexAttribL2dvEXT = (PFNGLVERTEXATTRIBL2DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2dvEXT")) == NULL) || r;
- r = ((glVertexAttribL3dEXT = (PFNGLVERTEXATTRIBL3DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dEXT")) == NULL) || r;
- r = ((glVertexAttribL3dvEXT = (PFNGLVERTEXATTRIBL3DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3dvEXT")) == NULL) || r;
- r = ((glVertexAttribL4dEXT = (PFNGLVERTEXATTRIBL4DEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dEXT")) == NULL) || r;
- r = ((glVertexAttribL4dvEXT = (PFNGLVERTEXATTRIBL4DVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4dvEXT")) == NULL) || r;
- r = ((glVertexAttribLPointerEXT = (PFNGLVERTEXATTRIBLPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLPointerEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_vertex_attrib_64bit */
- #ifdef GL_EXT_vertex_shader
- static GLboolean _glewInit_GL_EXT_vertex_shader ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginVertexShaderEXT = (PFNGLBEGINVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBeginVertexShaderEXT")) == NULL) || r;
- r = ((glBindLightParameterEXT = (PFNGLBINDLIGHTPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindLightParameterEXT")) == NULL) || r;
- r = ((glBindMaterialParameterEXT = (PFNGLBINDMATERIALPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindMaterialParameterEXT")) == NULL) || r;
- r = ((glBindParameterEXT = (PFNGLBINDPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindParameterEXT")) == NULL) || r;
- r = ((glBindTexGenParameterEXT = (PFNGLBINDTEXGENPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTexGenParameterEXT")) == NULL) || r;
- r = ((glBindTextureUnitParameterEXT = (PFNGLBINDTEXTUREUNITPARAMETEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindTextureUnitParameterEXT")) == NULL) || r;
- r = ((glBindVertexShaderEXT = (PFNGLBINDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glBindVertexShaderEXT")) == NULL) || r;
- r = ((glDeleteVertexShaderEXT = (PFNGLDELETEVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexShaderEXT")) == NULL) || r;
- r = ((glDisableVariantClientStateEXT = (PFNGLDISABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glDisableVariantClientStateEXT")) == NULL) || r;
- r = ((glEnableVariantClientStateEXT = (PFNGLENABLEVARIANTCLIENTSTATEEXTPROC)glewGetProcAddress((const GLubyte*)"glEnableVariantClientStateEXT")) == NULL) || r;
- r = ((glEndVertexShaderEXT = (PFNGLENDVERTEXSHADEREXTPROC)glewGetProcAddress((const GLubyte*)"glEndVertexShaderEXT")) == NULL) || r;
- r = ((glExtractComponentEXT = (PFNGLEXTRACTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glExtractComponentEXT")) == NULL) || r;
- r = ((glGenSymbolsEXT = (PFNGLGENSYMBOLSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenSymbolsEXT")) == NULL) || r;
- r = ((glGenVertexShadersEXT = (PFNGLGENVERTEXSHADERSEXTPROC)glewGetProcAddress((const GLubyte*)"glGenVertexShadersEXT")) == NULL) || r;
- r = ((glGetInvariantBooleanvEXT = (PFNGLGETINVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantBooleanvEXT")) == NULL) || r;
- r = ((glGetInvariantFloatvEXT = (PFNGLGETINVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantFloatvEXT")) == NULL) || r;
- r = ((glGetInvariantIntegervEXT = (PFNGLGETINVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetInvariantIntegervEXT")) == NULL) || r;
- r = ((glGetLocalConstantBooleanvEXT = (PFNGLGETLOCALCONSTANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantBooleanvEXT")) == NULL) || r;
- r = ((glGetLocalConstantFloatvEXT = (PFNGLGETLOCALCONSTANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantFloatvEXT")) == NULL) || r;
- r = ((glGetLocalConstantIntegervEXT = (PFNGLGETLOCALCONSTANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetLocalConstantIntegervEXT")) == NULL) || r;
- r = ((glGetVariantBooleanvEXT = (PFNGLGETVARIANTBOOLEANVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantBooleanvEXT")) == NULL) || r;
- r = ((glGetVariantFloatvEXT = (PFNGLGETVARIANTFLOATVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantFloatvEXT")) == NULL) || r;
- r = ((glGetVariantIntegervEXT = (PFNGLGETVARIANTINTEGERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantIntegervEXT")) == NULL) || r;
- r = ((glGetVariantPointervEXT = (PFNGLGETVARIANTPOINTERVEXTPROC)glewGetProcAddress((const GLubyte*)"glGetVariantPointervEXT")) == NULL) || r;
- r = ((glInsertComponentEXT = (PFNGLINSERTCOMPONENTEXTPROC)glewGetProcAddress((const GLubyte*)"glInsertComponentEXT")) == NULL) || r;
- r = ((glIsVariantEnabledEXT = (PFNGLISVARIANTENABLEDEXTPROC)glewGetProcAddress((const GLubyte*)"glIsVariantEnabledEXT")) == NULL) || r;
- r = ((glSetInvariantEXT = (PFNGLSETINVARIANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetInvariantEXT")) == NULL) || r;
- r = ((glSetLocalConstantEXT = (PFNGLSETLOCALCONSTANTEXTPROC)glewGetProcAddress((const GLubyte*)"glSetLocalConstantEXT")) == NULL) || r;
- r = ((glShaderOp1EXT = (PFNGLSHADEROP1EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp1EXT")) == NULL) || r;
- r = ((glShaderOp2EXT = (PFNGLSHADEROP2EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp2EXT")) == NULL) || r;
- r = ((glShaderOp3EXT = (PFNGLSHADEROP3EXTPROC)glewGetProcAddress((const GLubyte*)"glShaderOp3EXT")) == NULL) || r;
- r = ((glSwizzleEXT = (PFNGLSWIZZLEEXTPROC)glewGetProcAddress((const GLubyte*)"glSwizzleEXT")) == NULL) || r;
- r = ((glVariantPointerEXT = (PFNGLVARIANTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVariantPointerEXT")) == NULL) || r;
- r = ((glVariantbvEXT = (PFNGLVARIANTBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantbvEXT")) == NULL) || r;
- r = ((glVariantdvEXT = (PFNGLVARIANTDVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantdvEXT")) == NULL) || r;
- r = ((glVariantfvEXT = (PFNGLVARIANTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantfvEXT")) == NULL) || r;
- r = ((glVariantivEXT = (PFNGLVARIANTIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantivEXT")) == NULL) || r;
- r = ((glVariantsvEXT = (PFNGLVARIANTSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantsvEXT")) == NULL) || r;
- r = ((glVariantubvEXT = (PFNGLVARIANTUBVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantubvEXT")) == NULL) || r;
- r = ((glVariantuivEXT = (PFNGLVARIANTUIVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantuivEXT")) == NULL) || r;
- r = ((glVariantusvEXT = (PFNGLVARIANTUSVEXTPROC)glewGetProcAddress((const GLubyte*)"glVariantusvEXT")) == NULL) || r;
- r = ((glWriteMaskEXT = (PFNGLWRITEMASKEXTPROC)glewGetProcAddress((const GLubyte*)"glWriteMaskEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_vertex_shader */
- #ifdef GL_EXT_vertex_weighting
- static GLboolean _glewInit_GL_EXT_vertex_weighting ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexWeightPointerEXT = (PFNGLVERTEXWEIGHTPOINTEREXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightPointerEXT")) == NULL) || r;
- r = ((glVertexWeightfEXT = (PFNGLVERTEXWEIGHTFEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfEXT")) == NULL) || r;
- r = ((glVertexWeightfvEXT = (PFNGLVERTEXWEIGHTFVEXTPROC)glewGetProcAddress((const GLubyte*)"glVertexWeightfvEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_vertex_weighting */
- #ifdef GL_EXT_win32_keyed_mutex
- static GLboolean _glewInit_GL_EXT_win32_keyed_mutex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAcquireKeyedMutexWin32EXT = (PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)glewGetProcAddress((const GLubyte*)"glAcquireKeyedMutexWin32EXT")) == NULL) || r;
- r = ((glReleaseKeyedMutexWin32EXT = (PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)glewGetProcAddress((const GLubyte*)"glReleaseKeyedMutexWin32EXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_win32_keyed_mutex */
- #ifdef GL_EXT_window_rectangles
- static GLboolean _glewInit_GL_EXT_window_rectangles ()
- {
- GLboolean r = GL_FALSE;
- r = ((glWindowRectanglesEXT = (PFNGLWINDOWRECTANGLESEXTPROC)glewGetProcAddress((const GLubyte*)"glWindowRectanglesEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_window_rectangles */
- #ifdef GL_EXT_x11_sync_object
- static GLboolean _glewInit_GL_EXT_x11_sync_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glImportSyncEXT = (PFNGLIMPORTSYNCEXTPROC)glewGetProcAddress((const GLubyte*)"glImportSyncEXT")) == NULL) || r;
- return r;
- }
- #endif /* GL_EXT_x11_sync_object */
- #ifdef GL_GREMEDY_frame_terminator
- static GLboolean _glewInit_GL_GREMEDY_frame_terminator ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFrameTerminatorGREMEDY = (PFNGLFRAMETERMINATORGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glFrameTerminatorGREMEDY")) == NULL) || r;
- return r;
- }
- #endif /* GL_GREMEDY_frame_terminator */
- #ifdef GL_GREMEDY_string_marker
- static GLboolean _glewInit_GL_GREMEDY_string_marker ()
- {
- GLboolean r = GL_FALSE;
- r = ((glStringMarkerGREMEDY = (PFNGLSTRINGMARKERGREMEDYPROC)glewGetProcAddress((const GLubyte*)"glStringMarkerGREMEDY")) == NULL) || r;
- return r;
- }
- #endif /* GL_GREMEDY_string_marker */
- #ifdef GL_HP_image_transform
- static GLboolean _glewInit_GL_HP_image_transform ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetImageTransformParameterfvHP = (PFNGLGETIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterfvHP")) == NULL) || r;
- r = ((glGetImageTransformParameterivHP = (PFNGLGETIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glGetImageTransformParameterivHP")) == NULL) || r;
- r = ((glImageTransformParameterfHP = (PFNGLIMAGETRANSFORMPARAMETERFHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfHP")) == NULL) || r;
- r = ((glImageTransformParameterfvHP = (PFNGLIMAGETRANSFORMPARAMETERFVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterfvHP")) == NULL) || r;
- r = ((glImageTransformParameteriHP = (PFNGLIMAGETRANSFORMPARAMETERIHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameteriHP")) == NULL) || r;
- r = ((glImageTransformParameterivHP = (PFNGLIMAGETRANSFORMPARAMETERIVHPPROC)glewGetProcAddress((const GLubyte*)"glImageTransformParameterivHP")) == NULL) || r;
- return r;
- }
- #endif /* GL_HP_image_transform */
- #ifdef GL_IBM_multimode_draw_arrays
- static GLboolean _glewInit_GL_IBM_multimode_draw_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiModeDrawArraysIBM = (PFNGLMULTIMODEDRAWARRAYSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawArraysIBM")) == NULL) || r;
- r = ((glMultiModeDrawElementsIBM = (PFNGLMULTIMODEDRAWELEMENTSIBMPROC)glewGetProcAddress((const GLubyte*)"glMultiModeDrawElementsIBM")) == NULL) || r;
- return r;
- }
- #endif /* GL_IBM_multimode_draw_arrays */
- #ifdef GL_IBM_vertex_array_lists
- static GLboolean _glewInit_GL_IBM_vertex_array_lists ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorPointerListIBM = (PFNGLCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glColorPointerListIBM")) == NULL) || r;
- r = ((glEdgeFlagPointerListIBM = (PFNGLEDGEFLAGPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagPointerListIBM")) == NULL) || r;
- r = ((glFogCoordPointerListIBM = (PFNGLFOGCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glFogCoordPointerListIBM")) == NULL) || r;
- r = ((glIndexPointerListIBM = (PFNGLINDEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glIndexPointerListIBM")) == NULL) || r;
- r = ((glNormalPointerListIBM = (PFNGLNORMALPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glNormalPointerListIBM")) == NULL) || r;
- r = ((glSecondaryColorPointerListIBM = (PFNGLSECONDARYCOLORPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorPointerListIBM")) == NULL) || r;
- r = ((glTexCoordPointerListIBM = (PFNGLTEXCOORDPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointerListIBM")) == NULL) || r;
- r = ((glVertexPointerListIBM = (PFNGLVERTEXPOINTERLISTIBMPROC)glewGetProcAddress((const GLubyte*)"glVertexPointerListIBM")) == NULL) || r;
- return r;
- }
- #endif /* GL_IBM_vertex_array_lists */
- #ifdef GL_INTEL_map_texture
- static GLboolean _glewInit_GL_INTEL_map_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMapTexture2DINTEL = (PFNGLMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glMapTexture2DINTEL")) == NULL) || r;
- r = ((glSyncTextureINTEL = (PFNGLSYNCTEXTUREINTELPROC)glewGetProcAddress((const GLubyte*)"glSyncTextureINTEL")) == NULL) || r;
- r = ((glUnmapTexture2DINTEL = (PFNGLUNMAPTEXTURE2DINTELPROC)glewGetProcAddress((const GLubyte*)"glUnmapTexture2DINTEL")) == NULL) || r;
- return r;
- }
- #endif /* GL_INTEL_map_texture */
- #ifdef GL_INTEL_parallel_arrays
- static GLboolean _glewInit_GL_INTEL_parallel_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorPointervINTEL = (PFNGLCOLORPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glColorPointervINTEL")) == NULL) || r;
- r = ((glNormalPointervINTEL = (PFNGLNORMALPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glNormalPointervINTEL")) == NULL) || r;
- r = ((glTexCoordPointervINTEL = (PFNGLTEXCOORDPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glTexCoordPointervINTEL")) == NULL) || r;
- r = ((glVertexPointervINTEL = (PFNGLVERTEXPOINTERVINTELPROC)glewGetProcAddress((const GLubyte*)"glVertexPointervINTEL")) == NULL) || r;
- return r;
- }
- #endif /* GL_INTEL_parallel_arrays */
- #ifdef GL_INTEL_performance_query
- static GLboolean _glewInit_GL_INTEL_performance_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginPerfQueryINTEL = (PFNGLBEGINPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glBeginPerfQueryINTEL")) == NULL) || r;
- r = ((glCreatePerfQueryINTEL = (PFNGLCREATEPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glCreatePerfQueryINTEL")) == NULL) || r;
- r = ((glDeletePerfQueryINTEL = (PFNGLDELETEPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glDeletePerfQueryINTEL")) == NULL) || r;
- r = ((glEndPerfQueryINTEL = (PFNGLENDPERFQUERYINTELPROC)glewGetProcAddress((const GLubyte*)"glEndPerfQueryINTEL")) == NULL) || r;
- r = ((glGetFirstPerfQueryIdINTEL = (PFNGLGETFIRSTPERFQUERYIDINTELPROC)glewGetProcAddress((const GLubyte*)"glGetFirstPerfQueryIdINTEL")) == NULL) || r;
- r = ((glGetNextPerfQueryIdINTEL = (PFNGLGETNEXTPERFQUERYIDINTELPROC)glewGetProcAddress((const GLubyte*)"glGetNextPerfQueryIdINTEL")) == NULL) || r;
- r = ((glGetPerfCounterInfoINTEL = (PFNGLGETPERFCOUNTERINFOINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfCounterInfoINTEL")) == NULL) || r;
- r = ((glGetPerfQueryDataINTEL = (PFNGLGETPERFQUERYDATAINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryDataINTEL")) == NULL) || r;
- r = ((glGetPerfQueryIdByNameINTEL = (PFNGLGETPERFQUERYIDBYNAMEINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryIdByNameINTEL")) == NULL) || r;
- r = ((glGetPerfQueryInfoINTEL = (PFNGLGETPERFQUERYINFOINTELPROC)glewGetProcAddress((const GLubyte*)"glGetPerfQueryInfoINTEL")) == NULL) || r;
- return r;
- }
- #endif /* GL_INTEL_performance_query */
- #ifdef GL_INTEL_texture_scissor
- static GLboolean _glewInit_GL_INTEL_texture_scissor ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexScissorFuncINTEL = (PFNGLTEXSCISSORFUNCINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorFuncINTEL")) == NULL) || r;
- r = ((glTexScissorINTEL = (PFNGLTEXSCISSORINTELPROC)glewGetProcAddress((const GLubyte*)"glTexScissorINTEL")) == NULL) || r;
- return r;
- }
- #endif /* GL_INTEL_texture_scissor */
- #ifdef GL_KHR_blend_equation_advanced
- static GLboolean _glewInit_GL_KHR_blend_equation_advanced ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendBarrierKHR = (PFNGLBLENDBARRIERKHRPROC)glewGetProcAddress((const GLubyte*)"glBlendBarrierKHR")) == NULL) || r;
- return r;
- }
- #endif /* GL_KHR_blend_equation_advanced */
- #ifdef GL_KHR_debug
- static GLboolean _glewInit_GL_KHR_debug ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDebugMessageCallback = (PFNGLDEBUGMESSAGECALLBACKPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageCallback")) == NULL) || r;
- r = ((glDebugMessageControl = (PFNGLDEBUGMESSAGECONTROLPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageControl")) == NULL) || r;
- r = ((glDebugMessageInsert = (PFNGLDEBUGMESSAGEINSERTPROC)glewGetProcAddress((const GLubyte*)"glDebugMessageInsert")) == NULL) || r;
- r = ((glGetDebugMessageLog = (PFNGLGETDEBUGMESSAGELOGPROC)glewGetProcAddress((const GLubyte*)"glGetDebugMessageLog")) == NULL) || r;
- r = ((glGetObjectLabel = (PFNGLGETOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectLabel")) == NULL) || r;
- r = ((glGetObjectPtrLabel = (PFNGLGETOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glGetObjectPtrLabel")) == NULL) || r;
- r = ((glObjectLabel = (PFNGLOBJECTLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectLabel")) == NULL) || r;
- r = ((glObjectPtrLabel = (PFNGLOBJECTPTRLABELPROC)glewGetProcAddress((const GLubyte*)"glObjectPtrLabel")) == NULL) || r;
- r = ((glPopDebugGroup = (PFNGLPOPDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPopDebugGroup")) == NULL) || r;
- r = ((glPushDebugGroup = (PFNGLPUSHDEBUGGROUPPROC)glewGetProcAddress((const GLubyte*)"glPushDebugGroup")) == NULL) || r;
- return r;
- }
- #endif /* GL_KHR_debug */
- #ifdef GL_KHR_parallel_shader_compile
- static GLboolean _glewInit_GL_KHR_parallel_shader_compile ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMaxShaderCompilerThreadsKHR = (PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)glewGetProcAddress((const GLubyte*)"glMaxShaderCompilerThreadsKHR")) == NULL) || r;
- return r;
- }
- #endif /* GL_KHR_parallel_shader_compile */
- #ifdef GL_KHR_robustness
- static GLboolean _glewInit_GL_KHR_robustness ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetnUniformfv = (PFNGLGETNUNIFORMFVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformfv")) == NULL) || r;
- r = ((glGetnUniformiv = (PFNGLGETNUNIFORMIVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformiv")) == NULL) || r;
- r = ((glGetnUniformuiv = (PFNGLGETNUNIFORMUIVPROC)glewGetProcAddress((const GLubyte*)"glGetnUniformuiv")) == NULL) || r;
- r = ((glReadnPixels = (PFNGLREADNPIXELSPROC)glewGetProcAddress((const GLubyte*)"glReadnPixels")) == NULL) || r;
- return r;
- }
- #endif /* GL_KHR_robustness */
- #ifdef GL_KTX_buffer_region
- static GLboolean _glewInit_GL_KTX_buffer_region ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferRegionEnabled = (PFNGLBUFFERREGIONENABLEDPROC)glewGetProcAddress((const GLubyte*)"glBufferRegionEnabled")) == NULL) || r;
- r = ((glDeleteBufferRegion = (PFNGLDELETEBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDeleteBufferRegion")) == NULL) || r;
- r = ((glDrawBufferRegion = (PFNGLDRAWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glDrawBufferRegion")) == NULL) || r;
- r = ((glNewBufferRegion = (PFNGLNEWBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glNewBufferRegion")) == NULL) || r;
- r = ((glReadBufferRegion = (PFNGLREADBUFFERREGIONPROC)glewGetProcAddress((const GLubyte*)"glReadBufferRegion")) == NULL) || r;
- return r;
- }
- #endif /* GL_KTX_buffer_region */
- #ifdef GL_MESA_resize_buffers
- static GLboolean _glewInit_GL_MESA_resize_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glResizeBuffersMESA = (PFNGLRESIZEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glResizeBuffersMESA")) == NULL) || r;
- return r;
- }
- #endif /* GL_MESA_resize_buffers */
- #ifdef GL_MESA_window_pos
- static GLboolean _glewInit_GL_MESA_window_pos ()
- {
- GLboolean r = GL_FALSE;
- r = ((glWindowPos2dMESA = (PFNGLWINDOWPOS2DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dMESA")) == NULL) || r;
- r = ((glWindowPos2dvMESA = (PFNGLWINDOWPOS2DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2dvMESA")) == NULL) || r;
- r = ((glWindowPos2fMESA = (PFNGLWINDOWPOS2FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fMESA")) == NULL) || r;
- r = ((glWindowPos2fvMESA = (PFNGLWINDOWPOS2FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2fvMESA")) == NULL) || r;
- r = ((glWindowPos2iMESA = (PFNGLWINDOWPOS2IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2iMESA")) == NULL) || r;
- r = ((glWindowPos2ivMESA = (PFNGLWINDOWPOS2IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2ivMESA")) == NULL) || r;
- r = ((glWindowPos2sMESA = (PFNGLWINDOWPOS2SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2sMESA")) == NULL) || r;
- r = ((glWindowPos2svMESA = (PFNGLWINDOWPOS2SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos2svMESA")) == NULL) || r;
- r = ((glWindowPos3dMESA = (PFNGLWINDOWPOS3DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dMESA")) == NULL) || r;
- r = ((glWindowPos3dvMESA = (PFNGLWINDOWPOS3DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3dvMESA")) == NULL) || r;
- r = ((glWindowPos3fMESA = (PFNGLWINDOWPOS3FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fMESA")) == NULL) || r;
- r = ((glWindowPos3fvMESA = (PFNGLWINDOWPOS3FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3fvMESA")) == NULL) || r;
- r = ((glWindowPos3iMESA = (PFNGLWINDOWPOS3IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3iMESA")) == NULL) || r;
- r = ((glWindowPos3ivMESA = (PFNGLWINDOWPOS3IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3ivMESA")) == NULL) || r;
- r = ((glWindowPos3sMESA = (PFNGLWINDOWPOS3SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3sMESA")) == NULL) || r;
- r = ((glWindowPos3svMESA = (PFNGLWINDOWPOS3SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos3svMESA")) == NULL) || r;
- r = ((glWindowPos4dMESA = (PFNGLWINDOWPOS4DMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dMESA")) == NULL) || r;
- r = ((glWindowPos4dvMESA = (PFNGLWINDOWPOS4DVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4dvMESA")) == NULL) || r;
- r = ((glWindowPos4fMESA = (PFNGLWINDOWPOS4FMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fMESA")) == NULL) || r;
- r = ((glWindowPos4fvMESA = (PFNGLWINDOWPOS4FVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4fvMESA")) == NULL) || r;
- r = ((glWindowPos4iMESA = (PFNGLWINDOWPOS4IMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4iMESA")) == NULL) || r;
- r = ((glWindowPos4ivMESA = (PFNGLWINDOWPOS4IVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4ivMESA")) == NULL) || r;
- r = ((glWindowPos4sMESA = (PFNGLWINDOWPOS4SMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4sMESA")) == NULL) || r;
- r = ((glWindowPos4svMESA = (PFNGLWINDOWPOS4SVMESAPROC)glewGetProcAddress((const GLubyte*)"glWindowPos4svMESA")) == NULL) || r;
- return r;
- }
- #endif /* GL_MESA_window_pos */
- #ifdef GL_NVX_conditional_render
- static GLboolean _glewInit_GL_NVX_conditional_render ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginConditionalRenderNVX = (PFNGLBEGINCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNVX")) == NULL) || r;
- r = ((glEndConditionalRenderNVX = (PFNGLENDCONDITIONALRENDERNVXPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNVX")) == NULL) || r;
- return r;
- }
- #endif /* GL_NVX_conditional_render */
- #ifdef GL_NVX_linked_gpu_multicast
- static GLboolean _glewInit_GL_NVX_linked_gpu_multicast ()
- {
- GLboolean r = GL_FALSE;
- r = ((glLGPUCopyImageSubDataNVX = (PFNGLLGPUCOPYIMAGESUBDATANVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUCopyImageSubDataNVX")) == NULL) || r;
- r = ((glLGPUInterlockNVX = (PFNGLLGPUINTERLOCKNVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUInterlockNVX")) == NULL) || r;
- r = ((glLGPUNamedBufferSubDataNVX = (PFNGLLGPUNAMEDBUFFERSUBDATANVXPROC)glewGetProcAddress((const GLubyte*)"glLGPUNamedBufferSubDataNVX")) == NULL) || r;
- return r;
- }
- #endif /* GL_NVX_linked_gpu_multicast */
- #ifdef GL_NV_3dvision_settings
- static GLboolean _glewInit_GL_NV_3dvision_settings ()
- {
- GLboolean r = GL_FALSE;
- r = ((glStereoParameterfNV = (PFNGLSTEREOPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glStereoParameterfNV")) == NULL) || r;
- r = ((glStereoParameteriNV = (PFNGLSTEREOPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glStereoParameteriNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_3dvision_settings */
- #ifdef GL_NV_bindless_multi_draw_indirect
- static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectBindlessNV = (PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectBindlessNV")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectBindlessNV = (PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectBindlessNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_bindless_multi_draw_indirect */
- #ifdef GL_NV_bindless_multi_draw_indirect_count
- static GLboolean _glewInit_GL_NV_bindless_multi_draw_indirect_count ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultiDrawArraysIndirectBindlessCountNV = (PFNGLMULTIDRAWARRAYSINDIRECTBINDLESSCOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawArraysIndirectBindlessCountNV")) == NULL) || r;
- r = ((glMultiDrawElementsIndirectBindlessCountNV = (PFNGLMULTIDRAWELEMENTSINDIRECTBINDLESSCOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glMultiDrawElementsIndirectBindlessCountNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_bindless_multi_draw_indirect_count */
- #ifdef GL_NV_bindless_texture
- static GLboolean _glewInit_GL_NV_bindless_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetImageHandleNV = (PFNGLGETIMAGEHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetImageHandleNV")) == NULL) || r;
- r = ((glGetTextureHandleNV = (PFNGLGETTEXTUREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureHandleNV")) == NULL) || r;
- r = ((glGetTextureSamplerHandleNV = (PFNGLGETTEXTURESAMPLERHANDLENVPROC)glewGetProcAddress((const GLubyte*)"glGetTextureSamplerHandleNV")) == NULL) || r;
- r = ((glIsImageHandleResidentNV = (PFNGLISIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsImageHandleResidentNV")) == NULL) || r;
- r = ((glIsTextureHandleResidentNV = (PFNGLISTEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsTextureHandleResidentNV")) == NULL) || r;
- r = ((glMakeImageHandleNonResidentNV = (PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleNonResidentNV")) == NULL) || r;
- r = ((glMakeImageHandleResidentNV = (PFNGLMAKEIMAGEHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeImageHandleResidentNV")) == NULL) || r;
- r = ((glMakeTextureHandleNonResidentNV = (PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleNonResidentNV")) == NULL) || r;
- r = ((glMakeTextureHandleResidentNV = (PFNGLMAKETEXTUREHANDLERESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeTextureHandleResidentNV")) == NULL) || r;
- r = ((glProgramUniformHandleui64NV = (PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64NV")) == NULL) || r;
- r = ((glProgramUniformHandleui64vNV = (PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformHandleui64vNV")) == NULL) || r;
- r = ((glUniformHandleui64NV = (PFNGLUNIFORMHANDLEUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64NV")) == NULL) || r;
- r = ((glUniformHandleui64vNV = (PFNGLUNIFORMHANDLEUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformHandleui64vNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_bindless_texture */
- #ifdef GL_NV_blend_equation_advanced
- static GLboolean _glewInit_GL_NV_blend_equation_advanced ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlendBarrierNV = (PFNGLBLENDBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glBlendBarrierNV")) == NULL) || r;
- r = ((glBlendParameteriNV = (PFNGLBLENDPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glBlendParameteriNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_blend_equation_advanced */
- #ifdef GL_NV_clip_space_w_scaling
- static GLboolean _glewInit_GL_NV_clip_space_w_scaling ()
- {
- GLboolean r = GL_FALSE;
- r = ((glViewportPositionWScaleNV = (PFNGLVIEWPORTPOSITIONWSCALENVPROC)glewGetProcAddress((const GLubyte*)"glViewportPositionWScaleNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_clip_space_w_scaling */
- #ifdef GL_NV_command_list
- static GLboolean _glewInit_GL_NV_command_list ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCallCommandListNV = (PFNGLCALLCOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glCallCommandListNV")) == NULL) || r;
- r = ((glCommandListSegmentsNV = (PFNGLCOMMANDLISTSEGMENTSNVPROC)glewGetProcAddress((const GLubyte*)"glCommandListSegmentsNV")) == NULL) || r;
- r = ((glCompileCommandListNV = (PFNGLCOMPILECOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glCompileCommandListNV")) == NULL) || r;
- r = ((glCreateCommandListsNV = (PFNGLCREATECOMMANDLISTSNVPROC)glewGetProcAddress((const GLubyte*)"glCreateCommandListsNV")) == NULL) || r;
- r = ((glCreateStatesNV = (PFNGLCREATESTATESNVPROC)glewGetProcAddress((const GLubyte*)"glCreateStatesNV")) == NULL) || r;
- r = ((glDeleteCommandListsNV = (PFNGLDELETECOMMANDLISTSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteCommandListsNV")) == NULL) || r;
- r = ((glDeleteStatesNV = (PFNGLDELETESTATESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteStatesNV")) == NULL) || r;
- r = ((glDrawCommandsAddressNV = (PFNGLDRAWCOMMANDSADDRESSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsAddressNV")) == NULL) || r;
- r = ((glDrawCommandsNV = (PFNGLDRAWCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsNV")) == NULL) || r;
- r = ((glDrawCommandsStatesAddressNV = (PFNGLDRAWCOMMANDSSTATESADDRESSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsStatesAddressNV")) == NULL) || r;
- r = ((glDrawCommandsStatesNV = (PFNGLDRAWCOMMANDSSTATESNVPROC)glewGetProcAddress((const GLubyte*)"glDrawCommandsStatesNV")) == NULL) || r;
- r = ((glGetCommandHeaderNV = (PFNGLGETCOMMANDHEADERNVPROC)glewGetProcAddress((const GLubyte*)"glGetCommandHeaderNV")) == NULL) || r;
- r = ((glGetStageIndexNV = (PFNGLGETSTAGEINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glGetStageIndexNV")) == NULL) || r;
- r = ((glIsCommandListNV = (PFNGLISCOMMANDLISTNVPROC)glewGetProcAddress((const GLubyte*)"glIsCommandListNV")) == NULL) || r;
- r = ((glIsStateNV = (PFNGLISSTATENVPROC)glewGetProcAddress((const GLubyte*)"glIsStateNV")) == NULL) || r;
- r = ((glListDrawCommandsStatesClientNV = (PFNGLLISTDRAWCOMMANDSSTATESCLIENTNVPROC)glewGetProcAddress((const GLubyte*)"glListDrawCommandsStatesClientNV")) == NULL) || r;
- r = ((glStateCaptureNV = (PFNGLSTATECAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glStateCaptureNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_command_list */
- #ifdef GL_NV_conditional_render
- static GLboolean _glewInit_GL_NV_conditional_render ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginConditionalRenderNV = (PFNGLBEGINCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glBeginConditionalRenderNV")) == NULL) || r;
- r = ((glEndConditionalRenderNV = (PFNGLENDCONDITIONALRENDERNVPROC)glewGetProcAddress((const GLubyte*)"glEndConditionalRenderNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_conditional_render */
- #ifdef GL_NV_conservative_raster
- static GLboolean _glewInit_GL_NV_conservative_raster ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSubpixelPrecisionBiasNV = (PFNGLSUBPIXELPRECISIONBIASNVPROC)glewGetProcAddress((const GLubyte*)"glSubpixelPrecisionBiasNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_conservative_raster */
- #ifdef GL_NV_conservative_raster_dilate
- static GLboolean _glewInit_GL_NV_conservative_raster_dilate ()
- {
- GLboolean r = GL_FALSE;
- r = ((glConservativeRasterParameterfNV = (PFNGLCONSERVATIVERASTERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glConservativeRasterParameterfNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_conservative_raster_dilate */
- #ifdef GL_NV_conservative_raster_pre_snap_triangles
- static GLboolean _glewInit_GL_NV_conservative_raster_pre_snap_triangles ()
- {
- GLboolean r = GL_FALSE;
- r = ((glConservativeRasterParameteriNV = (PFNGLCONSERVATIVERASTERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glConservativeRasterParameteriNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_conservative_raster_pre_snap_triangles */
- #ifdef GL_NV_copy_buffer
- static GLboolean _glewInit_GL_NV_copy_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyBufferSubDataNV = (PFNGLCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyBufferSubDataNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_copy_buffer */
- #ifdef GL_NV_copy_image
- static GLboolean _glewInit_GL_NV_copy_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyImageSubDataNV = (PFNGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glCopyImageSubDataNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_copy_image */
- #ifdef GL_NV_depth_buffer_float
- static GLboolean _glewInit_GL_NV_depth_buffer_float ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClearDepthdNV = (PFNGLCLEARDEPTHDNVPROC)glewGetProcAddress((const GLubyte*)"glClearDepthdNV")) == NULL) || r;
- r = ((glDepthBoundsdNV = (PFNGLDEPTHBOUNDSDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthBoundsdNV")) == NULL) || r;
- r = ((glDepthRangedNV = (PFNGLDEPTHRANGEDNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangedNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_depth_buffer_float */
- #ifdef GL_NV_draw_buffers
- static GLboolean _glewInit_GL_NV_draw_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawBuffersNV = (PFNGLDRAWBUFFERSNVPROC)glewGetProcAddress((const GLubyte*)"glDrawBuffersNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_draw_buffers */
- #ifdef GL_NV_draw_instanced
- static GLboolean _glewInit_GL_NV_draw_instanced ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawArraysInstancedNV = (PFNGLDRAWARRAYSINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glDrawArraysInstancedNV")) == NULL) || r;
- r = ((glDrawElementsInstancedNV = (PFNGLDRAWELEMENTSINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glDrawElementsInstancedNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_draw_instanced */
- #ifdef GL_NV_draw_texture
- static GLboolean _glewInit_GL_NV_draw_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawTextureNV = (PFNGLDRAWTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glDrawTextureNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_draw_texture */
- #ifdef GL_NV_draw_vulkan_image
- static GLboolean _glewInit_GL_NV_draw_vulkan_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDrawVkImageNV = (PFNGLDRAWVKIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glDrawVkImageNV")) == NULL) || r;
- r = ((glGetVkProcAddrNV = (PFNGLGETVKPROCADDRNVPROC)glewGetProcAddress((const GLubyte*)"glGetVkProcAddrNV")) == NULL) || r;
- r = ((glSignalVkFenceNV = (PFNGLSIGNALVKFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSignalVkFenceNV")) == NULL) || r;
- r = ((glSignalVkSemaphoreNV = (PFNGLSIGNALVKSEMAPHORENVPROC)glewGetProcAddress((const GLubyte*)"glSignalVkSemaphoreNV")) == NULL) || r;
- r = ((glWaitVkSemaphoreNV = (PFNGLWAITVKSEMAPHORENVPROC)glewGetProcAddress((const GLubyte*)"glWaitVkSemaphoreNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_draw_vulkan_image */
- #ifdef GL_NV_evaluators
- static GLboolean _glewInit_GL_NV_evaluators ()
- {
- GLboolean r = GL_FALSE;
- r = ((glEvalMapsNV = (PFNGLEVALMAPSNVPROC)glewGetProcAddress((const GLubyte*)"glEvalMapsNV")) == NULL) || r;
- r = ((glGetMapAttribParameterfvNV = (PFNGLGETMAPATTRIBPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterfvNV")) == NULL) || r;
- r = ((glGetMapAttribParameterivNV = (PFNGLGETMAPATTRIBPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapAttribParameterivNV")) == NULL) || r;
- r = ((glGetMapControlPointsNV = (PFNGLGETMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapControlPointsNV")) == NULL) || r;
- r = ((glGetMapParameterfvNV = (PFNGLGETMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterfvNV")) == NULL) || r;
- r = ((glGetMapParameterivNV = (PFNGLGETMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMapParameterivNV")) == NULL) || r;
- r = ((glMapControlPointsNV = (PFNGLMAPCONTROLPOINTSNVPROC)glewGetProcAddress((const GLubyte*)"glMapControlPointsNV")) == NULL) || r;
- r = ((glMapParameterfvNV = (PFNGLMAPPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterfvNV")) == NULL) || r;
- r = ((glMapParameterivNV = (PFNGLMAPPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glMapParameterivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_evaluators */
- #ifdef GL_NV_explicit_multisample
- static GLboolean _glewInit_GL_NV_explicit_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetMultisamplefvNV = (PFNGLGETMULTISAMPLEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetMultisamplefvNV")) == NULL) || r;
- r = ((glSampleMaskIndexedNV = (PFNGLSAMPLEMASKINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskIndexedNV")) == NULL) || r;
- r = ((glTexRenderbufferNV = (PFNGLTEXRENDERBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glTexRenderbufferNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_explicit_multisample */
- #ifdef GL_NV_fence
- static GLboolean _glewInit_GL_NV_fence ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDeleteFencesNV = (PFNGLDELETEFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteFencesNV")) == NULL) || r;
- r = ((glFinishFenceNV = (PFNGLFINISHFENCENVPROC)glewGetProcAddress((const GLubyte*)"glFinishFenceNV")) == NULL) || r;
- r = ((glGenFencesNV = (PFNGLGENFENCESNVPROC)glewGetProcAddress((const GLubyte*)"glGenFencesNV")) == NULL) || r;
- r = ((glGetFenceivNV = (PFNGLGETFENCEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFenceivNV")) == NULL) || r;
- r = ((glIsFenceNV = (PFNGLISFENCENVPROC)glewGetProcAddress((const GLubyte*)"glIsFenceNV")) == NULL) || r;
- r = ((glSetFenceNV = (PFNGLSETFENCENVPROC)glewGetProcAddress((const GLubyte*)"glSetFenceNV")) == NULL) || r;
- r = ((glTestFenceNV = (PFNGLTESTFENCENVPROC)glewGetProcAddress((const GLubyte*)"glTestFenceNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_fence */
- #ifdef GL_NV_fragment_coverage_to_color
- static GLboolean _glewInit_GL_NV_fragment_coverage_to_color ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFragmentCoverageColorNV = (PFNGLFRAGMENTCOVERAGECOLORNVPROC)glewGetProcAddress((const GLubyte*)"glFragmentCoverageColorNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_fragment_coverage_to_color */
- #ifdef GL_NV_fragment_program
- static GLboolean _glewInit_GL_NV_fragment_program ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetProgramNamedParameterdvNV = (PFNGLGETPROGRAMNAMEDPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterdvNV")) == NULL) || r;
- r = ((glGetProgramNamedParameterfvNV = (PFNGLGETPROGRAMNAMEDPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramNamedParameterfvNV")) == NULL) || r;
- r = ((glProgramNamedParameter4dNV = (PFNGLPROGRAMNAMEDPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dNV")) == NULL) || r;
- r = ((glProgramNamedParameter4dvNV = (PFNGLPROGRAMNAMEDPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4dvNV")) == NULL) || r;
- r = ((glProgramNamedParameter4fNV = (PFNGLPROGRAMNAMEDPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fNV")) == NULL) || r;
- r = ((glProgramNamedParameter4fvNV = (PFNGLPROGRAMNAMEDPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramNamedParameter4fvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_fragment_program */
- #ifdef GL_NV_framebuffer_blit
- static GLboolean _glewInit_GL_NV_framebuffer_blit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBlitFramebufferNV = (PFNGLBLITFRAMEBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBlitFramebufferNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_framebuffer_blit */
- #ifdef GL_NV_framebuffer_multisample
- static GLboolean _glewInit_GL_NV_framebuffer_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glRenderbufferStorageMultisampleNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_framebuffer_multisample */
- #ifdef GL_NV_framebuffer_multisample_coverage
- static GLboolean _glewInit_GL_NV_framebuffer_multisample_coverage ()
- {
- GLboolean r = GL_FALSE;
- r = ((glRenderbufferStorageMultisampleCoverageNV = (PFNGLRENDERBUFFERSTORAGEMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glRenderbufferStorageMultisampleCoverageNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_framebuffer_multisample_coverage */
- #ifdef GL_NV_geometry_program4
- static GLboolean _glewInit_GL_NV_geometry_program4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProgramVertexLimitNV = (PFNGLPROGRAMVERTEXLIMITNVPROC)glewGetProcAddress((const GLubyte*)"glProgramVertexLimitNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_geometry_program4 */
- #ifdef GL_NV_gpu_multicast
- static GLboolean _glewInit_GL_NV_gpu_multicast ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMulticastBarrierNV = (PFNGLMULTICASTBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBarrierNV")) == NULL) || r;
- r = ((glMulticastBlitFramebufferNV = (PFNGLMULTICASTBLITFRAMEBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBlitFramebufferNV")) == NULL) || r;
- r = ((glMulticastBufferSubDataNV = (PFNGLMULTICASTBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastBufferSubDataNV")) == NULL) || r;
- r = ((glMulticastCopyBufferSubDataNV = (PFNGLMULTICASTCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyBufferSubDataNV")) == NULL) || r;
- r = ((glMulticastCopyImageSubDataNV = (PFNGLMULTICASTCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glMulticastCopyImageSubDataNV")) == NULL) || r;
- r = ((glMulticastFramebufferSampleLocationsfvNV = (PFNGLMULTICASTFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastFramebufferSampleLocationsfvNV")) == NULL) || r;
- r = ((glMulticastGetQueryObjecti64vNV = (PFNGLMULTICASTGETQUERYOBJECTI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjecti64vNV")) == NULL) || r;
- r = ((glMulticastGetQueryObjectivNV = (PFNGLMULTICASTGETQUERYOBJECTIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectivNV")) == NULL) || r;
- r = ((glMulticastGetQueryObjectui64vNV = (PFNGLMULTICASTGETQUERYOBJECTUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectui64vNV")) == NULL) || r;
- r = ((glMulticastGetQueryObjectuivNV = (PFNGLMULTICASTGETQUERYOBJECTUIVNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastGetQueryObjectuivNV")) == NULL) || r;
- r = ((glMulticastWaitSyncNV = (PFNGLMULTICASTWAITSYNCNVPROC)glewGetProcAddress((const GLubyte*)"glMulticastWaitSyncNV")) == NULL) || r;
- r = ((glRenderGpuMaskNV = (PFNGLRENDERGPUMASKNVPROC)glewGetProcAddress((const GLubyte*)"glRenderGpuMaskNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_gpu_multicast */
- #ifdef GL_NV_gpu_program4
- static GLboolean _glewInit_GL_NV_gpu_program4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProgramEnvParameterI4iNV = (PFNGLPROGRAMENVPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4iNV")) == NULL) || r;
- r = ((glProgramEnvParameterI4ivNV = (PFNGLPROGRAMENVPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4ivNV")) == NULL) || r;
- r = ((glProgramEnvParameterI4uiNV = (PFNGLPROGRAMENVPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uiNV")) == NULL) || r;
- r = ((glProgramEnvParameterI4uivNV = (PFNGLPROGRAMENVPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParameterI4uivNV")) == NULL) || r;
- r = ((glProgramEnvParametersI4ivNV = (PFNGLPROGRAMENVPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4ivNV")) == NULL) || r;
- r = ((glProgramEnvParametersI4uivNV = (PFNGLPROGRAMENVPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramEnvParametersI4uivNV")) == NULL) || r;
- r = ((glProgramLocalParameterI4iNV = (PFNGLPROGRAMLOCALPARAMETERI4INVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4iNV")) == NULL) || r;
- r = ((glProgramLocalParameterI4ivNV = (PFNGLPROGRAMLOCALPARAMETERI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4ivNV")) == NULL) || r;
- r = ((glProgramLocalParameterI4uiNV = (PFNGLPROGRAMLOCALPARAMETERI4UINVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uiNV")) == NULL) || r;
- r = ((glProgramLocalParameterI4uivNV = (PFNGLPROGRAMLOCALPARAMETERI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParameterI4uivNV")) == NULL) || r;
- r = ((glProgramLocalParametersI4ivNV = (PFNGLPROGRAMLOCALPARAMETERSI4IVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4ivNV")) == NULL) || r;
- r = ((glProgramLocalParametersI4uivNV = (PFNGLPROGRAMLOCALPARAMETERSI4UIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramLocalParametersI4uivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_gpu_program4 */
- #ifdef GL_NV_gpu_shader5
- static GLboolean _glewInit_GL_NV_gpu_shader5 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetUniformi64vNV = (PFNGLGETUNIFORMI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformi64vNV")) == NULL) || r;
- r = ((glGetUniformui64vNV = (PFNGLGETUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetUniformui64vNV")) == NULL) || r;
- r = ((glProgramUniform1i64NV = (PFNGLPROGRAMUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64NV")) == NULL) || r;
- r = ((glProgramUniform1i64vNV = (PFNGLPROGRAMUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1i64vNV")) == NULL) || r;
- r = ((glProgramUniform1ui64NV = (PFNGLPROGRAMUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64NV")) == NULL) || r;
- r = ((glProgramUniform1ui64vNV = (PFNGLPROGRAMUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform1ui64vNV")) == NULL) || r;
- r = ((glProgramUniform2i64NV = (PFNGLPROGRAMUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64NV")) == NULL) || r;
- r = ((glProgramUniform2i64vNV = (PFNGLPROGRAMUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2i64vNV")) == NULL) || r;
- r = ((glProgramUniform2ui64NV = (PFNGLPROGRAMUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64NV")) == NULL) || r;
- r = ((glProgramUniform2ui64vNV = (PFNGLPROGRAMUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform2ui64vNV")) == NULL) || r;
- r = ((glProgramUniform3i64NV = (PFNGLPROGRAMUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64NV")) == NULL) || r;
- r = ((glProgramUniform3i64vNV = (PFNGLPROGRAMUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3i64vNV")) == NULL) || r;
- r = ((glProgramUniform3ui64NV = (PFNGLPROGRAMUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64NV")) == NULL) || r;
- r = ((glProgramUniform3ui64vNV = (PFNGLPROGRAMUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform3ui64vNV")) == NULL) || r;
- r = ((glProgramUniform4i64NV = (PFNGLPROGRAMUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64NV")) == NULL) || r;
- r = ((glProgramUniform4i64vNV = (PFNGLPROGRAMUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4i64vNV")) == NULL) || r;
- r = ((glProgramUniform4ui64NV = (PFNGLPROGRAMUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64NV")) == NULL) || r;
- r = ((glProgramUniform4ui64vNV = (PFNGLPROGRAMUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniform4ui64vNV")) == NULL) || r;
- r = ((glUniform1i64NV = (PFNGLUNIFORM1I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64NV")) == NULL) || r;
- r = ((glUniform1i64vNV = (PFNGLUNIFORM1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1i64vNV")) == NULL) || r;
- r = ((glUniform1ui64NV = (PFNGLUNIFORM1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64NV")) == NULL) || r;
- r = ((glUniform1ui64vNV = (PFNGLUNIFORM1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform1ui64vNV")) == NULL) || r;
- r = ((glUniform2i64NV = (PFNGLUNIFORM2I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64NV")) == NULL) || r;
- r = ((glUniform2i64vNV = (PFNGLUNIFORM2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2i64vNV")) == NULL) || r;
- r = ((glUniform2ui64NV = (PFNGLUNIFORM2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64NV")) == NULL) || r;
- r = ((glUniform2ui64vNV = (PFNGLUNIFORM2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform2ui64vNV")) == NULL) || r;
- r = ((glUniform3i64NV = (PFNGLUNIFORM3I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64NV")) == NULL) || r;
- r = ((glUniform3i64vNV = (PFNGLUNIFORM3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3i64vNV")) == NULL) || r;
- r = ((glUniform3ui64NV = (PFNGLUNIFORM3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64NV")) == NULL) || r;
- r = ((glUniform3ui64vNV = (PFNGLUNIFORM3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform3ui64vNV")) == NULL) || r;
- r = ((glUniform4i64NV = (PFNGLUNIFORM4I64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64NV")) == NULL) || r;
- r = ((glUniform4i64vNV = (PFNGLUNIFORM4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4i64vNV")) == NULL) || r;
- r = ((glUniform4ui64NV = (PFNGLUNIFORM4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64NV")) == NULL) || r;
- r = ((glUniform4ui64vNV = (PFNGLUNIFORM4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniform4ui64vNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_gpu_shader5 */
- #ifdef GL_NV_half_float
- static GLboolean _glewInit_GL_NV_half_float ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColor3hNV = (PFNGLCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hNV")) == NULL) || r;
- r = ((glColor3hvNV = (PFNGLCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor3hvNV")) == NULL) || r;
- r = ((glColor4hNV = (PFNGLCOLOR4HNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hNV")) == NULL) || r;
- r = ((glColor4hvNV = (PFNGLCOLOR4HVNVPROC)glewGetProcAddress((const GLubyte*)"glColor4hvNV")) == NULL) || r;
- r = ((glFogCoordhNV = (PFNGLFOGCOORDHNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhNV")) == NULL) || r;
- r = ((glFogCoordhvNV = (PFNGLFOGCOORDHVNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordhvNV")) == NULL) || r;
- r = ((glMultiTexCoord1hNV = (PFNGLMULTITEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hNV")) == NULL) || r;
- r = ((glMultiTexCoord1hvNV = (PFNGLMULTITEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord1hvNV")) == NULL) || r;
- r = ((glMultiTexCoord2hNV = (PFNGLMULTITEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hNV")) == NULL) || r;
- r = ((glMultiTexCoord2hvNV = (PFNGLMULTITEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord2hvNV")) == NULL) || r;
- r = ((glMultiTexCoord3hNV = (PFNGLMULTITEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hNV")) == NULL) || r;
- r = ((glMultiTexCoord3hvNV = (PFNGLMULTITEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord3hvNV")) == NULL) || r;
- r = ((glMultiTexCoord4hNV = (PFNGLMULTITEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hNV")) == NULL) || r;
- r = ((glMultiTexCoord4hvNV = (PFNGLMULTITEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4hvNV")) == NULL) || r;
- r = ((glNormal3hNV = (PFNGLNORMAL3HNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hNV")) == NULL) || r;
- r = ((glNormal3hvNV = (PFNGLNORMAL3HVNVPROC)glewGetProcAddress((const GLubyte*)"glNormal3hvNV")) == NULL) || r;
- r = ((glSecondaryColor3hNV = (PFNGLSECONDARYCOLOR3HNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hNV")) == NULL) || r;
- r = ((glSecondaryColor3hvNV = (PFNGLSECONDARYCOLOR3HVNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColor3hvNV")) == NULL) || r;
- r = ((glTexCoord1hNV = (PFNGLTEXCOORD1HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hNV")) == NULL) || r;
- r = ((glTexCoord1hvNV = (PFNGLTEXCOORD1HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord1hvNV")) == NULL) || r;
- r = ((glTexCoord2hNV = (PFNGLTEXCOORD2HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hNV")) == NULL) || r;
- r = ((glTexCoord2hvNV = (PFNGLTEXCOORD2HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2hvNV")) == NULL) || r;
- r = ((glTexCoord3hNV = (PFNGLTEXCOORD3HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hNV")) == NULL) || r;
- r = ((glTexCoord3hvNV = (PFNGLTEXCOORD3HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord3hvNV")) == NULL) || r;
- r = ((glTexCoord4hNV = (PFNGLTEXCOORD4HNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hNV")) == NULL) || r;
- r = ((glTexCoord4hvNV = (PFNGLTEXCOORD4HVNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4hvNV")) == NULL) || r;
- r = ((glVertex2hNV = (PFNGLVERTEX2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hNV")) == NULL) || r;
- r = ((glVertex2hvNV = (PFNGLVERTEX2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex2hvNV")) == NULL) || r;
- r = ((glVertex3hNV = (PFNGLVERTEX3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hNV")) == NULL) || r;
- r = ((glVertex3hvNV = (PFNGLVERTEX3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex3hvNV")) == NULL) || r;
- r = ((glVertex4hNV = (PFNGLVERTEX4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hNV")) == NULL) || r;
- r = ((glVertex4hvNV = (PFNGLVERTEX4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertex4hvNV")) == NULL) || r;
- r = ((glVertexAttrib1hNV = (PFNGLVERTEXATTRIB1HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hNV")) == NULL) || r;
- r = ((glVertexAttrib1hvNV = (PFNGLVERTEXATTRIB1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1hvNV")) == NULL) || r;
- r = ((glVertexAttrib2hNV = (PFNGLVERTEXATTRIB2HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hNV")) == NULL) || r;
- r = ((glVertexAttrib2hvNV = (PFNGLVERTEXATTRIB2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2hvNV")) == NULL) || r;
- r = ((glVertexAttrib3hNV = (PFNGLVERTEXATTRIB3HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hNV")) == NULL) || r;
- r = ((glVertexAttrib3hvNV = (PFNGLVERTEXATTRIB3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3hvNV")) == NULL) || r;
- r = ((glVertexAttrib4hNV = (PFNGLVERTEXATTRIB4HNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hNV")) == NULL) || r;
- r = ((glVertexAttrib4hvNV = (PFNGLVERTEXATTRIB4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4hvNV")) == NULL) || r;
- r = ((glVertexAttribs1hvNV = (PFNGLVERTEXATTRIBS1HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1hvNV")) == NULL) || r;
- r = ((glVertexAttribs2hvNV = (PFNGLVERTEXATTRIBS2HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2hvNV")) == NULL) || r;
- r = ((glVertexAttribs3hvNV = (PFNGLVERTEXATTRIBS3HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3hvNV")) == NULL) || r;
- r = ((glVertexAttribs4hvNV = (PFNGLVERTEXATTRIBS4HVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4hvNV")) == NULL) || r;
- r = ((glVertexWeighthNV = (PFNGLVERTEXWEIGHTHNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthNV")) == NULL) || r;
- r = ((glVertexWeighthvNV = (PFNGLVERTEXWEIGHTHVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexWeighthvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_half_float */
- #ifdef GL_NV_instanced_arrays
- static GLboolean _glewInit_GL_NV_instanced_arrays ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVertexAttribDivisorNV = (PFNGLVERTEXATTRIBDIVISORNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribDivisorNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_instanced_arrays */
- #ifdef GL_NV_internalformat_sample_query
- static GLboolean _glewInit_GL_NV_internalformat_sample_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetInternalformatSampleivNV = (PFNGLGETINTERNALFORMATSAMPLEIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetInternalformatSampleivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_internalformat_sample_query */
- #ifdef GL_NV_non_square_matrices
- static GLboolean _glewInit_GL_NV_non_square_matrices ()
- {
- GLboolean r = GL_FALSE;
- r = ((glUniformMatrix2x3fvNV = (PFNGLUNIFORMMATRIX2X3FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x3fvNV")) == NULL) || r;
- r = ((glUniformMatrix2x4fvNV = (PFNGLUNIFORMMATRIX2X4FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix2x4fvNV")) == NULL) || r;
- r = ((glUniformMatrix3x2fvNV = (PFNGLUNIFORMMATRIX3X2FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x2fvNV")) == NULL) || r;
- r = ((glUniformMatrix3x4fvNV = (PFNGLUNIFORMMATRIX3X4FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix3x4fvNV")) == NULL) || r;
- r = ((glUniformMatrix4x2fvNV = (PFNGLUNIFORMMATRIX4X2FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x2fvNV")) == NULL) || r;
- r = ((glUniformMatrix4x3fvNV = (PFNGLUNIFORMMATRIX4X3FVNVPROC)glewGetProcAddress((const GLubyte*)"glUniformMatrix4x3fvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_non_square_matrices */
- #ifdef GL_NV_occlusion_query
- static GLboolean _glewInit_GL_NV_occlusion_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginOcclusionQueryNV = (PFNGLBEGINOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glBeginOcclusionQueryNV")) == NULL) || r;
- r = ((glDeleteOcclusionQueriesNV = (PFNGLDELETEOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteOcclusionQueriesNV")) == NULL) || r;
- r = ((glEndOcclusionQueryNV = (PFNGLENDOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glEndOcclusionQueryNV")) == NULL) || r;
- r = ((glGenOcclusionQueriesNV = (PFNGLGENOCCLUSIONQUERIESNVPROC)glewGetProcAddress((const GLubyte*)"glGenOcclusionQueriesNV")) == NULL) || r;
- r = ((glGetOcclusionQueryivNV = (PFNGLGETOCCLUSIONQUERYIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryivNV")) == NULL) || r;
- r = ((glGetOcclusionQueryuivNV = (PFNGLGETOCCLUSIONQUERYUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetOcclusionQueryuivNV")) == NULL) || r;
- r = ((glIsOcclusionQueryNV = (PFNGLISOCCLUSIONQUERYNVPROC)glewGetProcAddress((const GLubyte*)"glIsOcclusionQueryNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_occlusion_query */
- #ifdef GL_NV_parameter_buffer_object
- static GLboolean _glewInit_GL_NV_parameter_buffer_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glProgramBufferParametersIivNV = (PFNGLPROGRAMBUFFERPARAMETERSIIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIivNV")) == NULL) || r;
- r = ((glProgramBufferParametersIuivNV = (PFNGLPROGRAMBUFFERPARAMETERSIUIVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersIuivNV")) == NULL) || r;
- r = ((glProgramBufferParametersfvNV = (PFNGLPROGRAMBUFFERPARAMETERSFVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramBufferParametersfvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_parameter_buffer_object */
- #ifdef GL_NV_path_rendering
- static GLboolean _glewInit_GL_NV_path_rendering ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCopyPathNV = (PFNGLCOPYPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCopyPathNV")) == NULL) || r;
- r = ((glCoverFillPathInstancedNV = (PFNGLCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathInstancedNV")) == NULL) || r;
- r = ((glCoverFillPathNV = (PFNGLCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverFillPathNV")) == NULL) || r;
- r = ((glCoverStrokePathInstancedNV = (PFNGLCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathInstancedNV")) == NULL) || r;
- r = ((glCoverStrokePathNV = (PFNGLCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glCoverStrokePathNV")) == NULL) || r;
- r = ((glDeletePathsNV = (PFNGLDELETEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glDeletePathsNV")) == NULL) || r;
- r = ((glGenPathsNV = (PFNGLGENPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glGenPathsNV")) == NULL) || r;
- r = ((glGetPathColorGenfvNV = (PFNGLGETPATHCOLORGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenfvNV")) == NULL) || r;
- r = ((glGetPathColorGenivNV = (PFNGLGETPATHCOLORGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathColorGenivNV")) == NULL) || r;
- r = ((glGetPathCommandsNV = (PFNGLGETPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCommandsNV")) == NULL) || r;
- r = ((glGetPathCoordsNV = (PFNGLGETPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathCoordsNV")) == NULL) || r;
- r = ((glGetPathDashArrayNV = (PFNGLGETPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathDashArrayNV")) == NULL) || r;
- r = ((glGetPathLengthNV = (PFNGLGETPATHLENGTHNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathLengthNV")) == NULL) || r;
- r = ((glGetPathMetricRangeNV = (PFNGLGETPATHMETRICRANGENVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricRangeNV")) == NULL) || r;
- r = ((glGetPathMetricsNV = (PFNGLGETPATHMETRICSNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathMetricsNV")) == NULL) || r;
- r = ((glGetPathParameterfvNV = (PFNGLGETPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterfvNV")) == NULL) || r;
- r = ((glGetPathParameterivNV = (PFNGLGETPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathParameterivNV")) == NULL) || r;
- r = ((glGetPathSpacingNV = (PFNGLGETPATHSPACINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathSpacingNV")) == NULL) || r;
- r = ((glGetPathTexGenfvNV = (PFNGLGETPATHTEXGENFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenfvNV")) == NULL) || r;
- r = ((glGetPathTexGenivNV = (PFNGLGETPATHTEXGENIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetPathTexGenivNV")) == NULL) || r;
- r = ((glGetProgramResourcefvNV = (PFNGLGETPROGRAMRESOURCEFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramResourcefvNV")) == NULL) || r;
- r = ((glInterpolatePathsNV = (PFNGLINTERPOLATEPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glInterpolatePathsNV")) == NULL) || r;
- r = ((glIsPathNV = (PFNGLISPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPathNV")) == NULL) || r;
- r = ((glIsPointInFillPathNV = (PFNGLISPOINTINFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInFillPathNV")) == NULL) || r;
- r = ((glIsPointInStrokePathNV = (PFNGLISPOINTINSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glIsPointInStrokePathNV")) == NULL) || r;
- r = ((glMatrixLoad3x2fNV = (PFNGLMATRIXLOAD3X2FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoad3x2fNV")) == NULL) || r;
- r = ((glMatrixLoad3x3fNV = (PFNGLMATRIXLOAD3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoad3x3fNV")) == NULL) || r;
- r = ((glMatrixLoadTranspose3x3fNV = (PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixLoadTranspose3x3fNV")) == NULL) || r;
- r = ((glMatrixMult3x2fNV = (PFNGLMATRIXMULT3X2FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMult3x2fNV")) == NULL) || r;
- r = ((glMatrixMult3x3fNV = (PFNGLMATRIXMULT3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMult3x3fNV")) == NULL) || r;
- r = ((glMatrixMultTranspose3x3fNV = (PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC)glewGetProcAddress((const GLubyte*)"glMatrixMultTranspose3x3fNV")) == NULL) || r;
- r = ((glPathColorGenNV = (PFNGLPATHCOLORGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathColorGenNV")) == NULL) || r;
- r = ((glPathCommandsNV = (PFNGLPATHCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCommandsNV")) == NULL) || r;
- r = ((glPathCoordsNV = (PFNGLPATHCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoordsNV")) == NULL) || r;
- r = ((glPathCoverDepthFuncNV = (PFNGLPATHCOVERDEPTHFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathCoverDepthFuncNV")) == NULL) || r;
- r = ((glPathDashArrayNV = (PFNGLPATHDASHARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathDashArrayNV")) == NULL) || r;
- r = ((glPathFogGenNV = (PFNGLPATHFOGGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathFogGenNV")) == NULL) || r;
- r = ((glPathGlyphIndexArrayNV = (PFNGLPATHGLYPHINDEXARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphIndexArrayNV")) == NULL) || r;
- r = ((glPathGlyphIndexRangeNV = (PFNGLPATHGLYPHINDEXRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphIndexRangeNV")) == NULL) || r;
- r = ((glPathGlyphRangeNV = (PFNGLPATHGLYPHRANGENVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphRangeNV")) == NULL) || r;
- r = ((glPathGlyphsNV = (PFNGLPATHGLYPHSNVPROC)glewGetProcAddress((const GLubyte*)"glPathGlyphsNV")) == NULL) || r;
- r = ((glPathMemoryGlyphIndexArrayNV = (PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC)glewGetProcAddress((const GLubyte*)"glPathMemoryGlyphIndexArrayNV")) == NULL) || r;
- r = ((glPathParameterfNV = (PFNGLPATHPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfNV")) == NULL) || r;
- r = ((glPathParameterfvNV = (PFNGLPATHPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterfvNV")) == NULL) || r;
- r = ((glPathParameteriNV = (PFNGLPATHPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPathParameteriNV")) == NULL) || r;
- r = ((glPathParameterivNV = (PFNGLPATHPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPathParameterivNV")) == NULL) || r;
- r = ((glPathStencilDepthOffsetNV = (PFNGLPATHSTENCILDEPTHOFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilDepthOffsetNV")) == NULL) || r;
- r = ((glPathStencilFuncNV = (PFNGLPATHSTENCILFUNCNVPROC)glewGetProcAddress((const GLubyte*)"glPathStencilFuncNV")) == NULL) || r;
- r = ((glPathStringNV = (PFNGLPATHSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glPathStringNV")) == NULL) || r;
- r = ((glPathSubCommandsNV = (PFNGLPATHSUBCOMMANDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCommandsNV")) == NULL) || r;
- r = ((glPathSubCoordsNV = (PFNGLPATHSUBCOORDSNVPROC)glewGetProcAddress((const GLubyte*)"glPathSubCoordsNV")) == NULL) || r;
- r = ((glPathTexGenNV = (PFNGLPATHTEXGENNVPROC)glewGetProcAddress((const GLubyte*)"glPathTexGenNV")) == NULL) || r;
- r = ((glPointAlongPathNV = (PFNGLPOINTALONGPATHNVPROC)glewGetProcAddress((const GLubyte*)"glPointAlongPathNV")) == NULL) || r;
- r = ((glProgramPathFragmentInputGenNV = (PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC)glewGetProcAddress((const GLubyte*)"glProgramPathFragmentInputGenNV")) == NULL) || r;
- r = ((glStencilFillPathInstancedNV = (PFNGLSTENCILFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathInstancedNV")) == NULL) || r;
- r = ((glStencilFillPathNV = (PFNGLSTENCILFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilFillPathNV")) == NULL) || r;
- r = ((glStencilStrokePathInstancedNV = (PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathInstancedNV")) == NULL) || r;
- r = ((glStencilStrokePathNV = (PFNGLSTENCILSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilStrokePathNV")) == NULL) || r;
- r = ((glStencilThenCoverFillPathInstancedNV = (PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverFillPathInstancedNV")) == NULL) || r;
- r = ((glStencilThenCoverFillPathNV = (PFNGLSTENCILTHENCOVERFILLPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverFillPathNV")) == NULL) || r;
- r = ((glStencilThenCoverStrokePathInstancedNV = (PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverStrokePathInstancedNV")) == NULL) || r;
- r = ((glStencilThenCoverStrokePathNV = (PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC)glewGetProcAddress((const GLubyte*)"glStencilThenCoverStrokePathNV")) == NULL) || r;
- r = ((glTransformPathNV = (PFNGLTRANSFORMPATHNVPROC)glewGetProcAddress((const GLubyte*)"glTransformPathNV")) == NULL) || r;
- r = ((glWeightPathsNV = (PFNGLWEIGHTPATHSNVPROC)glewGetProcAddress((const GLubyte*)"glWeightPathsNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_path_rendering */
- #ifdef GL_NV_pixel_data_range
- static GLboolean _glewInit_GL_NV_pixel_data_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushPixelDataRangeNV = (PFNGLFLUSHPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushPixelDataRangeNV")) == NULL) || r;
- r = ((glPixelDataRangeNV = (PFNGLPIXELDATARANGENVPROC)glewGetProcAddress((const GLubyte*)"glPixelDataRangeNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_pixel_data_range */
- #ifdef GL_NV_point_sprite
- static GLboolean _glewInit_GL_NV_point_sprite ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPointParameteriNV = (PFNGLPOINTPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glPointParameteriNV")) == NULL) || r;
- r = ((glPointParameterivNV = (PFNGLPOINTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_point_sprite */
- #ifdef GL_NV_polygon_mode
- static GLboolean _glewInit_GL_NV_polygon_mode ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPolygonModeNV = (PFNGLPOLYGONMODENVPROC)glewGetProcAddress((const GLubyte*)"glPolygonModeNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_polygon_mode */
- #ifdef GL_NV_present_video
- static GLboolean _glewInit_GL_NV_present_video ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVideoi64vNV = (PFNGLGETVIDEOI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoi64vNV")) == NULL) || r;
- r = ((glGetVideoivNV = (PFNGLGETVIDEOIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoivNV")) == NULL) || r;
- r = ((glGetVideoui64vNV = (PFNGLGETVIDEOUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoui64vNV")) == NULL) || r;
- r = ((glGetVideouivNV = (PFNGLGETVIDEOUIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideouivNV")) == NULL) || r;
- r = ((glPresentFrameDualFillNV = (PFNGLPRESENTFRAMEDUALFILLNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameDualFillNV")) == NULL) || r;
- r = ((glPresentFrameKeyedNV = (PFNGLPRESENTFRAMEKEYEDNVPROC)glewGetProcAddress((const GLubyte*)"glPresentFrameKeyedNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_present_video */
- #ifdef GL_NV_primitive_restart
- static GLboolean _glewInit_GL_NV_primitive_restart ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPrimitiveRestartIndexNV = (PFNGLPRIMITIVERESTARTINDEXNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartIndexNV")) == NULL) || r;
- r = ((glPrimitiveRestartNV = (PFNGLPRIMITIVERESTARTNVPROC)glewGetProcAddress((const GLubyte*)"glPrimitiveRestartNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_primitive_restart */
- #ifdef GL_NV_register_combiners
- static GLboolean _glewInit_GL_NV_register_combiners ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCombinerInputNV = (PFNGLCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerInputNV")) == NULL) || r;
- r = ((glCombinerOutputNV = (PFNGLCOMBINEROUTPUTNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerOutputNV")) == NULL) || r;
- r = ((glCombinerParameterfNV = (PFNGLCOMBINERPARAMETERFNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfNV")) == NULL) || r;
- r = ((glCombinerParameterfvNV = (PFNGLCOMBINERPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterfvNV")) == NULL) || r;
- r = ((glCombinerParameteriNV = (PFNGLCOMBINERPARAMETERINVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameteriNV")) == NULL) || r;
- r = ((glCombinerParameterivNV = (PFNGLCOMBINERPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerParameterivNV")) == NULL) || r;
- r = ((glFinalCombinerInputNV = (PFNGLFINALCOMBINERINPUTNVPROC)glewGetProcAddress((const GLubyte*)"glFinalCombinerInputNV")) == NULL) || r;
- r = ((glGetCombinerInputParameterfvNV = (PFNGLGETCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterfvNV")) == NULL) || r;
- r = ((glGetCombinerInputParameterivNV = (PFNGLGETCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerInputParameterivNV")) == NULL) || r;
- r = ((glGetCombinerOutputParameterfvNV = (PFNGLGETCOMBINEROUTPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterfvNV")) == NULL) || r;
- r = ((glGetCombinerOutputParameterivNV = (PFNGLGETCOMBINEROUTPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerOutputParameterivNV")) == NULL) || r;
- r = ((glGetFinalCombinerInputParameterfvNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterfvNV")) == NULL) || r;
- r = ((glGetFinalCombinerInputParameterivNV = (PFNGLGETFINALCOMBINERINPUTPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetFinalCombinerInputParameterivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_register_combiners */
- #ifdef GL_NV_register_combiners2
- static GLboolean _glewInit_GL_NV_register_combiners2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCombinerStageParameterfvNV = (PFNGLCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glCombinerStageParameterfvNV")) == NULL) || r;
- r = ((glGetCombinerStageParameterfvNV = (PFNGLGETCOMBINERSTAGEPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetCombinerStageParameterfvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_register_combiners2 */
- #ifdef GL_NV_sample_locations
- static GLboolean _glewInit_GL_NV_sample_locations ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferSampleLocationsfvNV = (PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glFramebufferSampleLocationsfvNV")) == NULL) || r;
- r = ((glNamedFramebufferSampleLocationsfvNV = (PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC)glewGetProcAddress((const GLubyte*)"glNamedFramebufferSampleLocationsfvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_sample_locations */
- #ifdef GL_NV_shader_buffer_load
- static GLboolean _glewInit_GL_NV_shader_buffer_load ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetBufferParameterui64vNV = (PFNGLGETBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetBufferParameterui64vNV")) == NULL) || r;
- r = ((glGetIntegerui64vNV = (PFNGLGETINTEGERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64vNV")) == NULL) || r;
- r = ((glGetNamedBufferParameterui64vNV = (PFNGLGETNAMEDBUFFERPARAMETERUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetNamedBufferParameterui64vNV")) == NULL) || r;
- r = ((glIsBufferResidentNV = (PFNGLISBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsBufferResidentNV")) == NULL) || r;
- r = ((glIsNamedBufferResidentNV = (PFNGLISNAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glIsNamedBufferResidentNV")) == NULL) || r;
- r = ((glMakeBufferNonResidentNV = (PFNGLMAKEBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferNonResidentNV")) == NULL) || r;
- r = ((glMakeBufferResidentNV = (PFNGLMAKEBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeBufferResidentNV")) == NULL) || r;
- r = ((glMakeNamedBufferNonResidentNV = (PFNGLMAKENAMEDBUFFERNONRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferNonResidentNV")) == NULL) || r;
- r = ((glMakeNamedBufferResidentNV = (PFNGLMAKENAMEDBUFFERRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glMakeNamedBufferResidentNV")) == NULL) || r;
- r = ((glProgramUniformui64NV = (PFNGLPROGRAMUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64NV")) == NULL) || r;
- r = ((glProgramUniformui64vNV = (PFNGLPROGRAMUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glProgramUniformui64vNV")) == NULL) || r;
- r = ((glUniformui64NV = (PFNGLUNIFORMUI64NVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64NV")) == NULL) || r;
- r = ((glUniformui64vNV = (PFNGLUNIFORMUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glUniformui64vNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_shader_buffer_load */
- #ifdef GL_NV_texture_array
- static GLboolean _glewInit_GL_NV_texture_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glCompressedTexImage3DNV = (PFNGLCOMPRESSEDTEXIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexImage3DNV")) == NULL) || r;
- r = ((glCompressedTexSubImage3DNV = (PFNGLCOMPRESSEDTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCompressedTexSubImage3DNV")) == NULL) || r;
- r = ((glCopyTexSubImage3DNV = (PFNGLCOPYTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glCopyTexSubImage3DNV")) == NULL) || r;
- r = ((glFramebufferTextureLayerNV = (PFNGLFRAMEBUFFERTEXTURELAYERNVPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureLayerNV")) == NULL) || r;
- r = ((glTexImage3DNV = (PFNGLTEXIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DNV")) == NULL) || r;
- r = ((glTexSubImage3DNV = (PFNGLTEXSUBIMAGE3DNVPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage3DNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_texture_array */
- #ifdef GL_NV_texture_barrier
- static GLboolean _glewInit_GL_NV_texture_barrier ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureBarrierNV = (PFNGLTEXTUREBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glTextureBarrierNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_texture_barrier */
- #ifdef GL_NV_texture_multisample
- static GLboolean _glewInit_GL_NV_texture_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexImage2DMultisampleCoverageNV = (PFNGLTEXIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage2DMultisampleCoverageNV")) == NULL) || r;
- r = ((glTexImage3DMultisampleCoverageNV = (PFNGLTEXIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTexImage3DMultisampleCoverageNV")) == NULL) || r;
- r = ((glTextureImage2DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleCoverageNV")) == NULL) || r;
- r = ((glTextureImage2DMultisampleNV = (PFNGLTEXTUREIMAGE2DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage2DMultisampleNV")) == NULL) || r;
- r = ((glTextureImage3DMultisampleCoverageNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLECOVERAGENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleCoverageNV")) == NULL) || r;
- r = ((glTextureImage3DMultisampleNV = (PFNGLTEXTUREIMAGE3DMULTISAMPLENVPROC)glewGetProcAddress((const GLubyte*)"glTextureImage3DMultisampleNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_texture_multisample */
- #ifdef GL_NV_transform_feedback
- static GLboolean _glewInit_GL_NV_transform_feedback ()
- {
- GLboolean r = GL_FALSE;
- r = ((glActiveVaryingNV = (PFNGLACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glActiveVaryingNV")) == NULL) || r;
- r = ((glBeginTransformFeedbackNV = (PFNGLBEGINTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBeginTransformFeedbackNV")) == NULL) || r;
- r = ((glBindBufferBaseNV = (PFNGLBINDBUFFERBASENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferBaseNV")) == NULL) || r;
- r = ((glBindBufferOffsetNV = (PFNGLBINDBUFFEROFFSETNVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferOffsetNV")) == NULL) || r;
- r = ((glBindBufferRangeNV = (PFNGLBINDBUFFERRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBindBufferRangeNV")) == NULL) || r;
- r = ((glEndTransformFeedbackNV = (PFNGLENDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glEndTransformFeedbackNV")) == NULL) || r;
- r = ((glGetActiveVaryingNV = (PFNGLGETACTIVEVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetActiveVaryingNV")) == NULL) || r;
- r = ((glGetTransformFeedbackVaryingNV = (PFNGLGETTRANSFORMFEEDBACKVARYINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetTransformFeedbackVaryingNV")) == NULL) || r;
- r = ((glGetVaryingLocationNV = (PFNGLGETVARYINGLOCATIONNVPROC)glewGetProcAddress((const GLubyte*)"glGetVaryingLocationNV")) == NULL) || r;
- r = ((glTransformFeedbackAttribsNV = (PFNGLTRANSFORMFEEDBACKATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackAttribsNV")) == NULL) || r;
- r = ((glTransformFeedbackVaryingsNV = (PFNGLTRANSFORMFEEDBACKVARYINGSNVPROC)glewGetProcAddress((const GLubyte*)"glTransformFeedbackVaryingsNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_transform_feedback */
- #ifdef GL_NV_transform_feedback2
- static GLboolean _glewInit_GL_NV_transform_feedback2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBindTransformFeedbackNV = (PFNGLBINDTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glBindTransformFeedbackNV")) == NULL) || r;
- r = ((glDeleteTransformFeedbacksNV = (PFNGLDELETETRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteTransformFeedbacksNV")) == NULL) || r;
- r = ((glDrawTransformFeedbackNV = (PFNGLDRAWTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glDrawTransformFeedbackNV")) == NULL) || r;
- r = ((glGenTransformFeedbacksNV = (PFNGLGENTRANSFORMFEEDBACKSNVPROC)glewGetProcAddress((const GLubyte*)"glGenTransformFeedbacksNV")) == NULL) || r;
- r = ((glIsTransformFeedbackNV = (PFNGLISTRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glIsTransformFeedbackNV")) == NULL) || r;
- r = ((glPauseTransformFeedbackNV = (PFNGLPAUSETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glPauseTransformFeedbackNV")) == NULL) || r;
- r = ((glResumeTransformFeedbackNV = (PFNGLRESUMETRANSFORMFEEDBACKNVPROC)glewGetProcAddress((const GLubyte*)"glResumeTransformFeedbackNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_transform_feedback2 */
- #ifdef GL_NV_vdpau_interop
- static GLboolean _glewInit_GL_NV_vdpau_interop ()
- {
- GLboolean r = GL_FALSE;
- r = ((glVDPAUFiniNV = (PFNGLVDPAUFININVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUFiniNV")) == NULL) || r;
- r = ((glVDPAUGetSurfaceivNV = (PFNGLVDPAUGETSURFACEIVNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUGetSurfaceivNV")) == NULL) || r;
- r = ((glVDPAUInitNV = (PFNGLVDPAUINITNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUInitNV")) == NULL) || r;
- r = ((glVDPAUIsSurfaceNV = (PFNGLVDPAUISSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUIsSurfaceNV")) == NULL) || r;
- r = ((glVDPAUMapSurfacesNV = (PFNGLVDPAUMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUMapSurfacesNV")) == NULL) || r;
- r = ((glVDPAURegisterOutputSurfaceNV = (PFNGLVDPAUREGISTEROUTPUTSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterOutputSurfaceNV")) == NULL) || r;
- r = ((glVDPAURegisterVideoSurfaceNV = (PFNGLVDPAUREGISTERVIDEOSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAURegisterVideoSurfaceNV")) == NULL) || r;
- r = ((glVDPAUSurfaceAccessNV = (PFNGLVDPAUSURFACEACCESSNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUSurfaceAccessNV")) == NULL) || r;
- r = ((glVDPAUUnmapSurfacesNV = (PFNGLVDPAUUNMAPSURFACESNVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnmapSurfacesNV")) == NULL) || r;
- r = ((glVDPAUUnregisterSurfaceNV = (PFNGLVDPAUUNREGISTERSURFACENVPROC)glewGetProcAddress((const GLubyte*)"glVDPAUUnregisterSurfaceNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_vdpau_interop */
- #ifdef GL_NV_vertex_array_range
- static GLboolean _glewInit_GL_NV_vertex_array_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushVertexArrayRangeNV = (PFNGLFLUSHVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glFlushVertexArrayRangeNV")) == NULL) || r;
- r = ((glVertexArrayRangeNV = (PFNGLVERTEXARRAYRANGENVPROC)glewGetProcAddress((const GLubyte*)"glVertexArrayRangeNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_vertex_array_range */
- #ifdef GL_NV_vertex_attrib_integer_64bit
- static GLboolean _glewInit_GL_NV_vertex_attrib_integer_64bit ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVertexAttribLi64vNV = (PFNGLGETVERTEXATTRIBLI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLi64vNV")) == NULL) || r;
- r = ((glGetVertexAttribLui64vNV = (PFNGLGETVERTEXATTRIBLUI64VNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribLui64vNV")) == NULL) || r;
- r = ((glVertexAttribL1i64NV = (PFNGLVERTEXATTRIBL1I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64NV")) == NULL) || r;
- r = ((glVertexAttribL1i64vNV = (PFNGLVERTEXATTRIBL1I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1i64vNV")) == NULL) || r;
- r = ((glVertexAttribL1ui64NV = (PFNGLVERTEXATTRIBL1UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64NV")) == NULL) || r;
- r = ((glVertexAttribL1ui64vNV = (PFNGLVERTEXATTRIBL1UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL1ui64vNV")) == NULL) || r;
- r = ((glVertexAttribL2i64NV = (PFNGLVERTEXATTRIBL2I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64NV")) == NULL) || r;
- r = ((glVertexAttribL2i64vNV = (PFNGLVERTEXATTRIBL2I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2i64vNV")) == NULL) || r;
- r = ((glVertexAttribL2ui64NV = (PFNGLVERTEXATTRIBL2UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64NV")) == NULL) || r;
- r = ((glVertexAttribL2ui64vNV = (PFNGLVERTEXATTRIBL2UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL2ui64vNV")) == NULL) || r;
- r = ((glVertexAttribL3i64NV = (PFNGLVERTEXATTRIBL3I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64NV")) == NULL) || r;
- r = ((glVertexAttribL3i64vNV = (PFNGLVERTEXATTRIBL3I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3i64vNV")) == NULL) || r;
- r = ((glVertexAttribL3ui64NV = (PFNGLVERTEXATTRIBL3UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64NV")) == NULL) || r;
- r = ((glVertexAttribL3ui64vNV = (PFNGLVERTEXATTRIBL3UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL3ui64vNV")) == NULL) || r;
- r = ((glVertexAttribL4i64NV = (PFNGLVERTEXATTRIBL4I64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64NV")) == NULL) || r;
- r = ((glVertexAttribL4i64vNV = (PFNGLVERTEXATTRIBL4I64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4i64vNV")) == NULL) || r;
- r = ((glVertexAttribL4ui64NV = (PFNGLVERTEXATTRIBL4UI64NVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64NV")) == NULL) || r;
- r = ((glVertexAttribL4ui64vNV = (PFNGLVERTEXATTRIBL4UI64VNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribL4ui64vNV")) == NULL) || r;
- r = ((glVertexAttribLFormatNV = (PFNGLVERTEXATTRIBLFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribLFormatNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_vertex_attrib_integer_64bit */
- #ifdef GL_NV_vertex_buffer_unified_memory
- static GLboolean _glewInit_GL_NV_vertex_buffer_unified_memory ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBufferAddressRangeNV = (PFNGLBUFFERADDRESSRANGENVPROC)glewGetProcAddress((const GLubyte*)"glBufferAddressRangeNV")) == NULL) || r;
- r = ((glColorFormatNV = (PFNGLCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glColorFormatNV")) == NULL) || r;
- r = ((glEdgeFlagFormatNV = (PFNGLEDGEFLAGFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glEdgeFlagFormatNV")) == NULL) || r;
- r = ((glFogCoordFormatNV = (PFNGLFOGCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glFogCoordFormatNV")) == NULL) || r;
- r = ((glGetIntegerui64i_vNV = (PFNGLGETINTEGERUI64I_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetIntegerui64i_vNV")) == NULL) || r;
- r = ((glIndexFormatNV = (PFNGLINDEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glIndexFormatNV")) == NULL) || r;
- r = ((glNormalFormatNV = (PFNGLNORMALFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glNormalFormatNV")) == NULL) || r;
- r = ((glSecondaryColorFormatNV = (PFNGLSECONDARYCOLORFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glSecondaryColorFormatNV")) == NULL) || r;
- r = ((glTexCoordFormatNV = (PFNGLTEXCOORDFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glTexCoordFormatNV")) == NULL) || r;
- r = ((glVertexAttribFormatNV = (PFNGLVERTEXATTRIBFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribFormatNV")) == NULL) || r;
- r = ((glVertexAttribIFormatNV = (PFNGLVERTEXATTRIBIFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribIFormatNV")) == NULL) || r;
- r = ((glVertexFormatNV = (PFNGLVERTEXFORMATNVPROC)glewGetProcAddress((const GLubyte*)"glVertexFormatNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_vertex_buffer_unified_memory */
- #ifdef GL_NV_vertex_program
- static GLboolean _glewInit_GL_NV_vertex_program ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAreProgramsResidentNV = (PFNGLAREPROGRAMSRESIDENTNVPROC)glewGetProcAddress((const GLubyte*)"glAreProgramsResidentNV")) == NULL) || r;
- r = ((glBindProgramNV = (PFNGLBINDPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glBindProgramNV")) == NULL) || r;
- r = ((glDeleteProgramsNV = (PFNGLDELETEPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glDeleteProgramsNV")) == NULL) || r;
- r = ((glExecuteProgramNV = (PFNGLEXECUTEPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glExecuteProgramNV")) == NULL) || r;
- r = ((glGenProgramsNV = (PFNGLGENPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glGenProgramsNV")) == NULL) || r;
- r = ((glGetProgramParameterdvNV = (PFNGLGETPROGRAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterdvNV")) == NULL) || r;
- r = ((glGetProgramParameterfvNV = (PFNGLGETPROGRAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramParameterfvNV")) == NULL) || r;
- r = ((glGetProgramStringNV = (PFNGLGETPROGRAMSTRINGNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramStringNV")) == NULL) || r;
- r = ((glGetProgramivNV = (PFNGLGETPROGRAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetProgramivNV")) == NULL) || r;
- r = ((glGetTrackMatrixivNV = (PFNGLGETTRACKMATRIXIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetTrackMatrixivNV")) == NULL) || r;
- r = ((glGetVertexAttribPointervNV = (PFNGLGETVERTEXATTRIBPOINTERVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribPointervNV")) == NULL) || r;
- r = ((glGetVertexAttribdvNV = (PFNGLGETVERTEXATTRIBDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribdvNV")) == NULL) || r;
- r = ((glGetVertexAttribfvNV = (PFNGLGETVERTEXATTRIBFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribfvNV")) == NULL) || r;
- r = ((glGetVertexAttribivNV = (PFNGLGETVERTEXATTRIBIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVertexAttribivNV")) == NULL) || r;
- r = ((glIsProgramNV = (PFNGLISPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glIsProgramNV")) == NULL) || r;
- r = ((glLoadProgramNV = (PFNGLLOADPROGRAMNVPROC)glewGetProcAddress((const GLubyte*)"glLoadProgramNV")) == NULL) || r;
- r = ((glProgramParameter4dNV = (PFNGLPROGRAMPARAMETER4DNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dNV")) == NULL) || r;
- r = ((glProgramParameter4dvNV = (PFNGLPROGRAMPARAMETER4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4dvNV")) == NULL) || r;
- r = ((glProgramParameter4fNV = (PFNGLPROGRAMPARAMETER4FNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fNV")) == NULL) || r;
- r = ((glProgramParameter4fvNV = (PFNGLPROGRAMPARAMETER4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameter4fvNV")) == NULL) || r;
- r = ((glProgramParameters4dvNV = (PFNGLPROGRAMPARAMETERS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4dvNV")) == NULL) || r;
- r = ((glProgramParameters4fvNV = (PFNGLPROGRAMPARAMETERS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glProgramParameters4fvNV")) == NULL) || r;
- r = ((glRequestResidentProgramsNV = (PFNGLREQUESTRESIDENTPROGRAMSNVPROC)glewGetProcAddress((const GLubyte*)"glRequestResidentProgramsNV")) == NULL) || r;
- r = ((glTrackMatrixNV = (PFNGLTRACKMATRIXNVPROC)glewGetProcAddress((const GLubyte*)"glTrackMatrixNV")) == NULL) || r;
- r = ((glVertexAttrib1dNV = (PFNGLVERTEXATTRIB1DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dNV")) == NULL) || r;
- r = ((glVertexAttrib1dvNV = (PFNGLVERTEXATTRIB1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1dvNV")) == NULL) || r;
- r = ((glVertexAttrib1fNV = (PFNGLVERTEXATTRIB1FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fNV")) == NULL) || r;
- r = ((glVertexAttrib1fvNV = (PFNGLVERTEXATTRIB1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1fvNV")) == NULL) || r;
- r = ((glVertexAttrib1sNV = (PFNGLVERTEXATTRIB1SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1sNV")) == NULL) || r;
- r = ((glVertexAttrib1svNV = (PFNGLVERTEXATTRIB1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib1svNV")) == NULL) || r;
- r = ((glVertexAttrib2dNV = (PFNGLVERTEXATTRIB2DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dNV")) == NULL) || r;
- r = ((glVertexAttrib2dvNV = (PFNGLVERTEXATTRIB2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2dvNV")) == NULL) || r;
- r = ((glVertexAttrib2fNV = (PFNGLVERTEXATTRIB2FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fNV")) == NULL) || r;
- r = ((glVertexAttrib2fvNV = (PFNGLVERTEXATTRIB2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2fvNV")) == NULL) || r;
- r = ((glVertexAttrib2sNV = (PFNGLVERTEXATTRIB2SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2sNV")) == NULL) || r;
- r = ((glVertexAttrib2svNV = (PFNGLVERTEXATTRIB2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib2svNV")) == NULL) || r;
- r = ((glVertexAttrib3dNV = (PFNGLVERTEXATTRIB3DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dNV")) == NULL) || r;
- r = ((glVertexAttrib3dvNV = (PFNGLVERTEXATTRIB3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3dvNV")) == NULL) || r;
- r = ((glVertexAttrib3fNV = (PFNGLVERTEXATTRIB3FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fNV")) == NULL) || r;
- r = ((glVertexAttrib3fvNV = (PFNGLVERTEXATTRIB3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3fvNV")) == NULL) || r;
- r = ((glVertexAttrib3sNV = (PFNGLVERTEXATTRIB3SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3sNV")) == NULL) || r;
- r = ((glVertexAttrib3svNV = (PFNGLVERTEXATTRIB3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib3svNV")) == NULL) || r;
- r = ((glVertexAttrib4dNV = (PFNGLVERTEXATTRIB4DNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dNV")) == NULL) || r;
- r = ((glVertexAttrib4dvNV = (PFNGLVERTEXATTRIB4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4dvNV")) == NULL) || r;
- r = ((glVertexAttrib4fNV = (PFNGLVERTEXATTRIB4FNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fNV")) == NULL) || r;
- r = ((glVertexAttrib4fvNV = (PFNGLVERTEXATTRIB4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4fvNV")) == NULL) || r;
- r = ((glVertexAttrib4sNV = (PFNGLVERTEXATTRIB4SNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4sNV")) == NULL) || r;
- r = ((glVertexAttrib4svNV = (PFNGLVERTEXATTRIB4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4svNV")) == NULL) || r;
- r = ((glVertexAttrib4ubNV = (PFNGLVERTEXATTRIB4UBNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubNV")) == NULL) || r;
- r = ((glVertexAttrib4ubvNV = (PFNGLVERTEXATTRIB4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttrib4ubvNV")) == NULL) || r;
- r = ((glVertexAttribPointerNV = (PFNGLVERTEXATTRIBPOINTERNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribPointerNV")) == NULL) || r;
- r = ((glVertexAttribs1dvNV = (PFNGLVERTEXATTRIBS1DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1dvNV")) == NULL) || r;
- r = ((glVertexAttribs1fvNV = (PFNGLVERTEXATTRIBS1FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1fvNV")) == NULL) || r;
- r = ((glVertexAttribs1svNV = (PFNGLVERTEXATTRIBS1SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs1svNV")) == NULL) || r;
- r = ((glVertexAttribs2dvNV = (PFNGLVERTEXATTRIBS2DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2dvNV")) == NULL) || r;
- r = ((glVertexAttribs2fvNV = (PFNGLVERTEXATTRIBS2FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2fvNV")) == NULL) || r;
- r = ((glVertexAttribs2svNV = (PFNGLVERTEXATTRIBS2SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs2svNV")) == NULL) || r;
- r = ((glVertexAttribs3dvNV = (PFNGLVERTEXATTRIBS3DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3dvNV")) == NULL) || r;
- r = ((glVertexAttribs3fvNV = (PFNGLVERTEXATTRIBS3FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3fvNV")) == NULL) || r;
- r = ((glVertexAttribs3svNV = (PFNGLVERTEXATTRIBS3SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs3svNV")) == NULL) || r;
- r = ((glVertexAttribs4dvNV = (PFNGLVERTEXATTRIBS4DVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4dvNV")) == NULL) || r;
- r = ((glVertexAttribs4fvNV = (PFNGLVERTEXATTRIBS4FVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4fvNV")) == NULL) || r;
- r = ((glVertexAttribs4svNV = (PFNGLVERTEXATTRIBS4SVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4svNV")) == NULL) || r;
- r = ((glVertexAttribs4ubvNV = (PFNGLVERTEXATTRIBS4UBVNVPROC)glewGetProcAddress((const GLubyte*)"glVertexAttribs4ubvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_vertex_program */
- #ifdef GL_NV_video_capture
- static GLboolean _glewInit_GL_NV_video_capture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glBeginVideoCaptureNV = (PFNGLBEGINVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glBeginVideoCaptureNV")) == NULL) || r;
- r = ((glBindVideoCaptureStreamBufferNV = (PFNGLBINDVIDEOCAPTURESTREAMBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamBufferNV")) == NULL) || r;
- r = ((glBindVideoCaptureStreamTextureNV = (PFNGLBINDVIDEOCAPTURESTREAMTEXTURENVPROC)glewGetProcAddress((const GLubyte*)"glBindVideoCaptureStreamTextureNV")) == NULL) || r;
- r = ((glEndVideoCaptureNV = (PFNGLENDVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glEndVideoCaptureNV")) == NULL) || r;
- r = ((glGetVideoCaptureStreamdvNV = (PFNGLGETVIDEOCAPTURESTREAMDVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamdvNV")) == NULL) || r;
- r = ((glGetVideoCaptureStreamfvNV = (PFNGLGETVIDEOCAPTURESTREAMFVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamfvNV")) == NULL) || r;
- r = ((glGetVideoCaptureStreamivNV = (PFNGLGETVIDEOCAPTURESTREAMIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureStreamivNV")) == NULL) || r;
- r = ((glGetVideoCaptureivNV = (PFNGLGETVIDEOCAPTUREIVNVPROC)glewGetProcAddress((const GLubyte*)"glGetVideoCaptureivNV")) == NULL) || r;
- r = ((glVideoCaptureNV = (PFNGLVIDEOCAPTURENVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureNV")) == NULL) || r;
- r = ((glVideoCaptureStreamParameterdvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERDVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterdvNV")) == NULL) || r;
- r = ((glVideoCaptureStreamParameterfvNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERFVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterfvNV")) == NULL) || r;
- r = ((glVideoCaptureStreamParameterivNV = (PFNGLVIDEOCAPTURESTREAMPARAMETERIVNVPROC)glewGetProcAddress((const GLubyte*)"glVideoCaptureStreamParameterivNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_video_capture */
- #ifdef GL_NV_viewport_array
- static GLboolean _glewInit_GL_NV_viewport_array ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDepthRangeArrayfvNV = (PFNGLDEPTHRANGEARRAYFVNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeArrayfvNV")) == NULL) || r;
- r = ((glDepthRangeIndexedfNV = (PFNGLDEPTHRANGEINDEXEDFNVPROC)glewGetProcAddress((const GLubyte*)"glDepthRangeIndexedfNV")) == NULL) || r;
- r = ((glDisableiNV = (PFNGLDISABLEINVPROC)glewGetProcAddress((const GLubyte*)"glDisableiNV")) == NULL) || r;
- r = ((glEnableiNV = (PFNGLENABLEINVPROC)glewGetProcAddress((const GLubyte*)"glEnableiNV")) == NULL) || r;
- r = ((glGetFloati_vNV = (PFNGLGETFLOATI_VNVPROC)glewGetProcAddress((const GLubyte*)"glGetFloati_vNV")) == NULL) || r;
- r = ((glIsEnablediNV = (PFNGLISENABLEDINVPROC)glewGetProcAddress((const GLubyte*)"glIsEnablediNV")) == NULL) || r;
- r = ((glScissorArrayvNV = (PFNGLSCISSORARRAYVNVPROC)glewGetProcAddress((const GLubyte*)"glScissorArrayvNV")) == NULL) || r;
- r = ((glScissorIndexedNV = (PFNGLSCISSORINDEXEDNVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedNV")) == NULL) || r;
- r = ((glScissorIndexedvNV = (PFNGLSCISSORINDEXEDVNVPROC)glewGetProcAddress((const GLubyte*)"glScissorIndexedvNV")) == NULL) || r;
- r = ((glViewportArrayvNV = (PFNGLVIEWPORTARRAYVNVPROC)glewGetProcAddress((const GLubyte*)"glViewportArrayvNV")) == NULL) || r;
- r = ((glViewportIndexedfNV = (PFNGLVIEWPORTINDEXEDFNVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfNV")) == NULL) || r;
- r = ((glViewportIndexedfvNV = (PFNGLVIEWPORTINDEXEDFVNVPROC)glewGetProcAddress((const GLubyte*)"glViewportIndexedfvNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_viewport_array */
- #ifdef GL_NV_viewport_swizzle
- static GLboolean _glewInit_GL_NV_viewport_swizzle ()
- {
- GLboolean r = GL_FALSE;
- r = ((glViewportSwizzleNV = (PFNGLVIEWPORTSWIZZLENVPROC)glewGetProcAddress((const GLubyte*)"glViewportSwizzleNV")) == NULL) || r;
- return r;
- }
- #endif /* GL_NV_viewport_swizzle */
- #ifdef GL_OVR_multiview
- static GLboolean _glewInit_GL_OVR_multiview ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTextureMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureMultiviewOVR")) == NULL) || r;
- return r;
- }
- #endif /* GL_OVR_multiview */
- #ifdef GL_OVR_multiview_multisampled_render_to_texture
- static GLboolean _glewInit_GL_OVR_multiview_multisampled_render_to_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferTextureMultisampleMultiviewOVR = (PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC)glewGetProcAddress((const GLubyte*)"glFramebufferTextureMultisampleMultiviewOVR")) == NULL) || r;
- return r;
- }
- #endif /* GL_OVR_multiview_multisampled_render_to_texture */
- #ifdef GL_QCOM_alpha_test
- static GLboolean _glewInit_GL_QCOM_alpha_test ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAlphaFuncQCOM = (PFNGLALPHAFUNCQCOMPROC)glewGetProcAddress((const GLubyte*)"glAlphaFuncQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_alpha_test */
- #ifdef GL_QCOM_driver_control
- static GLboolean _glewInit_GL_QCOM_driver_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDisableDriverControlQCOM = (PFNGLDISABLEDRIVERCONTROLQCOMPROC)glewGetProcAddress((const GLubyte*)"glDisableDriverControlQCOM")) == NULL) || r;
- r = ((glEnableDriverControlQCOM = (PFNGLENABLEDRIVERCONTROLQCOMPROC)glewGetProcAddress((const GLubyte*)"glEnableDriverControlQCOM")) == NULL) || r;
- r = ((glGetDriverControlStringQCOM = (PFNGLGETDRIVERCONTROLSTRINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glGetDriverControlStringQCOM")) == NULL) || r;
- r = ((glGetDriverControlsQCOM = (PFNGLGETDRIVERCONTROLSQCOMPROC)glewGetProcAddress((const GLubyte*)"glGetDriverControlsQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_driver_control */
- #ifdef GL_QCOM_extended_get
- static GLboolean _glewInit_GL_QCOM_extended_get ()
- {
- GLboolean r = GL_FALSE;
- r = ((glExtGetBufferPointervQCOM = (PFNGLEXTGETBUFFERPOINTERVQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetBufferPointervQCOM")) == NULL) || r;
- r = ((glExtGetBuffersQCOM = (PFNGLEXTGETBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetBuffersQCOM")) == NULL) || r;
- r = ((glExtGetFramebuffersQCOM = (PFNGLEXTGETFRAMEBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetFramebuffersQCOM")) == NULL) || r;
- r = ((glExtGetRenderbuffersQCOM = (PFNGLEXTGETRENDERBUFFERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetRenderbuffersQCOM")) == NULL) || r;
- r = ((glExtGetTexLevelParameterivQCOM = (PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexLevelParameterivQCOM")) == NULL) || r;
- r = ((glExtGetTexSubImageQCOM = (PFNGLEXTGETTEXSUBIMAGEQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexSubImageQCOM")) == NULL) || r;
- r = ((glExtGetTexturesQCOM = (PFNGLEXTGETTEXTURESQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetTexturesQCOM")) == NULL) || r;
- r = ((glExtTexObjectStateOverrideiQCOM = (PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtTexObjectStateOverrideiQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_extended_get */
- #ifdef GL_QCOM_extended_get2
- static GLboolean _glewInit_GL_QCOM_extended_get2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glExtGetProgramBinarySourceQCOM = (PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetProgramBinarySourceQCOM")) == NULL) || r;
- r = ((glExtGetProgramsQCOM = (PFNGLEXTGETPROGRAMSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetProgramsQCOM")) == NULL) || r;
- r = ((glExtGetShadersQCOM = (PFNGLEXTGETSHADERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtGetShadersQCOM")) == NULL) || r;
- r = ((glExtIsProgramBinaryQCOM = (PFNGLEXTISPROGRAMBINARYQCOMPROC)glewGetProcAddress((const GLubyte*)"glExtIsProgramBinaryQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_extended_get2 */
- #ifdef GL_QCOM_framebuffer_foveated
- static GLboolean _glewInit_GL_QCOM_framebuffer_foveated ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferFoveationConfigQCOM = (PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFoveationConfigQCOM")) == NULL) || r;
- r = ((glFramebufferFoveationParametersQCOM = (PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFoveationParametersQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_framebuffer_foveated */
- #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
- static GLboolean _glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFramebufferFetchBarrierQCOM = (PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)glewGetProcAddress((const GLubyte*)"glFramebufferFetchBarrierQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
- #ifdef GL_QCOM_tiled_rendering
- static GLboolean _glewInit_GL_QCOM_tiled_rendering ()
- {
- GLboolean r = GL_FALSE;
- r = ((glEndTilingQCOM = (PFNGLENDTILINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glEndTilingQCOM")) == NULL) || r;
- r = ((glStartTilingQCOM = (PFNGLSTARTTILINGQCOMPROC)glewGetProcAddress((const GLubyte*)"glStartTilingQCOM")) == NULL) || r;
- return r;
- }
- #endif /* GL_QCOM_tiled_rendering */
- #ifdef GL_REGAL_ES1_0_compatibility
- static GLboolean _glewInit_GL_REGAL_ES1_0_compatibility ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAlphaFuncx = (PFNGLALPHAFUNCXPROC)glewGetProcAddress((const GLubyte*)"glAlphaFuncx")) == NULL) || r;
- r = ((glClearColorx = (PFNGLCLEARCOLORXPROC)glewGetProcAddress((const GLubyte*)"glClearColorx")) == NULL) || r;
- r = ((glClearDepthx = (PFNGLCLEARDEPTHXPROC)glewGetProcAddress((const GLubyte*)"glClearDepthx")) == NULL) || r;
- r = ((glColor4x = (PFNGLCOLOR4XPROC)glewGetProcAddress((const GLubyte*)"glColor4x")) == NULL) || r;
- r = ((glDepthRangex = (PFNGLDEPTHRANGEXPROC)glewGetProcAddress((const GLubyte*)"glDepthRangex")) == NULL) || r;
- r = ((glFogx = (PFNGLFOGXPROC)glewGetProcAddress((const GLubyte*)"glFogx")) == NULL) || r;
- r = ((glFogxv = (PFNGLFOGXVPROC)glewGetProcAddress((const GLubyte*)"glFogxv")) == NULL) || r;
- r = ((glFrustumf = (PFNGLFRUSTUMFPROC)glewGetProcAddress((const GLubyte*)"glFrustumf")) == NULL) || r;
- r = ((glFrustumx = (PFNGLFRUSTUMXPROC)glewGetProcAddress((const GLubyte*)"glFrustumx")) == NULL) || r;
- r = ((glLightModelx = (PFNGLLIGHTMODELXPROC)glewGetProcAddress((const GLubyte*)"glLightModelx")) == NULL) || r;
- r = ((glLightModelxv = (PFNGLLIGHTMODELXVPROC)glewGetProcAddress((const GLubyte*)"glLightModelxv")) == NULL) || r;
- r = ((glLightx = (PFNGLLIGHTXPROC)glewGetProcAddress((const GLubyte*)"glLightx")) == NULL) || r;
- r = ((glLightxv = (PFNGLLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glLightxv")) == NULL) || r;
- r = ((glLineWidthx = (PFNGLLINEWIDTHXPROC)glewGetProcAddress((const GLubyte*)"glLineWidthx")) == NULL) || r;
- r = ((glLoadMatrixx = (PFNGLLOADMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glLoadMatrixx")) == NULL) || r;
- r = ((glMaterialx = (PFNGLMATERIALXPROC)glewGetProcAddress((const GLubyte*)"glMaterialx")) == NULL) || r;
- r = ((glMaterialxv = (PFNGLMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glMaterialxv")) == NULL) || r;
- r = ((glMultMatrixx = (PFNGLMULTMATRIXXPROC)glewGetProcAddress((const GLubyte*)"glMultMatrixx")) == NULL) || r;
- r = ((glMultiTexCoord4x = (PFNGLMULTITEXCOORD4XPROC)glewGetProcAddress((const GLubyte*)"glMultiTexCoord4x")) == NULL) || r;
- r = ((glNormal3x = (PFNGLNORMAL3XPROC)glewGetProcAddress((const GLubyte*)"glNormal3x")) == NULL) || r;
- r = ((glOrthof = (PFNGLORTHOFPROC)glewGetProcAddress((const GLubyte*)"glOrthof")) == NULL) || r;
- r = ((glOrthox = (PFNGLORTHOXPROC)glewGetProcAddress((const GLubyte*)"glOrthox")) == NULL) || r;
- r = ((glPointSizex = (PFNGLPOINTSIZEXPROC)glewGetProcAddress((const GLubyte*)"glPointSizex")) == NULL) || r;
- r = ((glPolygonOffsetx = (PFNGLPOLYGONOFFSETXPROC)glewGetProcAddress((const GLubyte*)"glPolygonOffsetx")) == NULL) || r;
- r = ((glRotatex = (PFNGLROTATEXPROC)glewGetProcAddress((const GLubyte*)"glRotatex")) == NULL) || r;
- r = ((glSampleCoveragex = (PFNGLSAMPLECOVERAGEXPROC)glewGetProcAddress((const GLubyte*)"glSampleCoveragex")) == NULL) || r;
- r = ((glScalex = (PFNGLSCALEXPROC)glewGetProcAddress((const GLubyte*)"glScalex")) == NULL) || r;
- r = ((glTexEnvx = (PFNGLTEXENVXPROC)glewGetProcAddress((const GLubyte*)"glTexEnvx")) == NULL) || r;
- r = ((glTexEnvxv = (PFNGLTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glTexEnvxv")) == NULL) || r;
- r = ((glTexParameterx = (PFNGLTEXPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glTexParameterx")) == NULL) || r;
- r = ((glTranslatex = (PFNGLTRANSLATEXPROC)glewGetProcAddress((const GLubyte*)"glTranslatex")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_ES1_0_compatibility */
- #ifdef GL_REGAL_ES1_1_compatibility
- static GLboolean _glewInit_GL_REGAL_ES1_1_compatibility ()
- {
- GLboolean r = GL_FALSE;
- r = ((glClipPlanef = (PFNGLCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glClipPlanef")) == NULL) || r;
- r = ((glClipPlanex = (PFNGLCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glClipPlanex")) == NULL) || r;
- r = ((glGetClipPlanef = (PFNGLGETCLIPPLANEFPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanef")) == NULL) || r;
- r = ((glGetClipPlanex = (PFNGLGETCLIPPLANEXPROC)glewGetProcAddress((const GLubyte*)"glGetClipPlanex")) == NULL) || r;
- r = ((glGetFixedv = (PFNGLGETFIXEDVPROC)glewGetProcAddress((const GLubyte*)"glGetFixedv")) == NULL) || r;
- r = ((glGetLightxv = (PFNGLGETLIGHTXVPROC)glewGetProcAddress((const GLubyte*)"glGetLightxv")) == NULL) || r;
- r = ((glGetMaterialxv = (PFNGLGETMATERIALXVPROC)glewGetProcAddress((const GLubyte*)"glGetMaterialxv")) == NULL) || r;
- r = ((glGetTexEnvxv = (PFNGLGETTEXENVXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexEnvxv")) == NULL) || r;
- r = ((glGetTexParameterxv = (PFNGLGETTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glGetTexParameterxv")) == NULL) || r;
- r = ((glPointParameterx = (PFNGLPOINTPARAMETERXPROC)glewGetProcAddress((const GLubyte*)"glPointParameterx")) == NULL) || r;
- r = ((glPointParameterxv = (PFNGLPOINTPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glPointParameterxv")) == NULL) || r;
- r = ((glPointSizePointerOES = (PFNGLPOINTSIZEPOINTEROESPROC)glewGetProcAddress((const GLubyte*)"glPointSizePointerOES")) == NULL) || r;
- r = ((glTexParameterxv = (PFNGLTEXPARAMETERXVPROC)glewGetProcAddress((const GLubyte*)"glTexParameterxv")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_ES1_1_compatibility */
- #ifdef GL_REGAL_error_string
- static GLboolean _glewInit_GL_REGAL_error_string ()
- {
- GLboolean r = GL_FALSE;
- r = ((glErrorStringREGAL = (PFNGLERRORSTRINGREGALPROC)glewGetProcAddress((const GLubyte*)"glErrorStringREGAL")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_error_string */
- #ifdef GL_REGAL_extension_query
- static GLboolean _glewInit_GL_REGAL_extension_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetExtensionREGAL = (PFNGLGETEXTENSIONREGALPROC)glewGetProcAddress((const GLubyte*)"glGetExtensionREGAL")) == NULL) || r;
- r = ((glIsSupportedREGAL = (PFNGLISSUPPORTEDREGALPROC)glewGetProcAddress((const GLubyte*)"glIsSupportedREGAL")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_extension_query */
- #ifdef GL_REGAL_log
- static GLboolean _glewInit_GL_REGAL_log ()
- {
- GLboolean r = GL_FALSE;
- r = ((glLogMessageCallbackREGAL = (PFNGLLOGMESSAGECALLBACKREGALPROC)glewGetProcAddress((const GLubyte*)"glLogMessageCallbackREGAL")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_log */
- #ifdef GL_REGAL_proc_address
- static GLboolean _glewInit_GL_REGAL_proc_address ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetProcAddressREGAL = (PFNGLGETPROCADDRESSREGALPROC)glewGetProcAddress((const GLubyte*)"glGetProcAddressREGAL")) == NULL) || r;
- return r;
- }
- #endif /* GL_REGAL_proc_address */
- #ifdef GL_SGIS_detail_texture
- static GLboolean _glewInit_GL_SGIS_detail_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDetailTexFuncSGIS = (PFNGLDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glDetailTexFuncSGIS")) == NULL) || r;
- r = ((glGetDetailTexFuncSGIS = (PFNGLGETDETAILTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetDetailTexFuncSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_detail_texture */
- #ifdef GL_SGIS_fog_function
- static GLboolean _glewInit_GL_SGIS_fog_function ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFogFuncSGIS = (PFNGLFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glFogFuncSGIS")) == NULL) || r;
- r = ((glGetFogFuncSGIS = (PFNGLGETFOGFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetFogFuncSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_fog_function */
- #ifdef GL_SGIS_multisample
- static GLboolean _glewInit_GL_SGIS_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSampleMaskSGIS = (PFNGLSAMPLEMASKSGISPROC)glewGetProcAddress((const GLubyte*)"glSampleMaskSGIS")) == NULL) || r;
- r = ((glSamplePatternSGIS = (PFNGLSAMPLEPATTERNSGISPROC)glewGetProcAddress((const GLubyte*)"glSamplePatternSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_multisample */
- #ifdef GL_SGIS_multitexture
- static GLboolean _glewInit_GL_SGIS_multitexture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glInterleavedTextureCoordSetsSGIS = (PFNGLINTERLEAVEDTEXTURECOORDSETSSGISPROC)glewGetProcAddress((const GLubyte*)"glInterleavedTextureCoordSetsSGIS")) == NULL) || r;
- r = ((glSelectTextureCoordSetSGIS = (PFNGLSELECTTEXTURECOORDSETSGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureCoordSetSGIS")) == NULL) || r;
- r = ((glSelectTextureSGIS = (PFNGLSELECTTEXTURESGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureSGIS")) == NULL) || r;
- r = ((glSelectTextureTransformSGIS = (PFNGLSELECTTEXTURETRANSFORMSGISPROC)glewGetProcAddress((const GLubyte*)"glSelectTextureTransformSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_multitexture */
- #ifdef GL_SGIS_shared_multisample
- static GLboolean _glewInit_GL_SGIS_shared_multisample ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMultisampleSubRectPosSGIS = (PFNGLMULTISAMPLESUBRECTPOSSGISPROC)glewGetProcAddress((const GLubyte*)"glMultisampleSubRectPosSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_shared_multisample */
- #ifdef GL_SGIS_sharpen_texture
- static GLboolean _glewInit_GL_SGIS_sharpen_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetSharpenTexFuncSGIS = (PFNGLGETSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetSharpenTexFuncSGIS")) == NULL) || r;
- r = ((glSharpenTexFuncSGIS = (PFNGLSHARPENTEXFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glSharpenTexFuncSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_sharpen_texture */
- #ifdef GL_SGIS_texture4D
- static GLboolean _glewInit_GL_SGIS_texture4D ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTexImage4DSGIS = (PFNGLTEXIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexImage4DSGIS")) == NULL) || r;
- r = ((glTexSubImage4DSGIS = (PFNGLTEXSUBIMAGE4DSGISPROC)glewGetProcAddress((const GLubyte*)"glTexSubImage4DSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_texture4D */
- #ifdef GL_SGIS_texture_filter4
- static GLboolean _glewInit_GL_SGIS_texture_filter4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetTexFilterFuncSGIS = (PFNGLGETTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glGetTexFilterFuncSGIS")) == NULL) || r;
- r = ((glTexFilterFuncSGIS = (PFNGLTEXFILTERFUNCSGISPROC)glewGetProcAddress((const GLubyte*)"glTexFilterFuncSGIS")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIS_texture_filter4 */
- #ifdef GL_SGIX_async
- static GLboolean _glewInit_GL_SGIX_async ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAsyncMarkerSGIX = (PFNGLASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glAsyncMarkerSGIX")) == NULL) || r;
- r = ((glDeleteAsyncMarkersSGIX = (PFNGLDELETEASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteAsyncMarkersSGIX")) == NULL) || r;
- r = ((glFinishAsyncSGIX = (PFNGLFINISHASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glFinishAsyncSGIX")) == NULL) || r;
- r = ((glGenAsyncMarkersSGIX = (PFNGLGENASYNCMARKERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenAsyncMarkersSGIX")) == NULL) || r;
- r = ((glIsAsyncMarkerSGIX = (PFNGLISASYNCMARKERSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsAsyncMarkerSGIX")) == NULL) || r;
- r = ((glPollAsyncSGIX = (PFNGLPOLLASYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glPollAsyncSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_async */
- #ifdef GL_SGIX_datapipe
- static GLboolean _glewInit_GL_SGIX_datapipe ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAddressSpace = (PFNGLADDRESSSPACEPROC)glewGetProcAddress((const GLubyte*)"glAddressSpace")) == NULL) || r;
- r = ((glDataPipe = (PFNGLDATAPIPEPROC)glewGetProcAddress((const GLubyte*)"glDataPipe")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_datapipe */
- #ifdef GL_SGIX_flush_raster
- static GLboolean _glewInit_GL_SGIX_flush_raster ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFlushRasterSGIX = (PFNGLFLUSHRASTERSGIXPROC)glewGetProcAddress((const GLubyte*)"glFlushRasterSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_flush_raster */
- #ifdef GL_SGIX_fog_layers
- static GLboolean _glewInit_GL_SGIX_fog_layers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFogLayersSGIX = (PFNGLFOGLAYERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glFogLayersSGIX")) == NULL) || r;
- r = ((glGetFogLayersSGIX = (PFNGLGETFOGLAYERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFogLayersSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_fog_layers */
- #ifdef GL_SGIX_fog_texture
- static GLboolean _glewInit_GL_SGIX_fog_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTextureFogSGIX = (PFNGLTEXTUREFOGSGIXPROC)glewGetProcAddress((const GLubyte*)"glTextureFogSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_fog_texture */
- #ifdef GL_SGIX_fragment_specular_lighting
- static GLboolean _glewInit_GL_SGIX_fragment_specular_lighting ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFragmentColorMaterialSGIX = (PFNGLFRAGMENTCOLORMATERIALSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentColorMaterialSGIX")) == NULL) || r;
- r = ((glFragmentLightModelfSGIX = (PFNGLFRAGMENTLIGHTMODELFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfSGIX")) == NULL) || r;
- r = ((glFragmentLightModelfvSGIX = (PFNGLFRAGMENTLIGHTMODELFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelfvSGIX")) == NULL) || r;
- r = ((glFragmentLightModeliSGIX = (PFNGLFRAGMENTLIGHTMODELISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModeliSGIX")) == NULL) || r;
- r = ((glFragmentLightModelivSGIX = (PFNGLFRAGMENTLIGHTMODELIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightModelivSGIX")) == NULL) || r;
- r = ((glFragmentLightfSGIX = (PFNGLFRAGMENTLIGHTFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfSGIX")) == NULL) || r;
- r = ((glFragmentLightfvSGIX = (PFNGLFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightfvSGIX")) == NULL) || r;
- r = ((glFragmentLightiSGIX = (PFNGLFRAGMENTLIGHTISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightiSGIX")) == NULL) || r;
- r = ((glFragmentLightivSGIX = (PFNGLFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentLightivSGIX")) == NULL) || r;
- r = ((glFragmentMaterialfSGIX = (PFNGLFRAGMENTMATERIALFSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfSGIX")) == NULL) || r;
- r = ((glFragmentMaterialfvSGIX = (PFNGLFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialfvSGIX")) == NULL) || r;
- r = ((glFragmentMaterialiSGIX = (PFNGLFRAGMENTMATERIALISGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialiSGIX")) == NULL) || r;
- r = ((glFragmentMaterialivSGIX = (PFNGLFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glFragmentMaterialivSGIX")) == NULL) || r;
- r = ((glGetFragmentLightfvSGIX = (PFNGLGETFRAGMENTLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightfvSGIX")) == NULL) || r;
- r = ((glGetFragmentLightivSGIX = (PFNGLGETFRAGMENTLIGHTIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentLightivSGIX")) == NULL) || r;
- r = ((glGetFragmentMaterialfvSGIX = (PFNGLGETFRAGMENTMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialfvSGIX")) == NULL) || r;
- r = ((glGetFragmentMaterialivSGIX = (PFNGLGETFRAGMENTMATERIALIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetFragmentMaterialivSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_fragment_specular_lighting */
- #ifdef GL_SGIX_framezoom
- static GLboolean _glewInit_GL_SGIX_framezoom ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFrameZoomSGIX = (PFNGLFRAMEZOOMSGIXPROC)glewGetProcAddress((const GLubyte*)"glFrameZoomSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_framezoom */
- #ifdef GL_SGIX_igloo_interface
- static GLboolean _glewInit_GL_SGIX_igloo_interface ()
- {
- GLboolean r = GL_FALSE;
- r = ((glIglooInterfaceSGIX = (PFNGLIGLOOINTERFACESGIXPROC)glewGetProcAddress((const GLubyte*)"glIglooInterfaceSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_igloo_interface */
- #ifdef GL_SGIX_mpeg1
- static GLboolean _glewInit_GL_SGIX_mpeg1 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAllocMPEGPredictorsSGIX = (PFNGLALLOCMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glAllocMPEGPredictorsSGIX")) == NULL) || r;
- r = ((glDeleteMPEGPredictorsSGIX = (PFNGLDELETEMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteMPEGPredictorsSGIX")) == NULL) || r;
- r = ((glGenMPEGPredictorsSGIX = (PFNGLGENMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenMPEGPredictorsSGIX")) == NULL) || r;
- r = ((glGetMPEGParameterfvSGIX = (PFNGLGETMPEGPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGParameterfvSGIX")) == NULL) || r;
- r = ((glGetMPEGParameterivSGIX = (PFNGLGETMPEGPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGParameterivSGIX")) == NULL) || r;
- r = ((glGetMPEGPredictorSGIX = (PFNGLGETMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGPredictorSGIX")) == NULL) || r;
- r = ((glGetMPEGQuantTableubv = (PFNGLGETMPEGQUANTTABLEUBVPROC)glewGetProcAddress((const GLubyte*)"glGetMPEGQuantTableubv")) == NULL) || r;
- r = ((glIsMPEGPredictorSGIX = (PFNGLISMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsMPEGPredictorSGIX")) == NULL) || r;
- r = ((glMPEGPredictorSGIX = (PFNGLMPEGPREDICTORSGIXPROC)glewGetProcAddress((const GLubyte*)"glMPEGPredictorSGIX")) == NULL) || r;
- r = ((glMPEGQuantTableubv = (PFNGLMPEGQUANTTABLEUBVPROC)glewGetProcAddress((const GLubyte*)"glMPEGQuantTableubv")) == NULL) || r;
- r = ((glSwapMPEGPredictorsSGIX = (PFNGLSWAPMPEGPREDICTORSSGIXPROC)glewGetProcAddress((const GLubyte*)"glSwapMPEGPredictorsSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_mpeg1 */
- #ifdef GL_SGIX_nonlinear_lighting_pervertex
- static GLboolean _glewInit_GL_SGIX_nonlinear_lighting_pervertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetNonlinLightfvSGIX = (PFNGLGETNONLINLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetNonlinLightfvSGIX")) == NULL) || r;
- r = ((glGetNonlinMaterialfvSGIX = (PFNGLGETNONLINMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetNonlinMaterialfvSGIX")) == NULL) || r;
- r = ((glNonlinLightfvSGIX = (PFNGLNONLINLIGHTFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glNonlinLightfvSGIX")) == NULL) || r;
- r = ((glNonlinMaterialfvSGIX = (PFNGLNONLINMATERIALFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glNonlinMaterialfvSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_nonlinear_lighting_pervertex */
- #ifdef GL_SGIX_pixel_texture
- static GLboolean _glewInit_GL_SGIX_pixel_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glPixelTexGenSGIX = (PFNGLPIXELTEXGENSGIXPROC)glewGetProcAddress((const GLubyte*)"glPixelTexGenSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_pixel_texture */
- #ifdef GL_SGIX_polynomial_ffd
- static GLboolean _glewInit_GL_SGIX_polynomial_ffd ()
- {
- GLboolean r = GL_FALSE;
- r = ((glDeformSGIX = (PFNGLDEFORMSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeformSGIX")) == NULL) || r;
- r = ((glLoadIdentityDeformationMapSGIX = (PFNGLLOADIDENTITYDEFORMATIONMAPSGIXPROC)glewGetProcAddress((const GLubyte*)"glLoadIdentityDeformationMapSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_polynomial_ffd */
- #ifdef GL_SGIX_quad_mesh
- static GLboolean _glewInit_GL_SGIX_quad_mesh ()
- {
- GLboolean r = GL_FALSE;
- r = ((glMeshBreadthSGIX = (PFNGLMESHBREADTHSGIXPROC)glewGetProcAddress((const GLubyte*)"glMeshBreadthSGIX")) == NULL) || r;
- r = ((glMeshStrideSGIX = (PFNGLMESHSTRIDESGIXPROC)glewGetProcAddress((const GLubyte*)"glMeshStrideSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_quad_mesh */
- #ifdef GL_SGIX_reference_plane
- static GLboolean _glewInit_GL_SGIX_reference_plane ()
- {
- GLboolean r = GL_FALSE;
- r = ((glReferencePlaneSGIX = (PFNGLREFERENCEPLANESGIXPROC)glewGetProcAddress((const GLubyte*)"glReferencePlaneSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_reference_plane */
- #ifdef GL_SGIX_sprite
- static GLboolean _glewInit_GL_SGIX_sprite ()
- {
- GLboolean r = GL_FALSE;
- r = ((glSpriteParameterfSGIX = (PFNGLSPRITEPARAMETERFSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfSGIX")) == NULL) || r;
- r = ((glSpriteParameterfvSGIX = (PFNGLSPRITEPARAMETERFVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterfvSGIX")) == NULL) || r;
- r = ((glSpriteParameteriSGIX = (PFNGLSPRITEPARAMETERISGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameteriSGIX")) == NULL) || r;
- r = ((glSpriteParameterivSGIX = (PFNGLSPRITEPARAMETERIVSGIXPROC)glewGetProcAddress((const GLubyte*)"glSpriteParameterivSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_sprite */
- #ifdef GL_SGIX_tag_sample_buffer
- static GLboolean _glewInit_GL_SGIX_tag_sample_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glTagSampleBufferSGIX = (PFNGLTAGSAMPLEBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glTagSampleBufferSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_tag_sample_buffer */
- #ifdef GL_SGIX_vector_ops
- static GLboolean _glewInit_GL_SGIX_vector_ops ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetVectorOperationSGIX = (PFNGLGETVECTOROPERATIONSGIXPROC)glewGetProcAddress((const GLubyte*)"glGetVectorOperationSGIX")) == NULL) || r;
- r = ((glVectorOperationSGIX = (PFNGLVECTOROPERATIONSGIXPROC)glewGetProcAddress((const GLubyte*)"glVectorOperationSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_vector_ops */
- #ifdef GL_SGIX_vertex_array_object
- static GLboolean _glewInit_GL_SGIX_vertex_array_object ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAreVertexArraysResidentSGIX = (PFNGLAREVERTEXARRAYSRESIDENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glAreVertexArraysResidentSGIX")) == NULL) || r;
- r = ((glBindVertexArraySGIX = (PFNGLBINDVERTEXARRAYSGIXPROC)glewGetProcAddress((const GLubyte*)"glBindVertexArraySGIX")) == NULL) || r;
- r = ((glDeleteVertexArraysSGIX = (PFNGLDELETEVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glDeleteVertexArraysSGIX")) == NULL) || r;
- r = ((glGenVertexArraysSGIX = (PFNGLGENVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glGenVertexArraysSGIX")) == NULL) || r;
- r = ((glIsVertexArraySGIX = (PFNGLISVERTEXARRAYSGIXPROC)glewGetProcAddress((const GLubyte*)"glIsVertexArraySGIX")) == NULL) || r;
- r = ((glPrioritizeVertexArraysSGIX = (PFNGLPRIORITIZEVERTEXARRAYSSGIXPROC)glewGetProcAddress((const GLubyte*)"glPrioritizeVertexArraysSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGIX_vertex_array_object */
- #ifdef GL_SGI_color_table
- static GLboolean _glewInit_GL_SGI_color_table ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColorTableParameterfvSGI = (PFNGLCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterfvSGI")) == NULL) || r;
- r = ((glColorTableParameterivSGI = (PFNGLCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableParameterivSGI")) == NULL) || r;
- r = ((glColorTableSGI = (PFNGLCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glColorTableSGI")) == NULL) || r;
- r = ((glCopyColorTableSGI = (PFNGLCOPYCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glCopyColorTableSGI")) == NULL) || r;
- r = ((glGetColorTableParameterfvSGI = (PFNGLGETCOLORTABLEPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterfvSGI")) == NULL) || r;
- r = ((glGetColorTableParameterivSGI = (PFNGLGETCOLORTABLEPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableParameterivSGI")) == NULL) || r;
- r = ((glGetColorTableSGI = (PFNGLGETCOLORTABLESGIPROC)glewGetProcAddress((const GLubyte*)"glGetColorTableSGI")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGI_color_table */
- #ifdef GL_SGI_fft
- static GLboolean _glewInit_GL_SGI_fft ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGetPixelTransformParameterfvSGI = (PFNGLGETPIXELTRANSFORMPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterfvSGI")) == NULL) || r;
- r = ((glGetPixelTransformParameterivSGI = (PFNGLGETPIXELTRANSFORMPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glGetPixelTransformParameterivSGI")) == NULL) || r;
- r = ((glPixelTransformParameterfSGI = (PFNGLPIXELTRANSFORMPARAMETERFSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfSGI")) == NULL) || r;
- r = ((glPixelTransformParameterfvSGI = (PFNGLPIXELTRANSFORMPARAMETERFVSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterfvSGI")) == NULL) || r;
- r = ((glPixelTransformParameteriSGI = (PFNGLPIXELTRANSFORMPARAMETERISGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameteriSGI")) == NULL) || r;
- r = ((glPixelTransformParameterivSGI = (PFNGLPIXELTRANSFORMPARAMETERIVSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformParameterivSGI")) == NULL) || r;
- r = ((glPixelTransformSGI = (PFNGLPIXELTRANSFORMSGIPROC)glewGetProcAddress((const GLubyte*)"glPixelTransformSGI")) == NULL) || r;
- return r;
- }
- #endif /* GL_SGI_fft */
- #ifdef GL_SUNX_constant_data
- static GLboolean _glewInit_GL_SUNX_constant_data ()
- {
- GLboolean r = GL_FALSE;
- r = ((glFinishTextureSUNX = (PFNGLFINISHTEXTURESUNXPROC)glewGetProcAddress((const GLubyte*)"glFinishTextureSUNX")) == NULL) || r;
- return r;
- }
- #endif /* GL_SUNX_constant_data */
- #ifdef GL_SUN_global_alpha
- static GLboolean _glewInit_GL_SUN_global_alpha ()
- {
- GLboolean r = GL_FALSE;
- r = ((glGlobalAlphaFactorbSUN = (PFNGLGLOBALALPHAFACTORBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorbSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactordSUN = (PFNGLGLOBALALPHAFACTORDSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactordSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactorfSUN = (PFNGLGLOBALALPHAFACTORFSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorfSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactoriSUN = (PFNGLGLOBALALPHAFACTORISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoriSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactorsSUN = (PFNGLGLOBALALPHAFACTORSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorsSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactorubSUN = (PFNGLGLOBALALPHAFACTORUBSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorubSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactoruiSUN = (PFNGLGLOBALALPHAFACTORUISUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactoruiSUN")) == NULL) || r;
- r = ((glGlobalAlphaFactorusSUN = (PFNGLGLOBALALPHAFACTORUSSUNPROC)glewGetProcAddress((const GLubyte*)"glGlobalAlphaFactorusSUN")) == NULL) || r;
- return r;
- }
- #endif /* GL_SUN_global_alpha */
- #ifdef GL_SUN_read_video_pixels
- static GLboolean _glewInit_GL_SUN_read_video_pixels ()
- {
- GLboolean r = GL_FALSE;
- r = ((glReadVideoPixelsSUN = (PFNGLREADVIDEOPIXELSSUNPROC)glewGetProcAddress((const GLubyte*)"glReadVideoPixelsSUN")) == NULL) || r;
- return r;
- }
- #endif /* GL_SUN_read_video_pixels */
- #ifdef GL_SUN_triangle_list
- static GLboolean _glewInit_GL_SUN_triangle_list ()
- {
- GLboolean r = GL_FALSE;
- r = ((glReplacementCodePointerSUN = (PFNGLREPLACEMENTCODEPOINTERSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodePointerSUN")) == NULL) || r;
- r = ((glReplacementCodeubSUN = (PFNGLREPLACEMENTCODEUBSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubSUN")) == NULL) || r;
- r = ((glReplacementCodeubvSUN = (PFNGLREPLACEMENTCODEUBVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeubvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiSUN = (PFNGLREPLACEMENTCODEUISUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiSUN")) == NULL) || r;
- r = ((glReplacementCodeuivSUN = (PFNGLREPLACEMENTCODEUIVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuivSUN")) == NULL) || r;
- r = ((glReplacementCodeusSUN = (PFNGLREPLACEMENTCODEUSSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusSUN")) == NULL) || r;
- r = ((glReplacementCodeusvSUN = (PFNGLREPLACEMENTCODEUSVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeusvSUN")) == NULL) || r;
- return r;
- }
- #endif /* GL_SUN_triangle_list */
- #ifdef GL_SUN_vertex
- static GLboolean _glewInit_GL_SUN_vertex ()
- {
- GLboolean r = GL_FALSE;
- r = ((glColor3fVertex3fSUN = (PFNGLCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fSUN")) == NULL) || r;
- r = ((glColor3fVertex3fvSUN = (PFNGLCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor3fVertex3fvSUN")) == NULL) || r;
- r = ((glColor4fNormal3fVertex3fSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glColor4fNormal3fVertex3fvSUN = (PFNGLCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glColor4ubVertex2fSUN = (PFNGLCOLOR4UBVERTEX2FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fSUN")) == NULL) || r;
- r = ((glColor4ubVertex2fvSUN = (PFNGLCOLOR4UBVERTEX2FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex2fvSUN")) == NULL) || r;
- r = ((glColor4ubVertex3fSUN = (PFNGLCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fSUN")) == NULL) || r;
- r = ((glColor4ubVertex3fvSUN = (PFNGLCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glColor4ubVertex3fvSUN")) == NULL) || r;
- r = ((glNormal3fVertex3fSUN = (PFNGLNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glNormal3fVertex3fvSUN = (PFNGLNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor4ubVertex3fSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiColor4ubVertex3fvSUN = (PFNGLREPLACEMENTCODEUICOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiColor4ubVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUINORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fVertex3fSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiTexCoord2fVertex3fvSUN = (PFNGLREPLACEMENTCODEUITEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiTexCoord2fVertex3fvSUN")) == NULL) || r;
- r = ((glReplacementCodeuiVertex3fSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fSUN")) == NULL) || r;
- r = ((glReplacementCodeuiVertex3fvSUN = (PFNGLREPLACEMENTCODEUIVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glReplacementCodeuiVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord2fColor3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fSUN")) == NULL) || r;
- r = ((glTexCoord2fColor3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor3fVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord2fColor4fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glTexCoord2fColor4fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord2fColor4ubVertex3fSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fSUN")) == NULL) || r;
- r = ((glTexCoord2fColor4ubVertex3fvSUN = (PFNGLTEXCOORD2FCOLOR4UBVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fColor4ubVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord2fNormal3fVertex3fSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fSUN")) == NULL) || r;
- r = ((glTexCoord2fNormal3fVertex3fvSUN = (PFNGLTEXCOORD2FNORMAL3FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fNormal3fVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord2fVertex3fSUN = (PFNGLTEXCOORD2FVERTEX3FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fSUN")) == NULL) || r;
- r = ((glTexCoord2fVertex3fvSUN = (PFNGLTEXCOORD2FVERTEX3FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord2fVertex3fvSUN")) == NULL) || r;
- r = ((glTexCoord4fColor4fNormal3fVertex4fSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fSUN")) == NULL) || r;
- r = ((glTexCoord4fColor4fNormal3fVertex4fvSUN = (PFNGLTEXCOORD4FCOLOR4FNORMAL3FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fColor4fNormal3fVertex4fvSUN")) == NULL) || r;
- r = ((glTexCoord4fVertex4fSUN = (PFNGLTEXCOORD4FVERTEX4FSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fSUN")) == NULL) || r;
- r = ((glTexCoord4fVertex4fvSUN = (PFNGLTEXCOORD4FVERTEX4FVSUNPROC)glewGetProcAddress((const GLubyte*)"glTexCoord4fVertex4fvSUN")) == NULL) || r;
- return r;
- }
- #endif /* GL_SUN_vertex */
- #ifdef GL_WIN_swap_hint
- static GLboolean _glewInit_GL_WIN_swap_hint ()
- {
- GLboolean r = GL_FALSE;
- r = ((glAddSwapHintRectWIN = (PFNGLADDSWAPHINTRECTWINPROC)glewGetProcAddress((const GLubyte*)"glAddSwapHintRectWIN")) == NULL) || r;
- return r;
- }
- #endif /* GL_WIN_swap_hint */
- /* ------------------------------------------------------------------------- */
- static int _glewExtensionCompare(const char *s1, const char *s2)
- {
- /* http://www.chanduthedev.com/2012/07/strcmp-implementation-in-c.html */
- while (*s1 || *s2)
- {
- if (*s1 > *s2)
- return 1;
- if (*s1 < *s2)
- return -1;
- s1++;
- s2++;
- }
- return 0;
- }
- static ptrdiff_t _glewBsearchExtension(const char* name)
- {
- ptrdiff_t lo = 0, hi = sizeof(_glewExtensionLookup) / sizeof(char*) - 2;
- while (lo <= hi)
- {
- ptrdiff_t mid = (lo + hi) / 2;
- const int cmp = _glewExtensionCompare(name, _glewExtensionLookup[mid]);
- if (cmp < 0) hi = mid - 1;
- else if (cmp > 0) lo = mid + 1;
- else return mid;
- }
- return -1;
- }
- static GLboolean *_glewGetExtensionString(const char *name)
- {
- ptrdiff_t n = _glewBsearchExtension(name);
- if (n >= 0) return &_glewExtensionString[n];
- return NULL;
- }
- static GLboolean *_glewGetExtensionEnable(const char *name)
- {
- ptrdiff_t n = _glewBsearchExtension(name);
- if (n >= 0) return _glewExtensionEnabled[n];
- return NULL;
- }
- static const char *_glewNextSpace(const char *i)
- {
- const char *j = i;
- if (j)
- while (*j!=' ' && *j) ++j;
- return j;
- }
- static const char *_glewNextNonSpace(const char *i)
- {
- const char *j = i;
- if (j)
- while (*j==' ') ++j;
- return j;
- }
- GLboolean GLEWAPIENTRY glewGetExtension (const char* name)
- {
- GLboolean *enable = _glewGetExtensionString(name);
- if (enable)
- return *enable;
- return GL_FALSE;
- }
- /* ------------------------------------------------------------------------- */
- typedef const GLubyte* (GLAPIENTRY * PFNGLGETSTRINGPROC) (GLenum name);
- typedef void (GLAPIENTRY * PFNGLGETINTEGERVPROC) (GLenum pname, GLint *params);
- static GLenum GLEWAPIENTRY glewContextInit ()
- {
- PFNGLGETSTRINGPROC getString;
- const GLubyte* s;
- GLuint dot;
- GLint major, minor;
- size_t n;
- #ifdef _WIN32
- getString = glGetString;
- #else
- getString = (PFNGLGETSTRINGPROC) glewGetProcAddress((const GLubyte*)"glGetString");
- if (!getString)
- return GLEW_ERROR_NO_GL_VERSION;
- #endif
- /* query opengl version */
- s = getString(GL_VERSION);
- dot = _glewStrCLen(s, '.');
- if (dot == 0)
- return GLEW_ERROR_NO_GL_VERSION;
- major = s[dot-1]-'0';
- minor = s[dot+1]-'0';
- if (minor < 0 || minor > 9)
- minor = 0;
- if (major<0 || major>9)
- return GLEW_ERROR_NO_GL_VERSION;
- if (major == 1 && minor == 0)
- {
- return GLEW_ERROR_GL_VERSION_10_ONLY;
- }
- else
- {
- GLEW_VERSION_4_6 = ( major > 4 ) || ( major == 4 && minor >= 6 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_5 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_4 = GLEW_VERSION_4_5 == GL_TRUE || ( major == 4 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_3 = GLEW_VERSION_4_4 == GL_TRUE || ( major == 4 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_2 = GLEW_VERSION_4_3 == GL_TRUE || ( major == 4 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_1 = GLEW_VERSION_4_2 == GL_TRUE || ( major == 4 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_4_0 = GLEW_VERSION_4_1 == GL_TRUE || ( major == 4 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_3_3 = GLEW_VERSION_4_0 == GL_TRUE || ( major == 3 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_3_2 = GLEW_VERSION_3_3 == GL_TRUE || ( major == 3 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_3_1 = GLEW_VERSION_3_2 == GL_TRUE || ( major == 3 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_3_0 = GLEW_VERSION_3_1 == GL_TRUE || ( major == 3 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_2_1 = GLEW_VERSION_3_0 == GL_TRUE || ( major == 2 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_2_0 = GLEW_VERSION_2_1 == GL_TRUE || ( major == 2 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_5 = GLEW_VERSION_2_0 == GL_TRUE || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_4 = GLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_3 = GLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_2_1 = GLEW_VERSION_1_3 == GL_TRUE ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_2 = GLEW_VERSION_1_2_1 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
- GLEW_VERSION_1_1 = GLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
- }
- for (n = 0; n < sizeof(_glewExtensionString) / sizeof(_glewExtensionString[0]); ++n)
- _glewExtensionString[n] = GL_FALSE;
- if (GLEW_VERSION_3_0)
- {
- GLint n = 0;
- GLint i;
- PFNGLGETINTEGERVPROC getIntegerv;
- PFNGLGETSTRINGIPROC getStringi;
- const char *ext;
- GLboolean *enable;
- #ifdef _WIN32
- getIntegerv = glGetIntegerv;
- #else
- getIntegerv = (PFNGLGETINTEGERVPROC) glewGetProcAddress((const GLubyte*)"glGetIntegerv");
- #endif
- if (getIntegerv)
- getIntegerv(GL_NUM_EXTENSIONS, &n);
- /* glGetStringi is OpenGL 3.0 */
- getStringi = (PFNGLGETSTRINGIPROC) glewGetProcAddress((const GLubyte*)"glGetStringi");
- if (getStringi)
- for (i = 0; i<n; ++i)
- {
- ext = (const char *) getStringi(GL_EXTENSIONS, i);
- /* Based on extension string(s), glewGetExtension purposes */
- enable = _glewGetExtensionString(ext);
- if (enable)
- *enable = GL_TRUE;
- /* Based on extension string(s), experimental mode, glewIsSupported purposes */
- enable = _glewGetExtensionEnable(ext);
- if (enable)
- *enable = GL_TRUE;
- }
- }
- else
- {
- const char *extensions;
- const char *end;
- const char *i;
- const char *j;
- char ext[128];
- GLboolean *enable;
- extensions = (const char *) getString(GL_EXTENSIONS);
- if (extensions)
- {
- end = extensions + _glewStrLen((const GLubyte *) extensions);
- for (i=extensions; i<end; i = j + 1)
- {
- i = _glewNextNonSpace(i);
- j = _glewNextSpace(i);
- /* Copy extension into NUL terminated string */
- if (j-i >= (ptrdiff_t) sizeof(ext))
- continue;
- _glewStrCopy(ext, i, ' ');
- /* Based on extension string(s), glewGetExtension purposes */
- enable = _glewGetExtensionString(ext);
- if (enable)
- *enable = GL_TRUE;
- /* Based on extension string(s), experimental mode, glewIsSupported purposes */
- enable = _glewGetExtensionEnable(ext);
- if (enable)
- *enable = GL_TRUE;
- }
- }
- }
- #ifdef GL_VERSION_1_2
- if (glewExperimental || GLEW_VERSION_1_2) GLEW_VERSION_1_2 = !_glewInit_GL_VERSION_1_2();
- #endif /* GL_VERSION_1_2 */
- #ifdef GL_VERSION_1_3
- if (glewExperimental || GLEW_VERSION_1_3) GLEW_VERSION_1_3 = !_glewInit_GL_VERSION_1_3();
- #endif /* GL_VERSION_1_3 */
- #ifdef GL_VERSION_1_4
- if (glewExperimental || GLEW_VERSION_1_4) GLEW_VERSION_1_4 = !_glewInit_GL_VERSION_1_4();
- #endif /* GL_VERSION_1_4 */
- #ifdef GL_VERSION_1_5
- if (glewExperimental || GLEW_VERSION_1_5) GLEW_VERSION_1_5 = !_glewInit_GL_VERSION_1_5();
- #endif /* GL_VERSION_1_5 */
- #ifdef GL_VERSION_2_0
- if (glewExperimental || GLEW_VERSION_2_0) GLEW_VERSION_2_0 = !_glewInit_GL_VERSION_2_0();
- #endif /* GL_VERSION_2_0 */
- #ifdef GL_VERSION_2_1
- if (glewExperimental || GLEW_VERSION_2_1) GLEW_VERSION_2_1 = !_glewInit_GL_VERSION_2_1();
- #endif /* GL_VERSION_2_1 */
- #ifdef GL_VERSION_3_0
- if (glewExperimental || GLEW_VERSION_3_0) GLEW_VERSION_3_0 = !_glewInit_GL_VERSION_3_0();
- #endif /* GL_VERSION_3_0 */
- #ifdef GL_VERSION_3_1
- if (glewExperimental || GLEW_VERSION_3_1) GLEW_VERSION_3_1 = !_glewInit_GL_VERSION_3_1();
- #endif /* GL_VERSION_3_1 */
- #ifdef GL_VERSION_3_2
- if (glewExperimental || GLEW_VERSION_3_2) GLEW_VERSION_3_2 = !_glewInit_GL_VERSION_3_2();
- #endif /* GL_VERSION_3_2 */
- #ifdef GL_VERSION_3_3
- if (glewExperimental || GLEW_VERSION_3_3) GLEW_VERSION_3_3 = !_glewInit_GL_VERSION_3_3();
- #endif /* GL_VERSION_3_3 */
- #ifdef GL_VERSION_4_0
- if (glewExperimental || GLEW_VERSION_4_0) GLEW_VERSION_4_0 = !_glewInit_GL_VERSION_4_0();
- #endif /* GL_VERSION_4_0 */
- #ifdef GL_VERSION_4_5
- if (glewExperimental || GLEW_VERSION_4_5) GLEW_VERSION_4_5 = !_glewInit_GL_VERSION_4_5();
- #endif /* GL_VERSION_4_5 */
- #ifdef GL_VERSION_4_6
- if (glewExperimental || GLEW_VERSION_4_6) GLEW_VERSION_4_6 = !_glewInit_GL_VERSION_4_6();
- #endif /* GL_VERSION_4_6 */
- #ifdef GL_3DFX_tbuffer
- if (glewExperimental || GLEW_3DFX_tbuffer) GLEW_3DFX_tbuffer = !_glewInit_GL_3DFX_tbuffer();
- #endif /* GL_3DFX_tbuffer */
- #ifdef GL_AMD_debug_output
- if (glewExperimental || GLEW_AMD_debug_output) GLEW_AMD_debug_output = !_glewInit_GL_AMD_debug_output();
- #endif /* GL_AMD_debug_output */
- #ifdef GL_AMD_draw_buffers_blend
- if (glewExperimental || GLEW_AMD_draw_buffers_blend) GLEW_AMD_draw_buffers_blend = !_glewInit_GL_AMD_draw_buffers_blend();
- #endif /* GL_AMD_draw_buffers_blend */
- #ifdef GL_AMD_framebuffer_sample_positions
- if (glewExperimental || GLEW_AMD_framebuffer_sample_positions) GLEW_AMD_framebuffer_sample_positions = !_glewInit_GL_AMD_framebuffer_sample_positions();
- #endif /* GL_AMD_framebuffer_sample_positions */
- #ifdef GL_AMD_interleaved_elements
- if (glewExperimental || GLEW_AMD_interleaved_elements) GLEW_AMD_interleaved_elements = !_glewInit_GL_AMD_interleaved_elements();
- #endif /* GL_AMD_interleaved_elements */
- #ifdef GL_AMD_multi_draw_indirect
- if (glewExperimental || GLEW_AMD_multi_draw_indirect) GLEW_AMD_multi_draw_indirect = !_glewInit_GL_AMD_multi_draw_indirect();
- #endif /* GL_AMD_multi_draw_indirect */
- #ifdef GL_AMD_name_gen_delete
- if (glewExperimental || GLEW_AMD_name_gen_delete) GLEW_AMD_name_gen_delete = !_glewInit_GL_AMD_name_gen_delete();
- #endif /* GL_AMD_name_gen_delete */
- #ifdef GL_AMD_occlusion_query_event
- if (glewExperimental || GLEW_AMD_occlusion_query_event) GLEW_AMD_occlusion_query_event = !_glewInit_GL_AMD_occlusion_query_event();
- #endif /* GL_AMD_occlusion_query_event */
- #ifdef GL_AMD_performance_monitor
- if (glewExperimental || GLEW_AMD_performance_monitor) GLEW_AMD_performance_monitor = !_glewInit_GL_AMD_performance_monitor();
- #endif /* GL_AMD_performance_monitor */
- #ifdef GL_AMD_sample_positions
- if (glewExperimental || GLEW_AMD_sample_positions) GLEW_AMD_sample_positions = !_glewInit_GL_AMD_sample_positions();
- #endif /* GL_AMD_sample_positions */
- #ifdef GL_AMD_sparse_texture
- if (glewExperimental || GLEW_AMD_sparse_texture) GLEW_AMD_sparse_texture = !_glewInit_GL_AMD_sparse_texture();
- #endif /* GL_AMD_sparse_texture */
- #ifdef GL_AMD_stencil_operation_extended
- if (glewExperimental || GLEW_AMD_stencil_operation_extended) GLEW_AMD_stencil_operation_extended = !_glewInit_GL_AMD_stencil_operation_extended();
- #endif /* GL_AMD_stencil_operation_extended */
- #ifdef GL_AMD_vertex_shader_tessellator
- if (glewExperimental || GLEW_AMD_vertex_shader_tessellator) GLEW_AMD_vertex_shader_tessellator = !_glewInit_GL_AMD_vertex_shader_tessellator();
- #endif /* GL_AMD_vertex_shader_tessellator */
- #ifdef GL_ANGLE_framebuffer_blit
- if (glewExperimental || GLEW_ANGLE_framebuffer_blit) GLEW_ANGLE_framebuffer_blit = !_glewInit_GL_ANGLE_framebuffer_blit();
- #endif /* GL_ANGLE_framebuffer_blit */
- #ifdef GL_ANGLE_framebuffer_multisample
- if (glewExperimental || GLEW_ANGLE_framebuffer_multisample) GLEW_ANGLE_framebuffer_multisample = !_glewInit_GL_ANGLE_framebuffer_multisample();
- #endif /* GL_ANGLE_framebuffer_multisample */
- #ifdef GL_ANGLE_instanced_arrays
- if (glewExperimental || GLEW_ANGLE_instanced_arrays) GLEW_ANGLE_instanced_arrays = !_glewInit_GL_ANGLE_instanced_arrays();
- #endif /* GL_ANGLE_instanced_arrays */
- #ifdef GL_ANGLE_timer_query
- if (glewExperimental || GLEW_ANGLE_timer_query) GLEW_ANGLE_timer_query = !_glewInit_GL_ANGLE_timer_query();
- #endif /* GL_ANGLE_timer_query */
- #ifdef GL_ANGLE_translated_shader_source
- if (glewExperimental || GLEW_ANGLE_translated_shader_source) GLEW_ANGLE_translated_shader_source = !_glewInit_GL_ANGLE_translated_shader_source();
- #endif /* GL_ANGLE_translated_shader_source */
- #ifdef GL_APPLE_copy_texture_levels
- if (glewExperimental || GLEW_APPLE_copy_texture_levels) GLEW_APPLE_copy_texture_levels = !_glewInit_GL_APPLE_copy_texture_levels();
- #endif /* GL_APPLE_copy_texture_levels */
- #ifdef GL_APPLE_element_array
- if (glewExperimental || GLEW_APPLE_element_array) GLEW_APPLE_element_array = !_glewInit_GL_APPLE_element_array();
- #endif /* GL_APPLE_element_array */
- #ifdef GL_APPLE_fence
- if (glewExperimental || GLEW_APPLE_fence) GLEW_APPLE_fence = !_glewInit_GL_APPLE_fence();
- #endif /* GL_APPLE_fence */
- #ifdef GL_APPLE_flush_buffer_range
- if (glewExperimental || GLEW_APPLE_flush_buffer_range) GLEW_APPLE_flush_buffer_range = !_glewInit_GL_APPLE_flush_buffer_range();
- #endif /* GL_APPLE_flush_buffer_range */
- #ifdef GL_APPLE_framebuffer_multisample
- if (glewExperimental || GLEW_APPLE_framebuffer_multisample) GLEW_APPLE_framebuffer_multisample = !_glewInit_GL_APPLE_framebuffer_multisample();
- #endif /* GL_APPLE_framebuffer_multisample */
- #ifdef GL_APPLE_object_purgeable
- if (glewExperimental || GLEW_APPLE_object_purgeable) GLEW_APPLE_object_purgeable = !_glewInit_GL_APPLE_object_purgeable();
- #endif /* GL_APPLE_object_purgeable */
- #ifdef GL_APPLE_sync
- if (glewExperimental || GLEW_APPLE_sync) GLEW_APPLE_sync = !_glewInit_GL_APPLE_sync();
- #endif /* GL_APPLE_sync */
- #ifdef GL_APPLE_texture_range
- if (glewExperimental || GLEW_APPLE_texture_range) GLEW_APPLE_texture_range = !_glewInit_GL_APPLE_texture_range();
- #endif /* GL_APPLE_texture_range */
- #ifdef GL_APPLE_vertex_array_object
- if (glewExperimental || GLEW_APPLE_vertex_array_object) GLEW_APPLE_vertex_array_object = !_glewInit_GL_APPLE_vertex_array_object();
- #endif /* GL_APPLE_vertex_array_object */
- #ifdef GL_APPLE_vertex_array_range
- if (glewExperimental || GLEW_APPLE_vertex_array_range) GLEW_APPLE_vertex_array_range = !_glewInit_GL_APPLE_vertex_array_range();
- #endif /* GL_APPLE_vertex_array_range */
- #ifdef GL_APPLE_vertex_program_evaluators
- if (glewExperimental || GLEW_APPLE_vertex_program_evaluators) GLEW_APPLE_vertex_program_evaluators = !_glewInit_GL_APPLE_vertex_program_evaluators();
- #endif /* GL_APPLE_vertex_program_evaluators */
- #ifdef GL_ARB_ES2_compatibility
- if (glewExperimental || GLEW_ARB_ES2_compatibility) GLEW_ARB_ES2_compatibility = !_glewInit_GL_ARB_ES2_compatibility();
- #endif /* GL_ARB_ES2_compatibility */
- #ifdef GL_ARB_ES3_1_compatibility
- if (glewExperimental || GLEW_ARB_ES3_1_compatibility) GLEW_ARB_ES3_1_compatibility = !_glewInit_GL_ARB_ES3_1_compatibility();
- #endif /* GL_ARB_ES3_1_compatibility */
- #ifdef GL_ARB_ES3_2_compatibility
- if (glewExperimental || GLEW_ARB_ES3_2_compatibility) GLEW_ARB_ES3_2_compatibility = !_glewInit_GL_ARB_ES3_2_compatibility();
- #endif /* GL_ARB_ES3_2_compatibility */
- #ifdef GL_ARB_base_instance
- if (glewExperimental || GLEW_ARB_base_instance) GLEW_ARB_base_instance = !_glewInit_GL_ARB_base_instance();
- #endif /* GL_ARB_base_instance */
- #ifdef GL_ARB_bindless_texture
- if (glewExperimental || GLEW_ARB_bindless_texture) GLEW_ARB_bindless_texture = !_glewInit_GL_ARB_bindless_texture();
- #endif /* GL_ARB_bindless_texture */
- #ifdef GL_ARB_blend_func_extended
- if (glewExperimental || GLEW_ARB_blend_func_extended) GLEW_ARB_blend_func_extended = !_glewInit_GL_ARB_blend_func_extended();
- #endif /* GL_ARB_blend_func_extended */
- #ifdef GL_ARB_buffer_storage
- if (glewExperimental || GLEW_ARB_buffer_storage) GLEW_ARB_buffer_storage = !_glewInit_GL_ARB_buffer_storage();
- #endif /* GL_ARB_buffer_storage */
- #ifdef GL_ARB_cl_event
- if (glewExperimental || GLEW_ARB_cl_event) GLEW_ARB_cl_event = !_glewInit_GL_ARB_cl_event();
- #endif /* GL_ARB_cl_event */
- #ifdef GL_ARB_clear_buffer_object
- if (glewExperimental || GLEW_ARB_clear_buffer_object) GLEW_ARB_clear_buffer_object = !_glewInit_GL_ARB_clear_buffer_object();
- #endif /* GL_ARB_clear_buffer_object */
- #ifdef GL_ARB_clear_texture
- if (glewExperimental || GLEW_ARB_clear_texture) GLEW_ARB_clear_texture = !_glewInit_GL_ARB_clear_texture();
- #endif /* GL_ARB_clear_texture */
- #ifdef GL_ARB_clip_control
- if (glewExperimental || GLEW_ARB_clip_control) GLEW_ARB_clip_control = !_glewInit_GL_ARB_clip_control();
- #endif /* GL_ARB_clip_control */
- #ifdef GL_ARB_color_buffer_float
- if (glewExperimental || GLEW_ARB_color_buffer_float) GLEW_ARB_color_buffer_float = !_glewInit_GL_ARB_color_buffer_float();
- #endif /* GL_ARB_color_buffer_float */
- #ifdef GL_ARB_compute_shader
- if (glewExperimental || GLEW_ARB_compute_shader) GLEW_ARB_compute_shader = !_glewInit_GL_ARB_compute_shader();
- #endif /* GL_ARB_compute_shader */
- #ifdef GL_ARB_compute_variable_group_size
- if (glewExperimental || GLEW_ARB_compute_variable_group_size) GLEW_ARB_compute_variable_group_size = !_glewInit_GL_ARB_compute_variable_group_size();
- #endif /* GL_ARB_compute_variable_group_size */
- #ifdef GL_ARB_copy_buffer
- if (glewExperimental || GLEW_ARB_copy_buffer) GLEW_ARB_copy_buffer = !_glewInit_GL_ARB_copy_buffer();
- #endif /* GL_ARB_copy_buffer */
- #ifdef GL_ARB_copy_image
- if (glewExperimental || GLEW_ARB_copy_image) GLEW_ARB_copy_image = !_glewInit_GL_ARB_copy_image();
- #endif /* GL_ARB_copy_image */
- #ifdef GL_ARB_debug_output
- if (glewExperimental || GLEW_ARB_debug_output) GLEW_ARB_debug_output = !_glewInit_GL_ARB_debug_output();
- #endif /* GL_ARB_debug_output */
- #ifdef GL_ARB_direct_state_access
- if (glewExperimental || GLEW_ARB_direct_state_access) GLEW_ARB_direct_state_access = !_glewInit_GL_ARB_direct_state_access();
- #endif /* GL_ARB_direct_state_access */
- #ifdef GL_ARB_draw_buffers
- if (glewExperimental || GLEW_ARB_draw_buffers) GLEW_ARB_draw_buffers = !_glewInit_GL_ARB_draw_buffers();
- #endif /* GL_ARB_draw_buffers */
- #ifdef GL_ARB_draw_buffers_blend
- if (glewExperimental || GLEW_ARB_draw_buffers_blend) GLEW_ARB_draw_buffers_blend = !_glewInit_GL_ARB_draw_buffers_blend();
- #endif /* GL_ARB_draw_buffers_blend */
- #ifdef GL_ARB_draw_elements_base_vertex
- if (glewExperimental || GLEW_ARB_draw_elements_base_vertex) GLEW_ARB_draw_elements_base_vertex = !_glewInit_GL_ARB_draw_elements_base_vertex();
- #endif /* GL_ARB_draw_elements_base_vertex */
- #ifdef GL_ARB_draw_indirect
- if (glewExperimental || GLEW_ARB_draw_indirect) GLEW_ARB_draw_indirect = !_glewInit_GL_ARB_draw_indirect();
- #endif /* GL_ARB_draw_indirect */
- #ifdef GL_ARB_framebuffer_no_attachments
- if (glewExperimental || GLEW_ARB_framebuffer_no_attachments) GLEW_ARB_framebuffer_no_attachments = !_glewInit_GL_ARB_framebuffer_no_attachments();
- #endif /* GL_ARB_framebuffer_no_attachments */
- #ifdef GL_ARB_framebuffer_object
- if (glewExperimental || GLEW_ARB_framebuffer_object) GLEW_ARB_framebuffer_object = !_glewInit_GL_ARB_framebuffer_object();
- #endif /* GL_ARB_framebuffer_object */
- #ifdef GL_ARB_geometry_shader4
- if (glewExperimental || GLEW_ARB_geometry_shader4) GLEW_ARB_geometry_shader4 = !_glewInit_GL_ARB_geometry_shader4();
- #endif /* GL_ARB_geometry_shader4 */
- #ifdef GL_ARB_get_program_binary
- if (glewExperimental || GLEW_ARB_get_program_binary) GLEW_ARB_get_program_binary = !_glewInit_GL_ARB_get_program_binary();
- #endif /* GL_ARB_get_program_binary */
- #ifdef GL_ARB_get_texture_sub_image
- if (glewExperimental || GLEW_ARB_get_texture_sub_image) GLEW_ARB_get_texture_sub_image = !_glewInit_GL_ARB_get_texture_sub_image();
- #endif /* GL_ARB_get_texture_sub_image */
- #ifdef GL_ARB_gl_spirv
- if (glewExperimental || GLEW_ARB_gl_spirv) GLEW_ARB_gl_spirv = !_glewInit_GL_ARB_gl_spirv();
- #endif /* GL_ARB_gl_spirv */
- #ifdef GL_ARB_gpu_shader_fp64
- if (glewExperimental || GLEW_ARB_gpu_shader_fp64) GLEW_ARB_gpu_shader_fp64 = !_glewInit_GL_ARB_gpu_shader_fp64();
- #endif /* GL_ARB_gpu_shader_fp64 */
- #ifdef GL_ARB_gpu_shader_int64
- if (glewExperimental || GLEW_ARB_gpu_shader_int64) GLEW_ARB_gpu_shader_int64 = !_glewInit_GL_ARB_gpu_shader_int64();
- #endif /* GL_ARB_gpu_shader_int64 */
- #ifdef GL_ARB_imaging
- if (glewExperimental || GLEW_ARB_imaging) GLEW_ARB_imaging = !_glewInit_GL_ARB_imaging();
- #endif /* GL_ARB_imaging */
- #ifdef GL_ARB_indirect_parameters
- if (glewExperimental || GLEW_ARB_indirect_parameters) GLEW_ARB_indirect_parameters = !_glewInit_GL_ARB_indirect_parameters();
- #endif /* GL_ARB_indirect_parameters */
- #ifdef GL_ARB_instanced_arrays
- if (glewExperimental || GLEW_ARB_instanced_arrays) GLEW_ARB_instanced_arrays = !_glewInit_GL_ARB_instanced_arrays();
- #endif /* GL_ARB_instanced_arrays */
- #ifdef GL_ARB_internalformat_query
- if (glewExperimental || GLEW_ARB_internalformat_query) GLEW_ARB_internalformat_query = !_glewInit_GL_ARB_internalformat_query();
- #endif /* GL_ARB_internalformat_query */
- #ifdef GL_ARB_internalformat_query2
- if (glewExperimental || GLEW_ARB_internalformat_query2) GLEW_ARB_internalformat_query2 = !_glewInit_GL_ARB_internalformat_query2();
- #endif /* GL_ARB_internalformat_query2 */
- #ifdef GL_ARB_invalidate_subdata
- if (glewExperimental || GLEW_ARB_invalidate_subdata) GLEW_ARB_invalidate_subdata = !_glewInit_GL_ARB_invalidate_subdata();
- #endif /* GL_ARB_invalidate_subdata */
- #ifdef GL_ARB_map_buffer_range
- if (glewExperimental || GLEW_ARB_map_buffer_range) GLEW_ARB_map_buffer_range = !_glewInit_GL_ARB_map_buffer_range();
- #endif /* GL_ARB_map_buffer_range */
- #ifdef GL_ARB_matrix_palette
- if (glewExperimental || GLEW_ARB_matrix_palette) GLEW_ARB_matrix_palette = !_glewInit_GL_ARB_matrix_palette();
- #endif /* GL_ARB_matrix_palette */
- #ifdef GL_ARB_multi_bind
- if (glewExperimental || GLEW_ARB_multi_bind) GLEW_ARB_multi_bind = !_glewInit_GL_ARB_multi_bind();
- #endif /* GL_ARB_multi_bind */
- #ifdef GL_ARB_multi_draw_indirect
- if (glewExperimental || GLEW_ARB_multi_draw_indirect) GLEW_ARB_multi_draw_indirect = !_glewInit_GL_ARB_multi_draw_indirect();
- #endif /* GL_ARB_multi_draw_indirect */
- #ifdef GL_ARB_multisample
- if (glewExperimental || GLEW_ARB_multisample) GLEW_ARB_multisample = !_glewInit_GL_ARB_multisample();
- #endif /* GL_ARB_multisample */
- #ifdef GL_ARB_multitexture
- if (glewExperimental || GLEW_ARB_multitexture) GLEW_ARB_multitexture = !_glewInit_GL_ARB_multitexture();
- #endif /* GL_ARB_multitexture */
- #ifdef GL_ARB_occlusion_query
- if (glewExperimental || GLEW_ARB_occlusion_query) GLEW_ARB_occlusion_query = !_glewInit_GL_ARB_occlusion_query();
- #endif /* GL_ARB_occlusion_query */
- #ifdef GL_ARB_parallel_shader_compile
- if (glewExperimental || GLEW_ARB_parallel_shader_compile) GLEW_ARB_parallel_shader_compile = !_glewInit_GL_ARB_parallel_shader_compile();
- #endif /* GL_ARB_parallel_shader_compile */
- #ifdef GL_ARB_point_parameters
- if (glewExperimental || GLEW_ARB_point_parameters) GLEW_ARB_point_parameters = !_glewInit_GL_ARB_point_parameters();
- #endif /* GL_ARB_point_parameters */
- #ifdef GL_ARB_polygon_offset_clamp
- if (glewExperimental || GLEW_ARB_polygon_offset_clamp) GLEW_ARB_polygon_offset_clamp = !_glewInit_GL_ARB_polygon_offset_clamp();
- #endif /* GL_ARB_polygon_offset_clamp */
- #ifdef GL_ARB_program_interface_query
- if (glewExperimental || GLEW_ARB_program_interface_query) GLEW_ARB_program_interface_query = !_glewInit_GL_ARB_program_interface_query();
- #endif /* GL_ARB_program_interface_query */
- #ifdef GL_ARB_provoking_vertex
- if (glewExperimental || GLEW_ARB_provoking_vertex) GLEW_ARB_provoking_vertex = !_glewInit_GL_ARB_provoking_vertex();
- #endif /* GL_ARB_provoking_vertex */
- #ifdef GL_ARB_robustness
- if (glewExperimental || GLEW_ARB_robustness) GLEW_ARB_robustness = !_glewInit_GL_ARB_robustness();
- #endif /* GL_ARB_robustness */
- #ifdef GL_ARB_sample_locations
- if (glewExperimental || GLEW_ARB_sample_locations) GLEW_ARB_sample_locations = !_glewInit_GL_ARB_sample_locations();
- #endif /* GL_ARB_sample_locations */
- #ifdef GL_ARB_sample_shading
- if (glewExperimental || GLEW_ARB_sample_shading) GLEW_ARB_sample_shading = !_glewInit_GL_ARB_sample_shading();
- #endif /* GL_ARB_sample_shading */
- #ifdef GL_ARB_sampler_objects
- if (glewExperimental || GLEW_ARB_sampler_objects) GLEW_ARB_sampler_objects = !_glewInit_GL_ARB_sampler_objects();
- #endif /* GL_ARB_sampler_objects */
- #ifdef GL_ARB_separate_shader_objects
- if (glewExperimental || GLEW_ARB_separate_shader_objects) GLEW_ARB_separate_shader_objects = !_glewInit_GL_ARB_separate_shader_objects();
- #endif /* GL_ARB_separate_shader_objects */
- #ifdef GL_ARB_shader_atomic_counters
- if (glewExperimental || GLEW_ARB_shader_atomic_counters) GLEW_ARB_shader_atomic_counters = !_glewInit_GL_ARB_shader_atomic_counters();
- #endif /* GL_ARB_shader_atomic_counters */
- #ifdef GL_ARB_shader_image_load_store
- if (glewExperimental || GLEW_ARB_shader_image_load_store) GLEW_ARB_shader_image_load_store = !_glewInit_GL_ARB_shader_image_load_store();
- #endif /* GL_ARB_shader_image_load_store */
- #ifdef GL_ARB_shader_objects
- if (glewExperimental || GLEW_ARB_shader_objects) GLEW_ARB_shader_objects = !_glewInit_GL_ARB_shader_objects();
- #endif /* GL_ARB_shader_objects */
- #ifdef GL_ARB_shader_storage_buffer_object
- if (glewExperimental || GLEW_ARB_shader_storage_buffer_object) GLEW_ARB_shader_storage_buffer_object = !_glewInit_GL_ARB_shader_storage_buffer_object();
- #endif /* GL_ARB_shader_storage_buffer_object */
- #ifdef GL_ARB_shader_subroutine
- if (glewExperimental || GLEW_ARB_shader_subroutine) GLEW_ARB_shader_subroutine = !_glewInit_GL_ARB_shader_subroutine();
- #endif /* GL_ARB_shader_subroutine */
- #ifdef GL_ARB_shading_language_include
- if (glewExperimental || GLEW_ARB_shading_language_include) GLEW_ARB_shading_language_include = !_glewInit_GL_ARB_shading_language_include();
- #endif /* GL_ARB_shading_language_include */
- #ifdef GL_ARB_sparse_buffer
- if (glewExperimental || GLEW_ARB_sparse_buffer) GLEW_ARB_sparse_buffer = !_glewInit_GL_ARB_sparse_buffer();
- #endif /* GL_ARB_sparse_buffer */
- #ifdef GL_ARB_sparse_texture
- if (glewExperimental || GLEW_ARB_sparse_texture) GLEW_ARB_sparse_texture = !_glewInit_GL_ARB_sparse_texture();
- #endif /* GL_ARB_sparse_texture */
- #ifdef GL_ARB_sync
- if (glewExperimental || GLEW_ARB_sync) GLEW_ARB_sync = !_glewInit_GL_ARB_sync();
- #endif /* GL_ARB_sync */
- #ifdef GL_ARB_tessellation_shader
- if (glewExperimental || GLEW_ARB_tessellation_shader) GLEW_ARB_tessellation_shader = !_glewInit_GL_ARB_tessellation_shader();
- #endif /* GL_ARB_tessellation_shader */
- #ifdef GL_ARB_texture_barrier
- if (glewExperimental || GLEW_ARB_texture_barrier) GLEW_ARB_texture_barrier = !_glewInit_GL_ARB_texture_barrier();
- #endif /* GL_ARB_texture_barrier */
- #ifdef GL_ARB_texture_buffer_object
- if (glewExperimental || GLEW_ARB_texture_buffer_object) GLEW_ARB_texture_buffer_object = !_glewInit_GL_ARB_texture_buffer_object();
- #endif /* GL_ARB_texture_buffer_object */
- #ifdef GL_ARB_texture_buffer_range
- if (glewExperimental || GLEW_ARB_texture_buffer_range) GLEW_ARB_texture_buffer_range = !_glewInit_GL_ARB_texture_buffer_range();
- #endif /* GL_ARB_texture_buffer_range */
- #ifdef GL_ARB_texture_compression
- if (glewExperimental || GLEW_ARB_texture_compression) GLEW_ARB_texture_compression = !_glewInit_GL_ARB_texture_compression();
- #endif /* GL_ARB_texture_compression */
- #ifdef GL_ARB_texture_multisample
- if (glewExperimental || GLEW_ARB_texture_multisample) GLEW_ARB_texture_multisample = !_glewInit_GL_ARB_texture_multisample();
- #endif /* GL_ARB_texture_multisample */
- #ifdef GL_ARB_texture_storage
- if (glewExperimental || GLEW_ARB_texture_storage) GLEW_ARB_texture_storage = !_glewInit_GL_ARB_texture_storage();
- #endif /* GL_ARB_texture_storage */
- #ifdef GL_ARB_texture_storage_multisample
- if (glewExperimental || GLEW_ARB_texture_storage_multisample) GLEW_ARB_texture_storage_multisample = !_glewInit_GL_ARB_texture_storage_multisample();
- #endif /* GL_ARB_texture_storage_multisample */
- #ifdef GL_ARB_texture_view
- if (glewExperimental || GLEW_ARB_texture_view) GLEW_ARB_texture_view = !_glewInit_GL_ARB_texture_view();
- #endif /* GL_ARB_texture_view */
- #ifdef GL_ARB_timer_query
- if (glewExperimental || GLEW_ARB_timer_query) GLEW_ARB_timer_query = !_glewInit_GL_ARB_timer_query();
- #endif /* GL_ARB_timer_query */
- #ifdef GL_ARB_transform_feedback2
- if (glewExperimental || GLEW_ARB_transform_feedback2) GLEW_ARB_transform_feedback2 = !_glewInit_GL_ARB_transform_feedback2();
- #endif /* GL_ARB_transform_feedback2 */
- #ifdef GL_ARB_transform_feedback3
- if (glewExperimental || GLEW_ARB_transform_feedback3) GLEW_ARB_transform_feedback3 = !_glewInit_GL_ARB_transform_feedback3();
- #endif /* GL_ARB_transform_feedback3 */
- #ifdef GL_ARB_transform_feedback_instanced
- if (glewExperimental || GLEW_ARB_transform_feedback_instanced) GLEW_ARB_transform_feedback_instanced = !_glewInit_GL_ARB_transform_feedback_instanced();
- #endif /* GL_ARB_transform_feedback_instanced */
- #ifdef GL_ARB_transpose_matrix
- if (glewExperimental || GLEW_ARB_transpose_matrix) GLEW_ARB_transpose_matrix = !_glewInit_GL_ARB_transpose_matrix();
- #endif /* GL_ARB_transpose_matrix */
- #ifdef GL_ARB_uniform_buffer_object
- if (glewExperimental || GLEW_ARB_uniform_buffer_object) GLEW_ARB_uniform_buffer_object = !_glewInit_GL_ARB_uniform_buffer_object();
- #endif /* GL_ARB_uniform_buffer_object */
- #ifdef GL_ARB_vertex_array_object
- if (glewExperimental || GLEW_ARB_vertex_array_object) GLEW_ARB_vertex_array_object = !_glewInit_GL_ARB_vertex_array_object();
- #endif /* GL_ARB_vertex_array_object */
- #ifdef GL_ARB_vertex_attrib_64bit
- if (glewExperimental || GLEW_ARB_vertex_attrib_64bit) GLEW_ARB_vertex_attrib_64bit = !_glewInit_GL_ARB_vertex_attrib_64bit();
- #endif /* GL_ARB_vertex_attrib_64bit */
- #ifdef GL_ARB_vertex_attrib_binding
- if (glewExperimental || GLEW_ARB_vertex_attrib_binding) GLEW_ARB_vertex_attrib_binding = !_glewInit_GL_ARB_vertex_attrib_binding();
- #endif /* GL_ARB_vertex_attrib_binding */
- #ifdef GL_ARB_vertex_blend
- if (glewExperimental || GLEW_ARB_vertex_blend) GLEW_ARB_vertex_blend = !_glewInit_GL_ARB_vertex_blend();
- #endif /* GL_ARB_vertex_blend */
- #ifdef GL_ARB_vertex_buffer_object
- if (glewExperimental || GLEW_ARB_vertex_buffer_object) GLEW_ARB_vertex_buffer_object = !_glewInit_GL_ARB_vertex_buffer_object();
- #endif /* GL_ARB_vertex_buffer_object */
- #ifdef GL_ARB_vertex_program
- if (glewExperimental || GLEW_ARB_vertex_program) GLEW_ARB_vertex_program = !_glewInit_GL_ARB_vertex_program();
- #endif /* GL_ARB_vertex_program */
- #ifdef GL_ARB_vertex_shader
- if (glewExperimental || GLEW_ARB_vertex_shader) { GLEW_ARB_vertex_shader = !_glewInit_GL_ARB_vertex_shader(); _glewInit_GL_ARB_vertex_program(); }
- #endif /* GL_ARB_vertex_shader */
- #ifdef GL_ARB_vertex_type_2_10_10_10_rev
- 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();
- #endif /* GL_ARB_vertex_type_2_10_10_10_rev */
- #ifdef GL_ARB_viewport_array
- if (glewExperimental || GLEW_ARB_viewport_array) GLEW_ARB_viewport_array = !_glewInit_GL_ARB_viewport_array();
- #endif /* GL_ARB_viewport_array */
- #ifdef GL_ARB_window_pos
- if (glewExperimental || GLEW_ARB_window_pos) GLEW_ARB_window_pos = !_glewInit_GL_ARB_window_pos();
- #endif /* GL_ARB_window_pos */
- #ifdef GL_ATI_draw_buffers
- if (glewExperimental || GLEW_ATI_draw_buffers) GLEW_ATI_draw_buffers = !_glewInit_GL_ATI_draw_buffers();
- #endif /* GL_ATI_draw_buffers */
- #ifdef GL_ATI_element_array
- if (glewExperimental || GLEW_ATI_element_array) GLEW_ATI_element_array = !_glewInit_GL_ATI_element_array();
- #endif /* GL_ATI_element_array */
- #ifdef GL_ATI_envmap_bumpmap
- if (glewExperimental || GLEW_ATI_envmap_bumpmap) GLEW_ATI_envmap_bumpmap = !_glewInit_GL_ATI_envmap_bumpmap();
- #endif /* GL_ATI_envmap_bumpmap */
- #ifdef GL_ATI_fragment_shader
- if (glewExperimental || GLEW_ATI_fragment_shader) GLEW_ATI_fragment_shader = !_glewInit_GL_ATI_fragment_shader();
- #endif /* GL_ATI_fragment_shader */
- #ifdef GL_ATI_map_object_buffer
- if (glewExperimental || GLEW_ATI_map_object_buffer) GLEW_ATI_map_object_buffer = !_glewInit_GL_ATI_map_object_buffer();
- #endif /* GL_ATI_map_object_buffer */
- #ifdef GL_ATI_pn_triangles
- if (glewExperimental || GLEW_ATI_pn_triangles) GLEW_ATI_pn_triangles = !_glewInit_GL_ATI_pn_triangles();
- #endif /* GL_ATI_pn_triangles */
- #ifdef GL_ATI_separate_stencil
- if (glewExperimental || GLEW_ATI_separate_stencil) GLEW_ATI_separate_stencil = !_glewInit_GL_ATI_separate_stencil();
- #endif /* GL_ATI_separate_stencil */
- #ifdef GL_ATI_vertex_array_object
- if (glewExperimental || GLEW_ATI_vertex_array_object) GLEW_ATI_vertex_array_object = !_glewInit_GL_ATI_vertex_array_object();
- #endif /* GL_ATI_vertex_array_object */
- #ifdef GL_ATI_vertex_attrib_array_object
- if (glewExperimental || GLEW_ATI_vertex_attrib_array_object) GLEW_ATI_vertex_attrib_array_object = !_glewInit_GL_ATI_vertex_attrib_array_object();
- #endif /* GL_ATI_vertex_attrib_array_object */
- #ifdef GL_ATI_vertex_streams
- if (glewExperimental || GLEW_ATI_vertex_streams) GLEW_ATI_vertex_streams = !_glewInit_GL_ATI_vertex_streams();
- #endif /* GL_ATI_vertex_streams */
- #ifdef GL_EXT_base_instance
- if (glewExperimental || GLEW_EXT_base_instance) GLEW_EXT_base_instance = !_glewInit_GL_EXT_base_instance();
- #endif /* GL_EXT_base_instance */
- #ifdef GL_EXT_bindable_uniform
- if (glewExperimental || GLEW_EXT_bindable_uniform) GLEW_EXT_bindable_uniform = !_glewInit_GL_EXT_bindable_uniform();
- #endif /* GL_EXT_bindable_uniform */
- #ifdef GL_EXT_blend_color
- if (glewExperimental || GLEW_EXT_blend_color) GLEW_EXT_blend_color = !_glewInit_GL_EXT_blend_color();
- #endif /* GL_EXT_blend_color */
- #ifdef GL_EXT_blend_equation_separate
- if (glewExperimental || GLEW_EXT_blend_equation_separate) GLEW_EXT_blend_equation_separate = !_glewInit_GL_EXT_blend_equation_separate();
- #endif /* GL_EXT_blend_equation_separate */
- #ifdef GL_EXT_blend_func_extended
- if (glewExperimental || GLEW_EXT_blend_func_extended) GLEW_EXT_blend_func_extended = !_glewInit_GL_EXT_blend_func_extended();
- #endif /* GL_EXT_blend_func_extended */
- #ifdef GL_EXT_blend_func_separate
- if (glewExperimental || GLEW_EXT_blend_func_separate) GLEW_EXT_blend_func_separate = !_glewInit_GL_EXT_blend_func_separate();
- #endif /* GL_EXT_blend_func_separate */
- #ifdef GL_EXT_blend_minmax
- if (glewExperimental || GLEW_EXT_blend_minmax) GLEW_EXT_blend_minmax = !_glewInit_GL_EXT_blend_minmax();
- #endif /* GL_EXT_blend_minmax */
- #ifdef GL_EXT_buffer_storage
- if (glewExperimental || GLEW_EXT_buffer_storage) GLEW_EXT_buffer_storage = !_glewInit_GL_EXT_buffer_storage();
- #endif /* GL_EXT_buffer_storage */
- #ifdef GL_EXT_clear_texture
- if (glewExperimental || GLEW_EXT_clear_texture) GLEW_EXT_clear_texture = !_glewInit_GL_EXT_clear_texture();
- #endif /* GL_EXT_clear_texture */
- #ifdef GL_EXT_color_subtable
- if (glewExperimental || GLEW_EXT_color_subtable) GLEW_EXT_color_subtable = !_glewInit_GL_EXT_color_subtable();
- #endif /* GL_EXT_color_subtable */
- #ifdef GL_EXT_compiled_vertex_array
- if (glewExperimental || GLEW_EXT_compiled_vertex_array) GLEW_EXT_compiled_vertex_array = !_glewInit_GL_EXT_compiled_vertex_array();
- #endif /* GL_EXT_compiled_vertex_array */
- #ifdef GL_EXT_convolution
- if (glewExperimental || GLEW_EXT_convolution) GLEW_EXT_convolution = !_glewInit_GL_EXT_convolution();
- #endif /* GL_EXT_convolution */
- #ifdef GL_EXT_coordinate_frame
- if (glewExperimental || GLEW_EXT_coordinate_frame) GLEW_EXT_coordinate_frame = !_glewInit_GL_EXT_coordinate_frame();
- #endif /* GL_EXT_coordinate_frame */
- #ifdef GL_EXT_copy_image
- if (glewExperimental || GLEW_EXT_copy_image) GLEW_EXT_copy_image = !_glewInit_GL_EXT_copy_image();
- #endif /* GL_EXT_copy_image */
- #ifdef GL_EXT_copy_texture
- if (glewExperimental || GLEW_EXT_copy_texture) GLEW_EXT_copy_texture = !_glewInit_GL_EXT_copy_texture();
- #endif /* GL_EXT_copy_texture */
- #ifdef GL_EXT_cull_vertex
- if (glewExperimental || GLEW_EXT_cull_vertex) GLEW_EXT_cull_vertex = !_glewInit_GL_EXT_cull_vertex();
- #endif /* GL_EXT_cull_vertex */
- #ifdef GL_EXT_debug_label
- if (glewExperimental || GLEW_EXT_debug_label) GLEW_EXT_debug_label = !_glewInit_GL_EXT_debug_label();
- #endif /* GL_EXT_debug_label */
- #ifdef GL_EXT_debug_marker
- if (glewExperimental || GLEW_EXT_debug_marker) GLEW_EXT_debug_marker = !_glewInit_GL_EXT_debug_marker();
- #endif /* GL_EXT_debug_marker */
- #ifdef GL_EXT_depth_bounds_test
- if (glewExperimental || GLEW_EXT_depth_bounds_test) GLEW_EXT_depth_bounds_test = !_glewInit_GL_EXT_depth_bounds_test();
- #endif /* GL_EXT_depth_bounds_test */
- #ifdef GL_EXT_direct_state_access
- if (glewExperimental || GLEW_EXT_direct_state_access) GLEW_EXT_direct_state_access = !_glewInit_GL_EXT_direct_state_access();
- #endif /* GL_EXT_direct_state_access */
- #ifdef GL_EXT_discard_framebuffer
- if (glewExperimental || GLEW_EXT_discard_framebuffer) GLEW_EXT_discard_framebuffer = !_glewInit_GL_EXT_discard_framebuffer();
- #endif /* GL_EXT_discard_framebuffer */
- #ifdef GL_EXT_draw_buffers
- if (glewExperimental || GLEW_EXT_draw_buffers) GLEW_EXT_draw_buffers = !_glewInit_GL_EXT_draw_buffers();
- #endif /* GL_EXT_draw_buffers */
- #ifdef GL_EXT_draw_buffers2
- if (glewExperimental || GLEW_EXT_draw_buffers2) GLEW_EXT_draw_buffers2 = !_glewInit_GL_EXT_draw_buffers2();
- #endif /* GL_EXT_draw_buffers2 */
- #ifdef GL_EXT_draw_buffers_indexed
- if (glewExperimental || GLEW_EXT_draw_buffers_indexed) GLEW_EXT_draw_buffers_indexed = !_glewInit_GL_EXT_draw_buffers_indexed();
- #endif /* GL_EXT_draw_buffers_indexed */
- #ifdef GL_EXT_draw_elements_base_vertex
- if (glewExperimental || GLEW_EXT_draw_elements_base_vertex) GLEW_EXT_draw_elements_base_vertex = !_glewInit_GL_EXT_draw_elements_base_vertex();
- #endif /* GL_EXT_draw_elements_base_vertex */
- #ifdef GL_EXT_draw_instanced
- if (glewExperimental || GLEW_EXT_draw_instanced) GLEW_EXT_draw_instanced = !_glewInit_GL_EXT_draw_instanced();
- #endif /* GL_EXT_draw_instanced */
- #ifdef GL_EXT_draw_range_elements
- if (glewExperimental || GLEW_EXT_draw_range_elements) GLEW_EXT_draw_range_elements = !_glewInit_GL_EXT_draw_range_elements();
- #endif /* GL_EXT_draw_range_elements */
- #ifdef GL_EXT_external_buffer
- if (glewExperimental || GLEW_EXT_external_buffer) GLEW_EXT_external_buffer = !_glewInit_GL_EXT_external_buffer();
- #endif /* GL_EXT_external_buffer */
- #ifdef GL_EXT_fog_coord
- if (glewExperimental || GLEW_EXT_fog_coord) GLEW_EXT_fog_coord = !_glewInit_GL_EXT_fog_coord();
- #endif /* GL_EXT_fog_coord */
- #ifdef GL_EXT_fragment_lighting
- if (glewExperimental || GLEW_EXT_fragment_lighting) GLEW_EXT_fragment_lighting = !_glewInit_GL_EXT_fragment_lighting();
- #endif /* GL_EXT_fragment_lighting */
- #ifdef GL_EXT_framebuffer_blit
- if (glewExperimental || GLEW_EXT_framebuffer_blit) GLEW_EXT_framebuffer_blit = !_glewInit_GL_EXT_framebuffer_blit();
- #endif /* GL_EXT_framebuffer_blit */
- #ifdef GL_EXT_framebuffer_multisample
- if (glewExperimental || GLEW_EXT_framebuffer_multisample) GLEW_EXT_framebuffer_multisample = !_glewInit_GL_EXT_framebuffer_multisample();
- #endif /* GL_EXT_framebuffer_multisample */
- #ifdef GL_EXT_framebuffer_object
- if (glewExperimental || GLEW_EXT_framebuffer_object) GLEW_EXT_framebuffer_object = !_glewInit_GL_EXT_framebuffer_object();
- #endif /* GL_EXT_framebuffer_object */
- #ifdef GL_EXT_geometry_shader4
- if (glewExperimental || GLEW_EXT_geometry_shader4) GLEW_EXT_geometry_shader4 = !_glewInit_GL_EXT_geometry_shader4();
- #endif /* GL_EXT_geometry_shader4 */
- #ifdef GL_EXT_gpu_program_parameters
- if (glewExperimental || GLEW_EXT_gpu_program_parameters) GLEW_EXT_gpu_program_parameters = !_glewInit_GL_EXT_gpu_program_parameters();
- #endif /* GL_EXT_gpu_program_parameters */
- #ifdef GL_EXT_gpu_shader4
- if (glewExperimental || GLEW_EXT_gpu_shader4) GLEW_EXT_gpu_shader4 = !_glewInit_GL_EXT_gpu_shader4();
- #endif /* GL_EXT_gpu_shader4 */
- #ifdef GL_EXT_histogram
- if (glewExperimental || GLEW_EXT_histogram) GLEW_EXT_histogram = !_glewInit_GL_EXT_histogram();
- #endif /* GL_EXT_histogram */
- #ifdef GL_EXT_index_func
- if (glewExperimental || GLEW_EXT_index_func) GLEW_EXT_index_func = !_glewInit_GL_EXT_index_func();
- #endif /* GL_EXT_index_func */
- #ifdef GL_EXT_index_material
- if (glewExperimental || GLEW_EXT_index_material) GLEW_EXT_index_material = !_glewInit_GL_EXT_index_material();
- #endif /* GL_EXT_index_material */
- #ifdef GL_EXT_instanced_arrays
- if (glewExperimental || GLEW_EXT_instanced_arrays) GLEW_EXT_instanced_arrays = !_glewInit_GL_EXT_instanced_arrays();
- #endif /* GL_EXT_instanced_arrays */
- #ifdef GL_EXT_light_texture
- if (glewExperimental || GLEW_EXT_light_texture) GLEW_EXT_light_texture = !_glewInit_GL_EXT_light_texture();
- #endif /* GL_EXT_light_texture */
- #ifdef GL_EXT_map_buffer_range
- if (glewExperimental || GLEW_EXT_map_buffer_range) GLEW_EXT_map_buffer_range = !_glewInit_GL_EXT_map_buffer_range();
- #endif /* GL_EXT_map_buffer_range */
- #ifdef GL_EXT_memory_object
- if (glewExperimental || GLEW_EXT_memory_object) GLEW_EXT_memory_object = !_glewInit_GL_EXT_memory_object();
- #endif /* GL_EXT_memory_object */
- #ifdef GL_EXT_memory_object_fd
- if (glewExperimental || GLEW_EXT_memory_object_fd) GLEW_EXT_memory_object_fd = !_glewInit_GL_EXT_memory_object_fd();
- #endif /* GL_EXT_memory_object_fd */
- #ifdef GL_EXT_memory_object_win32
- if (glewExperimental || GLEW_EXT_memory_object_win32) GLEW_EXT_memory_object_win32 = !_glewInit_GL_EXT_memory_object_win32();
- #endif /* GL_EXT_memory_object_win32 */
- #ifdef GL_EXT_multi_draw_arrays
- if (glewExperimental || GLEW_EXT_multi_draw_arrays) GLEW_EXT_multi_draw_arrays = !_glewInit_GL_EXT_multi_draw_arrays();
- #endif /* GL_EXT_multi_draw_arrays */
- #ifdef GL_EXT_multi_draw_indirect
- if (glewExperimental || GLEW_EXT_multi_draw_indirect) GLEW_EXT_multi_draw_indirect = !_glewInit_GL_EXT_multi_draw_indirect();
- #endif /* GL_EXT_multi_draw_indirect */
- #ifdef GL_EXT_multisample
- if (glewExperimental || GLEW_EXT_multisample) GLEW_EXT_multisample = !_glewInit_GL_EXT_multisample();
- #endif /* GL_EXT_multisample */
- #ifdef GL_EXT_multisampled_render_to_texture
- if (glewExperimental || GLEW_EXT_multisampled_render_to_texture) GLEW_EXT_multisampled_render_to_texture = !_glewInit_GL_EXT_multisampled_render_to_texture();
- #endif /* GL_EXT_multisampled_render_to_texture */
- #ifdef GL_EXT_multiview_draw_buffers
- if (glewExperimental || GLEW_EXT_multiview_draw_buffers) GLEW_EXT_multiview_draw_buffers = !_glewInit_GL_EXT_multiview_draw_buffers();
- #endif /* GL_EXT_multiview_draw_buffers */
- #ifdef GL_EXT_paletted_texture
- if (glewExperimental || GLEW_EXT_paletted_texture) GLEW_EXT_paletted_texture = !_glewInit_GL_EXT_paletted_texture();
- #endif /* GL_EXT_paletted_texture */
- #ifdef GL_EXT_pixel_transform
- if (glewExperimental || GLEW_EXT_pixel_transform) GLEW_EXT_pixel_transform = !_glewInit_GL_EXT_pixel_transform();
- #endif /* GL_EXT_pixel_transform */
- #ifdef GL_EXT_point_parameters
- if (glewExperimental || GLEW_EXT_point_parameters) GLEW_EXT_point_parameters = !_glewInit_GL_EXT_point_parameters();
- #endif /* GL_EXT_point_parameters */
- #ifdef GL_EXT_polygon_offset
- if (glewExperimental || GLEW_EXT_polygon_offset) GLEW_EXT_polygon_offset = !_glewInit_GL_EXT_polygon_offset();
- #endif /* GL_EXT_polygon_offset */
- #ifdef GL_EXT_polygon_offset_clamp
- if (glewExperimental || GLEW_EXT_polygon_offset_clamp) GLEW_EXT_polygon_offset_clamp = !_glewInit_GL_EXT_polygon_offset_clamp();
- #endif /* GL_EXT_polygon_offset_clamp */
- #ifdef GL_EXT_provoking_vertex
- if (glewExperimental || GLEW_EXT_provoking_vertex) GLEW_EXT_provoking_vertex = !_glewInit_GL_EXT_provoking_vertex();
- #endif /* GL_EXT_provoking_vertex */
- #ifdef GL_EXT_raster_multisample
- if (glewExperimental || GLEW_EXT_raster_multisample) GLEW_EXT_raster_multisample = !_glewInit_GL_EXT_raster_multisample();
- #endif /* GL_EXT_raster_multisample */
- #ifdef GL_EXT_scene_marker
- if (glewExperimental || GLEW_EXT_scene_marker) GLEW_EXT_scene_marker = !_glewInit_GL_EXT_scene_marker();
- #endif /* GL_EXT_scene_marker */
- #ifdef GL_EXT_secondary_color
- if (glewExperimental || GLEW_EXT_secondary_color) GLEW_EXT_secondary_color = !_glewInit_GL_EXT_secondary_color();
- #endif /* GL_EXT_secondary_color */
- #ifdef GL_EXT_semaphore
- if (glewExperimental || GLEW_EXT_semaphore) GLEW_EXT_semaphore = !_glewInit_GL_EXT_semaphore();
- #endif /* GL_EXT_semaphore */
- #ifdef GL_EXT_semaphore_fd
- if (glewExperimental || GLEW_EXT_semaphore_fd) GLEW_EXT_semaphore_fd = !_glewInit_GL_EXT_semaphore_fd();
- #endif /* GL_EXT_semaphore_fd */
- #ifdef GL_EXT_semaphore_win32
- if (glewExperimental || GLEW_EXT_semaphore_win32) GLEW_EXT_semaphore_win32 = !_glewInit_GL_EXT_semaphore_win32();
- #endif /* GL_EXT_semaphore_win32 */
- #ifdef GL_EXT_separate_shader_objects
- if (glewExperimental || GLEW_EXT_separate_shader_objects) GLEW_EXT_separate_shader_objects = !_glewInit_GL_EXT_separate_shader_objects();
- #endif /* GL_EXT_separate_shader_objects */
- #ifdef GL_EXT_shader_image_load_store
- if (glewExperimental || GLEW_EXT_shader_image_load_store) GLEW_EXT_shader_image_load_store = !_glewInit_GL_EXT_shader_image_load_store();
- #endif /* GL_EXT_shader_image_load_store */
- #ifdef GL_EXT_shader_pixel_local_storage2
- if (glewExperimental || GLEW_EXT_shader_pixel_local_storage2) GLEW_EXT_shader_pixel_local_storage2 = !_glewInit_GL_EXT_shader_pixel_local_storage2();
- #endif /* GL_EXT_shader_pixel_local_storage2 */
- #ifdef GL_EXT_sparse_texture
- if (glewExperimental || GLEW_EXT_sparse_texture) GLEW_EXT_sparse_texture = !_glewInit_GL_EXT_sparse_texture();
- #endif /* GL_EXT_sparse_texture */
- #ifdef GL_EXT_stencil_two_side
- if (glewExperimental || GLEW_EXT_stencil_two_side) GLEW_EXT_stencil_two_side = !_glewInit_GL_EXT_stencil_two_side();
- #endif /* GL_EXT_stencil_two_side */
- #ifdef GL_EXT_subtexture
- if (glewExperimental || GLEW_EXT_subtexture) GLEW_EXT_subtexture = !_glewInit_GL_EXT_subtexture();
- #endif /* GL_EXT_subtexture */
- #ifdef GL_EXT_texture3D
- if (glewExperimental || GLEW_EXT_texture3D) GLEW_EXT_texture3D = !_glewInit_GL_EXT_texture3D();
- #endif /* GL_EXT_texture3D */
- #ifdef GL_EXT_texture_array
- if (glewExperimental || GLEW_EXT_texture_array) GLEW_EXT_texture_array = !_glewInit_GL_EXT_texture_array();
- #endif /* GL_EXT_texture_array */
- #ifdef GL_EXT_texture_buffer_object
- if (glewExperimental || GLEW_EXT_texture_buffer_object) GLEW_EXT_texture_buffer_object = !_glewInit_GL_EXT_texture_buffer_object();
- #endif /* GL_EXT_texture_buffer_object */
- #ifdef GL_EXT_texture_integer
- if (glewExperimental || GLEW_EXT_texture_integer) GLEW_EXT_texture_integer = !_glewInit_GL_EXT_texture_integer();
- #endif /* GL_EXT_texture_integer */
- #ifdef GL_EXT_texture_object
- if (glewExperimental || GLEW_EXT_texture_object) GLEW_EXT_texture_object = !_glewInit_GL_EXT_texture_object();
- #endif /* GL_EXT_texture_object */
- #ifdef GL_EXT_texture_perturb_normal
- if (glewExperimental || GLEW_EXT_texture_perturb_normal) GLEW_EXT_texture_perturb_normal = !_glewInit_GL_EXT_texture_perturb_normal();
- #endif /* GL_EXT_texture_perturb_normal */
- #ifdef GL_EXT_texture_storage
- if (glewExperimental || GLEW_EXT_texture_storage) GLEW_EXT_texture_storage = !_glewInit_GL_EXT_texture_storage();
- #endif /* GL_EXT_texture_storage */
- #ifdef GL_EXT_texture_view
- if (glewExperimental || GLEW_EXT_texture_view) GLEW_EXT_texture_view = !_glewInit_GL_EXT_texture_view();
- #endif /* GL_EXT_texture_view */
- #ifdef GL_EXT_timer_query
- if (glewExperimental || GLEW_EXT_timer_query) GLEW_EXT_timer_query = !_glewInit_GL_EXT_timer_query();
- #endif /* GL_EXT_timer_query */
- #ifdef GL_EXT_transform_feedback
- if (glewExperimental || GLEW_EXT_transform_feedback) GLEW_EXT_transform_feedback = !_glewInit_GL_EXT_transform_feedback();
- #endif /* GL_EXT_transform_feedback */
- #ifdef GL_EXT_vertex_array
- if (glewExperimental || GLEW_EXT_vertex_array) GLEW_EXT_vertex_array = !_glewInit_GL_EXT_vertex_array();
- #endif /* GL_EXT_vertex_array */
- #ifdef GL_EXT_vertex_array_setXXX
- if (glewExperimental || GLEW_EXT_vertex_array_setXXX) GLEW_EXT_vertex_array_setXXX = !_glewInit_GL_EXT_vertex_array_setXXX();
- #endif /* GL_EXT_vertex_array_setXXX */
- #ifdef GL_EXT_vertex_attrib_64bit
- if (glewExperimental || GLEW_EXT_vertex_attrib_64bit) GLEW_EXT_vertex_attrib_64bit = !_glewInit_GL_EXT_vertex_attrib_64bit();
- #endif /* GL_EXT_vertex_attrib_64bit */
- #ifdef GL_EXT_vertex_shader
- if (glewExperimental || GLEW_EXT_vertex_shader) GLEW_EXT_vertex_shader = !_glewInit_GL_EXT_vertex_shader();
- #endif /* GL_EXT_vertex_shader */
- #ifdef GL_EXT_vertex_weighting
- if (glewExperimental || GLEW_EXT_vertex_weighting) GLEW_EXT_vertex_weighting = !_glewInit_GL_EXT_vertex_weighting();
- #endif /* GL_EXT_vertex_weighting */
- #ifdef GL_EXT_win32_keyed_mutex
- if (glewExperimental || GLEW_EXT_win32_keyed_mutex) GLEW_EXT_win32_keyed_mutex = !_glewInit_GL_EXT_win32_keyed_mutex();
- #endif /* GL_EXT_win32_keyed_mutex */
- #ifdef GL_EXT_window_rectangles
- if (glewExperimental || GLEW_EXT_window_rectangles) GLEW_EXT_window_rectangles = !_glewInit_GL_EXT_window_rectangles();
- #endif /* GL_EXT_window_rectangles */
- #ifdef GL_EXT_x11_sync_object
- if (glewExperimental || GLEW_EXT_x11_sync_object) GLEW_EXT_x11_sync_object = !_glewInit_GL_EXT_x11_sync_object();
- #endif /* GL_EXT_x11_sync_object */
- #ifdef GL_GREMEDY_frame_terminator
- if (glewExperimental || GLEW_GREMEDY_frame_terminator) GLEW_GREMEDY_frame_terminator = !_glewInit_GL_GREMEDY_frame_terminator();
- #endif /* GL_GREMEDY_frame_terminator */
- #ifdef GL_GREMEDY_string_marker
- if (glewExperimental || GLEW_GREMEDY_string_marker) GLEW_GREMEDY_string_marker = !_glewInit_GL_GREMEDY_string_marker();
- #endif /* GL_GREMEDY_string_marker */
- #ifdef GL_HP_image_transform
- if (glewExperimental || GLEW_HP_image_transform) GLEW_HP_image_transform = !_glewInit_GL_HP_image_transform();
- #endif /* GL_HP_image_transform */
- #ifdef GL_IBM_multimode_draw_arrays
- if (glewExperimental || GLEW_IBM_multimode_draw_arrays) GLEW_IBM_multimode_draw_arrays = !_glewInit_GL_IBM_multimode_draw_arrays();
- #endif /* GL_IBM_multimode_draw_arrays */
- #ifdef GL_IBM_vertex_array_lists
- if (glewExperimental || GLEW_IBM_vertex_array_lists) GLEW_IBM_vertex_array_lists = !_glewInit_GL_IBM_vertex_array_lists();
- #endif /* GL_IBM_vertex_array_lists */
- #ifdef GL_INTEL_map_texture
- if (glewExperimental || GLEW_INTEL_map_texture) GLEW_INTEL_map_texture = !_glewInit_GL_INTEL_map_texture();
- #endif /* GL_INTEL_map_texture */
- #ifdef GL_INTEL_parallel_arrays
- if (glewExperimental || GLEW_INTEL_parallel_arrays) GLEW_INTEL_parallel_arrays = !_glewInit_GL_INTEL_parallel_arrays();
- #endif /* GL_INTEL_parallel_arrays */
- #ifdef GL_INTEL_performance_query
- if (glewExperimental || GLEW_INTEL_performance_query) GLEW_INTEL_performance_query = !_glewInit_GL_INTEL_performance_query();
- #endif /* GL_INTEL_performance_query */
- #ifdef GL_INTEL_texture_scissor
- if (glewExperimental || GLEW_INTEL_texture_scissor) GLEW_INTEL_texture_scissor = !_glewInit_GL_INTEL_texture_scissor();
- #endif /* GL_INTEL_texture_scissor */
- #ifdef GL_KHR_blend_equation_advanced
- if (glewExperimental || GLEW_KHR_blend_equation_advanced) GLEW_KHR_blend_equation_advanced = !_glewInit_GL_KHR_blend_equation_advanced();
- #endif /* GL_KHR_blend_equation_advanced */
- #ifdef GL_KHR_debug
- if (glewExperimental || GLEW_KHR_debug) GLEW_KHR_debug = !_glewInit_GL_KHR_debug();
- #endif /* GL_KHR_debug */
- #ifdef GL_KHR_parallel_shader_compile
- if (glewExperimental || GLEW_KHR_parallel_shader_compile) GLEW_KHR_parallel_shader_compile = !_glewInit_GL_KHR_parallel_shader_compile();
- #endif /* GL_KHR_parallel_shader_compile */
- #ifdef GL_KHR_robustness
- if (glewExperimental || GLEW_KHR_robustness) GLEW_KHR_robustness = !_glewInit_GL_KHR_robustness();
- #endif /* GL_KHR_robustness */
- #ifdef GL_KTX_buffer_region
- if (glewExperimental || GLEW_KTX_buffer_region) GLEW_KTX_buffer_region = !_glewInit_GL_KTX_buffer_region();
- #endif /* GL_KTX_buffer_region */
- #ifdef GL_MESA_resize_buffers
- if (glewExperimental || GLEW_MESA_resize_buffers) GLEW_MESA_resize_buffers = !_glewInit_GL_MESA_resize_buffers();
- #endif /* GL_MESA_resize_buffers */
- #ifdef GL_MESA_window_pos
- if (glewExperimental || GLEW_MESA_window_pos) GLEW_MESA_window_pos = !_glewInit_GL_MESA_window_pos();
- #endif /* GL_MESA_window_pos */
- #ifdef GL_NVX_conditional_render
- if (glewExperimental || GLEW_NVX_conditional_render) GLEW_NVX_conditional_render = !_glewInit_GL_NVX_conditional_render();
- #endif /* GL_NVX_conditional_render */
- #ifdef GL_NVX_linked_gpu_multicast
- if (glewExperimental || GLEW_NVX_linked_gpu_multicast) GLEW_NVX_linked_gpu_multicast = !_glewInit_GL_NVX_linked_gpu_multicast();
- #endif /* GL_NVX_linked_gpu_multicast */
- #ifdef GL_NV_3dvision_settings
- if (glewExperimental || GLEW_NV_3dvision_settings) GLEW_NV_3dvision_settings = !_glewInit_GL_NV_3dvision_settings();
- #endif /* GL_NV_3dvision_settings */
- #ifdef GL_NV_bindless_multi_draw_indirect
- if (glewExperimental || GLEW_NV_bindless_multi_draw_indirect) GLEW_NV_bindless_multi_draw_indirect = !_glewInit_GL_NV_bindless_multi_draw_indirect();
- #endif /* GL_NV_bindless_multi_draw_indirect */
- #ifdef GL_NV_bindless_multi_draw_indirect_count
- if (glewExperimental || GLEW_NV_bindless_multi_draw_indirect_count) GLEW_NV_bindless_multi_draw_indirect_count = !_glewInit_GL_NV_bindless_multi_draw_indirect_count();
- #endif /* GL_NV_bindless_multi_draw_indirect_count */
- #ifdef GL_NV_bindless_texture
- if (glewExperimental || GLEW_NV_bindless_texture) GLEW_NV_bindless_texture = !_glewInit_GL_NV_bindless_texture();
- #endif /* GL_NV_bindless_texture */
- #ifdef GL_NV_blend_equation_advanced
- if (glewExperimental || GLEW_NV_blend_equation_advanced) GLEW_NV_blend_equation_advanced = !_glewInit_GL_NV_blend_equation_advanced();
- #endif /* GL_NV_blend_equation_advanced */
- #ifdef GL_NV_clip_space_w_scaling
- if (glewExperimental || GLEW_NV_clip_space_w_scaling) GLEW_NV_clip_space_w_scaling = !_glewInit_GL_NV_clip_space_w_scaling();
- #endif /* GL_NV_clip_space_w_scaling */
- #ifdef GL_NV_command_list
- if (glewExperimental || GLEW_NV_command_list) GLEW_NV_command_list = !_glewInit_GL_NV_command_list();
- #endif /* GL_NV_command_list */
- #ifdef GL_NV_conditional_render
- if (glewExperimental || GLEW_NV_conditional_render) GLEW_NV_conditional_render = !_glewInit_GL_NV_conditional_render();
- #endif /* GL_NV_conditional_render */
- #ifdef GL_NV_conservative_raster
- if (glewExperimental || GLEW_NV_conservative_raster) GLEW_NV_conservative_raster = !_glewInit_GL_NV_conservative_raster();
- #endif /* GL_NV_conservative_raster */
- #ifdef GL_NV_conservative_raster_dilate
- if (glewExperimental || GLEW_NV_conservative_raster_dilate) GLEW_NV_conservative_raster_dilate = !_glewInit_GL_NV_conservative_raster_dilate();
- #endif /* GL_NV_conservative_raster_dilate */
- #ifdef GL_NV_conservative_raster_pre_snap_triangles
- if (glewExperimental || GLEW_NV_conservative_raster_pre_snap_triangles) GLEW_NV_conservative_raster_pre_snap_triangles = !_glewInit_GL_NV_conservative_raster_pre_snap_triangles();
- #endif /* GL_NV_conservative_raster_pre_snap_triangles */
- #ifdef GL_NV_copy_buffer
- if (glewExperimental || GLEW_NV_copy_buffer) GLEW_NV_copy_buffer = !_glewInit_GL_NV_copy_buffer();
- #endif /* GL_NV_copy_buffer */
- #ifdef GL_NV_copy_image
- if (glewExperimental || GLEW_NV_copy_image) GLEW_NV_copy_image = !_glewInit_GL_NV_copy_image();
- #endif /* GL_NV_copy_image */
- #ifdef GL_NV_depth_buffer_float
- if (glewExperimental || GLEW_NV_depth_buffer_float) GLEW_NV_depth_buffer_float = !_glewInit_GL_NV_depth_buffer_float();
- #endif /* GL_NV_depth_buffer_float */
- #ifdef GL_NV_draw_buffers
- if (glewExperimental || GLEW_NV_draw_buffers) GLEW_NV_draw_buffers = !_glewInit_GL_NV_draw_buffers();
- #endif /* GL_NV_draw_buffers */
- #ifdef GL_NV_draw_instanced
- if (glewExperimental || GLEW_NV_draw_instanced) GLEW_NV_draw_instanced = !_glewInit_GL_NV_draw_instanced();
- #endif /* GL_NV_draw_instanced */
- #ifdef GL_NV_draw_texture
- if (glewExperimental || GLEW_NV_draw_texture) GLEW_NV_draw_texture = !_glewInit_GL_NV_draw_texture();
- #endif /* GL_NV_draw_texture */
- #ifdef GL_NV_draw_vulkan_image
- if (glewExperimental || GLEW_NV_draw_vulkan_image) GLEW_NV_draw_vulkan_image = !_glewInit_GL_NV_draw_vulkan_image();
- #endif /* GL_NV_draw_vulkan_image */
- #ifdef GL_NV_evaluators
- if (glewExperimental || GLEW_NV_evaluators) GLEW_NV_evaluators = !_glewInit_GL_NV_evaluators();
- #endif /* GL_NV_evaluators */
- #ifdef GL_NV_explicit_multisample
- if (glewExperimental || GLEW_NV_explicit_multisample) GLEW_NV_explicit_multisample = !_glewInit_GL_NV_explicit_multisample();
- #endif /* GL_NV_explicit_multisample */
- #ifdef GL_NV_fence
- if (glewExperimental || GLEW_NV_fence) GLEW_NV_fence = !_glewInit_GL_NV_fence();
- #endif /* GL_NV_fence */
- #ifdef GL_NV_fragment_coverage_to_color
- if (glewExperimental || GLEW_NV_fragment_coverage_to_color) GLEW_NV_fragment_coverage_to_color = !_glewInit_GL_NV_fragment_coverage_to_color();
- #endif /* GL_NV_fragment_coverage_to_color */
- #ifdef GL_NV_fragment_program
- if (glewExperimental || GLEW_NV_fragment_program) GLEW_NV_fragment_program = !_glewInit_GL_NV_fragment_program();
- #endif /* GL_NV_fragment_program */
- #ifdef GL_NV_framebuffer_blit
- if (glewExperimental || GLEW_NV_framebuffer_blit) GLEW_NV_framebuffer_blit = !_glewInit_GL_NV_framebuffer_blit();
- #endif /* GL_NV_framebuffer_blit */
- #ifdef GL_NV_framebuffer_multisample
- if (glewExperimental || GLEW_NV_framebuffer_multisample) GLEW_NV_framebuffer_multisample = !_glewInit_GL_NV_framebuffer_multisample();
- #endif /* GL_NV_framebuffer_multisample */
- #ifdef GL_NV_framebuffer_multisample_coverage
- if (glewExperimental || GLEW_NV_framebuffer_multisample_coverage) GLEW_NV_framebuffer_multisample_coverage = !_glewInit_GL_NV_framebuffer_multisample_coverage();
- #endif /* GL_NV_framebuffer_multisample_coverage */
- #ifdef GL_NV_geometry_program4
- if (glewExperimental || GLEW_NV_geometry_program4) GLEW_NV_geometry_program4 = !_glewInit_GL_NV_geometry_program4();
- #endif /* GL_NV_geometry_program4 */
- #ifdef GL_NV_gpu_multicast
- if (glewExperimental || GLEW_NV_gpu_multicast) GLEW_NV_gpu_multicast = !_glewInit_GL_NV_gpu_multicast();
- #endif /* GL_NV_gpu_multicast */
- #ifdef GL_NV_gpu_program4
- if (glewExperimental || GLEW_NV_gpu_program4) GLEW_NV_gpu_program4 = !_glewInit_GL_NV_gpu_program4();
- #endif /* GL_NV_gpu_program4 */
- #ifdef GL_NV_gpu_shader5
- if (glewExperimental || GLEW_NV_gpu_shader5) GLEW_NV_gpu_shader5 = !_glewInit_GL_NV_gpu_shader5();
- #endif /* GL_NV_gpu_shader5 */
- #ifdef GL_NV_half_float
- if (glewExperimental || GLEW_NV_half_float) GLEW_NV_half_float = !_glewInit_GL_NV_half_float();
- #endif /* GL_NV_half_float */
- #ifdef GL_NV_instanced_arrays
- if (glewExperimental || GLEW_NV_instanced_arrays) GLEW_NV_instanced_arrays = !_glewInit_GL_NV_instanced_arrays();
- #endif /* GL_NV_instanced_arrays */
- #ifdef GL_NV_internalformat_sample_query
- if (glewExperimental || GLEW_NV_internalformat_sample_query) GLEW_NV_internalformat_sample_query = !_glewInit_GL_NV_internalformat_sample_query();
- #endif /* GL_NV_internalformat_sample_query */
- #ifdef GL_NV_non_square_matrices
- if (glewExperimental || GLEW_NV_non_square_matrices) GLEW_NV_non_square_matrices = !_glewInit_GL_NV_non_square_matrices();
- #endif /* GL_NV_non_square_matrices */
- #ifdef GL_NV_occlusion_query
- if (glewExperimental || GLEW_NV_occlusion_query) GLEW_NV_occlusion_query = !_glewInit_GL_NV_occlusion_query();
- #endif /* GL_NV_occlusion_query */
- #ifdef GL_NV_parameter_buffer_object
- if (glewExperimental || GLEW_NV_parameter_buffer_object) GLEW_NV_parameter_buffer_object = !_glewInit_GL_NV_parameter_buffer_object();
- #endif /* GL_NV_parameter_buffer_object */
- #ifdef GL_NV_path_rendering
- if (glewExperimental || GLEW_NV_path_rendering) GLEW_NV_path_rendering = !_glewInit_GL_NV_path_rendering();
- #endif /* GL_NV_path_rendering */
- #ifdef GL_NV_pixel_data_range
- if (glewExperimental || GLEW_NV_pixel_data_range) GLEW_NV_pixel_data_range = !_glewInit_GL_NV_pixel_data_range();
- #endif /* GL_NV_pixel_data_range */
- #ifdef GL_NV_point_sprite
- if (glewExperimental || GLEW_NV_point_sprite) GLEW_NV_point_sprite = !_glewInit_GL_NV_point_sprite();
- #endif /* GL_NV_point_sprite */
- #ifdef GL_NV_polygon_mode
- if (glewExperimental || GLEW_NV_polygon_mode) GLEW_NV_polygon_mode = !_glewInit_GL_NV_polygon_mode();
- #endif /* GL_NV_polygon_mode */
- #ifdef GL_NV_present_video
- if (glewExperimental || GLEW_NV_present_video) GLEW_NV_present_video = !_glewInit_GL_NV_present_video();
- #endif /* GL_NV_present_video */
- #ifdef GL_NV_primitive_restart
- if (glewExperimental || GLEW_NV_primitive_restart) GLEW_NV_primitive_restart = !_glewInit_GL_NV_primitive_restart();
- #endif /* GL_NV_primitive_restart */
- #ifdef GL_NV_register_combiners
- if (glewExperimental || GLEW_NV_register_combiners) GLEW_NV_register_combiners = !_glewInit_GL_NV_register_combiners();
- #endif /* GL_NV_register_combiners */
- #ifdef GL_NV_register_combiners2
- if (glewExperimental || GLEW_NV_register_combiners2) GLEW_NV_register_combiners2 = !_glewInit_GL_NV_register_combiners2();
- #endif /* GL_NV_register_combiners2 */
- #ifdef GL_NV_sample_locations
- if (glewExperimental || GLEW_NV_sample_locations) GLEW_NV_sample_locations = !_glewInit_GL_NV_sample_locations();
- #endif /* GL_NV_sample_locations */
- #ifdef GL_NV_shader_buffer_load
- if (glewExperimental || GLEW_NV_shader_buffer_load) GLEW_NV_shader_buffer_load = !_glewInit_GL_NV_shader_buffer_load();
- #endif /* GL_NV_shader_buffer_load */
- #ifdef GL_NV_texture_array
- if (glewExperimental || GLEW_NV_texture_array) GLEW_NV_texture_array = !_glewInit_GL_NV_texture_array();
- #endif /* GL_NV_texture_array */
- #ifdef GL_NV_texture_barrier
- if (glewExperimental || GLEW_NV_texture_barrier) GLEW_NV_texture_barrier = !_glewInit_GL_NV_texture_barrier();
- #endif /* GL_NV_texture_barrier */
- #ifdef GL_NV_texture_multisample
- if (glewExperimental || GLEW_NV_texture_multisample) GLEW_NV_texture_multisample = !_glewInit_GL_NV_texture_multisample();
- #endif /* GL_NV_texture_multisample */
- #ifdef GL_NV_transform_feedback
- if (glewExperimental || GLEW_NV_transform_feedback) GLEW_NV_transform_feedback = !_glewInit_GL_NV_transform_feedback();
- #endif /* GL_NV_transform_feedback */
- #ifdef GL_NV_transform_feedback2
- if (glewExperimental || GLEW_NV_transform_feedback2) GLEW_NV_transform_feedback2 = !_glewInit_GL_NV_transform_feedback2();
- #endif /* GL_NV_transform_feedback2 */
- #ifdef GL_NV_vdpau_interop
- if (glewExperimental || GLEW_NV_vdpau_interop) GLEW_NV_vdpau_interop = !_glewInit_GL_NV_vdpau_interop();
- #endif /* GL_NV_vdpau_interop */
- #ifdef GL_NV_vertex_array_range
- if (glewExperimental || GLEW_NV_vertex_array_range) GLEW_NV_vertex_array_range = !_glewInit_GL_NV_vertex_array_range();
- #endif /* GL_NV_vertex_array_range */
- #ifdef GL_NV_vertex_attrib_integer_64bit
- if (glewExperimental || GLEW_NV_vertex_attrib_integer_64bit) GLEW_NV_vertex_attrib_integer_64bit = !_glewInit_GL_NV_vertex_attrib_integer_64bit();
- #endif /* GL_NV_vertex_attrib_integer_64bit */
- #ifdef GL_NV_vertex_buffer_unified_memory
- if (glewExperimental || GLEW_NV_vertex_buffer_unified_memory) GLEW_NV_vertex_buffer_unified_memory = !_glewInit_GL_NV_vertex_buffer_unified_memory();
- #endif /* GL_NV_vertex_buffer_unified_memory */
- #ifdef GL_NV_vertex_program
- if (glewExperimental || GLEW_NV_vertex_program) GLEW_NV_vertex_program = !_glewInit_GL_NV_vertex_program();
- #endif /* GL_NV_vertex_program */
- #ifdef GL_NV_video_capture
- if (glewExperimental || GLEW_NV_video_capture) GLEW_NV_video_capture = !_glewInit_GL_NV_video_capture();
- #endif /* GL_NV_video_capture */
- #ifdef GL_NV_viewport_array
- if (glewExperimental || GLEW_NV_viewport_array) GLEW_NV_viewport_array = !_glewInit_GL_NV_viewport_array();
- #endif /* GL_NV_viewport_array */
- #ifdef GL_NV_viewport_swizzle
- if (glewExperimental || GLEW_NV_viewport_swizzle) GLEW_NV_viewport_swizzle = !_glewInit_GL_NV_viewport_swizzle();
- #endif /* GL_NV_viewport_swizzle */
- #ifdef GL_OVR_multiview
- if (glewExperimental || GLEW_OVR_multiview) GLEW_OVR_multiview = !_glewInit_GL_OVR_multiview();
- #endif /* GL_OVR_multiview */
- #ifdef GL_OVR_multiview_multisampled_render_to_texture
- if (glewExperimental || GLEW_OVR_multiview_multisampled_render_to_texture) GLEW_OVR_multiview_multisampled_render_to_texture = !_glewInit_GL_OVR_multiview_multisampled_render_to_texture();
- #endif /* GL_OVR_multiview_multisampled_render_to_texture */
- #ifdef GL_QCOM_alpha_test
- if (glewExperimental || GLEW_QCOM_alpha_test) GLEW_QCOM_alpha_test = !_glewInit_GL_QCOM_alpha_test();
- #endif /* GL_QCOM_alpha_test */
- #ifdef GL_QCOM_driver_control
- if (glewExperimental || GLEW_QCOM_driver_control) GLEW_QCOM_driver_control = !_glewInit_GL_QCOM_driver_control();
- #endif /* GL_QCOM_driver_control */
- #ifdef GL_QCOM_extended_get
- if (glewExperimental || GLEW_QCOM_extended_get) GLEW_QCOM_extended_get = !_glewInit_GL_QCOM_extended_get();
- #endif /* GL_QCOM_extended_get */
- #ifdef GL_QCOM_extended_get2
- if (glewExperimental || GLEW_QCOM_extended_get2) GLEW_QCOM_extended_get2 = !_glewInit_GL_QCOM_extended_get2();
- #endif /* GL_QCOM_extended_get2 */
- #ifdef GL_QCOM_framebuffer_foveated
- if (glewExperimental || GLEW_QCOM_framebuffer_foveated) GLEW_QCOM_framebuffer_foveated = !_glewInit_GL_QCOM_framebuffer_foveated();
- #endif /* GL_QCOM_framebuffer_foveated */
- #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
- if (glewExperimental || GLEW_QCOM_shader_framebuffer_fetch_noncoherent) GLEW_QCOM_shader_framebuffer_fetch_noncoherent = !_glewInit_GL_QCOM_shader_framebuffer_fetch_noncoherent();
- #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
- #ifdef GL_QCOM_tiled_rendering
- if (glewExperimental || GLEW_QCOM_tiled_rendering) GLEW_QCOM_tiled_rendering = !_glewInit_GL_QCOM_tiled_rendering();
- #endif /* GL_QCOM_tiled_rendering */
- #ifdef GL_REGAL_ES1_0_compatibility
- if (glewExperimental || GLEW_REGAL_ES1_0_compatibility) GLEW_REGAL_ES1_0_compatibility = !_glewInit_GL_REGAL_ES1_0_compatibility();
- #endif /* GL_REGAL_ES1_0_compatibility */
- #ifdef GL_REGAL_ES1_1_compatibility
- if (glewExperimental || GLEW_REGAL_ES1_1_compatibility) GLEW_REGAL_ES1_1_compatibility = !_glewInit_GL_REGAL_ES1_1_compatibility();
- #endif /* GL_REGAL_ES1_1_compatibility */
- #ifdef GL_REGAL_error_string
- if (glewExperimental || GLEW_REGAL_error_string) GLEW_REGAL_error_string = !_glewInit_GL_REGAL_error_string();
- #endif /* GL_REGAL_error_string */
- #ifdef GL_REGAL_extension_query
- if (glewExperimental || GLEW_REGAL_extension_query) GLEW_REGAL_extension_query = !_glewInit_GL_REGAL_extension_query();
- #endif /* GL_REGAL_extension_query */
- #ifdef GL_REGAL_log
- if (glewExperimental || GLEW_REGAL_log) GLEW_REGAL_log = !_glewInit_GL_REGAL_log();
- #endif /* GL_REGAL_log */
- #ifdef GL_REGAL_proc_address
- if (glewExperimental || GLEW_REGAL_proc_address) GLEW_REGAL_proc_address = !_glewInit_GL_REGAL_proc_address();
- #endif /* GL_REGAL_proc_address */
- #ifdef GL_SGIS_detail_texture
- if (glewExperimental || GLEW_SGIS_detail_texture) GLEW_SGIS_detail_texture = !_glewInit_GL_SGIS_detail_texture();
- #endif /* GL_SGIS_detail_texture */
- #ifdef GL_SGIS_fog_function
- if (glewExperimental || GLEW_SGIS_fog_function) GLEW_SGIS_fog_function = !_glewInit_GL_SGIS_fog_function();
- #endif /* GL_SGIS_fog_function */
- #ifdef GL_SGIS_multisample
- if (glewExperimental || GLEW_SGIS_multisample) GLEW_SGIS_multisample = !_glewInit_GL_SGIS_multisample();
- #endif /* GL_SGIS_multisample */
- #ifdef GL_SGIS_multitexture
- if (glewExperimental || GLEW_SGIS_multitexture) GLEW_SGIS_multitexture = !_glewInit_GL_SGIS_multitexture();
- #endif /* GL_SGIS_multitexture */
- #ifdef GL_SGIS_shared_multisample
- if (glewExperimental || GLEW_SGIS_shared_multisample) GLEW_SGIS_shared_multisample = !_glewInit_GL_SGIS_shared_multisample();
- #endif /* GL_SGIS_shared_multisample */
- #ifdef GL_SGIS_sharpen_texture
- if (glewExperimental || GLEW_SGIS_sharpen_texture) GLEW_SGIS_sharpen_texture = !_glewInit_GL_SGIS_sharpen_texture();
- #endif /* GL_SGIS_sharpen_texture */
- #ifdef GL_SGIS_texture4D
- if (glewExperimental || GLEW_SGIS_texture4D) GLEW_SGIS_texture4D = !_glewInit_GL_SGIS_texture4D();
- #endif /* GL_SGIS_texture4D */
- #ifdef GL_SGIS_texture_filter4
- if (glewExperimental || GLEW_SGIS_texture_filter4) GLEW_SGIS_texture_filter4 = !_glewInit_GL_SGIS_texture_filter4();
- #endif /* GL_SGIS_texture_filter4 */
- #ifdef GL_SGIX_async
- if (glewExperimental || GLEW_SGIX_async) GLEW_SGIX_async = !_glewInit_GL_SGIX_async();
- #endif /* GL_SGIX_async */
- #ifdef GL_SGIX_datapipe
- if (glewExperimental || GLEW_SGIX_datapipe) GLEW_SGIX_datapipe = !_glewInit_GL_SGIX_datapipe();
- #endif /* GL_SGIX_datapipe */
- #ifdef GL_SGIX_flush_raster
- if (glewExperimental || GLEW_SGIX_flush_raster) GLEW_SGIX_flush_raster = !_glewInit_GL_SGIX_flush_raster();
- #endif /* GL_SGIX_flush_raster */
- #ifdef GL_SGIX_fog_layers
- if (glewExperimental || GLEW_SGIX_fog_layers) GLEW_SGIX_fog_layers = !_glewInit_GL_SGIX_fog_layers();
- #endif /* GL_SGIX_fog_layers */
- #ifdef GL_SGIX_fog_texture
- if (glewExperimental || GLEW_SGIX_fog_texture) GLEW_SGIX_fog_texture = !_glewInit_GL_SGIX_fog_texture();
- #endif /* GL_SGIX_fog_texture */
- #ifdef GL_SGIX_fragment_specular_lighting
- if (glewExperimental || GLEW_SGIX_fragment_specular_lighting) GLEW_SGIX_fragment_specular_lighting = !_glewInit_GL_SGIX_fragment_specular_lighting();
- #endif /* GL_SGIX_fragment_specular_lighting */
- #ifdef GL_SGIX_framezoom
- if (glewExperimental || GLEW_SGIX_framezoom) GLEW_SGIX_framezoom = !_glewInit_GL_SGIX_framezoom();
- #endif /* GL_SGIX_framezoom */
- #ifdef GL_SGIX_igloo_interface
- if (glewExperimental || GLEW_SGIX_igloo_interface) GLEW_SGIX_igloo_interface = !_glewInit_GL_SGIX_igloo_interface();
- #endif /* GL_SGIX_igloo_interface */
- #ifdef GL_SGIX_mpeg1
- if (glewExperimental || GLEW_SGIX_mpeg1) GLEW_SGIX_mpeg1 = !_glewInit_GL_SGIX_mpeg1();
- #endif /* GL_SGIX_mpeg1 */
- #ifdef GL_SGIX_nonlinear_lighting_pervertex
- if (glewExperimental || GLEW_SGIX_nonlinear_lighting_pervertex) GLEW_SGIX_nonlinear_lighting_pervertex = !_glewInit_GL_SGIX_nonlinear_lighting_pervertex();
- #endif /* GL_SGIX_nonlinear_lighting_pervertex */
- #ifdef GL_SGIX_pixel_texture
- if (glewExperimental || GLEW_SGIX_pixel_texture) GLEW_SGIX_pixel_texture = !_glewInit_GL_SGIX_pixel_texture();
- #endif /* GL_SGIX_pixel_texture */
- #ifdef GL_SGIX_polynomial_ffd
- if (glewExperimental || GLEW_SGIX_polynomial_ffd) GLEW_SGIX_polynomial_ffd = !_glewInit_GL_SGIX_polynomial_ffd();
- #endif /* GL_SGIX_polynomial_ffd */
- #ifdef GL_SGIX_quad_mesh
- if (glewExperimental || GLEW_SGIX_quad_mesh) GLEW_SGIX_quad_mesh = !_glewInit_GL_SGIX_quad_mesh();
- #endif /* GL_SGIX_quad_mesh */
- #ifdef GL_SGIX_reference_plane
- if (glewExperimental || GLEW_SGIX_reference_plane) GLEW_SGIX_reference_plane = !_glewInit_GL_SGIX_reference_plane();
- #endif /* GL_SGIX_reference_plane */
- #ifdef GL_SGIX_sprite
- if (glewExperimental || GLEW_SGIX_sprite) GLEW_SGIX_sprite = !_glewInit_GL_SGIX_sprite();
- #endif /* GL_SGIX_sprite */
- #ifdef GL_SGIX_tag_sample_buffer
- if (glewExperimental || GLEW_SGIX_tag_sample_buffer) GLEW_SGIX_tag_sample_buffer = !_glewInit_GL_SGIX_tag_sample_buffer();
- #endif /* GL_SGIX_tag_sample_buffer */
- #ifdef GL_SGIX_vector_ops
- if (glewExperimental || GLEW_SGIX_vector_ops) GLEW_SGIX_vector_ops = !_glewInit_GL_SGIX_vector_ops();
- #endif /* GL_SGIX_vector_ops */
- #ifdef GL_SGIX_vertex_array_object
- if (glewExperimental || GLEW_SGIX_vertex_array_object) GLEW_SGIX_vertex_array_object = !_glewInit_GL_SGIX_vertex_array_object();
- #endif /* GL_SGIX_vertex_array_object */
- #ifdef GL_SGI_color_table
- if (glewExperimental || GLEW_SGI_color_table) GLEW_SGI_color_table = !_glewInit_GL_SGI_color_table();
- #endif /* GL_SGI_color_table */
- #ifdef GL_SGI_fft
- if (glewExperimental || GLEW_SGI_fft) GLEW_SGI_fft = !_glewInit_GL_SGI_fft();
- #endif /* GL_SGI_fft */
- #ifdef GL_SUNX_constant_data
- if (glewExperimental || GLEW_SUNX_constant_data) GLEW_SUNX_constant_data = !_glewInit_GL_SUNX_constant_data();
- #endif /* GL_SUNX_constant_data */
- #ifdef GL_SUN_global_alpha
- if (glewExperimental || GLEW_SUN_global_alpha) GLEW_SUN_global_alpha = !_glewInit_GL_SUN_global_alpha();
- #endif /* GL_SUN_global_alpha */
- #ifdef GL_SUN_read_video_pixels
- if (glewExperimental || GLEW_SUN_read_video_pixels) GLEW_SUN_read_video_pixels = !_glewInit_GL_SUN_read_video_pixels();
- #endif /* GL_SUN_read_video_pixels */
- #ifdef GL_SUN_triangle_list
- if (glewExperimental || GLEW_SUN_triangle_list) GLEW_SUN_triangle_list = !_glewInit_GL_SUN_triangle_list();
- #endif /* GL_SUN_triangle_list */
- #ifdef GL_SUN_vertex
- if (glewExperimental || GLEW_SUN_vertex) GLEW_SUN_vertex = !_glewInit_GL_SUN_vertex();
- #endif /* GL_SUN_vertex */
- #ifdef GL_WIN_swap_hint
- if (glewExperimental || GLEW_WIN_swap_hint) GLEW_WIN_swap_hint = !_glewInit_GL_WIN_swap_hint();
- #endif /* GL_WIN_swap_hint */
- #ifdef GL_NV_fragment_program4
- GLEW_NV_fragment_program4 = GLEW_NV_gpu_program4;
- #endif /* GL_NV_fragment_program4 */
- #ifdef GL_NV_geometry_program4
- GLEW_NV_geometry_program4 = GLEW_NV_gpu_program4;
- #endif /* GL_NV_geometry_program4 */
- #ifdef GL_NV_tessellation_program5
- GLEW_NV_tessellation_program5 = GLEW_NV_gpu_program5;
- #endif /* GL_NV_tessellation_program5 */
- #ifdef GL_NV_vertex_program4
- GLEW_NV_vertex_program4 = GLEW_NV_gpu_program4;
- #endif /* GL_NV_vertex_program4 */
- return GLEW_OK;
- }
- #if defined(GLEW_OSMESA)
- #elif defined(GLEW_EGL)
- PFNEGLCHOOSECONFIGPROC __eglewChooseConfig = NULL;
- PFNEGLCOPYBUFFERSPROC __eglewCopyBuffers = NULL;
- PFNEGLCREATECONTEXTPROC __eglewCreateContext = NULL;
- PFNEGLCREATEPBUFFERSURFACEPROC __eglewCreatePbufferSurface = NULL;
- PFNEGLCREATEPIXMAPSURFACEPROC __eglewCreatePixmapSurface = NULL;
- PFNEGLCREATEWINDOWSURFACEPROC __eglewCreateWindowSurface = NULL;
- PFNEGLDESTROYCONTEXTPROC __eglewDestroyContext = NULL;
- PFNEGLDESTROYSURFACEPROC __eglewDestroySurface = NULL;
- PFNEGLGETCONFIGATTRIBPROC __eglewGetConfigAttrib = NULL;
- PFNEGLGETCONFIGSPROC __eglewGetConfigs = NULL;
- PFNEGLGETCURRENTDISPLAYPROC __eglewGetCurrentDisplay = NULL;
- PFNEGLGETCURRENTSURFACEPROC __eglewGetCurrentSurface = NULL;
- PFNEGLGETDISPLAYPROC __eglewGetDisplay = NULL;
- PFNEGLGETERRORPROC __eglewGetError = NULL;
- PFNEGLINITIALIZEPROC __eglewInitialize = NULL;
- PFNEGLMAKECURRENTPROC __eglewMakeCurrent = NULL;
- PFNEGLQUERYCONTEXTPROC __eglewQueryContext = NULL;
- PFNEGLQUERYSTRINGPROC __eglewQueryString = NULL;
- PFNEGLQUERYSURFACEPROC __eglewQuerySurface = NULL;
- PFNEGLSWAPBUFFERSPROC __eglewSwapBuffers = NULL;
- PFNEGLTERMINATEPROC __eglewTerminate = NULL;
- PFNEGLWAITGLPROC __eglewWaitGL = NULL;
- PFNEGLWAITNATIVEPROC __eglewWaitNative = NULL;
- PFNEGLBINDTEXIMAGEPROC __eglewBindTexImage = NULL;
- PFNEGLRELEASETEXIMAGEPROC __eglewReleaseTexImage = NULL;
- PFNEGLSURFACEATTRIBPROC __eglewSurfaceAttrib = NULL;
- PFNEGLSWAPINTERVALPROC __eglewSwapInterval = NULL;
- PFNEGLBINDAPIPROC __eglewBindAPI = NULL;
- PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC __eglewCreatePbufferFromClientBuffer = NULL;
- PFNEGLQUERYAPIPROC __eglewQueryAPI = NULL;
- PFNEGLRELEASETHREADPROC __eglewReleaseThread = NULL;
- PFNEGLWAITCLIENTPROC __eglewWaitClient = NULL;
- PFNEGLGETCURRENTCONTEXTPROC __eglewGetCurrentContext = NULL;
- PFNEGLCLIENTWAITSYNCPROC __eglewClientWaitSync = NULL;
- PFNEGLCREATEIMAGEPROC __eglewCreateImage = NULL;
- PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC __eglewCreatePlatformPixmapSurface = NULL;
- PFNEGLCREATEPLATFORMWINDOWSURFACEPROC __eglewCreatePlatformWindowSurface = NULL;
- PFNEGLCREATESYNCPROC __eglewCreateSync = NULL;
- PFNEGLDESTROYIMAGEPROC __eglewDestroyImage = NULL;
- PFNEGLDESTROYSYNCPROC __eglewDestroySync = NULL;
- PFNEGLGETPLATFORMDISPLAYPROC __eglewGetPlatformDisplay = NULL;
- PFNEGLGETSYNCATTRIBPROC __eglewGetSyncAttrib = NULL;
- PFNEGLWAITSYNCPROC __eglewWaitSync = NULL;
- PFNEGLSETBLOBCACHEFUNCSANDROIDPROC __eglewSetBlobCacheFuncsANDROID = NULL;
- PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC __eglewCreateNativeClientBufferANDROID = NULL;
- PFNEGLDUPNATIVEFENCEFDANDROIDPROC __eglewDupNativeFenceFDANDROID = NULL;
- PFNEGLPRESENTATIONTIMEANDROIDPROC __eglewPresentationTimeANDROID = NULL;
- PFNEGLQUERYSURFACEPOINTERANGLEPROC __eglewQuerySurfacePointerANGLE = NULL;
- PFNEGLQUERYDEVICESEXTPROC __eglewQueryDevicesEXT = NULL;
- PFNEGLQUERYDEVICEATTRIBEXTPROC __eglewQueryDeviceAttribEXT = NULL;
- PFNEGLQUERYDEVICESTRINGEXTPROC __eglewQueryDeviceStringEXT = NULL;
- PFNEGLQUERYDISPLAYATTRIBEXTPROC __eglewQueryDisplayAttribEXT = NULL;
- PFNEGLQUERYDMABUFFORMATSEXTPROC __eglewQueryDmaBufFormatsEXT = NULL;
- PFNEGLQUERYDMABUFMODIFIERSEXTPROC __eglewQueryDmaBufModifiersEXT = NULL;
- PFNEGLGETOUTPUTLAYERSEXTPROC __eglewGetOutputLayersEXT = NULL;
- PFNEGLGETOUTPUTPORTSEXTPROC __eglewGetOutputPortsEXT = NULL;
- PFNEGLOUTPUTLAYERATTRIBEXTPROC __eglewOutputLayerAttribEXT = NULL;
- PFNEGLOUTPUTPORTATTRIBEXTPROC __eglewOutputPortAttribEXT = NULL;
- PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC __eglewQueryOutputLayerAttribEXT = NULL;
- PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC __eglewQueryOutputLayerStringEXT = NULL;
- PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC __eglewQueryOutputPortAttribEXT = NULL;
- PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC __eglewQueryOutputPortStringEXT = NULL;
- PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC __eglewCreatePlatformPixmapSurfaceEXT = NULL;
- PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC __eglewCreatePlatformWindowSurfaceEXT = NULL;
- PFNEGLGETPLATFORMDISPLAYEXTPROC __eglewGetPlatformDisplayEXT = NULL;
- PFNEGLSTREAMCONSUMEROUTPUTEXTPROC __eglewStreamConsumerOutputEXT = NULL;
- PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC __eglewSwapBuffersWithDamageEXT = NULL;
- PFNEGLCREATEPIXMAPSURFACEHIPROC __eglewCreatePixmapSurfaceHI = NULL;
- PFNEGLCREATESYNC64KHRPROC __eglewCreateSync64KHR = NULL;
- PFNEGLDEBUGMESSAGECONTROLKHRPROC __eglewDebugMessageControlKHR = NULL;
- PFNEGLLABELOBJECTKHRPROC __eglewLabelObjectKHR = NULL;
- PFNEGLQUERYDEBUGKHRPROC __eglewQueryDebugKHR = NULL;
- PFNEGLCREATEIMAGEKHRPROC __eglewCreateImageKHR = NULL;
- PFNEGLDESTROYIMAGEKHRPROC __eglewDestroyImageKHR = NULL;
- PFNEGLLOCKSURFACEKHRPROC __eglewLockSurfaceKHR = NULL;
- PFNEGLUNLOCKSURFACEKHRPROC __eglewUnlockSurfaceKHR = NULL;
- PFNEGLQUERYSURFACE64KHRPROC __eglewQuerySurface64KHR = NULL;
- PFNEGLSETDAMAGEREGIONKHRPROC __eglewSetDamageRegionKHR = NULL;
- PFNEGLCLIENTWAITSYNCKHRPROC __eglewClientWaitSyncKHR = NULL;
- PFNEGLCREATESYNCKHRPROC __eglewCreateSyncKHR = NULL;
- PFNEGLDESTROYSYNCKHRPROC __eglewDestroySyncKHR = NULL;
- PFNEGLGETSYNCATTRIBKHRPROC __eglewGetSyncAttribKHR = NULL;
- PFNEGLSIGNALSYNCKHRPROC __eglewSignalSyncKHR = NULL;
- PFNEGLCREATESTREAMKHRPROC __eglewCreateStreamKHR = NULL;
- PFNEGLDESTROYSTREAMKHRPROC __eglewDestroyStreamKHR = NULL;
- PFNEGLQUERYSTREAMKHRPROC __eglewQueryStreamKHR = NULL;
- PFNEGLQUERYSTREAMU64KHRPROC __eglewQueryStreamu64KHR = NULL;
- PFNEGLSTREAMATTRIBKHRPROC __eglewStreamAttribKHR = NULL;
- PFNEGLCREATESTREAMATTRIBKHRPROC __eglewCreateStreamAttribKHR = NULL;
- PFNEGLQUERYSTREAMATTRIBKHRPROC __eglewQueryStreamAttribKHR = NULL;
- PFNEGLSETSTREAMATTRIBKHRPROC __eglewSetStreamAttribKHR = NULL;
- PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC __eglewStreamConsumerAcquireAttribKHR = NULL;
- PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC __eglewStreamConsumerReleaseAttribKHR = NULL;
- PFNEGLSTREAMCONSUMERACQUIREKHRPROC __eglewStreamConsumerAcquireKHR = NULL;
- PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC __eglewStreamConsumerGLTextureExternalKHR = NULL;
- PFNEGLSTREAMCONSUMERRELEASEKHRPROC __eglewStreamConsumerReleaseKHR = NULL;
- PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC __eglewCreateStreamFromFileDescriptorKHR = NULL;
- PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC __eglewGetStreamFileDescriptorKHR = NULL;
- PFNEGLQUERYSTREAMTIMEKHRPROC __eglewQueryStreamTimeKHR = NULL;
- PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC __eglewCreateStreamProducerSurfaceKHR = NULL;
- PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC __eglewSwapBuffersWithDamageKHR = NULL;
- PFNEGLWAITSYNCKHRPROC __eglewWaitSyncKHR = NULL;
- PFNEGLCREATEDRMIMAGEMESAPROC __eglewCreateDRMImageMESA = NULL;
- PFNEGLEXPORTDRMIMAGEMESAPROC __eglewExportDRMImageMESA = NULL;
- PFNEGLEXPORTDMABUFIMAGEMESAPROC __eglewExportDMABUFImageMESA = NULL;
- PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC __eglewExportDMABUFImageQueryMESA = NULL;
- PFNEGLSWAPBUFFERSREGIONNOKPROC __eglewSwapBuffersRegionNOK = NULL;
- PFNEGLSWAPBUFFERSREGION2NOKPROC __eglewSwapBuffersRegion2NOK = NULL;
- PFNEGLQUERYNATIVEDISPLAYNVPROC __eglewQueryNativeDisplayNV = NULL;
- PFNEGLQUERYNATIVEPIXMAPNVPROC __eglewQueryNativePixmapNV = NULL;
- PFNEGLQUERYNATIVEWINDOWNVPROC __eglewQueryNativeWindowNV = NULL;
- PFNEGLPOSTSUBBUFFERNVPROC __eglewPostSubBufferNV = NULL;
- PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC __eglewStreamConsumerGLTextureExternalAttribsNV = NULL;
- PFNEGLQUERYDISPLAYATTRIBNVPROC __eglewQueryDisplayAttribNV = NULL;
- PFNEGLQUERYSTREAMMETADATANVPROC __eglewQueryStreamMetadataNV = NULL;
- PFNEGLSETSTREAMMETADATANVPROC __eglewSetStreamMetadataNV = NULL;
- PFNEGLRESETSTREAMNVPROC __eglewResetStreamNV = NULL;
- PFNEGLCREATESTREAMSYNCNVPROC __eglewCreateStreamSyncNV = NULL;
- PFNEGLCLIENTWAITSYNCNVPROC __eglewClientWaitSyncNV = NULL;
- PFNEGLCREATEFENCESYNCNVPROC __eglewCreateFenceSyncNV = NULL;
- PFNEGLDESTROYSYNCNVPROC __eglewDestroySyncNV = NULL;
- PFNEGLFENCENVPROC __eglewFenceNV = NULL;
- PFNEGLGETSYNCATTRIBNVPROC __eglewGetSyncAttribNV = NULL;
- PFNEGLSIGNALSYNCNVPROC __eglewSignalSyncNV = NULL;
- PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC __eglewGetSystemTimeFrequencyNV = NULL;
- PFNEGLGETSYSTEMTIMENVPROC __eglewGetSystemTimeNV = NULL;
- GLboolean __EGLEW_VERSION_1_0 = GL_FALSE;
- GLboolean __EGLEW_VERSION_1_1 = GL_FALSE;
- GLboolean __EGLEW_VERSION_1_2 = GL_FALSE;
- GLboolean __EGLEW_VERSION_1_3 = GL_FALSE;
- GLboolean __EGLEW_VERSION_1_4 = GL_FALSE;
- GLboolean __EGLEW_VERSION_1_5 = GL_FALSE;
- GLboolean __EGLEW_ANDROID_blob_cache = GL_FALSE;
- GLboolean __EGLEW_ANDROID_create_native_client_buffer = GL_FALSE;
- GLboolean __EGLEW_ANDROID_framebuffer_target = GL_FALSE;
- GLboolean __EGLEW_ANDROID_front_buffer_auto_refresh = GL_FALSE;
- GLboolean __EGLEW_ANDROID_image_native_buffer = GL_FALSE;
- GLboolean __EGLEW_ANDROID_native_fence_sync = GL_FALSE;
- GLboolean __EGLEW_ANDROID_presentation_time = GL_FALSE;
- GLboolean __EGLEW_ANDROID_recordable = GL_FALSE;
- GLboolean __EGLEW_ANGLE_d3d_share_handle_client_buffer = GL_FALSE;
- GLboolean __EGLEW_ANGLE_device_d3d = GL_FALSE;
- GLboolean __EGLEW_ANGLE_query_surface_pointer = GL_FALSE;
- GLboolean __EGLEW_ANGLE_surface_d3d_texture_2d_share_handle = GL_FALSE;
- GLboolean __EGLEW_ANGLE_window_fixed_size = GL_FALSE;
- GLboolean __EGLEW_ARM_implicit_external_sync = GL_FALSE;
- GLboolean __EGLEW_ARM_pixmap_multisample_discard = GL_FALSE;
- GLboolean __EGLEW_EXT_buffer_age = GL_FALSE;
- GLboolean __EGLEW_EXT_client_extensions = GL_FALSE;
- GLboolean __EGLEW_EXT_create_context_robustness = GL_FALSE;
- GLboolean __EGLEW_EXT_device_base = GL_FALSE;
- GLboolean __EGLEW_EXT_device_drm = GL_FALSE;
- GLboolean __EGLEW_EXT_device_enumeration = GL_FALSE;
- GLboolean __EGLEW_EXT_device_openwf = GL_FALSE;
- GLboolean __EGLEW_EXT_device_query = GL_FALSE;
- GLboolean __EGLEW_EXT_gl_colorspace_bt2020_linear = GL_FALSE;
- GLboolean __EGLEW_EXT_gl_colorspace_bt2020_pq = GL_FALSE;
- GLboolean __EGLEW_EXT_gl_colorspace_scrgb_linear = GL_FALSE;
- GLboolean __EGLEW_EXT_image_dma_buf_import = GL_FALSE;
- GLboolean __EGLEW_EXT_image_dma_buf_import_modifiers = GL_FALSE;
- GLboolean __EGLEW_EXT_multiview_window = GL_FALSE;
- GLboolean __EGLEW_EXT_output_base = GL_FALSE;
- GLboolean __EGLEW_EXT_output_drm = GL_FALSE;
- GLboolean __EGLEW_EXT_output_openwf = GL_FALSE;
- GLboolean __EGLEW_EXT_pixel_format_float = GL_FALSE;
- GLboolean __EGLEW_EXT_platform_base = GL_FALSE;
- GLboolean __EGLEW_EXT_platform_device = GL_FALSE;
- GLboolean __EGLEW_EXT_platform_wayland = GL_FALSE;
- GLboolean __EGLEW_EXT_platform_x11 = GL_FALSE;
- GLboolean __EGLEW_EXT_protected_content = GL_FALSE;
- GLboolean __EGLEW_EXT_protected_surface = GL_FALSE;
- GLboolean __EGLEW_EXT_stream_consumer_egloutput = GL_FALSE;
- GLboolean __EGLEW_EXT_surface_SMPTE2086_metadata = GL_FALSE;
- GLboolean __EGLEW_EXT_swap_buffers_with_damage = GL_FALSE;
- GLboolean __EGLEW_EXT_yuv_surface = GL_FALSE;
- GLboolean __EGLEW_HI_clientpixmap = GL_FALSE;
- GLboolean __EGLEW_HI_colorformats = GL_FALSE;
- GLboolean __EGLEW_IMG_context_priority = GL_FALSE;
- GLboolean __EGLEW_IMG_image_plane_attribs = GL_FALSE;
- GLboolean __EGLEW_KHR_cl_event = GL_FALSE;
- GLboolean __EGLEW_KHR_cl_event2 = GL_FALSE;
- GLboolean __EGLEW_KHR_client_get_all_proc_addresses = GL_FALSE;
- GLboolean __EGLEW_KHR_config_attribs = GL_FALSE;
- GLboolean __EGLEW_KHR_context_flush_control = GL_FALSE;
- GLboolean __EGLEW_KHR_create_context = GL_FALSE;
- GLboolean __EGLEW_KHR_create_context_no_error = GL_FALSE;
- GLboolean __EGLEW_KHR_debug = GL_FALSE;
- GLboolean __EGLEW_KHR_fence_sync = GL_FALSE;
- GLboolean __EGLEW_KHR_get_all_proc_addresses = GL_FALSE;
- GLboolean __EGLEW_KHR_gl_colorspace = GL_FALSE;
- GLboolean __EGLEW_KHR_gl_renderbuffer_image = GL_FALSE;
- GLboolean __EGLEW_KHR_gl_texture_2D_image = GL_FALSE;
- GLboolean __EGLEW_KHR_gl_texture_3D_image = GL_FALSE;
- GLboolean __EGLEW_KHR_gl_texture_cubemap_image = GL_FALSE;
- GLboolean __EGLEW_KHR_image = GL_FALSE;
- GLboolean __EGLEW_KHR_image_base = GL_FALSE;
- GLboolean __EGLEW_KHR_image_pixmap = GL_FALSE;
- GLboolean __EGLEW_KHR_lock_surface = GL_FALSE;
- GLboolean __EGLEW_KHR_lock_surface2 = GL_FALSE;
- GLboolean __EGLEW_KHR_lock_surface3 = GL_FALSE;
- GLboolean __EGLEW_KHR_mutable_render_buffer = GL_FALSE;
- GLboolean __EGLEW_KHR_no_config_context = GL_FALSE;
- GLboolean __EGLEW_KHR_partial_update = GL_FALSE;
- GLboolean __EGLEW_KHR_platform_android = GL_FALSE;
- GLboolean __EGLEW_KHR_platform_gbm = GL_FALSE;
- GLboolean __EGLEW_KHR_platform_wayland = GL_FALSE;
- GLboolean __EGLEW_KHR_platform_x11 = GL_FALSE;
- GLboolean __EGLEW_KHR_reusable_sync = GL_FALSE;
- GLboolean __EGLEW_KHR_stream = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_attrib = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_consumer_gltexture = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_cross_process_fd = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_fifo = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_producer_aldatalocator = GL_FALSE;
- GLboolean __EGLEW_KHR_stream_producer_eglsurface = GL_FALSE;
- GLboolean __EGLEW_KHR_surfaceless_context = GL_FALSE;
- GLboolean __EGLEW_KHR_swap_buffers_with_damage = GL_FALSE;
- GLboolean __EGLEW_KHR_vg_parent_image = GL_FALSE;
- GLboolean __EGLEW_KHR_wait_sync = GL_FALSE;
- GLboolean __EGLEW_MESA_drm_image = GL_FALSE;
- GLboolean __EGLEW_MESA_image_dma_buf_export = GL_FALSE;
- GLboolean __EGLEW_MESA_platform_gbm = GL_FALSE;
- GLboolean __EGLEW_MESA_platform_surfaceless = GL_FALSE;
- GLboolean __EGLEW_NOK_swap_region = GL_FALSE;
- GLboolean __EGLEW_NOK_swap_region2 = GL_FALSE;
- GLboolean __EGLEW_NOK_texture_from_pixmap = GL_FALSE;
- GLboolean __EGLEW_NV_3dvision_surface = GL_FALSE;
- GLboolean __EGLEW_NV_coverage_sample = GL_FALSE;
- GLboolean __EGLEW_NV_coverage_sample_resolve = GL_FALSE;
- GLboolean __EGLEW_NV_cuda_event = GL_FALSE;
- GLboolean __EGLEW_NV_depth_nonlinear = GL_FALSE;
- GLboolean __EGLEW_NV_device_cuda = GL_FALSE;
- GLboolean __EGLEW_NV_native_query = GL_FALSE;
- GLboolean __EGLEW_NV_post_convert_rounding = GL_FALSE;
- GLboolean __EGLEW_NV_post_sub_buffer = GL_FALSE;
- GLboolean __EGLEW_NV_robustness_video_memory_purge = GL_FALSE;
- GLboolean __EGLEW_NV_stream_consumer_gltexture_yuv = GL_FALSE;
- GLboolean __EGLEW_NV_stream_cross_display = GL_FALSE;
- GLboolean __EGLEW_NV_stream_cross_object = GL_FALSE;
- GLboolean __EGLEW_NV_stream_cross_partition = GL_FALSE;
- GLboolean __EGLEW_NV_stream_cross_process = GL_FALSE;
- GLboolean __EGLEW_NV_stream_cross_system = GL_FALSE;
- GLboolean __EGLEW_NV_stream_fifo_next = GL_FALSE;
- GLboolean __EGLEW_NV_stream_fifo_synchronous = GL_FALSE;
- GLboolean __EGLEW_NV_stream_frame_limits = GL_FALSE;
- GLboolean __EGLEW_NV_stream_metadata = GL_FALSE;
- GLboolean __EGLEW_NV_stream_remote = GL_FALSE;
- GLboolean __EGLEW_NV_stream_reset = GL_FALSE;
- GLboolean __EGLEW_NV_stream_socket = GL_FALSE;
- GLboolean __EGLEW_NV_stream_socket_inet = GL_FALSE;
- GLboolean __EGLEW_NV_stream_socket_unix = GL_FALSE;
- GLboolean __EGLEW_NV_stream_sync = GL_FALSE;
- GLboolean __EGLEW_NV_sync = GL_FALSE;
- GLboolean __EGLEW_NV_system_time = GL_FALSE;
- GLboolean __EGLEW_TIZEN_image_native_buffer = GL_FALSE;
- GLboolean __EGLEW_TIZEN_image_native_surface = GL_FALSE;
- #ifdef EGL_VERSION_1_0
- static GLboolean _glewInit_EGL_VERSION_1_0 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglChooseConfig = (PFNEGLCHOOSECONFIGPROC)glewGetProcAddress((const GLubyte*)"eglChooseConfig")) == NULL) || r;
- r = ((eglCopyBuffers = (PFNEGLCOPYBUFFERSPROC)glewGetProcAddress((const GLubyte*)"eglCopyBuffers")) == NULL) || r;
- r = ((eglCreateContext = (PFNEGLCREATECONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreateContext")) == NULL) || r;
- r = ((eglCreatePbufferSurface = (PFNEGLCREATEPBUFFERSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePbufferSurface")) == NULL) || r;
- r = ((eglCreatePixmapSurface = (PFNEGLCREATEPIXMAPSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePixmapSurface")) == NULL) || r;
- r = ((eglCreateWindowSurface = (PFNEGLCREATEWINDOWSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreateWindowSurface")) == NULL) || r;
- r = ((eglDestroyContext = (PFNEGLDESTROYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglDestroyContext")) == NULL) || r;
- r = ((eglDestroySurface = (PFNEGLDESTROYSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglDestroySurface")) == NULL) || r;
- r = ((eglGetConfigAttrib = (PFNEGLGETCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglGetConfigAttrib")) == NULL) || r;
- r = ((eglGetConfigs = (PFNEGLGETCONFIGSPROC)glewGetProcAddress((const GLubyte*)"eglGetConfigs")) == NULL) || r;
- r = ((eglGetCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentDisplay")) == NULL) || r;
- r = ((eglGetCurrentSurface = (PFNEGLGETCURRENTSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentSurface")) == NULL) || r;
- r = ((eglGetDisplay = (PFNEGLGETDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetDisplay")) == NULL) || r;
- r = ((eglGetError = (PFNEGLGETERRORPROC)glewGetProcAddress((const GLubyte*)"eglGetError")) == NULL) || r;
- r = ((eglInitialize = (PFNEGLINITIALIZEPROC)glewGetProcAddress((const GLubyte*)"eglInitialize")) == NULL) || r;
- r = ((eglMakeCurrent = (PFNEGLMAKECURRENTPROC)glewGetProcAddress((const GLubyte*)"eglMakeCurrent")) == NULL) || r;
- r = ((eglQueryContext = (PFNEGLQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryContext")) == NULL) || r;
- r = ((eglQueryString = (PFNEGLQUERYSTRINGPROC)glewGetProcAddress((const GLubyte*)"eglQueryString")) == NULL) || r;
- r = ((eglQuerySurface = (PFNEGLQUERYSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurface")) == NULL) || r;
- r = ((eglSwapBuffers = (PFNEGLSWAPBUFFERSPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffers")) == NULL) || r;
- r = ((eglTerminate = (PFNEGLTERMINATEPROC)glewGetProcAddress((const GLubyte*)"eglTerminate")) == NULL) || r;
- r = ((eglWaitGL = (PFNEGLWAITGLPROC)glewGetProcAddress((const GLubyte*)"eglWaitGL")) == NULL) || r;
- r = ((eglWaitNative = (PFNEGLWAITNATIVEPROC)glewGetProcAddress((const GLubyte*)"eglWaitNative")) == NULL) || r;
- return r;
- }
- #endif /* EGL_VERSION_1_0 */
- #ifdef EGL_VERSION_1_1
- static GLboolean _glewInit_EGL_VERSION_1_1 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglBindTexImage = (PFNEGLBINDTEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglBindTexImage")) == NULL) || r;
- r = ((eglReleaseTexImage = (PFNEGLRELEASETEXIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglReleaseTexImage")) == NULL) || r;
- r = ((eglSurfaceAttrib = (PFNEGLSURFACEATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglSurfaceAttrib")) == NULL) || r;
- r = ((eglSwapInterval = (PFNEGLSWAPINTERVALPROC)glewGetProcAddress((const GLubyte*)"eglSwapInterval")) == NULL) || r;
- return r;
- }
- #endif /* EGL_VERSION_1_1 */
- #ifdef EGL_VERSION_1_2
- static GLboolean _glewInit_EGL_VERSION_1_2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglBindAPI = (PFNEGLBINDAPIPROC)glewGetProcAddress((const GLubyte*)"eglBindAPI")) == NULL) || r;
- r = ((eglCreatePbufferFromClientBuffer = (PFNEGLCREATEPBUFFERFROMCLIENTBUFFERPROC)glewGetProcAddress((const GLubyte*)"eglCreatePbufferFromClientBuffer")) == NULL) || r;
- r = ((eglQueryAPI = (PFNEGLQUERYAPIPROC)glewGetProcAddress((const GLubyte*)"eglQueryAPI")) == NULL) || r;
- r = ((eglReleaseThread = (PFNEGLRELEASETHREADPROC)glewGetProcAddress((const GLubyte*)"eglReleaseThread")) == NULL) || r;
- r = ((eglWaitClient = (PFNEGLWAITCLIENTPROC)glewGetProcAddress((const GLubyte*)"eglWaitClient")) == NULL) || r;
- return r;
- }
- #endif /* EGL_VERSION_1_2 */
- #ifdef EGL_VERSION_1_4
- static GLboolean _glewInit_EGL_VERSION_1_4 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglGetCurrentContext = (PFNEGLGETCURRENTCONTEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetCurrentContext")) == NULL) || r;
- return r;
- }
- #endif /* EGL_VERSION_1_4 */
- #ifdef EGL_VERSION_1_5
- static GLboolean _glewInit_EGL_VERSION_1_5 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglClientWaitSync = (PFNEGLCLIENTWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSync")) == NULL) || r;
- r = ((eglCreateImage = (PFNEGLCREATEIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglCreateImage")) == NULL) || r;
- r = ((eglCreatePlatformPixmapSurface = (PFNEGLCREATEPLATFORMPIXMAPSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformPixmapSurface")) == NULL) || r;
- r = ((eglCreatePlatformWindowSurface = (PFNEGLCREATEPLATFORMWINDOWSURFACEPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformWindowSurface")) == NULL) || r;
- r = ((eglCreateSync = (PFNEGLCREATESYNCPROC)glewGetProcAddress((const GLubyte*)"eglCreateSync")) == NULL) || r;
- r = ((eglDestroyImage = (PFNEGLDESTROYIMAGEPROC)glewGetProcAddress((const GLubyte*)"eglDestroyImage")) == NULL) || r;
- r = ((eglDestroySync = (PFNEGLDESTROYSYNCPROC)glewGetProcAddress((const GLubyte*)"eglDestroySync")) == NULL) || r;
- r = ((eglGetPlatformDisplay = (PFNEGLGETPLATFORMDISPLAYPROC)glewGetProcAddress((const GLubyte*)"eglGetPlatformDisplay")) == NULL) || r;
- r = ((eglGetSyncAttrib = (PFNEGLGETSYNCATTRIBPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttrib")) == NULL) || r;
- r = ((eglWaitSync = (PFNEGLWAITSYNCPROC)glewGetProcAddress((const GLubyte*)"eglWaitSync")) == NULL) || r;
- return r;
- }
- #endif /* EGL_VERSION_1_5 */
- #ifdef EGL_ANDROID_blob_cache
- static GLboolean _glewInit_EGL_ANDROID_blob_cache ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSetBlobCacheFuncsANDROID = (PFNEGLSETBLOBCACHEFUNCSANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglSetBlobCacheFuncsANDROID")) == NULL) || r;
- return r;
- }
- #endif /* EGL_ANDROID_blob_cache */
- #ifdef EGL_ANDROID_create_native_client_buffer
- static GLboolean _glewInit_EGL_ANDROID_create_native_client_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateNativeClientBufferANDROID = (PFNEGLCREATENATIVECLIENTBUFFERANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglCreateNativeClientBufferANDROID")) == NULL) || r;
- return r;
- }
- #endif /* EGL_ANDROID_create_native_client_buffer */
- #ifdef EGL_ANDROID_native_fence_sync
- static GLboolean _glewInit_EGL_ANDROID_native_fence_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglDupNativeFenceFDANDROID = (PFNEGLDUPNATIVEFENCEFDANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglDupNativeFenceFDANDROID")) == NULL) || r;
- return r;
- }
- #endif /* EGL_ANDROID_native_fence_sync */
- #ifdef EGL_ANDROID_presentation_time
- static GLboolean _glewInit_EGL_ANDROID_presentation_time ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglPresentationTimeANDROID = (PFNEGLPRESENTATIONTIMEANDROIDPROC)glewGetProcAddress((const GLubyte*)"eglPresentationTimeANDROID")) == NULL) || r;
- return r;
- }
- #endif /* EGL_ANDROID_presentation_time */
- #ifdef EGL_ANGLE_query_surface_pointer
- static GLboolean _glewInit_EGL_ANGLE_query_surface_pointer ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQuerySurfacePointerANGLE = (PFNEGLQUERYSURFACEPOINTERANGLEPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurfacePointerANGLE")) == NULL) || r;
- return r;
- }
- #endif /* EGL_ANGLE_query_surface_pointer */
- #ifdef EGL_EXT_device_enumeration
- static GLboolean _glewInit_EGL_EXT_device_enumeration ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryDevicesEXT = (PFNEGLQUERYDEVICESEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDevicesEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_device_enumeration */
- #ifdef EGL_EXT_device_query
- static GLboolean _glewInit_EGL_EXT_device_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryDeviceAttribEXT = (PFNEGLQUERYDEVICEATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDeviceAttribEXT")) == NULL) || r;
- r = ((eglQueryDeviceStringEXT = (PFNEGLQUERYDEVICESTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDeviceStringEXT")) == NULL) || r;
- r = ((eglQueryDisplayAttribEXT = (PFNEGLQUERYDISPLAYATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDisplayAttribEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_device_query */
- #ifdef EGL_EXT_image_dma_buf_import_modifiers
- static GLboolean _glewInit_EGL_EXT_image_dma_buf_import_modifiers ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryDmaBufFormatsEXT = (PFNEGLQUERYDMABUFFORMATSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufFormatsEXT")) == NULL) || r;
- r = ((eglQueryDmaBufModifiersEXT = (PFNEGLQUERYDMABUFMODIFIERSEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryDmaBufModifiersEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_image_dma_buf_import_modifiers */
- #ifdef EGL_EXT_output_base
- static GLboolean _glewInit_EGL_EXT_output_base ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglGetOutputLayersEXT = (PFNEGLGETOUTPUTLAYERSEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetOutputLayersEXT")) == NULL) || r;
- r = ((eglGetOutputPortsEXT = (PFNEGLGETOUTPUTPORTSEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetOutputPortsEXT")) == NULL) || r;
- r = ((eglOutputLayerAttribEXT = (PFNEGLOUTPUTLAYERATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglOutputLayerAttribEXT")) == NULL) || r;
- r = ((eglOutputPortAttribEXT = (PFNEGLOUTPUTPORTATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglOutputPortAttribEXT")) == NULL) || r;
- r = ((eglQueryOutputLayerAttribEXT = (PFNEGLQUERYOUTPUTLAYERATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputLayerAttribEXT")) == NULL) || r;
- r = ((eglQueryOutputLayerStringEXT = (PFNEGLQUERYOUTPUTLAYERSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputLayerStringEXT")) == NULL) || r;
- r = ((eglQueryOutputPortAttribEXT = (PFNEGLQUERYOUTPUTPORTATTRIBEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputPortAttribEXT")) == NULL) || r;
- r = ((eglQueryOutputPortStringEXT = (PFNEGLQUERYOUTPUTPORTSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"eglQueryOutputPortStringEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_output_base */
- #ifdef EGL_EXT_platform_base
- static GLboolean _glewInit_EGL_EXT_platform_base ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreatePlatformPixmapSurfaceEXT = (PFNEGLCREATEPLATFORMPIXMAPSURFACEEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformPixmapSurfaceEXT")) == NULL) || r;
- r = ((eglCreatePlatformWindowSurfaceEXT = (PFNEGLCREATEPLATFORMWINDOWSURFACEEXTPROC)glewGetProcAddress((const GLubyte*)"eglCreatePlatformWindowSurfaceEXT")) == NULL) || r;
- r = ((eglGetPlatformDisplayEXT = (PFNEGLGETPLATFORMDISPLAYEXTPROC)glewGetProcAddress((const GLubyte*)"eglGetPlatformDisplayEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_platform_base */
- #ifdef EGL_EXT_stream_consumer_egloutput
- static GLboolean _glewInit_EGL_EXT_stream_consumer_egloutput ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglStreamConsumerOutputEXT = (PFNEGLSTREAMCONSUMEROUTPUTEXTPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerOutputEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_stream_consumer_egloutput */
- #ifdef EGL_EXT_swap_buffers_with_damage
- static GLboolean _glewInit_EGL_EXT_swap_buffers_with_damage ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSwapBuffersWithDamageEXT = (PFNEGLSWAPBUFFERSWITHDAMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersWithDamageEXT")) == NULL) || r;
- return r;
- }
- #endif /* EGL_EXT_swap_buffers_with_damage */
- #ifdef EGL_HI_clientpixmap
- static GLboolean _glewInit_EGL_HI_clientpixmap ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreatePixmapSurfaceHI = (PFNEGLCREATEPIXMAPSURFACEHIPROC)glewGetProcAddress((const GLubyte*)"eglCreatePixmapSurfaceHI")) == NULL) || r;
- return r;
- }
- #endif /* EGL_HI_clientpixmap */
- #ifdef EGL_KHR_cl_event2
- static GLboolean _glewInit_EGL_KHR_cl_event2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateSync64KHR = (PFNEGLCREATESYNC64KHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateSync64KHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_cl_event2 */
- #ifdef EGL_KHR_debug
- static GLboolean _glewInit_EGL_KHR_debug ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglDebugMessageControlKHR = (PFNEGLDEBUGMESSAGECONTROLKHRPROC)glewGetProcAddress((const GLubyte*)"eglDebugMessageControlKHR")) == NULL) || r;
- r = ((eglLabelObjectKHR = (PFNEGLLABELOBJECTKHRPROC)glewGetProcAddress((const GLubyte*)"eglLabelObjectKHR")) == NULL) || r;
- r = ((eglQueryDebugKHR = (PFNEGLQUERYDEBUGKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryDebugKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_debug */
- #ifdef EGL_KHR_image
- static GLboolean _glewInit_EGL_KHR_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateImageKHR = (PFNEGLCREATEIMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateImageKHR")) == NULL) || r;
- r = ((eglDestroyImageKHR = (PFNEGLDESTROYIMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroyImageKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_image */
- #ifdef EGL_KHR_lock_surface
- static GLboolean _glewInit_EGL_KHR_lock_surface ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglLockSurfaceKHR = (PFNEGLLOCKSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglLockSurfaceKHR")) == NULL) || r;
- r = ((eglUnlockSurfaceKHR = (PFNEGLUNLOCKSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglUnlockSurfaceKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_lock_surface */
- #ifdef EGL_KHR_lock_surface3
- static GLboolean _glewInit_EGL_KHR_lock_surface3 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQuerySurface64KHR = (PFNEGLQUERYSURFACE64KHRPROC)glewGetProcAddress((const GLubyte*)"eglQuerySurface64KHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_lock_surface3 */
- #ifdef EGL_KHR_partial_update
- static GLboolean _glewInit_EGL_KHR_partial_update ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSetDamageRegionKHR = (PFNEGLSETDAMAGEREGIONKHRPROC)glewGetProcAddress((const GLubyte*)"eglSetDamageRegionKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_partial_update */
- #ifdef EGL_KHR_reusable_sync
- static GLboolean _glewInit_EGL_KHR_reusable_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglClientWaitSyncKHR = (PFNEGLCLIENTWAITSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSyncKHR")) == NULL) || r;
- r = ((eglCreateSyncKHR = (PFNEGLCREATESYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateSyncKHR")) == NULL) || r;
- r = ((eglDestroySyncKHR = (PFNEGLDESTROYSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroySyncKHR")) == NULL) || r;
- r = ((eglGetSyncAttribKHR = (PFNEGLGETSYNCATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttribKHR")) == NULL) || r;
- r = ((eglSignalSyncKHR = (PFNEGLSIGNALSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglSignalSyncKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_reusable_sync */
- #ifdef EGL_KHR_stream
- static GLboolean _glewInit_EGL_KHR_stream ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateStreamKHR = (PFNEGLCREATESTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamKHR")) == NULL) || r;
- r = ((eglDestroyStreamKHR = (PFNEGLDESTROYSTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglDestroyStreamKHR")) == NULL) || r;
- r = ((eglQueryStreamKHR = (PFNEGLQUERYSTREAMKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamKHR")) == NULL) || r;
- r = ((eglQueryStreamu64KHR = (PFNEGLQUERYSTREAMU64KHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamu64KHR")) == NULL) || r;
- r = ((eglStreamAttribKHR = (PFNEGLSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamAttribKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream */
- #ifdef EGL_KHR_stream_attrib
- static GLboolean _glewInit_EGL_KHR_stream_attrib ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateStreamAttribKHR = (PFNEGLCREATESTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamAttribKHR")) == NULL) || r;
- r = ((eglQueryStreamAttribKHR = (PFNEGLQUERYSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamAttribKHR")) == NULL) || r;
- r = ((eglSetStreamAttribKHR = (PFNEGLSETSTREAMATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglSetStreamAttribKHR")) == NULL) || r;
- r = ((eglStreamConsumerAcquireAttribKHR = (PFNEGLSTREAMCONSUMERACQUIREATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerAcquireAttribKHR")) == NULL) || r;
- r = ((eglStreamConsumerReleaseAttribKHR = (PFNEGLSTREAMCONSUMERRELEASEATTRIBKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerReleaseAttribKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream_attrib */
- #ifdef EGL_KHR_stream_consumer_gltexture
- static GLboolean _glewInit_EGL_KHR_stream_consumer_gltexture ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglStreamConsumerAcquireKHR = (PFNEGLSTREAMCONSUMERACQUIREKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerAcquireKHR")) == NULL) || r;
- r = ((eglStreamConsumerGLTextureExternalKHR = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerGLTextureExternalKHR")) == NULL) || r;
- r = ((eglStreamConsumerReleaseKHR = (PFNEGLSTREAMCONSUMERRELEASEKHRPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerReleaseKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream_consumer_gltexture */
- #ifdef EGL_KHR_stream_cross_process_fd
- static GLboolean _glewInit_EGL_KHR_stream_cross_process_fd ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateStreamFromFileDescriptorKHR = (PFNEGLCREATESTREAMFROMFILEDESCRIPTORKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamFromFileDescriptorKHR")) == NULL) || r;
- r = ((eglGetStreamFileDescriptorKHR = (PFNEGLGETSTREAMFILEDESCRIPTORKHRPROC)glewGetProcAddress((const GLubyte*)"eglGetStreamFileDescriptorKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream_cross_process_fd */
- #ifdef EGL_KHR_stream_fifo
- static GLboolean _glewInit_EGL_KHR_stream_fifo ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryStreamTimeKHR = (PFNEGLQUERYSTREAMTIMEKHRPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamTimeKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream_fifo */
- #ifdef EGL_KHR_stream_producer_eglsurface
- static GLboolean _glewInit_EGL_KHR_stream_producer_eglsurface ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateStreamProducerSurfaceKHR = (PFNEGLCREATESTREAMPRODUCERSURFACEKHRPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamProducerSurfaceKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_stream_producer_eglsurface */
- #ifdef EGL_KHR_swap_buffers_with_damage
- static GLboolean _glewInit_EGL_KHR_swap_buffers_with_damage ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSwapBuffersWithDamageKHR = (PFNEGLSWAPBUFFERSWITHDAMAGEKHRPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersWithDamageKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_swap_buffers_with_damage */
- #ifdef EGL_KHR_wait_sync
- static GLboolean _glewInit_EGL_KHR_wait_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglWaitSyncKHR = (PFNEGLWAITSYNCKHRPROC)glewGetProcAddress((const GLubyte*)"eglWaitSyncKHR")) == NULL) || r;
- return r;
- }
- #endif /* EGL_KHR_wait_sync */
- #ifdef EGL_MESA_drm_image
- static GLboolean _glewInit_EGL_MESA_drm_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateDRMImageMESA = (PFNEGLCREATEDRMIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglCreateDRMImageMESA")) == NULL) || r;
- r = ((eglExportDRMImageMESA = (PFNEGLEXPORTDRMIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDRMImageMESA")) == NULL) || r;
- return r;
- }
- #endif /* EGL_MESA_drm_image */
- #ifdef EGL_MESA_image_dma_buf_export
- static GLboolean _glewInit_EGL_MESA_image_dma_buf_export ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglExportDMABUFImageMESA = (PFNEGLEXPORTDMABUFIMAGEMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDMABUFImageMESA")) == NULL) || r;
- r = ((eglExportDMABUFImageQueryMESA = (PFNEGLEXPORTDMABUFIMAGEQUERYMESAPROC)glewGetProcAddress((const GLubyte*)"eglExportDMABUFImageQueryMESA")) == NULL) || r;
- return r;
- }
- #endif /* EGL_MESA_image_dma_buf_export */
- #ifdef EGL_NOK_swap_region
- static GLboolean _glewInit_EGL_NOK_swap_region ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSwapBuffersRegionNOK = (PFNEGLSWAPBUFFERSREGIONNOKPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersRegionNOK")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NOK_swap_region */
- #ifdef EGL_NOK_swap_region2
- static GLboolean _glewInit_EGL_NOK_swap_region2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglSwapBuffersRegion2NOK = (PFNEGLSWAPBUFFERSREGION2NOKPROC)glewGetProcAddress((const GLubyte*)"eglSwapBuffersRegion2NOK")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NOK_swap_region2 */
- #ifdef EGL_NV_native_query
- static GLboolean _glewInit_EGL_NV_native_query ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryNativeDisplayNV = (PFNEGLQUERYNATIVEDISPLAYNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativeDisplayNV")) == NULL) || r;
- r = ((eglQueryNativePixmapNV = (PFNEGLQUERYNATIVEPIXMAPNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativePixmapNV")) == NULL) || r;
- r = ((eglQueryNativeWindowNV = (PFNEGLQUERYNATIVEWINDOWNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryNativeWindowNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_native_query */
- #ifdef EGL_NV_post_sub_buffer
- static GLboolean _glewInit_EGL_NV_post_sub_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglPostSubBufferNV = (PFNEGLPOSTSUBBUFFERNVPROC)glewGetProcAddress((const GLubyte*)"eglPostSubBufferNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_post_sub_buffer */
- #ifdef EGL_NV_stream_consumer_gltexture_yuv
- static GLboolean _glewInit_EGL_NV_stream_consumer_gltexture_yuv ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglStreamConsumerGLTextureExternalAttribsNV = (PFNEGLSTREAMCONSUMERGLTEXTUREEXTERNALATTRIBSNVPROC)glewGetProcAddress((const GLubyte*)"eglStreamConsumerGLTextureExternalAttribsNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_stream_consumer_gltexture_yuv */
- #ifdef EGL_NV_stream_metadata
- static GLboolean _glewInit_EGL_NV_stream_metadata ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglQueryDisplayAttribNV = (PFNEGLQUERYDISPLAYATTRIBNVPROC)glewGetProcAddress((const GLubyte*)"eglQueryDisplayAttribNV")) == NULL) || r;
- r = ((eglQueryStreamMetadataNV = (PFNEGLQUERYSTREAMMETADATANVPROC)glewGetProcAddress((const GLubyte*)"eglQueryStreamMetadataNV")) == NULL) || r;
- r = ((eglSetStreamMetadataNV = (PFNEGLSETSTREAMMETADATANVPROC)glewGetProcAddress((const GLubyte*)"eglSetStreamMetadataNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_stream_metadata */
- #ifdef EGL_NV_stream_reset
- static GLboolean _glewInit_EGL_NV_stream_reset ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglResetStreamNV = (PFNEGLRESETSTREAMNVPROC)glewGetProcAddress((const GLubyte*)"eglResetStreamNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_stream_reset */
- #ifdef EGL_NV_stream_sync
- static GLboolean _glewInit_EGL_NV_stream_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglCreateStreamSyncNV = (PFNEGLCREATESTREAMSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglCreateStreamSyncNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_stream_sync */
- #ifdef EGL_NV_sync
- static GLboolean _glewInit_EGL_NV_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglClientWaitSyncNV = (PFNEGLCLIENTWAITSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglClientWaitSyncNV")) == NULL) || r;
- r = ((eglCreateFenceSyncNV = (PFNEGLCREATEFENCESYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglCreateFenceSyncNV")) == NULL) || r;
- r = ((eglDestroySyncNV = (PFNEGLDESTROYSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglDestroySyncNV")) == NULL) || r;
- r = ((eglFenceNV = (PFNEGLFENCENVPROC)glewGetProcAddress((const GLubyte*)"eglFenceNV")) == NULL) || r;
- r = ((eglGetSyncAttribNV = (PFNEGLGETSYNCATTRIBNVPROC)glewGetProcAddress((const GLubyte*)"eglGetSyncAttribNV")) == NULL) || r;
- r = ((eglSignalSyncNV = (PFNEGLSIGNALSYNCNVPROC)glewGetProcAddress((const GLubyte*)"eglSignalSyncNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_sync */
- #ifdef EGL_NV_system_time
- static GLboolean _glewInit_EGL_NV_system_time ()
- {
- GLboolean r = GL_FALSE;
- r = ((eglGetSystemTimeFrequencyNV = (PFNEGLGETSYSTEMTIMEFREQUENCYNVPROC)glewGetProcAddress((const GLubyte*)"eglGetSystemTimeFrequencyNV")) == NULL) || r;
- r = ((eglGetSystemTimeNV = (PFNEGLGETSYSTEMTIMENVPROC)glewGetProcAddress((const GLubyte*)"eglGetSystemTimeNV")) == NULL) || r;
- return r;
- }
- #endif /* EGL_NV_system_time */
- /* ------------------------------------------------------------------------ */
- GLboolean eglewGetExtension (const char* name)
- {
- const GLubyte* start;
- const GLubyte* end;
- start = (const GLubyte*) eglQueryString(eglGetCurrentDisplay(), EGL_EXTENSIONS);
- if (0 == start) return GL_FALSE;
- end = start + _glewStrLen(start);
- return _glewSearchExtension(name, start, end);
- }
- GLenum eglewInit (EGLDisplay display)
- {
- EGLint major, minor;
- const GLubyte* extStart;
- const GLubyte* extEnd;
- PFNEGLINITIALIZEPROC initialize = NULL;
- PFNEGLQUERYSTRINGPROC queryString = NULL;
- /* Load necessary entry points */
- initialize = (PFNEGLINITIALIZEPROC) glewGetProcAddress("eglInitialize");
- queryString = (PFNEGLQUERYSTRINGPROC) glewGetProcAddress("eglQueryString");
- if (!initialize || !queryString)
- return 1;
- /* query EGK version */
- if (initialize(display, &major, &minor) != EGL_TRUE)
- return 1;
- EGLEW_VERSION_1_5 = ( major > 1 ) || ( major == 1 && minor >= 5 ) ? GL_TRUE : GL_FALSE;
- EGLEW_VERSION_1_4 = EGLEW_VERSION_1_5 == GL_TRUE || ( major == 1 && minor >= 4 ) ? GL_TRUE : GL_FALSE;
- EGLEW_VERSION_1_3 = EGLEW_VERSION_1_4 == GL_TRUE || ( major == 1 && minor >= 3 ) ? GL_TRUE : GL_FALSE;
- EGLEW_VERSION_1_2 = EGLEW_VERSION_1_3 == GL_TRUE || ( major == 1 && minor >= 2 ) ? GL_TRUE : GL_FALSE;
- EGLEW_VERSION_1_1 = EGLEW_VERSION_1_2 == GL_TRUE || ( major == 1 && minor >= 1 ) ? GL_TRUE : GL_FALSE;
- EGLEW_VERSION_1_0 = EGLEW_VERSION_1_1 == GL_TRUE || ( major == 1 && minor >= 0 ) ? GL_TRUE : GL_FALSE;
- /* query EGL extension string */
- extStart = (const GLubyte*) queryString(display, EGL_EXTENSIONS);
- if (extStart == 0)
- extStart = (const GLubyte *)"";
- extEnd = extStart + _glewStrLen(extStart);
- /* initialize extensions */
- #ifdef EGL_VERSION_1_0
- if (glewExperimental || EGLEW_VERSION_1_0) EGLEW_VERSION_1_0 = !_glewInit_EGL_VERSION_1_0();
- #endif /* EGL_VERSION_1_0 */
- #ifdef EGL_VERSION_1_1
- if (glewExperimental || EGLEW_VERSION_1_1) EGLEW_VERSION_1_1 = !_glewInit_EGL_VERSION_1_1();
- #endif /* EGL_VERSION_1_1 */
- #ifdef EGL_VERSION_1_2
- if (glewExperimental || EGLEW_VERSION_1_2) EGLEW_VERSION_1_2 = !_glewInit_EGL_VERSION_1_2();
- #endif /* EGL_VERSION_1_2 */
- #ifdef EGL_VERSION_1_4
- if (glewExperimental || EGLEW_VERSION_1_4) EGLEW_VERSION_1_4 = !_glewInit_EGL_VERSION_1_4();
- #endif /* EGL_VERSION_1_4 */
- #ifdef EGL_VERSION_1_5
- if (glewExperimental || EGLEW_VERSION_1_5) EGLEW_VERSION_1_5 = !_glewInit_EGL_VERSION_1_5();
- #endif /* EGL_VERSION_1_5 */
- #ifdef EGL_ANDROID_blob_cache
- EGLEW_ANDROID_blob_cache = _glewSearchExtension("EGL_ANDROID_blob_cache", extStart, extEnd);
- if (glewExperimental || EGLEW_ANDROID_blob_cache) EGLEW_ANDROID_blob_cache = !_glewInit_EGL_ANDROID_blob_cache();
- #endif /* EGL_ANDROID_blob_cache */
- #ifdef EGL_ANDROID_create_native_client_buffer
- EGLEW_ANDROID_create_native_client_buffer = _glewSearchExtension("EGL_ANDROID_create_native_client_buffer", extStart, extEnd);
- if (glewExperimental || EGLEW_ANDROID_create_native_client_buffer) EGLEW_ANDROID_create_native_client_buffer = !_glewInit_EGL_ANDROID_create_native_client_buffer();
- #endif /* EGL_ANDROID_create_native_client_buffer */
- #ifdef EGL_ANDROID_framebuffer_target
- EGLEW_ANDROID_framebuffer_target = _glewSearchExtension("EGL_ANDROID_framebuffer_target", extStart, extEnd);
- #endif /* EGL_ANDROID_framebuffer_target */
- #ifdef EGL_ANDROID_front_buffer_auto_refresh
- EGLEW_ANDROID_front_buffer_auto_refresh = _glewSearchExtension("EGL_ANDROID_front_buffer_auto_refresh", extStart, extEnd);
- #endif /* EGL_ANDROID_front_buffer_auto_refresh */
- #ifdef EGL_ANDROID_image_native_buffer
- EGLEW_ANDROID_image_native_buffer = _glewSearchExtension("EGL_ANDROID_image_native_buffer", extStart, extEnd);
- #endif /* EGL_ANDROID_image_native_buffer */
- #ifdef EGL_ANDROID_native_fence_sync
- EGLEW_ANDROID_native_fence_sync = _glewSearchExtension("EGL_ANDROID_native_fence_sync", extStart, extEnd);
- if (glewExperimental || EGLEW_ANDROID_native_fence_sync) EGLEW_ANDROID_native_fence_sync = !_glewInit_EGL_ANDROID_native_fence_sync();
- #endif /* EGL_ANDROID_native_fence_sync */
- #ifdef EGL_ANDROID_presentation_time
- EGLEW_ANDROID_presentation_time = _glewSearchExtension("EGL_ANDROID_presentation_time", extStart, extEnd);
- if (glewExperimental || EGLEW_ANDROID_presentation_time) EGLEW_ANDROID_presentation_time = !_glewInit_EGL_ANDROID_presentation_time();
- #endif /* EGL_ANDROID_presentation_time */
- #ifdef EGL_ANDROID_recordable
- EGLEW_ANDROID_recordable = _glewSearchExtension("EGL_ANDROID_recordable", extStart, extEnd);
- #endif /* EGL_ANDROID_recordable */
- #ifdef EGL_ANGLE_d3d_share_handle_client_buffer
- EGLEW_ANGLE_d3d_share_handle_client_buffer = _glewSearchExtension("EGL_ANGLE_d3d_share_handle_client_buffer", extStart, extEnd);
- #endif /* EGL_ANGLE_d3d_share_handle_client_buffer */
- #ifdef EGL_ANGLE_device_d3d
- EGLEW_ANGLE_device_d3d = _glewSearchExtension("EGL_ANGLE_device_d3d", extStart, extEnd);
- #endif /* EGL_ANGLE_device_d3d */
- #ifdef EGL_ANGLE_query_surface_pointer
- EGLEW_ANGLE_query_surface_pointer = _glewSearchExtension("EGL_ANGLE_query_surface_pointer", extStart, extEnd);
- if (glewExperimental || EGLEW_ANGLE_query_surface_pointer) EGLEW_ANGLE_query_surface_pointer = !_glewInit_EGL_ANGLE_query_surface_pointer();
- #endif /* EGL_ANGLE_query_surface_pointer */
- #ifdef EGL_ANGLE_surface_d3d_texture_2d_share_handle
- EGLEW_ANGLE_surface_d3d_texture_2d_share_handle = _glewSearchExtension("EGL_ANGLE_surface_d3d_texture_2d_share_handle", extStart, extEnd);
- #endif /* EGL_ANGLE_surface_d3d_texture_2d_share_handle */
- #ifdef EGL_ANGLE_window_fixed_size
- EGLEW_ANGLE_window_fixed_size = _glewSearchExtension("EGL_ANGLE_window_fixed_size", extStart, extEnd);
- #endif /* EGL_ANGLE_window_fixed_size */
- #ifdef EGL_ARM_implicit_external_sync
- EGLEW_ARM_implicit_external_sync = _glewSearchExtension("EGL_ARM_implicit_external_sync", extStart, extEnd);
- #endif /* EGL_ARM_implicit_external_sync */
- #ifdef EGL_ARM_pixmap_multisample_discard
- EGLEW_ARM_pixmap_multisample_discard = _glewSearchExtension("EGL_ARM_pixmap_multisample_discard", extStart, extEnd);
- #endif /* EGL_ARM_pixmap_multisample_discard */
- #ifdef EGL_EXT_buffer_age
- EGLEW_EXT_buffer_age = _glewSearchExtension("EGL_EXT_buffer_age", extStart, extEnd);
- #endif /* EGL_EXT_buffer_age */
- #ifdef EGL_EXT_client_extensions
- EGLEW_EXT_client_extensions = _glewSearchExtension("EGL_EXT_client_extensions", extStart, extEnd);
- #endif /* EGL_EXT_client_extensions */
- #ifdef EGL_EXT_create_context_robustness
- EGLEW_EXT_create_context_robustness = _glewSearchExtension("EGL_EXT_create_context_robustness", extStart, extEnd);
- #endif /* EGL_EXT_create_context_robustness */
- #ifdef EGL_EXT_device_base
- EGLEW_EXT_device_base = _glewSearchExtension("EGL_EXT_device_base", extStart, extEnd);
- #endif /* EGL_EXT_device_base */
- #ifdef EGL_EXT_device_drm
- EGLEW_EXT_device_drm = _glewSearchExtension("EGL_EXT_device_drm", extStart, extEnd);
- #endif /* EGL_EXT_device_drm */
- #ifdef EGL_EXT_device_enumeration
- EGLEW_EXT_device_enumeration = _glewSearchExtension("EGL_EXT_device_enumeration", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_device_enumeration) EGLEW_EXT_device_enumeration = !_glewInit_EGL_EXT_device_enumeration();
- #endif /* EGL_EXT_device_enumeration */
- #ifdef EGL_EXT_device_openwf
- EGLEW_EXT_device_openwf = _glewSearchExtension("EGL_EXT_device_openwf", extStart, extEnd);
- #endif /* EGL_EXT_device_openwf */
- #ifdef EGL_EXT_device_query
- EGLEW_EXT_device_query = _glewSearchExtension("EGL_EXT_device_query", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_device_query) EGLEW_EXT_device_query = !_glewInit_EGL_EXT_device_query();
- #endif /* EGL_EXT_device_query */
- #ifdef EGL_EXT_gl_colorspace_bt2020_linear
- EGLEW_EXT_gl_colorspace_bt2020_linear = _glewSearchExtension("EGL_EXT_gl_colorspace_bt2020_linear", extStart, extEnd);
- #endif /* EGL_EXT_gl_colorspace_bt2020_linear */
- #ifdef EGL_EXT_gl_colorspace_bt2020_pq
- EGLEW_EXT_gl_colorspace_bt2020_pq = _glewSearchExtension("EGL_EXT_gl_colorspace_bt2020_pq", extStart, extEnd);
- #endif /* EGL_EXT_gl_colorspace_bt2020_pq */
- #ifdef EGL_EXT_gl_colorspace_scrgb_linear
- EGLEW_EXT_gl_colorspace_scrgb_linear = _glewSearchExtension("EGL_EXT_gl_colorspace_scrgb_linear", extStart, extEnd);
- #endif /* EGL_EXT_gl_colorspace_scrgb_linear */
- #ifdef EGL_EXT_image_dma_buf_import
- EGLEW_EXT_image_dma_buf_import = _glewSearchExtension("EGL_EXT_image_dma_buf_import", extStart, extEnd);
- #endif /* EGL_EXT_image_dma_buf_import */
- #ifdef EGL_EXT_image_dma_buf_import_modifiers
- EGLEW_EXT_image_dma_buf_import_modifiers = _glewSearchExtension("EGL_EXT_image_dma_buf_import_modifiers", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_image_dma_buf_import_modifiers) EGLEW_EXT_image_dma_buf_import_modifiers = !_glewInit_EGL_EXT_image_dma_buf_import_modifiers();
- #endif /* EGL_EXT_image_dma_buf_import_modifiers */
- #ifdef EGL_EXT_multiview_window
- EGLEW_EXT_multiview_window = _glewSearchExtension("EGL_EXT_multiview_window", extStart, extEnd);
- #endif /* EGL_EXT_multiview_window */
- #ifdef EGL_EXT_output_base
- EGLEW_EXT_output_base = _glewSearchExtension("EGL_EXT_output_base", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_output_base) EGLEW_EXT_output_base = !_glewInit_EGL_EXT_output_base();
- #endif /* EGL_EXT_output_base */
- #ifdef EGL_EXT_output_drm
- EGLEW_EXT_output_drm = _glewSearchExtension("EGL_EXT_output_drm", extStart, extEnd);
- #endif /* EGL_EXT_output_drm */
- #ifdef EGL_EXT_output_openwf
- EGLEW_EXT_output_openwf = _glewSearchExtension("EGL_EXT_output_openwf", extStart, extEnd);
- #endif /* EGL_EXT_output_openwf */
- #ifdef EGL_EXT_pixel_format_float
- EGLEW_EXT_pixel_format_float = _glewSearchExtension("EGL_EXT_pixel_format_float", extStart, extEnd);
- #endif /* EGL_EXT_pixel_format_float */
- #ifdef EGL_EXT_platform_base
- EGLEW_EXT_platform_base = _glewSearchExtension("EGL_EXT_platform_base", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_platform_base) EGLEW_EXT_platform_base = !_glewInit_EGL_EXT_platform_base();
- #endif /* EGL_EXT_platform_base */
- #ifdef EGL_EXT_platform_device
- EGLEW_EXT_platform_device = _glewSearchExtension("EGL_EXT_platform_device", extStart, extEnd);
- #endif /* EGL_EXT_platform_device */
- #ifdef EGL_EXT_platform_wayland
- EGLEW_EXT_platform_wayland = _glewSearchExtension("EGL_EXT_platform_wayland", extStart, extEnd);
- #endif /* EGL_EXT_platform_wayland */
- #ifdef EGL_EXT_platform_x11
- EGLEW_EXT_platform_x11 = _glewSearchExtension("EGL_EXT_platform_x11", extStart, extEnd);
- #endif /* EGL_EXT_platform_x11 */
- #ifdef EGL_EXT_protected_content
- EGLEW_EXT_protected_content = _glewSearchExtension("EGL_EXT_protected_content", extStart, extEnd);
- #endif /* EGL_EXT_protected_content */
- #ifdef EGL_EXT_protected_surface
- EGLEW_EXT_protected_surface = _glewSearchExtension("EGL_EXT_protected_surface", extStart, extEnd);
- #endif /* EGL_EXT_protected_surface */
- #ifdef EGL_EXT_stream_consumer_egloutput
- EGLEW_EXT_stream_consumer_egloutput = _glewSearchExtension("EGL_EXT_stream_consumer_egloutput", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_stream_consumer_egloutput) EGLEW_EXT_stream_consumer_egloutput = !_glewInit_EGL_EXT_stream_consumer_egloutput();
- #endif /* EGL_EXT_stream_consumer_egloutput */
- #ifdef EGL_EXT_surface_SMPTE2086_metadata
- EGLEW_EXT_surface_SMPTE2086_metadata = _glewSearchExtension("EGL_EXT_surface_SMPTE2086_metadata", extStart, extEnd);
- #endif /* EGL_EXT_surface_SMPTE2086_metadata */
- #ifdef EGL_EXT_swap_buffers_with_damage
- EGLEW_EXT_swap_buffers_with_damage = _glewSearchExtension("EGL_EXT_swap_buffers_with_damage", extStart, extEnd);
- if (glewExperimental || EGLEW_EXT_swap_buffers_with_damage) EGLEW_EXT_swap_buffers_with_damage = !_glewInit_EGL_EXT_swap_buffers_with_damage();
- #endif /* EGL_EXT_swap_buffers_with_damage */
- #ifdef EGL_EXT_yuv_surface
- EGLEW_EXT_yuv_surface = _glewSearchExtension("EGL_EXT_yuv_surface", extStart, extEnd);
- #endif /* EGL_EXT_yuv_surface */
- #ifdef EGL_HI_clientpixmap
- EGLEW_HI_clientpixmap = _glewSearchExtension("EGL_HI_clientpixmap", extStart, extEnd);
- if (glewExperimental || EGLEW_HI_clientpixmap) EGLEW_HI_clientpixmap = !_glewInit_EGL_HI_clientpixmap();
- #endif /* EGL_HI_clientpixmap */
- #ifdef EGL_HI_colorformats
- EGLEW_HI_colorformats = _glewSearchExtension("EGL_HI_colorformats", extStart, extEnd);
- #endif /* EGL_HI_colorformats */
- #ifdef EGL_IMG_context_priority
- EGLEW_IMG_context_priority = _glewSearchExtension("EGL_IMG_context_priority", extStart, extEnd);
- #endif /* EGL_IMG_context_priority */
- #ifdef EGL_IMG_image_plane_attribs
- EGLEW_IMG_image_plane_attribs = _glewSearchExtension("EGL_IMG_image_plane_attribs", extStart, extEnd);
- #endif /* EGL_IMG_image_plane_attribs */
- #ifdef EGL_KHR_cl_event
- EGLEW_KHR_cl_event = _glewSearchExtension("EGL_KHR_cl_event", extStart, extEnd);
- #endif /* EGL_KHR_cl_event */
- #ifdef EGL_KHR_cl_event2
- EGLEW_KHR_cl_event2 = _glewSearchExtension("EGL_KHR_cl_event2", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_cl_event2) EGLEW_KHR_cl_event2 = !_glewInit_EGL_KHR_cl_event2();
- #endif /* EGL_KHR_cl_event2 */
- #ifdef EGL_KHR_client_get_all_proc_addresses
- EGLEW_KHR_client_get_all_proc_addresses = _glewSearchExtension("EGL_KHR_client_get_all_proc_addresses", extStart, extEnd);
- #endif /* EGL_KHR_client_get_all_proc_addresses */
- #ifdef EGL_KHR_config_attribs
- EGLEW_KHR_config_attribs = _glewSearchExtension("EGL_KHR_config_attribs", extStart, extEnd);
- #endif /* EGL_KHR_config_attribs */
- #ifdef EGL_KHR_context_flush_control
- EGLEW_KHR_context_flush_control = _glewSearchExtension("EGL_KHR_context_flush_control", extStart, extEnd);
- #endif /* EGL_KHR_context_flush_control */
- #ifdef EGL_KHR_create_context
- EGLEW_KHR_create_context = _glewSearchExtension("EGL_KHR_create_context", extStart, extEnd);
- #endif /* EGL_KHR_create_context */
- #ifdef EGL_KHR_create_context_no_error
- EGLEW_KHR_create_context_no_error = _glewSearchExtension("EGL_KHR_create_context_no_error", extStart, extEnd);
- #endif /* EGL_KHR_create_context_no_error */
- #ifdef EGL_KHR_debug
- EGLEW_KHR_debug = _glewSearchExtension("EGL_KHR_debug", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_debug) EGLEW_KHR_debug = !_glewInit_EGL_KHR_debug();
- #endif /* EGL_KHR_debug */
- #ifdef EGL_KHR_fence_sync
- EGLEW_KHR_fence_sync = _glewSearchExtension("EGL_KHR_fence_sync", extStart, extEnd);
- #endif /* EGL_KHR_fence_sync */
- #ifdef EGL_KHR_get_all_proc_addresses
- EGLEW_KHR_get_all_proc_addresses = _glewSearchExtension("EGL_KHR_get_all_proc_addresses", extStart, extEnd);
- #endif /* EGL_KHR_get_all_proc_addresses */
- #ifdef EGL_KHR_gl_colorspace
- EGLEW_KHR_gl_colorspace = _glewSearchExtension("EGL_KHR_gl_colorspace", extStart, extEnd);
- #endif /* EGL_KHR_gl_colorspace */
- #ifdef EGL_KHR_gl_renderbuffer_image
- EGLEW_KHR_gl_renderbuffer_image = _glewSearchExtension("EGL_KHR_gl_renderbuffer_image", extStart, extEnd);
- #endif /* EGL_KHR_gl_renderbuffer_image */
- #ifdef EGL_KHR_gl_texture_2D_image
- EGLEW_KHR_gl_texture_2D_image = _glewSearchExtension("EGL_KHR_gl_texture_2D_image", extStart, extEnd);
- #endif /* EGL_KHR_gl_texture_2D_image */
- #ifdef EGL_KHR_gl_texture_3D_image
- EGLEW_KHR_gl_texture_3D_image = _glewSearchExtension("EGL_KHR_gl_texture_3D_image", extStart, extEnd);
- #endif /* EGL_KHR_gl_texture_3D_image */
- #ifdef EGL_KHR_gl_texture_cubemap_image
- EGLEW_KHR_gl_texture_cubemap_image = _glewSearchExtension("EGL_KHR_gl_texture_cubemap_image", extStart, extEnd);
- #endif /* EGL_KHR_gl_texture_cubemap_image */
- #ifdef EGL_KHR_image
- EGLEW_KHR_image = _glewSearchExtension("EGL_KHR_image", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_image) EGLEW_KHR_image = !_glewInit_EGL_KHR_image();
- #endif /* EGL_KHR_image */
- #ifdef EGL_KHR_image_base
- EGLEW_KHR_image_base = _glewSearchExtension("EGL_KHR_image_base", extStart, extEnd);
- #endif /* EGL_KHR_image_base */
- #ifdef EGL_KHR_image_pixmap
- EGLEW_KHR_image_pixmap = _glewSearchExtension("EGL_KHR_image_pixmap", extStart, extEnd);
- #endif /* EGL_KHR_image_pixmap */
- #ifdef EGL_KHR_lock_surface
- EGLEW_KHR_lock_surface = _glewSearchExtension("EGL_KHR_lock_surface", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_lock_surface) EGLEW_KHR_lock_surface = !_glewInit_EGL_KHR_lock_surface();
- #endif /* EGL_KHR_lock_surface */
- #ifdef EGL_KHR_lock_surface2
- EGLEW_KHR_lock_surface2 = _glewSearchExtension("EGL_KHR_lock_surface2", extStart, extEnd);
- #endif /* EGL_KHR_lock_surface2 */
- #ifdef EGL_KHR_lock_surface3
- EGLEW_KHR_lock_surface3 = _glewSearchExtension("EGL_KHR_lock_surface3", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_lock_surface3) EGLEW_KHR_lock_surface3 = !_glewInit_EGL_KHR_lock_surface3();
- #endif /* EGL_KHR_lock_surface3 */
- #ifdef EGL_KHR_mutable_render_buffer
- EGLEW_KHR_mutable_render_buffer = _glewSearchExtension("EGL_KHR_mutable_render_buffer", extStart, extEnd);
- #endif /* EGL_KHR_mutable_render_buffer */
- #ifdef EGL_KHR_no_config_context
- EGLEW_KHR_no_config_context = _glewSearchExtension("EGL_KHR_no_config_context", extStart, extEnd);
- #endif /* EGL_KHR_no_config_context */
- #ifdef EGL_KHR_partial_update
- EGLEW_KHR_partial_update = _glewSearchExtension("EGL_KHR_partial_update", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_partial_update) EGLEW_KHR_partial_update = !_glewInit_EGL_KHR_partial_update();
- #endif /* EGL_KHR_partial_update */
- #ifdef EGL_KHR_platform_android
- EGLEW_KHR_platform_android = _glewSearchExtension("EGL_KHR_platform_android", extStart, extEnd);
- #endif /* EGL_KHR_platform_android */
- #ifdef EGL_KHR_platform_gbm
- EGLEW_KHR_platform_gbm = _glewSearchExtension("EGL_KHR_platform_gbm", extStart, extEnd);
- #endif /* EGL_KHR_platform_gbm */
- #ifdef EGL_KHR_platform_wayland
- EGLEW_KHR_platform_wayland = _glewSearchExtension("EGL_KHR_platform_wayland", extStart, extEnd);
- #endif /* EGL_KHR_platform_wayland */
- #ifdef EGL_KHR_platform_x11
- EGLEW_KHR_platform_x11 = _glewSearchExtension("EGL_KHR_platform_x11", extStart, extEnd);
- #endif /* EGL_KHR_platform_x11 */
- #ifdef EGL_KHR_reusable_sync
- EGLEW_KHR_reusable_sync = _glewSearchExtension("EGL_KHR_reusable_sync", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_reusable_sync) EGLEW_KHR_reusable_sync = !_glewInit_EGL_KHR_reusable_sync();
- #endif /* EGL_KHR_reusable_sync */
- #ifdef EGL_KHR_stream
- EGLEW_KHR_stream = _glewSearchExtension("EGL_KHR_stream", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream) EGLEW_KHR_stream = !_glewInit_EGL_KHR_stream();
- #endif /* EGL_KHR_stream */
- #ifdef EGL_KHR_stream_attrib
- EGLEW_KHR_stream_attrib = _glewSearchExtension("EGL_KHR_stream_attrib", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream_attrib) EGLEW_KHR_stream_attrib = !_glewInit_EGL_KHR_stream_attrib();
- #endif /* EGL_KHR_stream_attrib */
- #ifdef EGL_KHR_stream_consumer_gltexture
- EGLEW_KHR_stream_consumer_gltexture = _glewSearchExtension("EGL_KHR_stream_consumer_gltexture", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream_consumer_gltexture) EGLEW_KHR_stream_consumer_gltexture = !_glewInit_EGL_KHR_stream_consumer_gltexture();
- #endif /* EGL_KHR_stream_consumer_gltexture */
- #ifdef EGL_KHR_stream_cross_process_fd
- EGLEW_KHR_stream_cross_process_fd = _glewSearchExtension("EGL_KHR_stream_cross_process_fd", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream_cross_process_fd) EGLEW_KHR_stream_cross_process_fd = !_glewInit_EGL_KHR_stream_cross_process_fd();
- #endif /* EGL_KHR_stream_cross_process_fd */
- #ifdef EGL_KHR_stream_fifo
- EGLEW_KHR_stream_fifo = _glewSearchExtension("EGL_KHR_stream_fifo", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream_fifo) EGLEW_KHR_stream_fifo = !_glewInit_EGL_KHR_stream_fifo();
- #endif /* EGL_KHR_stream_fifo */
- #ifdef EGL_KHR_stream_producer_aldatalocator
- EGLEW_KHR_stream_producer_aldatalocator = _glewSearchExtension("EGL_KHR_stream_producer_aldatalocator", extStart, extEnd);
- #endif /* EGL_KHR_stream_producer_aldatalocator */
- #ifdef EGL_KHR_stream_producer_eglsurface
- EGLEW_KHR_stream_producer_eglsurface = _glewSearchExtension("EGL_KHR_stream_producer_eglsurface", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_stream_producer_eglsurface) EGLEW_KHR_stream_producer_eglsurface = !_glewInit_EGL_KHR_stream_producer_eglsurface();
- #endif /* EGL_KHR_stream_producer_eglsurface */
- #ifdef EGL_KHR_surfaceless_context
- EGLEW_KHR_surfaceless_context = _glewSearchExtension("EGL_KHR_surfaceless_context", extStart, extEnd);
- #endif /* EGL_KHR_surfaceless_context */
- #ifdef EGL_KHR_swap_buffers_with_damage
- EGLEW_KHR_swap_buffers_with_damage = _glewSearchExtension("EGL_KHR_swap_buffers_with_damage", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_swap_buffers_with_damage) EGLEW_KHR_swap_buffers_with_damage = !_glewInit_EGL_KHR_swap_buffers_with_damage();
- #endif /* EGL_KHR_swap_buffers_with_damage */
- #ifdef EGL_KHR_vg_parent_image
- EGLEW_KHR_vg_parent_image = _glewSearchExtension("EGL_KHR_vg_parent_image", extStart, extEnd);
- #endif /* EGL_KHR_vg_parent_image */
- #ifdef EGL_KHR_wait_sync
- EGLEW_KHR_wait_sync = _glewSearchExtension("EGL_KHR_wait_sync", extStart, extEnd);
- if (glewExperimental || EGLEW_KHR_wait_sync) EGLEW_KHR_wait_sync = !_glewInit_EGL_KHR_wait_sync();
- #endif /* EGL_KHR_wait_sync */
- #ifdef EGL_MESA_drm_image
- EGLEW_MESA_drm_image = _glewSearchExtension("EGL_MESA_drm_image", extStart, extEnd);
- if (glewExperimental || EGLEW_MESA_drm_image) EGLEW_MESA_drm_image = !_glewInit_EGL_MESA_drm_image();
- #endif /* EGL_MESA_drm_image */
- #ifdef EGL_MESA_image_dma_buf_export
- EGLEW_MESA_image_dma_buf_export = _glewSearchExtension("EGL_MESA_image_dma_buf_export", extStart, extEnd);
- if (glewExperimental || EGLEW_MESA_image_dma_buf_export) EGLEW_MESA_image_dma_buf_export = !_glewInit_EGL_MESA_image_dma_buf_export();
- #endif /* EGL_MESA_image_dma_buf_export */
- #ifdef EGL_MESA_platform_gbm
- EGLEW_MESA_platform_gbm = _glewSearchExtension("EGL_MESA_platform_gbm", extStart, extEnd);
- #endif /* EGL_MESA_platform_gbm */
- #ifdef EGL_MESA_platform_surfaceless
- EGLEW_MESA_platform_surfaceless = _glewSearchExtension("EGL_MESA_platform_surfaceless", extStart, extEnd);
- #endif /* EGL_MESA_platform_surfaceless */
- #ifdef EGL_NOK_swap_region
- EGLEW_NOK_swap_region = _glewSearchExtension("EGL_NOK_swap_region", extStart, extEnd);
- if (glewExperimental || EGLEW_NOK_swap_region) EGLEW_NOK_swap_region = !_glewInit_EGL_NOK_swap_region();
- #endif /* EGL_NOK_swap_region */
- #ifdef EGL_NOK_swap_region2
- EGLEW_NOK_swap_region2 = _glewSearchExtension("EGL_NOK_swap_region2", extStart, extEnd);
- if (glewExperimental || EGLEW_NOK_swap_region2) EGLEW_NOK_swap_region2 = !_glewInit_EGL_NOK_swap_region2();
- #endif /* EGL_NOK_swap_region2 */
- #ifdef EGL_NOK_texture_from_pixmap
- EGLEW_NOK_texture_from_pixmap = _glewSearchExtension("EGL_NOK_texture_from_pixmap", extStart, extEnd);
- #endif /* EGL_NOK_texture_from_pixmap */
- #ifdef EGL_NV_3dvision_surface
- EGLEW_NV_3dvision_surface = _glewSearchExtension("EGL_NV_3dvision_surface", extStart, extEnd);
- #endif /* EGL_NV_3dvision_surface */
- #ifdef EGL_NV_coverage_sample
- EGLEW_NV_coverage_sample = _glewSearchExtension("EGL_NV_coverage_sample", extStart, extEnd);
- #endif /* EGL_NV_coverage_sample */
- #ifdef EGL_NV_coverage_sample_resolve
- EGLEW_NV_coverage_sample_resolve = _glewSearchExtension("EGL_NV_coverage_sample_resolve", extStart, extEnd);
- #endif /* EGL_NV_coverage_sample_resolve */
- #ifdef EGL_NV_cuda_event
- EGLEW_NV_cuda_event = _glewSearchExtension("EGL_NV_cuda_event", extStart, extEnd);
- #endif /* EGL_NV_cuda_event */
- #ifdef EGL_NV_depth_nonlinear
- EGLEW_NV_depth_nonlinear = _glewSearchExtension("EGL_NV_depth_nonlinear", extStart, extEnd);
- #endif /* EGL_NV_depth_nonlinear */
- #ifdef EGL_NV_device_cuda
- EGLEW_NV_device_cuda = _glewSearchExtension("EGL_NV_device_cuda", extStart, extEnd);
- #endif /* EGL_NV_device_cuda */
- #ifdef EGL_NV_native_query
- EGLEW_NV_native_query = _glewSearchExtension("EGL_NV_native_query", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_native_query) EGLEW_NV_native_query = !_glewInit_EGL_NV_native_query();
- #endif /* EGL_NV_native_query */
- #ifdef EGL_NV_post_convert_rounding
- EGLEW_NV_post_convert_rounding = _glewSearchExtension("EGL_NV_post_convert_rounding", extStart, extEnd);
- #endif /* EGL_NV_post_convert_rounding */
- #ifdef EGL_NV_post_sub_buffer
- EGLEW_NV_post_sub_buffer = _glewSearchExtension("EGL_NV_post_sub_buffer", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_post_sub_buffer) EGLEW_NV_post_sub_buffer = !_glewInit_EGL_NV_post_sub_buffer();
- #endif /* EGL_NV_post_sub_buffer */
- #ifdef EGL_NV_robustness_video_memory_purge
- EGLEW_NV_robustness_video_memory_purge = _glewSearchExtension("EGL_NV_robustness_video_memory_purge", extStart, extEnd);
- #endif /* EGL_NV_robustness_video_memory_purge */
- #ifdef EGL_NV_stream_consumer_gltexture_yuv
- EGLEW_NV_stream_consumer_gltexture_yuv = _glewSearchExtension("EGL_NV_stream_consumer_gltexture_yuv", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_stream_consumer_gltexture_yuv) EGLEW_NV_stream_consumer_gltexture_yuv = !_glewInit_EGL_NV_stream_consumer_gltexture_yuv();
- #endif /* EGL_NV_stream_consumer_gltexture_yuv */
- #ifdef EGL_NV_stream_cross_display
- EGLEW_NV_stream_cross_display = _glewSearchExtension("EGL_NV_stream_cross_display", extStart, extEnd);
- #endif /* EGL_NV_stream_cross_display */
- #ifdef EGL_NV_stream_cross_object
- EGLEW_NV_stream_cross_object = _glewSearchExtension("EGL_NV_stream_cross_object", extStart, extEnd);
- #endif /* EGL_NV_stream_cross_object */
- #ifdef EGL_NV_stream_cross_partition
- EGLEW_NV_stream_cross_partition = _glewSearchExtension("EGL_NV_stream_cross_partition", extStart, extEnd);
- #endif /* EGL_NV_stream_cross_partition */
- #ifdef EGL_NV_stream_cross_process
- EGLEW_NV_stream_cross_process = _glewSearchExtension("EGL_NV_stream_cross_process", extStart, extEnd);
- #endif /* EGL_NV_stream_cross_process */
- #ifdef EGL_NV_stream_cross_system
- EGLEW_NV_stream_cross_system = _glewSearchExtension("EGL_NV_stream_cross_system", extStart, extEnd);
- #endif /* EGL_NV_stream_cross_system */
- #ifdef EGL_NV_stream_fifo_next
- EGLEW_NV_stream_fifo_next = _glewSearchExtension("EGL_NV_stream_fifo_next", extStart, extEnd);
- #endif /* EGL_NV_stream_fifo_next */
- #ifdef EGL_NV_stream_fifo_synchronous
- EGLEW_NV_stream_fifo_synchronous = _glewSearchExtension("EGL_NV_stream_fifo_synchronous", extStart, extEnd);
- #endif /* EGL_NV_stream_fifo_synchronous */
- #ifdef EGL_NV_stream_frame_limits
- EGLEW_NV_stream_frame_limits = _glewSearchExtension("EGL_NV_stream_frame_limits", extStart, extEnd);
- #endif /* EGL_NV_stream_frame_limits */
- #ifdef EGL_NV_stream_metadata
- EGLEW_NV_stream_metadata = _glewSearchExtension("EGL_NV_stream_metadata", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_stream_metadata) EGLEW_NV_stream_metadata = !_glewInit_EGL_NV_stream_metadata();
- #endif /* EGL_NV_stream_metadata */
- #ifdef EGL_NV_stream_remote
- EGLEW_NV_stream_remote = _glewSearchExtension("EGL_NV_stream_remote", extStart, extEnd);
- #endif /* EGL_NV_stream_remote */
- #ifdef EGL_NV_stream_reset
- EGLEW_NV_stream_reset = _glewSearchExtension("EGL_NV_stream_reset", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_stream_reset) EGLEW_NV_stream_reset = !_glewInit_EGL_NV_stream_reset();
- #endif /* EGL_NV_stream_reset */
- #ifdef EGL_NV_stream_socket
- EGLEW_NV_stream_socket = _glewSearchExtension("EGL_NV_stream_socket", extStart, extEnd);
- #endif /* EGL_NV_stream_socket */
- #ifdef EGL_NV_stream_socket_inet
- EGLEW_NV_stream_socket_inet = _glewSearchExtension("EGL_NV_stream_socket_inet", extStart, extEnd);
- #endif /* EGL_NV_stream_socket_inet */
- #ifdef EGL_NV_stream_socket_unix
- EGLEW_NV_stream_socket_unix = _glewSearchExtension("EGL_NV_stream_socket_unix", extStart, extEnd);
- #endif /* EGL_NV_stream_socket_unix */
- #ifdef EGL_NV_stream_sync
- EGLEW_NV_stream_sync = _glewSearchExtension("EGL_NV_stream_sync", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_stream_sync) EGLEW_NV_stream_sync = !_glewInit_EGL_NV_stream_sync();
- #endif /* EGL_NV_stream_sync */
- #ifdef EGL_NV_sync
- EGLEW_NV_sync = _glewSearchExtension("EGL_NV_sync", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_sync) EGLEW_NV_sync = !_glewInit_EGL_NV_sync();
- #endif /* EGL_NV_sync */
- #ifdef EGL_NV_system_time
- EGLEW_NV_system_time = _glewSearchExtension("EGL_NV_system_time", extStart, extEnd);
- if (glewExperimental || EGLEW_NV_system_time) EGLEW_NV_system_time = !_glewInit_EGL_NV_system_time();
- #endif /* EGL_NV_system_time */
- #ifdef EGL_TIZEN_image_native_buffer
- EGLEW_TIZEN_image_native_buffer = _glewSearchExtension("EGL_TIZEN_image_native_buffer", extStart, extEnd);
- #endif /* EGL_TIZEN_image_native_buffer */
- #ifdef EGL_TIZEN_image_native_surface
- EGLEW_TIZEN_image_native_surface = _glewSearchExtension("EGL_TIZEN_image_native_surface", extStart, extEnd);
- #endif /* EGL_TIZEN_image_native_surface */
- return GLEW_OK;
- }
- #elif defined(_WIN32)
- PFNWGLSETSTEREOEMITTERSTATE3DLPROC __wglewSetStereoEmitterState3DL = NULL;
- PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC __wglewBlitContextFramebufferAMD = NULL;
- PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC __wglewCreateAssociatedContextAMD = NULL;
- PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __wglewCreateAssociatedContextAttribsAMD = NULL;
- PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC __wglewDeleteAssociatedContextAMD = NULL;
- PFNWGLGETCONTEXTGPUIDAMDPROC __wglewGetContextGPUIDAMD = NULL;
- PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC __wglewGetCurrentAssociatedContextAMD = NULL;
- PFNWGLGETGPUIDSAMDPROC __wglewGetGPUIDsAMD = NULL;
- PFNWGLGETGPUINFOAMDPROC __wglewGetGPUInfoAMD = NULL;
- PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __wglewMakeAssociatedContextCurrentAMD = NULL;
- PFNWGLCREATEBUFFERREGIONARBPROC __wglewCreateBufferRegionARB = NULL;
- PFNWGLDELETEBUFFERREGIONARBPROC __wglewDeleteBufferRegionARB = NULL;
- PFNWGLRESTOREBUFFERREGIONARBPROC __wglewRestoreBufferRegionARB = NULL;
- PFNWGLSAVEBUFFERREGIONARBPROC __wglewSaveBufferRegionARB = NULL;
- PFNWGLCREATECONTEXTATTRIBSARBPROC __wglewCreateContextAttribsARB = NULL;
- PFNWGLGETEXTENSIONSSTRINGARBPROC __wglewGetExtensionsStringARB = NULL;
- PFNWGLGETCURRENTREADDCARBPROC __wglewGetCurrentReadDCARB = NULL;
- PFNWGLMAKECONTEXTCURRENTARBPROC __wglewMakeContextCurrentARB = NULL;
- PFNWGLCREATEPBUFFERARBPROC __wglewCreatePbufferARB = NULL;
- PFNWGLDESTROYPBUFFERARBPROC __wglewDestroyPbufferARB = NULL;
- PFNWGLGETPBUFFERDCARBPROC __wglewGetPbufferDCARB = NULL;
- PFNWGLQUERYPBUFFERARBPROC __wglewQueryPbufferARB = NULL;
- PFNWGLRELEASEPBUFFERDCARBPROC __wglewReleasePbufferDCARB = NULL;
- PFNWGLCHOOSEPIXELFORMATARBPROC __wglewChoosePixelFormatARB = NULL;
- PFNWGLGETPIXELFORMATATTRIBFVARBPROC __wglewGetPixelFormatAttribfvARB = NULL;
- PFNWGLGETPIXELFORMATATTRIBIVARBPROC __wglewGetPixelFormatAttribivARB = NULL;
- PFNWGLBINDTEXIMAGEARBPROC __wglewBindTexImageARB = NULL;
- PFNWGLRELEASETEXIMAGEARBPROC __wglewReleaseTexImageARB = NULL;
- PFNWGLSETPBUFFERATTRIBARBPROC __wglewSetPbufferAttribARB = NULL;
- PFNWGLBINDDISPLAYCOLORTABLEEXTPROC __wglewBindDisplayColorTableEXT = NULL;
- PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC __wglewCreateDisplayColorTableEXT = NULL;
- PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC __wglewDestroyDisplayColorTableEXT = NULL;
- PFNWGLLOADDISPLAYCOLORTABLEEXTPROC __wglewLoadDisplayColorTableEXT = NULL;
- PFNWGLGETEXTENSIONSSTRINGEXTPROC __wglewGetExtensionsStringEXT = NULL;
- PFNWGLGETCURRENTREADDCEXTPROC __wglewGetCurrentReadDCEXT = NULL;
- PFNWGLMAKECONTEXTCURRENTEXTPROC __wglewMakeContextCurrentEXT = NULL;
- PFNWGLCREATEPBUFFEREXTPROC __wglewCreatePbufferEXT = NULL;
- PFNWGLDESTROYPBUFFEREXTPROC __wglewDestroyPbufferEXT = NULL;
- PFNWGLGETPBUFFERDCEXTPROC __wglewGetPbufferDCEXT = NULL;
- PFNWGLQUERYPBUFFEREXTPROC __wglewQueryPbufferEXT = NULL;
- PFNWGLRELEASEPBUFFERDCEXTPROC __wglewReleasePbufferDCEXT = NULL;
- PFNWGLCHOOSEPIXELFORMATEXTPROC __wglewChoosePixelFormatEXT = NULL;
- PFNWGLGETPIXELFORMATATTRIBFVEXTPROC __wglewGetPixelFormatAttribfvEXT = NULL;
- PFNWGLGETPIXELFORMATATTRIBIVEXTPROC __wglewGetPixelFormatAttribivEXT = NULL;
- PFNWGLGETSWAPINTERVALEXTPROC __wglewGetSwapIntervalEXT = NULL;
- PFNWGLSWAPINTERVALEXTPROC __wglewSwapIntervalEXT = NULL;
- PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC __wglewGetDigitalVideoParametersI3D = NULL;
- PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC __wglewSetDigitalVideoParametersI3D = NULL;
- PFNWGLGETGAMMATABLEI3DPROC __wglewGetGammaTableI3D = NULL;
- PFNWGLGETGAMMATABLEPARAMETERSI3DPROC __wglewGetGammaTableParametersI3D = NULL;
- PFNWGLSETGAMMATABLEI3DPROC __wglewSetGammaTableI3D = NULL;
- PFNWGLSETGAMMATABLEPARAMETERSI3DPROC __wglewSetGammaTableParametersI3D = NULL;
- PFNWGLDISABLEGENLOCKI3DPROC __wglewDisableGenlockI3D = NULL;
- PFNWGLENABLEGENLOCKI3DPROC __wglewEnableGenlockI3D = NULL;
- PFNWGLGENLOCKSAMPLERATEI3DPROC __wglewGenlockSampleRateI3D = NULL;
- PFNWGLGENLOCKSOURCEDELAYI3DPROC __wglewGenlockSourceDelayI3D = NULL;
- PFNWGLGENLOCKSOURCEEDGEI3DPROC __wglewGenlockSourceEdgeI3D = NULL;
- PFNWGLGENLOCKSOURCEI3DPROC __wglewGenlockSourceI3D = NULL;
- PFNWGLGETGENLOCKSAMPLERATEI3DPROC __wglewGetGenlockSampleRateI3D = NULL;
- PFNWGLGETGENLOCKSOURCEDELAYI3DPROC __wglewGetGenlockSourceDelayI3D = NULL;
- PFNWGLGETGENLOCKSOURCEEDGEI3DPROC __wglewGetGenlockSourceEdgeI3D = NULL;
- PFNWGLGETGENLOCKSOURCEI3DPROC __wglewGetGenlockSourceI3D = NULL;
- PFNWGLISENABLEDGENLOCKI3DPROC __wglewIsEnabledGenlockI3D = NULL;
- PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC __wglewQueryGenlockMaxSourceDelayI3D = NULL;
- PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC __wglewAssociateImageBufferEventsI3D = NULL;
- PFNWGLCREATEIMAGEBUFFERI3DPROC __wglewCreateImageBufferI3D = NULL;
- PFNWGLDESTROYIMAGEBUFFERI3DPROC __wglewDestroyImageBufferI3D = NULL;
- PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC __wglewReleaseImageBufferEventsI3D = NULL;
- PFNWGLDISABLEFRAMELOCKI3DPROC __wglewDisableFrameLockI3D = NULL;
- PFNWGLENABLEFRAMELOCKI3DPROC __wglewEnableFrameLockI3D = NULL;
- PFNWGLISENABLEDFRAMELOCKI3DPROC __wglewIsEnabledFrameLockI3D = NULL;
- PFNWGLQUERYFRAMELOCKMASTERI3DPROC __wglewQueryFrameLockMasterI3D = NULL;
- PFNWGLBEGINFRAMETRACKINGI3DPROC __wglewBeginFrameTrackingI3D = NULL;
- PFNWGLENDFRAMETRACKINGI3DPROC __wglewEndFrameTrackingI3D = NULL;
- PFNWGLGETFRAMEUSAGEI3DPROC __wglewGetFrameUsageI3D = NULL;
- PFNWGLQUERYFRAMETRACKINGI3DPROC __wglewQueryFrameTrackingI3D = NULL;
- PFNWGLDXCLOSEDEVICENVPROC __wglewDXCloseDeviceNV = NULL;
- PFNWGLDXLOCKOBJECTSNVPROC __wglewDXLockObjectsNV = NULL;
- PFNWGLDXOBJECTACCESSNVPROC __wglewDXObjectAccessNV = NULL;
- PFNWGLDXOPENDEVICENVPROC __wglewDXOpenDeviceNV = NULL;
- PFNWGLDXREGISTEROBJECTNVPROC __wglewDXRegisterObjectNV = NULL;
- PFNWGLDXSETRESOURCESHAREHANDLENVPROC __wglewDXSetResourceShareHandleNV = NULL;
- PFNWGLDXUNLOCKOBJECTSNVPROC __wglewDXUnlockObjectsNV = NULL;
- PFNWGLDXUNREGISTEROBJECTNVPROC __wglewDXUnregisterObjectNV = NULL;
- PFNWGLCOPYIMAGESUBDATANVPROC __wglewCopyImageSubDataNV = NULL;
- PFNWGLDELAYBEFORESWAPNVPROC __wglewDelayBeforeSwapNV = NULL;
- PFNWGLCREATEAFFINITYDCNVPROC __wglewCreateAffinityDCNV = NULL;
- PFNWGLDELETEDCNVPROC __wglewDeleteDCNV = NULL;
- PFNWGLENUMGPUDEVICESNVPROC __wglewEnumGpuDevicesNV = NULL;
- PFNWGLENUMGPUSFROMAFFINITYDCNVPROC __wglewEnumGpusFromAffinityDCNV = NULL;
- PFNWGLENUMGPUSNVPROC __wglewEnumGpusNV = NULL;
- PFNWGLBINDVIDEODEVICENVPROC __wglewBindVideoDeviceNV = NULL;
- PFNWGLENUMERATEVIDEODEVICESNVPROC __wglewEnumerateVideoDevicesNV = NULL;
- PFNWGLQUERYCURRENTCONTEXTNVPROC __wglewQueryCurrentContextNV = NULL;
- PFNWGLBINDSWAPBARRIERNVPROC __wglewBindSwapBarrierNV = NULL;
- PFNWGLJOINSWAPGROUPNVPROC __wglewJoinSwapGroupNV = NULL;
- PFNWGLQUERYFRAMECOUNTNVPROC __wglewQueryFrameCountNV = NULL;
- PFNWGLQUERYMAXSWAPGROUPSNVPROC __wglewQueryMaxSwapGroupsNV = NULL;
- PFNWGLQUERYSWAPGROUPNVPROC __wglewQuerySwapGroupNV = NULL;
- PFNWGLRESETFRAMECOUNTNVPROC __wglewResetFrameCountNV = NULL;
- PFNWGLALLOCATEMEMORYNVPROC __wglewAllocateMemoryNV = NULL;
- PFNWGLFREEMEMORYNVPROC __wglewFreeMemoryNV = NULL;
- PFNWGLBINDVIDEOCAPTUREDEVICENVPROC __wglewBindVideoCaptureDeviceNV = NULL;
- PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC __wglewEnumerateVideoCaptureDevicesNV = NULL;
- PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC __wglewLockVideoCaptureDeviceNV = NULL;
- PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC __wglewQueryVideoCaptureDeviceNV = NULL;
- PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC __wglewReleaseVideoCaptureDeviceNV = NULL;
- PFNWGLBINDVIDEOIMAGENVPROC __wglewBindVideoImageNV = NULL;
- PFNWGLGETVIDEODEVICENVPROC __wglewGetVideoDeviceNV = NULL;
- PFNWGLGETVIDEOINFONVPROC __wglewGetVideoInfoNV = NULL;
- PFNWGLRELEASEVIDEODEVICENVPROC __wglewReleaseVideoDeviceNV = NULL;
- PFNWGLRELEASEVIDEOIMAGENVPROC __wglewReleaseVideoImageNV = NULL;
- PFNWGLSENDPBUFFERTOVIDEONVPROC __wglewSendPbufferToVideoNV = NULL;
- PFNWGLGETMSCRATEOMLPROC __wglewGetMscRateOML = NULL;
- PFNWGLGETSYNCVALUESOMLPROC __wglewGetSyncValuesOML = NULL;
- PFNWGLSWAPBUFFERSMSCOMLPROC __wglewSwapBuffersMscOML = NULL;
- PFNWGLSWAPLAYERBUFFERSMSCOMLPROC __wglewSwapLayerBuffersMscOML = NULL;
- PFNWGLWAITFORMSCOMLPROC __wglewWaitForMscOML = NULL;
- PFNWGLWAITFORSBCOMLPROC __wglewWaitForSbcOML = NULL;
- GLboolean __WGLEW_3DFX_multisample = GL_FALSE;
- GLboolean __WGLEW_3DL_stereo_control = GL_FALSE;
- GLboolean __WGLEW_AMD_gpu_association = GL_FALSE;
- GLboolean __WGLEW_ARB_buffer_region = GL_FALSE;
- GLboolean __WGLEW_ARB_context_flush_control = GL_FALSE;
- GLboolean __WGLEW_ARB_create_context = GL_FALSE;
- GLboolean __WGLEW_ARB_create_context_no_error = GL_FALSE;
- GLboolean __WGLEW_ARB_create_context_profile = GL_FALSE;
- GLboolean __WGLEW_ARB_create_context_robustness = GL_FALSE;
- GLboolean __WGLEW_ARB_extensions_string = GL_FALSE;
- GLboolean __WGLEW_ARB_framebuffer_sRGB = GL_FALSE;
- GLboolean __WGLEW_ARB_make_current_read = GL_FALSE;
- GLboolean __WGLEW_ARB_multisample = GL_FALSE;
- GLboolean __WGLEW_ARB_pbuffer = GL_FALSE;
- GLboolean __WGLEW_ARB_pixel_format = GL_FALSE;
- GLboolean __WGLEW_ARB_pixel_format_float = GL_FALSE;
- GLboolean __WGLEW_ARB_render_texture = GL_FALSE;
- GLboolean __WGLEW_ARB_robustness_application_isolation = GL_FALSE;
- GLboolean __WGLEW_ARB_robustness_share_group_isolation = GL_FALSE;
- GLboolean __WGLEW_ATI_pixel_format_float = GL_FALSE;
- GLboolean __WGLEW_ATI_render_texture_rectangle = GL_FALSE;
- GLboolean __WGLEW_EXT_colorspace = GL_FALSE;
- GLboolean __WGLEW_EXT_create_context_es2_profile = GL_FALSE;
- GLboolean __WGLEW_EXT_create_context_es_profile = GL_FALSE;
- GLboolean __WGLEW_EXT_depth_float = GL_FALSE;
- GLboolean __WGLEW_EXT_display_color_table = GL_FALSE;
- GLboolean __WGLEW_EXT_extensions_string = GL_FALSE;
- GLboolean __WGLEW_EXT_framebuffer_sRGB = GL_FALSE;
- GLboolean __WGLEW_EXT_make_current_read = GL_FALSE;
- GLboolean __WGLEW_EXT_multisample = GL_FALSE;
- GLboolean __WGLEW_EXT_pbuffer = GL_FALSE;
- GLboolean __WGLEW_EXT_pixel_format = GL_FALSE;
- GLboolean __WGLEW_EXT_pixel_format_packed_float = GL_FALSE;
- GLboolean __WGLEW_EXT_swap_control = GL_FALSE;
- GLboolean __WGLEW_EXT_swap_control_tear = GL_FALSE;
- GLboolean __WGLEW_I3D_digital_video_control = GL_FALSE;
- GLboolean __WGLEW_I3D_gamma = GL_FALSE;
- GLboolean __WGLEW_I3D_genlock = GL_FALSE;
- GLboolean __WGLEW_I3D_image_buffer = GL_FALSE;
- GLboolean __WGLEW_I3D_swap_frame_lock = GL_FALSE;
- GLboolean __WGLEW_I3D_swap_frame_usage = GL_FALSE;
- GLboolean __WGLEW_NV_DX_interop = GL_FALSE;
- GLboolean __WGLEW_NV_DX_interop2 = GL_FALSE;
- GLboolean __WGLEW_NV_copy_image = GL_FALSE;
- GLboolean __WGLEW_NV_delay_before_swap = GL_FALSE;
- GLboolean __WGLEW_NV_float_buffer = GL_FALSE;
- GLboolean __WGLEW_NV_gpu_affinity = GL_FALSE;
- GLboolean __WGLEW_NV_multisample_coverage = GL_FALSE;
- GLboolean __WGLEW_NV_present_video = GL_FALSE;
- GLboolean __WGLEW_NV_render_depth_texture = GL_FALSE;
- GLboolean __WGLEW_NV_render_texture_rectangle = GL_FALSE;
- GLboolean __WGLEW_NV_swap_group = GL_FALSE;
- GLboolean __WGLEW_NV_vertex_array_range = GL_FALSE;
- GLboolean __WGLEW_NV_video_capture = GL_FALSE;
- GLboolean __WGLEW_NV_video_output = GL_FALSE;
- GLboolean __WGLEW_OML_sync_control = GL_FALSE;
- #ifdef WGL_3DL_stereo_control
- static GLboolean _glewInit_WGL_3DL_stereo_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglSetStereoEmitterState3DL = (PFNWGLSETSTEREOEMITTERSTATE3DLPROC)glewGetProcAddress((const GLubyte*)"wglSetStereoEmitterState3DL")) == NULL) || r;
- return r;
- }
- #endif /* WGL_3DL_stereo_control */
- #ifdef WGL_AMD_gpu_association
- static GLboolean _glewInit_WGL_AMD_gpu_association ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBlitContextFramebufferAMD = (PFNWGLBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"wglBlitContextFramebufferAMD")) == NULL) || r;
- r = ((wglCreateAssociatedContextAMD = (PFNWGLCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAMD")) == NULL) || r;
- r = ((wglCreateAssociatedContextAttribsAMD = (PFNWGLCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"wglCreateAssociatedContextAttribsAMD")) == NULL) || r;
- r = ((wglDeleteAssociatedContextAMD = (PFNWGLDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglDeleteAssociatedContextAMD")) == NULL) || r;
- r = ((wglGetContextGPUIDAMD = (PFNWGLGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetContextGPUIDAMD")) == NULL) || r;
- r = ((wglGetCurrentAssociatedContextAMD = (PFNWGLGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentAssociatedContextAMD")) == NULL) || r;
- r = ((wglGetGPUIDsAMD = (PFNWGLGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUIDsAMD")) == NULL) || r;
- r = ((wglGetGPUInfoAMD = (PFNWGLGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"wglGetGPUInfoAMD")) == NULL) || r;
- r = ((wglMakeAssociatedContextCurrentAMD = (PFNWGLMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"wglMakeAssociatedContextCurrentAMD")) == NULL) || r;
- return r;
- }
- #endif /* WGL_AMD_gpu_association */
- #ifdef WGL_ARB_buffer_region
- static GLboolean _glewInit_WGL_ARB_buffer_region ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCreateBufferRegionARB = (PFNWGLCREATEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateBufferRegionARB")) == NULL) || r;
- r = ((wglDeleteBufferRegionARB = (PFNWGLDELETEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglDeleteBufferRegionARB")) == NULL) || r;
- r = ((wglRestoreBufferRegionARB = (PFNWGLRESTOREBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglRestoreBufferRegionARB")) == NULL) || r;
- r = ((wglSaveBufferRegionARB = (PFNWGLSAVEBUFFERREGIONARBPROC)glewGetProcAddress((const GLubyte*)"wglSaveBufferRegionARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_buffer_region */
- #ifdef WGL_ARB_create_context
- static GLboolean _glewInit_WGL_ARB_create_context ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCreateContextAttribsARB = (PFNWGLCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"wglCreateContextAttribsARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_create_context */
- #ifdef WGL_ARB_extensions_string
- static GLboolean _glewInit_WGL_ARB_extensions_string ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_extensions_string */
- #ifdef WGL_ARB_make_current_read
- static GLboolean _glewInit_WGL_ARB_make_current_read ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetCurrentReadDCARB = (PFNWGLGETCURRENTREADDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCARB")) == NULL) || r;
- r = ((wglMakeContextCurrentARB = (PFNWGLMAKECONTEXTCURRENTARBPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_make_current_read */
- #ifdef WGL_ARB_pbuffer
- static GLboolean _glewInit_WGL_ARB_pbuffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCreatePbufferARB = (PFNWGLCREATEPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferARB")) == NULL) || r;
- r = ((wglDestroyPbufferARB = (PFNWGLDESTROYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferARB")) == NULL) || r;
- r = ((wglGetPbufferDCARB = (PFNWGLGETPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCARB")) == NULL) || r;
- r = ((wglQueryPbufferARB = (PFNWGLQUERYPBUFFERARBPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferARB")) == NULL) || r;
- r = ((wglReleasePbufferDCARB = (PFNWGLRELEASEPBUFFERDCARBPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_pbuffer */
- #ifdef WGL_ARB_pixel_format
- static GLboolean _glewInit_WGL_ARB_pixel_format ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglChoosePixelFormatARB = (PFNWGLCHOOSEPIXELFORMATARBPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatARB")) == NULL) || r;
- r = ((wglGetPixelFormatAttribfvARB = (PFNWGLGETPIXELFORMATATTRIBFVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvARB")) == NULL) || r;
- r = ((wglGetPixelFormatAttribivARB = (PFNWGLGETPIXELFORMATATTRIBIVARBPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_pixel_format */
- #ifdef WGL_ARB_render_texture
- static GLboolean _glewInit_WGL_ARB_render_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindTexImageARB = (PFNWGLBINDTEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglBindTexImageARB")) == NULL) || r;
- r = ((wglReleaseTexImageARB = (PFNWGLRELEASETEXIMAGEARBPROC)glewGetProcAddress((const GLubyte*)"wglReleaseTexImageARB")) == NULL) || r;
- r = ((wglSetPbufferAttribARB = (PFNWGLSETPBUFFERATTRIBARBPROC)glewGetProcAddress((const GLubyte*)"wglSetPbufferAttribARB")) == NULL) || r;
- return r;
- }
- #endif /* WGL_ARB_render_texture */
- #ifdef WGL_EXT_display_color_table
- static GLboolean _glewInit_WGL_EXT_display_color_table ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindDisplayColorTableEXT = (PFNWGLBINDDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglBindDisplayColorTableEXT")) == NULL) || r;
- r = ((wglCreateDisplayColorTableEXT = (PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglCreateDisplayColorTableEXT")) == NULL) || r;
- r = ((wglDestroyDisplayColorTableEXT = (PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyDisplayColorTableEXT")) == NULL) || r;
- r = ((wglLoadDisplayColorTableEXT = (PFNWGLLOADDISPLAYCOLORTABLEEXTPROC)glewGetProcAddress((const GLubyte*)"wglLoadDisplayColorTableEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_display_color_table */
- #ifdef WGL_EXT_extensions_string
- static GLboolean _glewInit_WGL_EXT_extensions_string ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_extensions_string */
- #ifdef WGL_EXT_make_current_read
- static GLboolean _glewInit_WGL_EXT_make_current_read ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetCurrentReadDCEXT = (PFNWGLGETCURRENTREADDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetCurrentReadDCEXT")) == NULL) || r;
- r = ((wglMakeContextCurrentEXT = (PFNWGLMAKECONTEXTCURRENTEXTPROC)glewGetProcAddress((const GLubyte*)"wglMakeContextCurrentEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_make_current_read */
- #ifdef WGL_EXT_pbuffer
- static GLboolean _glewInit_WGL_EXT_pbuffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCreatePbufferEXT = (PFNWGLCREATEPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglCreatePbufferEXT")) == NULL) || r;
- r = ((wglDestroyPbufferEXT = (PFNWGLDESTROYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglDestroyPbufferEXT")) == NULL) || r;
- r = ((wglGetPbufferDCEXT = (PFNWGLGETPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPbufferDCEXT")) == NULL) || r;
- r = ((wglQueryPbufferEXT = (PFNWGLQUERYPBUFFEREXTPROC)glewGetProcAddress((const GLubyte*)"wglQueryPbufferEXT")) == NULL) || r;
- r = ((wglReleasePbufferDCEXT = (PFNWGLRELEASEPBUFFERDCEXTPROC)glewGetProcAddress((const GLubyte*)"wglReleasePbufferDCEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_pbuffer */
- #ifdef WGL_EXT_pixel_format
- static GLboolean _glewInit_WGL_EXT_pixel_format ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglChoosePixelFormatEXT = (PFNWGLCHOOSEPIXELFORMATEXTPROC)glewGetProcAddress((const GLubyte*)"wglChoosePixelFormatEXT")) == NULL) || r;
- r = ((wglGetPixelFormatAttribfvEXT = (PFNWGLGETPIXELFORMATATTRIBFVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribfvEXT")) == NULL) || r;
- r = ((wglGetPixelFormatAttribivEXT = (PFNWGLGETPIXELFORMATATTRIBIVEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetPixelFormatAttribivEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_pixel_format */
- #ifdef WGL_EXT_swap_control
- static GLboolean _glewInit_WGL_EXT_swap_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetSwapIntervalEXT = (PFNWGLGETSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetSwapIntervalEXT")) == NULL) || r;
- r = ((wglSwapIntervalEXT = (PFNWGLSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"wglSwapIntervalEXT")) == NULL) || r;
- return r;
- }
- #endif /* WGL_EXT_swap_control */
- #ifdef WGL_I3D_digital_video_control
- static GLboolean _glewInit_WGL_I3D_digital_video_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetDigitalVideoParametersI3D = (PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetDigitalVideoParametersI3D")) == NULL) || r;
- r = ((wglSetDigitalVideoParametersI3D = (PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetDigitalVideoParametersI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_digital_video_control */
- #ifdef WGL_I3D_gamma
- static GLboolean _glewInit_WGL_I3D_gamma ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetGammaTableI3D = (PFNWGLGETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableI3D")) == NULL) || r;
- r = ((wglGetGammaTableParametersI3D = (PFNWGLGETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGammaTableParametersI3D")) == NULL) || r;
- r = ((wglSetGammaTableI3D = (PFNWGLSETGAMMATABLEI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableI3D")) == NULL) || r;
- r = ((wglSetGammaTableParametersI3D = (PFNWGLSETGAMMATABLEPARAMETERSI3DPROC)glewGetProcAddress((const GLubyte*)"wglSetGammaTableParametersI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_gamma */
- #ifdef WGL_I3D_genlock
- static GLboolean _glewInit_WGL_I3D_genlock ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglDisableGenlockI3D = (PFNWGLDISABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableGenlockI3D")) == NULL) || r;
- r = ((wglEnableGenlockI3D = (PFNWGLENABLEGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableGenlockI3D")) == NULL) || r;
- r = ((wglGenlockSampleRateI3D = (PFNWGLGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSampleRateI3D")) == NULL) || r;
- r = ((wglGenlockSourceDelayI3D = (PFNWGLGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceDelayI3D")) == NULL) || r;
- r = ((wglGenlockSourceEdgeI3D = (PFNWGLGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceEdgeI3D")) == NULL) || r;
- r = ((wglGenlockSourceI3D = (PFNWGLGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGenlockSourceI3D")) == NULL) || r;
- r = ((wglGetGenlockSampleRateI3D = (PFNWGLGETGENLOCKSAMPLERATEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSampleRateI3D")) == NULL) || r;
- r = ((wglGetGenlockSourceDelayI3D = (PFNWGLGETGENLOCKSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceDelayI3D")) == NULL) || r;
- r = ((wglGetGenlockSourceEdgeI3D = (PFNWGLGETGENLOCKSOURCEEDGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceEdgeI3D")) == NULL) || r;
- r = ((wglGetGenlockSourceI3D = (PFNWGLGETGENLOCKSOURCEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetGenlockSourceI3D")) == NULL) || r;
- r = ((wglIsEnabledGenlockI3D = (PFNWGLISENABLEDGENLOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledGenlockI3D")) == NULL) || r;
- r = ((wglQueryGenlockMaxSourceDelayI3D = (PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryGenlockMaxSourceDelayI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_genlock */
- #ifdef WGL_I3D_image_buffer
- static GLboolean _glewInit_WGL_I3D_image_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglAssociateImageBufferEventsI3D = (PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglAssociateImageBufferEventsI3D")) == NULL) || r;
- r = ((wglCreateImageBufferI3D = (PFNWGLCREATEIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglCreateImageBufferI3D")) == NULL) || r;
- r = ((wglDestroyImageBufferI3D = (PFNWGLDESTROYIMAGEBUFFERI3DPROC)glewGetProcAddress((const GLubyte*)"wglDestroyImageBufferI3D")) == NULL) || r;
- r = ((wglReleaseImageBufferEventsI3D = (PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC)glewGetProcAddress((const GLubyte*)"wglReleaseImageBufferEventsI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_image_buffer */
- #ifdef WGL_I3D_swap_frame_lock
- static GLboolean _glewInit_WGL_I3D_swap_frame_lock ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglDisableFrameLockI3D = (PFNWGLDISABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglDisableFrameLockI3D")) == NULL) || r;
- r = ((wglEnableFrameLockI3D = (PFNWGLENABLEFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglEnableFrameLockI3D")) == NULL) || r;
- r = ((wglIsEnabledFrameLockI3D = (PFNWGLISENABLEDFRAMELOCKI3DPROC)glewGetProcAddress((const GLubyte*)"wglIsEnabledFrameLockI3D")) == NULL) || r;
- r = ((wglQueryFrameLockMasterI3D = (PFNWGLQUERYFRAMELOCKMASTERI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameLockMasterI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_swap_frame_lock */
- #ifdef WGL_I3D_swap_frame_usage
- static GLboolean _glewInit_WGL_I3D_swap_frame_usage ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBeginFrameTrackingI3D = (PFNWGLBEGINFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglBeginFrameTrackingI3D")) == NULL) || r;
- r = ((wglEndFrameTrackingI3D = (PFNWGLENDFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglEndFrameTrackingI3D")) == NULL) || r;
- r = ((wglGetFrameUsageI3D = (PFNWGLGETFRAMEUSAGEI3DPROC)glewGetProcAddress((const GLubyte*)"wglGetFrameUsageI3D")) == NULL) || r;
- r = ((wglQueryFrameTrackingI3D = (PFNWGLQUERYFRAMETRACKINGI3DPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameTrackingI3D")) == NULL) || r;
- return r;
- }
- #endif /* WGL_I3D_swap_frame_usage */
- #ifdef WGL_NV_DX_interop
- static GLboolean _glewInit_WGL_NV_DX_interop ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglDXCloseDeviceNV = (PFNWGLDXCLOSEDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXCloseDeviceNV")) == NULL) || r;
- r = ((wglDXLockObjectsNV = (PFNWGLDXLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXLockObjectsNV")) == NULL) || r;
- r = ((wglDXObjectAccessNV = (PFNWGLDXOBJECTACCESSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXObjectAccessNV")) == NULL) || r;
- r = ((wglDXOpenDeviceNV = (PFNWGLDXOPENDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglDXOpenDeviceNV")) == NULL) || r;
- r = ((wglDXRegisterObjectNV = (PFNWGLDXREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXRegisterObjectNV")) == NULL) || r;
- r = ((wglDXSetResourceShareHandleNV = (PFNWGLDXSETRESOURCESHAREHANDLENVPROC)glewGetProcAddress((const GLubyte*)"wglDXSetResourceShareHandleNV")) == NULL) || r;
- r = ((wglDXUnlockObjectsNV = (PFNWGLDXUNLOCKOBJECTSNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnlockObjectsNV")) == NULL) || r;
- r = ((wglDXUnregisterObjectNV = (PFNWGLDXUNREGISTEROBJECTNVPROC)glewGetProcAddress((const GLubyte*)"wglDXUnregisterObjectNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_DX_interop */
- #ifdef WGL_NV_copy_image
- static GLboolean _glewInit_WGL_NV_copy_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCopyImageSubDataNV = (PFNWGLCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"wglCopyImageSubDataNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_copy_image */
- #ifdef WGL_NV_delay_before_swap
- static GLboolean _glewInit_WGL_NV_delay_before_swap ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglDelayBeforeSwapNV = (PFNWGLDELAYBEFORESWAPNVPROC)glewGetProcAddress((const GLubyte*)"wglDelayBeforeSwapNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_delay_before_swap */
- #ifdef WGL_NV_gpu_affinity
- static GLboolean _glewInit_WGL_NV_gpu_affinity ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglCreateAffinityDCNV = (PFNWGLCREATEAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglCreateAffinityDCNV")) == NULL) || r;
- r = ((wglDeleteDCNV = (PFNWGLDELETEDCNVPROC)glewGetProcAddress((const GLubyte*)"wglDeleteDCNV")) == NULL) || r;
- r = ((wglEnumGpuDevicesNV = (PFNWGLENUMGPUDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpuDevicesNV")) == NULL) || r;
- r = ((wglEnumGpusFromAffinityDCNV = (PFNWGLENUMGPUSFROMAFFINITYDCNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusFromAffinityDCNV")) == NULL) || r;
- r = ((wglEnumGpusNV = (PFNWGLENUMGPUSNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumGpusNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_gpu_affinity */
- #ifdef WGL_NV_present_video
- static GLboolean _glewInit_WGL_NV_present_video ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindVideoDeviceNV = (PFNWGLBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoDeviceNV")) == NULL) || r;
- r = ((wglEnumerateVideoDevicesNV = (PFNWGLENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoDevicesNV")) == NULL) || r;
- r = ((wglQueryCurrentContextNV = (PFNWGLQUERYCURRENTCONTEXTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryCurrentContextNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_present_video */
- #ifdef WGL_NV_swap_group
- static GLboolean _glewInit_WGL_NV_swap_group ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindSwapBarrierNV = (PFNWGLBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"wglBindSwapBarrierNV")) == NULL) || r;
- r = ((wglJoinSwapGroupNV = (PFNWGLJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglJoinSwapGroupNV")) == NULL) || r;
- r = ((wglQueryFrameCountNV = (PFNWGLQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryFrameCountNV")) == NULL) || r;
- r = ((wglQueryMaxSwapGroupsNV = (PFNWGLQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"wglQueryMaxSwapGroupsNV")) == NULL) || r;
- r = ((wglQuerySwapGroupNV = (PFNWGLQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"wglQuerySwapGroupNV")) == NULL) || r;
- r = ((wglResetFrameCountNV = (PFNWGLRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"wglResetFrameCountNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_swap_group */
- #ifdef WGL_NV_vertex_array_range
- static GLboolean _glewInit_WGL_NV_vertex_array_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglAllocateMemoryNV = (PFNWGLALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglAllocateMemoryNV")) == NULL) || r;
- r = ((wglFreeMemoryNV = (PFNWGLFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"wglFreeMemoryNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_vertex_array_range */
- #ifdef WGL_NV_video_capture
- static GLboolean _glewInit_WGL_NV_video_capture ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindVideoCaptureDeviceNV = (PFNWGLBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoCaptureDeviceNV")) == NULL) || r;
- r = ((wglEnumerateVideoCaptureDevicesNV = (PFNWGLENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"wglEnumerateVideoCaptureDevicesNV")) == NULL) || r;
- r = ((wglLockVideoCaptureDeviceNV = (PFNWGLLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglLockVideoCaptureDeviceNV")) == NULL) || r;
- r = ((wglQueryVideoCaptureDeviceNV = (PFNWGLQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglQueryVideoCaptureDeviceNV")) == NULL) || r;
- r = ((wglReleaseVideoCaptureDeviceNV = (PFNWGLRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoCaptureDeviceNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_video_capture */
- #ifdef WGL_NV_video_output
- static GLboolean _glewInit_WGL_NV_video_output ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglBindVideoImageNV = (PFNWGLBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglBindVideoImageNV")) == NULL) || r;
- r = ((wglGetVideoDeviceNV = (PFNWGLGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoDeviceNV")) == NULL) || r;
- r = ((wglGetVideoInfoNV = (PFNWGLGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"wglGetVideoInfoNV")) == NULL) || r;
- r = ((wglReleaseVideoDeviceNV = (PFNWGLRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoDeviceNV")) == NULL) || r;
- r = ((wglReleaseVideoImageNV = (PFNWGLRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"wglReleaseVideoImageNV")) == NULL) || r;
- r = ((wglSendPbufferToVideoNV = (PFNWGLSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"wglSendPbufferToVideoNV")) == NULL) || r;
- return r;
- }
- #endif /* WGL_NV_video_output */
- #ifdef WGL_OML_sync_control
- static GLboolean _glewInit_WGL_OML_sync_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((wglGetMscRateOML = (PFNWGLGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetMscRateOML")) == NULL) || r;
- r = ((wglGetSyncValuesOML = (PFNWGLGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"wglGetSyncValuesOML")) == NULL) || r;
- r = ((wglSwapBuffersMscOML = (PFNWGLSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapBuffersMscOML")) == NULL) || r;
- r = ((wglSwapLayerBuffersMscOML = (PFNWGLSWAPLAYERBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglSwapLayerBuffersMscOML")) == NULL) || r;
- r = ((wglWaitForMscOML = (PFNWGLWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForMscOML")) == NULL) || r;
- r = ((wglWaitForSbcOML = (PFNWGLWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"wglWaitForSbcOML")) == NULL) || r;
- return r;
- }
- #endif /* WGL_OML_sync_control */
- /* ------------------------------------------------------------------------- */
- static PFNWGLGETEXTENSIONSSTRINGARBPROC _wglewGetExtensionsStringARB = NULL;
- static PFNWGLGETEXTENSIONSSTRINGEXTPROC _wglewGetExtensionsStringEXT = NULL;
- GLboolean GLEWAPIENTRY wglewGetExtension (const char* name)
- {
- const GLubyte* start;
- const GLubyte* end;
- if (_wglewGetExtensionsStringARB == NULL)
- if (_wglewGetExtensionsStringEXT == NULL)
- return GL_FALSE;
- else
- start = (const GLubyte*)_wglewGetExtensionsStringEXT();
- else
- start = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
- if (start == 0)
- return GL_FALSE;
- end = start + _glewStrLen(start);
- return _glewSearchExtension(name, start, end);
- }
- GLenum GLEWAPIENTRY wglewInit ()
- {
- GLboolean crippled;
- const GLubyte* extStart;
- const GLubyte* extEnd;
- /* find wgl extension string query functions */
- _wglewGetExtensionsStringARB = (PFNWGLGETEXTENSIONSSTRINGARBPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringARB");
- _wglewGetExtensionsStringEXT = (PFNWGLGETEXTENSIONSSTRINGEXTPROC)glewGetProcAddress((const GLubyte*)"wglGetExtensionsStringEXT");
- /* query wgl extension string */
- if (_wglewGetExtensionsStringARB == NULL)
- if (_wglewGetExtensionsStringEXT == NULL)
- extStart = (const GLubyte*)"";
- else
- extStart = (const GLubyte*)_wglewGetExtensionsStringEXT();
- else
- extStart = (const GLubyte*)_wglewGetExtensionsStringARB(wglGetCurrentDC());
- extEnd = extStart + _glewStrLen(extStart);
- /* initialize extensions */
- crippled = _wglewGetExtensionsStringARB == NULL && _wglewGetExtensionsStringEXT == NULL;
- #ifdef WGL_3DFX_multisample
- WGLEW_3DFX_multisample = _glewSearchExtension("WGL_3DFX_multisample", extStart, extEnd);
- #endif /* WGL_3DFX_multisample */
- #ifdef WGL_3DL_stereo_control
- WGLEW_3DL_stereo_control = _glewSearchExtension("WGL_3DL_stereo_control", extStart, extEnd);
- if (glewExperimental || WGLEW_3DL_stereo_control|| crippled) WGLEW_3DL_stereo_control= !_glewInit_WGL_3DL_stereo_control();
- #endif /* WGL_3DL_stereo_control */
- #ifdef WGL_AMD_gpu_association
- WGLEW_AMD_gpu_association = _glewSearchExtension("WGL_AMD_gpu_association", extStart, extEnd);
- if (glewExperimental || WGLEW_AMD_gpu_association|| crippled) WGLEW_AMD_gpu_association= !_glewInit_WGL_AMD_gpu_association();
- #endif /* WGL_AMD_gpu_association */
- #ifdef WGL_ARB_buffer_region
- WGLEW_ARB_buffer_region = _glewSearchExtension("WGL_ARB_buffer_region", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_buffer_region|| crippled) WGLEW_ARB_buffer_region= !_glewInit_WGL_ARB_buffer_region();
- #endif /* WGL_ARB_buffer_region */
- #ifdef WGL_ARB_context_flush_control
- WGLEW_ARB_context_flush_control = _glewSearchExtension("WGL_ARB_context_flush_control", extStart, extEnd);
- #endif /* WGL_ARB_context_flush_control */
- #ifdef WGL_ARB_create_context
- WGLEW_ARB_create_context = _glewSearchExtension("WGL_ARB_create_context", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_create_context|| crippled) WGLEW_ARB_create_context= !_glewInit_WGL_ARB_create_context();
- #endif /* WGL_ARB_create_context */
- #ifdef WGL_ARB_create_context_no_error
- WGLEW_ARB_create_context_no_error = _glewSearchExtension("WGL_ARB_create_context_no_error", extStart, extEnd);
- #endif /* WGL_ARB_create_context_no_error */
- #ifdef WGL_ARB_create_context_profile
- WGLEW_ARB_create_context_profile = _glewSearchExtension("WGL_ARB_create_context_profile", extStart, extEnd);
- #endif /* WGL_ARB_create_context_profile */
- #ifdef WGL_ARB_create_context_robustness
- WGLEW_ARB_create_context_robustness = _glewSearchExtension("WGL_ARB_create_context_robustness", extStart, extEnd);
- #endif /* WGL_ARB_create_context_robustness */
- #ifdef WGL_ARB_extensions_string
- WGLEW_ARB_extensions_string = _glewSearchExtension("WGL_ARB_extensions_string", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_extensions_string|| crippled) WGLEW_ARB_extensions_string= !_glewInit_WGL_ARB_extensions_string();
- #endif /* WGL_ARB_extensions_string */
- #ifdef WGL_ARB_framebuffer_sRGB
- WGLEW_ARB_framebuffer_sRGB = _glewSearchExtension("WGL_ARB_framebuffer_sRGB", extStart, extEnd);
- #endif /* WGL_ARB_framebuffer_sRGB */
- #ifdef WGL_ARB_make_current_read
- WGLEW_ARB_make_current_read = _glewSearchExtension("WGL_ARB_make_current_read", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_make_current_read|| crippled) WGLEW_ARB_make_current_read= !_glewInit_WGL_ARB_make_current_read();
- #endif /* WGL_ARB_make_current_read */
- #ifdef WGL_ARB_multisample
- WGLEW_ARB_multisample = _glewSearchExtension("WGL_ARB_multisample", extStart, extEnd);
- #endif /* WGL_ARB_multisample */
- #ifdef WGL_ARB_pbuffer
- WGLEW_ARB_pbuffer = _glewSearchExtension("WGL_ARB_pbuffer", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_pbuffer|| crippled) WGLEW_ARB_pbuffer= !_glewInit_WGL_ARB_pbuffer();
- #endif /* WGL_ARB_pbuffer */
- #ifdef WGL_ARB_pixel_format
- WGLEW_ARB_pixel_format = _glewSearchExtension("WGL_ARB_pixel_format", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_pixel_format|| crippled) WGLEW_ARB_pixel_format= !_glewInit_WGL_ARB_pixel_format();
- #endif /* WGL_ARB_pixel_format */
- #ifdef WGL_ARB_pixel_format_float
- WGLEW_ARB_pixel_format_float = _glewSearchExtension("WGL_ARB_pixel_format_float", extStart, extEnd);
- #endif /* WGL_ARB_pixel_format_float */
- #ifdef WGL_ARB_render_texture
- WGLEW_ARB_render_texture = _glewSearchExtension("WGL_ARB_render_texture", extStart, extEnd);
- if (glewExperimental || WGLEW_ARB_render_texture|| crippled) WGLEW_ARB_render_texture= !_glewInit_WGL_ARB_render_texture();
- #endif /* WGL_ARB_render_texture */
- #ifdef WGL_ARB_robustness_application_isolation
- WGLEW_ARB_robustness_application_isolation = _glewSearchExtension("WGL_ARB_robustness_application_isolation", extStart, extEnd);
- #endif /* WGL_ARB_robustness_application_isolation */
- #ifdef WGL_ARB_robustness_share_group_isolation
- WGLEW_ARB_robustness_share_group_isolation = _glewSearchExtension("WGL_ARB_robustness_share_group_isolation", extStart, extEnd);
- #endif /* WGL_ARB_robustness_share_group_isolation */
- #ifdef WGL_ATI_pixel_format_float
- WGLEW_ATI_pixel_format_float = _glewSearchExtension("WGL_ATI_pixel_format_float", extStart, extEnd);
- #endif /* WGL_ATI_pixel_format_float */
- #ifdef WGL_ATI_render_texture_rectangle
- WGLEW_ATI_render_texture_rectangle = _glewSearchExtension("WGL_ATI_render_texture_rectangle", extStart, extEnd);
- #endif /* WGL_ATI_render_texture_rectangle */
- #ifdef WGL_EXT_colorspace
- WGLEW_EXT_colorspace = _glewSearchExtension("WGL_EXT_colorspace", extStart, extEnd);
- #endif /* WGL_EXT_colorspace */
- #ifdef WGL_EXT_create_context_es2_profile
- WGLEW_EXT_create_context_es2_profile = _glewSearchExtension("WGL_EXT_create_context_es2_profile", extStart, extEnd);
- #endif /* WGL_EXT_create_context_es2_profile */
- #ifdef WGL_EXT_create_context_es_profile
- WGLEW_EXT_create_context_es_profile = _glewSearchExtension("WGL_EXT_create_context_es_profile", extStart, extEnd);
- #endif /* WGL_EXT_create_context_es_profile */
- #ifdef WGL_EXT_depth_float
- WGLEW_EXT_depth_float = _glewSearchExtension("WGL_EXT_depth_float", extStart, extEnd);
- #endif /* WGL_EXT_depth_float */
- #ifdef WGL_EXT_display_color_table
- WGLEW_EXT_display_color_table = _glewSearchExtension("WGL_EXT_display_color_table", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_display_color_table|| crippled) WGLEW_EXT_display_color_table= !_glewInit_WGL_EXT_display_color_table();
- #endif /* WGL_EXT_display_color_table */
- #ifdef WGL_EXT_extensions_string
- WGLEW_EXT_extensions_string = _glewSearchExtension("WGL_EXT_extensions_string", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_extensions_string|| crippled) WGLEW_EXT_extensions_string= !_glewInit_WGL_EXT_extensions_string();
- #endif /* WGL_EXT_extensions_string */
- #ifdef WGL_EXT_framebuffer_sRGB
- WGLEW_EXT_framebuffer_sRGB = _glewSearchExtension("WGL_EXT_framebuffer_sRGB", extStart, extEnd);
- #endif /* WGL_EXT_framebuffer_sRGB */
- #ifdef WGL_EXT_make_current_read
- WGLEW_EXT_make_current_read = _glewSearchExtension("WGL_EXT_make_current_read", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_make_current_read|| crippled) WGLEW_EXT_make_current_read= !_glewInit_WGL_EXT_make_current_read();
- #endif /* WGL_EXT_make_current_read */
- #ifdef WGL_EXT_multisample
- WGLEW_EXT_multisample = _glewSearchExtension("WGL_EXT_multisample", extStart, extEnd);
- #endif /* WGL_EXT_multisample */
- #ifdef WGL_EXT_pbuffer
- WGLEW_EXT_pbuffer = _glewSearchExtension("WGL_EXT_pbuffer", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_pbuffer|| crippled) WGLEW_EXT_pbuffer= !_glewInit_WGL_EXT_pbuffer();
- #endif /* WGL_EXT_pbuffer */
- #ifdef WGL_EXT_pixel_format
- WGLEW_EXT_pixel_format = _glewSearchExtension("WGL_EXT_pixel_format", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_pixel_format|| crippled) WGLEW_EXT_pixel_format= !_glewInit_WGL_EXT_pixel_format();
- #endif /* WGL_EXT_pixel_format */
- #ifdef WGL_EXT_pixel_format_packed_float
- WGLEW_EXT_pixel_format_packed_float = _glewSearchExtension("WGL_EXT_pixel_format_packed_float", extStart, extEnd);
- #endif /* WGL_EXT_pixel_format_packed_float */
- #ifdef WGL_EXT_swap_control
- WGLEW_EXT_swap_control = _glewSearchExtension("WGL_EXT_swap_control", extStart, extEnd);
- if (glewExperimental || WGLEW_EXT_swap_control|| crippled) WGLEW_EXT_swap_control= !_glewInit_WGL_EXT_swap_control();
- #endif /* WGL_EXT_swap_control */
- #ifdef WGL_EXT_swap_control_tear
- WGLEW_EXT_swap_control_tear = _glewSearchExtension("WGL_EXT_swap_control_tear", extStart, extEnd);
- #endif /* WGL_EXT_swap_control_tear */
- #ifdef WGL_I3D_digital_video_control
- WGLEW_I3D_digital_video_control = _glewSearchExtension("WGL_I3D_digital_video_control", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_digital_video_control|| crippled) WGLEW_I3D_digital_video_control= !_glewInit_WGL_I3D_digital_video_control();
- #endif /* WGL_I3D_digital_video_control */
- #ifdef WGL_I3D_gamma
- WGLEW_I3D_gamma = _glewSearchExtension("WGL_I3D_gamma", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_gamma|| crippled) WGLEW_I3D_gamma= !_glewInit_WGL_I3D_gamma();
- #endif /* WGL_I3D_gamma */
- #ifdef WGL_I3D_genlock
- WGLEW_I3D_genlock = _glewSearchExtension("WGL_I3D_genlock", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_genlock|| crippled) WGLEW_I3D_genlock= !_glewInit_WGL_I3D_genlock();
- #endif /* WGL_I3D_genlock */
- #ifdef WGL_I3D_image_buffer
- WGLEW_I3D_image_buffer = _glewSearchExtension("WGL_I3D_image_buffer", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_image_buffer|| crippled) WGLEW_I3D_image_buffer= !_glewInit_WGL_I3D_image_buffer();
- #endif /* WGL_I3D_image_buffer */
- #ifdef WGL_I3D_swap_frame_lock
- WGLEW_I3D_swap_frame_lock = _glewSearchExtension("WGL_I3D_swap_frame_lock", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_swap_frame_lock|| crippled) WGLEW_I3D_swap_frame_lock= !_glewInit_WGL_I3D_swap_frame_lock();
- #endif /* WGL_I3D_swap_frame_lock */
- #ifdef WGL_I3D_swap_frame_usage
- WGLEW_I3D_swap_frame_usage = _glewSearchExtension("WGL_I3D_swap_frame_usage", extStart, extEnd);
- if (glewExperimental || WGLEW_I3D_swap_frame_usage|| crippled) WGLEW_I3D_swap_frame_usage= !_glewInit_WGL_I3D_swap_frame_usage();
- #endif /* WGL_I3D_swap_frame_usage */
- #ifdef WGL_NV_DX_interop
- WGLEW_NV_DX_interop = _glewSearchExtension("WGL_NV_DX_interop", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_DX_interop|| crippled) WGLEW_NV_DX_interop= !_glewInit_WGL_NV_DX_interop();
- #endif /* WGL_NV_DX_interop */
- #ifdef WGL_NV_DX_interop2
- WGLEW_NV_DX_interop2 = _glewSearchExtension("WGL_NV_DX_interop2", extStart, extEnd);
- #endif /* WGL_NV_DX_interop2 */
- #ifdef WGL_NV_copy_image
- WGLEW_NV_copy_image = _glewSearchExtension("WGL_NV_copy_image", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_copy_image|| crippled) WGLEW_NV_copy_image= !_glewInit_WGL_NV_copy_image();
- #endif /* WGL_NV_copy_image */
- #ifdef WGL_NV_delay_before_swap
- WGLEW_NV_delay_before_swap = _glewSearchExtension("WGL_NV_delay_before_swap", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_delay_before_swap|| crippled) WGLEW_NV_delay_before_swap= !_glewInit_WGL_NV_delay_before_swap();
- #endif /* WGL_NV_delay_before_swap */
- #ifdef WGL_NV_float_buffer
- WGLEW_NV_float_buffer = _glewSearchExtension("WGL_NV_float_buffer", extStart, extEnd);
- #endif /* WGL_NV_float_buffer */
- #ifdef WGL_NV_gpu_affinity
- WGLEW_NV_gpu_affinity = _glewSearchExtension("WGL_NV_gpu_affinity", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_gpu_affinity|| crippled) WGLEW_NV_gpu_affinity= !_glewInit_WGL_NV_gpu_affinity();
- #endif /* WGL_NV_gpu_affinity */
- #ifdef WGL_NV_multisample_coverage
- WGLEW_NV_multisample_coverage = _glewSearchExtension("WGL_NV_multisample_coverage", extStart, extEnd);
- #endif /* WGL_NV_multisample_coverage */
- #ifdef WGL_NV_present_video
- WGLEW_NV_present_video = _glewSearchExtension("WGL_NV_present_video", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_present_video|| crippled) WGLEW_NV_present_video= !_glewInit_WGL_NV_present_video();
- #endif /* WGL_NV_present_video */
- #ifdef WGL_NV_render_depth_texture
- WGLEW_NV_render_depth_texture = _glewSearchExtension("WGL_NV_render_depth_texture", extStart, extEnd);
- #endif /* WGL_NV_render_depth_texture */
- #ifdef WGL_NV_render_texture_rectangle
- WGLEW_NV_render_texture_rectangle = _glewSearchExtension("WGL_NV_render_texture_rectangle", extStart, extEnd);
- #endif /* WGL_NV_render_texture_rectangle */
- #ifdef WGL_NV_swap_group
- WGLEW_NV_swap_group = _glewSearchExtension("WGL_NV_swap_group", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_swap_group|| crippled) WGLEW_NV_swap_group= !_glewInit_WGL_NV_swap_group();
- #endif /* WGL_NV_swap_group */
- #ifdef WGL_NV_vertex_array_range
- WGLEW_NV_vertex_array_range = _glewSearchExtension("WGL_NV_vertex_array_range", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_vertex_array_range|| crippled) WGLEW_NV_vertex_array_range= !_glewInit_WGL_NV_vertex_array_range();
- #endif /* WGL_NV_vertex_array_range */
- #ifdef WGL_NV_video_capture
- WGLEW_NV_video_capture = _glewSearchExtension("WGL_NV_video_capture", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_video_capture|| crippled) WGLEW_NV_video_capture= !_glewInit_WGL_NV_video_capture();
- #endif /* WGL_NV_video_capture */
- #ifdef WGL_NV_video_output
- WGLEW_NV_video_output = _glewSearchExtension("WGL_NV_video_output", extStart, extEnd);
- if (glewExperimental || WGLEW_NV_video_output|| crippled) WGLEW_NV_video_output= !_glewInit_WGL_NV_video_output();
- #endif /* WGL_NV_video_output */
- #ifdef WGL_OML_sync_control
- WGLEW_OML_sync_control = _glewSearchExtension("WGL_OML_sync_control", extStart, extEnd);
- if (glewExperimental || WGLEW_OML_sync_control|| crippled) WGLEW_OML_sync_control= !_glewInit_WGL_OML_sync_control();
- #endif /* WGL_OML_sync_control */
- return GLEW_OK;
- }
- #elif !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX))
- PFNGLXGETCURRENTDISPLAYPROC __glewXGetCurrentDisplay = NULL;
- PFNGLXCHOOSEFBCONFIGPROC __glewXChooseFBConfig = NULL;
- PFNGLXCREATENEWCONTEXTPROC __glewXCreateNewContext = NULL;
- PFNGLXCREATEPBUFFERPROC __glewXCreatePbuffer = NULL;
- PFNGLXCREATEPIXMAPPROC __glewXCreatePixmap = NULL;
- PFNGLXCREATEWINDOWPROC __glewXCreateWindow = NULL;
- PFNGLXDESTROYPBUFFERPROC __glewXDestroyPbuffer = NULL;
- PFNGLXDESTROYPIXMAPPROC __glewXDestroyPixmap = NULL;
- PFNGLXDESTROYWINDOWPROC __glewXDestroyWindow = NULL;
- PFNGLXGETCURRENTREADDRAWABLEPROC __glewXGetCurrentReadDrawable = NULL;
- PFNGLXGETFBCONFIGATTRIBPROC __glewXGetFBConfigAttrib = NULL;
- PFNGLXGETFBCONFIGSPROC __glewXGetFBConfigs = NULL;
- PFNGLXGETSELECTEDEVENTPROC __glewXGetSelectedEvent = NULL;
- PFNGLXGETVISUALFROMFBCONFIGPROC __glewXGetVisualFromFBConfig = NULL;
- PFNGLXMAKECONTEXTCURRENTPROC __glewXMakeContextCurrent = NULL;
- PFNGLXQUERYCONTEXTPROC __glewXQueryContext = NULL;
- PFNGLXQUERYDRAWABLEPROC __glewXQueryDrawable = NULL;
- PFNGLXSELECTEVENTPROC __glewXSelectEvent = NULL;
- PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC __glewXBlitContextFramebufferAMD = NULL;
- PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC __glewXCreateAssociatedContextAMD = NULL;
- PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC __glewXCreateAssociatedContextAttribsAMD = NULL;
- PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC __glewXDeleteAssociatedContextAMD = NULL;
- PFNGLXGETCONTEXTGPUIDAMDPROC __glewXGetContextGPUIDAMD = NULL;
- PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC __glewXGetCurrentAssociatedContextAMD = NULL;
- PFNGLXGETGPUIDSAMDPROC __glewXGetGPUIDsAMD = NULL;
- PFNGLXGETGPUINFOAMDPROC __glewXGetGPUInfoAMD = NULL;
- PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC __glewXMakeAssociatedContextCurrentAMD = NULL;
- PFNGLXCREATECONTEXTATTRIBSARBPROC __glewXCreateContextAttribsARB = NULL;
- PFNGLXBINDTEXIMAGEATIPROC __glewXBindTexImageATI = NULL;
- PFNGLXDRAWABLEATTRIBATIPROC __glewXDrawableAttribATI = NULL;
- PFNGLXRELEASETEXIMAGEATIPROC __glewXReleaseTexImageATI = NULL;
- PFNGLXFREECONTEXTEXTPROC __glewXFreeContextEXT = NULL;
- PFNGLXGETCONTEXTIDEXTPROC __glewXGetContextIDEXT = NULL;
- PFNGLXIMPORTCONTEXTEXTPROC __glewXImportContextEXT = NULL;
- PFNGLXQUERYCONTEXTINFOEXTPROC __glewXQueryContextInfoEXT = NULL;
- PFNGLXSWAPINTERVALEXTPROC __glewXSwapIntervalEXT = NULL;
- PFNGLXBINDTEXIMAGEEXTPROC __glewXBindTexImageEXT = NULL;
- PFNGLXRELEASETEXIMAGEEXTPROC __glewXReleaseTexImageEXT = NULL;
- PFNGLXGETAGPOFFSETMESAPROC __glewXGetAGPOffsetMESA = NULL;
- PFNGLXCOPYSUBBUFFERMESAPROC __glewXCopySubBufferMESA = NULL;
- PFNGLXCREATEGLXPIXMAPMESAPROC __glewXCreateGLXPixmapMESA = NULL;
- PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC __glewXQueryCurrentRendererIntegerMESA = NULL;
- PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC __glewXQueryCurrentRendererStringMESA = NULL;
- PFNGLXQUERYRENDERERINTEGERMESAPROC __glewXQueryRendererIntegerMESA = NULL;
- PFNGLXQUERYRENDERERSTRINGMESAPROC __glewXQueryRendererStringMESA = NULL;
- PFNGLXRELEASEBUFFERSMESAPROC __glewXReleaseBuffersMESA = NULL;
- PFNGLXSET3DFXMODEMESAPROC __glewXSet3DfxModeMESA = NULL;
- PFNGLXGETSWAPINTERVALMESAPROC __glewXGetSwapIntervalMESA = NULL;
- PFNGLXSWAPINTERVALMESAPROC __glewXSwapIntervalMESA = NULL;
- PFNGLXCOPYBUFFERSUBDATANVPROC __glewXCopyBufferSubDataNV = NULL;
- PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC __glewXNamedCopyBufferSubDataNV = NULL;
- PFNGLXCOPYIMAGESUBDATANVPROC __glewXCopyImageSubDataNV = NULL;
- PFNGLXDELAYBEFORESWAPNVPROC __glewXDelayBeforeSwapNV = NULL;
- PFNGLXBINDVIDEODEVICENVPROC __glewXBindVideoDeviceNV = NULL;
- PFNGLXENUMERATEVIDEODEVICESNVPROC __glewXEnumerateVideoDevicesNV = NULL;
- PFNGLXBINDSWAPBARRIERNVPROC __glewXBindSwapBarrierNV = NULL;
- PFNGLXJOINSWAPGROUPNVPROC __glewXJoinSwapGroupNV = NULL;
- PFNGLXQUERYFRAMECOUNTNVPROC __glewXQueryFrameCountNV = NULL;
- PFNGLXQUERYMAXSWAPGROUPSNVPROC __glewXQueryMaxSwapGroupsNV = NULL;
- PFNGLXQUERYSWAPGROUPNVPROC __glewXQuerySwapGroupNV = NULL;
- PFNGLXRESETFRAMECOUNTNVPROC __glewXResetFrameCountNV = NULL;
- PFNGLXALLOCATEMEMORYNVPROC __glewXAllocateMemoryNV = NULL;
- PFNGLXFREEMEMORYNVPROC __glewXFreeMemoryNV = NULL;
- PFNGLXBINDVIDEOCAPTUREDEVICENVPROC __glewXBindVideoCaptureDeviceNV = NULL;
- PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC __glewXEnumerateVideoCaptureDevicesNV = NULL;
- PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC __glewXLockVideoCaptureDeviceNV = NULL;
- PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC __glewXQueryVideoCaptureDeviceNV = NULL;
- PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC __glewXReleaseVideoCaptureDeviceNV = NULL;
- PFNGLXBINDVIDEOIMAGENVPROC __glewXBindVideoImageNV = NULL;
- PFNGLXGETVIDEODEVICENVPROC __glewXGetVideoDeviceNV = NULL;
- PFNGLXGETVIDEOINFONVPROC __glewXGetVideoInfoNV = NULL;
- PFNGLXRELEASEVIDEODEVICENVPROC __glewXReleaseVideoDeviceNV = NULL;
- PFNGLXRELEASEVIDEOIMAGENVPROC __glewXReleaseVideoImageNV = NULL;
- PFNGLXSENDPBUFFERTOVIDEONVPROC __glewXSendPbufferToVideoNV = NULL;
- PFNGLXGETMSCRATEOMLPROC __glewXGetMscRateOML = NULL;
- PFNGLXGETSYNCVALUESOMLPROC __glewXGetSyncValuesOML = NULL;
- PFNGLXSWAPBUFFERSMSCOMLPROC __glewXSwapBuffersMscOML = NULL;
- PFNGLXWAITFORMSCOMLPROC __glewXWaitForMscOML = NULL;
- PFNGLXWAITFORSBCOMLPROC __glewXWaitForSbcOML = NULL;
- PFNGLXCHOOSEFBCONFIGSGIXPROC __glewXChooseFBConfigSGIX = NULL;
- PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC __glewXCreateContextWithConfigSGIX = NULL;
- PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC __glewXCreateGLXPixmapWithConfigSGIX = NULL;
- PFNGLXGETFBCONFIGATTRIBSGIXPROC __glewXGetFBConfigAttribSGIX = NULL;
- PFNGLXGETFBCONFIGFROMVISUALSGIXPROC __glewXGetFBConfigFromVisualSGIX = NULL;
- PFNGLXGETVISUALFROMFBCONFIGSGIXPROC __glewXGetVisualFromFBConfigSGIX = NULL;
- PFNGLXBINDHYPERPIPESGIXPROC __glewXBindHyperpipeSGIX = NULL;
- PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC __glewXDestroyHyperpipeConfigSGIX = NULL;
- PFNGLXHYPERPIPEATTRIBSGIXPROC __glewXHyperpipeAttribSGIX = NULL;
- PFNGLXHYPERPIPECONFIGSGIXPROC __glewXHyperpipeConfigSGIX = NULL;
- PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC __glewXQueryHyperpipeAttribSGIX = NULL;
- PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC __glewXQueryHyperpipeBestAttribSGIX = NULL;
- PFNGLXQUERYHYPERPIPECONFIGSGIXPROC __glewXQueryHyperpipeConfigSGIX = NULL;
- PFNGLXQUERYHYPERPIPENETWORKSGIXPROC __glewXQueryHyperpipeNetworkSGIX = NULL;
- PFNGLXCREATEGLXPBUFFERSGIXPROC __glewXCreateGLXPbufferSGIX = NULL;
- PFNGLXDESTROYGLXPBUFFERSGIXPROC __glewXDestroyGLXPbufferSGIX = NULL;
- PFNGLXGETSELECTEDEVENTSGIXPROC __glewXGetSelectedEventSGIX = NULL;
- PFNGLXQUERYGLXPBUFFERSGIXPROC __glewXQueryGLXPbufferSGIX = NULL;
- PFNGLXSELECTEVENTSGIXPROC __glewXSelectEventSGIX = NULL;
- PFNGLXBINDSWAPBARRIERSGIXPROC __glewXBindSwapBarrierSGIX = NULL;
- PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC __glewXQueryMaxSwapBarriersSGIX = NULL;
- PFNGLXJOINSWAPGROUPSGIXPROC __glewXJoinSwapGroupSGIX = NULL;
- PFNGLXBINDCHANNELTOWINDOWSGIXPROC __glewXBindChannelToWindowSGIX = NULL;
- PFNGLXCHANNELRECTSGIXPROC __glewXChannelRectSGIX = NULL;
- PFNGLXCHANNELRECTSYNCSGIXPROC __glewXChannelRectSyncSGIX = NULL;
- PFNGLXQUERYCHANNELDELTASSGIXPROC __glewXQueryChannelDeltasSGIX = NULL;
- PFNGLXQUERYCHANNELRECTSGIXPROC __glewXQueryChannelRectSGIX = NULL;
- PFNGLXCUSHIONSGIPROC __glewXCushionSGI = NULL;
- PFNGLXGETCURRENTREADDRAWABLESGIPROC __glewXGetCurrentReadDrawableSGI = NULL;
- PFNGLXMAKECURRENTREADSGIPROC __glewXMakeCurrentReadSGI = NULL;
- PFNGLXSWAPINTERVALSGIPROC __glewXSwapIntervalSGI = NULL;
- PFNGLXGETVIDEOSYNCSGIPROC __glewXGetVideoSyncSGI = NULL;
- PFNGLXWAITVIDEOSYNCSGIPROC __glewXWaitVideoSyncSGI = NULL;
- PFNGLXGETTRANSPARENTINDEXSUNPROC __glewXGetTransparentIndexSUN = NULL;
- PFNGLXGETVIDEORESIZESUNPROC __glewXGetVideoResizeSUN = NULL;
- PFNGLXVIDEORESIZESUNPROC __glewXVideoResizeSUN = NULL;
- GLboolean __GLXEW_VERSION_1_0 = GL_FALSE;
- GLboolean __GLXEW_VERSION_1_1 = GL_FALSE;
- GLboolean __GLXEW_VERSION_1_2 = GL_FALSE;
- GLboolean __GLXEW_VERSION_1_3 = GL_FALSE;
- GLboolean __GLXEW_VERSION_1_4 = GL_FALSE;
- GLboolean __GLXEW_3DFX_multisample = GL_FALSE;
- GLboolean __GLXEW_AMD_gpu_association = GL_FALSE;
- GLboolean __GLXEW_ARB_context_flush_control = GL_FALSE;
- GLboolean __GLXEW_ARB_create_context = GL_FALSE;
- GLboolean __GLXEW_ARB_create_context_no_error = GL_FALSE;
- GLboolean __GLXEW_ARB_create_context_profile = GL_FALSE;
- GLboolean __GLXEW_ARB_create_context_robustness = GL_FALSE;
- GLboolean __GLXEW_ARB_fbconfig_float = GL_FALSE;
- GLboolean __GLXEW_ARB_framebuffer_sRGB = GL_FALSE;
- GLboolean __GLXEW_ARB_get_proc_address = GL_FALSE;
- GLboolean __GLXEW_ARB_multisample = GL_FALSE;
- GLboolean __GLXEW_ARB_robustness_application_isolation = GL_FALSE;
- GLboolean __GLXEW_ARB_robustness_share_group_isolation = GL_FALSE;
- GLboolean __GLXEW_ARB_vertex_buffer_object = GL_FALSE;
- GLboolean __GLXEW_ATI_pixel_format_float = GL_FALSE;
- GLboolean __GLXEW_ATI_render_texture = GL_FALSE;
- GLboolean __GLXEW_EXT_buffer_age = GL_FALSE;
- GLboolean __GLXEW_EXT_create_context_es2_profile = GL_FALSE;
- GLboolean __GLXEW_EXT_create_context_es_profile = GL_FALSE;
- GLboolean __GLXEW_EXT_fbconfig_packed_float = GL_FALSE;
- GLboolean __GLXEW_EXT_framebuffer_sRGB = GL_FALSE;
- GLboolean __GLXEW_EXT_import_context = GL_FALSE;
- GLboolean __GLXEW_EXT_libglvnd = GL_FALSE;
- GLboolean __GLXEW_EXT_scene_marker = GL_FALSE;
- GLboolean __GLXEW_EXT_stereo_tree = GL_FALSE;
- GLboolean __GLXEW_EXT_swap_control = GL_FALSE;
- GLboolean __GLXEW_EXT_swap_control_tear = GL_FALSE;
- GLboolean __GLXEW_EXT_texture_from_pixmap = GL_FALSE;
- GLboolean __GLXEW_EXT_visual_info = GL_FALSE;
- GLboolean __GLXEW_EXT_visual_rating = GL_FALSE;
- GLboolean __GLXEW_INTEL_swap_event = GL_FALSE;
- GLboolean __GLXEW_MESA_agp_offset = GL_FALSE;
- GLboolean __GLXEW_MESA_copy_sub_buffer = GL_FALSE;
- GLboolean __GLXEW_MESA_pixmap_colormap = GL_FALSE;
- GLboolean __GLXEW_MESA_query_renderer = GL_FALSE;
- GLboolean __GLXEW_MESA_release_buffers = GL_FALSE;
- GLboolean __GLXEW_MESA_set_3dfx_mode = GL_FALSE;
- GLboolean __GLXEW_MESA_swap_control = GL_FALSE;
- GLboolean __GLXEW_NV_copy_buffer = GL_FALSE;
- GLboolean __GLXEW_NV_copy_image = GL_FALSE;
- GLboolean __GLXEW_NV_delay_before_swap = GL_FALSE;
- GLboolean __GLXEW_NV_float_buffer = GL_FALSE;
- GLboolean __GLXEW_NV_multisample_coverage = GL_FALSE;
- GLboolean __GLXEW_NV_present_video = GL_FALSE;
- GLboolean __GLXEW_NV_robustness_video_memory_purge = GL_FALSE;
- GLboolean __GLXEW_NV_swap_group = GL_FALSE;
- GLboolean __GLXEW_NV_vertex_array_range = GL_FALSE;
- GLboolean __GLXEW_NV_video_capture = GL_FALSE;
- GLboolean __GLXEW_NV_video_out = GL_FALSE;
- GLboolean __GLXEW_OML_swap_method = GL_FALSE;
- GLboolean __GLXEW_OML_sync_control = GL_FALSE;
- GLboolean __GLXEW_SGIS_blended_overlay = GL_FALSE;
- GLboolean __GLXEW_SGIS_color_range = GL_FALSE;
- GLboolean __GLXEW_SGIS_multisample = GL_FALSE;
- GLboolean __GLXEW_SGIS_shared_multisample = GL_FALSE;
- GLboolean __GLXEW_SGIX_fbconfig = GL_FALSE;
- GLboolean __GLXEW_SGIX_hyperpipe = GL_FALSE;
- GLboolean __GLXEW_SGIX_pbuffer = GL_FALSE;
- GLboolean __GLXEW_SGIX_swap_barrier = GL_FALSE;
- GLboolean __GLXEW_SGIX_swap_group = GL_FALSE;
- GLboolean __GLXEW_SGIX_video_resize = GL_FALSE;
- GLboolean __GLXEW_SGIX_visual_select_group = GL_FALSE;
- GLboolean __GLXEW_SGI_cushion = GL_FALSE;
- GLboolean __GLXEW_SGI_make_current_read = GL_FALSE;
- GLboolean __GLXEW_SGI_swap_control = GL_FALSE;
- GLboolean __GLXEW_SGI_video_sync = GL_FALSE;
- GLboolean __GLXEW_SUN_get_transparent_index = GL_FALSE;
- GLboolean __GLXEW_SUN_video_resize = GL_FALSE;
- #ifdef GLX_VERSION_1_2
- static GLboolean _glewInit_GLX_VERSION_1_2 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetCurrentDisplay = (PFNGLXGETCURRENTDISPLAYPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentDisplay")) == NULL) || r;
- return r;
- }
- #endif /* GLX_VERSION_1_2 */
- #ifdef GLX_VERSION_1_3
- static GLboolean _glewInit_GLX_VERSION_1_3 ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXChooseFBConfig = (PFNGLXCHOOSEFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfig")) == NULL) || r;
- r = ((glXCreateNewContext = (PFNGLXCREATENEWCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXCreateNewContext")) == NULL) || r;
- r = ((glXCreatePbuffer = (PFNGLXCREATEPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXCreatePbuffer")) == NULL) || r;
- r = ((glXCreatePixmap = (PFNGLXCREATEPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXCreatePixmap")) == NULL) || r;
- r = ((glXCreateWindow = (PFNGLXCREATEWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXCreateWindow")) == NULL) || r;
- r = ((glXDestroyPbuffer = (PFNGLXDESTROYPBUFFERPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPbuffer")) == NULL) || r;
- r = ((glXDestroyPixmap = (PFNGLXDESTROYPIXMAPPROC)glewGetProcAddress((const GLubyte*)"glXDestroyPixmap")) == NULL) || r;
- r = ((glXDestroyWindow = (PFNGLXDESTROYWINDOWPROC)glewGetProcAddress((const GLubyte*)"glXDestroyWindow")) == NULL) || r;
- r = ((glXGetCurrentReadDrawable = (PFNGLXGETCURRENTREADDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawable")) == NULL) || r;
- r = ((glXGetFBConfigAttrib = (PFNGLXGETFBCONFIGATTRIBPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttrib")) == NULL) || r;
- r = ((glXGetFBConfigs = (PFNGLXGETFBCONFIGSPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigs")) == NULL) || r;
- r = ((glXGetSelectedEvent = (PFNGLXGETSELECTEDEVENTPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEvent")) == NULL) || r;
- r = ((glXGetVisualFromFBConfig = (PFNGLXGETVISUALFROMFBCONFIGPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfig")) == NULL) || r;
- r = ((glXMakeContextCurrent = (PFNGLXMAKECONTEXTCURRENTPROC)glewGetProcAddress((const GLubyte*)"glXMakeContextCurrent")) == NULL) || r;
- r = ((glXQueryContext = (PFNGLXQUERYCONTEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContext")) == NULL) || r;
- r = ((glXQueryDrawable = (PFNGLXQUERYDRAWABLEPROC)glewGetProcAddress((const GLubyte*)"glXQueryDrawable")) == NULL) || r;
- r = ((glXSelectEvent = (PFNGLXSELECTEVENTPROC)glewGetProcAddress((const GLubyte*)"glXSelectEvent")) == NULL) || r;
- return r;
- }
- #endif /* GLX_VERSION_1_3 */
- #ifdef GLX_AMD_gpu_association
- static GLboolean _glewInit_GLX_AMD_gpu_association ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBlitContextFramebufferAMD = (PFNGLXBLITCONTEXTFRAMEBUFFERAMDPROC)glewGetProcAddress((const GLubyte*)"glXBlitContextFramebufferAMD")) == NULL) || r;
- r = ((glXCreateAssociatedContextAMD = (PFNGLXCREATEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAMD")) == NULL) || r;
- r = ((glXCreateAssociatedContextAttribsAMD = (PFNGLXCREATEASSOCIATEDCONTEXTATTRIBSAMDPROC)glewGetProcAddress((const GLubyte*)"glXCreateAssociatedContextAttribsAMD")) == NULL) || r;
- r = ((glXDeleteAssociatedContextAMD = (PFNGLXDELETEASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXDeleteAssociatedContextAMD")) == NULL) || r;
- r = ((glXGetContextGPUIDAMD = (PFNGLXGETCONTEXTGPUIDAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetContextGPUIDAMD")) == NULL) || r;
- r = ((glXGetCurrentAssociatedContextAMD = (PFNGLXGETCURRENTASSOCIATEDCONTEXTAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentAssociatedContextAMD")) == NULL) || r;
- r = ((glXGetGPUIDsAMD = (PFNGLXGETGPUIDSAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUIDsAMD")) == NULL) || r;
- r = ((glXGetGPUInfoAMD = (PFNGLXGETGPUINFOAMDPROC)glewGetProcAddress((const GLubyte*)"glXGetGPUInfoAMD")) == NULL) || r;
- r = ((glXMakeAssociatedContextCurrentAMD = (PFNGLXMAKEASSOCIATEDCONTEXTCURRENTAMDPROC)glewGetProcAddress((const GLubyte*)"glXMakeAssociatedContextCurrentAMD")) == NULL) || r;
- return r;
- }
- #endif /* GLX_AMD_gpu_association */
- #ifdef GLX_ARB_create_context
- static GLboolean _glewInit_GLX_ARB_create_context ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCreateContextAttribsARB = (PFNGLXCREATECONTEXTATTRIBSARBPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextAttribsARB")) == NULL) || r;
- return r;
- }
- #endif /* GLX_ARB_create_context */
- #ifdef GLX_ATI_render_texture
- static GLboolean _glewInit_GLX_ATI_render_texture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindTexImageATI = (PFNGLXBINDTEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageATI")) == NULL) || r;
- r = ((glXDrawableAttribATI = (PFNGLXDRAWABLEATTRIBATIPROC)glewGetProcAddress((const GLubyte*)"glXDrawableAttribATI")) == NULL) || r;
- r = ((glXReleaseTexImageATI = (PFNGLXRELEASETEXIMAGEATIPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageATI")) == NULL) || r;
- return r;
- }
- #endif /* GLX_ATI_render_texture */
- #ifdef GLX_EXT_import_context
- static GLboolean _glewInit_GLX_EXT_import_context ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXFreeContextEXT = (PFNGLXFREECONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXFreeContextEXT")) == NULL) || r;
- r = ((glXGetContextIDEXT = (PFNGLXGETCONTEXTIDEXTPROC)glewGetProcAddress((const GLubyte*)"glXGetContextIDEXT")) == NULL) || r;
- r = ((glXImportContextEXT = (PFNGLXIMPORTCONTEXTEXTPROC)glewGetProcAddress((const GLubyte*)"glXImportContextEXT")) == NULL) || r;
- r = ((glXQueryContextInfoEXT = (PFNGLXQUERYCONTEXTINFOEXTPROC)glewGetProcAddress((const GLubyte*)"glXQueryContextInfoEXT")) == NULL) || r;
- return r;
- }
- #endif /* GLX_EXT_import_context */
- #ifdef GLX_EXT_swap_control
- static GLboolean _glewInit_GLX_EXT_swap_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXSwapIntervalEXT = (PFNGLXSWAPINTERVALEXTPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalEXT")) == NULL) || r;
- return r;
- }
- #endif /* GLX_EXT_swap_control */
- #ifdef GLX_EXT_texture_from_pixmap
- static GLboolean _glewInit_GLX_EXT_texture_from_pixmap ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindTexImageEXT = (PFNGLXBINDTEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXBindTexImageEXT")) == NULL) || r;
- r = ((glXReleaseTexImageEXT = (PFNGLXRELEASETEXIMAGEEXTPROC)glewGetProcAddress((const GLubyte*)"glXReleaseTexImageEXT")) == NULL) || r;
- return r;
- }
- #endif /* GLX_EXT_texture_from_pixmap */
- #ifdef GLX_MESA_agp_offset
- static GLboolean _glewInit_GLX_MESA_agp_offset ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetAGPOffsetMESA = (PFNGLXGETAGPOFFSETMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetAGPOffsetMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_agp_offset */
- #ifdef GLX_MESA_copy_sub_buffer
- static GLboolean _glewInit_GLX_MESA_copy_sub_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCopySubBufferMESA = (PFNGLXCOPYSUBBUFFERMESAPROC)glewGetProcAddress((const GLubyte*)"glXCopySubBufferMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_copy_sub_buffer */
- #ifdef GLX_MESA_pixmap_colormap
- static GLboolean _glewInit_GLX_MESA_pixmap_colormap ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCreateGLXPixmapMESA = (PFNGLXCREATEGLXPIXMAPMESAPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_pixmap_colormap */
- #ifdef GLX_MESA_query_renderer
- static GLboolean _glewInit_GLX_MESA_query_renderer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXQueryCurrentRendererIntegerMESA = (PFNGLXQUERYCURRENTRENDERERINTEGERMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryCurrentRendererIntegerMESA")) == NULL) || r;
- r = ((glXQueryCurrentRendererStringMESA = (PFNGLXQUERYCURRENTRENDERERSTRINGMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryCurrentRendererStringMESA")) == NULL) || r;
- r = ((glXQueryRendererIntegerMESA = (PFNGLXQUERYRENDERERINTEGERMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryRendererIntegerMESA")) == NULL) || r;
- r = ((glXQueryRendererStringMESA = (PFNGLXQUERYRENDERERSTRINGMESAPROC)glewGetProcAddress((const GLubyte*)"glXQueryRendererStringMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_query_renderer */
- #ifdef GLX_MESA_release_buffers
- static GLboolean _glewInit_GLX_MESA_release_buffers ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXReleaseBuffersMESA = (PFNGLXRELEASEBUFFERSMESAPROC)glewGetProcAddress((const GLubyte*)"glXReleaseBuffersMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_release_buffers */
- #ifdef GLX_MESA_set_3dfx_mode
- static GLboolean _glewInit_GLX_MESA_set_3dfx_mode ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXSet3DfxModeMESA = (PFNGLXSET3DFXMODEMESAPROC)glewGetProcAddress((const GLubyte*)"glXSet3DfxModeMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_set_3dfx_mode */
- #ifdef GLX_MESA_swap_control
- static GLboolean _glewInit_GLX_MESA_swap_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetSwapIntervalMESA = (PFNGLXGETSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXGetSwapIntervalMESA")) == NULL) || r;
- r = ((glXSwapIntervalMESA = (PFNGLXSWAPINTERVALMESAPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalMESA")) == NULL) || r;
- return r;
- }
- #endif /* GLX_MESA_swap_control */
- #ifdef GLX_NV_copy_buffer
- static GLboolean _glewInit_GLX_NV_copy_buffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCopyBufferSubDataNV = (PFNGLXCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyBufferSubDataNV")) == NULL) || r;
- r = ((glXNamedCopyBufferSubDataNV = (PFNGLXNAMEDCOPYBUFFERSUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXNamedCopyBufferSubDataNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_copy_buffer */
- #ifdef GLX_NV_copy_image
- static GLboolean _glewInit_GLX_NV_copy_image ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCopyImageSubDataNV = (PFNGLXCOPYIMAGESUBDATANVPROC)glewGetProcAddress((const GLubyte*)"glXCopyImageSubDataNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_copy_image */
- #ifdef GLX_NV_delay_before_swap
- static GLboolean _glewInit_GLX_NV_delay_before_swap ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXDelayBeforeSwapNV = (PFNGLXDELAYBEFORESWAPNVPROC)glewGetProcAddress((const GLubyte*)"glXDelayBeforeSwapNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_delay_before_swap */
- #ifdef GLX_NV_present_video
- static GLboolean _glewInit_GLX_NV_present_video ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindVideoDeviceNV = (PFNGLXBINDVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoDeviceNV")) == NULL) || r;
- r = ((glXEnumerateVideoDevicesNV = (PFNGLXENUMERATEVIDEODEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoDevicesNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_present_video */
- #ifdef GLX_NV_swap_group
- static GLboolean _glewInit_GLX_NV_swap_group ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindSwapBarrierNV = (PFNGLXBINDSWAPBARRIERNVPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierNV")) == NULL) || r;
- r = ((glXJoinSwapGroupNV = (PFNGLXJOINSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupNV")) == NULL) || r;
- r = ((glXQueryFrameCountNV = (PFNGLXQUERYFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryFrameCountNV")) == NULL) || r;
- r = ((glXQueryMaxSwapGroupsNV = (PFNGLXQUERYMAXSWAPGROUPSNVPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapGroupsNV")) == NULL) || r;
- r = ((glXQuerySwapGroupNV = (PFNGLXQUERYSWAPGROUPNVPROC)glewGetProcAddress((const GLubyte*)"glXQuerySwapGroupNV")) == NULL) || r;
- r = ((glXResetFrameCountNV = (PFNGLXRESETFRAMECOUNTNVPROC)glewGetProcAddress((const GLubyte*)"glXResetFrameCountNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_swap_group */
- #ifdef GLX_NV_vertex_array_range
- static GLboolean _glewInit_GLX_NV_vertex_array_range ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXAllocateMemoryNV = (PFNGLXALLOCATEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXAllocateMemoryNV")) == NULL) || r;
- r = ((glXFreeMemoryNV = (PFNGLXFREEMEMORYNVPROC)glewGetProcAddress((const GLubyte*)"glXFreeMemoryNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_vertex_array_range */
- #ifdef GLX_NV_video_capture
- static GLboolean _glewInit_GLX_NV_video_capture ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindVideoCaptureDeviceNV = (PFNGLXBINDVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoCaptureDeviceNV")) == NULL) || r;
- r = ((glXEnumerateVideoCaptureDevicesNV = (PFNGLXENUMERATEVIDEOCAPTUREDEVICESNVPROC)glewGetProcAddress((const GLubyte*)"glXEnumerateVideoCaptureDevicesNV")) == NULL) || r;
- r = ((glXLockVideoCaptureDeviceNV = (PFNGLXLOCKVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXLockVideoCaptureDeviceNV")) == NULL) || r;
- r = ((glXQueryVideoCaptureDeviceNV = (PFNGLXQUERYVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXQueryVideoCaptureDeviceNV")) == NULL) || r;
- r = ((glXReleaseVideoCaptureDeviceNV = (PFNGLXRELEASEVIDEOCAPTUREDEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoCaptureDeviceNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_video_capture */
- #ifdef GLX_NV_video_out
- static GLboolean _glewInit_GLX_NV_video_out ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindVideoImageNV = (PFNGLXBINDVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXBindVideoImageNV")) == NULL) || r;
- r = ((glXGetVideoDeviceNV = (PFNGLXGETVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoDeviceNV")) == NULL) || r;
- r = ((glXGetVideoInfoNV = (PFNGLXGETVIDEOINFONVPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoInfoNV")) == NULL) || r;
- r = ((glXReleaseVideoDeviceNV = (PFNGLXRELEASEVIDEODEVICENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoDeviceNV")) == NULL) || r;
- r = ((glXReleaseVideoImageNV = (PFNGLXRELEASEVIDEOIMAGENVPROC)glewGetProcAddress((const GLubyte*)"glXReleaseVideoImageNV")) == NULL) || r;
- r = ((glXSendPbufferToVideoNV = (PFNGLXSENDPBUFFERTOVIDEONVPROC)glewGetProcAddress((const GLubyte*)"glXSendPbufferToVideoNV")) == NULL) || r;
- return r;
- }
- #endif /* GLX_NV_video_out */
- #ifdef GLX_OML_sync_control
- static GLboolean _glewInit_GLX_OML_sync_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetMscRateOML = (PFNGLXGETMSCRATEOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetMscRateOML")) == NULL) || r;
- r = ((glXGetSyncValuesOML = (PFNGLXGETSYNCVALUESOMLPROC)glewGetProcAddress((const GLubyte*)"glXGetSyncValuesOML")) == NULL) || r;
- r = ((glXSwapBuffersMscOML = (PFNGLXSWAPBUFFERSMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXSwapBuffersMscOML")) == NULL) || r;
- r = ((glXWaitForMscOML = (PFNGLXWAITFORMSCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForMscOML")) == NULL) || r;
- r = ((glXWaitForSbcOML = (PFNGLXWAITFORSBCOMLPROC)glewGetProcAddress((const GLubyte*)"glXWaitForSbcOML")) == NULL) || r;
- return r;
- }
- #endif /* GLX_OML_sync_control */
- #ifdef GLX_SGIX_fbconfig
- static GLboolean _glewInit_GLX_SGIX_fbconfig ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXChooseFBConfigSGIX = (PFNGLXCHOOSEFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChooseFBConfigSGIX")) == NULL) || r;
- r = ((glXCreateContextWithConfigSGIX = (PFNGLXCREATECONTEXTWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateContextWithConfigSGIX")) == NULL) || r;
- r = ((glXCreateGLXPixmapWithConfigSGIX = (PFNGLXCREATEGLXPIXMAPWITHCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPixmapWithConfigSGIX")) == NULL) || r;
- r = ((glXGetFBConfigAttribSGIX = (PFNGLXGETFBCONFIGATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigAttribSGIX")) == NULL) || r;
- r = ((glXGetFBConfigFromVisualSGIX = (PFNGLXGETFBCONFIGFROMVISUALSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetFBConfigFromVisualSGIX")) == NULL) || r;
- r = ((glXGetVisualFromFBConfigSGIX = (PFNGLXGETVISUALFROMFBCONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetVisualFromFBConfigSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_fbconfig */
- #ifdef GLX_SGIX_hyperpipe
- static GLboolean _glewInit_GLX_SGIX_hyperpipe ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindHyperpipeSGIX = (PFNGLXBINDHYPERPIPESGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindHyperpipeSGIX")) == NULL) || r;
- r = ((glXDestroyHyperpipeConfigSGIX = (PFNGLXDESTROYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyHyperpipeConfigSGIX")) == NULL) || r;
- r = ((glXHyperpipeAttribSGIX = (PFNGLXHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeAttribSGIX")) == NULL) || r;
- r = ((glXHyperpipeConfigSGIX = (PFNGLXHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXHyperpipeConfigSGIX")) == NULL) || r;
- r = ((glXQueryHyperpipeAttribSGIX = (PFNGLXQUERYHYPERPIPEATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeAttribSGIX")) == NULL) || r;
- r = ((glXQueryHyperpipeBestAttribSGIX = (PFNGLXQUERYHYPERPIPEBESTATTRIBSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeBestAttribSGIX")) == NULL) || r;
- r = ((glXQueryHyperpipeConfigSGIX = (PFNGLXQUERYHYPERPIPECONFIGSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeConfigSGIX")) == NULL) || r;
- r = ((glXQueryHyperpipeNetworkSGIX = (PFNGLXQUERYHYPERPIPENETWORKSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryHyperpipeNetworkSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_hyperpipe */
- #ifdef GLX_SGIX_pbuffer
- static GLboolean _glewInit_GLX_SGIX_pbuffer ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCreateGLXPbufferSGIX = (PFNGLXCREATEGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXCreateGLXPbufferSGIX")) == NULL) || r;
- r = ((glXDestroyGLXPbufferSGIX = (PFNGLXDESTROYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXDestroyGLXPbufferSGIX")) == NULL) || r;
- r = ((glXGetSelectedEventSGIX = (PFNGLXGETSELECTEDEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXGetSelectedEventSGIX")) == NULL) || r;
- r = ((glXQueryGLXPbufferSGIX = (PFNGLXQUERYGLXPBUFFERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryGLXPbufferSGIX")) == NULL) || r;
- r = ((glXSelectEventSGIX = (PFNGLXSELECTEVENTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXSelectEventSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_pbuffer */
- #ifdef GLX_SGIX_swap_barrier
- static GLboolean _glewInit_GLX_SGIX_swap_barrier ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindSwapBarrierSGIX = (PFNGLXBINDSWAPBARRIERSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindSwapBarrierSGIX")) == NULL) || r;
- r = ((glXQueryMaxSwapBarriersSGIX = (PFNGLXQUERYMAXSWAPBARRIERSSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryMaxSwapBarriersSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_swap_barrier */
- #ifdef GLX_SGIX_swap_group
- static GLboolean _glewInit_GLX_SGIX_swap_group ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXJoinSwapGroupSGIX = (PFNGLXJOINSWAPGROUPSGIXPROC)glewGetProcAddress((const GLubyte*)"glXJoinSwapGroupSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_swap_group */
- #ifdef GLX_SGIX_video_resize
- static GLboolean _glewInit_GLX_SGIX_video_resize ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXBindChannelToWindowSGIX = (PFNGLXBINDCHANNELTOWINDOWSGIXPROC)glewGetProcAddress((const GLubyte*)"glXBindChannelToWindowSGIX")) == NULL) || r;
- r = ((glXChannelRectSGIX = (PFNGLXCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSGIX")) == NULL) || r;
- r = ((glXChannelRectSyncSGIX = (PFNGLXCHANNELRECTSYNCSGIXPROC)glewGetProcAddress((const GLubyte*)"glXChannelRectSyncSGIX")) == NULL) || r;
- r = ((glXQueryChannelDeltasSGIX = (PFNGLXQUERYCHANNELDELTASSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelDeltasSGIX")) == NULL) || r;
- r = ((glXQueryChannelRectSGIX = (PFNGLXQUERYCHANNELRECTSGIXPROC)glewGetProcAddress((const GLubyte*)"glXQueryChannelRectSGIX")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGIX_video_resize */
- #ifdef GLX_SGI_cushion
- static GLboolean _glewInit_GLX_SGI_cushion ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXCushionSGI = (PFNGLXCUSHIONSGIPROC)glewGetProcAddress((const GLubyte*)"glXCushionSGI")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGI_cushion */
- #ifdef GLX_SGI_make_current_read
- static GLboolean _glewInit_GLX_SGI_make_current_read ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetCurrentReadDrawableSGI = (PFNGLXGETCURRENTREADDRAWABLESGIPROC)glewGetProcAddress((const GLubyte*)"glXGetCurrentReadDrawableSGI")) == NULL) || r;
- r = ((glXMakeCurrentReadSGI = (PFNGLXMAKECURRENTREADSGIPROC)glewGetProcAddress((const GLubyte*)"glXMakeCurrentReadSGI")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGI_make_current_read */
- #ifdef GLX_SGI_swap_control
- static GLboolean _glewInit_GLX_SGI_swap_control ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXSwapIntervalSGI = (PFNGLXSWAPINTERVALSGIPROC)glewGetProcAddress((const GLubyte*)"glXSwapIntervalSGI")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGI_swap_control */
- #ifdef GLX_SGI_video_sync
- static GLboolean _glewInit_GLX_SGI_video_sync ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetVideoSyncSGI = (PFNGLXGETVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoSyncSGI")) == NULL) || r;
- r = ((glXWaitVideoSyncSGI = (PFNGLXWAITVIDEOSYNCSGIPROC)glewGetProcAddress((const GLubyte*)"glXWaitVideoSyncSGI")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SGI_video_sync */
- #ifdef GLX_SUN_get_transparent_index
- static GLboolean _glewInit_GLX_SUN_get_transparent_index ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetTransparentIndexSUN = (PFNGLXGETTRANSPARENTINDEXSUNPROC)glewGetProcAddress((const GLubyte*)"glXGetTransparentIndexSUN")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SUN_get_transparent_index */
- #ifdef GLX_SUN_video_resize
- static GLboolean _glewInit_GLX_SUN_video_resize ()
- {
- GLboolean r = GL_FALSE;
- r = ((glXGetVideoResizeSUN = (PFNGLXGETVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXGetVideoResizeSUN")) == NULL) || r;
- r = ((glXVideoResizeSUN = (PFNGLXVIDEORESIZESUNPROC)glewGetProcAddress((const GLubyte*)"glXVideoResizeSUN")) == NULL) || r;
- return r;
- }
- #endif /* GLX_SUN_video_resize */
- /* ------------------------------------------------------------------------ */
- GLboolean glxewGetExtension (const char* name)
- {
- const GLubyte* start;
- const GLubyte* end;
- if (glXGetCurrentDisplay == NULL) return GL_FALSE;
- start = (const GLubyte*)glXGetClientString(glXGetCurrentDisplay(), GLX_EXTENSIONS);
- if (0 == start) return GL_FALSE;
- end = start + _glewStrLen(start);
- return _glewSearchExtension(name, start, end);
- }
- GLenum glxewInit ()
- {
- Display* display;
- int major, minor;
- const GLubyte* extStart;
- const GLubyte* extEnd;
- /* initialize core GLX 1.2 */
- if (_glewInit_GLX_VERSION_1_2()) return GLEW_ERROR_GLX_VERSION_11_ONLY;
- /* check for a display */
- display = glXGetCurrentDisplay();
- if (display == NULL) return GLEW_ERROR_NO_GLX_DISPLAY;
- /* initialize flags */
- GLXEW_VERSION_1_0 = GL_TRUE;
- GLXEW_VERSION_1_1 = GL_TRUE;
- GLXEW_VERSION_1_2 = GL_TRUE;
- GLXEW_VERSION_1_3 = GL_TRUE;
- GLXEW_VERSION_1_4 = GL_TRUE;
- /* query GLX version */
- glXQueryVersion(display, &major, &minor);
- if (major == 1 && minor <= 3)
- {
- switch (minor)
- {
- case 3:
- GLXEW_VERSION_1_4 = GL_FALSE;
- break;
- case 2:
- GLXEW_VERSION_1_4 = GL_FALSE;
- GLXEW_VERSION_1_3 = GL_FALSE;
- break;
- default:
- return GLEW_ERROR_GLX_VERSION_11_ONLY;
- break;
- }
- }
- /* query GLX extension string */
- extStart = 0;
- if (glXGetCurrentDisplay != NULL)
- extStart = (const GLubyte*)glXGetClientString(display, GLX_EXTENSIONS);
- if (extStart == 0)
- extStart = (const GLubyte *)"";
- extEnd = extStart + _glewStrLen(extStart);
- /* initialize extensions */
- #ifdef GLX_VERSION_1_3
- if (glewExperimental || GLXEW_VERSION_1_3) GLXEW_VERSION_1_3 = !_glewInit_GLX_VERSION_1_3();
- #endif /* GLX_VERSION_1_3 */
- #ifdef GLX_3DFX_multisample
- GLXEW_3DFX_multisample = _glewSearchExtension("GLX_3DFX_multisample", extStart, extEnd);
- #endif /* GLX_3DFX_multisample */
- #ifdef GLX_AMD_gpu_association
- GLXEW_AMD_gpu_association = _glewSearchExtension("GLX_AMD_gpu_association", extStart, extEnd);
- if (glewExperimental || GLXEW_AMD_gpu_association) GLXEW_AMD_gpu_association = !_glewInit_GLX_AMD_gpu_association();
- #endif /* GLX_AMD_gpu_association */
- #ifdef GLX_ARB_context_flush_control
- GLXEW_ARB_context_flush_control = _glewSearchExtension("GLX_ARB_context_flush_control", extStart, extEnd);
- #endif /* GLX_ARB_context_flush_control */
- #ifdef GLX_ARB_create_context
- GLXEW_ARB_create_context = _glewSearchExtension("GLX_ARB_create_context", extStart, extEnd);
- if (glewExperimental || GLXEW_ARB_create_context) GLXEW_ARB_create_context = !_glewInit_GLX_ARB_create_context();
- #endif /* GLX_ARB_create_context */
- #ifdef GLX_ARB_create_context_no_error
- GLXEW_ARB_create_context_no_error = _glewSearchExtension("GLX_ARB_create_context_no_error", extStart, extEnd);
- #endif /* GLX_ARB_create_context_no_error */
- #ifdef GLX_ARB_create_context_profile
- GLXEW_ARB_create_context_profile = _glewSearchExtension("GLX_ARB_create_context_profile", extStart, extEnd);
- #endif /* GLX_ARB_create_context_profile */
- #ifdef GLX_ARB_create_context_robustness
- GLXEW_ARB_create_context_robustness = _glewSearchExtension("GLX_ARB_create_context_robustness", extStart, extEnd);
- #endif /* GLX_ARB_create_context_robustness */
- #ifdef GLX_ARB_fbconfig_float
- GLXEW_ARB_fbconfig_float = _glewSearchExtension("GLX_ARB_fbconfig_float", extStart, extEnd);
- #endif /* GLX_ARB_fbconfig_float */
- #ifdef GLX_ARB_framebuffer_sRGB
- GLXEW_ARB_framebuffer_sRGB = _glewSearchExtension("GLX_ARB_framebuffer_sRGB", extStart, extEnd);
- #endif /* GLX_ARB_framebuffer_sRGB */
- #ifdef GLX_ARB_get_proc_address
- GLXEW_ARB_get_proc_address = _glewSearchExtension("GLX_ARB_get_proc_address", extStart, extEnd);
- #endif /* GLX_ARB_get_proc_address */
- #ifdef GLX_ARB_multisample
- GLXEW_ARB_multisample = _glewSearchExtension("GLX_ARB_multisample", extStart, extEnd);
- #endif /* GLX_ARB_multisample */
- #ifdef GLX_ARB_robustness_application_isolation
- GLXEW_ARB_robustness_application_isolation = _glewSearchExtension("GLX_ARB_robustness_application_isolation", extStart, extEnd);
- #endif /* GLX_ARB_robustness_application_isolation */
- #ifdef GLX_ARB_robustness_share_group_isolation
- GLXEW_ARB_robustness_share_group_isolation = _glewSearchExtension("GLX_ARB_robustness_share_group_isolation", extStart, extEnd);
- #endif /* GLX_ARB_robustness_share_group_isolation */
- #ifdef GLX_ARB_vertex_buffer_object
- GLXEW_ARB_vertex_buffer_object = _glewSearchExtension("GLX_ARB_vertex_buffer_object", extStart, extEnd);
- #endif /* GLX_ARB_vertex_buffer_object */
- #ifdef GLX_ATI_pixel_format_float
- GLXEW_ATI_pixel_format_float = _glewSearchExtension("GLX_ATI_pixel_format_float", extStart, extEnd);
- #endif /* GLX_ATI_pixel_format_float */
- #ifdef GLX_ATI_render_texture
- GLXEW_ATI_render_texture = _glewSearchExtension("GLX_ATI_render_texture", extStart, extEnd);
- if (glewExperimental || GLXEW_ATI_render_texture) GLXEW_ATI_render_texture = !_glewInit_GLX_ATI_render_texture();
- #endif /* GLX_ATI_render_texture */
- #ifdef GLX_EXT_buffer_age
- GLXEW_EXT_buffer_age = _glewSearchExtension("GLX_EXT_buffer_age", extStart, extEnd);
- #endif /* GLX_EXT_buffer_age */
- #ifdef GLX_EXT_create_context_es2_profile
- GLXEW_EXT_create_context_es2_profile = _glewSearchExtension("GLX_EXT_create_context_es2_profile", extStart, extEnd);
- #endif /* GLX_EXT_create_context_es2_profile */
- #ifdef GLX_EXT_create_context_es_profile
- GLXEW_EXT_create_context_es_profile = _glewSearchExtension("GLX_EXT_create_context_es_profile", extStart, extEnd);
- #endif /* GLX_EXT_create_context_es_profile */
- #ifdef GLX_EXT_fbconfig_packed_float
- GLXEW_EXT_fbconfig_packed_float = _glewSearchExtension("GLX_EXT_fbconfig_packed_float", extStart, extEnd);
- #endif /* GLX_EXT_fbconfig_packed_float */
- #ifdef GLX_EXT_framebuffer_sRGB
- GLXEW_EXT_framebuffer_sRGB = _glewSearchExtension("GLX_EXT_framebuffer_sRGB", extStart, extEnd);
- #endif /* GLX_EXT_framebuffer_sRGB */
- #ifdef GLX_EXT_import_context
- GLXEW_EXT_import_context = _glewSearchExtension("GLX_EXT_import_context", extStart, extEnd);
- if (glewExperimental || GLXEW_EXT_import_context) GLXEW_EXT_import_context = !_glewInit_GLX_EXT_import_context();
- #endif /* GLX_EXT_import_context */
- #ifdef GLX_EXT_libglvnd
- GLXEW_EXT_libglvnd = _glewSearchExtension("GLX_EXT_libglvnd", extStart, extEnd);
- #endif /* GLX_EXT_libglvnd */
- #ifdef GLX_EXT_scene_marker
- GLXEW_EXT_scene_marker = _glewSearchExtension("GLX_EXT_scene_marker", extStart, extEnd);
- #endif /* GLX_EXT_scene_marker */
- #ifdef GLX_EXT_stereo_tree
- GLXEW_EXT_stereo_tree = _glewSearchExtension("GLX_EXT_stereo_tree", extStart, extEnd);
- #endif /* GLX_EXT_stereo_tree */
- #ifdef GLX_EXT_swap_control
- GLXEW_EXT_swap_control = _glewSearchExtension("GLX_EXT_swap_control", extStart, extEnd);
- if (glewExperimental || GLXEW_EXT_swap_control) GLXEW_EXT_swap_control = !_glewInit_GLX_EXT_swap_control();
- #endif /* GLX_EXT_swap_control */
- #ifdef GLX_EXT_swap_control_tear
- GLXEW_EXT_swap_control_tear = _glewSearchExtension("GLX_EXT_swap_control_tear", extStart, extEnd);
- #endif /* GLX_EXT_swap_control_tear */
- #ifdef GLX_EXT_texture_from_pixmap
- GLXEW_EXT_texture_from_pixmap = _glewSearchExtension("GLX_EXT_texture_from_pixmap", extStart, extEnd);
- if (glewExperimental || GLXEW_EXT_texture_from_pixmap) GLXEW_EXT_texture_from_pixmap = !_glewInit_GLX_EXT_texture_from_pixmap();
- #endif /* GLX_EXT_texture_from_pixmap */
- #ifdef GLX_EXT_visual_info
- GLXEW_EXT_visual_info = _glewSearchExtension("GLX_EXT_visual_info", extStart, extEnd);
- #endif /* GLX_EXT_visual_info */
- #ifdef GLX_EXT_visual_rating
- GLXEW_EXT_visual_rating = _glewSearchExtension("GLX_EXT_visual_rating", extStart, extEnd);
- #endif /* GLX_EXT_visual_rating */
- #ifdef GLX_INTEL_swap_event
- GLXEW_INTEL_swap_event = _glewSearchExtension("GLX_INTEL_swap_event", extStart, extEnd);
- #endif /* GLX_INTEL_swap_event */
- #ifdef GLX_MESA_agp_offset
- GLXEW_MESA_agp_offset = _glewSearchExtension("GLX_MESA_agp_offset", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_agp_offset) GLXEW_MESA_agp_offset = !_glewInit_GLX_MESA_agp_offset();
- #endif /* GLX_MESA_agp_offset */
- #ifdef GLX_MESA_copy_sub_buffer
- GLXEW_MESA_copy_sub_buffer = _glewSearchExtension("GLX_MESA_copy_sub_buffer", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_copy_sub_buffer) GLXEW_MESA_copy_sub_buffer = !_glewInit_GLX_MESA_copy_sub_buffer();
- #endif /* GLX_MESA_copy_sub_buffer */
- #ifdef GLX_MESA_pixmap_colormap
- GLXEW_MESA_pixmap_colormap = _glewSearchExtension("GLX_MESA_pixmap_colormap", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_pixmap_colormap) GLXEW_MESA_pixmap_colormap = !_glewInit_GLX_MESA_pixmap_colormap();
- #endif /* GLX_MESA_pixmap_colormap */
- #ifdef GLX_MESA_query_renderer
- GLXEW_MESA_query_renderer = _glewSearchExtension("GLX_MESA_query_renderer", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_query_renderer) GLXEW_MESA_query_renderer = !_glewInit_GLX_MESA_query_renderer();
- #endif /* GLX_MESA_query_renderer */
- #ifdef GLX_MESA_release_buffers
- GLXEW_MESA_release_buffers = _glewSearchExtension("GLX_MESA_release_buffers", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_release_buffers) GLXEW_MESA_release_buffers = !_glewInit_GLX_MESA_release_buffers();
- #endif /* GLX_MESA_release_buffers */
- #ifdef GLX_MESA_set_3dfx_mode
- GLXEW_MESA_set_3dfx_mode = _glewSearchExtension("GLX_MESA_set_3dfx_mode", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_set_3dfx_mode) GLXEW_MESA_set_3dfx_mode = !_glewInit_GLX_MESA_set_3dfx_mode();
- #endif /* GLX_MESA_set_3dfx_mode */
- #ifdef GLX_MESA_swap_control
- GLXEW_MESA_swap_control = _glewSearchExtension("GLX_MESA_swap_control", extStart, extEnd);
- if (glewExperimental || GLXEW_MESA_swap_control) GLXEW_MESA_swap_control = !_glewInit_GLX_MESA_swap_control();
- #endif /* GLX_MESA_swap_control */
- #ifdef GLX_NV_copy_buffer
- GLXEW_NV_copy_buffer = _glewSearchExtension("GLX_NV_copy_buffer", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_copy_buffer) GLXEW_NV_copy_buffer = !_glewInit_GLX_NV_copy_buffer();
- #endif /* GLX_NV_copy_buffer */
- #ifdef GLX_NV_copy_image
- GLXEW_NV_copy_image = _glewSearchExtension("GLX_NV_copy_image", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_copy_image) GLXEW_NV_copy_image = !_glewInit_GLX_NV_copy_image();
- #endif /* GLX_NV_copy_image */
- #ifdef GLX_NV_delay_before_swap
- GLXEW_NV_delay_before_swap = _glewSearchExtension("GLX_NV_delay_before_swap", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_delay_before_swap) GLXEW_NV_delay_before_swap = !_glewInit_GLX_NV_delay_before_swap();
- #endif /* GLX_NV_delay_before_swap */
- #ifdef GLX_NV_float_buffer
- GLXEW_NV_float_buffer = _glewSearchExtension("GLX_NV_float_buffer", extStart, extEnd);
- #endif /* GLX_NV_float_buffer */
- #ifdef GLX_NV_multisample_coverage
- GLXEW_NV_multisample_coverage = _glewSearchExtension("GLX_NV_multisample_coverage", extStart, extEnd);
- #endif /* GLX_NV_multisample_coverage */
- #ifdef GLX_NV_present_video
- GLXEW_NV_present_video = _glewSearchExtension("GLX_NV_present_video", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_present_video) GLXEW_NV_present_video = !_glewInit_GLX_NV_present_video();
- #endif /* GLX_NV_present_video */
- #ifdef GLX_NV_robustness_video_memory_purge
- GLXEW_NV_robustness_video_memory_purge = _glewSearchExtension("GLX_NV_robustness_video_memory_purge", extStart, extEnd);
- #endif /* GLX_NV_robustness_video_memory_purge */
- #ifdef GLX_NV_swap_group
- GLXEW_NV_swap_group = _glewSearchExtension("GLX_NV_swap_group", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_swap_group) GLXEW_NV_swap_group = !_glewInit_GLX_NV_swap_group();
- #endif /* GLX_NV_swap_group */
- #ifdef GLX_NV_vertex_array_range
- GLXEW_NV_vertex_array_range = _glewSearchExtension("GLX_NV_vertex_array_range", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_vertex_array_range) GLXEW_NV_vertex_array_range = !_glewInit_GLX_NV_vertex_array_range();
- #endif /* GLX_NV_vertex_array_range */
- #ifdef GLX_NV_video_capture
- GLXEW_NV_video_capture = _glewSearchExtension("GLX_NV_video_capture", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_video_capture) GLXEW_NV_video_capture = !_glewInit_GLX_NV_video_capture();
- #endif /* GLX_NV_video_capture */
- #ifdef GLX_NV_video_out
- GLXEW_NV_video_out = _glewSearchExtension("GLX_NV_video_out", extStart, extEnd);
- if (glewExperimental || GLXEW_NV_video_out) GLXEW_NV_video_out = !_glewInit_GLX_NV_video_out();
- #endif /* GLX_NV_video_out */
- #ifdef GLX_OML_swap_method
- GLXEW_OML_swap_method = _glewSearchExtension("GLX_OML_swap_method", extStart, extEnd);
- #endif /* GLX_OML_swap_method */
- #ifdef GLX_OML_sync_control
- GLXEW_OML_sync_control = _glewSearchExtension("GLX_OML_sync_control", extStart, extEnd);
- if (glewExperimental || GLXEW_OML_sync_control) GLXEW_OML_sync_control = !_glewInit_GLX_OML_sync_control();
- #endif /* GLX_OML_sync_control */
- #ifdef GLX_SGIS_blended_overlay
- GLXEW_SGIS_blended_overlay = _glewSearchExtension("GLX_SGIS_blended_overlay", extStart, extEnd);
- #endif /* GLX_SGIS_blended_overlay */
- #ifdef GLX_SGIS_color_range
- GLXEW_SGIS_color_range = _glewSearchExtension("GLX_SGIS_color_range", extStart, extEnd);
- #endif /* GLX_SGIS_color_range */
- #ifdef GLX_SGIS_multisample
- GLXEW_SGIS_multisample = _glewSearchExtension("GLX_SGIS_multisample", extStart, extEnd);
- #endif /* GLX_SGIS_multisample */
- #ifdef GLX_SGIS_shared_multisample
- GLXEW_SGIS_shared_multisample = _glewSearchExtension("GLX_SGIS_shared_multisample", extStart, extEnd);
- #endif /* GLX_SGIS_shared_multisample */
- #ifdef GLX_SGIX_fbconfig
- GLXEW_SGIX_fbconfig = _glewSearchExtension("GLX_SGIX_fbconfig", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_fbconfig) GLXEW_SGIX_fbconfig = !_glewInit_GLX_SGIX_fbconfig();
- #endif /* GLX_SGIX_fbconfig */
- #ifdef GLX_SGIX_hyperpipe
- GLXEW_SGIX_hyperpipe = _glewSearchExtension("GLX_SGIX_hyperpipe", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_hyperpipe) GLXEW_SGIX_hyperpipe = !_glewInit_GLX_SGIX_hyperpipe();
- #endif /* GLX_SGIX_hyperpipe */
- #ifdef GLX_SGIX_pbuffer
- GLXEW_SGIX_pbuffer = _glewSearchExtension("GLX_SGIX_pbuffer", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_pbuffer) GLXEW_SGIX_pbuffer = !_glewInit_GLX_SGIX_pbuffer();
- #endif /* GLX_SGIX_pbuffer */
- #ifdef GLX_SGIX_swap_barrier
- GLXEW_SGIX_swap_barrier = _glewSearchExtension("GLX_SGIX_swap_barrier", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_swap_barrier) GLXEW_SGIX_swap_barrier = !_glewInit_GLX_SGIX_swap_barrier();
- #endif /* GLX_SGIX_swap_barrier */
- #ifdef GLX_SGIX_swap_group
- GLXEW_SGIX_swap_group = _glewSearchExtension("GLX_SGIX_swap_group", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_swap_group) GLXEW_SGIX_swap_group = !_glewInit_GLX_SGIX_swap_group();
- #endif /* GLX_SGIX_swap_group */
- #ifdef GLX_SGIX_video_resize
- GLXEW_SGIX_video_resize = _glewSearchExtension("GLX_SGIX_video_resize", extStart, extEnd);
- if (glewExperimental || GLXEW_SGIX_video_resize) GLXEW_SGIX_video_resize = !_glewInit_GLX_SGIX_video_resize();
- #endif /* GLX_SGIX_video_resize */
- #ifdef GLX_SGIX_visual_select_group
- GLXEW_SGIX_visual_select_group = _glewSearchExtension("GLX_SGIX_visual_select_group", extStart, extEnd);
- #endif /* GLX_SGIX_visual_select_group */
- #ifdef GLX_SGI_cushion
- GLXEW_SGI_cushion = _glewSearchExtension("GLX_SGI_cushion", extStart, extEnd);
- if (glewExperimental || GLXEW_SGI_cushion) GLXEW_SGI_cushion = !_glewInit_GLX_SGI_cushion();
- #endif /* GLX_SGI_cushion */
- #ifdef GLX_SGI_make_current_read
- GLXEW_SGI_make_current_read = _glewSearchExtension("GLX_SGI_make_current_read", extStart, extEnd);
- if (glewExperimental || GLXEW_SGI_make_current_read) GLXEW_SGI_make_current_read = !_glewInit_GLX_SGI_make_current_read();
- #endif /* GLX_SGI_make_current_read */
- #ifdef GLX_SGI_swap_control
- GLXEW_SGI_swap_control = _glewSearchExtension("GLX_SGI_swap_control", extStart, extEnd);
- if (glewExperimental || GLXEW_SGI_swap_control) GLXEW_SGI_swap_control = !_glewInit_GLX_SGI_swap_control();
- #endif /* GLX_SGI_swap_control */
- #ifdef GLX_SGI_video_sync
- GLXEW_SGI_video_sync = _glewSearchExtension("GLX_SGI_video_sync", extStart, extEnd);
- if (glewExperimental || GLXEW_SGI_video_sync) GLXEW_SGI_video_sync = !_glewInit_GLX_SGI_video_sync();
- #endif /* GLX_SGI_video_sync */
- #ifdef GLX_SUN_get_transparent_index
- GLXEW_SUN_get_transparent_index = _glewSearchExtension("GLX_SUN_get_transparent_index", extStart, extEnd);
- if (glewExperimental || GLXEW_SUN_get_transparent_index) GLXEW_SUN_get_transparent_index = !_glewInit_GLX_SUN_get_transparent_index();
- #endif /* GLX_SUN_get_transparent_index */
- #ifdef GLX_SUN_video_resize
- GLXEW_SUN_video_resize = _glewSearchExtension("GLX_SUN_video_resize", extStart, extEnd);
- if (glewExperimental || GLXEW_SUN_video_resize) GLXEW_SUN_video_resize = !_glewInit_GLX_SUN_video_resize();
- #endif /* GLX_SUN_video_resize */
- return GLEW_OK;
- }
- #endif /* !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && (!defined(__APPLE__) || defined(GLEW_APPLE_GLX)) */
- /* ------------------------------------------------------------------------ */
- const GLubyte * GLEWAPIENTRY glewGetErrorString (GLenum error)
- {
- static const GLubyte* _glewErrorString[] =
- {
- (const GLubyte*)"No error",
- (const GLubyte*)"Missing GL version",
- (const GLubyte*)"GL 1.1 and up are not supported",
- (const GLubyte*)"GLX 1.2 and up are not supported",
- (const GLubyte*)"Unknown error"
- };
- const size_t max_error = sizeof(_glewErrorString)/sizeof(*_glewErrorString) - 1;
- return _glewErrorString[(size_t)error > max_error ? max_error : (size_t)error];
- }
- const GLubyte * GLEWAPIENTRY glewGetString (GLenum name)
- {
- static const GLubyte* _glewString[] =
- {
- (const GLubyte*)NULL,
- (const GLubyte*)"2.1.0",
- (const GLubyte*)"2",
- (const GLubyte*)"1",
- (const GLubyte*)"0"
- };
- const size_t max_string = sizeof(_glewString)/sizeof(*_glewString) - 1;
- return _glewString[(size_t)name > max_string ? 0 : (size_t)name];
- }
- /* ------------------------------------------------------------------------ */
- GLboolean glewExperimental = GL_FALSE;
- GLenum GLEWAPIENTRY glewInit (void)
- {
- GLenum r;
- #if defined(GLEW_EGL)
- PFNEGLGETCURRENTDISPLAYPROC getCurrentDisplay = NULL;
- #endif
- r = glewContextInit();
- if ( r != 0 ) return r;
- #if defined(GLEW_EGL)
- getCurrentDisplay = (PFNEGLGETCURRENTDISPLAYPROC) glewGetProcAddress("eglGetCurrentDisplay");
- return eglewInit(getCurrentDisplay());
- #elif defined(GLEW_OSMESA) || defined(__ANDROID__) || defined(__native_client__) || defined(__HAIKU__)
- return r;
- #elif defined(_WIN32)
- return wglewInit();
- #elif !defined(__APPLE__) || defined(GLEW_APPLE_GLX) /* _UNIX */
- return glxewInit();
- #else
- return r;
- #endif /* _WIN32 */
- }
- #if defined(_WIN32) && defined(GLEW_BUILD) && defined(__GNUC__)
- /* GCC requires a DLL entry point even without any standard library included. */
- /* Types extracted from windows.h to avoid polluting the rest of the file. */
- int __stdcall DllMainCRTStartup(void* instance, unsigned reason, void* reserved)
- {
- (void) instance;
- (void) reason;
- (void) reserved;
- return 1;
- }
- #endif
- GLboolean GLEWAPIENTRY glewIsSupported (const char* name)
- {
- const GLubyte* pos = (const GLubyte*)name;
- GLuint len = _glewStrLen(pos);
- GLboolean ret = GL_TRUE;
- while (ret && len > 0)
- {
- if (_glewStrSame1(&pos, &len, (const GLubyte*)"GL_", 3))
- {
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
- {
- #ifdef GL_VERSION_1_2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
- {
- ret = GLEW_VERSION_1_2;
- continue;
- }
- #endif
- #ifdef GL_VERSION_1_2_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2_1", 5))
- {
- ret = GLEW_VERSION_1_2_1;
- continue;
- }
- #endif
- #ifdef GL_VERSION_1_3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
- {
- ret = GLEW_VERSION_1_3;
- continue;
- }
- #endif
- #ifdef GL_VERSION_1_4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
- {
- ret = GLEW_VERSION_1_4;
- continue;
- }
- #endif
- #ifdef GL_VERSION_1_5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
- {
- ret = GLEW_VERSION_1_5;
- continue;
- }
- #endif
- #ifdef GL_VERSION_2_0
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_0", 3))
- {
- ret = GLEW_VERSION_2_0;
- continue;
- }
- #endif
- #ifdef GL_VERSION_2_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"2_1", 3))
- {
- ret = GLEW_VERSION_2_1;
- continue;
- }
- #endif
- #ifdef GL_VERSION_3_0
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_0", 3))
- {
- ret = GLEW_VERSION_3_0;
- continue;
- }
- #endif
- #ifdef GL_VERSION_3_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_1", 3))
- {
- ret = GLEW_VERSION_3_1;
- continue;
- }
- #endif
- #ifdef GL_VERSION_3_2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_2", 3))
- {
- ret = GLEW_VERSION_3_2;
- continue;
- }
- #endif
- #ifdef GL_VERSION_3_3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3_3", 3))
- {
- ret = GLEW_VERSION_3_3;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_0
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_0", 3))
- {
- ret = GLEW_VERSION_4_0;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_1", 3))
- {
- ret = GLEW_VERSION_4_1;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_2", 3))
- {
- ret = GLEW_VERSION_4_2;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_3", 3))
- {
- ret = GLEW_VERSION_4_3;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_4", 3))
- {
- ret = GLEW_VERSION_4_4;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_5", 3))
- {
- ret = GLEW_VERSION_4_5;
- continue;
- }
- #endif
- #ifdef GL_VERSION_4_6
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"4_6", 3))
- {
- ret = GLEW_VERSION_4_6;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
- {
- #ifdef GL_3DFX_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLEW_3DFX_multisample;
- continue;
- }
- #endif
- #ifdef GL_3DFX_tbuffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"tbuffer", 7))
- {
- ret = GLEW_3DFX_tbuffer;
- continue;
- }
- #endif
- #ifdef GL_3DFX_texture_compression_FXT1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_FXT1", 24))
- {
- ret = GLEW_3DFX_texture_compression_FXT1;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
- {
- #ifdef GL_AMD_blend_minmax_factor
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19))
- {
- ret = GLEW_AMD_blend_minmax_factor;
- continue;
- }
- #endif
- #ifdef GL_AMD_compressed_3DC_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_3DC_texture", 22))
- {
- ret = GLEW_AMD_compressed_3DC_texture;
- continue;
- }
- #endif
- #ifdef GL_AMD_compressed_ATC_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_ATC_texture", 22))
- {
- ret = GLEW_AMD_compressed_ATC_texture;
- continue;
- }
- #endif
- #ifdef GL_AMD_conservative_depth
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
- {
- ret = GLEW_AMD_conservative_depth;
- continue;
- }
- #endif
- #ifdef GL_AMD_debug_output
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
- {
- ret = GLEW_AMD_debug_output;
- continue;
- }
- #endif
- #ifdef GL_AMD_depth_clamp_separate
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp_separate", 20))
- {
- ret = GLEW_AMD_depth_clamp_separate;
- continue;
- }
- #endif
- #ifdef GL_AMD_draw_buffers_blend
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
- {
- ret = GLEW_AMD_draw_buffers_blend;
- continue;
- }
- #endif
- #ifdef GL_AMD_framebuffer_sample_positions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sample_positions", 28))
- {
- ret = GLEW_AMD_framebuffer_sample_positions;
- continue;
- }
- #endif
- #ifdef GL_AMD_gcn_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gcn_shader", 10))
- {
- ret = GLEW_AMD_gcn_shader;
- continue;
- }
- #endif
- #ifdef GL_AMD_gpu_shader_half_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_half_float", 21))
- {
- ret = GLEW_AMD_gpu_shader_half_float;
- continue;
- }
- #endif
- #ifdef GL_AMD_gpu_shader_int16
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int16", 16))
- {
- ret = GLEW_AMD_gpu_shader_int16;
- continue;
- }
- #endif
- #ifdef GL_AMD_gpu_shader_int64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int64", 16))
- {
- ret = GLEW_AMD_gpu_shader_int64;
- continue;
- }
- #endif
- #ifdef GL_AMD_interleaved_elements
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"interleaved_elements", 20))
- {
- ret = GLEW_AMD_interleaved_elements;
- continue;
- }
- #endif
- #ifdef GL_AMD_multi_draw_indirect
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
- {
- ret = GLEW_AMD_multi_draw_indirect;
- continue;
- }
- #endif
- #ifdef GL_AMD_name_gen_delete
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"name_gen_delete", 15))
- {
- ret = GLEW_AMD_name_gen_delete;
- continue;
- }
- #endif
- #ifdef GL_AMD_occlusion_query_event
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query_event", 21))
- {
- ret = GLEW_AMD_occlusion_query_event;
- continue;
- }
- #endif
- #ifdef GL_AMD_performance_monitor
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_monitor", 19))
- {
- ret = GLEW_AMD_performance_monitor;
- continue;
- }
- #endif
- #ifdef GL_AMD_pinned_memory
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pinned_memory", 13))
- {
- ret = GLEW_AMD_pinned_memory;
- continue;
- }
- #endif
- #ifdef GL_AMD_program_binary_Z400
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_binary_Z400", 19))
- {
- ret = GLEW_AMD_program_binary_Z400;
- continue;
- }
- #endif
- #ifdef GL_AMD_query_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
- {
- ret = GLEW_AMD_query_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_AMD_sample_positions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_positions", 16))
- {
- ret = GLEW_AMD_sample_positions;
- continue;
- }
- #endif
- #ifdef GL_AMD_seamless_cubemap_per_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
- {
- ret = GLEW_AMD_seamless_cubemap_per_texture;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_atomic_counter_ops
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counter_ops", 25))
- {
- ret = GLEW_AMD_shader_atomic_counter_ops;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_ballot
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_ballot", 13))
- {
- ret = GLEW_AMD_shader_ballot;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_explicit_vertex_parameter
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_explicit_vertex_parameter", 32))
- {
- ret = GLEW_AMD_shader_explicit_vertex_parameter;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_stencil_export
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
- {
- ret = GLEW_AMD_shader_stencil_export;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_stencil_value_export
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_value_export", 27))
- {
- ret = GLEW_AMD_shader_stencil_value_export;
- continue;
- }
- #endif
- #ifdef GL_AMD_shader_trinary_minmax
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_trinary_minmax", 21))
- {
- ret = GLEW_AMD_shader_trinary_minmax;
- continue;
- }
- #endif
- #ifdef GL_AMD_sparse_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
- {
- ret = GLEW_AMD_sparse_texture;
- continue;
- }
- #endif
- #ifdef GL_AMD_stencil_operation_extended
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_operation_extended", 26))
- {
- ret = GLEW_AMD_stencil_operation_extended;
- continue;
- }
- #endif
- #ifdef GL_AMD_texture_gather_bias_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather_bias_lod", 23))
- {
- ret = GLEW_AMD_texture_gather_bias_lod;
- continue;
- }
- #endif
- #ifdef GL_AMD_texture_texture4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_texture4", 16))
- {
- ret = GLEW_AMD_texture_texture4;
- continue;
- }
- #endif
- #ifdef GL_AMD_transform_feedback3_lines_triangles
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3_lines_triangles", 35))
- {
- ret = GLEW_AMD_transform_feedback3_lines_triangles;
- continue;
- }
- #endif
- #ifdef GL_AMD_transform_feedback4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback4", 19))
- {
- ret = GLEW_AMD_transform_feedback4;
- continue;
- }
- #endif
- #ifdef GL_AMD_vertex_shader_layer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_layer", 19))
- {
- ret = GLEW_AMD_vertex_shader_layer;
- continue;
- }
- #endif
- #ifdef GL_AMD_vertex_shader_tessellator
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_tessellator", 25))
- {
- ret = GLEW_AMD_vertex_shader_tessellator;
- continue;
- }
- #endif
- #ifdef GL_AMD_vertex_shader_viewport_index
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_viewport_index", 28))
- {
- ret = GLEW_AMD_vertex_shader_viewport_index;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANDROID_", 8))
- {
- #ifdef GL_ANDROID_extension_pack_es31a
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_pack_es31a", 20))
- {
- ret = GLEW_ANDROID_extension_pack_es31a;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANGLE_", 6))
- {
- #ifdef GL_ANGLE_depth_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
- {
- ret = GLEW_ANGLE_depth_texture;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_framebuffer_blit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
- {
- ret = GLEW_ANGLE_framebuffer_blit;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_framebuffer_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
- {
- ret = GLEW_ANGLE_framebuffer_multisample;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_instanced_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
- {
- ret = GLEW_ANGLE_instanced_arrays;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_pack_reverse_row_order
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_reverse_row_order", 22))
- {
- ret = GLEW_ANGLE_pack_reverse_row_order;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_program_binary
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_binary", 14))
- {
- ret = GLEW_ANGLE_program_binary;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
- {
- ret = GLEW_ANGLE_texture_compression_dxt1;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt3", 24))
- {
- ret = GLEW_ANGLE_texture_compression_dxt3;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_texture_compression_dxt5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt5", 24))
- {
- ret = GLEW_ANGLE_texture_compression_dxt5;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_texture_usage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_usage", 13))
- {
- ret = GLEW_ANGLE_texture_usage;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_timer_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
- {
- ret = GLEW_ANGLE_timer_query;
- continue;
- }
- #endif
- #ifdef GL_ANGLE_translated_shader_source
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"translated_shader_source", 24))
- {
- ret = GLEW_ANGLE_translated_shader_source;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"APPLE_", 6))
- {
- #ifdef GL_APPLE_aux_depth_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"aux_depth_stencil", 17))
- {
- ret = GLEW_APPLE_aux_depth_stencil;
- continue;
- }
- #endif
- #ifdef GL_APPLE_client_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_storage", 14))
- {
- ret = GLEW_APPLE_client_storage;
- continue;
- }
- #endif
- #ifdef GL_APPLE_clip_distance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_distance", 13))
- {
- ret = GLEW_APPLE_clip_distance;
- continue;
- }
- #endif
- #ifdef GL_APPLE_color_buffer_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_packed_float", 25))
- {
- ret = GLEW_APPLE_color_buffer_packed_float;
- continue;
- }
- #endif
- #ifdef GL_APPLE_copy_texture_levels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture_levels", 19))
- {
- ret = GLEW_APPLE_copy_texture_levels;
- continue;
- }
- #endif
- #ifdef GL_APPLE_element_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
- {
- ret = GLEW_APPLE_element_array;
- continue;
- }
- #endif
- #ifdef GL_APPLE_fence
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
- {
- ret = GLEW_APPLE_fence;
- continue;
- }
- #endif
- #ifdef GL_APPLE_float_pixels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_pixels", 12))
- {
- ret = GLEW_APPLE_float_pixels;
- continue;
- }
- #endif
- #ifdef GL_APPLE_flush_buffer_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_buffer_range", 18))
- {
- ret = GLEW_APPLE_flush_buffer_range;
- continue;
- }
- #endif
- #ifdef GL_APPLE_framebuffer_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
- {
- ret = GLEW_APPLE_framebuffer_multisample;
- continue;
- }
- #endif
- #ifdef GL_APPLE_object_purgeable
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"object_purgeable", 16))
- {
- ret = GLEW_APPLE_object_purgeable;
- continue;
- }
- #endif
- #ifdef GL_APPLE_pixel_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer", 12))
- {
- ret = GLEW_APPLE_pixel_buffer;
- continue;
- }
- #endif
- #ifdef GL_APPLE_rgb_422
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgb_422", 7))
- {
- ret = GLEW_APPLE_rgb_422;
- continue;
- }
- #endif
- #ifdef GL_APPLE_row_bytes
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"row_bytes", 9))
- {
- ret = GLEW_APPLE_row_bytes;
- continue;
- }
- #endif
- #ifdef GL_APPLE_specular_vector
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_vector", 15))
- {
- ret = GLEW_APPLE_specular_vector;
- continue;
- }
- #endif
- #ifdef GL_APPLE_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
- {
- ret = GLEW_APPLE_sync;
- continue;
- }
- #endif
- #ifdef GL_APPLE_texture_2D_limited_npot
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_2D_limited_npot", 23))
- {
- ret = GLEW_APPLE_texture_2D_limited_npot;
- continue;
- }
- #endif
- #ifdef GL_APPLE_texture_format_BGRA8888
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_format_BGRA8888", 23))
- {
- ret = GLEW_APPLE_texture_format_BGRA8888;
- continue;
- }
- #endif
- #ifdef GL_APPLE_texture_max_level
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_max_level", 17))
- {
- ret = GLEW_APPLE_texture_max_level;
- continue;
- }
- #endif
- #ifdef GL_APPLE_texture_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_packed_float", 20))
- {
- ret = GLEW_APPLE_texture_packed_float;
- continue;
- }
- #endif
- #ifdef GL_APPLE_texture_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
- {
- ret = GLEW_APPLE_texture_range;
- continue;
- }
- #endif
- #ifdef GL_APPLE_transform_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_hint", 14))
- {
- ret = GLEW_APPLE_transform_hint;
- continue;
- }
- #endif
- #ifdef GL_APPLE_vertex_array_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
- {
- ret = GLEW_APPLE_vertex_array_object;
- continue;
- }
- #endif
- #ifdef GL_APPLE_vertex_array_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
- {
- ret = GLEW_APPLE_vertex_array_range;
- continue;
- }
- #endif
- #ifdef GL_APPLE_vertex_program_evaluators
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program_evaluators", 25))
- {
- ret = GLEW_APPLE_vertex_program_evaluators;
- continue;
- }
- #endif
- #ifdef GL_APPLE_ycbcr_422
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_422", 9))
- {
- ret = GLEW_APPLE_ycbcr_422;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
- {
- #ifdef GL_ARB_ES2_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES2_compatibility", 17))
- {
- ret = GLEW_ARB_ES2_compatibility;
- continue;
- }
- #endif
- #ifdef GL_ARB_ES3_1_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_1_compatibility", 19))
- {
- ret = GLEW_ARB_ES3_1_compatibility;
- continue;
- }
- #endif
- #ifdef GL_ARB_ES3_2_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_2_compatibility", 19))
- {
- ret = GLEW_ARB_ES3_2_compatibility;
- continue;
- }
- #endif
- #ifdef GL_ARB_ES3_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES3_compatibility", 17))
- {
- ret = GLEW_ARB_ES3_compatibility;
- continue;
- }
- #endif
- #ifdef GL_ARB_arrays_of_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"arrays_of_arrays", 16))
- {
- ret = GLEW_ARB_arrays_of_arrays;
- continue;
- }
- #endif
- #ifdef GL_ARB_base_instance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13))
- {
- ret = GLEW_ARB_base_instance;
- continue;
- }
- #endif
- #ifdef GL_ARB_bindless_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
- {
- ret = GLEW_ARB_bindless_texture;
- continue;
- }
- #endif
- #ifdef GL_ARB_blend_func_extended
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
- {
- ret = GLEW_ARB_blend_func_extended;
- continue;
- }
- #endif
- #ifdef GL_ARB_buffer_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_storage", 14))
- {
- ret = GLEW_ARB_buffer_storage;
- continue;
- }
- #endif
- #ifdef GL_ARB_cl_event
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8))
- {
- ret = GLEW_ARB_cl_event;
- continue;
- }
- #endif
- #ifdef GL_ARB_clear_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_buffer_object", 19))
- {
- ret = GLEW_ARB_clear_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_clear_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_texture", 13))
- {
- ret = GLEW_ARB_clear_texture;
- continue;
- }
- #endif
- #ifdef GL_ARB_clip_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_control", 12))
- {
- ret = GLEW_ARB_clip_control;
- continue;
- }
- #endif
- #ifdef GL_ARB_color_buffer_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
- {
- ret = GLEW_ARB_color_buffer_float;
- continue;
- }
- #endif
- #ifdef GL_ARB_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compatibility", 13))
- {
- ret = GLEW_ARB_compatibility;
- continue;
- }
- #endif
- #ifdef GL_ARB_compressed_texture_pixel_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_texture_pixel_storage", 32))
- {
- ret = GLEW_ARB_compressed_texture_pixel_storage;
- continue;
- }
- #endif
- #ifdef GL_ARB_compute_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_shader", 14))
- {
- ret = GLEW_ARB_compute_shader;
- continue;
- }
- #endif
- #ifdef GL_ARB_compute_variable_group_size
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_variable_group_size", 27))
- {
- ret = GLEW_ARB_compute_variable_group_size;
- continue;
- }
- #endif
- #ifdef GL_ARB_conditional_render_inverted
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render_inverted", 27))
- {
- ret = GLEW_ARB_conditional_render_inverted;
- continue;
- }
- #endif
- #ifdef GL_ARB_conservative_depth
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
- {
- ret = GLEW_ARB_conservative_depth;
- continue;
- }
- #endif
- #ifdef GL_ARB_copy_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
- {
- ret = GLEW_ARB_copy_buffer;
- continue;
- }
- #endif
- #ifdef GL_ARB_copy_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
- {
- ret = GLEW_ARB_copy_image;
- continue;
- }
- #endif
- #ifdef GL_ARB_cull_distance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_distance", 13))
- {
- ret = GLEW_ARB_cull_distance;
- continue;
- }
- #endif
- #ifdef GL_ARB_debug_output
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_output", 12))
- {
- ret = GLEW_ARB_debug_output;
- continue;
- }
- #endif
- #ifdef GL_ARB_depth_buffer_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
- {
- ret = GLEW_ARB_depth_buffer_float;
- continue;
- }
- #endif
- #ifdef GL_ARB_depth_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
- {
- ret = GLEW_ARB_depth_clamp;
- continue;
- }
- #endif
- #ifdef GL_ARB_depth_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
- {
- ret = GLEW_ARB_depth_texture;
- continue;
- }
- #endif
- #ifdef GL_ARB_derivative_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"derivative_control", 18))
- {
- ret = GLEW_ARB_derivative_control;
- continue;
- }
- #endif
- #ifdef GL_ARB_direct_state_access
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
- {
- ret = GLEW_ARB_direct_state_access;
- continue;
- }
- #endif
- #ifdef GL_ARB_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
- {
- ret = GLEW_ARB_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_ARB_draw_buffers_blend
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_blend", 18))
- {
- ret = GLEW_ARB_draw_buffers_blend;
- continue;
- }
- #endif
- #ifdef GL_ARB_draw_elements_base_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
- {
- ret = GLEW_ARB_draw_elements_base_vertex;
- continue;
- }
- #endif
- #ifdef GL_ARB_draw_indirect
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_indirect", 13))
- {
- ret = GLEW_ARB_draw_indirect;
- continue;
- }
- #endif
- #ifdef GL_ARB_draw_instanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
- {
- ret = GLEW_ARB_draw_instanced;
- continue;
- }
- #endif
- #ifdef GL_ARB_enhanced_layouts
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"enhanced_layouts", 16))
- {
- ret = GLEW_ARB_enhanced_layouts;
- continue;
- }
- #endif
- #ifdef GL_ARB_explicit_attrib_location
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
- {
- ret = GLEW_ARB_explicit_attrib_location;
- continue;
- }
- #endif
- #ifdef GL_ARB_explicit_uniform_location
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_uniform_location", 25))
- {
- ret = GLEW_ARB_explicit_uniform_location;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_coord_conventions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coord_conventions", 26))
- {
- ret = GLEW_ARB_fragment_coord_conventions;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_layer_viewport
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_layer_viewport", 23))
- {
- ret = GLEW_ARB_fragment_layer_viewport;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_program
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
- {
- ret = GLEW_ARB_fragment_program;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_program_shadow
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_shadow", 23))
- {
- ret = GLEW_ARB_fragment_program_shadow;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
- {
- ret = GLEW_ARB_fragment_shader;
- continue;
- }
- #endif
- #ifdef GL_ARB_fragment_shader_interlock
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_interlock", 25))
- {
- ret = GLEW_ARB_fragment_shader_interlock;
- continue;
- }
- #endif
- #ifdef GL_ARB_framebuffer_no_attachments
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_no_attachments", 26))
- {
- ret = GLEW_ARB_framebuffer_no_attachments;
- continue;
- }
- #endif
- #ifdef GL_ARB_framebuffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
- {
- ret = GLEW_ARB_framebuffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = GLEW_ARB_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef GL_ARB_geometry_shader4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
- {
- ret = GLEW_ARB_geometry_shader4;
- continue;
- }
- #endif
- #ifdef GL_ARB_get_program_binary
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_program_binary", 18))
- {
- ret = GLEW_ARB_get_program_binary;
- continue;
- }
- #endif
- #ifdef GL_ARB_get_texture_sub_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_texture_sub_image", 21))
- {
- ret = GLEW_ARB_get_texture_sub_image;
- continue;
- }
- #endif
- #ifdef GL_ARB_gl_spirv
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_spirv", 8))
- {
- ret = GLEW_ARB_gl_spirv;
- continue;
- }
- #endif
- #ifdef GL_ARB_gpu_shader5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
- {
- ret = GLEW_ARB_gpu_shader5;
- continue;
- }
- #endif
- #ifdef GL_ARB_gpu_shader_fp64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_fp64", 15))
- {
- ret = GLEW_ARB_gpu_shader_fp64;
- continue;
- }
- #endif
- #ifdef GL_ARB_gpu_shader_int64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader_int64", 16))
- {
- ret = GLEW_ARB_gpu_shader_int64;
- continue;
- }
- #endif
- #ifdef GL_ARB_half_float_pixel
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_pixel", 16))
- {
- ret = GLEW_ARB_half_float_pixel;
- continue;
- }
- #endif
- #ifdef GL_ARB_half_float_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float_vertex", 17))
- {
- ret = GLEW_ARB_half_float_vertex;
- continue;
- }
- #endif
- #ifdef GL_ARB_imaging
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"imaging", 7))
- {
- ret = GLEW_ARB_imaging;
- continue;
- }
- #endif
- #ifdef GL_ARB_indirect_parameters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"indirect_parameters", 19))
- {
- ret = GLEW_ARB_indirect_parameters;
- continue;
- }
- #endif
- #ifdef GL_ARB_instanced_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
- {
- ret = GLEW_ARB_instanced_arrays;
- continue;
- }
- #endif
- #ifdef GL_ARB_internalformat_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query", 20))
- {
- ret = GLEW_ARB_internalformat_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_internalformat_query2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_query2", 21))
- {
- ret = GLEW_ARB_internalformat_query2;
- continue;
- }
- #endif
- #ifdef GL_ARB_invalidate_subdata
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"invalidate_subdata", 18))
- {
- ret = GLEW_ARB_invalidate_subdata;
- continue;
- }
- #endif
- #ifdef GL_ARB_map_buffer_alignment
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_alignment", 20))
- {
- ret = GLEW_ARB_map_buffer_alignment;
- continue;
- }
- #endif
- #ifdef GL_ARB_map_buffer_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
- {
- ret = GLEW_ARB_map_buffer_range;
- continue;
- }
- #endif
- #ifdef GL_ARB_matrix_palette
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"matrix_palette", 14))
- {
- ret = GLEW_ARB_matrix_palette;
- continue;
- }
- #endif
- #ifdef GL_ARB_multi_bind
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_bind", 10))
- {
- ret = GLEW_ARB_multi_bind;
- continue;
- }
- #endif
- #ifdef GL_ARB_multi_draw_indirect
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
- {
- ret = GLEW_ARB_multi_draw_indirect;
- continue;
- }
- #endif
- #ifdef GL_ARB_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLEW_ARB_multisample;
- continue;
- }
- #endif
- #ifdef GL_ARB_multitexture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
- {
- ret = GLEW_ARB_multitexture;
- continue;
- }
- #endif
- #ifdef GL_ARB_occlusion_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
- {
- ret = GLEW_ARB_occlusion_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_occlusion_query2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query2", 16))
- {
- ret = GLEW_ARB_occlusion_query2;
- continue;
- }
- #endif
- #ifdef GL_ARB_parallel_shader_compile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_shader_compile", 23))
- {
- ret = GLEW_ARB_parallel_shader_compile;
- continue;
- }
- #endif
- #ifdef GL_ARB_pipeline_statistics_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pipeline_statistics_query", 25))
- {
- ret = GLEW_ARB_pipeline_statistics_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_pixel_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
- {
- ret = GLEW_ARB_pixel_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_point_parameters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
- {
- ret = GLEW_ARB_point_parameters;
- continue;
- }
- #endif
- #ifdef GL_ARB_point_sprite
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
- {
- ret = GLEW_ARB_point_sprite;
- continue;
- }
- #endif
- #ifdef GL_ARB_polygon_offset_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset_clamp", 20))
- {
- ret = GLEW_ARB_polygon_offset_clamp;
- continue;
- }
- #endif
- #ifdef GL_ARB_post_depth_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_depth_coverage", 19))
- {
- ret = GLEW_ARB_post_depth_coverage;
- continue;
- }
- #endif
- #ifdef GL_ARB_program_interface_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"program_interface_query", 23))
- {
- ret = GLEW_ARB_program_interface_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_provoking_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
- {
- ret = GLEW_ARB_provoking_vertex;
- continue;
- }
- #endif
- #ifdef GL_ARB_query_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_buffer_object", 19))
- {
- ret = GLEW_ARB_query_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_robust_buffer_access_behavior
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29))
- {
- ret = GLEW_ARB_robust_buffer_access_behavior;
- continue;
- }
- #endif
- #ifdef GL_ARB_robustness
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10))
- {
- ret = GLEW_ARB_robustness;
- continue;
- }
- #endif
- #ifdef GL_ARB_robustness_application_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
- {
- ret = GLEW_ARB_robustness_application_isolation;
- continue;
- }
- #endif
- #ifdef GL_ARB_robustness_share_group_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
- {
- ret = GLEW_ARB_robustness_share_group_isolation;
- continue;
- }
- #endif
- #ifdef GL_ARB_sample_locations
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_locations", 16))
- {
- ret = GLEW_ARB_sample_locations;
- continue;
- }
- #endif
- #ifdef GL_ARB_sample_shading
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_shading", 14))
- {
- ret = GLEW_ARB_sample_shading;
- continue;
- }
- #endif
- #ifdef GL_ARB_sampler_objects
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sampler_objects", 15))
- {
- ret = GLEW_ARB_sampler_objects;
- continue;
- }
- #endif
- #ifdef GL_ARB_seamless_cube_map
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cube_map", 17))
- {
- ret = GLEW_ARB_seamless_cube_map;
- continue;
- }
- #endif
- #ifdef GL_ARB_seamless_cubemap_per_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"seamless_cubemap_per_texture", 28))
- {
- ret = GLEW_ARB_seamless_cubemap_per_texture;
- continue;
- }
- #endif
- #ifdef GL_ARB_separate_shader_objects
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
- {
- ret = GLEW_ARB_separate_shader_objects;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_atomic_counter_ops
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counter_ops", 25))
- {
- ret = GLEW_ARB_shader_atomic_counter_ops;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_atomic_counters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
- {
- ret = GLEW_ARB_shader_atomic_counters;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_ballot
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_ballot", 13))
- {
- ret = GLEW_ARB_shader_ballot;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_bit_encoding
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_bit_encoding", 19))
- {
- ret = GLEW_ARB_shader_bit_encoding;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_clock
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_clock", 12))
- {
- ret = GLEW_ARB_shader_clock;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_draw_parameters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_draw_parameters", 22))
- {
- ret = GLEW_ARB_shader_draw_parameters;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_group_vote
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_group_vote", 17))
- {
- ret = GLEW_ARB_shader_group_vote;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_image_load_store
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
- {
- ret = GLEW_ARB_shader_image_load_store;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_image_size
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_size", 17))
- {
- ret = GLEW_ARB_shader_image_size;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_objects
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_objects", 14))
- {
- ret = GLEW_ARB_shader_objects;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_precision
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_precision", 16))
- {
- ret = GLEW_ARB_shader_precision;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_stencil_export
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_stencil_export", 21))
- {
- ret = GLEW_ARB_shader_stencil_export;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_storage_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
- {
- ret = GLEW_ARB_shader_storage_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_subroutine
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_subroutine", 17))
- {
- ret = GLEW_ARB_shader_subroutine;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_texture_image_samples
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_image_samples", 28))
- {
- ret = GLEW_ARB_shader_texture_image_samples;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_texture_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
- {
- ret = GLEW_ARB_shader_texture_lod;
- continue;
- }
- #endif
- #ifdef GL_ARB_shader_viewport_layer_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_viewport_layer_array", 27))
- {
- ret = GLEW_ARB_shader_viewport_layer_array;
- continue;
- }
- #endif
- #ifdef GL_ARB_shading_language_100
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_100", 20))
- {
- ret = GLEW_ARB_shading_language_100;
- continue;
- }
- #endif
- #ifdef GL_ARB_shading_language_420pack
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_420pack", 24))
- {
- ret = GLEW_ARB_shading_language_420pack;
- continue;
- }
- #endif
- #ifdef GL_ARB_shading_language_include
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_include", 24))
- {
- ret = GLEW_ARB_shading_language_include;
- continue;
- }
- #endif
- #ifdef GL_ARB_shading_language_packing
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shading_language_packing", 24))
- {
- ret = GLEW_ARB_shading_language_packing;
- continue;
- }
- #endif
- #ifdef GL_ARB_shadow
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
- {
- ret = GLEW_ARB_shadow;
- continue;
- }
- #endif
- #ifdef GL_ARB_shadow_ambient
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
- {
- ret = GLEW_ARB_shadow_ambient;
- continue;
- }
- #endif
- #ifdef GL_ARB_sparse_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_buffer", 13))
- {
- ret = GLEW_ARB_sparse_buffer;
- continue;
- }
- #endif
- #ifdef GL_ARB_sparse_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
- {
- ret = GLEW_ARB_sparse_texture;
- continue;
- }
- #endif
- #ifdef GL_ARB_sparse_texture2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture2", 15))
- {
- ret = GLEW_ARB_sparse_texture2;
- continue;
- }
- #endif
- #ifdef GL_ARB_sparse_texture_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture_clamp", 20))
- {
- ret = GLEW_ARB_sparse_texture_clamp;
- continue;
- }
- #endif
- #ifdef GL_ARB_spirv_extensions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"spirv_extensions", 16))
- {
- ret = GLEW_ARB_spirv_extensions;
- continue;
- }
- #endif
- #ifdef GL_ARB_stencil_texturing
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_texturing", 17))
- {
- ret = GLEW_ARB_stencil_texturing;
- continue;
- }
- #endif
- #ifdef GL_ARB_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
- {
- ret = GLEW_ARB_sync;
- continue;
- }
- #endif
- #ifdef GL_ARB_tessellation_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_shader", 19))
- {
- ret = GLEW_ARB_tessellation_shader;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_barrier
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
- {
- ret = GLEW_ARB_texture_barrier;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_border_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
- {
- ret = GLEW_ARB_texture_border_clamp;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
- {
- ret = GLEW_ARB_texture_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_buffer_object_rgb32
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object_rgb32", 27))
- {
- ret = GLEW_ARB_texture_buffer_object_rgb32;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_buffer_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_range", 20))
- {
- ret = GLEW_ARB_texture_buffer_range;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_compression
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression", 19))
- {
- ret = GLEW_ARB_texture_compression;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_compression_bptc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
- {
- ret = GLEW_ARB_texture_compression_bptc;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_compression_rgtc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
- {
- ret = GLEW_ARB_texture_compression_rgtc;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_cube_map
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
- {
- ret = GLEW_ARB_texture_cube_map;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_cube_map_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
- {
- ret = GLEW_ARB_texture_cube_map_array;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_env_add
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
- {
- ret = GLEW_ARB_texture_env_add;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_env_combine
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
- {
- ret = GLEW_ARB_texture_env_combine;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_env_crossbar
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_crossbar", 20))
- {
- ret = GLEW_ARB_texture_env_crossbar;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_env_dot3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
- {
- ret = GLEW_ARB_texture_env_dot3;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_filter_anisotropic
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
- {
- ret = GLEW_ARB_texture_filter_anisotropic;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_filter_minmax
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_minmax", 21))
- {
- ret = GLEW_ARB_texture_filter_minmax;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
- {
- ret = GLEW_ARB_texture_float;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_gather
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_gather", 14))
- {
- ret = GLEW_ARB_texture_gather;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_mirror_clamp_to_edge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp_to_edge", 28))
- {
- ret = GLEW_ARB_texture_mirror_clamp_to_edge;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_mirrored_repeat
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
- {
- ret = GLEW_ARB_texture_mirrored_repeat;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
- {
- ret = GLEW_ARB_texture_multisample;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_non_power_of_two
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_non_power_of_two", 24))
- {
- ret = GLEW_ARB_texture_non_power_of_two;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_query_levels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_levels", 20))
- {
- ret = GLEW_ARB_texture_query_levels;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_query_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_query_lod", 17))
- {
- ret = GLEW_ARB_texture_query_lod;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
- {
- ret = GLEW_ARB_texture_rectangle;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_rg
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
- {
- ret = GLEW_ARB_texture_rg;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_rgb10_a2ui
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rgb10_a2ui", 18))
- {
- ret = GLEW_ARB_texture_rgb10_a2ui;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_stencil8
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stencil8", 16))
- {
- ret = GLEW_ARB_texture_stencil8;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15))
- {
- ret = GLEW_ARB_texture_storage;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_storage_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage_multisample", 27))
- {
- ret = GLEW_ARB_texture_storage_multisample;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_swizzle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
- {
- ret = GLEW_ARB_texture_swizzle;
- continue;
- }
- #endif
- #ifdef GL_ARB_texture_view
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12))
- {
- ret = GLEW_ARB_texture_view;
- continue;
- }
- #endif
- #ifdef GL_ARB_timer_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
- {
- ret = GLEW_ARB_timer_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_transform_feedback2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
- {
- ret = GLEW_ARB_transform_feedback2;
- continue;
- }
- #endif
- #ifdef GL_ARB_transform_feedback3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback3", 19))
- {
- ret = GLEW_ARB_transform_feedback3;
- continue;
- }
- #endif
- #ifdef GL_ARB_transform_feedback_instanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_instanced", 28))
- {
- ret = GLEW_ARB_transform_feedback_instanced;
- continue;
- }
- #endif
- #ifdef GL_ARB_transform_feedback_overflow_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback_overflow_query", 33))
- {
- ret = GLEW_ARB_transform_feedback_overflow_query;
- continue;
- }
- #endif
- #ifdef GL_ARB_transpose_matrix
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transpose_matrix", 16))
- {
- ret = GLEW_ARB_transpose_matrix;
- continue;
- }
- #endif
- #ifdef GL_ARB_uniform_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_object", 21))
- {
- ret = GLEW_ARB_uniform_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_array_bgra
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
- {
- ret = GLEW_ARB_vertex_array_bgra;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_array_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
- {
- ret = GLEW_ARB_vertex_array_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_attrib_64bit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
- {
- ret = GLEW_ARB_vertex_attrib_64bit;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_attrib_binding
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_binding", 21))
- {
- ret = GLEW_ARB_vertex_attrib_binding;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_blend
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_blend", 12))
- {
- ret = GLEW_ARB_vertex_blend;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
- {
- ret = GLEW_ARB_vertex_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_program
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
- {
- ret = GLEW_ARB_vertex_program;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
- {
- ret = GLEW_ARB_vertex_shader;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_type_10f_11f_11f_rev
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_10f_11f_11f_rev", 27))
- {
- ret = GLEW_ARB_vertex_type_10f_11f_11f_rev;
- continue;
- }
- #endif
- #ifdef GL_ARB_vertex_type_2_10_10_10_rev
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_type_2_10_10_10_rev", 26))
- {
- ret = GLEW_ARB_vertex_type_2_10_10_10_rev;
- continue;
- }
- #endif
- #ifdef GL_ARB_viewport_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14))
- {
- ret = GLEW_ARB_viewport_array;
- continue;
- }
- #endif
- #ifdef GL_ARB_window_pos
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
- {
- ret = GLEW_ARB_window_pos;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARM_", 4))
- {
- #ifdef GL_ARM_mali_program_binary
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mali_program_binary", 19))
- {
- ret = GLEW_ARM_mali_program_binary;
- continue;
- }
- #endif
- #ifdef GL_ARM_mali_shader_binary
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mali_shader_binary", 18))
- {
- ret = GLEW_ARM_mali_shader_binary;
- continue;
- }
- #endif
- #ifdef GL_ARM_rgba8
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"rgba8", 5))
- {
- ret = GLEW_ARM_rgba8;
- continue;
- }
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch", 24))
- {
- ret = GLEW_ARM_shader_framebuffer_fetch;
- continue;
- }
- #endif
- #ifdef GL_ARM_shader_framebuffer_fetch_depth_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch_depth_stencil", 38))
- {
- ret = GLEW_ARM_shader_framebuffer_fetch_depth_stencil;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATIX_", 5))
- {
- #ifdef GL_ATIX_point_sprites
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprites", 13))
- {
- ret = GLEW_ATIX_point_sprites;
- continue;
- }
- #endif
- #ifdef GL_ATIX_texture_env_combine3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
- {
- ret = GLEW_ATIX_texture_env_combine3;
- continue;
- }
- #endif
- #ifdef GL_ATIX_texture_env_route
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_route", 17))
- {
- ret = GLEW_ATIX_texture_env_route;
- continue;
- }
- #endif
- #ifdef GL_ATIX_vertex_shader_output_point_size
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader_output_point_size", 31))
- {
- ret = GLEW_ATIX_vertex_shader_output_point_size;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
- {
- #ifdef GL_ATI_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
- {
- ret = GLEW_ATI_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_ATI_element_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"element_array", 13))
- {
- ret = GLEW_ATI_element_array;
- continue;
- }
- #endif
- #ifdef GL_ATI_envmap_bumpmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"envmap_bumpmap", 14))
- {
- ret = GLEW_ATI_envmap_bumpmap;
- continue;
- }
- #endif
- #ifdef GL_ATI_fragment_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader", 15))
- {
- ret = GLEW_ATI_fragment_shader;
- continue;
- }
- #endif
- #ifdef GL_ATI_map_object_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_object_buffer", 17))
- {
- ret = GLEW_ATI_map_object_buffer;
- continue;
- }
- #endif
- #ifdef GL_ATI_meminfo
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"meminfo", 7))
- {
- ret = GLEW_ATI_meminfo;
- continue;
- }
- #endif
- #ifdef GL_ATI_pn_triangles
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pn_triangles", 12))
- {
- ret = GLEW_ATI_pn_triangles;
- continue;
- }
- #endif
- #ifdef GL_ATI_separate_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_stencil", 16))
- {
- ret = GLEW_ATI_separate_stencil;
- continue;
- }
- #endif
- #ifdef GL_ATI_shader_texture_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
- {
- ret = GLEW_ATI_shader_texture_lod;
- continue;
- }
- #endif
- #ifdef GL_ATI_text_fragment_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"text_fragment_shader", 20))
- {
- ret = GLEW_ATI_text_fragment_shader;
- continue;
- }
- #endif
- #ifdef GL_ATI_texture_compression_3dc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_3dc", 23))
- {
- ret = GLEW_ATI_texture_compression_3dc;
- continue;
- }
- #endif
- #ifdef GL_ATI_texture_env_combine3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine3", 20))
- {
- ret = GLEW_ATI_texture_env_combine3;
- continue;
- }
- #endif
- #ifdef GL_ATI_texture_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_float", 13))
- {
- ret = GLEW_ATI_texture_float;
- continue;
- }
- #endif
- #ifdef GL_ATI_texture_mirror_once
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_once", 19))
- {
- ret = GLEW_ATI_texture_mirror_once;
- continue;
- }
- #endif
- #ifdef GL_ATI_vertex_array_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
- {
- ret = GLEW_ATI_vertex_array_object;
- continue;
- }
- #endif
- #ifdef GL_ATI_vertex_attrib_array_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_array_object", 26))
- {
- ret = GLEW_ATI_vertex_attrib_array_object;
- continue;
- }
- #endif
- #ifdef GL_ATI_vertex_streams
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_streams", 14))
- {
- ret = GLEW_ATI_vertex_streams;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"EGL_", 4))
- {
- #ifdef GL_EGL_KHR_context_flush_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"KHR_context_flush_control", 25))
- {
- ret = GLEW_EGL_KHR_context_flush_control;
- continue;
- }
- #endif
- #ifdef GL_EGL_NV_robustness_video_memory_purge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"NV_robustness_video_memory_purge", 32))
- {
- ret = GLEW_EGL_NV_robustness_video_memory_purge;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
- {
- #ifdef GL_EXT_422_pixels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"422_pixels", 10))
- {
- ret = GLEW_EXT_422_pixels;
- continue;
- }
- #endif
- #ifdef GL_EXT_Cg_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"Cg_shader", 9))
- {
- ret = GLEW_EXT_Cg_shader;
- continue;
- }
- #endif
- #ifdef GL_EXT_EGL_image_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"EGL_image_array", 15))
- {
- ret = GLEW_EXT_EGL_image_array;
- continue;
- }
- #endif
- #ifdef GL_EXT_YUV_target
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"YUV_target", 10))
- {
- ret = GLEW_EXT_YUV_target;
- continue;
- }
- #endif
- #ifdef GL_EXT_abgr
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"abgr", 4))
- {
- ret = GLEW_EXT_abgr;
- continue;
- }
- #endif
- #ifdef GL_EXT_base_instance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"base_instance", 13))
- {
- ret = GLEW_EXT_base_instance;
- continue;
- }
- #endif
- #ifdef GL_EXT_bgra
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgra", 4))
- {
- ret = GLEW_EXT_bgra;
- continue;
- }
- #endif
- #ifdef GL_EXT_bindable_uniform
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindable_uniform", 16))
- {
- ret = GLEW_EXT_bindable_uniform;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_color
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_color", 11))
- {
- ret = GLEW_EXT_blend_color;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_equation_separate
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_separate", 23))
- {
- ret = GLEW_EXT_blend_equation_separate;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_func_extended
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_extended", 19))
- {
- ret = GLEW_EXT_blend_func_extended;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_func_separate
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_func_separate", 19))
- {
- ret = GLEW_EXT_blend_func_separate;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_logic_op
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_logic_op", 14))
- {
- ret = GLEW_EXT_blend_logic_op;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_minmax
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax", 12))
- {
- ret = GLEW_EXT_blend_minmax;
- continue;
- }
- #endif
- #ifdef GL_EXT_blend_subtract
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_subtract", 14))
- {
- ret = GLEW_EXT_blend_subtract;
- continue;
- }
- #endif
- #ifdef GL_EXT_buffer_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_storage", 14))
- {
- ret = GLEW_EXT_buffer_storage;
- continue;
- }
- #endif
- #ifdef GL_EXT_clear_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clear_texture", 13))
- {
- ret = GLEW_EXT_clear_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_clip_cull_distance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_cull_distance", 18))
- {
- ret = GLEW_EXT_clip_cull_distance;
- continue;
- }
- #endif
- #ifdef GL_EXT_clip_volume_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_volume_hint", 16))
- {
- ret = GLEW_EXT_clip_volume_hint;
- continue;
- }
- #endif
- #ifdef GL_EXT_cmyka
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cmyka", 5))
- {
- ret = GLEW_EXT_cmyka;
- continue;
- }
- #endif
- #ifdef GL_EXT_color_buffer_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_float", 18))
- {
- ret = GLEW_EXT_color_buffer_float;
- continue;
- }
- #endif
- #ifdef GL_EXT_color_buffer_half_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_buffer_half_float", 23))
- {
- ret = GLEW_EXT_color_buffer_half_float;
- continue;
- }
- #endif
- #ifdef GL_EXT_color_subtable
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_subtable", 14))
- {
- ret = GLEW_EXT_color_subtable;
- continue;
- }
- #endif
- #ifdef GL_EXT_compiled_vertex_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compiled_vertex_array", 21))
- {
- ret = GLEW_EXT_compiled_vertex_array;
- continue;
- }
- #endif
- #ifdef GL_EXT_compressed_ETC1_RGB8_sub_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compressed_ETC1_RGB8_sub_texture", 32))
- {
- ret = GLEW_EXT_compressed_ETC1_RGB8_sub_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_conservative_depth
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_depth", 18))
- {
- ret = GLEW_EXT_conservative_depth;
- continue;
- }
- #endif
- #ifdef GL_EXT_convolution
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution", 11))
- {
- ret = GLEW_EXT_convolution;
- continue;
- }
- #endif
- #ifdef GL_EXT_coordinate_frame
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"coordinate_frame", 16))
- {
- ret = GLEW_EXT_coordinate_frame;
- continue;
- }
- #endif
- #ifdef GL_EXT_copy_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
- {
- ret = GLEW_EXT_copy_image;
- continue;
- }
- #endif
- #ifdef GL_EXT_copy_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_texture", 12))
- {
- ret = GLEW_EXT_copy_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_cull_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
- {
- ret = GLEW_EXT_cull_vertex;
- continue;
- }
- #endif
- #ifdef GL_EXT_debug_label
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_label", 11))
- {
- ret = GLEW_EXT_debug_label;
- continue;
- }
- #endif
- #ifdef GL_EXT_debug_marker
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug_marker", 12))
- {
- ret = GLEW_EXT_debug_marker;
- continue;
- }
- #endif
- #ifdef GL_EXT_depth_bounds_test
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_bounds_test", 17))
- {
- ret = GLEW_EXT_depth_bounds_test;
- continue;
- }
- #endif
- #ifdef GL_EXT_direct_state_access
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"direct_state_access", 19))
- {
- ret = GLEW_EXT_direct_state_access;
- continue;
- }
- #endif
- #ifdef GL_EXT_discard_framebuffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"discard_framebuffer", 19))
- {
- ret = GLEW_EXT_discard_framebuffer;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
- {
- ret = GLEW_EXT_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_buffers2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers2", 13))
- {
- ret = GLEW_EXT_draw_buffers2;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_buffers_indexed
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers_indexed", 20))
- {
- ret = GLEW_EXT_draw_buffers_indexed;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_elements_base_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_elements_base_vertex", 25))
- {
- ret = GLEW_EXT_draw_elements_base_vertex;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_instanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
- {
- ret = GLEW_EXT_draw_instanced;
- continue;
- }
- #endif
- #ifdef GL_EXT_draw_range_elements
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_range_elements", 19))
- {
- ret = GLEW_EXT_draw_range_elements;
- continue;
- }
- #endif
- #ifdef GL_EXT_external_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"external_buffer", 15))
- {
- ret = GLEW_EXT_external_buffer;
- continue;
- }
- #endif
- #ifdef GL_EXT_float_blend
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_blend", 11))
- {
- ret = GLEW_EXT_float_blend;
- continue;
- }
- #endif
- #ifdef GL_EXT_fog_coord
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_coord", 9))
- {
- ret = GLEW_EXT_fog_coord;
- continue;
- }
- #endif
- #ifdef GL_EXT_frag_depth
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"frag_depth", 10))
- {
- ret = GLEW_EXT_frag_depth;
- continue;
- }
- #endif
- #ifdef GL_EXT_fragment_lighting
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting", 17))
- {
- ret = GLEW_EXT_fragment_lighting;
- continue;
- }
- #endif
- #ifdef GL_EXT_framebuffer_blit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
- {
- ret = GLEW_EXT_framebuffer_blit;
- continue;
- }
- #endif
- #ifdef GL_EXT_framebuffer_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
- {
- ret = GLEW_EXT_framebuffer_multisample;
- continue;
- }
- #endif
- #ifdef GL_EXT_framebuffer_multisample_blit_scaled
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_blit_scaled", 35))
- {
- ret = GLEW_EXT_framebuffer_multisample_blit_scaled;
- continue;
- }
- #endif
- #ifdef GL_EXT_framebuffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_object", 18))
- {
- ret = GLEW_EXT_framebuffer_object;
- continue;
- }
- #endif
- #ifdef GL_EXT_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = GLEW_EXT_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef GL_EXT_geometry_point_size
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_point_size", 19))
- {
- ret = GLEW_EXT_geometry_point_size;
- continue;
- }
- #endif
- #ifdef GL_EXT_geometry_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader", 15))
- {
- ret = GLEW_EXT_geometry_shader;
- continue;
- }
- #endif
- #ifdef GL_EXT_geometry_shader4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
- {
- ret = GLEW_EXT_geometry_shader4;
- continue;
- }
- #endif
- #ifdef GL_EXT_gpu_program_parameters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_parameters", 22))
- {
- ret = GLEW_EXT_gpu_program_parameters;
- continue;
- }
- #endif
- #ifdef GL_EXT_gpu_shader4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader4", 11))
- {
- ret = GLEW_EXT_gpu_shader4;
- continue;
- }
- #endif
- #ifdef GL_EXT_gpu_shader5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
- {
- ret = GLEW_EXT_gpu_shader5;
- continue;
- }
- #endif
- #ifdef GL_EXT_histogram
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"histogram", 9))
- {
- ret = GLEW_EXT_histogram;
- continue;
- }
- #endif
- #ifdef GL_EXT_index_array_formats
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_array_formats", 19))
- {
- ret = GLEW_EXT_index_array_formats;
- continue;
- }
- #endif
- #ifdef GL_EXT_index_func
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_func", 10))
- {
- ret = GLEW_EXT_index_func;
- continue;
- }
- #endif
- #ifdef GL_EXT_index_material
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_material", 14))
- {
- ret = GLEW_EXT_index_material;
- continue;
- }
- #endif
- #ifdef GL_EXT_index_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"index_texture", 13))
- {
- ret = GLEW_EXT_index_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_instanced_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
- {
- ret = GLEW_EXT_instanced_arrays;
- continue;
- }
- #endif
- #ifdef GL_EXT_light_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_texture", 13))
- {
- ret = GLEW_EXT_light_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_map_buffer_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_buffer_range", 16))
- {
- ret = GLEW_EXT_map_buffer_range;
- continue;
- }
- #endif
- #ifdef GL_EXT_memory_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object", 13))
- {
- ret = GLEW_EXT_memory_object;
- continue;
- }
- #endif
- #ifdef GL_EXT_memory_object_fd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object_fd", 16))
- {
- ret = GLEW_EXT_memory_object_fd;
- continue;
- }
- #endif
- #ifdef GL_EXT_memory_object_win32
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"memory_object_win32", 19))
- {
- ret = GLEW_EXT_memory_object_win32;
- continue;
- }
- #endif
- #ifdef GL_EXT_misc_attribute
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_attribute", 14))
- {
- ret = GLEW_EXT_misc_attribute;
- continue;
- }
- #endif
- #ifdef GL_EXT_multi_draw_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_arrays", 17))
- {
- ret = GLEW_EXT_multi_draw_arrays;
- continue;
- }
- #endif
- #ifdef GL_EXT_multi_draw_indirect
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multi_draw_indirect", 19))
- {
- ret = GLEW_EXT_multi_draw_indirect;
- continue;
- }
- #endif
- #ifdef GL_EXT_multiple_textures
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiple_textures", 17))
- {
- ret = GLEW_EXT_multiple_textures;
- continue;
- }
- #endif
- #ifdef GL_EXT_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLEW_EXT_multisample;
- continue;
- }
- #endif
- #ifdef GL_EXT_multisample_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_compatibility", 25))
- {
- ret = GLEW_EXT_multisample_compatibility;
- continue;
- }
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisampled_render_to_texture", 30))
- {
- ret = GLEW_EXT_multisampled_render_to_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_multisampled_render_to_texture2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisampled_render_to_texture2", 31))
- {
- ret = GLEW_EXT_multisampled_render_to_texture2;
- continue;
- }
- #endif
- #ifdef GL_EXT_multiview_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_draw_buffers", 22))
- {
- ret = GLEW_EXT_multiview_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_EXT_packed_depth_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
- {
- ret = GLEW_EXT_packed_depth_stencil;
- continue;
- }
- #endif
- #ifdef GL_EXT_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
- {
- ret = GLEW_EXT_packed_float;
- continue;
- }
- #endif
- #ifdef GL_EXT_packed_pixels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_pixels", 13))
- {
- ret = GLEW_EXT_packed_pixels;
- continue;
- }
- #endif
- #ifdef GL_EXT_paletted_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"paletted_texture", 16))
- {
- ret = GLEW_EXT_paletted_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_pixel_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
- {
- ret = GLEW_EXT_pixel_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_EXT_pixel_transform
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform", 15))
- {
- ret = GLEW_EXT_pixel_transform;
- continue;
- }
- #endif
- #ifdef GL_EXT_pixel_transform_color_table
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_transform_color_table", 27))
- {
- ret = GLEW_EXT_pixel_transform_color_table;
- continue;
- }
- #endif
- #ifdef GL_EXT_point_parameters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_parameters", 16))
- {
- ret = GLEW_EXT_point_parameters;
- continue;
- }
- #endif
- #ifdef GL_EXT_polygon_offset
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset", 14))
- {
- ret = GLEW_EXT_polygon_offset;
- continue;
- }
- #endif
- #ifdef GL_EXT_polygon_offset_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_offset_clamp", 20))
- {
- ret = GLEW_EXT_polygon_offset_clamp;
- continue;
- }
- #endif
- #ifdef GL_EXT_post_depth_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_depth_coverage", 19))
- {
- ret = GLEW_EXT_post_depth_coverage;
- continue;
- }
- #endif
- #ifdef GL_EXT_provoking_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"provoking_vertex", 16))
- {
- ret = GLEW_EXT_provoking_vertex;
- continue;
- }
- #endif
- #ifdef GL_EXT_pvrtc_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pvrtc_sRGB", 10))
- {
- ret = GLEW_EXT_pvrtc_sRGB;
- continue;
- }
- #endif
- #ifdef GL_EXT_raster_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"raster_multisample", 18))
- {
- ret = GLEW_EXT_raster_multisample;
- continue;
- }
- #endif
- #ifdef GL_EXT_read_format_bgra
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_format_bgra", 16))
- {
- ret = GLEW_EXT_read_format_bgra;
- continue;
- }
- #endif
- #ifdef GL_EXT_render_snorm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_snorm", 12))
- {
- ret = GLEW_EXT_render_snorm;
- continue;
- }
- #endif
- #ifdef GL_EXT_rescale_normal
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"rescale_normal", 14))
- {
- ret = GLEW_EXT_rescale_normal;
- continue;
- }
- #endif
- #ifdef GL_EXT_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB", 4))
- {
- ret = GLEW_EXT_sRGB;
- continue;
- }
- #endif
- #ifdef GL_EXT_sRGB_write_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB_write_control", 18))
- {
- ret = GLEW_EXT_sRGB_write_control;
- continue;
- }
- #endif
- #ifdef GL_EXT_scene_marker
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
- {
- ret = GLEW_EXT_scene_marker;
- continue;
- }
- #endif
- #ifdef GL_EXT_secondary_color
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"secondary_color", 15))
- {
- ret = GLEW_EXT_secondary_color;
- continue;
- }
- #endif
- #ifdef GL_EXT_semaphore
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore", 9))
- {
- ret = GLEW_EXT_semaphore;
- continue;
- }
- #endif
- #ifdef GL_EXT_semaphore_fd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore_fd", 12))
- {
- ret = GLEW_EXT_semaphore_fd;
- continue;
- }
- #endif
- #ifdef GL_EXT_semaphore_win32
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"semaphore_win32", 15))
- {
- ret = GLEW_EXT_semaphore_win32;
- continue;
- }
- #endif
- #ifdef GL_EXT_separate_shader_objects
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_shader_objects", 23))
- {
- ret = GLEW_EXT_separate_shader_objects;
- continue;
- }
- #endif
- #ifdef GL_EXT_separate_specular_color
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"separate_specular_color", 23))
- {
- ret = GLEW_EXT_separate_specular_color;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_framebuffer_fetch
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch", 24))
- {
- ret = GLEW_EXT_shader_framebuffer_fetch;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_group_vote
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_group_vote", 17))
- {
- ret = GLEW_EXT_shader_group_vote;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_image_load_formatted
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_formatted", 27))
- {
- ret = GLEW_EXT_shader_image_load_formatted;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_image_load_store
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_image_load_store", 23))
- {
- ret = GLEW_EXT_shader_image_load_store;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_implicit_conversions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_implicit_conversions", 27))
- {
- ret = GLEW_EXT_shader_implicit_conversions;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_integer_mix
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_integer_mix", 18))
- {
- ret = GLEW_EXT_shader_integer_mix;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_io_blocks
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_io_blocks", 16))
- {
- ret = GLEW_EXT_shader_io_blocks;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_non_constant_global_initializers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_non_constant_global_initializers", 39))
- {
- ret = GLEW_EXT_shader_non_constant_global_initializers;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_pixel_local_storage", 26))
- {
- ret = GLEW_EXT_shader_pixel_local_storage;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_pixel_local_storage2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_pixel_local_storage2", 27))
- {
- ret = GLEW_EXT_shader_pixel_local_storage2;
- continue;
- }
- #endif
- #ifdef GL_EXT_shader_texture_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_texture_lod", 18))
- {
- ret = GLEW_EXT_shader_texture_lod;
- continue;
- }
- #endif
- #ifdef GL_EXT_shadow_funcs
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_funcs", 12))
- {
- ret = GLEW_EXT_shadow_funcs;
- continue;
- }
- #endif
- #ifdef GL_EXT_shadow_samplers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers", 15))
- {
- ret = GLEW_EXT_shadow_samplers;
- continue;
- }
- #endif
- #ifdef GL_EXT_shared_texture_palette
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_texture_palette", 22))
- {
- ret = GLEW_EXT_shared_texture_palette;
- continue;
- }
- #endif
- #ifdef GL_EXT_sparse_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture", 14))
- {
- ret = GLEW_EXT_sparse_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_sparse_texture2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sparse_texture2", 15))
- {
- ret = GLEW_EXT_sparse_texture2;
- continue;
- }
- #endif
- #ifdef GL_EXT_stencil_clear_tag
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_clear_tag", 17))
- {
- ret = GLEW_EXT_stencil_clear_tag;
- continue;
- }
- #endif
- #ifdef GL_EXT_stencil_two_side
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_two_side", 16))
- {
- ret = GLEW_EXT_stencil_two_side;
- continue;
- }
- #endif
- #ifdef GL_EXT_stencil_wrap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stencil_wrap", 12))
- {
- ret = GLEW_EXT_stencil_wrap;
- continue;
- }
- #endif
- #ifdef GL_EXT_subtexture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"subtexture", 10))
- {
- ret = GLEW_EXT_subtexture;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture", 7))
- {
- ret = GLEW_EXT_texture;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture3D
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture3D", 9))
- {
- ret = GLEW_EXT_texture3D;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
- {
- ret = GLEW_EXT_texture_array;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_buffer_object", 21))
- {
- ret = GLEW_EXT_texture_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_decode_mode", 36))
- {
- ret = GLEW_EXT_texture_compression_astc_decode_mode;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_astc_decode_mode_rgb9e5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_decode_mode_rgb9e5", 43))
- {
- ret = GLEW_EXT_texture_compression_astc_decode_mode_rgb9e5;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_bptc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_bptc", 24))
- {
- ret = GLEW_EXT_texture_compression_bptc;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_dxt1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_dxt1", 24))
- {
- ret = GLEW_EXT_texture_compression_dxt1;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_latc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
- {
- ret = GLEW_EXT_texture_compression_latc;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_rgtc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_rgtc", 24))
- {
- ret = GLEW_EXT_texture_compression_rgtc;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_compression_s3tc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
- {
- ret = GLEW_EXT_texture_compression_s3tc;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_cube_map
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map", 16))
- {
- ret = GLEW_EXT_texture_cube_map;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_cube_map_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_cube_map_array", 22))
- {
- ret = GLEW_EXT_texture_cube_map_array;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_edge_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
- {
- ret = GLEW_EXT_texture_edge_clamp;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_env
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env", 11))
- {
- ret = GLEW_EXT_texture_env;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_env_add
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_add", 15))
- {
- ret = GLEW_EXT_texture_env_add;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_env_combine
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine", 19))
- {
- ret = GLEW_EXT_texture_env_combine;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_env_dot3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_dot3", 16))
- {
- ret = GLEW_EXT_texture_env_dot3;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_filter_anisotropic
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_anisotropic", 26))
- {
- ret = GLEW_EXT_texture_filter_anisotropic;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_filter_minmax
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter_minmax", 21))
- {
- ret = GLEW_EXT_texture_filter_minmax;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_format_BGRA8888
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_format_BGRA8888", 23))
- {
- ret = GLEW_EXT_texture_format_BGRA8888;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_integer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_integer", 15))
- {
- ret = GLEW_EXT_texture_integer;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_lod_bias
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
- {
- ret = GLEW_EXT_texture_lod_bias;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_mirror_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirror_clamp", 20))
- {
- ret = GLEW_EXT_texture_mirror_clamp;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_norm16
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_norm16", 14))
- {
- ret = GLEW_EXT_texture_norm16;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_object", 14))
- {
- ret = GLEW_EXT_texture_object;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_perturb_normal
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_perturb_normal", 22))
- {
- ret = GLEW_EXT_texture_perturb_normal;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
- {
- ret = GLEW_EXT_texture_rectangle;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_rg
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rg", 10))
- {
- ret = GLEW_EXT_texture_rg;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB", 12))
- {
- ret = GLEW_EXT_texture_sRGB;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_sRGB_R8
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_R8", 15))
- {
- ret = GLEW_EXT_texture_sRGB_R8;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_sRGB_RG8
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_RG8", 16))
- {
- ret = GLEW_EXT_texture_sRGB_RG8;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_sRGB_decode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_sRGB_decode", 19))
- {
- ret = GLEW_EXT_texture_sRGB_decode;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_shared_exponent
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shared_exponent", 23))
- {
- ret = GLEW_EXT_texture_shared_exponent;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_snorm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_snorm", 13))
- {
- ret = GLEW_EXT_texture_snorm;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_storage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_storage", 15))
- {
- ret = GLEW_EXT_texture_storage;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_swizzle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_swizzle", 15))
- {
- ret = GLEW_EXT_texture_swizzle;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_type_2_10_10_10_REV
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_type_2_10_10_10_REV", 27))
- {
- ret = GLEW_EXT_texture_type_2_10_10_10_REV;
- continue;
- }
- #endif
- #ifdef GL_EXT_texture_view
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_view", 12))
- {
- ret = GLEW_EXT_texture_view;
- continue;
- }
- #endif
- #ifdef GL_EXT_timer_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"timer_query", 11))
- {
- ret = GLEW_EXT_timer_query;
- continue;
- }
- #endif
- #ifdef GL_EXT_transform_feedback
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
- {
- ret = GLEW_EXT_transform_feedback;
- continue;
- }
- #endif
- #ifdef GL_EXT_unpack_subimage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"unpack_subimage", 15))
- {
- ret = GLEW_EXT_unpack_subimage;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array", 12))
- {
- ret = GLEW_EXT_vertex_array;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_array_bgra
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_bgra", 17))
- {
- ret = GLEW_EXT_vertex_array_bgra;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_array_setXXX
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_setXXX", 19))
- {
- ret = GLEW_EXT_vertex_array_setXXX;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_attrib_64bit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_64bit", 19))
- {
- ret = GLEW_EXT_vertex_attrib_64bit;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_shader", 13))
- {
- ret = GLEW_EXT_vertex_shader;
- continue;
- }
- #endif
- #ifdef GL_EXT_vertex_weighting
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_weighting", 16))
- {
- ret = GLEW_EXT_vertex_weighting;
- continue;
- }
- #endif
- #ifdef GL_EXT_win32_keyed_mutex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"win32_keyed_mutex", 17))
- {
- ret = GLEW_EXT_win32_keyed_mutex;
- continue;
- }
- #endif
- #ifdef GL_EXT_window_rectangles
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_rectangles", 17))
- {
- ret = GLEW_EXT_window_rectangles;
- continue;
- }
- #endif
- #ifdef GL_EXT_x11_sync_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"x11_sync_object", 15))
- {
- ret = GLEW_EXT_x11_sync_object;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"GREMEDY_", 8))
- {
- #ifdef GL_GREMEDY_frame_terminator
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"frame_terminator", 16))
- {
- ret = GLEW_GREMEDY_frame_terminator;
- continue;
- }
- #endif
- #ifdef GL_GREMEDY_string_marker
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"string_marker", 13))
- {
- ret = GLEW_GREMEDY_string_marker;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"HP_", 3))
- {
- #ifdef GL_HP_convolution_border_modes
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
- {
- ret = GLEW_HP_convolution_border_modes;
- continue;
- }
- #endif
- #ifdef GL_HP_image_transform
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_transform", 15))
- {
- ret = GLEW_HP_image_transform;
- continue;
- }
- #endif
- #ifdef GL_HP_occlusion_test
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_test", 14))
- {
- ret = GLEW_HP_occlusion_test;
- continue;
- }
- #endif
- #ifdef GL_HP_texture_lighting
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lighting", 16))
- {
- ret = GLEW_HP_texture_lighting;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"IBM_", 4))
- {
- #ifdef GL_IBM_cull_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cull_vertex", 11))
- {
- ret = GLEW_IBM_cull_vertex;
- continue;
- }
- #endif
- #ifdef GL_IBM_multimode_draw_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multimode_draw_arrays", 21))
- {
- ret = GLEW_IBM_multimode_draw_arrays;
- continue;
- }
- #endif
- #ifdef GL_IBM_rasterpos_clip
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"rasterpos_clip", 14))
- {
- ret = GLEW_IBM_rasterpos_clip;
- continue;
- }
- #endif
- #ifdef GL_IBM_static_data
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"static_data", 11))
- {
- ret = GLEW_IBM_static_data;
- continue;
- }
- #endif
- #ifdef GL_IBM_texture_mirrored_repeat
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mirrored_repeat", 23))
- {
- ret = GLEW_IBM_texture_mirrored_repeat;
- continue;
- }
- #endif
- #ifdef GL_IBM_vertex_array_lists
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_lists", 18))
- {
- ret = GLEW_IBM_vertex_array_lists;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"INGR_", 5))
- {
- #ifdef GL_INGR_color_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_clamp", 11))
- {
- ret = GLEW_INGR_color_clamp;
- continue;
- }
- #endif
- #ifdef GL_INGR_interlace_read
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace_read", 14))
- {
- ret = GLEW_INGR_interlace_read;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
- {
- #ifdef GL_INTEL_conservative_rasterization
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_rasterization", 26))
- {
- ret = GLEW_INTEL_conservative_rasterization;
- continue;
- }
- #endif
- #ifdef GL_INTEL_fragment_shader_ordering
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_ordering", 24))
- {
- ret = GLEW_INTEL_fragment_shader_ordering;
- continue;
- }
- #endif
- #ifdef GL_INTEL_framebuffer_CMAA
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_CMAA", 16))
- {
- ret = GLEW_INTEL_framebuffer_CMAA;
- continue;
- }
- #endif
- #ifdef GL_INTEL_map_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"map_texture", 11))
- {
- ret = GLEW_INTEL_map_texture;
- continue;
- }
- #endif
- #ifdef GL_INTEL_parallel_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_arrays", 15))
- {
- ret = GLEW_INTEL_parallel_arrays;
- continue;
- }
- #endif
- #ifdef GL_INTEL_performance_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"performance_query", 17))
- {
- ret = GLEW_INTEL_performance_query;
- continue;
- }
- #endif
- #ifdef GL_INTEL_texture_scissor
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scissor", 15))
- {
- ret = GLEW_INTEL_texture_scissor;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4))
- {
- #ifdef GL_KHR_blend_equation_advanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced", 23))
- {
- ret = GLEW_KHR_blend_equation_advanced;
- continue;
- }
- #endif
- #ifdef GL_KHR_blend_equation_advanced_coherent
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_coherent", 32))
- {
- ret = GLEW_KHR_blend_equation_advanced_coherent;
- continue;
- }
- #endif
- #ifdef GL_KHR_context_flush_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
- {
- ret = GLEW_KHR_context_flush_control;
- continue;
- }
- #endif
- #ifdef GL_KHR_debug
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5))
- {
- ret = GLEW_KHR_debug;
- continue;
- }
- #endif
- #ifdef GL_KHR_no_error
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"no_error", 8))
- {
- ret = GLEW_KHR_no_error;
- continue;
- }
- #endif
- #ifdef GL_KHR_parallel_shader_compile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"parallel_shader_compile", 23))
- {
- ret = GLEW_KHR_parallel_shader_compile;
- continue;
- }
- #endif
- #ifdef GL_KHR_robust_buffer_access_behavior
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robust_buffer_access_behavior", 29))
- {
- ret = GLEW_KHR_robust_buffer_access_behavior;
- continue;
- }
- #endif
- #ifdef GL_KHR_robustness
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness", 10))
- {
- ret = GLEW_KHR_robustness;
- continue;
- }
- #endif
- #ifdef GL_KHR_texture_compression_astc_hdr
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_hdr", 28))
- {
- ret = GLEW_KHR_texture_compression_astc_hdr;
- continue;
- }
- #endif
- #ifdef GL_KHR_texture_compression_astc_ldr
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_ldr", 28))
- {
- ret = GLEW_KHR_texture_compression_astc_ldr;
- continue;
- }
- #endif
- #ifdef GL_KHR_texture_compression_astc_sliced_3d
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_astc_sliced_3d", 34))
- {
- ret = GLEW_KHR_texture_compression_astc_sliced_3d;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"KTX_", 4))
- {
- #ifdef GL_KTX_buffer_region
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
- {
- ret = GLEW_KTX_buffer_region;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESAX_", 6))
- {
- #ifdef GL_MESAX_texture_stack
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_stack", 13))
- {
- ret = GLEW_MESAX_texture_stack;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
- {
- #ifdef GL_MESA_pack_invert
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_invert", 11))
- {
- ret = GLEW_MESA_pack_invert;
- continue;
- }
- #endif
- #ifdef GL_MESA_resize_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"resize_buffers", 14))
- {
- ret = GLEW_MESA_resize_buffers;
- continue;
- }
- #endif
- #ifdef GL_MESA_shader_integer_functions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_integer_functions", 24))
- {
- ret = GLEW_MESA_shader_integer_functions;
- continue;
- }
- #endif
- #ifdef GL_MESA_window_pos
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_pos", 10))
- {
- ret = GLEW_MESA_window_pos;
- continue;
- }
- #endif
- #ifdef GL_MESA_ycbcr_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycbcr_texture", 13))
- {
- ret = GLEW_MESA_ycbcr_texture;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NVX_", 4))
- {
- #ifdef GL_NVX_blend_equation_advanced_multi_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_multi_draw_buffers", 42))
- {
- ret = GLEW_NVX_blend_equation_advanced_multi_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_NVX_conditional_render
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
- {
- ret = GLEW_NVX_conditional_render;
- continue;
- }
- #endif
- #ifdef GL_NVX_gpu_memory_info
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_memory_info", 15))
- {
- ret = GLEW_NVX_gpu_memory_info;
- continue;
- }
- #endif
- #ifdef GL_NVX_linked_gpu_multicast
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"linked_gpu_multicast", 20))
- {
- ret = GLEW_NVX_linked_gpu_multicast;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
- {
- #ifdef GL_NV_3dvision_settings
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3dvision_settings", 17))
- {
- ret = GLEW_NV_3dvision_settings;
- continue;
- }
- #endif
- #ifdef GL_NV_EGL_stream_consumer_external
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"EGL_stream_consumer_external", 28))
- {
- ret = GLEW_NV_EGL_stream_consumer_external;
- continue;
- }
- #endif
- #ifdef GL_NV_alpha_to_coverage_dither_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"alpha_to_coverage_dither_control", 32))
- {
- ret = GLEW_NV_alpha_to_coverage_dither_control;
- continue;
- }
- #endif
- #ifdef GL_NV_bgr
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bgr", 3))
- {
- ret = GLEW_NV_bgr;
- continue;
- }
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_multi_draw_indirect", 28))
- {
- ret = GLEW_NV_bindless_multi_draw_indirect;
- continue;
- }
- #endif
- #ifdef GL_NV_bindless_multi_draw_indirect_count
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_multi_draw_indirect_count", 34))
- {
- ret = GLEW_NV_bindless_multi_draw_indirect_count;
- continue;
- }
- #endif
- #ifdef GL_NV_bindless_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bindless_texture", 16))
- {
- ret = GLEW_NV_bindless_texture;
- continue;
- }
- #endif
- #ifdef GL_NV_blend_equation_advanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced", 23))
- {
- ret = GLEW_NV_blend_equation_advanced;
- continue;
- }
- #endif
- #ifdef GL_NV_blend_equation_advanced_coherent
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_equation_advanced_coherent", 32))
- {
- ret = GLEW_NV_blend_equation_advanced_coherent;
- continue;
- }
- #endif
- #ifdef GL_NV_blend_minmax_factor
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_minmax_factor", 19))
- {
- ret = GLEW_NV_blend_minmax_factor;
- continue;
- }
- #endif
- #ifdef GL_NV_blend_square
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_square", 12))
- {
- ret = GLEW_NV_blend_square;
- continue;
- }
- #endif
- #ifdef GL_NV_clip_space_w_scaling
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_space_w_scaling", 20))
- {
- ret = GLEW_NV_clip_space_w_scaling;
- continue;
- }
- #endif
- #ifdef GL_NV_command_list
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"command_list", 12))
- {
- ret = GLEW_NV_command_list;
- continue;
- }
- #endif
- #ifdef GL_NV_compute_program5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"compute_program5", 16))
- {
- ret = GLEW_NV_compute_program5;
- continue;
- }
- #endif
- #ifdef GL_NV_conditional_render
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conditional_render", 18))
- {
- ret = GLEW_NV_conditional_render;
- continue;
- }
- #endif
- #ifdef GL_NV_conservative_raster
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster", 19))
- {
- ret = GLEW_NV_conservative_raster;
- continue;
- }
- #endif
- #ifdef GL_NV_conservative_raster_dilate
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster_dilate", 26))
- {
- ret = GLEW_NV_conservative_raster_dilate;
- continue;
- }
- #endif
- #ifdef GL_NV_conservative_raster_pre_snap_triangles
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"conservative_raster_pre_snap_triangles", 38))
- {
- ret = GLEW_NV_conservative_raster_pre_snap_triangles;
- continue;
- }
- #endif
- #ifdef GL_NV_copy_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
- {
- ret = GLEW_NV_copy_buffer;
- continue;
- }
- #endif
- #ifdef GL_NV_copy_depth_to_color
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_depth_to_color", 19))
- {
- ret = GLEW_NV_copy_depth_to_color;
- continue;
- }
- #endif
- #ifdef GL_NV_copy_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
- {
- ret = GLEW_NV_copy_image;
- continue;
- }
- #endif
- #ifdef GL_NV_deep_texture3D
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"deep_texture3D", 14))
- {
- ret = GLEW_NV_deep_texture3D;
- continue;
- }
- #endif
- #ifdef GL_NV_depth_buffer_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_buffer_float", 18))
- {
- ret = GLEW_NV_depth_buffer_float;
- continue;
- }
- #endif
- #ifdef GL_NV_depth_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_clamp", 11))
- {
- ret = GLEW_NV_depth_clamp;
- continue;
- }
- #endif
- #ifdef GL_NV_depth_range_unclamped
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_range_unclamped", 21))
- {
- ret = GLEW_NV_depth_range_unclamped;
- continue;
- }
- #endif
- #ifdef GL_NV_draw_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_buffers", 12))
- {
- ret = GLEW_NV_draw_buffers;
- continue;
- }
- #endif
- #ifdef GL_NV_draw_instanced
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_instanced", 14))
- {
- ret = GLEW_NV_draw_instanced;
- continue;
- }
- #endif
- #ifdef GL_NV_draw_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_texture", 12))
- {
- ret = GLEW_NV_draw_texture;
- continue;
- }
- #endif
- #ifdef GL_NV_draw_vulkan_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"draw_vulkan_image", 17))
- {
- ret = GLEW_NV_draw_vulkan_image;
- continue;
- }
- #endif
- #ifdef GL_NV_evaluators
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"evaluators", 10))
- {
- ret = GLEW_NV_evaluators;
- continue;
- }
- #endif
- #ifdef GL_NV_explicit_attrib_location
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_attrib_location", 24))
- {
- ret = GLEW_NV_explicit_attrib_location;
- continue;
- }
- #endif
- #ifdef GL_NV_explicit_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"explicit_multisample", 20))
- {
- ret = GLEW_NV_explicit_multisample;
- continue;
- }
- #endif
- #ifdef GL_NV_fbo_color_attachments
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbo_color_attachments", 21))
- {
- ret = GLEW_NV_fbo_color_attachments;
- continue;
- }
- #endif
- #ifdef GL_NV_fence
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence", 5))
- {
- ret = GLEW_NV_fence;
- continue;
- }
- #endif
- #ifdef GL_NV_fill_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fill_rectangle", 14))
- {
- ret = GLEW_NV_fill_rectangle;
- continue;
- }
- #endif
- #ifdef GL_NV_float_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
- {
- ret = GLEW_NV_float_buffer;
- continue;
- }
- #endif
- #ifdef GL_NV_fog_distance
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_distance", 12))
- {
- ret = GLEW_NV_fog_distance;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_coverage_to_color
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_coverage_to_color", 26))
- {
- ret = GLEW_NV_fragment_coverage_to_color;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_program
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program", 16))
- {
- ret = GLEW_NV_fragment_program;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_program2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program2", 17))
- {
- ret = GLEW_NV_fragment_program2;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_program4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program4", 17))
- {
- ret = GLEW_NV_fragment_program4;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_program_option
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_program_option", 23))
- {
- ret = GLEW_NV_fragment_program_option;
- continue;
- }
- #endif
- #ifdef GL_NV_fragment_shader_interlock
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_shader_interlock", 25))
- {
- ret = GLEW_NV_fragment_shader_interlock;
- continue;
- }
- #endif
- #ifdef GL_NV_framebuffer_blit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_blit", 16))
- {
- ret = GLEW_NV_framebuffer_blit;
- continue;
- }
- #endif
- #ifdef GL_NV_framebuffer_mixed_samples
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_mixed_samples", 25))
- {
- ret = GLEW_NV_framebuffer_mixed_samples;
- continue;
- }
- #endif
- #ifdef GL_NV_framebuffer_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample", 23))
- {
- ret = GLEW_NV_framebuffer_multisample;
- continue;
- }
- #endif
- #ifdef GL_NV_framebuffer_multisample_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_multisample_coverage", 32))
- {
- ret = GLEW_NV_framebuffer_multisample_coverage;
- continue;
- }
- #endif
- #ifdef GL_NV_generate_mipmap_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap_sRGB", 20))
- {
- ret = GLEW_NV_generate_mipmap_sRGB;
- continue;
- }
- #endif
- #ifdef GL_NV_geometry_program4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_program4", 17))
- {
- ret = GLEW_NV_geometry_program4;
- continue;
- }
- #endif
- #ifdef GL_NV_geometry_shader4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader4", 16))
- {
- ret = GLEW_NV_geometry_shader4;
- continue;
- }
- #endif
- #ifdef GL_NV_geometry_shader_passthrough
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"geometry_shader_passthrough", 27))
- {
- ret = GLEW_NV_geometry_shader_passthrough;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_multicast
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_multicast", 13))
- {
- ret = GLEW_NV_gpu_multicast;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_program4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program4", 12))
- {
- ret = GLEW_NV_gpu_program4;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_program5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5", 12))
- {
- ret = GLEW_NV_gpu_program5;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_program5_mem_extended
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program5_mem_extended", 25))
- {
- ret = GLEW_NV_gpu_program5_mem_extended;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_program_fp64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_program_fp64", 16))
- {
- ret = GLEW_NV_gpu_program_fp64;
- continue;
- }
- #endif
- #ifdef GL_NV_gpu_shader5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_shader5", 11))
- {
- ret = GLEW_NV_gpu_shader5;
- continue;
- }
- #endif
- #ifdef GL_NV_half_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"half_float", 10))
- {
- ret = GLEW_NV_half_float;
- continue;
- }
- #endif
- #ifdef GL_NV_image_formats
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_formats", 13))
- {
- ret = GLEW_NV_image_formats;
- continue;
- }
- #endif
- #ifdef GL_NV_instanced_arrays
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"instanced_arrays", 16))
- {
- ret = GLEW_NV_instanced_arrays;
- continue;
- }
- #endif
- #ifdef GL_NV_internalformat_sample_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"internalformat_sample_query", 27))
- {
- ret = GLEW_NV_internalformat_sample_query;
- continue;
- }
- #endif
- #ifdef GL_NV_light_max_exponent
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"light_max_exponent", 18))
- {
- ret = GLEW_NV_light_max_exponent;
- continue;
- }
- #endif
- #ifdef GL_NV_multisample_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
- {
- ret = GLEW_NV_multisample_coverage;
- continue;
- }
- #endif
- #ifdef GL_NV_multisample_filter_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_filter_hint", 23))
- {
- ret = GLEW_NV_multisample_filter_hint;
- continue;
- }
- #endif
- #ifdef GL_NV_non_square_matrices
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"non_square_matrices", 19))
- {
- ret = GLEW_NV_non_square_matrices;
- continue;
- }
- #endif
- #ifdef GL_NV_occlusion_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_query", 15))
- {
- ret = GLEW_NV_occlusion_query;
- continue;
- }
- #endif
- #ifdef GL_NV_pack_subimage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pack_subimage", 13))
- {
- ret = GLEW_NV_pack_subimage;
- continue;
- }
- #endif
- #ifdef GL_NV_packed_depth_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_depth_stencil", 20))
- {
- ret = GLEW_NV_packed_depth_stencil;
- continue;
- }
- #endif
- #ifdef GL_NV_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float", 12))
- {
- ret = GLEW_NV_packed_float;
- continue;
- }
- #endif
- #ifdef GL_NV_packed_float_linear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_float_linear", 19))
- {
- ret = GLEW_NV_packed_float_linear;
- continue;
- }
- #endif
- #ifdef GL_NV_parameter_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object", 23))
- {
- ret = GLEW_NV_parameter_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_NV_parameter_buffer_object2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"parameter_buffer_object2", 24))
- {
- ret = GLEW_NV_parameter_buffer_object2;
- continue;
- }
- #endif
- #ifdef GL_NV_path_rendering
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering", 14))
- {
- ret = GLEW_NV_path_rendering;
- continue;
- }
- #endif
- #ifdef GL_NV_path_rendering_shared_edge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"path_rendering_shared_edge", 26))
- {
- ret = GLEW_NV_path_rendering_shared_edge;
- continue;
- }
- #endif
- #ifdef GL_NV_pixel_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_buffer_object", 19))
- {
- ret = GLEW_NV_pixel_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_NV_pixel_data_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_data_range", 16))
- {
- ret = GLEW_NV_pixel_data_range;
- continue;
- }
- #endif
- #ifdef GL_NV_platform_binary
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_binary", 15))
- {
- ret = GLEW_NV_platform_binary;
- continue;
- }
- #endif
- #ifdef GL_NV_point_sprite
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_sprite", 12))
- {
- ret = GLEW_NV_point_sprite;
- continue;
- }
- #endif
- #ifdef GL_NV_polygon_mode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"polygon_mode", 12))
- {
- ret = GLEW_NV_polygon_mode;
- continue;
- }
- #endif
- #ifdef GL_NV_present_video
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
- {
- ret = GLEW_NV_present_video;
- continue;
- }
- #endif
- #ifdef GL_NV_primitive_restart
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"primitive_restart", 17))
- {
- ret = GLEW_NV_primitive_restart;
- continue;
- }
- #endif
- #ifdef GL_NV_read_depth
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_depth", 10))
- {
- ret = GLEW_NV_read_depth;
- continue;
- }
- #endif
- #ifdef GL_NV_read_depth_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_depth_stencil", 18))
- {
- ret = GLEW_NV_read_depth_stencil;
- continue;
- }
- #endif
- #ifdef GL_NV_read_stencil
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_stencil", 12))
- {
- ret = GLEW_NV_read_stencil;
- continue;
- }
- #endif
- #ifdef GL_NV_register_combiners
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners", 18))
- {
- ret = GLEW_NV_register_combiners;
- continue;
- }
- #endif
- #ifdef GL_NV_register_combiners2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"register_combiners2", 19))
- {
- ret = GLEW_NV_register_combiners2;
- continue;
- }
- #endif
- #ifdef GL_NV_robustness_video_memory_purge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
- {
- ret = GLEW_NV_robustness_video_memory_purge;
- continue;
- }
- #endif
- #ifdef GL_NV_sRGB_formats
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sRGB_formats", 12))
- {
- ret = GLEW_NV_sRGB_formats;
- continue;
- }
- #endif
- #ifdef GL_NV_sample_locations
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_locations", 16))
- {
- ret = GLEW_NV_sample_locations;
- continue;
- }
- #endif
- #ifdef GL_NV_sample_mask_override_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sample_mask_override_coverage", 29))
- {
- ret = GLEW_NV_sample_mask_override_coverage;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_atomic_counters
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_counters", 22))
- {
- ret = GLEW_NV_shader_atomic_counters;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_atomic_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float", 19))
- {
- ret = GLEW_NV_shader_atomic_float;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_atomic_float64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_float64", 21))
- {
- ret = GLEW_NV_shader_atomic_float64;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_atomic_fp16_vector
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_fp16_vector", 25))
- {
- ret = GLEW_NV_shader_atomic_fp16_vector;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_atomic_int64
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_atomic_int64", 19))
- {
- ret = GLEW_NV_shader_atomic_int64;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_buffer_load
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_buffer_load", 18))
- {
- ret = GLEW_NV_shader_buffer_load;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_noperspective_interpolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_noperspective_interpolation", 34))
- {
- ret = GLEW_NV_shader_noperspective_interpolation;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_storage_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_storage_buffer_object", 28))
- {
- ret = GLEW_NV_shader_storage_buffer_object;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_thread_group
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_thread_group", 19))
- {
- ret = GLEW_NV_shader_thread_group;
- continue;
- }
- #endif
- #ifdef GL_NV_shader_thread_shuffle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_thread_shuffle", 21))
- {
- ret = GLEW_NV_shader_thread_shuffle;
- continue;
- }
- #endif
- #ifdef GL_NV_shadow_samplers_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers_array", 21))
- {
- ret = GLEW_NV_shadow_samplers_array;
- continue;
- }
- #endif
- #ifdef GL_NV_shadow_samplers_cube
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_samplers_cube", 20))
- {
- ret = GLEW_NV_shadow_samplers_cube;
- continue;
- }
- #endif
- #ifdef GL_NV_stereo_view_rendering
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_view_rendering", 21))
- {
- ret = GLEW_NV_stereo_view_rendering;
- continue;
- }
- #endif
- #ifdef GL_NV_tessellation_program5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"tessellation_program5", 21))
- {
- ret = GLEW_NV_tessellation_program5;
- continue;
- }
- #endif
- #ifdef GL_NV_texgen_emboss
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_emboss", 13))
- {
- ret = GLEW_NV_texgen_emboss;
- continue;
- }
- #endif
- #ifdef GL_NV_texgen_reflection
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texgen_reflection", 17))
- {
- ret = GLEW_NV_texgen_reflection;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_array", 13))
- {
- ret = GLEW_NV_texture_array;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_barrier
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_barrier", 15))
- {
- ret = GLEW_NV_texture_barrier;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_border_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
- {
- ret = GLEW_NV_texture_border_clamp;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_compression_latc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_latc", 24))
- {
- ret = GLEW_NV_texture_compression_latc;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_compression_s3tc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc", 24))
- {
- ret = GLEW_NV_texture_compression_s3tc;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_compression_s3tc_update
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_s3tc_update", 31))
- {
- ret = GLEW_NV_texture_compression_s3tc_update;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_compression_vtc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_compression_vtc", 23))
- {
- ret = GLEW_NV_texture_compression_vtc;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_env_combine4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_env_combine4", 20))
- {
- ret = GLEW_NV_texture_env_combine4;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_expand_normal
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_expand_normal", 21))
- {
- ret = GLEW_NV_texture_expand_normal;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multisample", 19))
- {
- ret = GLEW_NV_texture_multisample;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_npot_2D_mipmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_npot_2D_mipmap", 22))
- {
- ret = GLEW_NV_texture_npot_2D_mipmap;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle", 17))
- {
- ret = GLEW_NV_texture_rectangle;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_rectangle_compressed
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_rectangle_compressed", 28))
- {
- ret = GLEW_NV_texture_rectangle_compressed;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_shader
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader", 14))
- {
- ret = GLEW_NV_texture_shader;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_shader2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader2", 15))
- {
- ret = GLEW_NV_texture_shader2;
- continue;
- }
- #endif
- #ifdef GL_NV_texture_shader3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_shader3", 15))
- {
- ret = GLEW_NV_texture_shader3;
- continue;
- }
- #endif
- #ifdef GL_NV_transform_feedback
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback", 18))
- {
- ret = GLEW_NV_transform_feedback;
- continue;
- }
- #endif
- #ifdef GL_NV_transform_feedback2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"transform_feedback2", 19))
- {
- ret = GLEW_NV_transform_feedback2;
- continue;
- }
- #endif
- #ifdef GL_NV_uniform_buffer_unified_memory
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"uniform_buffer_unified_memory", 29))
- {
- ret = GLEW_NV_uniform_buffer_unified_memory;
- continue;
- }
- #endif
- #ifdef GL_NV_vdpau_interop
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vdpau_interop", 13))
- {
- ret = GLEW_NV_vdpau_interop;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_array_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
- {
- ret = GLEW_NV_vertex_array_range;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_array_range2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range2", 19))
- {
- ret = GLEW_NV_vertex_array_range2;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_attrib_integer_64bit
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_attrib_integer_64bit", 27))
- {
- ret = GLEW_NV_vertex_attrib_integer_64bit;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_buffer_unified_memory
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_unified_memory", 28))
- {
- ret = GLEW_NV_vertex_buffer_unified_memory;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program", 14))
- {
- ret = GLEW_NV_vertex_program;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program1_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program1_1", 17))
- {
- ret = GLEW_NV_vertex_program1_1;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2", 15))
- {
- ret = GLEW_NV_vertex_program2;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program2_option
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program2_option", 22))
- {
- ret = GLEW_NV_vertex_program2_option;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program3", 15))
- {
- ret = GLEW_NV_vertex_program3;
- continue;
- }
- #endif
- #ifdef GL_NV_vertex_program4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_program4", 15))
- {
- ret = GLEW_NV_vertex_program4;
- continue;
- }
- #endif
- #ifdef GL_NV_video_capture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
- {
- ret = GLEW_NV_video_capture;
- continue;
- }
- #endif
- #ifdef GL_NV_viewport_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array", 14))
- {
- ret = GLEW_NV_viewport_array;
- continue;
- }
- #endif
- #ifdef GL_NV_viewport_array2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_array2", 15))
- {
- ret = GLEW_NV_viewport_array2;
- continue;
- }
- #endif
- #ifdef GL_NV_viewport_swizzle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"viewport_swizzle", 16))
- {
- ret = GLEW_NV_viewport_swizzle;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"OES_", 4))
- {
- #ifdef GL_OES_byte_coordinates
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"byte_coordinates", 16))
- {
- ret = GLEW_OES_byte_coordinates;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
- {
- #ifdef GL_OML_interlace
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
- {
- ret = GLEW_OML_interlace;
- continue;
- }
- #endif
- #ifdef GL_OML_resample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
- {
- ret = GLEW_OML_resample;
- continue;
- }
- #endif
- #ifdef GL_OML_subsample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
- {
- ret = GLEW_OML_subsample;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"OVR_", 4))
- {
- #ifdef GL_OVR_multiview
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview", 9))
- {
- ret = GLEW_OVR_multiview;
- continue;
- }
- #endif
- #ifdef GL_OVR_multiview2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview2", 10))
- {
- ret = GLEW_OVR_multiview2;
- continue;
- }
- #endif
- #ifdef GL_OVR_multiview_multisampled_render_to_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_multisampled_render_to_texture", 40))
- {
- ret = GLEW_OVR_multiview_multisampled_render_to_texture;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"PGI_", 4))
- {
- #ifdef GL_PGI_misc_hints
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"misc_hints", 10))
- {
- ret = GLEW_PGI_misc_hints;
- continue;
- }
- #endif
- #ifdef GL_PGI_vertex_hints
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_hints", 12))
- {
- ret = GLEW_PGI_vertex_hints;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"QCOM_", 5))
- {
- #ifdef GL_QCOM_alpha_test
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"alpha_test", 10))
- {
- ret = GLEW_QCOM_alpha_test;
- continue;
- }
- #endif
- #ifdef GL_QCOM_binning_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"binning_control", 15))
- {
- ret = GLEW_QCOM_binning_control;
- continue;
- }
- #endif
- #ifdef GL_QCOM_driver_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"driver_control", 14))
- {
- ret = GLEW_QCOM_driver_control;
- continue;
- }
- #endif
- #ifdef GL_QCOM_extended_get
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extended_get", 12))
- {
- ret = GLEW_QCOM_extended_get;
- continue;
- }
- #endif
- #ifdef GL_QCOM_extended_get2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extended_get2", 13))
- {
- ret = GLEW_QCOM_extended_get2;
- continue;
- }
- #endif
- #ifdef GL_QCOM_framebuffer_foveated
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_foveated", 20))
- {
- ret = GLEW_QCOM_framebuffer_foveated;
- continue;
- }
- #endif
- #ifdef GL_QCOM_perfmon_global_mode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"perfmon_global_mode", 19))
- {
- ret = GLEW_QCOM_perfmon_global_mode;
- continue;
- }
- #endif
- #ifdef GL_QCOM_shader_framebuffer_fetch_noncoherent
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shader_framebuffer_fetch_noncoherent", 36))
- {
- ret = GLEW_QCOM_shader_framebuffer_fetch_noncoherent;
- continue;
- }
- #endif
- #ifdef GL_QCOM_tiled_rendering
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"tiled_rendering", 15))
- {
- ret = GLEW_QCOM_tiled_rendering;
- continue;
- }
- #endif
- #ifdef GL_QCOM_writeonly_rendering
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"writeonly_rendering", 19))
- {
- ret = GLEW_QCOM_writeonly_rendering;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"REGAL_", 6))
- {
- #ifdef GL_REGAL_ES1_0_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_0_compatibility", 19))
- {
- ret = GLEW_REGAL_ES1_0_compatibility;
- continue;
- }
- #endif
- #ifdef GL_REGAL_ES1_1_compatibility
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ES1_1_compatibility", 19))
- {
- ret = GLEW_REGAL_ES1_1_compatibility;
- continue;
- }
- #endif
- #ifdef GL_REGAL_enable
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"enable", 6))
- {
- ret = GLEW_REGAL_enable;
- continue;
- }
- #endif
- #ifdef GL_REGAL_error_string
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"error_string", 12))
- {
- ret = GLEW_REGAL_error_string;
- continue;
- }
- #endif
- #ifdef GL_REGAL_extension_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extension_query", 15))
- {
- ret = GLEW_REGAL_extension_query;
- continue;
- }
- #endif
- #ifdef GL_REGAL_log
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"log", 3))
- {
- ret = GLEW_REGAL_log;
- continue;
- }
- #endif
- #ifdef GL_REGAL_proc_address
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"proc_address", 12))
- {
- ret = GLEW_REGAL_proc_address;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"REND_", 5))
- {
- #ifdef GL_REND_screen_coordinates
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"screen_coordinates", 18))
- {
- ret = GLEW_REND_screen_coordinates;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"S3_", 3))
- {
- #ifdef GL_S3_s3tc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"s3tc", 4))
- {
- ret = GLEW_S3_s3tc;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
- {
- #ifdef GL_SGIS_clip_band_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clip_band_hint", 14))
- {
- ret = GLEW_SGIS_clip_band_hint;
- continue;
- }
- #endif
- #ifdef GL_SGIS_color_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
- {
- ret = GLEW_SGIS_color_range;
- continue;
- }
- #endif
- #ifdef GL_SGIS_detail_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"detail_texture", 14))
- {
- ret = GLEW_SGIS_detail_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIS_fog_function
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_function", 12))
- {
- ret = GLEW_SGIS_fog_function;
- continue;
- }
- #endif
- #ifdef GL_SGIS_generate_mipmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"generate_mipmap", 15))
- {
- ret = GLEW_SGIS_generate_mipmap;
- continue;
- }
- #endif
- #ifdef GL_SGIS_line_texgen
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"line_texgen", 11))
- {
- ret = GLEW_SGIS_line_texgen;
- continue;
- }
- #endif
- #ifdef GL_SGIS_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLEW_SGIS_multisample;
- continue;
- }
- #endif
- #ifdef GL_SGIS_multitexture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multitexture", 12))
- {
- ret = GLEW_SGIS_multitexture;
- continue;
- }
- #endif
- #ifdef GL_SGIS_pixel_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
- {
- ret = GLEW_SGIS_pixel_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIS_point_line_texgen
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"point_line_texgen", 17))
- {
- ret = GLEW_SGIS_point_line_texgen;
- continue;
- }
- #endif
- #ifdef GL_SGIS_shared_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
- {
- ret = GLEW_SGIS_shared_multisample;
- continue;
- }
- #endif
- #ifdef GL_SGIS_sharpen_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sharpen_texture", 15))
- {
- ret = GLEW_SGIS_sharpen_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture4D
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture4D", 9))
- {
- ret = GLEW_SGIS_texture4D;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture_border_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_border_clamp", 20))
- {
- ret = GLEW_SGIS_texture_border_clamp;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture_edge_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_edge_clamp", 18))
- {
- ret = GLEW_SGIS_texture_edge_clamp;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture_filter4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_filter4", 15))
- {
- ret = GLEW_SGIS_texture_filter4;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod", 11))
- {
- ret = GLEW_SGIS_texture_lod;
- continue;
- }
- #endif
- #ifdef GL_SGIS_texture_select
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_select", 14))
- {
- ret = GLEW_SGIS_texture_select;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
- {
- #ifdef GL_SGIX_async
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"async", 5))
- {
- ret = GLEW_SGIX_async;
- continue;
- }
- #endif
- #ifdef GL_SGIX_async_histogram
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_histogram", 15))
- {
- ret = GLEW_SGIX_async_histogram;
- continue;
- }
- #endif
- #ifdef GL_SGIX_async_pixel
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"async_pixel", 11))
- {
- ret = GLEW_SGIX_async_pixel;
- continue;
- }
- #endif
- #ifdef GL_SGIX_bali_g_instruments
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_g_instruments", 18))
- {
- ret = GLEW_SGIX_bali_g_instruments;
- continue;
- }
- #endif
- #ifdef GL_SGIX_bali_r_instruments
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_r_instruments", 18))
- {
- ret = GLEW_SGIX_bali_r_instruments;
- continue;
- }
- #endif
- #ifdef GL_SGIX_bali_timer_instruments
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"bali_timer_instruments", 22))
- {
- ret = GLEW_SGIX_bali_timer_instruments;
- continue;
- }
- #endif
- #ifdef GL_SGIX_blend_alpha_minmax
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_alpha_minmax", 18))
- {
- ret = GLEW_SGIX_blend_alpha_minmax;
- continue;
- }
- #endif
- #ifdef GL_SGIX_blend_cadd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_cadd", 10))
- {
- ret = GLEW_SGIX_blend_cadd;
- continue;
- }
- #endif
- #ifdef GL_SGIX_blend_cmultiply
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blend_cmultiply", 15))
- {
- ret = GLEW_SGIX_blend_cmultiply;
- continue;
- }
- #endif
- #ifdef GL_SGIX_calligraphic_fragment
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"calligraphic_fragment", 21))
- {
- ret = GLEW_SGIX_calligraphic_fragment;
- continue;
- }
- #endif
- #ifdef GL_SGIX_clipmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clipmap", 7))
- {
- ret = GLEW_SGIX_clipmap;
- continue;
- }
- #endif
- #ifdef GL_SGIX_color_matrix_accuracy
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix_accuracy", 21))
- {
- ret = GLEW_SGIX_color_matrix_accuracy;
- continue;
- }
- #endif
- #ifdef GL_SGIX_color_table_index_mode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table_index_mode", 22))
- {
- ret = GLEW_SGIX_color_table_index_mode;
- continue;
- }
- #endif
- #ifdef GL_SGIX_complex_polar
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex_polar", 13))
- {
- ret = GLEW_SGIX_complex_polar;
- continue;
- }
- #endif
- #ifdef GL_SGIX_convolution_accuracy
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_accuracy", 20))
- {
- ret = GLEW_SGIX_convolution_accuracy;
- continue;
- }
- #endif
- #ifdef GL_SGIX_cube_map
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cube_map", 8))
- {
- ret = GLEW_SGIX_cube_map;
- continue;
- }
- #endif
- #ifdef GL_SGIX_cylinder_texgen
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cylinder_texgen", 15))
- {
- ret = GLEW_SGIX_cylinder_texgen;
- continue;
- }
- #endif
- #ifdef GL_SGIX_datapipe
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"datapipe", 8))
- {
- ret = GLEW_SGIX_datapipe;
- continue;
- }
- #endif
- #ifdef GL_SGIX_decimation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"decimation", 10))
- {
- ret = GLEW_SGIX_decimation;
- continue;
- }
- #endif
- #ifdef GL_SGIX_depth_pass_instrument
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_pass_instrument", 21))
- {
- ret = GLEW_SGIX_depth_pass_instrument;
- continue;
- }
- #endif
- #ifdef GL_SGIX_depth_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_texture", 13))
- {
- ret = GLEW_SGIX_depth_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIX_dvc
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"dvc", 3))
- {
- ret = GLEW_SGIX_dvc;
- continue;
- }
- #endif
- #ifdef GL_SGIX_flush_raster
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"flush_raster", 12))
- {
- ret = GLEW_SGIX_flush_raster;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_blend
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_blend", 9))
- {
- ret = GLEW_SGIX_fog_blend;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_factor_to_alpha
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_factor_to_alpha", 19))
- {
- ret = GLEW_SGIX_fog_factor_to_alpha;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_layers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_layers", 10))
- {
- ret = GLEW_SGIX_fog_layers;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_offset
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_offset", 10))
- {
- ret = GLEW_SGIX_fog_offset;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_patchy
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_patchy", 10))
- {
- ret = GLEW_SGIX_fog_patchy;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_scale
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_scale", 9))
- {
- ret = GLEW_SGIX_fog_scale;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fog_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fog_texture", 11))
- {
- ret = GLEW_SGIX_fog_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fragment_lighting_space
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_lighting_space", 23))
- {
- ret = GLEW_SGIX_fragment_lighting_space;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fragment_specular_lighting
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragment_specular_lighting", 26))
- {
- ret = GLEW_SGIX_fragment_specular_lighting;
- continue;
- }
- #endif
- #ifdef GL_SGIX_fragments_instrument
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fragments_instrument", 20))
- {
- ret = GLEW_SGIX_fragments_instrument;
- continue;
- }
- #endif
- #ifdef GL_SGIX_framezoom
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framezoom", 9))
- {
- ret = GLEW_SGIX_framezoom;
- continue;
- }
- #endif
- #ifdef GL_SGIX_icc_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"icc_texture", 11))
- {
- ret = GLEW_SGIX_icc_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIX_igloo_interface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"igloo_interface", 15))
- {
- ret = GLEW_SGIX_igloo_interface;
- continue;
- }
- #endif
- #ifdef GL_SGIX_image_compression
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_compression", 17))
- {
- ret = GLEW_SGIX_image_compression;
- continue;
- }
- #endif
- #ifdef GL_SGIX_impact_pixel_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"impact_pixel_texture", 20))
- {
- ret = GLEW_SGIX_impact_pixel_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIX_instrument_error
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"instrument_error", 16))
- {
- ret = GLEW_SGIX_instrument_error;
- continue;
- }
- #endif
- #ifdef GL_SGIX_interlace
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"interlace", 9))
- {
- ret = GLEW_SGIX_interlace;
- continue;
- }
- #endif
- #ifdef GL_SGIX_ir_instrument1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ir_instrument1", 14))
- {
- ret = GLEW_SGIX_ir_instrument1;
- continue;
- }
- #endif
- #ifdef GL_SGIX_line_quality_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"line_quality_hint", 17))
- {
- ret = GLEW_SGIX_line_quality_hint;
- continue;
- }
- #endif
- #ifdef GL_SGIX_list_priority
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"list_priority", 13))
- {
- ret = GLEW_SGIX_list_priority;
- continue;
- }
- #endif
- #ifdef GL_SGIX_mpeg1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mpeg1", 5))
- {
- ret = GLEW_SGIX_mpeg1;
- continue;
- }
- #endif
- #ifdef GL_SGIX_mpeg2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mpeg2", 5))
- {
- ret = GLEW_SGIX_mpeg2;
- continue;
- }
- #endif
- #ifdef GL_SGIX_nonlinear_lighting_pervertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"nonlinear_lighting_pervertex", 28))
- {
- ret = GLEW_SGIX_nonlinear_lighting_pervertex;
- continue;
- }
- #endif
- #ifdef GL_SGIX_nurbs_eval
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"nurbs_eval", 10))
- {
- ret = GLEW_SGIX_nurbs_eval;
- continue;
- }
- #endif
- #ifdef GL_SGIX_occlusion_instrument
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"occlusion_instrument", 20))
- {
- ret = GLEW_SGIX_occlusion_instrument;
- continue;
- }
- #endif
- #ifdef GL_SGIX_packed_6bytes
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"packed_6bytes", 13))
- {
- ret = GLEW_SGIX_packed_6bytes;
- continue;
- }
- #endif
- #ifdef GL_SGIX_pixel_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture", 13))
- {
- ret = GLEW_SGIX_pixel_texture;
- continue;
- }
- #endif
- #ifdef GL_SGIX_pixel_texture_bits
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_bits", 18))
- {
- ret = GLEW_SGIX_pixel_texture_bits;
- continue;
- }
- #endif
- #ifdef GL_SGIX_pixel_texture_lod
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_texture_lod", 17))
- {
- ret = GLEW_SGIX_pixel_texture_lod;
- continue;
- }
- #endif
- #ifdef GL_SGIX_pixel_tiles
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_tiles", 11))
- {
- ret = GLEW_SGIX_pixel_tiles;
- continue;
- }
- #endif
- #ifdef GL_SGIX_polynomial_ffd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"polynomial_ffd", 14))
- {
- ret = GLEW_SGIX_polynomial_ffd;
- continue;
- }
- #endif
- #ifdef GL_SGIX_quad_mesh
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"quad_mesh", 9))
- {
- ret = GLEW_SGIX_quad_mesh;
- continue;
- }
- #endif
- #ifdef GL_SGIX_reference_plane
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"reference_plane", 15))
- {
- ret = GLEW_SGIX_reference_plane;
- continue;
- }
- #endif
- #ifdef GL_SGIX_resample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"resample", 8))
- {
- ret = GLEW_SGIX_resample;
- continue;
- }
- #endif
- #ifdef GL_SGIX_scalebias_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"scalebias_hint", 14))
- {
- ret = GLEW_SGIX_scalebias_hint;
- continue;
- }
- #endif
- #ifdef GL_SGIX_shadow
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow", 6))
- {
- ret = GLEW_SGIX_shadow;
- continue;
- }
- #endif
- #ifdef GL_SGIX_shadow_ambient
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shadow_ambient", 14))
- {
- ret = GLEW_SGIX_shadow_ambient;
- continue;
- }
- #endif
- #ifdef GL_SGIX_slim
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"slim", 4))
- {
- ret = GLEW_SGIX_slim;
- continue;
- }
- #endif
- #ifdef GL_SGIX_spotlight_cutoff
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"spotlight_cutoff", 16))
- {
- ret = GLEW_SGIX_spotlight_cutoff;
- continue;
- }
- #endif
- #ifdef GL_SGIX_sprite
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sprite", 6))
- {
- ret = GLEW_SGIX_sprite;
- continue;
- }
- #endif
- #ifdef GL_SGIX_subdiv_patch
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"subdiv_patch", 12))
- {
- ret = GLEW_SGIX_subdiv_patch;
- continue;
- }
- #endif
- #ifdef GL_SGIX_subsample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"subsample", 9))
- {
- ret = GLEW_SGIX_subsample;
- continue;
- }
- #endif
- #ifdef GL_SGIX_tag_sample_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"tag_sample_buffer", 17))
- {
- ret = GLEW_SGIX_tag_sample_buffer;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_add_env
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_add_env", 15))
- {
- ret = GLEW_SGIX_texture_add_env;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_coordinate_clamp
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_coordinate_clamp", 24))
- {
- ret = GLEW_SGIX_texture_coordinate_clamp;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_lod_bias
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_lod_bias", 16))
- {
- ret = GLEW_SGIX_texture_lod_bias;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_mipmap_anisotropic
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_mipmap_anisotropic", 26))
- {
- ret = GLEW_SGIX_texture_mipmap_anisotropic;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_multi_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_multi_buffer", 20))
- {
- ret = GLEW_SGIX_texture_multi_buffer;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_phase
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_phase", 13))
- {
- ret = GLEW_SGIX_texture_phase;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_range", 13))
- {
- ret = GLEW_SGIX_texture_range;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_scale_bias
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_scale_bias", 18))
- {
- ret = GLEW_SGIX_texture_scale_bias;
- continue;
- }
- #endif
- #ifdef GL_SGIX_texture_supersample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_supersample", 19))
- {
- ret = GLEW_SGIX_texture_supersample;
- continue;
- }
- #endif
- #ifdef GL_SGIX_vector_ops
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vector_ops", 10))
- {
- ret = GLEW_SGIX_vector_ops;
- continue;
- }
- #endif
- #ifdef GL_SGIX_vertex_array_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_object", 19))
- {
- ret = GLEW_SGIX_vertex_array_object;
- continue;
- }
- #endif
- #ifdef GL_SGIX_vertex_preclip
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip", 14))
- {
- ret = GLEW_SGIX_vertex_preclip;
- continue;
- }
- #endif
- #ifdef GL_SGIX_vertex_preclip_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_preclip_hint", 19))
- {
- ret = GLEW_SGIX_vertex_preclip_hint;
- continue;
- }
- #endif
- #ifdef GL_SGIX_ycrcb
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb", 5))
- {
- ret = GLEW_SGIX_ycrcb;
- continue;
- }
- #endif
- #ifdef GL_SGIX_ycrcb_subsample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcb_subsample", 15))
- {
- ret = GLEW_SGIX_ycrcb_subsample;
- continue;
- }
- #endif
- #ifdef GL_SGIX_ycrcba
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"ycrcba", 6))
- {
- ret = GLEW_SGIX_ycrcba;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
- {
- #ifdef GL_SGI_color_matrix
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_matrix", 12))
- {
- ret = GLEW_SGI_color_matrix;
- continue;
- }
- #endif
- #ifdef GL_SGI_color_table
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_table", 11))
- {
- ret = GLEW_SGI_color_table;
- continue;
- }
- #endif
- #ifdef GL_SGI_complex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex", 7))
- {
- ret = GLEW_SGI_complex;
- continue;
- }
- #endif
- #ifdef GL_SGI_complex_type
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"complex_type", 12))
- {
- ret = GLEW_SGI_complex_type;
- continue;
- }
- #endif
- #ifdef GL_SGI_fft
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fft", 3))
- {
- ret = GLEW_SGI_fft;
- continue;
- }
- #endif
- #ifdef GL_SGI_texture_color_table
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_color_table", 19))
- {
- ret = GLEW_SGI_texture_color_table;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUNX_", 5))
- {
- #ifdef GL_SUNX_constant_data
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"constant_data", 13))
- {
- ret = GLEW_SUNX_constant_data;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
- {
- #ifdef GL_SUN_convolution_border_modes
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"convolution_border_modes", 24))
- {
- ret = GLEW_SUN_convolution_border_modes;
- continue;
- }
- #endif
- #ifdef GL_SUN_global_alpha
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"global_alpha", 12))
- {
- ret = GLEW_SUN_global_alpha;
- continue;
- }
- #endif
- #ifdef GL_SUN_mesh_array
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mesh_array", 10))
- {
- ret = GLEW_SUN_mesh_array;
- continue;
- }
- #endif
- #ifdef GL_SUN_read_video_pixels
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"read_video_pixels", 17))
- {
- ret = GLEW_SUN_read_video_pixels;
- continue;
- }
- #endif
- #ifdef GL_SUN_slice_accum
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"slice_accum", 11))
- {
- ret = GLEW_SUN_slice_accum;
- continue;
- }
- #endif
- #ifdef GL_SUN_triangle_list
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"triangle_list", 13))
- {
- ret = GLEW_SUN_triangle_list;
- continue;
- }
- #endif
- #ifdef GL_SUN_vertex
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex", 6))
- {
- ret = GLEW_SUN_vertex;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"WIN_", 4))
- {
- #ifdef GL_WIN_phong_shading
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"phong_shading", 13))
- {
- ret = GLEW_WIN_phong_shading;
- continue;
- }
- #endif
- #ifdef GL_WIN_scene_markerXXX
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_markerXXX", 15))
- {
- ret = GLEW_WIN_scene_markerXXX;
- continue;
- }
- #endif
- #ifdef GL_WIN_specular_fog
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"specular_fog", 12))
- {
- ret = GLEW_WIN_specular_fog;
- continue;
- }
- #endif
- #ifdef GL_WIN_swap_hint
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_hint", 9))
- {
- ret = GLEW_WIN_swap_hint;
- continue;
- }
- #endif
- }
- }
- ret = (len == 0);
- }
- return ret;
- }
- #if defined(_WIN32) && !defined(GLEW_EGL) && !defined(GLEW_OSMESA)
- GLboolean GLEWAPIENTRY wglewIsSupported (const char* name)
- {
- const GLubyte* pos = (const GLubyte*)name;
- GLuint len = _glewStrLen(pos);
- GLboolean ret = GL_TRUE;
- while (ret && len > 0)
- {
- if (_glewStrSame1(&pos, &len, (const GLubyte*)"WGL_", 4))
- {
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
- {
- #ifdef WGL_3DFX_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = WGLEW_3DFX_multisample;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DL_", 4))
- {
- #ifdef WGL_3DL_stereo_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_control", 14))
- {
- ret = WGLEW_3DL_stereo_control;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
- {
- #ifdef WGL_AMD_gpu_association
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
- {
- ret = WGLEW_AMD_gpu_association;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
- {
- #ifdef WGL_ARB_buffer_region
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_region", 13))
- {
- ret = WGLEW_ARB_buffer_region;
- continue;
- }
- #endif
- #ifdef WGL_ARB_context_flush_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
- {
- ret = WGLEW_ARB_context_flush_control;
- continue;
- }
- #endif
- #ifdef WGL_ARB_create_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
- {
- ret = WGLEW_ARB_create_context;
- continue;
- }
- #endif
- #ifdef WGL_ARB_create_context_no_error
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
- {
- ret = WGLEW_ARB_create_context_no_error;
- continue;
- }
- #endif
- #ifdef WGL_ARB_create_context_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
- {
- ret = WGLEW_ARB_create_context_profile;
- continue;
- }
- #endif
- #ifdef WGL_ARB_create_context_robustness
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
- {
- ret = WGLEW_ARB_create_context_robustness;
- continue;
- }
- #endif
- #ifdef WGL_ARB_extensions_string
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
- {
- ret = WGLEW_ARB_extensions_string;
- continue;
- }
- #endif
- #ifdef WGL_ARB_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = WGLEW_ARB_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef WGL_ARB_make_current_read
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
- {
- ret = WGLEW_ARB_make_current_read;
- continue;
- }
- #endif
- #ifdef WGL_ARB_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = WGLEW_ARB_multisample;
- continue;
- }
- #endif
- #ifdef WGL_ARB_pbuffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
- {
- ret = WGLEW_ARB_pbuffer;
- continue;
- }
- #endif
- #ifdef WGL_ARB_pixel_format
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
- {
- ret = WGLEW_ARB_pixel_format;
- continue;
- }
- #endif
- #ifdef WGL_ARB_pixel_format_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
- {
- ret = WGLEW_ARB_pixel_format_float;
- continue;
- }
- #endif
- #ifdef WGL_ARB_render_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
- {
- ret = WGLEW_ARB_render_texture;
- continue;
- }
- #endif
- #ifdef WGL_ARB_robustness_application_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
- {
- ret = WGLEW_ARB_robustness_application_isolation;
- continue;
- }
- #endif
- #ifdef WGL_ARB_robustness_share_group_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
- {
- ret = WGLEW_ARB_robustness_share_group_isolation;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
- {
- #ifdef WGL_ATI_pixel_format_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
- {
- ret = WGLEW_ATI_pixel_format_float;
- continue;
- }
- #endif
- #ifdef WGL_ATI_render_texture_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
- {
- ret = WGLEW_ATI_render_texture_rectangle;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
- {
- #ifdef WGL_EXT_colorspace
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"colorspace", 10))
- {
- ret = WGLEW_EXT_colorspace;
- continue;
- }
- #endif
- #ifdef WGL_EXT_create_context_es2_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
- {
- ret = WGLEW_EXT_create_context_es2_profile;
- continue;
- }
- #endif
- #ifdef WGL_EXT_create_context_es_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
- {
- ret = WGLEW_EXT_create_context_es_profile;
- continue;
- }
- #endif
- #ifdef WGL_EXT_depth_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_float", 11))
- {
- ret = WGLEW_EXT_depth_float;
- continue;
- }
- #endif
- #ifdef WGL_EXT_display_color_table
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"display_color_table", 19))
- {
- ret = WGLEW_EXT_display_color_table;
- continue;
- }
- #endif
- #ifdef WGL_EXT_extensions_string
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"extensions_string", 17))
- {
- ret = WGLEW_EXT_extensions_string;
- continue;
- }
- #endif
- #ifdef WGL_EXT_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = WGLEW_EXT_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef WGL_EXT_make_current_read
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
- {
- ret = WGLEW_EXT_make_current_read;
- continue;
- }
- #endif
- #ifdef WGL_EXT_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = WGLEW_EXT_multisample;
- continue;
- }
- #endif
- #ifdef WGL_EXT_pbuffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
- {
- ret = WGLEW_EXT_pbuffer;
- continue;
- }
- #endif
- #ifdef WGL_EXT_pixel_format
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format", 12))
- {
- ret = WGLEW_EXT_pixel_format;
- continue;
- }
- #endif
- #ifdef WGL_EXT_pixel_format_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_packed_float", 25))
- {
- ret = WGLEW_EXT_pixel_format_packed_float;
- continue;
- }
- #endif
- #ifdef WGL_EXT_swap_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
- {
- ret = WGLEW_EXT_swap_control;
- continue;
- }
- #endif
- #ifdef WGL_EXT_swap_control_tear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
- {
- ret = WGLEW_EXT_swap_control_tear;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"I3D_", 4))
- {
- #ifdef WGL_I3D_digital_video_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"digital_video_control", 21))
- {
- ret = WGLEW_I3D_digital_video_control;
- continue;
- }
- #endif
- #ifdef WGL_I3D_gamma
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gamma", 5))
- {
- ret = WGLEW_I3D_gamma;
- continue;
- }
- #endif
- #ifdef WGL_I3D_genlock
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"genlock", 7))
- {
- ret = WGLEW_I3D_genlock;
- continue;
- }
- #endif
- #ifdef WGL_I3D_image_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_buffer", 12))
- {
- ret = WGLEW_I3D_image_buffer;
- continue;
- }
- #endif
- #ifdef WGL_I3D_swap_frame_lock
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_lock", 15))
- {
- ret = WGLEW_I3D_swap_frame_lock;
- continue;
- }
- #endif
- #ifdef WGL_I3D_swap_frame_usage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_frame_usage", 16))
- {
- ret = WGLEW_I3D_swap_frame_usage;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
- {
- #ifdef WGL_NV_DX_interop
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop", 10))
- {
- ret = WGLEW_NV_DX_interop;
- continue;
- }
- #endif
- #ifdef WGL_NV_DX_interop2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"DX_interop2", 11))
- {
- ret = WGLEW_NV_DX_interop2;
- continue;
- }
- #endif
- #ifdef WGL_NV_copy_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
- {
- ret = WGLEW_NV_copy_image;
- continue;
- }
- #endif
- #ifdef WGL_NV_delay_before_swap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"delay_before_swap", 17))
- {
- ret = WGLEW_NV_delay_before_swap;
- continue;
- }
- #endif
- #ifdef WGL_NV_float_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
- {
- ret = WGLEW_NV_float_buffer;
- continue;
- }
- #endif
- #ifdef WGL_NV_gpu_affinity
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_affinity", 12))
- {
- ret = WGLEW_NV_gpu_affinity;
- continue;
- }
- #endif
- #ifdef WGL_NV_multisample_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
- {
- ret = WGLEW_NV_multisample_coverage;
- continue;
- }
- #endif
- #ifdef WGL_NV_present_video
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
- {
- ret = WGLEW_NV_present_video;
- continue;
- }
- #endif
- #ifdef WGL_NV_render_depth_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_depth_texture", 20))
- {
- ret = WGLEW_NV_render_depth_texture;
- continue;
- }
- #endif
- #ifdef WGL_NV_render_texture_rectangle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture_rectangle", 24))
- {
- ret = WGLEW_NV_render_texture_rectangle;
- continue;
- }
- #endif
- #ifdef WGL_NV_swap_group
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
- {
- ret = WGLEW_NV_swap_group;
- continue;
- }
- #endif
- #ifdef WGL_NV_vertex_array_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
- {
- ret = WGLEW_NV_vertex_array_range;
- continue;
- }
- #endif
- #ifdef WGL_NV_video_capture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
- {
- ret = WGLEW_NV_video_capture;
- continue;
- }
- #endif
- #ifdef WGL_NV_video_output
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_output", 12))
- {
- ret = WGLEW_NV_video_output;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
- {
- #ifdef WGL_OML_sync_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
- {
- ret = WGLEW_OML_sync_control;
- continue;
- }
- #endif
- }
- }
- ret = (len == 0);
- }
- return ret;
- }
- #elif !defined(GLEW_OSMESA) && !defined(GLEW_EGL) && !defined(__ANDROID__) && !defined(__native_client__) && !defined(__HAIKU__) && !defined(__APPLE__) || defined(GLEW_APPLE_GLX)
- GLboolean glxewIsSupported (const char* name)
- {
- const GLubyte* pos = (const GLubyte*)name;
- GLuint len = _glewStrLen(pos);
- GLboolean ret = GL_TRUE;
- while (ret && len > 0)
- {
- if(_glewStrSame1(&pos, &len, (const GLubyte*)"GLX_", 4))
- {
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
- {
- #ifdef GLX_VERSION_1_2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
- {
- ret = GLXEW_VERSION_1_2;
- continue;
- }
- #endif
- #ifdef GLX_VERSION_1_3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
- {
- ret = GLXEW_VERSION_1_3;
- continue;
- }
- #endif
- #ifdef GLX_VERSION_1_4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
- {
- ret = GLXEW_VERSION_1_4;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"3DFX_", 5))
- {
- #ifdef GLX_3DFX_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLXEW_3DFX_multisample;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"AMD_", 4))
- {
- #ifdef GLX_AMD_gpu_association
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gpu_association", 15))
- {
- ret = GLXEW_AMD_gpu_association;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARB_", 4))
- {
- #ifdef GLX_ARB_context_flush_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
- {
- ret = GLXEW_ARB_context_flush_control;
- continue;
- }
- #endif
- #ifdef GLX_ARB_create_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
- {
- ret = GLXEW_ARB_create_context;
- continue;
- }
- #endif
- #ifdef GLX_ARB_create_context_no_error
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
- {
- ret = GLXEW_ARB_create_context_no_error;
- continue;
- }
- #endif
- #ifdef GLX_ARB_create_context_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_profile", 22))
- {
- ret = GLXEW_ARB_create_context_profile;
- continue;
- }
- #endif
- #ifdef GLX_ARB_create_context_robustness
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
- {
- ret = GLXEW_ARB_create_context_robustness;
- continue;
- }
- #endif
- #ifdef GLX_ARB_fbconfig_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_float", 14))
- {
- ret = GLXEW_ARB_fbconfig_float;
- continue;
- }
- #endif
- #ifdef GLX_ARB_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = GLXEW_ARB_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef GLX_ARB_get_proc_address
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_proc_address", 16))
- {
- ret = GLXEW_ARB_get_proc_address;
- continue;
- }
- #endif
- #ifdef GLX_ARB_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLXEW_ARB_multisample;
- continue;
- }
- #endif
- #ifdef GLX_ARB_robustness_application_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_application_isolation", 32))
- {
- ret = GLXEW_ARB_robustness_application_isolation;
- continue;
- }
- #endif
- #ifdef GLX_ARB_robustness_share_group_isolation
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_share_group_isolation", 32))
- {
- ret = GLXEW_ARB_robustness_share_group_isolation;
- continue;
- }
- #endif
- #ifdef GLX_ARB_vertex_buffer_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_buffer_object", 20))
- {
- ret = GLXEW_ARB_vertex_buffer_object;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ATI_", 4))
- {
- #ifdef GLX_ATI_pixel_format_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
- {
- ret = GLXEW_ATI_pixel_format_float;
- continue;
- }
- #endif
- #ifdef GLX_ATI_render_texture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"render_texture", 14))
- {
- ret = GLXEW_ATI_render_texture;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
- {
- #ifdef GLX_EXT_buffer_age
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_age", 10))
- {
- ret = GLXEW_EXT_buffer_age;
- continue;
- }
- #endif
- #ifdef GLX_EXT_create_context_es2_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es2_profile", 26))
- {
- ret = GLXEW_EXT_create_context_es2_profile;
- continue;
- }
- #endif
- #ifdef GLX_EXT_create_context_es_profile
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_es_profile", 25))
- {
- ret = GLXEW_EXT_create_context_es_profile;
- continue;
- }
- #endif
- #ifdef GLX_EXT_fbconfig_packed_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig_packed_float", 21))
- {
- ret = GLXEW_EXT_fbconfig_packed_float;
- continue;
- }
- #endif
- #ifdef GLX_EXT_framebuffer_sRGB
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_sRGB", 16))
- {
- ret = GLXEW_EXT_framebuffer_sRGB;
- continue;
- }
- #endif
- #ifdef GLX_EXT_import_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"import_context", 14))
- {
- ret = GLXEW_EXT_import_context;
- continue;
- }
- #endif
- #ifdef GLX_EXT_libglvnd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"libglvnd", 8))
- {
- ret = GLXEW_EXT_libglvnd;
- continue;
- }
- #endif
- #ifdef GLX_EXT_scene_marker
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"scene_marker", 12))
- {
- ret = GLXEW_EXT_scene_marker;
- continue;
- }
- #endif
- #ifdef GLX_EXT_stereo_tree
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stereo_tree", 11))
- {
- ret = GLXEW_EXT_stereo_tree;
- continue;
- }
- #endif
- #ifdef GLX_EXT_swap_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
- {
- ret = GLXEW_EXT_swap_control;
- continue;
- }
- #endif
- #ifdef GLX_EXT_swap_control_tear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control_tear", 17))
- {
- ret = GLXEW_EXT_swap_control_tear;
- continue;
- }
- #endif
- #ifdef GLX_EXT_texture_from_pixmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
- {
- ret = GLXEW_EXT_texture_from_pixmap;
- continue;
- }
- #endif
- #ifdef GLX_EXT_visual_info
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_info", 11))
- {
- ret = GLXEW_EXT_visual_info;
- continue;
- }
- #endif
- #ifdef GLX_EXT_visual_rating
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_rating", 13))
- {
- ret = GLXEW_EXT_visual_rating;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"INTEL_", 6))
- {
- #ifdef GLX_INTEL_swap_event
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_event", 10))
- {
- ret = GLXEW_INTEL_swap_event;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
- {
- #ifdef GLX_MESA_agp_offset
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"agp_offset", 10))
- {
- ret = GLXEW_MESA_agp_offset;
- continue;
- }
- #endif
- #ifdef GLX_MESA_copy_sub_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_sub_buffer", 15))
- {
- ret = GLXEW_MESA_copy_sub_buffer;
- continue;
- }
- #endif
- #ifdef GLX_MESA_pixmap_colormap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_colormap", 15))
- {
- ret = GLXEW_MESA_pixmap_colormap;
- continue;
- }
- #endif
- #ifdef GLX_MESA_query_renderer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_renderer", 14))
- {
- ret = GLXEW_MESA_query_renderer;
- continue;
- }
- #endif
- #ifdef GLX_MESA_release_buffers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"release_buffers", 15))
- {
- ret = GLXEW_MESA_release_buffers;
- continue;
- }
- #endif
- #ifdef GLX_MESA_set_3dfx_mode
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"set_3dfx_mode", 13))
- {
- ret = GLXEW_MESA_set_3dfx_mode;
- continue;
- }
- #endif
- #ifdef GLX_MESA_swap_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
- {
- ret = GLXEW_MESA_swap_control;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
- {
- #ifdef GLX_NV_copy_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_buffer", 11))
- {
- ret = GLXEW_NV_copy_buffer;
- continue;
- }
- #endif
- #ifdef GLX_NV_copy_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"copy_image", 10))
- {
- ret = GLXEW_NV_copy_image;
- continue;
- }
- #endif
- #ifdef GLX_NV_delay_before_swap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"delay_before_swap", 17))
- {
- ret = GLXEW_NV_delay_before_swap;
- continue;
- }
- #endif
- #ifdef GLX_NV_float_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"float_buffer", 12))
- {
- ret = GLXEW_NV_float_buffer;
- continue;
- }
- #endif
- #ifdef GLX_NV_multisample_coverage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample_coverage", 20))
- {
- ret = GLXEW_NV_multisample_coverage;
- continue;
- }
- #endif
- #ifdef GLX_NV_present_video
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"present_video", 13))
- {
- ret = GLXEW_NV_present_video;
- continue;
- }
- #endif
- #ifdef GLX_NV_robustness_video_memory_purge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
- {
- ret = GLXEW_NV_robustness_video_memory_purge;
- continue;
- }
- #endif
- #ifdef GLX_NV_swap_group
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
- {
- ret = GLXEW_NV_swap_group;
- continue;
- }
- #endif
- #ifdef GLX_NV_vertex_array_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vertex_array_range", 18))
- {
- ret = GLXEW_NV_vertex_array_range;
- continue;
- }
- #endif
- #ifdef GLX_NV_video_capture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_capture", 13))
- {
- ret = GLXEW_NV_video_capture;
- continue;
- }
- #endif
- #ifdef GLX_NV_video_out
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_out", 9))
- {
- ret = GLXEW_NV_video_out;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"OML_", 4))
- {
- #ifdef GLX_OML_swap_method
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_method", 11))
- {
- ret = GLXEW_OML_swap_method;
- continue;
- }
- #endif
- #ifdef GLX_OML_sync_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync_control", 12))
- {
- ret = GLXEW_OML_sync_control;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIS_", 5))
- {
- #ifdef GLX_SGIS_blended_overlay
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blended_overlay", 15))
- {
- ret = GLXEW_SGIS_blended_overlay;
- continue;
- }
- #endif
- #ifdef GLX_SGIS_color_range
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"color_range", 11))
- {
- ret = GLXEW_SGIS_color_range;
- continue;
- }
- #endif
- #ifdef GLX_SGIS_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multisample", 11))
- {
- ret = GLXEW_SGIS_multisample;
- continue;
- }
- #endif
- #ifdef GLX_SGIS_shared_multisample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"shared_multisample", 18))
- {
- ret = GLXEW_SGIS_shared_multisample;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGIX_", 5))
- {
- #ifdef GLX_SGIX_fbconfig
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fbconfig", 8))
- {
- ret = GLXEW_SGIX_fbconfig;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_hyperpipe
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"hyperpipe", 9))
- {
- ret = GLXEW_SGIX_hyperpipe;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_pbuffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pbuffer", 7))
- {
- ret = GLXEW_SGIX_pbuffer;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_swap_barrier
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_barrier", 12))
- {
- ret = GLXEW_SGIX_swap_barrier;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_swap_group
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_group", 10))
- {
- ret = GLXEW_SGIX_swap_group;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_video_resize
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
- {
- ret = GLXEW_SGIX_video_resize;
- continue;
- }
- #endif
- #ifdef GLX_SGIX_visual_select_group
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"visual_select_group", 19))
- {
- ret = GLXEW_SGIX_visual_select_group;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SGI_", 4))
- {
- #ifdef GLX_SGI_cushion
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cushion", 7))
- {
- ret = GLXEW_SGI_cushion;
- continue;
- }
- #endif
- #ifdef GLX_SGI_make_current_read
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"make_current_read", 17))
- {
- ret = GLXEW_SGI_make_current_read;
- continue;
- }
- #endif
- #ifdef GLX_SGI_swap_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_control", 12))
- {
- ret = GLXEW_SGI_swap_control;
- continue;
- }
- #endif
- #ifdef GLX_SGI_video_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_sync", 10))
- {
- ret = GLXEW_SGI_video_sync;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"SUN_", 4))
- {
- #ifdef GLX_SUN_get_transparent_index
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_transparent_index", 21))
- {
- ret = GLXEW_SUN_get_transparent_index;
- continue;
- }
- #endif
- #ifdef GLX_SUN_video_resize
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"video_resize", 12))
- {
- ret = GLXEW_SUN_video_resize;
- continue;
- }
- #endif
- }
- }
- ret = (len == 0);
- }
- return ret;
- }
- #elif defined(GLEW_EGL)
- GLboolean eglewIsSupported (const char* name)
- {
- const GLubyte* pos = (const GLubyte*)name;
- GLuint len = _glewStrLen(pos);
- GLboolean ret = GL_TRUE;
- while (ret && len > 0)
- {
- if(_glewStrSame1(&pos, &len, (const GLubyte*)"EGL_", 4))
- {
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"VERSION_", 8))
- {
- #ifdef EGL_VERSION_1_0
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_0", 3))
- {
- ret = EGLEW_VERSION_1_0;
- continue;
- }
- #endif
- #ifdef EGL_VERSION_1_1
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_1", 3))
- {
- ret = EGLEW_VERSION_1_1;
- continue;
- }
- #endif
- #ifdef EGL_VERSION_1_2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_2", 3))
- {
- ret = EGLEW_VERSION_1_2;
- continue;
- }
- #endif
- #ifdef EGL_VERSION_1_3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_3", 3))
- {
- ret = EGLEW_VERSION_1_3;
- continue;
- }
- #endif
- #ifdef EGL_VERSION_1_4
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_4", 3))
- {
- ret = EGLEW_VERSION_1_4;
- continue;
- }
- #endif
- #ifdef EGL_VERSION_1_5
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"1_5", 3))
- {
- ret = EGLEW_VERSION_1_5;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANDROID_", 8))
- {
- #ifdef EGL_ANDROID_blob_cache
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"blob_cache", 10))
- {
- ret = EGLEW_ANDROID_blob_cache;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_create_native_client_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_native_client_buffer", 27))
- {
- ret = EGLEW_ANDROID_create_native_client_buffer;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_framebuffer_target
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"framebuffer_target", 18))
- {
- ret = EGLEW_ANDROID_framebuffer_target;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_front_buffer_auto_refresh
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"front_buffer_auto_refresh", 25))
- {
- ret = EGLEW_ANDROID_front_buffer_auto_refresh;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_image_native_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_buffer", 19))
- {
- ret = EGLEW_ANDROID_image_native_buffer;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_native_fence_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"native_fence_sync", 17))
- {
- ret = EGLEW_ANDROID_native_fence_sync;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_presentation_time
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"presentation_time", 17))
- {
- ret = EGLEW_ANDROID_presentation_time;
- continue;
- }
- #endif
- #ifdef EGL_ANDROID_recordable
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"recordable", 10))
- {
- ret = EGLEW_ANDROID_recordable;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ANGLE_", 6))
- {
- #ifdef EGL_ANGLE_d3d_share_handle_client_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"d3d_share_handle_client_buffer", 30))
- {
- ret = EGLEW_ANGLE_d3d_share_handle_client_buffer;
- continue;
- }
- #endif
- #ifdef EGL_ANGLE_device_d3d
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_d3d", 10))
- {
- ret = EGLEW_ANGLE_device_d3d;
- continue;
- }
- #endif
- #ifdef EGL_ANGLE_query_surface_pointer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"query_surface_pointer", 21))
- {
- ret = EGLEW_ANGLE_query_surface_pointer;
- continue;
- }
- #endif
- #ifdef EGL_ANGLE_surface_d3d_texture_2d_share_handle
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"surface_d3d_texture_2d_share_handle", 35))
- {
- ret = EGLEW_ANGLE_surface_d3d_texture_2d_share_handle;
- continue;
- }
- #endif
- #ifdef EGL_ANGLE_window_fixed_size
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"window_fixed_size", 17))
- {
- ret = EGLEW_ANGLE_window_fixed_size;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"ARM_", 4))
- {
- #ifdef EGL_ARM_implicit_external_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"implicit_external_sync", 22))
- {
- ret = EGLEW_ARM_implicit_external_sync;
- continue;
- }
- #endif
- #ifdef EGL_ARM_pixmap_multisample_discard
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixmap_multisample_discard", 26))
- {
- ret = EGLEW_ARM_pixmap_multisample_discard;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"EXT_", 4))
- {
- #ifdef EGL_EXT_buffer_age
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"buffer_age", 10))
- {
- ret = EGLEW_EXT_buffer_age;
- continue;
- }
- #endif
- #ifdef EGL_EXT_client_extensions
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_extensions", 17))
- {
- ret = EGLEW_EXT_client_extensions;
- continue;
- }
- #endif
- #ifdef EGL_EXT_create_context_robustness
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_robustness", 25))
- {
- ret = EGLEW_EXT_create_context_robustness;
- continue;
- }
- #endif
- #ifdef EGL_EXT_device_base
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_base", 11))
- {
- ret = EGLEW_EXT_device_base;
- continue;
- }
- #endif
- #ifdef EGL_EXT_device_drm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_drm", 10))
- {
- ret = EGLEW_EXT_device_drm;
- continue;
- }
- #endif
- #ifdef EGL_EXT_device_enumeration
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_enumeration", 18))
- {
- ret = EGLEW_EXT_device_enumeration;
- continue;
- }
- #endif
- #ifdef EGL_EXT_device_openwf
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_openwf", 13))
- {
- ret = EGLEW_EXT_device_openwf;
- continue;
- }
- #endif
- #ifdef EGL_EXT_device_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_query", 12))
- {
- ret = EGLEW_EXT_device_query;
- continue;
- }
- #endif
- #ifdef EGL_EXT_gl_colorspace_bt2020_linear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_bt2020_linear", 27))
- {
- ret = EGLEW_EXT_gl_colorspace_bt2020_linear;
- continue;
- }
- #endif
- #ifdef EGL_EXT_gl_colorspace_bt2020_pq
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_bt2020_pq", 23))
- {
- ret = EGLEW_EXT_gl_colorspace_bt2020_pq;
- continue;
- }
- #endif
- #ifdef EGL_EXT_gl_colorspace_scrgb_linear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace_scrgb_linear", 26))
- {
- ret = EGLEW_EXT_gl_colorspace_scrgb_linear;
- continue;
- }
- #endif
- #ifdef EGL_EXT_image_dma_buf_import
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_import", 20))
- {
- ret = EGLEW_EXT_image_dma_buf_import;
- continue;
- }
- #endif
- #ifdef EGL_EXT_image_dma_buf_import_modifiers
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_import_modifiers", 30))
- {
- ret = EGLEW_EXT_image_dma_buf_import_modifiers;
- continue;
- }
- #endif
- #ifdef EGL_EXT_multiview_window
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"multiview_window", 16))
- {
- ret = EGLEW_EXT_multiview_window;
- continue;
- }
- #endif
- #ifdef EGL_EXT_output_base
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_base", 11))
- {
- ret = EGLEW_EXT_output_base;
- continue;
- }
- #endif
- #ifdef EGL_EXT_output_drm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_drm", 10))
- {
- ret = EGLEW_EXT_output_drm;
- continue;
- }
- #endif
- #ifdef EGL_EXT_output_openwf
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"output_openwf", 13))
- {
- ret = EGLEW_EXT_output_openwf;
- continue;
- }
- #endif
- #ifdef EGL_EXT_pixel_format_float
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"pixel_format_float", 18))
- {
- ret = EGLEW_EXT_pixel_format_float;
- continue;
- }
- #endif
- #ifdef EGL_EXT_platform_base
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_base", 13))
- {
- ret = EGLEW_EXT_platform_base;
- continue;
- }
- #endif
- #ifdef EGL_EXT_platform_device
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_device", 15))
- {
- ret = EGLEW_EXT_platform_device;
- continue;
- }
- #endif
- #ifdef EGL_EXT_platform_wayland
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_wayland", 16))
- {
- ret = EGLEW_EXT_platform_wayland;
- continue;
- }
- #endif
- #ifdef EGL_EXT_platform_x11
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_x11", 12))
- {
- ret = EGLEW_EXT_platform_x11;
- continue;
- }
- #endif
- #ifdef EGL_EXT_protected_content
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_content", 17))
- {
- ret = EGLEW_EXT_protected_content;
- continue;
- }
- #endif
- #ifdef EGL_EXT_protected_surface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"protected_surface", 17))
- {
- ret = EGLEW_EXT_protected_surface;
- continue;
- }
- #endif
- #ifdef EGL_EXT_stream_consumer_egloutput
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_egloutput", 25))
- {
- ret = EGLEW_EXT_stream_consumer_egloutput;
- continue;
- }
- #endif
- #ifdef EGL_EXT_surface_SMPTE2086_metadata
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"surface_SMPTE2086_metadata", 26))
- {
- ret = EGLEW_EXT_surface_SMPTE2086_metadata;
- continue;
- }
- #endif
- #ifdef EGL_EXT_swap_buffers_with_damage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_buffers_with_damage", 24))
- {
- ret = EGLEW_EXT_swap_buffers_with_damage;
- continue;
- }
- #endif
- #ifdef EGL_EXT_yuv_surface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"yuv_surface", 11))
- {
- ret = EGLEW_EXT_yuv_surface;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"HI_", 3))
- {
- #ifdef EGL_HI_clientpixmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"clientpixmap", 12))
- {
- ret = EGLEW_HI_clientpixmap;
- continue;
- }
- #endif
- #ifdef EGL_HI_colorformats
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"colorformats", 12))
- {
- ret = EGLEW_HI_colorformats;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"IMG_", 4))
- {
- #ifdef EGL_IMG_context_priority
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_priority", 16))
- {
- ret = EGLEW_IMG_context_priority;
- continue;
- }
- #endif
- #ifdef EGL_IMG_image_plane_attribs
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_plane_attribs", 19))
- {
- ret = EGLEW_IMG_image_plane_attribs;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"KHR_", 4))
- {
- #ifdef EGL_KHR_cl_event
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event", 8))
- {
- ret = EGLEW_KHR_cl_event;
- continue;
- }
- #endif
- #ifdef EGL_KHR_cl_event2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cl_event2", 9))
- {
- ret = EGLEW_KHR_cl_event2;
- continue;
- }
- #endif
- #ifdef EGL_KHR_client_get_all_proc_addresses
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"client_get_all_proc_addresses", 29))
- {
- ret = EGLEW_KHR_client_get_all_proc_addresses;
- continue;
- }
- #endif
- #ifdef EGL_KHR_config_attribs
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"config_attribs", 14))
- {
- ret = EGLEW_KHR_config_attribs;
- continue;
- }
- #endif
- #ifdef EGL_KHR_context_flush_control
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"context_flush_control", 21))
- {
- ret = EGLEW_KHR_context_flush_control;
- continue;
- }
- #endif
- #ifdef EGL_KHR_create_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context", 14))
- {
- ret = EGLEW_KHR_create_context;
- continue;
- }
- #endif
- #ifdef EGL_KHR_create_context_no_error
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"create_context_no_error", 23))
- {
- ret = EGLEW_KHR_create_context_no_error;
- continue;
- }
- #endif
- #ifdef EGL_KHR_debug
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"debug", 5))
- {
- ret = EGLEW_KHR_debug;
- continue;
- }
- #endif
- #ifdef EGL_KHR_fence_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"fence_sync", 10))
- {
- ret = EGLEW_KHR_fence_sync;
- continue;
- }
- #endif
- #ifdef EGL_KHR_get_all_proc_addresses
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"get_all_proc_addresses", 22))
- {
- ret = EGLEW_KHR_get_all_proc_addresses;
- continue;
- }
- #endif
- #ifdef EGL_KHR_gl_colorspace
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_colorspace", 13))
- {
- ret = EGLEW_KHR_gl_colorspace;
- continue;
- }
- #endif
- #ifdef EGL_KHR_gl_renderbuffer_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_renderbuffer_image", 21))
- {
- ret = EGLEW_KHR_gl_renderbuffer_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_gl_texture_2D_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_2D_image", 19))
- {
- ret = EGLEW_KHR_gl_texture_2D_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_gl_texture_3D_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_3D_image", 19))
- {
- ret = EGLEW_KHR_gl_texture_3D_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_gl_texture_cubemap_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"gl_texture_cubemap_image", 24))
- {
- ret = EGLEW_KHR_gl_texture_cubemap_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image", 5))
- {
- ret = EGLEW_KHR_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_image_base
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_base", 10))
- {
- ret = EGLEW_KHR_image_base;
- continue;
- }
- #endif
- #ifdef EGL_KHR_image_pixmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_pixmap", 12))
- {
- ret = EGLEW_KHR_image_pixmap;
- continue;
- }
- #endif
- #ifdef EGL_KHR_lock_surface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface", 12))
- {
- ret = EGLEW_KHR_lock_surface;
- continue;
- }
- #endif
- #ifdef EGL_KHR_lock_surface2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface2", 13))
- {
- ret = EGLEW_KHR_lock_surface2;
- continue;
- }
- #endif
- #ifdef EGL_KHR_lock_surface3
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"lock_surface3", 13))
- {
- ret = EGLEW_KHR_lock_surface3;
- continue;
- }
- #endif
- #ifdef EGL_KHR_mutable_render_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"mutable_render_buffer", 21))
- {
- ret = EGLEW_KHR_mutable_render_buffer;
- continue;
- }
- #endif
- #ifdef EGL_KHR_no_config_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"no_config_context", 17))
- {
- ret = EGLEW_KHR_no_config_context;
- continue;
- }
- #endif
- #ifdef EGL_KHR_partial_update
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"partial_update", 14))
- {
- ret = EGLEW_KHR_partial_update;
- continue;
- }
- #endif
- #ifdef EGL_KHR_platform_android
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_android", 16))
- {
- ret = EGLEW_KHR_platform_android;
- continue;
- }
- #endif
- #ifdef EGL_KHR_platform_gbm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_gbm", 12))
- {
- ret = EGLEW_KHR_platform_gbm;
- continue;
- }
- #endif
- #ifdef EGL_KHR_platform_wayland
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_wayland", 16))
- {
- ret = EGLEW_KHR_platform_wayland;
- continue;
- }
- #endif
- #ifdef EGL_KHR_platform_x11
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_x11", 12))
- {
- ret = EGLEW_KHR_platform_x11;
- continue;
- }
- #endif
- #ifdef EGL_KHR_reusable_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"reusable_sync", 13))
- {
- ret = EGLEW_KHR_reusable_sync;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream", 6))
- {
- ret = EGLEW_KHR_stream;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_attrib
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_attrib", 13))
- {
- ret = EGLEW_KHR_stream_attrib;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_consumer_gltexture
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture", 25))
- {
- ret = EGLEW_KHR_stream_consumer_gltexture;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_cross_process_fd
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_process_fd", 23))
- {
- ret = EGLEW_KHR_stream_cross_process_fd;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_fifo
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo", 11))
- {
- ret = EGLEW_KHR_stream_fifo;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_producer_aldatalocator
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_producer_aldatalocator", 29))
- {
- ret = EGLEW_KHR_stream_producer_aldatalocator;
- continue;
- }
- #endif
- #ifdef EGL_KHR_stream_producer_eglsurface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_producer_eglsurface", 26))
- {
- ret = EGLEW_KHR_stream_producer_eglsurface;
- continue;
- }
- #endif
- #ifdef EGL_KHR_surfaceless_context
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"surfaceless_context", 19))
- {
- ret = EGLEW_KHR_surfaceless_context;
- continue;
- }
- #endif
- #ifdef EGL_KHR_swap_buffers_with_damage
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_buffers_with_damage", 24))
- {
- ret = EGLEW_KHR_swap_buffers_with_damage;
- continue;
- }
- #endif
- #ifdef EGL_KHR_vg_parent_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"vg_parent_image", 15))
- {
- ret = EGLEW_KHR_vg_parent_image;
- continue;
- }
- #endif
- #ifdef EGL_KHR_wait_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"wait_sync", 9))
- {
- ret = EGLEW_KHR_wait_sync;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"MESA_", 5))
- {
- #ifdef EGL_MESA_drm_image
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"drm_image", 9))
- {
- ret = EGLEW_MESA_drm_image;
- continue;
- }
- #endif
- #ifdef EGL_MESA_image_dma_buf_export
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_dma_buf_export", 20))
- {
- ret = EGLEW_MESA_image_dma_buf_export;
- continue;
- }
- #endif
- #ifdef EGL_MESA_platform_gbm
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_gbm", 12))
- {
- ret = EGLEW_MESA_platform_gbm;
- continue;
- }
- #endif
- #ifdef EGL_MESA_platform_surfaceless
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"platform_surfaceless", 20))
- {
- ret = EGLEW_MESA_platform_surfaceless;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NOK_", 4))
- {
- #ifdef EGL_NOK_swap_region
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_region", 11))
- {
- ret = EGLEW_NOK_swap_region;
- continue;
- }
- #endif
- #ifdef EGL_NOK_swap_region2
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"swap_region2", 12))
- {
- ret = EGLEW_NOK_swap_region2;
- continue;
- }
- #endif
- #ifdef EGL_NOK_texture_from_pixmap
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"texture_from_pixmap", 19))
- {
- ret = EGLEW_NOK_texture_from_pixmap;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"NV_", 3))
- {
- #ifdef EGL_NV_3dvision_surface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"3dvision_surface", 16))
- {
- ret = EGLEW_NV_3dvision_surface;
- continue;
- }
- #endif
- #ifdef EGL_NV_coverage_sample
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"coverage_sample", 15))
- {
- ret = EGLEW_NV_coverage_sample;
- continue;
- }
- #endif
- #ifdef EGL_NV_coverage_sample_resolve
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"coverage_sample_resolve", 23))
- {
- ret = EGLEW_NV_coverage_sample_resolve;
- continue;
- }
- #endif
- #ifdef EGL_NV_cuda_event
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"cuda_event", 10))
- {
- ret = EGLEW_NV_cuda_event;
- continue;
- }
- #endif
- #ifdef EGL_NV_depth_nonlinear
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"depth_nonlinear", 15))
- {
- ret = EGLEW_NV_depth_nonlinear;
- continue;
- }
- #endif
- #ifdef EGL_NV_device_cuda
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"device_cuda", 11))
- {
- ret = EGLEW_NV_device_cuda;
- continue;
- }
- #endif
- #ifdef EGL_NV_native_query
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"native_query", 12))
- {
- ret = EGLEW_NV_native_query;
- continue;
- }
- #endif
- #ifdef EGL_NV_post_convert_rounding
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_convert_rounding", 21))
- {
- ret = EGLEW_NV_post_convert_rounding;
- continue;
- }
- #endif
- #ifdef EGL_NV_post_sub_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"post_sub_buffer", 15))
- {
- ret = EGLEW_NV_post_sub_buffer;
- continue;
- }
- #endif
- #ifdef EGL_NV_robustness_video_memory_purge
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"robustness_video_memory_purge", 29))
- {
- ret = EGLEW_NV_robustness_video_memory_purge;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_consumer_gltexture_yuv
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_consumer_gltexture_yuv", 29))
- {
- ret = EGLEW_NV_stream_consumer_gltexture_yuv;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_cross_display
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_display", 20))
- {
- ret = EGLEW_NV_stream_cross_display;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_cross_object
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_object", 19))
- {
- ret = EGLEW_NV_stream_cross_object;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_cross_partition
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_partition", 22))
- {
- ret = EGLEW_NV_stream_cross_partition;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_cross_process
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_process", 20))
- {
- ret = EGLEW_NV_stream_cross_process;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_cross_system
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_cross_system", 19))
- {
- ret = EGLEW_NV_stream_cross_system;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_fifo_next
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo_next", 16))
- {
- ret = EGLEW_NV_stream_fifo_next;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_fifo_synchronous
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_fifo_synchronous", 23))
- {
- ret = EGLEW_NV_stream_fifo_synchronous;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_frame_limits
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_frame_limits", 19))
- {
- ret = EGLEW_NV_stream_frame_limits;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_metadata
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_metadata", 15))
- {
- ret = EGLEW_NV_stream_metadata;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_remote
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_remote", 13))
- {
- ret = EGLEW_NV_stream_remote;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_reset
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_reset", 12))
- {
- ret = EGLEW_NV_stream_reset;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_socket
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket", 13))
- {
- ret = EGLEW_NV_stream_socket;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_socket_inet
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket_inet", 18))
- {
- ret = EGLEW_NV_stream_socket_inet;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_socket_unix
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_socket_unix", 18))
- {
- ret = EGLEW_NV_stream_socket_unix;
- continue;
- }
- #endif
- #ifdef EGL_NV_stream_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"stream_sync", 11))
- {
- ret = EGLEW_NV_stream_sync;
- continue;
- }
- #endif
- #ifdef EGL_NV_sync
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"sync", 4))
- {
- ret = EGLEW_NV_sync;
- continue;
- }
- #endif
- #ifdef EGL_NV_system_time
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"system_time", 11))
- {
- ret = EGLEW_NV_system_time;
- continue;
- }
- #endif
- }
- if (_glewStrSame2(&pos, &len, (const GLubyte*)"TIZEN_", 6))
- {
- #ifdef EGL_TIZEN_image_native_buffer
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_buffer", 19))
- {
- ret = EGLEW_TIZEN_image_native_buffer;
- continue;
- }
- #endif
- #ifdef EGL_TIZEN_image_native_surface
- if (_glewStrSame3(&pos, &len, (const GLubyte*)"image_native_surface", 20))
- {
- ret = EGLEW_TIZEN_image_native_surface;
- continue;
- }
- #endif
- }
- }
- ret = (len == 0);
- }
- return ret;
- }
- #endif /* _WIN32 */
|