glx.xml 110 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <registry>
  3. <!--
  4. Copyright (c) 2013-2014 The Khronos Group Inc.
  5. Permission is hereby granted, free of charge, to any person obtaining a
  6. copy of this software and/or associated documentation files (the
  7. "Materials"), to deal in the Materials without restriction, including
  8. without limitation the rights to use, copy, modify, merge, publish,
  9. distribute, sublicense, and/or sell copies of the Materials, and to
  10. permit persons to whom the Materials are furnished to do so, subject to
  11. the following conditions:
  12. The above copyright notice and this permission notice shall be included
  13. in all copies or substantial portions of the Materials.
  14. THE MATERIALS ARE PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
  15. EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
  16. MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
  17. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
  18. CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
  19. TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
  20. MATERIALS OR THE USE OR OTHER DEALINGS IN THE MATERIALS.
  21. -->
  22. <!--
  23. This file, glx.xml, is the GLX API Registry. The older ".spec" file
  24. format has been retired and will no longer be updated with new
  25. extensions and API versions. The canonical version of the registry,
  26. together with documentation, schema, and Python generator scripts used
  27. to generate C header files for GLX, can always be found in the Khronos
  28. Registry at
  29. http://www.opengl.org/registry/
  30. -->
  31. <!-- SECTION: GLX type definitions. Does not include X or GL types. -->
  32. <types>
  33. <!-- These are dependencies GLX types require to be declared legally -->
  34. <type name="inttypes"><![CDATA[#ifndef GLEXT_64_TYPES_DEFINED
  35. /* This code block is duplicated in glext.h, so must be protected */
  36. #define GLEXT_64_TYPES_DEFINED
  37. /* Define int32_t, int64_t, and uint64_t types for UST/MSC */
  38. /* (as used in the GLX_OML_sync_control extension). */
  39. #if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L
  40. #include <inttypes.h>
  41. #elif defined(__sun__) || defined(__digital__)
  42. #include <inttypes.h>
  43. #if defined(__STDC__)
  44. #if defined(__arch64__) || defined(_LP64)
  45. typedef long int int64_t;
  46. typedef unsigned long int uint64_t;
  47. #else
  48. typedef long long int int64_t;
  49. typedef unsigned long long int uint64_t;
  50. #endif /* __arch64__ */
  51. #endif /* __STDC__ */
  52. #elif defined( __VMS ) || defined(__sgi)
  53. #include <inttypes.h>
  54. #elif defined(__SCO__) || defined(__USLC__)
  55. #include <stdint.h>
  56. #elif defined(__UNIXOS2__) || defined(__SOL64__)
  57. typedef long int int32_t;
  58. typedef long long int int64_t;
  59. typedef unsigned long long int uint64_t;
  60. #elif defined(_WIN32) && defined(__GNUC__)
  61. #include <stdint.h>
  62. #elif defined(_WIN32)
  63. typedef __int32 int32_t;
  64. typedef __int64 int64_t;
  65. typedef unsigned __int64 uint64_t;
  66. #else
  67. /* Fallback if nothing above works */
  68. #include <inttypes.h>
  69. #endif
  70. #endif]]></type>
  71. <type name="int32_t" requires="inttypes"/>
  72. <type name="int64_t" requires="inttypes"/>
  73. <!-- Dummy placeholders for X types -->
  74. <type name="Bool"/>
  75. <type name="Colormap"/>
  76. <type name="Display"/>
  77. <type name="Font"/>
  78. <type name="Pixmap"/>
  79. <type name="Screen"/>
  80. <type name="Status"/>
  81. <type name="Window"/>
  82. <type name="XVisualInfo"/>
  83. <type name="GLbitfield"/>
  84. <type name="GLboolean"/>
  85. <type name="GLenum"/>
  86. <type name="GLfloat"/>
  87. <type name="GLint"/>
  88. <type name="GLintptr"/>
  89. <type name="GLsizei"/>
  90. <type name="GLsizeiptr"/>
  91. <type name="GLubyte"/>
  92. <type name="GLuint"/>
  93. <type name="DMbuffer"/>
  94. <type name="DMparams"/>
  95. <type name="VLNode"/>
  96. <type name="VLPath"/>
  97. <type name="VLServer"/>
  98. <!-- These are actual GLX types. X types are not included. -->
  99. <type>typedef XID <name>GLXFBConfigID</name>;</type>
  100. <type>typedef struct __GLXFBConfigRec *<name>GLXFBConfig</name>;</type>
  101. <type>typedef XID <name>GLXContextID</name>;</type>
  102. <type>typedef struct __GLXcontextRec *<name>GLXContext</name>;</type>
  103. <type>typedef XID <name>GLXPixmap</name>;</type>
  104. <type>typedef XID <name>GLXDrawable</name>;</type>
  105. <type>typedef XID <name>GLXWindow</name>;</type>
  106. <type>typedef XID <name>GLXPbuffer</name>;</type>
  107. <type>typedef void (<apientry /> *<name>__GLXextFuncPtr</name>)(void);</type>
  108. <type>typedef XID <name>GLXVideoCaptureDeviceNV</name>;</type>
  109. <type>typedef unsigned int <name>GLXVideoDeviceNV</name>;</type>
  110. <type>typedef XID <name>GLXVideoSourceSGIX</name>;</type>
  111. <type>typedef XID <name>GLXFBConfigIDSGIX</name>;</type>
  112. <type>typedef struct __GLXFBConfigRec *<name>GLXFBConfigSGIX</name>;</type>
  113. <type>typedef XID <name>GLXPbufferSGIX</name>;</type>
  114. <!-- Declaring C structures in XML is a pain indentation-wise -->
  115. <type>typedef struct {
  116. int event_type; /* GLX_DAMAGED or GLX_SAVED */
  117. int draw_type; /* GLX_WINDOW or GLX_PBUFFER */
  118. unsigned long serial; /* # of last request processed by server */
  119. Bool send_event; /* true if this came for SendEvent request */
  120. Display *display; /* display the event was read from */
  121. GLXDrawable drawable; /* XID of Drawable */
  122. unsigned int buffer_mask; /* mask indicating which buffers are affected */
  123. unsigned int aux_buffer; /* which aux buffer was affected */
  124. int x, y;
  125. int width, height;
  126. int count; /* if nonzero, at least this many more */
  127. } <name>GLXPbufferClobberEvent</name>;</type>
  128. <type>typedef struct {
  129. int type;
  130. unsigned long serial; /* # of last request processed by server */
  131. Bool send_event; /* true if this came from a SendEvent request */
  132. Display *display; /* Display the event was read from */
  133. GLXDrawable drawable; /* drawable on which event was requested in event mask */
  134. int event_type;
  135. int64_t ust;
  136. int64_t msc;
  137. int64_t sbc;
  138. } <name>GLXBufferSwapComplete</name>;</type>
  139. <type>typedef union __GLXEvent {
  140. GLXPbufferClobberEvent glxpbufferclobber;
  141. GLXBufferSwapComplete glxbufferswapcomplete;
  142. long pad[24];
  143. } <name>GLXEvent</name>;</type>
  144. <type>typedef struct {
  145. int type;
  146. unsigned long serial;
  147. Bool send_event;
  148. Display *display;
  149. int extension;
  150. int evtype;
  151. GLXDrawable window;
  152. Bool stereo_tree;
  153. } <name>GLXStereoNotifyEventEXT</name>;</type>
  154. <type>typedef struct {
  155. int type;
  156. unsigned long serial; /* # of last request processed by server */
  157. Bool send_event; /* true if this came for SendEvent request */
  158. Display *display; /* display the event was read from */
  159. GLXDrawable drawable; /* i.d. of Drawable */
  160. int event_type; /* GLX_DAMAGED_SGIX or GLX_SAVED_SGIX */
  161. int draw_type; /* GLX_WINDOW_SGIX or GLX_PBUFFER_SGIX */
  162. unsigned int mask; /* mask indicating which buffers are affected*/
  163. int x, y;
  164. int width, height;
  165. int count; /* if nonzero, at least this many more */
  166. } <name>GLXBufferClobberEventSGIX</name>;</type>
  167. <type>typedef struct {
  168. char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
  169. int networkId;
  170. } <name>GLXHyperpipeNetworkSGIX</name>;</type>
  171. <type>typedef struct {
  172. char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
  173. int channel;
  174. unsigned int participationType;
  175. int timeSlice;
  176. } <name>GLXHyperpipeConfigSGIX</name>;</type>
  177. <type>typedef struct {
  178. char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
  179. int srcXOrigin, srcYOrigin, srcWidth, srcHeight;
  180. int destXOrigin, destYOrigin, destWidth, destHeight;
  181. } <name>GLXPipeRect</name>;</type>
  182. <type>typedef struct {
  183. char pipeName[80]; /* Should be [GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX] */
  184. int XOrigin, YOrigin, maxHeight, maxWidth;
  185. } <name>GLXPipeRectLimits</name>;</type>
  186. </types>
  187. <!-- SECTION: GLX enumerant (token) definitions. -->
  188. <enums namespace="GLXStrings">
  189. <enum value="&quot;GLX&quot;" name="GLX_EXTENSION_NAME" comment="This is modest abuse of the enum tag mechanism, maybe a string tag?"/>
  190. </enums>
  191. <!-- Bitmasks each have their own namespace, as do a few other
  192. categories of enumeration -->
  193. <enums namespace="GLXStringName">
  194. <enum value="0x1" name="GLX_VENDOR"/>
  195. <enum value="0x2" name="GLX_VERSION"/>
  196. <enum value="0x3" name="GLX_EXTENSIONS"/>
  197. </enums>
  198. <enums namespace="GLXMesa3DFXMode" vendor="MESA">
  199. <enum value="0x1" name="GLX_3DFX_WINDOW_MODE_MESA"/>
  200. <enum value="0x2" name="GLX_3DFX_FULLSCREEN_MODE_MESA"/>
  201. </enums>
  202. <enums namespace="GLXEventCodes">
  203. <!-- __GLX_NUMBER_EVENTS is set to 17 to account for the
  204. BufferClobberSGIX event. This helps initialization if the
  205. server supports the extension and the client doesn't. -->
  206. <enum value="0" name="GLX_PbufferClobber"/>
  207. <enum value="1" name="GLX_BufferSwapComplete"/>
  208. <enum value="17" name="__GLX_NUMBER_EVENTS"/>
  209. </enums>
  210. <enums namespace="GLXErrorCode">
  211. <enum value="1" name="GLX_BAD_SCREEN"/>
  212. <enum value="2" name="GLX_BAD_ATTRIBUTE"/>
  213. <enum value="3" name="GLX_NO_EXTENSION"/>
  214. <enum value="4" name="GLX_BAD_VISUAL"/>
  215. <enum value="5" name="GLX_BAD_CONTEXT"/>
  216. <enum value="6" name="GLX_BAD_VALUE"/>
  217. <enum value="7" name="GLX_BAD_ENUM"/>
  218. <enum value="91" name="GLX_BAD_HYPERPIPE_CONFIG_SGIX"/>
  219. <enum value="92" name="GLX_BAD_HYPERPIPE_SGIX"/>
  220. </enums>
  221. <enums namespace="GLX_GenericEventCode" vendor="ARB" comment="Returned in the evtype field of XGenericEventCookie requests. This is a numeric code, not a bitmask. See http://www.x.org/releases/X11R7.6/doc/xextproto/geproto.html">
  222. <enum value="0x00000000" name="GLX_STEREO_NOTIFY_EXT"/>
  223. </enums>
  224. <enums namespace="GLXDrawableTypeMask" type="bitmask" comment="DRAWABLE_TYPE bits">
  225. <enum value="0x00000001" name="GLX_WINDOW_BIT"/>
  226. <enum value="0x00000001" name="GLX_WINDOW_BIT_SGIX"/>
  227. <enum value="0x00000002" name="GLX_PIXMAP_BIT"/>
  228. <enum value="0x00000002" name="GLX_PIXMAP_BIT_SGIX"/>
  229. <enum value="0x00000004" name="GLX_PBUFFER_BIT"/>
  230. <enum value="0x00000004" name="GLX_PBUFFER_BIT_SGIX"/>
  231. </enums>
  232. <enums namespace="GLXRenderTypeMask" type="bitmask" comment="RENDER_TYPE bits">
  233. <enum value="0x00000001" name="GLX_RGBA_BIT"/>
  234. <enum value="0x00000001" name="GLX_RGBA_BIT_SGIX"/>
  235. <enum value="0x00000002" name="GLX_COLOR_INDEX_BIT"/>
  236. <enum value="0x00000002" name="GLX_COLOR_INDEX_BIT_SGIX"/>
  237. <enum value="0x00000004" name="GLX_RGBA_FLOAT_BIT_ARB"/>
  238. <enum value="0x00000008" name="GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT"/>
  239. </enums>
  240. <enums namespace="GLXSyncType" type="bitmask" comment="ChannelRectSyncSGIX bits">
  241. <enum value="0x00000000" name="GLX_SYNC_FRAME_SGIX"/>
  242. <enum value="0x00000001" name="GLX_SYNC_SWAP_SGIX"/>
  243. </enums>
  244. <enums namespace="GLXEventMask" type="bitmask" comment="SelectEvent mask">
  245. <enum value="0x00000001" name="GLX_STEREO_NOTIFY_MASK_EXT"/>
  246. <enum value="0x04000000" name="GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK"/>
  247. <enum value="0x08000000" name="GLX_PBUFFER_CLOBBER_MASK"/>
  248. <enum value="0x08000000" name="GLX_BUFFER_CLOBBER_MASK_SGIX"/>
  249. </enums>
  250. <enums namespace="GLXPbufferClobberMask" type="bitmask">
  251. <enum value="0x00000001" name="GLX_FRONT_LEFT_BUFFER_BIT"/>
  252. <enum value="0x00000001" name="GLX_FRONT_LEFT_BUFFER_BIT_SGIX"/>
  253. <enum value="0x00000002" name="GLX_FRONT_RIGHT_BUFFER_BIT"/>
  254. <enum value="0x00000002" name="GLX_FRONT_RIGHT_BUFFER_BIT_SGIX"/>
  255. <enum value="0x00000004" name="GLX_BACK_LEFT_BUFFER_BIT"/>
  256. <enum value="0x00000004" name="GLX_BACK_LEFT_BUFFER_BIT_SGIX"/>
  257. <enum value="0x00000008" name="GLX_BACK_RIGHT_BUFFER_BIT"/>
  258. <enum value="0x00000008" name="GLX_BACK_RIGHT_BUFFER_BIT_SGIX"/>
  259. <enum value="0x00000010" name="GLX_AUX_BUFFERS_BIT"/>
  260. <enum value="0x00000010" name="GLX_AUX_BUFFERS_BIT_SGIX"/>
  261. <enum value="0x00000020" name="GLX_DEPTH_BUFFER_BIT"/>
  262. <enum value="0x00000020" name="GLX_DEPTH_BUFFER_BIT_SGIX"/>
  263. <enum value="0x00000040" name="GLX_STENCIL_BUFFER_BIT"/>
  264. <enum value="0x00000040" name="GLX_STENCIL_BUFFER_BIT_SGIX"/>
  265. <enum value="0x00000080" name="GLX_ACCUM_BUFFER_BIT"/>
  266. <enum value="0x00000080" name="GLX_ACCUM_BUFFER_BIT_SGIX"/>
  267. <enum value="0x00000100" name="GLX_SAMPLE_BUFFERS_BIT_SGIX"/>
  268. </enums>
  269. <enums namespace="GLXHyperpipeTypeMask" type="bitmask">
  270. <enum value="0x00000001" name="GLX_HYPERPIPE_DISPLAY_PIPE_SGIX"/>
  271. <enum value="0x00000002" name="GLX_HYPERPIPE_RENDER_PIPE_SGIX"/>
  272. </enums>
  273. <enums namespace="GLXHyperpipeAttribSGIX" type="bitmask">
  274. <enum value="0x00000001" name="GLX_PIPE_RECT_SGIX"/>
  275. <enum value="0x00000002" name="GLX_PIPE_RECT_LIMITS_SGIX"/>
  276. <enum value="0x00000003" name="GLX_HYPERPIPE_STEREO_SGIX"/>
  277. <enum value="0x00000004" name="GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX"/>
  278. </enums>
  279. <enums namespace="GLXBindToTextureTargetMask" type="bitmask">
  280. <enum value="0x00000001" name="GLX_TEXTURE_1D_BIT_EXT"/>
  281. <enum value="0x00000002" name="GLX_TEXTURE_2D_BIT_EXT"/>
  282. <enum value="0x00000004" name="GLX_TEXTURE_RECTANGLE_BIT_EXT"/>
  283. </enums>
  284. <enums namespace="GLXContextFlags" type="bitmask" comment="CONTEXT_FLAGS_ARB bits (shared with WGL/GL)">
  285. <enum value="0x00000001" name="GLX_CONTEXT_DEBUG_BIT_ARB"/>
  286. <enum value="0x00000002" name="GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"/>
  287. <enum value="0x00000004" name="GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB"/>
  288. <enum value="0x00000008" name="GLX_CONTEXT_RESET_ISOLATION_BIT_ARB"/>
  289. </enums>
  290. <enums namespace="GLXContextProfileMask" type="bitmask" comment="CONTEXT_PROFILE_MASK_ARB bits">
  291. <enum value="0x00000001" name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/>
  292. <enum value="0x00000002" name="GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"/>
  293. <enum value="0x00000004" name="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/>
  294. <enum value="0x00000004" name="GLX_CONTEXT_ES2_PROFILE_BIT_EXT" alias="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/>
  295. </enums>
  296. <enums namespace="GLXHyperpipeMiscSGIX">
  297. <enum value="80" name="GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX"/>
  298. </enums>
  299. <enums namespace="GLX" start="0x0000" end="0x2FFF" vendor="ARB" comment="Miscellaneous OpenGL 1.0/1.1 enums. Most parts of this range are unused and should remain unused."/>
  300. <enums namespace="GLX" group="SpecialNumbers" vendor="ARB" comment="Tokens whose numeric value is intrinsically meaningful">
  301. <enum value="0" name="GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB"/>
  302. <enum value="0xFFFFFFFF" name="GLX_DONT_CARE" comment="For ChooseFBConfig attributes"/>
  303. </enums>
  304. <enums namespace="GLX" group="GLXAttribute" vendor="ARB" comment="Visual attributes">
  305. <enum value="1" name="GLX_USE_GL"/>
  306. <enum value="2" name="GLX_BUFFER_SIZE"/>
  307. <enum value="3" name="GLX_LEVEL"/>
  308. <enum value="4" name="GLX_RGBA"/>
  309. <enum value="5" name="GLX_DOUBLEBUFFER"/>
  310. <enum value="6" name="GLX_STEREO"/>
  311. <enum value="7" name="GLX_AUX_BUFFERS"/>
  312. <enum value="8" name="GLX_RED_SIZE"/>
  313. <enum value="9" name="GLX_GREEN_SIZE"/>
  314. <enum value="10" name="GLX_BLUE_SIZE"/>
  315. <enum value="11" name="GLX_ALPHA_SIZE"/>
  316. <enum value="12" name="GLX_DEPTH_SIZE"/>
  317. <enum value="13" name="GLX_STENCIL_SIZE"/>
  318. <enum value="14" name="GLX_ACCUM_RED_SIZE"/>
  319. <enum value="15" name="GLX_ACCUM_GREEN_SIZE"/>
  320. <enum value="16" name="GLX_ACCUM_BLUE_SIZE"/>
  321. <enum value="17" name="GLX_ACCUM_ALPHA_SIZE"/>
  322. <unused start="18" end="0x1F"/>
  323. <enum value="0x20" name="GLX_CONFIG_CAVEAT"/>
  324. <enum value="0x20" name="GLX_VISUAL_CAVEAT_EXT"/>
  325. <enum value="0x22" name="GLX_X_VISUAL_TYPE"/>
  326. <enum value="0x22" name="GLX_X_VISUAL_TYPE_EXT"/>
  327. <enum value="0x23" name="GLX_TRANSPARENT_TYPE"/>
  328. <enum value="0x23" name="GLX_TRANSPARENT_TYPE_EXT"/>
  329. <enum value="0x24" name="GLX_TRANSPARENT_INDEX_VALUE"/>
  330. <enum value="0x24" name="GLX_TRANSPARENT_INDEX_VALUE_EXT"/>
  331. <enum value="0x25" name="GLX_TRANSPARENT_RED_VALUE"/>
  332. <enum value="0x25" name="GLX_TRANSPARENT_RED_VALUE_EXT"/>
  333. <enum value="0x26" name="GLX_TRANSPARENT_GREEN_VALUE"/>
  334. <enum value="0x26" name="GLX_TRANSPARENT_GREEN_VALUE_EXT"/>
  335. <enum value="0x27" name="GLX_TRANSPARENT_BLUE_VALUE"/>
  336. <enum value="0x27" name="GLX_TRANSPARENT_BLUE_VALUE_EXT"/>
  337. <enum value="0x28" name="GLX_TRANSPARENT_ALPHA_VALUE"/>
  338. <enum value="0x28" name="GLX_TRANSPARENT_ALPHA_VALUE_EXT"/>
  339. </enums>
  340. <enums namespace="GLX" start="0x1F00" end="0x1F02" vendor="AMD" comment="Equivalent to corresponding WGL/GL tokens">
  341. <enum value="0x1F00" name="GLX_GPU_VENDOR_AMD"/>
  342. <enum value="0x1F01" name="GLX_GPU_RENDERER_STRING_AMD"/>
  343. <enum value="0x1F02" name="GLX_GPU_OPENGL_VERSION_STRING_AMD"/>
  344. </enums>
  345. <enums namespace="GLX" start="0x2070" end="0x209F" vendor="ARB" comment="Shared with WGL; synchronize create_context enums">
  346. <enum value="0x2091" name="GLX_CONTEXT_MAJOR_VERSION_ARB"/>
  347. <enum value="0x2092" name="GLX_CONTEXT_MINOR_VERSION_ARB"/>
  348. <!-- 0x2093 used for WGL_CONTEXT_LAYER_PLANE_ARB -->
  349. <enum value="0x2094" name="GLX_CONTEXT_FLAGS_ARB"/>
  350. <!-- 0x2095 collides with WGL_ERROR_INVALID_VERSION_ARB! -->
  351. <enum value="0x2095" name="GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB"/>
  352. <!-- 0x2096 used for WGL_ERROR_INVALID_PROFILE_ARB -->
  353. <enum value="0x2097" name="GLX_CONTEXT_RELEASE_BEHAVIOR_ARB"/>
  354. <enum value="0x2098" name="GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB"/>
  355. <unused start="0x2099" end="0x209F"/>
  356. </enums>
  357. <enums namespace="GLX" start="0x20A0" end="0x219F" vendor="NV" comment="Shared with WGL">
  358. <enum value="0x20B0" name="GLX_FLOAT_COMPONENTS_NV"/>
  359. <enum value="0x20B1" name="GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT"/>
  360. <enum value="0x20B2" name="GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB"/>
  361. <enum value="0x20B2" name="GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT"/>
  362. <enum value="0x20B3" name="GLX_COLOR_SAMPLES_NV"/>
  363. <unused start="0x20B4" end="0x20B8"/>
  364. <enum value="0x20B9" name="GLX_RGBA_FLOAT_TYPE_ARB"/>
  365. <unused start="0x20BA" end="0x20C2"/>
  366. <enum value="0x20C3" name="GLX_VIDEO_OUT_COLOR_NV"/>
  367. <enum value="0x20C4" name="GLX_VIDEO_OUT_ALPHA_NV"/>
  368. <enum value="0x20C5" name="GLX_VIDEO_OUT_DEPTH_NV"/>
  369. <enum value="0x20C6" name="GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV"/>
  370. <enum value="0x20C7" name="GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV"/>
  371. <enum value="0x20C8" name="GLX_VIDEO_OUT_FRAME_NV"/>
  372. <enum value="0x20C9" name="GLX_VIDEO_OUT_FIELD_1_NV"/>
  373. <enum value="0x20CA" name="GLX_VIDEO_OUT_FIELD_2_NV"/>
  374. <enum value="0x20CB" name="GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV"/>
  375. <enum value="0x20CC" name="GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV"/>
  376. <enum value="0x20CD" name="GLX_DEVICE_ID_NV"/>
  377. <enum value="0x20CE" name="GLX_UNIQUE_ID_NV"/>
  378. <enum value="0x20CF" name="GLX_NUM_VIDEO_CAPTURE_SLOTS_NV"/>
  379. <enum value="0x20D0" name="GLX_BIND_TO_TEXTURE_RGB_EXT"/>
  380. <enum value="0x20D1" name="GLX_BIND_TO_TEXTURE_RGBA_EXT"/>
  381. <enum value="0x20D2" name="GLX_BIND_TO_MIPMAP_TEXTURE_EXT"/>
  382. <enum value="0x20D3" name="GLX_BIND_TO_TEXTURE_TARGETS_EXT"/>
  383. <enum value="0x20D4" name="GLX_Y_INVERTED_EXT"/>
  384. <enum value="0x20D5" name="GLX_TEXTURE_FORMAT_EXT"/>
  385. <enum value="0x20D6" name="GLX_TEXTURE_TARGET_EXT"/>
  386. <enum value="0x20D7" name="GLX_MIPMAP_TEXTURE_EXT"/>
  387. <enum value="0x20D8" name="GLX_TEXTURE_FORMAT_NONE_EXT"/>
  388. <enum value="0x20D9" name="GLX_TEXTURE_FORMAT_RGB_EXT"/>
  389. <enum value="0x20DA" name="GLX_TEXTURE_FORMAT_RGBA_EXT"/>
  390. <enum value="0x20DB" name="GLX_TEXTURE_1D_EXT"/>
  391. <enum value="0x20DC" name="GLX_TEXTURE_2D_EXT"/>
  392. <enum value="0x20DD" name="GLX_TEXTURE_RECTANGLE_EXT"/>
  393. <enum value="0x20DE" name="GLX_FRONT_LEFT_EXT"/>
  394. <enum value="0x20DF" name="GLX_FRONT_RIGHT_EXT"/>
  395. <enum value="0x20E0" name="GLX_BACK_LEFT_EXT"/>
  396. <enum value="0x20E1" name="GLX_BACK_RIGHT_EXT"/>
  397. <enum value="0x20DE" name="GLX_FRONT_EXT" alias="GLX_FRONT_LEFT_EXT"/>
  398. <enum value="0x20E0" name="GLX_BACK_EXT" alias="GLX_BACK_LEFT_EXT"/>
  399. <enum value="0x20E2" name="GLX_AUX0_EXT"/>
  400. <enum value="0x20E3" name="GLX_AUX1_EXT"/>
  401. <enum value="0x20E4" name="GLX_AUX2_EXT"/>
  402. <enum value="0x20E5" name="GLX_AUX3_EXT"/>
  403. <enum value="0x20E6" name="GLX_AUX4_EXT"/>
  404. <enum value="0x20E7" name="GLX_AUX5_EXT"/>
  405. <enum value="0x20E8" name="GLX_AUX6_EXT"/>
  406. <enum value="0x20E9" name="GLX_AUX7_EXT"/>
  407. <enum value="0x20EA" name="GLX_AUX8_EXT"/>
  408. <enum value="0x20EB" name="GLX_AUX9_EXT"/>
  409. <unused start="0x20EC" end="0x20EF"/>
  410. <enum value="0x20F0" name="GLX_NUM_VIDEO_SLOTS_NV"/>
  411. <enum value="0x20F1" name="GLX_SWAP_INTERVAL_EXT"/>
  412. <enum value="0x20F2" name="GLX_MAX_SWAP_INTERVAL_EXT"/>
  413. <enum value="0x20F3" name="GLX_LATE_SWAPS_TEAR_EXT"/>
  414. <enum value="0x20F4" name="GLX_BACK_BUFFER_AGE_EXT"/>
  415. <enum value="0x20F5" name="GLX_STEREO_TREE_EXT"/>
  416. <unused start="0x20F6" end="0x219F"/>
  417. </enums>
  418. <enums namespace="GLX" start="0x21A0" end="0x21AF" vendor="AMD" comment="Shared with WGL; synchronize create_context enums">
  419. <unused start="0x21A0" end="0x21A1" comment="used by WGL extensions"/>
  420. <enum value="0x21A2" name="GLX_GPU_FASTEST_TARGET_GPUS_AMD"/>
  421. <enum value="0x21A3" name="GLX_GPU_RAM_AMD"/>
  422. <enum value="0x21A4" name="GLX_GPU_CLOCK_AMD"/>
  423. <enum value="0x21A5" name="GLX_GPU_NUM_PIPES_AMD"/>
  424. <enum value="0x21A6" name="GLX_GPU_NUM_SIMD_AMD"/>
  425. <enum value="0x21A7" name="GLX_GPU_NUM_RB_AMD"/>
  426. <enum value="0x21A8" name="GLX_GPU_NUM_SPI_AMD"/>
  427. <unused start="0x21A9" end="0x21AF"/>
  428. </enums>
  429. <enums namespace="GLX" start="0x8000" end="0x804F" vendor="ARB">
  430. <enum value="0x8000" name="GLX_NONE" comment="Attribute value"/>
  431. <enum value="0x8001" name="GLX_SLOW_CONFIG" comment="CONFIG_CAVEAT attribute value"/>
  432. <enum value="0x8002" name="GLX_TRUE_COLOR" comment="X_VISUAL_TYPE attribute value"/>
  433. <enum value="0x8003" name="GLX_DIRECT_COLOR" comment="X_VISUAL_TYPE attribute value"/>
  434. <enum value="0x8004" name="GLX_PSEUDO_COLOR" comment="X_VISUAL_TYPE attribute value"/>
  435. <enum value="0x8005" name="GLX_STATIC_COLOR" comment="X_VISUAL_TYPE attribute value"/>
  436. <enum value="0x8006" name="GLX_GRAY_SCALE" comment="X_VISUAL_TYPE attribute value"/>
  437. <enum value="0x8007" name="GLX_STATIC_GRAY" comment="X_VISUAL_TYPE attribute value"/>
  438. <enum value="0x8008" name="GLX_TRANSPARENT_RGB" comment="TRANSPARENT_TYPE attribute value"/>
  439. <enum value="0x8009" name="GLX_TRANSPARENT_INDEX" comment="TRANSPARENT_TYPE attribute value"/>
  440. <enum value="0x800B" name="GLX_VISUAL_ID" comment="Context attribute"/>
  441. <enum value="0x800C" name="GLX_SCREEN" comment="Context attribute"/>
  442. <enum value="0x800D" name="GLX_NON_CONFORMANT_CONFIG" comment="CONFIG_CAVEAT attribute value"/>
  443. <enum value="0x8010" name="GLX_DRAWABLE_TYPE" comment="FBConfig attribute"/>
  444. <enum value="0x8011" name="GLX_RENDER_TYPE" comment="FBConfig attribute"/>
  445. <enum value="0x8012" name="GLX_X_RENDERABLE" comment="FBConfig attribute"/>
  446. <enum value="0x8013" name="GLX_FBCONFIG_ID" comment="FBConfig attribute"/>
  447. <enum value="0x8014" name="GLX_RGBA_TYPE" comment="CreateNewContext render_type value"/>
  448. <enum value="0x8015" name="GLX_COLOR_INDEX_TYPE" comment="CreateNewContext render_type value"/>
  449. <enum value="0x8016" name="GLX_MAX_PBUFFER_WIDTH" comment="FBConfig attribute"/>
  450. <enum value="0x8017" name="GLX_MAX_PBUFFER_HEIGHT" comment="FBConfig attribute"/>
  451. <enum value="0x8018" name="GLX_MAX_PBUFFER_PIXELS" comment="FBConfig attribute"/>
  452. <enum value="0x801B" name="GLX_PRESERVED_CONTENTS" comment="CreateGLXPbuffer attribute"/>
  453. <enum value="0x801C" name="GLX_LARGEST_PBUFFER" comment="CreateGLXPbuffer attribute"/>
  454. <enum value="0x801D" name="GLX_WIDTH" comment="Drawable attribute"/>
  455. <enum value="0x801E" name="GLX_HEIGHT" comment="Drawable attribute"/>
  456. <enum value="0x801F" name="GLX_EVENT_MASK" comment="Drawable attribute"/>
  457. <enum value="0x8020" name="GLX_DAMAGED" comment="PbufferClobber event_type value"/>
  458. <enum value="0x8021" name="GLX_SAVED" comment="PbufferClobber event_type value"/>
  459. <enum value="0x8022" name="GLX_WINDOW" comment="PbufferClobber draw_type value"/>
  460. <enum value="0x8023" name="GLX_PBUFFER" comment="PbufferClobber draw_type value"/>
  461. <enum value="0x8000" name="GLX_NONE_EXT" comment="several EXT attribute values"/>
  462. <enum value="0x8001" name="GLX_SLOW_VISUAL_EXT" comment="VISUAL_CAVEAT_EXT attribute value"/>
  463. <enum value="0x8002" name="GLX_TRUE_COLOR_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  464. <enum value="0x8003" name="GLX_DIRECT_COLOR_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  465. <enum value="0x8004" name="GLX_PSEUDO_COLOR_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  466. <enum value="0x8005" name="GLX_STATIC_COLOR_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  467. <enum value="0x8006" name="GLX_GRAY_SCALE_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  468. <enum value="0x8007" name="GLX_STATIC_GRAY_EXT" comment="X_VISUAL_TYPE_EXT attribute value"/>
  469. <enum value="0x8008" name="GLX_TRANSPARENT_RGB_EXT" comment="TRANSPARENT_TYPE_EXT attribute value"/>
  470. <enum value="0x8009" name="GLX_TRANSPARENT_INDEX_EXT" comment="TRANSPARENT_TYPE_EXT attribute value"/>
  471. <enum value="0x800A" name="GLX_SHARE_CONTEXT_EXT" comment="QueryContextInfoEXT attribute"/>
  472. <enum value="0x800B" name="GLX_VISUAL_ID_EXT" comment="QueryContextInfoEXT attribute"/>
  473. <enum value="0x800C" name="GLX_SCREEN_EXT" comment="QueryContextInfoEXT attribute"/>
  474. <enum value="0x800D" name="GLX_NON_CONFORMANT_VISUAL_EXT" comment="VISUAL_CAVEAT_EXT attribute value"/>
  475. <enum value="0x8010" name="GLX_DRAWABLE_TYPE_SGIX" comment="FBConfigSGIX attribute"/>
  476. <enum value="0x8011" name="GLX_RENDER_TYPE_SGIX" comment="FBConfigSGIX attribute"/>
  477. <enum value="0x8012" name="GLX_X_RENDERABLE_SGIX" comment="FBConfigSGIX attribute"/>
  478. <enum value="0x8013" name="GLX_FBCONFIG_ID_SGIX" comment="FBConfigSGIX attribute"/>
  479. <enum value="0x8014" name="GLX_RGBA_TYPE_SGIX" comment="CreateContextWithConfigSGIX render_type value"/>
  480. <enum value="0x8015" name="GLX_COLOR_INDEX_TYPE_SGIX" comment="CreateContextWithConfigSGIX render_type value"/>
  481. <enum value="0x8016" name="GLX_MAX_PBUFFER_WIDTH_SGIX" comment="FBConfigSGIX attribute"/>
  482. <enum value="0x8017" name="GLX_MAX_PBUFFER_HEIGHT_SGIX" comment="FBConfigSGIX attribute"/>
  483. <enum value="0x8018" name="GLX_MAX_PBUFFER_PIXELS_SGIX" comment="FBConfigSGIX attribute"/>
  484. <enum value="0x8019" name="GLX_OPTIMAL_PBUFFER_WIDTH_SGIX" comment="FBConfigSGIX attribute"/>
  485. <enum value="0x801A" name="GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX" comment="FBConfigSGIX attribute"/>
  486. <enum value="0x801B" name="GLX_PRESERVED_CONTENTS_SGIX" comment="PbufferSGIX attribute"/>
  487. <enum value="0x801C" name="GLX_LARGEST_PBUFFER_SGIX" comment="PbufferSGIX attribute"/>
  488. <enum value="0x801D" name="GLX_WIDTH_SGIX" comment="PbufferSGIX attribute"/>
  489. <enum value="0x801E" name="GLX_HEIGHT_SGIX" comment="PbufferSGIX attribute"/>
  490. <enum value="0x801F" name="GLX_EVENT_MASK_SGIX" comment="PbufferSGIX attribute"/>
  491. <enum value="0x8020" name="GLX_DAMAGED_SGIX" comment="BufferClobberSGIX event_type value"/>
  492. <enum value="0x8021" name="GLX_SAVED_SGIX" comment="BufferClobberSGIX event_type value"/>
  493. <enum value="0x8022" name="GLX_WINDOW_SGIX" comment="BufferClobberSGIX draw_type value"/>
  494. <enum value="0x8023" name="GLX_PBUFFER_SGIX" comment="BufferClobberSGIX draw_type value"/>
  495. <enum value="0x8024" name="GLX_DIGITAL_MEDIA_PBUFFER_SGIX" comment="PbufferSGIX attribute"/>
  496. <enum value="0x8025" name="GLX_BLENDED_RGBA_SGIS" comment="TRANSPARENT_TYPE_EXT attribute value"/>
  497. <enum value="0x8026" name="GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS" comment="Visual attribute (shared_multisample)"/>
  498. <enum value="0x8027" name="GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS" comment="Visual attribute (shared_multisample)"/>
  499. <enum value="0x8028" name="GLX_VISUAL_SELECT_GROUP_SGIX" comment="Visual attribute (visual_select_group)"/>
  500. <unused start="0x8029" end="0x802F"/>
  501. <enum value="0x8030" name="GLX_HYPERPIPE_ID_SGIX"/>
  502. <unused start="0x8031" end="0x803F"/>
  503. <enum value="0x8040" name="GLX_PBUFFER_HEIGHT" comment="CreateGLXPbuffer attribute"/>
  504. <enum value="0x8041" name="GLX_PBUFFER_WIDTH" comment="CreateGLXPbuffer attribute"/>
  505. <unused start="0x8042" end="0x804F"/>
  506. </enums>
  507. <enums namespace="GLX" start="0x8050" end="0x804F" vendor="3DFX">
  508. <enum value="0x8050" name="GLX_SAMPLE_BUFFERS_3DFX"/>
  509. <enum value="0x8051" name="GLX_SAMPLES_3DFX"/>
  510. <unused start="0x8052" end="0x805F"/>
  511. </enums>
  512. <enums namespace="GLX" start="0x8060" end="0x806F" vendor="OML">
  513. <enum value="0x8060" name="GLX_SWAP_METHOD_OML"/>
  514. <enum value="0x8061" name="GLX_SWAP_EXCHANGE_OML"/>
  515. <enum value="0x8062" name="GLX_SWAP_COPY_OML"/>
  516. <enum value="0x8063" name="GLX_SWAP_UNDEFINED_OML"/>
  517. <unused start="0x8064" end="0x806F"/>
  518. </enums>
  519. <enums namespace="GLX" start="0x8070" end="0x816F" vendor="NV">
  520. <unused start="0x8070" end="0x816F"/>
  521. </enums>
  522. <enums namespace="GLX" start="0x8170" end="0x817F" vendor="SUN">
  523. <unused start="0x8170" end="0x817F"/>
  524. </enums>
  525. <enums namespace="GLX" start="0x8180" end="0x818F" vendor="INTEL">
  526. <enum value="0x8180" name="GLX_EXCHANGE_COMPLETE_INTEL"/>
  527. <enum value="0x8181" name="GLX_COPY_COMPLETE_INTEL"/>
  528. <enum value="0x8182" name="GLX_FLIP_COMPLETE_INTEL"/>
  529. <enum value="0x8183" name="GLX_RENDERER_VENDOR_ID_MESA"/>
  530. <enum value="0x8184" name="GLX_RENDERER_DEVICE_ID_MESA"/>
  531. <enum value="0x8185" name="GLX_RENDERER_VERSION_MESA"/>
  532. <enum value="0x8186" name="GLX_RENDERER_ACCELERATED_MESA"/>
  533. <enum value="0x8187" name="GLX_RENDERER_VIDEO_MEMORY_MESA"/>
  534. <enum value="0x8188" name="GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA"/>
  535. <enum value="0x8189" name="GLX_RENDERER_PREFERRED_PROFILE_MESA"/>
  536. <enum value="0x818A" name="GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA"/>
  537. <enum value="0x818B" name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/>
  538. <enum value="0x818C" name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/>
  539. <enum value="0x818D" name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/>
  540. <enum value="0x818E" name="GLX_RENDERER_ID_MESA"/>
  541. <unused start="0x818F"/>
  542. </enums>
  543. <!-- Please remember that new enumerant allocations must be obtained by
  544. request to the Khronos API registrar (see comments at the top of this
  545. file) File requests in the Khronos Bugzilla, OpenGL project, Registry
  546. component. Also note that some GLX enum values are shared with GL and
  547. WGL, and new ranges should be allocated with such overlaps in mind. -->
  548. <enums namespace="GLX" start="0x8190" end="0x824F" vendor="ARB">
  549. <unused start="0x8190" end="0x824F" comment="Reserved for future use. Reserve enums in blocks of 16 from the start."/>
  550. </enums>
  551. <enums namespace="GL" start="0x8250" end="0x826F" vendor="ARB" comment="Values shared with GL. Do not allocate additional values in this range.">
  552. <enum value="0x8252" name="GLX_LOSE_CONTEXT_ON_RESET_ARB"/>
  553. <enum value="0x8256" name="GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/>
  554. <enum value="0x8261" name="GLX_NO_RESET_NOTIFICATION_ARB"/>
  555. </enums>
  556. <enums namespace="GLX" start="0x8270" end="99999" vendor="ARB" comment="RESERVED FOR FUTURE ALLOCATIONS BY KHRONOS">
  557. <unused start="0x8270" end="0x9125"/>
  558. <enum value="0x9126" name="GLX_CONTEXT_PROFILE_MASK_ARB" comment="Value shared with GL"/>
  559. <unused start="0x9127" end="99999"/>
  560. </enums>
  561. <enums namespace="GLX" start="100000" end="100001" vendor="ARB" comment="Visual attributes for multisampling. Historical range only; do not allocate new values in this space.">
  562. <enum value="100000" name="GLX_SAMPLE_BUFFERS"/>
  563. <enum value="100000" name="GLX_SAMPLE_BUFFERS_ARB"/>
  564. <enum value="100000" name="GLX_SAMPLE_BUFFERS_SGIS"/>
  565. <enum value="100001" name="GLX_SAMPLES"/>
  566. <enum value="100001" name="GLX_SAMPLES_ARB"/>
  567. <enum value="100001" name="GLX_SAMPLES_SGIS"/>
  568. <enum value="100001" name="GLX_COVERAGE_SAMPLES_NV"/>
  569. </enums>
  570. <!-- SECTION: GLX command definitions. -->
  571. <commands namespace="GLX">
  572. <command>
  573. <proto><ptype>Bool</ptype> <name>glXAssociateDMPbufferSGIX</name></proto>
  574. <param><ptype>Display</ptype> *<name>dpy</name></param>
  575. <param><ptype>GLXPbufferSGIX</ptype> <name>pbuffer</name></param>
  576. <param><ptype>DMparams</ptype> *<name>params</name></param>
  577. <param><ptype>DMbuffer</ptype> <name>dmbuffer</name></param>
  578. </command>
  579. <command>
  580. <proto>int <name>glXBindChannelToWindowSGIX</name></proto>
  581. <param><ptype>Display</ptype> *<name>display</name></param>
  582. <param>int <name>screen</name></param>
  583. <param>int <name>channel</name></param>
  584. <param><ptype>Window</ptype> <name>window</name></param>
  585. </command>
  586. <command>
  587. <proto>int <name>glXBindHyperpipeSGIX</name></proto>
  588. <param><ptype>Display</ptype> *<name>dpy</name></param>
  589. <param>int <name>hpId</name></param>
  590. </command>
  591. <command>
  592. <proto><ptype>Bool</ptype> <name>glXBindSwapBarrierNV</name></proto>
  593. <param><ptype>Display</ptype> *<name>dpy</name></param>
  594. <param><ptype>GLuint</ptype> <name>group</name></param>
  595. <param><ptype>GLuint</ptype> <name>barrier</name></param>
  596. </command>
  597. <command>
  598. <proto>void <name>glXBindSwapBarrierSGIX</name></proto>
  599. <param><ptype>Display</ptype> *<name>dpy</name></param>
  600. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  601. <param>int <name>barrier</name></param>
  602. </command>
  603. <command>
  604. <proto>void <name>glXBindTexImageEXT</name></proto>
  605. <param><ptype>Display</ptype> *<name>dpy</name></param>
  606. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  607. <param>int <name>buffer</name></param>
  608. <param>const int *<name>attrib_list</name></param>
  609. </command>
  610. <command>
  611. <proto>int <name>glXBindVideoCaptureDeviceNV</name></proto>
  612. <param><ptype>Display</ptype> *<name>dpy</name></param>
  613. <param>unsigned int <name>video_capture_slot</name></param>
  614. <param><ptype>GLXVideoCaptureDeviceNV</ptype> <name>device</name></param>
  615. </command>
  616. <command>
  617. <proto>int <name>glXBindVideoDeviceNV</name></proto>
  618. <param><ptype>Display</ptype> *<name>dpy</name></param>
  619. <param>unsigned int <name>video_slot</name></param>
  620. <param>unsigned int <name>video_device</name></param>
  621. <param>const int *<name>attrib_list</name></param>
  622. </command>
  623. <command>
  624. <proto>int <name>glXBindVideoImageNV</name></proto>
  625. <param><ptype>Display</ptype> *<name>dpy</name></param>
  626. <param><ptype>GLXVideoDeviceNV</ptype> <name>VideoDevice</name></param>
  627. <param><ptype>GLXPbuffer</ptype> <name>pbuf</name></param>
  628. <param>int <name>iVideoBuffer</name></param>
  629. </command>
  630. <command>
  631. <proto>void <name>glXBlitContextFramebufferAMD</name></proto>
  632. <param><ptype>GLXContext</ptype> <name>dstCtx</name></param>
  633. <param><ptype>GLint</ptype> <name>srcX0</name></param>
  634. <param><ptype>GLint</ptype> <name>srcY0</name></param>
  635. <param><ptype>GLint</ptype> <name>srcX1</name></param>
  636. <param><ptype>GLint</ptype> <name>srcY1</name></param>
  637. <param><ptype>GLint</ptype> <name>dstX0</name></param>
  638. <param><ptype>GLint</ptype> <name>dstY0</name></param>
  639. <param><ptype>GLint</ptype> <name>dstX1</name></param>
  640. <param><ptype>GLint</ptype> <name>dstY1</name></param>
  641. <param><ptype>GLbitfield</ptype> <name>mask</name></param>
  642. <param><ptype>GLenum</ptype> <name>filter</name></param>
  643. </command>
  644. <command>
  645. <proto>int <name>glXChannelRectSGIX</name></proto>
  646. <param><ptype>Display</ptype> *<name>display</name></param>
  647. <param>int <name>screen</name></param>
  648. <param>int <name>channel</name></param>
  649. <param>int <name>x</name></param>
  650. <param>int <name>y</name></param>
  651. <param>int <name>w</name></param>
  652. <param>int <name>h</name></param>
  653. </command>
  654. <command>
  655. <proto>int <name>glXChannelRectSyncSGIX</name></proto>
  656. <param><ptype>Display</ptype> *<name>display</name></param>
  657. <param>int <name>screen</name></param>
  658. <param>int <name>channel</name></param>
  659. <param><ptype>GLenum</ptype> <name>synctype</name></param>
  660. </command>
  661. <command>
  662. <proto><ptype>GLXFBConfig</ptype> *<name>glXChooseFBConfig</name></proto>
  663. <param><ptype>Display</ptype> *<name>dpy</name></param>
  664. <param>int <name>screen</name></param>
  665. <param>const int *<name>attrib_list</name></param>
  666. <param>int *<name>nelements</name></param>
  667. </command>
  668. <command>
  669. <proto><ptype>GLXFBConfigSGIX</ptype> *<name>glXChooseFBConfigSGIX</name></proto>
  670. <param><ptype>Display</ptype> *<name>dpy</name></param>
  671. <param>int <name>screen</name></param>
  672. <param>int *<name>attrib_list</name></param>
  673. <param>int *<name>nelements</name></param>
  674. </command>
  675. <command>
  676. <proto><ptype>XVisualInfo</ptype> *<name>glXChooseVisual</name></proto>
  677. <param><ptype>Display</ptype> *<name>dpy</name></param>
  678. <param>int <name>screen</name></param>
  679. <param>int *<name>attribList</name></param>
  680. </command>
  681. <command>
  682. <proto>void <name>glXCopyBufferSubDataNV</name></proto>
  683. <param><ptype>Display</ptype> *<name>dpy</name></param>
  684. <param><ptype>GLXContext</ptype> <name>readCtx</name></param>
  685. <param><ptype>GLXContext</ptype> <name>writeCtx</name></param>
  686. <param><ptype>GLenum</ptype> <name>readTarget</name></param>
  687. <param><ptype>GLenum</ptype> <name>writeTarget</name></param>
  688. <param><ptype>GLintptr</ptype> <name>readOffset</name></param>
  689. <param><ptype>GLintptr</ptype> <name>writeOffset</name></param>
  690. <param><ptype>GLsizeiptr</ptype> <name>size</name></param>
  691. </command>
  692. <command>
  693. <proto>void <name>glXNamedCopyBufferSubDataNV</name></proto>
  694. <param><ptype>Display</ptype> *<name>dpy</name></param>
  695. <param><ptype>GLXContext</ptype> <name>readCtx</name></param>
  696. <param><ptype>GLXContext</ptype> <name>writeCtx</name></param>
  697. <param><ptype>GLuint</ptype> <name>readBuffer</name></param>
  698. <param><ptype>GLuint</ptype> <name>writeBuffer</name></param>
  699. <param><ptype>GLintptr</ptype> <name>readOffset</name></param>
  700. <param><ptype>GLintptr</ptype> <name>writeOffset</name></param>
  701. <param><ptype>GLsizeiptr</ptype> <name>size</name></param>
  702. </command>
  703. <command>
  704. <proto>void <name>glXCopyContext</name></proto>
  705. <param><ptype>Display</ptype> *<name>dpy</name></param>
  706. <param><ptype>GLXContext</ptype> <name>src</name></param>
  707. <param><ptype>GLXContext</ptype> <name>dst</name></param>
  708. <param>unsigned long <name>mask</name></param>
  709. </command>
  710. <command>
  711. <proto>void <name>glXCopyImageSubDataNV</name></proto>
  712. <param><ptype>Display</ptype> *<name>dpy</name></param>
  713. <param><ptype>GLXContext</ptype> <name>srcCtx</name></param>
  714. <param><ptype>GLuint</ptype> <name>srcName</name></param>
  715. <param><ptype>GLenum</ptype> <name>srcTarget</name></param>
  716. <param><ptype>GLint</ptype> <name>srcLevel</name></param>
  717. <param><ptype>GLint</ptype> <name>srcX</name></param>
  718. <param><ptype>GLint</ptype> <name>srcY</name></param>
  719. <param><ptype>GLint</ptype> <name>srcZ</name></param>
  720. <param><ptype>GLXContext</ptype> <name>dstCtx</name></param>
  721. <param><ptype>GLuint</ptype> <name>dstName</name></param>
  722. <param><ptype>GLenum</ptype> <name>dstTarget</name></param>
  723. <param><ptype>GLint</ptype> <name>dstLevel</name></param>
  724. <param><ptype>GLint</ptype> <name>dstX</name></param>
  725. <param><ptype>GLint</ptype> <name>dstY</name></param>
  726. <param><ptype>GLint</ptype> <name>dstZ</name></param>
  727. <param><ptype>GLsizei</ptype> <name>width</name></param>
  728. <param><ptype>GLsizei</ptype> <name>height</name></param>
  729. <param><ptype>GLsizei</ptype> <name>depth</name></param>
  730. </command>
  731. <command>
  732. <proto>void <name>glXCopySubBufferMESA</name></proto>
  733. <param><ptype>Display</ptype> *<name>dpy</name></param>
  734. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  735. <param>int <name>x</name></param>
  736. <param>int <name>y</name></param>
  737. <param>int <name>width</name></param>
  738. <param>int <name>height</name></param>
  739. </command>
  740. <command>
  741. <proto><ptype>GLXContext</ptype> <name>glXCreateAssociatedContextAMD</name></proto>
  742. <param>unsigned int <name>id</name></param>
  743. <param><ptype>GLXContext</ptype> <name>share_list</name></param>
  744. </command>
  745. <command>
  746. <proto><ptype>GLXContext</ptype> <name>glXCreateAssociatedContextAttribsAMD</name></proto>
  747. <param>unsigned int <name>id</name></param>
  748. <param><ptype>GLXContext</ptype> <name>share_context</name></param>
  749. <param>const int *<name>attribList</name></param>
  750. </command>
  751. <command>
  752. <proto><ptype>GLXContext</ptype> <name>glXCreateContextAttribsARB</name></proto>
  753. <param><ptype>Display</ptype> *<name>dpy</name></param>
  754. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  755. <param><ptype>GLXContext</ptype> <name>share_context</name></param>
  756. <param><ptype>Bool</ptype> <name>direct</name></param>
  757. <param>const int *<name>attrib_list</name></param>
  758. </command>
  759. <command>
  760. <proto><ptype>GLXContext</ptype> <name>glXCreateContext</name></proto>
  761. <param><ptype>Display</ptype> *<name>dpy</name></param>
  762. <param><ptype>XVisualInfo</ptype> *<name>vis</name></param>
  763. <param><ptype>GLXContext</ptype> <name>shareList</name></param>
  764. <param><ptype>Bool</ptype> <name>direct</name></param>
  765. </command>
  766. <command>
  767. <proto><ptype>GLXContext</ptype> <name>glXCreateContextWithConfigSGIX</name></proto>
  768. <param><ptype>Display</ptype> *<name>dpy</name></param>
  769. <param><ptype>GLXFBConfigSGIX</ptype> <name>config</name></param>
  770. <param>int <name>render_type</name></param>
  771. <param><ptype>GLXContext</ptype> <name>share_list</name></param>
  772. <param><ptype>Bool</ptype> <name>direct</name></param>
  773. </command>
  774. <command>
  775. <proto><ptype>GLXPbufferSGIX</ptype> <name>glXCreateGLXPbufferSGIX</name></proto>
  776. <param><ptype>Display</ptype> *<name>dpy</name></param>
  777. <param><ptype>GLXFBConfigSGIX</ptype> <name>config</name></param>
  778. <param>unsigned int <name>width</name></param>
  779. <param>unsigned int <name>height</name></param>
  780. <param>int *<name>attrib_list</name></param>
  781. </command>
  782. <command>
  783. <proto><ptype>GLXPixmap</ptype> <name>glXCreateGLXPixmap</name></proto>
  784. <param><ptype>Display</ptype> *<name>dpy</name></param>
  785. <param><ptype>XVisualInfo</ptype> *<name>visual</name></param>
  786. <param><ptype>Pixmap</ptype> <name>pixmap</name></param>
  787. </command>
  788. <command>
  789. <proto><ptype>GLXPixmap</ptype> <name>glXCreateGLXPixmapMESA</name></proto>
  790. <param><ptype>Display</ptype> *<name>dpy</name></param>
  791. <param><ptype>XVisualInfo</ptype> *<name>visual</name></param>
  792. <param><ptype>Pixmap</ptype> <name>pixmap</name></param>
  793. <param><ptype>Colormap</ptype> <name>cmap</name></param>
  794. </command>
  795. <command>
  796. <proto><ptype>GLXPixmap</ptype> <name>glXCreateGLXPixmapWithConfigSGIX</name></proto>
  797. <param><ptype>Display</ptype> *<name>dpy</name></param>
  798. <param><ptype>GLXFBConfigSGIX</ptype> <name>config</name></param>
  799. <param><ptype>Pixmap</ptype> <name>pixmap</name></param>
  800. </command>
  801. <command>
  802. <proto><ptype>GLXVideoSourceSGIX</ptype> <name>glXCreateGLXVideoSourceSGIX</name></proto>
  803. <param><ptype>Display</ptype> *<name>display</name></param>
  804. <param>int <name>screen</name></param>
  805. <param><ptype>VLServer</ptype> <name>server</name></param>
  806. <param><ptype>VLPath</ptype> <name>path</name></param>
  807. <param>int <name>nodeClass</name></param>
  808. <param><ptype>VLNode</ptype> <name>drainNode</name></param>
  809. </command>
  810. <command>
  811. <proto><ptype>GLXContext</ptype> <name>glXCreateNewContext</name></proto>
  812. <param><ptype>Display</ptype> *<name>dpy</name></param>
  813. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  814. <param>int <name>render_type</name></param>
  815. <param><ptype>GLXContext</ptype> <name>share_list</name></param>
  816. <param><ptype>Bool</ptype> <name>direct</name></param>
  817. </command>
  818. <command>
  819. <proto><ptype>GLXPbuffer</ptype> <name>glXCreatePbuffer</name></proto>
  820. <param><ptype>Display</ptype> *<name>dpy</name></param>
  821. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  822. <param>const int *<name>attrib_list</name></param>
  823. </command>
  824. <command>
  825. <proto><ptype>GLXPixmap</ptype> <name>glXCreatePixmap</name></proto>
  826. <param><ptype>Display</ptype> *<name>dpy</name></param>
  827. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  828. <param><ptype>Pixmap</ptype> <name>pixmap</name></param>
  829. <param>const int *<name>attrib_list</name></param>
  830. </command>
  831. <command>
  832. <proto><ptype>GLXWindow</ptype> <name>glXCreateWindow</name></proto>
  833. <param><ptype>Display</ptype> *<name>dpy</name></param>
  834. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  835. <param><ptype>Window</ptype> <name>win</name></param>
  836. <param>const int *<name>attrib_list</name></param>
  837. </command>
  838. <command>
  839. <proto>void <name>glXCushionSGI</name></proto>
  840. <param><ptype>Display</ptype> *<name>dpy</name></param>
  841. <param><ptype>Window</ptype> <name>window</name></param>
  842. <param>float <name>cushion</name></param>
  843. </command>
  844. <command>
  845. <proto><ptype>Bool</ptype> <name>glXDelayBeforeSwapNV</name></proto>
  846. <param><ptype>Display</ptype> *<name>dpy</name></param>
  847. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  848. <param><ptype>GLfloat</ptype> <name>seconds</name></param>
  849. </command>
  850. <command>
  851. <proto><ptype>Bool</ptype> <name>glXDeleteAssociatedContextAMD</name></proto>
  852. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  853. </command>
  854. <command>
  855. <proto>void <name>glXDestroyContext</name></proto>
  856. <param><ptype>Display</ptype> *<name>dpy</name></param>
  857. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  858. </command>
  859. <command>
  860. <proto>void <name>glXDestroyGLXPbufferSGIX</name></proto>
  861. <param><ptype>Display</ptype> *<name>dpy</name></param>
  862. <param><ptype>GLXPbufferSGIX</ptype> <name>pbuf</name></param>
  863. </command>
  864. <command>
  865. <proto>void <name>glXDestroyGLXPixmap</name></proto>
  866. <param><ptype>Display</ptype> *<name>dpy</name></param>
  867. <param><ptype>GLXPixmap</ptype> <name>pixmap</name></param>
  868. </command>
  869. <command>
  870. <proto>void <name>glXDestroyGLXVideoSourceSGIX</name></proto>
  871. <param><ptype>Display</ptype> *<name>dpy</name></param>
  872. <param><ptype>GLXVideoSourceSGIX</ptype> <name>glxvideosource</name></param>
  873. </command>
  874. <command>
  875. <proto>int <name>glXDestroyHyperpipeConfigSGIX</name></proto>
  876. <param><ptype>Display</ptype> *<name>dpy</name></param>
  877. <param>int <name>hpId</name></param>
  878. </command>
  879. <command>
  880. <proto>void <name>glXDestroyPbuffer</name></proto>
  881. <param><ptype>Display</ptype> *<name>dpy</name></param>
  882. <param><ptype>GLXPbuffer</ptype> <name>pbuf</name></param>
  883. </command>
  884. <command>
  885. <proto>void <name>glXDestroyPixmap</name></proto>
  886. <param><ptype>Display</ptype> *<name>dpy</name></param>
  887. <param><ptype>GLXPixmap</ptype> <name>pixmap</name></param>
  888. </command>
  889. <command>
  890. <proto>void <name>glXDestroyWindow</name></proto>
  891. <param><ptype>Display</ptype> *<name>dpy</name></param>
  892. <param><ptype>GLXWindow</ptype> <name>win</name></param>
  893. </command>
  894. <command>
  895. <proto><ptype>GLXVideoCaptureDeviceNV</ptype> *<name>glXEnumerateVideoCaptureDevicesNV</name></proto>
  896. <param><ptype>Display</ptype> *<name>dpy</name></param>
  897. <param>int <name>screen</name></param>
  898. <param>int *<name>nelements</name></param>
  899. </command>
  900. <command>
  901. <proto>unsigned int *<name>glXEnumerateVideoDevicesNV</name></proto>
  902. <param><ptype>Display</ptype> *<name>dpy</name></param>
  903. <param>int <name>screen</name></param>
  904. <param>int *<name>nelements</name></param>
  905. </command>
  906. <command>
  907. <proto>void <name>glXFreeContextEXT</name></proto>
  908. <param><ptype>Display</ptype> *<name>dpy</name></param>
  909. <param><ptype>GLXContext</ptype> <name>context</name></param>
  910. </command>
  911. <command>
  912. <proto>unsigned int <name>glXGetAGPOffsetMESA</name></proto>
  913. <param>const void *<name>pointer</name></param>
  914. </command>
  915. <command>
  916. <proto>const char *<name>glXGetClientString</name></proto>
  917. <param><ptype>Display</ptype> *<name>dpy</name></param>
  918. <param>int <name>name</name></param>
  919. </command>
  920. <command>
  921. <proto>int <name>glXGetConfig</name></proto>
  922. <param><ptype>Display</ptype> *<name>dpy</name></param>
  923. <param><ptype>XVisualInfo</ptype> *<name>visual</name></param>
  924. <param>int <name>attrib</name></param>
  925. <param>int *<name>value</name></param>
  926. </command>
  927. <command>
  928. <proto>unsigned int <name>glXGetContextGPUIDAMD</name></proto>
  929. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  930. </command>
  931. <command>
  932. <proto><ptype>GLXContextID</ptype> <name>glXGetContextIDEXT</name></proto>
  933. <param>const <ptype>GLXContext</ptype> <name>context</name></param>
  934. </command>
  935. <command>
  936. <proto><ptype>GLXContext</ptype> <name>glXGetCurrentAssociatedContextAMD</name></proto>
  937. </command>
  938. <command>
  939. <proto><ptype>GLXContext</ptype> <name>glXGetCurrentContext</name></proto>
  940. </command>
  941. <command>
  942. <proto><ptype>Display</ptype> *<name>glXGetCurrentDisplayEXT</name></proto>
  943. </command>
  944. <command>
  945. <proto><ptype>Display</ptype> *<name>glXGetCurrentDisplay</name></proto>
  946. </command>
  947. <command>
  948. <proto><ptype>GLXDrawable</ptype> <name>glXGetCurrentDrawable</name></proto>
  949. </command>
  950. <command>
  951. <proto><ptype>GLXDrawable</ptype> <name>glXGetCurrentReadDrawableSGI</name></proto>
  952. </command>
  953. <command>
  954. <proto><ptype>GLXDrawable</ptype> <name>glXGetCurrentReadDrawable</name></proto>
  955. </command>
  956. <command>
  957. <proto>int <name>glXGetFBConfigAttrib</name></proto>
  958. <param><ptype>Display</ptype> *<name>dpy</name></param>
  959. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  960. <param>int <name>attribute</name></param>
  961. <param>int *<name>value</name></param>
  962. </command>
  963. <command>
  964. <proto>int <name>glXGetFBConfigAttribSGIX</name></proto>
  965. <param><ptype>Display</ptype> *<name>dpy</name></param>
  966. <param><ptype>GLXFBConfigSGIX</ptype> <name>config</name></param>
  967. <param>int <name>attribute</name></param>
  968. <param>int *<name>value</name></param>
  969. </command>
  970. <command>
  971. <proto><ptype>GLXFBConfigSGIX</ptype> <name>glXGetFBConfigFromVisualSGIX</name></proto>
  972. <param><ptype>Display</ptype> *<name>dpy</name></param>
  973. <param><ptype>XVisualInfo</ptype> *<name>vis</name></param>
  974. </command>
  975. <command>
  976. <proto><ptype>GLXFBConfig</ptype> *<name>glXGetFBConfigs</name></proto>
  977. <param><ptype>Display</ptype> *<name>dpy</name></param>
  978. <param>int <name>screen</name></param>
  979. <param>int *<name>nelements</name></param>
  980. </command>
  981. <command>
  982. <proto>unsigned int <name>glXGetGPUIDsAMD</name></proto>
  983. <param>unsigned int <name>maxCount</name></param>
  984. <param>unsigned int *<name>ids</name></param>
  985. </command>
  986. <command>
  987. <proto>int <name>glXGetGPUInfoAMD</name></proto>
  988. <param>unsigned int <name>id</name></param>
  989. <param>int <name>property</name></param>
  990. <param><ptype>GLenum</ptype> <name>dataType</name></param>
  991. <param>unsigned int <name>size</name></param>
  992. <param>void *<name>data</name></param>
  993. </command>
  994. <command>
  995. <proto><ptype>Bool</ptype> <name>glXGetMscRateOML</name></proto>
  996. <param><ptype>Display</ptype> *<name>dpy</name></param>
  997. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  998. <param><ptype>int32_t</ptype> *<name>numerator</name></param>
  999. <param><ptype>int32_t</ptype> *<name>denominator</name></param>
  1000. </command>
  1001. <command>
  1002. <proto><ptype>__GLXextFuncPtr</ptype> <name>glXGetProcAddressARB</name></proto>
  1003. <param>const <ptype>GLubyte</ptype> *<name>procName</name></param>
  1004. </command>
  1005. <command>
  1006. <proto><ptype>__GLXextFuncPtr</ptype> <name>glXGetProcAddress</name></proto>
  1007. <param>const <ptype>GLubyte</ptype> *<name>procName</name></param>
  1008. </command>
  1009. <command>
  1010. <proto>void <name>glXGetSelectedEvent</name></proto>
  1011. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1012. <param><ptype>GLXDrawable</ptype> <name>draw</name></param>
  1013. <param>unsigned long *<name>event_mask</name></param>
  1014. </command>
  1015. <command>
  1016. <proto>void <name>glXGetSelectedEventSGIX</name></proto>
  1017. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1018. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1019. <param>unsigned long *<name>mask</name></param>
  1020. </command>
  1021. <command>
  1022. <proto><ptype>Bool</ptype> <name>glXGetSyncValuesOML</name></proto>
  1023. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1024. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1025. <param><ptype>int64_t</ptype> *<name>ust</name></param>
  1026. <param><ptype>int64_t</ptype> *<name>msc</name></param>
  1027. <param><ptype>int64_t</ptype> *<name>sbc</name></param>
  1028. </command>
  1029. <command>
  1030. <proto><ptype>Status</ptype> <name>glXGetTransparentIndexSUN</name></proto>
  1031. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1032. <param><ptype>Window</ptype> <name>overlay</name></param>
  1033. <param><ptype>Window</ptype> <name>underlay</name></param>
  1034. <param>long *<name>pTransparentIndex</name></param>
  1035. </command>
  1036. <command>
  1037. <proto>int <name>glXGetVideoDeviceNV</name></proto>
  1038. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1039. <param>int <name>screen</name></param>
  1040. <param>int <name>numVideoDevices</name></param>
  1041. <param><ptype>GLXVideoDeviceNV</ptype> *<name>pVideoDevice</name></param>
  1042. </command>
  1043. <command>
  1044. <proto>int <name>glXGetVideoInfoNV</name></proto>
  1045. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1046. <param>int <name>screen</name></param>
  1047. <param><ptype>GLXVideoDeviceNV</ptype> <name>VideoDevice</name></param>
  1048. <param>unsigned long *<name>pulCounterOutputPbuffer</name></param>
  1049. <param>unsigned long *<name>pulCounterOutputVideo</name></param>
  1050. </command>
  1051. <command>
  1052. <proto>int <name>glXGetVideoSyncSGI</name></proto>
  1053. <param>unsigned int *<name>count</name></param>
  1054. </command>
  1055. <command>
  1056. <proto><ptype>XVisualInfo</ptype> *<name>glXGetVisualFromFBConfig</name></proto>
  1057. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1058. <param><ptype>GLXFBConfig</ptype> <name>config</name></param>
  1059. </command>
  1060. <command>
  1061. <proto><ptype>XVisualInfo</ptype> *<name>glXGetVisualFromFBConfigSGIX</name></proto>
  1062. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1063. <param><ptype>GLXFBConfigSGIX</ptype> <name>config</name></param>
  1064. </command>
  1065. <command>
  1066. <proto>int <name>glXHyperpipeAttribSGIX</name></proto>
  1067. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1068. <param>int <name>timeSlice</name></param>
  1069. <param>int <name>attrib</name></param>
  1070. <param>int <name>size</name></param>
  1071. <param>void *<name>attribList</name></param>
  1072. </command>
  1073. <command>
  1074. <proto>int <name>glXHyperpipeConfigSGIX</name></proto>
  1075. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1076. <param>int <name>networkId</name></param>
  1077. <param>int <name>npipes</name></param>
  1078. <param><ptype>GLXHyperpipeConfigSGIX</ptype> *<name>cfg</name></param>
  1079. <param>int *<name>hpId</name></param>
  1080. </command>
  1081. <command>
  1082. <proto><ptype>GLXContext</ptype> <name>glXImportContextEXT</name></proto>
  1083. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1084. <param><ptype>GLXContextID</ptype> <name>contextID</name></param>
  1085. </command>
  1086. <command>
  1087. <proto><ptype>Bool</ptype> <name>glXIsDirect</name></proto>
  1088. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1089. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1090. </command>
  1091. <command>
  1092. <proto><ptype>Bool</ptype> <name>glXJoinSwapGroupNV</name></proto>
  1093. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1094. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1095. <param><ptype>GLuint</ptype> <name>group</name></param>
  1096. </command>
  1097. <command>
  1098. <proto>void <name>glXJoinSwapGroupSGIX</name></proto>
  1099. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1100. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1101. <param><ptype>GLXDrawable</ptype> <name>member</name></param>
  1102. </command>
  1103. <command>
  1104. <proto>void <name>glXLockVideoCaptureDeviceNV</name></proto>
  1105. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1106. <param><ptype>GLXVideoCaptureDeviceNV</ptype> <name>device</name></param>
  1107. </command>
  1108. <command>
  1109. <proto><ptype>Bool</ptype> <name>glXMakeAssociatedContextCurrentAMD</name></proto>
  1110. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1111. </command>
  1112. <command>
  1113. <proto><ptype>Bool</ptype> <name>glXMakeContextCurrent</name></proto>
  1114. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1115. <param><ptype>GLXDrawable</ptype> <name>draw</name></param>
  1116. <param><ptype>GLXDrawable</ptype> <name>read</name></param>
  1117. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1118. </command>
  1119. <command>
  1120. <proto><ptype>Bool</ptype> <name>glXMakeCurrent</name></proto>
  1121. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1122. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1123. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1124. </command>
  1125. <command>
  1126. <proto><ptype>Bool</ptype> <name>glXMakeCurrentReadSGI</name></proto>
  1127. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1128. <param><ptype>GLXDrawable</ptype> <name>draw</name></param>
  1129. <param><ptype>GLXDrawable</ptype> <name>read</name></param>
  1130. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1131. </command>
  1132. <command>
  1133. <proto>int <name>glXQueryChannelDeltasSGIX</name></proto>
  1134. <param><ptype>Display</ptype> *<name>display</name></param>
  1135. <param>int <name>screen</name></param>
  1136. <param>int <name>channel</name></param>
  1137. <param>int *<name>x</name></param>
  1138. <param>int *<name>y</name></param>
  1139. <param>int *<name>w</name></param>
  1140. <param>int *<name>h</name></param>
  1141. </command>
  1142. <command>
  1143. <proto>int <name>glXQueryChannelRectSGIX</name></proto>
  1144. <param><ptype>Display</ptype> *<name>display</name></param>
  1145. <param>int <name>screen</name></param>
  1146. <param>int <name>channel</name></param>
  1147. <param>int *<name>dx</name></param>
  1148. <param>int *<name>dy</name></param>
  1149. <param>int *<name>dw</name></param>
  1150. <param>int *<name>dh</name></param>
  1151. </command>
  1152. <command>
  1153. <proto>int <name>glXQueryContext</name></proto>
  1154. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1155. <param><ptype>GLXContext</ptype> <name>ctx</name></param>
  1156. <param>int <name>attribute</name></param>
  1157. <param>int *<name>value</name></param>
  1158. </command>
  1159. <command>
  1160. <proto>int <name>glXQueryContextInfoEXT</name></proto>
  1161. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1162. <param><ptype>GLXContext</ptype> <name>context</name></param>
  1163. <param>int <name>attribute</name></param>
  1164. <param>int *<name>value</name></param>
  1165. </command>
  1166. <command>
  1167. <proto><ptype>Bool</ptype> <name>glXQueryCurrentRendererIntegerMESA</name></proto>
  1168. <param>int <name>attribute</name></param>
  1169. <param>unsigned int *<name>value</name></param>
  1170. </command>
  1171. <command>
  1172. <proto>const char *<name>glXQueryCurrentRendererStringMESA</name></proto>
  1173. <param>int <name>attribute</name></param>
  1174. </command>
  1175. <command>
  1176. <proto>void <name>glXQueryDrawable</name></proto>
  1177. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1178. <param><ptype>GLXDrawable</ptype> <name>draw</name></param>
  1179. <param>int <name>attribute</name></param>
  1180. <param>unsigned int *<name>value</name></param>
  1181. </command>
  1182. <command>
  1183. <proto><ptype>Bool</ptype> <name>glXQueryExtension</name></proto>
  1184. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1185. <param>int *<name>errorb</name></param>
  1186. <param>int *<name>event</name></param>
  1187. </command>
  1188. <command>
  1189. <proto>const char *<name>glXQueryExtensionsString</name></proto>
  1190. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1191. <param>int <name>screen</name></param>
  1192. </command>
  1193. <command>
  1194. <proto><ptype>Bool</ptype> <name>glXQueryFrameCountNV</name></proto>
  1195. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1196. <param>int <name>screen</name></param>
  1197. <param><ptype>GLuint</ptype> *<name>count</name></param>
  1198. </command>
  1199. <command>
  1200. <proto>int <name>glXQueryGLXPbufferSGIX</name></proto>
  1201. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1202. <param><ptype>GLXPbufferSGIX</ptype> <name>pbuf</name></param>
  1203. <param>int <name>attribute</name></param>
  1204. <param>unsigned int *<name>value</name></param>
  1205. </command>
  1206. <command>
  1207. <proto>int <name>glXQueryHyperpipeAttribSGIX</name></proto>
  1208. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1209. <param>int <name>timeSlice</name></param>
  1210. <param>int <name>attrib</name></param>
  1211. <param>int <name>size</name></param>
  1212. <param>void *<name>returnAttribList</name></param>
  1213. </command>
  1214. <command>
  1215. <proto>int <name>glXQueryHyperpipeBestAttribSGIX</name></proto>
  1216. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1217. <param>int <name>timeSlice</name></param>
  1218. <param>int <name>attrib</name></param>
  1219. <param>int <name>size</name></param>
  1220. <param>void *<name>attribList</name></param>
  1221. <param>void *<name>returnAttribList</name></param>
  1222. </command>
  1223. <command>
  1224. <proto><ptype>GLXHyperpipeConfigSGIX</ptype> *<name>glXQueryHyperpipeConfigSGIX</name></proto>
  1225. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1226. <param>int <name>hpId</name></param>
  1227. <param>int *<name>npipes</name></param>
  1228. </command>
  1229. <command>
  1230. <proto><ptype>GLXHyperpipeNetworkSGIX</ptype> *<name>glXQueryHyperpipeNetworkSGIX</name></proto>
  1231. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1232. <param>int *<name>npipes</name></param>
  1233. </command>
  1234. <command>
  1235. <proto><ptype>Bool</ptype> <name>glXQueryMaxSwapBarriersSGIX</name></proto>
  1236. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1237. <param>int <name>screen</name></param>
  1238. <param>int *<name>max</name></param>
  1239. </command>
  1240. <command>
  1241. <proto><ptype>Bool</ptype> <name>glXQueryMaxSwapGroupsNV</name></proto>
  1242. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1243. <param>int <name>screen</name></param>
  1244. <param><ptype>GLuint</ptype> *<name>maxGroups</name></param>
  1245. <param><ptype>GLuint</ptype> *<name>maxBarriers</name></param>
  1246. </command>
  1247. <command>
  1248. <proto><ptype>Bool</ptype> <name>glXQueryRendererIntegerMESA</name></proto>
  1249. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1250. <param>int <name>screen</name></param>
  1251. <param>int <name>renderer</name></param>
  1252. <param>int <name>attribute</name></param>
  1253. <param>unsigned int *<name>value</name></param>
  1254. </command>
  1255. <command>
  1256. <proto>const char *<name>glXQueryRendererStringMESA</name></proto>
  1257. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1258. <param>int <name>screen</name></param>
  1259. <param>int <name>renderer</name></param>
  1260. <param>int <name>attribute</name></param>
  1261. </command>
  1262. <command>
  1263. <proto>const char *<name>glXQueryServerString</name></proto>
  1264. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1265. <param>int <name>screen</name></param>
  1266. <param>int <name>name</name></param>
  1267. </command>
  1268. <command>
  1269. <proto><ptype>Bool</ptype> <name>glXQuerySwapGroupNV</name></proto>
  1270. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1271. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1272. <param><ptype>GLuint</ptype> *<name>group</name></param>
  1273. <param><ptype>GLuint</ptype> *<name>barrier</name></param>
  1274. </command>
  1275. <command>
  1276. <proto><ptype>Bool</ptype> <name>glXQueryVersion</name></proto>
  1277. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1278. <param>int *<name>maj</name></param>
  1279. <param>int *<name>min</name></param>
  1280. </command>
  1281. <command>
  1282. <proto>int <name>glXQueryVideoCaptureDeviceNV</name></proto>
  1283. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1284. <param><ptype>GLXVideoCaptureDeviceNV</ptype> <name>device</name></param>
  1285. <param>int <name>attribute</name></param>
  1286. <param>int *<name>value</name></param>
  1287. </command>
  1288. <command>
  1289. <proto><ptype>Bool</ptype> <name>glXReleaseBuffersMESA</name></proto>
  1290. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1291. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1292. </command>
  1293. <command>
  1294. <proto>void <name>glXReleaseTexImageEXT</name></proto>
  1295. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1296. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1297. <param>int <name>buffer</name></param>
  1298. </command>
  1299. <command>
  1300. <proto>void <name>glXReleaseVideoCaptureDeviceNV</name></proto>
  1301. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1302. <param><ptype>GLXVideoCaptureDeviceNV</ptype> <name>device</name></param>
  1303. </command>
  1304. <command>
  1305. <proto>int <name>glXReleaseVideoDeviceNV</name></proto>
  1306. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1307. <param>int <name>screen</name></param>
  1308. <param><ptype>GLXVideoDeviceNV</ptype> <name>VideoDevice</name></param>
  1309. </command>
  1310. <command>
  1311. <proto>int <name>glXReleaseVideoImageNV</name></proto>
  1312. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1313. <param><ptype>GLXPbuffer</ptype> <name>pbuf</name></param>
  1314. </command>
  1315. <command>
  1316. <proto><ptype>Bool</ptype> <name>glXResetFrameCountNV</name></proto>
  1317. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1318. <param>int <name>screen</name></param>
  1319. </command>
  1320. <command>
  1321. <proto>void <name>glXSelectEvent</name></proto>
  1322. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1323. <param><ptype>GLXDrawable</ptype> <name>draw</name></param>
  1324. <param>unsigned long <name>event_mask</name></param>
  1325. </command>
  1326. <command>
  1327. <proto>void <name>glXSelectEventSGIX</name></proto>
  1328. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1329. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1330. <param>unsigned long <name>mask</name></param>
  1331. </command>
  1332. <command>
  1333. <proto>int <name>glXSendPbufferToVideoNV</name></proto>
  1334. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1335. <param><ptype>GLXPbuffer</ptype> <name>pbuf</name></param>
  1336. <param>int <name>iBufferType</name></param>
  1337. <param>unsigned long *<name>pulCounterPbuffer</name></param>
  1338. <param><ptype>GLboolean</ptype> <name>bBlock</name></param>
  1339. </command>
  1340. <command>
  1341. <proto><ptype>Bool</ptype> <name>glXSet3DfxModeMESA</name></proto>
  1342. <param>int <name>mode</name></param>
  1343. </command>
  1344. <command>
  1345. <proto>void <name>glXSwapBuffers</name></proto>
  1346. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1347. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1348. </command>
  1349. <command>
  1350. <proto><ptype>int64_t</ptype> <name>glXSwapBuffersMscOML</name></proto>
  1351. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1352. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1353. <param><ptype>int64_t</ptype> <name>target_msc</name></param>
  1354. <param><ptype>int64_t</ptype> <name>divisor</name></param>
  1355. <param><ptype>int64_t</ptype> <name>remainder</name></param>
  1356. </command>
  1357. <command>
  1358. <proto>void <name>glXSwapIntervalEXT</name></proto>
  1359. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1360. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1361. <param>int <name>interval</name></param>
  1362. </command>
  1363. <command>
  1364. <proto>int <name>glXSwapIntervalSGI</name></proto>
  1365. <param>int <name>interval</name></param>
  1366. </command>
  1367. <command>
  1368. <proto>void <name>glXUseXFont</name></proto>
  1369. <param><ptype>Font</ptype> <name>font</name></param>
  1370. <param>int <name>first</name></param>
  1371. <param>int <name>count</name></param>
  1372. <param>int <name>list</name></param>
  1373. </command>
  1374. <command>
  1375. <proto><ptype>Bool</ptype> <name>glXWaitForMscOML</name></proto>
  1376. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1377. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1378. <param><ptype>int64_t</ptype> <name>target_msc</name></param>
  1379. <param><ptype>int64_t</ptype> <name>divisor</name></param>
  1380. <param><ptype>int64_t</ptype> <name>remainder</name></param>
  1381. <param><ptype>int64_t</ptype> *<name>ust</name></param>
  1382. <param><ptype>int64_t</ptype> *<name>msc</name></param>
  1383. <param><ptype>int64_t</ptype> *<name>sbc</name></param>
  1384. </command>
  1385. <command>
  1386. <proto><ptype>Bool</ptype> <name>glXWaitForSbcOML</name></proto>
  1387. <param><ptype>Display</ptype> *<name>dpy</name></param>
  1388. <param><ptype>GLXDrawable</ptype> <name>drawable</name></param>
  1389. <param><ptype>int64_t</ptype> <name>target_sbc</name></param>
  1390. <param><ptype>int64_t</ptype> *<name>ust</name></param>
  1391. <param><ptype>int64_t</ptype> *<name>msc</name></param>
  1392. <param><ptype>int64_t</ptype> *<name>sbc</name></param>
  1393. </command>
  1394. <command>
  1395. <proto>void <name>glXWaitGL</name></proto>
  1396. </command>
  1397. <command>
  1398. <proto>int <name>glXWaitVideoSyncSGI</name></proto>
  1399. <param>int <name>divisor</name></param>
  1400. <param>int <name>remainder</name></param>
  1401. <param>unsigned int *<name>count</name></param>
  1402. </command>
  1403. <command>
  1404. <proto>void <name>glXWaitX</name></proto>
  1405. </command>
  1406. </commands>
  1407. <!-- SECTION: GLX API interface definitions. -->
  1408. <feature api="glx" name="GLX_VERSION_1_0" number="1.0">
  1409. <require>
  1410. <enum name="GLX_EXTENSION_NAME" comment="A string #define"/>
  1411. <!-- Events -->
  1412. <enum name="GLX_PbufferClobber"/>
  1413. <enum name="GLX_BufferSwapComplete"/>
  1414. <enum name="__GLX_NUMBER_EVENTS"/>
  1415. <!-- Error codes -->
  1416. <enum name="GLX_BAD_SCREEN"/>
  1417. <enum name="GLX_BAD_ATTRIBUTE"/>
  1418. <enum name="GLX_NO_EXTENSION"/>
  1419. <enum name="GLX_BAD_VISUAL"/>
  1420. <enum name="GLX_BAD_CONTEXT"/>
  1421. <enum name="GLX_BAD_VALUE"/>
  1422. <enum name="GLX_BAD_ENUM"/>
  1423. <!-- Tokens for glXChooseVisual and glXGetConfig -->
  1424. <enum name="GLX_USE_GL"/>
  1425. <enum name="GLX_BUFFER_SIZE"/>
  1426. <enum name="GLX_LEVEL"/>
  1427. <enum name="GLX_RGBA"/>
  1428. <enum name="GLX_DOUBLEBUFFER"/>
  1429. <enum name="GLX_STEREO"/>
  1430. <enum name="GLX_AUX_BUFFERS"/>
  1431. <enum name="GLX_RED_SIZE"/>
  1432. <enum name="GLX_GREEN_SIZE"/>
  1433. <enum name="GLX_BLUE_SIZE"/>
  1434. <enum name="GLX_ALPHA_SIZE"/>
  1435. <enum name="GLX_DEPTH_SIZE"/>
  1436. <enum name="GLX_STENCIL_SIZE"/>
  1437. <enum name="GLX_ACCUM_RED_SIZE"/>
  1438. <enum name="GLX_ACCUM_GREEN_SIZE"/>
  1439. <enum name="GLX_ACCUM_BLUE_SIZE"/>
  1440. <enum name="GLX_ACCUM_ALPHA_SIZE"/>
  1441. <command name="glXChooseVisual"/>
  1442. <command name="glXCreateContext"/>
  1443. <command name="glXDestroyContext"/>
  1444. <command name="glXMakeCurrent"/>
  1445. <command name="glXCopyContext"/>
  1446. <command name="glXSwapBuffers"/>
  1447. <command name="glXCreateGLXPixmap"/>
  1448. <command name="glXDestroyGLXPixmap"/>
  1449. <command name="glXQueryExtension"/>
  1450. <command name="glXQueryVersion"/>
  1451. <command name="glXIsDirect"/>
  1452. <command name="glXGetConfig"/>
  1453. <command name="glXGetCurrentContext"/>
  1454. <command name="glXGetCurrentDrawable"/>
  1455. <command name="glXWaitGL"/>
  1456. <command name="glXWaitX"/>
  1457. <command name="glXUseXFont"/>
  1458. </require>
  1459. </feature>
  1460. <feature api="glx" name="GLX_VERSION_1_1" number="1.1">
  1461. <require>
  1462. <enum name="GLX_VENDOR"/>
  1463. <enum name="GLX_VERSION"/>
  1464. <enum name="GLX_EXTENSIONS"/>
  1465. <command name="glXQueryExtensionsString"/>
  1466. <command name="glXQueryServerString"/>
  1467. <command name="glXGetClientString"/>
  1468. </require>
  1469. </feature>
  1470. <feature api="glx" name="GLX_VERSION_1_2" number="1.2">
  1471. <require>
  1472. <command name="glXGetCurrentDisplay"/>
  1473. </require>
  1474. </feature>
  1475. <feature api="glx" name="GLX_VERSION_1_3" number="1.3">
  1476. <require>
  1477. <type name="GLXContextID" comment="Required here so it doesn't collide with Mesa glx.h (Bug 11454)"/>
  1478. <enum name="GLX_WINDOW_BIT"/>
  1479. <enum name="GLX_PIXMAP_BIT"/>
  1480. <enum name="GLX_PBUFFER_BIT"/>
  1481. <enum name="GLX_RGBA_BIT"/>
  1482. <enum name="GLX_COLOR_INDEX_BIT"/>
  1483. <enum name="GLX_PBUFFER_CLOBBER_MASK"/>
  1484. <enum name="GLX_FRONT_LEFT_BUFFER_BIT"/>
  1485. <enum name="GLX_FRONT_RIGHT_BUFFER_BIT"/>
  1486. <enum name="GLX_BACK_LEFT_BUFFER_BIT"/>
  1487. <enum name="GLX_BACK_RIGHT_BUFFER_BIT"/>
  1488. <enum name="GLX_AUX_BUFFERS_BIT"/>
  1489. <enum name="GLX_DEPTH_BUFFER_BIT"/>
  1490. <enum name="GLX_STENCIL_BUFFER_BIT"/>
  1491. <enum name="GLX_ACCUM_BUFFER_BIT"/>
  1492. <enum name="GLX_CONFIG_CAVEAT"/>
  1493. <enum name="GLX_X_VISUAL_TYPE"/>
  1494. <enum name="GLX_TRANSPARENT_TYPE"/>
  1495. <enum name="GLX_TRANSPARENT_INDEX_VALUE"/>
  1496. <enum name="GLX_TRANSPARENT_RED_VALUE"/>
  1497. <enum name="GLX_TRANSPARENT_GREEN_VALUE"/>
  1498. <enum name="GLX_TRANSPARENT_BLUE_VALUE"/>
  1499. <enum name="GLX_TRANSPARENT_ALPHA_VALUE"/>
  1500. <enum name="GLX_DONT_CARE"/>
  1501. <enum name="GLX_NONE"/>
  1502. <enum name="GLX_SLOW_CONFIG"/>
  1503. <enum name="GLX_TRUE_COLOR"/>
  1504. <enum name="GLX_DIRECT_COLOR"/>
  1505. <enum name="GLX_PSEUDO_COLOR"/>
  1506. <enum name="GLX_STATIC_COLOR"/>
  1507. <enum name="GLX_GRAY_SCALE"/>
  1508. <enum name="GLX_STATIC_GRAY"/>
  1509. <enum name="GLX_TRANSPARENT_RGB"/>
  1510. <enum name="GLX_TRANSPARENT_INDEX"/>
  1511. <enum name="GLX_VISUAL_ID"/>
  1512. <enum name="GLX_SCREEN"/>
  1513. <enum name="GLX_NON_CONFORMANT_CONFIG"/>
  1514. <enum name="GLX_DRAWABLE_TYPE"/>
  1515. <enum name="GLX_RENDER_TYPE"/>
  1516. <enum name="GLX_X_RENDERABLE"/>
  1517. <enum name="GLX_FBCONFIG_ID"/>
  1518. <enum name="GLX_RGBA_TYPE"/>
  1519. <enum name="GLX_COLOR_INDEX_TYPE"/>
  1520. <enum name="GLX_MAX_PBUFFER_WIDTH"/>
  1521. <enum name="GLX_MAX_PBUFFER_HEIGHT"/>
  1522. <enum name="GLX_MAX_PBUFFER_PIXELS"/>
  1523. <enum name="GLX_PRESERVED_CONTENTS"/>
  1524. <enum name="GLX_LARGEST_PBUFFER"/>
  1525. <enum name="GLX_WIDTH"/>
  1526. <enum name="GLX_HEIGHT"/>
  1527. <enum name="GLX_EVENT_MASK"/>
  1528. <enum name="GLX_DAMAGED"/>
  1529. <enum name="GLX_SAVED"/>
  1530. <enum name="GLX_WINDOW"/>
  1531. <enum name="GLX_PBUFFER"/>
  1532. <enum name="GLX_PBUFFER_HEIGHT"/>
  1533. <enum name="GLX_PBUFFER_WIDTH"/>
  1534. <command name="glXGetFBConfigs"/>
  1535. <command name="glXChooseFBConfig"/>
  1536. <command name="glXGetFBConfigAttrib"/>
  1537. <command name="glXGetVisualFromFBConfig"/>
  1538. <command name="glXCreateWindow"/>
  1539. <command name="glXDestroyWindow"/>
  1540. <command name="glXCreatePixmap"/>
  1541. <command name="glXDestroyPixmap"/>
  1542. <command name="glXCreatePbuffer"/>
  1543. <command name="glXDestroyPbuffer"/>
  1544. <command name="glXQueryDrawable"/>
  1545. <command name="glXCreateNewContext"/>
  1546. <command name="glXMakeContextCurrent"/>
  1547. <command name="glXGetCurrentReadDrawable"/>
  1548. <command name="glXQueryContext"/>
  1549. <command name="glXSelectEvent"/>
  1550. <command name="glXGetSelectedEvent"/>
  1551. </require>
  1552. </feature>
  1553. <feature api="glx" name="GLX_VERSION_1_4" number="1.4">
  1554. <require>
  1555. <enum name="GLX_SAMPLE_BUFFERS"/>
  1556. <enum name="GLX_SAMPLES"/>
  1557. <command name="glXGetProcAddress"/>
  1558. </require>
  1559. </feature>
  1560. <!-- SECTION: GLX extension interface definitions -->
  1561. <extensions>
  1562. <extension name="GLX_3DFX_multisample" supported="glx">
  1563. <require>
  1564. <enum name="GLX_SAMPLE_BUFFERS_3DFX"/>
  1565. <enum name="GLX_SAMPLES_3DFX"/>
  1566. </require>
  1567. </extension>
  1568. <extension name="GLX_AMD_gpu_association" supported="glx">
  1569. <require>
  1570. <enum name="GLX_GPU_VENDOR_AMD"/>
  1571. <enum name="GLX_GPU_RENDERER_STRING_AMD"/>
  1572. <enum name="GLX_GPU_OPENGL_VERSION_STRING_AMD"/>
  1573. <enum name="GLX_GPU_FASTEST_TARGET_GPUS_AMD"/>
  1574. <enum name="GLX_GPU_RAM_AMD"/>
  1575. <enum name="GLX_GPU_CLOCK_AMD"/>
  1576. <enum name="GLX_GPU_NUM_PIPES_AMD"/>
  1577. <enum name="GLX_GPU_NUM_SIMD_AMD"/>
  1578. <enum name="GLX_GPU_NUM_RB_AMD"/>
  1579. <enum name="GLX_GPU_NUM_SPI_AMD"/>
  1580. <command name="glXGetGPUIDsAMD"/>
  1581. <command name="glXGetGPUInfoAMD"/>
  1582. <command name="glXGetContextGPUIDAMD"/>
  1583. <command name="glXCreateAssociatedContextAMD"/>
  1584. <command name="glXCreateAssociatedContextAttribsAMD"/>
  1585. <command name="glXDeleteAssociatedContextAMD"/>
  1586. <command name="glXMakeAssociatedContextCurrentAMD"/>
  1587. <command name="glXGetCurrentAssociatedContextAMD"/>
  1588. <command name="glXBlitContextFramebufferAMD"/>
  1589. </require>
  1590. </extension>
  1591. <extension name="GLX_ARB_context_flush_control" supported="glx">
  1592. <require>
  1593. <enum name="GLX_CONTEXT_RELEASE_BEHAVIOR_ARB"/>
  1594. <enum name="GLX_CONTEXT_RELEASE_BEHAVIOR_NONE_ARB"/>
  1595. <enum name="GLX_CONTEXT_RELEASE_BEHAVIOR_FLUSH_ARB"/>
  1596. </require>
  1597. </extension>
  1598. <extension name="GLX_ARB_create_context" supported="glx">
  1599. <require>
  1600. <enum name="GLX_CONTEXT_DEBUG_BIT_ARB"/>
  1601. <enum name="GLX_CONTEXT_FORWARD_COMPATIBLE_BIT_ARB"/>
  1602. <enum name="GLX_CONTEXT_MAJOR_VERSION_ARB"/>
  1603. <enum name="GLX_CONTEXT_MINOR_VERSION_ARB"/>
  1604. <enum name="GLX_CONTEXT_FLAGS_ARB"/>
  1605. <command name="glXCreateContextAttribsARB"/>
  1606. </require>
  1607. </extension>
  1608. <extension name="GLX_ARB_create_context_profile" supported="glx">
  1609. <require>
  1610. <enum name="GLX_CONTEXT_CORE_PROFILE_BIT_ARB"/>
  1611. <enum name="GLX_CONTEXT_COMPATIBILITY_PROFILE_BIT_ARB"/>
  1612. <enum name="GLX_CONTEXT_PROFILE_MASK_ARB"/>
  1613. </require>
  1614. </extension>
  1615. <extension name="GLX_ARB_create_context_robustness" supported="glx">
  1616. <require>
  1617. <enum name="GLX_CONTEXT_ROBUST_ACCESS_BIT_ARB"/>
  1618. <enum name="GLX_LOSE_CONTEXT_ON_RESET_ARB"/>
  1619. <enum name="GLX_CONTEXT_RESET_NOTIFICATION_STRATEGY_ARB"/>
  1620. <enum name="GLX_NO_RESET_NOTIFICATION_ARB"/>
  1621. </require>
  1622. </extension>
  1623. <extension name="GLX_ARB_fbconfig_float" supported="glx">
  1624. <require>
  1625. <enum name="GLX_RGBA_FLOAT_TYPE_ARB"/>
  1626. <enum name="GLX_RGBA_FLOAT_BIT_ARB"/>
  1627. </require>
  1628. </extension>
  1629. <extension name="GLX_ARB_framebuffer_sRGB" supported="glx">
  1630. <require>
  1631. <enum name="GLX_FRAMEBUFFER_SRGB_CAPABLE_ARB"/>
  1632. </require>
  1633. </extension>
  1634. <extension name="GLX_ARB_get_proc_address" supported="glx">
  1635. <require>
  1636. <command name="glXGetProcAddressARB"/>
  1637. </require>
  1638. </extension>
  1639. <extension name="GLX_ARB_multisample" supported="glx">
  1640. <require>
  1641. <enum name="GLX_SAMPLE_BUFFERS_ARB"/>
  1642. <enum name="GLX_SAMPLES_ARB"/>
  1643. </require>
  1644. </extension>
  1645. <extension name="GLX_ARB_robustness_application_isolation" supported="glx">
  1646. <require>
  1647. <enum name="GLX_CONTEXT_RESET_ISOLATION_BIT_ARB"/>
  1648. </require>
  1649. </extension>
  1650. <extension name="GLX_ARB_robustness_share_group_isolation" supported="glx">
  1651. <require>
  1652. <enum name="GLX_CONTEXT_RESET_ISOLATION_BIT_ARB"/>
  1653. </require>
  1654. </extension>
  1655. <extension name="GLX_ARB_vertex_buffer_object" supported="glx">
  1656. <require>
  1657. <enum name="GLX_CONTEXT_ALLOW_BUFFER_BYTE_ORDER_MISMATCH_ARB"/>
  1658. </require>
  1659. </extension>
  1660. <extension name="GLX_EXT_buffer_age" supported="glx">
  1661. <require>
  1662. <enum name="GLX_BACK_BUFFER_AGE_EXT"/>
  1663. </require>
  1664. </extension>
  1665. <extension name="GLX_EXT_create_context_es_profile" supported="glx">
  1666. <require>
  1667. <enum name="GLX_CONTEXT_ES_PROFILE_BIT_EXT"/>
  1668. </require>
  1669. </extension>
  1670. <extension name="GLX_EXT_create_context_es2_profile" supported="glx">
  1671. <require>
  1672. <enum name="GLX_CONTEXT_ES2_PROFILE_BIT_EXT"/>
  1673. </require>
  1674. </extension>
  1675. <extension name="GLX_EXT_fbconfig_packed_float" supported="glx">
  1676. <require>
  1677. <enum name="GLX_RGBA_UNSIGNED_FLOAT_TYPE_EXT"/>
  1678. <enum name="GLX_RGBA_UNSIGNED_FLOAT_BIT_EXT"/>
  1679. </require>
  1680. </extension>
  1681. <extension name="GLX_EXT_framebuffer_sRGB" supported="glx">
  1682. <require>
  1683. <enum name="GLX_FRAMEBUFFER_SRGB_CAPABLE_EXT"/>
  1684. </require>
  1685. </extension>
  1686. <extension name="GLX_EXT_import_context" supported="glx">
  1687. <require>
  1688. <enum name="GLX_SHARE_CONTEXT_EXT"/>
  1689. <enum name="GLX_VISUAL_ID_EXT"/>
  1690. <enum name="GLX_SCREEN_EXT"/>
  1691. <command name="glXGetCurrentDisplayEXT"/>
  1692. <command name="glXQueryContextInfoEXT"/>
  1693. <command name="glXGetContextIDEXT"/>
  1694. <command name="glXImportContextEXT"/>
  1695. <command name="glXFreeContextEXT"/>
  1696. </require>
  1697. </extension>
  1698. <extension name="GLX_EXT_stereo_tree" supported="glx">
  1699. <require>
  1700. <type name="GLXStereoNotifyEventEXT"/>
  1701. <enum name="GLX_STEREO_TREE_EXT"/>
  1702. <enum name="GLX_STEREO_NOTIFY_MASK_EXT"/>
  1703. <enum name="GLX_STEREO_NOTIFY_EXT"/>
  1704. </require>
  1705. </extension>
  1706. <extension name="GLX_EXT_swap_control" supported="glx">
  1707. <require>
  1708. <enum name="GLX_SWAP_INTERVAL_EXT"/>
  1709. <enum name="GLX_MAX_SWAP_INTERVAL_EXT"/>
  1710. <command name="glXSwapIntervalEXT"/>
  1711. </require>
  1712. </extension>
  1713. <extension name="GLX_EXT_swap_control_tear" supported="glx">
  1714. <require>
  1715. <enum name="GLX_LATE_SWAPS_TEAR_EXT"/>
  1716. </require>
  1717. </extension>
  1718. <extension name="GLX_EXT_texture_from_pixmap" supported="glx">
  1719. <require>
  1720. <enum name="GLX_TEXTURE_1D_BIT_EXT"/>
  1721. <enum name="GLX_TEXTURE_2D_BIT_EXT"/>
  1722. <enum name="GLX_TEXTURE_RECTANGLE_BIT_EXT"/>
  1723. <enum name="GLX_BIND_TO_TEXTURE_RGB_EXT"/>
  1724. <enum name="GLX_BIND_TO_TEXTURE_RGBA_EXT"/>
  1725. <enum name="GLX_BIND_TO_MIPMAP_TEXTURE_EXT"/>
  1726. <enum name="GLX_BIND_TO_TEXTURE_TARGETS_EXT"/>
  1727. <enum name="GLX_Y_INVERTED_EXT"/>
  1728. <enum name="GLX_TEXTURE_FORMAT_EXT"/>
  1729. <enum name="GLX_TEXTURE_TARGET_EXT"/>
  1730. <enum name="GLX_MIPMAP_TEXTURE_EXT"/>
  1731. <enum name="GLX_TEXTURE_FORMAT_NONE_EXT"/>
  1732. <enum name="GLX_TEXTURE_FORMAT_RGB_EXT"/>
  1733. <enum name="GLX_TEXTURE_FORMAT_RGBA_EXT"/>
  1734. <enum name="GLX_TEXTURE_1D_EXT"/>
  1735. <enum name="GLX_TEXTURE_2D_EXT"/>
  1736. <enum name="GLX_TEXTURE_RECTANGLE_EXT"/>
  1737. <enum name="GLX_FRONT_LEFT_EXT"/>
  1738. <enum name="GLX_FRONT_RIGHT_EXT"/>
  1739. <enum name="GLX_BACK_LEFT_EXT"/>
  1740. <enum name="GLX_BACK_RIGHT_EXT"/>
  1741. <enum name="GLX_FRONT_EXT"/>
  1742. <enum name="GLX_BACK_EXT"/>
  1743. <enum name="GLX_AUX0_EXT"/>
  1744. <enum name="GLX_AUX1_EXT"/>
  1745. <enum name="GLX_AUX2_EXT"/>
  1746. <enum name="GLX_AUX3_EXT"/>
  1747. <enum name="GLX_AUX4_EXT"/>
  1748. <enum name="GLX_AUX5_EXT"/>
  1749. <enum name="GLX_AUX6_EXT"/>
  1750. <enum name="GLX_AUX7_EXT"/>
  1751. <enum name="GLX_AUX8_EXT"/>
  1752. <enum name="GLX_AUX9_EXT"/>
  1753. <command name="glXBindTexImageEXT"/>
  1754. <command name="glXReleaseTexImageEXT"/>
  1755. </require>
  1756. </extension>
  1757. <extension name="GLX_EXT_visual_info" supported="glx">
  1758. <require>
  1759. <enum name="GLX_X_VISUAL_TYPE_EXT"/>
  1760. <enum name="GLX_TRANSPARENT_TYPE_EXT"/>
  1761. <enum name="GLX_TRANSPARENT_INDEX_VALUE_EXT"/>
  1762. <enum name="GLX_TRANSPARENT_RED_VALUE_EXT"/>
  1763. <enum name="GLX_TRANSPARENT_GREEN_VALUE_EXT"/>
  1764. <enum name="GLX_TRANSPARENT_BLUE_VALUE_EXT"/>
  1765. <enum name="GLX_TRANSPARENT_ALPHA_VALUE_EXT"/>
  1766. <enum name="GLX_NONE_EXT"/>
  1767. <enum name="GLX_TRUE_COLOR_EXT"/>
  1768. <enum name="GLX_DIRECT_COLOR_EXT"/>
  1769. <enum name="GLX_PSEUDO_COLOR_EXT"/>
  1770. <enum name="GLX_STATIC_COLOR_EXT"/>
  1771. <enum name="GLX_GRAY_SCALE_EXT"/>
  1772. <enum name="GLX_STATIC_GRAY_EXT"/>
  1773. <enum name="GLX_TRANSPARENT_RGB_EXT"/>
  1774. <enum name="GLX_TRANSPARENT_INDEX_EXT"/>
  1775. </require>
  1776. </extension>
  1777. <extension name="GLX_EXT_visual_rating" supported="glx">
  1778. <require>
  1779. <enum name="GLX_VISUAL_CAVEAT_EXT"/>
  1780. <enum name="GLX_SLOW_VISUAL_EXT"/>
  1781. <enum name="GLX_NON_CONFORMANT_VISUAL_EXT"/>
  1782. <enum name="GLX_NONE_EXT"/>
  1783. </require>
  1784. </extension>
  1785. <extension name="GLX_INTEL_swap_event" supported="glx">
  1786. <require>
  1787. <enum name="GLX_BUFFER_SWAP_COMPLETE_INTEL_MASK"/>
  1788. <enum name="GLX_EXCHANGE_COMPLETE_INTEL"/>
  1789. <enum name="GLX_COPY_COMPLETE_INTEL"/>
  1790. <enum name="GLX_FLIP_COMPLETE_INTEL"/>
  1791. </require>
  1792. </extension>
  1793. <extension name="GLX_MESA_agp_offset" supported="glx">
  1794. <require>
  1795. <command name="glXGetAGPOffsetMESA"/>
  1796. </require>
  1797. </extension>
  1798. <extension name="GLX_MESA_copy_sub_buffer" supported="glx">
  1799. <require>
  1800. <command name="glXCopySubBufferMESA"/>
  1801. </require>
  1802. </extension>
  1803. <extension name="GLX_MESA_pixmap_colormap" supported="glx">
  1804. <require>
  1805. <command name="glXCreateGLXPixmapMESA"/>
  1806. </require>
  1807. </extension>
  1808. <extension name="GLX_MESA_query_renderer" supported="glx">
  1809. <require>
  1810. <enum name="GLX_RENDERER_VENDOR_ID_MESA"/>
  1811. <enum name="GLX_RENDERER_DEVICE_ID_MESA"/>
  1812. <enum name="GLX_RENDERER_VERSION_MESA"/>
  1813. <enum name="GLX_RENDERER_ACCELERATED_MESA"/>
  1814. <enum name="GLX_RENDERER_VIDEO_MEMORY_MESA"/>
  1815. <enum name="GLX_RENDERER_UNIFIED_MEMORY_ARCHITECTURE_MESA"/>
  1816. <enum name="GLX_RENDERER_PREFERRED_PROFILE_MESA"/>
  1817. <enum name="GLX_RENDERER_OPENGL_CORE_PROFILE_VERSION_MESA"/>
  1818. <enum name="GLX_RENDERER_OPENGL_COMPATIBILITY_PROFILE_VERSION_MESA"/>
  1819. <enum name="GLX_RENDERER_OPENGL_ES_PROFILE_VERSION_MESA"/>
  1820. <enum name="GLX_RENDERER_OPENGL_ES2_PROFILE_VERSION_MESA"/>
  1821. <enum name="GLX_RENDERER_ID_MESA"/>
  1822. <command name="glXQueryCurrentRendererIntegerMESA"/>
  1823. <command name="glXQueryCurrentRendererStringMESA"/>
  1824. <command name="glXQueryRendererIntegerMESA"/>
  1825. <command name="glXQueryRendererStringMESA"/>
  1826. </require>
  1827. </extension>
  1828. <extension name="GLX_MESA_release_buffers" supported="glx">
  1829. <require>
  1830. <command name="glXReleaseBuffersMESA"/>
  1831. </require>
  1832. </extension>
  1833. <extension name="GLX_MESA_set_3dfx_mode" supported="glx">
  1834. <require>
  1835. <enum name="GLX_3DFX_WINDOW_MODE_MESA"/>
  1836. <enum name="GLX_3DFX_FULLSCREEN_MODE_MESA"/>
  1837. <command name="glXSet3DfxModeMESA"/>
  1838. </require>
  1839. </extension>
  1840. <extension name="GLX_NV_copy_buffer" supported="glx">
  1841. <require>
  1842. <command name="glXCopyBufferSubDataNV"/>
  1843. <command name="glXNamedCopyBufferSubDataNV"/>
  1844. </require>
  1845. </extension>
  1846. <extension name="GLX_NV_copy_image" supported="glx">
  1847. <require>
  1848. <command name="glXCopyImageSubDataNV"/>
  1849. </require>
  1850. </extension>
  1851. <extension name="GLX_NV_delay_before_swap" supported="glx">
  1852. <require>
  1853. <command name="glXDelayBeforeSwapNV"/>
  1854. </require>
  1855. </extension>
  1856. <extension name="GLX_NV_float_buffer" supported="glx">
  1857. <require>
  1858. <enum name="GLX_FLOAT_COMPONENTS_NV"/>
  1859. </require>
  1860. </extension>
  1861. <extension name="GLX_NV_multisample_coverage" supported="glx">
  1862. <require>
  1863. <enum name="GLX_COVERAGE_SAMPLES_NV"/>
  1864. <enum name="GLX_COLOR_SAMPLES_NV"/>
  1865. </require>
  1866. </extension>
  1867. <extension name="GLX_NV_present_video" supported="glx">
  1868. <require>
  1869. <enum name="GLX_NUM_VIDEO_SLOTS_NV"/>
  1870. <command name="glXEnumerateVideoDevicesNV"/>
  1871. <command name="glXBindVideoDeviceNV"/>
  1872. </require>
  1873. </extension>
  1874. <extension name="GLX_NV_swap_group" supported="glx">
  1875. <require>
  1876. <command name="glXJoinSwapGroupNV"/>
  1877. <command name="glXBindSwapBarrierNV"/>
  1878. <command name="glXQuerySwapGroupNV"/>
  1879. <command name="glXQueryMaxSwapGroupsNV"/>
  1880. <command name="glXQueryFrameCountNV"/>
  1881. <command name="glXResetFrameCountNV"/>
  1882. </require>
  1883. </extension>
  1884. <extension name="GLX_NV_video_capture" supported="glx">
  1885. <require>
  1886. <enum name="GLX_DEVICE_ID_NV"/>
  1887. <enum name="GLX_UNIQUE_ID_NV"/>
  1888. <enum name="GLX_NUM_VIDEO_CAPTURE_SLOTS_NV"/>
  1889. <command name="glXBindVideoCaptureDeviceNV"/>
  1890. <command name="glXEnumerateVideoCaptureDevicesNV"/>
  1891. <command name="glXLockVideoCaptureDeviceNV"/>
  1892. <command name="glXQueryVideoCaptureDeviceNV"/>
  1893. <command name="glXReleaseVideoCaptureDeviceNV"/>
  1894. </require>
  1895. </extension>
  1896. <extension name="GLX_NV_video_out" supported="glx">
  1897. <require>
  1898. <enum name="GLX_VIDEO_OUT_COLOR_NV"/>
  1899. <enum name="GLX_VIDEO_OUT_ALPHA_NV"/>
  1900. <enum name="GLX_VIDEO_OUT_DEPTH_NV"/>
  1901. <enum name="GLX_VIDEO_OUT_COLOR_AND_ALPHA_NV"/>
  1902. <enum name="GLX_VIDEO_OUT_COLOR_AND_DEPTH_NV"/>
  1903. <enum name="GLX_VIDEO_OUT_FRAME_NV"/>
  1904. <enum name="GLX_VIDEO_OUT_FIELD_1_NV"/>
  1905. <enum name="GLX_VIDEO_OUT_FIELD_2_NV"/>
  1906. <enum name="GLX_VIDEO_OUT_STACKED_FIELDS_1_2_NV"/>
  1907. <enum name="GLX_VIDEO_OUT_STACKED_FIELDS_2_1_NV"/>
  1908. <command name="glXGetVideoDeviceNV"/>
  1909. <command name="glXReleaseVideoDeviceNV"/>
  1910. <command name="glXBindVideoImageNV"/>
  1911. <command name="glXReleaseVideoImageNV"/>
  1912. <command name="glXSendPbufferToVideoNV"/>
  1913. <command name="glXGetVideoInfoNV"/>
  1914. </require>
  1915. </extension>
  1916. <extension name="GLX_OML_swap_method" supported="glx">
  1917. <require>
  1918. <enum name="GLX_SWAP_METHOD_OML"/>
  1919. <enum name="GLX_SWAP_EXCHANGE_OML"/>
  1920. <enum name="GLX_SWAP_COPY_OML"/>
  1921. <enum name="GLX_SWAP_UNDEFINED_OML"/>
  1922. </require>
  1923. </extension>
  1924. <extension name="GLX_OML_sync_control" supported="glx">
  1925. <require>
  1926. <command name="glXGetSyncValuesOML"/>
  1927. <command name="glXGetMscRateOML"/>
  1928. <command name="glXSwapBuffersMscOML"/>
  1929. <command name="glXWaitForMscOML"/>
  1930. <command name="glXWaitForSbcOML"/>
  1931. </require>
  1932. </extension>
  1933. <extension name="GLX_SGI_cushion" supported="glx">
  1934. <require>
  1935. <command name="glXCushionSGI"/>
  1936. </require>
  1937. </extension>
  1938. <extension name="GLX_SGI_make_current_read" supported="glx">
  1939. <require>
  1940. <command name="glXMakeCurrentReadSGI"/>
  1941. <command name="glXGetCurrentReadDrawableSGI"/>
  1942. </require>
  1943. </extension>
  1944. <extension name="GLX_SGI_swap_control" supported="glx">
  1945. <require>
  1946. <command name="glXSwapIntervalSGI"/>
  1947. </require>
  1948. </extension>
  1949. <extension name="GLX_SGI_video_sync" supported="glx">
  1950. <require>
  1951. <command name="glXGetVideoSyncSGI"/>
  1952. <command name="glXWaitVideoSyncSGI"/>
  1953. </require>
  1954. </extension>
  1955. <extension name="GLX_SGIS_blended_overlay" supported="glx">
  1956. <require>
  1957. <enum name="GLX_BLENDED_RGBA_SGIS"/>
  1958. </require>
  1959. </extension>
  1960. <extension name="GLX_SGIS_multisample" supported="glx">
  1961. <require>
  1962. <enum name="GLX_SAMPLE_BUFFERS_SGIS"/>
  1963. <enum name="GLX_SAMPLES_SGIS"/>
  1964. </require>
  1965. </extension>
  1966. <extension name="GLX_SGIS_shared_multisample" supported="glx">
  1967. <require>
  1968. <enum name="GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS"/>
  1969. <enum name="GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS"/>
  1970. </require>
  1971. </extension>
  1972. <extension name="GLX_SGIX_dmbuffer" supported="glx" protect="_DM_BUFFER_H_">
  1973. <require>
  1974. <enum name="GLX_DIGITAL_MEDIA_PBUFFER_SGIX"/>
  1975. <command name="glXAssociateDMPbufferSGIX"/>
  1976. </require>
  1977. </extension>
  1978. <extension name="GLX_SGIX_fbconfig" supported="glx">
  1979. <require>
  1980. <enum name="GLX_WINDOW_BIT_SGIX"/>
  1981. <enum name="GLX_PIXMAP_BIT_SGIX"/>
  1982. <enum name="GLX_RGBA_BIT_SGIX"/>
  1983. <enum name="GLX_COLOR_INDEX_BIT_SGIX"/>
  1984. <enum name="GLX_DRAWABLE_TYPE_SGIX"/>
  1985. <enum name="GLX_RENDER_TYPE_SGIX"/>
  1986. <enum name="GLX_X_RENDERABLE_SGIX"/>
  1987. <enum name="GLX_FBCONFIG_ID_SGIX"/>
  1988. <enum name="GLX_RGBA_TYPE_SGIX"/>
  1989. <enum name="GLX_COLOR_INDEX_TYPE_SGIX"/>
  1990. <enum name="GLX_SCREEN_EXT"/>
  1991. <command name="glXGetFBConfigAttribSGIX"/>
  1992. <command name="glXChooseFBConfigSGIX"/>
  1993. <command name="glXCreateGLXPixmapWithConfigSGIX"/>
  1994. <command name="glXCreateContextWithConfigSGIX"/>
  1995. <command name="glXGetVisualFromFBConfigSGIX"/>
  1996. <command name="glXGetFBConfigFromVisualSGIX"/>
  1997. </require>
  1998. </extension>
  1999. <extension name="GLX_SGIX_hyperpipe" supported="glx">
  2000. <require>
  2001. <type name="GLXHyperpipeNetworkSGIX"/>
  2002. <type name="GLXHyperpipeConfigSGIX"/>
  2003. <type name="GLXPipeRect"/>
  2004. <type name="GLXPipeRectLimits"/>
  2005. <enum name="GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX"/>
  2006. <enum name="GLX_BAD_HYPERPIPE_CONFIG_SGIX"/>
  2007. <enum name="GLX_BAD_HYPERPIPE_SGIX"/>
  2008. <enum name="GLX_HYPERPIPE_DISPLAY_PIPE_SGIX"/>
  2009. <enum name="GLX_HYPERPIPE_RENDER_PIPE_SGIX"/>
  2010. <enum name="GLX_PIPE_RECT_SGIX"/>
  2011. <enum name="GLX_PIPE_RECT_LIMITS_SGIX"/>
  2012. <enum name="GLX_HYPERPIPE_STEREO_SGIX"/>
  2013. <enum name="GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX"/>
  2014. <enum name="GLX_HYPERPIPE_ID_SGIX"/>
  2015. <command name="glXQueryHyperpipeNetworkSGIX"/>
  2016. <command name="glXHyperpipeConfigSGIX"/>
  2017. <command name="glXQueryHyperpipeConfigSGIX"/>
  2018. <command name="glXDestroyHyperpipeConfigSGIX"/>
  2019. <command name="glXBindHyperpipeSGIX"/>
  2020. <command name="glXQueryHyperpipeBestAttribSGIX"/>
  2021. <command name="glXHyperpipeAttribSGIX"/>
  2022. <command name="glXQueryHyperpipeAttribSGIX"/>
  2023. </require>
  2024. </extension>
  2025. <extension name="GLX_SGIX_pbuffer" supported="glx">
  2026. <require>
  2027. <enum name="GLX_PBUFFER_BIT_SGIX"/>
  2028. <enum name="GLX_BUFFER_CLOBBER_MASK_SGIX"/>
  2029. <enum name="GLX_FRONT_LEFT_BUFFER_BIT_SGIX"/>
  2030. <enum name="GLX_FRONT_RIGHT_BUFFER_BIT_SGIX"/>
  2031. <enum name="GLX_BACK_LEFT_BUFFER_BIT_SGIX"/>
  2032. <enum name="GLX_BACK_RIGHT_BUFFER_BIT_SGIX"/>
  2033. <enum name="GLX_AUX_BUFFERS_BIT_SGIX"/>
  2034. <enum name="GLX_DEPTH_BUFFER_BIT_SGIX"/>
  2035. <enum name="GLX_STENCIL_BUFFER_BIT_SGIX"/>
  2036. <enum name="GLX_ACCUM_BUFFER_BIT_SGIX"/>
  2037. <enum name="GLX_SAMPLE_BUFFERS_BIT_SGIX"/>
  2038. <enum name="GLX_MAX_PBUFFER_WIDTH_SGIX"/>
  2039. <enum name="GLX_MAX_PBUFFER_HEIGHT_SGIX"/>
  2040. <enum name="GLX_MAX_PBUFFER_PIXELS_SGIX"/>
  2041. <enum name="GLX_OPTIMAL_PBUFFER_WIDTH_SGIX"/>
  2042. <enum name="GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX"/>
  2043. <enum name="GLX_PRESERVED_CONTENTS_SGIX"/>
  2044. <enum name="GLX_LARGEST_PBUFFER_SGIX"/>
  2045. <enum name="GLX_WIDTH_SGIX"/>
  2046. <enum name="GLX_HEIGHT_SGIX"/>
  2047. <enum name="GLX_EVENT_MASK_SGIX"/>
  2048. <enum name="GLX_DAMAGED_SGIX"/>
  2049. <enum name="GLX_SAVED_SGIX"/>
  2050. <enum name="GLX_WINDOW_SGIX"/>
  2051. <enum name="GLX_PBUFFER_SGIX"/>
  2052. <command name="glXCreateGLXPbufferSGIX"/>
  2053. <command name="glXDestroyGLXPbufferSGIX"/>
  2054. <command name="glXQueryGLXPbufferSGIX"/>
  2055. <command name="glXSelectEventSGIX"/>
  2056. <command name="glXGetSelectedEventSGIX"/>
  2057. </require>
  2058. </extension>
  2059. <extension name="GLX_SGIX_swap_barrier" supported="glx">
  2060. <require>
  2061. <command name="glXBindSwapBarrierSGIX"/>
  2062. <command name="glXQueryMaxSwapBarriersSGIX"/>
  2063. </require>
  2064. </extension>
  2065. <extension name="GLX_SGIX_swap_group" supported="glx">
  2066. <require>
  2067. <command name="glXJoinSwapGroupSGIX"/>
  2068. </require>
  2069. </extension>
  2070. <extension name="GLX_SGIX_video_resize" supported="glx">
  2071. <require>
  2072. <enum name="GLX_SYNC_FRAME_SGIX"/>
  2073. <enum name="GLX_SYNC_SWAP_SGIX"/>
  2074. <command name="glXBindChannelToWindowSGIX"/>
  2075. <command name="glXChannelRectSGIX"/>
  2076. <command name="glXQueryChannelRectSGIX"/>
  2077. <command name="glXQueryChannelDeltasSGIX"/>
  2078. <command name="glXChannelRectSyncSGIX"/>
  2079. </require>
  2080. </extension>
  2081. <extension name="GLX_SGIX_video_source" supported="glx" protect="_VL_H">
  2082. <require>
  2083. <command name="glXCreateGLXVideoSourceSGIX"/>
  2084. <command name="glXDestroyGLXVideoSourceSGIX"/>
  2085. </require>
  2086. </extension>
  2087. <extension name="GLX_SGIX_visual_select_group" supported="glx">
  2088. <require>
  2089. <enum name="GLX_VISUAL_SELECT_GROUP_SGIX"/>
  2090. </require>
  2091. </extension>
  2092. <extension name="GLX_SUN_get_transparent_index" supported="glx">
  2093. <require>
  2094. <command name="glXGetTransparentIndexSUN"/>
  2095. </require>
  2096. </extension>
  2097. </extensions>
  2098. </registry>