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_ARB.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  35.9 KB  |  778 lines

  1. # BEGIN GENERATED CONTENT (do not edit below this line)
  2.  
  3. # This content is generated by gengl.py.
  4. # Wrapper for http://oss.sgi.com/projects/ogl-sample/ABI/glxext.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. # GLXEXT_LEGACY (/usr/include/GL/glx.h:298)
  12. GLX_GLXEXT_VERSION = constant.Constant( 'GLX_GLXEXT_VERSION', 11 )
  13. # VERSION_1_3 (GL/glxext.h:59)
  14. # VERSION_1_4 (GL/glxext.h:118)
  15. # ARB_get_proc_address (GL/glxext.h:123)
  16. # ARB_multisample (GL/glxext.h:126)
  17. GLX_SAMPLE_BUFFERS_ARB = constant.Constant( 'GLX_SAMPLE_BUFFERS_ARB', 100000 )
  18. GLX_SAMPLES_ARB = constant.Constant( 'GLX_SAMPLES_ARB', 100001 )
  19. # ARB_fbconfig_float (GL/glxext.h:131)
  20. GLX_RGBA_FLOAT_TYPE_ARB = constant.Constant( 'GLX_RGBA_FLOAT_TYPE_ARB', 8377 )
  21. GLX_RGBA_FLOAT_BIT_ARB = constant.Constant( 'GLX_RGBA_FLOAT_BIT_ARB', 4 )
  22. # SGIS_multisample (GL/glxext.h:136)
  23. GLX_SAMPLE_BUFFERS_SGIS = constant.Constant( 'GLX_SAMPLE_BUFFERS_SGIS', 100000 )
  24. GLX_SAMPLES_SGIS = constant.Constant( 'GLX_SAMPLES_SGIS', 100001 )
  25. # EXT_visual_info (GL/glxext.h:141)
  26. GLX_X_VISUAL_TYPE_EXT = constant.Constant( 'GLX_X_VISUAL_TYPE_EXT', 34 )
  27. GLX_TRANSPARENT_TYPE_EXT = constant.Constant( 'GLX_TRANSPARENT_TYPE_EXT', 35 )
  28. GLX_TRANSPARENT_INDEX_VALUE_EXT = constant.Constant( 'GLX_TRANSPARENT_INDEX_VALUE_EXT', 36 )
  29. GLX_TRANSPARENT_RED_VALUE_EXT = constant.Constant( 'GLX_TRANSPARENT_RED_VALUE_EXT', 37 )
  30. GLX_TRANSPARENT_GREEN_VALUE_EXT = constant.Constant( 'GLX_TRANSPARENT_GREEN_VALUE_EXT', 38 )
  31. GLX_TRANSPARENT_BLUE_VALUE_EXT = constant.Constant( 'GLX_TRANSPARENT_BLUE_VALUE_EXT', 39 )
  32. GLX_TRANSPARENT_ALPHA_VALUE_EXT = constant.Constant( 'GLX_TRANSPARENT_ALPHA_VALUE_EXT', 40 )
  33. GLX_NONE_EXT = constant.Constant( 'GLX_NONE_EXT', 32768 )
  34. GLX_TRUE_COLOR_EXT = constant.Constant( 'GLX_TRUE_COLOR_EXT', 32770 )
  35. GLX_DIRECT_COLOR_EXT = constant.Constant( 'GLX_DIRECT_COLOR_EXT', 32771 )
  36. GLX_PSEUDO_COLOR_EXT = constant.Constant( 'GLX_PSEUDO_COLOR_EXT', 32772 )
  37. GLX_STATIC_COLOR_EXT = constant.Constant( 'GLX_STATIC_COLOR_EXT', 32773 )
  38. GLX_GRAY_SCALE_EXT = constant.Constant( 'GLX_GRAY_SCALE_EXT', 32774 )
  39. GLX_STATIC_GRAY_EXT = constant.Constant( 'GLX_STATIC_GRAY_EXT', 32775 )
  40. GLX_TRANSPARENT_RGB_EXT = constant.Constant( 'GLX_TRANSPARENT_RGB_EXT', 32776 )
  41. GLX_TRANSPARENT_INDEX_EXT = constant.Constant( 'GLX_TRANSPARENT_INDEX_EXT', 32777 )
  42. # SGI_swap_control (GL/glxext.h:160)
  43. # SGI_video_sync (GL/glxext.h:163)
  44. # SGI_make_current_read (GL/glxext.h:166)
  45. # SGIX_video_source (GL/glxext.h:169)
  46. # EXT_visual_rating (GL/glxext.h:172)
  47. GLX_VISUAL_CAVEAT_EXT = constant.Constant( 'GLX_VISUAL_CAVEAT_EXT', 32 )
  48. GLX_SLOW_VISUAL_EXT = constant.Constant( 'GLX_SLOW_VISUAL_EXT', 32769 )
  49. GLX_NON_CONFORMANT_VISUAL_EXT = constant.Constant( 'GLX_NON_CONFORMANT_VISUAL_EXT', 32781 )
  50. # EXT_import_context (GL/glxext.h:179)
  51. GLX_SHARE_CONTEXT_EXT = constant.Constant( 'GLX_SHARE_CONTEXT_EXT', 32778 )
  52. GLX_VISUAL_ID_EXT = constant.Constant( 'GLX_VISUAL_ID_EXT', 32779 )
  53. GLX_SCREEN_EXT = constant.Constant( 'GLX_SCREEN_EXT', 32780 )
  54. # SGIX_fbconfig (GL/glxext.h:185)
  55. GLX_WINDOW_BIT_SGIX = constant.Constant( 'GLX_WINDOW_BIT_SGIX', 1 )
  56. GLX_PIXMAP_BIT_SGIX = constant.Constant( 'GLX_PIXMAP_BIT_SGIX', 2 )
  57. GLX_RGBA_BIT_SGIX = constant.Constant( 'GLX_RGBA_BIT_SGIX', 1 )
  58. GLX_COLOR_INDEX_BIT_SGIX = constant.Constant( 'GLX_COLOR_INDEX_BIT_SGIX', 2 )
  59. GLX_DRAWABLE_TYPE_SGIX = constant.Constant( 'GLX_DRAWABLE_TYPE_SGIX', 32784 )
  60. GLX_RENDER_TYPE_SGIX = constant.Constant( 'GLX_RENDER_TYPE_SGIX', 32785 )
  61. GLX_X_RENDERABLE_SGIX = constant.Constant( 'GLX_X_RENDERABLE_SGIX', 32786 )
  62. GLX_FBCONFIG_ID_SGIX = constant.Constant( 'GLX_FBCONFIG_ID_SGIX', 32787 )
  63. GLX_RGBA_TYPE_SGIX = constant.Constant( 'GLX_RGBA_TYPE_SGIX', 32788 )
  64. GLX_COLOR_INDEX_TYPE_SGIX = constant.Constant( 'GLX_COLOR_INDEX_TYPE_SGIX', 32789 )
  65. # SGIX_pbuffer (GL/glxext.h:199)
  66. GLX_PBUFFER_BIT_SGIX = constant.Constant( 'GLX_PBUFFER_BIT_SGIX', 4 )
  67. GLX_BUFFER_CLOBBER_MASK_SGIX = constant.Constant( 'GLX_BUFFER_CLOBBER_MASK_SGIX', 134217728 )
  68. GLX_FRONT_LEFT_BUFFER_BIT_SGIX = constant.Constant( 'GLX_FRONT_LEFT_BUFFER_BIT_SGIX', 1 )
  69. GLX_FRONT_RIGHT_BUFFER_BIT_SGIX = constant.Constant( 'GLX_FRONT_RIGHT_BUFFER_BIT_SGIX', 2 )
  70. GLX_BACK_LEFT_BUFFER_BIT_SGIX = constant.Constant( 'GLX_BACK_LEFT_BUFFER_BIT_SGIX', 4 )
  71. GLX_BACK_RIGHT_BUFFER_BIT_SGIX = constant.Constant( 'GLX_BACK_RIGHT_BUFFER_BIT_SGIX', 8 )
  72. GLX_AUX_BUFFERS_BIT_SGIX = constant.Constant( 'GLX_AUX_BUFFERS_BIT_SGIX', 16 )
  73. GLX_DEPTH_BUFFER_BIT_SGIX = constant.Constant( 'GLX_DEPTH_BUFFER_BIT_SGIX', 32 )
  74. GLX_STENCIL_BUFFER_BIT_SGIX = constant.Constant( 'GLX_STENCIL_BUFFER_BIT_SGIX', 64 )
  75. GLX_ACCUM_BUFFER_BIT_SGIX = constant.Constant( 'GLX_ACCUM_BUFFER_BIT_SGIX', 128 )
  76. GLX_SAMPLE_BUFFERS_BIT_SGIX = constant.Constant( 'GLX_SAMPLE_BUFFERS_BIT_SGIX', 256 )
  77. GLX_MAX_PBUFFER_WIDTH_SGIX = constant.Constant( 'GLX_MAX_PBUFFER_WIDTH_SGIX', 32790 )
  78. GLX_MAX_PBUFFER_HEIGHT_SGIX = constant.Constant( 'GLX_MAX_PBUFFER_HEIGHT_SGIX', 32791 )
  79. GLX_MAX_PBUFFER_PIXELS_SGIX = constant.Constant( 'GLX_MAX_PBUFFER_PIXELS_SGIX', 32792 )
  80. GLX_OPTIMAL_PBUFFER_WIDTH_SGIX = constant.Constant( 'GLX_OPTIMAL_PBUFFER_WIDTH_SGIX', 32793 )
  81. GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX = constant.Constant( 'GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX', 32794 )
  82. GLX_PRESERVED_CONTENTS_SGIX = constant.Constant( 'GLX_PRESERVED_CONTENTS_SGIX', 32795 )
  83. GLX_LARGEST_PBUFFER_SGIX = constant.Constant( 'GLX_LARGEST_PBUFFER_SGIX', 32796 )
  84. GLX_WIDTH_SGIX = constant.Constant( 'GLX_WIDTH_SGIX', 32797 )
  85. GLX_HEIGHT_SGIX = constant.Constant( 'GLX_HEIGHT_SGIX', 32798 )
  86. GLX_EVENT_MASK_SGIX = constant.Constant( 'GLX_EVENT_MASK_SGIX', 32799 )
  87. GLX_DAMAGED_SGIX = constant.Constant( 'GLX_DAMAGED_SGIX', 32800 )
  88. GLX_SAVED_SGIX = constant.Constant( 'GLX_SAVED_SGIX', 32801 )
  89. GLX_WINDOW_SGIX = constant.Constant( 'GLX_WINDOW_SGIX', 32802 )
  90. GLX_PBUFFER_SGIX = constant.Constant( 'GLX_PBUFFER_SGIX', 32803 )
  91. # SGI_cushion (GL/glxext.h:227)
  92. # SGIX_video_resize (GL/glxext.h:230)
  93. GLX_SYNC_FRAME_SGIX = constant.Constant( 'GLX_SYNC_FRAME_SGIX', 0 )
  94. GLX_SYNC_SWAP_SGIX = constant.Constant( 'GLX_SYNC_SWAP_SGIX', 1 )
  95. # SGIX_dmbuffer (GL/glxext.h:235)
  96. GLX_DIGITAL_MEDIA_PBUFFER_SGIX = constant.Constant( 'GLX_DIGITAL_MEDIA_PBUFFER_SGIX', 32804 )
  97. # SGIX_swap_group (GL/glxext.h:239)
  98. # SGIX_swap_barrier (GL/glxext.h:242)
  99. # SGIS_blended_overlay (GL/glxext.h:245)
  100. GLX_BLENDED_RGBA_SGIS = constant.Constant( 'GLX_BLENDED_RGBA_SGIS', 32805 )
  101. # SGIS_shared_multisample (GL/glxext.h:249)
  102. GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS = constant.Constant( 'GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS', 32806 )
  103. GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS = constant.Constant( 'GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS', 32807 )
  104. # SUN_get_transparent_index (GL/glxext.h:254)
  105. # 3DFX_multisample (GL/glxext.h:257)
  106. GLX_SAMPLE_BUFFERS_3DFX = constant.Constant( 'GLX_SAMPLE_BUFFERS_3DFX', 32848 )
  107. GLX_SAMPLES_3DFX = constant.Constant( 'GLX_SAMPLES_3DFX', 32849 )
  108. # MESA_copy_sub_buffer (GL/glxext.h:262)
  109. # MESA_pixmap_colormap (GL/glxext.h:265)
  110. # MESA_release_buffers (GL/glxext.h:268)
  111. # MESA_set_3dfx_mode (GL/glxext.h:271)
  112. GLX_3DFX_WINDOW_MODE_MESA = constant.Constant( 'GLX_3DFX_WINDOW_MODE_MESA', 1 )
  113. GLX_3DFX_FULLSCREEN_MODE_MESA = constant.Constant( 'GLX_3DFX_FULLSCREEN_MODE_MESA', 2 )
  114. # SGIX_visual_select_group (GL/glxext.h:276)
  115. GLX_VISUAL_SELECT_GROUP_SGIX = constant.Constant( 'GLX_VISUAL_SELECT_GROUP_SGIX', 32808 )
  116. # OML_swap_method (GL/glxext.h:280)
  117. GLX_SWAP_METHOD_OML = constant.Constant( 'GLX_SWAP_METHOD_OML', 32864 )
  118. GLX_SWAP_EXCHANGE_OML = constant.Constant( 'GLX_SWAP_EXCHANGE_OML', 32865 )
  119. GLX_SWAP_COPY_OML = constant.Constant( 'GLX_SWAP_COPY_OML', 32866 )
  120. GLX_SWAP_UNDEFINED_OML = constant.Constant( 'GLX_SWAP_UNDEFINED_OML', 32867 )
  121. # OML_sync_control (GL/glxext.h:287)
  122. # NV_float_buffer (GL/glxext.h:290)
  123. GLX_FLOAT_COMPONENTS_NV = constant.Constant( 'GLX_FLOAT_COMPONENTS_NV', 8368 )
  124. # SGIX_hyperpipe (GL/glxext.h:294)
  125. GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX = constant.Constant( 'GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX', 80 )
  126. GLX_BAD_HYPERPIPE_CONFIG_SGIX = constant.Constant( 'GLX_BAD_HYPERPIPE_CONFIG_SGIX', 91 )
  127. GLX_BAD_HYPERPIPE_SGIX = constant.Constant( 'GLX_BAD_HYPERPIPE_SGIX', 92 )
  128. GLX_HYPERPIPE_DISPLAY_PIPE_SGIX = constant.Constant( 'GLX_HYPERPIPE_DISPLAY_PIPE_SGIX', 1 )
  129. GLX_HYPERPIPE_RENDER_PIPE_SGIX = constant.Constant( 'GLX_HYPERPIPE_RENDER_PIPE_SGIX', 2 )
  130. GLX_PIPE_RECT_SGIX = constant.Constant( 'GLX_PIPE_RECT_SGIX', 1 )
  131. GLX_PIPE_RECT_LIMITS_SGIX = constant.Constant( 'GLX_PIPE_RECT_LIMITS_SGIX', 2 )
  132. GLX_HYPERPIPE_STEREO_SGIX = constant.Constant( 'GLX_HYPERPIPE_STEREO_SGIX', 3 )
  133. GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX = constant.Constant( 'GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX', 4 )
  134. GLX_HYPERPIPE_ID_SGIX = constant.Constant( 'GLX_HYPERPIPE_ID_SGIX', 32816 )
  135. # MESA_agp_offset (GL/glxext.h:307)
  136. # ARB_get_proc_address (GL/glxext.h:313)
  137. # SGIX_video_source (GL/glxext.h:317)
  138. # SGIX_fbconfig (GL/glxext.h:321)
  139. # SGIX_pbuffer (GL/glxext.h:326)
  140. # VERSION_1_3 (GL/glxext.h:358)
  141. # VERSION_1_4 (GL/glxext.h:400)
  142. # ARB_get_proc_address (GL/glxext.h:408)
  143. GLX_ARB_get_proc_address = constant.Constant( 'GLX_ARB_get_proc_address', 1 )
  144. __GLXextFuncPtr = CFUNCTYPE(None)     # GL/glxext.h:314
  145. GLubyte = c_ubyte     # /usr/include/GL/gl.h:154
  146. glXGetProcAddressARB = platform.createBaseFunction(
  147.     'glXGetProcAddressARB', dll=platform.GL, resultType=__GLXextFuncPtr, 
  148.     argTypes=[POINTER(GLubyte)],
  149.     doc='glXGetProcAddressARB( POINTER(GLubyte)() ) -> __GLXextFuncPtr', 
  150.     argNames=[''],
  151. )
  152.  
  153. # ARB_multisample (GL/glxext.h:416)
  154. GLX_ARB_multisample = constant.Constant( 'GLX_ARB_multisample', 1 )
  155. # ARB_fbconfig_float (GL/glxext.h:420)
  156. GLX_ARB_fbconfig_float = constant.Constant( 'GLX_ARB_fbconfig_float', 1 )
  157. # SGIS_multisample (GL/glxext.h:424)
  158. GLX_SGIS_multisample = constant.Constant( 'GLX_SGIS_multisample', 1 )
  159. # EXT_visual_info (GL/glxext.h:428)
  160. GLX_EXT_visual_info = constant.Constant( 'GLX_EXT_visual_info', 1 )
  161. # SGI_swap_control (GL/glxext.h:432)
  162. GLX_SGI_swap_control = constant.Constant( 'GLX_SGI_swap_control', 1 )
  163. glXSwapIntervalSGI = platform.createBaseFunction(
  164.     'glXSwapIntervalSGI', dll=platform.GL, resultType=c_int, 
  165.     argTypes=[c_int],
  166.     doc='glXSwapIntervalSGI( c_int(None) ) -> c_int', 
  167.     argNames=['None'],
  168. )
  169.  
  170. # SGI_video_sync (GL/glxext.h:440)
  171. GLX_SGI_video_sync = constant.Constant( 'GLX_SGI_video_sync', 1 )
  172. glXGetVideoSyncSGI = platform.createBaseFunction(
  173.     'glXGetVideoSyncSGI', dll=platform.GL, resultType=c_int, 
  174.     argTypes=[POINTER(c_uint)],
  175.     doc='glXGetVideoSyncSGI( POINTER(c_uint)() ) -> c_int', 
  176.     argNames=[''],
  177. )
  178.  
  179. glXWaitVideoSyncSGI = platform.createBaseFunction(
  180.     'glXWaitVideoSyncSGI', dll=platform.GL, resultType=c_int, 
  181.     argTypes=[c_int, c_int, POINTER(c_uint)],
  182.     doc='glXWaitVideoSyncSGI( c_int(None), c_int(None), POINTER(c_uint)() ) -> c_int', 
  183.     argNames=['None', 'None', ''],
  184. )
  185.  
  186. # SGI_make_current_read (GL/glxext.h:450)
  187. GLX_SGI_make_current_read = constant.Constant( 'GLX_SGI_make_current_read', 1 )
  188. class struct__XDisplay(Structure):
  189.     __slots__ = [
  190.     ]
  191. struct__XDisplay._fields_ = [
  192.     ('_opaque_struct', c_int)
  193. ]
  194.  
  195. class struct__XDisplay(Structure):
  196.     __slots__ = [
  197.     ]
  198. struct__XDisplay._fields_ = [
  199.     ('_opaque_struct', c_int)
  200. ]
  201.  
  202. Display = struct__XDisplay     # /usr/include/X11/Xlib.h:519
  203. XID = c_ulong     # /usr/include/X11/X.h:71
  204. GLXDrawable = XID     # /usr/include/GL/glx.h:180
  205. class struct___GLXcontextRec(Structure):
  206.     __slots__ = [
  207.     ]
  208. struct___GLXcontextRec._fields_ = [
  209.     ('_opaque_struct', c_int)
  210. ]
  211.  
  212. class struct___GLXcontextRec(Structure):
  213.     __slots__ = [
  214.     ]
  215. struct___GLXcontextRec._fields_ = [
  216.     ('_opaque_struct', c_int)
  217. ]
  218.  
  219. GLXContext = POINTER(struct___GLXcontextRec)     # /usr/include/GL/glx.h:178
  220. glXMakeCurrentReadSGI = platform.createBaseFunction(
  221.     'glXMakeCurrentReadSGI', dll=platform.GL, resultType=c_int, 
  222.     argTypes=[POINTER(Display), GLXDrawable, GLXDrawable, GLXContext],
  223.     doc='glXMakeCurrentReadSGI( POINTER(Display)(), GLXDrawable(None), GLXDrawable(None), GLXContext(None) ) -> c_int', 
  224.     argNames=['', 'None', 'None', 'None'],
  225. )
  226.  
  227. glXGetCurrentReadDrawableSGI = platform.createBaseFunction(
  228.     'glXGetCurrentReadDrawableSGI', dll=platform.GL, resultType=GLXDrawable, 
  229.     argTypes=[],
  230.     doc='glXGetCurrentReadDrawableSGI(  ) -> GLXDrawable', 
  231.     argNames=[],
  232. )
  233.  
  234. # SGIX_video_source (GL/glxext.h:460)
  235. GLX_SGIX_video_source = constant.Constant( 'GLX_SGIX_video_source', 1 )
  236. # EXT_visual_rating (GL/glxext.h:472)
  237. GLX_EXT_visual_rating = constant.Constant( 'GLX_EXT_visual_rating', 1 )
  238. # EXT_import_context (GL/glxext.h:476)
  239. GLX_EXT_import_context = constant.Constant( 'GLX_EXT_import_context', 1 )
  240. glXGetCurrentDisplayEXT = platform.createBaseFunction(
  241.     'glXGetCurrentDisplayEXT', dll=platform.GL, resultType=POINTER(Display), 
  242.     argTypes=[],
  243.     doc='glXGetCurrentDisplayEXT(  ) -> POINTER(Display)', 
  244.     argNames=[],
  245. )
  246.  
  247. glXQueryContextInfoEXT = platform.createBaseFunction(
  248.     'glXQueryContextInfoEXT', dll=platform.GL, resultType=c_int, 
  249.     argTypes=[POINTER(Display), GLXContext, c_int, POINTER(c_int)],
  250.     doc='glXQueryContextInfoEXT( POINTER(Display)(), GLXContext(None), c_int(None), POINTER(c_int)() ) -> c_int', 
  251.     argNames=['', 'None', 'None', ''],
  252. )
  253.  
  254. GLXContextID = XID     # /usr/include/GL/glx.h:184
  255. glXGetContextIDEXT = platform.createBaseFunction(
  256.     'glXGetContextIDEXT', dll=platform.GL, resultType=GLXContextID, 
  257.     argTypes=[GLXContext],
  258.     doc='glXGetContextIDEXT( GLXContext(None) ) -> GLXContextID', 
  259.     argNames=['None'],
  260. )
  261.  
  262. glXImportContextEXT = platform.createBaseFunction(
  263.     'glXImportContextEXT', dll=platform.GL, resultType=GLXContext, 
  264.     argTypes=[POINTER(Display), GLXContextID],
  265.     doc='glXImportContextEXT( POINTER(Display)(), GLXContextID(None) ) -> GLXContext', 
  266.     argNames=['', 'None'],
  267. )
  268.  
  269. glXFreeContextEXT = platform.createBaseFunction(
  270.     'glXFreeContextEXT', dll=platform.GL, resultType=None, 
  271.     argTypes=[POINTER(Display), GLXContext],
  272.     doc='glXFreeContextEXT( POINTER(Display)(), GLXContext(None) ) -> None', 
  273.     argNames=['', 'None'],
  274. )
  275.  
  276. # SGIX_fbconfig (GL/glxext.h:492)
  277. GLX_SGIX_fbconfig = constant.Constant( 'GLX_SGIX_fbconfig', 1 )
  278. class struct___GLXFBConfigRec(Structure):
  279.     __slots__ = [
  280.     ]
  281. struct___GLXFBConfigRec._fields_ = [
  282.     ('_opaque_struct', c_int)
  283. ]
  284.  
  285. class struct___GLXFBConfigRec(Structure):
  286.     __slots__ = [
  287.     ]
  288. struct___GLXFBConfigRec._fields_ = [
  289.     ('_opaque_struct', c_int)
  290. ]
  291.  
  292. GLXFBConfigSGIX = POINTER(struct___GLXFBConfigRec)     # GL/glxext.h:323
  293. glXGetFBConfigAttribSGIX = platform.createBaseFunction(
  294.     'glXGetFBConfigAttribSGIX', dll=platform.GL, resultType=c_int, 
  295.     argTypes=[POINTER(Display), GLXFBConfigSGIX, c_int, POINTER(c_int)],
  296.     doc='glXGetFBConfigAttribSGIX( POINTER(Display)(), GLXFBConfigSGIX(None), c_int(None), POINTER(c_int)() ) -> c_int', 
  297.     argNames=['', 'None', 'None', ''],
  298. )
  299.  
  300. glXChooseFBConfigSGIX = platform.createBaseFunction(
  301.     'glXChooseFBConfigSGIX', dll=platform.GL, resultType=POINTER(GLXFBConfigSGIX), 
  302.     argTypes=[POINTER(Display), c_int, POINTER(c_int), POINTER(c_int)],
  303.     doc='glXChooseFBConfigSGIX( POINTER(Display)(), c_int(None), POINTER(c_int)(), POINTER(c_int)() ) -> POINTER(GLXFBConfigSGIX)', 
  304.     argNames=['', 'None', '', ''],
  305. )
  306.  
  307. GLXPixmap = XID     # /usr/include/GL/glx.h:179
  308. Pixmap = XID     # /usr/include/X11/X.h:107
  309. glXCreateGLXPixmapWithConfigSGIX = platform.createBaseFunction(
  310.     'glXCreateGLXPixmapWithConfigSGIX', dll=platform.GL, resultType=GLXPixmap, 
  311.     argTypes=[POINTER(Display), GLXFBConfigSGIX, Pixmap],
  312.     doc='glXCreateGLXPixmapWithConfigSGIX( POINTER(Display)(), GLXFBConfigSGIX(None), Pixmap(None) ) -> GLXPixmap', 
  313.     argNames=['', 'None', 'None'],
  314. )
  315.  
  316. glXCreateContextWithConfigSGIX = platform.createBaseFunction(
  317.     'glXCreateContextWithConfigSGIX', dll=platform.GL, resultType=GLXContext, 
  318.     argTypes=[POINTER(Display), GLXFBConfigSGIX, c_int, GLXContext, c_int],
  319.     doc='glXCreateContextWithConfigSGIX( POINTER(Display)(), GLXFBConfigSGIX(None), c_int(None), GLXContext(None), c_int(None) ) -> GLXContext', 
  320.     argNames=['', 'None', 'None', 'None', 'None'],
  321. )
  322.  
  323. class struct_anon_208(Structure):
  324.     __slots__ = [
  325.         'visual',
  326.         'visualid',
  327.         'screen',
  328.         'depth',
  329.         'class',
  330.         'red_mask',
  331.         'green_mask',
  332.         'blue_mask',
  333.         'colormap_size',
  334.         'bits_per_rgb',
  335.     ]
  336. class struct_anon_125(Structure):
  337.     __slots__ = [
  338.         'ext_data',
  339.         'visualid',
  340.         'class',
  341.         'red_mask',
  342.         'green_mask',
  343.         'blue_mask',
  344.         'bits_per_rgb',
  345.         'map_entries',
  346.     ]
  347. class struct__XExtData(Structure):
  348.     __slots__ = [
  349.         'number',
  350.         'next',
  351.         'free_private',
  352.         'private_data',
  353.     ]
  354. XPointer = c_char_p     # /usr/include/X11/Xlib.h:108
  355. struct__XExtData._fields_ = [
  356.     ('number', c_int),
  357.     ('next', POINTER(struct__XExtData)),
  358.     ('free_private', POINTER(CFUNCTYPE(c_int, POINTER(struct__XExtData)))),
  359.     ('private_data', XPointer),
  360. ]
  361.  
  362. XExtData = struct__XExtData     # /usr/include/X11/Xlib.h:187
  363. VisualID = c_ulong     # /usr/include/X11/X.h:81
  364. struct_anon_125._fields_ = [
  365.     ('ext_data', POINTER(XExtData)),
  366.     ('visualid', VisualID),
  367.     ('class', c_int),
  368.     ('red_mask', c_ulong),
  369.     ('green_mask', c_ulong),
  370.     ('blue_mask', c_ulong),
  371.     ('bits_per_rgb', c_int),
  372.     ('map_entries', c_int),
  373. ]
  374.  
  375. Visual = struct_anon_125     # /usr/include/X11/Xlib.h:270
  376. struct_anon_208._fields_ = [
  377.     ('visual', POINTER(Visual)),
  378.     ('visualid', VisualID),
  379.     ('screen', c_int),
  380.     ('depth', c_int),
  381.     ('class', c_int),
  382.     ('red_mask', c_ulong),
  383.     ('green_mask', c_ulong),
  384.     ('blue_mask', c_ulong),
  385.     ('colormap_size', c_int),
  386.     ('bits_per_rgb', c_int),
  387. ]
  388.  
  389. XVisualInfo = struct_anon_208     # /usr/include/X11/Xutil.h:296
  390. glXGetVisualFromFBConfigSGIX = platform.createBaseFunction(
  391.     'glXGetVisualFromFBConfigSGIX', dll=platform.GL, resultType=POINTER(XVisualInfo), 
  392.     argTypes=[POINTER(Display), GLXFBConfigSGIX],
  393.     doc='glXGetVisualFromFBConfigSGIX( POINTER(Display)(), GLXFBConfigSGIX(None) ) -> POINTER(XVisualInfo)', 
  394.     argNames=['', 'None'],
  395. )
  396.  
  397. glXGetFBConfigFromVisualSGIX = platform.createBaseFunction(
  398.     'glXGetFBConfigFromVisualSGIX', dll=platform.GL, resultType=GLXFBConfigSGIX, 
  399.     argTypes=[POINTER(Display), POINTER(XVisualInfo)],
  400.     doc='glXGetFBConfigFromVisualSGIX( POINTER(Display)(), POINTER(XVisualInfo)() ) -> GLXFBConfigSGIX', 
  401.     argNames=['', ''],
  402. )
  403.  
  404. # SGIX_pbuffer (GL/glxext.h:510)
  405. GLX_SGIX_pbuffer = constant.Constant( 'GLX_SGIX_pbuffer', 1 )
  406. GLXPbufferSGIX = XID     # GL/glxext.h:327
  407. glXCreateGLXPbufferSGIX = platform.createBaseFunction(
  408.     'glXCreateGLXPbufferSGIX', dll=platform.GL, resultType=GLXPbufferSGIX, 
  409.     argTypes=[POINTER(Display), GLXFBConfigSGIX, c_uint, c_uint, POINTER(c_int)],
  410.     doc='glXCreateGLXPbufferSGIX( POINTER(Display)(), GLXFBConfigSGIX(None), c_uint(None), c_uint(None), POINTER(c_int)() ) -> GLXPbufferSGIX', 
  411.     argNames=['', 'None', 'None', 'None', ''],
  412. )
  413.  
  414. glXDestroyGLXPbufferSGIX = platform.createBaseFunction(
  415.     'glXDestroyGLXPbufferSGIX', dll=platform.GL, resultType=None, 
  416.     argTypes=[POINTER(Display), GLXPbufferSGIX],
  417.     doc='glXDestroyGLXPbufferSGIX( POINTER(Display)(), GLXPbufferSGIX(None) ) -> None', 
  418.     argNames=['', 'None'],
  419. )
  420.  
  421. glXQueryGLXPbufferSGIX = platform.createBaseFunction(
  422.     'glXQueryGLXPbufferSGIX', dll=platform.GL, resultType=c_int, 
  423.     argTypes=[POINTER(Display), GLXPbufferSGIX, c_int, POINTER(c_uint)],
  424.     doc='glXQueryGLXPbufferSGIX( POINTER(Display)(), GLXPbufferSGIX(None), c_int(None), POINTER(c_uint)() ) -> c_int', 
  425.     argNames=['', 'None', 'None', ''],
  426. )
  427.  
  428. glXSelectEventSGIX = platform.createBaseFunction(
  429.     'glXSelectEventSGIX', dll=platform.GL, resultType=None, 
  430.     argTypes=[POINTER(Display), GLXDrawable, c_ulong],
  431.     doc='glXSelectEventSGIX( POINTER(Display)(), GLXDrawable(None), c_ulong(None) ) -> None', 
  432.     argNames=['', 'None', 'None'],
  433. )
  434.  
  435. glXGetSelectedEventSGIX = platform.createBaseFunction(
  436.     'glXGetSelectedEventSGIX', dll=platform.GL, resultType=None, 
  437.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_ulong)],
  438.     doc='glXGetSelectedEventSGIX( POINTER(Display)(), GLXDrawable(None), POINTER(c_ulong)() ) -> None', 
  439.     argNames=['', 'None', ''],
  440. )
  441.  
  442. # SGI_cushion (GL/glxext.h:526)
  443. GLX_SGI_cushion = constant.Constant( 'GLX_SGI_cushion', 1 )
  444. Window = XID     # /usr/include/X11/X.h:101
  445. glXCushionSGI = platform.createBaseFunction(
  446.     'glXCushionSGI', dll=platform.GL, resultType=None, 
  447.     argTypes=[POINTER(Display), Window, c_float],
  448.     doc='glXCushionSGI( POINTER(Display)(), Window(None), c_float(None) ) -> None', 
  449.     argNames=['', 'None', 'None'],
  450. )
  451.  
  452. # SGIX_video_resize (GL/glxext.h:534)
  453. GLX_SGIX_video_resize = constant.Constant( 'GLX_SGIX_video_resize', 1 )
  454. glXBindChannelToWindowSGIX = platform.createBaseFunction(
  455.     'glXBindChannelToWindowSGIX', dll=platform.GL, resultType=c_int, 
  456.     argTypes=[POINTER(Display), c_int, c_int, Window],
  457.     doc='glXBindChannelToWindowSGIX( POINTER(Display)(), c_int(None), c_int(None), Window(None) ) -> c_int', 
  458.     argNames=['', 'None', 'None', 'None'],
  459. )
  460.  
  461. glXChannelRectSGIX = platform.createBaseFunction(
  462.     'glXChannelRectSGIX', dll=platform.GL, resultType=c_int, 
  463.     argTypes=[POINTER(Display), c_int, c_int, c_int, c_int, c_int, c_int],
  464.     doc='glXChannelRectSGIX( POINTER(Display)(), c_int(None), c_int(None), c_int(None), c_int(None), c_int(None), c_int(None) ) -> c_int', 
  465.     argNames=['', 'None', 'None', 'None', 'None', 'None', 'None'],
  466. )
  467.  
  468. glXQueryChannelRectSGIX = platform.createBaseFunction(
  469.     'glXQueryChannelRectSGIX', dll=platform.GL, resultType=c_int, 
  470.     argTypes=[POINTER(Display), c_int, c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)],
  471.     doc='glXQueryChannelRectSGIX( POINTER(Display)(), c_int(None), c_int(None), POINTER(c_int)(), POINTER(c_int)(), POINTER(c_int)(), POINTER(c_int)() ) -> c_int', 
  472.     argNames=['', 'None', 'None', '', '', '', ''],
  473. )
  474.  
  475. glXQueryChannelDeltasSGIX = platform.createBaseFunction(
  476.     'glXQueryChannelDeltasSGIX', dll=platform.GL, resultType=c_int, 
  477.     argTypes=[POINTER(Display), c_int, c_int, POINTER(c_int), POINTER(c_int), POINTER(c_int), POINTER(c_int)],
  478.     doc='glXQueryChannelDeltasSGIX( POINTER(Display)(), c_int(None), c_int(None), POINTER(c_int)(), POINTER(c_int)(), POINTER(c_int)(), POINTER(c_int)() ) -> c_int', 
  479.     argNames=['', 'None', 'None', '', '', '', ''],
  480. )
  481.  
  482. GLenum = c_uint     # /usr/include/GL/gl.h:147
  483. glXChannelRectSyncSGIX = platform.createBaseFunction(
  484.     'glXChannelRectSyncSGIX', dll=platform.GL, resultType=c_int, 
  485.     argTypes=[POINTER(Display), c_int, c_int, GLenum],
  486.     doc='glXChannelRectSyncSGIX( POINTER(Display)(), c_int(None), c_int(None), GLenum(None) ) -> c_int', 
  487.     argNames=['', 'None', 'None', 'None'],
  488. )
  489.  
  490. # SGIX_dmbuffer (GL/glxext.h:550)
  491. GLX_SGIX_dmbuffer = constant.Constant( 'GLX_SGIX_dmbuffer', 1 )
  492. # SGIX_swap_group (GL/glxext.h:560)
  493. GLX_SGIX_swap_group = constant.Constant( 'GLX_SGIX_swap_group', 1 )
  494. glXJoinSwapGroupSGIX = platform.createBaseFunction(
  495.     'glXJoinSwapGroupSGIX', dll=platform.GL, resultType=None, 
  496.     argTypes=[POINTER(Display), GLXDrawable, GLXDrawable],
  497.     doc='glXJoinSwapGroupSGIX( POINTER(Display)(), GLXDrawable(None), GLXDrawable(None) ) -> None', 
  498.     argNames=['', 'None', 'None'],
  499. )
  500.  
  501. # SGIX_swap_barrier (GL/glxext.h:568)
  502. GLX_SGIX_swap_barrier = constant.Constant( 'GLX_SGIX_swap_barrier', 1 )
  503. glXBindSwapBarrierSGIX = platform.createBaseFunction(
  504.     'glXBindSwapBarrierSGIX', dll=platform.GL, resultType=None, 
  505.     argTypes=[POINTER(Display), GLXDrawable, c_int],
  506.     doc='glXBindSwapBarrierSGIX( POINTER(Display)(), GLXDrawable(None), c_int(None) ) -> None', 
  507.     argNames=['', 'None', 'None'],
  508. )
  509.  
  510. glXQueryMaxSwapBarriersSGIX = platform.createBaseFunction(
  511.     'glXQueryMaxSwapBarriersSGIX', dll=platform.GL, resultType=c_int, 
  512.     argTypes=[POINTER(Display), c_int, POINTER(c_int)],
  513.     doc='glXQueryMaxSwapBarriersSGIX( POINTER(Display)(), c_int(None), POINTER(c_int)() ) -> c_int', 
  514.     argNames=['', 'None', ''],
  515. )
  516.  
  517. # SUN_get_transparent_index (GL/glxext.h:578)
  518. GLX_SUN_get_transparent_index = constant.Constant( 'GLX_SUN_get_transparent_index', 1 )
  519. glXGetTransparentIndexSUN = platform.createBaseFunction(
  520.     'glXGetTransparentIndexSUN', dll=platform.GL, resultType=c_int, 
  521.     argTypes=[POINTER(Display), Window, Window, POINTER(c_long)],
  522.     doc='glXGetTransparentIndexSUN( POINTER(Display)(), Window(None), Window(None), POINTER(c_long)() ) -> c_int', 
  523.     argNames=['', 'None', 'None', ''],
  524. )
  525.  
  526. # MESA_copy_sub_buffer (GL/glxext.h:586)
  527. GLX_MESA_copy_sub_buffer = constant.Constant( 'GLX_MESA_copy_sub_buffer', 1 )
  528. glXCopySubBufferMESA = platform.createBaseFunction(
  529.     'glXCopySubBufferMESA', dll=platform.GL, resultType=None, 
  530.     argTypes=[POINTER(Display), GLXDrawable, c_int, c_int, c_int, c_int],
  531.     doc='glXCopySubBufferMESA( POINTER(Display)(), GLXDrawable(None), c_int(None), c_int(None), c_int(None), c_int(None) ) -> None', 
  532.     argNames=['', 'None', 'None', 'None', 'None', 'None'],
  533. )
  534.  
  535. # MESA_pixmap_colormap (GL/glxext.h:594)
  536. GLX_MESA_pixmap_colormap = constant.Constant( 'GLX_MESA_pixmap_colormap', 1 )
  537. Colormap = XID     # /usr/include/X11/X.h:109
  538. glXCreateGLXPixmapMESA = platform.createBaseFunction(
  539.     'glXCreateGLXPixmapMESA', dll=platform.GL, resultType=GLXPixmap, 
  540.     argTypes=[POINTER(Display), POINTER(XVisualInfo), Pixmap, Colormap],
  541.     doc='glXCreateGLXPixmapMESA( POINTER(Display)(), POINTER(XVisualInfo)(), Pixmap(None), Colormap(None) ) -> GLXPixmap', 
  542.     argNames=['', '', 'None', 'None'],
  543. )
  544.  
  545. # MESA_release_buffers (GL/glxext.h:602)
  546. GLX_MESA_release_buffers = constant.Constant( 'GLX_MESA_release_buffers', 1 )
  547. glXReleaseBuffersMESA = platform.createBaseFunction(
  548.     'glXReleaseBuffersMESA', dll=platform.GL, resultType=c_int, 
  549.     argTypes=[POINTER(Display), GLXDrawable],
  550.     doc='glXReleaseBuffersMESA( POINTER(Display)(), GLXDrawable(None) ) -> c_int', 
  551.     argNames=['', 'None'],
  552. )
  553.  
  554. # MESA_set_3dfx_mode (GL/glxext.h:610)
  555. GLX_MESA_set_3dfx_mode = constant.Constant( 'GLX_MESA_set_3dfx_mode', 1 )
  556. glXSet3DfxModeMESA = platform.createBaseFunction(
  557.     'glXSet3DfxModeMESA', dll=platform.GL, resultType=c_int, 
  558.     argTypes=[c_int],
  559.     doc='glXSet3DfxModeMESA( c_int(None) ) -> c_int', 
  560.     argNames=['None'],
  561. )
  562.  
  563. # SGIX_visual_select_group (GL/glxext.h:618)
  564. GLX_SGIX_visual_select_group = constant.Constant( 'GLX_SGIX_visual_select_group', 1 )
  565. # OML_swap_method (GL/glxext.h:622)
  566. GLX_OML_swap_method = constant.Constant( 'GLX_OML_swap_method', 1 )
  567. # OML_sync_control (GL/glxext.h:626)
  568. GLX_OML_sync_control = constant.Constant( 'GLX_OML_sync_control', 1 )
  569. glXGetSyncValuesOML = platform.createBaseFunction(
  570.     'glXGetSyncValuesOML', dll=platform.GL, resultType=c_int, 
  571.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_int64), POINTER(c_int64), POINTER(c_int64)],
  572.     doc='glXGetSyncValuesOML( POINTER(Display)(), GLXDrawable(None), POINTER(c_int64)(), POINTER(c_int64)(), POINTER(c_int64)() ) -> c_int', 
  573.     argNames=['', 'None', '', '', ''],
  574. )
  575.  
  576. glXGetMscRateOML = platform.createBaseFunction(
  577.     'glXGetMscRateOML', dll=platform.GL, resultType=c_int, 
  578.     argTypes=[POINTER(Display), GLXDrawable, POINTER(c_int32), POINTER(c_int32)],
  579.     doc='glXGetMscRateOML( POINTER(Display)(), GLXDrawable(None), POINTER(c_int32)(), POINTER(c_int32)() ) -> c_int', 
  580.     argNames=['', 'None', '', ''],
  581. )
  582.  
  583. glXSwapBuffersMscOML = platform.createBaseFunction(
  584.     'glXSwapBuffersMscOML', dll=platform.GL, resultType=c_int64, 
  585.     argTypes=[POINTER(Display), GLXDrawable, c_int64, c_int64, c_int64],
  586.     doc='glXSwapBuffersMscOML( POINTER(Display)(), GLXDrawable(None), c_int64(None), c_int64(None), c_int64(None) ) -> c_int64', 
  587.     argNames=['', 'None', 'None', 'None', 'None'],
  588. )
  589.  
  590. glXWaitForMscOML = platform.createBaseFunction(
  591.     'glXWaitForMscOML', dll=platform.GL, resultType=c_int, 
  592.     argTypes=[POINTER(Display), GLXDrawable, c_int64, c_int64, c_int64, POINTER(c_int64), POINTER(c_int64), POINTER(c_int64)],
  593.     doc='glXWaitForMscOML( POINTER(Display)(), GLXDrawable(None), c_int64(None), c_int64(None), c_int64(None), POINTER(c_int64)(), POINTER(c_int64)(), POINTER(c_int64)() ) -> c_int', 
  594.     argNames=['', 'None', 'None', 'None', 'None', '', '', ''],
  595. )
  596.  
  597. glXWaitForSbcOML = platform.createBaseFunction(
  598.     'glXWaitForSbcOML', dll=platform.GL, resultType=c_int, 
  599.     argTypes=[POINTER(Display), GLXDrawable, c_int64, POINTER(c_int64), POINTER(c_int64), POINTER(c_int64)],
  600.     doc='glXWaitForSbcOML( POINTER(Display)(), GLXDrawable(None), c_int64(None), POINTER(c_int64)(), POINTER(c_int64)(), POINTER(c_int64)() ) -> c_int', 
  601.     argNames=['', 'None', 'None', '', '', ''],
  602. )
  603.  
  604. # NV_float_buffer (GL/glxext.h:642)
  605. GLX_NV_float_buffer = constant.Constant( 'GLX_NV_float_buffer', 1 )
  606. # SGIX_hyperpipe (GL/glxext.h:646)
  607. GLX_SGIX_hyperpipe = constant.Constant( 'GLX_SGIX_hyperpipe', 1 )
  608. class struct_anon_212(Structure):
  609.     __slots__ = [
  610.         'pipeName',
  611.         'networkId',
  612.     ]
  613. struct_anon_212._fields_ = [
  614.     ('pipeName', c_char * 80),
  615.     ('networkId', c_int),
  616. ]
  617.  
  618. GLXHyperpipeNetworkSGIX = struct_anon_212     # GL/glxext.h:652
  619. glXQueryHyperpipeNetworkSGIX = platform.createBaseFunction(
  620.     'glXQueryHyperpipeNetworkSGIX', dll=platform.GL, resultType=POINTER(GLXHyperpipeNetworkSGIX), 
  621.     argTypes=[POINTER(Display), POINTER(c_int)],
  622.     doc='glXQueryHyperpipeNetworkSGIX( POINTER(Display)(), POINTER(c_int)() ) -> POINTER(GLXHyperpipeNetworkSGIX)', 
  623.     argNames=['', ''],
  624. )
  625.  
  626. class struct_anon_213(Structure):
  627.     __slots__ = [
  628.         'pipeName',
  629.         'channel',
  630.         'participationType',
  631.         'timeSlice',
  632.     ]
  633. struct_anon_213._fields_ = [
  634.     ('pipeName', c_char * 80),
  635.     ('channel', c_int),
  636.     ('participationType', c_uint),
  637.     ('timeSlice', c_int),
  638. ]
  639.  
  640. GLXHyperpipeConfigSGIX = struct_anon_213     # GL/glxext.h:660
  641. glXHyperpipeConfigSGIX = platform.createBaseFunction(
  642.     'glXHyperpipeConfigSGIX', dll=platform.GL, resultType=c_int, 
  643.     argTypes=[POINTER(Display), c_int, c_int, POINTER(GLXHyperpipeConfigSGIX), POINTER(c_int)],
  644.     doc='glXHyperpipeConfigSGIX( POINTER(Display)(), c_int(None), c_int(None), POINTER(GLXHyperpipeConfigSGIX)(), POINTER(c_int)() ) -> c_int', 
  645.     argNames=['', 'None', 'None', '', ''],
  646. )
  647.  
  648. glXQueryHyperpipeConfigSGIX = platform.createBaseFunction(
  649.     'glXQueryHyperpipeConfigSGIX', dll=platform.GL, resultType=POINTER(GLXHyperpipeConfigSGIX), 
  650.     argTypes=[POINTER(Display), c_int, POINTER(c_int)],
  651.     doc='glXQueryHyperpipeConfigSGIX( POINTER(Display)(), c_int(None), POINTER(c_int)() ) -> POINTER(GLXHyperpipeConfigSGIX)', 
  652.     argNames=['', 'None', ''],
  653. )
  654.  
  655. glXDestroyHyperpipeConfigSGIX = platform.createBaseFunction(
  656.     'glXDestroyHyperpipeConfigSGIX', dll=platform.GL, resultType=c_int, 
  657.     argTypes=[POINTER(Display), c_int],
  658.     doc='glXDestroyHyperpipeConfigSGIX( POINTER(Display)(), c_int(None) ) -> c_int', 
  659.     argNames=['', 'None'],
  660. )
  661.  
  662. glXBindHyperpipeSGIX = platform.createBaseFunction(
  663.     'glXBindHyperpipeSGIX', dll=platform.GL, resultType=c_int, 
  664.     argTypes=[POINTER(Display), c_int],
  665.     doc='glXBindHyperpipeSGIX( POINTER(Display)(), c_int(None) ) -> c_int', 
  666.     argNames=['', 'None'],
  667. )
  668.  
  669. glXQueryHyperpipeBestAttribSGIX = platform.createBaseFunction(
  670.     'glXQueryHyperpipeBestAttribSGIX', dll=platform.GL, resultType=c_int, 
  671.     argTypes=[POINTER(Display), c_int, c_int, c_int, POINTER(None), POINTER(None)],
  672.     doc='glXQueryHyperpipeBestAttribSGIX( POINTER(Display)(), c_int(None), c_int(None), c_int(None), POINTER(None)(), POINTER(None)() ) -> c_int', 
  673.     argNames=['', 'None', 'None', 'None', '', ''],
  674. )
  675.  
  676. glXHyperpipeAttribSGIX = platform.createBaseFunction(
  677.     'glXHyperpipeAttribSGIX', dll=platform.GL, resultType=c_int, 
  678.     argTypes=[POINTER(Display), c_int, c_int, c_int, POINTER(None)],
  679.     doc='glXHyperpipeAttribSGIX( POINTER(Display)(), c_int(None), c_int(None), c_int(None), POINTER(None)() ) -> c_int', 
  680.     argNames=['', 'None', 'None', 'None', ''],
  681. )
  682.  
  683. glXQueryHyperpipeAttribSGIX = platform.createBaseFunction(
  684.     'glXQueryHyperpipeAttribSGIX', dll=platform.GL, resultType=c_int, 
  685.     argTypes=[POINTER(Display), c_int, c_int, c_int, POINTER(None)],
  686.     doc='glXQueryHyperpipeAttribSGIX( POINTER(Display)(), c_int(None), c_int(None), c_int(None), POINTER(None)() ) -> c_int', 
  687.     argNames=['', 'None', 'None', 'None', ''],
  688. )
  689.  
  690. # MESA_agp_offset (GL/glxext.h:693)
  691. GLX_MESA_agp_offset = constant.Constant( 'GLX_MESA_agp_offset', 1 )
  692. glXGetAGPOffsetMESA = platform.createBaseFunction(
  693.     'glXGetAGPOffsetMESA', dll=platform.GL, resultType=c_uint, 
  694.     argTypes=[POINTER(None)],
  695.     doc='glXGetAGPOffsetMESA( POINTER(None)() ) -> c_uint', 
  696.     argNames=[''],
  697. )
  698.  
  699. # NV_vertex_array_range (/usr/include/GL/glx.h:330)
  700. # MESA_allocate_memory (/usr/include/GL/glx.h:344)
  701. # ARB_render_texture (/usr/include/GL/glx.h:361)
  702. # NV_float_buffer (/usr/include/GL/glx.h:374)
  703. # MESA_swap_frame_usage (/usr/include/GL/glx.h:386)
  704. # MESA_swap_control (/usr/include/GL/glx.h:406)
  705. # EXT_texture_from_pixmap (/usr/include/GL/glx.h:423)
  706.  
  707. __all__ = ['GLX_GLXEXT_VERSION', 'GLX_SAMPLE_BUFFERS_ARB', 'GLX_SAMPLES_ARB',
  708. 'GLX_RGBA_FLOAT_TYPE_ARB', 'GLX_RGBA_FLOAT_BIT_ARB',
  709. 'GLX_SAMPLE_BUFFERS_SGIS', 'GLX_SAMPLES_SGIS', 'GLX_X_VISUAL_TYPE_EXT',
  710. 'GLX_TRANSPARENT_TYPE_EXT', 'GLX_TRANSPARENT_INDEX_VALUE_EXT',
  711. 'GLX_TRANSPARENT_RED_VALUE_EXT', 'GLX_TRANSPARENT_GREEN_VALUE_EXT',
  712. 'GLX_TRANSPARENT_BLUE_VALUE_EXT', 'GLX_TRANSPARENT_ALPHA_VALUE_EXT',
  713. 'GLX_NONE_EXT', 'GLX_TRUE_COLOR_EXT', 'GLX_DIRECT_COLOR_EXT',
  714. 'GLX_PSEUDO_COLOR_EXT', 'GLX_STATIC_COLOR_EXT', 'GLX_GRAY_SCALE_EXT',
  715. 'GLX_STATIC_GRAY_EXT', 'GLX_TRANSPARENT_RGB_EXT', 'GLX_TRANSPARENT_INDEX_EXT',
  716. 'GLX_VISUAL_CAVEAT_EXT', 'GLX_SLOW_VISUAL_EXT',
  717. 'GLX_NON_CONFORMANT_VISUAL_EXT', 'GLX_SHARE_CONTEXT_EXT', 'GLX_VISUAL_ID_EXT',
  718. 'GLX_SCREEN_EXT', 'GLX_WINDOW_BIT_SGIX', 'GLX_PIXMAP_BIT_SGIX',
  719. 'GLX_RGBA_BIT_SGIX', 'GLX_COLOR_INDEX_BIT_SGIX', 'GLX_DRAWABLE_TYPE_SGIX',
  720. 'GLX_RENDER_TYPE_SGIX', 'GLX_X_RENDERABLE_SGIX', 'GLX_FBCONFIG_ID_SGIX',
  721. 'GLX_RGBA_TYPE_SGIX', 'GLX_COLOR_INDEX_TYPE_SGIX', 'GLX_PBUFFER_BIT_SGIX',
  722. 'GLX_BUFFER_CLOBBER_MASK_SGIX', 'GLX_FRONT_LEFT_BUFFER_BIT_SGIX',
  723. 'GLX_FRONT_RIGHT_BUFFER_BIT_SGIX', 'GLX_BACK_LEFT_BUFFER_BIT_SGIX',
  724. 'GLX_BACK_RIGHT_BUFFER_BIT_SGIX', 'GLX_AUX_BUFFERS_BIT_SGIX',
  725. 'GLX_DEPTH_BUFFER_BIT_SGIX', 'GLX_STENCIL_BUFFER_BIT_SGIX',
  726. 'GLX_ACCUM_BUFFER_BIT_SGIX', 'GLX_SAMPLE_BUFFERS_BIT_SGIX',
  727. 'GLX_MAX_PBUFFER_WIDTH_SGIX', 'GLX_MAX_PBUFFER_HEIGHT_SGIX',
  728. 'GLX_MAX_PBUFFER_PIXELS_SGIX', 'GLX_OPTIMAL_PBUFFER_WIDTH_SGIX',
  729. 'GLX_OPTIMAL_PBUFFER_HEIGHT_SGIX', 'GLX_PRESERVED_CONTENTS_SGIX',
  730. 'GLX_LARGEST_PBUFFER_SGIX', 'GLX_WIDTH_SGIX', 'GLX_HEIGHT_SGIX',
  731. 'GLX_EVENT_MASK_SGIX', 'GLX_DAMAGED_SGIX', 'GLX_SAVED_SGIX',
  732. 'GLX_WINDOW_SGIX', 'GLX_PBUFFER_SGIX', 'GLX_SYNC_FRAME_SGIX',
  733. 'GLX_SYNC_SWAP_SGIX', 'GLX_DIGITAL_MEDIA_PBUFFER_SGIX',
  734. 'GLX_BLENDED_RGBA_SGIS', 'GLX_MULTISAMPLE_SUB_RECT_WIDTH_SGIS',
  735. 'GLX_MULTISAMPLE_SUB_RECT_HEIGHT_SGIS', 'GLX_SAMPLE_BUFFERS_3DFX',
  736. 'GLX_SAMPLES_3DFX', 'GLX_3DFX_WINDOW_MODE_MESA',
  737. 'GLX_3DFX_FULLSCREEN_MODE_MESA', 'GLX_VISUAL_SELECT_GROUP_SGIX',
  738. 'GLX_SWAP_METHOD_OML', 'GLX_SWAP_EXCHANGE_OML', 'GLX_SWAP_COPY_OML',
  739. 'GLX_SWAP_UNDEFINED_OML', 'GLX_FLOAT_COMPONENTS_NV',
  740. 'GLX_HYPERPIPE_PIPE_NAME_LENGTH_SGIX', 'GLX_BAD_HYPERPIPE_CONFIG_SGIX',
  741. 'GLX_BAD_HYPERPIPE_SGIX', 'GLX_HYPERPIPE_DISPLAY_PIPE_SGIX',
  742. 'GLX_HYPERPIPE_RENDER_PIPE_SGIX', 'GLX_PIPE_RECT_SGIX',
  743. 'GLX_PIPE_RECT_LIMITS_SGIX', 'GLX_HYPERPIPE_STEREO_SGIX',
  744. 'GLX_HYPERPIPE_PIXEL_AVERAGE_SGIX', 'GLX_HYPERPIPE_ID_SGIX',
  745. 'GLX_ARB_get_proc_address', 'glXGetProcAddressARB', 'GLX_ARB_multisample',
  746. 'GLX_ARB_fbconfig_float', 'GLX_SGIS_multisample', 'GLX_EXT_visual_info',
  747. 'GLX_SGI_swap_control', 'glXSwapIntervalSGI', 'GLX_SGI_video_sync',
  748. 'glXGetVideoSyncSGI', 'glXWaitVideoSyncSGI', 'GLX_SGI_make_current_read',
  749. 'glXMakeCurrentReadSGI', 'glXGetCurrentReadDrawableSGI',
  750. 'GLX_SGIX_video_source', 'GLX_EXT_visual_rating', 'GLX_EXT_import_context',
  751. 'glXGetCurrentDisplayEXT', 'glXQueryContextInfoEXT', 'glXGetContextIDEXT',
  752. 'glXImportContextEXT', 'glXFreeContextEXT', 'GLX_SGIX_fbconfig',
  753. 'glXGetFBConfigAttribSGIX', 'glXChooseFBConfigSGIX',
  754. 'glXCreateGLXPixmapWithConfigSGIX', 'glXCreateContextWithConfigSGIX',
  755. 'glXGetVisualFromFBConfigSGIX', 'glXGetFBConfigFromVisualSGIX',
  756. 'GLX_SGIX_pbuffer', 'glXCreateGLXPbufferSGIX', 'glXDestroyGLXPbufferSGIX',
  757. 'glXQueryGLXPbufferSGIX', 'glXSelectEventSGIX', 'glXGetSelectedEventSGIX',
  758. 'GLX_SGI_cushion', 'glXCushionSGI', 'GLX_SGIX_video_resize',
  759. 'glXBindChannelToWindowSGIX', 'glXChannelRectSGIX', 'glXQueryChannelRectSGIX',
  760. 'glXQueryChannelDeltasSGIX', 'glXChannelRectSyncSGIX', 'GLX_SGIX_dmbuffer',
  761. 'GLX_SGIX_swap_group', 'glXJoinSwapGroupSGIX', 'GLX_SGIX_swap_barrier',
  762. 'glXBindSwapBarrierSGIX', 'glXQueryMaxSwapBarriersSGIX',
  763. 'GLX_SUN_get_transparent_index', 'glXGetTransparentIndexSUN',
  764. 'GLX_MESA_copy_sub_buffer', 'glXCopySubBufferMESA',
  765. 'GLX_MESA_pixmap_colormap', 'glXCreateGLXPixmapMESA',
  766. 'GLX_MESA_release_buffers', 'glXReleaseBuffersMESA', 'GLX_MESA_set_3dfx_mode',
  767. 'glXSet3DfxModeMESA', 'GLX_SGIX_visual_select_group', 'GLX_OML_swap_method',
  768. 'GLX_OML_sync_control', 'glXGetSyncValuesOML', 'glXGetMscRateOML',
  769. 'glXSwapBuffersMscOML', 'glXWaitForMscOML', 'glXWaitForSbcOML',
  770. 'GLX_NV_float_buffer', 'GLX_SGIX_hyperpipe', 'glXQueryHyperpipeNetworkSGIX',
  771. 'glXHyperpipeConfigSGIX', 'glXQueryHyperpipeConfigSGIX',
  772. 'glXDestroyHyperpipeConfigSGIX', 'glXBindHyperpipeSGIX',
  773. 'glXQueryHyperpipeBestAttribSGIX', 'glXHyperpipeAttribSGIX',
  774. 'glXQueryHyperpipeAttribSGIX', 'GLX_MESA_agp_offset', 'glXGetAGPOffsetMESA']
  775. # END GENERATED CONTENT (do not edit above this line)
  776.  
  777.  
  778.