gl2ext.h 241 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358
  1. #ifndef __gles2_gl2ext_h_
  2. #define __gles2_gl2ext_h_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2013-2018 The Khronos Group Inc.
  8. **
  9. ** Permission is hereby granted, free of charge, to any person obtaining a
  10. ** copy of this software and/or associated documentation files (the
  11. ** "Materials"), to deal in the Materials without restriction, including
  12. ** without limitation the rights to use, copy, modify, merge, publish,
  13. ** distribute, sublicense, and/or sell copies of the Materials, and to
  14. ** permit persons to whom the Materials are furnished to do so, subject to
  15. ** the following conditions:
  16. **
  17. ** The above copyright notice and this permission notice shall be included
  18. ** in all copies or substantial portions of the Materials.
  19. **
  20. ** THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  21. ** EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  22. ** MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  23. ** IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  24. ** CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  25. ** TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  26. ** MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  27. */
  28. /*
  29. ** This header is generated from the Khronos OpenGL / OpenGL ES XML
  30. ** API Registry. The current version of the Registry, generator scripts
  31. ** used to make the header, and the header can be found at
  32. ** https://github.com/KhronosGroup/OpenGL-Registry
  33. */
  34. #ifndef GL_APIENTRYP
  35. #define GL_APIENTRYP GL_APIENTRY*
  36. #endif
  37. /* Generated on date 20190911 */
  38. /* Generated C header for:
  39. * API: gles2
  40. * Profile: common
  41. * Versions considered: 2\.[0-9]
  42. * Versions emitted: _nomatch_^
  43. * Default extensions included: gles2
  44. * Additional extensions included: _nomatch_^
  45. * Extensions removed: _nomatch_^
  46. */
  47. #ifndef GL_KHR_blend_equation_advanced
  48. #define GL_KHR_blend_equation_advanced 1
  49. #define GL_MULTIPLY_KHR 0x9294
  50. #define GL_SCREEN_KHR 0x9295
  51. #define GL_OVERLAY_KHR 0x9296
  52. #define GL_DARKEN_KHR 0x9297
  53. #define GL_LIGHTEN_KHR 0x9298
  54. #define GL_COLORDODGE_KHR 0x9299
  55. #define GL_COLORBURN_KHR 0x929A
  56. #define GL_HARDLIGHT_KHR 0x929B
  57. #define GL_SOFTLIGHT_KHR 0x929C
  58. #define GL_DIFFERENCE_KHR 0x929E
  59. #define GL_EXCLUSION_KHR 0x92A0
  60. #define GL_HSL_HUE_KHR 0x92AD
  61. #define GL_HSL_SATURATION_KHR 0x92AE
  62. #define GL_HSL_COLOR_KHR 0x92AF
  63. #define GL_HSL_LUMINOSITY_KHR 0x92B0
  64. typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
  65. #ifdef GL_GLEXT_PROTOTYPES
  66. GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
  67. #endif
  68. #endif /* GL_KHR_blend_equation_advanced */
  69. #ifndef GL_KHR_blend_equation_advanced_coherent
  70. #define GL_KHR_blend_equation_advanced_coherent 1
  71. #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
  72. #endif /* GL_KHR_blend_equation_advanced_coherent */
  73. #ifndef GL_KHR_context_flush_control
  74. #define GL_KHR_context_flush_control 1
  75. #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
  76. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
  77. #endif /* GL_KHR_context_flush_control */
  78. #ifndef GL_KHR_debug
  79. #define GL_KHR_debug 1
  80. typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  81. /* Chromium-specific commented out GL_SAMPLER. */
  82. //#define GL_SAMPLER 0x82E6
  83. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
  84. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
  85. #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
  86. #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
  87. #define GL_DEBUG_SOURCE_API_KHR 0x8246
  88. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
  89. #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
  90. #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
  91. #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
  92. #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
  93. #define GL_DEBUG_TYPE_ERROR_KHR 0x824C
  94. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
  95. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
  96. #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
  97. #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
  98. #define GL_DEBUG_TYPE_OTHER_KHR 0x8251
  99. #define GL_DEBUG_TYPE_MARKER_KHR 0x8268
  100. #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
  101. #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
  102. #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
  103. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
  104. #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
  105. #define GL_BUFFER_KHR 0x82E0
  106. #define GL_SHADER_KHR 0x82E1
  107. #define GL_PROGRAM_KHR 0x82E2
  108. #define GL_VERTEX_ARRAY_KHR 0x8074
  109. #define GL_QUERY_KHR 0x82E3
  110. #define GL_PROGRAM_PIPELINE_KHR 0x82E4
  111. #define GL_SAMPLER_KHR 0x82E6
  112. #define GL_MAX_LABEL_LENGTH_KHR 0x82E8
  113. #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
  114. #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
  115. #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
  116. #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
  117. #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
  118. #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
  119. #define GL_DEBUG_OUTPUT_KHR 0x92E0
  120. #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
  121. #define GL_STACK_OVERFLOW_KHR 0x0503
  122. #define GL_STACK_UNDERFLOW_KHR 0x0504
  123. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  124. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  125. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
  126. typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  127. typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  128. typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
  129. typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  130. typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  131. typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
  132. typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  133. typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
  134. #ifdef GL_GLEXT_PROTOTYPES
  135. GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  136. GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  137. GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
  138. GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  139. GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  140. GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
  141. GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  142. GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  143. GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
  144. GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  145. GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
  146. #endif
  147. #endif /* GL_KHR_debug */
  148. #ifndef GL_KHR_no_error
  149. #define GL_KHR_no_error 1
  150. #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
  151. #endif /* GL_KHR_no_error */
  152. #ifndef GL_KHR_parallel_shader_compile
  153. #define GL_KHR_parallel_shader_compile 1
  154. #define GL_MAX_SHADER_COMPILER_THREADS_KHR 0x91B0
  155. #define GL_COMPLETION_STATUS_KHR 0x91B1
  156. typedef void(GL_APIENTRYP PFNGLMAXSHADERCOMPILERTHREADSKHRPROC)(GLuint count);
  157. #ifdef GL_GLEXT_PROTOTYPES
  158. GL_APICALL void GL_APIENTRY glMaxShaderCompilerThreadsKHR(GLuint count);
  159. #endif
  160. #endif /* GL_KHR_parallel_shader_compile */
  161. #ifndef GL_KHR_robust_buffer_access_behavior
  162. #define GL_KHR_robust_buffer_access_behavior 1
  163. #endif /* GL_KHR_robust_buffer_access_behavior */
  164. #ifndef GL_KHR_robustness
  165. #define GL_KHR_robustness 1
  166. #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
  167. #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
  168. #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
  169. #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
  170. #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
  171. #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
  172. #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
  173. #define GL_CONTEXT_LOST_KHR 0x0507
  174. typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
  175. typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  176. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  177. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  178. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  179. #ifdef GL_GLEXT_PROTOTYPES
  180. GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
  181. GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  182. GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  183. GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  184. GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  185. #endif
  186. #endif /* GL_KHR_robustness */
  187. #ifndef GL_KHR_shader_subgroup
  188. #define GL_KHR_shader_subgroup 1
  189. #define GL_SUBGROUP_SIZE_KHR 0x9532
  190. #define GL_SUBGROUP_SUPPORTED_STAGES_KHR 0x9533
  191. #define GL_SUBGROUP_SUPPORTED_FEATURES_KHR 0x9534
  192. #define GL_SUBGROUP_QUAD_ALL_STAGES_KHR 0x9535
  193. #define GL_SUBGROUP_FEATURE_BASIC_BIT_KHR 0x00000001
  194. #define GL_SUBGROUP_FEATURE_VOTE_BIT_KHR 0x00000002
  195. #define GL_SUBGROUP_FEATURE_ARITHMETIC_BIT_KHR 0x00000004
  196. #define GL_SUBGROUP_FEATURE_BALLOT_BIT_KHR 0x00000008
  197. #define GL_SUBGROUP_FEATURE_SHUFFLE_BIT_KHR 0x00000010
  198. #define GL_SUBGROUP_FEATURE_SHUFFLE_RELATIVE_BIT_KHR 0x00000020
  199. #define GL_SUBGROUP_FEATURE_CLUSTERED_BIT_KHR 0x00000040
  200. #define GL_SUBGROUP_FEATURE_QUAD_BIT_KHR 0x00000080
  201. #endif /* GL_KHR_shader_subgroup */
  202. #ifndef GL_KHR_texture_compression_astc_hdr
  203. #define GL_KHR_texture_compression_astc_hdr 1
  204. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  205. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  206. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  207. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  208. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  209. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  210. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  211. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  212. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  213. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  214. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  215. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  216. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  217. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  218. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  219. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  220. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  221. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  222. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  223. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  224. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  225. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  226. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  227. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  228. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  229. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  230. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  231. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  232. #endif /* GL_KHR_texture_compression_astc_hdr */
  233. #ifndef GL_KHR_texture_compression_astc_ldr
  234. #define GL_KHR_texture_compression_astc_ldr 1
  235. #endif /* GL_KHR_texture_compression_astc_ldr */
  236. #ifndef GL_KHR_texture_compression_astc_sliced_3d
  237. #define GL_KHR_texture_compression_astc_sliced_3d 1
  238. #endif /* GL_KHR_texture_compression_astc_sliced_3d */
  239. #ifndef GL_OES_EGL_image
  240. #define GL_OES_EGL_image 1
  241. typedef void *GLeglImageOES;
  242. typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
  243. typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
  244. #ifdef GL_GLEXT_PROTOTYPES
  245. GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
  246. GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
  247. #endif
  248. #endif /* GL_OES_EGL_image */
  249. #ifndef GL_OES_EGL_image_external
  250. #define GL_OES_EGL_image_external 1
  251. #define GL_TEXTURE_EXTERNAL_OES 0x8D65
  252. #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
  253. #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
  254. #define GL_SAMPLER_EXTERNAL_OES 0x8D66
  255. #endif /* GL_OES_EGL_image_external */
  256. #ifndef GL_OES_EGL_image_external_essl3
  257. #define GL_OES_EGL_image_external_essl3 1
  258. #endif /* GL_OES_EGL_image_external_essl3 */
  259. #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
  260. #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
  261. #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
  262. #ifndef GL_OES_compressed_ETC1_RGB8_texture
  263. #define GL_OES_compressed_ETC1_RGB8_texture 1
  264. #define GL_ETC1_RGB8_OES 0x8D64
  265. #endif /* GL_OES_compressed_ETC1_RGB8_texture */
  266. #ifndef GL_OES_compressed_paletted_texture
  267. #define GL_OES_compressed_paletted_texture 1
  268. #define GL_PALETTE4_RGB8_OES 0x8B90
  269. #define GL_PALETTE4_RGBA8_OES 0x8B91
  270. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  271. #define GL_PALETTE4_RGBA4_OES 0x8B93
  272. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  273. #define GL_PALETTE8_RGB8_OES 0x8B95
  274. #define GL_PALETTE8_RGBA8_OES 0x8B96
  275. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  276. #define GL_PALETTE8_RGBA4_OES 0x8B98
  277. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  278. #endif /* GL_OES_compressed_paletted_texture */
  279. #ifndef GL_OES_copy_image
  280. #define GL_OES_copy_image 1
  281. typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAOESPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  282. #ifdef GL_GLEXT_PROTOTYPES
  283. GL_APICALL void GL_APIENTRY glCopyImageSubDataOES (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  284. #endif
  285. #endif /* GL_OES_copy_image */
  286. #ifndef GL_OES_depth24
  287. #define GL_OES_depth24 1
  288. #define GL_DEPTH_COMPONENT24_OES 0x81A6
  289. #endif /* GL_OES_depth24 */
  290. #ifndef GL_OES_depth32
  291. #define GL_OES_depth32 1
  292. #define GL_DEPTH_COMPONENT32_OES 0x81A7
  293. #endif /* GL_OES_depth32 */
  294. #ifndef GL_OES_depth_texture
  295. #define GL_OES_depth_texture 1
  296. #endif /* GL_OES_depth_texture */
  297. #ifndef GL_OES_draw_buffers_indexed
  298. #define GL_OES_draw_buffers_indexed 1
  299. #define GL_MIN 0x8007
  300. #define GL_MAX 0x8008
  301. typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
  302. typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
  303. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
  304. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  305. typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
  306. typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  307. typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  308. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
  309. #ifdef GL_GLEXT_PROTOTYPES
  310. GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
  311. GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
  312. GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
  313. GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  314. GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
  315. GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  316. GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  317. GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
  318. #endif
  319. #endif /* GL_OES_draw_buffers_indexed */
  320. #ifndef GL_OES_draw_elements_base_vertex
  321. #define GL_OES_draw_elements_base_vertex 1
  322. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  323. typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  324. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  325. typedef void(GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC)(
  326. GLenum mode,
  327. const GLsizei* count,
  328. GLenum type,
  329. const void* const* indices,
  330. GLsizei primcount,
  331. const GLint* basevertex);
  332. #ifdef GL_GLEXT_PROTOTYPES
  333. GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  334. GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  335. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  336. GL_APICALL void GL_APIENTRY
  337. glMultiDrawElementsBaseVertexEXT(GLenum mode,
  338. const GLsizei* count,
  339. GLenum type,
  340. const void* const* indices,
  341. GLsizei primcount,
  342. const GLint* basevertex);
  343. #endif
  344. #endif /* GL_OES_draw_elements_base_vertex */
  345. #ifndef GL_OES_element_index_uint
  346. #define GL_OES_element_index_uint 1
  347. #endif /* GL_OES_element_index_uint */
  348. #ifndef GL_OES_fbo_render_mipmap
  349. #define GL_OES_fbo_render_mipmap 1
  350. #endif /* GL_OES_fbo_render_mipmap */
  351. #ifndef GL_OES_fragment_precision_high
  352. #define GL_OES_fragment_precision_high 1
  353. #endif /* GL_OES_fragment_precision_high */
  354. #ifndef GL_OES_geometry_point_size
  355. #define GL_OES_geometry_point_size 1
  356. #endif /* GL_OES_geometry_point_size */
  357. #ifndef GL_OES_geometry_shader
  358. #define GL_OES_geometry_shader 1
  359. #define GL_GEOMETRY_SHADER_OES 0x8DD9
  360. #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
  361. #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
  362. #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
  363. #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
  364. #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
  365. #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
  366. #define GL_LINES_ADJACENCY_OES 0x000A
  367. #define GL_LINE_STRIP_ADJACENCY_OES 0x000B
  368. #define GL_TRIANGLES_ADJACENCY_OES 0x000C
  369. #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
  370. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
  371. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
  372. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
  373. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
  374. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
  375. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
  376. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
  377. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
  378. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
  379. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
  380. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
  381. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
  382. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
  383. #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
  384. #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
  385. #define GL_UNDEFINED_VERTEX_OES 0x8260
  386. #define GL_PRIMITIVES_GENERATED_OES 0x8C87
  387. #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
  388. #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
  389. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
  390. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
  391. #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
  392. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  393. #ifdef GL_GLEXT_PROTOTYPES
  394. GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
  395. #endif
  396. #endif /* GL_OES_geometry_shader */
  397. #ifndef GL_OES_get_program_binary
  398. #define GL_OES_get_program_binary 1
  399. #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
  400. #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
  401. #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
  402. typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  403. typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
  404. #ifdef GL_GLEXT_PROTOTYPES
  405. GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  406. GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
  407. #endif
  408. #endif /* GL_OES_get_program_binary */
  409. #ifndef GL_OES_gpu_shader5
  410. #define GL_OES_gpu_shader5 1
  411. #endif /* GL_OES_gpu_shader5 */
  412. #ifndef GL_OES_mapbuffer
  413. #define GL_OES_mapbuffer 1
  414. #define GL_WRITE_ONLY_OES 0x88B9
  415. #define GL_BUFFER_ACCESS_OES 0x88BB
  416. #define GL_BUFFER_MAPPED_OES 0x88BC
  417. #define GL_BUFFER_MAP_POINTER_OES 0x88BD
  418. typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
  419. typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
  420. typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
  421. #ifdef GL_GLEXT_PROTOTYPES
  422. GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
  423. GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
  424. GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
  425. #endif
  426. #endif /* GL_OES_mapbuffer */
  427. #ifndef GL_OES_packed_depth_stencil
  428. #define GL_OES_packed_depth_stencil 1
  429. #define GL_DEPTH_STENCIL_OES 0x84F9
  430. #define GL_UNSIGNED_INT_24_8_OES 0x84FA
  431. #define GL_DEPTH24_STENCIL8_OES 0x88F0
  432. #endif /* GL_OES_packed_depth_stencil */
  433. #ifndef GL_OES_primitive_bounding_box
  434. #define GL_OES_primitive_bounding_box 1
  435. #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
  436. typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  437. #ifdef GL_GLEXT_PROTOTYPES
  438. GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  439. #endif
  440. #endif /* GL_OES_primitive_bounding_box */
  441. #ifndef GL_OES_required_internalformat
  442. #define GL_OES_required_internalformat 1
  443. #define GL_ALPHA8_OES 0x803C
  444. #define GL_DEPTH_COMPONENT16_OES 0x81A5
  445. #define GL_LUMINANCE4_ALPHA4_OES 0x8043
  446. #define GL_LUMINANCE8_ALPHA8_OES 0x8045
  447. #define GL_LUMINANCE8_OES 0x8040
  448. #define GL_RGBA4_OES 0x8056
  449. #define GL_RGB5_A1_OES 0x8057
  450. #define GL_RGB565_OES 0x8D62
  451. #define GL_RGB8_OES 0x8051
  452. #define GL_RGBA8_OES 0x8058
  453. #define GL_RGB10_EXT 0x8052
  454. #define GL_RGB10_A2_EXT 0x8059
  455. #endif /* GL_OES_required_internalformat */
  456. #ifndef GL_OES_rgb8_rgba8
  457. #define GL_OES_rgb8_rgba8 1
  458. #endif /* GL_OES_rgb8_rgba8 */
  459. #ifndef GL_OES_sample_shading
  460. #define GL_OES_sample_shading 1
  461. #define GL_SAMPLE_SHADING_OES 0x8C36
  462. #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
  463. typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
  464. #ifdef GL_GLEXT_PROTOTYPES
  465. GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
  466. #endif
  467. #endif /* GL_OES_sample_shading */
  468. #ifndef GL_OES_sample_variables
  469. #define GL_OES_sample_variables 1
  470. #endif /* GL_OES_sample_variables */
  471. #ifndef GL_OES_shader_image_atomic
  472. #define GL_OES_shader_image_atomic 1
  473. #endif /* GL_OES_shader_image_atomic */
  474. #ifndef GL_OES_shader_io_blocks
  475. #define GL_OES_shader_io_blocks 1
  476. #endif /* GL_OES_shader_io_blocks */
  477. #ifndef GL_OES_shader_multisample_interpolation
  478. #define GL_OES_shader_multisample_interpolation 1
  479. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
  480. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
  481. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
  482. #endif /* GL_OES_shader_multisample_interpolation */
  483. #ifndef GL_OES_standard_derivatives
  484. #define GL_OES_standard_derivatives 1
  485. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
  486. #endif /* GL_OES_standard_derivatives */
  487. #ifndef GL_OES_stencil1
  488. #define GL_OES_stencil1 1
  489. #define GL_STENCIL_INDEX1_OES 0x8D46
  490. #endif /* GL_OES_stencil1 */
  491. #ifndef GL_OES_stencil4
  492. #define GL_OES_stencil4 1
  493. #define GL_STENCIL_INDEX4_OES 0x8D47
  494. #endif /* GL_OES_stencil4 */
  495. #ifndef GL_OES_surfaceless_context
  496. #define GL_OES_surfaceless_context 1
  497. #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
  498. #endif /* GL_OES_surfaceless_context */
  499. #ifndef GL_OES_tessellation_point_size
  500. #define GL_OES_tessellation_point_size 1
  501. #endif /* GL_OES_tessellation_point_size */
  502. #ifndef GL_OES_tessellation_shader
  503. #define GL_OES_tessellation_shader 1
  504. #define GL_PATCHES_OES 0x000E
  505. #define GL_PATCH_VERTICES_OES 0x8E72
  506. #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
  507. #define GL_TESS_GEN_MODE_OES 0x8E76
  508. #define GL_TESS_GEN_SPACING_OES 0x8E77
  509. #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
  510. #define GL_TESS_GEN_POINT_MODE_OES 0x8E79
  511. #define GL_ISOLINES_OES 0x8E7A
  512. #define GL_QUADS_OES 0x0007
  513. #define GL_FRACTIONAL_ODD_OES 0x8E7B
  514. #define GL_FRACTIONAL_EVEN_OES 0x8E7C
  515. #define GL_MAX_PATCH_VERTICES_OES 0x8E7D
  516. #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
  517. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
  518. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
  519. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
  520. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
  521. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
  522. #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
  523. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
  524. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
  525. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
  526. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
  527. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
  528. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
  529. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
  530. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
  531. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
  532. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
  533. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
  534. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
  535. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
  536. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
  537. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
  538. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
  539. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
  540. #define GL_IS_PER_PATCH_OES 0x92E7
  541. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
  542. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
  543. #define GL_TESS_CONTROL_SHADER_OES 0x8E88
  544. #define GL_TESS_EVALUATION_SHADER_OES 0x8E87
  545. #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
  546. #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
  547. typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
  548. #ifdef GL_GLEXT_PROTOTYPES
  549. GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
  550. #endif
  551. #endif /* GL_OES_tessellation_shader */
  552. #ifndef GL_OES_texture_3D
  553. #define GL_OES_texture_3D 1
  554. #define GL_TEXTURE_WRAP_R_OES 0x8072
  555. #define GL_TEXTURE_3D_OES 0x806F
  556. #define GL_TEXTURE_BINDING_3D_OES 0x806A
  557. #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
  558. #define GL_SAMPLER_3D_OES 0x8B5F
  559. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
  560. typedef void (GL_APIENTRYP PFNGLTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  561. typedef void (GL_APIENTRYP PFNGLTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  562. typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  563. typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  564. typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  565. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  566. // Chromium-specific define to account for issues in gles2_conform_test
  567. // TODO (bajones): This symbol should be updated to the correct version in the
  568. // conformance test upstream and this hack removed. crbug.com/329708
  569. #define PFNGLFRAMEBUFFERTEXTURE3DOES PFNGLFRAMEBUFFERTEXTURE3DOESPROC
  570. #ifdef GL_GLEXT_PROTOTYPES
  571. GL_APICALL void GL_APIENTRY glTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLenum format, GLenum type, const void *pixels);
  572. GL_APICALL void GL_APIENTRY glTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *pixels);
  573. GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  574. GL_APICALL void GL_APIENTRY glCompressedTexImage3DOES (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  575. GL_APICALL void GL_APIENTRY glCompressedTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLsizei imageSize, const void *data);
  576. GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  577. #endif
  578. #endif /* GL_OES_texture_3D */
  579. #ifndef GL_OES_texture_border_clamp
  580. #define GL_OES_texture_border_clamp 1
  581. #define GL_TEXTURE_BORDER_COLOR_OES 0x1004
  582. #define GL_CLAMP_TO_BORDER_OES 0x812D
  583. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
  584. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
  585. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
  586. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
  587. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
  588. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  589. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
  590. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
  591. #ifdef GL_GLEXT_PROTOTYPES
  592. GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
  593. GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
  594. GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
  595. GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
  596. GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
  597. GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
  598. GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
  599. GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
  600. #endif
  601. #endif /* GL_OES_texture_border_clamp */
  602. #ifndef GL_OES_texture_buffer
  603. #define GL_OES_texture_buffer 1
  604. #define GL_TEXTURE_BUFFER_OES 0x8C2A
  605. #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
  606. #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
  607. #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
  608. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
  609. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
  610. #define GL_SAMPLER_BUFFER_OES 0x8DC2
  611. #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
  612. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
  613. #define GL_IMAGE_BUFFER_OES 0x9051
  614. #define GL_INT_IMAGE_BUFFER_OES 0x905C
  615. #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
  616. #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
  617. #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
  618. typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  619. typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  620. #ifdef GL_GLEXT_PROTOTYPES
  621. GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
  622. GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  623. #endif
  624. #endif /* GL_OES_texture_buffer */
  625. #ifndef GL_OES_texture_compression_astc
  626. #define GL_OES_texture_compression_astc 1
  627. #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
  628. #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
  629. #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
  630. #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
  631. #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
  632. #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
  633. #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
  634. #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
  635. #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
  636. #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
  637. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
  638. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
  639. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
  640. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
  641. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
  642. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
  643. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
  644. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
  645. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
  646. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
  647. #endif /* GL_OES_texture_compression_astc */
  648. #ifndef GL_OES_texture_cube_map_array
  649. #define GL_OES_texture_cube_map_array 1
  650. #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
  651. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
  652. #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
  653. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
  654. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
  655. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
  656. #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
  657. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
  658. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
  659. #endif /* GL_OES_texture_cube_map_array */
  660. #ifndef GL_OES_texture_float
  661. #define GL_OES_texture_float 1
  662. #endif /* GL_OES_texture_float */
  663. #ifndef GL_OES_texture_float_linear
  664. #define GL_OES_texture_float_linear 1
  665. #endif /* GL_OES_texture_float_linear */
  666. #ifndef GL_OES_texture_half_float
  667. #define GL_OES_texture_half_float 1
  668. #define GL_HALF_FLOAT_OES 0x8D61
  669. #endif /* GL_OES_texture_half_float */
  670. #ifndef GL_OES_texture_half_float_linear
  671. #define GL_OES_texture_half_float_linear 1
  672. #endif /* GL_OES_texture_half_float_linear */
  673. #ifndef GL_OES_texture_npot
  674. #define GL_OES_texture_npot 1
  675. #endif /* GL_OES_texture_npot */
  676. #ifndef GL_OES_texture_stencil8
  677. #define GL_OES_texture_stencil8 1
  678. #define GL_STENCIL_INDEX_OES 0x1901
  679. #define GL_STENCIL_INDEX8_OES 0x8D48
  680. #endif /* GL_OES_texture_stencil8 */
  681. #ifndef GL_OES_texture_storage_multisample_2d_array
  682. #define GL_OES_texture_storage_multisample_2d_array 1
  683. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
  684. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
  685. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
  686. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
  687. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
  688. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  689. #ifdef GL_GLEXT_PROTOTYPES
  690. GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  691. #endif
  692. #endif /* GL_OES_texture_storage_multisample_2d_array */
  693. #ifndef GL_OES_texture_view
  694. #define GL_OES_texture_view 1
  695. #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
  696. #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
  697. #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
  698. #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
  699. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  700. typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  701. #ifdef GL_GLEXT_PROTOTYPES
  702. GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  703. #endif
  704. #endif /* GL_OES_texture_view */
  705. #ifndef GL_OES_vertex_array_object
  706. #define GL_OES_vertex_array_object 1
  707. #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
  708. typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
  709. typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
  710. typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
  711. typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
  712. #ifdef GL_GLEXT_PROTOTYPES
  713. GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
  714. GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
  715. GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
  716. GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
  717. #endif
  718. #endif /* GL_OES_vertex_array_object */
  719. #ifndef GL_OES_vertex_half_float
  720. #define GL_OES_vertex_half_float 1
  721. #endif /* GL_OES_vertex_half_float */
  722. #ifndef GL_OES_vertex_type_10_10_10_2
  723. #define GL_OES_vertex_type_10_10_10_2 1
  724. #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
  725. #define GL_INT_10_10_10_2_OES 0x8DF7
  726. #endif /* GL_OES_vertex_type_10_10_10_2 */
  727. #ifndef GL_OES_viewport_array
  728. #define GL_OES_viewport_array 1
  729. #define GL_MAX_VIEWPORTS_OES 0x825B
  730. #define GL_VIEWPORT_SUBPIXEL_BITS_OES 0x825C
  731. #define GL_VIEWPORT_BOUNDS_RANGE_OES 0x825D
  732. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_OES 0x825F
  733. typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
  734. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFOESPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  735. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVOESPROC) (GLuint index, const GLfloat *v);
  736. typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVOESPROC) (GLuint first, GLsizei count, const GLint *v);
  737. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDOESPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  738. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVOESPROC) (GLuint index, const GLint *v);
  739. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVOESPROC) (GLuint first, GLsizei count, const GLfloat *v);
  740. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFOESPROC) (GLuint index, GLfloat n, GLfloat f);
  741. typedef void (GL_APIENTRYP PFNGLGETFLOATI_VOESPROC) (GLenum target, GLuint index, GLfloat *data);
  742. #ifdef GL_GLEXT_PROTOTYPES
  743. GL_APICALL void GL_APIENTRY glViewportArrayvOES (GLuint first, GLsizei count, const GLfloat *v);
  744. GL_APICALL void GL_APIENTRY glViewportIndexedfOES (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  745. GL_APICALL void GL_APIENTRY glViewportIndexedfvOES (GLuint index, const GLfloat *v);
  746. GL_APICALL void GL_APIENTRY glScissorArrayvOES (GLuint first, GLsizei count, const GLint *v);
  747. GL_APICALL void GL_APIENTRY glScissorIndexedOES (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  748. GL_APICALL void GL_APIENTRY glScissorIndexedvOES (GLuint index, const GLint *v);
  749. GL_APICALL void GL_APIENTRY glDepthRangeArrayfvOES (GLuint first, GLsizei count, const GLfloat *v);
  750. GL_APICALL void GL_APIENTRY glDepthRangeIndexedfOES (GLuint index, GLfloat n, GLfloat f);
  751. GL_APICALL void GL_APIENTRY glGetFloati_vOES (GLenum target, GLuint index, GLfloat *data);
  752. #endif
  753. #endif /* GL_OES_viewport_array */
  754. #ifndef GL_AMD_compressed_3DC_texture
  755. #define GL_AMD_compressed_3DC_texture 1
  756. #define GL_3DC_X_AMD 0x87F9
  757. #define GL_3DC_XY_AMD 0x87FA
  758. #endif /* GL_AMD_compressed_3DC_texture */
  759. #ifndef GL_AMD_compressed_ATC_texture
  760. #define GL_AMD_compressed_ATC_texture 1
  761. #define GL_ATC_RGB_AMD 0x8C92
  762. #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
  763. #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
  764. #endif /* GL_AMD_compressed_ATC_texture */
  765. #ifndef GL_AMD_framebuffer_multisample_advanced
  766. #define GL_AMD_framebuffer_multisample_advanced 1
  767. #define GL_RENDERBUFFER_STORAGE_SAMPLES_AMD 0x91B2
  768. #define GL_MAX_COLOR_FRAMEBUFFER_SAMPLES_AMD 0x91B3
  769. #define GL_MAX_COLOR_FRAMEBUFFER_STORAGE_SAMPLES_AMD 0x91B4
  770. #define GL_MAX_DEPTH_STENCIL_FRAMEBUFFER_SAMPLES_AMD 0x91B5
  771. #define GL_NUM_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B6
  772. #define GL_SUPPORTED_MULTISAMPLE_MODES_AMD 0x91B7
  773. typedef void(GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)(
  774. GLenum target,
  775. GLsizei samples,
  776. GLsizei storageSamples,
  777. GLenum internalformat,
  778. GLsizei width,
  779. GLsizei height);
  780. typedef void(
  781. GL_APIENTRYP PFNGLNAMEDRENDERBUFFERSTORAGEMULTISAMPLEADVANCEDAMDPROC)(
  782. GLuint renderbuffer,
  783. GLsizei samples,
  784. GLsizei storageSamples,
  785. GLenum internalformat,
  786. GLsizei width,
  787. GLsizei height);
  788. #ifdef GL_GLEXT_PROTOTYPES
  789. GL_APICALL void GL_APIENTRY
  790. glRenderbufferStorageMultisampleAdvancedAMD(GLenum target,
  791. GLsizei samples,
  792. GLsizei storageSamples,
  793. GLenum internalformat,
  794. GLsizei width,
  795. GLsizei height);
  796. GL_APICALL void GL_APIENTRY
  797. glNamedRenderbufferStorageMultisampleAdvancedAMD(GLuint renderbuffer,
  798. GLsizei samples,
  799. GLsizei storageSamples,
  800. GLenum internalformat,
  801. GLsizei width,
  802. GLsizei height);
  803. #endif
  804. #endif /* GL_AMD_framebuffer_multisample_advanced */
  805. #ifndef GL_AMD_performance_monitor
  806. #define GL_AMD_performance_monitor 1
  807. #define GL_COUNTER_TYPE_AMD 0x8BC0
  808. #define GL_COUNTER_RANGE_AMD 0x8BC1
  809. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  810. #define GL_PERCENTAGE_AMD 0x8BC3
  811. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  812. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  813. #define GL_PERFMON_RESULT_AMD 0x8BC6
  814. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  815. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  816. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  817. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  818. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  819. typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  820. typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  821. typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  822. typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  823. typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  824. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  825. #ifdef GL_GLEXT_PROTOTYPES
  826. GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  827. GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  828. GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  829. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  830. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  831. GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  832. GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  833. GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  834. GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  835. GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  836. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  837. #endif
  838. #endif /* GL_AMD_performance_monitor */
  839. #ifndef GL_AMD_program_binary_Z400
  840. #define GL_AMD_program_binary_Z400 1
  841. #define GL_Z400_BINARY_AMD 0x8740
  842. #endif /* GL_AMD_program_binary_Z400 */
  843. #ifndef GL_ANDROID_extension_pack_es31a
  844. #define GL_ANDROID_extension_pack_es31a 1
  845. #endif /* GL_ANDROID_extension_pack_es31a */
  846. #ifndef GL_ANGLE_depth_texture
  847. #define GL_ANGLE_depth_texture 1
  848. #endif /* GL_ANGLE_depth_texture */
  849. #ifndef GL_ANGLE_framebuffer_blit
  850. #define GL_ANGLE_framebuffer_blit 1
  851. #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
  852. #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
  853. #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
  854. #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
  855. typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERANGLEPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  856. #ifdef GL_GLEXT_PROTOTYPES
  857. GL_APICALL void GL_APIENTRY glBlitFramebufferANGLE (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  858. #endif
  859. #endif /* GL_ANGLE_framebuffer_blit */
  860. #ifndef GL_ANGLE_framebuffer_multisample
  861. #define GL_ANGLE_framebuffer_multisample 1
  862. #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
  863. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
  864. #define GL_MAX_SAMPLES_ANGLE 0x8D57
  865. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  866. #ifdef GL_GLEXT_PROTOTYPES
  867. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  868. #endif
  869. #endif /* GL_ANGLE_framebuffer_multisample */
  870. #ifndef GL_ANGLE_instanced_arrays
  871. #define GL_ANGLE_instanced_arrays 1
  872. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
  873. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  874. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  875. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
  876. #ifdef GL_GLEXT_PROTOTYPES
  877. GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  878. GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  879. GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
  880. #endif
  881. #endif /* GL_ANGLE_instanced_arrays */
  882. #ifndef GL_ANGLE_pack_reverse_row_order
  883. #define GL_ANGLE_pack_reverse_row_order 1
  884. #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
  885. #endif /* GL_ANGLE_pack_reverse_row_order */
  886. #ifndef GL_ANGLE_program_binary
  887. #define GL_ANGLE_program_binary 1
  888. #define GL_PROGRAM_BINARY_ANGLE 0x93A6
  889. #endif /* GL_ANGLE_program_binary */
  890. #ifndef GL_ANGLE_texture_compression_dxt3
  891. #define GL_ANGLE_texture_compression_dxt3 1
  892. #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
  893. #endif /* GL_ANGLE_texture_compression_dxt3 */
  894. #ifndef GL_ANGLE_texture_compression_dxt5
  895. #define GL_ANGLE_texture_compression_dxt5 1
  896. #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
  897. #endif /* GL_ANGLE_texture_compression_dxt5 */
  898. #ifndef GL_ANGLE_texture_usage
  899. #define GL_ANGLE_texture_usage 1
  900. #define GL_TEXTURE_USAGE_ANGLE 0x93A2
  901. #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
  902. #endif /* GL_ANGLE_texture_usage */
  903. #ifndef GL_ANGLE_translated_shader_source
  904. #define GL_ANGLE_translated_shader_source 1
  905. #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
  906. typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
  907. #ifdef GL_GLEXT_PROTOTYPES
  908. GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
  909. #endif
  910. #endif /* GL_ANGLE_translated_shader_source */
  911. #ifndef GL_APPLE_clip_distance
  912. #define GL_APPLE_clip_distance 1
  913. #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
  914. #define GL_CLIP_DISTANCE0_APPLE 0x3000
  915. #define GL_CLIP_DISTANCE1_APPLE 0x3001
  916. #define GL_CLIP_DISTANCE2_APPLE 0x3002
  917. #define GL_CLIP_DISTANCE3_APPLE 0x3003
  918. #define GL_CLIP_DISTANCE4_APPLE 0x3004
  919. #define GL_CLIP_DISTANCE5_APPLE 0x3005
  920. #define GL_CLIP_DISTANCE6_APPLE 0x3006
  921. #define GL_CLIP_DISTANCE7_APPLE 0x3007
  922. #endif /* GL_APPLE_clip_distance */
  923. #ifndef GL_APPLE_color_buffer_packed_float
  924. #define GL_APPLE_color_buffer_packed_float 1
  925. #endif /* GL_APPLE_color_buffer_packed_float */
  926. #ifndef GL_APPLE_copy_texture_levels
  927. #define GL_APPLE_copy_texture_levels 1
  928. typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
  929. #ifdef GL_GLEXT_PROTOTYPES
  930. GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
  931. #endif
  932. #endif /* GL_APPLE_copy_texture_levels */
  933. #ifndef GL_APPLE_framebuffer_multisample
  934. #define GL_APPLE_framebuffer_multisample 1
  935. #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
  936. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
  937. #define GL_MAX_SAMPLES_APPLE 0x8D57
  938. #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
  939. #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
  940. #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
  941. #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
  942. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  943. typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
  944. #ifdef GL_GLEXT_PROTOTYPES
  945. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  946. GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
  947. #endif
  948. #endif /* GL_APPLE_framebuffer_multisample */
  949. #ifndef GL_APPLE_rgb_422
  950. #define GL_APPLE_rgb_422 1
  951. #define GL_RGB_422_APPLE 0x8A1F
  952. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  953. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  954. #define GL_RGB_RAW_422_APPLE 0x8A51
  955. #endif /* GL_APPLE_rgb_422 */
  956. #ifndef GL_APPLE_sync
  957. #define GL_APPLE_sync 1
  958. #define GL_SYNC_OBJECT_APPLE 0x8A53
  959. #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
  960. #define GL_OBJECT_TYPE_APPLE 0x9112
  961. #define GL_SYNC_CONDITION_APPLE 0x9113
  962. #define GL_SYNC_STATUS_APPLE 0x9114
  963. #define GL_SYNC_FLAGS_APPLE 0x9115
  964. #define GL_SYNC_FENCE_APPLE 0x9116
  965. #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
  966. #define GL_UNSIGNALED_APPLE 0x9118
  967. #define GL_SIGNALED_APPLE 0x9119
  968. #define GL_ALREADY_SIGNALED_APPLE 0x911A
  969. #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
  970. #define GL_CONDITION_SATISFIED_APPLE 0x911C
  971. #define GL_WAIT_FAILED_APPLE 0x911D
  972. #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
  973. #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
  974. typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
  975. typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
  976. typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
  977. typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  978. typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  979. typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
  980. typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  981. #ifdef GL_GLEXT_PROTOTYPES
  982. GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
  983. GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
  984. GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
  985. GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
  986. GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
  987. GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
  988. GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  989. #endif
  990. #endif /* GL_APPLE_sync */
  991. #ifndef GL_APPLE_texture_format_BGRA8888
  992. #define GL_APPLE_texture_format_BGRA8888 1
  993. #define GL_BGRA_EXT 0x80E1
  994. #define GL_BGRA8_EXT 0x93A1
  995. #endif /* GL_APPLE_texture_format_BGRA8888 */
  996. #ifndef GL_APPLE_texture_max_level
  997. #define GL_APPLE_texture_max_level 1
  998. #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
  999. #endif /* GL_APPLE_texture_max_level */
  1000. #ifndef GL_APPLE_texture_packed_float
  1001. #define GL_APPLE_texture_packed_float 1
  1002. #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
  1003. #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
  1004. #define GL_R11F_G11F_B10F_APPLE 0x8C3A
  1005. #define GL_RGB9_E5_APPLE 0x8C3D
  1006. #endif /* GL_APPLE_texture_packed_float */
  1007. #ifndef GL_ARM_mali_program_binary
  1008. #define GL_ARM_mali_program_binary 1
  1009. #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
  1010. #endif /* GL_ARM_mali_program_binary */
  1011. #ifndef GL_ARM_mali_shader_binary
  1012. #define GL_ARM_mali_shader_binary 1
  1013. #define GL_MALI_SHADER_BINARY_ARM 0x8F60
  1014. #endif /* GL_ARM_mali_shader_binary */
  1015. #ifndef GL_ARM_rgba8
  1016. #define GL_ARM_rgba8 1
  1017. #endif /* GL_ARM_rgba8 */
  1018. #ifndef GL_ARM_shader_framebuffer_fetch
  1019. #define GL_ARM_shader_framebuffer_fetch 1
  1020. #define GL_FETCH_PER_SAMPLE_ARM 0x8F65
  1021. #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
  1022. #endif /* GL_ARM_shader_framebuffer_fetch */
  1023. #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
  1024. #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
  1025. #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
  1026. #ifndef GL_DMP_program_binary
  1027. #define GL_DMP_program_binary 1
  1028. #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
  1029. #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
  1030. #define GL_DMP_PROGRAM_BINARY_DMP 0x9253
  1031. #endif /* GL_DMP_program_binary */
  1032. #ifndef GL_DMP_shader_binary
  1033. #define GL_DMP_shader_binary 1
  1034. #define GL_SHADER_BINARY_DMP 0x9250
  1035. #endif /* GL_DMP_shader_binary */
  1036. #ifndef GL_EXT_EGL_image_array
  1037. #define GL_EXT_EGL_image_array 1
  1038. #endif /* GL_EXT_EGL_image_array */
  1039. #ifndef GL_EXT_EGL_image_storage
  1040. #define GL_EXT_EGL_image_storage 1
  1041. typedef void(GL_APIENTRYP PFNGLEGLIMAGETARGETTEXSTORAGEEXTPROC)(
  1042. GLenum target,
  1043. GLeglImageOES image,
  1044. const GLint* attrib_list);
  1045. typedef void(GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURESTORAGEEXTPROC)(
  1046. GLuint texture,
  1047. GLeglImageOES image,
  1048. const GLint* attrib_list);
  1049. #ifdef GL_GLEXT_PROTOTYPES
  1050. GL_APICALL void GL_APIENTRY
  1051. glEGLImageTargetTexStorageEXT(GLenum target,
  1052. GLeglImageOES image,
  1053. const GLint* attrib_list);
  1054. GL_APICALL void GL_APIENTRY
  1055. glEGLImageTargetTextureStorageEXT(GLuint texture,
  1056. GLeglImageOES image,
  1057. const GLint* attrib_list);
  1058. #endif
  1059. #endif /* GL_EXT_EGL_image_storage */
  1060. #ifndef GL_EXT_YUV_target
  1061. #define GL_EXT_YUV_target 1
  1062. #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
  1063. #endif /* GL_EXT_YUV_target */
  1064. #ifndef GL_EXT_base_instance
  1065. #define GL_EXT_base_instance 1
  1066. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1067. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1068. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1069. #ifdef GL_GLEXT_PROTOTYPES
  1070. GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1071. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1072. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1073. #endif
  1074. #endif /* GL_EXT_base_instance */
  1075. #ifndef GL_EXT_blend_func_extended
  1076. #define GL_EXT_blend_func_extended 1
  1077. #define GL_SRC1_COLOR_EXT 0x88F9
  1078. #define GL_SRC1_ALPHA_EXT 0x8589
  1079. #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
  1080. #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
  1081. #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
  1082. #define GL_LOCATION_INDEX_EXT 0x930F
  1083. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
  1084. typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1085. typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  1086. typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  1087. typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
  1088. #ifdef GL_GLEXT_PROTOTYPES
  1089. GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1090. GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  1091. GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
  1092. GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
  1093. #endif
  1094. #endif /* GL_EXT_blend_func_extended */
  1095. #ifndef GL_EXT_blend_minmax
  1096. #define GL_EXT_blend_minmax 1
  1097. #define GL_MIN_EXT 0x8007
  1098. #define GL_MAX_EXT 0x8008
  1099. #endif /* GL_EXT_blend_minmax */
  1100. #ifndef GL_EXT_buffer_storage
  1101. #define GL_EXT_buffer_storage 1
  1102. #define GL_MAP_READ_BIT 0x0001
  1103. #define GL_MAP_WRITE_BIT 0x0002
  1104. #define GL_MAP_PERSISTENT_BIT_EXT 0x0040
  1105. #define GL_MAP_COHERENT_BIT_EXT 0x0080
  1106. #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
  1107. #define GL_CLIENT_STORAGE_BIT_EXT 0x0200
  1108. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
  1109. #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
  1110. #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
  1111. typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1112. #ifdef GL_GLEXT_PROTOTYPES
  1113. GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1114. #endif
  1115. #endif /* GL_EXT_buffer_storage */
  1116. #ifndef GL_EXT_clear_texture
  1117. #define GL_EXT_clear_texture 1
  1118. typedef void (GL_APIENTRYP PFNGLCLEARTEXIMAGEEXTPROC) (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  1119. typedef void (GL_APIENTRYP PFNGLCLEARTEXSUBIMAGEEXTPROC) (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  1120. #ifdef GL_GLEXT_PROTOTYPES
  1121. GL_APICALL void GL_APIENTRY glClearTexImageEXT (GLuint texture, GLint level, GLenum format, GLenum type, const void *data);
  1122. GL_APICALL void GL_APIENTRY glClearTexSubImageEXT (GLuint texture, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, const void *data);
  1123. #endif
  1124. #endif /* GL_EXT_clear_texture */
  1125. #ifndef GL_EXT_clip_control
  1126. #define GL_EXT_clip_control 1
  1127. #define GL_LOWER_LEFT_EXT 0x8CA1
  1128. #define GL_UPPER_LEFT_EXT 0x8CA2
  1129. #define GL_NEGATIVE_ONE_TO_ONE_EXT 0x935E
  1130. #define GL_ZERO_TO_ONE_EXT 0x935F
  1131. #define GL_CLIP_ORIGIN_EXT 0x935C
  1132. #define GL_CLIP_DEPTH_MODE_EXT 0x935D
  1133. typedef void(GL_APIENTRYP PFNGLCLIPCONTROLEXTPROC)(GLenum origin, GLenum depth);
  1134. #ifdef GL_GLEXT_PROTOTYPES
  1135. GL_APICALL void GL_APIENTRY glClipControlEXT(GLenum origin, GLenum depth);
  1136. #endif
  1137. #endif /* GL_EXT_clip_control */
  1138. #ifndef GL_EXT_clip_cull_distance
  1139. #define GL_EXT_clip_cull_distance 1
  1140. #define GL_MAX_CLIP_DISTANCES_EXT 0x0D32
  1141. #define GL_MAX_CULL_DISTANCES_EXT 0x82F9
  1142. #define GL_MAX_COMBINED_CLIP_AND_CULL_DISTANCES_EXT 0x82FA
  1143. #define GL_CLIP_DISTANCE0_EXT 0x3000
  1144. #define GL_CLIP_DISTANCE1_EXT 0x3001
  1145. #define GL_CLIP_DISTANCE2_EXT 0x3002
  1146. #define GL_CLIP_DISTANCE3_EXT 0x3003
  1147. #define GL_CLIP_DISTANCE4_EXT 0x3004
  1148. #define GL_CLIP_DISTANCE5_EXT 0x3005
  1149. #define GL_CLIP_DISTANCE6_EXT 0x3006
  1150. #define GL_CLIP_DISTANCE7_EXT 0x3007
  1151. #endif /* GL_EXT_clip_cull_distance */
  1152. #ifndef GL_EXT_color_buffer_float
  1153. #define GL_EXT_color_buffer_float 1
  1154. #endif /* GL_EXT_color_buffer_float */
  1155. #ifndef GL_EXT_color_buffer_half_float
  1156. #define GL_EXT_color_buffer_half_float 1
  1157. #define GL_RGBA16F_EXT 0x881A
  1158. #define GL_RGB16F_EXT 0x881B
  1159. #define GL_RG16F_EXT 0x822F
  1160. #define GL_R16F_EXT 0x822D
  1161. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
  1162. #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
  1163. #endif /* GL_EXT_color_buffer_half_float */
  1164. #ifndef GL_EXT_conservative_depth
  1165. #define GL_EXT_conservative_depth 1
  1166. #endif /* GL_EXT_conservative_depth */
  1167. #ifndef GL_EXT_copy_image
  1168. #define GL_EXT_copy_image 1
  1169. typedef void (GL_APIENTRYP PFNGLCOPYIMAGESUBDATAEXTPROC) (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  1170. #ifdef GL_GLEXT_PROTOTYPES
  1171. GL_APICALL void GL_APIENTRY glCopyImageSubDataEXT (GLuint srcName, GLenum srcTarget, GLint srcLevel, GLint srcX, GLint srcY, GLint srcZ, GLuint dstName, GLenum dstTarget, GLint dstLevel, GLint dstX, GLint dstY, GLint dstZ, GLsizei srcWidth, GLsizei srcHeight, GLsizei srcDepth);
  1172. #endif
  1173. #endif /* GL_EXT_copy_image */
  1174. #ifndef GL_EXT_debug_label
  1175. #define GL_EXT_debug_label 1
  1176. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  1177. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  1178. #define GL_SHADER_OBJECT_EXT 0x8B48
  1179. #define GL_BUFFER_OBJECT_EXT 0x9151
  1180. #define GL_QUERY_OBJECT_EXT 0x9153
  1181. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  1182. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1183. typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  1184. typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  1185. #ifdef GL_GLEXT_PROTOTYPES
  1186. GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  1187. GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  1188. #endif
  1189. #endif /* GL_EXT_debug_label */
  1190. #ifndef GL_EXT_debug_marker
  1191. #define GL_EXT_debug_marker 1
  1192. typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  1193. typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  1194. typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  1195. #ifdef GL_GLEXT_PROTOTYPES
  1196. GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  1197. GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  1198. GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
  1199. #endif
  1200. #endif /* GL_EXT_debug_marker */
  1201. #ifndef GL_EXT_depth_clamp
  1202. #define GL_EXT_depth_clamp 1
  1203. #define GL_DEPTH_CLAMP_EXT 0x864F
  1204. #endif /* GL_EXT_depth_clamp */
  1205. #ifndef GL_EXT_discard_framebuffer
  1206. #define GL_EXT_discard_framebuffer 1
  1207. #define GL_COLOR_EXT 0x1800
  1208. #define GL_DEPTH_EXT 0x1801
  1209. #define GL_STENCIL_EXT 0x1802
  1210. typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1211. #ifdef GL_GLEXT_PROTOTYPES
  1212. GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1213. #endif
  1214. #endif /* GL_EXT_discard_framebuffer */
  1215. #ifndef GL_EXT_disjoint_timer_query
  1216. #define GL_EXT_disjoint_timer_query 1
  1217. #define GL_QUERY_COUNTER_BITS_EXT 0x8864
  1218. #define GL_CURRENT_QUERY_EXT 0x8865
  1219. #define GL_QUERY_RESULT_EXT 0x8866
  1220. #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
  1221. #define GL_TIME_ELAPSED_EXT 0x88BF
  1222. #define GL_TIMESTAMP_EXT 0x8E28
  1223. #define GL_GPU_DISJOINT_EXT 0x8FBB
  1224. typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
  1225. typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
  1226. typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
  1227. typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
  1228. typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
  1229. typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
  1230. typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1231. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
  1232. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
  1233. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  1234. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1235. #ifdef GL_GLEXT_PROTOTYPES
  1236. GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
  1237. GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
  1238. GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
  1239. GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
  1240. GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
  1241. GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
  1242. GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
  1243. GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
  1244. GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
  1245. GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  1246. GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  1247. #endif
  1248. #endif /* GL_EXT_disjoint_timer_query */
  1249. #ifndef GL_EXT_draw_buffers
  1250. #define GL_EXT_draw_buffers 1
  1251. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  1252. #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
  1253. #define GL_DRAW_BUFFER0_EXT 0x8825
  1254. #define GL_DRAW_BUFFER1_EXT 0x8826
  1255. #define GL_DRAW_BUFFER2_EXT 0x8827
  1256. #define GL_DRAW_BUFFER3_EXT 0x8828
  1257. #define GL_DRAW_BUFFER4_EXT 0x8829
  1258. #define GL_DRAW_BUFFER5_EXT 0x882A
  1259. #define GL_DRAW_BUFFER6_EXT 0x882B
  1260. #define GL_DRAW_BUFFER7_EXT 0x882C
  1261. #define GL_DRAW_BUFFER8_EXT 0x882D
  1262. #define GL_DRAW_BUFFER9_EXT 0x882E
  1263. #define GL_DRAW_BUFFER10_EXT 0x882F
  1264. #define GL_DRAW_BUFFER11_EXT 0x8830
  1265. #define GL_DRAW_BUFFER12_EXT 0x8831
  1266. #define GL_DRAW_BUFFER13_EXT 0x8832
  1267. #define GL_DRAW_BUFFER14_EXT 0x8833
  1268. #define GL_DRAW_BUFFER15_EXT 0x8834
  1269. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  1270. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  1271. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  1272. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  1273. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  1274. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  1275. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  1276. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  1277. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  1278. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  1279. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  1280. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  1281. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  1282. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  1283. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  1284. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  1285. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
  1286. #ifdef GL_GLEXT_PROTOTYPES
  1287. GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
  1288. #endif
  1289. #endif /* GL_EXT_draw_buffers */
  1290. #ifndef GL_EXT_draw_buffers_indexed
  1291. #define GL_EXT_draw_buffers_indexed 1
  1292. typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
  1293. typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
  1294. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
  1295. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1296. typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
  1297. typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1298. typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1299. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
  1300. #ifdef GL_GLEXT_PROTOTYPES
  1301. GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
  1302. GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
  1303. GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
  1304. GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1305. GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
  1306. GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1307. GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1308. GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
  1309. #endif
  1310. #endif /* GL_EXT_draw_buffers_indexed */
  1311. #ifndef GL_EXT_draw_elements_base_vertex
  1312. #define GL_EXT_draw_elements_base_vertex 1
  1313. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1314. typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1315. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1316. #ifdef GL_GLEXT_PROTOTYPES
  1317. GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1318. GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1319. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1320. #endif
  1321. #endif /* GL_EXT_draw_elements_base_vertex */
  1322. #ifndef GL_EXT_draw_instanced
  1323. #define GL_EXT_draw_instanced 1
  1324. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  1325. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1326. #ifdef GL_GLEXT_PROTOTYPES
  1327. GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  1328. GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1329. #endif
  1330. #endif /* GL_EXT_draw_instanced */
  1331. #ifndef GL_EXT_draw_transform_feedback
  1332. #define GL_EXT_draw_transform_feedback 1
  1333. typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKEXTPROC) (GLenum mode, GLuint id);
  1334. typedef void (GL_APIENTRYP PFNGLDRAWTRANSFORMFEEDBACKINSTANCEDEXTPROC) (GLenum mode, GLuint id, GLsizei instancecount);
  1335. #ifdef GL_GLEXT_PROTOTYPES
  1336. GL_APICALL void GL_APIENTRY glDrawTransformFeedbackEXT (GLenum mode, GLuint id);
  1337. GL_APICALL void GL_APIENTRY glDrawTransformFeedbackInstancedEXT (GLenum mode, GLuint id, GLsizei instancecount);
  1338. #endif
  1339. #endif /* GL_EXT_draw_transform_feedback */
  1340. #ifndef GL_EXT_external_buffer
  1341. #define GL_EXT_external_buffer 1
  1342. typedef void* GLeglClientBufferEXT;
  1343. typedef void(GL_APIENTRYP PFNGLBUFFERSTORAGEEXTERNALEXTPROC)(
  1344. GLenum target,
  1345. GLintptr offset,
  1346. GLsizeiptr size,
  1347. GLeglClientBufferEXT clientBuffer,
  1348. GLbitfield flags);
  1349. typedef void(GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEEXTERNALEXTPROC)(
  1350. GLuint buffer,
  1351. GLintptr offset,
  1352. GLsizeiptr size,
  1353. GLeglClientBufferEXT clientBuffer,
  1354. GLbitfield flags);
  1355. #ifdef GL_GLEXT_PROTOTYPES
  1356. GL_APICALL void GL_APIENTRY
  1357. glBufferStorageExternalEXT(GLenum target,
  1358. GLintptr offset,
  1359. GLsizeiptr size,
  1360. GLeglClientBufferEXT clientBuffer,
  1361. GLbitfield flags);
  1362. GL_APICALL void GL_APIENTRY
  1363. glNamedBufferStorageExternalEXT(GLuint buffer,
  1364. GLintptr offset,
  1365. GLsizeiptr size,
  1366. GLeglClientBufferEXT clientBuffer,
  1367. GLbitfield flags);
  1368. #endif
  1369. #endif /* GL_EXT_external_buffer */
  1370. #ifndef GL_EXT_float_blend
  1371. #define GL_EXT_float_blend 1
  1372. #endif /* GL_EXT_float_blend */
  1373. #ifndef GL_EXT_geometry_point_size
  1374. #define GL_EXT_geometry_point_size 1
  1375. #endif /* GL_EXT_geometry_point_size */
  1376. #ifndef GL_EXT_geometry_shader
  1377. #define GL_EXT_geometry_shader 1
  1378. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  1379. #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
  1380. #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
  1381. #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
  1382. #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
  1383. #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
  1384. #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
  1385. #define GL_LINES_ADJACENCY_EXT 0x000A
  1386. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  1387. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  1388. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  1389. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  1390. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
  1391. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
  1392. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
  1393. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
  1394. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  1395. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  1396. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
  1397. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  1398. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
  1399. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
  1400. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
  1401. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
  1402. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  1403. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  1404. #define GL_UNDEFINED_VERTEX_EXT 0x8260
  1405. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  1406. #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
  1407. #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
  1408. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  1409. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  1410. #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
  1411. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1412. #ifdef GL_GLEXT_PROTOTYPES
  1413. GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1414. #endif
  1415. #endif /* GL_EXT_geometry_shader */
  1416. #ifndef GL_EXT_gpu_shader5
  1417. #define GL_EXT_gpu_shader5 1
  1418. #endif /* GL_EXT_gpu_shader5 */
  1419. #ifndef GL_EXT_instanced_arrays
  1420. #define GL_EXT_instanced_arrays 1
  1421. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
  1422. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
  1423. #ifdef GL_GLEXT_PROTOTYPES
  1424. GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
  1425. #endif
  1426. #endif /* GL_EXT_instanced_arrays */
  1427. #ifndef GL_EXT_map_buffer_range
  1428. #define GL_EXT_map_buffer_range 1
  1429. #define GL_MAP_READ_BIT_EXT 0x0001
  1430. #define GL_MAP_WRITE_BIT_EXT 0x0002
  1431. #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
  1432. #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
  1433. #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
  1434. #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
  1435. typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1436. typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1437. #ifdef GL_GLEXT_PROTOTYPES
  1438. GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1439. GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
  1440. #endif
  1441. #endif /* GL_EXT_map_buffer_range */
  1442. #ifndef GL_EXT_memory_object
  1443. #define GL_EXT_memory_object 1
  1444. #define GL_TEXTURE_TILING_EXT 0x9580
  1445. #define GL_DEDICATED_MEMORY_OBJECT_EXT 0x9581
  1446. #define GL_PROTECTED_MEMORY_OBJECT_EXT 0x959B
  1447. #define GL_NUM_TILING_TYPES_EXT 0x9582
  1448. #define GL_TILING_TYPES_EXT 0x9583
  1449. #define GL_OPTIMAL_TILING_EXT 0x9584
  1450. #define GL_LINEAR_TILING_EXT 0x9585
  1451. #define GL_NUM_DEVICE_UUIDS_EXT 0x9596
  1452. #define GL_DEVICE_UUID_EXT 0x9597
  1453. #define GL_DRIVER_UUID_EXT 0x9598
  1454. #define GL_UUID_SIZE_EXT 16
  1455. typedef void(GL_APIENTRYP PFNGLGETUNSIGNEDBYTEVEXTPROC)(GLenum pname,
  1456. GLubyte* data);
  1457. typedef void(GL_APIENTRYP PFNGLGETUNSIGNEDBYTEI_VEXTPROC)(GLenum target,
  1458. GLuint index,
  1459. GLubyte* data);
  1460. typedef void(GL_APIENTRYP PFNGLDELETEMEMORYOBJECTSEXTPROC)(
  1461. GLsizei n,
  1462. const GLuint* memoryObjects);
  1463. typedef GLboolean(GL_APIENTRYP PFNGLISMEMORYOBJECTEXTPROC)(GLuint memoryObject);
  1464. typedef void(GL_APIENTRYP PFNGLCREATEMEMORYOBJECTSEXTPROC)(
  1465. GLsizei n,
  1466. GLuint* memoryObjects);
  1467. typedef void(GL_APIENTRYP PFNGLMEMORYOBJECTPARAMETERIVEXTPROC)(
  1468. GLuint memoryObject,
  1469. GLenum pname,
  1470. const GLint* params);
  1471. typedef void(GL_APIENTRYP PFNGLGETMEMORYOBJECTPARAMETERIVEXTPROC)(
  1472. GLuint memoryObject,
  1473. GLenum pname,
  1474. GLint* params);
  1475. typedef void(GL_APIENTRYP PFNGLTEXSTORAGEMEM2DEXTPROC)(GLenum target,
  1476. GLsizei levels,
  1477. GLenum internalFormat,
  1478. GLsizei width,
  1479. GLsizei height,
  1480. GLuint memory,
  1481. GLuint64 offset);
  1482. typedef void(GL_APIENTRYP PFNGLTEXSTORAGEMEM2DMULTISAMPLEEXTPROC)(
  1483. GLenum target,
  1484. GLsizei samples,
  1485. GLenum internalFormat,
  1486. GLsizei width,
  1487. GLsizei height,
  1488. GLboolean fixedSampleLocations,
  1489. GLuint memory,
  1490. GLuint64 offset);
  1491. typedef void(GL_APIENTRYP PFNGLTEXSTORAGEMEM3DEXTPROC)(GLenum target,
  1492. GLsizei levels,
  1493. GLenum internalFormat,
  1494. GLsizei width,
  1495. GLsizei height,
  1496. GLsizei depth,
  1497. GLuint memory,
  1498. GLuint64 offset);
  1499. typedef void(GL_APIENTRYP PFNGLTEXSTORAGEMEM3DMULTISAMPLEEXTPROC)(
  1500. GLenum target,
  1501. GLsizei samples,
  1502. GLenum internalFormat,
  1503. GLsizei width,
  1504. GLsizei height,
  1505. GLsizei depth,
  1506. GLboolean fixedSampleLocations,
  1507. GLuint memory,
  1508. GLuint64 offset);
  1509. typedef void(GL_APIENTRYP PFNGLBUFFERSTORAGEMEMEXTPROC)(GLenum target,
  1510. GLsizeiptr size,
  1511. GLuint memory,
  1512. GLuint64 offset);
  1513. typedef void(GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DEXTPROC)(
  1514. GLuint texture,
  1515. GLsizei levels,
  1516. GLenum internalFormat,
  1517. GLsizei width,
  1518. GLsizei height,
  1519. GLuint memory,
  1520. GLuint64 offset);
  1521. typedef void(GL_APIENTRYP PFNGLTEXTURESTORAGEMEM2DMULTISAMPLEEXTPROC)(
  1522. GLuint texture,
  1523. GLsizei samples,
  1524. GLenum internalFormat,
  1525. GLsizei width,
  1526. GLsizei height,
  1527. GLboolean fixedSampleLocations,
  1528. GLuint memory,
  1529. GLuint64 offset);
  1530. typedef void(GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DEXTPROC)(
  1531. GLuint texture,
  1532. GLsizei levels,
  1533. GLenum internalFormat,
  1534. GLsizei width,
  1535. GLsizei height,
  1536. GLsizei depth,
  1537. GLuint memory,
  1538. GLuint64 offset);
  1539. typedef void(GL_APIENTRYP PFNGLTEXTURESTORAGEMEM3DMULTISAMPLEEXTPROC)(
  1540. GLuint texture,
  1541. GLsizei samples,
  1542. GLenum internalFormat,
  1543. GLsizei width,
  1544. GLsizei height,
  1545. GLsizei depth,
  1546. GLboolean fixedSampleLocations,
  1547. GLuint memory,
  1548. GLuint64 offset);
  1549. typedef void(GL_APIENTRYP PFNGLNAMEDBUFFERSTORAGEMEMEXTPROC)(GLuint buffer,
  1550. GLsizeiptr size,
  1551. GLuint memory,
  1552. GLuint64 offset);
  1553. #ifdef GL_GLEXT_PROTOTYPES
  1554. GL_APICALL void GL_APIENTRY glGetUnsignedBytevEXT(GLenum pname, GLubyte* data);
  1555. GL_APICALL void GL_APIENTRY glGetUnsignedBytei_vEXT(GLenum target,
  1556. GLuint index,
  1557. GLubyte* data);
  1558. GL_APICALL void GL_APIENTRY
  1559. glDeleteMemoryObjectsEXT(GLsizei n, const GLuint* memoryObjects);
  1560. GL_APICALL GLboolean GL_APIENTRY glIsMemoryObjectEXT(GLuint memoryObject);
  1561. GL_APICALL void GL_APIENTRY glCreateMemoryObjectsEXT(GLsizei n,
  1562. GLuint* memoryObjects);
  1563. GL_APICALL void GL_APIENTRY glMemoryObjectParameterivEXT(GLuint memoryObject,
  1564. GLenum pname,
  1565. const GLint* params);
  1566. GL_APICALL void GL_APIENTRY glGetMemoryObjectParameterivEXT(GLuint memoryObject,
  1567. GLenum pname,
  1568. GLint* params);
  1569. GL_APICALL void GL_APIENTRY glTexStorageMem2DEXT(GLenum target,
  1570. GLsizei levels,
  1571. GLenum internalFormat,
  1572. GLsizei width,
  1573. GLsizei height,
  1574. GLuint memory,
  1575. GLuint64 offset);
  1576. GL_APICALL void GL_APIENTRY
  1577. glTexStorageMem2DMultisampleEXT(GLenum target,
  1578. GLsizei samples,
  1579. GLenum internalFormat,
  1580. GLsizei width,
  1581. GLsizei height,
  1582. GLboolean fixedSampleLocations,
  1583. GLuint memory,
  1584. GLuint64 offset);
  1585. GL_APICALL void GL_APIENTRY glTexStorageMem3DEXT(GLenum target,
  1586. GLsizei levels,
  1587. GLenum internalFormat,
  1588. GLsizei width,
  1589. GLsizei height,
  1590. GLsizei depth,
  1591. GLuint memory,
  1592. GLuint64 offset);
  1593. GL_APICALL void GL_APIENTRY
  1594. glTexStorageMem3DMultisampleEXT(GLenum target,
  1595. GLsizei samples,
  1596. GLenum internalFormat,
  1597. GLsizei width,
  1598. GLsizei height,
  1599. GLsizei depth,
  1600. GLboolean fixedSampleLocations,
  1601. GLuint memory,
  1602. GLuint64 offset);
  1603. GL_APICALL void GL_APIENTRY glBufferStorageMemEXT(GLenum target,
  1604. GLsizeiptr size,
  1605. GLuint memory,
  1606. GLuint64 offset);
  1607. GL_APICALL void GL_APIENTRY glTextureStorageMem2DEXT(GLuint texture,
  1608. GLsizei levels,
  1609. GLenum internalFormat,
  1610. GLsizei width,
  1611. GLsizei height,
  1612. GLuint memory,
  1613. GLuint64 offset);
  1614. GL_APICALL void GL_APIENTRY
  1615. glTextureStorageMem2DMultisampleEXT(GLuint texture,
  1616. GLsizei samples,
  1617. GLenum internalFormat,
  1618. GLsizei width,
  1619. GLsizei height,
  1620. GLboolean fixedSampleLocations,
  1621. GLuint memory,
  1622. GLuint64 offset);
  1623. GL_APICALL void GL_APIENTRY glTextureStorageMem3DEXT(GLuint texture,
  1624. GLsizei levels,
  1625. GLenum internalFormat,
  1626. GLsizei width,
  1627. GLsizei height,
  1628. GLsizei depth,
  1629. GLuint memory,
  1630. GLuint64 offset);
  1631. GL_APICALL void GL_APIENTRY
  1632. glTextureStorageMem3DMultisampleEXT(GLuint texture,
  1633. GLsizei samples,
  1634. GLenum internalFormat,
  1635. GLsizei width,
  1636. GLsizei height,
  1637. GLsizei depth,
  1638. GLboolean fixedSampleLocations,
  1639. GLuint memory,
  1640. GLuint64 offset);
  1641. GL_APICALL void GL_APIENTRY glNamedBufferStorageMemEXT(GLuint buffer,
  1642. GLsizeiptr size,
  1643. GLuint memory,
  1644. GLuint64 offset);
  1645. #endif
  1646. #endif /* GL_EXT_memory_object */
  1647. #ifndef GL_EXT_memory_object_fd
  1648. #define GL_EXT_memory_object_fd 1
  1649. #define GL_HANDLE_TYPE_OPAQUE_FD_EXT 0x9586
  1650. typedef void(GL_APIENTRYP PFNGLIMPORTMEMORYFDEXTPROC)(GLuint memory,
  1651. GLuint64 size,
  1652. GLenum handleType,
  1653. GLint fd);
  1654. #ifdef GL_GLEXT_PROTOTYPES
  1655. GL_APICALL void GL_APIENTRY glImportMemoryFdEXT(GLuint memory,
  1656. GLuint64 size,
  1657. GLenum handleType,
  1658. GLint fd);
  1659. #endif
  1660. #endif /* GL_EXT_memory_object_fd */
  1661. #ifndef GL_EXT_memory_object_win32
  1662. #define GL_EXT_memory_object_win32 1
  1663. #define GL_HANDLE_TYPE_OPAQUE_WIN32_EXT 0x9587
  1664. #define GL_HANDLE_TYPE_OPAQUE_WIN32_KMT_EXT 0x9588
  1665. #define GL_DEVICE_LUID_EXT 0x9599
  1666. #define GL_DEVICE_NODE_MASK_EXT 0x959A
  1667. #define GL_LUID_SIZE_EXT 8
  1668. #define GL_HANDLE_TYPE_D3D12_TILEPOOL_EXT 0x9589
  1669. #define GL_HANDLE_TYPE_D3D12_RESOURCE_EXT 0x958A
  1670. #define GL_HANDLE_TYPE_D3D11_IMAGE_EXT 0x958B
  1671. #define GL_HANDLE_TYPE_D3D11_IMAGE_KMT_EXT 0x958C
  1672. typedef void(GL_APIENTRYP PFNGLIMPORTMEMORYWIN32HANDLEEXTPROC)(
  1673. GLuint memory,
  1674. GLuint64 size,
  1675. GLenum handleType,
  1676. void* handle);
  1677. typedef void(GL_APIENTRYP PFNGLIMPORTMEMORYWIN32NAMEEXTPROC)(GLuint memory,
  1678. GLuint64 size,
  1679. GLenum handleType,
  1680. const void* name);
  1681. #ifdef GL_GLEXT_PROTOTYPES
  1682. GL_APICALL void GL_APIENTRY glImportMemoryWin32HandleEXT(GLuint memory,
  1683. GLuint64 size,
  1684. GLenum handleType,
  1685. void* handle);
  1686. GL_APICALL void GL_APIENTRY glImportMemoryWin32NameEXT(GLuint memory,
  1687. GLuint64 size,
  1688. GLenum handleType,
  1689. const void* name);
  1690. #endif
  1691. #endif /* GL_EXT_memory_object_win32 */
  1692. #ifndef GL_EXT_multi_draw_arrays
  1693. #define GL_EXT_multi_draw_arrays 1
  1694. typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  1695. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  1696. #ifdef GL_GLEXT_PROTOTYPES
  1697. GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  1698. GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  1699. #endif
  1700. #endif /* GL_EXT_multi_draw_arrays */
  1701. #ifndef GL_EXT_multi_draw_indirect
  1702. #define GL_EXT_multi_draw_indirect 1
  1703. typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1704. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1705. #ifdef GL_GLEXT_PROTOTYPES
  1706. GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1707. GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1708. #endif
  1709. #endif /* GL_EXT_multi_draw_indirect */
  1710. #ifndef GL_EXT_multisampled_compatibility
  1711. #define GL_EXT_multisampled_compatibility 1
  1712. #define GL_MULTISAMPLE_EXT 0x809D
  1713. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  1714. #endif /* GL_EXT_multisampled_compatibility */
  1715. #ifndef GL_EXT_multisampled_render_to_texture
  1716. #define GL_EXT_multisampled_render_to_texture 1
  1717. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
  1718. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  1719. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  1720. #define GL_MAX_SAMPLES_EXT 0x8D57
  1721. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1722. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  1723. #ifdef GL_GLEXT_PROTOTYPES
  1724. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1725. GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  1726. #endif
  1727. #endif /* GL_EXT_multisampled_render_to_texture */
  1728. #ifndef GL_EXT_multiview_draw_buffers
  1729. #define GL_EXT_multiview_draw_buffers 1
  1730. #define GL_COLOR_ATTACHMENT_EXT 0x90F0
  1731. #define GL_MULTIVIEW_EXT 0x90F1
  1732. #define GL_DRAW_BUFFER_EXT 0x0C01
  1733. #define GL_READ_BUFFER_EXT 0x0C02
  1734. #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
  1735. typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
  1736. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
  1737. typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
  1738. #ifdef GL_GLEXT_PROTOTYPES
  1739. GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
  1740. GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
  1741. GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
  1742. #endif
  1743. #endif /* GL_EXT_multiview_draw_buffers */
  1744. #ifndef GL_EXT_multiview_tessellation_geometry_shader
  1745. #define GL_EXT_multiview_tessellation_geometry_shader 1
  1746. #endif /* GL_EXT_multiview_tessellation_geometry_shader */
  1747. #ifndef GL_EXT_multiview_texture_multisample
  1748. #define GL_EXT_multiview_texture_multisample 1
  1749. #endif /* GL_EXT_multiview_texture_multisample */
  1750. #ifndef GL_EXT_multiview_timer_query
  1751. #define GL_EXT_multiview_timer_query 1
  1752. #endif /* GL_EXT_multiview_timer_query */
  1753. #ifndef GL_EXT_occlusion_query_boolean
  1754. #define GL_EXT_occlusion_query_boolean 1
  1755. #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
  1756. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
  1757. #endif /* GL_EXT_occlusion_query_boolean */
  1758. #ifndef GL_EXT_polygon_offset_clamp
  1759. #define GL_EXT_polygon_offset_clamp 1
  1760. #define GL_POLYGON_OFFSET_CLAMP_EXT 0x8E1B
  1761. typedef void (GL_APIENTRYP PFNGLPOLYGONOFFSETCLAMPEXTPROC) (GLfloat factor, GLfloat units, GLfloat clamp);
  1762. #ifdef GL_GLEXT_PROTOTYPES
  1763. GL_APICALL void GL_APIENTRY glPolygonOffsetClampEXT (GLfloat factor, GLfloat units, GLfloat clamp);
  1764. #endif
  1765. #endif /* GL_EXT_polygon_offset_clamp */
  1766. #ifndef GL_EXT_post_depth_coverage
  1767. #define GL_EXT_post_depth_coverage 1
  1768. #endif /* GL_EXT_post_depth_coverage */
  1769. #ifndef GL_EXT_primitive_bounding_box
  1770. #define GL_EXT_primitive_bounding_box 1
  1771. #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
  1772. typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  1773. #ifdef GL_GLEXT_PROTOTYPES
  1774. GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  1775. #endif
  1776. #endif /* GL_EXT_primitive_bounding_box */
  1777. #ifndef GL_EXT_protected_textures
  1778. #define GL_EXT_protected_textures 1
  1779. #define GL_CONTEXT_FLAG_PROTECTED_CONTENT_BIT_EXT 0x00000010
  1780. #define GL_TEXTURE_PROTECTED_EXT 0x8BFA
  1781. #endif /* GL_EXT_protected_textures */
  1782. #ifndef GL_EXT_pvrtc_sRGB
  1783. #define GL_EXT_pvrtc_sRGB 1
  1784. #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
  1785. #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
  1786. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
  1787. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
  1788. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
  1789. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
  1790. #endif /* GL_EXT_pvrtc_sRGB */
  1791. #ifndef GL_EXT_raster_multisample
  1792. #define GL_EXT_raster_multisample 1
  1793. #define GL_RASTER_MULTISAMPLE_EXT 0x9327
  1794. #define GL_RASTER_SAMPLES_EXT 0x9328
  1795. #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
  1796. #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
  1797. #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
  1798. #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
  1799. typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
  1800. #ifdef GL_GLEXT_PROTOTYPES
  1801. GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
  1802. #endif
  1803. #endif /* GL_EXT_raster_multisample */
  1804. #ifndef GL_EXT_read_format_bgra
  1805. #define GL_EXT_read_format_bgra 1
  1806. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
  1807. #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
  1808. #endif /* GL_EXT_read_format_bgra */
  1809. #ifndef GL_EXT_render_snorm
  1810. #define GL_EXT_render_snorm 1
  1811. #define GL_R8_SNORM 0x8F94
  1812. #define GL_RG8_SNORM 0x8F95
  1813. #define GL_RGBA8_SNORM 0x8F97
  1814. #define GL_R16_SNORM_EXT 0x8F98
  1815. #define GL_RG16_SNORM_EXT 0x8F99
  1816. #define GL_RGBA16_SNORM_EXT 0x8F9B
  1817. #endif /* GL_EXT_render_snorm */
  1818. #ifndef GL_EXT_robustness
  1819. #define GL_EXT_robustness 1
  1820. #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
  1821. #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
  1822. #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
  1823. #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
  1824. #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
  1825. #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
  1826. #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
  1827. typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
  1828. typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1829. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1830. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1831. #ifdef GL_GLEXT_PROTOTYPES
  1832. GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
  1833. GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1834. GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1835. GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1836. #endif
  1837. #endif /* GL_EXT_robustness */
  1838. #ifndef GL_EXT_sRGB
  1839. #define GL_EXT_sRGB 1
  1840. #define GL_SRGB_EXT 0x8C40
  1841. #define GL_SRGB_ALPHA_EXT 0x8C42
  1842. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  1843. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
  1844. #endif /* GL_EXT_sRGB */
  1845. #ifndef GL_EXT_sRGB_write_control
  1846. #define GL_EXT_sRGB_write_control 1
  1847. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  1848. #endif /* GL_EXT_sRGB_write_control */
  1849. #ifndef GL_EXT_semaphore
  1850. #define GL_EXT_semaphore 1
  1851. #define GL_LAYOUT_GENERAL_EXT 0x958D
  1852. #define GL_LAYOUT_COLOR_ATTACHMENT_EXT 0x958E
  1853. #define GL_LAYOUT_DEPTH_STENCIL_ATTACHMENT_EXT 0x958F
  1854. #define GL_LAYOUT_DEPTH_STENCIL_READ_ONLY_EXT 0x9590
  1855. #define GL_LAYOUT_SHADER_READ_ONLY_EXT 0x9591
  1856. #define GL_LAYOUT_TRANSFER_SRC_EXT 0x9592
  1857. #define GL_LAYOUT_TRANSFER_DST_EXT 0x9593
  1858. #define GL_LAYOUT_DEPTH_READ_ONLY_STENCIL_ATTACHMENT_EXT 0x9530
  1859. #define GL_LAYOUT_DEPTH_ATTACHMENT_STENCIL_READ_ONLY_EXT 0x9531
  1860. typedef void(GL_APIENTRYP PFNGLGENSEMAPHORESEXTPROC)(GLsizei n,
  1861. GLuint* semaphores);
  1862. typedef void(GL_APIENTRYP PFNGLDELETESEMAPHORESEXTPROC)(
  1863. GLsizei n,
  1864. const GLuint* semaphores);
  1865. typedef GLboolean(GL_APIENTRYP PFNGLISSEMAPHOREEXTPROC)(GLuint semaphore);
  1866. typedef void(GL_APIENTRYP PFNGLSEMAPHOREPARAMETERUI64VEXTPROC)(
  1867. GLuint semaphore,
  1868. GLenum pname,
  1869. const GLuint64* params);
  1870. typedef void(GL_APIENTRYP PFNGLGETSEMAPHOREPARAMETERUI64VEXTPROC)(
  1871. GLuint semaphore,
  1872. GLenum pname,
  1873. GLuint64* params);
  1874. typedef void(GL_APIENTRYP PFNGLWAITSEMAPHOREEXTPROC)(GLuint semaphore,
  1875. GLuint numBufferBarriers,
  1876. const GLuint* buffers,
  1877. GLuint numTextureBarriers,
  1878. const GLuint* textures,
  1879. const GLenum* srcLayouts);
  1880. typedef void(GL_APIENTRYP PFNGLSIGNALSEMAPHOREEXTPROC)(
  1881. GLuint semaphore,
  1882. GLuint numBufferBarriers,
  1883. const GLuint* buffers,
  1884. GLuint numTextureBarriers,
  1885. const GLuint* textures,
  1886. const GLenum* dstLayouts);
  1887. #ifdef GL_GLEXT_PROTOTYPES
  1888. GL_APICALL void GL_APIENTRY glGenSemaphoresEXT(GLsizei n, GLuint* semaphores);
  1889. GL_APICALL void GL_APIENTRY glDeleteSemaphoresEXT(GLsizei n,
  1890. const GLuint* semaphores);
  1891. GL_APICALL GLboolean GL_APIENTRY glIsSemaphoreEXT(GLuint semaphore);
  1892. GL_APICALL void GL_APIENTRY
  1893. glSemaphoreParameterui64vEXT(GLuint semaphore,
  1894. GLenum pname,
  1895. const GLuint64* params);
  1896. GL_APICALL void GL_APIENTRY glGetSemaphoreParameterui64vEXT(GLuint semaphore,
  1897. GLenum pname,
  1898. GLuint64* params);
  1899. GL_APICALL void GL_APIENTRY glWaitSemaphoreEXT(GLuint semaphore,
  1900. GLuint numBufferBarriers,
  1901. const GLuint* buffers,
  1902. GLuint numTextureBarriers,
  1903. const GLuint* textures,
  1904. const GLenum* srcLayouts);
  1905. GL_APICALL void GL_APIENTRY glSignalSemaphoreEXT(GLuint semaphore,
  1906. GLuint numBufferBarriers,
  1907. const GLuint* buffers,
  1908. GLuint numTextureBarriers,
  1909. const GLuint* textures,
  1910. const GLenum* dstLayouts);
  1911. #endif
  1912. #endif /* GL_EXT_semaphore */
  1913. #ifndef GL_EXT_semaphore_fd
  1914. #define GL_EXT_semaphore_fd 1
  1915. typedef void(GL_APIENTRYP PFNGLIMPORTSEMAPHOREFDEXTPROC)(GLuint semaphore,
  1916. GLenum handleType,
  1917. GLint fd);
  1918. #ifdef GL_GLEXT_PROTOTYPES
  1919. GL_APICALL void GL_APIENTRY glImportSemaphoreFdEXT(GLuint semaphore,
  1920. GLenum handleType,
  1921. GLint fd);
  1922. #endif
  1923. #endif /* GL_EXT_semaphore_fd */
  1924. #ifndef GL_EXT_semaphore_win32
  1925. #define GL_EXT_semaphore_win32 1
  1926. #define GL_HANDLE_TYPE_D3D12_FENCE_EXT 0x9594
  1927. #define GL_D3D12_FENCE_VALUE_EXT 0x9595
  1928. typedef void(GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32HANDLEEXTPROC)(
  1929. GLuint semaphore,
  1930. GLenum handleType,
  1931. void* handle);
  1932. typedef void(GL_APIENTRYP PFNGLIMPORTSEMAPHOREWIN32NAMEEXTPROC)(
  1933. GLuint semaphore,
  1934. GLenum handleType,
  1935. const void* name);
  1936. #ifdef GL_GLEXT_PROTOTYPES
  1937. GL_APICALL void GL_APIENTRY glImportSemaphoreWin32HandleEXT(GLuint semaphore,
  1938. GLenum handleType,
  1939. void* handle);
  1940. GL_APICALL void GL_APIENTRY glImportSemaphoreWin32NameEXT(GLuint semaphore,
  1941. GLenum handleType,
  1942. const void* name);
  1943. #endif
  1944. #endif /* GL_EXT_semaphore_win32 */
  1945. #ifndef GL_EXT_separate_shader_objects
  1946. #define GL_EXT_separate_shader_objects 1
  1947. #define GL_ACTIVE_PROGRAM_EXT 0x8259
  1948. #define GL_VERTEX_SHADER_BIT_EXT 0x00000001
  1949. #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
  1950. #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
  1951. #define GL_PROGRAM_SEPARABLE_EXT 0x8258
  1952. #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
  1953. typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
  1954. typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1955. typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
  1956. typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
  1957. typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
  1958. typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1959. typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1960. typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1961. typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  1962. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  1963. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1964. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  1965. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1966. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1967. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1968. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1969. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1970. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1971. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1972. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1973. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1974. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1975. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1976. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1977. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1978. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1979. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1980. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1981. typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1982. typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1983. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  1984. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1985. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1986. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1987. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1988. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1989. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1990. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1991. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1992. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1993. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1994. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1995. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1996. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1997. #ifdef GL_GLEXT_PROTOTYPES
  1998. GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
  1999. GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
  2000. GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
  2001. GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
  2002. GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
  2003. GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  2004. GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
  2005. GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
  2006. GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  2007. GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  2008. GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2009. GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  2010. GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  2011. GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  2012. GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2013. GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  2014. GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  2015. GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  2016. GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2017. GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  2018. GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  2019. GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  2020. GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  2021. GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  2022. GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  2023. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2024. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2025. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2026. GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
  2027. GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
  2028. GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  2029. GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  2030. GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  2031. GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  2032. GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2033. GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2034. GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2035. GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  2036. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2037. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2038. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2039. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2040. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2041. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2042. #endif
  2043. #endif /* GL_EXT_separate_shader_objects */
  2044. #ifndef GL_EXT_shader_framebuffer_fetch
  2045. #define GL_EXT_shader_framebuffer_fetch 1
  2046. #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
  2047. #endif /* GL_EXT_shader_framebuffer_fetch */
  2048. #ifndef GL_EXT_shader_framebuffer_fetch_non_coherent
  2049. #define GL_EXT_shader_framebuffer_fetch_non_coherent 1
  2050. typedef void(GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIEREXTPROC)(void);
  2051. #ifdef GL_GLEXT_PROTOTYPES
  2052. GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierEXT(void);
  2053. #endif
  2054. #endif /* GL_EXT_shader_framebuffer_fetch_non_coherent */
  2055. #ifndef GL_EXT_shader_group_vote
  2056. #define GL_EXT_shader_group_vote 1
  2057. #endif /* GL_EXT_shader_group_vote */
  2058. #ifndef GL_EXT_shader_implicit_conversions
  2059. #define GL_EXT_shader_implicit_conversions 1
  2060. #endif /* GL_EXT_shader_implicit_conversions */
  2061. #ifndef GL_EXT_shader_integer_mix
  2062. #define GL_EXT_shader_integer_mix 1
  2063. #endif /* GL_EXT_shader_integer_mix */
  2064. #ifndef GL_EXT_shader_io_blocks
  2065. #define GL_EXT_shader_io_blocks 1
  2066. #endif /* GL_EXT_shader_io_blocks */
  2067. #ifndef GL_EXT_shader_non_constant_global_initializers
  2068. #define GL_EXT_shader_non_constant_global_initializers 1
  2069. #endif /* GL_EXT_shader_non_constant_global_initializers */
  2070. #ifndef GL_EXT_shader_pixel_local_storage
  2071. #define GL_EXT_shader_pixel_local_storage 1
  2072. #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
  2073. #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
  2074. #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
  2075. #endif /* GL_EXT_shader_pixel_local_storage */
  2076. #ifndef GL_EXT_shader_pixel_local_storage2
  2077. #define GL_EXT_shader_pixel_local_storage2 1
  2078. #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_FAST_SIZE_EXT 0x9650
  2079. #define GL_MAX_SHADER_COMBINED_LOCAL_STORAGE_SIZE_EXT 0x9651
  2080. #define GL_FRAMEBUFFER_INCOMPLETE_INSUFFICIENT_SHADER_COMBINED_LOCAL_STORAGE_EXT 0x9652
  2081. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target, GLsizei size);
  2082. typedef GLsizei (GL_APIENTRYP PFNGLGETFRAMEBUFFERPIXELLOCALSTORAGESIZEEXTPROC) (GLuint target);
  2083. typedef void (GL_APIENTRYP PFNGLCLEARPIXELLOCALSTORAGEUIEXTPROC) (GLsizei offset, GLsizei n, const GLuint *values);
  2084. #ifdef GL_GLEXT_PROTOTYPES
  2085. GL_APICALL void GL_APIENTRY glFramebufferPixelLocalStorageSizeEXT (GLuint target, GLsizei size);
  2086. GL_APICALL GLsizei GL_APIENTRY glGetFramebufferPixelLocalStorageSizeEXT (GLuint target);
  2087. GL_APICALL void GL_APIENTRY glClearPixelLocalStorageuiEXT (GLsizei offset, GLsizei n, const GLuint *values);
  2088. #endif
  2089. #endif /* GL_EXT_shader_pixel_local_storage2 */
  2090. #ifndef GL_EXT_shader_texture_lod
  2091. #define GL_EXT_shader_texture_lod 1
  2092. #endif /* GL_EXT_shader_texture_lod */
  2093. #ifndef GL_EXT_shadow_samplers
  2094. #define GL_EXT_shadow_samplers 1
  2095. #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
  2096. #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
  2097. #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
  2098. #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
  2099. #endif /* GL_EXT_shadow_samplers */
  2100. #ifndef GL_EXT_sparse_texture
  2101. #define GL_EXT_sparse_texture 1
  2102. #define GL_TEXTURE_SPARSE_EXT 0x91A6
  2103. #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
  2104. #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
  2105. #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
  2106. #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
  2107. #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
  2108. #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
  2109. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  2110. #define GL_TEXTURE_3D 0x806F
  2111. #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
  2112. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
  2113. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
  2114. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
  2115. typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  2116. #ifdef GL_GLEXT_PROTOTYPES
  2117. GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  2118. #endif
  2119. #endif /* GL_EXT_sparse_texture */
  2120. #ifndef GL_EXT_sparse_texture2
  2121. #define GL_EXT_sparse_texture2 1
  2122. #endif /* GL_EXT_sparse_texture2 */
  2123. #ifndef GL_EXT_tessellation_point_size
  2124. #define GL_EXT_tessellation_point_size 1
  2125. #endif /* GL_EXT_tessellation_point_size */
  2126. #ifndef GL_EXT_tessellation_shader
  2127. #define GL_EXT_tessellation_shader 1
  2128. #define GL_PATCHES_EXT 0x000E
  2129. #define GL_PATCH_VERTICES_EXT 0x8E72
  2130. #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
  2131. #define GL_TESS_GEN_MODE_EXT 0x8E76
  2132. #define GL_TESS_GEN_SPACING_EXT 0x8E77
  2133. #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
  2134. #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
  2135. #define GL_ISOLINES_EXT 0x8E7A
  2136. #define GL_QUADS_EXT 0x0007
  2137. #define GL_FRACTIONAL_ODD_EXT 0x8E7B
  2138. #define GL_FRACTIONAL_EVEN_EXT 0x8E7C
  2139. #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
  2140. #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
  2141. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
  2142. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
  2143. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
  2144. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
  2145. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
  2146. #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
  2147. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
  2148. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
  2149. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
  2150. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
  2151. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
  2152. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
  2153. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
  2154. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
  2155. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
  2156. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
  2157. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
  2158. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
  2159. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
  2160. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
  2161. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
  2162. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
  2163. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  2164. #define GL_IS_PER_PATCH_EXT 0x92E7
  2165. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
  2166. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
  2167. #define GL_TESS_CONTROL_SHADER_EXT 0x8E88
  2168. #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
  2169. #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
  2170. #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
  2171. typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
  2172. #ifdef GL_GLEXT_PROTOTYPES
  2173. GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
  2174. #endif
  2175. #endif /* GL_EXT_tessellation_shader */
  2176. #ifndef GL_EXT_texture_border_clamp
  2177. #define GL_EXT_texture_border_clamp 1
  2178. #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
  2179. #define GL_CLAMP_TO_BORDER_EXT 0x812D
  2180. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  2181. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  2182. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  2183. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  2184. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
  2185. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  2186. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
  2187. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
  2188. #ifdef GL_GLEXT_PROTOTYPES
  2189. GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  2190. GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  2191. GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  2192. GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  2193. GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
  2194. GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
  2195. GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
  2196. GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
  2197. #endif
  2198. #endif /* GL_EXT_texture_border_clamp */
  2199. #ifndef GL_EXT_texture_buffer
  2200. #define GL_EXT_texture_buffer 1
  2201. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  2202. #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
  2203. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  2204. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  2205. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  2206. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
  2207. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  2208. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  2209. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  2210. #define GL_IMAGE_BUFFER_EXT 0x9051
  2211. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  2212. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  2213. #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
  2214. #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
  2215. typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  2216. typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2217. #ifdef GL_GLEXT_PROTOTYPES
  2218. GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  2219. GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  2220. #endif
  2221. #endif /* GL_EXT_texture_buffer */
  2222. #ifndef GL_EXT_texture_compression_astc_decode_mode
  2223. #define GL_EXT_texture_compression_astc_decode_mode 1
  2224. #define GL_TEXTURE_ASTC_DECODE_PRECISION_EXT 0x8F69
  2225. #endif /* GL_EXT_texture_compression_astc_decode_mode */
  2226. #ifndef GL_EXT_texture_compression_bptc
  2227. #define GL_EXT_texture_compression_bptc 1
  2228. #define GL_COMPRESSED_RGBA_BPTC_UNORM_EXT 0x8E8C
  2229. #define GL_COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT 0x8E8D
  2230. #define GL_COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT 0x8E8E
  2231. #define GL_COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT 0x8E8F
  2232. #endif /* GL_EXT_texture_compression_bptc */
  2233. #ifndef GL_EXT_texture_compression_dxt1
  2234. #define GL_EXT_texture_compression_dxt1 1
  2235. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  2236. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  2237. #endif /* GL_EXT_texture_compression_dxt1 */
  2238. #ifndef GL_EXT_texture_compression_rgtc
  2239. #define GL_EXT_texture_compression_rgtc 1
  2240. #define GL_COMPRESSED_RED_RGTC1_EXT 0x8DBB
  2241. #define GL_COMPRESSED_SIGNED_RED_RGTC1_EXT 0x8DBC
  2242. #define GL_COMPRESSED_RED_GREEN_RGTC2_EXT 0x8DBD
  2243. #define GL_COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT 0x8DBE
  2244. #endif /* GL_EXT_texture_compression_rgtc */
  2245. #ifndef GL_EXT_texture_compression_s3tc
  2246. #define GL_EXT_texture_compression_s3tc 1
  2247. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  2248. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  2249. #endif /* GL_EXT_texture_compression_s3tc */
  2250. #ifndef GL_EXT_texture_compression_s3tc_srgb
  2251. #define GL_EXT_texture_compression_s3tc_srgb 1
  2252. #define GL_COMPRESSED_SRGB_S3TC_DXT1_EXT 0x8C4C
  2253. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT 0x8C4D
  2254. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT 0x8C4E
  2255. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT 0x8C4F
  2256. #endif /* GL_EXT_texture_compression_s3tc_srgb */
  2257. #ifndef GL_EXT_texture_cube_map_array
  2258. #define GL_EXT_texture_cube_map_array 1
  2259. #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
  2260. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
  2261. #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
  2262. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
  2263. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
  2264. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
  2265. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  2266. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  2267. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  2268. #endif /* GL_EXT_texture_cube_map_array */
  2269. #ifndef GL_EXT_texture_filter_anisotropic
  2270. #define GL_EXT_texture_filter_anisotropic 1
  2271. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  2272. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  2273. #endif /* GL_EXT_texture_filter_anisotropic */
  2274. #ifndef GL_EXT_texture_filter_minmax
  2275. #define GL_EXT_texture_filter_minmax 1
  2276. #define GL_TEXTURE_REDUCTION_MODE_EXT 0x9366
  2277. #define GL_WEIGHTED_AVERAGE_EXT 0x9367
  2278. #endif /* GL_EXT_texture_filter_minmax */
  2279. #ifndef GL_EXT_texture_format_BGRA8888
  2280. #define GL_EXT_texture_format_BGRA8888 1
  2281. #endif /* GL_EXT_texture_format_BGRA8888 */
  2282. #ifndef GL_EXT_texture_format_sRGB_override
  2283. #define GL_EXT_texture_format_sRGB_override 1
  2284. #define GL_TEXTURE_FORMAT_SRGB_OVERRIDE_EXT 0x8FBF
  2285. #endif /* GL_EXT_texture_format_sRGB_override */
  2286. #ifndef GL_EXT_texture_mirror_clamp_to_edge
  2287. #define GL_EXT_texture_mirror_clamp_to_edge 1
  2288. #define GL_MIRROR_CLAMP_TO_EDGE_EXT 0x8743
  2289. #endif /* GL_EXT_texture_mirror_clamp_to_edge */
  2290. #ifndef GL_EXT_texture_norm16
  2291. #define GL_EXT_texture_norm16 1
  2292. #define GL_R16_EXT 0x822A
  2293. #define GL_RG16_EXT 0x822C
  2294. #define GL_RGBA16_EXT 0x805B
  2295. #define GL_RGB16_EXT 0x8054
  2296. #define GL_RGB16_SNORM_EXT 0x8F9A
  2297. #endif /* GL_EXT_texture_norm16 */
  2298. #ifndef GL_EXT_texture_query_lod
  2299. #define GL_EXT_texture_query_lod 1
  2300. #endif /* GL_EXT_texture_query_lod */
  2301. #ifndef GL_EXT_texture_rg
  2302. #define GL_EXT_texture_rg 1
  2303. #define GL_RED_EXT 0x1903
  2304. #define GL_RG_EXT 0x8227
  2305. #define GL_R8_EXT 0x8229
  2306. #define GL_RG8_EXT 0x822B
  2307. #endif /* GL_EXT_texture_rg */
  2308. #ifndef GL_EXT_texture_sRGB_R8
  2309. #define GL_EXT_texture_sRGB_R8 1
  2310. #define GL_SR8_EXT 0x8FBD
  2311. #endif /* GL_EXT_texture_sRGB_R8 */
  2312. #ifndef GL_EXT_texture_sRGB_RG8
  2313. #define GL_EXT_texture_sRGB_RG8 1
  2314. #define GL_SRG8_EXT 0x8FBE
  2315. #endif /* GL_EXT_texture_sRGB_RG8 */
  2316. #ifndef GL_EXT_texture_sRGB_decode
  2317. #define GL_EXT_texture_sRGB_decode 1
  2318. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  2319. #define GL_DECODE_EXT 0x8A49
  2320. #define GL_SKIP_DECODE_EXT 0x8A4A
  2321. #endif /* GL_EXT_texture_sRGB_decode */
  2322. #ifndef GL_EXT_texture_shadow_lod
  2323. #define GL_EXT_texture_shadow_lod 1
  2324. #endif /* GL_EXT_texture_shadow_lod */
  2325. #ifndef GL_EXT_texture_storage
  2326. #define GL_EXT_texture_storage 1
  2327. #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
  2328. #define GL_ALPHA8_EXT 0x803C
  2329. #define GL_LUMINANCE8_EXT 0x8040
  2330. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  2331. #define GL_RGBA32F_EXT 0x8814
  2332. #define GL_RGB32F_EXT 0x8815
  2333. #define GL_ALPHA32F_EXT 0x8816
  2334. #define GL_LUMINANCE32F_EXT 0x8818
  2335. #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
  2336. #define GL_ALPHA16F_EXT 0x881C
  2337. #define GL_LUMINANCE16F_EXT 0x881E
  2338. #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
  2339. #define GL_R32F_EXT 0x822E
  2340. #define GL_RG32F_EXT 0x8230
  2341. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2342. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2343. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2344. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2345. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2346. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2347. #ifdef GL_GLEXT_PROTOTYPES
  2348. GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2349. GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2350. GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2351. GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  2352. GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  2353. GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  2354. #endif
  2355. #endif /* GL_EXT_texture_storage */
  2356. #ifndef GL_EXT_texture_type_2_10_10_10_REV
  2357. #define GL_EXT_texture_type_2_10_10_10_REV 1
  2358. #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
  2359. #endif /* GL_EXT_texture_type_2_10_10_10_REV */
  2360. #ifndef GL_EXT_texture_view
  2361. #define GL_EXT_texture_view 1
  2362. #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
  2363. #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
  2364. #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
  2365. #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
  2366. typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2367. #ifdef GL_GLEXT_PROTOTYPES
  2368. GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2369. #endif
  2370. #endif /* GL_EXT_texture_view */
  2371. #ifndef GL_EXT_unpack_subimage
  2372. #define GL_EXT_unpack_subimage 1
  2373. #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
  2374. #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
  2375. #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
  2376. #endif /* GL_EXT_unpack_subimage */
  2377. #ifndef GL_EXT_win32_keyed_mutex
  2378. #define GL_EXT_win32_keyed_mutex 1
  2379. typedef GLboolean(GL_APIENTRYP PFNGLACQUIREKEYEDMUTEXWIN32EXTPROC)(
  2380. GLuint memory,
  2381. GLuint64 key,
  2382. GLuint timeout);
  2383. typedef GLboolean(GL_APIENTRYP PFNGLRELEASEKEYEDMUTEXWIN32EXTPROC)(
  2384. GLuint memory,
  2385. GLuint64 key);
  2386. #ifdef GL_GLEXT_PROTOTYPES
  2387. GL_APICALL GLboolean GL_APIENTRY glAcquireKeyedMutexWin32EXT(GLuint memory,
  2388. GLuint64 key,
  2389. GLuint timeout);
  2390. GL_APICALL GLboolean GL_APIENTRY glReleaseKeyedMutexWin32EXT(GLuint memory,
  2391. GLuint64 key);
  2392. #endif
  2393. #endif /* GL_EXT_win32_keyed_mutex */
  2394. #ifndef GL_EXT_window_rectangles
  2395. #define GL_EXT_window_rectangles 1
  2396. #define GL_INCLUSIVE_EXT 0x8F10
  2397. #define GL_EXCLUSIVE_EXT 0x8F11
  2398. #define GL_WINDOW_RECTANGLE_EXT 0x8F12
  2399. #define GL_WINDOW_RECTANGLE_MODE_EXT 0x8F13
  2400. #define GL_MAX_WINDOW_RECTANGLES_EXT 0x8F14
  2401. #define GL_NUM_WINDOW_RECTANGLES_EXT 0x8F15
  2402. typedef void (GL_APIENTRYP PFNGLWINDOWRECTANGLESEXTPROC) (GLenum mode, GLsizei count, const GLint *box);
  2403. #ifdef GL_GLEXT_PROTOTYPES
  2404. GL_APICALL void GL_APIENTRY glWindowRectanglesEXT (GLenum mode, GLsizei count, const GLint *box);
  2405. #endif
  2406. #endif /* GL_EXT_window_rectangles */
  2407. #ifndef GL_FJ_shader_binary_GCCSO
  2408. #define GL_FJ_shader_binary_GCCSO 1
  2409. #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
  2410. #endif /* GL_FJ_shader_binary_GCCSO */
  2411. #ifndef GL_IMG_bindless_texture
  2412. #define GL_IMG_bindless_texture 1
  2413. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLEIMGPROC) (GLuint texture);
  2414. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLEIMGPROC) (GLuint texture, GLuint sampler);
  2415. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64IMGPROC) (GLint location, GLuint64 value);
  2416. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VIMGPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2417. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64IMGPROC) (GLuint program, GLint location, GLuint64 value);
  2418. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VIMGPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2419. #ifdef GL_GLEXT_PROTOTYPES
  2420. GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleIMG (GLuint texture);
  2421. GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleIMG (GLuint texture, GLuint sampler);
  2422. GL_APICALL void GL_APIENTRY glUniformHandleui64IMG (GLint location, GLuint64 value);
  2423. GL_APICALL void GL_APIENTRY glUniformHandleui64vIMG (GLint location, GLsizei count, const GLuint64 *value);
  2424. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64IMG (GLuint program, GLint location, GLuint64 value);
  2425. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vIMG (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2426. #endif
  2427. #endif /* GL_IMG_bindless_texture */
  2428. #ifndef GL_IMG_framebuffer_downsample
  2429. #define GL_IMG_framebuffer_downsample 1
  2430. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_AND_DOWNSAMPLE_IMG 0x913C
  2431. #define GL_NUM_DOWNSAMPLE_SCALES_IMG 0x913D
  2432. #define GL_DOWNSAMPLE_SCALES_IMG 0x913E
  2433. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SCALE_IMG 0x913F
  2434. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
  2435. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURELAYERDOWNSAMPLEIMGPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
  2436. #ifdef GL_GLEXT_PROTOTYPES
  2437. GL_APICALL void GL_APIENTRY glFramebufferTexture2DDownsampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint xscale, GLint yscale);
  2438. GL_APICALL void GL_APIENTRY glFramebufferTextureLayerDownsampleIMG (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint layer, GLint xscale, GLint yscale);
  2439. #endif
  2440. #endif /* GL_IMG_framebuffer_downsample */
  2441. #ifndef GL_IMG_multisampled_render_to_texture
  2442. #define GL_IMG_multisampled_render_to_texture 1
  2443. #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
  2444. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
  2445. #define GL_MAX_SAMPLES_IMG 0x9135
  2446. #define GL_TEXTURE_SAMPLES_IMG 0x9136
  2447. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2448. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  2449. #ifdef GL_GLEXT_PROTOTYPES
  2450. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2451. GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  2452. #endif
  2453. #endif /* GL_IMG_multisampled_render_to_texture */
  2454. #ifndef GL_IMG_program_binary
  2455. #define GL_IMG_program_binary 1
  2456. #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
  2457. #endif /* GL_IMG_program_binary */
  2458. #ifndef GL_IMG_read_format
  2459. #define GL_IMG_read_format 1
  2460. #define GL_BGRA_IMG 0x80E1
  2461. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
  2462. #endif /* GL_IMG_read_format */
  2463. #ifndef GL_IMG_shader_binary
  2464. #define GL_IMG_shader_binary 1
  2465. #define GL_SGX_BINARY_IMG 0x8C0A
  2466. #endif /* GL_IMG_shader_binary */
  2467. #ifndef GL_IMG_texture_compression_pvrtc
  2468. #define GL_IMG_texture_compression_pvrtc 1
  2469. #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
  2470. #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
  2471. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
  2472. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
  2473. #endif /* GL_IMG_texture_compression_pvrtc */
  2474. #ifndef GL_IMG_texture_compression_pvrtc2
  2475. #define GL_IMG_texture_compression_pvrtc2 1
  2476. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
  2477. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
  2478. #endif /* GL_IMG_texture_compression_pvrtc2 */
  2479. #ifndef GL_IMG_texture_filter_cubic
  2480. #define GL_IMG_texture_filter_cubic 1
  2481. #define GL_CUBIC_IMG 0x9139
  2482. #define GL_CUBIC_MIPMAP_NEAREST_IMG 0x913A
  2483. #define GL_CUBIC_MIPMAP_LINEAR_IMG 0x913B
  2484. #endif /* GL_IMG_texture_filter_cubic */
  2485. #ifndef GL_INTEL_blackhole_render
  2486. #define GL_INTEL_blackhole_render 1
  2487. #define GL_BLACKHOLE_RENDER_INTEL 0x83FC
  2488. #endif /* GL_INTEL_blackhole_render */
  2489. #ifndef GL_INTEL_conservative_rasterization
  2490. #define GL_INTEL_conservative_rasterization 1
  2491. #define GL_CONSERVATIVE_RASTERIZATION_INTEL 0x83FE
  2492. #endif /* GL_INTEL_conservative_rasterization */
  2493. #ifndef GL_INTEL_framebuffer_CMAA
  2494. #define GL_INTEL_framebuffer_CMAA 1
  2495. typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
  2496. #ifdef GL_GLEXT_PROTOTYPES
  2497. GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
  2498. #endif
  2499. #endif /* GL_INTEL_framebuffer_CMAA */
  2500. #ifndef GL_INTEL_performance_query
  2501. #define GL_INTEL_performance_query 1
  2502. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  2503. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  2504. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  2505. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  2506. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  2507. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  2508. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  2509. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  2510. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  2511. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  2512. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  2513. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  2514. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  2515. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  2516. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  2517. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  2518. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  2519. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  2520. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  2521. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  2522. typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  2523. typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  2524. typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  2525. typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  2526. typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  2527. typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  2528. typedef void (GL_APIENTRYP PFNGLGETPERFCOUNTERINFOINTELPROC) (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  2529. typedef void(GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC)(GLuint queryHandle,
  2530. GLuint flags,
  2531. GLsizei dataSize,
  2532. void* data,
  2533. GLuint* bytesWritten);
  2534. typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  2535. typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  2536. #ifdef GL_GLEXT_PROTOTYPES
  2537. GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  2538. GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  2539. GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  2540. GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  2541. GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  2542. GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  2543. GL_APICALL void GL_APIENTRY glGetPerfCounterInfoINTEL (GLuint queryId, GLuint counterId, GLuint counterNameLength, GLchar *counterName, GLuint counterDescLength, GLchar *counterDesc, GLuint *counterOffset, GLuint *counterDataSize, GLuint *counterTypeEnum, GLuint *counterDataTypeEnum, GLuint64 *rawCounterMaxValue);
  2544. GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL(GLuint queryHandle,
  2545. GLuint flags,
  2546. GLsizei dataSize,
  2547. void* data,
  2548. GLuint* bytesWritten);
  2549. GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  2550. GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  2551. #endif
  2552. #endif /* GL_INTEL_performance_query */
  2553. #ifndef GL_MESA_framebuffer_flip_y
  2554. #define GL_MESA_framebuffer_flip_y 1
  2555. #define GL_FRAMEBUFFER_FLIP_Y_MESA 0x8BBB
  2556. typedef void(GL_APIENTRYP PFNGLFRAMEBUFFERPARAMETERIMESAPROC)(GLenum target,
  2557. GLenum pname,
  2558. GLint param);
  2559. typedef void(GL_APIENTRYP PFNGLGETFRAMEBUFFERPARAMETERIVMESAPROC)(
  2560. GLenum target,
  2561. GLenum pname,
  2562. GLint* params);
  2563. #ifdef GL_GLEXT_PROTOTYPES
  2564. GL_APICALL void GL_APIENTRY glFramebufferParameteriMESA(GLenum target,
  2565. GLenum pname,
  2566. GLint param);
  2567. GL_APICALL void GL_APIENTRY glGetFramebufferParameterivMESA(GLenum target,
  2568. GLenum pname,
  2569. GLint* params);
  2570. #endif
  2571. #endif /* GL_MESA_framebuffer_flip_y */
  2572. #ifndef GL_MESA_program_binary_formats
  2573. #define GL_MESA_program_binary_formats 1
  2574. #define GL_PROGRAM_BINARY_FORMAT_MESA 0x875F
  2575. #endif /* GL_MESA_program_binary_formats */
  2576. #ifndef GL_MESA_shader_integer_functions
  2577. #define GL_MESA_shader_integer_functions 1
  2578. #endif /* GL_MESA_shader_integer_functions */
  2579. #ifndef GL_NVX_blend_equation_advanced_multi_draw_buffers
  2580. #define GL_NVX_blend_equation_advanced_multi_draw_buffers 1
  2581. #endif /* GL_NVX_blend_equation_advanced_multi_draw_buffers */
  2582. #ifndef GL_NV_bindless_texture
  2583. #define GL_NV_bindless_texture 1
  2584. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  2585. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  2586. typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  2587. typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  2588. typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2589. typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  2590. typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  2591. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  2592. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2593. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  2594. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2595. typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  2596. typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  2597. #ifdef GL_GLEXT_PROTOTYPES
  2598. GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture);
  2599. GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  2600. GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  2601. GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  2602. GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2603. GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  2604. GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  2605. GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  2606. GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  2607. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  2608. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2609. GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  2610. GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  2611. #endif
  2612. #endif /* GL_NV_bindless_texture */
  2613. #ifndef GL_NV_blend_equation_advanced
  2614. #define GL_NV_blend_equation_advanced 1
  2615. #define GL_BLEND_OVERLAP_NV 0x9281
  2616. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  2617. #define GL_BLUE_NV 0x1905
  2618. #define GL_COLORBURN_NV 0x929A
  2619. #define GL_COLORDODGE_NV 0x9299
  2620. #define GL_CONJOINT_NV 0x9284
  2621. #define GL_CONTRAST_NV 0x92A1
  2622. #define GL_DARKEN_NV 0x9297
  2623. #define GL_DIFFERENCE_NV 0x929E
  2624. #define GL_DISJOINT_NV 0x9283
  2625. #define GL_DST_ATOP_NV 0x928F
  2626. #define GL_DST_IN_NV 0x928B
  2627. #define GL_DST_NV 0x9287
  2628. #define GL_DST_OUT_NV 0x928D
  2629. #define GL_DST_OVER_NV 0x9289
  2630. #define GL_EXCLUSION_NV 0x92A0
  2631. #define GL_GREEN_NV 0x1904
  2632. #define GL_HARDLIGHT_NV 0x929B
  2633. #define GL_HARDMIX_NV 0x92A9
  2634. #define GL_HSL_COLOR_NV 0x92AF
  2635. #define GL_HSL_HUE_NV 0x92AD
  2636. #define GL_HSL_LUMINOSITY_NV 0x92B0
  2637. #define GL_HSL_SATURATION_NV 0x92AE
  2638. #define GL_INVERT_OVG_NV 0x92B4
  2639. #define GL_INVERT_RGB_NV 0x92A3
  2640. #define GL_LIGHTEN_NV 0x9298
  2641. #define GL_LINEARBURN_NV 0x92A5
  2642. #define GL_LINEARDODGE_NV 0x92A4
  2643. #define GL_LINEARLIGHT_NV 0x92A7
  2644. #define GL_MINUS_CLAMPED_NV 0x92B3
  2645. #define GL_MINUS_NV 0x929F
  2646. #define GL_MULTIPLY_NV 0x9294
  2647. #define GL_OVERLAY_NV 0x9296
  2648. #define GL_PINLIGHT_NV 0x92A8
  2649. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  2650. #define GL_PLUS_CLAMPED_NV 0x92B1
  2651. #define GL_PLUS_DARKER_NV 0x9292
  2652. #define GL_PLUS_NV 0x9291
  2653. #define GL_RED_NV 0x1903
  2654. #define GL_SCREEN_NV 0x9295
  2655. #define GL_SOFTLIGHT_NV 0x929C
  2656. #define GL_SRC_ATOP_NV 0x928E
  2657. #define GL_SRC_IN_NV 0x928A
  2658. #define GL_SRC_NV 0x9286
  2659. #define GL_SRC_OUT_NV 0x928C
  2660. #define GL_SRC_OVER_NV 0x9288
  2661. #define GL_UNCORRELATED_NV 0x9282
  2662. #define GL_VIVIDLIGHT_NV 0x92A6
  2663. #define GL_XOR_NV 0x1506
  2664. typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  2665. typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  2666. #ifdef GL_GLEXT_PROTOTYPES
  2667. GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  2668. GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
  2669. #endif
  2670. #endif /* GL_NV_blend_equation_advanced */
  2671. #ifndef GL_NV_blend_equation_advanced_coherent
  2672. #define GL_NV_blend_equation_advanced_coherent 1
  2673. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  2674. #endif /* GL_NV_blend_equation_advanced_coherent */
  2675. #ifndef GL_NV_blend_minmax_factor
  2676. #define GL_NV_blend_minmax_factor 1
  2677. #define GL_FACTOR_MIN_AMD 0x901C
  2678. #define GL_FACTOR_MAX_AMD 0x901D
  2679. #endif /* GL_NV_blend_minmax_factor */
  2680. #ifndef GL_NV_clip_space_w_scaling
  2681. #define GL_NV_clip_space_w_scaling 1
  2682. #define GL_VIEWPORT_POSITION_W_SCALE_NV 0x937C
  2683. #define GL_VIEWPORT_POSITION_W_SCALE_X_COEFF_NV 0x937D
  2684. #define GL_VIEWPORT_POSITION_W_SCALE_Y_COEFF_NV 0x937E
  2685. typedef void(GL_APIENTRYP PFNGLVIEWPORTPOSITIONWSCALENVPROC)(GLuint index,
  2686. GLfloat xcoeff,
  2687. GLfloat ycoeff);
  2688. #ifdef GL_GLEXT_PROTOTYPES
  2689. GL_APICALL void GL_APIENTRY glViewportPositionWScaleNV(GLuint index,
  2690. GLfloat xcoeff,
  2691. GLfloat ycoeff);
  2692. #endif
  2693. #endif /* GL_NV_clip_space_w_scaling */
  2694. #ifndef GL_NV_compute_shader_derivatives
  2695. #define GL_NV_compute_shader_derivatives 1
  2696. #endif /* GL_NV_compute_shader_derivatives */
  2697. #ifndef GL_NV_conditional_render
  2698. #define GL_NV_conditional_render 1
  2699. #define GL_QUERY_WAIT_NV 0x8E13
  2700. #define GL_QUERY_NO_WAIT_NV 0x8E14
  2701. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  2702. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  2703. typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  2704. typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  2705. #ifdef GL_GLEXT_PROTOTYPES
  2706. GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  2707. GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
  2708. #endif
  2709. #endif /* GL_NV_conditional_render */
  2710. #ifndef GL_NV_conservative_raster
  2711. #define GL_NV_conservative_raster 1
  2712. #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
  2713. #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
  2714. #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
  2715. #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
  2716. typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
  2717. #ifdef GL_GLEXT_PROTOTYPES
  2718. GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
  2719. #endif
  2720. #endif /* GL_NV_conservative_raster */
  2721. #ifndef GL_NV_conservative_raster_pre_snap
  2722. #define GL_NV_conservative_raster_pre_snap 1
  2723. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_NV 0x9550
  2724. #endif /* GL_NV_conservative_raster_pre_snap */
  2725. #ifndef GL_NV_conservative_raster_pre_snap_triangles
  2726. #define GL_NV_conservative_raster_pre_snap_triangles 1
  2727. #define GL_CONSERVATIVE_RASTER_MODE_NV 0x954D
  2728. #define GL_CONSERVATIVE_RASTER_MODE_POST_SNAP_NV 0x954E
  2729. #define GL_CONSERVATIVE_RASTER_MODE_PRE_SNAP_TRIANGLES_NV 0x954F
  2730. typedef void (GL_APIENTRYP PFNGLCONSERVATIVERASTERPARAMETERINVPROC) (GLenum pname, GLint param);
  2731. #ifdef GL_GLEXT_PROTOTYPES
  2732. GL_APICALL void GL_APIENTRY glConservativeRasterParameteriNV (GLenum pname, GLint param);
  2733. #endif
  2734. #endif /* GL_NV_conservative_raster_pre_snap_triangles */
  2735. #ifndef GL_NV_copy_buffer
  2736. #define GL_NV_copy_buffer 1
  2737. #define GL_COPY_READ_BUFFER_NV 0x8F36
  2738. #define GL_COPY_WRITE_BUFFER_NV 0x8F37
  2739. typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2740. #ifdef GL_GLEXT_PROTOTYPES
  2741. GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2742. #endif
  2743. #endif /* GL_NV_copy_buffer */
  2744. #ifndef GL_NV_coverage_sample
  2745. #define GL_NV_coverage_sample 1
  2746. #define GL_COVERAGE_COMPONENT_NV 0x8ED0
  2747. #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
  2748. #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
  2749. #define GL_COVERAGE_BUFFERS_NV 0x8ED3
  2750. #define GL_COVERAGE_SAMPLES_NV 0x8ED4
  2751. #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
  2752. #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
  2753. #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
  2754. #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
  2755. typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
  2756. typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
  2757. #ifdef GL_GLEXT_PROTOTYPES
  2758. GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
  2759. GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
  2760. #endif
  2761. #endif /* GL_NV_coverage_sample */
  2762. #ifndef GL_NV_depth_nonlinear
  2763. #define GL_NV_depth_nonlinear 1
  2764. #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
  2765. #endif /* GL_NV_depth_nonlinear */
  2766. #ifndef GL_NV_draw_buffers
  2767. #define GL_NV_draw_buffers 1
  2768. #define GL_MAX_DRAW_BUFFERS_NV 0x8824
  2769. #define GL_DRAW_BUFFER0_NV 0x8825
  2770. #define GL_DRAW_BUFFER1_NV 0x8826
  2771. #define GL_DRAW_BUFFER2_NV 0x8827
  2772. #define GL_DRAW_BUFFER3_NV 0x8828
  2773. #define GL_DRAW_BUFFER4_NV 0x8829
  2774. #define GL_DRAW_BUFFER5_NV 0x882A
  2775. #define GL_DRAW_BUFFER6_NV 0x882B
  2776. #define GL_DRAW_BUFFER7_NV 0x882C
  2777. #define GL_DRAW_BUFFER8_NV 0x882D
  2778. #define GL_DRAW_BUFFER9_NV 0x882E
  2779. #define GL_DRAW_BUFFER10_NV 0x882F
  2780. #define GL_DRAW_BUFFER11_NV 0x8830
  2781. #define GL_DRAW_BUFFER12_NV 0x8831
  2782. #define GL_DRAW_BUFFER13_NV 0x8832
  2783. #define GL_DRAW_BUFFER14_NV 0x8833
  2784. #define GL_DRAW_BUFFER15_NV 0x8834
  2785. #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
  2786. #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
  2787. #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
  2788. #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
  2789. #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
  2790. #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
  2791. #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
  2792. #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
  2793. #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
  2794. #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
  2795. #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
  2796. #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
  2797. #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
  2798. #define GL_COLOR_ATTACHMENT13_NV 0x8CED
  2799. #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
  2800. #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
  2801. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
  2802. #ifdef GL_GLEXT_PROTOTYPES
  2803. GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
  2804. #endif
  2805. #endif /* GL_NV_draw_buffers */
  2806. #ifndef GL_NV_draw_instanced
  2807. #define GL_NV_draw_instanced 1
  2808. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2809. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2810. #ifdef GL_GLEXT_PROTOTYPES
  2811. GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2812. GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2813. #endif
  2814. #endif /* GL_NV_draw_instanced */
  2815. #ifndef GL_NV_draw_vulkan_image
  2816. #define GL_NV_draw_vulkan_image 1
  2817. typedef void (GL_APIENTRY *GLVULKANPROCNV)(void);
  2818. typedef void (GL_APIENTRYP PFNGLDRAWVKIMAGENVPROC) (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  2819. typedef GLVULKANPROCNV (GL_APIENTRYP PFNGLGETVKPROCADDRNVPROC) (const GLchar *name);
  2820. typedef void (GL_APIENTRYP PFNGLWAITVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  2821. typedef void (GL_APIENTRYP PFNGLSIGNALVKSEMAPHORENVPROC) (GLuint64 vkSemaphore);
  2822. typedef void (GL_APIENTRYP PFNGLSIGNALVKFENCENVPROC) (GLuint64 vkFence);
  2823. #ifdef GL_GLEXT_PROTOTYPES
  2824. GL_APICALL void GL_APIENTRY glDrawVkImageNV (GLuint64 vkImage, GLuint sampler, GLfloat x0, GLfloat y0, GLfloat x1, GLfloat y1, GLfloat z, GLfloat s0, GLfloat t0, GLfloat s1, GLfloat t1);
  2825. GL_APICALL GLVULKANPROCNV GL_APIENTRY glGetVkProcAddrNV (const GLchar *name);
  2826. GL_APICALL void GL_APIENTRY glWaitVkSemaphoreNV (GLuint64 vkSemaphore);
  2827. GL_APICALL void GL_APIENTRY glSignalVkSemaphoreNV (GLuint64 vkSemaphore);
  2828. GL_APICALL void GL_APIENTRY glSignalVkFenceNV (GLuint64 vkFence);
  2829. #endif
  2830. #endif /* GL_NV_draw_vulkan_image */
  2831. #ifndef GL_NV_explicit_attrib_location
  2832. #define GL_NV_explicit_attrib_location 1
  2833. #endif /* GL_NV_explicit_attrib_location */
  2834. #ifndef GL_NV_fbo_color_attachments
  2835. #define GL_NV_fbo_color_attachments 1
  2836. #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
  2837. #endif /* GL_NV_fbo_color_attachments */
  2838. #ifndef GL_NV_fence
  2839. #define GL_NV_fence 1
  2840. #define GL_ALL_COMPLETED_NV 0x84F2
  2841. #define GL_FENCE_STATUS_NV 0x84F3
  2842. #define GL_FENCE_CONDITION_NV 0x84F4
  2843. typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  2844. typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  2845. typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  2846. typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  2847. typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  2848. typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  2849. typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  2850. #ifdef GL_GLEXT_PROTOTYPES
  2851. GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  2852. GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  2853. GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
  2854. GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
  2855. GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  2856. GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
  2857. GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  2858. #endif
  2859. #endif /* GL_NV_fence */
  2860. #ifndef GL_NV_fill_rectangle
  2861. #define GL_NV_fill_rectangle 1
  2862. #define GL_FILL_RECTANGLE_NV 0x933C
  2863. #endif /* GL_NV_fill_rectangle */
  2864. #ifndef GL_NV_fragment_coverage_to_color
  2865. #define GL_NV_fragment_coverage_to_color 1
  2866. #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
  2867. #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
  2868. typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
  2869. #ifdef GL_GLEXT_PROTOTYPES
  2870. GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color);
  2871. #endif
  2872. #endif /* GL_NV_fragment_coverage_to_color */
  2873. #ifndef GL_NV_fragment_shader_barycentric
  2874. #define GL_NV_fragment_shader_barycentric 1
  2875. #endif /* GL_NV_fragment_shader_barycentric */
  2876. #ifndef GL_NV_fragment_shader_interlock
  2877. #define GL_NV_fragment_shader_interlock 1
  2878. #endif /* GL_NV_fragment_shader_interlock */
  2879. #ifndef GL_NV_framebuffer_blit
  2880. #define GL_NV_framebuffer_blit 1
  2881. #define GL_READ_FRAMEBUFFER_NV 0x8CA8
  2882. #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
  2883. #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
  2884. #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
  2885. typedef void (GL_APIENTRYP PFNGLBLITFRAMEBUFFERNVPROC) (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2886. #ifdef GL_GLEXT_PROTOTYPES
  2887. GL_APICALL void GL_APIENTRY glBlitFramebufferNV (GLint srcX0, GLint srcY0, GLint srcX1, GLint srcY1, GLint dstX0, GLint dstY0, GLint dstX1, GLint dstY1, GLbitfield mask, GLenum filter);
  2888. #endif
  2889. #endif /* GL_NV_framebuffer_blit */
  2890. #ifndef GL_NV_framebuffer_mixed_samples
  2891. #define GL_NV_framebuffer_mixed_samples 1
  2892. #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
  2893. #define GL_COLOR_SAMPLES_NV 0x8E20
  2894. #define GL_DEPTH_SAMPLES_NV 0x932D
  2895. #define GL_STENCIL_SAMPLES_NV 0x932E
  2896. #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
  2897. #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
  2898. #define GL_COVERAGE_MODULATION_NV 0x9332
  2899. #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
  2900. typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
  2901. typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
  2902. typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
  2903. #ifdef GL_GLEXT_PROTOTYPES
  2904. GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
  2905. GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
  2906. GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components);
  2907. #endif
  2908. #endif /* GL_NV_framebuffer_mixed_samples */
  2909. #ifndef GL_NV_framebuffer_multisample
  2910. #define GL_NV_framebuffer_multisample 1
  2911. #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
  2912. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
  2913. #define GL_MAX_SAMPLES_NV 0x8D57
  2914. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2915. #ifdef GL_GLEXT_PROTOTYPES
  2916. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2917. #endif
  2918. #endif /* GL_NV_framebuffer_multisample */
  2919. #ifndef GL_NV_generate_mipmap_sRGB
  2920. #define GL_NV_generate_mipmap_sRGB 1
  2921. #endif /* GL_NV_generate_mipmap_sRGB */
  2922. #ifndef GL_NV_geometry_shader_passthrough
  2923. #define GL_NV_geometry_shader_passthrough 1
  2924. #endif /* GL_NV_geometry_shader_passthrough */
  2925. #ifndef GL_NV_gpu_shader5
  2926. #define GL_NV_gpu_shader5 1
  2927. typedef khronos_int64_t GLint64EXT;
  2928. typedef khronos_uint64_t GLuint64EXT;
  2929. #define GL_INT64_NV 0x140E
  2930. #define GL_UNSIGNED_INT64_NV 0x140F
  2931. #define GL_INT8_NV 0x8FE0
  2932. #define GL_INT8_VEC2_NV 0x8FE1
  2933. #define GL_INT8_VEC3_NV 0x8FE2
  2934. #define GL_INT8_VEC4_NV 0x8FE3
  2935. #define GL_INT16_NV 0x8FE4
  2936. #define GL_INT16_VEC2_NV 0x8FE5
  2937. #define GL_INT16_VEC3_NV 0x8FE6
  2938. #define GL_INT16_VEC4_NV 0x8FE7
  2939. #define GL_INT64_VEC2_NV 0x8FE9
  2940. #define GL_INT64_VEC3_NV 0x8FEA
  2941. #define GL_INT64_VEC4_NV 0x8FEB
  2942. #define GL_UNSIGNED_INT8_NV 0x8FEC
  2943. #define GL_UNSIGNED_INT8_VEC2_NV 0x8FED
  2944. #define GL_UNSIGNED_INT8_VEC3_NV 0x8FEE
  2945. #define GL_UNSIGNED_INT8_VEC4_NV 0x8FEF
  2946. #define GL_UNSIGNED_INT16_NV 0x8FF0
  2947. #define GL_UNSIGNED_INT16_VEC2_NV 0x8FF1
  2948. #define GL_UNSIGNED_INT16_VEC3_NV 0x8FF2
  2949. #define GL_UNSIGNED_INT16_VEC4_NV 0x8FF3
  2950. #define GL_UNSIGNED_INT64_VEC2_NV 0x8FF5
  2951. #define GL_UNSIGNED_INT64_VEC3_NV 0x8FF6
  2952. #define GL_UNSIGNED_INT64_VEC4_NV 0x8FF7
  2953. #define GL_FLOAT16_NV 0x8FF8
  2954. #define GL_FLOAT16_VEC2_NV 0x8FF9
  2955. #define GL_FLOAT16_VEC3_NV 0x8FFA
  2956. #define GL_FLOAT16_VEC4_NV 0x8FFB
  2957. #define GL_PATCHES 0x000E
  2958. typedef void (GL_APIENTRYP PFNGLUNIFORM1I64NVPROC) (GLint location, GLint64EXT x);
  2959. typedef void (GL_APIENTRYP PFNGLUNIFORM2I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y);
  2960. typedef void (GL_APIENTRYP PFNGLUNIFORM3I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  2961. typedef void (GL_APIENTRYP PFNGLUNIFORM4I64NVPROC) (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  2962. typedef void (GL_APIENTRYP PFNGLUNIFORM1I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  2963. typedef void (GL_APIENTRYP PFNGLUNIFORM2I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  2964. typedef void (GL_APIENTRYP PFNGLUNIFORM3I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  2965. typedef void (GL_APIENTRYP PFNGLUNIFORM4I64VNVPROC) (GLint location, GLsizei count, const GLint64EXT *value);
  2966. typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64NVPROC) (GLint location, GLuint64EXT x);
  2967. typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y);
  2968. typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  2969. typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64NVPROC) (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  2970. typedef void (GL_APIENTRYP PFNGLUNIFORM1UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  2971. typedef void (GL_APIENTRYP PFNGLUNIFORM2UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  2972. typedef void (GL_APIENTRYP PFNGLUNIFORM3UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  2973. typedef void (GL_APIENTRYP PFNGLUNIFORM4UI64VNVPROC) (GLint location, GLsizei count, const GLuint64EXT *value);
  2974. typedef void (GL_APIENTRYP PFNGLGETUNIFORMI64VNVPROC) (GLuint program, GLint location, GLint64EXT *params);
  2975. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64NVPROC) (GLuint program, GLint location, GLint64EXT x);
  2976. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  2977. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  2978. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64NVPROC) (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  2979. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  2980. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  2981. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  2982. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4I64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  2983. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x);
  2984. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  2985. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  2986. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64NVPROC) (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  2987. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  2988. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  2989. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  2990. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  2991. #ifdef GL_GLEXT_PROTOTYPES
  2992. GL_APICALL void GL_APIENTRY glUniform1i64NV (GLint location, GLint64EXT x);
  2993. GL_APICALL void GL_APIENTRY glUniform2i64NV (GLint location, GLint64EXT x, GLint64EXT y);
  2994. GL_APICALL void GL_APIENTRY glUniform3i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  2995. GL_APICALL void GL_APIENTRY glUniform4i64NV (GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  2996. GL_APICALL void GL_APIENTRY glUniform1i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  2997. GL_APICALL void GL_APIENTRY glUniform2i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  2998. GL_APICALL void GL_APIENTRY glUniform3i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  2999. GL_APICALL void GL_APIENTRY glUniform4i64vNV (GLint location, GLsizei count, const GLint64EXT *value);
  3000. GL_APICALL void GL_APIENTRY glUniform1ui64NV (GLint location, GLuint64EXT x);
  3001. GL_APICALL void GL_APIENTRY glUniform2ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y);
  3002. GL_APICALL void GL_APIENTRY glUniform3ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  3003. GL_APICALL void GL_APIENTRY glUniform4ui64NV (GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  3004. GL_APICALL void GL_APIENTRY glUniform1ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  3005. GL_APICALL void GL_APIENTRY glUniform2ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  3006. GL_APICALL void GL_APIENTRY glUniform3ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  3007. GL_APICALL void GL_APIENTRY glUniform4ui64vNV (GLint location, GLsizei count, const GLuint64EXT *value);
  3008. GL_APICALL void GL_APIENTRY glGetUniformi64vNV (GLuint program, GLint location, GLint64EXT *params);
  3009. GL_APICALL void GL_APIENTRY glProgramUniform1i64NV (GLuint program, GLint location, GLint64EXT x);
  3010. GL_APICALL void GL_APIENTRY glProgramUniform2i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y);
  3011. GL_APICALL void GL_APIENTRY glProgramUniform3i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z);
  3012. GL_APICALL void GL_APIENTRY glProgramUniform4i64NV (GLuint program, GLint location, GLint64EXT x, GLint64EXT y, GLint64EXT z, GLint64EXT w);
  3013. GL_APICALL void GL_APIENTRY glProgramUniform1i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  3014. GL_APICALL void GL_APIENTRY glProgramUniform2i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  3015. GL_APICALL void GL_APIENTRY glProgramUniform3i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  3016. GL_APICALL void GL_APIENTRY glProgramUniform4i64vNV (GLuint program, GLint location, GLsizei count, const GLint64EXT *value);
  3017. GL_APICALL void GL_APIENTRY glProgramUniform1ui64NV (GLuint program, GLint location, GLuint64EXT x);
  3018. GL_APICALL void GL_APIENTRY glProgramUniform2ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y);
  3019. GL_APICALL void GL_APIENTRY glProgramUniform3ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z);
  3020. GL_APICALL void GL_APIENTRY glProgramUniform4ui64NV (GLuint program, GLint location, GLuint64EXT x, GLuint64EXT y, GLuint64EXT z, GLuint64EXT w);
  3021. GL_APICALL void GL_APIENTRY glProgramUniform1ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  3022. GL_APICALL void GL_APIENTRY glProgramUniform2ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  3023. GL_APICALL void GL_APIENTRY glProgramUniform3ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  3024. GL_APICALL void GL_APIENTRY glProgramUniform4ui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64EXT *value);
  3025. #endif
  3026. #endif /* GL_NV_gpu_shader5 */
  3027. #ifndef GL_NV_image_formats
  3028. #define GL_NV_image_formats 1
  3029. #endif /* GL_NV_image_formats */
  3030. #ifndef GL_NV_instanced_arrays
  3031. #define GL_NV_instanced_arrays 1
  3032. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
  3033. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
  3034. #ifdef GL_GLEXT_PROTOTYPES
  3035. GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
  3036. #endif
  3037. #endif /* GL_NV_instanced_arrays */
  3038. #ifndef GL_NV_internalformat_sample_query
  3039. #define GL_NV_internalformat_sample_query 1
  3040. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  3041. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  3042. #define GL_MULTISAMPLES_NV 0x9371
  3043. #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
  3044. #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
  3045. #define GL_CONFORMANT_NV 0x9374
  3046. typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  3047. #ifdef GL_GLEXT_PROTOTYPES
  3048. GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  3049. #endif
  3050. #endif /* GL_NV_internalformat_sample_query */
  3051. #ifndef GL_NV_memory_attachment
  3052. #define GL_NV_memory_attachment 1
  3053. #define GL_ATTACHED_MEMORY_OBJECT_NV 0x95A4
  3054. #define GL_ATTACHED_MEMORY_OFFSET_NV 0x95A5
  3055. #define GL_MEMORY_ATTACHABLE_ALIGNMENT_NV 0x95A6
  3056. #define GL_MEMORY_ATTACHABLE_SIZE_NV 0x95A7
  3057. #define GL_MEMORY_ATTACHABLE_NV 0x95A8
  3058. #define GL_DETACHED_MEMORY_INCARNATION_NV 0x95A9
  3059. #define GL_DETACHED_TEXTURES_NV 0x95AA
  3060. #define GL_DETACHED_BUFFERS_NV 0x95AB
  3061. #define GL_MAX_DETACHED_TEXTURES_NV 0x95AC
  3062. #define GL_MAX_DETACHED_BUFFERS_NV 0x95AD
  3063. typedef void(GL_APIENTRYP PFNGLGETMEMORYOBJECTDETACHEDRESOURCESUIVNVPROC)(
  3064. GLuint memory,
  3065. GLenum pname,
  3066. GLint first,
  3067. GLsizei count,
  3068. GLuint* params);
  3069. typedef void(GL_APIENTRYP PFNGLRESETMEMORYOBJECTPARAMETERNVPROC)(GLuint memory,
  3070. GLenum pname);
  3071. typedef void(GL_APIENTRYP PFNGLTEXATTACHMEMORYNVPROC)(GLenum target,
  3072. GLuint memory,
  3073. GLuint64 offset);
  3074. typedef void(GL_APIENTRYP PFNGLBUFFERATTACHMEMORYNVPROC)(GLenum target,
  3075. GLuint memory,
  3076. GLuint64 offset);
  3077. typedef void(GL_APIENTRYP PFNGLTEXTUREATTACHMEMORYNVPROC)(GLuint texture,
  3078. GLuint memory,
  3079. GLuint64 offset);
  3080. typedef void(GL_APIENTRYP PFNGLNAMEDBUFFERATTACHMEMORYNVPROC)(GLuint buffer,
  3081. GLuint memory,
  3082. GLuint64 offset);
  3083. #ifdef GL_GLEXT_PROTOTYPES
  3084. GL_APICALL void GL_APIENTRY
  3085. glGetMemoryObjectDetachedResourcesuivNV(GLuint memory,
  3086. GLenum pname,
  3087. GLint first,
  3088. GLsizei count,
  3089. GLuint* params);
  3090. GL_APICALL void GL_APIENTRY glResetMemoryObjectParameterNV(GLuint memory,
  3091. GLenum pname);
  3092. GL_APICALL void GL_APIENTRY glTexAttachMemoryNV(GLenum target,
  3093. GLuint memory,
  3094. GLuint64 offset);
  3095. GL_APICALL void GL_APIENTRY glBufferAttachMemoryNV(GLenum target,
  3096. GLuint memory,
  3097. GLuint64 offset);
  3098. GL_APICALL void GL_APIENTRY glTextureAttachMemoryNV(GLuint texture,
  3099. GLuint memory,
  3100. GLuint64 offset);
  3101. GL_APICALL void GL_APIENTRY glNamedBufferAttachMemoryNV(GLuint buffer,
  3102. GLuint memory,
  3103. GLuint64 offset);
  3104. #endif
  3105. #endif /* GL_NV_memory_attachment */
  3106. #ifndef GL_NV_mesh_shader
  3107. #define GL_NV_mesh_shader 1
  3108. #define GL_MESH_SHADER_NV 0x9559
  3109. #define GL_TASK_SHADER_NV 0x955A
  3110. #define GL_MAX_MESH_UNIFORM_BLOCKS_NV 0x8E60
  3111. #define GL_MAX_MESH_TEXTURE_IMAGE_UNITS_NV 0x8E61
  3112. #define GL_MAX_MESH_IMAGE_UNIFORMS_NV 0x8E62
  3113. #define GL_MAX_MESH_UNIFORM_COMPONENTS_NV 0x8E63
  3114. #define GL_MAX_MESH_ATOMIC_COUNTER_BUFFERS_NV 0x8E64
  3115. #define GL_MAX_MESH_ATOMIC_COUNTERS_NV 0x8E65
  3116. #define GL_MAX_MESH_SHADER_STORAGE_BLOCKS_NV 0x8E66
  3117. #define GL_MAX_COMBINED_MESH_UNIFORM_COMPONENTS_NV 0x8E67
  3118. #define GL_MAX_TASK_UNIFORM_BLOCKS_NV 0x8E68
  3119. #define GL_MAX_TASK_TEXTURE_IMAGE_UNITS_NV 0x8E69
  3120. #define GL_MAX_TASK_IMAGE_UNIFORMS_NV 0x8E6A
  3121. #define GL_MAX_TASK_UNIFORM_COMPONENTS_NV 0x8E6B
  3122. #define GL_MAX_TASK_ATOMIC_COUNTER_BUFFERS_NV 0x8E6C
  3123. #define GL_MAX_TASK_ATOMIC_COUNTERS_NV 0x8E6D
  3124. #define GL_MAX_TASK_SHADER_STORAGE_BLOCKS_NV 0x8E6E
  3125. #define GL_MAX_COMBINED_TASK_UNIFORM_COMPONENTS_NV 0x8E6F
  3126. #define GL_MAX_MESH_WORK_GROUP_INVOCATIONS_NV 0x95A2
  3127. #define GL_MAX_TASK_WORK_GROUP_INVOCATIONS_NV 0x95A3
  3128. #define GL_MAX_MESH_TOTAL_MEMORY_SIZE_NV 0x9536
  3129. #define GL_MAX_TASK_TOTAL_MEMORY_SIZE_NV 0x9537
  3130. #define GL_MAX_MESH_OUTPUT_VERTICES_NV 0x9538
  3131. #define GL_MAX_MESH_OUTPUT_PRIMITIVES_NV 0x9539
  3132. #define GL_MAX_TASK_OUTPUT_COUNT_NV 0x953A
  3133. #define GL_MAX_DRAW_MESH_TASKS_COUNT_NV 0x953D
  3134. #define GL_MAX_MESH_VIEWS_NV 0x9557
  3135. #define GL_MESH_OUTPUT_PER_VERTEX_GRANULARITY_NV 0x92DF
  3136. #define GL_MESH_OUTPUT_PER_PRIMITIVE_GRANULARITY_NV 0x9543
  3137. #define GL_MAX_MESH_WORK_GROUP_SIZE_NV 0x953B
  3138. #define GL_MAX_TASK_WORK_GROUP_SIZE_NV 0x953C
  3139. #define GL_MESH_WORK_GROUP_SIZE_NV 0x953E
  3140. #define GL_TASK_WORK_GROUP_SIZE_NV 0x953F
  3141. #define GL_MESH_VERTICES_OUT_NV 0x9579
  3142. #define GL_MESH_PRIMITIVES_OUT_NV 0x957A
  3143. #define GL_MESH_OUTPUT_TYPE_NV 0x957B
  3144. #define GL_UNIFORM_BLOCK_REFERENCED_BY_MESH_SHADER_NV 0x959C
  3145. #define GL_UNIFORM_BLOCK_REFERENCED_BY_TASK_SHADER_NV 0x959D
  3146. #define GL_REFERENCED_BY_MESH_SHADER_NV 0x95A0
  3147. #define GL_REFERENCED_BY_TASK_SHADER_NV 0x95A1
  3148. #define GL_MESH_SHADER_BIT_NV 0x00000040
  3149. #define GL_TASK_SHADER_BIT_NV 0x00000080
  3150. #define GL_MESH_SUBROUTINE_NV 0x957C
  3151. #define GL_TASK_SUBROUTINE_NV 0x957D
  3152. #define GL_MESH_SUBROUTINE_UNIFORM_NV 0x957E
  3153. #define GL_TASK_SUBROUTINE_UNIFORM_NV 0x957F
  3154. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_MESH_SHADER_NV 0x959E
  3155. #define GL_ATOMIC_COUNTER_BUFFER_REFERENCED_BY_TASK_SHADER_NV 0x959F
  3156. typedef void(GL_APIENTRYP PFNGLDRAWMESHTASKSNVPROC)(GLuint first, GLuint count);
  3157. typedef void(GL_APIENTRYP PFNGLDRAWMESHTASKSINDIRECTNVPROC)(GLintptr indirect);
  3158. typedef void(GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTNVPROC)(
  3159. GLintptr indirect,
  3160. GLsizei drawcount,
  3161. GLsizei stride);
  3162. typedef void(GL_APIENTRYP PFNGLMULTIDRAWMESHTASKSINDIRECTCOUNTNVPROC)(
  3163. GLintptr indirect,
  3164. GLintptr drawcount,
  3165. GLsizei maxdrawcount,
  3166. GLsizei stride);
  3167. #ifdef GL_GLEXT_PROTOTYPES
  3168. GL_APICALL void GL_APIENTRY glDrawMeshTasksNV(GLuint first, GLuint count);
  3169. GL_APICALL void GL_APIENTRY glDrawMeshTasksIndirectNV(GLintptr indirect);
  3170. GL_APICALL void GL_APIENTRY glMultiDrawMeshTasksIndirectNV(GLintptr indirect,
  3171. GLsizei drawcount,
  3172. GLsizei stride);
  3173. GL_APICALL void GL_APIENTRY
  3174. glMultiDrawMeshTasksIndirectCountNV(GLintptr indirect,
  3175. GLintptr drawcount,
  3176. GLsizei maxdrawcount,
  3177. GLsizei stride);
  3178. #endif
  3179. #endif /* GL_NV_mesh_shader */
  3180. #ifndef GL_NV_non_square_matrices
  3181. #define GL_NV_non_square_matrices 1
  3182. #define GL_FLOAT_MAT2x3_NV 0x8B65
  3183. #define GL_FLOAT_MAT2x4_NV 0x8B66
  3184. #define GL_FLOAT_MAT3x2_NV 0x8B67
  3185. #define GL_FLOAT_MAT3x4_NV 0x8B68
  3186. #define GL_FLOAT_MAT4x2_NV 0x8B69
  3187. #define GL_FLOAT_MAT4x3_NV 0x8B6A
  3188. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3189. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3190. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3191. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3192. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3193. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3194. #ifdef GL_GLEXT_PROTOTYPES
  3195. GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3196. GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3197. GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3198. GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3199. GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3200. GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  3201. #endif
  3202. #endif /* GL_NV_non_square_matrices */
  3203. #ifndef GL_NV_path_rendering
  3204. #define GL_NV_path_rendering 1
  3205. typedef double GLdouble;
  3206. #define GL_PATH_FORMAT_SVG_NV 0x9070
  3207. #define GL_PATH_FORMAT_PS_NV 0x9071
  3208. #define GL_STANDARD_FONT_NAME_NV 0x9072
  3209. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  3210. #define GL_FILE_NAME_NV 0x9074
  3211. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  3212. #define GL_PATH_END_CAPS_NV 0x9076
  3213. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  3214. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  3215. #define GL_PATH_JOIN_STYLE_NV 0x9079
  3216. #define GL_PATH_MITER_LIMIT_NV 0x907A
  3217. #define GL_PATH_DASH_CAPS_NV 0x907B
  3218. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  3219. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  3220. #define GL_PATH_DASH_OFFSET_NV 0x907E
  3221. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  3222. #define GL_PATH_FILL_MODE_NV 0x9080
  3223. #define GL_PATH_FILL_MASK_NV 0x9081
  3224. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  3225. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  3226. #define GL_PATH_STROKE_MASK_NV 0x9084
  3227. #define GL_COUNT_UP_NV 0x9088
  3228. #define GL_COUNT_DOWN_NV 0x9089
  3229. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  3230. #define GL_CONVEX_HULL_NV 0x908B
  3231. #define GL_BOUNDING_BOX_NV 0x908D
  3232. #define GL_TRANSLATE_X_NV 0x908E
  3233. #define GL_TRANSLATE_Y_NV 0x908F
  3234. #define GL_TRANSLATE_2D_NV 0x9090
  3235. #define GL_TRANSLATE_3D_NV 0x9091
  3236. #define GL_AFFINE_2D_NV 0x9092
  3237. #define GL_AFFINE_3D_NV 0x9094
  3238. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  3239. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  3240. #define GL_UTF8_NV 0x909A
  3241. #define GL_UTF16_NV 0x909B
  3242. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  3243. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  3244. #define GL_PATH_COORD_COUNT_NV 0x909E
  3245. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  3246. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  3247. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  3248. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  3249. #define GL_SQUARE_NV 0x90A3
  3250. #define GL_ROUND_NV 0x90A4
  3251. #define GL_TRIANGULAR_NV 0x90A5
  3252. #define GL_BEVEL_NV 0x90A6
  3253. #define GL_MITER_REVERT_NV 0x90A7
  3254. #define GL_MITER_TRUNCATE_NV 0x90A8
  3255. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  3256. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  3257. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  3258. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  3259. #define GL_ADJACENT_PAIRS_NV 0x90AE
  3260. #define GL_FIRST_TO_REST_NV 0x90AF
  3261. #define GL_PATH_GEN_MODE_NV 0x90B0
  3262. #define GL_PATH_GEN_COEFF_NV 0x90B1
  3263. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  3264. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  3265. #define GL_PATH_STENCIL_REF_NV 0x90B8
  3266. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  3267. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  3268. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  3269. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  3270. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  3271. #define GL_MOVE_TO_RESETS_NV 0x90B5
  3272. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  3273. #define GL_CLOSE_PATH_NV 0x00
  3274. #define GL_MOVE_TO_NV 0x02
  3275. #define GL_RELATIVE_MOVE_TO_NV 0x03
  3276. #define GL_LINE_TO_NV 0x04
  3277. #define GL_RELATIVE_LINE_TO_NV 0x05
  3278. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  3279. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  3280. #define GL_VERTICAL_LINE_TO_NV 0x08
  3281. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  3282. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  3283. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  3284. #define GL_CUBIC_CURVE_TO_NV 0x0C
  3285. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  3286. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  3287. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  3288. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  3289. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  3290. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  3291. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  3292. #define GL_SMALL_CW_ARC_TO_NV 0x14
  3293. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  3294. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  3295. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  3296. #define GL_LARGE_CW_ARC_TO_NV 0x18
  3297. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  3298. #define GL_RESTART_PATH_NV 0xF0
  3299. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  3300. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  3301. #define GL_RECT_NV 0xF6
  3302. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  3303. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  3304. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  3305. #define GL_ARC_TO_NV 0xFE
  3306. #define GL_RELATIVE_ARC_TO_NV 0xFF
  3307. #define GL_BOLD_BIT_NV 0x01
  3308. #define GL_ITALIC_BIT_NV 0x02
  3309. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  3310. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  3311. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  3312. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  3313. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  3314. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  3315. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  3316. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  3317. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  3318. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  3319. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  3320. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  3321. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  3322. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  3323. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  3324. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  3325. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  3326. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  3327. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  3328. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  3329. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  3330. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  3331. #define GL_ROUNDED_RECT_NV 0xE8
  3332. #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
  3333. #define GL_ROUNDED_RECT2_NV 0xEA
  3334. #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
  3335. #define GL_ROUNDED_RECT4_NV 0xEC
  3336. #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
  3337. #define GL_ROUNDED_RECT8_NV 0xEE
  3338. #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
  3339. #define GL_RELATIVE_RECT_NV 0xF7
  3340. #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
  3341. #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
  3342. #define GL_FONT_UNAVAILABLE_NV 0x936A
  3343. #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
  3344. #define GL_CONIC_CURVE_TO_NV 0x1A
  3345. #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
  3346. #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
  3347. #define GL_STANDARD_FONT_FORMAT_NV 0x936C
  3348. #define GL_PATH_PROJECTION_NV 0x1701
  3349. #define GL_PATH_MODELVIEW_NV 0x1700
  3350. #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
  3351. #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
  3352. #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
  3353. #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
  3354. #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
  3355. #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
  3356. #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
  3357. #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
  3358. #define GL_FRAGMENT_INPUT_NV 0x936D
  3359. typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  3360. typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  3361. typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  3362. typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  3363. typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  3364. typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  3365. typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  3366. typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  3367. typedef void (GL_APIENTRYP PFNGLPATHGLYPHSNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3368. typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3369. typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  3370. typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  3371. typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  3372. typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  3373. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  3374. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  3375. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  3376. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  3377. typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  3378. typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  3379. typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  3380. typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  3381. typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  3382. typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  3383. typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  3384. typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  3385. typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  3386. typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  3387. typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3388. typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3389. typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  3390. typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  3391. typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  3392. typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  3393. typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  3394. typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  3395. typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  3396. typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  3397. typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  3398. typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  3399. typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  3400. typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  3401. typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3402. typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3403. typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3404. typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3405. typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3406. typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  3407. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  3408. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  3409. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3410. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3411. typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  3412. typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3413. typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3414. typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  3415. typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  3416. typedef void(GL_APIENTRYP PFNGLMATRIXFRUSTUMEXTPROC)(GLenum mode,
  3417. GLdouble left,
  3418. GLdouble right,
  3419. GLdouble bottom,
  3420. GLdouble top,
  3421. GLdouble zNear,
  3422. GLdouble zFar);
  3423. typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC)(GLenum mode);
  3424. typedef void(GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEFEXTPROC)(GLenum mode,
  3425. const GLfloat* m);
  3426. typedef void(GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSEDEXTPROC)(GLenum mode,
  3427. const GLdouble* m);
  3428. typedef void(GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC)(GLenum mode,
  3429. const GLfloat* m);
  3430. typedef void(GL_APIENTRYP PFNGLMATRIXLOADDEXTPROC)(GLenum mode,
  3431. const GLdouble* m);
  3432. typedef void(GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEFEXTPROC)(GLenum mode,
  3433. const GLfloat* m);
  3434. typedef void(GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSEDEXTPROC)(GLenum mode,
  3435. const GLdouble* m);
  3436. typedef void(GL_APIENTRYP PFNGLMATRIXMULTFEXTPROC)(GLenum mode,
  3437. const GLfloat* m);
  3438. typedef void(GL_APIENTRYP PFNGLMATRIXMULTDEXTPROC)(GLenum mode,
  3439. const GLdouble* m);
  3440. typedef void(GL_APIENTRYP PFNGLMATRIXORTHOEXTPROC)(GLenum mode,
  3441. GLdouble left,
  3442. GLdouble right,
  3443. GLdouble bottom,
  3444. GLdouble top,
  3445. GLdouble zNear,
  3446. GLdouble zFar);
  3447. typedef void(GL_APIENTRYP PFNGLMATRIXPOPEXTPROC)(GLenum mode);
  3448. typedef void(GL_APIENTRYP PFNGLMATRIXPUSHEXTPROC)(GLenum mode);
  3449. typedef void(GL_APIENTRYP PFNGLMATRIXROTATEFEXTPROC)(GLenum mode,
  3450. GLfloat angle,
  3451. GLfloat x,
  3452. GLfloat y,
  3453. GLfloat z);
  3454. typedef void(GL_APIENTRYP PFNGLMATRIXROTATEDEXTPROC)(GLenum mode,
  3455. GLdouble angle,
  3456. GLdouble x,
  3457. GLdouble y,
  3458. GLdouble z);
  3459. typedef void(GL_APIENTRYP PFNGLMATRIXSCALEFEXTPROC)(GLenum mode,
  3460. GLfloat x,
  3461. GLfloat y,
  3462. GLfloat z);
  3463. typedef void(GL_APIENTRYP PFNGLMATRIXSCALEDEXTPROC)(GLenum mode,
  3464. GLdouble x,
  3465. GLdouble y,
  3466. GLdouble z);
  3467. typedef void(GL_APIENTRYP PFNGLMATRIXTRANSLATEFEXTPROC)(GLenum mode,
  3468. GLfloat x,
  3469. GLfloat y,
  3470. GLfloat z);
  3471. typedef void(GL_APIENTRYP PFNGLMATRIXTRANSLATEDEXTPROC)(GLenum mode,
  3472. GLdouble x,
  3473. GLdouble y,
  3474. GLdouble z);
  3475. #ifdef GL_GLEXT_PROTOTYPES
  3476. GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range);
  3477. GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  3478. GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path);
  3479. GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  3480. GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  3481. GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  3482. GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  3483. GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  3484. GL_APICALL void GL_APIENTRY glPathGlyphsNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLsizei numGlyphs, GLenum type, const void *charcodes, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3485. GL_APICALL void GL_APIENTRY glPathGlyphRangeNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3486. GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  3487. GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  3488. GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  3489. GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  3490. GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  3491. GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  3492. GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  3493. GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  3494. GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  3495. GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  3496. GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  3497. GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  3498. GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  3499. GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  3500. GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  3501. GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func);
  3502. GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  3503. GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  3504. GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3505. GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3506. GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  3507. GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  3508. GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  3509. GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  3510. GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  3511. GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  3512. GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  3513. GL_APICALL void GL_APIENTRY glGetPathSpacingNV (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  3514. GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  3515. GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  3516. GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  3517. GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  3518. GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
  3519. GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
  3520. GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  3521. GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
  3522. GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
  3523. GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  3524. GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  3525. GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  3526. GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3527. GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  3528. GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  3529. GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3530. GL_APICALL GLenum GL_APIENTRY glPathMemoryGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  3531. GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  3532. GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  3533. GL_APICALL void GL_APIENTRY glMatrixFrustumEXT(GLenum mode,
  3534. GLdouble left,
  3535. GLdouble right,
  3536. GLdouble bottom,
  3537. GLdouble top,
  3538. GLdouble zNear,
  3539. GLdouble zFar);
  3540. GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT(GLenum mode);
  3541. GL_APICALL void GL_APIENTRY glMatrixLoadTransposefEXT(GLenum mode,
  3542. const GLfloat* m);
  3543. GL_APICALL void GL_APIENTRY glMatrixLoadTransposedEXT(GLenum mode,
  3544. const GLdouble* m);
  3545. GL_APICALL void GL_APIENTRY glMatrixLoadfEXT(GLenum mode, const GLfloat* m);
  3546. GL_APICALL void GL_APIENTRY glMatrixLoaddEXT(GLenum mode, const GLdouble* m);
  3547. GL_APICALL void GL_APIENTRY glMatrixMultTransposefEXT(GLenum mode,
  3548. const GLfloat* m);
  3549. GL_APICALL void GL_APIENTRY glMatrixMultTransposedEXT(GLenum mode,
  3550. const GLdouble* m);
  3551. GL_APICALL void GL_APIENTRY glMatrixMultfEXT(GLenum mode, const GLfloat* m);
  3552. GL_APICALL void GL_APIENTRY glMatrixMultdEXT(GLenum mode, const GLdouble* m);
  3553. GL_APICALL void GL_APIENTRY glMatrixOrthoEXT(GLenum mode,
  3554. GLdouble left,
  3555. GLdouble right,
  3556. GLdouble bottom,
  3557. GLdouble top,
  3558. GLdouble zNear,
  3559. GLdouble zFar);
  3560. GL_APICALL void GL_APIENTRY glMatrixPopEXT(GLenum mode);
  3561. GL_APICALL void GL_APIENTRY glMatrixPushEXT(GLenum mode);
  3562. GL_APICALL void GL_APIENTRY
  3563. glMatrixRotatefEXT(GLenum mode, GLfloat angle, GLfloat x, GLfloat y, GLfloat z);
  3564. GL_APICALL void GL_APIENTRY glMatrixRotatedEXT(GLenum mode,
  3565. GLdouble angle,
  3566. GLdouble x,
  3567. GLdouble y,
  3568. GLdouble z);
  3569. GL_APICALL void GL_APIENTRY glMatrixScalefEXT(GLenum mode,
  3570. GLfloat x,
  3571. GLfloat y,
  3572. GLfloat z);
  3573. GL_APICALL void GL_APIENTRY glMatrixScaledEXT(GLenum mode,
  3574. GLdouble x,
  3575. GLdouble y,
  3576. GLdouble z);
  3577. GL_APICALL void GL_APIENTRY glMatrixTranslatefEXT(GLenum mode,
  3578. GLfloat x,
  3579. GLfloat y,
  3580. GLfloat z);
  3581. GL_APICALL void GL_APIENTRY glMatrixTranslatedEXT(GLenum mode,
  3582. GLdouble x,
  3583. GLdouble y,
  3584. GLdouble z);
  3585. #endif
  3586. #endif /* GL_NV_path_rendering */
  3587. #ifndef GL_NV_path_rendering_shared_edge
  3588. #define GL_NV_path_rendering_shared_edge 1
  3589. #define GL_SHARED_EDGE_NV 0xC0
  3590. #endif /* GL_NV_path_rendering_shared_edge */
  3591. #ifndef GL_NV_pixel_buffer_object
  3592. #define GL_NV_pixel_buffer_object 1
  3593. #define GL_PIXEL_PACK_BUFFER_NV 0x88EB
  3594. #define GL_PIXEL_UNPACK_BUFFER_NV 0x88EC
  3595. #define GL_PIXEL_PACK_BUFFER_BINDING_NV 0x88ED
  3596. #define GL_PIXEL_UNPACK_BUFFER_BINDING_NV 0x88EF
  3597. #endif /* GL_NV_pixel_buffer_object */
  3598. #ifndef GL_NV_polygon_mode
  3599. #define GL_NV_polygon_mode 1
  3600. #define GL_POLYGON_MODE_NV 0x0B40
  3601. #define GL_POLYGON_OFFSET_POINT_NV 0x2A01
  3602. #define GL_POLYGON_OFFSET_LINE_NV 0x2A02
  3603. #define GL_POINT_NV 0x1B00
  3604. #define GL_LINE_NV 0x1B01
  3605. #define GL_FILL_NV 0x1B02
  3606. typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode);
  3607. #ifdef GL_GLEXT_PROTOTYPES
  3608. GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
  3609. #endif
  3610. #endif /* GL_NV_polygon_mode */
  3611. #ifndef GL_NV_read_buffer
  3612. #define GL_NV_read_buffer 1
  3613. #define GL_READ_BUFFER_NV 0x0C02
  3614. typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
  3615. #ifdef GL_GLEXT_PROTOTYPES
  3616. GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
  3617. #endif
  3618. #endif /* GL_NV_read_buffer */
  3619. #ifndef GL_NV_read_buffer_front
  3620. #define GL_NV_read_buffer_front 1
  3621. #endif /* GL_NV_read_buffer_front */
  3622. #ifndef GL_NV_read_depth
  3623. #define GL_NV_read_depth 1
  3624. #endif /* GL_NV_read_depth */
  3625. #ifndef GL_NV_read_depth_stencil
  3626. #define GL_NV_read_depth_stencil 1
  3627. #endif /* GL_NV_read_depth_stencil */
  3628. #ifndef GL_NV_read_stencil
  3629. #define GL_NV_read_stencil 1
  3630. #endif /* GL_NV_read_stencil */
  3631. #ifndef GL_NV_representative_fragment_test
  3632. #define GL_NV_representative_fragment_test 1
  3633. #define GL_REPRESENTATIVE_FRAGMENT_TEST_NV 0x937F
  3634. #endif /* GL_NV_representative_fragment_test */
  3635. #ifndef GL_NV_sRGB_formats
  3636. #define GL_NV_sRGB_formats 1
  3637. #define GL_SLUMINANCE_NV 0x8C46
  3638. #define GL_SLUMINANCE_ALPHA_NV 0x8C44
  3639. #define GL_SRGB8_NV 0x8C41
  3640. #define GL_SLUMINANCE8_NV 0x8C47
  3641. #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
  3642. #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
  3643. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
  3644. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
  3645. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
  3646. #define GL_ETC1_SRGB8_NV 0x88EE
  3647. #endif /* GL_NV_sRGB_formats */
  3648. #ifndef GL_NV_sample_locations
  3649. #define GL_NV_sample_locations 1
  3650. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
  3651. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
  3652. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
  3653. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
  3654. #define GL_SAMPLE_LOCATION_NV 0x8E50
  3655. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
  3656. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
  3657. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
  3658. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  3659. typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  3660. typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
  3661. #ifdef GL_GLEXT_PROTOTYPES
  3662. GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  3663. GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  3664. GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void);
  3665. #endif
  3666. #endif /* GL_NV_sample_locations */
  3667. #ifndef GL_NV_sample_mask_override_coverage
  3668. #define GL_NV_sample_mask_override_coverage 1
  3669. #endif /* GL_NV_sample_mask_override_coverage */
  3670. #ifndef GL_NV_scissor_exclusive
  3671. #define GL_NV_scissor_exclusive 1
  3672. #define GL_SCISSOR_TEST_EXCLUSIVE_NV 0x9555
  3673. #define GL_SCISSOR_BOX_EXCLUSIVE_NV 0x9556
  3674. typedef void(GL_APIENTRYP PFNGLSCISSOREXCLUSIVENVPROC)(GLint x,
  3675. GLint y,
  3676. GLsizei width,
  3677. GLsizei height);
  3678. typedef void(GL_APIENTRYP PFNGLSCISSOREXCLUSIVEARRAYVNVPROC)(GLuint first,
  3679. GLsizei count,
  3680. const GLint* v);
  3681. #ifdef GL_GLEXT_PROTOTYPES
  3682. GL_APICALL void GL_APIENTRY glScissorExclusiveNV(GLint x,
  3683. GLint y,
  3684. GLsizei width,
  3685. GLsizei height);
  3686. GL_APICALL void GL_APIENTRY glScissorExclusiveArrayvNV(GLuint first,
  3687. GLsizei count,
  3688. const GLint* v);
  3689. #endif
  3690. #endif /* GL_NV_scissor_exclusive */
  3691. #ifndef GL_NV_shader_atomic_fp16_vector
  3692. #define GL_NV_shader_atomic_fp16_vector 1
  3693. #endif /* GL_NV_shader_atomic_fp16_vector */
  3694. #ifndef GL_NV_shader_noperspective_interpolation
  3695. #define GL_NV_shader_noperspective_interpolation 1
  3696. #endif /* GL_NV_shader_noperspective_interpolation */
  3697. #ifndef GL_NV_shader_subgroup_partitioned
  3698. #define GL_NV_shader_subgroup_partitioned 1
  3699. #define GL_SUBGROUP_FEATURE_PARTITIONED_BIT_NV 0x00000100
  3700. #endif /* GL_NV_shader_subgroup_partitioned */
  3701. #ifndef GL_NV_shader_texture_footprint
  3702. #define GL_NV_shader_texture_footprint 1
  3703. #endif /* GL_NV_shader_texture_footprint */
  3704. #ifndef GL_NV_shading_rate_image
  3705. #define GL_NV_shading_rate_image 1
  3706. #define GL_SHADING_RATE_IMAGE_NV 0x9563
  3707. #define GL_SHADING_RATE_NO_INVOCATIONS_NV 0x9564
  3708. #define GL_SHADING_RATE_1_INVOCATION_PER_PIXEL_NV 0x9565
  3709. #define GL_SHADING_RATE_1_INVOCATION_PER_1X2_PIXELS_NV 0x9566
  3710. #define GL_SHADING_RATE_1_INVOCATION_PER_2X1_PIXELS_NV 0x9567
  3711. #define GL_SHADING_RATE_1_INVOCATION_PER_2X2_PIXELS_NV 0x9568
  3712. #define GL_SHADING_RATE_1_INVOCATION_PER_2X4_PIXELS_NV 0x9569
  3713. #define GL_SHADING_RATE_1_INVOCATION_PER_4X2_PIXELS_NV 0x956A
  3714. #define GL_SHADING_RATE_1_INVOCATION_PER_4X4_PIXELS_NV 0x956B
  3715. #define GL_SHADING_RATE_2_INVOCATIONS_PER_PIXEL_NV 0x956C
  3716. #define GL_SHADING_RATE_4_INVOCATIONS_PER_PIXEL_NV 0x956D
  3717. #define GL_SHADING_RATE_8_INVOCATIONS_PER_PIXEL_NV 0x956E
  3718. #define GL_SHADING_RATE_16_INVOCATIONS_PER_PIXEL_NV 0x956F
  3719. #define GL_SHADING_RATE_IMAGE_BINDING_NV 0x955B
  3720. #define GL_SHADING_RATE_IMAGE_TEXEL_WIDTH_NV 0x955C
  3721. #define GL_SHADING_RATE_IMAGE_TEXEL_HEIGHT_NV 0x955D
  3722. #define GL_SHADING_RATE_IMAGE_PALETTE_SIZE_NV 0x955E
  3723. #define GL_MAX_COARSE_FRAGMENT_SAMPLES_NV 0x955F
  3724. #define GL_SHADING_RATE_SAMPLE_ORDER_DEFAULT_NV 0x95AE
  3725. #define GL_SHADING_RATE_SAMPLE_ORDER_PIXEL_MAJOR_NV 0x95AF
  3726. #define GL_SHADING_RATE_SAMPLE_ORDER_SAMPLE_MAJOR_NV 0x95B0
  3727. typedef void(GL_APIENTRYP PFNGLBINDSHADINGRATEIMAGENVPROC)(GLuint texture);
  3728. typedef void(GL_APIENTRYP PFNGLGETSHADINGRATEIMAGEPALETTENVPROC)(
  3729. GLuint viewport,
  3730. GLuint entry,
  3731. GLenum* rate);
  3732. typedef void(GL_APIENTRYP PFNGLGETSHADINGRATESAMPLELOCATIONIVNVPROC)(
  3733. GLenum rate,
  3734. GLuint samples,
  3735. GLuint index,
  3736. GLint* location);
  3737. typedef void(GL_APIENTRYP PFNGLSHADINGRATEIMAGEBARRIERNVPROC)(
  3738. GLboolean synchronize);
  3739. typedef void(GL_APIENTRYP PFNGLSHADINGRATEIMAGEPALETTENVPROC)(
  3740. GLuint viewport,
  3741. GLuint first,
  3742. GLsizei count,
  3743. const GLenum* rates);
  3744. typedef void(GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERNVPROC)(GLenum order);
  3745. typedef void(GL_APIENTRYP PFNGLSHADINGRATESAMPLEORDERCUSTOMNVPROC)(
  3746. GLenum rate,
  3747. GLuint samples,
  3748. const GLint* locations);
  3749. #ifdef GL_GLEXT_PROTOTYPES
  3750. GL_APICALL void GL_APIENTRY glBindShadingRateImageNV(GLuint texture);
  3751. GL_APICALL void GL_APIENTRY glGetShadingRateImagePaletteNV(GLuint viewport,
  3752. GLuint entry,
  3753. GLenum* rate);
  3754. GL_APICALL void GL_APIENTRY glGetShadingRateSampleLocationivNV(GLenum rate,
  3755. GLuint samples,
  3756. GLuint index,
  3757. GLint* location);
  3758. GL_APICALL void GL_APIENTRY glShadingRateImageBarrierNV(GLboolean synchronize);
  3759. GL_APICALL void GL_APIENTRY glShadingRateImagePaletteNV(GLuint viewport,
  3760. GLuint first,
  3761. GLsizei count,
  3762. const GLenum* rates);
  3763. GL_APICALL void GL_APIENTRY glShadingRateSampleOrderNV(GLenum order);
  3764. GL_APICALL void GL_APIENTRY
  3765. glShadingRateSampleOrderCustomNV(GLenum rate,
  3766. GLuint samples,
  3767. const GLint* locations);
  3768. #endif
  3769. #endif /* GL_NV_shading_rate_image */
  3770. #ifndef GL_NV_shadow_samplers_array
  3771. #define GL_NV_shadow_samplers_array 1
  3772. #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
  3773. #endif /* GL_NV_shadow_samplers_array */
  3774. #ifndef GL_NV_shadow_samplers_cube
  3775. #define GL_NV_shadow_samplers_cube 1
  3776. #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
  3777. #endif /* GL_NV_shadow_samplers_cube */
  3778. #ifndef GL_NV_stereo_view_rendering
  3779. #define GL_NV_stereo_view_rendering 1
  3780. #endif /* GL_NV_stereo_view_rendering */
  3781. #ifndef GL_NV_texture_border_clamp
  3782. #define GL_NV_texture_border_clamp 1
  3783. #define GL_TEXTURE_BORDER_COLOR_NV 0x1004
  3784. #define GL_CLAMP_TO_BORDER_NV 0x812D
  3785. #endif /* GL_NV_texture_border_clamp */
  3786. #ifndef GL_NV_texture_compression_s3tc_update
  3787. #define GL_NV_texture_compression_s3tc_update 1
  3788. #endif /* GL_NV_texture_compression_s3tc_update */
  3789. #ifndef GL_NV_texture_npot_2D_mipmap
  3790. #define GL_NV_texture_npot_2D_mipmap 1
  3791. #endif /* GL_NV_texture_npot_2D_mipmap */
  3792. #ifndef GL_NV_viewport_array
  3793. #define GL_NV_viewport_array 1
  3794. #define GL_MAX_VIEWPORTS_NV 0x825B
  3795. #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C
  3796. #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D
  3797. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F
  3798. typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  3799. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  3800. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v);
  3801. typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
  3802. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  3803. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v);
  3804. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  3805. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f);
  3806. typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data);
  3807. typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index);
  3808. typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index);
  3809. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index);
  3810. #ifdef GL_GLEXT_PROTOTYPES
  3811. GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v);
  3812. GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  3813. GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v);
  3814. GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v);
  3815. GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  3816. GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v);
  3817. GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v);
  3818. GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f);
  3819. GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data);
  3820. GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index);
  3821. GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index);
  3822. GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index);
  3823. #endif
  3824. #endif /* GL_NV_viewport_array */
  3825. #ifndef GL_NV_viewport_array2
  3826. #define GL_NV_viewport_array2 1
  3827. #endif /* GL_NV_viewport_array2 */
  3828. #ifndef GL_NV_viewport_swizzle
  3829. #define GL_NV_viewport_swizzle 1
  3830. #define GL_VIEWPORT_SWIZZLE_POSITIVE_X_NV 0x9350
  3831. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_X_NV 0x9351
  3832. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Y_NV 0x9352
  3833. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Y_NV 0x9353
  3834. #define GL_VIEWPORT_SWIZZLE_POSITIVE_Z_NV 0x9354
  3835. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_Z_NV 0x9355
  3836. #define GL_VIEWPORT_SWIZZLE_POSITIVE_W_NV 0x9356
  3837. #define GL_VIEWPORT_SWIZZLE_NEGATIVE_W_NV 0x9357
  3838. #define GL_VIEWPORT_SWIZZLE_X_NV 0x9358
  3839. #define GL_VIEWPORT_SWIZZLE_Y_NV 0x9359
  3840. #define GL_VIEWPORT_SWIZZLE_Z_NV 0x935A
  3841. #define GL_VIEWPORT_SWIZZLE_W_NV 0x935B
  3842. typedef void (GL_APIENTRYP PFNGLVIEWPORTSWIZZLENVPROC) (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  3843. #ifdef GL_GLEXT_PROTOTYPES
  3844. GL_APICALL void GL_APIENTRY glViewportSwizzleNV (GLuint index, GLenum swizzlex, GLenum swizzley, GLenum swizzlez, GLenum swizzlew);
  3845. #endif
  3846. #endif /* GL_NV_viewport_swizzle */
  3847. #ifndef GL_OVR_multiview
  3848. #define GL_OVR_multiview 1
  3849. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
  3850. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
  3851. #define GL_MAX_VIEWS_OVR 0x9631
  3852. #define GL_FRAMEBUFFER_INCOMPLETE_VIEW_TARGETS_OVR 0x9633
  3853. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  3854. #ifdef GL_GLEXT_PROTOTYPES
  3855. GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  3856. #endif
  3857. #endif /* GL_OVR_multiview */
  3858. #ifndef GL_OVR_multiview2
  3859. #define GL_OVR_multiview2 1
  3860. #endif /* GL_OVR_multiview2 */
  3861. #ifndef GL_OVR_multiview_multisampled_render_to_texture
  3862. #define GL_OVR_multiview_multisampled_render_to_texture 1
  3863. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTISAMPLEMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
  3864. #ifdef GL_GLEXT_PROTOTYPES
  3865. GL_APICALL void GL_APIENTRY glFramebufferTextureMultisampleMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLsizei samples, GLint baseViewIndex, GLsizei numViews);
  3866. #endif
  3867. #endif /* GL_OVR_multiview_multisampled_render_to_texture */
  3868. #ifndef GL_QCOM_YUV_texture_gather
  3869. #define GL_QCOM_YUV_texture_gather 1
  3870. #endif /* GL_QCOM_YUV_texture_gather */
  3871. #ifndef GL_QCOM_alpha_test
  3872. #define GL_QCOM_alpha_test 1
  3873. #define GL_ALPHA_TEST_QCOM 0x0BC0
  3874. #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
  3875. #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
  3876. typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
  3877. #ifdef GL_GLEXT_PROTOTYPES
  3878. GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
  3879. #endif
  3880. #endif /* GL_QCOM_alpha_test */
  3881. #ifndef GL_QCOM_binning_control
  3882. #define GL_QCOM_binning_control 1
  3883. #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
  3884. #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
  3885. #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
  3886. #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
  3887. #endif /* GL_QCOM_binning_control */
  3888. #ifndef GL_QCOM_driver_control
  3889. #define GL_QCOM_driver_control 1
  3890. typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
  3891. typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
  3892. typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  3893. typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  3894. #ifdef GL_GLEXT_PROTOTYPES
  3895. GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
  3896. GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
  3897. GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
  3898. GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
  3899. #endif
  3900. #endif /* GL_QCOM_driver_control */
  3901. #ifndef GL_QCOM_extended_get
  3902. #define GL_QCOM_extended_get 1
  3903. #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
  3904. #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
  3905. #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
  3906. #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
  3907. #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
  3908. #define GL_TEXTURE_TYPE_QCOM 0x8BD7
  3909. #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
  3910. #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
  3911. #define GL_TEXTURE_TARGET_QCOM 0x8BDA
  3912. #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
  3913. #define GL_STATE_RESTORE 0x8BDC
  3914. typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
  3915. typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
  3916. typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
  3917. typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
  3918. typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
  3919. typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
  3920. typedef void (GL_APIENTRYP PFNGLEXTGETTEXSUBIMAGEQCOMPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
  3921. typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params);
  3922. #ifdef GL_GLEXT_PROTOTYPES
  3923. GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
  3924. GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
  3925. GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
  3926. GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
  3927. GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
  3928. GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
  3929. GL_APICALL void GL_APIENTRY glExtGetTexSubImageQCOM (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLenum format, GLenum type, void *texels);
  3930. GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params);
  3931. #endif
  3932. #endif /* GL_QCOM_extended_get */
  3933. #ifndef GL_QCOM_extended_get2
  3934. #define GL_QCOM_extended_get2 1
  3935. typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
  3936. typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
  3937. typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
  3938. typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
  3939. #ifdef GL_GLEXT_PROTOTYPES
  3940. GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
  3941. GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
  3942. GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
  3943. GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
  3944. #endif
  3945. #endif /* GL_QCOM_extended_get2 */
  3946. #ifndef GL_QCOM_framebuffer_foveated
  3947. #define GL_QCOM_framebuffer_foveated 1
  3948. #define GL_FOVEATION_ENABLE_BIT_QCOM 0x00000001
  3949. #define GL_FOVEATION_SCALED_BIN_METHOD_BIT_QCOM 0x00000002
  3950. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONCONFIGQCOMPROC) (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures);
  3951. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERFOVEATIONPARAMETERSQCOMPROC) (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
  3952. #ifdef GL_GLEXT_PROTOTYPES
  3953. GL_APICALL void GL_APIENTRY glFramebufferFoveationConfigQCOM (GLuint framebuffer, GLuint numLayers, GLuint focalPointsPerLayer, GLuint requestedFeatures, GLuint *providedFeatures);
  3954. GL_APICALL void GL_APIENTRY glFramebufferFoveationParametersQCOM (GLuint framebuffer, GLuint layer, GLuint focalPoint, GLfloat focalX, GLfloat focalY, GLfloat gainX, GLfloat gainY, GLfloat foveaArea);
  3955. #endif
  3956. #endif /* GL_QCOM_framebuffer_foveated */
  3957. #ifndef GL_QCOM_perfmon_global_mode
  3958. #define GL_QCOM_perfmon_global_mode 1
  3959. #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
  3960. #endif /* GL_QCOM_perfmon_global_mode */
  3961. #ifndef GL_QCOM_shader_framebuffer_fetch_noncoherent
  3962. #define GL_QCOM_shader_framebuffer_fetch_noncoherent 1
  3963. #define GL_FRAMEBUFFER_FETCH_NONCOHERENT_QCOM 0x96A2
  3964. typedef void(GL_APIENTRYP PFNGLFRAMEBUFFERFETCHBARRIERQCOMPROC)(void);
  3965. #ifdef GL_GLEXT_PROTOTYPES
  3966. GL_APICALL void GL_APIENTRY glFramebufferFetchBarrierQCOM(void);
  3967. #endif
  3968. #endif /* GL_QCOM_shader_framebuffer_fetch_noncoherent */
  3969. #ifndef GL_QCOM_shader_framebuffer_fetch_rate
  3970. #define GL_QCOM_shader_framebuffer_fetch_rate 1
  3971. #endif /* GL_QCOM_shader_framebuffer_fetch_rate */
  3972. #ifndef GL_QCOM_texture_foveated
  3973. #define GL_QCOM_texture_foveated 1
  3974. #define GL_TEXTURE_FOVEATED_FEATURE_BITS_QCOM 0x8BFB
  3975. #define GL_TEXTURE_FOVEATED_MIN_PIXEL_DENSITY_QCOM 0x8BFC
  3976. #define GL_TEXTURE_FOVEATED_FEATURE_QUERY_QCOM 0x8BFD
  3977. #define GL_TEXTURE_FOVEATED_NUM_FOCAL_POINTS_QUERY_QCOM 0x8BFE
  3978. #define GL_FRAMEBUFFER_INCOMPLETE_FOVEATION_QCOM 0x8BFF
  3979. typedef void(GL_APIENTRYP PFNGLTEXTUREFOVEATIONPARAMETERSQCOMPROC)(
  3980. GLuint texture,
  3981. GLuint layer,
  3982. GLuint focalPoint,
  3983. GLfloat focalX,
  3984. GLfloat focalY,
  3985. GLfloat gainX,
  3986. GLfloat gainY,
  3987. GLfloat foveaArea);
  3988. #ifdef GL_GLEXT_PROTOTYPES
  3989. GL_APICALL void GL_APIENTRY glTextureFoveationParametersQCOM(GLuint texture,
  3990. GLuint layer,
  3991. GLuint focalPoint,
  3992. GLfloat focalX,
  3993. GLfloat focalY,
  3994. GLfloat gainX,
  3995. GLfloat gainY,
  3996. GLfloat foveaArea);
  3997. #endif
  3998. #endif /* GL_QCOM_texture_foveated */
  3999. #ifndef GL_QCOM_texture_foveated_subsampled_layout
  4000. #define GL_QCOM_texture_foveated_subsampled_layout 1
  4001. #define GL_FOVEATION_SUBSAMPLED_LAYOUT_METHOD_BIT_QCOM 0x00000004
  4002. #define GL_MAX_SHADER_SUBSAMPLED_IMAGE_UNITS_QCOM 0x8FA1
  4003. #endif /* GL_QCOM_texture_foveated_subsampled_layout */
  4004. #ifndef GL_QCOM_tiled_rendering
  4005. #define GL_QCOM_tiled_rendering 1
  4006. #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
  4007. #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
  4008. #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
  4009. #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
  4010. #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
  4011. #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
  4012. #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
  4013. #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
  4014. #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
  4015. #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
  4016. #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
  4017. #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
  4018. #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
  4019. #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
  4020. #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
  4021. #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
  4022. #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
  4023. #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
  4024. #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
  4025. #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
  4026. #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
  4027. #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
  4028. #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
  4029. #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
  4030. #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
  4031. #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
  4032. #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
  4033. #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
  4034. #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
  4035. #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
  4036. #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
  4037. #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
  4038. typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
  4039. typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
  4040. #ifdef GL_GLEXT_PROTOTYPES
  4041. GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
  4042. GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
  4043. #endif
  4044. #endif /* GL_QCOM_tiled_rendering */
  4045. #ifndef GL_QCOM_writeonly_rendering
  4046. #define GL_QCOM_writeonly_rendering 1
  4047. #define GL_WRITEONLY_RENDERING_QCOM 0x8823
  4048. #endif /* GL_QCOM_writeonly_rendering */
  4049. #ifndef GL_VIV_shader_binary
  4050. #define GL_VIV_shader_binary 1
  4051. #define GL_SHADER_BINARY_VIV 0x8FC4
  4052. #endif /* GL_VIV_shader_binary */
  4053. #ifdef __cplusplus
  4054. }
  4055. #endif
  4056. #endif