gl2ext.h 186 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242
  1. #ifndef __gl2ext_h_
  2. #define __gl2ext_h_ 1
  3. #ifdef __cplusplus
  4. extern "C" {
  5. #endif
  6. /*
  7. ** Copyright (c) 2013-2015 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. ** http://www.opengl.org/registry/
  33. **
  34. ** Khronos $Revision: 31902 $ on $Date: 2015-09-03 15:44:53 -0700 (Thu, 03 Sep 2015) $
  35. */
  36. #ifndef GL_APIENTRYP
  37. #define GL_APIENTRYP GL_APIENTRY*
  38. #endif
  39. /* Generated on date 20150903 */
  40. /* Generated C header for:
  41. * API: gles2
  42. * Profile: common
  43. * Versions considered: 2\.[0-9]
  44. * Versions emitted: _nomatch_^
  45. * Default extensions included: gles2
  46. * Additional extensions included: _nomatch_^
  47. * Extensions removed: _nomatch_^
  48. */
  49. #ifndef GL_KHR_blend_equation_advanced
  50. #define GL_KHR_blend_equation_advanced 1
  51. #define GL_MULTIPLY_KHR 0x9294
  52. #define GL_SCREEN_KHR 0x9295
  53. #define GL_OVERLAY_KHR 0x9296
  54. #define GL_DARKEN_KHR 0x9297
  55. #define GL_LIGHTEN_KHR 0x9298
  56. #define GL_COLORDODGE_KHR 0x9299
  57. #define GL_COLORBURN_KHR 0x929A
  58. #define GL_HARDLIGHT_KHR 0x929B
  59. #define GL_SOFTLIGHT_KHR 0x929C
  60. #define GL_DIFFERENCE_KHR 0x929E
  61. #define GL_EXCLUSION_KHR 0x92A0
  62. #define GL_HSL_HUE_KHR 0x92AD
  63. #define GL_HSL_SATURATION_KHR 0x92AE
  64. #define GL_HSL_COLOR_KHR 0x92AF
  65. #define GL_HSL_LUMINOSITY_KHR 0x92B0
  66. typedef void (GL_APIENTRYP PFNGLBLENDBARRIERKHRPROC) (void);
  67. #ifdef GL_GLEXT_PROTOTYPES
  68. GL_APICALL void GL_APIENTRY glBlendBarrierKHR (void);
  69. #endif
  70. #endif /* GL_KHR_blend_equation_advanced */
  71. #ifndef GL_KHR_blend_equation_advanced_coherent
  72. #define GL_KHR_blend_equation_advanced_coherent 1
  73. #define GL_BLEND_ADVANCED_COHERENT_KHR 0x9285
  74. #endif /* GL_KHR_blend_equation_advanced_coherent */
  75. #ifndef GL_KHR_context_flush_control
  76. #define GL_KHR_context_flush_control 1
  77. #define GL_CONTEXT_RELEASE_BEHAVIOR_KHR 0x82FB
  78. #define GL_CONTEXT_RELEASE_BEHAVIOR_FLUSH_KHR 0x82FC
  79. #endif /* GL_KHR_context_flush_control */
  80. #ifndef GL_KHR_debug
  81. #define GL_KHR_debug 1
  82. typedef void (GL_APIENTRY *GLDEBUGPROCKHR)(GLenum source,GLenum type,GLuint id,GLenum severity,GLsizei length,const GLchar *message,const void *userParam);
  83. #define GL_SAMPLER 0x82E6
  84. #define GL_DEBUG_OUTPUT_SYNCHRONOUS_KHR 0x8242
  85. #define GL_DEBUG_NEXT_LOGGED_MESSAGE_LENGTH_KHR 0x8243
  86. #define GL_DEBUG_CALLBACK_FUNCTION_KHR 0x8244
  87. #define GL_DEBUG_CALLBACK_USER_PARAM_KHR 0x8245
  88. #define GL_DEBUG_SOURCE_API_KHR 0x8246
  89. #define GL_DEBUG_SOURCE_WINDOW_SYSTEM_KHR 0x8247
  90. #define GL_DEBUG_SOURCE_SHADER_COMPILER_KHR 0x8248
  91. #define GL_DEBUG_SOURCE_THIRD_PARTY_KHR 0x8249
  92. #define GL_DEBUG_SOURCE_APPLICATION_KHR 0x824A
  93. #define GL_DEBUG_SOURCE_OTHER_KHR 0x824B
  94. #define GL_DEBUG_TYPE_ERROR_KHR 0x824C
  95. #define GL_DEBUG_TYPE_DEPRECATED_BEHAVIOR_KHR 0x824D
  96. #define GL_DEBUG_TYPE_UNDEFINED_BEHAVIOR_KHR 0x824E
  97. #define GL_DEBUG_TYPE_PORTABILITY_KHR 0x824F
  98. #define GL_DEBUG_TYPE_PERFORMANCE_KHR 0x8250
  99. #define GL_DEBUG_TYPE_OTHER_KHR 0x8251
  100. #define GL_DEBUG_TYPE_MARKER_KHR 0x8268
  101. #define GL_DEBUG_TYPE_PUSH_GROUP_KHR 0x8269
  102. #define GL_DEBUG_TYPE_POP_GROUP_KHR 0x826A
  103. #define GL_DEBUG_SEVERITY_NOTIFICATION_KHR 0x826B
  104. #define GL_MAX_DEBUG_GROUP_STACK_DEPTH_KHR 0x826C
  105. #define GL_DEBUG_GROUP_STACK_DEPTH_KHR 0x826D
  106. #define GL_BUFFER_KHR 0x82E0
  107. #define GL_SHADER_KHR 0x82E1
  108. #define GL_PROGRAM_KHR 0x82E2
  109. #define GL_VERTEX_ARRAY_KHR 0x8074
  110. #define GL_QUERY_KHR 0x82E3
  111. #define GL_PROGRAM_PIPELINE_KHR 0x82E4
  112. #define GL_SAMPLER_KHR 0x82E6
  113. #define GL_MAX_LABEL_LENGTH_KHR 0x82E8
  114. #define GL_MAX_DEBUG_MESSAGE_LENGTH_KHR 0x9143
  115. #define GL_MAX_DEBUG_LOGGED_MESSAGES_KHR 0x9144
  116. #define GL_DEBUG_LOGGED_MESSAGES_KHR 0x9145
  117. #define GL_DEBUG_SEVERITY_HIGH_KHR 0x9146
  118. #define GL_DEBUG_SEVERITY_MEDIUM_KHR 0x9147
  119. #define GL_DEBUG_SEVERITY_LOW_KHR 0x9148
  120. #define GL_DEBUG_OUTPUT_KHR 0x92E0
  121. #define GL_CONTEXT_FLAG_DEBUG_BIT_KHR 0x00000002
  122. #define GL_STACK_OVERFLOW_KHR 0x0503
  123. #define GL_STACK_UNDERFLOW_KHR 0x0504
  124. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECONTROLKHRPROC) (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  125. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGEINSERTKHRPROC) (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  126. typedef void (GL_APIENTRYP PFNGLDEBUGMESSAGECALLBACKKHRPROC) (GLDEBUGPROCKHR callback, const void *userParam);
  127. typedef GLuint (GL_APIENTRYP PFNGLGETDEBUGMESSAGELOGKHRPROC) (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  128. typedef void (GL_APIENTRYP PFNGLPUSHDEBUGGROUPKHRPROC) (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  129. typedef void (GL_APIENTRYP PFNGLPOPDEBUGGROUPKHRPROC) (void);
  130. typedef void (GL_APIENTRYP PFNGLOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  131. typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELKHRPROC) (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  132. typedef void (GL_APIENTRYP PFNGLOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei length, const GLchar *label);
  133. typedef void (GL_APIENTRYP PFNGLGETOBJECTPTRLABELKHRPROC) (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  134. typedef void (GL_APIENTRYP PFNGLGETPOINTERVKHRPROC) (GLenum pname, void **params);
  135. #ifdef GL_GLEXT_PROTOTYPES
  136. GL_APICALL void GL_APIENTRY glDebugMessageControlKHR (GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled);
  137. GL_APICALL void GL_APIENTRY glDebugMessageInsertKHR (GLenum source, GLenum type, GLuint id, GLenum severity, GLsizei length, const GLchar *buf);
  138. GL_APICALL void GL_APIENTRY glDebugMessageCallbackKHR (GLDEBUGPROCKHR callback, const void *userParam);
  139. GL_APICALL GLuint GL_APIENTRY glGetDebugMessageLogKHR (GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog);
  140. GL_APICALL void GL_APIENTRY glPushDebugGroupKHR (GLenum source, GLuint id, GLsizei length, const GLchar *message);
  141. GL_APICALL void GL_APIENTRY glPopDebugGroupKHR (void);
  142. GL_APICALL void GL_APIENTRY glObjectLabelKHR (GLenum identifier, GLuint name, GLsizei length, const GLchar *label);
  143. GL_APICALL void GL_APIENTRY glGetObjectLabelKHR (GLenum identifier, GLuint name, GLsizei bufSize, GLsizei *length, GLchar *label);
  144. GL_APICALL void GL_APIENTRY glObjectPtrLabelKHR (const void *ptr, GLsizei length, const GLchar *label);
  145. GL_APICALL void GL_APIENTRY glGetObjectPtrLabelKHR (const void *ptr, GLsizei bufSize, GLsizei *length, GLchar *label);
  146. GL_APICALL void GL_APIENTRY glGetPointervKHR (GLenum pname, void **params);
  147. #endif
  148. #endif /* GL_KHR_debug */
  149. #ifndef GL_KHR_no_error
  150. #define GL_KHR_no_error 1
  151. #define GL_CONTEXT_FLAG_NO_ERROR_BIT_KHR 0x00000008
  152. #endif /* GL_KHR_no_error */
  153. #ifndef GL_KHR_robust_buffer_access_behavior
  154. #define GL_KHR_robust_buffer_access_behavior 1
  155. #endif /* GL_KHR_robust_buffer_access_behavior */
  156. #ifndef GL_KHR_robustness
  157. #define GL_KHR_robustness 1
  158. #define GL_CONTEXT_ROBUST_ACCESS_KHR 0x90F3
  159. #define GL_LOSE_CONTEXT_ON_RESET_KHR 0x8252
  160. #define GL_GUILTY_CONTEXT_RESET_KHR 0x8253
  161. #define GL_INNOCENT_CONTEXT_RESET_KHR 0x8254
  162. #define GL_UNKNOWN_CONTEXT_RESET_KHR 0x8255
  163. #define GL_RESET_NOTIFICATION_STRATEGY_KHR 0x8256
  164. #define GL_NO_RESET_NOTIFICATION_KHR 0x8261
  165. #define GL_CONTEXT_LOST_KHR 0x0507
  166. typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSKHRPROC) (void);
  167. typedef void (GL_APIENTRYP PFNGLREADNPIXELSKHRPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  168. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  169. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  170. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMUIVKHRPROC) (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  171. #ifdef GL_GLEXT_PROTOTYPES
  172. GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusKHR (void);
  173. GL_APICALL void GL_APIENTRY glReadnPixelsKHR (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  174. GL_APICALL void GL_APIENTRY glGetnUniformfvKHR (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  175. GL_APICALL void GL_APIENTRY glGetnUniformivKHR (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  176. GL_APICALL void GL_APIENTRY glGetnUniformuivKHR (GLuint program, GLint location, GLsizei bufSize, GLuint *params);
  177. #endif
  178. #endif /* GL_KHR_robustness */
  179. #ifndef GL_KHR_texture_compression_astc_hdr
  180. #define GL_KHR_texture_compression_astc_hdr 1
  181. #define GL_COMPRESSED_RGBA_ASTC_4x4_KHR 0x93B0
  182. #define GL_COMPRESSED_RGBA_ASTC_5x4_KHR 0x93B1
  183. #define GL_COMPRESSED_RGBA_ASTC_5x5_KHR 0x93B2
  184. #define GL_COMPRESSED_RGBA_ASTC_6x5_KHR 0x93B3
  185. #define GL_COMPRESSED_RGBA_ASTC_6x6_KHR 0x93B4
  186. #define GL_COMPRESSED_RGBA_ASTC_8x5_KHR 0x93B5
  187. #define GL_COMPRESSED_RGBA_ASTC_8x6_KHR 0x93B6
  188. #define GL_COMPRESSED_RGBA_ASTC_8x8_KHR 0x93B7
  189. #define GL_COMPRESSED_RGBA_ASTC_10x5_KHR 0x93B8
  190. #define GL_COMPRESSED_RGBA_ASTC_10x6_KHR 0x93B9
  191. #define GL_COMPRESSED_RGBA_ASTC_10x8_KHR 0x93BA
  192. #define GL_COMPRESSED_RGBA_ASTC_10x10_KHR 0x93BB
  193. #define GL_COMPRESSED_RGBA_ASTC_12x10_KHR 0x93BC
  194. #define GL_COMPRESSED_RGBA_ASTC_12x12_KHR 0x93BD
  195. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR 0x93D0
  196. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR 0x93D1
  197. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR 0x93D2
  198. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR 0x93D3
  199. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR 0x93D4
  200. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR 0x93D5
  201. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR 0x93D6
  202. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR 0x93D7
  203. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR 0x93D8
  204. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR 0x93D9
  205. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR 0x93DA
  206. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR 0x93DB
  207. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR 0x93DC
  208. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR 0x93DD
  209. #endif /* GL_KHR_texture_compression_astc_hdr */
  210. #ifndef GL_KHR_texture_compression_astc_ldr
  211. #define GL_KHR_texture_compression_astc_ldr 1
  212. #endif /* GL_KHR_texture_compression_astc_ldr */
  213. #ifndef GL_OES_EGL_image
  214. #define GL_OES_EGL_image 1
  215. typedef void *GLeglImageOES;
  216. typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETTEXTURE2DOESPROC) (GLenum target, GLeglImageOES image);
  217. typedef void (GL_APIENTRYP PFNGLEGLIMAGETARGETRENDERBUFFERSTORAGEOESPROC) (GLenum target, GLeglImageOES image);
  218. #ifdef GL_GLEXT_PROTOTYPES
  219. GL_APICALL void GL_APIENTRY glEGLImageTargetTexture2DOES (GLenum target, GLeglImageOES image);
  220. GL_APICALL void GL_APIENTRY glEGLImageTargetRenderbufferStorageOES (GLenum target, GLeglImageOES image);
  221. #endif
  222. #endif /* GL_OES_EGL_image */
  223. #ifndef GL_OES_EGL_image_external
  224. #define GL_OES_EGL_image_external 1
  225. #define GL_TEXTURE_EXTERNAL_OES 0x8D65
  226. #define GL_TEXTURE_BINDING_EXTERNAL_OES 0x8D67
  227. #define GL_REQUIRED_TEXTURE_IMAGE_UNITS_OES 0x8D68
  228. #define GL_SAMPLER_EXTERNAL_OES 0x8D66
  229. #endif /* GL_OES_EGL_image_external */
  230. #ifndef GL_OES_EGL_image_external_essl3
  231. #define GL_OES_EGL_image_external_essl3 1
  232. #endif /* GL_OES_EGL_image_external_essl3 */
  233. #ifndef GL_OES_compressed_ETC1_RGB8_sub_texture
  234. #define GL_OES_compressed_ETC1_RGB8_sub_texture 1
  235. #endif /* GL_OES_compressed_ETC1_RGB8_sub_texture */
  236. #ifndef GL_OES_compressed_ETC1_RGB8_texture
  237. #define GL_OES_compressed_ETC1_RGB8_texture 1
  238. #define GL_ETC1_RGB8_OES 0x8D64
  239. #endif /* GL_OES_compressed_ETC1_RGB8_texture */
  240. #ifndef GL_OES_compressed_paletted_texture
  241. #define GL_OES_compressed_paletted_texture 1
  242. #define GL_PALETTE4_RGB8_OES 0x8B90
  243. #define GL_PALETTE4_RGBA8_OES 0x8B91
  244. #define GL_PALETTE4_R5_G6_B5_OES 0x8B92
  245. #define GL_PALETTE4_RGBA4_OES 0x8B93
  246. #define GL_PALETTE4_RGB5_A1_OES 0x8B94
  247. #define GL_PALETTE8_RGB8_OES 0x8B95
  248. #define GL_PALETTE8_RGBA8_OES 0x8B96
  249. #define GL_PALETTE8_R5_G6_B5_OES 0x8B97
  250. #define GL_PALETTE8_RGBA4_OES 0x8B98
  251. #define GL_PALETTE8_RGB5_A1_OES 0x8B99
  252. #endif /* GL_OES_compressed_paletted_texture */
  253. #ifndef GL_OES_copy_image
  254. #define GL_OES_copy_image 1
  255. 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);
  256. #ifdef GL_GLEXT_PROTOTYPES
  257. 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);
  258. #endif
  259. #endif /* GL_OES_copy_image */
  260. #ifndef GL_OES_depth24
  261. #define GL_OES_depth24 1
  262. #define GL_DEPTH_COMPONENT24_OES 0x81A6
  263. #endif /* GL_OES_depth24 */
  264. #ifndef GL_OES_depth32
  265. #define GL_OES_depth32 1
  266. #define GL_DEPTH_COMPONENT32_OES 0x81A7
  267. #endif /* GL_OES_depth32 */
  268. #ifndef GL_OES_depth_texture
  269. #define GL_OES_depth_texture 1
  270. #endif /* GL_OES_depth_texture */
  271. #ifndef GL_OES_draw_buffers_indexed
  272. #define GL_OES_draw_buffers_indexed 1
  273. #define GL_MIN 0x8007
  274. #define GL_MAX 0x8008
  275. typedef void (GL_APIENTRYP PFNGLENABLEIOESPROC) (GLenum target, GLuint index);
  276. typedef void (GL_APIENTRYP PFNGLDISABLEIOESPROC) (GLenum target, GLuint index);
  277. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIOESPROC) (GLuint buf, GLenum mode);
  278. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIOESPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  279. typedef void (GL_APIENTRYP PFNGLBLENDFUNCIOESPROC) (GLuint buf, GLenum src, GLenum dst);
  280. typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIOESPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  281. typedef void (GL_APIENTRYP PFNGLCOLORMASKIOESPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  282. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIOESPROC) (GLenum target, GLuint index);
  283. #ifdef GL_GLEXT_PROTOTYPES
  284. GL_APICALL void GL_APIENTRY glEnableiOES (GLenum target, GLuint index);
  285. GL_APICALL void GL_APIENTRY glDisableiOES (GLenum target, GLuint index);
  286. GL_APICALL void GL_APIENTRY glBlendEquationiOES (GLuint buf, GLenum mode);
  287. GL_APICALL void GL_APIENTRY glBlendEquationSeparateiOES (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  288. GL_APICALL void GL_APIENTRY glBlendFunciOES (GLuint buf, GLenum src, GLenum dst);
  289. GL_APICALL void GL_APIENTRY glBlendFuncSeparateiOES (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  290. GL_APICALL void GL_APIENTRY glColorMaskiOES (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  291. GL_APICALL GLboolean GL_APIENTRY glIsEnablediOES (GLenum target, GLuint index);
  292. #endif
  293. #endif /* GL_OES_draw_buffers_indexed */
  294. #ifndef GL_OES_draw_elements_base_vertex
  295. #define GL_OES_draw_elements_base_vertex 1
  296. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  297. typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXOESPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  298. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXOESPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  299. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXOESPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
  300. #ifdef GL_GLEXT_PROTOTYPES
  301. GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  302. GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexOES (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  303. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexOES (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  304. GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexOES (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
  305. #endif
  306. #endif /* GL_OES_draw_elements_base_vertex */
  307. #ifndef GL_OES_element_index_uint
  308. #define GL_OES_element_index_uint 1
  309. #endif /* GL_OES_element_index_uint */
  310. #ifndef GL_OES_fbo_render_mipmap
  311. #define GL_OES_fbo_render_mipmap 1
  312. #endif /* GL_OES_fbo_render_mipmap */
  313. #ifndef GL_OES_fragment_precision_high
  314. #define GL_OES_fragment_precision_high 1
  315. #endif /* GL_OES_fragment_precision_high */
  316. #ifndef GL_OES_geometry_point_size
  317. #define GL_OES_geometry_point_size 1
  318. #endif /* GL_OES_geometry_point_size */
  319. #ifndef GL_OES_geometry_shader
  320. #define GL_OES_geometry_shader 1
  321. #define GL_GEOMETRY_SHADER_OES 0x8DD9
  322. #define GL_GEOMETRY_SHADER_BIT_OES 0x00000004
  323. #define GL_GEOMETRY_LINKED_VERTICES_OUT_OES 0x8916
  324. #define GL_GEOMETRY_LINKED_INPUT_TYPE_OES 0x8917
  325. #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_OES 0x8918
  326. #define GL_GEOMETRY_SHADER_INVOCATIONS_OES 0x887F
  327. #define GL_LAYER_PROVOKING_VERTEX_OES 0x825E
  328. #define GL_LINES_ADJACENCY_OES 0x000A
  329. #define GL_LINE_STRIP_ADJACENCY_OES 0x000B
  330. #define GL_TRIANGLES_ADJACENCY_OES 0x000C
  331. #define GL_TRIANGLE_STRIP_ADJACENCY_OES 0x000D
  332. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8DDF
  333. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_OES 0x8A2C
  334. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_OES 0x8A32
  335. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_OES 0x9123
  336. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_OES 0x9124
  337. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_OES 0x8DE0
  338. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_OES 0x8DE1
  339. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_OES 0x8E5A
  340. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_OES 0x8C29
  341. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_OES 0x92CF
  342. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_OES 0x92D5
  343. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_OES 0x90CD
  344. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_OES 0x90D7
  345. #define GL_FIRST_VERTEX_CONVENTION_OES 0x8E4D
  346. #define GL_LAST_VERTEX_CONVENTION_OES 0x8E4E
  347. #define GL_UNDEFINED_VERTEX_OES 0x8260
  348. #define GL_PRIMITIVES_GENERATED_OES 0x8C87
  349. #define GL_FRAMEBUFFER_DEFAULT_LAYERS_OES 0x9312
  350. #define GL_MAX_FRAMEBUFFER_LAYERS_OES 0x9317
  351. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_OES 0x8DA8
  352. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_OES 0x8DA7
  353. #define GL_REFERENCED_BY_GEOMETRY_SHADER_OES 0x9309
  354. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREOESPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  355. #ifdef GL_GLEXT_PROTOTYPES
  356. GL_APICALL void GL_APIENTRY glFramebufferTextureOES (GLenum target, GLenum attachment, GLuint texture, GLint level);
  357. #endif
  358. #endif /* GL_OES_geometry_shader */
  359. #ifndef GL_OES_get_program_binary
  360. #define GL_OES_get_program_binary 1
  361. #define GL_PROGRAM_BINARY_LENGTH_OES 0x8741
  362. #define GL_NUM_PROGRAM_BINARY_FORMATS_OES 0x87FE
  363. #define GL_PROGRAM_BINARY_FORMATS_OES 0x87FF
  364. typedef void (GL_APIENTRYP PFNGLGETPROGRAMBINARYOESPROC) (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  365. typedef void (GL_APIENTRYP PFNGLPROGRAMBINARYOESPROC) (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
  366. #ifdef GL_GLEXT_PROTOTYPES
  367. GL_APICALL void GL_APIENTRY glGetProgramBinaryOES (GLuint program, GLsizei bufSize, GLsizei *length, GLenum *binaryFormat, void *binary);
  368. GL_APICALL void GL_APIENTRY glProgramBinaryOES (GLuint program, GLenum binaryFormat, const void *binary, GLint length);
  369. #endif
  370. #endif /* GL_OES_get_program_binary */
  371. #ifndef GL_OES_gpu_shader5
  372. #define GL_OES_gpu_shader5 1
  373. #endif /* GL_OES_gpu_shader5 */
  374. #ifndef GL_OES_mapbuffer
  375. #define GL_OES_mapbuffer 1
  376. #define GL_WRITE_ONLY_OES 0x88B9
  377. #define GL_BUFFER_ACCESS_OES 0x88BB
  378. #define GL_BUFFER_MAPPED_OES 0x88BC
  379. #define GL_BUFFER_MAP_POINTER_OES 0x88BD
  380. typedef void *(GL_APIENTRYP PFNGLMAPBUFFEROESPROC) (GLenum target, GLenum access);
  381. typedef GLboolean (GL_APIENTRYP PFNGLUNMAPBUFFEROESPROC) (GLenum target);
  382. typedef void (GL_APIENTRYP PFNGLGETBUFFERPOINTERVOESPROC) (GLenum target, GLenum pname, void **params);
  383. #ifdef GL_GLEXT_PROTOTYPES
  384. GL_APICALL void *GL_APIENTRY glMapBufferOES (GLenum target, GLenum access);
  385. GL_APICALL GLboolean GL_APIENTRY glUnmapBufferOES (GLenum target);
  386. GL_APICALL void GL_APIENTRY glGetBufferPointervOES (GLenum target, GLenum pname, void **params);
  387. #endif
  388. #endif /* GL_OES_mapbuffer */
  389. #ifndef GL_OES_packed_depth_stencil
  390. #define GL_OES_packed_depth_stencil 1
  391. #define GL_DEPTH_STENCIL_OES 0x84F9
  392. #define GL_UNSIGNED_INT_24_8_OES 0x84FA
  393. #define GL_DEPTH24_STENCIL8_OES 0x88F0
  394. #endif /* GL_OES_packed_depth_stencil */
  395. #ifndef GL_OES_primitive_bounding_box
  396. #define GL_OES_primitive_bounding_box 1
  397. #define GL_PRIMITIVE_BOUNDING_BOX_OES 0x92BE
  398. typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXOESPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  399. #ifdef GL_GLEXT_PROTOTYPES
  400. GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxOES (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  401. #endif
  402. #endif /* GL_OES_primitive_bounding_box */
  403. #ifndef GL_OES_required_internalformat
  404. #define GL_OES_required_internalformat 1
  405. #define GL_ALPHA8_OES 0x803C
  406. #define GL_DEPTH_COMPONENT16_OES 0x81A5
  407. #define GL_LUMINANCE4_ALPHA4_OES 0x8043
  408. #define GL_LUMINANCE8_ALPHA8_OES 0x8045
  409. #define GL_LUMINANCE8_OES 0x8040
  410. #define GL_RGBA4_OES 0x8056
  411. #define GL_RGB5_A1_OES 0x8057
  412. #define GL_RGB565_OES 0x8D62
  413. #define GL_RGB8_OES 0x8051
  414. #define GL_RGBA8_OES 0x8058
  415. #define GL_RGB10_EXT 0x8052
  416. #define GL_RGB10_A2_EXT 0x8059
  417. #endif /* GL_OES_required_internalformat */
  418. #ifndef GL_OES_rgb8_rgba8
  419. #define GL_OES_rgb8_rgba8 1
  420. #endif /* GL_OES_rgb8_rgba8 */
  421. #ifndef GL_OES_sample_shading
  422. #define GL_OES_sample_shading 1
  423. #define GL_SAMPLE_SHADING_OES 0x8C36
  424. #define GL_MIN_SAMPLE_SHADING_VALUE_OES 0x8C37
  425. typedef void (GL_APIENTRYP PFNGLMINSAMPLESHADINGOESPROC) (GLfloat value);
  426. #ifdef GL_GLEXT_PROTOTYPES
  427. GL_APICALL void GL_APIENTRY glMinSampleShadingOES (GLfloat value);
  428. #endif
  429. #endif /* GL_OES_sample_shading */
  430. #ifndef GL_OES_sample_variables
  431. #define GL_OES_sample_variables 1
  432. #endif /* GL_OES_sample_variables */
  433. #ifndef GL_OES_shader_image_atomic
  434. #define GL_OES_shader_image_atomic 1
  435. #endif /* GL_OES_shader_image_atomic */
  436. #ifndef GL_OES_shader_io_blocks
  437. #define GL_OES_shader_io_blocks 1
  438. #endif /* GL_OES_shader_io_blocks */
  439. #ifndef GL_OES_shader_multisample_interpolation
  440. #define GL_OES_shader_multisample_interpolation 1
  441. #define GL_MIN_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5B
  442. #define GL_MAX_FRAGMENT_INTERPOLATION_OFFSET_OES 0x8E5C
  443. #define GL_FRAGMENT_INTERPOLATION_OFFSET_BITS_OES 0x8E5D
  444. #endif /* GL_OES_shader_multisample_interpolation */
  445. #ifndef GL_OES_standard_derivatives
  446. #define GL_OES_standard_derivatives 1
  447. #define GL_FRAGMENT_SHADER_DERIVATIVE_HINT_OES 0x8B8B
  448. #endif /* GL_OES_standard_derivatives */
  449. #ifndef GL_OES_stencil1
  450. #define GL_OES_stencil1 1
  451. #define GL_STENCIL_INDEX1_OES 0x8D46
  452. #endif /* GL_OES_stencil1 */
  453. #ifndef GL_OES_stencil4
  454. #define GL_OES_stencil4 1
  455. #define GL_STENCIL_INDEX4_OES 0x8D47
  456. #endif /* GL_OES_stencil4 */
  457. #ifndef GL_OES_surfaceless_context
  458. #define GL_OES_surfaceless_context 1
  459. #define GL_FRAMEBUFFER_UNDEFINED_OES 0x8219
  460. #endif /* GL_OES_surfaceless_context */
  461. #ifndef GL_OES_tessellation_point_size
  462. #define GL_OES_tessellation_point_size 1
  463. #endif /* GL_OES_tessellation_point_size */
  464. #ifndef GL_OES_tessellation_shader
  465. #define GL_OES_tessellation_shader 1
  466. #define GL_PATCHES_OES 0x000E
  467. #define GL_PATCH_VERTICES_OES 0x8E72
  468. #define GL_TESS_CONTROL_OUTPUT_VERTICES_OES 0x8E75
  469. #define GL_TESS_GEN_MODE_OES 0x8E76
  470. #define GL_TESS_GEN_SPACING_OES 0x8E77
  471. #define GL_TESS_GEN_VERTEX_ORDER_OES 0x8E78
  472. #define GL_TESS_GEN_POINT_MODE_OES 0x8E79
  473. #define GL_ISOLINES_OES 0x8E7A
  474. #define GL_QUADS_OES 0x0007
  475. #define GL_FRACTIONAL_ODD_OES 0x8E7B
  476. #define GL_FRACTIONAL_EVEN_OES 0x8E7C
  477. #define GL_MAX_PATCH_VERTICES_OES 0x8E7D
  478. #define GL_MAX_TESS_GEN_LEVEL_OES 0x8E7E
  479. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E7F
  480. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E80
  481. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_OES 0x8E81
  482. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_OES 0x8E82
  483. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_OES 0x8E83
  484. #define GL_MAX_TESS_PATCH_COMPONENTS_OES 0x8E84
  485. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_OES 0x8E85
  486. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_OES 0x8E86
  487. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_OES 0x8E89
  488. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_OES 0x8E8A
  489. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_OES 0x886C
  490. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_OES 0x886D
  491. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_OES 0x8E1E
  492. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_OES 0x8E1F
  493. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_OES 0x92CD
  494. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_OES 0x92CE
  495. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_OES 0x92D3
  496. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_OES 0x92D4
  497. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_OES 0x90CB
  498. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_OES 0x90CC
  499. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_OES 0x90D8
  500. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_OES 0x90D9
  501. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED_OES 0x8221
  502. #define GL_IS_PER_PATCH_OES 0x92E7
  503. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_OES 0x9307
  504. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_OES 0x9308
  505. #define GL_TESS_CONTROL_SHADER_OES 0x8E88
  506. #define GL_TESS_EVALUATION_SHADER_OES 0x8E87
  507. #define GL_TESS_CONTROL_SHADER_BIT_OES 0x00000008
  508. #define GL_TESS_EVALUATION_SHADER_BIT_OES 0x00000010
  509. typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIOESPROC) (GLenum pname, GLint value);
  510. #ifdef GL_GLEXT_PROTOTYPES
  511. GL_APICALL void GL_APIENTRY glPatchParameteriOES (GLenum pname, GLint value);
  512. #endif
  513. #endif /* GL_OES_tessellation_shader */
  514. #ifndef GL_OES_texture_3D
  515. #define GL_OES_texture_3D 1
  516. #define GL_TEXTURE_WRAP_R_OES 0x8072
  517. #define GL_TEXTURE_3D_OES 0x806F
  518. #define GL_TEXTURE_BINDING_3D_OES 0x806A
  519. #define GL_MAX_3D_TEXTURE_SIZE_OES 0x8073
  520. #define GL_SAMPLER_3D_OES 0x8B5F
  521. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_3D_ZOFFSET_OES 0x8CD4
  522. 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);
  523. 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);
  524. typedef void (GL_APIENTRYP PFNGLCOPYTEXSUBIMAGE3DOESPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  525. typedef void (GL_APIENTRYP PFNGLCOMPRESSEDTEXIMAGE3DOESPROC) (GLenum target, GLint level, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLint border, GLsizei imageSize, const void *data);
  526. 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);
  527. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE3DOESPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  528. #ifdef GL_GLEXT_PROTOTYPES
  529. 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);
  530. 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);
  531. GL_APICALL void GL_APIENTRY glCopyTexSubImage3DOES (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLint x, GLint y, GLsizei width, GLsizei height);
  532. 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);
  533. 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);
  534. GL_APICALL void GL_APIENTRY glFramebufferTexture3DOES (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLint zoffset);
  535. #endif
  536. #endif /* GL_OES_texture_3D */
  537. #ifndef GL_OES_texture_border_clamp
  538. #define GL_OES_texture_border_clamp 1
  539. #define GL_TEXTURE_BORDER_COLOR_OES 0x1004
  540. #define GL_CLAMP_TO_BORDER_OES 0x812D
  541. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, const GLint *params);
  542. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, const GLuint *params);
  543. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVOESPROC) (GLenum target, GLenum pname, GLint *params);
  544. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVOESPROC) (GLenum target, GLenum pname, GLuint *params);
  545. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, const GLint *param);
  546. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  547. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVOESPROC) (GLuint sampler, GLenum pname, GLint *params);
  548. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVOESPROC) (GLuint sampler, GLenum pname, GLuint *params);
  549. #ifdef GL_GLEXT_PROTOTYPES
  550. GL_APICALL void GL_APIENTRY glTexParameterIivOES (GLenum target, GLenum pname, const GLint *params);
  551. GL_APICALL void GL_APIENTRY glTexParameterIuivOES (GLenum target, GLenum pname, const GLuint *params);
  552. GL_APICALL void GL_APIENTRY glGetTexParameterIivOES (GLenum target, GLenum pname, GLint *params);
  553. GL_APICALL void GL_APIENTRY glGetTexParameterIuivOES (GLenum target, GLenum pname, GLuint *params);
  554. GL_APICALL void GL_APIENTRY glSamplerParameterIivOES (GLuint sampler, GLenum pname, const GLint *param);
  555. GL_APICALL void GL_APIENTRY glSamplerParameterIuivOES (GLuint sampler, GLenum pname, const GLuint *param);
  556. GL_APICALL void GL_APIENTRY glGetSamplerParameterIivOES (GLuint sampler, GLenum pname, GLint *params);
  557. GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivOES (GLuint sampler, GLenum pname, GLuint *params);
  558. #endif
  559. #endif /* GL_OES_texture_border_clamp */
  560. #ifndef GL_OES_texture_buffer
  561. #define GL_OES_texture_buffer 1
  562. #define GL_TEXTURE_BUFFER_OES 0x8C2A
  563. #define GL_TEXTURE_BUFFER_BINDING_OES 0x8C2A
  564. #define GL_MAX_TEXTURE_BUFFER_SIZE_OES 0x8C2B
  565. #define GL_TEXTURE_BINDING_BUFFER_OES 0x8C2C
  566. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_OES 0x8C2D
  567. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_OES 0x919F
  568. #define GL_SAMPLER_BUFFER_OES 0x8DC2
  569. #define GL_INT_SAMPLER_BUFFER_OES 0x8DD0
  570. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_OES 0x8DD8
  571. #define GL_IMAGE_BUFFER_OES 0x9051
  572. #define GL_INT_IMAGE_BUFFER_OES 0x905C
  573. #define GL_UNSIGNED_INT_IMAGE_BUFFER_OES 0x9067
  574. #define GL_TEXTURE_BUFFER_OFFSET_OES 0x919D
  575. #define GL_TEXTURE_BUFFER_SIZE_OES 0x919E
  576. typedef void (GL_APIENTRYP PFNGLTEXBUFFEROESPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  577. typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEOESPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  578. #ifdef GL_GLEXT_PROTOTYPES
  579. GL_APICALL void GL_APIENTRY glTexBufferOES (GLenum target, GLenum internalformat, GLuint buffer);
  580. GL_APICALL void GL_APIENTRY glTexBufferRangeOES (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  581. #endif
  582. #endif /* GL_OES_texture_buffer */
  583. #ifndef GL_OES_texture_compression_astc
  584. #define GL_OES_texture_compression_astc 1
  585. #define GL_COMPRESSED_RGBA_ASTC_3x3x3_OES 0x93C0
  586. #define GL_COMPRESSED_RGBA_ASTC_4x3x3_OES 0x93C1
  587. #define GL_COMPRESSED_RGBA_ASTC_4x4x3_OES 0x93C2
  588. #define GL_COMPRESSED_RGBA_ASTC_4x4x4_OES 0x93C3
  589. #define GL_COMPRESSED_RGBA_ASTC_5x4x4_OES 0x93C4
  590. #define GL_COMPRESSED_RGBA_ASTC_5x5x4_OES 0x93C5
  591. #define GL_COMPRESSED_RGBA_ASTC_5x5x5_OES 0x93C6
  592. #define GL_COMPRESSED_RGBA_ASTC_6x5x5_OES 0x93C7
  593. #define GL_COMPRESSED_RGBA_ASTC_6x6x5_OES 0x93C8
  594. #define GL_COMPRESSED_RGBA_ASTC_6x6x6_OES 0x93C9
  595. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_3x3x3_OES 0x93E0
  596. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x3x3_OES 0x93E1
  597. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x3_OES 0x93E2
  598. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_4x4x4_OES 0x93E3
  599. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x4x4_OES 0x93E4
  600. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x4_OES 0x93E5
  601. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_5x5x5_OES 0x93E6
  602. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x5x5_OES 0x93E7
  603. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x5_OES 0x93E8
  604. #define GL_COMPRESSED_SRGB8_ALPHA8_ASTC_6x6x6_OES 0x93E9
  605. #endif /* GL_OES_texture_compression_astc */
  606. #ifndef GL_OES_texture_cube_map_array
  607. #define GL_OES_texture_cube_map_array 1
  608. #define GL_TEXTURE_CUBE_MAP_ARRAY_OES 0x9009
  609. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_OES 0x900A
  610. #define GL_SAMPLER_CUBE_MAP_ARRAY_OES 0x900C
  611. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_OES 0x900D
  612. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900E
  613. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_OES 0x900F
  614. #define GL_IMAGE_CUBE_MAP_ARRAY_OES 0x9054
  615. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x905F
  616. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_OES 0x906A
  617. #endif /* GL_OES_texture_cube_map_array */
  618. #ifndef GL_OES_texture_float
  619. #define GL_OES_texture_float 1
  620. #endif /* GL_OES_texture_float */
  621. #ifndef GL_OES_texture_float_linear
  622. #define GL_OES_texture_float_linear 1
  623. #endif /* GL_OES_texture_float_linear */
  624. #ifndef GL_OES_texture_half_float
  625. #define GL_OES_texture_half_float 1
  626. #define GL_HALF_FLOAT_OES 0x8D61
  627. #endif /* GL_OES_texture_half_float */
  628. #ifndef GL_OES_texture_half_float_linear
  629. #define GL_OES_texture_half_float_linear 1
  630. #endif /* GL_OES_texture_half_float_linear */
  631. #ifndef GL_OES_texture_npot
  632. #define GL_OES_texture_npot 1
  633. #endif /* GL_OES_texture_npot */
  634. #ifndef GL_OES_texture_stencil8
  635. #define GL_OES_texture_stencil8 1
  636. #define GL_STENCIL_INDEX_OES 0x1901
  637. #define GL_STENCIL_INDEX8_OES 0x8D48
  638. #endif /* GL_OES_texture_stencil8 */
  639. #ifndef GL_OES_texture_storage_multisample_2d_array
  640. #define GL_OES_texture_storage_multisample_2d_array 1
  641. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY_OES 0x9102
  642. #define GL_TEXTURE_BINDING_2D_MULTISAMPLE_ARRAY_OES 0x9105
  643. #define GL_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910B
  644. #define GL_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910C
  645. #define GL_UNSIGNED_INT_SAMPLER_2D_MULTISAMPLE_ARRAY_OES 0x910D
  646. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DMULTISAMPLEOESPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  647. #ifdef GL_GLEXT_PROTOTYPES
  648. GL_APICALL void GL_APIENTRY glTexStorage3DMultisampleOES (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth, GLboolean fixedsamplelocations);
  649. #endif
  650. #endif /* GL_OES_texture_storage_multisample_2d_array */
  651. #ifndef GL_OES_texture_view
  652. #define GL_OES_texture_view 1
  653. #define GL_TEXTURE_VIEW_MIN_LEVEL_OES 0x82DB
  654. #define GL_TEXTURE_VIEW_NUM_LEVELS_OES 0x82DC
  655. #define GL_TEXTURE_VIEW_MIN_LAYER_OES 0x82DD
  656. #define GL_TEXTURE_VIEW_NUM_LAYERS_OES 0x82DE
  657. #define GL_TEXTURE_IMMUTABLE_LEVELS 0x82DF
  658. typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWOESPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  659. #ifdef GL_GLEXT_PROTOTYPES
  660. GL_APICALL void GL_APIENTRY glTextureViewOES (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  661. #endif
  662. #endif /* GL_OES_texture_view */
  663. #ifndef GL_OES_vertex_array_object
  664. #define GL_OES_vertex_array_object 1
  665. #define GL_VERTEX_ARRAY_BINDING_OES 0x85B5
  666. typedef void (GL_APIENTRYP PFNGLBINDVERTEXARRAYOESPROC) (GLuint array);
  667. typedef void (GL_APIENTRYP PFNGLDELETEVERTEXARRAYSOESPROC) (GLsizei n, const GLuint *arrays);
  668. typedef void (GL_APIENTRYP PFNGLGENVERTEXARRAYSOESPROC) (GLsizei n, GLuint *arrays);
  669. typedef GLboolean (GL_APIENTRYP PFNGLISVERTEXARRAYOESPROC) (GLuint array);
  670. #ifdef GL_GLEXT_PROTOTYPES
  671. GL_APICALL void GL_APIENTRY glBindVertexArrayOES (GLuint array);
  672. GL_APICALL void GL_APIENTRY glDeleteVertexArraysOES (GLsizei n, const GLuint *arrays);
  673. GL_APICALL void GL_APIENTRY glGenVertexArraysOES (GLsizei n, GLuint *arrays);
  674. GL_APICALL GLboolean GL_APIENTRY glIsVertexArrayOES (GLuint array);
  675. #endif
  676. #endif /* GL_OES_vertex_array_object */
  677. #ifndef GL_OES_vertex_half_float
  678. #define GL_OES_vertex_half_float 1
  679. #endif /* GL_OES_vertex_half_float */
  680. #ifndef GL_OES_vertex_type_10_10_10_2
  681. #define GL_OES_vertex_type_10_10_10_2 1
  682. #define GL_UNSIGNED_INT_10_10_10_2_OES 0x8DF6
  683. #define GL_INT_10_10_10_2_OES 0x8DF7
  684. #endif /* GL_OES_vertex_type_10_10_10_2 */
  685. #ifndef GL_AMD_compressed_3DC_texture
  686. #define GL_AMD_compressed_3DC_texture 1
  687. #define GL_3DC_X_AMD 0x87F9
  688. #define GL_3DC_XY_AMD 0x87FA
  689. #endif /* GL_AMD_compressed_3DC_texture */
  690. #ifndef GL_AMD_compressed_ATC_texture
  691. #define GL_AMD_compressed_ATC_texture 1
  692. #define GL_ATC_RGB_AMD 0x8C92
  693. #define GL_ATC_RGBA_EXPLICIT_ALPHA_AMD 0x8C93
  694. #define GL_ATC_RGBA_INTERPOLATED_ALPHA_AMD 0x87EE
  695. #endif /* GL_AMD_compressed_ATC_texture */
  696. #ifndef GL_AMD_performance_monitor
  697. #define GL_AMD_performance_monitor 1
  698. #define GL_COUNTER_TYPE_AMD 0x8BC0
  699. #define GL_COUNTER_RANGE_AMD 0x8BC1
  700. #define GL_UNSIGNED_INT64_AMD 0x8BC2
  701. #define GL_PERCENTAGE_AMD 0x8BC3
  702. #define GL_PERFMON_RESULT_AVAILABLE_AMD 0x8BC4
  703. #define GL_PERFMON_RESULT_SIZE_AMD 0x8BC5
  704. #define GL_PERFMON_RESULT_AMD 0x8BC6
  705. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSAMDPROC) (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  706. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSAMDPROC) (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  707. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORGROUPSTRINGAMDPROC) (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  708. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERSTRINGAMDPROC) (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  709. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERINFOAMDPROC) (GLuint group, GLuint counter, GLenum pname, void *data);
  710. typedef void (GL_APIENTRYP PFNGLGENPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  711. typedef void (GL_APIENTRYP PFNGLDELETEPERFMONITORSAMDPROC) (GLsizei n, GLuint *monitors);
  712. typedef void (GL_APIENTRYP PFNGLSELECTPERFMONITORCOUNTERSAMDPROC) (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  713. typedef void (GL_APIENTRYP PFNGLBEGINPERFMONITORAMDPROC) (GLuint monitor);
  714. typedef void (GL_APIENTRYP PFNGLENDPERFMONITORAMDPROC) (GLuint monitor);
  715. typedef void (GL_APIENTRYP PFNGLGETPERFMONITORCOUNTERDATAAMDPROC) (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  716. #ifdef GL_GLEXT_PROTOTYPES
  717. GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupsAMD (GLint *numGroups, GLsizei groupsSize, GLuint *groups);
  718. GL_APICALL void GL_APIENTRY glGetPerfMonitorCountersAMD (GLuint group, GLint *numCounters, GLint *maxActiveCounters, GLsizei counterSize, GLuint *counters);
  719. GL_APICALL void GL_APIENTRY glGetPerfMonitorGroupStringAMD (GLuint group, GLsizei bufSize, GLsizei *length, GLchar *groupString);
  720. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterStringAMD (GLuint group, GLuint counter, GLsizei bufSize, GLsizei *length, GLchar *counterString);
  721. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterInfoAMD (GLuint group, GLuint counter, GLenum pname, void *data);
  722. GL_APICALL void GL_APIENTRY glGenPerfMonitorsAMD (GLsizei n, GLuint *monitors);
  723. GL_APICALL void GL_APIENTRY glDeletePerfMonitorsAMD (GLsizei n, GLuint *monitors);
  724. GL_APICALL void GL_APIENTRY glSelectPerfMonitorCountersAMD (GLuint monitor, GLboolean enable, GLuint group, GLint numCounters, GLuint *counterList);
  725. GL_APICALL void GL_APIENTRY glBeginPerfMonitorAMD (GLuint monitor);
  726. GL_APICALL void GL_APIENTRY glEndPerfMonitorAMD (GLuint monitor);
  727. GL_APICALL void GL_APIENTRY glGetPerfMonitorCounterDataAMD (GLuint monitor, GLenum pname, GLsizei dataSize, GLuint *data, GLint *bytesWritten);
  728. #endif
  729. #endif /* GL_AMD_performance_monitor */
  730. #ifndef GL_AMD_program_binary_Z400
  731. #define GL_AMD_program_binary_Z400 1
  732. #define GL_Z400_BINARY_AMD 0x8740
  733. #endif /* GL_AMD_program_binary_Z400 */
  734. #ifndef GL_ANDROID_extension_pack_es31a
  735. #define GL_ANDROID_extension_pack_es31a 1
  736. #endif /* GL_ANDROID_extension_pack_es31a */
  737. #ifndef GL_ANGLE_depth_texture
  738. #define GL_ANGLE_depth_texture 1
  739. #endif /* GL_ANGLE_depth_texture */
  740. #ifndef GL_ANGLE_framebuffer_blit
  741. #define GL_ANGLE_framebuffer_blit 1
  742. #define GL_READ_FRAMEBUFFER_ANGLE 0x8CA8
  743. #define GL_DRAW_FRAMEBUFFER_ANGLE 0x8CA9
  744. #define GL_DRAW_FRAMEBUFFER_BINDING_ANGLE 0x8CA6
  745. #define GL_READ_FRAMEBUFFER_BINDING_ANGLE 0x8CAA
  746. 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);
  747. #ifdef GL_GLEXT_PROTOTYPES
  748. 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);
  749. #endif
  750. #endif /* GL_ANGLE_framebuffer_blit */
  751. #ifndef GL_CHROMIUM_framebuffer_mixed_samples
  752. #define GL_CHROMIUM_frambuffer_mixed_samples 1
  753. #define GL_COVERAGE_MODULATION_CHROMIUM 0x9332
  754. typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONCHROMIUMPROC) (GLenum components);
  755. #ifdef GL_GLEXT_PROTOTYPES
  756. GL_APICALL void GL_APIENTRY glCoverageModulationCHROMIUM(GLenum components);
  757. #endif
  758. #endif /* GL_CHROMIUM_framebuffer_mixed_samples */
  759. // needed by NV_path_rendering (and thus CHROMIUM_path_rendering)
  760. // but CHROMIUM_path_rendering only needs MatrixLoadfEXT, MatrixLoadIdentityEXT
  761. #ifndef GL_EXT_direct_state_access
  762. #define GL_EXT_direct_state_access 1
  763. typedef void(GL_APIENTRYP PFNGLMATRIXLOADFEXTPROC)(GLenum matrixMode, const GLfloat *m);
  764. typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYEXTPROC)(GLenum matrixMode);
  765. #ifdef GL_GLEXT_PROTOTYPES
  766. GL_APICALL void GL_APIENTRY glMatrixLoadfEXT(GLenum matrixMode, const GLfloat *m);
  767. GL_APICALL void GL_APIENTRY glMatrixLoadIdentityEXT(GLenum matrixMode);
  768. #endif
  769. #endif /* GL_EXT_direct_state_access */
  770. #ifndef GL_CHROMIUM_path_rendering
  771. #define GL_CHROMIUM_path_rendering 1
  772. #define GL_PATH_MODELVIEW_CHROMIUM 0x1700
  773. #define GL_PATH_PROJECTION_CHROMIUM 0x1701
  774. #define GL_CLOSE_PATH_CHROMIUM 0x00
  775. #define GL_MOVE_TO_CHROMIUM 0x02
  776. #define GL_LINE_TO_CHROMIUM 0x04
  777. #define GL_QUADRATIC_CURVE_TO_CHROMIUM 0x0A
  778. #define GL_CUBIC_CURVE_TO_CHROMIUM 0x0C
  779. #define GL_CONIC_CURVE_TO_CHROMIUM 0x1A
  780. #define GL_PATH_MODELVIEW_MATRIX_CHROMIUM 0x0BA6
  781. #define GL_PATH_PROJECTION_MATRIX_CHROMIUM 0x0BA7
  782. #define GL_PATH_STROKE_WIDTH_CHROMIUM 0x9075
  783. #define GL_PATH_END_CAPS_CHROMIUM 0x9076
  784. #define GL_PATH_JOIN_STYLE_CHROMIUM 0x9079
  785. #define GL_PATH_MITER_LIMIT_CHROMIUM 0x907a
  786. #define GL_PATH_STROKE_BOUND_CHROMIUM 0x9086
  787. #define GL_FLAT_CHROMIUM 0x1D00
  788. #define GL_SQUARE_CHROMIUM 0x90a3
  789. #define GL_ROUND_CHROMIUM 0x90a4
  790. #define GL_BEVEL_CHROMIUM 0x90A6
  791. #define GL_MITER_REVERT_CHROMIUM 0x90A7
  792. #define GL_COUNT_UP_CHROMIUM 0x9088
  793. #define GL_COUNT_DOWN_CHROMIUM 0x9089
  794. #define GL_CONVEX_HULL_CHROMIUM 0x908B
  795. #define GL_BOUNDING_BOX_CHROMIUM 0x908D
  796. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_CHROMIUM 0x909C
  797. #define GL_EYE_LINEAR_CHROMIUM 0x2400
  798. #define GL_OBJECT_LINEAR_CHROMIUM 0x2401
  799. #define GL_CONSTANT_CHROMIUM 0x8576
  800. #define GL_TRANSLATE_X_CHROMIUM 0x908E
  801. #define GL_TRANSLATE_Y_CHROMIUM 0x908F
  802. #define GL_TRANSLATE_2D_CHROMIUM 0x9090
  803. #define GL_TRANSLATE_3D_CHROMIUM 0x9091
  804. #define GL_AFFINE_2D_CHROMIUM 0x9092
  805. #define GL_AFFINE_3D_CHROMIUM 0x9094
  806. #define GL_TRANSPOSE_AFFINE_2D_CHROMIUM 0x9096
  807. #define GL_TRANSPOSE_AFFINE_3D_CHROMIUM 0x9098
  808. typedef void(GL_APIENTRYP PFNGLMATRIXLOADFCHROMIUMPROC)(GLenum matrixMode, const GLfloat *m);
  809. typedef void(GL_APIENTRYP PFNGLMATRIXLOADIDENTITYCHROMIUMPROC)(GLenum matrixMode);
  810. typedef GLuint(GL_APIENTRYP PFNGLGENPATHSCHROMIUMPROC)(GLsizei range);
  811. typedef void(GL_APIENTRYP PFNGLDELETEPATHSCHROMIUMPROC)(GLuint path, GLsizei range);
  812. typedef GLboolean(GL_APIENTRYP PFNGLISPATHCHROMIUMPROC)(GLuint path);
  813. typedef void(GL_APIENTRYP PFNGLPATHCOMMANDSCHROMIUMPROC)(GLuint path,
  814. GLsizei numCommands,
  815. const GLubyte *commands,
  816. GLsizei numCoords,
  817. GLenum coordType,
  818. const void *coords);
  819. typedef void(GL_APIENTRYP PFNGLPATHPARAMETERICHROMIUMPROC)(GLuint path, GLenum pname, GLint value);
  820. typedef void(GL_APIENTRYP PFNGLPATHPARAMETERFCHROMIUMPROC)(GLuint path,
  821. GLenum pname,
  822. GLfloat value);
  823. typedef void(GL_APIENTRYP PFNGLGETPATHPARAMETERIVCHROMIUMPROC)(GLuint path,
  824. GLenum pname,
  825. GLint *value);
  826. typedef void(GL_APIENTRYP PFNGLGETPATHPARAMETERFVCHROMIUMPROC)(GLuint path,
  827. GLenum pname,
  828. GLfloat *value);
  829. typedef void(GL_APIENTRYP PFNGLPATHSTENCILFUNCCHROMIUMPROC)(GLenum func, GLint ref, GLuint mask);
  830. typedef void(GL_APIENTRYP PFNGLSTENCILFILLPATHCHROMIUMPROC)(GLuint path,
  831. GLenum fillMode,
  832. GLuint mask);
  833. typedef void(GL_APIENTRYP PFNGLSTENCILSTROKEPATHCHROMIUMPROC)(GLuint path,
  834. GLint reference,
  835. GLuint mask);
  836. typedef void(GL_APIENTRYP PFNGLCOVERFILLPATHCHROMIUMPROC)(GLuint path, GLenum coverMode);
  837. typedef void(GL_APIENTRYP PFNGLCOVERSTROKEPATHCHROMIUMPROC)(GLuint path, GLenum coverMode);
  838. typedef void(GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHCHROMIUMPROC)(GLuint path,
  839. GLenum fillMode,
  840. GLuint mask,
  841. GLenum coverMode);
  842. typedef void(GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHCHROMIUMPROC)(GLuint path,
  843. GLint reference,
  844. GLuint mask,
  845. GLenum coverMode);
  846. typedef void(GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDCHROMIUMPROC)(GLsizei numPaths,
  847. GLenum pathNameType,
  848. const void *paths,
  849. GLuint pathBase,
  850. GLenum coverMode,
  851. GLenum transformType,
  852. const GLfloat *transformValues);
  853. typedef void(GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDCHROMIUMPROC)(
  854. GLsizei numPaths,
  855. GLenum pathNameType,
  856. const void *paths,
  857. GLuint pathBase,
  858. GLenum coverMode,
  859. GLenum transformType,
  860. const GLfloat *transformValues);
  861. typedef void(GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDCHROMIUMPROC)(
  862. GLsizei numPaths,
  863. GLenum pathNameType,
  864. const void *paths,
  865. GLuint pathBase,
  866. GLenum fillMode,
  867. GLuint mask,
  868. GLenum transformType,
  869. const GLfloat *transformValues);
  870. typedef void(GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDCHROMIUMPROC)(
  871. GLsizei numPaths,
  872. GLenum pathNameType,
  873. const void *paths,
  874. GLuint pathBase,
  875. GLint reference,
  876. GLuint mask,
  877. GLenum transformType,
  878. const GLfloat *transformValues);
  879. typedef void(GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHINSTANCEDCHROMIUMPROC)(
  880. GLsizei numPaths,
  881. GLenum pathNameType,
  882. const void *paths,
  883. GLuint pathBase,
  884. GLenum fillMode,
  885. GLuint mask,
  886. GLenum coverMode,
  887. GLenum transformType,
  888. const GLfloat *transformValues);
  889. typedef void(GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHINSTANCEDCHROMIUMPROC)(
  890. GLsizei numPaths,
  891. GLenum pathNameType,
  892. const void *paths,
  893. GLuint pathBase,
  894. GLint reference,
  895. GLuint mask,
  896. GLenum coverMode,
  897. GLenum transformType,
  898. const GLfloat *transformValues);
  899. typedef void(GL_APIENTRY PFNGLBINDFRAGMENTINPUTLOCATIONCHROMIUMPROC)(GLuint program,
  900. GLint location,
  901. const GLchar *name);
  902. typedef void(GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENCHROMIUMPROC)(GLuint program,
  903. GLint location,
  904. GLenum genMode,
  905. GLint components,
  906. const GLfloat *coeffs);
  907. #ifdef GL_GLEXT_PROTOTYPES
  908. GL_APICALL void GL_APIENTRY glMatrixLoadfCHROMIUM(GLenum matrixMode, const GLfloat *m);
  909. GL_APICALL void GL_APIENTRY glMatrixLoadIdentityCHROMIUM(GLenum matrixMode);
  910. GL_APICALL GLuint GL_APIENTRY glGenPathsCHROMIUM(GLsizei range);
  911. GL_APICALL void GL_APIENTRY glDeletePathsCHROMIUM(GLuint path, GLsizei range);
  912. GL_APICALL GLboolean GL_APIENTRY glIsPathCHROMIUM(GLuint path);
  913. GL_APICALL void GL_APIENTRY glPathCommandsCHROMIUM(GLuint path,
  914. GLsizei numCommands,
  915. const GLubyte *commands,
  916. GLsizei numCoords,
  917. GLenum coordType,
  918. const void *coords);
  919. GL_APICALL void GL_APIENTRY glPathParameteriCHROMIUM(GLuint path, GLenum pname, GLint value);
  920. GL_APICALL void GL_APIENTRY glPathParameterfCHROMIUM(GLuint path, GLenum pname, GLfloat value);
  921. GL_APICALL void GL_APIENTRY glGetPathParameterivCHROMIUM(GLuint path, GLenum pname, GLint *value);
  922. GL_APICALL void GL_APIENTRY glGetPathParameterfvCHROMIUM(GLuint path, GLenum pname, GLfloat *value);
  923. GL_APICALL void GL_APIENTRY glPathStencilFuncCHROMIUM(GLenum func, GLint ref, GLuint mask);
  924. GL_APICALL void GL_APIENTRY glStencilFillPathCHROMIUM(GLuint path, GLenum fillMode, GLuint mask);
  925. GL_APICALL void GL_APIENTRY glStencilStrokePathCHROMIUM(GLuint path, GLint reference, GLuint mask);
  926. GL_APICALL void GL_APIENTRY glCoverFillPathCHROMIUM(GLuint path, GLenum coverMode);
  927. GL_APICALL void GL_APIENTRY glCoverStrokePathCHROMIUM(GLuint path, GLenum coverMode);
  928. GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathCHROMIUM(GLuint path,
  929. GLenum fillMode,
  930. GLuint mask,
  931. GLenum coverMode);
  932. GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathCHROMIUM(GLuint path,
  933. GLint reference,
  934. GLuint mask,
  935. GLenum coverMode);
  936. GL_APICALL void GL_APIENTRY glCoverFillPathInstancedCHROMIUM(GLsizei numPaths,
  937. GLenum pathNameType,
  938. const void *paths,
  939. GLuint pathBase,
  940. GLenum coverMode,
  941. GLenum transformType,
  942. const GLfloat *transformValues);
  943. GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedCHROMIUM(GLsizei numPaths,
  944. GLenum pathNameType,
  945. const void *paths,
  946. GLuint pathBase,
  947. GLenum coverMode,
  948. GLenum transformType,
  949. const GLfloat *transformValues);
  950. GL_APICALL void GL_APIENTRY glStencilFillPathInstancedCHROMIUM(GLsizei numPaths,
  951. GLenum pathNameType,
  952. const void *paths,
  953. GLuint pathBase,
  954. GLenum fillMode,
  955. GLuint mask,
  956. GLenum transformType,
  957. const GLfloat *transformValues);
  958. GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedCHROMIUM(GLsizei numPaths,
  959. GLenum pathNameType,
  960. const void *paths,
  961. GLuint pathBase,
  962. GLint reference,
  963. GLuint mask,
  964. GLenum transformType,
  965. const GLfloat *transformValues);
  966. GL_APICALL void GL_APIENTRY
  967. glStencilThenCoverFillPathInstancedCHROMIUM(GLsizei numPaths,
  968. GLenum pathNameType,
  969. const void *paths,
  970. GLuint pathBase,
  971. GLenum fillMode,
  972. GLuint mask,
  973. GLenum coverMode,
  974. GLenum transformType,
  975. const GLfloat *transformValues);
  976. GL_APICALL void GL_APIENTRY
  977. glStencilThenCoverStrokePathInstancedCHROMIUM(GLsizei numPaths,
  978. GLenum pathNameType,
  979. const void *paths,
  980. GLuint pathBase,
  981. GLint reference,
  982. GLuint mask,
  983. GLenum coverMode,
  984. GLenum transformType,
  985. const GLfloat *transformValues);
  986. GL_APICALL void GL_APIENTRY glBindFragmentInputLocationCHROMIUM(GLuint program,
  987. GLint location,
  988. const GLchar *name);
  989. GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenCHROMIUM(GLuint program,
  990. GLint location,
  991. GLenum genMode,
  992. GLint components,
  993. const GLfloat *coeffs);
  994. #endif
  995. #endif /* GL_CHROMIUM_path_rendering */
  996. #ifndef GL_ANGLE_framebuffer_multisample
  997. #define GL_ANGLE_framebuffer_multisample 1
  998. #define GL_RENDERBUFFER_SAMPLES_ANGLE 0x8CAB
  999. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_ANGLE 0x8D56
  1000. #define GL_MAX_SAMPLES_ANGLE 0x8D57
  1001. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEANGLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1002. #ifdef GL_GLEXT_PROTOTYPES
  1003. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleANGLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1004. #endif
  1005. #endif /* GL_ANGLE_framebuffer_multisample */
  1006. #ifndef GL_ANGLE_instanced_arrays
  1007. #define GL_ANGLE_instanced_arrays 1
  1008. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_ANGLE 0x88FE
  1009. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDANGLEPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  1010. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDANGLEPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1011. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORANGLEPROC) (GLuint index, GLuint divisor);
  1012. #ifdef GL_GLEXT_PROTOTYPES
  1013. GL_APICALL void GL_APIENTRY glDrawArraysInstancedANGLE (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  1014. GL_APICALL void GL_APIENTRY glDrawElementsInstancedANGLE (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1015. GL_APICALL void GL_APIENTRY glVertexAttribDivisorANGLE (GLuint index, GLuint divisor);
  1016. #endif
  1017. #endif /* GL_ANGLE_instanced_arrays */
  1018. #ifndef GL_ANGLE_pack_reverse_row_order
  1019. #define GL_ANGLE_pack_reverse_row_order 1
  1020. #define GL_PACK_REVERSE_ROW_ORDER_ANGLE 0x93A4
  1021. #endif /* GL_ANGLE_pack_reverse_row_order */
  1022. #ifndef GL_ANGLE_program_binary
  1023. #define GL_ANGLE_program_binary 1
  1024. #define GL_PROGRAM_BINARY_ANGLE 0x93A6
  1025. #endif /* GL_ANGLE_program_binary */
  1026. #ifndef GL_ANGLE_texture_compression_dxt3
  1027. #define GL_ANGLE_texture_compression_dxt3 1
  1028. #define GL_COMPRESSED_RGBA_S3TC_DXT3_ANGLE 0x83F2
  1029. #endif /* GL_ANGLE_texture_compression_dxt3 */
  1030. #ifndef GL_ANGLE_texture_compression_dxt5
  1031. #define GL_ANGLE_texture_compression_dxt5 1
  1032. #define GL_COMPRESSED_RGBA_S3TC_DXT5_ANGLE 0x83F3
  1033. #endif /* GL_ANGLE_texture_compression_dxt5 */
  1034. #ifndef GL_ANGLE_texture_usage
  1035. #define GL_ANGLE_texture_usage 1
  1036. #define GL_TEXTURE_USAGE_ANGLE 0x93A2
  1037. #define GL_FRAMEBUFFER_ATTACHMENT_ANGLE 0x93A3
  1038. #endif /* GL_ANGLE_texture_usage */
  1039. #ifndef GL_ANGLE_translated_shader_source
  1040. #define GL_ANGLE_translated_shader_source 1
  1041. #define GL_TRANSLATED_SHADER_SOURCE_LENGTH_ANGLE 0x93A0
  1042. typedef void (GL_APIENTRYP PFNGLGETTRANSLATEDSHADERSOURCEANGLEPROC) (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
  1043. #ifdef GL_GLEXT_PROTOTYPES
  1044. GL_APICALL void GL_APIENTRY glGetTranslatedShaderSourceANGLE (GLuint shader, GLsizei bufsize, GLsizei *length, GLchar *source);
  1045. #endif
  1046. #endif /* GL_ANGLE_translated_shader_source */
  1047. #ifndef GL_APPLE_clip_distance
  1048. #define GL_APPLE_clip_distance 1
  1049. #define GL_MAX_CLIP_DISTANCES_APPLE 0x0D32
  1050. #define GL_CLIP_DISTANCE0_APPLE 0x3000
  1051. #define GL_CLIP_DISTANCE1_APPLE 0x3001
  1052. #define GL_CLIP_DISTANCE2_APPLE 0x3002
  1053. #define GL_CLIP_DISTANCE3_APPLE 0x3003
  1054. #define GL_CLIP_DISTANCE4_APPLE 0x3004
  1055. #define GL_CLIP_DISTANCE5_APPLE 0x3005
  1056. #define GL_CLIP_DISTANCE6_APPLE 0x3006
  1057. #define GL_CLIP_DISTANCE7_APPLE 0x3007
  1058. #endif /* GL_APPLE_clip_distance */
  1059. #ifndef GL_APPLE_color_buffer_packed_float
  1060. #define GL_APPLE_color_buffer_packed_float 1
  1061. #endif /* GL_APPLE_color_buffer_packed_float */
  1062. #ifndef GL_APPLE_copy_texture_levels
  1063. #define GL_APPLE_copy_texture_levels 1
  1064. typedef void (GL_APIENTRYP PFNGLCOPYTEXTURELEVELSAPPLEPROC) (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
  1065. #ifdef GL_GLEXT_PROTOTYPES
  1066. GL_APICALL void GL_APIENTRY glCopyTextureLevelsAPPLE (GLuint destinationTexture, GLuint sourceTexture, GLint sourceBaseLevel, GLsizei sourceLevelCount);
  1067. #endif
  1068. #endif /* GL_APPLE_copy_texture_levels */
  1069. #ifndef GL_APPLE_framebuffer_multisample
  1070. #define GL_APPLE_framebuffer_multisample 1
  1071. #define GL_RENDERBUFFER_SAMPLES_APPLE 0x8CAB
  1072. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_APPLE 0x8D56
  1073. #define GL_MAX_SAMPLES_APPLE 0x8D57
  1074. #define GL_READ_FRAMEBUFFER_APPLE 0x8CA8
  1075. #define GL_DRAW_FRAMEBUFFER_APPLE 0x8CA9
  1076. #define GL_DRAW_FRAMEBUFFER_BINDING_APPLE 0x8CA6
  1077. #define GL_READ_FRAMEBUFFER_BINDING_APPLE 0x8CAA
  1078. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEAPPLEPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1079. typedef void (GL_APIENTRYP PFNGLRESOLVEMULTISAMPLEFRAMEBUFFERAPPLEPROC) (void);
  1080. #ifdef GL_GLEXT_PROTOTYPES
  1081. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleAPPLE (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1082. GL_APICALL void GL_APIENTRY glResolveMultisampleFramebufferAPPLE (void);
  1083. #endif
  1084. #endif /* GL_APPLE_framebuffer_multisample */
  1085. #ifndef GL_APPLE_rgb_422
  1086. #define GL_APPLE_rgb_422 1
  1087. #define GL_RGB_422_APPLE 0x8A1F
  1088. #define GL_UNSIGNED_SHORT_8_8_APPLE 0x85BA
  1089. #define GL_UNSIGNED_SHORT_8_8_REV_APPLE 0x85BB
  1090. #define GL_RGB_RAW_422_APPLE 0x8A51
  1091. #endif /* GL_APPLE_rgb_422 */
  1092. #ifndef GL_APPLE_sync
  1093. #define GL_APPLE_sync 1
  1094. #define GL_SYNC_OBJECT_APPLE 0x8A53
  1095. #define GL_MAX_SERVER_WAIT_TIMEOUT_APPLE 0x9111
  1096. #define GL_OBJECT_TYPE_APPLE 0x9112
  1097. #define GL_SYNC_CONDITION_APPLE 0x9113
  1098. #define GL_SYNC_STATUS_APPLE 0x9114
  1099. #define GL_SYNC_FLAGS_APPLE 0x9115
  1100. #define GL_SYNC_FENCE_APPLE 0x9116
  1101. #define GL_SYNC_GPU_COMMANDS_COMPLETE_APPLE 0x9117
  1102. #define GL_UNSIGNALED_APPLE 0x9118
  1103. #define GL_SIGNALED_APPLE 0x9119
  1104. #define GL_ALREADY_SIGNALED_APPLE 0x911A
  1105. #define GL_TIMEOUT_EXPIRED_APPLE 0x911B
  1106. #define GL_CONDITION_SATISFIED_APPLE 0x911C
  1107. #define GL_WAIT_FAILED_APPLE 0x911D
  1108. #define GL_SYNC_FLUSH_COMMANDS_BIT_APPLE 0x00000001
  1109. #define GL_TIMEOUT_IGNORED_APPLE 0xFFFFFFFFFFFFFFFFull
  1110. typedef GLsync (GL_APIENTRYP PFNGLFENCESYNCAPPLEPROC) (GLenum condition, GLbitfield flags);
  1111. typedef GLboolean (GL_APIENTRYP PFNGLISSYNCAPPLEPROC) (GLsync sync);
  1112. typedef void (GL_APIENTRYP PFNGLDELETESYNCAPPLEPROC) (GLsync sync);
  1113. typedef GLenum (GL_APIENTRYP PFNGLCLIENTWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1114. typedef void (GL_APIENTRYP PFNGLWAITSYNCAPPLEPROC) (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1115. typedef void (GL_APIENTRYP PFNGLGETINTEGER64VAPPLEPROC) (GLenum pname, GLint64 *params);
  1116. typedef void (GL_APIENTRYP PFNGLGETSYNCIVAPPLEPROC) (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1117. #ifdef GL_GLEXT_PROTOTYPES
  1118. GL_APICALL GLsync GL_APIENTRY glFenceSyncAPPLE (GLenum condition, GLbitfield flags);
  1119. GL_APICALL GLboolean GL_APIENTRY glIsSyncAPPLE (GLsync sync);
  1120. GL_APICALL void GL_APIENTRY glDeleteSyncAPPLE (GLsync sync);
  1121. GL_APICALL GLenum GL_APIENTRY glClientWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1122. GL_APICALL void GL_APIENTRY glWaitSyncAPPLE (GLsync sync, GLbitfield flags, GLuint64 timeout);
  1123. GL_APICALL void GL_APIENTRY glGetInteger64vAPPLE (GLenum pname, GLint64 *params);
  1124. GL_APICALL void GL_APIENTRY glGetSyncivAPPLE (GLsync sync, GLenum pname, GLsizei bufSize, GLsizei *length, GLint *values);
  1125. #endif
  1126. #endif /* GL_APPLE_sync */
  1127. #ifndef GL_APPLE_texture_format_BGRA8888
  1128. #define GL_APPLE_texture_format_BGRA8888 1
  1129. #define GL_BGRA_EXT 0x80E1
  1130. #define GL_BGRA8_EXT 0x93A1
  1131. #endif /* GL_APPLE_texture_format_BGRA8888 */
  1132. #ifndef GL_APPLE_texture_max_level
  1133. #define GL_APPLE_texture_max_level 1
  1134. #define GL_TEXTURE_MAX_LEVEL_APPLE 0x813D
  1135. #endif /* GL_APPLE_texture_max_level */
  1136. #ifndef GL_APPLE_texture_packed_float
  1137. #define GL_APPLE_texture_packed_float 1
  1138. #define GL_UNSIGNED_INT_10F_11F_11F_REV_APPLE 0x8C3B
  1139. #define GL_UNSIGNED_INT_5_9_9_9_REV_APPLE 0x8C3E
  1140. #define GL_R11F_G11F_B10F_APPLE 0x8C3A
  1141. #define GL_RGB9_E5_APPLE 0x8C3D
  1142. #endif /* GL_APPLE_texture_packed_float */
  1143. #ifndef GL_ARM_mali_program_binary
  1144. #define GL_ARM_mali_program_binary 1
  1145. #define GL_MALI_PROGRAM_BINARY_ARM 0x8F61
  1146. #endif /* GL_ARM_mali_program_binary */
  1147. #ifndef GL_ARM_mali_shader_binary
  1148. #define GL_ARM_mali_shader_binary 1
  1149. #define GL_MALI_SHADER_BINARY_ARM 0x8F60
  1150. #endif /* GL_ARM_mali_shader_binary */
  1151. #ifndef GL_ARM_rgba8
  1152. #define GL_ARM_rgba8 1
  1153. #endif /* GL_ARM_rgba8 */
  1154. #ifndef GL_ARM_shader_framebuffer_fetch
  1155. #define GL_ARM_shader_framebuffer_fetch 1
  1156. #define GL_FETCH_PER_SAMPLE_ARM 0x8F65
  1157. #define GL_FRAGMENT_SHADER_FRAMEBUFFER_FETCH_MRT_ARM 0x8F66
  1158. #endif /* GL_ARM_shader_framebuffer_fetch */
  1159. #ifndef GL_ARM_shader_framebuffer_fetch_depth_stencil
  1160. #define GL_ARM_shader_framebuffer_fetch_depth_stencil 1
  1161. #endif /* GL_ARM_shader_framebuffer_fetch_depth_stencil */
  1162. #ifndef GL_CHROMIUM_copy_texture
  1163. #define GL_CHROMIUM_copy_texture 1
  1164. typedef void(GL_APIENTRYP PFNGLCOPYTEXTURECHROMIUMPROC)(GLuint sourceId,
  1165. GLuint destId,
  1166. GLint internalFormat,
  1167. GLenum destType,
  1168. GLboolean unpackFlipY,
  1169. GLboolean unpackPremultiplyAlpha,
  1170. GLboolean unpackUnmultiplyAlpha);
  1171. typedef void(GL_APIENTRYP PFNGLCOPYSUBTEXTURECHROMIUMPROC)(GLuint sourceId,
  1172. GLuint destId,
  1173. GLint xoffset,
  1174. GLint yoffset,
  1175. GLint x,
  1176. GLint y,
  1177. GLsizei width,
  1178. GLsizei height,
  1179. GLboolean unpackFlipY,
  1180. GLboolean unpackPremultiplyAlpha,
  1181. GLboolean unpackUnmultiplyAlpha);
  1182. #ifdef GL_GLEXT_PROTOTYPES
  1183. GL_APICALL void GL_APIENTRY glCopyTextureCHROMIUM(GLuint sourceId,
  1184. GLuint destId,
  1185. GLint internalFormat,
  1186. GLenum destType,
  1187. GLboolean unpackFlipY,
  1188. GLboolean unpackPremultiplyAlpha,
  1189. GLboolean unpackUnmultiplyAlpha);
  1190. GL_APICALL void GL_APIENTRY glCopySubTextureCHROMIUM(GLuint sourceId,
  1191. GLuint destId,
  1192. GLint xoffset,
  1193. GLint yoffset,
  1194. GLint x,
  1195. GLint y,
  1196. GLsizei width,
  1197. GLsizei height,
  1198. GLboolean unpackFlipY,
  1199. GLboolean unpackPremultiplyAlpha,
  1200. GLboolean unpackUnmultiplyAlpha);
  1201. #endif
  1202. #endif /* GL_CHROMIUM_copy_texture */
  1203. #ifndef GL_CHROMIUM_sync_query
  1204. #define GL_CHROMIUM_sync_query 1
  1205. #define GL_COMMANDS_COMPLETED_CHROMIUM 0x84F7
  1206. #endif /* GL_CHROMIUM_sync_query */
  1207. #ifndef GL_DMP_program_binary
  1208. #define GL_DMP_program_binary 1
  1209. #define GL_SMAPHS30_PROGRAM_BINARY_DMP 0x9251
  1210. #define GL_SMAPHS_PROGRAM_BINARY_DMP 0x9252
  1211. #define GL_DMP_PROGRAM_BINARY_DMP 0x9253
  1212. #endif /* GL_DMP_program_binary */
  1213. #ifndef GL_DMP_shader_binary
  1214. #define GL_DMP_shader_binary 1
  1215. #define GL_SHADER_BINARY_DMP 0x9250
  1216. #endif /* GL_DMP_shader_binary */
  1217. #ifndef GL_EXT_YUV_target
  1218. #define GL_EXT_YUV_target 1
  1219. #define GL_SAMPLER_EXTERNAL_2D_Y2Y_EXT 0x8BE7
  1220. #endif /* GL_EXT_YUV_target */
  1221. #ifndef GL_EXT_base_instance
  1222. #define GL_EXT_base_instance 1
  1223. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1224. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1225. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXBASEINSTANCEEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1226. #ifdef GL_GLEXT_PROTOTYPES
  1227. GL_APICALL void GL_APIENTRY glDrawArraysInstancedBaseInstanceEXT (GLenum mode, GLint first, GLsizei count, GLsizei instancecount, GLuint baseinstance);
  1228. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLuint baseinstance);
  1229. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexBaseInstanceEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex, GLuint baseinstance);
  1230. #endif
  1231. #endif /* GL_EXT_base_instance */
  1232. #ifndef GL_EXT_blend_func_extended
  1233. #define GL_EXT_blend_func_extended 1
  1234. #define GL_SRC1_COLOR_EXT 0x88F9
  1235. #define GL_SRC1_ALPHA_EXT 0x8589
  1236. #define GL_ONE_MINUS_SRC1_COLOR_EXT 0x88FA
  1237. #define GL_ONE_MINUS_SRC1_ALPHA_EXT 0x88FB
  1238. #define GL_SRC_ALPHA_SATURATE_EXT 0x0308
  1239. #define GL_LOCATION_INDEX_EXT 0x930F
  1240. #define GL_MAX_DUAL_SOURCE_DRAW_BUFFERS_EXT 0x88FC
  1241. typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONINDEXEDEXTPROC) (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1242. typedef void (GL_APIENTRYP PFNGLBINDFRAGDATALOCATIONEXTPROC) (GLuint program, GLuint color, const GLchar *name);
  1243. typedef GLint (GL_APIENTRYP PFNGLGETPROGRAMRESOURCELOCATIONINDEXEXTPROC) (GLuint program, GLenum programInterface, const GLchar *name);
  1244. typedef GLint (GL_APIENTRYP PFNGLGETFRAGDATAINDEXEXTPROC) (GLuint program, const GLchar *name);
  1245. #ifdef GL_GLEXT_PROTOTYPES
  1246. GL_APICALL void GL_APIENTRY glBindFragDataLocationIndexedEXT (GLuint program, GLuint colorNumber, GLuint index, const GLchar *name);
  1247. GL_APICALL void GL_APIENTRY glBindFragDataLocationEXT (GLuint program, GLuint color, const GLchar *name);
  1248. GL_APICALL GLint GL_APIENTRY glGetProgramResourceLocationIndexEXT (GLuint program, GLenum programInterface, const GLchar *name);
  1249. GL_APICALL GLint GL_APIENTRY glGetFragDataIndexEXT (GLuint program, const GLchar *name);
  1250. #endif
  1251. #endif /* GL_EXT_blend_func_extended */
  1252. #ifndef GL_EXT_blend_minmax
  1253. #define GL_EXT_blend_minmax 1
  1254. #define GL_MIN_EXT 0x8007
  1255. #define GL_MAX_EXT 0x8008
  1256. #endif /* GL_EXT_blend_minmax */
  1257. #ifndef GL_EXT_buffer_storage
  1258. #define GL_EXT_buffer_storage 1
  1259. #define GL_MAP_READ_BIT 0x0001
  1260. #define GL_MAP_WRITE_BIT 0x0002
  1261. #define GL_MAP_PERSISTENT_BIT_EXT 0x0040
  1262. #define GL_MAP_COHERENT_BIT_EXT 0x0080
  1263. #define GL_DYNAMIC_STORAGE_BIT_EXT 0x0100
  1264. #define GL_CLIENT_STORAGE_BIT_EXT 0x0200
  1265. #define GL_CLIENT_MAPPED_BUFFER_BARRIER_BIT_EXT 0x00004000
  1266. #define GL_BUFFER_IMMUTABLE_STORAGE_EXT 0x821F
  1267. #define GL_BUFFER_STORAGE_FLAGS_EXT 0x8220
  1268. typedef void (GL_APIENTRYP PFNGLBUFFERSTORAGEEXTPROC) (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1269. #ifdef GL_GLEXT_PROTOTYPES
  1270. GL_APICALL void GL_APIENTRY glBufferStorageEXT (GLenum target, GLsizeiptr size, const void *data, GLbitfield flags);
  1271. #endif
  1272. #endif /* GL_EXT_buffer_storage */
  1273. #ifndef GL_EXT_color_buffer_float
  1274. #define GL_EXT_color_buffer_float 1
  1275. #endif /* GL_EXT_color_buffer_float */
  1276. #ifndef GL_EXT_color_buffer_half_float
  1277. #define GL_EXT_color_buffer_half_float 1
  1278. #define GL_RGBA16F_EXT 0x881A
  1279. #define GL_RGB16F_EXT 0x881B
  1280. #define GL_RG16F_EXT 0x822F
  1281. #define GL_R16F_EXT 0x822D
  1282. #define GL_FRAMEBUFFER_ATTACHMENT_COMPONENT_TYPE_EXT 0x8211
  1283. #define GL_UNSIGNED_NORMALIZED_EXT 0x8C17
  1284. #endif /* GL_EXT_color_buffer_half_float */
  1285. #ifndef GL_EXT_copy_image
  1286. #define GL_EXT_copy_image 1
  1287. 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);
  1288. #ifdef GL_GLEXT_PROTOTYPES
  1289. 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);
  1290. #endif
  1291. #endif /* GL_EXT_copy_image */
  1292. #ifndef GL_EXT_debug_label
  1293. #define GL_EXT_debug_label 1
  1294. #define GL_PROGRAM_PIPELINE_OBJECT_EXT 0x8A4F
  1295. #define GL_PROGRAM_OBJECT_EXT 0x8B40
  1296. #define GL_SHADER_OBJECT_EXT 0x8B48
  1297. #define GL_BUFFER_OBJECT_EXT 0x9151
  1298. #define GL_QUERY_OBJECT_EXT 0x9153
  1299. #define GL_VERTEX_ARRAY_OBJECT_EXT 0x9154
  1300. #define GL_TRANSFORM_FEEDBACK 0x8E22
  1301. typedef void (GL_APIENTRYP PFNGLLABELOBJECTEXTPROC) (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  1302. typedef void (GL_APIENTRYP PFNGLGETOBJECTLABELEXTPROC) (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  1303. #ifdef GL_GLEXT_PROTOTYPES
  1304. GL_APICALL void GL_APIENTRY glLabelObjectEXT (GLenum type, GLuint object, GLsizei length, const GLchar *label);
  1305. GL_APICALL void GL_APIENTRY glGetObjectLabelEXT (GLenum type, GLuint object, GLsizei bufSize, GLsizei *length, GLchar *label);
  1306. #endif
  1307. #endif /* GL_EXT_debug_label */
  1308. #ifndef GL_EXT_debug_marker
  1309. #define GL_EXT_debug_marker 1
  1310. typedef void (GL_APIENTRYP PFNGLINSERTEVENTMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  1311. typedef void (GL_APIENTRYP PFNGLPUSHGROUPMARKEREXTPROC) (GLsizei length, const GLchar *marker);
  1312. typedef void (GL_APIENTRYP PFNGLPOPGROUPMARKEREXTPROC) (void);
  1313. #ifdef GL_GLEXT_PROTOTYPES
  1314. GL_APICALL void GL_APIENTRY glInsertEventMarkerEXT (GLsizei length, const GLchar *marker);
  1315. GL_APICALL void GL_APIENTRY glPushGroupMarkerEXT (GLsizei length, const GLchar *marker);
  1316. GL_APICALL void GL_APIENTRY glPopGroupMarkerEXT (void);
  1317. #endif
  1318. #endif /* GL_EXT_debug_marker */
  1319. #ifndef GL_EXT_discard_framebuffer
  1320. #define GL_EXT_discard_framebuffer 1
  1321. #define GL_COLOR_EXT 0x1800
  1322. #define GL_DEPTH_EXT 0x1801
  1323. #define GL_STENCIL_EXT 0x1802
  1324. typedef void (GL_APIENTRYP PFNGLDISCARDFRAMEBUFFEREXTPROC) (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1325. #ifdef GL_GLEXT_PROTOTYPES
  1326. GL_APICALL void GL_APIENTRY glDiscardFramebufferEXT (GLenum target, GLsizei numAttachments, const GLenum *attachments);
  1327. #endif
  1328. #endif /* GL_EXT_discard_framebuffer */
  1329. #ifndef GL_EXT_disjoint_timer_query
  1330. #define GL_EXT_disjoint_timer_query 1
  1331. #define GL_QUERY_COUNTER_BITS_EXT 0x8864
  1332. #define GL_CURRENT_QUERY_EXT 0x8865
  1333. #define GL_QUERY_RESULT_EXT 0x8866
  1334. #define GL_QUERY_RESULT_AVAILABLE_EXT 0x8867
  1335. #define GL_TIME_ELAPSED_EXT 0x88BF
  1336. #define GL_TIMESTAMP_EXT 0x8E28
  1337. #define GL_GPU_DISJOINT_EXT 0x8FBB
  1338. typedef void (GL_APIENTRYP PFNGLGENQUERIESEXTPROC) (GLsizei n, GLuint *ids);
  1339. typedef void (GL_APIENTRYP PFNGLDELETEQUERIESEXTPROC) (GLsizei n, const GLuint *ids);
  1340. typedef GLboolean (GL_APIENTRYP PFNGLISQUERYEXTPROC) (GLuint id);
  1341. typedef void (GL_APIENTRYP PFNGLBEGINQUERYEXTPROC) (GLenum target, GLuint id);
  1342. typedef void (GL_APIENTRYP PFNGLENDQUERYEXTPROC) (GLenum target);
  1343. typedef void (GL_APIENTRYP PFNGLQUERYCOUNTEREXTPROC) (GLuint id, GLenum target);
  1344. typedef void (GL_APIENTRYP PFNGLGETQUERYIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1345. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTIVEXTPROC) (GLuint id, GLenum pname, GLint *params);
  1346. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUIVEXTPROC) (GLuint id, GLenum pname, GLuint *params);
  1347. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTI64VEXTPROC) (GLuint id, GLenum pname, GLint64 *params);
  1348. typedef void (GL_APIENTRYP PFNGLGETQUERYOBJECTUI64VEXTPROC) (GLuint id, GLenum pname, GLuint64 *params);
  1349. #ifdef GL_GLEXT_PROTOTYPES
  1350. GL_APICALL void GL_APIENTRY glGenQueriesEXT (GLsizei n, GLuint *ids);
  1351. GL_APICALL void GL_APIENTRY glDeleteQueriesEXT (GLsizei n, const GLuint *ids);
  1352. GL_APICALL GLboolean GL_APIENTRY glIsQueryEXT (GLuint id);
  1353. GL_APICALL void GL_APIENTRY glBeginQueryEXT (GLenum target, GLuint id);
  1354. GL_APICALL void GL_APIENTRY glEndQueryEXT (GLenum target);
  1355. GL_APICALL void GL_APIENTRY glQueryCounterEXT (GLuint id, GLenum target);
  1356. GL_APICALL void GL_APIENTRY glGetQueryivEXT (GLenum target, GLenum pname, GLint *params);
  1357. GL_APICALL void GL_APIENTRY glGetQueryObjectivEXT (GLuint id, GLenum pname, GLint *params);
  1358. GL_APICALL void GL_APIENTRY glGetQueryObjectuivEXT (GLuint id, GLenum pname, GLuint *params);
  1359. GL_APICALL void GL_APIENTRY glGetQueryObjecti64vEXT (GLuint id, GLenum pname, GLint64 *params);
  1360. GL_APICALL void GL_APIENTRY glGetQueryObjectui64vEXT (GLuint id, GLenum pname, GLuint64 *params);
  1361. #endif
  1362. #endif /* GL_EXT_disjoint_timer_query */
  1363. #ifndef GL_EXT_draw_buffers
  1364. #define GL_EXT_draw_buffers 1
  1365. #define GL_MAX_COLOR_ATTACHMENTS_EXT 0x8CDF
  1366. #define GL_MAX_DRAW_BUFFERS_EXT 0x8824
  1367. #define GL_DRAW_BUFFER0_EXT 0x8825
  1368. #define GL_DRAW_BUFFER1_EXT 0x8826
  1369. #define GL_DRAW_BUFFER2_EXT 0x8827
  1370. #define GL_DRAW_BUFFER3_EXT 0x8828
  1371. #define GL_DRAW_BUFFER4_EXT 0x8829
  1372. #define GL_DRAW_BUFFER5_EXT 0x882A
  1373. #define GL_DRAW_BUFFER6_EXT 0x882B
  1374. #define GL_DRAW_BUFFER7_EXT 0x882C
  1375. #define GL_DRAW_BUFFER8_EXT 0x882D
  1376. #define GL_DRAW_BUFFER9_EXT 0x882E
  1377. #define GL_DRAW_BUFFER10_EXT 0x882F
  1378. #define GL_DRAW_BUFFER11_EXT 0x8830
  1379. #define GL_DRAW_BUFFER12_EXT 0x8831
  1380. #define GL_DRAW_BUFFER13_EXT 0x8832
  1381. #define GL_DRAW_BUFFER14_EXT 0x8833
  1382. #define GL_DRAW_BUFFER15_EXT 0x8834
  1383. #define GL_COLOR_ATTACHMENT0_EXT 0x8CE0
  1384. #define GL_COLOR_ATTACHMENT1_EXT 0x8CE1
  1385. #define GL_COLOR_ATTACHMENT2_EXT 0x8CE2
  1386. #define GL_COLOR_ATTACHMENT3_EXT 0x8CE3
  1387. #define GL_COLOR_ATTACHMENT4_EXT 0x8CE4
  1388. #define GL_COLOR_ATTACHMENT5_EXT 0x8CE5
  1389. #define GL_COLOR_ATTACHMENT6_EXT 0x8CE6
  1390. #define GL_COLOR_ATTACHMENT7_EXT 0x8CE7
  1391. #define GL_COLOR_ATTACHMENT8_EXT 0x8CE8
  1392. #define GL_COLOR_ATTACHMENT9_EXT 0x8CE9
  1393. #define GL_COLOR_ATTACHMENT10_EXT 0x8CEA
  1394. #define GL_COLOR_ATTACHMENT11_EXT 0x8CEB
  1395. #define GL_COLOR_ATTACHMENT12_EXT 0x8CEC
  1396. #define GL_COLOR_ATTACHMENT13_EXT 0x8CED
  1397. #define GL_COLOR_ATTACHMENT14_EXT 0x8CEE
  1398. #define GL_COLOR_ATTACHMENT15_EXT 0x8CEF
  1399. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSEXTPROC) (GLsizei n, const GLenum *bufs);
  1400. #ifdef GL_GLEXT_PROTOTYPES
  1401. GL_APICALL void GL_APIENTRY glDrawBuffersEXT (GLsizei n, const GLenum *bufs);
  1402. #endif
  1403. #endif /* GL_EXT_draw_buffers */
  1404. #ifndef GL_EXT_draw_buffers_indexed
  1405. #define GL_EXT_draw_buffers_indexed 1
  1406. typedef void (GL_APIENTRYP PFNGLENABLEIEXTPROC) (GLenum target, GLuint index);
  1407. typedef void (GL_APIENTRYP PFNGLDISABLEIEXTPROC) (GLenum target, GLuint index);
  1408. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONIEXTPROC) (GLuint buf, GLenum mode);
  1409. typedef void (GL_APIENTRYP PFNGLBLENDEQUATIONSEPARATEIEXTPROC) (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1410. typedef void (GL_APIENTRYP PFNGLBLENDFUNCIEXTPROC) (GLuint buf, GLenum src, GLenum dst);
  1411. typedef void (GL_APIENTRYP PFNGLBLENDFUNCSEPARATEIEXTPROC) (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1412. typedef void (GL_APIENTRYP PFNGLCOLORMASKIEXTPROC) (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1413. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDIEXTPROC) (GLenum target, GLuint index);
  1414. #ifdef GL_GLEXT_PROTOTYPES
  1415. GL_APICALL void GL_APIENTRY glEnableiEXT (GLenum target, GLuint index);
  1416. GL_APICALL void GL_APIENTRY glDisableiEXT (GLenum target, GLuint index);
  1417. GL_APICALL void GL_APIENTRY glBlendEquationiEXT (GLuint buf, GLenum mode);
  1418. GL_APICALL void GL_APIENTRY glBlendEquationSeparateiEXT (GLuint buf, GLenum modeRGB, GLenum modeAlpha);
  1419. GL_APICALL void GL_APIENTRY glBlendFunciEXT (GLuint buf, GLenum src, GLenum dst);
  1420. GL_APICALL void GL_APIENTRY glBlendFuncSeparateiEXT (GLuint buf, GLenum srcRGB, GLenum dstRGB, GLenum srcAlpha, GLenum dstAlpha);
  1421. GL_APICALL void GL_APIENTRY glColorMaskiEXT (GLuint index, GLboolean r, GLboolean g, GLboolean b, GLboolean a);
  1422. GL_APICALL GLboolean GL_APIENTRY glIsEnablediEXT (GLenum target, GLuint index);
  1423. #endif
  1424. #endif /* GL_EXT_draw_buffers_indexed */
  1425. #ifndef GL_EXT_draw_elements_base_vertex
  1426. #define GL_EXT_draw_elements_base_vertex 1
  1427. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1428. typedef void (GL_APIENTRYP PFNGLDRAWRANGEELEMENTSBASEVERTEXEXTPROC) (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1429. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDBASEVERTEXEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1430. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSBASEVERTEXEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
  1431. #ifdef GL_GLEXT_PROTOTYPES
  1432. GL_APICALL void GL_APIENTRY glDrawElementsBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1433. GL_APICALL void GL_APIENTRY glDrawRangeElementsBaseVertexEXT (GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex);
  1434. GL_APICALL void GL_APIENTRY glDrawElementsInstancedBaseVertexEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei instancecount, GLint basevertex);
  1435. GL_APICALL void GL_APIENTRY glMultiDrawElementsBaseVertexEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount, const GLint *basevertex);
  1436. #endif
  1437. #endif /* GL_EXT_draw_elements_base_vertex */
  1438. #ifndef GL_EXT_draw_instanced
  1439. #define GL_EXT_draw_instanced 1
  1440. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDEXTPROC) (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  1441. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDEXTPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1442. #ifdef GL_GLEXT_PROTOTYPES
  1443. GL_APICALL void GL_APIENTRY glDrawArraysInstancedEXT (GLenum mode, GLint start, GLsizei count, GLsizei primcount);
  1444. GL_APICALL void GL_APIENTRY glDrawElementsInstancedEXT (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  1445. #endif
  1446. #endif /* GL_EXT_draw_instanced */
  1447. #ifndef GL_EXT_float_blend
  1448. #define GL_EXT_float_blend 1
  1449. #endif /* GL_EXT_float_blend */
  1450. #ifndef GL_EXT_geometry_point_size
  1451. #define GL_EXT_geometry_point_size 1
  1452. #endif /* GL_EXT_geometry_point_size */
  1453. #ifndef GL_EXT_geometry_shader
  1454. #define GL_EXT_geometry_shader 1
  1455. #define GL_GEOMETRY_SHADER_EXT 0x8DD9
  1456. #define GL_GEOMETRY_SHADER_BIT_EXT 0x00000004
  1457. #define GL_GEOMETRY_LINKED_VERTICES_OUT_EXT 0x8916
  1458. #define GL_GEOMETRY_LINKED_INPUT_TYPE_EXT 0x8917
  1459. #define GL_GEOMETRY_LINKED_OUTPUT_TYPE_EXT 0x8918
  1460. #define GL_GEOMETRY_SHADER_INVOCATIONS_EXT 0x887F
  1461. #define GL_LAYER_PROVOKING_VERTEX_EXT 0x825E
  1462. #define GL_LINES_ADJACENCY_EXT 0x000A
  1463. #define GL_LINE_STRIP_ADJACENCY_EXT 0x000B
  1464. #define GL_TRIANGLES_ADJACENCY_EXT 0x000C
  1465. #define GL_TRIANGLE_STRIP_ADJACENCY_EXT 0x000D
  1466. #define GL_MAX_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8DDF
  1467. #define GL_MAX_GEOMETRY_UNIFORM_BLOCKS_EXT 0x8A2C
  1468. #define GL_MAX_COMBINED_GEOMETRY_UNIFORM_COMPONENTS_EXT 0x8A32
  1469. #define GL_MAX_GEOMETRY_INPUT_COMPONENTS_EXT 0x9123
  1470. #define GL_MAX_GEOMETRY_OUTPUT_COMPONENTS_EXT 0x9124
  1471. #define GL_MAX_GEOMETRY_OUTPUT_VERTICES_EXT 0x8DE0
  1472. #define GL_MAX_GEOMETRY_TOTAL_OUTPUT_COMPONENTS_EXT 0x8DE1
  1473. #define GL_MAX_GEOMETRY_SHADER_INVOCATIONS_EXT 0x8E5A
  1474. #define GL_MAX_GEOMETRY_TEXTURE_IMAGE_UNITS_EXT 0x8C29
  1475. #define GL_MAX_GEOMETRY_ATOMIC_COUNTER_BUFFERS_EXT 0x92CF
  1476. #define GL_MAX_GEOMETRY_ATOMIC_COUNTERS_EXT 0x92D5
  1477. #define GL_MAX_GEOMETRY_IMAGE_UNIFORMS_EXT 0x90CD
  1478. #define GL_MAX_GEOMETRY_SHADER_STORAGE_BLOCKS_EXT 0x90D7
  1479. #define GL_FIRST_VERTEX_CONVENTION_EXT 0x8E4D
  1480. #define GL_LAST_VERTEX_CONVENTION_EXT 0x8E4E
  1481. #define GL_UNDEFINED_VERTEX_EXT 0x8260
  1482. #define GL_PRIMITIVES_GENERATED_EXT 0x8C87
  1483. #define GL_FRAMEBUFFER_DEFAULT_LAYERS_EXT 0x9312
  1484. #define GL_MAX_FRAMEBUFFER_LAYERS_EXT 0x9317
  1485. #define GL_FRAMEBUFFER_INCOMPLETE_LAYER_TARGETS_EXT 0x8DA8
  1486. #define GL_FRAMEBUFFER_ATTACHMENT_LAYERED_EXT 0x8DA7
  1487. #define GL_REFERENCED_BY_GEOMETRY_SHADER_EXT 0x9309
  1488. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREEXTPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1489. #ifdef GL_GLEXT_PROTOTYPES
  1490. GL_APICALL void GL_APIENTRY glFramebufferTextureEXT (GLenum target, GLenum attachment, GLuint texture, GLint level);
  1491. #endif
  1492. #endif /* GL_EXT_geometry_shader */
  1493. #ifndef GL_EXT_gpu_shader5
  1494. #define GL_EXT_gpu_shader5 1
  1495. #endif /* GL_EXT_gpu_shader5 */
  1496. #ifndef GL_EXT_instanced_arrays
  1497. #define GL_EXT_instanced_arrays 1
  1498. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_EXT 0x88FE
  1499. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISOREXTPROC) (GLuint index, GLuint divisor);
  1500. #ifdef GL_GLEXT_PROTOTYPES
  1501. GL_APICALL void GL_APIENTRY glVertexAttribDivisorEXT (GLuint index, GLuint divisor);
  1502. #endif
  1503. #endif /* GL_EXT_instanced_arrays */
  1504. #ifndef GL_EXT_map_buffer_range
  1505. #define GL_EXT_map_buffer_range 1
  1506. #define GL_MAP_READ_BIT_EXT 0x0001
  1507. #define GL_MAP_WRITE_BIT_EXT 0x0002
  1508. #define GL_MAP_INVALIDATE_RANGE_BIT_EXT 0x0004
  1509. #define GL_MAP_INVALIDATE_BUFFER_BIT_EXT 0x0008
  1510. #define GL_MAP_FLUSH_EXPLICIT_BIT_EXT 0x0010
  1511. #define GL_MAP_UNSYNCHRONIZED_BIT_EXT 0x0020
  1512. typedef void *(GL_APIENTRYP PFNGLMAPBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1513. typedef void (GL_APIENTRYP PFNGLFLUSHMAPPEDBUFFERRANGEEXTPROC) (GLenum target, GLintptr offset, GLsizeiptr length);
  1514. #ifdef GL_GLEXT_PROTOTYPES
  1515. GL_APICALL void *GL_APIENTRY glMapBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length, GLbitfield access);
  1516. GL_APICALL void GL_APIENTRY glFlushMappedBufferRangeEXT (GLenum target, GLintptr offset, GLsizeiptr length);
  1517. #endif
  1518. #endif /* GL_EXT_map_buffer_range */
  1519. #ifndef GL_EXT_multi_draw_arrays
  1520. #define GL_EXT_multi_draw_arrays 1
  1521. typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSEXTPROC) (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  1522. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSEXTPROC) (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  1523. #ifdef GL_GLEXT_PROTOTYPES
  1524. GL_APICALL void GL_APIENTRY glMultiDrawArraysEXT (GLenum mode, const GLint *first, const GLsizei *count, GLsizei primcount);
  1525. GL_APICALL void GL_APIENTRY glMultiDrawElementsEXT (GLenum mode, const GLsizei *count, GLenum type, const void *const*indices, GLsizei primcount);
  1526. #endif
  1527. #endif /* GL_EXT_multi_draw_arrays */
  1528. #ifndef GL_EXT_multi_draw_indirect
  1529. #define GL_EXT_multi_draw_indirect 1
  1530. typedef void (GL_APIENTRYP PFNGLMULTIDRAWARRAYSINDIRECTEXTPROC) (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1531. typedef void (GL_APIENTRYP PFNGLMULTIDRAWELEMENTSINDIRECTEXTPROC) (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1532. #ifdef GL_GLEXT_PROTOTYPES
  1533. GL_APICALL void GL_APIENTRY glMultiDrawArraysIndirectEXT (GLenum mode, const void *indirect, GLsizei drawcount, GLsizei stride);
  1534. GL_APICALL void GL_APIENTRY glMultiDrawElementsIndirectEXT (GLenum mode, GLenum type, const void *indirect, GLsizei drawcount, GLsizei stride);
  1535. #endif
  1536. #endif /* GL_EXT_multi_draw_indirect */
  1537. #ifndef GL_EXT_multisampled_compatibility
  1538. #define GL_EXT_multisampled_compatibility 1
  1539. #define GL_MULTISAMPLE_EXT 0x809D
  1540. #define GL_SAMPLE_ALPHA_TO_ONE_EXT 0x809F
  1541. #endif /* GL_EXT_multisampled_compatibility */
  1542. #ifndef GL_EXT_multisampled_render_to_texture
  1543. #define GL_EXT_multisampled_render_to_texture 1
  1544. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_SAMPLES_EXT 0x8D6C
  1545. #define GL_RENDERBUFFER_SAMPLES_EXT 0x8CAB
  1546. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_EXT 0x8D56
  1547. #define GL_MAX_SAMPLES_EXT 0x8D57
  1548. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEEXTPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1549. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEEXTPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  1550. #ifdef GL_GLEXT_PROTOTYPES
  1551. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleEXT (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  1552. GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleEXT (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  1553. #endif
  1554. #endif /* GL_EXT_multisampled_render_to_texture */
  1555. #ifndef GL_EXT_multiview_draw_buffers
  1556. #define GL_EXT_multiview_draw_buffers 1
  1557. #define GL_COLOR_ATTACHMENT_EXT 0x90F0
  1558. #define GL_MULTIVIEW_EXT 0x90F1
  1559. #define GL_DRAW_BUFFER_EXT 0x0C01
  1560. #define GL_READ_BUFFER_EXT 0x0C02
  1561. #define GL_MAX_MULTIVIEW_BUFFERS_EXT 0x90F2
  1562. typedef void (GL_APIENTRYP PFNGLREADBUFFERINDEXEDEXTPROC) (GLenum src, GLint index);
  1563. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSINDEXEDEXTPROC) (GLint n, const GLenum *location, const GLint *indices);
  1564. typedef void (GL_APIENTRYP PFNGLGETINTEGERI_VEXTPROC) (GLenum target, GLuint index, GLint *data);
  1565. #ifdef GL_GLEXT_PROTOTYPES
  1566. GL_APICALL void GL_APIENTRY glReadBufferIndexedEXT (GLenum src, GLint index);
  1567. GL_APICALL void GL_APIENTRY glDrawBuffersIndexedEXT (GLint n, const GLenum *location, const GLint *indices);
  1568. GL_APICALL void GL_APIENTRY glGetIntegeri_vEXT (GLenum target, GLuint index, GLint *data);
  1569. #endif
  1570. #endif /* GL_EXT_multiview_draw_buffers */
  1571. #ifndef GL_EXT_occlusion_query_boolean
  1572. #define GL_EXT_occlusion_query_boolean 1
  1573. #define GL_ANY_SAMPLES_PASSED_EXT 0x8C2F
  1574. #define GL_ANY_SAMPLES_PASSED_CONSERVATIVE_EXT 0x8D6A
  1575. #endif /* GL_EXT_occlusion_query_boolean */
  1576. #ifndef GL_EXT_post_depth_coverage
  1577. #define GL_EXT_post_depth_coverage 1
  1578. #endif /* GL_EXT_post_depth_coverage */
  1579. #ifndef GL_EXT_primitive_bounding_box
  1580. #define GL_EXT_primitive_bounding_box 1
  1581. #define GL_PRIMITIVE_BOUNDING_BOX_EXT 0x92BE
  1582. typedef void (GL_APIENTRYP PFNGLPRIMITIVEBOUNDINGBOXEXTPROC) (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  1583. #ifdef GL_GLEXT_PROTOTYPES
  1584. GL_APICALL void GL_APIENTRY glPrimitiveBoundingBoxEXT (GLfloat minX, GLfloat minY, GLfloat minZ, GLfloat minW, GLfloat maxX, GLfloat maxY, GLfloat maxZ, GLfloat maxW);
  1585. #endif
  1586. #endif /* GL_EXT_primitive_bounding_box */
  1587. #ifndef GL_EXT_pvrtc_sRGB
  1588. #define GL_EXT_pvrtc_sRGB 1
  1589. #define GL_COMPRESSED_SRGB_PVRTC_2BPPV1_EXT 0x8A54
  1590. #define GL_COMPRESSED_SRGB_PVRTC_4BPPV1_EXT 0x8A55
  1591. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV1_EXT 0x8A56
  1592. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV1_EXT 0x8A57
  1593. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_2BPPV2_IMG 0x93F0
  1594. #define GL_COMPRESSED_SRGB_ALPHA_PVRTC_4BPPV2_IMG 0x93F1
  1595. #endif /* GL_EXT_pvrtc_sRGB */
  1596. #ifndef GL_EXT_raster_multisample
  1597. #define GL_EXT_raster_multisample 1
  1598. #define GL_RASTER_MULTISAMPLE_EXT 0x9327
  1599. #define GL_RASTER_SAMPLES_EXT 0x9328
  1600. #define GL_MAX_RASTER_SAMPLES_EXT 0x9329
  1601. #define GL_RASTER_FIXED_SAMPLE_LOCATIONS_EXT 0x932A
  1602. #define GL_MULTISAMPLE_RASTERIZATION_ALLOWED_EXT 0x932B
  1603. #define GL_EFFECTIVE_RASTER_SAMPLES_EXT 0x932C
  1604. typedef void (GL_APIENTRYP PFNGLRASTERSAMPLESEXTPROC) (GLuint samples, GLboolean fixedsamplelocations);
  1605. #ifdef GL_GLEXT_PROTOTYPES
  1606. GL_APICALL void GL_APIENTRY glRasterSamplesEXT (GLuint samples, GLboolean fixedsamplelocations);
  1607. #endif
  1608. #endif /* GL_EXT_raster_multisample */
  1609. #ifndef GL_EXT_read_format_bgra
  1610. #define GL_EXT_read_format_bgra 1
  1611. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_EXT 0x8365
  1612. #define GL_UNSIGNED_SHORT_1_5_5_5_REV_EXT 0x8366
  1613. #endif /* GL_EXT_read_format_bgra */
  1614. #ifndef GL_EXT_render_snorm
  1615. #define GL_EXT_render_snorm 1
  1616. #define GL_R8_SNORM 0x8F94
  1617. #define GL_RG8_SNORM 0x8F95
  1618. #define GL_RGBA8_SNORM 0x8F97
  1619. #define GL_R16_SNORM_EXT 0x8F98
  1620. #define GL_RG16_SNORM_EXT 0x8F99
  1621. #define GL_RGBA16_SNORM_EXT 0x8F9B
  1622. #endif /* GL_EXT_render_snorm */
  1623. #ifndef GL_EXT_robustness
  1624. #define GL_EXT_robustness 1
  1625. #define GL_GUILTY_CONTEXT_RESET_EXT 0x8253
  1626. #define GL_INNOCENT_CONTEXT_RESET_EXT 0x8254
  1627. #define GL_UNKNOWN_CONTEXT_RESET_EXT 0x8255
  1628. #define GL_CONTEXT_ROBUST_ACCESS_EXT 0x90F3
  1629. #define GL_RESET_NOTIFICATION_STRATEGY_EXT 0x8256
  1630. #define GL_LOSE_CONTEXT_ON_RESET_EXT 0x8252
  1631. #define GL_NO_RESET_NOTIFICATION_EXT 0x8261
  1632. typedef GLenum (GL_APIENTRYP PFNGLGETGRAPHICSRESETSTATUSEXTPROC) (void);
  1633. typedef void (GL_APIENTRYP PFNGLREADNPIXELSEXTPROC) (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1634. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMFVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1635. typedef void (GL_APIENTRYP PFNGLGETNUNIFORMIVEXTPROC) (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1636. #ifdef GL_GLEXT_PROTOTYPES
  1637. GL_APICALL GLenum GL_APIENTRY glGetGraphicsResetStatusEXT (void);
  1638. GL_APICALL void GL_APIENTRY glReadnPixelsEXT (GLint x, GLint y, GLsizei width, GLsizei height, GLenum format, GLenum type, GLsizei bufSize, void *data);
  1639. GL_APICALL void GL_APIENTRY glGetnUniformfvEXT (GLuint program, GLint location, GLsizei bufSize, GLfloat *params);
  1640. GL_APICALL void GL_APIENTRY glGetnUniformivEXT (GLuint program, GLint location, GLsizei bufSize, GLint *params);
  1641. #endif
  1642. #endif /* GL_EXT_robustness */
  1643. #ifndef GL_EXT_sRGB
  1644. #define GL_EXT_sRGB 1
  1645. #define GL_SRGB_EXT 0x8C40
  1646. #define GL_SRGB_ALPHA_EXT 0x8C42
  1647. #define GL_SRGB8_ALPHA8_EXT 0x8C43
  1648. #define GL_FRAMEBUFFER_ATTACHMENT_COLOR_ENCODING_EXT 0x8210
  1649. #endif /* GL_EXT_sRGB */
  1650. #ifndef GL_EXT_sRGB_write_control
  1651. #define GL_EXT_sRGB_write_control 1
  1652. #define GL_FRAMEBUFFER_SRGB_EXT 0x8DB9
  1653. #endif /* GL_EXT_sRGB_write_control */
  1654. #ifndef GL_EXT_separate_shader_objects
  1655. #define GL_EXT_separate_shader_objects 1
  1656. #define GL_ACTIVE_PROGRAM_EXT 0x8259
  1657. #define GL_VERTEX_SHADER_BIT_EXT 0x00000001
  1658. #define GL_FRAGMENT_SHADER_BIT_EXT 0x00000002
  1659. #define GL_ALL_SHADER_BITS_EXT 0xFFFFFFFF
  1660. #define GL_PROGRAM_SEPARABLE_EXT 0x8258
  1661. #define GL_PROGRAM_PIPELINE_BINDING_EXT 0x825A
  1662. typedef void (GL_APIENTRYP PFNGLACTIVESHADERPROGRAMEXTPROC) (GLuint pipeline, GLuint program);
  1663. typedef void (GL_APIENTRYP PFNGLBINDPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1664. typedef GLuint (GL_APIENTRYP PFNGLCREATESHADERPROGRAMVEXTPROC) (GLenum type, GLsizei count, const GLchar **strings);
  1665. typedef void (GL_APIENTRYP PFNGLDELETEPROGRAMPIPELINESEXTPROC) (GLsizei n, const GLuint *pipelines);
  1666. typedef void (GL_APIENTRYP PFNGLGENPROGRAMPIPELINESEXTPROC) (GLsizei n, GLuint *pipelines);
  1667. typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEINFOLOGEXTPROC) (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1668. typedef void (GL_APIENTRYP PFNGLGETPROGRAMPIPELINEIVEXTPROC) (GLuint pipeline, GLenum pname, GLint *params);
  1669. typedef GLboolean (GL_APIENTRYP PFNGLISPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1670. typedef void (GL_APIENTRYP PFNGLPROGRAMPARAMETERIEXTPROC) (GLuint program, GLenum pname, GLint value);
  1671. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FEXTPROC) (GLuint program, GLint location, GLfloat v0);
  1672. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1673. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IEXTPROC) (GLuint program, GLint location, GLint v0);
  1674. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1675. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1676. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1677. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1);
  1678. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1679. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1680. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1681. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1682. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1683. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FEXTPROC) (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1684. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4FVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1685. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IEXTPROC) (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1686. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4IVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLint *value);
  1687. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1688. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1689. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1690. typedef void (GL_APIENTRYP PFNGLUSEPROGRAMSTAGESEXTPROC) (GLuint pipeline, GLbitfield stages, GLuint program);
  1691. typedef void (GL_APIENTRYP PFNGLVALIDATEPROGRAMPIPELINEEXTPROC) (GLuint pipeline);
  1692. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIEXTPROC) (GLuint program, GLint location, GLuint v0);
  1693. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1);
  1694. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1695. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIEXTPROC) (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1696. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM1UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1697. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM2UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1698. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM3UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1699. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORM4UIVEXTPROC) (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1700. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1701. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1702. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX2X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1703. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X2FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1704. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX3X4FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1705. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMMATRIX4X3FVEXTPROC) (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1706. #ifdef GL_GLEXT_PROTOTYPES
  1707. GL_APICALL void GL_APIENTRY glActiveShaderProgramEXT (GLuint pipeline, GLuint program);
  1708. GL_APICALL void GL_APIENTRY glBindProgramPipelineEXT (GLuint pipeline);
  1709. GL_APICALL GLuint GL_APIENTRY glCreateShaderProgramvEXT (GLenum type, GLsizei count, const GLchar **strings);
  1710. GL_APICALL void GL_APIENTRY glDeleteProgramPipelinesEXT (GLsizei n, const GLuint *pipelines);
  1711. GL_APICALL void GL_APIENTRY glGenProgramPipelinesEXT (GLsizei n, GLuint *pipelines);
  1712. GL_APICALL void GL_APIENTRY glGetProgramPipelineInfoLogEXT (GLuint pipeline, GLsizei bufSize, GLsizei *length, GLchar *infoLog);
  1713. GL_APICALL void GL_APIENTRY glGetProgramPipelineivEXT (GLuint pipeline, GLenum pname, GLint *params);
  1714. GL_APICALL GLboolean GL_APIENTRY glIsProgramPipelineEXT (GLuint pipeline);
  1715. GL_APICALL void GL_APIENTRY glProgramParameteriEXT (GLuint program, GLenum pname, GLint value);
  1716. GL_APICALL void GL_APIENTRY glProgramUniform1fEXT (GLuint program, GLint location, GLfloat v0);
  1717. GL_APICALL void GL_APIENTRY glProgramUniform1fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1718. GL_APICALL void GL_APIENTRY glProgramUniform1iEXT (GLuint program, GLint location, GLint v0);
  1719. GL_APICALL void GL_APIENTRY glProgramUniform1ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  1720. GL_APICALL void GL_APIENTRY glProgramUniform2fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1);
  1721. GL_APICALL void GL_APIENTRY glProgramUniform2fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1722. GL_APICALL void GL_APIENTRY glProgramUniform2iEXT (GLuint program, GLint location, GLint v0, GLint v1);
  1723. GL_APICALL void GL_APIENTRY glProgramUniform2ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  1724. GL_APICALL void GL_APIENTRY glProgramUniform3fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2);
  1725. GL_APICALL void GL_APIENTRY glProgramUniform3fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1726. GL_APICALL void GL_APIENTRY glProgramUniform3iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2);
  1727. GL_APICALL void GL_APIENTRY glProgramUniform3ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  1728. GL_APICALL void GL_APIENTRY glProgramUniform4fEXT (GLuint program, GLint location, GLfloat v0, GLfloat v1, GLfloat v2, GLfloat v3);
  1729. GL_APICALL void GL_APIENTRY glProgramUniform4fvEXT (GLuint program, GLint location, GLsizei count, const GLfloat *value);
  1730. GL_APICALL void GL_APIENTRY glProgramUniform4iEXT (GLuint program, GLint location, GLint v0, GLint v1, GLint v2, GLint v3);
  1731. GL_APICALL void GL_APIENTRY glProgramUniform4ivEXT (GLuint program, GLint location, GLsizei count, const GLint *value);
  1732. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1733. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1734. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1735. GL_APICALL void GL_APIENTRY glUseProgramStagesEXT (GLuint pipeline, GLbitfield stages, GLuint program);
  1736. GL_APICALL void GL_APIENTRY glValidateProgramPipelineEXT (GLuint pipeline);
  1737. GL_APICALL void GL_APIENTRY glProgramUniform1uiEXT (GLuint program, GLint location, GLuint v0);
  1738. GL_APICALL void GL_APIENTRY glProgramUniform2uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1);
  1739. GL_APICALL void GL_APIENTRY glProgramUniform3uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2);
  1740. GL_APICALL void GL_APIENTRY glProgramUniform4uiEXT (GLuint program, GLint location, GLuint v0, GLuint v1, GLuint v2, GLuint v3);
  1741. GL_APICALL void GL_APIENTRY glProgramUniform1uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1742. GL_APICALL void GL_APIENTRY glProgramUniform2uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1743. GL_APICALL void GL_APIENTRY glProgramUniform3uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1744. GL_APICALL void GL_APIENTRY glProgramUniform4uivEXT (GLuint program, GLint location, GLsizei count, const GLuint *value);
  1745. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1746. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1747. GL_APICALL void GL_APIENTRY glProgramUniformMatrix2x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1748. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x2fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1749. GL_APICALL void GL_APIENTRY glProgramUniformMatrix3x4fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1750. GL_APICALL void GL_APIENTRY glProgramUniformMatrix4x3fvEXT (GLuint program, GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  1751. #endif
  1752. #endif /* GL_EXT_separate_shader_objects */
  1753. #ifndef GL_EXT_shader_framebuffer_fetch
  1754. #define GL_EXT_shader_framebuffer_fetch 1
  1755. #define GL_FRAGMENT_SHADER_DISCARDS_SAMPLES_EXT 0x8A52
  1756. #endif /* GL_EXT_shader_framebuffer_fetch */
  1757. #ifndef GL_EXT_shader_implicit_conversions
  1758. #define GL_EXT_shader_implicit_conversions 1
  1759. #endif /* GL_EXT_shader_implicit_conversions */
  1760. #ifndef GL_EXT_shader_integer_mix
  1761. #define GL_EXT_shader_integer_mix 1
  1762. #endif /* GL_EXT_shader_integer_mix */
  1763. #ifndef GL_EXT_shader_io_blocks
  1764. #define GL_EXT_shader_io_blocks 1
  1765. #endif /* GL_EXT_shader_io_blocks */
  1766. #ifndef GL_EXT_shader_pixel_local_storage
  1767. #define GL_EXT_shader_pixel_local_storage 1
  1768. #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_FAST_SIZE_EXT 0x8F63
  1769. #define GL_MAX_SHADER_PIXEL_LOCAL_STORAGE_SIZE_EXT 0x8F67
  1770. #define GL_SHADER_PIXEL_LOCAL_STORAGE_EXT 0x8F64
  1771. #endif /* GL_EXT_shader_pixel_local_storage */
  1772. #ifndef GL_EXT_shader_texture_lod
  1773. #define GL_EXT_shader_texture_lod 1
  1774. #endif /* GL_EXT_shader_texture_lod */
  1775. #ifndef GL_EXT_shadow_samplers
  1776. #define GL_EXT_shadow_samplers 1
  1777. #define GL_TEXTURE_COMPARE_MODE_EXT 0x884C
  1778. #define GL_TEXTURE_COMPARE_FUNC_EXT 0x884D
  1779. #define GL_COMPARE_REF_TO_TEXTURE_EXT 0x884E
  1780. #define GL_SAMPLER_2D_SHADOW_EXT 0x8B62
  1781. #endif /* GL_EXT_shadow_samplers */
  1782. #ifndef GL_EXT_sparse_texture
  1783. #define GL_EXT_sparse_texture 1
  1784. #define GL_TEXTURE_SPARSE_EXT 0x91A6
  1785. #define GL_VIRTUAL_PAGE_SIZE_INDEX_EXT 0x91A7
  1786. #define GL_NUM_SPARSE_LEVELS_EXT 0x91AA
  1787. #define GL_NUM_VIRTUAL_PAGE_SIZES_EXT 0x91A8
  1788. #define GL_VIRTUAL_PAGE_SIZE_X_EXT 0x9195
  1789. #define GL_VIRTUAL_PAGE_SIZE_Y_EXT 0x9196
  1790. #define GL_VIRTUAL_PAGE_SIZE_Z_EXT 0x9197
  1791. #define GL_TEXTURE_2D_ARRAY 0x8C1A
  1792. #define GL_TEXTURE_3D 0x806F
  1793. #define GL_MAX_SPARSE_TEXTURE_SIZE_EXT 0x9198
  1794. #define GL_MAX_SPARSE_3D_TEXTURE_SIZE_EXT 0x9199
  1795. #define GL_MAX_SPARSE_ARRAY_TEXTURE_LAYERS_EXT 0x919A
  1796. #define GL_SPARSE_TEXTURE_FULL_ARRAY_CUBE_MIPMAPS_EXT 0x91A9
  1797. typedef void (GL_APIENTRYP PFNGLTEXPAGECOMMITMENTEXTPROC) (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  1798. #ifdef GL_GLEXT_PROTOTYPES
  1799. GL_APICALL void GL_APIENTRY glTexPageCommitmentEXT (GLenum target, GLint level, GLint xoffset, GLint yoffset, GLint zoffset, GLsizei width, GLsizei height, GLsizei depth, GLboolean commit);
  1800. #endif
  1801. #endif /* GL_EXT_sparse_texture */
  1802. #ifndef GL_EXT_tessellation_point_size
  1803. #define GL_EXT_tessellation_point_size 1
  1804. #endif /* GL_EXT_tessellation_point_size */
  1805. #ifndef GL_EXT_tessellation_shader
  1806. #define GL_EXT_tessellation_shader 1
  1807. #define GL_PATCHES_EXT 0x000E
  1808. #define GL_PATCH_VERTICES_EXT 0x8E72
  1809. #define GL_TESS_CONTROL_OUTPUT_VERTICES_EXT 0x8E75
  1810. #define GL_TESS_GEN_MODE_EXT 0x8E76
  1811. #define GL_TESS_GEN_SPACING_EXT 0x8E77
  1812. #define GL_TESS_GEN_VERTEX_ORDER_EXT 0x8E78
  1813. #define GL_TESS_GEN_POINT_MODE_EXT 0x8E79
  1814. #define GL_ISOLINES_EXT 0x8E7A
  1815. #define GL_QUADS_EXT 0x0007
  1816. #define GL_FRACTIONAL_ODD_EXT 0x8E7B
  1817. #define GL_FRACTIONAL_EVEN_EXT 0x8E7C
  1818. #define GL_MAX_PATCH_VERTICES_EXT 0x8E7D
  1819. #define GL_MAX_TESS_GEN_LEVEL_EXT 0x8E7E
  1820. #define GL_MAX_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E7F
  1821. #define GL_MAX_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E80
  1822. #define GL_MAX_TESS_CONTROL_TEXTURE_IMAGE_UNITS_EXT 0x8E81
  1823. #define GL_MAX_TESS_EVALUATION_TEXTURE_IMAGE_UNITS_EXT 0x8E82
  1824. #define GL_MAX_TESS_CONTROL_OUTPUT_COMPONENTS_EXT 0x8E83
  1825. #define GL_MAX_TESS_PATCH_COMPONENTS_EXT 0x8E84
  1826. #define GL_MAX_TESS_CONTROL_TOTAL_OUTPUT_COMPONENTS_EXT 0x8E85
  1827. #define GL_MAX_TESS_EVALUATION_OUTPUT_COMPONENTS_EXT 0x8E86
  1828. #define GL_MAX_TESS_CONTROL_UNIFORM_BLOCKS_EXT 0x8E89
  1829. #define GL_MAX_TESS_EVALUATION_UNIFORM_BLOCKS_EXT 0x8E8A
  1830. #define GL_MAX_TESS_CONTROL_INPUT_COMPONENTS_EXT 0x886C
  1831. #define GL_MAX_TESS_EVALUATION_INPUT_COMPONENTS_EXT 0x886D
  1832. #define GL_MAX_COMBINED_TESS_CONTROL_UNIFORM_COMPONENTS_EXT 0x8E1E
  1833. #define GL_MAX_COMBINED_TESS_EVALUATION_UNIFORM_COMPONENTS_EXT 0x8E1F
  1834. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTER_BUFFERS_EXT 0x92CD
  1835. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTER_BUFFERS_EXT 0x92CE
  1836. #define GL_MAX_TESS_CONTROL_ATOMIC_COUNTERS_EXT 0x92D3
  1837. #define GL_MAX_TESS_EVALUATION_ATOMIC_COUNTERS_EXT 0x92D4
  1838. #define GL_MAX_TESS_CONTROL_IMAGE_UNIFORMS_EXT 0x90CB
  1839. #define GL_MAX_TESS_EVALUATION_IMAGE_UNIFORMS_EXT 0x90CC
  1840. #define GL_MAX_TESS_CONTROL_SHADER_STORAGE_BLOCKS_EXT 0x90D8
  1841. #define GL_MAX_TESS_EVALUATION_SHADER_STORAGE_BLOCKS_EXT 0x90D9
  1842. #define GL_PRIMITIVE_RESTART_FOR_PATCHES_SUPPORTED 0x8221
  1843. #define GL_IS_PER_PATCH_EXT 0x92E7
  1844. #define GL_REFERENCED_BY_TESS_CONTROL_SHADER_EXT 0x9307
  1845. #define GL_REFERENCED_BY_TESS_EVALUATION_SHADER_EXT 0x9308
  1846. #define GL_TESS_CONTROL_SHADER_EXT 0x8E88
  1847. #define GL_TESS_EVALUATION_SHADER_EXT 0x8E87
  1848. #define GL_TESS_CONTROL_SHADER_BIT_EXT 0x00000008
  1849. #define GL_TESS_EVALUATION_SHADER_BIT_EXT 0x00000010
  1850. typedef void (GL_APIENTRYP PFNGLPATCHPARAMETERIEXTPROC) (GLenum pname, GLint value);
  1851. #ifdef GL_GLEXT_PROTOTYPES
  1852. GL_APICALL void GL_APIENTRY glPatchParameteriEXT (GLenum pname, GLint value);
  1853. #endif
  1854. #endif /* GL_EXT_tessellation_shader */
  1855. #ifndef GL_EXT_texture_border_clamp
  1856. #define GL_EXT_texture_border_clamp 1
  1857. #define GL_TEXTURE_BORDER_COLOR_EXT 0x1004
  1858. #define GL_CLAMP_TO_BORDER_EXT 0x812D
  1859. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, const GLint *params);
  1860. typedef void (GL_APIENTRYP PFNGLTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, const GLuint *params);
  1861. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIIVEXTPROC) (GLenum target, GLenum pname, GLint *params);
  1862. typedef void (GL_APIENTRYP PFNGLGETTEXPARAMETERIUIVEXTPROC) (GLenum target, GLenum pname, GLuint *params);
  1863. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, const GLint *param);
  1864. typedef void (GL_APIENTRYP PFNGLSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, const GLuint *param);
  1865. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIIVEXTPROC) (GLuint sampler, GLenum pname, GLint *params);
  1866. typedef void (GL_APIENTRYP PFNGLGETSAMPLERPARAMETERIUIVEXTPROC) (GLuint sampler, GLenum pname, GLuint *params);
  1867. #ifdef GL_GLEXT_PROTOTYPES
  1868. GL_APICALL void GL_APIENTRY glTexParameterIivEXT (GLenum target, GLenum pname, const GLint *params);
  1869. GL_APICALL void GL_APIENTRY glTexParameterIuivEXT (GLenum target, GLenum pname, const GLuint *params);
  1870. GL_APICALL void GL_APIENTRY glGetTexParameterIivEXT (GLenum target, GLenum pname, GLint *params);
  1871. GL_APICALL void GL_APIENTRY glGetTexParameterIuivEXT (GLenum target, GLenum pname, GLuint *params);
  1872. GL_APICALL void GL_APIENTRY glSamplerParameterIivEXT (GLuint sampler, GLenum pname, const GLint *param);
  1873. GL_APICALL void GL_APIENTRY glSamplerParameterIuivEXT (GLuint sampler, GLenum pname, const GLuint *param);
  1874. GL_APICALL void GL_APIENTRY glGetSamplerParameterIivEXT (GLuint sampler, GLenum pname, GLint *params);
  1875. GL_APICALL void GL_APIENTRY glGetSamplerParameterIuivEXT (GLuint sampler, GLenum pname, GLuint *params);
  1876. #endif
  1877. #endif /* GL_EXT_texture_border_clamp */
  1878. #ifndef GL_EXT_texture_buffer
  1879. #define GL_EXT_texture_buffer 1
  1880. #define GL_TEXTURE_BUFFER_EXT 0x8C2A
  1881. #define GL_TEXTURE_BUFFER_BINDING_EXT 0x8C2A
  1882. #define GL_MAX_TEXTURE_BUFFER_SIZE_EXT 0x8C2B
  1883. #define GL_TEXTURE_BINDING_BUFFER_EXT 0x8C2C
  1884. #define GL_TEXTURE_BUFFER_DATA_STORE_BINDING_EXT 0x8C2D
  1885. #define GL_TEXTURE_BUFFER_OFFSET_ALIGNMENT_EXT 0x919F
  1886. #define GL_SAMPLER_BUFFER_EXT 0x8DC2
  1887. #define GL_INT_SAMPLER_BUFFER_EXT 0x8DD0
  1888. #define GL_UNSIGNED_INT_SAMPLER_BUFFER_EXT 0x8DD8
  1889. #define GL_IMAGE_BUFFER_EXT 0x9051
  1890. #define GL_INT_IMAGE_BUFFER_EXT 0x905C
  1891. #define GL_UNSIGNED_INT_IMAGE_BUFFER_EXT 0x9067
  1892. #define GL_TEXTURE_BUFFER_OFFSET_EXT 0x919D
  1893. #define GL_TEXTURE_BUFFER_SIZE_EXT 0x919E
  1894. typedef void (GL_APIENTRYP PFNGLTEXBUFFEREXTPROC) (GLenum target, GLenum internalformat, GLuint buffer);
  1895. typedef void (GL_APIENTRYP PFNGLTEXBUFFERRANGEEXTPROC) (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1896. #ifdef GL_GLEXT_PROTOTYPES
  1897. GL_APICALL void GL_APIENTRY glTexBufferEXT (GLenum target, GLenum internalformat, GLuint buffer);
  1898. GL_APICALL void GL_APIENTRY glTexBufferRangeEXT (GLenum target, GLenum internalformat, GLuint buffer, GLintptr offset, GLsizeiptr size);
  1899. #endif
  1900. #endif /* GL_EXT_texture_buffer */
  1901. #ifndef GL_EXT_texture_compression_dxt1
  1902. #define GL_EXT_texture_compression_dxt1 1
  1903. #define GL_COMPRESSED_RGB_S3TC_DXT1_EXT 0x83F0
  1904. #define GL_COMPRESSED_RGBA_S3TC_DXT1_EXT 0x83F1
  1905. #endif /* GL_EXT_texture_compression_dxt1 */
  1906. #ifndef GL_EXT_texture_compression_s3tc
  1907. #define GL_EXT_texture_compression_s3tc 1
  1908. #define GL_COMPRESSED_RGBA_S3TC_DXT3_EXT 0x83F2
  1909. #define GL_COMPRESSED_RGBA_S3TC_DXT5_EXT 0x83F3
  1910. #endif /* GL_EXT_texture_compression_s3tc */
  1911. #ifndef GL_EXT_texture_cube_map_array
  1912. #define GL_EXT_texture_cube_map_array 1
  1913. #define GL_TEXTURE_CUBE_MAP_ARRAY_EXT 0x9009
  1914. #define GL_TEXTURE_BINDING_CUBE_MAP_ARRAY_EXT 0x900A
  1915. #define GL_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900C
  1916. #define GL_SAMPLER_CUBE_MAP_ARRAY_SHADOW_EXT 0x900D
  1917. #define GL_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900E
  1918. #define GL_UNSIGNED_INT_SAMPLER_CUBE_MAP_ARRAY_EXT 0x900F
  1919. #define GL_IMAGE_CUBE_MAP_ARRAY_EXT 0x9054
  1920. #define GL_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x905F
  1921. #define GL_UNSIGNED_INT_IMAGE_CUBE_MAP_ARRAY_EXT 0x906A
  1922. #endif /* GL_EXT_texture_cube_map_array */
  1923. #ifndef GL_EXT_texture_filter_anisotropic
  1924. #define GL_EXT_texture_filter_anisotropic 1
  1925. #define GL_TEXTURE_MAX_ANISOTROPY_EXT 0x84FE
  1926. #define GL_MAX_TEXTURE_MAX_ANISOTROPY_EXT 0x84FF
  1927. #endif /* GL_EXT_texture_filter_anisotropic */
  1928. #ifndef GL_EXT_texture_filter_minmax
  1929. #define GL_EXT_texture_filter_minmax 1
  1930. #endif /* GL_EXT_texture_filter_minmax */
  1931. #ifndef GL_EXT_texture_format_BGRA8888
  1932. #define GL_EXT_texture_format_BGRA8888 1
  1933. #endif /* GL_EXT_texture_format_BGRA8888 */
  1934. #ifndef GL_EXT_texture_norm16
  1935. #define GL_EXT_texture_norm16 1
  1936. #define GL_R16_EXT 0x822A
  1937. #define GL_RG16_EXT 0x822C
  1938. #define GL_RGBA16_EXT 0x805B
  1939. #define GL_RGB16_EXT 0x8054
  1940. #define GL_RGB16_SNORM_EXT 0x8F9A
  1941. #endif /* GL_EXT_texture_norm16 */
  1942. #ifndef GL_EXT_texture_rg
  1943. #define GL_EXT_texture_rg 1
  1944. #define GL_RED_EXT 0x1903
  1945. #define GL_RG_EXT 0x8227
  1946. #define GL_R8_EXT 0x8229
  1947. #define GL_RG8_EXT 0x822B
  1948. #endif /* GL_EXT_texture_rg */
  1949. #ifndef GL_EXT_texture_sRGB_R8
  1950. #define GL_EXT_texture_sRGB_R8 1
  1951. #define GL_SR8_EXT 0x8FBD
  1952. #endif /* GL_EXT_texture_sRGB_R8 */
  1953. #ifndef GL_EXT_texture_sRGB_RG8
  1954. #define GL_EXT_texture_sRGB_RG8 1
  1955. #define GL_SRG8_EXT 0x8FBE
  1956. #endif /* GL_EXT_texture_sRGB_RG8 */
  1957. #ifndef GL_EXT_texture_sRGB_decode
  1958. #define GL_EXT_texture_sRGB_decode 1
  1959. #define GL_TEXTURE_SRGB_DECODE_EXT 0x8A48
  1960. #define GL_DECODE_EXT 0x8A49
  1961. #define GL_SKIP_DECODE_EXT 0x8A4A
  1962. #endif /* GL_EXT_texture_sRGB_decode */
  1963. #ifndef GL_EXT_texture_storage
  1964. #define GL_EXT_texture_storage 1
  1965. #define GL_TEXTURE_IMMUTABLE_FORMAT_EXT 0x912F
  1966. #define GL_ALPHA8_EXT 0x803C
  1967. #define GL_LUMINANCE8_EXT 0x8040
  1968. #define GL_LUMINANCE8_ALPHA8_EXT 0x8045
  1969. #define GL_RGBA32F_EXT 0x8814
  1970. #define GL_RGB32F_EXT 0x8815
  1971. #define GL_ALPHA32F_EXT 0x8816
  1972. #define GL_LUMINANCE32F_EXT 0x8818
  1973. #define GL_LUMINANCE_ALPHA32F_EXT 0x8819
  1974. #define GL_ALPHA16F_EXT 0x881C
  1975. #define GL_LUMINANCE16F_EXT 0x881E
  1976. #define GL_LUMINANCE_ALPHA16F_EXT 0x881F
  1977. #define GL_R32F_EXT 0x822E
  1978. #define GL_RG32F_EXT 0x8230
  1979. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE1DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1980. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE2DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1981. typedef void (GL_APIENTRYP PFNGLTEXSTORAGE3DEXTPROC) (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1982. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE1DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1983. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE2DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1984. typedef void (GL_APIENTRYP PFNGLTEXTURESTORAGE3DEXTPROC) (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1985. #ifdef GL_GLEXT_PROTOTYPES
  1986. GL_APICALL void GL_APIENTRY glTexStorage1DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1987. GL_APICALL void GL_APIENTRY glTexStorage2DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1988. GL_APICALL void GL_APIENTRY glTexStorage3DEXT (GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1989. GL_APICALL void GL_APIENTRY glTextureStorage1DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width);
  1990. GL_APICALL void GL_APIENTRY glTextureStorage2DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height);
  1991. GL_APICALL void GL_APIENTRY glTextureStorage3DEXT (GLuint texture, GLenum target, GLsizei levels, GLenum internalformat, GLsizei width, GLsizei height, GLsizei depth);
  1992. #endif
  1993. #endif /* GL_EXT_texture_storage */
  1994. #ifndef GL_EXT_texture_type_2_10_10_10_REV
  1995. #define GL_EXT_texture_type_2_10_10_10_REV 1
  1996. #define GL_UNSIGNED_INT_2_10_10_10_REV_EXT 0x8368
  1997. #endif /* GL_EXT_texture_type_2_10_10_10_REV */
  1998. #ifndef GL_EXT_texture_view
  1999. #define GL_EXT_texture_view 1
  2000. #define GL_TEXTURE_VIEW_MIN_LEVEL_EXT 0x82DB
  2001. #define GL_TEXTURE_VIEW_NUM_LEVELS_EXT 0x82DC
  2002. #define GL_TEXTURE_VIEW_MIN_LAYER_EXT 0x82DD
  2003. #define GL_TEXTURE_VIEW_NUM_LAYERS_EXT 0x82DE
  2004. typedef void (GL_APIENTRYP PFNGLTEXTUREVIEWEXTPROC) (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2005. #ifdef GL_GLEXT_PROTOTYPES
  2006. GL_APICALL void GL_APIENTRY glTextureViewEXT (GLuint texture, GLenum target, GLuint origtexture, GLenum internalformat, GLuint minlevel, GLuint numlevels, GLuint minlayer, GLuint numlayers);
  2007. #endif
  2008. #endif /* GL_EXT_texture_view */
  2009. #ifndef GL_EXT_unpack_subimage
  2010. #define GL_EXT_unpack_subimage 1
  2011. #define GL_UNPACK_ROW_LENGTH_EXT 0x0CF2
  2012. #define GL_UNPACK_SKIP_ROWS_EXT 0x0CF3
  2013. #define GL_UNPACK_SKIP_PIXELS_EXT 0x0CF4
  2014. #endif /* GL_EXT_unpack_subimage */
  2015. #ifndef GL_FJ_shader_binary_GCCSO
  2016. #define GL_FJ_shader_binary_GCCSO 1
  2017. #define GL_GCCSO_SHADER_BINARY_FJ 0x9260
  2018. #endif /* GL_FJ_shader_binary_GCCSO */
  2019. #ifndef GL_IMG_multisampled_render_to_texture
  2020. #define GL_IMG_multisampled_render_to_texture 1
  2021. #define GL_RENDERBUFFER_SAMPLES_IMG 0x9133
  2022. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_IMG 0x9134
  2023. #define GL_MAX_SAMPLES_IMG 0x9135
  2024. #define GL_TEXTURE_SAMPLES_IMG 0x9136
  2025. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLEIMGPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2026. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTURE2DMULTISAMPLEIMGPROC) (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  2027. #ifdef GL_GLEXT_PROTOTYPES
  2028. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleIMG (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2029. GL_APICALL void GL_APIENTRY glFramebufferTexture2DMultisampleIMG (GLenum target, GLenum attachment, GLenum textarget, GLuint texture, GLint level, GLsizei samples);
  2030. #endif
  2031. #endif /* GL_IMG_multisampled_render_to_texture */
  2032. #ifndef GL_IMG_program_binary
  2033. #define GL_IMG_program_binary 1
  2034. #define GL_SGX_PROGRAM_BINARY_IMG 0x9130
  2035. #endif /* GL_IMG_program_binary */
  2036. #ifndef GL_IMG_read_format
  2037. #define GL_IMG_read_format 1
  2038. #define GL_BGRA_IMG 0x80E1
  2039. #define GL_UNSIGNED_SHORT_4_4_4_4_REV_IMG 0x8365
  2040. #endif /* GL_IMG_read_format */
  2041. #ifndef GL_IMG_shader_binary
  2042. #define GL_IMG_shader_binary 1
  2043. #define GL_SGX_BINARY_IMG 0x8C0A
  2044. #endif /* GL_IMG_shader_binary */
  2045. #ifndef GL_IMG_texture_compression_pvrtc
  2046. #define GL_IMG_texture_compression_pvrtc 1
  2047. #define GL_COMPRESSED_RGB_PVRTC_4BPPV1_IMG 0x8C00
  2048. #define GL_COMPRESSED_RGB_PVRTC_2BPPV1_IMG 0x8C01
  2049. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV1_IMG 0x8C02
  2050. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV1_IMG 0x8C03
  2051. #endif /* GL_IMG_texture_compression_pvrtc */
  2052. #ifndef GL_IMG_texture_compression_pvrtc2
  2053. #define GL_IMG_texture_compression_pvrtc2 1
  2054. #define GL_COMPRESSED_RGBA_PVRTC_2BPPV2_IMG 0x9137
  2055. #define GL_COMPRESSED_RGBA_PVRTC_4BPPV2_IMG 0x9138
  2056. #endif /* GL_IMG_texture_compression_pvrtc2 */
  2057. #ifndef GL_INTEL_framebuffer_CMAA
  2058. #define GL_INTEL_framebuffer_CMAA 1
  2059. typedef void (GL_APIENTRYP PFNGLAPPLYFRAMEBUFFERATTACHMENTCMAAINTELPROC) (void);
  2060. #ifdef GL_GLEXT_PROTOTYPES
  2061. GL_APICALL void GL_APIENTRY glApplyFramebufferAttachmentCMAAINTEL (void);
  2062. #endif
  2063. #endif /* GL_INTEL_framebuffer_CMAA */
  2064. #ifndef GL_INTEL_performance_query
  2065. #define GL_INTEL_performance_query 1
  2066. #define GL_PERFQUERY_SINGLE_CONTEXT_INTEL 0x00000000
  2067. #define GL_PERFQUERY_GLOBAL_CONTEXT_INTEL 0x00000001
  2068. #define GL_PERFQUERY_WAIT_INTEL 0x83FB
  2069. #define GL_PERFQUERY_FLUSH_INTEL 0x83FA
  2070. #define GL_PERFQUERY_DONOT_FLUSH_INTEL 0x83F9
  2071. #define GL_PERFQUERY_COUNTER_EVENT_INTEL 0x94F0
  2072. #define GL_PERFQUERY_COUNTER_DURATION_NORM_INTEL 0x94F1
  2073. #define GL_PERFQUERY_COUNTER_DURATION_RAW_INTEL 0x94F2
  2074. #define GL_PERFQUERY_COUNTER_THROUGHPUT_INTEL 0x94F3
  2075. #define GL_PERFQUERY_COUNTER_RAW_INTEL 0x94F4
  2076. #define GL_PERFQUERY_COUNTER_TIMESTAMP_INTEL 0x94F5
  2077. #define GL_PERFQUERY_COUNTER_DATA_UINT32_INTEL 0x94F8
  2078. #define GL_PERFQUERY_COUNTER_DATA_UINT64_INTEL 0x94F9
  2079. #define GL_PERFQUERY_COUNTER_DATA_FLOAT_INTEL 0x94FA
  2080. #define GL_PERFQUERY_COUNTER_DATA_DOUBLE_INTEL 0x94FB
  2081. #define GL_PERFQUERY_COUNTER_DATA_BOOL32_INTEL 0x94FC
  2082. #define GL_PERFQUERY_QUERY_NAME_LENGTH_MAX_INTEL 0x94FD
  2083. #define GL_PERFQUERY_COUNTER_NAME_LENGTH_MAX_INTEL 0x94FE
  2084. #define GL_PERFQUERY_COUNTER_DESC_LENGTH_MAX_INTEL 0x94FF
  2085. #define GL_PERFQUERY_GPA_EXTENDED_COUNTERS_INTEL 0x9500
  2086. typedef void (GL_APIENTRYP PFNGLBEGINPERFQUERYINTELPROC) (GLuint queryHandle);
  2087. typedef void (GL_APIENTRYP PFNGLCREATEPERFQUERYINTELPROC) (GLuint queryId, GLuint *queryHandle);
  2088. typedef void (GL_APIENTRYP PFNGLDELETEPERFQUERYINTELPROC) (GLuint queryHandle);
  2089. typedef void (GL_APIENTRYP PFNGLENDPERFQUERYINTELPROC) (GLuint queryHandle);
  2090. typedef void (GL_APIENTRYP PFNGLGETFIRSTPERFQUERYIDINTELPROC) (GLuint *queryId);
  2091. typedef void (GL_APIENTRYP PFNGLGETNEXTPERFQUERYIDINTELPROC) (GLuint queryId, GLuint *nextQueryId);
  2092. 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);
  2093. typedef void (GL_APIENTRYP PFNGLGETPERFQUERYDATAINTELPROC) (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  2094. typedef void (GL_APIENTRYP PFNGLGETPERFQUERYIDBYNAMEINTELPROC) (GLchar *queryName, GLuint *queryId);
  2095. typedef void (GL_APIENTRYP PFNGLGETPERFQUERYINFOINTELPROC) (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  2096. #ifdef GL_GLEXT_PROTOTYPES
  2097. GL_APICALL void GL_APIENTRY glBeginPerfQueryINTEL (GLuint queryHandle);
  2098. GL_APICALL void GL_APIENTRY glCreatePerfQueryINTEL (GLuint queryId, GLuint *queryHandle);
  2099. GL_APICALL void GL_APIENTRY glDeletePerfQueryINTEL (GLuint queryHandle);
  2100. GL_APICALL void GL_APIENTRY glEndPerfQueryINTEL (GLuint queryHandle);
  2101. GL_APICALL void GL_APIENTRY glGetFirstPerfQueryIdINTEL (GLuint *queryId);
  2102. GL_APICALL void GL_APIENTRY glGetNextPerfQueryIdINTEL (GLuint queryId, GLuint *nextQueryId);
  2103. 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);
  2104. GL_APICALL void GL_APIENTRY glGetPerfQueryDataINTEL (GLuint queryHandle, GLuint flags, GLsizei dataSize, GLvoid *data, GLuint *bytesWritten);
  2105. GL_APICALL void GL_APIENTRY glGetPerfQueryIdByNameINTEL (GLchar *queryName, GLuint *queryId);
  2106. GL_APICALL void GL_APIENTRY glGetPerfQueryInfoINTEL (GLuint queryId, GLuint queryNameLength, GLchar *queryName, GLuint *dataSize, GLuint *noCounters, GLuint *noInstances, GLuint *capsMask);
  2107. #endif
  2108. #endif /* GL_INTEL_performance_query */
  2109. #ifndef GL_NV_bindless_texture
  2110. #define GL_NV_bindless_texture 1
  2111. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTUREHANDLENVPROC) (GLuint texture);
  2112. typedef GLuint64 (GL_APIENTRYP PFNGLGETTEXTURESAMPLERHANDLENVPROC) (GLuint texture, GLuint sampler);
  2113. typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  2114. typedef void (GL_APIENTRYP PFNGLMAKETEXTUREHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  2115. typedef GLuint64 (GL_APIENTRYP PFNGLGETIMAGEHANDLENVPROC) (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2116. typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle, GLenum access);
  2117. typedef void (GL_APIENTRYP PFNGLMAKEIMAGEHANDLENONRESIDENTNVPROC) (GLuint64 handle);
  2118. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64NVPROC) (GLint location, GLuint64 value);
  2119. typedef void (GL_APIENTRYP PFNGLUNIFORMHANDLEUI64VNVPROC) (GLint location, GLsizei count, const GLuint64 *value);
  2120. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64NVPROC) (GLuint program, GLint location, GLuint64 value);
  2121. typedef void (GL_APIENTRYP PFNGLPROGRAMUNIFORMHANDLEUI64VNVPROC) (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2122. typedef GLboolean (GL_APIENTRYP PFNGLISTEXTUREHANDLERESIDENTNVPROC) (GLuint64 handle);
  2123. typedef GLboolean (GL_APIENTRYP PFNGLISIMAGEHANDLERESIDENTNVPROC) (GLuint64 handle);
  2124. #ifdef GL_GLEXT_PROTOTYPES
  2125. GL_APICALL GLuint64 GL_APIENTRY glGetTextureHandleNV (GLuint texture);
  2126. GL_APICALL GLuint64 GL_APIENTRY glGetTextureSamplerHandleNV (GLuint texture, GLuint sampler);
  2127. GL_APICALL void GL_APIENTRY glMakeTextureHandleResidentNV (GLuint64 handle);
  2128. GL_APICALL void GL_APIENTRY glMakeTextureHandleNonResidentNV (GLuint64 handle);
  2129. GL_APICALL GLuint64 GL_APIENTRY glGetImageHandleNV (GLuint texture, GLint level, GLboolean layered, GLint layer, GLenum format);
  2130. GL_APICALL void GL_APIENTRY glMakeImageHandleResidentNV (GLuint64 handle, GLenum access);
  2131. GL_APICALL void GL_APIENTRY glMakeImageHandleNonResidentNV (GLuint64 handle);
  2132. GL_APICALL void GL_APIENTRY glUniformHandleui64NV (GLint location, GLuint64 value);
  2133. GL_APICALL void GL_APIENTRY glUniformHandleui64vNV (GLint location, GLsizei count, const GLuint64 *value);
  2134. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64NV (GLuint program, GLint location, GLuint64 value);
  2135. GL_APICALL void GL_APIENTRY glProgramUniformHandleui64vNV (GLuint program, GLint location, GLsizei count, const GLuint64 *values);
  2136. GL_APICALL GLboolean GL_APIENTRY glIsTextureHandleResidentNV (GLuint64 handle);
  2137. GL_APICALL GLboolean GL_APIENTRY glIsImageHandleResidentNV (GLuint64 handle);
  2138. #endif
  2139. #endif /* GL_NV_bindless_texture */
  2140. #ifndef GL_NV_blend_equation_advanced
  2141. #define GL_NV_blend_equation_advanced 1
  2142. #define GL_BLEND_OVERLAP_NV 0x9281
  2143. #define GL_BLEND_PREMULTIPLIED_SRC_NV 0x9280
  2144. #define GL_BLUE_NV 0x1905
  2145. #define GL_COLORBURN_NV 0x929A
  2146. #define GL_COLORDODGE_NV 0x9299
  2147. #define GL_CONJOINT_NV 0x9284
  2148. #define GL_CONTRAST_NV 0x92A1
  2149. #define GL_DARKEN_NV 0x9297
  2150. #define GL_DIFFERENCE_NV 0x929E
  2151. #define GL_DISJOINT_NV 0x9283
  2152. #define GL_DST_ATOP_NV 0x928F
  2153. #define GL_DST_IN_NV 0x928B
  2154. #define GL_DST_NV 0x9287
  2155. #define GL_DST_OUT_NV 0x928D
  2156. #define GL_DST_OVER_NV 0x9289
  2157. #define GL_EXCLUSION_NV 0x92A0
  2158. #define GL_GREEN_NV 0x1904
  2159. #define GL_HARDLIGHT_NV 0x929B
  2160. #define GL_HARDMIX_NV 0x92A9
  2161. #define GL_HSL_COLOR_NV 0x92AF
  2162. #define GL_HSL_HUE_NV 0x92AD
  2163. #define GL_HSL_LUMINOSITY_NV 0x92B0
  2164. #define GL_HSL_SATURATION_NV 0x92AE
  2165. #define GL_INVERT_OVG_NV 0x92B4
  2166. #define GL_INVERT_RGB_NV 0x92A3
  2167. #define GL_LIGHTEN_NV 0x9298
  2168. #define GL_LINEARBURN_NV 0x92A5
  2169. #define GL_LINEARDODGE_NV 0x92A4
  2170. #define GL_LINEARLIGHT_NV 0x92A7
  2171. #define GL_MINUS_CLAMPED_NV 0x92B3
  2172. #define GL_MINUS_NV 0x929F
  2173. #define GL_MULTIPLY_NV 0x9294
  2174. #define GL_OVERLAY_NV 0x9296
  2175. #define GL_PINLIGHT_NV 0x92A8
  2176. #define GL_PLUS_CLAMPED_ALPHA_NV 0x92B2
  2177. #define GL_PLUS_CLAMPED_NV 0x92B1
  2178. #define GL_PLUS_DARKER_NV 0x9292
  2179. #define GL_PLUS_NV 0x9291
  2180. #define GL_RED_NV 0x1903
  2181. #define GL_SCREEN_NV 0x9295
  2182. #define GL_SOFTLIGHT_NV 0x929C
  2183. #define GL_SRC_ATOP_NV 0x928E
  2184. #define GL_SRC_IN_NV 0x928A
  2185. #define GL_SRC_NV 0x9286
  2186. #define GL_SRC_OUT_NV 0x928C
  2187. #define GL_SRC_OVER_NV 0x9288
  2188. #define GL_UNCORRELATED_NV 0x9282
  2189. #define GL_VIVIDLIGHT_NV 0x92A6
  2190. #define GL_XOR_NV 0x1506
  2191. typedef void (GL_APIENTRYP PFNGLBLENDPARAMETERINVPROC) (GLenum pname, GLint value);
  2192. typedef void (GL_APIENTRYP PFNGLBLENDBARRIERNVPROC) (void);
  2193. #ifdef GL_GLEXT_PROTOTYPES
  2194. GL_APICALL void GL_APIENTRY glBlendParameteriNV (GLenum pname, GLint value);
  2195. GL_APICALL void GL_APIENTRY glBlendBarrierNV (void);
  2196. #endif
  2197. #endif /* GL_NV_blend_equation_advanced */
  2198. #ifndef GL_NV_blend_equation_advanced_coherent
  2199. #define GL_NV_blend_equation_advanced_coherent 1
  2200. #define GL_BLEND_ADVANCED_COHERENT_NV 0x9285
  2201. #endif /* GL_NV_blend_equation_advanced_coherent */
  2202. #ifndef GL_NV_conditional_render
  2203. #define GL_NV_conditional_render 1
  2204. #define GL_QUERY_WAIT_NV 0x8E13
  2205. #define GL_QUERY_NO_WAIT_NV 0x8E14
  2206. #define GL_QUERY_BY_REGION_WAIT_NV 0x8E15
  2207. #define GL_QUERY_BY_REGION_NO_WAIT_NV 0x8E16
  2208. typedef void (GL_APIENTRYP PFNGLBEGINCONDITIONALRENDERNVPROC) (GLuint id, GLenum mode);
  2209. typedef void (GL_APIENTRYP PFNGLENDCONDITIONALRENDERNVPROC) (void);
  2210. #ifdef GL_GLEXT_PROTOTYPES
  2211. GL_APICALL void GL_APIENTRY glBeginConditionalRenderNV (GLuint id, GLenum mode);
  2212. GL_APICALL void GL_APIENTRY glEndConditionalRenderNV (void);
  2213. #endif
  2214. #endif /* GL_NV_conditional_render */
  2215. #ifndef GL_NV_conservative_raster
  2216. #define GL_NV_conservative_raster 1
  2217. #define GL_CONSERVATIVE_RASTERIZATION_NV 0x9346
  2218. #define GL_SUBPIXEL_PRECISION_BIAS_X_BITS_NV 0x9347
  2219. #define GL_SUBPIXEL_PRECISION_BIAS_Y_BITS_NV 0x9348
  2220. #define GL_MAX_SUBPIXEL_PRECISION_BIAS_BITS_NV 0x9349
  2221. typedef void (GL_APIENTRYP PFNGLSUBPIXELPRECISIONBIASNVPROC) (GLuint xbits, GLuint ybits);
  2222. #ifdef GL_GLEXT_PROTOTYPES
  2223. GL_APICALL void GL_APIENTRY glSubpixelPrecisionBiasNV (GLuint xbits, GLuint ybits);
  2224. #endif
  2225. #endif /* GL_NV_conservative_raster */
  2226. #ifndef GL_NV_copy_buffer
  2227. #define GL_NV_copy_buffer 1
  2228. #define GL_COPY_READ_BUFFER_NV 0x8F36
  2229. #define GL_COPY_WRITE_BUFFER_NV 0x8F37
  2230. typedef void (GL_APIENTRYP PFNGLCOPYBUFFERSUBDATANVPROC) (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2231. #ifdef GL_GLEXT_PROTOTYPES
  2232. GL_APICALL void GL_APIENTRY glCopyBufferSubDataNV (GLenum readTarget, GLenum writeTarget, GLintptr readOffset, GLintptr writeOffset, GLsizeiptr size);
  2233. #endif
  2234. #endif /* GL_NV_copy_buffer */
  2235. #ifndef GL_NV_coverage_sample
  2236. #define GL_NV_coverage_sample 1
  2237. #define GL_COVERAGE_COMPONENT_NV 0x8ED0
  2238. #define GL_COVERAGE_COMPONENT4_NV 0x8ED1
  2239. #define GL_COVERAGE_ATTACHMENT_NV 0x8ED2
  2240. #define GL_COVERAGE_BUFFERS_NV 0x8ED3
  2241. #define GL_COVERAGE_SAMPLES_NV 0x8ED4
  2242. #define GL_COVERAGE_ALL_FRAGMENTS_NV 0x8ED5
  2243. #define GL_COVERAGE_EDGE_FRAGMENTS_NV 0x8ED6
  2244. #define GL_COVERAGE_AUTOMATIC_NV 0x8ED7
  2245. #define GL_COVERAGE_BUFFER_BIT_NV 0x00008000
  2246. typedef void (GL_APIENTRYP PFNGLCOVERAGEMASKNVPROC) (GLboolean mask);
  2247. typedef void (GL_APIENTRYP PFNGLCOVERAGEOPERATIONNVPROC) (GLenum operation);
  2248. #ifdef GL_GLEXT_PROTOTYPES
  2249. GL_APICALL void GL_APIENTRY glCoverageMaskNV (GLboolean mask);
  2250. GL_APICALL void GL_APIENTRY glCoverageOperationNV (GLenum operation);
  2251. #endif
  2252. #endif /* GL_NV_coverage_sample */
  2253. #ifndef GL_NV_depth_nonlinear
  2254. #define GL_NV_depth_nonlinear 1
  2255. #define GL_DEPTH_COMPONENT16_NONLINEAR_NV 0x8E2C
  2256. #endif /* GL_NV_depth_nonlinear */
  2257. #ifndef GL_NV_draw_buffers
  2258. #define GL_NV_draw_buffers 1
  2259. #define GL_MAX_DRAW_BUFFERS_NV 0x8824
  2260. #define GL_DRAW_BUFFER0_NV 0x8825
  2261. #define GL_DRAW_BUFFER1_NV 0x8826
  2262. #define GL_DRAW_BUFFER2_NV 0x8827
  2263. #define GL_DRAW_BUFFER3_NV 0x8828
  2264. #define GL_DRAW_BUFFER4_NV 0x8829
  2265. #define GL_DRAW_BUFFER5_NV 0x882A
  2266. #define GL_DRAW_BUFFER6_NV 0x882B
  2267. #define GL_DRAW_BUFFER7_NV 0x882C
  2268. #define GL_DRAW_BUFFER8_NV 0x882D
  2269. #define GL_DRAW_BUFFER9_NV 0x882E
  2270. #define GL_DRAW_BUFFER10_NV 0x882F
  2271. #define GL_DRAW_BUFFER11_NV 0x8830
  2272. #define GL_DRAW_BUFFER12_NV 0x8831
  2273. #define GL_DRAW_BUFFER13_NV 0x8832
  2274. #define GL_DRAW_BUFFER14_NV 0x8833
  2275. #define GL_DRAW_BUFFER15_NV 0x8834
  2276. #define GL_COLOR_ATTACHMENT0_NV 0x8CE0
  2277. #define GL_COLOR_ATTACHMENT1_NV 0x8CE1
  2278. #define GL_COLOR_ATTACHMENT2_NV 0x8CE2
  2279. #define GL_COLOR_ATTACHMENT3_NV 0x8CE3
  2280. #define GL_COLOR_ATTACHMENT4_NV 0x8CE4
  2281. #define GL_COLOR_ATTACHMENT5_NV 0x8CE5
  2282. #define GL_COLOR_ATTACHMENT6_NV 0x8CE6
  2283. #define GL_COLOR_ATTACHMENT7_NV 0x8CE7
  2284. #define GL_COLOR_ATTACHMENT8_NV 0x8CE8
  2285. #define GL_COLOR_ATTACHMENT9_NV 0x8CE9
  2286. #define GL_COLOR_ATTACHMENT10_NV 0x8CEA
  2287. #define GL_COLOR_ATTACHMENT11_NV 0x8CEB
  2288. #define GL_COLOR_ATTACHMENT12_NV 0x8CEC
  2289. #define GL_COLOR_ATTACHMENT13_NV 0x8CED
  2290. #define GL_COLOR_ATTACHMENT14_NV 0x8CEE
  2291. #define GL_COLOR_ATTACHMENT15_NV 0x8CEF
  2292. typedef void (GL_APIENTRYP PFNGLDRAWBUFFERSNVPROC) (GLsizei n, const GLenum *bufs);
  2293. #ifdef GL_GLEXT_PROTOTYPES
  2294. GL_APICALL void GL_APIENTRY glDrawBuffersNV (GLsizei n, const GLenum *bufs);
  2295. #endif
  2296. #endif /* GL_NV_draw_buffers */
  2297. #ifndef GL_NV_draw_instanced
  2298. #define GL_NV_draw_instanced 1
  2299. typedef void (GL_APIENTRYP PFNGLDRAWARRAYSINSTANCEDNVPROC) (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2300. typedef void (GL_APIENTRYP PFNGLDRAWELEMENTSINSTANCEDNVPROC) (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2301. #ifdef GL_GLEXT_PROTOTYPES
  2302. GL_APICALL void GL_APIENTRY glDrawArraysInstancedNV (GLenum mode, GLint first, GLsizei count, GLsizei primcount);
  2303. GL_APICALL void GL_APIENTRY glDrawElementsInstancedNV (GLenum mode, GLsizei count, GLenum type, const void *indices, GLsizei primcount);
  2304. #endif
  2305. #endif /* GL_NV_draw_instanced */
  2306. #ifndef GL_NV_explicit_attrib_location
  2307. #define GL_NV_explicit_attrib_location 1
  2308. #endif /* GL_NV_explicit_attrib_location */
  2309. #ifndef GL_NV_fbo_color_attachments
  2310. #define GL_NV_fbo_color_attachments 1
  2311. #define GL_MAX_COLOR_ATTACHMENTS_NV 0x8CDF
  2312. #endif /* GL_NV_fbo_color_attachments */
  2313. #ifndef GL_NV_fence
  2314. #define GL_NV_fence 1
  2315. #define GL_ALL_COMPLETED_NV 0x84F2
  2316. #define GL_FENCE_STATUS_NV 0x84F3
  2317. #define GL_FENCE_CONDITION_NV 0x84F4
  2318. typedef void (GL_APIENTRYP PFNGLDELETEFENCESNVPROC) (GLsizei n, const GLuint *fences);
  2319. typedef void (GL_APIENTRYP PFNGLGENFENCESNVPROC) (GLsizei n, GLuint *fences);
  2320. typedef GLboolean (GL_APIENTRYP PFNGLISFENCENVPROC) (GLuint fence);
  2321. typedef GLboolean (GL_APIENTRYP PFNGLTESTFENCENVPROC) (GLuint fence);
  2322. typedef void (GL_APIENTRYP PFNGLGETFENCEIVNVPROC) (GLuint fence, GLenum pname, GLint *params);
  2323. typedef void (GL_APIENTRYP PFNGLFINISHFENCENVPROC) (GLuint fence);
  2324. typedef void (GL_APIENTRYP PFNGLSETFENCENVPROC) (GLuint fence, GLenum condition);
  2325. #ifdef GL_GLEXT_PROTOTYPES
  2326. GL_APICALL void GL_APIENTRY glDeleteFencesNV (GLsizei n, const GLuint *fences);
  2327. GL_APICALL void GL_APIENTRY glGenFencesNV (GLsizei n, GLuint *fences);
  2328. GL_APICALL GLboolean GL_APIENTRY glIsFenceNV (GLuint fence);
  2329. GL_APICALL GLboolean GL_APIENTRY glTestFenceNV (GLuint fence);
  2330. GL_APICALL void GL_APIENTRY glGetFenceivNV (GLuint fence, GLenum pname, GLint *params);
  2331. GL_APICALL void GL_APIENTRY glFinishFenceNV (GLuint fence);
  2332. GL_APICALL void GL_APIENTRY glSetFenceNV (GLuint fence, GLenum condition);
  2333. #endif
  2334. #endif /* GL_NV_fence */
  2335. #ifndef GL_NV_fill_rectangle
  2336. #define GL_NV_fill_rectangle 1
  2337. #define GL_FILL_RECTANGLE_NV 0x933C
  2338. #endif /* GL_NV_fill_rectangle */
  2339. #ifndef GL_NV_fragment_coverage_to_color
  2340. #define GL_NV_fragment_coverage_to_color 1
  2341. #define GL_FRAGMENT_COVERAGE_TO_COLOR_NV 0x92DD
  2342. #define GL_FRAGMENT_COVERAGE_COLOR_NV 0x92DE
  2343. typedef void (GL_APIENTRYP PFNGLFRAGMENTCOVERAGECOLORNVPROC) (GLuint color);
  2344. #ifdef GL_GLEXT_PROTOTYPES
  2345. GL_APICALL void GL_APIENTRY glFragmentCoverageColorNV (GLuint color);
  2346. #endif
  2347. #endif /* GL_NV_fragment_coverage_to_color */
  2348. #ifndef GL_NV_fragment_shader_interlock
  2349. #define GL_NV_fragment_shader_interlock 1
  2350. #endif /* GL_NV_fragment_shader_interlock */
  2351. #ifndef GL_NV_framebuffer_blit
  2352. #define GL_NV_framebuffer_blit 1
  2353. #define GL_READ_FRAMEBUFFER_NV 0x8CA8
  2354. #define GL_DRAW_FRAMEBUFFER_NV 0x8CA9
  2355. #define GL_DRAW_FRAMEBUFFER_BINDING_NV 0x8CA6
  2356. #define GL_READ_FRAMEBUFFER_BINDING_NV 0x8CAA
  2357. 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);
  2358. #ifdef GL_GLEXT_PROTOTYPES
  2359. 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);
  2360. #endif
  2361. #endif /* GL_NV_framebuffer_blit */
  2362. #ifndef GL_NV_framebuffer_mixed_samples
  2363. #define GL_NV_framebuffer_mixed_samples 1
  2364. #define GL_COVERAGE_MODULATION_TABLE_NV 0x9331
  2365. #define GL_COLOR_SAMPLES_NV 0x8E20
  2366. #define GL_DEPTH_SAMPLES_NV 0x932D
  2367. #define GL_STENCIL_SAMPLES_NV 0x932E
  2368. #define GL_MIXED_DEPTH_SAMPLES_SUPPORTED_NV 0x932F
  2369. #define GL_MIXED_STENCIL_SAMPLES_SUPPORTED_NV 0x9330
  2370. #define GL_COVERAGE_MODULATION_NV 0x9332
  2371. #define GL_COVERAGE_MODULATION_TABLE_SIZE_NV 0x9333
  2372. typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONTABLENVPROC) (GLsizei n, const GLfloat *v);
  2373. typedef void (GL_APIENTRYP PFNGLGETCOVERAGEMODULATIONTABLENVPROC) (GLsizei bufsize, GLfloat *v);
  2374. typedef void (GL_APIENTRYP PFNGLCOVERAGEMODULATIONNVPROC) (GLenum components);
  2375. #ifdef GL_GLEXT_PROTOTYPES
  2376. GL_APICALL void GL_APIENTRY glCoverageModulationTableNV (GLsizei n, const GLfloat *v);
  2377. GL_APICALL void GL_APIENTRY glGetCoverageModulationTableNV (GLsizei bufsize, GLfloat *v);
  2378. GL_APICALL void GL_APIENTRY glCoverageModulationNV (GLenum components);
  2379. #endif
  2380. #endif /* GL_NV_framebuffer_mixed_samples */
  2381. #ifndef GL_NV_framebuffer_multisample
  2382. #define GL_NV_framebuffer_multisample 1
  2383. #define GL_RENDERBUFFER_SAMPLES_NV 0x8CAB
  2384. #define GL_FRAMEBUFFER_INCOMPLETE_MULTISAMPLE_NV 0x8D56
  2385. #define GL_MAX_SAMPLES_NV 0x8D57
  2386. typedef void (GL_APIENTRYP PFNGLRENDERBUFFERSTORAGEMULTISAMPLENVPROC) (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2387. #ifdef GL_GLEXT_PROTOTYPES
  2388. GL_APICALL void GL_APIENTRY glRenderbufferStorageMultisampleNV (GLenum target, GLsizei samples, GLenum internalformat, GLsizei width, GLsizei height);
  2389. #endif
  2390. #endif /* GL_NV_framebuffer_multisample */
  2391. #ifndef GL_NV_generate_mipmap_sRGB
  2392. #define GL_NV_generate_mipmap_sRGB 1
  2393. #endif /* GL_NV_generate_mipmap_sRGB */
  2394. #ifndef GL_NV_geometry_shader_passthrough
  2395. #define GL_NV_geometry_shader_passthrough 1
  2396. #endif /* GL_NV_geometry_shader_passthrough */
  2397. #ifndef GL_NV_image_formats
  2398. #define GL_NV_image_formats 1
  2399. #endif /* GL_NV_image_formats */
  2400. #ifndef GL_NV_instanced_arrays
  2401. #define GL_NV_instanced_arrays 1
  2402. #define GL_VERTEX_ATTRIB_ARRAY_DIVISOR_NV 0x88FE
  2403. typedef void (GL_APIENTRYP PFNGLVERTEXATTRIBDIVISORNVPROC) (GLuint index, GLuint divisor);
  2404. #ifdef GL_GLEXT_PROTOTYPES
  2405. GL_APICALL void GL_APIENTRY glVertexAttribDivisorNV (GLuint index, GLuint divisor);
  2406. #endif
  2407. #endif /* GL_NV_instanced_arrays */
  2408. #ifndef GL_NV_internalformat_sample_query
  2409. #define GL_NV_internalformat_sample_query 1
  2410. #define GL_TEXTURE_2D_MULTISAMPLE 0x9100
  2411. #define GL_TEXTURE_2D_MULTISAMPLE_ARRAY 0x9102
  2412. #define GL_MULTISAMPLES_NV 0x9371
  2413. #define GL_SUPERSAMPLE_SCALE_X_NV 0x9372
  2414. #define GL_SUPERSAMPLE_SCALE_Y_NV 0x9373
  2415. #define GL_CONFORMANT_NV 0x9374
  2416. typedef void (GL_APIENTRYP PFNGLGETINTERNALFORMATSAMPLEIVNVPROC) (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  2417. #ifdef GL_GLEXT_PROTOTYPES
  2418. GL_APICALL void GL_APIENTRY glGetInternalformatSampleivNV (GLenum target, GLenum internalformat, GLsizei samples, GLenum pname, GLsizei bufSize, GLint *params);
  2419. #endif
  2420. #endif /* GL_NV_internalformat_sample_query */
  2421. #ifndef GL_NV_non_square_matrices
  2422. #define GL_NV_non_square_matrices 1
  2423. #define GL_FLOAT_MAT2x3_NV 0x8B65
  2424. #define GL_FLOAT_MAT2x4_NV 0x8B66
  2425. #define GL_FLOAT_MAT3x2_NV 0x8B67
  2426. #define GL_FLOAT_MAT3x4_NV 0x8B68
  2427. #define GL_FLOAT_MAT4x2_NV 0x8B69
  2428. #define GL_FLOAT_MAT4x3_NV 0x8B6A
  2429. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2430. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2431. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX2X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2432. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X2FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2433. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX3X4FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2434. typedef void (GL_APIENTRYP PFNGLUNIFORMMATRIX4X3FVNVPROC) (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2435. #ifdef GL_GLEXT_PROTOTYPES
  2436. GL_APICALL void GL_APIENTRY glUniformMatrix2x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2437. GL_APICALL void GL_APIENTRY glUniformMatrix3x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2438. GL_APICALL void GL_APIENTRY glUniformMatrix2x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2439. GL_APICALL void GL_APIENTRY glUniformMatrix4x2fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2440. GL_APICALL void GL_APIENTRY glUniformMatrix3x4fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2441. GL_APICALL void GL_APIENTRY glUniformMatrix4x3fvNV (GLint location, GLsizei count, GLboolean transpose, const GLfloat *value);
  2442. #endif
  2443. #endif /* GL_NV_non_square_matrices */
  2444. #ifndef GL_NV_path_rendering
  2445. #define GL_NV_path_rendering 1
  2446. #define GL_PATH_FORMAT_SVG_NV 0x9070
  2447. #define GL_PATH_FORMAT_PS_NV 0x9071
  2448. #define GL_STANDARD_FONT_NAME_NV 0x9072
  2449. #define GL_SYSTEM_FONT_NAME_NV 0x9073
  2450. #define GL_FILE_NAME_NV 0x9074
  2451. #define GL_PATH_STROKE_WIDTH_NV 0x9075
  2452. #define GL_PATH_END_CAPS_NV 0x9076
  2453. #define GL_PATH_INITIAL_END_CAP_NV 0x9077
  2454. #define GL_PATH_TERMINAL_END_CAP_NV 0x9078
  2455. #define GL_PATH_JOIN_STYLE_NV 0x9079
  2456. #define GL_PATH_MITER_LIMIT_NV 0x907A
  2457. #define GL_PATH_DASH_CAPS_NV 0x907B
  2458. #define GL_PATH_INITIAL_DASH_CAP_NV 0x907C
  2459. #define GL_PATH_TERMINAL_DASH_CAP_NV 0x907D
  2460. #define GL_PATH_DASH_OFFSET_NV 0x907E
  2461. #define GL_PATH_CLIENT_LENGTH_NV 0x907F
  2462. #define GL_PATH_FILL_MODE_NV 0x9080
  2463. #define GL_PATH_FILL_MASK_NV 0x9081
  2464. #define GL_PATH_FILL_COVER_MODE_NV 0x9082
  2465. #define GL_PATH_STROKE_COVER_MODE_NV 0x9083
  2466. #define GL_PATH_STROKE_MASK_NV 0x9084
  2467. #define GL_COUNT_UP_NV 0x9088
  2468. #define GL_COUNT_DOWN_NV 0x9089
  2469. #define GL_PATH_OBJECT_BOUNDING_BOX_NV 0x908A
  2470. #define GL_CONVEX_HULL_NV 0x908B
  2471. #define GL_BOUNDING_BOX_NV 0x908D
  2472. #define GL_TRANSLATE_X_NV 0x908E
  2473. #define GL_TRANSLATE_Y_NV 0x908F
  2474. #define GL_TRANSLATE_2D_NV 0x9090
  2475. #define GL_TRANSLATE_3D_NV 0x9091
  2476. #define GL_AFFINE_2D_NV 0x9092
  2477. #define GL_AFFINE_3D_NV 0x9094
  2478. #define GL_TRANSPOSE_AFFINE_2D_NV 0x9096
  2479. #define GL_TRANSPOSE_AFFINE_3D_NV 0x9098
  2480. #define GL_UTF8_NV 0x909A
  2481. #define GL_UTF16_NV 0x909B
  2482. #define GL_BOUNDING_BOX_OF_BOUNDING_BOXES_NV 0x909C
  2483. #define GL_PATH_COMMAND_COUNT_NV 0x909D
  2484. #define GL_PATH_COORD_COUNT_NV 0x909E
  2485. #define GL_PATH_DASH_ARRAY_COUNT_NV 0x909F
  2486. #define GL_PATH_COMPUTED_LENGTH_NV 0x90A0
  2487. #define GL_PATH_FILL_BOUNDING_BOX_NV 0x90A1
  2488. #define GL_PATH_STROKE_BOUNDING_BOX_NV 0x90A2
  2489. #define GL_SQUARE_NV 0x90A3
  2490. #define GL_ROUND_NV 0x90A4
  2491. #define GL_TRIANGULAR_NV 0x90A5
  2492. #define GL_BEVEL_NV 0x90A6
  2493. #define GL_MITER_REVERT_NV 0x90A7
  2494. #define GL_MITER_TRUNCATE_NV 0x90A8
  2495. #define GL_SKIP_MISSING_GLYPH_NV 0x90A9
  2496. #define GL_USE_MISSING_GLYPH_NV 0x90AA
  2497. #define GL_PATH_ERROR_POSITION_NV 0x90AB
  2498. #define GL_ACCUM_ADJACENT_PAIRS_NV 0x90AD
  2499. #define GL_ADJACENT_PAIRS_NV 0x90AE
  2500. #define GL_FIRST_TO_REST_NV 0x90AF
  2501. #define GL_PATH_GEN_MODE_NV 0x90B0
  2502. #define GL_PATH_GEN_COEFF_NV 0x90B1
  2503. #define GL_PATH_GEN_COMPONENTS_NV 0x90B3
  2504. #define GL_PATH_STENCIL_FUNC_NV 0x90B7
  2505. #define GL_PATH_STENCIL_REF_NV 0x90B8
  2506. #define GL_PATH_STENCIL_VALUE_MASK_NV 0x90B9
  2507. #define GL_PATH_STENCIL_DEPTH_OFFSET_FACTOR_NV 0x90BD
  2508. #define GL_PATH_STENCIL_DEPTH_OFFSET_UNITS_NV 0x90BE
  2509. #define GL_PATH_COVER_DEPTH_FUNC_NV 0x90BF
  2510. #define GL_PATH_DASH_OFFSET_RESET_NV 0x90B4
  2511. #define GL_MOVE_TO_RESETS_NV 0x90B5
  2512. #define GL_MOVE_TO_CONTINUES_NV 0x90B6
  2513. #define GL_CLOSE_PATH_NV 0x00
  2514. #define GL_MOVE_TO_NV 0x02
  2515. #define GL_RELATIVE_MOVE_TO_NV 0x03
  2516. #define GL_LINE_TO_NV 0x04
  2517. #define GL_RELATIVE_LINE_TO_NV 0x05
  2518. #define GL_HORIZONTAL_LINE_TO_NV 0x06
  2519. #define GL_RELATIVE_HORIZONTAL_LINE_TO_NV 0x07
  2520. #define GL_VERTICAL_LINE_TO_NV 0x08
  2521. #define GL_RELATIVE_VERTICAL_LINE_TO_NV 0x09
  2522. #define GL_QUADRATIC_CURVE_TO_NV 0x0A
  2523. #define GL_RELATIVE_QUADRATIC_CURVE_TO_NV 0x0B
  2524. #define GL_CUBIC_CURVE_TO_NV 0x0C
  2525. #define GL_RELATIVE_CUBIC_CURVE_TO_NV 0x0D
  2526. #define GL_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0E
  2527. #define GL_RELATIVE_SMOOTH_QUADRATIC_CURVE_TO_NV 0x0F
  2528. #define GL_SMOOTH_CUBIC_CURVE_TO_NV 0x10
  2529. #define GL_RELATIVE_SMOOTH_CUBIC_CURVE_TO_NV 0x11
  2530. #define GL_SMALL_CCW_ARC_TO_NV 0x12
  2531. #define GL_RELATIVE_SMALL_CCW_ARC_TO_NV 0x13
  2532. #define GL_SMALL_CW_ARC_TO_NV 0x14
  2533. #define GL_RELATIVE_SMALL_CW_ARC_TO_NV 0x15
  2534. #define GL_LARGE_CCW_ARC_TO_NV 0x16
  2535. #define GL_RELATIVE_LARGE_CCW_ARC_TO_NV 0x17
  2536. #define GL_LARGE_CW_ARC_TO_NV 0x18
  2537. #define GL_RELATIVE_LARGE_CW_ARC_TO_NV 0x19
  2538. #define GL_RESTART_PATH_NV 0xF0
  2539. #define GL_DUP_FIRST_CUBIC_CURVE_TO_NV 0xF2
  2540. #define GL_DUP_LAST_CUBIC_CURVE_TO_NV 0xF4
  2541. #define GL_RECT_NV 0xF6
  2542. #define GL_CIRCULAR_CCW_ARC_TO_NV 0xF8
  2543. #define GL_CIRCULAR_CW_ARC_TO_NV 0xFA
  2544. #define GL_CIRCULAR_TANGENT_ARC_TO_NV 0xFC
  2545. #define GL_ARC_TO_NV 0xFE
  2546. #define GL_RELATIVE_ARC_TO_NV 0xFF
  2547. #define GL_BOLD_BIT_NV 0x01
  2548. #define GL_ITALIC_BIT_NV 0x02
  2549. #define GL_GLYPH_WIDTH_BIT_NV 0x01
  2550. #define GL_GLYPH_HEIGHT_BIT_NV 0x02
  2551. #define GL_GLYPH_HORIZONTAL_BEARING_X_BIT_NV 0x04
  2552. #define GL_GLYPH_HORIZONTAL_BEARING_Y_BIT_NV 0x08
  2553. #define GL_GLYPH_HORIZONTAL_BEARING_ADVANCE_BIT_NV 0x10
  2554. #define GL_GLYPH_VERTICAL_BEARING_X_BIT_NV 0x20
  2555. #define GL_GLYPH_VERTICAL_BEARING_Y_BIT_NV 0x40
  2556. #define GL_GLYPH_VERTICAL_BEARING_ADVANCE_BIT_NV 0x80
  2557. #define GL_GLYPH_HAS_KERNING_BIT_NV 0x100
  2558. #define GL_FONT_X_MIN_BOUNDS_BIT_NV 0x00010000
  2559. #define GL_FONT_Y_MIN_BOUNDS_BIT_NV 0x00020000
  2560. #define GL_FONT_X_MAX_BOUNDS_BIT_NV 0x00040000
  2561. #define GL_FONT_Y_MAX_BOUNDS_BIT_NV 0x00080000
  2562. #define GL_FONT_UNITS_PER_EM_BIT_NV 0x00100000
  2563. #define GL_FONT_ASCENDER_BIT_NV 0x00200000
  2564. #define GL_FONT_DESCENDER_BIT_NV 0x00400000
  2565. #define GL_FONT_HEIGHT_BIT_NV 0x00800000
  2566. #define GL_FONT_MAX_ADVANCE_WIDTH_BIT_NV 0x01000000
  2567. #define GL_FONT_MAX_ADVANCE_HEIGHT_BIT_NV 0x02000000
  2568. #define GL_FONT_UNDERLINE_POSITION_BIT_NV 0x04000000
  2569. #define GL_FONT_UNDERLINE_THICKNESS_BIT_NV 0x08000000
  2570. #define GL_FONT_HAS_KERNING_BIT_NV 0x10000000
  2571. #define GL_ROUNDED_RECT_NV 0xE8
  2572. #define GL_RELATIVE_ROUNDED_RECT_NV 0xE9
  2573. #define GL_ROUNDED_RECT2_NV 0xEA
  2574. #define GL_RELATIVE_ROUNDED_RECT2_NV 0xEB
  2575. #define GL_ROUNDED_RECT4_NV 0xEC
  2576. #define GL_RELATIVE_ROUNDED_RECT4_NV 0xED
  2577. #define GL_ROUNDED_RECT8_NV 0xEE
  2578. #define GL_RELATIVE_ROUNDED_RECT8_NV 0xEF
  2579. #define GL_RELATIVE_RECT_NV 0xF7
  2580. #define GL_FONT_GLYPHS_AVAILABLE_NV 0x9368
  2581. #define GL_FONT_TARGET_UNAVAILABLE_NV 0x9369
  2582. #define GL_FONT_UNAVAILABLE_NV 0x936A
  2583. #define GL_FONT_UNINTELLIGIBLE_NV 0x936B
  2584. #define GL_CONIC_CURVE_TO_NV 0x1A
  2585. #define GL_RELATIVE_CONIC_CURVE_TO_NV 0x1B
  2586. #define GL_FONT_NUM_GLYPH_INDICES_BIT_NV 0x20000000
  2587. #define GL_STANDARD_FONT_FORMAT_NV 0x936C
  2588. #define GL_PATH_PROJECTION_NV 0x1701
  2589. #define GL_PATH_MODELVIEW_NV 0x1700
  2590. #define GL_PATH_MODELVIEW_STACK_DEPTH_NV 0x0BA3
  2591. #define GL_PATH_MODELVIEW_MATRIX_NV 0x0BA6
  2592. #define GL_PATH_MAX_MODELVIEW_STACK_DEPTH_NV 0x0D36
  2593. #define GL_PATH_TRANSPOSE_MODELVIEW_MATRIX_NV 0x84E3
  2594. #define GL_PATH_PROJECTION_STACK_DEPTH_NV 0x0BA4
  2595. #define GL_PATH_PROJECTION_MATRIX_NV 0x0BA7
  2596. #define GL_PATH_MAX_PROJECTION_STACK_DEPTH_NV 0x0D38
  2597. #define GL_PATH_TRANSPOSE_PROJECTION_MATRIX_NV 0x84E4
  2598. #define GL_FRAGMENT_INPUT_NV 0x936D
  2599. typedef GLuint (GL_APIENTRYP PFNGLGENPATHSNVPROC) (GLsizei range);
  2600. typedef void (GL_APIENTRYP PFNGLDELETEPATHSNVPROC) (GLuint path, GLsizei range);
  2601. typedef GLboolean (GL_APIENTRYP PFNGLISPATHNVPROC) (GLuint path);
  2602. typedef void (GL_APIENTRYP PFNGLPATHCOMMANDSNVPROC) (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  2603. typedef void (GL_APIENTRYP PFNGLPATHCOORDSNVPROC) (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  2604. typedef void (GL_APIENTRYP PFNGLPATHSUBCOMMANDSNVPROC) (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  2605. typedef void (GL_APIENTRYP PFNGLPATHSUBCOORDSNVPROC) (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  2606. typedef void (GL_APIENTRYP PFNGLPATHSTRINGNVPROC) (GLuint path, GLenum format, GLsizei length, const void *pathString);
  2607. 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);
  2608. typedef void (GL_APIENTRYP PFNGLPATHGLYPHRANGENVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyph, GLsizei numGlyphs, GLenum handleMissingGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  2609. typedef void (GL_APIENTRYP PFNGLWEIGHTPATHSNVPROC) (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  2610. typedef void (GL_APIENTRYP PFNGLCOPYPATHNVPROC) (GLuint resultPath, GLuint srcPath);
  2611. typedef void (GL_APIENTRYP PFNGLINTERPOLATEPATHSNVPROC) (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  2612. typedef void (GL_APIENTRYP PFNGLTRANSFORMPATHNVPROC) (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  2613. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, const GLint *value);
  2614. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERINVPROC) (GLuint path, GLenum pname, GLint value);
  2615. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, const GLfloat *value);
  2616. typedef void (GL_APIENTRYP PFNGLPATHPARAMETERFNVPROC) (GLuint path, GLenum pname, GLfloat value);
  2617. typedef void (GL_APIENTRYP PFNGLPATHDASHARRAYNVPROC) (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  2618. typedef void (GL_APIENTRYP PFNGLPATHSTENCILFUNCNVPROC) (GLenum func, GLint ref, GLuint mask);
  2619. typedef void (GL_APIENTRYP PFNGLPATHSTENCILDEPTHOFFSETNVPROC) (GLfloat factor, GLfloat units);
  2620. typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask);
  2621. typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask);
  2622. typedef void (GL_APIENTRYP PFNGLSTENCILFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  2623. typedef void (GL_APIENTRYP PFNGLSTENCILSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  2624. typedef void (GL_APIENTRYP PFNGLPATHCOVERDEPTHFUNCNVPROC) (GLenum func);
  2625. typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHNVPROC) (GLuint path, GLenum coverMode);
  2626. typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHNVPROC) (GLuint path, GLenum coverMode);
  2627. typedef void (GL_APIENTRYP PFNGLCOVERFILLPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  2628. typedef void (GL_APIENTRYP PFNGLCOVERSTROKEPATHINSTANCEDNVPROC) (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  2629. typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERIVNVPROC) (GLuint path, GLenum pname, GLint *value);
  2630. typedef void (GL_APIENTRYP PFNGLGETPATHPARAMETERFVNVPROC) (GLuint path, GLenum pname, GLfloat *value);
  2631. typedef void (GL_APIENTRYP PFNGLGETPATHCOMMANDSNVPROC) (GLuint path, GLubyte *commands);
  2632. typedef void (GL_APIENTRYP PFNGLGETPATHCOORDSNVPROC) (GLuint path, GLfloat *coords);
  2633. typedef void (GL_APIENTRYP PFNGLGETPATHDASHARRAYNVPROC) (GLuint path, GLfloat *dashArray);
  2634. typedef void (GL_APIENTRYP PFNGLGETPATHMETRICSNVPROC) (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  2635. typedef void (GL_APIENTRYP PFNGLGETPATHMETRICRANGENVPROC) (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  2636. typedef void (GL_APIENTRYP PFNGLGETPATHSPACINGNVPROC) (GLenum pathListMode, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLfloat advanceScale, GLfloat kerningScale, GLenum transformType, GLfloat *returnedSpacing);
  2637. typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINFILLPATHNVPROC) (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  2638. typedef GLboolean (GL_APIENTRYP PFNGLISPOINTINSTROKEPATHNVPROC) (GLuint path, GLfloat x, GLfloat y);
  2639. typedef GLfloat (GL_APIENTRYP PFNGLGETPATHLENGTHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments);
  2640. typedef GLboolean (GL_APIENTRYP PFNGLPOINTALONGPATHNVPROC) (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  2641. typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2642. typedef void (GL_APIENTRYP PFNGLMATRIXLOAD3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2643. typedef void (GL_APIENTRYP PFNGLMATRIXLOADTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2644. typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X2FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2645. typedef void (GL_APIENTRYP PFNGLMATRIXMULT3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2646. typedef void (GL_APIENTRYP PFNGLMATRIXMULTTRANSPOSE3X3FNVPROC) (GLenum matrixMode, const GLfloat *m);
  2647. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERFILLPATHNVPROC) (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  2648. typedef void (GL_APIENTRYP PFNGLSTENCILTHENCOVERSTROKEPATHNVPROC) (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  2649. 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);
  2650. 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);
  2651. typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXRANGENVPROC) (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  2652. typedef GLenum (GL_APIENTRYP PFNGLPATHGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  2653. typedef GLenum (GL_APIENTRYP PFNGLPATHMEMORYGLYPHINDEXARRAYNVPROC) (GLuint firstPathName, GLenum fontTarget, GLsizeiptr fontSize, const void *fontData, GLsizei faceIndex, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  2654. typedef void (GL_APIENTRYP PFNGLPROGRAMPATHFRAGMENTINPUTGENNVPROC) (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  2655. typedef void (GL_APIENTRYP PFNGLGETPROGRAMRESOURCEFVNVPROC) (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  2656. #ifdef GL_GLEXT_PROTOTYPES
  2657. GL_APICALL GLuint GL_APIENTRY glGenPathsNV (GLsizei range);
  2658. GL_APICALL void GL_APIENTRY glDeletePathsNV (GLuint path, GLsizei range);
  2659. GL_APICALL GLboolean GL_APIENTRY glIsPathNV (GLuint path);
  2660. GL_APICALL void GL_APIENTRY glPathCommandsNV (GLuint path, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  2661. GL_APICALL void GL_APIENTRY glPathCoordsNV (GLuint path, GLsizei numCoords, GLenum coordType, const void *coords);
  2662. GL_APICALL void GL_APIENTRY glPathSubCommandsNV (GLuint path, GLsizei commandStart, GLsizei commandsToDelete, GLsizei numCommands, const GLubyte *commands, GLsizei numCoords, GLenum coordType, const void *coords);
  2663. GL_APICALL void GL_APIENTRY glPathSubCoordsNV (GLuint path, GLsizei coordStart, GLsizei numCoords, GLenum coordType, const void *coords);
  2664. GL_APICALL void GL_APIENTRY glPathStringNV (GLuint path, GLenum format, GLsizei length, const void *pathString);
  2665. 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);
  2666. 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);
  2667. GL_APICALL void GL_APIENTRY glWeightPathsNV (GLuint resultPath, GLsizei numPaths, const GLuint *paths, const GLfloat *weights);
  2668. GL_APICALL void GL_APIENTRY glCopyPathNV (GLuint resultPath, GLuint srcPath);
  2669. GL_APICALL void GL_APIENTRY glInterpolatePathsNV (GLuint resultPath, GLuint pathA, GLuint pathB, GLfloat weight);
  2670. GL_APICALL void GL_APIENTRY glTransformPathNV (GLuint resultPath, GLuint srcPath, GLenum transformType, const GLfloat *transformValues);
  2671. GL_APICALL void GL_APIENTRY glPathParameterivNV (GLuint path, GLenum pname, const GLint *value);
  2672. GL_APICALL void GL_APIENTRY glPathParameteriNV (GLuint path, GLenum pname, GLint value);
  2673. GL_APICALL void GL_APIENTRY glPathParameterfvNV (GLuint path, GLenum pname, const GLfloat *value);
  2674. GL_APICALL void GL_APIENTRY glPathParameterfNV (GLuint path, GLenum pname, GLfloat value);
  2675. GL_APICALL void GL_APIENTRY glPathDashArrayNV (GLuint path, GLsizei dashCount, const GLfloat *dashArray);
  2676. GL_APICALL void GL_APIENTRY glPathStencilFuncNV (GLenum func, GLint ref, GLuint mask);
  2677. GL_APICALL void GL_APIENTRY glPathStencilDepthOffsetNV (GLfloat factor, GLfloat units);
  2678. GL_APICALL void GL_APIENTRY glStencilFillPathNV (GLuint path, GLenum fillMode, GLuint mask);
  2679. GL_APICALL void GL_APIENTRY glStencilStrokePathNV (GLuint path, GLint reference, GLuint mask);
  2680. GL_APICALL void GL_APIENTRY glStencilFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum fillMode, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  2681. GL_APICALL void GL_APIENTRY glStencilStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLint reference, GLuint mask, GLenum transformType, const GLfloat *transformValues);
  2682. GL_APICALL void GL_APIENTRY glPathCoverDepthFuncNV (GLenum func);
  2683. GL_APICALL void GL_APIENTRY glCoverFillPathNV (GLuint path, GLenum coverMode);
  2684. GL_APICALL void GL_APIENTRY glCoverStrokePathNV (GLuint path, GLenum coverMode);
  2685. GL_APICALL void GL_APIENTRY glCoverFillPathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  2686. GL_APICALL void GL_APIENTRY glCoverStrokePathInstancedNV (GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLenum coverMode, GLenum transformType, const GLfloat *transformValues);
  2687. GL_APICALL void GL_APIENTRY glGetPathParameterivNV (GLuint path, GLenum pname, GLint *value);
  2688. GL_APICALL void GL_APIENTRY glGetPathParameterfvNV (GLuint path, GLenum pname, GLfloat *value);
  2689. GL_APICALL void GL_APIENTRY glGetPathCommandsNV (GLuint path, GLubyte *commands);
  2690. GL_APICALL void GL_APIENTRY glGetPathCoordsNV (GLuint path, GLfloat *coords);
  2691. GL_APICALL void GL_APIENTRY glGetPathDashArrayNV (GLuint path, GLfloat *dashArray);
  2692. GL_APICALL void GL_APIENTRY glGetPathMetricsNV (GLbitfield metricQueryMask, GLsizei numPaths, GLenum pathNameType, const void *paths, GLuint pathBase, GLsizei stride, GLfloat *metrics);
  2693. GL_APICALL void GL_APIENTRY glGetPathMetricRangeNV (GLbitfield metricQueryMask, GLuint firstPathName, GLsizei numPaths, GLsizei stride, GLfloat *metrics);
  2694. 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);
  2695. GL_APICALL GLboolean GL_APIENTRY glIsPointInFillPathNV (GLuint path, GLuint mask, GLfloat x, GLfloat y);
  2696. GL_APICALL GLboolean GL_APIENTRY glIsPointInStrokePathNV (GLuint path, GLfloat x, GLfloat y);
  2697. GL_APICALL GLfloat GL_APIENTRY glGetPathLengthNV (GLuint path, GLsizei startSegment, GLsizei numSegments);
  2698. GL_APICALL GLboolean GL_APIENTRY glPointAlongPathNV (GLuint path, GLsizei startSegment, GLsizei numSegments, GLfloat distance, GLfloat *x, GLfloat *y, GLfloat *tangentX, GLfloat *tangentY);
  2699. GL_APICALL void GL_APIENTRY glMatrixLoad3x2fNV (GLenum matrixMode, const GLfloat *m);
  2700. GL_APICALL void GL_APIENTRY glMatrixLoad3x3fNV (GLenum matrixMode, const GLfloat *m);
  2701. GL_APICALL void GL_APIENTRY glMatrixLoadTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  2702. GL_APICALL void GL_APIENTRY glMatrixMult3x2fNV (GLenum matrixMode, const GLfloat *m);
  2703. GL_APICALL void GL_APIENTRY glMatrixMult3x3fNV (GLenum matrixMode, const GLfloat *m);
  2704. GL_APICALL void GL_APIENTRY glMatrixMultTranspose3x3fNV (GLenum matrixMode, const GLfloat *m);
  2705. GL_APICALL void GL_APIENTRY glStencilThenCoverFillPathNV (GLuint path, GLenum fillMode, GLuint mask, GLenum coverMode);
  2706. GL_APICALL void GL_APIENTRY glStencilThenCoverStrokePathNV (GLuint path, GLint reference, GLuint mask, GLenum coverMode);
  2707. 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);
  2708. 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);
  2709. GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexRangeNV (GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint pathParameterTemplate, GLfloat emScale, GLuint baseAndCount[2]);
  2710. GL_APICALL GLenum GL_APIENTRY glPathGlyphIndexArrayNV (GLuint firstPathName, GLenum fontTarget, const void *fontName, GLbitfield fontStyle, GLuint firstGlyphIndex, GLsizei numGlyphs, GLuint pathParameterTemplate, GLfloat emScale);
  2711. 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);
  2712. GL_APICALL void GL_APIENTRY glProgramPathFragmentInputGenNV (GLuint program, GLint location, GLenum genMode, GLint components, const GLfloat *coeffs);
  2713. GL_APICALL void GL_APIENTRY glGetProgramResourcefvNV (GLuint program, GLenum programInterface, GLuint index, GLsizei propCount, const GLenum *props, GLsizei bufSize, GLsizei *length, GLfloat *params);
  2714. #endif
  2715. #endif /* GL_NV_path_rendering */
  2716. #ifndef GL_NV_path_rendering_shared_edge
  2717. #define GL_NV_path_rendering_shared_edge 1
  2718. #define GL_SHARED_EDGE_NV 0xC0
  2719. #endif /* GL_NV_path_rendering_shared_edge */
  2720. #ifndef GL_NV_polygon_mode
  2721. #define GL_NV_polygon_mode 1
  2722. #define GL_POLYGON_MODE_NV 0x0B40
  2723. #define GL_POLYGON_OFFSET_POINT_NV 0x2A01
  2724. #define GL_POLYGON_OFFSET_LINE_NV 0x2A02
  2725. #define GL_POINT_NV 0x1B00
  2726. #define GL_LINE_NV 0x1B01
  2727. #define GL_FILL_NV 0x1B02
  2728. typedef void (GL_APIENTRYP PFNGLPOLYGONMODENVPROC) (GLenum face, GLenum mode);
  2729. #ifdef GL_GLEXT_PROTOTYPES
  2730. GL_APICALL void GL_APIENTRY glPolygonModeNV (GLenum face, GLenum mode);
  2731. #endif
  2732. #endif /* GL_NV_polygon_mode */
  2733. #ifndef GL_NV_read_buffer
  2734. #define GL_NV_read_buffer 1
  2735. #define GL_READ_BUFFER_NV 0x0C02
  2736. typedef void (GL_APIENTRYP PFNGLREADBUFFERNVPROC) (GLenum mode);
  2737. #ifdef GL_GLEXT_PROTOTYPES
  2738. GL_APICALL void GL_APIENTRY glReadBufferNV (GLenum mode);
  2739. #endif
  2740. #endif /* GL_NV_read_buffer */
  2741. #ifndef GL_NV_read_buffer_front
  2742. #define GL_NV_read_buffer_front 1
  2743. #endif /* GL_NV_read_buffer_front */
  2744. #ifndef GL_NV_read_depth
  2745. #define GL_NV_read_depth 1
  2746. #endif /* GL_NV_read_depth */
  2747. #ifndef GL_NV_read_depth_stencil
  2748. #define GL_NV_read_depth_stencil 1
  2749. #endif /* GL_NV_read_depth_stencil */
  2750. #ifndef GL_NV_read_stencil
  2751. #define GL_NV_read_stencil 1
  2752. #endif /* GL_NV_read_stencil */
  2753. #ifndef GL_NV_sRGB_formats
  2754. #define GL_NV_sRGB_formats 1
  2755. #define GL_SLUMINANCE_NV 0x8C46
  2756. #define GL_SLUMINANCE_ALPHA_NV 0x8C44
  2757. #define GL_SRGB8_NV 0x8C41
  2758. #define GL_SLUMINANCE8_NV 0x8C47
  2759. #define GL_SLUMINANCE8_ALPHA8_NV 0x8C45
  2760. #define GL_COMPRESSED_SRGB_S3TC_DXT1_NV 0x8C4C
  2761. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT1_NV 0x8C4D
  2762. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT3_NV 0x8C4E
  2763. #define GL_COMPRESSED_SRGB_ALPHA_S3TC_DXT5_NV 0x8C4F
  2764. #define GL_ETC1_SRGB8_NV 0x88EE
  2765. #endif /* GL_NV_sRGB_formats */
  2766. #ifndef GL_NV_sample_locations
  2767. #define GL_NV_sample_locations 1
  2768. #define GL_SAMPLE_LOCATION_SUBPIXEL_BITS_NV 0x933D
  2769. #define GL_SAMPLE_LOCATION_PIXEL_GRID_WIDTH_NV 0x933E
  2770. #define GL_SAMPLE_LOCATION_PIXEL_GRID_HEIGHT_NV 0x933F
  2771. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_TABLE_SIZE_NV 0x9340
  2772. #define GL_SAMPLE_LOCATION_NV 0x8E50
  2773. #define GL_PROGRAMMABLE_SAMPLE_LOCATION_NV 0x9341
  2774. #define GL_FRAMEBUFFER_PROGRAMMABLE_SAMPLE_LOCATIONS_NV 0x9342
  2775. #define GL_FRAMEBUFFER_SAMPLE_LOCATION_PIXEL_GRID_NV 0x9343
  2776. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  2777. typedef void (GL_APIENTRYP PFNGLNAMEDFRAMEBUFFERSAMPLELOCATIONSFVNVPROC) (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  2778. typedef void (GL_APIENTRYP PFNGLRESOLVEDEPTHVALUESNVPROC) (void);
  2779. #ifdef GL_GLEXT_PROTOTYPES
  2780. GL_APICALL void GL_APIENTRY glFramebufferSampleLocationsfvNV (GLenum target, GLuint start, GLsizei count, const GLfloat *v);
  2781. GL_APICALL void GL_APIENTRY glNamedFramebufferSampleLocationsfvNV (GLuint framebuffer, GLuint start, GLsizei count, const GLfloat *v);
  2782. GL_APICALL void GL_APIENTRY glResolveDepthValuesNV (void);
  2783. #endif
  2784. #endif /* GL_NV_sample_locations */
  2785. #ifndef GL_NV_sample_mask_override_coverage
  2786. #define GL_NV_sample_mask_override_coverage 1
  2787. #endif /* GL_NV_sample_mask_override_coverage */
  2788. #ifndef GL_NV_shader_noperspective_interpolation
  2789. #define GL_NV_shader_noperspective_interpolation 1
  2790. #endif /* GL_NV_shader_noperspective_interpolation */
  2791. #ifndef GL_NV_shadow_samplers_array
  2792. #define GL_NV_shadow_samplers_array 1
  2793. #define GL_SAMPLER_2D_ARRAY_SHADOW_NV 0x8DC4
  2794. #endif /* GL_NV_shadow_samplers_array */
  2795. #ifndef GL_NV_shadow_samplers_cube
  2796. #define GL_NV_shadow_samplers_cube 1
  2797. #define GL_SAMPLER_CUBE_SHADOW_NV 0x8DC5
  2798. #endif /* GL_NV_shadow_samplers_cube */
  2799. #ifndef GL_NV_texture_border_clamp
  2800. #define GL_NV_texture_border_clamp 1
  2801. #define GL_TEXTURE_BORDER_COLOR_NV 0x1004
  2802. #define GL_CLAMP_TO_BORDER_NV 0x812D
  2803. #endif /* GL_NV_texture_border_clamp */
  2804. #ifndef GL_NV_texture_compression_s3tc_update
  2805. #define GL_NV_texture_compression_s3tc_update 1
  2806. #endif /* GL_NV_texture_compression_s3tc_update */
  2807. #ifndef GL_NV_texture_npot_2D_mipmap
  2808. #define GL_NV_texture_npot_2D_mipmap 1
  2809. #endif /* GL_NV_texture_npot_2D_mipmap */
  2810. #ifndef GL_NV_viewport_array
  2811. #define GL_NV_viewport_array 1
  2812. #define GL_MAX_VIEWPORTS_NV 0x825B
  2813. #define GL_VIEWPORT_SUBPIXEL_BITS_NV 0x825C
  2814. #define GL_VIEWPORT_BOUNDS_RANGE_NV 0x825D
  2815. #define GL_VIEWPORT_INDEX_PROVOKING_VERTEX_NV 0x825F
  2816. typedef void (GL_APIENTRYP PFNGLVIEWPORTARRAYVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  2817. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFNVPROC) (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2818. typedef void (GL_APIENTRYP PFNGLVIEWPORTINDEXEDFVNVPROC) (GLuint index, const GLfloat *v);
  2819. typedef void (GL_APIENTRYP PFNGLSCISSORARRAYVNVPROC) (GLuint first, GLsizei count, const GLint *v);
  2820. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDNVPROC) (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2821. typedef void (GL_APIENTRYP PFNGLSCISSORINDEXEDVNVPROC) (GLuint index, const GLint *v);
  2822. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEARRAYFVNVPROC) (GLuint first, GLsizei count, const GLfloat *v);
  2823. typedef void (GL_APIENTRYP PFNGLDEPTHRANGEINDEXEDFNVPROC) (GLuint index, GLfloat n, GLfloat f);
  2824. typedef void (GL_APIENTRYP PFNGLGETFLOATI_VNVPROC) (GLenum target, GLuint index, GLfloat *data);
  2825. typedef void (GL_APIENTRYP PFNGLENABLEINVPROC) (GLenum target, GLuint index);
  2826. typedef void (GL_APIENTRYP PFNGLDISABLEINVPROC) (GLenum target, GLuint index);
  2827. typedef GLboolean (GL_APIENTRYP PFNGLISENABLEDINVPROC) (GLenum target, GLuint index);
  2828. #ifdef GL_GLEXT_PROTOTYPES
  2829. GL_APICALL void GL_APIENTRY glViewportArrayvNV (GLuint first, GLsizei count, const GLfloat *v);
  2830. GL_APICALL void GL_APIENTRY glViewportIndexedfNV (GLuint index, GLfloat x, GLfloat y, GLfloat w, GLfloat h);
  2831. GL_APICALL void GL_APIENTRY glViewportIndexedfvNV (GLuint index, const GLfloat *v);
  2832. GL_APICALL void GL_APIENTRY glScissorArrayvNV (GLuint first, GLsizei count, const GLint *v);
  2833. GL_APICALL void GL_APIENTRY glScissorIndexedNV (GLuint index, GLint left, GLint bottom, GLsizei width, GLsizei height);
  2834. GL_APICALL void GL_APIENTRY glScissorIndexedvNV (GLuint index, const GLint *v);
  2835. GL_APICALL void GL_APIENTRY glDepthRangeArrayfvNV (GLuint first, GLsizei count, const GLfloat *v);
  2836. GL_APICALL void GL_APIENTRY glDepthRangeIndexedfNV (GLuint index, GLfloat n, GLfloat f);
  2837. GL_APICALL void GL_APIENTRY glGetFloati_vNV (GLenum target, GLuint index, GLfloat *data);
  2838. GL_APICALL void GL_APIENTRY glEnableiNV (GLenum target, GLuint index);
  2839. GL_APICALL void GL_APIENTRY glDisableiNV (GLenum target, GLuint index);
  2840. GL_APICALL GLboolean GL_APIENTRY glIsEnablediNV (GLenum target, GLuint index);
  2841. #endif
  2842. #endif /* GL_NV_viewport_array */
  2843. #ifndef GL_NV_viewport_array2
  2844. #define GL_NV_viewport_array2 1
  2845. #endif /* GL_NV_viewport_array2 */
  2846. #ifndef GL_OVR_multiview
  2847. #define GL_OVR_multiview 1
  2848. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_NUM_VIEWS_OVR 0x9630
  2849. #define GL_FRAMEBUFFER_ATTACHMENT_TEXTURE_BASE_VIEW_INDEX_OVR 0x9632
  2850. #define GL_MAX_VIEWS_OVR 0x9631
  2851. typedef void (GL_APIENTRYP PFNGLFRAMEBUFFERTEXTUREMULTIVIEWOVRPROC) (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  2852. #ifdef GL_GLEXT_PROTOTYPES
  2853. GL_APICALL void GL_APIENTRY glFramebufferTextureMultiviewOVR (GLenum target, GLenum attachment, GLuint texture, GLint level, GLint baseViewIndex, GLsizei numViews);
  2854. #endif
  2855. #endif /* GL_OVR_multiview */
  2856. #ifndef GL_OVR_multiview2
  2857. #define GL_OVR_multiview2 1
  2858. #endif /* GL_OVR_multiview2 */
  2859. #ifndef GL_QCOM_alpha_test
  2860. #define GL_QCOM_alpha_test 1
  2861. #define GL_ALPHA_TEST_QCOM 0x0BC0
  2862. #define GL_ALPHA_TEST_FUNC_QCOM 0x0BC1
  2863. #define GL_ALPHA_TEST_REF_QCOM 0x0BC2
  2864. typedef void (GL_APIENTRYP PFNGLALPHAFUNCQCOMPROC) (GLenum func, GLclampf ref);
  2865. #ifdef GL_GLEXT_PROTOTYPES
  2866. GL_APICALL void GL_APIENTRY glAlphaFuncQCOM (GLenum func, GLclampf ref);
  2867. #endif
  2868. #endif /* GL_QCOM_alpha_test */
  2869. #ifndef GL_QCOM_binning_control
  2870. #define GL_QCOM_binning_control 1
  2871. #define GL_BINNING_CONTROL_HINT_QCOM 0x8FB0
  2872. #define GL_CPU_OPTIMIZED_QCOM 0x8FB1
  2873. #define GL_GPU_OPTIMIZED_QCOM 0x8FB2
  2874. #define GL_RENDER_DIRECT_TO_FRAMEBUFFER_QCOM 0x8FB3
  2875. #endif /* GL_QCOM_binning_control */
  2876. #ifndef GL_QCOM_driver_control
  2877. #define GL_QCOM_driver_control 1
  2878. typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSQCOMPROC) (GLint *num, GLsizei size, GLuint *driverControls);
  2879. typedef void (GL_APIENTRYP PFNGLGETDRIVERCONTROLSTRINGQCOMPROC) (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
  2880. typedef void (GL_APIENTRYP PFNGLENABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  2881. typedef void (GL_APIENTRYP PFNGLDISABLEDRIVERCONTROLQCOMPROC) (GLuint driverControl);
  2882. #ifdef GL_GLEXT_PROTOTYPES
  2883. GL_APICALL void GL_APIENTRY glGetDriverControlsQCOM (GLint *num, GLsizei size, GLuint *driverControls);
  2884. GL_APICALL void GL_APIENTRY glGetDriverControlStringQCOM (GLuint driverControl, GLsizei bufSize, GLsizei *length, GLchar *driverControlString);
  2885. GL_APICALL void GL_APIENTRY glEnableDriverControlQCOM (GLuint driverControl);
  2886. GL_APICALL void GL_APIENTRY glDisableDriverControlQCOM (GLuint driverControl);
  2887. #endif
  2888. #endif /* GL_QCOM_driver_control */
  2889. #ifndef GL_QCOM_extended_get
  2890. #define GL_QCOM_extended_get 1
  2891. #define GL_TEXTURE_WIDTH_QCOM 0x8BD2
  2892. #define GL_TEXTURE_HEIGHT_QCOM 0x8BD3
  2893. #define GL_TEXTURE_DEPTH_QCOM 0x8BD4
  2894. #define GL_TEXTURE_INTERNAL_FORMAT_QCOM 0x8BD5
  2895. #define GL_TEXTURE_FORMAT_QCOM 0x8BD6
  2896. #define GL_TEXTURE_TYPE_QCOM 0x8BD7
  2897. #define GL_TEXTURE_IMAGE_VALID_QCOM 0x8BD8
  2898. #define GL_TEXTURE_NUM_LEVELS_QCOM 0x8BD9
  2899. #define GL_TEXTURE_TARGET_QCOM 0x8BDA
  2900. #define GL_TEXTURE_OBJECT_VALID_QCOM 0x8BDB
  2901. #define GL_STATE_RESTORE 0x8BDC
  2902. typedef void (GL_APIENTRYP PFNGLEXTGETTEXTURESQCOMPROC) (GLuint *textures, GLint maxTextures, GLint *numTextures);
  2903. typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERSQCOMPROC) (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
  2904. typedef void (GL_APIENTRYP PFNGLEXTGETRENDERBUFFERSQCOMPROC) (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
  2905. typedef void (GL_APIENTRYP PFNGLEXTGETFRAMEBUFFERSQCOMPROC) (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
  2906. typedef void (GL_APIENTRYP PFNGLEXTGETTEXLEVELPARAMETERIVQCOMPROC) (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
  2907. typedef void (GL_APIENTRYP PFNGLEXTTEXOBJECTSTATEOVERRIDEIQCOMPROC) (GLenum target, GLenum pname, GLint param);
  2908. 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);
  2909. typedef void (GL_APIENTRYP PFNGLEXTGETBUFFERPOINTERVQCOMPROC) (GLenum target, void **params);
  2910. #ifdef GL_GLEXT_PROTOTYPES
  2911. GL_APICALL void GL_APIENTRY glExtGetTexturesQCOM (GLuint *textures, GLint maxTextures, GLint *numTextures);
  2912. GL_APICALL void GL_APIENTRY glExtGetBuffersQCOM (GLuint *buffers, GLint maxBuffers, GLint *numBuffers);
  2913. GL_APICALL void GL_APIENTRY glExtGetRenderbuffersQCOM (GLuint *renderbuffers, GLint maxRenderbuffers, GLint *numRenderbuffers);
  2914. GL_APICALL void GL_APIENTRY glExtGetFramebuffersQCOM (GLuint *framebuffers, GLint maxFramebuffers, GLint *numFramebuffers);
  2915. GL_APICALL void GL_APIENTRY glExtGetTexLevelParameterivQCOM (GLuint texture, GLenum face, GLint level, GLenum pname, GLint *params);
  2916. GL_APICALL void GL_APIENTRY glExtTexObjectStateOverrideiQCOM (GLenum target, GLenum pname, GLint param);
  2917. 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);
  2918. GL_APICALL void GL_APIENTRY glExtGetBufferPointervQCOM (GLenum target, void **params);
  2919. #endif
  2920. #endif /* GL_QCOM_extended_get */
  2921. #ifndef GL_QCOM_extended_get2
  2922. #define GL_QCOM_extended_get2 1
  2923. typedef void (GL_APIENTRYP PFNGLEXTGETSHADERSQCOMPROC) (GLuint *shaders, GLint maxShaders, GLint *numShaders);
  2924. typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMSQCOMPROC) (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
  2925. typedef GLboolean (GL_APIENTRYP PFNGLEXTISPROGRAMBINARYQCOMPROC) (GLuint program);
  2926. typedef void (GL_APIENTRYP PFNGLEXTGETPROGRAMBINARYSOURCEQCOMPROC) (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
  2927. #ifdef GL_GLEXT_PROTOTYPES
  2928. GL_APICALL void GL_APIENTRY glExtGetShadersQCOM (GLuint *shaders, GLint maxShaders, GLint *numShaders);
  2929. GL_APICALL void GL_APIENTRY glExtGetProgramsQCOM (GLuint *programs, GLint maxPrograms, GLint *numPrograms);
  2930. GL_APICALL GLboolean GL_APIENTRY glExtIsProgramBinaryQCOM (GLuint program);
  2931. GL_APICALL void GL_APIENTRY glExtGetProgramBinarySourceQCOM (GLuint program, GLenum shadertype, GLchar *source, GLint *length);
  2932. #endif
  2933. #endif /* GL_QCOM_extended_get2 */
  2934. #ifndef GL_QCOM_perfmon_global_mode
  2935. #define GL_QCOM_perfmon_global_mode 1
  2936. #define GL_PERFMON_GLOBAL_MODE_QCOM 0x8FA0
  2937. #endif /* GL_QCOM_perfmon_global_mode */
  2938. #ifndef GL_QCOM_tiled_rendering
  2939. #define GL_QCOM_tiled_rendering 1
  2940. #define GL_COLOR_BUFFER_BIT0_QCOM 0x00000001
  2941. #define GL_COLOR_BUFFER_BIT1_QCOM 0x00000002
  2942. #define GL_COLOR_BUFFER_BIT2_QCOM 0x00000004
  2943. #define GL_COLOR_BUFFER_BIT3_QCOM 0x00000008
  2944. #define GL_COLOR_BUFFER_BIT4_QCOM 0x00000010
  2945. #define GL_COLOR_BUFFER_BIT5_QCOM 0x00000020
  2946. #define GL_COLOR_BUFFER_BIT6_QCOM 0x00000040
  2947. #define GL_COLOR_BUFFER_BIT7_QCOM 0x00000080
  2948. #define GL_DEPTH_BUFFER_BIT0_QCOM 0x00000100
  2949. #define GL_DEPTH_BUFFER_BIT1_QCOM 0x00000200
  2950. #define GL_DEPTH_BUFFER_BIT2_QCOM 0x00000400
  2951. #define GL_DEPTH_BUFFER_BIT3_QCOM 0x00000800
  2952. #define GL_DEPTH_BUFFER_BIT4_QCOM 0x00001000
  2953. #define GL_DEPTH_BUFFER_BIT5_QCOM 0x00002000
  2954. #define GL_DEPTH_BUFFER_BIT6_QCOM 0x00004000
  2955. #define GL_DEPTH_BUFFER_BIT7_QCOM 0x00008000
  2956. #define GL_STENCIL_BUFFER_BIT0_QCOM 0x00010000
  2957. #define GL_STENCIL_BUFFER_BIT1_QCOM 0x00020000
  2958. #define GL_STENCIL_BUFFER_BIT2_QCOM 0x00040000
  2959. #define GL_STENCIL_BUFFER_BIT3_QCOM 0x00080000
  2960. #define GL_STENCIL_BUFFER_BIT4_QCOM 0x00100000
  2961. #define GL_STENCIL_BUFFER_BIT5_QCOM 0x00200000
  2962. #define GL_STENCIL_BUFFER_BIT6_QCOM 0x00400000
  2963. #define GL_STENCIL_BUFFER_BIT7_QCOM 0x00800000
  2964. #define GL_MULTISAMPLE_BUFFER_BIT0_QCOM 0x01000000
  2965. #define GL_MULTISAMPLE_BUFFER_BIT1_QCOM 0x02000000
  2966. #define GL_MULTISAMPLE_BUFFER_BIT2_QCOM 0x04000000
  2967. #define GL_MULTISAMPLE_BUFFER_BIT3_QCOM 0x08000000
  2968. #define GL_MULTISAMPLE_BUFFER_BIT4_QCOM 0x10000000
  2969. #define GL_MULTISAMPLE_BUFFER_BIT5_QCOM 0x20000000
  2970. #define GL_MULTISAMPLE_BUFFER_BIT6_QCOM 0x40000000
  2971. #define GL_MULTISAMPLE_BUFFER_BIT7_QCOM 0x80000000
  2972. typedef void (GL_APIENTRYP PFNGLSTARTTILINGQCOMPROC) (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
  2973. typedef void (GL_APIENTRYP PFNGLENDTILINGQCOMPROC) (GLbitfield preserveMask);
  2974. #ifdef GL_GLEXT_PROTOTYPES
  2975. GL_APICALL void GL_APIENTRY glStartTilingQCOM (GLuint x, GLuint y, GLuint width, GLuint height, GLbitfield preserveMask);
  2976. GL_APICALL void GL_APIENTRY glEndTilingQCOM (GLbitfield preserveMask);
  2977. #endif
  2978. #endif /* GL_QCOM_tiled_rendering */
  2979. #ifndef GL_QCOM_writeonly_rendering
  2980. #define GL_QCOM_writeonly_rendering 1
  2981. #define GL_WRITEONLY_RENDERING_QCOM 0x8823
  2982. #endif /* GL_QCOM_writeonly_rendering */
  2983. #ifndef GL_VIV_shader_binary
  2984. #define GL_VIV_shader_binary 1
  2985. #define GL_SHADER_BINARY_VIV 0x8FC4
  2986. #endif /* GL_VIV_shader_binary */
  2987. #ifndef GL_ANGLE_lossy_etc_decode
  2988. #define GL_ANGLE_lossy_etc_decode 1
  2989. #define GL_ETC1_RGB8_LOSSY_DECODE_ANGLE 0x9690
  2990. #define GL_COMPRESSED_R11_LOSSY_DECODE_EAC_ANGLE 0x9691
  2991. #define GL_COMPRESSED_SIGNED_R11_LOSSY_DECODE_EAC_ANGLE 0x9692
  2992. #define GL_COMPRESSED_RG11_LOSSY_DECODE_EAC_ANGLE 0x9693
  2993. #define GL_COMPRESSED_SIGNED_RG11_LOSSY_DECODE_EAC_ANGLE 0x9694
  2994. #define GL_COMPRESSED_RGB8_LOSSY_DECODE_ETC2_ANGLE 0x9695
  2995. #define GL_COMPRESSED_SRGB8_LOSSY_DECODE_ETC2_ANGLE 0x9696
  2996. #define GL_COMPRESSED_RGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE 0x9697
  2997. #define GL_COMPRESSED_SRGB8_PUNCHTHROUGH_ALPHA1_LOSSY_DECODE_ETC2_ANGLE 0x9698
  2998. #define GL_COMPRESSED_RGBA8_LOSSY_DECODE_ETC2_EAC_ANGLE 0x9699
  2999. #define GL_COMPRESSED_SRGB8_ALPHA8_LOSSY_DECODE_ETC2_EAC_ANGLE 0x969A
  3000. #endif /* GL_ANGLE_lossy_etc_decode */
  3001. #ifdef __cplusplus
  3002. }
  3003. #endif
  3004. #endif