home *** CD-ROM | disk | FTP | other *** search
/ Hackers Magazine 57 / CdHackersMagazineNr57.iso / Software / Multimedia / k3d-setup-0.7.11.0.exe / lib / site-packages / OpenGL / raw / _GLX.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  33.1 KB  |  779 lines

  1. # BEGIN GENERATED CONTENT (do not edit below this line)
  2.  
  3. # This content is generated by gengl.py.
  4. # Wrapper for /usr/include/GL/glx.h
  5. from OpenGL import platform, constant
  6. from ctypes import *
  7. c_void = None
  8.  
  9.  
  10. # H (/usr/include/GL/glx.h:26)
  11. GLX_VERSION_1_1 = constant.Constant( 'GLX_VERSION_1_1', 1 )
  12. GLX_VERSION_1_2 = constant.Constant( 'GLX_VERSION_1_2', 1 )
  13. GLX_VERSION_1_3 = constant.Constant( 'GLX_VERSION_1_3', 1 )
  14. GLX_VERSION_1_4 = constant.Constant( 'GLX_VERSION_1_4', 1 )
  15. GLX_USE_GL = constant.Constant( 'GLX_USE_GL', 1 )
  16. GLX_BUFFER_SIZE = constant.Constant( 'GLX_BUFFER_SIZE', 2 )
  17. GLX_LEVEL = constant.Constant( 'GLX_LEVEL', 3 )
  18. GLX_RGBA = constant.Constant( 'GLX_RGBA', 4 )
  19. GLX_DOUBLEBUFFER = constant.Constant( 'GLX_DOUBLEBUFFER', 5 )
  20. GLX_STEREO = constant.Constant( 'GLX_STEREO', 6 )
  21. GLX_AUX_BUFFERS = constant.Constant( 'GLX_AUX_BUFFERS', 7 )
  22. GLX_RED_SIZE = constant.Constant( 'GLX_RED_SIZE', 8 )
  23. GLX_GREEN_SIZE = constant.Constant( 'GLX_GREEN_SIZE', 9 )
  24. GLX_BLUE_SIZE = constant.Constant( 'GLX_BLUE_SIZE', 10 )
  25. GLX_ALPHA_SIZE = constant.Constant( 'GLX_ALPHA_SIZE', 11 )
  26. GLX_DEPTH_SIZE = constant.Constant( 'GLX_DEPTH_SIZE', 12 )
  27. GLX_STENCIL_SIZE = constant.Constant( 'GLX_STENCIL_SIZE', 13 )
  28. GLX_ACCUM_RED_SIZE = constant.Constant( 'GLX_ACCUM_RED_SIZE', 14 )
  29. GLX_ACCUM_GREEN_SIZE = constant.Constant( 'GLX_ACCUM_GREEN_SIZE', 15 )
  30. GLX_ACCUM_BLUE_SIZE = constant.Constant( 'GLX_ACCUM_BLUE_SIZE', 16 )
  31. GLX_ACCUM_ALPHA_SIZE = constant.Constant( 'GLX_ACCUM_ALPHA_SIZE', 17 )
  32. GLX_BAD_SCREEN = constant.Constant( 'GLX_BAD_SCREEN', 1 )
  33. GLX_BAD_ATTRIBUTE = constant.Constant( 'GLX_BAD_ATTRIBUTE', 2 )
  34. GLX_NO_EXTENSION = constant.Constant( 'GLX_NO_EXTENSION', 3 )
  35. GLX_BAD_VISUAL = constant.Constant( 'GLX_BAD_VISUAL', 4 )
  36. GLX_BAD_CONTEXT = constant.Constant( 'GLX_BAD_CONTEXT', 5 )
  37. GLX_BAD_VALUE = constant.Constant( 'GLX_BAD_VALUE', 6 )
  38. GLX_BAD_ENUM = constant.Constant( 'GLX_BAD_ENUM', 7 )
  39. GLX_VENDOR = constant.Constant( 'GLX_VENDOR', 1 )
  40. GLX_VERSION = constant.Constant( 'GLX_VERSION', 2 )
  41. GLX_EXTENSIONS = constant.Constant( 'GLX_EXTENSIONS', 3 )
  42. GLX_CONFIG_CAVEAT = constant.Constant( 'GLX_CONFIG_CAVEAT', 32 )
  43. GLX_DONT_CARE = constant.Constant( 'GLX_DONT_CARE', 4294967295L )
  44. GLX_X_VISUAL_TYPE = constant.Constant( 'GLX_X_VISUAL_TYPE', 34 )
  45. GLX_TRANSPARENT_TYPE = constant.Constant( 'GLX_TRANSPARENT_TYPE', 35 )
  46. GLX_TRANSPARENT_INDEX_VALUE = constant.Constant( 'GLX_TRANSPARENT_INDEX_VALUE', 36 )
  47. GLX_TRANSPARENT_RED_VALUE = constant.Constant( 'GLX_TRANSPARENT_RED_VALUE', 37 )
  48. GLX_TRANSPARENT_GREEN_VALUE = constant.Constant( 'GLX_TRANSPARENT_GREEN_VALUE', 38 )
  49. GLX_TRANSPARENT_BLUE_VALUE = constant.Constant( 'GLX_TRANSPARENT_BLUE_VALUE', 39 )
  50. GLX_TRANSPARENT_ALPHA_VALUE = constant.Constant( 'GLX_TRANSPARENT_ALPHA_VALUE', 40 )
  51. GLX_WINDOW_BIT = constant.Constant( 'GLX_WINDOW_BIT', 1 )
  52. GLX_PIXMAP_BIT = constant.Constant( 'GLX_PIXMAP_BIT', 2 )
  53. GLX_PBUFFER_BIT = constant.Constant( 'GLX_PBUFFER_BIT', 4 )
  54. GLX_AUX_BUFFERS_BIT = constant.Constant( 'GLX_AUX_BUFFERS_BIT', 16 )
  55. GLX_FRONT_LEFT_BUFFER_BIT = constant.Constant( 'GLX_FRONT_LEFT_BUFFER_BIT', 1 )
  56. GLX_FRONT_RIGHT_BUFFER_BIT = constant.Constant( 'GLX_FRONT_RIGHT_BUFFER_BIT', 2 )
  57. GLX_BACK_LEFT_BUFFER_BIT = constant.Constant( 'GLX_BACK_LEFT_BUFFER_BIT', 4 )
  58. GLX_BACK_RIGHT_BUFFER_BIT = constant.Constant( 'GLX_BACK_RIGHT_BUFFER_BIT', 8 )
  59. GLX_DEPTH_BUFFER_BIT = constant.Constant( 'GLX_DEPTH_BUFFER_BIT', 32 )
  60. GLX_STENCIL_BUFFER_BIT = constant.Constant( 'GLX_STENCIL_BUFFER_BIT', 64 )
  61. GLX_ACCUM_BUFFER_BIT = constant.Constant( 'GLX_ACCUM_BUFFER_BIT', 128 )
  62. GLX_NONE = constant.Constant( 'GLX_NONE', 32768 )
  63. GLX_SLOW_CONFIG = constant.Constant( 'GLX_SLOW_CONFIG', 32769 )
  64. GLX_TRUE_COLOR = constant.Constant( 'GLX_TRUE_COLOR', 32770 )
  65. GLX_DIRECT_COLOR = constant.Constant( 'GLX_DIRECT_COLOR', 32771 )
  66. GLX_PSEUDO_COLOR = constant.Constant( 'GLX_PSEUDO_COLOR', 32772 )
  67. GLX_STATIC_COLOR = constant.Constant( 'GLX_STATIC_COLOR', 32773 )
  68. GLX_GRAY_SCALE = constant.Constant( 'GLX_GRAY_SCALE', 32774 )
  69. GLX_STATIC_GRAY = constant.Constant( 'GLX_STATIC_GRAY', 32775 )
  70. GLX_TRANSPARENT_RGB = constant.Constant( 'GLX_TRANSPARENT_RGB', 32776 )
  71. GLX_TRANSPARENT_INDEX = constant.Constant( 'GLX_TRANSPARENT_INDEX', 32777 )
  72. GLX_VISUAL_ID = constant.Constant( 'GLX_VISUAL_ID', 32779 )
  73. GLX_SCREEN = constant.Constant( 'GLX_SCREEN', 32780 )
  74. GLX_NON_CONFORMANT_CONFIG = constant.Constant( 'GLX_NON_CONFORMANT_CONFIG', 32781 )
  75. GLX_DRAWABLE_TYPE = constant.Constant( 'GLX_DRAWABLE_TYPE', 32784 )
  76. GLX_RENDER_TYPE = constant.Constant( 'GLX_RENDER_TYPE', 32785 )
  77. GLX_X_RENDERABLE = constant.Constant( 'GLX_X_RENDERABLE', 32786 )
  78. GLX_FBCONFIG_ID = constant.Constant( 'GLX_FBCONFIG_ID', 32787 )
  79. GLX_RGBA_TYPE = constant.Constant( 'GLX_RGBA_TYPE', 32788 )
  80. GLX_COLOR_INDEX_TYPE = constant.Constant( 'GLX_COLOR_INDEX_TYPE', 32789 )
  81. GLX_MAX_PBUFFER_WIDTH = constant.Constant( 'GLX_MAX_PBUFFER_WIDTH', 32790 )
  82. GLX_MAX_PBUFFER_HEIGHT = constant.Constant( 'GLX_MAX_PBUFFER_HEIGHT', 32791 )
  83. GLX_MAX_PBUFFER_PIXELS = constant.Constant( 'GLX_MAX_PBUFFER_PIXELS', 32792 )
  84. GLX_PRESERVED_CONTENTS = constant.Constant( 'GLX_PRESERVED_CONTENTS', 32795 )
  85. GLX_LARGEST_PBUFFER = constant.Constant( 'GLX_LARGEST_PBUFFER', 32796 )
  86. GLX_WIDTH = constant.Constant( 'GLX_WIDTH', 32797 )
  87. GLX_HEIGHT = constant.Constant( 'GLX_HEIGHT', 32798 )
  88. GLX_EVENT_MASK = constant.Constant( 'GLX_EVENT_MASK', 32799 )
  89. GLX_DAMAGED = constant.Constant( 'GLX_DAMAGED', 32800 )
  90. GLX_SAVED = constant.Constant( 'GLX_SAVED', 32801 )
  91. GLX_WINDOW = constant.Constant( 'GLX_WINDOW', 32802 )
  92. GLX_PBUFFER = constant.Constant( 'GLX_PBUFFER', 32803 )
  93. GLX_PBUFFER_HEIGHT = constant.Constant( 'GLX_PBUFFER_HEIGHT', 32832 )
  94. GLX_PBUFFER_WIDTH = constant.Constant( 'GLX_PBUFFER_WIDTH', 32833 )
  95. GLX_RGBA_BIT = constant.Constant( 'GLX_RGBA_BIT', 1 )
  96. GLX_COLOR_INDEX_BIT = constant.Constant( 'GLX_COLOR_INDEX_BIT', 2 )
  97. GLX_PBUFFER_CLOBBER_MASK = constant.Constant( 'GLX_PBUFFER_CLOBBER_MASK', 134217728 )
  98. GLX_SAMPLE_BUFFERS = constant.Constant( 'GLX_SAMPLE_BUFFERS', 100000 )
  99. GLX_SAMPLES = constant.Constant( 'GLX_SAMPLES', 100001 )
  100. class struct___GLXcontextRec(Structure):
  101.     __slots__ = [
  102.     ]
  103. struct___GLXcontextRec._fields_ = [
  104.     ('_opaque_struct', c_int)
  105. ]
  106.  
  107. class struct___GLXcontextRec(Structure):
  108.     __slots__ = [
  109.     ]
  110. struct___GLXcontextRec._fields_ = [
  111.     ('_opaque_struct', c_int)
  112. ]
  113.  
  114. GLXContext = POINTER(struct___GLXcontextRec)     # /usr/include/GL/glx.h:178
  115. XID = c_ulong     # /usr/include/X11/X.h:71
  116. GLXPixmap = XID     # /usr/include/GL/glx.h:179
  117. GLXDrawable = XID     # /usr/include/GL/glx.h:180
  118. class struct___GLXFBConfigRec(Structure):
  119.     __slots__ = [
  120.     ]
  121. struct___GLXFBConfigRec._fields_ = [
  122.     ('_opaque_struct', c_int)
  123. ]
  124.  
  125. class struct___GLXFBConfigRec(Structure):
  126.     __slots__ = [
  127.     ]
  128. struct___GLXFBConfigRec._fields_ = [
  129.     ('_opaque_struct', c_int)
  130. ]
  131.  
  132. GLXFBConfig = POINTER(struct___GLXFBConfigRec)     # /usr/include/GL/glx.h:182
  133. GLXFBConfigID = XID     # /usr/include/GL/glx.h:183
  134. GLXContextID = XID     # /usr/include/GL/glx.h:184
  135. GLXWindow = XID     # /usr/include/GL/glx.h:185
  136. GLXPbuffer = XID     # /usr/include/GL/glx.h:186
  137. class struct_anon_100(Structure):
  138.     __slots__ = [
  139.         'visual',
  140.         'visualid',
  141.         'screen',
  142.         'depth',
  143.         'class',
  144.         'red_mask',
  145.         'green_mask',
  146.         'blue_mask',
  147.         'colormap_size',
  148.         'bits_per_rgb',
  149.     ]
  150. class struct_anon_17(Structure):
  151.     __slots__ = [
  152.         'ext_data',
  153.         'visualid',
  154.         'class',
  155.         'red_mask',
  156.         'green_mask',
  157.         'blue_mask',
  158.         'bits_per_rgb',
  159.         'map_entries',
  160.     ]
  161. class struct__XExtData(Structure):
  162.     __slots__ = [
  163.         'number',
  164.         'next',
  165.         'free_private',
  166.         'private_data',
  167.     ]
  168. XPointer = c_char_p     # /usr/include/X11/Xlib.h:108
  169. struct__XExtData._fields_ = [
  170.     ('number', c_int),
  171.     ('next', POINTER(struct__XExtData)),
  172.     ('free_private', POINTER(CFUNCTYPE(c_int, POINTER(struct__XExtData)))),
  173.     ('private_data', XPointer),
  174. ]
  175.  
  176. XExtData = struct__XExtData     # /usr/include/X11/Xlib.h:187
  177. VisualID = c_ulong     # /usr/include/X11/X.h:81
  178. struct_anon_17._fields_ = [
  179.     ('ext_data', POINTER(XExtData)),
  180.     ('visualid', VisualID),
  181.     ('class', c_int),
  182.     ('red_mask', c_ulong),
  183.     ('green_mask', c_ulong),
  184.     ('blue_mask', c_ulong),
  185.     ('bits_per_rgb', c_int),
  186.     ('map_entries', c_int),
  187. ]
  188.  
  189. Visual = struct_anon_17     # /usr/include/X11/Xlib.h:270
  190. struct_anon_100._fields_ = [
  191.     ('visual', POINTER(Visual)),
  192.     ('visualid', VisualID),
  193.     ('screen', c_int),
  194.     ('depth', c_int),
  195.     ('class', c_int),
  196.     ('red_mask', c_ulong),
  197.     ('green_mask', c_ulong),
  198.     ('blue_mask', c_ulong),
  199.     ('colormap_size', c_int),
  200.     ('bits_per_rgb', c_int),
  201. ]
  202.  
  203. XVisualInfo = struct_anon_100     # /usr/include/X11/Xutil.h:296
  204. class struct__XDisplay(Structure):
  205.     __slots__ = [
  206.     ]
  207. struct__XDisplay._fields_ = [
  208.     ('_opaque_struct', c_int)
  209. ]
  210.  
  211. class struct__XDisplay(Structure):
  212.     __slots__ = [
  213.     ]
  214. struct__XDisplay._fields_ = [
  215.     ('_opaque_struct', c_int)
  216. ]
  217.  
  218. Display = struct__XDisplay     # /usr/include/X11/Xlib.h:519
  219. glXChooseVisual = platform.createBaseFunction(
  220.     'glXChooseVisual', dll=platform.GL, resultType=POINTER(XVisualInfo), 
  221.     argTypes=[POINTER(Display), c_int, POINTER(c_int)],
  222.     doc='glXChooseVisual( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(attribList) ) -> POINTER(XVisualInfo)', 
  223.     argNames=['dpy', 'screen', 'attribList'],
  224. )
  225.  
  226. glXCreateContext = platform.createBaseFunction(
  227.     'glXCreateContext', dll=platform.GL, resultType=GLXContext, 
  228.     argTypes=[POINTER(Display), POINTER(XVisualInfo), GLXContext, c_int],
  229.     doc='glXCreateContext( POINTER(Display)(dpy), POINTER(XVisualInfo)(vis), GLXContext(shareList), c_int(direct) ) -> GLXContext', 
  230.     argNames=['dpy', 'vis', 'shareList', 'direct'],
  231. )
  232.  
  233. glXDestroyContext = platform.createBaseFunction(
  234.     'glXDestroyContext', dll=platform.GL, resultType=None, 
  235.     argTypes=[POINTER(Display), GLXContext],
  236.     doc='glXDestroyContext( POINTER(Display)(dpy), GLXContext(ctx) ) -> None', 
  237.     argNames=['dpy', 'ctx'],
  238. )
  239.  
  240. glXMakeCurrent = platform.createBaseFunction(
  241.     'glXMakeCurrent', dll=platform.GL, resultType=c_int, 
  242.     argTypes=[POINTER(Display), GLXDrawable, GLXContext],
  243.     doc='glXMakeCurrent( POINTER(Display)(dpy), GLXDrawable(drawable), GLXContext(ctx) ) -> c_int', 
  244.     argNames=['dpy', 'drawable', 'ctx'],
  245. )
  246.  
  247. glXCopyContext = platform.createBaseFunction(
  248.     'glXCopyContext', dll=platform.GL, resultType=None, 
  249.     argTypes=[POINTER(Display), GLXContext, GLXContext, c_ulong],
  250.     doc='glXCopyContext( POINTER(Display)(dpy), GLXContext(src), GLXContext(dst), c_ulong(mask) ) -> None', 
  251.     argNames=['dpy', 'src', 'dst', 'mask'],
  252. )
  253.  
  254. glXSwapBuffers = platform.createBaseFunction(
  255.     'glXSwapBuffers', dll=platform.GL, resultType=None, 
  256.     argTypes=[POINTER(Display), GLXDrawable],
  257.     doc='glXSwapBuffers( POINTER(Display)(dpy), GLXDrawable(drawable) ) -> None', 
  258.     argNames=['dpy', 'drawable'],
  259. )
  260.  
  261. Pixmap = XID     # /usr/include/X11/X.h:107
  262. glXCreateGLXPixmap = platform.createBaseFunction(
  263.     'glXCreateGLXPixmap', dll=platform.GL, resultType=GLXPixmap, 
  264.     argTypes=[POINTER(Display), POINTER(XVisualInfo), Pixmap],
  265.     doc='glXCreateGLXPixmap( POINTER(Display)(dpy), POINTER(XVisualInfo)(visual), Pixmap(pixmap) ) -> GLXPixmap', 
  266.     argNames=['dpy', 'visual', 'pixmap'],
  267. )
  268.  
  269. glXDestroyGLXPixmap = platform.createBaseFunction(
  270.     'glXDestroyGLXPixmap', dll=platform.GL, resultType=None, 
  271.     argTypes=[POINTER(Display), GLXPixmap],
  272.     doc='glXDestroyGLXPixmap( POINTER(Display)(dpy), GLXPixmap(pixmap) ) -> None', 
  273.     argNames=['dpy', 'pixmap'],
  274. )
  275.  
  276. glXQueryExtension = platform.createBaseFunction(
  277.     'glXQueryExtension', dll=platform.GL, resultType=c_int, 
  278.     argTypes=[POINTER(Display), POINTER(c_int), POINTER(c_int)],
  279.     doc='glXQueryExtension( POINTER(Display)(dpy), POINTER(c_int)(errorb), POINTER(c_int)(event) ) -> c_int', 
  280.     argNames=['dpy', 'errorb', 'event'],
  281. )
  282.  
  283. glXQueryVersion = platform.createBaseFunction(
  284.     'glXQueryVersion', dll=platform.GL, resultType=c_int, 
  285.     argTypes=[POINTER(Display), POINTER(c_int), POINTER(c_int)],
  286.     doc='glXQueryVersion( POINTER(Display)(dpy), POINTER(c_int)(maj), POINTER(c_int)(min) ) -> c_int', 
  287.     argNames=['dpy', 'maj', 'min'],
  288. )
  289.  
  290. glXIsDirect = platform.createBaseFunction(
  291.     'glXIsDirect', dll=platform.GL, resultType=c_int, 
  292.     argTypes=[POINTER(Display), GLXContext],
  293.     doc='glXIsDirect( POINTER(Display)(dpy), GLXContext(ctx) ) -> c_int', 
  294.     argNames=['dpy', 'ctx'],
  295. )
  296.  
  297. glXGetConfig = platform.createBaseFunction(
  298.     'glXGetConfig', dll=platform.GL, resultType=c_int, 
  299.     argTypes=[POINTER(Display), POINTER(XVisualInfo), c_int, POINTER(c_int)],
  300.     doc='glXGetConfig( POINTER(Display)(dpy), POINTER(XVisualInfo)(visual), c_int(attrib), POINTER(c_int)(value) ) -> c_int', 
  301.     argNames=['dpy', 'visual', 'attrib', 'value'],
  302. )
  303.  
  304. glXGetCurrentContext = platform.createBaseFunction(
  305.     'glXGetCurrentContext', dll=platform.GL, resultType=GLXContext, 
  306.     argTypes=[],
  307.     doc='glXGetCurrentContext(  ) -> GLXContext', 
  308.     argNames=[],
  309. )
  310.  
  311. glXGetCurrentDrawable = platform.createBaseFunction(
  312.     'glXGetCurrentDrawable', dll=platform.GL, resultType=GLXDrawable, 
  313.     argTypes=[],
  314.     doc='glXGetCurrentDrawable(  ) -> GLXDrawable', 
  315.     argNames=[],
  316. )
  317.  
  318. glXWaitGL = platform.createBaseFunction(
  319.     'glXWaitGL', dll=platform.GL, resultType=None, 
  320.     argTypes=[],
  321.     doc='glXWaitGL(  ) -> None', 
  322.     argNames=[],
  323. )
  324.  
  325. glXWaitX = platform.createBaseFunction(
  326.     'glXWaitX', dll=platform.GL, resultType=None, 
  327.     argTypes=[],
  328.     doc='glXWaitX(  ) -> None', 
  329.     argNames=[],
  330. )
  331.  
  332. Font = XID     # /usr/include/X11/X.h:105
  333. glXUseXFont = platform.createBaseFunction(
  334.     'glXUseXFont', dll=platform.GL, resultType=None, 
  335.     argTypes=[Font, c_int, c_int, c_int],
  336.     doc='glXUseXFont( Font(font), c_int(first), c_int(count), c_int(list) ) -> None', 
  337.     argNames=['font', 'first', 'count', 'list'],
  338. )
  339.  
  340. glXQueryExtensionsString = platform.createBaseFunction(
  341.     'glXQueryExtensionsString', dll=platform.GL, resultType=c_char_p, 
  342.     argTypes=[POINTER(Display), c_int],
  343.     doc='glXQueryExtensionsString( POINTER(Display)(dpy), c_int(screen) ) -> c_char_p', 
  344.     argNames=['dpy', 'screen'],
  345. )
  346.  
  347. glXQueryServerString = platform.createBaseFunction(
  348.     'glXQueryServerString', dll=platform.GL, resultType=c_char_p, 
  349.     argTypes=[POINTER(Display), c_int, c_int],
  350.     doc='glXQueryServerString( POINTER(Display)(dpy), c_int(screen), c_int(name) ) -> c_char_p', 
  351.     argNames=['dpy', 'screen', 'name'],
  352. )
  353.  
  354. glXGetClientString = platform.createBaseFunction(
  355.     'glXGetClientString', dll=platform.GL, resultType=c_char_p, 
  356.     argTypes=[POINTER(Display), c_int],
  357.     doc='glXGetClientString( POINTER(Display)(dpy), c_int(name) ) -> c_char_p', 
  358.     argNames=['dpy', 'name'],
  359. )
  360.  
  361. glXGetCurrentDisplay = platform.createBaseFunction(
  362.     'glXGetCurrentDisplay', dll=platform.GL, resultType=POINTER(Display), 
  363.     argTypes=[],
  364.     doc='glXGetCurrentDisplay(  ) -> POINTER(Display)', 
  365.     argNames=[],
  366. )
  367.  
  368. glXChooseFBConfig = platform.createBaseFunction(
  369.     'glXChooseFBConfig', dll=platform.GL, resultType=POINTER(GLXFBConfig), 
  370.     argTypes=[POINTER(Display), c_int, POINTER(c_int), POINTER(c_int)],
  371.     doc='glXChooseFBConfig( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(attribList), POINTER(c_int)(nitems) ) -> POINTER(GLXFBConfig)', 
  372.     argNames=['dpy', 'screen', 'attribList', 'nitems'],
  373. )
  374.  
  375. glXGetFBConfigAttrib = platform.createBaseFunction(
  376.     'glXGetFBConfigAttrib', dll=platform.GL, resultType=c_int, 
  377.     argTypes=[POINTER(Display), GLXFBConfig, c_int, POINTER(c_int)],
  378.     doc='glXGetFBConfigAttrib( POINTER(Display)(dpy), GLXFBConfig(config), c_int(attribute), POINTER(c_int)(value) ) -> c_int', 
  379.     argNames=['dpy', 'config', 'attribute', 'value'],
  380. )
  381.  
  382. glXGetFBConfigs = platform.createBaseFunction(
  383.     'glXGetFBConfigs', dll=platform.GL, resultType=POINTER(GLXFBConfig), 
  384.     argTypes=[POINTER(Display), c_int, POINTER(c_int)],
  385.     doc='glXGetFBConfigs( POINTER(Display)(dpy), c_int(screen), POINTER(c_int)(nelements) ) -> POINTER(GLXFBConfig)', 
  386.     argNames=['dpy', 'screen', 'nelements'],
  387. )
  388.  
  389. glXGetVisualFromFBConfig = platform.createBaseFunction(
  390.     'glXGetVisualFromFBConfig', dll=platform.GL, resultType=POINTER(XVisualInfo), 
  391.     argTypes=[POINTER(Display), GLXFBConfig],
  392.     doc='glXGetVisualFromFBConfig( POINTER(Display)(dpy), GLXFBConfig(config) ) -> POINTER(XVisualInfo)', 
  393.     argNames=['dpy', 'config'],
  394. )
  395.  
  396. Window = XID     # /usr/include/X11/X.h:101
  397. glXCreateWindow = platform.createBaseFunction(
  398.     'glXCreateWindow', dll=platform.GL, resultType=GLXWindow, 
  399.     argTypes=[POINTER(Display), GLXFBConfig, Window, POINTER(c_int)],
  400.     doc='glXCreateWindow( POINTER(Display)(dpy), GLXFBConfig(config), Window(win), POINTER(c_int)(attribList) ) -> GLXWindow', 
  401.     argNames=['dpy', 'config', 'win', 'attribList'],
  402. )
  403.  
  404. glXDestroyWindow = platform.createBaseFunction(
  405.     'glXDestroyWindow', dll=platform.GL, resultType=None, 
  406.     argTypes=[POINTER(Display), GLXWindow],
  407.     doc='glXDestroyWindow( POINTER(Display)(dpy), GLXWindow(window) ) -> None', 
  408.     argNames=['dpy', 'window'],
  409. )
  410.  
  411. glXCreatePixmap = platform.createBaseFunction(
  412.     'glXCreatePixmap', dll=platform.GL, resultType=GLXPixmap, 
  413.     argTypes=[POINTER(Display), GLXFBConfig, Pixmap, POINTER(c_int)],
  414.     doc='glXCreatePixmap( POINTER(Display)(dpy), GLXFBConfig(config), Pixmap(pixmap), POINTER(c_int)(attribList) ) -> GLXPixmap', 
  415.     argNames=['dpy', 'config', 'pixmap', 'attribList'],
  416. )
  417.  
  418. glXDestroyPixmap = platform.createBaseFunction(
  419.     'glXDestroyPixmap', dll=platform.GL, resultType=None, 
  420.     argTypes=[POINTER(Display), GLXPixmap],
  421.     doc='glXDestroyPixmap( POINTER(Display)(dpy), GLXPixmap(pixmap) ) -> None', 
  422.     argNames=['dpy', 'pixmap'],
  423. )
  424.  
  425. glXCreatePbuffer = platform.createBaseFunction(
  426.     'glXCreatePbuffer', dll=platform.GL, resultType=GLXPbuffer, 
  427.     argTypes=[POINTER(Display), GLXFBConfig, POINTER(c_int)],
  428.     doc='glXCreatePbuffer( POINTER(Display)(dpy), GLXFBConfig(config), POINTER(c_int)(attribList) ) -> GLXPbuffer', 
  429.     argNames=['dpy', 'config', 'attribList'],
  430. )
  431.  
  432. glXDestroyPbuffer = platform.createBaseFunction(
  433.     'glXDestroyPbuffer', dll=platform.GL, resultType=None, 
  434.     argTypes=[POINTER(Display), GLXPbuffer],
  435.     doc='glXDestroyPbuffer( POINTER(Display)(dpy), GLXPbuffer(pbuf) ) -> None', 
  436.     argNames=['dpy', 'pbuf'],
  437. )
  438.  
  439. glXQueryDrawable = platform.createBaseFunction(
  440.     'glXQueryDrawable', dll=platform.GL, resultType=None, 
  441.     argTypes=[POINTER(Display), GLXDrawable, c_int, POINTER(c_uint)],
  442.     doc='glXQueryDrawable( POINTER(Display)(dpy), GLXDrawable(draw), c_int(attribute), POINTER(c_uint)(value) ) -> None', 
  443.     argNames=['dpy', 'draw', 'attribute', 'value'],
  444. )
  445.  
  446. glXCreateNewContext = platform.createBaseFunction(
  447.     'glXCreateNewContext', dll=platform.GL, resultType=GLXContext, 
  448.     argTypes=[POINTER(Display), GLXFBConfig, c_int, GLXContext, c_int],
  449.     doc='glXCreateNewContext( POINTER(Display)(dpy), GLXFBConfig(config), c_int(renderType), GLXContext(shareList), c_int(direct) ) -> GLXContext', 
  450.     argNames=['dpy', 'config', 'renderType', 'shareList', 'direct'],
  451. )
  452.  
  453. glXMakeContextCurrent = platform.createBaseFunction(
  454.     'glXMakeContextCurrent', dll=platform.GL, resultType=c_int, 
  455.     argTypes=[POINTER(Display), GLXDrawable, GLXDrawable, GLXContext],
  456.     doc='glXMakeContextCurrent( POINTER(Display)(dpy), GLXDrawable(draw), GLXDrawable(read), GLXContext(ctx) ) -> c_int', 
  457.     argNames=['dpy', 'draw', 'read', 'ctx'],
  458. )
  459.  
  460. glXGetCurrentReadDrawable = platform.createBaseFunction(
  461.     'glXGetCurrentReadDrawable', dll=platform.GL, resultType=GLXDrawable, 
  462.     argTypes=[],
  463.     doc='glXGetCurrentReadDrawable(  ) -> GLXDrawable', 
  464.     argNames=[],
  465. )
  466.  
  467. glXQueryContext = platform.createBaseFunction(
  468.     'glXQueryContext', dll=platform.GL, resultType=c_int, 
  469.     argTypes=[POINTER(Display), GLXContext, c_int, POINTER(c_int)],
  470.     doc='glXQueryContext( POINTER(Display)(dpy), GLXContext(ctx), c_int(attribute), POINTER(c_int)(value) ) -> c_int', 
  471.     argNames=['dpy', 'ctx', 'attribute', 'value'],
  472. )
  473.  
  474. glXSelectEvent = platform.createBaseFunction(
  475.     'glXSelectEvent', dll=platform.GL, resultType=None, 
  476.     argTypes=[POINTER(Display), GLXDrawable, c_ulong],
  477.     doc='glXSelectEvent( POINTER(Display)(dpy), GLXDrawable(drawable), c_ulong(mask) ) -> None', 
  478.     argNames=['dpy', 'drawable', 'mask'],
  479. )
  480.  
  481. glXGetSelectedEvent = platform.createBaseFunction(
  482.     'glXGetSelectedEvent', dll=platform.GL, resultType=None, 
  483.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_ulong)],
  484.     doc='glXGetSelectedEvent( POINTER(Display)(dpy), GLXDrawable(drawable), POINTER(c_ulong)(mask) ) -> None', 
  485.     argNames=['dpy', 'drawable', 'mask'],
  486. )
  487.  
  488. GLubyte = c_ubyte     # /usr/include/GL/gl.h:154
  489. glXGetProcAddress = platform.createBaseFunction(
  490.     'glXGetProcAddress', dll=platform.GL, resultType=POINTER(CFUNCTYPE(None)), 
  491.     argTypes=[POINTER(GLubyte)],
  492.     doc='glXGetProcAddress( POINTER(GLubyte)(procname) ) -> POINTER(CFUNCTYPE(None))', 
  493.     argNames=['procname'],
  494. )
  495.  
  496. # GLXEXT_LEGACY (/usr/include/GL/glx.h:298)
  497. # VERSION_1_3 (/usr/include/GL/glxext.h:53)
  498. # VERSION_1_4 (/usr/include/GL/glxext.h:112)
  499. # ARB_get_proc_address (/usr/include/GL/glxext.h:117)
  500. # ARB_multisample (/usr/include/GL/glxext.h:120)
  501. # ARB_fbconfig_float (/usr/include/GL/glxext.h:125)
  502. # SGIS_multisample (/usr/include/GL/glxext.h:130)
  503. # EXT_visual_info (/usr/include/GL/glxext.h:135)
  504. # SGI_swap_control (/usr/include/GL/glxext.h:154)
  505. # SGI_video_sync (/usr/include/GL/glxext.h:157)
  506. # SGI_make_current_read (/usr/include/GL/glxext.h:160)
  507. # SGIX_video_source (/usr/include/GL/glxext.h:163)
  508. # EXT_visual_rating (/usr/include/GL/glxext.h:166)
  509. # EXT_import_context (/usr/include/GL/glxext.h:173)
  510. # SGIX_fbconfig (/usr/include/GL/glxext.h:179)
  511. # SGIX_pbuffer (/usr/include/GL/glxext.h:193)
  512. # SGI_cushion (/usr/include/GL/glxext.h:221)
  513. # SGIX_video_resize (/usr/include/GL/glxext.h:224)
  514. # SGIX_dmbuffer (/usr/include/GL/glxext.h:229)
  515. # SGIX_swap_group (/usr/include/GL/glxext.h:233)
  516. # SGIX_swap_barrier (/usr/include/GL/glxext.h:236)
  517. # SGIS_blended_overlay (/usr/include/GL/glxext.h:239)
  518. # SGIS_shared_multisample (/usr/include/GL/glxext.h:243)
  519. # SUN_get_transparent_index (/usr/include/GL/glxext.h:248)
  520. # 3DFX_multisample (/usr/include/GL/glxext.h:251)
  521. # MESA_copy_sub_buffer (/usr/include/GL/glxext.h:256)
  522. # MESA_pixmap_colormap (/usr/include/GL/glxext.h:259)
  523. # MESA_release_buffers (/usr/include/GL/glxext.h:262)
  524. # MESA_set_3dfx_mode (/usr/include/GL/glxext.h:265)
  525. # SGIX_visual_select_group (/usr/include/GL/glxext.h:270)
  526. # OML_swap_method (/usr/include/GL/glxext.h:274)
  527. # OML_sync_control (/usr/include/GL/glxext.h:281)
  528. # NV_float_buffer (/usr/include/GL/glxext.h:284)
  529. # SGIX_hyperpipe (/usr/include/GL/glxext.h:288)
  530. # MESA_agp_offset (/usr/include/GL/glxext.h:301)
  531. # EXT_fbconfig_packed_float (/usr/include/GL/glxext.h:304)
  532. # EXT_framebuffer_sRGB (/usr/include/GL/glxext.h:309)
  533. # EXT_texture_from_pixmap (/usr/include/GL/glxext.h:313)
  534. # ARB_get_proc_address (/usr/include/GL/glxext.h:352)
  535. # SGIX_video_source (/usr/include/GL/glxext.h:356)
  536. # SGIX_fbconfig (/usr/include/GL/glxext.h:360)
  537. # SGIX_pbuffer (/usr/include/GL/glxext.h:365)
  538. # VERSION_1_3 (/usr/include/GL/glxext.h:419)
  539. # VERSION_1_4 (/usr/include/GL/glxext.h:461)
  540. # ARB_get_proc_address (/usr/include/GL/glxext.h:469)
  541. # ARB_multisample (/usr/include/GL/glxext.h:477)
  542. # ARB_fbconfig_float (/usr/include/GL/glxext.h:481)
  543. # SGIS_multisample (/usr/include/GL/glxext.h:485)
  544. # EXT_visual_info (/usr/include/GL/glxext.h:489)
  545. # SGI_swap_control (/usr/include/GL/glxext.h:493)
  546. # SGI_video_sync (/usr/include/GL/glxext.h:501)
  547. # SGI_make_current_read (/usr/include/GL/glxext.h:511)
  548. # SGIX_video_source (/usr/include/GL/glxext.h:521)
  549. # EXT_visual_rating (/usr/include/GL/glxext.h:533)
  550. # EXT_import_context (/usr/include/GL/glxext.h:537)
  551. # SGIX_fbconfig (/usr/include/GL/glxext.h:553)
  552. # SGIX_pbuffer (/usr/include/GL/glxext.h:571)
  553. # SGI_cushion (/usr/include/GL/glxext.h:587)
  554. # SGIX_video_resize (/usr/include/GL/glxext.h:595)
  555. # SGIX_dmbuffer (/usr/include/GL/glxext.h:611)
  556. # SGIX_swap_group (/usr/include/GL/glxext.h:621)
  557. # SGIX_swap_barrier (/usr/include/GL/glxext.h:629)
  558. # SUN_get_transparent_index (/usr/include/GL/glxext.h:639)
  559. # MESA_copy_sub_buffer (/usr/include/GL/glxext.h:647)
  560. # MESA_pixmap_colormap (/usr/include/GL/glxext.h:655)
  561. # MESA_release_buffers (/usr/include/GL/glxext.h:663)
  562. # MESA_set_3dfx_mode (/usr/include/GL/glxext.h:671)
  563. # SGIX_visual_select_group (/usr/include/GL/glxext.h:679)
  564. # OML_swap_method (/usr/include/GL/glxext.h:683)
  565. # OML_sync_control (/usr/include/GL/glxext.h:687)
  566. # NV_float_buffer (/usr/include/GL/glxext.h:703)
  567. # SGIX_hyperpipe (/usr/include/GL/glxext.h:707)
  568. # MESA_agp_offset (/usr/include/GL/glxext.h:754)
  569. # EXT_fbconfig_packed_float (/usr/include/GL/glxext.h:762)
  570. # EXT_framebuffer_sRGB (/usr/include/GL/glxext.h:766)
  571. # EXT_texture_from_pixmap (/usr/include/GL/glxext.h:770)
  572. # NV_vertex_array_range (/usr/include/GL/glx.h:330)
  573. GLsizei = c_int     # /usr/include/GL/gl.h:157
  574. GLfloat = c_float     # /usr/include/GL/gl.h:158
  575. glXAllocateMemoryNV = platform.createBaseFunction(
  576.     'glXAllocateMemoryNV', dll=platform.GL, resultType=POINTER(c_void), 
  577.     argTypes=[GLsizei, GLfloat, GLfloat, GLfloat],
  578.     doc='glXAllocateMemoryNV( GLsizei(size), GLfloat(readfreq), GLfloat(writefreq), GLfloat(priority) ) -> POINTER(c_void)', 
  579.     argNames=['size', 'readfreq', 'writefreq', 'priority'],
  580. )
  581.  
  582. GLvoid = None     # /usr/include/GL/gl.h:150
  583. glXFreeMemoryNV = platform.createBaseFunction(
  584.     'glXFreeMemoryNV', dll=platform.GL, resultType=None, 
  585.     argTypes=[POINTER(GLvoid)],
  586.     doc='glXFreeMemoryNV( POINTER(GLvoid)(pointer) ) -> None', 
  587.     argNames=['pointer'],
  588. )
  589.  
  590. # MESA_allocate_memory (/usr/include/GL/glx.h:344)
  591. GLX_MESA_allocate_memory = constant.Constant( 'GLX_MESA_allocate_memory', 1 )
  592. glXAllocateMemoryMESA = platform.createBaseFunction(
  593.     'glXAllocateMemoryMESA', dll=platform.GL, resultType=POINTER(c_void), 
  594.     argTypes=[POINTER(Display), c_int, c_size_t, c_float, c_float, c_float],
  595.     doc='glXAllocateMemoryMESA( POINTER(Display)(dpy), c_int(scrn), c_size_t(size), c_float(readfreq), c_float(writefreq), c_float(priority) ) -> POINTER(c_void)', 
  596.     argNames=['dpy', 'scrn', 'size', 'readfreq', 'writefreq', 'priority'],
  597. )
  598.  
  599. glXFreeMemoryMESA = platform.createBaseFunction(
  600.     'glXFreeMemoryMESA', dll=platform.GL, resultType=None, 
  601.     argTypes=[POINTER(Display), c_int, POINTER(None)],
  602.     doc='glXFreeMemoryMESA( POINTER(Display)(dpy), c_int(scrn), POINTER(None)(pointer) ) -> None', 
  603.     argNames=['dpy', 'scrn', 'pointer'],
  604. )
  605.  
  606. GLuint = c_uint     # /usr/include/GL/gl.h:156
  607. glXGetMemoryOffsetMESA = platform.createBaseFunction(
  608.     'glXGetMemoryOffsetMESA', dll=platform.GL, resultType=GLuint, 
  609.     argTypes=[POINTER(Display), c_int, POINTER(None)],
  610.     doc='glXGetMemoryOffsetMESA( POINTER(Display)(dpy), c_int(scrn), POINTER(None)(pointer) ) -> GLuint', 
  611.     argNames=['dpy', 'scrn', 'pointer'],
  612. )
  613.  
  614. # ARB_render_texture (/usr/include/GL/glx.h:361)
  615. GLX_ARB_render_texture = constant.Constant( 'GLX_ARB_render_texture', 1 )
  616. glXBindTexImageARB = platform.createBaseFunction(
  617.     'glXBindTexImageARB', dll=platform.GL, resultType=c_int, 
  618.     argTypes=[POINTER(Display), GLXPbuffer, c_int],
  619.     doc='glXBindTexImageARB( POINTER(Display)(dpy), GLXPbuffer(pbuffer), c_int(buffer) ) -> c_int', 
  620.     argNames=['dpy', 'pbuffer', 'buffer'],
  621. )
  622.  
  623. glXReleaseTexImageARB = platform.createBaseFunction(
  624.     'glXReleaseTexImageARB', dll=platform.GL, resultType=c_int, 
  625.     argTypes=[POINTER(Display), GLXPbuffer, c_int],
  626.     doc='glXReleaseTexImageARB( POINTER(Display)(dpy), GLXPbuffer(pbuffer), c_int(buffer) ) -> c_int', 
  627.     argNames=['dpy', 'pbuffer', 'buffer'],
  628. )
  629.  
  630. glXDrawableAttribARB = platform.createBaseFunction(
  631.     'glXDrawableAttribARB', dll=platform.GL, resultType=c_int, 
  632.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_int)],
  633.     doc='glXDrawableAttribARB( POINTER(Display)(dpy), GLXDrawable(draw), POINTER(c_int)(attribList) ) -> c_int', 
  634.     argNames=['dpy', 'draw', 'attribList'],
  635. )
  636.  
  637. # NV_float_buffer (/usr/include/GL/glx.h:374)
  638. # MESA_swap_frame_usage (/usr/include/GL/glx.h:386)
  639. GLX_MESA_swap_frame_usage = constant.Constant( 'GLX_MESA_swap_frame_usage', 1 )
  640. glXGetFrameUsageMESA = platform.createBaseFunction(
  641.     'glXGetFrameUsageMESA', dll=platform.GL, resultType=c_int, 
  642.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_float)],
  643.     doc='glXGetFrameUsageMESA( POINTER(Display)(dpy), GLXDrawable(drawable), POINTER(c_float)(usage) ) -> c_int', 
  644.     argNames=['dpy', 'drawable', 'usage'],
  645. )
  646.  
  647. glXBeginFrameTrackingMESA = platform.createBaseFunction(
  648.     'glXBeginFrameTrackingMESA', dll=platform.GL, resultType=c_int, 
  649.     argTypes=[POINTER(Display), GLXDrawable],
  650.     doc='glXBeginFrameTrackingMESA( POINTER(Display)(dpy), GLXDrawable(drawable) ) -> c_int', 
  651.     argNames=['dpy', 'drawable'],
  652. )
  653.  
  654. glXEndFrameTrackingMESA = platform.createBaseFunction(
  655.     'glXEndFrameTrackingMESA', dll=platform.GL, resultType=c_int, 
  656.     argTypes=[POINTER(Display), GLXDrawable],
  657.     doc='glXEndFrameTrackingMESA( POINTER(Display)(dpy), GLXDrawable(drawable) ) -> c_int', 
  658.     argNames=['dpy', 'drawable'],
  659. )
  660.  
  661. glXQueryFrameTrackingMESA = platform.createBaseFunction(
  662.     'glXQueryFrameTrackingMESA', dll=platform.GL, resultType=c_int, 
  663.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_int64), POINTER(c_int64), POINTER(c_float)],
  664.     doc='glXQueryFrameTrackingMESA( POINTER(Display)(dpy), GLXDrawable(drawable), POINTER(c_int64)(swapCount), POINTER(c_int64)(missedFrames), POINTER(c_float)(lastMissedUsage) ) -> c_int', 
  665.     argNames=['dpy', 'drawable', 'swapCount', 'missedFrames', 'lastMissedUsage'],
  666. )
  667.  
  668. # MESA_swap_control (/usr/include/GL/glx.h:406)
  669. GLX_MESA_swap_control = constant.Constant( 'GLX_MESA_swap_control', 1 )
  670. glXSwapIntervalMESA = platform.createBaseFunction(
  671.     'glXSwapIntervalMESA', dll=platform.GL, resultType=c_int, 
  672.     argTypes=[c_uint],
  673.     doc='glXSwapIntervalMESA( c_uint(interval) ) -> c_int', 
  674.     argNames=['interval'],
  675. )
  676.  
  677. glXGetSwapIntervalMESA = platform.createBaseFunction(
  678.     'glXGetSwapIntervalMESA', dll=platform.GL, resultType=c_int, 
  679.     argTypes=[],
  680.     doc='glXGetSwapIntervalMESA(  ) -> c_int', 
  681.     argNames=[],
  682. )
  683.  
  684. # EXT_texture_from_pixmap (/usr/include/GL/glx.h:423)
  685. class struct_anon_108(Structure):
  686.     __slots__ = [
  687.         'event_type',
  688.         'draw_type',
  689.         'serial',
  690.         'send_event',
  691.         'display',
  692.         'drawable',
  693.         'buffer_mask',
  694.         'aux_buffer',
  695.         'x',
  696.         'y',
  697.         'width',
  698.         'height',
  699.         'count',
  700.     ]
  701. struct_anon_108._fields_ = [
  702.     ('event_type', c_int),
  703.     ('draw_type', c_int),
  704.     ('serial', c_ulong),
  705.     ('send_event', c_int),
  706.     ('display', POINTER(Display)),
  707.     ('drawable', GLXDrawable),
  708.     ('buffer_mask', c_uint),
  709.     ('aux_buffer', c_uint),
  710.     ('x', c_int),
  711.     ('y', c_int),
  712.     ('width', c_int),
  713.     ('height', c_int),
  714.     ('count', c_int),
  715. ]
  716.  
  717. GLXPbufferClobberEvent = struct_anon_108     # /usr/include/GL/glx.h:489
  718. class struct___GLXEvent(Union):
  719.     __slots__ = [
  720.         'glxpbufferclobber',
  721.         'pad',
  722.     ]
  723. struct___GLXEvent._fields_ = [
  724.     ('glxpbufferclobber', GLXPbufferClobberEvent),
  725.     ('pad', c_long * 24),
  726. ]
  727.  
  728. GLXEvent = struct___GLXEvent     # /usr/include/GL/glx.h:494
  729.  
  730. __all__ = ['GLX_VERSION_1_1', 'GLX_VERSION_1_2', 'GLX_VERSION_1_3',
  731. 'GLX_VERSION_1_4', 'GLX_USE_GL', 'GLX_BUFFER_SIZE', 'GLX_LEVEL', 'GLX_RGBA',
  732. 'GLX_DOUBLEBUFFER', 'GLX_STEREO', 'GLX_AUX_BUFFERS', 'GLX_RED_SIZE',
  733. 'GLX_GREEN_SIZE', 'GLX_BLUE_SIZE', 'GLX_ALPHA_SIZE', 'GLX_DEPTH_SIZE',
  734. 'GLX_STENCIL_SIZE', 'GLX_ACCUM_RED_SIZE', 'GLX_ACCUM_GREEN_SIZE',
  735. 'GLX_ACCUM_BLUE_SIZE', 'GLX_ACCUM_ALPHA_SIZE', 'GLX_BAD_SCREEN',
  736. 'GLX_BAD_ATTRIBUTE', 'GLX_NO_EXTENSION', 'GLX_BAD_VISUAL', 'GLX_BAD_CONTEXT',
  737. 'GLX_BAD_VALUE', 'GLX_BAD_ENUM', 'GLX_VENDOR', 'GLX_VERSION',
  738. 'GLX_EXTENSIONS', 'GLX_CONFIG_CAVEAT', 'GLX_DONT_CARE', 'GLX_X_VISUAL_TYPE',
  739. 'GLX_TRANSPARENT_TYPE', 'GLX_TRANSPARENT_INDEX_VALUE',
  740. 'GLX_TRANSPARENT_RED_VALUE', 'GLX_TRANSPARENT_GREEN_VALUE',
  741. 'GLX_TRANSPARENT_BLUE_VALUE', 'GLX_TRANSPARENT_ALPHA_VALUE', 'GLX_WINDOW_BIT',
  742. 'GLX_PIXMAP_BIT', 'GLX_PBUFFER_BIT', 'GLX_AUX_BUFFERS_BIT',
  743. 'GLX_FRONT_LEFT_BUFFER_BIT', 'GLX_FRONT_RIGHT_BUFFER_BIT',
  744. 'GLX_BACK_LEFT_BUFFER_BIT', 'GLX_BACK_RIGHT_BUFFER_BIT',
  745. 'GLX_DEPTH_BUFFER_BIT', 'GLX_STENCIL_BUFFER_BIT', 'GLX_ACCUM_BUFFER_BIT',
  746. 'GLX_NONE', 'GLX_SLOW_CONFIG', 'GLX_TRUE_COLOR', 'GLX_DIRECT_COLOR',
  747. 'GLX_PSEUDO_COLOR', 'GLX_STATIC_COLOR', 'GLX_GRAY_SCALE', 'GLX_STATIC_GRAY',
  748. 'GLX_TRANSPARENT_RGB', 'GLX_TRANSPARENT_INDEX', 'GLX_VISUAL_ID', 'GLX_SCREEN',
  749. 'GLX_NON_CONFORMANT_CONFIG', 'GLX_DRAWABLE_TYPE', 'GLX_RENDER_TYPE',
  750. 'GLX_X_RENDERABLE', 'GLX_FBCONFIG_ID', 'GLX_RGBA_TYPE',
  751. 'GLX_COLOR_INDEX_TYPE', 'GLX_MAX_PBUFFER_WIDTH', 'GLX_MAX_PBUFFER_HEIGHT',
  752. 'GLX_MAX_PBUFFER_PIXELS', 'GLX_PRESERVED_CONTENTS', 'GLX_LARGEST_PBUFFER',
  753. 'GLX_WIDTH', 'GLX_HEIGHT', 'GLX_EVENT_MASK', 'GLX_DAMAGED', 'GLX_SAVED',
  754. 'GLX_WINDOW', 'GLX_PBUFFER', 'GLX_PBUFFER_HEIGHT', 'GLX_PBUFFER_WIDTH',
  755. 'GLX_RGBA_BIT', 'GLX_COLOR_INDEX_BIT', 'GLX_PBUFFER_CLOBBER_MASK',
  756. 'GLX_SAMPLE_BUFFERS', 'GLX_SAMPLES', 'GLXContext', 'GLXPixmap', 'GLXDrawable',
  757. 'GLXFBConfig', 'GLXFBConfigID', 'GLXContextID', 'GLXWindow', 'GLXPbuffer',
  758. 'glXChooseVisual', 'glXCreateContext', 'glXDestroyContext', 'glXMakeCurrent',
  759. 'glXCopyContext', 'glXSwapBuffers', 'glXCreateGLXPixmap',
  760. 'glXDestroyGLXPixmap', 'glXQueryExtension', 'glXQueryVersion', 'glXIsDirect',
  761. 'glXGetConfig', 'glXGetCurrentContext', 'glXGetCurrentDrawable', 'glXWaitGL',
  762. 'glXWaitX', 'glXUseXFont', 'glXQueryExtensionsString', 'glXQueryServerString',
  763. 'glXGetClientString', 'glXGetCurrentDisplay', 'glXChooseFBConfig',
  764. 'glXGetFBConfigAttrib', 'glXGetFBConfigs', 'glXGetVisualFromFBConfig',
  765. 'glXCreateWindow', 'glXDestroyWindow', 'glXCreatePixmap', 'glXDestroyPixmap',
  766. 'glXCreatePbuffer', 'glXDestroyPbuffer', 'glXQueryDrawable',
  767. 'glXCreateNewContext', 'glXMakeContextCurrent', 'glXGetCurrentReadDrawable',
  768. 'glXQueryContext', 'glXSelectEvent', 'glXGetSelectedEvent',
  769. 'glXGetProcAddress', 'glXAllocateMemoryNV', 'glXFreeMemoryNV',
  770. 'GLX_MESA_allocate_memory', 'glXAllocateMemoryMESA', 'glXFreeMemoryMESA',
  771. 'glXGetMemoryOffsetMESA', 'GLX_ARB_render_texture', 'glXBindTexImageARB',
  772. 'glXReleaseTexImageARB', 'glXDrawableAttribARB', 'GLX_MESA_swap_frame_usage',
  773. 'glXGetFrameUsageMESA', 'glXBeginFrameTrackingMESA',
  774. 'glXEndFrameTrackingMESA', 'glXQueryFrameTrackingMESA',
  775. 'GLX_MESA_swap_control', 'glXSwapIntervalMESA', 'glXGetSwapIntervalMESA',
  776. 'GLXPbufferClobberEvent', 'GLXEvent']
  777. # END GENERATED CONTENT (do not edit above this line)
  778.  
  779.