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 / _WGL_NV.py < prev    next >
Encoding:
Python Source  |  2008-12-07  |  70.0 KB  |  1,202 lines

  1. # BEGIN GENERATED CONTENT (do not edit below this line)
  2.  
  3. # This content is generated by gengl.py.
  4. # Wrapper for http://developer.download.nvidia.com/opengl/includes/wglext.h
  5. from OpenGL import platform, constant
  6. from ctypes import *
  7. c_void = None
  8.  
  9.  
  10. # H (/home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:9)
  11. # H (/home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:9)
  12. GLAPI = constant.Constant( 'GLAPI', 0 )
  13. WGL_WGLEXT_VERSION = constant.Constant( 'WGL_WGLEXT_VERSION', 6 )
  14. # ARB_buffer_region (http://developer.download.nvidia.com/opengl/includes/wglext.h:62)
  15. WGL_FRONT_COLOR_BUFFER_BIT_ARB = constant.Constant( 'WGL_FRONT_COLOR_BUFFER_BIT_ARB', 1 )
  16. WGL_BACK_COLOR_BUFFER_BIT_ARB = constant.Constant( 'WGL_BACK_COLOR_BUFFER_BIT_ARB', 2 )
  17. WGL_DEPTH_BUFFER_BIT_ARB = constant.Constant( 'WGL_DEPTH_BUFFER_BIT_ARB', 4 )
  18. WGL_STENCIL_BUFFER_BIT_ARB = constant.Constant( 'WGL_STENCIL_BUFFER_BIT_ARB', 8 )
  19. # ARB_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:69)
  20. WGL_SAMPLE_BUFFERS_ARB = constant.Constant( 'WGL_SAMPLE_BUFFERS_ARB', 8257 )
  21. WGL_SAMPLES_ARB = constant.Constant( 'WGL_SAMPLES_ARB', 8258 )
  22. # ARB_extensions_string (http://developer.download.nvidia.com/opengl/includes/wglext.h:74)
  23. # ARB_pixel_format (http://developer.download.nvidia.com/opengl/includes/wglext.h:77)
  24. WGL_NUMBER_PIXEL_FORMATS_ARB = constant.Constant( 'WGL_NUMBER_PIXEL_FORMATS_ARB', 8192 )
  25. WGL_DRAW_TO_WINDOW_ARB = constant.Constant( 'WGL_DRAW_TO_WINDOW_ARB', 8193 )
  26. WGL_DRAW_TO_BITMAP_ARB = constant.Constant( 'WGL_DRAW_TO_BITMAP_ARB', 8194 )
  27. WGL_ACCELERATION_ARB = constant.Constant( 'WGL_ACCELERATION_ARB', 8195 )
  28. WGL_NEED_PALETTE_ARB = constant.Constant( 'WGL_NEED_PALETTE_ARB', 8196 )
  29. WGL_NEED_SYSTEM_PALETTE_ARB = constant.Constant( 'WGL_NEED_SYSTEM_PALETTE_ARB', 8197 )
  30. WGL_SWAP_LAYER_BUFFERS_ARB = constant.Constant( 'WGL_SWAP_LAYER_BUFFERS_ARB', 8198 )
  31. WGL_SWAP_METHOD_ARB = constant.Constant( 'WGL_SWAP_METHOD_ARB', 8199 )
  32. WGL_NUMBER_OVERLAYS_ARB = constant.Constant( 'WGL_NUMBER_OVERLAYS_ARB', 8200 )
  33. WGL_NUMBER_UNDERLAYS_ARB = constant.Constant( 'WGL_NUMBER_UNDERLAYS_ARB', 8201 )
  34. WGL_TRANSPARENT_ARB = constant.Constant( 'WGL_TRANSPARENT_ARB', 8202 )
  35. WGL_TRANSPARENT_RED_VALUE_ARB = constant.Constant( 'WGL_TRANSPARENT_RED_VALUE_ARB', 8247 )
  36. WGL_TRANSPARENT_GREEN_VALUE_ARB = constant.Constant( 'WGL_TRANSPARENT_GREEN_VALUE_ARB', 8248 )
  37. WGL_TRANSPARENT_BLUE_VALUE_ARB = constant.Constant( 'WGL_TRANSPARENT_BLUE_VALUE_ARB', 8249 )
  38. WGL_TRANSPARENT_ALPHA_VALUE_ARB = constant.Constant( 'WGL_TRANSPARENT_ALPHA_VALUE_ARB', 8250 )
  39. WGL_TRANSPARENT_INDEX_VALUE_ARB = constant.Constant( 'WGL_TRANSPARENT_INDEX_VALUE_ARB', 8251 )
  40. WGL_SHARE_DEPTH_ARB = constant.Constant( 'WGL_SHARE_DEPTH_ARB', 8204 )
  41. WGL_SHARE_STENCIL_ARB = constant.Constant( 'WGL_SHARE_STENCIL_ARB', 8205 )
  42. WGL_SHARE_ACCUM_ARB = constant.Constant( 'WGL_SHARE_ACCUM_ARB', 8206 )
  43. WGL_SUPPORT_GDI_ARB = constant.Constant( 'WGL_SUPPORT_GDI_ARB', 8207 )
  44. WGL_SUPPORT_OPENGL_ARB = constant.Constant( 'WGL_SUPPORT_OPENGL_ARB', 8208 )
  45. WGL_DOUBLE_BUFFER_ARB = constant.Constant( 'WGL_DOUBLE_BUFFER_ARB', 8209 )
  46. WGL_STEREO_ARB = constant.Constant( 'WGL_STEREO_ARB', 8210 )
  47. WGL_PIXEL_TYPE_ARB = constant.Constant( 'WGL_PIXEL_TYPE_ARB', 8211 )
  48. WGL_COLOR_BITS_ARB = constant.Constant( 'WGL_COLOR_BITS_ARB', 8212 )
  49. WGL_RED_BITS_ARB = constant.Constant( 'WGL_RED_BITS_ARB', 8213 )
  50. WGL_RED_SHIFT_ARB = constant.Constant( 'WGL_RED_SHIFT_ARB', 8214 )
  51. WGL_GREEN_BITS_ARB = constant.Constant( 'WGL_GREEN_BITS_ARB', 8215 )
  52. WGL_GREEN_SHIFT_ARB = constant.Constant( 'WGL_GREEN_SHIFT_ARB', 8216 )
  53. WGL_BLUE_BITS_ARB = constant.Constant( 'WGL_BLUE_BITS_ARB', 8217 )
  54. WGL_BLUE_SHIFT_ARB = constant.Constant( 'WGL_BLUE_SHIFT_ARB', 8218 )
  55. WGL_ALPHA_BITS_ARB = constant.Constant( 'WGL_ALPHA_BITS_ARB', 8219 )
  56. WGL_ALPHA_SHIFT_ARB = constant.Constant( 'WGL_ALPHA_SHIFT_ARB', 8220 )
  57. WGL_ACCUM_BITS_ARB = constant.Constant( 'WGL_ACCUM_BITS_ARB', 8221 )
  58. WGL_ACCUM_RED_BITS_ARB = constant.Constant( 'WGL_ACCUM_RED_BITS_ARB', 8222 )
  59. WGL_ACCUM_GREEN_BITS_ARB = constant.Constant( 'WGL_ACCUM_GREEN_BITS_ARB', 8223 )
  60. WGL_ACCUM_BLUE_BITS_ARB = constant.Constant( 'WGL_ACCUM_BLUE_BITS_ARB', 8224 )
  61. WGL_ACCUM_ALPHA_BITS_ARB = constant.Constant( 'WGL_ACCUM_ALPHA_BITS_ARB', 8225 )
  62. WGL_DEPTH_BITS_ARB = constant.Constant( 'WGL_DEPTH_BITS_ARB', 8226 )
  63. WGL_STENCIL_BITS_ARB = constant.Constant( 'WGL_STENCIL_BITS_ARB', 8227 )
  64. WGL_AUX_BUFFERS_ARB = constant.Constant( 'WGL_AUX_BUFFERS_ARB', 8228 )
  65. WGL_NO_ACCELERATION_ARB = constant.Constant( 'WGL_NO_ACCELERATION_ARB', 8229 )
  66. WGL_GENERIC_ACCELERATION_ARB = constant.Constant( 'WGL_GENERIC_ACCELERATION_ARB', 8230 )
  67. WGL_FULL_ACCELERATION_ARB = constant.Constant( 'WGL_FULL_ACCELERATION_ARB', 8231 )
  68. WGL_SWAP_EXCHANGE_ARB = constant.Constant( 'WGL_SWAP_EXCHANGE_ARB', 8232 )
  69. WGL_SWAP_COPY_ARB = constant.Constant( 'WGL_SWAP_COPY_ARB', 8233 )
  70. WGL_SWAP_UNDEFINED_ARB = constant.Constant( 'WGL_SWAP_UNDEFINED_ARB', 8234 )
  71. WGL_TYPE_RGBA_ARB = constant.Constant( 'WGL_TYPE_RGBA_ARB', 8235 )
  72. WGL_TYPE_COLORINDEX_ARB = constant.Constant( 'WGL_TYPE_COLORINDEX_ARB', 8236 )
  73. # ARB_make_current_read (http://developer.download.nvidia.com/opengl/includes/wglext.h:129)
  74. ERROR_INVALID_PIXEL_TYPE_ARB = constant.Constant( 'ERROR_INVALID_PIXEL_TYPE_ARB', 8259 )
  75. ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB = constant.Constant( 'ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB', 8276 )
  76. # ARB_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:134)
  77. WGL_DRAW_TO_PBUFFER_ARB = constant.Constant( 'WGL_DRAW_TO_PBUFFER_ARB', 8237 )
  78. WGL_MAX_PBUFFER_PIXELS_ARB = constant.Constant( 'WGL_MAX_PBUFFER_PIXELS_ARB', 8238 )
  79. WGL_MAX_PBUFFER_WIDTH_ARB = constant.Constant( 'WGL_MAX_PBUFFER_WIDTH_ARB', 8239 )
  80. WGL_MAX_PBUFFER_HEIGHT_ARB = constant.Constant( 'WGL_MAX_PBUFFER_HEIGHT_ARB', 8240 )
  81. WGL_PBUFFER_LARGEST_ARB = constant.Constant( 'WGL_PBUFFER_LARGEST_ARB', 8243 )
  82. WGL_PBUFFER_WIDTH_ARB = constant.Constant( 'WGL_PBUFFER_WIDTH_ARB', 8244 )
  83. WGL_PBUFFER_HEIGHT_ARB = constant.Constant( 'WGL_PBUFFER_HEIGHT_ARB', 8245 )
  84. WGL_PBUFFER_LOST_ARB = constant.Constant( 'WGL_PBUFFER_LOST_ARB', 8246 )
  85. # ARB_render_texture (http://developer.download.nvidia.com/opengl/includes/wglext.h:145)
  86. WGL_BIND_TO_TEXTURE_RGB_ARB = constant.Constant( 'WGL_BIND_TO_TEXTURE_RGB_ARB', 8304 )
  87. WGL_BIND_TO_TEXTURE_RGBA_ARB = constant.Constant( 'WGL_BIND_TO_TEXTURE_RGBA_ARB', 8305 )
  88. WGL_TEXTURE_FORMAT_ARB = constant.Constant( 'WGL_TEXTURE_FORMAT_ARB', 8306 )
  89. WGL_TEXTURE_TARGET_ARB = constant.Constant( 'WGL_TEXTURE_TARGET_ARB', 8307 )
  90. WGL_MIPMAP_TEXTURE_ARB = constant.Constant( 'WGL_MIPMAP_TEXTURE_ARB', 8308 )
  91. WGL_TEXTURE_RGB_ARB = constant.Constant( 'WGL_TEXTURE_RGB_ARB', 8309 )
  92. WGL_TEXTURE_RGBA_ARB = constant.Constant( 'WGL_TEXTURE_RGBA_ARB', 8310 )
  93. WGL_NO_TEXTURE_ARB = constant.Constant( 'WGL_NO_TEXTURE_ARB', 8311 )
  94. WGL_TEXTURE_CUBE_MAP_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_ARB', 8312 )
  95. WGL_TEXTURE_1D_ARB = constant.Constant( 'WGL_TEXTURE_1D_ARB', 8313 )
  96. WGL_TEXTURE_2D_ARB = constant.Constant( 'WGL_TEXTURE_2D_ARB', 8314 )
  97. WGL_MIPMAP_LEVEL_ARB = constant.Constant( 'WGL_MIPMAP_LEVEL_ARB', 8315 )
  98. WGL_CUBE_MAP_FACE_ARB = constant.Constant( 'WGL_CUBE_MAP_FACE_ARB', 8316 )
  99. WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB', 8317 )
  100. WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB', 8318 )
  101. WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB', 8319 )
  102. WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB', 8320 )
  103. WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB', 8321 )
  104. WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB = constant.Constant( 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB', 8322 )
  105. WGL_FRONT_LEFT_ARB = constant.Constant( 'WGL_FRONT_LEFT_ARB', 8323 )
  106. WGL_FRONT_RIGHT_ARB = constant.Constant( 'WGL_FRONT_RIGHT_ARB', 8324 )
  107. WGL_BACK_LEFT_ARB = constant.Constant( 'WGL_BACK_LEFT_ARB', 8325 )
  108. WGL_BACK_RIGHT_ARB = constant.Constant( 'WGL_BACK_RIGHT_ARB', 8326 )
  109. WGL_AUX0_ARB = constant.Constant( 'WGL_AUX0_ARB', 8327 )
  110. WGL_AUX1_ARB = constant.Constant( 'WGL_AUX1_ARB', 8328 )
  111. WGL_AUX2_ARB = constant.Constant( 'WGL_AUX2_ARB', 8329 )
  112. WGL_AUX3_ARB = constant.Constant( 'WGL_AUX3_ARB', 8330 )
  113. WGL_AUX4_ARB = constant.Constant( 'WGL_AUX4_ARB', 8331 )
  114. WGL_AUX5_ARB = constant.Constant( 'WGL_AUX5_ARB', 8332 )
  115. WGL_AUX6_ARB = constant.Constant( 'WGL_AUX6_ARB', 8333 )
  116. WGL_AUX7_ARB = constant.Constant( 'WGL_AUX7_ARB', 8334 )
  117. WGL_AUX8_ARB = constant.Constant( 'WGL_AUX8_ARB', 8335 )
  118. WGL_AUX9_ARB = constant.Constant( 'WGL_AUX9_ARB', 8336 )
  119. # ARB_pixel_format_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:181)
  120. WGL_TYPE_RGBA_FLOAT_ARB = constant.Constant( 'WGL_TYPE_RGBA_FLOAT_ARB', 8608 )
  121. # EXT_make_current_read (http://developer.download.nvidia.com/opengl/includes/wglext.h:185)
  122. ERROR_INVALID_PIXEL_TYPE_EXT = constant.Constant( 'ERROR_INVALID_PIXEL_TYPE_EXT', 8259 )
  123. # EXT_pixel_format (http://developer.download.nvidia.com/opengl/includes/wglext.h:189)
  124. WGL_NUMBER_PIXEL_FORMATS_EXT = constant.Constant( 'WGL_NUMBER_PIXEL_FORMATS_EXT', 8192 )
  125. WGL_DRAW_TO_WINDOW_EXT = constant.Constant( 'WGL_DRAW_TO_WINDOW_EXT', 8193 )
  126. WGL_DRAW_TO_BITMAP_EXT = constant.Constant( 'WGL_DRAW_TO_BITMAP_EXT', 8194 )
  127. WGL_ACCELERATION_EXT = constant.Constant( 'WGL_ACCELERATION_EXT', 8195 )
  128. WGL_NEED_PALETTE_EXT = constant.Constant( 'WGL_NEED_PALETTE_EXT', 8196 )
  129. WGL_NEED_SYSTEM_PALETTE_EXT = constant.Constant( 'WGL_NEED_SYSTEM_PALETTE_EXT', 8197 )
  130. WGL_SWAP_LAYER_BUFFERS_EXT = constant.Constant( 'WGL_SWAP_LAYER_BUFFERS_EXT', 8198 )
  131. WGL_SWAP_METHOD_EXT = constant.Constant( 'WGL_SWAP_METHOD_EXT', 8199 )
  132. WGL_NUMBER_OVERLAYS_EXT = constant.Constant( 'WGL_NUMBER_OVERLAYS_EXT', 8200 )
  133. WGL_NUMBER_UNDERLAYS_EXT = constant.Constant( 'WGL_NUMBER_UNDERLAYS_EXT', 8201 )
  134. WGL_TRANSPARENT_EXT = constant.Constant( 'WGL_TRANSPARENT_EXT', 8202 )
  135. WGL_TRANSPARENT_VALUE_EXT = constant.Constant( 'WGL_TRANSPARENT_VALUE_EXT', 8203 )
  136. WGL_SHARE_DEPTH_EXT = constant.Constant( 'WGL_SHARE_DEPTH_EXT', 8204 )
  137. WGL_SHARE_STENCIL_EXT = constant.Constant( 'WGL_SHARE_STENCIL_EXT', 8205 )
  138. WGL_SHARE_ACCUM_EXT = constant.Constant( 'WGL_SHARE_ACCUM_EXT', 8206 )
  139. WGL_SUPPORT_GDI_EXT = constant.Constant( 'WGL_SUPPORT_GDI_EXT', 8207 )
  140. WGL_SUPPORT_OPENGL_EXT = constant.Constant( 'WGL_SUPPORT_OPENGL_EXT', 8208 )
  141. WGL_DOUBLE_BUFFER_EXT = constant.Constant( 'WGL_DOUBLE_BUFFER_EXT', 8209 )
  142. WGL_STEREO_EXT = constant.Constant( 'WGL_STEREO_EXT', 8210 )
  143. WGL_PIXEL_TYPE_EXT = constant.Constant( 'WGL_PIXEL_TYPE_EXT', 8211 )
  144. WGL_COLOR_BITS_EXT = constant.Constant( 'WGL_COLOR_BITS_EXT', 8212 )
  145. WGL_RED_BITS_EXT = constant.Constant( 'WGL_RED_BITS_EXT', 8213 )
  146. WGL_RED_SHIFT_EXT = constant.Constant( 'WGL_RED_SHIFT_EXT', 8214 )
  147. WGL_GREEN_BITS_EXT = constant.Constant( 'WGL_GREEN_BITS_EXT', 8215 )
  148. WGL_GREEN_SHIFT_EXT = constant.Constant( 'WGL_GREEN_SHIFT_EXT', 8216 )
  149. WGL_BLUE_BITS_EXT = constant.Constant( 'WGL_BLUE_BITS_EXT', 8217 )
  150. WGL_BLUE_SHIFT_EXT = constant.Constant( 'WGL_BLUE_SHIFT_EXT', 8218 )
  151. WGL_ALPHA_BITS_EXT = constant.Constant( 'WGL_ALPHA_BITS_EXT', 8219 )
  152. WGL_ALPHA_SHIFT_EXT = constant.Constant( 'WGL_ALPHA_SHIFT_EXT', 8220 )
  153. WGL_ACCUM_BITS_EXT = constant.Constant( 'WGL_ACCUM_BITS_EXT', 8221 )
  154. WGL_ACCUM_RED_BITS_EXT = constant.Constant( 'WGL_ACCUM_RED_BITS_EXT', 8222 )
  155. WGL_ACCUM_GREEN_BITS_EXT = constant.Constant( 'WGL_ACCUM_GREEN_BITS_EXT', 8223 )
  156. WGL_ACCUM_BLUE_BITS_EXT = constant.Constant( 'WGL_ACCUM_BLUE_BITS_EXT', 8224 )
  157. WGL_ACCUM_ALPHA_BITS_EXT = constant.Constant( 'WGL_ACCUM_ALPHA_BITS_EXT', 8225 )
  158. WGL_DEPTH_BITS_EXT = constant.Constant( 'WGL_DEPTH_BITS_EXT', 8226 )
  159. WGL_STENCIL_BITS_EXT = constant.Constant( 'WGL_STENCIL_BITS_EXT', 8227 )
  160. WGL_AUX_BUFFERS_EXT = constant.Constant( 'WGL_AUX_BUFFERS_EXT', 8228 )
  161. WGL_NO_ACCELERATION_EXT = constant.Constant( 'WGL_NO_ACCELERATION_EXT', 8229 )
  162. WGL_GENERIC_ACCELERATION_EXT = constant.Constant( 'WGL_GENERIC_ACCELERATION_EXT', 8230 )
  163. WGL_FULL_ACCELERATION_EXT = constant.Constant( 'WGL_FULL_ACCELERATION_EXT', 8231 )
  164. WGL_SWAP_EXCHANGE_EXT = constant.Constant( 'WGL_SWAP_EXCHANGE_EXT', 8232 )
  165. WGL_SWAP_COPY_EXT = constant.Constant( 'WGL_SWAP_COPY_EXT', 8233 )
  166. WGL_SWAP_UNDEFINED_EXT = constant.Constant( 'WGL_SWAP_UNDEFINED_EXT', 8234 )
  167. WGL_TYPE_RGBA_EXT = constant.Constant( 'WGL_TYPE_RGBA_EXT', 8235 )
  168. WGL_TYPE_COLORINDEX_EXT = constant.Constant( 'WGL_TYPE_COLORINDEX_EXT', 8236 )
  169. # EXT_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:237)
  170. WGL_DRAW_TO_PBUFFER_EXT = constant.Constant( 'WGL_DRAW_TO_PBUFFER_EXT', 8237 )
  171. WGL_MAX_PBUFFER_PIXELS_EXT = constant.Constant( 'WGL_MAX_PBUFFER_PIXELS_EXT', 8238 )
  172. WGL_MAX_PBUFFER_WIDTH_EXT = constant.Constant( 'WGL_MAX_PBUFFER_WIDTH_EXT', 8239 )
  173. WGL_MAX_PBUFFER_HEIGHT_EXT = constant.Constant( 'WGL_MAX_PBUFFER_HEIGHT_EXT', 8240 )
  174. WGL_OPTIMAL_PBUFFER_WIDTH_EXT = constant.Constant( 'WGL_OPTIMAL_PBUFFER_WIDTH_EXT', 8241 )
  175. WGL_OPTIMAL_PBUFFER_HEIGHT_EXT = constant.Constant( 'WGL_OPTIMAL_PBUFFER_HEIGHT_EXT', 8242 )
  176. WGL_PBUFFER_LARGEST_EXT = constant.Constant( 'WGL_PBUFFER_LARGEST_EXT', 8243 )
  177. WGL_PBUFFER_WIDTH_EXT = constant.Constant( 'WGL_PBUFFER_WIDTH_EXT', 8244 )
  178. WGL_PBUFFER_HEIGHT_EXT = constant.Constant( 'WGL_PBUFFER_HEIGHT_EXT', 8245 )
  179. # EXT_depth_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:249)
  180. WGL_DEPTH_FLOAT_EXT = constant.Constant( 'WGL_DEPTH_FLOAT_EXT', 8256 )
  181. # 3DFX_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:253)
  182. WGL_SAMPLE_BUFFERS_3DFX = constant.Constant( 'WGL_SAMPLE_BUFFERS_3DFX', 8288 )
  183. WGL_SAMPLES_3DFX = constant.Constant( 'WGL_SAMPLES_3DFX', 8289 )
  184. # EXT_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:258)
  185. WGL_SAMPLE_BUFFERS_EXT = constant.Constant( 'WGL_SAMPLE_BUFFERS_EXT', 8257 )
  186. WGL_SAMPLES_EXT = constant.Constant( 'WGL_SAMPLES_EXT', 8258 )
  187. # I3D_digital_video_control (http://developer.download.nvidia.com/opengl/includes/wglext.h:263)
  188. WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D = constant.Constant( 'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D', 8272 )
  189. WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D = constant.Constant( 'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D', 8273 )
  190. WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D = constant.Constant( 'WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D', 8274 )
  191. WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D = constant.Constant( 'WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D', 8275 )
  192. # I3D_gamma (http://developer.download.nvidia.com/opengl/includes/wglext.h:270)
  193. WGL_GAMMA_TABLE_SIZE_I3D = constant.Constant( 'WGL_GAMMA_TABLE_SIZE_I3D', 8270 )
  194. WGL_GAMMA_EXCLUDE_DESKTOP_I3D = constant.Constant( 'WGL_GAMMA_EXCLUDE_DESKTOP_I3D', 8271 )
  195. # I3D_genlock (http://developer.download.nvidia.com/opengl/includes/wglext.h:275)
  196. WGL_GENLOCK_SOURCE_MULTIVIEW_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_MULTIVIEW_I3D', 8260 )
  197. WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D', 8261 )
  198. WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D', 8262 )
  199. WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D', 8263 )
  200. WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D', 8264 )
  201. WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D', 8265 )
  202. WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D', 8266 )
  203. WGL_GENLOCK_SOURCE_EDGE_RISING_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EDGE_RISING_I3D', 8267 )
  204. WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D = constant.Constant( 'WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D', 8268 )
  205. # I3D_image_buffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:287)
  206. WGL_IMAGE_BUFFER_MIN_ACCESS_I3D = constant.Constant( 'WGL_IMAGE_BUFFER_MIN_ACCESS_I3D', 1 )
  207. WGL_IMAGE_BUFFER_LOCK_I3D = constant.Constant( 'WGL_IMAGE_BUFFER_LOCK_I3D', 2 )
  208. # I3D_swap_frame_lock (http://developer.download.nvidia.com/opengl/includes/wglext.h:292)
  209. # NV_render_depth_texture (http://developer.download.nvidia.com/opengl/includes/wglext.h:295)
  210. WGL_BIND_TO_TEXTURE_DEPTH_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_DEPTH_NV', 8355 )
  211. WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV', 8356 )
  212. WGL_DEPTH_TEXTURE_FORMAT_NV = constant.Constant( 'WGL_DEPTH_TEXTURE_FORMAT_NV', 8357 )
  213. WGL_TEXTURE_DEPTH_COMPONENT_NV = constant.Constant( 'WGL_TEXTURE_DEPTH_COMPONENT_NV', 8358 )
  214. WGL_DEPTH_COMPONENT_NV = constant.Constant( 'WGL_DEPTH_COMPONENT_NV', 8359 )
  215. # NV_render_texture_rectangle (http://developer.download.nvidia.com/opengl/includes/wglext.h:303)
  216. WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV', 8352 )
  217. WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV', 8353 )
  218. WGL_TEXTURE_RECTANGLE_NV = constant.Constant( 'WGL_TEXTURE_RECTANGLE_NV', 8354 )
  219. # ATI_pixel_format_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:309)
  220. WGL_TYPE_RGBA_FLOAT_ATI = constant.Constant( 'WGL_TYPE_RGBA_FLOAT_ATI', 8608 )
  221. WGL_RGBA_FLOAT_MODE_ATI = constant.Constant( 'WGL_RGBA_FLOAT_MODE_ATI', 34848 )
  222. WGL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI = constant.Constant( 'WGL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI', 34869 )
  223. # NV_float_buffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:315)
  224. WGL_FLOAT_COMPONENTS_NV = constant.Constant( 'WGL_FLOAT_COMPONENTS_NV', 8368 )
  225. WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV', 8369 )
  226. WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV', 8370 )
  227. WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV', 8371 )
  228. WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV = constant.Constant( 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV', 8372 )
  229. WGL_TEXTURE_FLOAT_R_NV = constant.Constant( 'WGL_TEXTURE_FLOAT_R_NV', 8373 )
  230. WGL_TEXTURE_FLOAT_RG_NV = constant.Constant( 'WGL_TEXTURE_FLOAT_RG_NV', 8374 )
  231. WGL_TEXTURE_FLOAT_RGB_NV = constant.Constant( 'WGL_TEXTURE_FLOAT_RGB_NV', 8375 )
  232. WGL_TEXTURE_FLOAT_RGBA_NV = constant.Constant( 'WGL_TEXTURE_FLOAT_RGBA_NV', 8376 )
  233. # NV_swap_group (http://developer.download.nvidia.com/opengl/includes/wglext.h:327)
  234. # NV_gpu_affinity (http://developer.download.nvidia.com/opengl/includes/wglext.h:330)
  235. WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV = constant.Constant( 'WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV', 8400 )
  236. WGL_ERROR_MISSING_AFFINITY_MASK_NV = constant.Constant( 'WGL_ERROR_MISSING_AFFINITY_MASK_NV', 8401 )
  237. # ARB_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:338)
  238. HANDLE = POINTER(None)     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:60
  239. HPBUFFERARB = HANDLE     # http://developer.download.nvidia.com/opengl/includes/wglext.h:339
  240. # EXT_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:341)
  241. HPBUFFEREXT = HANDLE     # http://developer.download.nvidia.com/opengl/includes/wglext.h:342
  242. # NV_gpu_affinity (http://developer.download.nvidia.com/opengl/includes/wglext.h:345)
  243. HGPUNV = HANDLE     # http://developer.download.nvidia.com/opengl/includes/wglext.h:346
  244. class struct__GPU_DEVICE(Structure):
  245.     __slots__ = [
  246.         'cb',
  247.         'DeviceName',
  248.         'DeviceString',
  249.         'Flags',
  250.         'rcVirtualScreen',
  251.     ]
  252. DWORD = c_ulong     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:56
  253. CHAR = c_char     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:49
  254. class struct_tagRECT(Structure):
  255.     __slots__ = [
  256.         'left',
  257.         'top',
  258.         'right',
  259.         'bottom',
  260.     ]
  261. LONG = c_long     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:55
  262. struct_tagRECT._fields_ = [
  263.     ('left', LONG),
  264.     ('top', LONG),
  265.     ('right', LONG),
  266.     ('bottom', LONG),
  267. ]
  268.  
  269. RECT = struct_tagRECT     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:202
  270. struct__GPU_DEVICE._fields_ = [
  271.     ('cb', DWORD),
  272.     ('DeviceName', CHAR * 32),
  273.     ('DeviceString', CHAR * 128),
  274.     ('Flags', DWORD),
  275.     ('rcVirtualScreen', RECT),
  276. ]
  277.  
  278. GPU_DEVICE = struct__GPU_DEVICE     # http://developer.download.nvidia.com/opengl/includes/wglext.h:353
  279. PGPU_DEVICE = POINTER(struct__GPU_DEVICE)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:353
  280. # ARB_buffer_region (http://developer.download.nvidia.com/opengl/includes/wglext.h:356)
  281. WGL_ARB_buffer_region = constant.Constant( 'WGL_ARB_buffer_region', 1 )
  282. HDC = HANDLE     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:63
  283. UINT = c_uint     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:52
  284. wglCreateBufferRegionARB = platform.createBaseFunction(
  285.     'wglCreateBufferRegionARB', dll=platform.GL, resultType=HANDLE, 
  286.     argTypes=[HDC, c_int, UINT],
  287.     doc='wglCreateBufferRegionARB( HDC(None), c_int(None), UINT(None) ) -> HANDLE', 
  288.     argNames=['None', 'None', 'None'],
  289. )
  290.  
  291. VOID = None     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:47
  292. wglDeleteBufferRegionARB = platform.createBaseFunction(
  293.     'wglDeleteBufferRegionARB', dll=platform.GL, resultType=VOID, 
  294.     argTypes=[HANDLE],
  295.     doc='wglDeleteBufferRegionARB( HANDLE(None) ) -> VOID', 
  296.     argNames=['None'],
  297. )
  298.  
  299. BOOL = c_long     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:54
  300. wglSaveBufferRegionARB = platform.createBaseFunction(
  301.     'wglSaveBufferRegionARB', dll=platform.GL, resultType=BOOL, 
  302.     argTypes=[HANDLE, c_int, c_int, c_int, c_int],
  303.     doc='wglSaveBufferRegionARB( HANDLE(None), c_int(None), c_int(None), c_int(None), c_int(None) ) -> BOOL', 
  304.     argNames=['None', 'None', 'None', 'None', 'None'],
  305. )
  306.  
  307. wglRestoreBufferRegionARB = platform.createBaseFunction(
  308.     'wglRestoreBufferRegionARB', dll=platform.GL, resultType=BOOL, 
  309.     argTypes=[HANDLE, c_int, c_int, c_int, c_int, c_int, c_int],
  310.     doc='wglRestoreBufferRegionARB( HANDLE(None), c_int(None), c_int(None), c_int(None), c_int(None), c_int(None), c_int(None) ) -> BOOL', 
  311.     argNames=['None', 'None', 'None', 'None', 'None', 'None', 'None'],
  312. )
  313.  
  314. PFNWGLCREATEBUFFERREGIONARBPROC = CFUNCTYPE(HANDLE, HDC, c_int, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:364
  315. PFNWGLDELETEBUFFERREGIONARBPROC = CFUNCTYPE(VOID, HANDLE)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:365
  316. PFNWGLSAVEBUFFERREGIONARBPROC = CFUNCTYPE(BOOL, HANDLE, c_int, c_int, c_int, c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:366
  317. PFNWGLRESTOREBUFFERREGIONARBPROC = CFUNCTYPE(BOOL, HANDLE, c_int, c_int, c_int, c_int, c_int, c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:367
  318. # ARB_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:370)
  319. WGL_ARB_multisample = constant.Constant( 'WGL_ARB_multisample', 1 )
  320. # ARB_extensions_string (http://developer.download.nvidia.com/opengl/includes/wglext.h:374)
  321. WGL_ARB_extensions_string = constant.Constant( 'WGL_ARB_extensions_string', 1 )
  322. wglGetExtensionsStringARB = platform.createBaseFunction(
  323.     'wglGetExtensionsStringARB', dll=platform.GL, resultType=c_char_p, 
  324.     argTypes=[HDC],
  325.     doc='wglGetExtensionsStringARB( HDC(None) ) -> c_char_p', 
  326.     argNames=['None'],
  327. )
  328.  
  329. PFNWGLGETEXTENSIONSSTRINGARBPROC = CFUNCTYPE(c_char_p, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:379
  330. # ARB_pixel_format (http://developer.download.nvidia.com/opengl/includes/wglext.h:382)
  331. WGL_ARB_pixel_format = constant.Constant( 'WGL_ARB_pixel_format', 1 )
  332. wglGetPixelFormatAttribivARB = platform.createBaseFunction(
  333.     'wglGetPixelFormatAttribivARB', dll=platform.GL, resultType=BOOL, 
  334.     argTypes=[HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)],
  335.     doc='wglGetPixelFormatAttribivARB( HDC(None), c_int(None), c_int(None), UINT(None), POINTER(c_int)(), POINTER(c_int)() ) -> BOOL', 
  336.     argNames=['None', 'None', 'None', 'None', '', ''],
  337. )
  338.  
  339. FLOAT = c_float     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:57
  340. wglGetPixelFormatAttribfvARB = platform.createBaseFunction(
  341.     'wglGetPixelFormatAttribfvARB', dll=platform.GL, resultType=BOOL, 
  342.     argTypes=[HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)],
  343.     doc='wglGetPixelFormatAttribfvARB( HDC(None), c_int(None), c_int(None), UINT(None), POINTER(c_int)(), POINTER(FLOAT)() ) -> BOOL', 
  344.     argNames=['None', 'None', 'None', 'None', '', ''],
  345. )
  346.  
  347. wglChoosePixelFormatARB = platform.createBaseFunction(
  348.     'wglChoosePixelFormatARB', dll=platform.GL, resultType=BOOL, 
  349.     argTypes=[HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)],
  350.     doc='wglChoosePixelFormatARB( HDC(None), POINTER(c_int)(), POINTER(FLOAT)(), UINT(None), POINTER(c_int)(), POINTER(UINT)() ) -> BOOL', 
  351.     argNames=['None', '', '', 'None', '', ''],
  352. )
  353.  
  354. PFNWGLGETPIXELFORMATATTRIBIVARBPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:389
  355. PFNWGLGETPIXELFORMATATTRIBFVARBPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:390
  356. PFNWGLCHOOSEPIXELFORMATARBPROC = CFUNCTYPE(BOOL, HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:391
  357. # ARB_make_current_read (http://developer.download.nvidia.com/opengl/includes/wglext.h:394)
  358. WGL_ARB_make_current_read = constant.Constant( 'WGL_ARB_make_current_read', 1 )
  359. HGLRC = HANDLE     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:62
  360. wglMakeContextCurrentARB = platform.createBaseFunction(
  361.     'wglMakeContextCurrentARB', dll=platform.GL, resultType=BOOL, 
  362.     argTypes=[HDC, HDC, HGLRC],
  363.     doc='wglMakeContextCurrentARB( HDC(None), HDC(None), HGLRC(None) ) -> BOOL', 
  364.     argNames=['None', 'None', 'None'],
  365. )
  366.  
  367. wglGetCurrentReadDCARB = platform.createBaseFunction(
  368.     'wglGetCurrentReadDCARB', dll=platform.GL, resultType=HDC, 
  369.     argTypes=[],
  370.     doc='wglGetCurrentReadDCARB(  ) -> HDC', 
  371.     argNames=[],
  372. )
  373.  
  374. PFNWGLMAKECONTEXTCURRENTARBPROC = CFUNCTYPE(BOOL, HDC, HDC, HGLRC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:400
  375. PFNWGLGETCURRENTREADDCARBPROC = CFUNCTYPE(HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:401
  376. # ARB_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:404)
  377. WGL_ARB_pbuffer = constant.Constant( 'WGL_ARB_pbuffer', 1 )
  378. wglCreatePbufferARB = platform.createBaseFunction(
  379.     'wglCreatePbufferARB', dll=platform.GL, resultType=HPBUFFERARB, 
  380.     argTypes=[HDC, c_int, c_int, c_int, POINTER(c_int)],
  381.     doc='wglCreatePbufferARB( HDC(None), c_int(None), c_int(None), c_int(None), POINTER(c_int)() ) -> HPBUFFERARB', 
  382.     argNames=['None', 'None', 'None', 'None', ''],
  383. )
  384.  
  385. wglGetPbufferDCARB = platform.createBaseFunction(
  386.     'wglGetPbufferDCARB', dll=platform.GL, resultType=HDC, 
  387.     argTypes=[HPBUFFERARB],
  388.     doc='wglGetPbufferDCARB( HPBUFFERARB(None) ) -> HDC', 
  389.     argNames=['None'],
  390. )
  391.  
  392. wglReleasePbufferDCARB = platform.createBaseFunction(
  393.     'wglReleasePbufferDCARB', dll=platform.GL, resultType=c_int, 
  394.     argTypes=[HPBUFFERARB, HDC],
  395.     doc='wglReleasePbufferDCARB( HPBUFFERARB(None), HDC(None) ) -> c_int', 
  396.     argNames=['None', 'None'],
  397. )
  398.  
  399. wglDestroyPbufferARB = platform.createBaseFunction(
  400.     'wglDestroyPbufferARB', dll=platform.GL, resultType=BOOL, 
  401.     argTypes=[HPBUFFERARB],
  402.     doc='wglDestroyPbufferARB( HPBUFFERARB(None) ) -> BOOL', 
  403.     argNames=['None'],
  404. )
  405.  
  406. wglQueryPbufferARB = platform.createBaseFunction(
  407.     'wglQueryPbufferARB', dll=platform.GL, resultType=BOOL, 
  408.     argTypes=[HPBUFFERARB, c_int, POINTER(c_int)],
  409.     doc='wglQueryPbufferARB( HPBUFFERARB(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  410.     argNames=['None', 'None', ''],
  411. )
  412.  
  413. PFNWGLCREATEPBUFFERARBPROC = CFUNCTYPE(HPBUFFERARB, HDC, c_int, c_int, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:413
  414. PFNWGLGETPBUFFERDCARBPROC = CFUNCTYPE(HDC, HPBUFFERARB)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:414
  415. PFNWGLRELEASEPBUFFERDCARBPROC = CFUNCTYPE(c_int, HPBUFFERARB, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:415
  416. PFNWGLDESTROYPBUFFERARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:416
  417. PFNWGLQUERYPBUFFERARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:417
  418. # ARB_render_texture (http://developer.download.nvidia.com/opengl/includes/wglext.h:420)
  419. WGL_ARB_render_texture = constant.Constant( 'WGL_ARB_render_texture', 1 )
  420. wglBindTexImageARB = platform.createBaseFunction(
  421.     'wglBindTexImageARB', dll=platform.GL, resultType=BOOL, 
  422.     argTypes=[HPBUFFERARB, c_int],
  423.     doc='wglBindTexImageARB( HPBUFFERARB(None), c_int(None) ) -> BOOL', 
  424.     argNames=['None', 'None'],
  425. )
  426.  
  427. wglReleaseTexImageARB = platform.createBaseFunction(
  428.     'wglReleaseTexImageARB', dll=platform.GL, resultType=BOOL, 
  429.     argTypes=[HPBUFFERARB, c_int],
  430.     doc='wglReleaseTexImageARB( HPBUFFERARB(None), c_int(None) ) -> BOOL', 
  431.     argNames=['None', 'None'],
  432. )
  433.  
  434. wglSetPbufferAttribARB = platform.createBaseFunction(
  435.     'wglSetPbufferAttribARB', dll=platform.GL, resultType=BOOL, 
  436.     argTypes=[HPBUFFERARB, POINTER(c_int)],
  437.     doc='wglSetPbufferAttribARB( HPBUFFERARB(None), POINTER(c_int)() ) -> BOOL', 
  438.     argNames=['None', ''],
  439. )
  440.  
  441. PFNWGLBINDTEXIMAGEARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:427
  442. PFNWGLRELEASETEXIMAGEARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:428
  443. PFNWGLSETPBUFFERATTRIBARBPROC = CFUNCTYPE(BOOL, HPBUFFERARB, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:429
  444. # ARB_pixel_format_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:432)
  445. WGL_ARB_pixel_format_float = constant.Constant( 'WGL_ARB_pixel_format_float', 1 )
  446. # EXT_display_color_table (http://developer.download.nvidia.com/opengl/includes/wglext.h:436)
  447. WGL_EXT_display_color_table = constant.Constant( 'WGL_EXT_display_color_table', 1 )
  448. GLboolean = c_ubyte     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:20
  449. GLushort = c_ushort     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:27
  450. wglCreateDisplayColorTableEXT = platform.createBaseFunction(
  451.     'wglCreateDisplayColorTableEXT', dll=platform.GL, resultType=GLboolean, 
  452.     argTypes=[GLushort],
  453.     doc='wglCreateDisplayColorTableEXT( GLushort(None) ) -> GLboolean', 
  454.     argNames=['None'],
  455. )
  456.  
  457. GLuint = c_uint     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:28
  458. wglLoadDisplayColorTableEXT = platform.createBaseFunction(
  459.     'wglLoadDisplayColorTableEXT', dll=platform.GL, resultType=GLboolean, 
  460.     argTypes=[POINTER(GLushort), GLuint],
  461.     doc='wglLoadDisplayColorTableEXT( POINTER(GLushort)(), GLuint(None) ) -> GLboolean', 
  462.     argNames=['', 'None'],
  463. )
  464.  
  465. wglBindDisplayColorTableEXT = platform.createBaseFunction(
  466.     'wglBindDisplayColorTableEXT', dll=platform.GL, resultType=GLboolean, 
  467.     argTypes=[GLushort],
  468.     doc='wglBindDisplayColorTableEXT( GLushort(None) ) -> GLboolean', 
  469.     argNames=['None'],
  470. )
  471.  
  472. wglDestroyDisplayColorTableEXT = platform.createBaseFunction(
  473.     'wglDestroyDisplayColorTableEXT', dll=platform.GL, resultType=VOID, 
  474.     argTypes=[GLushort],
  475.     doc='wglDestroyDisplayColorTableEXT( GLushort(None) ) -> VOID', 
  476.     argNames=['None'],
  477. )
  478.  
  479. PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, GLushort)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:444
  480. PFNWGLLOADDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, POINTER(GLushort), GLuint)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:445
  481. PFNWGLBINDDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(GLboolean, GLushort)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:446
  482. PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC = CFUNCTYPE(VOID, GLushort)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:447
  483. # EXT_extensions_string (http://developer.download.nvidia.com/opengl/includes/wglext.h:450)
  484. WGL_EXT_extensions_string = constant.Constant( 'WGL_EXT_extensions_string', 1 )
  485. wglGetExtensionsStringEXT = platform.createBaseFunction(
  486.     'wglGetExtensionsStringEXT', dll=platform.GL, resultType=c_char_p, 
  487.     argTypes=[],
  488.     doc='wglGetExtensionsStringEXT(  ) -> c_char_p', 
  489.     argNames=[],
  490. )
  491.  
  492. PFNWGLGETEXTENSIONSSTRINGEXTPROC = CFUNCTYPE(c_char_p)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:455
  493. # EXT_make_current_read (http://developer.download.nvidia.com/opengl/includes/wglext.h:458)
  494. WGL_EXT_make_current_read = constant.Constant( 'WGL_EXT_make_current_read', 1 )
  495. wglMakeContextCurrentEXT = platform.createBaseFunction(
  496.     'wglMakeContextCurrentEXT', dll=platform.GL, resultType=BOOL, 
  497.     argTypes=[HDC, HDC, HGLRC],
  498.     doc='wglMakeContextCurrentEXT( HDC(None), HDC(None), HGLRC(None) ) -> BOOL', 
  499.     argNames=['None', 'None', 'None'],
  500. )
  501.  
  502. wglGetCurrentReadDCEXT = platform.createBaseFunction(
  503.     'wglGetCurrentReadDCEXT', dll=platform.GL, resultType=HDC, 
  504.     argTypes=[],
  505.     doc='wglGetCurrentReadDCEXT(  ) -> HDC', 
  506.     argNames=[],
  507. )
  508.  
  509. PFNWGLMAKECONTEXTCURRENTEXTPROC = CFUNCTYPE(BOOL, HDC, HDC, HGLRC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:464
  510. PFNWGLGETCURRENTREADDCEXTPROC = CFUNCTYPE(HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:465
  511. # EXT_pbuffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:468)
  512. WGL_EXT_pbuffer = constant.Constant( 'WGL_EXT_pbuffer', 1 )
  513. wglCreatePbufferEXT = platform.createBaseFunction(
  514.     'wglCreatePbufferEXT', dll=platform.GL, resultType=HPBUFFEREXT, 
  515.     argTypes=[HDC, c_int, c_int, c_int, POINTER(c_int)],
  516.     doc='wglCreatePbufferEXT( HDC(None), c_int(None), c_int(None), c_int(None), POINTER(c_int)() ) -> HPBUFFEREXT', 
  517.     argNames=['None', 'None', 'None', 'None', ''],
  518. )
  519.  
  520. wglGetPbufferDCEXT = platform.createBaseFunction(
  521.     'wglGetPbufferDCEXT', dll=platform.GL, resultType=HDC, 
  522.     argTypes=[HPBUFFEREXT],
  523.     doc='wglGetPbufferDCEXT( HPBUFFEREXT(None) ) -> HDC', 
  524.     argNames=['None'],
  525. )
  526.  
  527. wglReleasePbufferDCEXT = platform.createBaseFunction(
  528.     'wglReleasePbufferDCEXT', dll=platform.GL, resultType=c_int, 
  529.     argTypes=[HPBUFFEREXT, HDC],
  530.     doc='wglReleasePbufferDCEXT( HPBUFFEREXT(None), HDC(None) ) -> c_int', 
  531.     argNames=['None', 'None'],
  532. )
  533.  
  534. wglDestroyPbufferEXT = platform.createBaseFunction(
  535.     'wglDestroyPbufferEXT', dll=platform.GL, resultType=BOOL, 
  536.     argTypes=[HPBUFFEREXT],
  537.     doc='wglDestroyPbufferEXT( HPBUFFEREXT(None) ) -> BOOL', 
  538.     argNames=['None'],
  539. )
  540.  
  541. wglQueryPbufferEXT = platform.createBaseFunction(
  542.     'wglQueryPbufferEXT', dll=platform.GL, resultType=BOOL, 
  543.     argTypes=[HPBUFFEREXT, c_int, POINTER(c_int)],
  544.     doc='wglQueryPbufferEXT( HPBUFFEREXT(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  545.     argNames=['None', 'None', ''],
  546. )
  547.  
  548. PFNWGLCREATEPBUFFEREXTPROC = CFUNCTYPE(HPBUFFEREXT, HDC, c_int, c_int, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:477
  549. PFNWGLGETPBUFFERDCEXTPROC = CFUNCTYPE(HDC, HPBUFFEREXT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:478
  550. PFNWGLRELEASEPBUFFERDCEXTPROC = CFUNCTYPE(c_int, HPBUFFEREXT, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:479
  551. PFNWGLDESTROYPBUFFEREXTPROC = CFUNCTYPE(BOOL, HPBUFFEREXT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:480
  552. PFNWGLQUERYPBUFFEREXTPROC = CFUNCTYPE(BOOL, HPBUFFEREXT, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:481
  553. # EXT_pixel_format (http://developer.download.nvidia.com/opengl/includes/wglext.h:484)
  554. WGL_EXT_pixel_format = constant.Constant( 'WGL_EXT_pixel_format', 1 )
  555. wglGetPixelFormatAttribivEXT = platform.createBaseFunction(
  556.     'wglGetPixelFormatAttribivEXT', dll=platform.GL, resultType=BOOL, 
  557.     argTypes=[HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int)],
  558.     doc='wglGetPixelFormatAttribivEXT( HDC(None), c_int(None), c_int(None), UINT(None), POINTER(c_int)(), POINTER(c_int)() ) -> BOOL', 
  559.     argNames=['None', 'None', 'None', 'None', '', ''],
  560. )
  561.  
  562. wglGetPixelFormatAttribfvEXT = platform.createBaseFunction(
  563.     'wglGetPixelFormatAttribfvEXT', dll=platform.GL, resultType=BOOL, 
  564.     argTypes=[HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT)],
  565.     doc='wglGetPixelFormatAttribfvEXT( HDC(None), c_int(None), c_int(None), UINT(None), POINTER(c_int)(), POINTER(FLOAT)() ) -> BOOL', 
  566.     argNames=['None', 'None', 'None', 'None', '', ''],
  567. )
  568.  
  569. wglChoosePixelFormatEXT = platform.createBaseFunction(
  570.     'wglChoosePixelFormatEXT', dll=platform.GL, resultType=BOOL, 
  571.     argTypes=[HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT)],
  572.     doc='wglChoosePixelFormatEXT( HDC(None), POINTER(c_int)(), POINTER(FLOAT)(), UINT(None), POINTER(c_int)(), POINTER(UINT)() ) -> BOOL', 
  573.     argNames=['None', '', '', 'None', '', ''],
  574. )
  575.  
  576. PFNWGLGETPIXELFORMATATTRIBIVEXTPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:491
  577. PFNWGLGETPIXELFORMATATTRIBFVEXTPROC = CFUNCTYPE(BOOL, HDC, c_int, c_int, UINT, POINTER(c_int), POINTER(FLOAT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:492
  578. PFNWGLCHOOSEPIXELFORMATEXTPROC = CFUNCTYPE(BOOL, HDC, POINTER(c_int), POINTER(FLOAT), UINT, POINTER(c_int), POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:493
  579. # EXT_swap_control (http://developer.download.nvidia.com/opengl/includes/wglext.h:496)
  580. WGL_EXT_swap_control = constant.Constant( 'WGL_EXT_swap_control', 1 )
  581. wglSwapIntervalEXT = platform.createBaseFunction(
  582.     'wglSwapIntervalEXT', dll=platform.GL, resultType=BOOL, 
  583.     argTypes=[c_int],
  584.     doc='wglSwapIntervalEXT( c_int(None) ) -> BOOL', 
  585.     argNames=['None'],
  586. )
  587.  
  588. wglGetSwapIntervalEXT = platform.createBaseFunction(
  589.     'wglGetSwapIntervalEXT', dll=platform.GL, resultType=c_int, 
  590.     argTypes=[],
  591.     doc='wglGetSwapIntervalEXT(  ) -> c_int', 
  592.     argNames=[],
  593. )
  594.  
  595. PFNWGLSWAPINTERVALEXTPROC = CFUNCTYPE(BOOL, c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:502
  596. PFNWGLGETSWAPINTERVALEXTPROC = CFUNCTYPE(c_int)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:503
  597. # EXT_depth_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:506)
  598. WGL_EXT_depth_float = constant.Constant( 'WGL_EXT_depth_float', 1 )
  599. # NV_vertex_array_range (http://developer.download.nvidia.com/opengl/includes/wglext.h:510)
  600. WGL_NV_vertex_array_range = constant.Constant( 'WGL_NV_vertex_array_range', 1 )
  601. GLsizei = c_int     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:25
  602. GLfloat = c_float     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:29
  603. wglAllocateMemoryNV = platform.createBaseFunction(
  604.     'wglAllocateMemoryNV', dll=platform.GL, resultType=POINTER(c_void), 
  605.     argTypes=[GLsizei, GLfloat, GLfloat, GLfloat],
  606.     doc='wglAllocateMemoryNV( GLsizei(None), GLfloat(None), GLfloat(None), GLfloat(None) ) -> POINTER(c_void)', 
  607.     argNames=['None', 'None', 'None', 'None'],
  608. )
  609.  
  610. wglFreeMemoryNV = platform.createBaseFunction(
  611.     'wglFreeMemoryNV', dll=platform.GL, resultType=None, 
  612.     argTypes=[POINTER(None)],
  613.     doc='wglFreeMemoryNV( POINTER(None)() ) -> None', 
  614.     argNames=[''],
  615. )
  616.  
  617. PFNWGLALLOCATEMEMORYNVPROC = CFUNCTYPE(POINTER(c_void), GLsizei, GLfloat, GLfloat, GLfloat)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:516
  618. PFNWGLFREEMEMORYNVPROC = CFUNCTYPE(None, POINTER(None))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:517
  619. # 3DFX_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:520)
  620. WGL_3DFX_multisample = constant.Constant( 'WGL_3DFX_multisample', 1 )
  621. # EXT_multisample (http://developer.download.nvidia.com/opengl/includes/wglext.h:524)
  622. WGL_EXT_multisample = constant.Constant( 'WGL_EXT_multisample', 1 )
  623. # OML_sync_control (http://developer.download.nvidia.com/opengl/includes/wglext.h:528)
  624. WGL_OML_sync_control = constant.Constant( 'WGL_OML_sync_control', 1 )
  625. INT64 = c_longlong     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:44
  626. wglGetSyncValuesOML = platform.createBaseFunction(
  627.     'wglGetSyncValuesOML', dll=platform.GL, resultType=BOOL, 
  628.     argTypes=[HDC, POINTER(INT64), POINTER(INT64), POINTER(INT64)],
  629.     doc='wglGetSyncValuesOML( HDC(None), POINTER(INT64)(), POINTER(INT64)(), POINTER(INT64)() ) -> BOOL', 
  630.     argNames=['None', '', '', ''],
  631. )
  632.  
  633. INT32 = c_int     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:37
  634. wglGetMscRateOML = platform.createBaseFunction(
  635.     'wglGetMscRateOML', dll=platform.GL, resultType=BOOL, 
  636.     argTypes=[HDC, POINTER(INT32), POINTER(INT32)],
  637.     doc='wglGetMscRateOML( HDC(None), POINTER(INT32)(), POINTER(INT32)() ) -> BOOL', 
  638.     argNames=['None', '', ''],
  639. )
  640.  
  641. wglSwapBuffersMscOML = platform.createBaseFunction(
  642.     'wglSwapBuffersMscOML', dll=platform.GL, resultType=INT64, 
  643.     argTypes=[HDC, INT64, INT64, INT64],
  644.     doc='wglSwapBuffersMscOML( HDC(None), INT64(None), INT64(None), INT64(None) ) -> INT64', 
  645.     argNames=['None', 'None', 'None', 'None'],
  646. )
  647.  
  648. wglSwapLayerBuffersMscOML = platform.createBaseFunction(
  649.     'wglSwapLayerBuffersMscOML', dll=platform.GL, resultType=INT64, 
  650.     argTypes=[HDC, c_int, INT64, INT64, INT64],
  651.     doc='wglSwapLayerBuffersMscOML( HDC(None), c_int(None), INT64(None), INT64(None), INT64(None) ) -> INT64', 
  652.     argNames=['None', 'None', 'None', 'None', 'None'],
  653. )
  654.  
  655. wglWaitForMscOML = platform.createBaseFunction(
  656.     'wglWaitForMscOML', dll=platform.GL, resultType=BOOL, 
  657.     argTypes=[HDC, INT64, INT64, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)],
  658.     doc='wglWaitForMscOML( HDC(None), INT64(None), INT64(None), INT64(None), POINTER(INT64)(), POINTER(INT64)(), POINTER(INT64)() ) -> BOOL', 
  659.     argNames=['None', 'None', 'None', 'None', '', '', ''],
  660. )
  661.  
  662. wglWaitForSbcOML = platform.createBaseFunction(
  663.     'wglWaitForSbcOML', dll=platform.GL, resultType=BOOL, 
  664.     argTypes=[HDC, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64)],
  665.     doc='wglWaitForSbcOML( HDC(None), INT64(None), POINTER(INT64)(), POINTER(INT64)(), POINTER(INT64)() ) -> BOOL', 
  666.     argNames=['None', 'None', '', '', ''],
  667. )
  668.  
  669. PFNWGLGETSYNCVALUESOMLPROC = CFUNCTYPE(BOOL, HDC, POINTER(INT64), POINTER(INT64), POINTER(INT64))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:538
  670. PFNWGLGETMSCRATEOMLPROC = CFUNCTYPE(BOOL, HDC, POINTER(INT32), POINTER(INT32))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:539
  671. PFNWGLSWAPBUFFERSMSCOMLPROC = CFUNCTYPE(INT64, HDC, INT64, INT64, INT64)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:540
  672. PFNWGLSWAPLAYERBUFFERSMSCOMLPROC = CFUNCTYPE(INT64, HDC, c_int, INT64, INT64, INT64)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:541
  673. PFNWGLWAITFORMSCOMLPROC = CFUNCTYPE(BOOL, HDC, INT64, INT64, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:542
  674. PFNWGLWAITFORSBCOMLPROC = CFUNCTYPE(BOOL, HDC, INT64, POINTER(INT64), POINTER(INT64), POINTER(INT64))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:543
  675. # I3D_digital_video_control (http://developer.download.nvidia.com/opengl/includes/wglext.h:546)
  676. WGL_I3D_digital_video_control = constant.Constant( 'WGL_I3D_digital_video_control', 1 )
  677. wglGetDigitalVideoParametersI3D = platform.createBaseFunction(
  678.     'wglGetDigitalVideoParametersI3D', dll=platform.GL, resultType=BOOL, 
  679.     argTypes=[HDC, c_int, POINTER(c_int)],
  680.     doc='wglGetDigitalVideoParametersI3D( HDC(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  681.     argNames=['None', 'None', ''],
  682. )
  683.  
  684. wglSetDigitalVideoParametersI3D = platform.createBaseFunction(
  685.     'wglSetDigitalVideoParametersI3D', dll=platform.GL, resultType=BOOL, 
  686.     argTypes=[HDC, c_int, POINTER(c_int)],
  687.     doc='wglSetDigitalVideoParametersI3D( HDC(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  688.     argNames=['None', 'None', ''],
  689. )
  690.  
  691. PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:552
  692. PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:553
  693. # I3D_gamma (http://developer.download.nvidia.com/opengl/includes/wglext.h:556)
  694. WGL_I3D_gamma = constant.Constant( 'WGL_I3D_gamma', 1 )
  695. wglGetGammaTableParametersI3D = platform.createBaseFunction(
  696.     'wglGetGammaTableParametersI3D', dll=platform.GL, resultType=BOOL, 
  697.     argTypes=[HDC, c_int, POINTER(c_int)],
  698.     doc='wglGetGammaTableParametersI3D( HDC(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  699.     argNames=['None', 'None', ''],
  700. )
  701.  
  702. wglSetGammaTableParametersI3D = platform.createBaseFunction(
  703.     'wglSetGammaTableParametersI3D', dll=platform.GL, resultType=BOOL, 
  704.     argTypes=[HDC, c_int, POINTER(c_int)],
  705.     doc='wglSetGammaTableParametersI3D( HDC(None), c_int(None), POINTER(c_int)() ) -> BOOL', 
  706.     argNames=['None', 'None', ''],
  707. )
  708.  
  709. USHORT = c_ushort     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:51
  710. wglGetGammaTableI3D = platform.createBaseFunction(
  711.     'wglGetGammaTableI3D', dll=platform.GL, resultType=BOOL, 
  712.     argTypes=[HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)],
  713.     doc='wglGetGammaTableI3D( HDC(None), c_int(None), POINTER(USHORT)(), POINTER(USHORT)(), POINTER(USHORT)() ) -> BOOL', 
  714.     argNames=['None', 'None', '', '', ''],
  715. )
  716.  
  717. wglSetGammaTableI3D = platform.createBaseFunction(
  718.     'wglSetGammaTableI3D', dll=platform.GL, resultType=BOOL, 
  719.     argTypes=[HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT)],
  720.     doc='wglSetGammaTableI3D( HDC(None), c_int(None), POINTER(USHORT)(), POINTER(USHORT)(), POINTER(USHORT)() ) -> BOOL', 
  721.     argNames=['None', 'None', '', '', ''],
  722. )
  723.  
  724. PFNWGLGETGAMMATABLEPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:564
  725. PFNWGLSETGAMMATABLEPARAMETERSI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(c_int))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:565
  726. PFNWGLGETGAMMATABLEI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:566
  727. PFNWGLSETGAMMATABLEI3DPROC = CFUNCTYPE(BOOL, HDC, c_int, POINTER(USHORT), POINTER(USHORT), POINTER(USHORT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:567
  728. # I3D_genlock (http://developer.download.nvidia.com/opengl/includes/wglext.h:570)
  729. WGL_I3D_genlock = constant.Constant( 'WGL_I3D_genlock', 1 )
  730. wglEnableGenlockI3D = platform.createBaseFunction(
  731.     'wglEnableGenlockI3D', dll=platform.GL, resultType=BOOL, 
  732.     argTypes=[HDC],
  733.     doc='wglEnableGenlockI3D( HDC(None) ) -> BOOL', 
  734.     argNames=['None'],
  735. )
  736.  
  737. wglDisableGenlockI3D = platform.createBaseFunction(
  738.     'wglDisableGenlockI3D', dll=platform.GL, resultType=BOOL, 
  739.     argTypes=[HDC],
  740.     doc='wglDisableGenlockI3D( HDC(None) ) -> BOOL', 
  741.     argNames=['None'],
  742. )
  743.  
  744. wglIsEnabledGenlockI3D = platform.createBaseFunction(
  745.     'wglIsEnabledGenlockI3D', dll=platform.GL, resultType=BOOL, 
  746.     argTypes=[HDC, POINTER(BOOL)],
  747.     doc='wglIsEnabledGenlockI3D( HDC(None), POINTER(BOOL)() ) -> BOOL', 
  748.     argNames=['None', ''],
  749. )
  750.  
  751. wglGenlockSourceI3D = platform.createBaseFunction(
  752.     'wglGenlockSourceI3D', dll=platform.GL, resultType=BOOL, 
  753.     argTypes=[HDC, UINT],
  754.     doc='wglGenlockSourceI3D( HDC(None), UINT(None) ) -> BOOL', 
  755.     argNames=['None', 'None'],
  756. )
  757.  
  758. wglGetGenlockSourceI3D = platform.createBaseFunction(
  759.     'wglGetGenlockSourceI3D', dll=platform.GL, resultType=BOOL, 
  760.     argTypes=[HDC, POINTER(UINT)],
  761.     doc='wglGetGenlockSourceI3D( HDC(None), POINTER(UINT)() ) -> BOOL', 
  762.     argNames=['None', ''],
  763. )
  764.  
  765. wglGenlockSourceEdgeI3D = platform.createBaseFunction(
  766.     'wglGenlockSourceEdgeI3D', dll=platform.GL, resultType=BOOL, 
  767.     argTypes=[HDC, UINT],
  768.     doc='wglGenlockSourceEdgeI3D( HDC(None), UINT(None) ) -> BOOL', 
  769.     argNames=['None', 'None'],
  770. )
  771.  
  772. wglGetGenlockSourceEdgeI3D = platform.createBaseFunction(
  773.     'wglGetGenlockSourceEdgeI3D', dll=platform.GL, resultType=BOOL, 
  774.     argTypes=[HDC, POINTER(UINT)],
  775.     doc='wglGetGenlockSourceEdgeI3D( HDC(None), POINTER(UINT)() ) -> BOOL', 
  776.     argNames=['None', ''],
  777. )
  778.  
  779. wglGenlockSampleRateI3D = platform.createBaseFunction(
  780.     'wglGenlockSampleRateI3D', dll=platform.GL, resultType=BOOL, 
  781.     argTypes=[HDC, UINT],
  782.     doc='wglGenlockSampleRateI3D( HDC(None), UINT(None) ) -> BOOL', 
  783.     argNames=['None', 'None'],
  784. )
  785.  
  786. wglGetGenlockSampleRateI3D = platform.createBaseFunction(
  787.     'wglGetGenlockSampleRateI3D', dll=platform.GL, resultType=BOOL, 
  788.     argTypes=[HDC, POINTER(UINT)],
  789.     doc='wglGetGenlockSampleRateI3D( HDC(None), POINTER(UINT)() ) -> BOOL', 
  790.     argNames=['None', ''],
  791. )
  792.  
  793. wglGenlockSourceDelayI3D = platform.createBaseFunction(
  794.     'wglGenlockSourceDelayI3D', dll=platform.GL, resultType=BOOL, 
  795.     argTypes=[HDC, UINT],
  796.     doc='wglGenlockSourceDelayI3D( HDC(None), UINT(None) ) -> BOOL', 
  797.     argNames=['None', 'None'],
  798. )
  799.  
  800. wglGetGenlockSourceDelayI3D = platform.createBaseFunction(
  801.     'wglGetGenlockSourceDelayI3D', dll=platform.GL, resultType=BOOL, 
  802.     argTypes=[HDC, POINTER(UINT)],
  803.     doc='wglGetGenlockSourceDelayI3D( HDC(None), POINTER(UINT)() ) -> BOOL', 
  804.     argNames=['None', ''],
  805. )
  806.  
  807. wglQueryGenlockMaxSourceDelayI3D = platform.createBaseFunction(
  808.     'wglQueryGenlockMaxSourceDelayI3D', dll=platform.GL, resultType=BOOL, 
  809.     argTypes=[HDC, POINTER(UINT), POINTER(UINT)],
  810.     doc='wglQueryGenlockMaxSourceDelayI3D( HDC(None), POINTER(UINT)(), POINTER(UINT)() ) -> BOOL', 
  811.     argNames=['None', '', ''],
  812. )
  813.  
  814. PFNWGLENABLEGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:586
  815. PFNWGLDISABLEGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:587
  816. PFNWGLISENABLEDGENLOCKI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(BOOL))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:588
  817. PFNWGLGENLOCKSOURCEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:589
  818. PFNWGLGETGENLOCKSOURCEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:590
  819. PFNWGLGENLOCKSOURCEEDGEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:591
  820. PFNWGLGETGENLOCKSOURCEEDGEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:592
  821. PFNWGLGENLOCKSAMPLERATEI3DPROC = CFUNCTYPE(BOOL, HDC, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:593
  822. PFNWGLGETGENLOCKSAMPLERATEI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:594
  823. PFNWGLGENLOCKSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:595
  824. PFNWGLGETGENLOCKSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:596
  825. PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(UINT), POINTER(UINT))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:597
  826. # I3D_image_buffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:600)
  827. WGL_I3D_image_buffer = constant.Constant( 'WGL_I3D_image_buffer', 1 )
  828. LPVOID = POINTER(None)     # /home/mcfletch/pylive/OpenGL-ctypes/src/wgl.h:47
  829. wglCreateImageBufferI3D = platform.createBaseFunction(
  830.     'wglCreateImageBufferI3D', dll=platform.GL, resultType=LPVOID, 
  831.     argTypes=[HDC, DWORD, UINT],
  832.     doc='wglCreateImageBufferI3D( HDC(None), DWORD(None), UINT(None) ) -> LPVOID', 
  833.     argNames=['None', 'None', 'None'],
  834. )
  835.  
  836. wglDestroyImageBufferI3D = platform.createBaseFunction(
  837.     'wglDestroyImageBufferI3D', dll=platform.GL, resultType=BOOL, 
  838.     argTypes=[HDC, LPVOID],
  839.     doc='wglDestroyImageBufferI3D( HDC(None), LPVOID(None) ) -> BOOL', 
  840.     argNames=['None', 'None'],
  841. )
  842.  
  843. wglAssociateImageBufferEventsI3D = platform.createBaseFunction(
  844.     'wglAssociateImageBufferEventsI3D', dll=platform.GL, resultType=BOOL, 
  845.     argTypes=[HDC, POINTER(HANDLE), POINTER(LPVOID), POINTER(DWORD), UINT],
  846.     doc='wglAssociateImageBufferEventsI3D( HDC(None), POINTER(HANDLE)(), POINTER(LPVOID)(), POINTER(DWORD)(), UINT(None) ) -> BOOL', 
  847.     argNames=['None', '', '', '', 'None'],
  848. )
  849.  
  850. wglReleaseImageBufferEventsI3D = platform.createBaseFunction(
  851.     'wglReleaseImageBufferEventsI3D', dll=platform.GL, resultType=BOOL, 
  852.     argTypes=[HDC, POINTER(LPVOID), UINT],
  853.     doc='wglReleaseImageBufferEventsI3D( HDC(None), POINTER(LPVOID)(), UINT(None) ) -> BOOL', 
  854.     argNames=['None', '', 'None'],
  855. )
  856.  
  857. PFNWGLCREATEIMAGEBUFFERI3DPROC = CFUNCTYPE(LPVOID, HDC, DWORD, UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:608
  858. PFNWGLDESTROYIMAGEBUFFERI3DPROC = CFUNCTYPE(BOOL, HDC, LPVOID)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:609
  859. PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(HANDLE), POINTER(LPVOID), POINTER(DWORD), UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:610
  860. PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC = CFUNCTYPE(BOOL, HDC, POINTER(LPVOID), UINT)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:611
  861. # I3D_swap_frame_lock (http://developer.download.nvidia.com/opengl/includes/wglext.h:614)
  862. WGL_I3D_swap_frame_lock = constant.Constant( 'WGL_I3D_swap_frame_lock', 1 )
  863. wglEnableFrameLockI3D = platform.createBaseFunction(
  864.     'wglEnableFrameLockI3D', dll=platform.GL, resultType=BOOL, 
  865.     argTypes=[],
  866.     doc='wglEnableFrameLockI3D(  ) -> BOOL', 
  867.     argNames=[],
  868. )
  869.  
  870. wglDisableFrameLockI3D = platform.createBaseFunction(
  871.     'wglDisableFrameLockI3D', dll=platform.GL, resultType=BOOL, 
  872.     argTypes=[],
  873.     doc='wglDisableFrameLockI3D(  ) -> BOOL', 
  874.     argNames=[],
  875. )
  876.  
  877. wglIsEnabledFrameLockI3D = platform.createBaseFunction(
  878.     'wglIsEnabledFrameLockI3D', dll=platform.GL, resultType=BOOL, 
  879.     argTypes=[POINTER(BOOL)],
  880.     doc='wglIsEnabledFrameLockI3D( POINTER(BOOL)() ) -> BOOL', 
  881.     argNames=[''],
  882. )
  883.  
  884. wglQueryFrameLockMasterI3D = platform.createBaseFunction(
  885.     'wglQueryFrameLockMasterI3D', dll=platform.GL, resultType=BOOL, 
  886.     argTypes=[POINTER(BOOL)],
  887.     doc='wglQueryFrameLockMasterI3D( POINTER(BOOL)() ) -> BOOL', 
  888.     argNames=[''],
  889. )
  890.  
  891. PFNWGLENABLEFRAMELOCKI3DPROC = CFUNCTYPE(BOOL)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:622
  892. PFNWGLDISABLEFRAMELOCKI3DPROC = CFUNCTYPE(BOOL)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:623
  893. PFNWGLISENABLEDFRAMELOCKI3DPROC = CFUNCTYPE(BOOL, POINTER(BOOL))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:624
  894. PFNWGLQUERYFRAMELOCKMASTERI3DPROC = CFUNCTYPE(BOOL, POINTER(BOOL))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:625
  895. # I3D_swap_frame_usage (http://developer.download.nvidia.com/opengl/includes/wglext.h:628)
  896. WGL_I3D_swap_frame_usage = constant.Constant( 'WGL_I3D_swap_frame_usage', 1 )
  897. wglGetFrameUsageI3D = platform.createBaseFunction(
  898.     'wglGetFrameUsageI3D', dll=platform.GL, resultType=BOOL, 
  899.     argTypes=[POINTER(c_float)],
  900.     doc='wglGetFrameUsageI3D( POINTER(c_float)() ) -> BOOL', 
  901.     argNames=[''],
  902. )
  903.  
  904. wglBeginFrameTrackingI3D = platform.createBaseFunction(
  905.     'wglBeginFrameTrackingI3D', dll=platform.GL, resultType=BOOL, 
  906.     argTypes=[],
  907.     doc='wglBeginFrameTrackingI3D(  ) -> BOOL', 
  908.     argNames=[],
  909. )
  910.  
  911. wglEndFrameTrackingI3D = platform.createBaseFunction(
  912.     'wglEndFrameTrackingI3D', dll=platform.GL, resultType=BOOL, 
  913.     argTypes=[],
  914.     doc='wglEndFrameTrackingI3D(  ) -> BOOL', 
  915.     argNames=[],
  916. )
  917.  
  918. wglQueryFrameTrackingI3D = platform.createBaseFunction(
  919.     'wglQueryFrameTrackingI3D', dll=platform.GL, resultType=BOOL, 
  920.     argTypes=[POINTER(DWORD), POINTER(DWORD), POINTER(c_float)],
  921.     doc='wglQueryFrameTrackingI3D( POINTER(DWORD)(), POINTER(DWORD)(), POINTER(c_float)() ) -> BOOL', 
  922.     argNames=['', '', ''],
  923. )
  924.  
  925. PFNWGLGETFRAMEUSAGEI3DPROC = CFUNCTYPE(BOOL, POINTER(c_float))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:636
  926. PFNWGLBEGINFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:637
  927. PFNWGLENDFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:638
  928. PFNWGLQUERYFRAMETRACKINGI3DPROC = CFUNCTYPE(BOOL, POINTER(DWORD), POINTER(DWORD), POINTER(c_float))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:639
  929. # ATI_pixel_format_float (http://developer.download.nvidia.com/opengl/includes/wglext.h:642)
  930. WGL_ATI_pixel_format_float = constant.Constant( 'WGL_ATI_pixel_format_float', 1 )
  931. # NV_render_depth_texture (http://developer.download.nvidia.com/opengl/includes/wglext.h:646)
  932. WGL_NV_render_depth_texture = constant.Constant( 'WGL_NV_render_depth_texture', 1 )
  933. # NV_render_texture_rectangle (http://developer.download.nvidia.com/opengl/includes/wglext.h:650)
  934. WGL_NV_render_texture_rectangle = constant.Constant( 'WGL_NV_render_texture_rectangle', 1 )
  935. # NV_float_buffer (http://developer.download.nvidia.com/opengl/includes/wglext.h:654)
  936. WGL_NV_float_buffer = constant.Constant( 'WGL_NV_float_buffer', 1 )
  937. # NV_swap_group (http://developer.download.nvidia.com/opengl/includes/wglext.h:658)
  938. WGL_NV_swap_group = constant.Constant( 'WGL_NV_swap_group', 1 )
  939. wglJoinSwapGroupNV = platform.createBaseFunction(
  940.     'wglJoinSwapGroupNV', dll=platform.GL, resultType=BOOL, 
  941.     argTypes=[HDC, GLuint],
  942.     doc='wglJoinSwapGroupNV( HDC(hDC), GLuint(group) ) -> BOOL', 
  943.     argNames=['hDC', 'group'],
  944. )
  945.  
  946. wglBindSwapBarrierNV = platform.createBaseFunction(
  947.     'wglBindSwapBarrierNV', dll=platform.GL, resultType=BOOL, 
  948.     argTypes=[GLuint, GLuint],
  949.     doc='wglBindSwapBarrierNV( GLuint(group), GLuint(barrier) ) -> BOOL', 
  950.     argNames=['group', 'barrier'],
  951. )
  952.  
  953. wglQuerySwapGroupNV = platform.createBaseFunction(
  954.     'wglQuerySwapGroupNV', dll=platform.GL, resultType=BOOL, 
  955.     argTypes=[HDC, POINTER(GLuint), POINTER(GLuint)],
  956.     doc='wglQuerySwapGroupNV( HDC(hDC), POINTER(GLuint)(group), POINTER(GLuint)(barrier) ) -> BOOL', 
  957.     argNames=['hDC', 'group', 'barrier'],
  958. )
  959.  
  960. wglQueryMaxSwapGroupsNV = platform.createBaseFunction(
  961.     'wglQueryMaxSwapGroupsNV', dll=platform.GL, resultType=BOOL, 
  962.     argTypes=[HDC, POINTER(GLuint), POINTER(GLuint)],
  963.     doc='wglQueryMaxSwapGroupsNV( HDC(hDC), POINTER(GLuint)(maxGroups), POINTER(GLuint)(maxBarriers) ) -> BOOL', 
  964.     argNames=['hDC', 'maxGroups', 'maxBarriers'],
  965. )
  966.  
  967. wglQueryFrameCountNV = platform.createBaseFunction(
  968.     'wglQueryFrameCountNV', dll=platform.GL, resultType=BOOL, 
  969.     argTypes=[HDC, POINTER(GLuint)],
  970.     doc='wglQueryFrameCountNV( HDC(hDC), POINTER(GLuint)(count) ) -> BOOL', 
  971.     argNames=['hDC', 'count'],
  972. )
  973.  
  974. wglResetFrameCountNV = platform.createBaseFunction(
  975.     'wglResetFrameCountNV', dll=platform.GL, resultType=BOOL, 
  976.     argTypes=[HDC],
  977.     doc='wglResetFrameCountNV( HDC(hDC) ) -> BOOL', 
  978.     argNames=['hDC'],
  979. )
  980.  
  981. PFNWGLJOINSWAPGROUPNVPROC = CFUNCTYPE(BOOL, HDC, GLuint)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:668
  982. PFNWGLBINDSWAPBARRIERNVPROC = CFUNCTYPE(BOOL, GLuint, GLuint)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:669
  983. PFNWGLQUERYSWAPGROUPNVPROC = CFUNCTYPE(BOOL, HDC, POINTER(GLuint), POINTER(GLuint))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:670
  984. PFNWGLQUERYMAXSWAPGROUPSNVPROC = CFUNCTYPE(BOOL, HDC, POINTER(GLuint), POINTER(GLuint))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:671
  985. PFNWGLQUERYFRAMECOUNTNVPROC = CFUNCTYPE(BOOL, HDC, POINTER(GLuint))     # http://developer.download.nvidia.com/opengl/includes/wglext.h:672
  986. PFNWGLRESETFRAMECOUNTNVPROC = CFUNCTYPE(BOOL, HDC)     # http://developer.download.nvidia.com/opengl/includes/wglext.h:673
  987. # NV_gpu_affinity (http://developer.download.nvidia.com/opengl/includes/wglext.h:676)
  988. WGL_NV_gpu_affinity = constant.Constant( 'WGL_NV_gpu_affinity', 1 )
  989. wglEnumGpusNV = platform.createBaseFunction(
  990.     'wglEnumGpusNV', dll=platform.GL, resultType=BOOL, 
  991.     argTypes=[UINT, POINTER(HGPUNV)],
  992.     doc='wglEnumGpusNV( UINT(iIndex), POINTER(HGPUNV)(hGpu) ) -> BOOL', 
  993.     argNames=['iIndex', 'hGpu'],
  994. )
  995.  
  996. wglEnumGpuDevicesNV = platform.createBaseFunction(
  997.     'wglEnumGpuDevicesNV', dll=platform.GL, resultType=BOOL, 
  998.     argTypes=[HGPUNV, UINT, PGPU_DEVICE],
  999.     doc='wglEnumGpuDevicesNV( HGPUNV(hGpu), UINT(iIndex), PGPU_DEVICE(pGpuDevice) ) -> BOOL', 
  1000.     argNames=['hGpu', 'iIndex', 'pGpuDevice'],
  1001. )
  1002.  
  1003. wglCreateAffinityDCNV = platform.createBaseFunction(
  1004.     'wglCreateAffinityDCNV', dll=platform.GL, resultType=HDC, 
  1005.     argTypes=[POINTER(HGPUNV)],
  1006.     doc='wglCreateAffinityDCNV( POINTER(HGPUNV)(pGpuList) ) -> HDC', 
  1007.     argNames=['pGpuList'],
  1008. )
  1009.  
  1010. wglEnumGpusFromAffinityDCNV = platform.createBaseFunction(
  1011.     'wglEnumGpusFromAffinityDCNV', dll=platform.GL, resultType=BOOL, 
  1012.     argTypes=[HDC, UINT, POINTER(HGPUNV)],
  1013.     doc='wglEnumGpusFromAffinityDCNV( HDC(hAffinityDC), UINT(iIndex), POINTER(HGPUNV)(hGpu) ) -> BOOL', 
  1014.     argNames=['hAffinityDC', 'iIndex', 'hGpu'],
  1015. )
  1016.  
  1017. wglDeleteDCNV = platform.createBaseFunction(
  1018.     'wglDeleteDCNV', dll=platform.GL, resultType=BOOL, 
  1019.     argTypes=[HDC],
  1020.     doc='wglDeleteDCNV( HDC(hAffinityDC) ) -> BOOL', 
  1021.     argNames=['hAffinityDC'],
  1022. )
  1023.  
  1024.  
  1025. __all__ = ['GLAPI', 'WGL_WGLEXT_VERSION', 'WGL_FRONT_COLOR_BUFFER_BIT_ARB',
  1026. 'WGL_BACK_COLOR_BUFFER_BIT_ARB', 'WGL_DEPTH_BUFFER_BIT_ARB',
  1027. 'WGL_STENCIL_BUFFER_BIT_ARB', 'WGL_SAMPLE_BUFFERS_ARB', 'WGL_SAMPLES_ARB',
  1028. 'WGL_NUMBER_PIXEL_FORMATS_ARB', 'WGL_DRAW_TO_WINDOW_ARB',
  1029. 'WGL_DRAW_TO_BITMAP_ARB', 'WGL_ACCELERATION_ARB', 'WGL_NEED_PALETTE_ARB',
  1030. 'WGL_NEED_SYSTEM_PALETTE_ARB', 'WGL_SWAP_LAYER_BUFFERS_ARB',
  1031. 'WGL_SWAP_METHOD_ARB', 'WGL_NUMBER_OVERLAYS_ARB', 'WGL_NUMBER_UNDERLAYS_ARB',
  1032. 'WGL_TRANSPARENT_ARB', 'WGL_TRANSPARENT_RED_VALUE_ARB',
  1033. 'WGL_TRANSPARENT_GREEN_VALUE_ARB', 'WGL_TRANSPARENT_BLUE_VALUE_ARB',
  1034. 'WGL_TRANSPARENT_ALPHA_VALUE_ARB', 'WGL_TRANSPARENT_INDEX_VALUE_ARB',
  1035. 'WGL_SHARE_DEPTH_ARB', 'WGL_SHARE_STENCIL_ARB', 'WGL_SHARE_ACCUM_ARB',
  1036. 'WGL_SUPPORT_GDI_ARB', 'WGL_SUPPORT_OPENGL_ARB', 'WGL_DOUBLE_BUFFER_ARB',
  1037. 'WGL_STEREO_ARB', 'WGL_PIXEL_TYPE_ARB', 'WGL_COLOR_BITS_ARB',
  1038. 'WGL_RED_BITS_ARB', 'WGL_RED_SHIFT_ARB', 'WGL_GREEN_BITS_ARB',
  1039. 'WGL_GREEN_SHIFT_ARB', 'WGL_BLUE_BITS_ARB', 'WGL_BLUE_SHIFT_ARB',
  1040. 'WGL_ALPHA_BITS_ARB', 'WGL_ALPHA_SHIFT_ARB', 'WGL_ACCUM_BITS_ARB',
  1041. 'WGL_ACCUM_RED_BITS_ARB', 'WGL_ACCUM_GREEN_BITS_ARB',
  1042. 'WGL_ACCUM_BLUE_BITS_ARB', 'WGL_ACCUM_ALPHA_BITS_ARB', 'WGL_DEPTH_BITS_ARB',
  1043. 'WGL_STENCIL_BITS_ARB', 'WGL_AUX_BUFFERS_ARB', 'WGL_NO_ACCELERATION_ARB',
  1044. 'WGL_GENERIC_ACCELERATION_ARB', 'WGL_FULL_ACCELERATION_ARB',
  1045. 'WGL_SWAP_EXCHANGE_ARB', 'WGL_SWAP_COPY_ARB', 'WGL_SWAP_UNDEFINED_ARB',
  1046. 'WGL_TYPE_RGBA_ARB', 'WGL_TYPE_COLORINDEX_ARB',
  1047. 'ERROR_INVALID_PIXEL_TYPE_ARB', 'ERROR_INCOMPATIBLE_DEVICE_CONTEXTS_ARB',
  1048. 'WGL_DRAW_TO_PBUFFER_ARB', 'WGL_MAX_PBUFFER_PIXELS_ARB',
  1049. 'WGL_MAX_PBUFFER_WIDTH_ARB', 'WGL_MAX_PBUFFER_HEIGHT_ARB',
  1050. 'WGL_PBUFFER_LARGEST_ARB', 'WGL_PBUFFER_WIDTH_ARB', 'WGL_PBUFFER_HEIGHT_ARB',
  1051. 'WGL_PBUFFER_LOST_ARB', 'WGL_BIND_TO_TEXTURE_RGB_ARB',
  1052. 'WGL_BIND_TO_TEXTURE_RGBA_ARB', 'WGL_TEXTURE_FORMAT_ARB',
  1053. 'WGL_TEXTURE_TARGET_ARB', 'WGL_MIPMAP_TEXTURE_ARB', 'WGL_TEXTURE_RGB_ARB',
  1054. 'WGL_TEXTURE_RGBA_ARB', 'WGL_NO_TEXTURE_ARB', 'WGL_TEXTURE_CUBE_MAP_ARB',
  1055. 'WGL_TEXTURE_1D_ARB', 'WGL_TEXTURE_2D_ARB', 'WGL_MIPMAP_LEVEL_ARB',
  1056. 'WGL_CUBE_MAP_FACE_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_X_ARB',
  1057. 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_X_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Y_ARB',
  1058. 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Y_ARB', 'WGL_TEXTURE_CUBE_MAP_POSITIVE_Z_ARB',
  1059. 'WGL_TEXTURE_CUBE_MAP_NEGATIVE_Z_ARB', 'WGL_FRONT_LEFT_ARB',
  1060. 'WGL_FRONT_RIGHT_ARB', 'WGL_BACK_LEFT_ARB', 'WGL_BACK_RIGHT_ARB',
  1061. 'WGL_AUX0_ARB', 'WGL_AUX1_ARB', 'WGL_AUX2_ARB', 'WGL_AUX3_ARB',
  1062. 'WGL_AUX4_ARB', 'WGL_AUX5_ARB', 'WGL_AUX6_ARB', 'WGL_AUX7_ARB',
  1063. 'WGL_AUX8_ARB', 'WGL_AUX9_ARB', 'WGL_TYPE_RGBA_FLOAT_ARB',
  1064. 'ERROR_INVALID_PIXEL_TYPE_EXT', 'WGL_NUMBER_PIXEL_FORMATS_EXT',
  1065. 'WGL_DRAW_TO_WINDOW_EXT', 'WGL_DRAW_TO_BITMAP_EXT', 'WGL_ACCELERATION_EXT',
  1066. 'WGL_NEED_PALETTE_EXT', 'WGL_NEED_SYSTEM_PALETTE_EXT',
  1067. 'WGL_SWAP_LAYER_BUFFERS_EXT', 'WGL_SWAP_METHOD_EXT',
  1068. 'WGL_NUMBER_OVERLAYS_EXT', 'WGL_NUMBER_UNDERLAYS_EXT', 'WGL_TRANSPARENT_EXT',
  1069. 'WGL_TRANSPARENT_VALUE_EXT', 'WGL_SHARE_DEPTH_EXT', 'WGL_SHARE_STENCIL_EXT',
  1070. 'WGL_SHARE_ACCUM_EXT', 'WGL_SUPPORT_GDI_EXT', 'WGL_SUPPORT_OPENGL_EXT',
  1071. 'WGL_DOUBLE_BUFFER_EXT', 'WGL_STEREO_EXT', 'WGL_PIXEL_TYPE_EXT',
  1072. 'WGL_COLOR_BITS_EXT', 'WGL_RED_BITS_EXT', 'WGL_RED_SHIFT_EXT',
  1073. 'WGL_GREEN_BITS_EXT', 'WGL_GREEN_SHIFT_EXT', 'WGL_BLUE_BITS_EXT',
  1074. 'WGL_BLUE_SHIFT_EXT', 'WGL_ALPHA_BITS_EXT', 'WGL_ALPHA_SHIFT_EXT',
  1075. 'WGL_ACCUM_BITS_EXT', 'WGL_ACCUM_RED_BITS_EXT', 'WGL_ACCUM_GREEN_BITS_EXT',
  1076. 'WGL_ACCUM_BLUE_BITS_EXT', 'WGL_ACCUM_ALPHA_BITS_EXT', 'WGL_DEPTH_BITS_EXT',
  1077. 'WGL_STENCIL_BITS_EXT', 'WGL_AUX_BUFFERS_EXT', 'WGL_NO_ACCELERATION_EXT',
  1078. 'WGL_GENERIC_ACCELERATION_EXT', 'WGL_FULL_ACCELERATION_EXT',
  1079. 'WGL_SWAP_EXCHANGE_EXT', 'WGL_SWAP_COPY_EXT', 'WGL_SWAP_UNDEFINED_EXT',
  1080. 'WGL_TYPE_RGBA_EXT', 'WGL_TYPE_COLORINDEX_EXT', 'WGL_DRAW_TO_PBUFFER_EXT',
  1081. 'WGL_MAX_PBUFFER_PIXELS_EXT', 'WGL_MAX_PBUFFER_WIDTH_EXT',
  1082. 'WGL_MAX_PBUFFER_HEIGHT_EXT', 'WGL_OPTIMAL_PBUFFER_WIDTH_EXT',
  1083. 'WGL_OPTIMAL_PBUFFER_HEIGHT_EXT', 'WGL_PBUFFER_LARGEST_EXT',
  1084. 'WGL_PBUFFER_WIDTH_EXT', 'WGL_PBUFFER_HEIGHT_EXT', 'WGL_DEPTH_FLOAT_EXT',
  1085. 'WGL_SAMPLE_BUFFERS_3DFX', 'WGL_SAMPLES_3DFX', 'WGL_SAMPLE_BUFFERS_EXT',
  1086. 'WGL_SAMPLES_EXT', 'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_FRAMEBUFFER_I3D',
  1087. 'WGL_DIGITAL_VIDEO_CURSOR_ALPHA_VALUE_I3D',
  1088. 'WGL_DIGITAL_VIDEO_CURSOR_INCLUDED_I3D',
  1089. 'WGL_DIGITAL_VIDEO_GAMMA_CORRECTED_I3D', 'WGL_GAMMA_TABLE_SIZE_I3D',
  1090. 'WGL_GAMMA_EXCLUDE_DESKTOP_I3D', 'WGL_GENLOCK_SOURCE_MULTIVIEW_I3D',
  1091. 'WGL_GENLOCK_SOURCE_EXTENAL_SYNC_I3D', 'WGL_GENLOCK_SOURCE_EXTENAL_FIELD_I3D',
  1092. 'WGL_GENLOCK_SOURCE_EXTENAL_TTL_I3D', 'WGL_GENLOCK_SOURCE_DIGITAL_SYNC_I3D',
  1093. 'WGL_GENLOCK_SOURCE_DIGITAL_FIELD_I3D', 'WGL_GENLOCK_SOURCE_EDGE_FALLING_I3D',
  1094. 'WGL_GENLOCK_SOURCE_EDGE_RISING_I3D', 'WGL_GENLOCK_SOURCE_EDGE_BOTH_I3D',
  1095. 'WGL_IMAGE_BUFFER_MIN_ACCESS_I3D', 'WGL_IMAGE_BUFFER_LOCK_I3D',
  1096. 'WGL_BIND_TO_TEXTURE_DEPTH_NV', 'WGL_BIND_TO_TEXTURE_RECTANGLE_DEPTH_NV',
  1097. 'WGL_DEPTH_TEXTURE_FORMAT_NV', 'WGL_TEXTURE_DEPTH_COMPONENT_NV',
  1098. 'WGL_DEPTH_COMPONENT_NV', 'WGL_BIND_TO_TEXTURE_RECTANGLE_RGB_NV',
  1099. 'WGL_BIND_TO_TEXTURE_RECTANGLE_RGBA_NV', 'WGL_TEXTURE_RECTANGLE_NV',
  1100. 'WGL_TYPE_RGBA_FLOAT_ATI', 'WGL_RGBA_FLOAT_MODE_ATI',
  1101. 'WGL_COLOR_CLEAR_UNCLAMPED_VALUE_ATI', 'WGL_FLOAT_COMPONENTS_NV',
  1102. 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_R_NV',
  1103. 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RG_NV',
  1104. 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGB_NV',
  1105. 'WGL_BIND_TO_TEXTURE_RECTANGLE_FLOAT_RGBA_NV', 'WGL_TEXTURE_FLOAT_R_NV',
  1106. 'WGL_TEXTURE_FLOAT_RG_NV', 'WGL_TEXTURE_FLOAT_RGB_NV',
  1107. 'WGL_TEXTURE_FLOAT_RGBA_NV', 'WGL_ERROR_INCOMPATIBLE_AFFINITY_MASKS_NV',
  1108. 'WGL_ERROR_MISSING_AFFINITY_MASK_NV', 'HPBUFFERARB', 'HPBUFFEREXT', 'HGPUNV',
  1109. 'GPU_DEVICE', 'PGPU_DEVICE', 'WGL_ARB_buffer_region',
  1110. 'wglCreateBufferRegionARB', 'wglDeleteBufferRegionARB',
  1111. 'wglSaveBufferRegionARB', 'wglRestoreBufferRegionARB',
  1112. 'PFNWGLCREATEBUFFERREGIONARBPROC', 'PFNWGLDELETEBUFFERREGIONARBPROC',
  1113. 'PFNWGLSAVEBUFFERREGIONARBPROC', 'PFNWGLRESTOREBUFFERREGIONARBPROC',
  1114. 'WGL_ARB_multisample', 'WGL_ARB_extensions_string',
  1115. 'wglGetExtensionsStringARB', 'PFNWGLGETEXTENSIONSSTRINGARBPROC',
  1116. 'WGL_ARB_pixel_format', 'wglGetPixelFormatAttribivARB',
  1117. 'wglGetPixelFormatAttribfvARB', 'wglChoosePixelFormatARB',
  1118. 'PFNWGLGETPIXELFORMATATTRIBIVARBPROC', 'PFNWGLGETPIXELFORMATATTRIBFVARBPROC',
  1119. 'PFNWGLCHOOSEPIXELFORMATARBPROC', 'WGL_ARB_make_current_read',
  1120. 'wglMakeContextCurrentARB', 'wglGetCurrentReadDCARB',
  1121. 'PFNWGLMAKECONTEXTCURRENTARBPROC', 'PFNWGLGETCURRENTREADDCARBPROC',
  1122. 'WGL_ARB_pbuffer', 'wglCreatePbufferARB', 'wglGetPbufferDCARB',
  1123. 'wglReleasePbufferDCARB', 'wglDestroyPbufferARB', 'wglQueryPbufferARB',
  1124. 'PFNWGLCREATEPBUFFERARBPROC', 'PFNWGLGETPBUFFERDCARBPROC',
  1125. 'PFNWGLRELEASEPBUFFERDCARBPROC', 'PFNWGLDESTROYPBUFFERARBPROC',
  1126. 'PFNWGLQUERYPBUFFERARBPROC', 'WGL_ARB_render_texture', 'wglBindTexImageARB',
  1127. 'wglReleaseTexImageARB', 'wglSetPbufferAttribARB',
  1128. 'PFNWGLBINDTEXIMAGEARBPROC', 'PFNWGLRELEASETEXIMAGEARBPROC',
  1129. 'PFNWGLSETPBUFFERATTRIBARBPROC', 'WGL_ARB_pixel_format_float',
  1130. 'WGL_EXT_display_color_table', 'wglCreateDisplayColorTableEXT',
  1131. 'wglLoadDisplayColorTableEXT', 'wglBindDisplayColorTableEXT',
  1132. 'wglDestroyDisplayColorTableEXT', 'PFNWGLCREATEDISPLAYCOLORTABLEEXTPROC',
  1133. 'PFNWGLLOADDISPLAYCOLORTABLEEXTPROC', 'PFNWGLBINDDISPLAYCOLORTABLEEXTPROC',
  1134. 'PFNWGLDESTROYDISPLAYCOLORTABLEEXTPROC', 'WGL_EXT_extensions_string',
  1135. 'wglGetExtensionsStringEXT', 'PFNWGLGETEXTENSIONSSTRINGEXTPROC',
  1136. 'WGL_EXT_make_current_read', 'wglMakeContextCurrentEXT',
  1137. 'wglGetCurrentReadDCEXT', 'PFNWGLMAKECONTEXTCURRENTEXTPROC',
  1138. 'PFNWGLGETCURRENTREADDCEXTPROC', 'WGL_EXT_pbuffer', 'wglCreatePbufferEXT',
  1139. 'wglGetPbufferDCEXT', 'wglReleasePbufferDCEXT', 'wglDestroyPbufferEXT',
  1140. 'wglQueryPbufferEXT', 'PFNWGLCREATEPBUFFEREXTPROC',
  1141. 'PFNWGLGETPBUFFERDCEXTPROC', 'PFNWGLRELEASEPBUFFERDCEXTPROC',
  1142. 'PFNWGLDESTROYPBUFFEREXTPROC', 'PFNWGLQUERYPBUFFEREXTPROC',
  1143. 'WGL_EXT_pixel_format', 'wglGetPixelFormatAttribivEXT',
  1144. 'wglGetPixelFormatAttribfvEXT', 'wglChoosePixelFormatEXT',
  1145. 'PFNWGLGETPIXELFORMATATTRIBIVEXTPROC', 'PFNWGLGETPIXELFORMATATTRIBFVEXTPROC',
  1146. 'PFNWGLCHOOSEPIXELFORMATEXTPROC', 'WGL_EXT_swap_control',
  1147. 'wglSwapIntervalEXT', 'wglGetSwapIntervalEXT', 'PFNWGLSWAPINTERVALEXTPROC',
  1148. 'PFNWGLGETSWAPINTERVALEXTPROC', 'WGL_EXT_depth_float',
  1149. 'WGL_NV_vertex_array_range', 'wglAllocateMemoryNV', 'wglFreeMemoryNV',
  1150. 'PFNWGLALLOCATEMEMORYNVPROC', 'PFNWGLFREEMEMORYNVPROC',
  1151. 'WGL_3DFX_multisample', 'WGL_EXT_multisample', 'WGL_OML_sync_control',
  1152. 'wglGetSyncValuesOML', 'wglGetMscRateOML', 'wglSwapBuffersMscOML',
  1153. 'wglSwapLayerBuffersMscOML', 'wglWaitForMscOML', 'wglWaitForSbcOML',
  1154. 'PFNWGLGETSYNCVALUESOMLPROC', 'PFNWGLGETMSCRATEOMLPROC',
  1155. 'PFNWGLSWAPBUFFERSMSCOMLPROC', 'PFNWGLSWAPLAYERBUFFERSMSCOMLPROC',
  1156. 'PFNWGLWAITFORMSCOMLPROC', 'PFNWGLWAITFORSBCOMLPROC',
  1157. 'WGL_I3D_digital_video_control', 'wglGetDigitalVideoParametersI3D',
  1158. 'wglSetDigitalVideoParametersI3D', 'PFNWGLGETDIGITALVIDEOPARAMETERSI3DPROC',
  1159. 'PFNWGLSETDIGITALVIDEOPARAMETERSI3DPROC', 'WGL_I3D_gamma',
  1160. 'wglGetGammaTableParametersI3D', 'wglSetGammaTableParametersI3D',
  1161. 'wglGetGammaTableI3D', 'wglSetGammaTableI3D',
  1162. 'PFNWGLGETGAMMATABLEPARAMETERSI3DPROC',
  1163. 'PFNWGLSETGAMMATABLEPARAMETERSI3DPROC', 'PFNWGLGETGAMMATABLEI3DPROC',
  1164. 'PFNWGLSETGAMMATABLEI3DPROC', 'WGL_I3D_genlock', 'wglEnableGenlockI3D',
  1165. 'wglDisableGenlockI3D', 'wglIsEnabledGenlockI3D', 'wglGenlockSourceI3D',
  1166. 'wglGetGenlockSourceI3D', 'wglGenlockSourceEdgeI3D',
  1167. 'wglGetGenlockSourceEdgeI3D', 'wglGenlockSampleRateI3D',
  1168. 'wglGetGenlockSampleRateI3D', 'wglGenlockSourceDelayI3D',
  1169. 'wglGetGenlockSourceDelayI3D', 'wglQueryGenlockMaxSourceDelayI3D',
  1170. 'PFNWGLENABLEGENLOCKI3DPROC', 'PFNWGLDISABLEGENLOCKI3DPROC',
  1171. 'PFNWGLISENABLEDGENLOCKI3DPROC', 'PFNWGLGENLOCKSOURCEI3DPROC',
  1172. 'PFNWGLGETGENLOCKSOURCEI3DPROC', 'PFNWGLGENLOCKSOURCEEDGEI3DPROC',
  1173. 'PFNWGLGETGENLOCKSOURCEEDGEI3DPROC', 'PFNWGLGENLOCKSAMPLERATEI3DPROC',
  1174. 'PFNWGLGETGENLOCKSAMPLERATEI3DPROC', 'PFNWGLGENLOCKSOURCEDELAYI3DPROC',
  1175. 'PFNWGLGETGENLOCKSOURCEDELAYI3DPROC',
  1176. 'PFNWGLQUERYGENLOCKMAXSOURCEDELAYI3DPROC', 'WGL_I3D_image_buffer',
  1177. 'wglCreateImageBufferI3D', 'wglDestroyImageBufferI3D',
  1178. 'wglAssociateImageBufferEventsI3D', 'wglReleaseImageBufferEventsI3D',
  1179. 'PFNWGLCREATEIMAGEBUFFERI3DPROC', 'PFNWGLDESTROYIMAGEBUFFERI3DPROC',
  1180. 'PFNWGLASSOCIATEIMAGEBUFFEREVENTSI3DPROC',
  1181. 'PFNWGLRELEASEIMAGEBUFFEREVENTSI3DPROC', 'WGL_I3D_swap_frame_lock',
  1182. 'wglEnableFrameLockI3D', 'wglDisableFrameLockI3D', 'wglIsEnabledFrameLockI3D',
  1183. 'wglQueryFrameLockMasterI3D', 'PFNWGLENABLEFRAMELOCKI3DPROC',
  1184. 'PFNWGLDISABLEFRAMELOCKI3DPROC', 'PFNWGLISENABLEDFRAMELOCKI3DPROC',
  1185. 'PFNWGLQUERYFRAMELOCKMASTERI3DPROC', 'WGL_I3D_swap_frame_usage',
  1186. 'wglGetFrameUsageI3D', 'wglBeginFrameTrackingI3D', 'wglEndFrameTrackingI3D',
  1187. 'wglQueryFrameTrackingI3D', 'PFNWGLGETFRAMEUSAGEI3DPROC',
  1188. 'PFNWGLBEGINFRAMETRACKINGI3DPROC', 'PFNWGLENDFRAMETRACKINGI3DPROC',
  1189. 'PFNWGLQUERYFRAMETRACKINGI3DPROC', 'WGL_ATI_pixel_format_float',
  1190. 'WGL_NV_render_depth_texture', 'WGL_NV_render_texture_rectangle',
  1191. 'WGL_NV_float_buffer', 'WGL_NV_swap_group', 'wglJoinSwapGroupNV',
  1192. 'wglBindSwapBarrierNV', 'wglQuerySwapGroupNV', 'wglQueryMaxSwapGroupsNV',
  1193. 'wglQueryFrameCountNV', 'wglResetFrameCountNV', 'PFNWGLJOINSWAPGROUPNVPROC',
  1194. 'PFNWGLBINDSWAPBARRIERNVPROC', 'PFNWGLQUERYSWAPGROUPNVPROC',
  1195. 'PFNWGLQUERYMAXSWAPGROUPSNVPROC', 'PFNWGLQUERYFRAMECOUNTNVPROC',
  1196. 'PFNWGLRESETFRAMECOUNTNVPROC', 'WGL_NV_gpu_affinity', 'wglEnumGpusNV',
  1197. 'wglEnumGpuDevicesNV', 'wglCreateAffinityDCNV', 'wglEnumGpusFromAffinityDCNV',
  1198. 'wglDeleteDCNV']
  1199. # END GENERATED CONTENT (do not edit above this line)
  1200.  
  1201.  
  1202.