roglew 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (484) hide show
  1. data/README.md +4 -0
  2. data/lib/roglew/contexts/base.rb +58 -0
  3. data/lib/roglew/contexts/deferred.rb +27 -0
  4. data/lib/roglew/contexts/immediate.rb +19 -0
  5. data/lib/roglew/contextual.rb +53 -0
  6. data/lib/roglew/errors.rb +5 -0
  7. data/lib/roglew/ext/ffi_struct_ext.rb +20 -0
  8. data/lib/roglew/extensions/GL_3DFX_multisample.rb +8 -0
  9. data/lib/roglew/extensions/GL_3DFX_tbuffer.rb +8 -0
  10. data/lib/roglew/extensions/GL_3DFX_texture_compression_FXT1.rb +6 -0
  11. data/lib/roglew/extensions/GL_AMD_blend_minmax_factor.rb +6 -0
  12. data/lib/roglew/extensions/GL_AMD_debug_output.rb +37 -0
  13. data/lib/roglew/extensions/GL_AMD_depth_clamp_separate.rb +6 -0
  14. data/lib/roglew/extensions/GL_AMD_draw_buffers_blend.rb +10 -0
  15. data/lib/roglew/extensions/GL_AMD_multi_draw_indirect.rb +8 -0
  16. data/lib/roglew/extensions/GL_AMD_name_gen_delete.rb +19 -0
  17. data/lib/roglew/extensions/GL_AMD_performance_monitor.rb +29 -0
  18. data/lib/roglew/extensions/GL_AMD_pinned_memory.rb +5 -0
  19. data/lib/roglew/extensions/GL_AMD_query_buffer_object.rb +7 -0
  20. data/lib/roglew/extensions/GL_AMD_sample_positions.rb +13 -0
  21. data/lib/roglew/extensions/GL_AMD_seamless_cubemap_per_texture.rb +5 -0
  22. data/lib/roglew/extensions/GL_AMD_stencil_operation_extended.rb +16 -0
  23. data/lib/roglew/extensions/GL_AMD_vertex_shader_tessellator.rb +20 -0
  24. data/lib/roglew/extensions/GL_APPLE_aux_depth_stencil.rb +5 -0
  25. data/lib/roglew/extensions/GL_APPLE_client_storage.rb +5 -0
  26. data/lib/roglew/extensions/GL_APPLE_element_array.rb +19 -0
  27. data/lib/roglew/extensions/GL_APPLE_fence.rb +21 -0
  28. data/lib/roglew/extensions/GL_APPLE_float_pixels.rb +18 -0
  29. data/lib/roglew/extensions/GL_APPLE_flush_buffer_range.rb +15 -0
  30. data/lib/roglew/extensions/GL_APPLE_object_purgeable.rb +20 -0
  31. data/lib/roglew/extensions/GL_APPLE_pixel_buffer.rb +5 -0
  32. data/lib/roglew/extensions/GL_APPLE_rgb_422.rb +7 -0
  33. data/lib/roglew/extensions/GL_APPLE_row_bytes.rb +6 -0
  34. data/lib/roglew/extensions/GL_APPLE_specular_vector.rb +5 -0
  35. data/lib/roglew/extensions/GL_APPLE_texture_range.rb +19 -0
  36. data/lib/roglew/extensions/GL_APPLE_transform_hint.rb +5 -0
  37. data/lib/roglew/extensions/GL_APPLE_vertex_array_object.rb +16 -0
  38. data/lib/roglew/extensions/GL_APPLE_vertex_array_range.rb +22 -0
  39. data/lib/roglew/extensions/GL_APPLE_vertex_program_evaluators.rb +28 -0
  40. data/lib/roglew/extensions/GL_APPLE_ycbcr_422.rb +5 -0
  41. data/lib/roglew/extensions/GL_ARB_ES2_compatibility.rb +32 -0
  42. data/lib/roglew/extensions/GL_ARB_ES3_compatibility.rb +17 -0
  43. data/lib/roglew/extensions/GL_ARB_base_instance.rb +9 -0
  44. data/lib/roglew/extensions/GL_ARB_blend_func_extended.rb +17 -0
  45. data/lib/roglew/extensions/GL_ARB_cl_event.rb +14 -0
  46. data/lib/roglew/extensions/GL_ARB_clear_buffer_object.rb +10 -0
  47. data/lib/roglew/extensions/GL_ARB_color_buffer_float.rb +17 -0
  48. data/lib/roglew/extensions/GL_ARB_compressed_texture_pixel_storage.rb +12 -0
  49. data/lib/roglew/extensions/GL_ARB_compute_shader.rb +31 -0
  50. data/lib/roglew/extensions/GL_ARB_copy_buffer.rb +14 -0
  51. data/lib/roglew/extensions/GL_ARB_copy_image.rb +7 -0
  52. data/lib/roglew/extensions/GL_ARB_debug_output.rb +39 -0
  53. data/lib/roglew/extensions/GL_ARB_depth_buffer_float.rb +7 -0
  54. data/lib/roglew/extensions/GL_ARB_depth_clamp.rb +5 -0
  55. data/lib/roglew/extensions/GL_ARB_depth_texture.rb +9 -0
  56. data/lib/roglew/extensions/GL_ARB_draw_buffers.rb +29 -0
  57. data/lib/roglew/extensions/GL_ARB_draw_buffers_blend.rb +10 -0
  58. data/lib/roglew/extensions/GL_ARB_draw_elements_base_vertex.rb +10 -0
  59. data/lib/roglew/extensions/GL_ARB_draw_indirect.rb +15 -0
  60. data/lib/roglew/extensions/GL_ARB_explicit_uniform_location.rb +5 -0
  61. data/lib/roglew/extensions/GL_ARB_fragment_program.rb +19 -0
  62. data/lib/roglew/extensions/GL_ARB_fragment_shader.rb +7 -0
  63. data/lib/roglew/extensions/GL_ARB_framebuffer_no_attachments.rb +24 -0
  64. data/lib/roglew/extensions/GL_ARB_framebuffer_object/framebuffer.rb +24 -0
  65. data/lib/roglew/extensions/GL_ARB_framebuffer_object/framebuffer_context.rb +51 -0
  66. data/lib/roglew/extensions/GL_ARB_framebuffer_object/renderbuffer.rb +23 -0
  67. data/lib/roglew/extensions/GL_ARB_framebuffer_object/renderbuffer_context.rb +48 -0
  68. data/lib/roglew/extensions/GL_ARB_framebuffer_object.rb +152 -0
  69. data/lib/roglew/extensions/GL_ARB_framebuffer_sRGB.rb +5 -0
  70. data/lib/roglew/extensions/GL_ARB_geometry_shader4.rb +34 -0
  71. data/lib/roglew/extensions/GL_ARB_get_program_binary.rb +18 -0
  72. data/lib/roglew/extensions/GL_ARB_gpu_shader5.rb +10 -0
  73. data/lib/roglew/extensions/GL_ARB_gpu_shader_fp64.rb +41 -0
  74. data/lib/roglew/extensions/GL_ARB_half_float_pixel.rb +5 -0
  75. data/lib/roglew/extensions/GL_ARB_half_float_vertex.rb +5 -0
  76. data/lib/roglew/extensions/GL_ARB_imaging.rb +120 -0
  77. data/lib/roglew/extensions/GL_ARB_instanced_arrays.rb +15 -0
  78. data/lib/roglew/extensions/GL_ARB_internalformat_query.rb +13 -0
  79. data/lib/roglew/extensions/GL_ARB_internalformat_query2.rb +124 -0
  80. data/lib/roglew/extensions/GL_ARB_invalidate_subdata.rb +12 -0
  81. data/lib/roglew/extensions/GL_ARB_map_buffer_alignment.rb +5 -0
  82. data/lib/roglew/extensions/GL_ARB_map_buffer_range.rb +19 -0
  83. data/lib/roglew/extensions/GL_ARB_matrix_palette.rb +26 -0
  84. data/lib/roglew/extensions/GL_ARB_multi_draw_indirect.rb +8 -0
  85. data/lib/roglew/extensions/GL_ARB_multisample.rb +21 -0
  86. data/lib/roglew/extensions/GL_ARB_multitexture.rb +80 -0
  87. data/lib/roglew/extensions/GL_ARB_occlusion_query.rb +24 -0
  88. data/lib/roglew/extensions/GL_ARB_occlusion_query2.rb +5 -0
  89. data/lib/roglew/extensions/GL_ARB_pixel_buffer_object.rb +9 -0
  90. data/lib/roglew/extensions/GL_ARB_point_parameters.rb +17 -0
  91. data/lib/roglew/extensions/GL_ARB_point_sprite.rb +6 -0
  92. data/lib/roglew/extensions/GL_ARB_program_interface_query.rb +64 -0
  93. data/lib/roglew/extensions/GL_ARB_provoking_vertex.rb +16 -0
  94. data/lib/roglew/extensions/GL_ARB_robustness.rb +38 -0
  95. data/lib/roglew/extensions/GL_ARB_sample_shading.rb +15 -0
  96. data/lib/roglew/extensions/GL_ARB_sampler_objects.rb +27 -0
  97. data/lib/roglew/extensions/GL_ARB_seamless_cube_map.rb +5 -0
  98. data/lib/roglew/extensions/GL_ARB_separate_shader_objects.rb +81 -0
  99. data/lib/roglew/extensions/GL_ARB_shader_atomic_counters.rb +42 -0
  100. data/lib/roglew/extensions/GL_ARB_shader_image_load_store.rb +78 -0
  101. data/lib/roglew/extensions/GL_ARB_shader_objects.rb +85 -0
  102. data/lib/roglew/extensions/GL_ARB_shader_storage_buffer_object.rb +29 -0
  103. data/lib/roglew/extensions/GL_ARB_shader_subroutine.rb +29 -0
  104. data/lib/roglew/extensions/GL_ARB_shading_language_100.rb +5 -0
  105. data/lib/roglew/extensions/GL_ARB_shading_language_include.rb +20 -0
  106. data/lib/roglew/extensions/GL_ARB_shadow.rb +7 -0
  107. data/lib/roglew/extensions/GL_ARB_shadow_ambient.rb +5 -0
  108. data/lib/roglew/extensions/GL_ARB_stencil_texturing.rb +5 -0
  109. data/lib/roglew/extensions/GL_ARB_sync.rb +34 -0
  110. data/lib/roglew/extensions/GL_ARB_tessellation_shader.rb +46 -0
  111. data/lib/roglew/extensions/GL_ARB_texture_border_clamp.rb +5 -0
  112. data/lib/roglew/extensions/GL_ARB_texture_buffer_object.rb +18 -0
  113. data/lib/roglew/extensions/GL_ARB_texture_buffer_range.rb +17 -0
  114. data/lib/roglew/extensions/GL_ARB_texture_compression.rb +30 -0
  115. data/lib/roglew/extensions/GL_ARB_texture_compression_bptc.rb +8 -0
  116. data/lib/roglew/extensions/GL_ARB_texture_compression_rgtc.rb +8 -0
  117. data/lib/roglew/extensions/GL_ARB_texture_cube_map.rb +16 -0
  118. data/lib/roglew/extensions/GL_ARB_texture_cube_map_array.rb +11 -0
  119. data/lib/roglew/extensions/GL_ARB_texture_env_combine.rb +26 -0
  120. data/lib/roglew/extensions/GL_ARB_texture_env_dot3.rb +6 -0
  121. data/lib/roglew/extensions/GL_ARB_texture_float.rb +24 -0
  122. data/lib/roglew/extensions/GL_ARB_texture_gather.rb +7 -0
  123. data/lib/roglew/extensions/GL_ARB_texture_mirrored_repeat.rb +5 -0
  124. data/lib/roglew/extensions/GL_ARB_texture_multisample.rb +37 -0
  125. data/lib/roglew/extensions/GL_ARB_texture_rectangle.rb +10 -0
  126. data/lib/roglew/extensions/GL_ARB_texture_rg.rb +28 -0
  127. data/lib/roglew/extensions/GL_ARB_texture_rgb10_a2ui.rb +5 -0
  128. data/lib/roglew/extensions/GL_ARB_texture_storage.rb +19 -0
  129. data/lib/roglew/extensions/GL_ARB_texture_storage_multisample.rb +11 -0
  130. data/lib/roglew/extensions/GL_ARB_texture_swizzle.rb +9 -0
  131. data/lib/roglew/extensions/GL_ARB_texture_view.rb +18 -0
  132. data/lib/roglew/extensions/GL_ARB_timer_query.rb +17 -0
  133. data/lib/roglew/extensions/GL_ARB_transform_feedback2.rb +23 -0
  134. data/lib/roglew/extensions/GL_ARB_transform_feedback3pt.rb +18 -0
  135. data/lib/roglew/extensions/GL_ARB_transform_feedback_instanced.rb +9 -0
  136. data/lib/roglew/extensions/GL_ARB_transpose_matrix.rb +20 -0
  137. data/lib/roglew/extensions/GL_ARB_uniform_buffer_object.rb +55 -0
  138. data/lib/roglew/extensions/GL_ARB_vertex_array_bgra.rb +5 -0
  139. data/lib/roglew/extensions/GL_ARB_vertex_array_object.rb +21 -0
  140. data/lib/roglew/extensions/GL_ARB_vertex_attrib_64bit.rb +28 -0
  141. data/lib/roglew/extensions/GL_ARB_vertex_attrib_binding.rb +25 -0
  142. data/lib/roglew/extensions/GL_ARB_vertex_blend.rb +64 -0
  143. data/lib/roglew/extensions/GL_ARB_vertex_buffer_object.rb +51 -0
  144. data/lib/roglew/extensions/GL_ARB_vertex_program.rb +153 -0
  145. data/lib/roglew/extensions/GL_ARB_vertex_shader.rb +22 -0
  146. data/lib/roglew/extensions/GL_ARB_vertex_type_2_10_10_10_rev.rb +52 -0
  147. data/lib/roglew/extensions/GL_ARB_viewport_array.rb +35 -0
  148. data/lib/roglew/extensions/GL_ARB_window_pos.rb +22 -0
  149. data/lib/roglew/extensions/GL_ATIX_point_sprites.rb +10 -0
  150. data/lib/roglew/extensions/GL_ATIX_texture_env_combine3.rb +7 -0
  151. data/lib/roglew/extensions/GL_ATIX_texture_env_route.rb +7 -0
  152. data/lib/roglew/extensions/GL_ATIX_vertex_shader_output_point_size.rb +5 -0
  153. data/lib/roglew/extensions/GL_ATI_draw_buffers.rb +30 -0
  154. data/lib/roglew/extensions/GL_ATI_element_array.rb +18 -0
  155. data/lib/roglew/extensions/GL_ATI_envmap_bumpmap.rb +24 -0
  156. data/lib/roglew/extensions/GL_ATI_fragment_shader.rb +80 -0
  157. data/lib/roglew/extensions/GL_ATI_map_object_buffer.rb +9 -0
  158. data/lib/roglew/extensions/GL_ATI_meminfo.rb +7 -0
  159. data/lib/roglew/extensions/GL_ATI_pn_triangles.rb +23 -0
  160. data/lib/roglew/extensions/GL_ATI_separate_stencil.rb +18 -0
  161. data/lib/roglew/extensions/GL_ATI_text_fragment_shader.rb +5 -0
  162. data/lib/roglew/extensions/GL_ATI_texture_compression_3dc.rb +5 -0
  163. data/lib/roglew/extensions/GL_ATI_texture_env_combine3.rb +7 -0
  164. data/lib/roglew/extensions/GL_ATI_texture_float.rb +16 -0
  165. data/lib/roglew/extensions/GL_ATI_texture_mirror_once.rb +6 -0
  166. data/lib/roglew/extensions/GL_ATI_vertex_array_object.rb +32 -0
  167. data/lib/roglew/extensions/GL_ATI_vertex_attrib_array_object.rb +9 -0
  168. data/lib/roglew/extensions/GL_ATI_vertex_streams.rb +67 -0
  169. data/lib/roglew/extensions/GL_EXT_422_pixels.rb +8 -0
  170. data/lib/roglew/extensions/GL_EXT_Cg_shader.rb +6 -0
  171. data/lib/roglew/extensions/GL_EXT_abgr.rb +5 -0
  172. data/lib/roglew/extensions/GL_EXT_bgra.rb +6 -0
  173. data/lib/roglew/extensions/GL_EXT_bindable_uniform.rb +21 -0
  174. data/lib/roglew/extensions/GL_EXT_blend_color.rb +18 -0
  175. data/lib/roglew/extensions/GL_EXT_blend_equation_separate.rb +15 -0
  176. data/lib/roglew/extensions/GL_EXT_blend_func_separate.rb +17 -0
  177. data/lib/roglew/extensions/GL_EXT_blend_minmax.rb +17 -0
  178. data/lib/roglew/extensions/GL_EXT_blend_subtract.rb +8 -0
  179. data/lib/roglew/extensions/GL_EXT_clip_volume_hint.rb +5 -0
  180. data/lib/roglew/extensions/GL_EXT_cmyka.rb +8 -0
  181. data/lib/roglew/extensions/GL_EXT_color_subtable.rb +8 -0
  182. data/lib/roglew/extensions/GL_EXT_compiled_vertex_array.rb +16 -0
  183. data/lib/roglew/extensions/GL_EXT_convolution.rb +45 -0
  184. data/lib/roglew/extensions/GL_EXT_coordinate_frame.rb +28 -0
  185. data/lib/roglew/extensions/GL_EXT_copy_texture.rb +11 -0
  186. data/lib/roglew/extensions/GL_EXT_cull_vertex.rb +17 -0
  187. data/lib/roglew/extensions/GL_EXT_debug_marker.rb +9 -0
  188. data/lib/roglew/extensions/GL_EXT_depth_bounds_test.rb +15 -0
  189. data/lib/roglew/extensions/GL_EXT_direct_state_access.rb +245 -0
  190. data/lib/roglew/extensions/GL_EXT_draw_buffers2.rb +12 -0
  191. data/lib/roglew/extensions/GL_EXT_draw_instanced.rb +8 -0
  192. data/lib/roglew/extensions/GL_EXT_draw_range_elements.rb +15 -0
  193. data/lib/roglew/extensions/GL_EXT_fog_coord.rb +24 -0
  194. data/lib/roglew/extensions/GL_EXT_fragment_lighting.rb +44 -0
  195. data/lib/roglew/extensions/GL_EXT_framebuffer_blit.rb +17 -0
  196. data/lib/roglew/extensions/GL_EXT_framebuffer_multisample.rb +16 -0
  197. data/lib/roglew/extensions/GL_EXT_framebuffer_multisample_blit_scaled.rb +6 -0
  198. data/lib/roglew/extensions/GL_EXT_framebuffer_object/framebuffer.rb +24 -0
  199. data/lib/roglew/extensions/GL_EXT_framebuffer_object/framebuffer_context.rb +42 -0
  200. data/lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer.rb +23 -0
  201. data/lib/roglew/extensions/GL_EXT_framebuffer_object/renderbuffer_context.rb +43 -0
  202. data/lib/roglew/extensions/GL_EXT_framebuffer_object.rb +127 -0
  203. data/lib/roglew/extensions/GL_EXT_framebuffer_sRGB.rb +6 -0
  204. data/lib/roglew/extensions/GL_EXT_geometry_shader4.rb +35 -0
  205. data/lib/roglew/extensions/GL_EXT_gpu_program_parameters.rb +8 -0
  206. data/lib/roglew/extensions/GL_EXT_gpu_shader4.rb +72 -0
  207. data/lib/roglew/extensions/GL_EXT_histogram.rb +35 -0
  208. data/lib/roglew/extensions/GL_EXT_index_func.rb +7 -0
  209. data/lib/roglew/extensions/GL_EXT_index_material.rb +7 -0
  210. data/lib/roglew/extensions/GL_EXT_light_texture.rb +24 -0
  211. data/lib/roglew/extensions/GL_EXT_multi_draw_arrays.rb +8 -0
  212. data/lib/roglew/extensions/GL_EXT_multisample.rb +31 -0
  213. data/lib/roglew/extensions/GL_EXT_packed_depth_stencil.rb +8 -0
  214. data/lib/roglew/extensions/GL_EXT_packed_float.rb +7 -0
  215. data/lib/roglew/extensions/GL_EXT_packed_pixels.rb +9 -0
  216. data/lib/roglew/extensions/GL_EXT_paletted_texture.rb +37 -0
  217. data/lib/roglew/extensions/GL_EXT_pixel_buffer_object.rb +8 -0
  218. data/lib/roglew/extensions/GL_EXT_pixel_transform.rb +27 -0
  219. data/lib/roglew/extensions/GL_EXT_point_parameters.rb +18 -0
  220. data/lib/roglew/extensions/GL_EXT_polygon_offset.rb +16 -0
  221. data/lib/roglew/extensions/GL_EXT_provoking_vertex.rb +17 -0
  222. data/lib/roglew/extensions/GL_EXT_rescale_normal.rb +5 -0
  223. data/lib/roglew/extensions/GL_EXT_scene_marker.rb +8 -0
  224. data/lib/roglew/extensions/GL_EXT_secondary_color.rb +36 -0
  225. data/lib/roglew/extensions/GL_EXT_separate_shader_objects.rb +16 -0
  226. data/lib/roglew/extensions/GL_EXT_separate_specular_color.rb +7 -0
  227. data/lib/roglew/extensions/GL_EXT_shader_image_load_store.rb +69 -0
  228. data/lib/roglew/extensions/GL_EXT_shared_texture_palette.rb +5 -0
  229. data/lib/roglew/extensions/GL_EXT_stencil_clear_tag.rb +6 -0
  230. data/lib/roglew/extensions/GL_EXT_stencil_two_side.rb +15 -0
  231. data/lib/roglew/extensions/GL_EXT_stencil_wrap.rb +6 -0
  232. data/lib/roglew/extensions/GL_EXT_subtexture.rb +9 -0
  233. data/lib/roglew/extensions/GL_EXT_texture.rb +46 -0
  234. data/lib/roglew/extensions/GL_EXT_texture3D.rb +22 -0
  235. data/lib/roglew/extensions/GL_EXT_texture_array.rb +21 -0
  236. data/lib/roglew/extensions/GL_EXT_texture_buffer_object.rb +18 -0
  237. data/lib/roglew/extensions/GL_EXT_texture_compression_latc.rb +8 -0
  238. data/lib/roglew/extensions/GL_EXT_texture_compression_rgtc.rb +8 -0
  239. data/lib/roglew/extensions/GL_EXT_texture_compression_s3tc.rb +8 -0
  240. data/lib/roglew/extensions/GL_EXT_texture_cube_map.rb +16 -0
  241. data/lib/roglew/extensions/GL_EXT_texture_edge_clamp.rb +5 -0
  242. data/lib/roglew/extensions/GL_EXT_texture_env.rb +15 -0
  243. data/lib/roglew/extensions/GL_EXT_texture_env_combine.rb +25 -0
  244. data/lib/roglew/extensions/GL_EXT_texture_env_dot3.rb +6 -0
  245. data/lib/roglew/extensions/GL_EXT_texture_filter_anisotropic.rb +6 -0
  246. data/lib/roglew/extensions/GL_EXT_texture_integer.rb +65 -0
  247. data/lib/roglew/extensions/GL_EXT_texture_lod_bias.rb +7 -0
  248. data/lib/roglew/extensions/GL_EXT_texture_mirror_clamp.rb +7 -0
  249. data/lib/roglew/extensions/GL_EXT_texture_object.rb +23 -0
  250. data/lib/roglew/extensions/GL_EXT_texture_perturb_normal.rb +15 -0
  251. data/lib/roglew/extensions/GL_EXT_texture_rectangle.rb +8 -0
  252. data/lib/roglew/extensions/GL_EXT_texture_sRGB.rb +20 -0
  253. data/lib/roglew/extensions/GL_EXT_texture_sRGB_decode.rb +7 -0
  254. data/lib/roglew/extensions/GL_EXT_texture_shared_exponent.rb +7 -0
  255. data/lib/roglew/extensions/GL_EXT_texture_snorm.rb +29 -0
  256. data/lib/roglew/extensions/GL_EXT_texture_swizzle.rb +9 -0
  257. data/lib/roglew/extensions/GL_EXT_timer_query.rb +15 -0
  258. data/lib/roglew/extensions/GL_EXT_transform_feedback.rb +34 -0
  259. data/lib/roglew/extensions/GL_EXT_vertex_array.rb +53 -0
  260. data/lib/roglew/extensions/GL_EXT_vertex_array_bgra.rb +5 -0
  261. data/lib/roglew/extensions/GL_EXT_vertex_attrib_64bit.rb +35 -0
  262. data/lib/roglew/extensions/GL_EXT_vertex_shader.rb +164 -0
  263. data/lib/roglew/extensions/GL_EXT_vertex_weighting.rb +28 -0
  264. data/lib/roglew/extensions/GL_EXT_x11_sync_object.rb +14 -0
  265. data/lib/roglew/extensions/GL_GREMEDY_frame_terminator.rb +7 -0
  266. data/lib/roglew/extensions/GL_GREMEDY_string_marker.rb +7 -0
  267. data/lib/roglew/extensions/GL_HP_image_transform.rb +12 -0
  268. data/lib/roglew/extensions/GL_HP_occlusion_test.rb +6 -0
  269. data/lib/roglew/extensions/GL_IBM_cull_vertex.rb +5 -0
  270. data/lib/roglew/extensions/GL_IBM_multimode_draw_arrays.rb +8 -0
  271. data/lib/roglew/extensions/GL_IBM_rasterpos_clip.rb +5 -0
  272. data/lib/roglew/extensions/GL_IBM_static_data.rb +6 -0
  273. data/lib/roglew/extensions/GL_IBM_texture_mirrored_repeat.rb +5 -0
  274. data/lib/roglew/extensions/GL_IBM_vertex_array_lists.rb +36 -0
  275. data/lib/roglew/extensions/GL_INGR_color_clamp.rb +12 -0
  276. data/lib/roglew/extensions/GL_INGR_interlace_read.rb +5 -0
  277. data/lib/roglew/extensions/GL_INTEL_parallel_arrays.rb +21 -0
  278. data/lib/roglew/extensions/GL_INTEL_texture_scissor.rb +8 -0
  279. data/lib/roglew/extensions/GL_KHR_debug.rb +64 -0
  280. data/lib/roglew/extensions/GL_KHR_texture_compression_astc_ldr.rb +32 -0
  281. data/lib/roglew/extensions/GL_KTX_buffer_region.rb +21 -0
  282. data/lib/roglew/extensions/GL_MESAX_texture_stack.rb +10 -0
  283. data/lib/roglew/extensions/GL_MESA_pack_invert.rb +5 -0
  284. data/lib/roglew/extensions/GL_MESA_resize_buffers.rb +7 -0
  285. data/lib/roglew/extensions/GL_MESA_window_pos.rb +30 -0
  286. data/lib/roglew/extensions/GL_MESA_ycbcr_texture.rb +7 -0
  287. data/lib/roglew/extensions/GL_NVX_gpu_memory_info.rb +9 -0
  288. data/lib/roglew/extensions/GL_NV_bindless_texture.rb +19 -0
  289. data/lib/roglew/extensions/GL_NV_conditional_render.rb +18 -0
  290. data/lib/roglew/extensions/GL_NV_copy_depth_to_color.rb +6 -0
  291. data/lib/roglew/extensions/GL_NV_copy_image.rb +7 -0
  292. data/lib/roglew/extensions/GL_NV_depth_buffer_float.rb +19 -0
  293. data/lib/roglew/extensions/GL_NV_depth_clamp.rb +5 -0
  294. data/lib/roglew/extensions/GL_NV_depth_range_unclamped.rb +9 -0
  295. data/lib/roglew/extensions/GL_NV_evaluators.rb +45 -0
  296. data/lib/roglew/extensions/GL_NV_explicit_multisample.rb +25 -0
  297. data/lib/roglew/extensions/GL_NV_fence.rb +22 -0
  298. data/lib/roglew/extensions/GL_NV_float_buffer.rb +19 -0
  299. data/lib/roglew/extensions/GL_NV_fog_distance.rb +7 -0
  300. data/lib/roglew/extensions/GL_NV_fragment_program.rb +24 -0
  301. data/lib/roglew/extensions/GL_NV_fragment_program2.rb +9 -0
  302. data/lib/roglew/extensions/GL_NV_framebuffer_multisample_coverage.rb +17 -0
  303. data/lib/roglew/extensions/GL_NV_geometry_program4.rb +16 -0
  304. data/lib/roglew/extensions/GL_NV_gpu_program4.rb +32 -0
  305. data/lib/roglew/extensions/GL_NV_gpu_program5.rb +10 -0
  306. data/lib/roglew/extensions/GL_NV_gpu_shader5.rb +74 -0
  307. data/lib/roglew/extensions/GL_NV_half_float.rb +59 -0
  308. data/lib/roglew/extensions/GL_NV_light_max_exponent.rb +6 -0
  309. data/lib/roglew/extensions/GL_NV_multisample_coverage.rb +6 -0
  310. data/lib/roglew/extensions/GL_NV_multisample_filter_hint.rb +5 -0
  311. data/lib/roglew/extensions/GL_NV_occlusion_query.rb +23 -0
  312. data/lib/roglew/extensions/GL_NV_packed_depth_stencil.rb +6 -0
  313. data/lib/roglew/extensions/GL_NV_parameter_buffer_object.rb +20 -0
  314. data/lib/roglew/extensions/GL_NV_path_rendering.rb +191 -0
  315. data/lib/roglew/extensions/GL_NV_pixel_data_range.rb +20 -0
  316. data/lib/roglew/extensions/GL_NV_point_sprite.rb +17 -0
  317. data/lib/roglew/extensions/GL_NV_present_video.rb +24 -0
  318. data/lib/roglew/extensions/GL_NV_primitive_restart.rb +16 -0
  319. data/lib/roglew/extensions/GL_NV_register_combiners.rb +76 -0
  320. data/lib/roglew/extensions/GL_NV_register_combiners2.rb +15 -0
  321. data/lib/roglew/extensions/GL_NV_shader_buffer_load.rb +28 -0
  322. data/lib/roglew/extensions/GL_NV_tessellation_program5.rb +9 -0
  323. data/lib/roglew/extensions/GL_NV_texgen_emboss.rb +7 -0
  324. data/lib/roglew/extensions/GL_NV_texgen_reflection.rb +7 -0
  325. data/lib/roglew/extensions/GL_NV_texture_barrier.rb +7 -0
  326. data/lib/roglew/extensions/GL_NV_texture_env_combine4.rb +9 -0
  327. data/lib/roglew/extensions/GL_NV_texture_expand_normal.rb +5 -0
  328. data/lib/roglew/extensions/GL_NV_texture_multisample.rb +20 -0
  329. data/lib/roglew/extensions/GL_NV_texture_rectangle.rb +8 -0
  330. data/lib/roglew/extensions/GL_NV_texture_shader.rb +77 -0
  331. data/lib/roglew/extensions/GL_NV_texture_shader2.rb +32 -0
  332. data/lib/roglew/extensions/GL_NV_texture_shader3.rb +21 -0
  333. data/lib/roglew/extensions/GL_NV_transform_feedback.rb +48 -0
  334. data/lib/roglew/extensions/GL_NV_transform_feedback2.rb +23 -0
  335. data/lib/roglew/extensions/GL_NV_vdpau_interop.rb +26 -0
  336. data/lib/roglew/extensions/GL_NV_vertex_array_range.rb +19 -0
  337. data/lib/roglew/extensions/GL_NV_vertex_array_range2.rb +5 -0
  338. data/lib/roglew/extensions/GL_NV_vertex_attrib_integer_64bit.rb +33 -0
  339. data/lib/roglew/extensions/GL_NV_vertex_buffer_unified_memory.rb +49 -0
  340. data/lib/roglew/extensions/GL_NV_vertex_program.rb +159 -0
  341. data/lib/roglew/extensions/GL_NV_vertex_program2_option.rb +6 -0
  342. data/lib/roglew/extensions/GL_NV_vertex_program3.rb +5 -0
  343. data/lib/roglew/extensions/GL_NV_vertex_program4.rb +5 -0
  344. data/lib/roglew/extensions/GL_NV_video_capture.rb +53 -0
  345. data/lib/roglew/extensions/GL_OES_byte_coordinates.rb +5 -0
  346. data/lib/roglew/extensions/GL_OES_compressed_paletted_texture.rb +14 -0
  347. data/lib/roglew/extensions/GL_OES_read_format.rb +6 -0
  348. data/lib/roglew/extensions/GL_OES_single_precision.rb +12 -0
  349. data/lib/roglew/extensions/GL_OML_interlace.rb +6 -0
  350. data/lib/roglew/extensions/GL_OML_resample.rb +10 -0
  351. data/lib/roglew/extensions/GL_OML_subsample.rb +6 -0
  352. data/lib/roglew/extensions/GL_PGI_misc_hints.rb +24 -0
  353. data/lib/roglew/extensions/GL_PGI_vertex_hints.rb +26 -0
  354. data/lib/roglew/extensions/GL_REGAL_error_string.rb +7 -0
  355. data/lib/roglew/extensions/GL_REGAL_extension_query.rb +8 -0
  356. data/lib/roglew/extensions/GL_REGAL_log.rb +13 -0
  357. data/lib/roglew/extensions/GL_REND_screen_coordinates.rb +6 -0
  358. data/lib/roglew/extensions/GL_S3_s3tc.rb +10 -0
  359. data/lib/roglew/extensions/GL_SGIS_color_range.rb +13 -0
  360. data/lib/roglew/extensions/GL_SGIS_detail_texture.rb +8 -0
  361. data/lib/roglew/extensions/GL_SGIS_fog_function.rb +8 -0
  362. data/lib/roglew/extensions/GL_SGIS_generate_mipmap.rb +6 -0
  363. data/lib/roglew/extensions/GL_SGIS_multisample.rb +30 -0
  364. data/lib/roglew/extensions/GL_SGIS_point_line_texgen.rb +12 -0
  365. data/lib/roglew/extensions/GL_SGIS_sharpen_texture.rb +8 -0
  366. data/lib/roglew/extensions/GL_SGIS_texture4D.rb +8 -0
  367. data/lib/roglew/extensions/GL_SGIS_texture_border_clamp.rb +5 -0
  368. data/lib/roglew/extensions/GL_SGIS_texture_edge_clamp.rb +5 -0
  369. data/lib/roglew/extensions/GL_SGIS_texture_filter4.rb +8 -0
  370. data/lib/roglew/extensions/GL_SGIS_texture_lod.rb +8 -0
  371. data/lib/roglew/extensions/GL_SGIX_async.rb +19 -0
  372. data/lib/roglew/extensions/GL_SGIX_async_histogram.rb +6 -0
  373. data/lib/roglew/extensions/GL_SGIX_async_pixel.rb +10 -0
  374. data/lib/roglew/extensions/GL_SGIX_blend_alpha_minmax.rb +6 -0
  375. data/lib/roglew/extensions/GL_SGIX_convolution_accuracy.rb +5 -0
  376. data/lib/roglew/extensions/GL_SGIX_depth_texture.rb +7 -0
  377. data/lib/roglew/extensions/GL_SGIX_flush_raster.rb +7 -0
  378. data/lib/roglew/extensions/GL_SGIX_fog_offset.rb +6 -0
  379. data/lib/roglew/extensions/GL_SGIX_fog_texture.rb +16 -0
  380. data/lib/roglew/extensions/GL_SGIX_fragment_specular_lighting.rb +23 -0
  381. data/lib/roglew/extensions/GL_SGIX_framezoom.rb +8 -0
  382. data/lib/roglew/extensions/GL_SGIX_interlace.rb +5 -0
  383. data/lib/roglew/extensions/GL_SGIX_pixel_texture.rb +8 -0
  384. data/lib/roglew/extensions/GL_SGIX_reference_plane.rb +7 -0
  385. data/lib/roglew/extensions/GL_SGIX_resample.rb +8 -0
  386. data/lib/roglew/extensions/GL_SGIX_shadow_ambient.rb +5 -0
  387. data/lib/roglew/extensions/GL_SGIX_sprite.rb +10 -0
  388. data/lib/roglew/extensions/GL_SGIX_tag_sample_buffer.rb +7 -0
  389. data/lib/roglew/extensions/GL_SGIX_texture_coordinate_clamp.rb +7 -0
  390. data/lib/roglew/extensions/GL_SGIX_texture_multi_buffer.rb +5 -0
  391. data/lib/roglew/extensions/GL_SGIX_texture_range.rb +32 -0
  392. data/lib/roglew/extensions/GL_SGIX_texture_scale_bias.rb +8 -0
  393. data/lib/roglew/extensions/GL_SGIX_vertex_preclip.rb +6 -0
  394. data/lib/roglew/extensions/GL_SGIX_vertex_preclip_hint.rb +6 -0
  395. data/lib/roglew/extensions/GL_SGI_color_matrix.rb +15 -0
  396. data/lib/roglew/extensions/GL_SGI_color_table.rb +35 -0
  397. data/lib/roglew/extensions/GL_SGI_texture_color_table.rb +6 -0
  398. data/lib/roglew/extensions/GL_SUNX_constant_data.rb +15 -0
  399. data/lib/roglew/extensions/GL_SUN_convolution_border_modes.rb +5 -0
  400. data/lib/roglew/extensions/GL_SUN_global_alpha.rb +22 -0
  401. data/lib/roglew/extensions/GL_SUN_mesh_array.rb +6 -0
  402. data/lib/roglew/extensions/GL_SUN_read_video_pixels.rb +7 -0
  403. data/lib/roglew/extensions/GL_SUN_slice_accum.rb +5 -0
  404. data/lib/roglew/extensions/GL_SUN_triangle_list.rb +36 -0
  405. data/lib/roglew/extensions/GL_SUN_vertex.rb +46 -0
  406. data/lib/roglew/extensions/GL_VERSION_1_2.rb +62 -0
  407. data/lib/roglew/extensions/GL_VERSION_1_3.rb +154 -0
  408. data/lib/roglew/extensions/GL_VERSION_1_4.rb +99 -0
  409. data/lib/roglew/extensions/GL_VERSION_1_5.rb +79 -0
  410. data/lib/roglew/extensions/GL_VERSION_2_0/shader.rb +52 -0
  411. data/lib/roglew/extensions/GL_VERSION_2_0/shader_program.rb +33 -0
  412. data/lib/roglew/extensions/GL_VERSION_2_0.rb +251 -0
  413. data/lib/roglew/extensions/GL_VERSION_2_1.rb +40 -0
  414. data/lib/roglew/extensions/GL_VERSION_3_0.rb +178 -0
  415. data/lib/roglew/extensions/GL_VERSION_3_1.rb +53 -0
  416. data/lib/roglew/extensions/GL_VERSION_3_2.rb +43 -0
  417. data/lib/roglew/extensions/GL_VERSION_3_3.rb +19 -0
  418. data/lib/roglew/extensions/GL_VERSION_4_0.rb +46 -0
  419. data/lib/roglew/extensions/GL_VERSION_4_2.rb +21 -0
  420. data/lib/roglew/extensions/GL_VERSION_4_3.rb +30 -0
  421. data/lib/roglew/extensions/GL_WIN_specular_fog.rb +5 -0
  422. data/lib/roglew/extensions/GL_WIN_swap_hint.rb +7 -0
  423. data/lib/roglew/extensions/WGL_3DFX_multisample.rb +6 -0
  424. data/lib/roglew/extensions/WGL_3DL_stereo_control.rb +16 -0
  425. data/lib/roglew/extensions/WGL_AMD_gpu_association.rb +30 -0
  426. data/lib/roglew/extensions/WGL_ARB_buffer_region.rb +19 -0
  427. data/lib/roglew/extensions/WGL_ARB_create_context.rb +20 -0
  428. data/lib/roglew/extensions/WGL_ARB_create_context_profile.rb +8 -0
  429. data/lib/roglew/extensions/WGL_ARB_extensions_string.rb +7 -0
  430. data/lib/roglew/extensions/WGL_ARB_framebuffer_sRGB.rb +5 -0
  431. data/lib/roglew/extensions/WGL_ARB_make_current_read.rb +15 -0
  432. data/lib/roglew/extensions/WGL_ARB_multisample.rb +6 -0
  433. data/lib/roglew/extensions/WGL_ARB_pbuffer.rb +24 -0
  434. data/lib/roglew/extensions/WGL_ARB_pixel_format.rb +63 -0
  435. data/lib/roglew/extensions/WGL_ARB_pixel_format_float.rb +5 -0
  436. data/lib/roglew/extensions/WGL_ARB_render_texture.rb +47 -0
  437. data/lib/roglew/extensions/WGL_ATI_pixel_format_float.rb +10 -0
  438. data/lib/roglew/extensions/WGL_ATI_render_texture_rectangle.rb +5 -0
  439. data/lib/roglew/extensions/WGL_EXT_create_context_es2_profile.rb +5 -0
  440. data/lib/roglew/extensions/WGL_EXT_create_context_es_profile.rb +5 -0
  441. data/lib/roglew/extensions/WGL_EXT_depth_float.rb +5 -0
  442. data/lib/roglew/extensions/WGL_EXT_display_color_table.rb +10 -0
  443. data/lib/roglew/extensions/WGL_EXT_extensions_string.rb +7 -0
  444. data/lib/roglew/extensions/WGL_EXT_framebuffer_sRGB.rb +5 -0
  445. data/lib/roglew/extensions/WGL_EXT_make_current_read.rb +14 -0
  446. data/lib/roglew/extensions/WGL_EXT_multisample.rb +6 -0
  447. data/lib/roglew/extensions/WGL_EXT_pbuffer.rb +25 -0
  448. data/lib/roglew/extensions/WGL_EXT_pixel_format.rb +59 -0
  449. data/lib/roglew/extensions/WGL_EXT_pixel_format_packed_float.rb +5 -0
  450. data/lib/roglew/extensions/WGL_EXT_swap_control.rb +8 -0
  451. data/lib/roglew/extensions/WGL_I3D_digital_video_control.rb +17 -0
  452. data/lib/roglew/extensions/WGL_I3D_gamma.rb +17 -0
  453. data/lib/roglew/extensions/WGL_I3D_genlock.rb +32 -0
  454. data/lib/roglew/extensions/WGL_I3D_image_buffer.rb +18 -0
  455. data/lib/roglew/extensions/WGL_I3D_swap_frame_lock.rb +10 -0
  456. data/lib/roglew/extensions/WGL_I3D_swap_frame_usage.rb +10 -0
  457. data/lib/roglew/extensions/WGL_NV_DX_interop.rb +22 -0
  458. data/lib/roglew/extensions/WGL_NV_copy_image.rb +7 -0
  459. data/lib/roglew/extensions/WGL_NV_float_buffer.rb +13 -0
  460. data/lib/roglew/extensions/WGL_NV_gpu_affinity.rb +26 -0
  461. data/lib/roglew/extensions/WGL_NV_multisample_coverage.rb +6 -0
  462. data/lib/roglew/extensions/WGL_NV_present_video.rb +15 -0
  463. data/lib/roglew/extensions/WGL_NV_render_depth_texture.rb +10 -0
  464. data/lib/roglew/extensions/WGL_NV_render_texture_rectangle.rb +7 -0
  465. data/lib/roglew/extensions/WGL_NV_swap_group.rb +12 -0
  466. data/lib/roglew/extensions/WGL_NV_vertex_array_range.rb +8 -0
  467. data/lib/roglew/extensions/WGL_NV_video_capture.rb +18 -0
  468. data/lib/roglew/extensions/WGL_NV_video_output.rb +30 -0
  469. data/lib/roglew/extensions/WGL_OML_sync_control.rb +12 -0
  470. data/lib/roglew/gl_extension.rb +21 -0
  471. data/lib/roglew/gl_object.rb +32 -0
  472. data/lib/roglew/native/gdi32.rb +242 -0
  473. data/lib/roglew/native/gl.rb +906 -0
  474. data/lib/roglew/native/glx.rb +8 -0
  475. data/lib/roglew/native/kernel32.rb +9 -0
  476. data/lib/roglew/native/native_object.rb +11 -0
  477. data/lib/roglew/native/wgl.rb +138 -0
  478. data/lib/roglew/native/win32ffi.rb +27 -0
  479. data/lib/roglew/render_context.rb +229 -0
  480. data/lib/roglew/render_handle.rb +64 -0
  481. data/lib/roglew/texture2d.rb +23 -0
  482. data/lib/roglew/texture_context.rb +46 -0
  483. data/lib/roglew.rb +32 -0
  484. metadata +531 -0
@@ -0,0 +1,906 @@
1
+ module Roglew
2
+ class RenderContext; end
3
+
4
+ module GL
5
+ module Native
6
+ def self.included(m)
7
+ m.instance_eval do
8
+ extend FFI::Library
9
+ ffi_lib 'opengl32'
10
+ ffi_convention :stdcall
11
+ end
12
+ end
13
+ end
14
+
15
+ include Native
16
+ extend NativeObject
17
+
18
+ ERROR = {
19
+ 1280 => :INVALID_ENUM,
20
+ 1281 => :INVALID_VALUE,
21
+ 1282 => :INVALID_OPERATION,
22
+ 1283 => :STACK_OVERFLOW,
23
+ 1284 => :STACK_UNDERFLOW,
24
+ 1285 => :OUT_OF_MEMORY
25
+ }.freeze
26
+
27
+ N2_BYTES = 0x1407
28
+ N2D = 0x0600
29
+ N3_BYTES = 0x1408
30
+ N3D = 0x0601
31
+ N3D_COLOR = 0x0602
32
+ N3D_COLOR_TEXTURE = 0x0603
33
+ N4_BYTES = 0x1409
34
+ N4D_COLOR_TEXTURE = 0x0604
35
+ ACCUM = 0x0100
36
+ ACCUM_ALPHA_BITS = 0x0D5B
37
+ ACCUM_BLUE_BITS = 0x0D5A
38
+ ACCUM_BUFFER_BIT = 0x00000200
39
+ ACCUM_CLEAR_VALUE = 0x0B80
40
+ ACCUM_GREEN_BITS = 0x0D59
41
+ ACCUM_RED_BITS = 0x0D58
42
+ ADD = 0x0104
43
+ ALL_ATTRIB_BITS = 0x000fffff
44
+ ALPHA = 0x1906
45
+ ALPHA_BIAS = 0x0D1D
46
+ ALPHA_BITS = 0x0D55
47
+ ALPHA_SCALE = 0x0D1C
48
+ ALPHA_TEST = 0x0BC0
49
+ ALPHA_TEST_FUNC = 0x0BC1
50
+ ALPHA_TEST_REF = 0x0BC2
51
+ ALPHA12 = 0x803D
52
+ ALPHA16 = 0x803E
53
+ ALPHA4 = 0x803B
54
+ ALPHA8 = 0x803C
55
+ ALWAYS = 0x0207
56
+ AMBIENT = 0x1200
57
+ AMBIENT_AND_DIFFUSE = 0x1602
58
+ AND = 0x1501
59
+ AND_INVERTED = 0x1504
60
+ AND_REVERSE = 0x1502
61
+ ATTRIB_STACK_DEPTH = 0x0BB0
62
+ AUTO_NORMAL = 0x0D80
63
+ AUX_BUFFERS = 0x0C00
64
+ AUX0 = 0x0409
65
+ AUX1 = 0x040A
66
+ AUX2 = 0x040B
67
+ AUX3 = 0x040C
68
+ BACK = 0x0405
69
+ BACK_LEFT = 0x0402
70
+ BACK_RIGHT = 0x0403
71
+ BITMAP = 0x1A00
72
+ BITMAP_TOKEN = 0x0704
73
+ BLEND = 0x0BE2
74
+ BLEND_DST = 0x0BE0
75
+ BLEND_SRC = 0x0BE1
76
+ BLUE = 0x1905
77
+ BLUE_BIAS = 0x0D1B
78
+ BLUE_BITS = 0x0D54
79
+ BLUE_SCALE = 0x0D1A
80
+ BYTE = 0x1400
81
+ C3F_V3F = 0x2A24
82
+ C4F_N3F_V3F = 0x2A26
83
+ C4UB_V2F = 0x2A22
84
+ C4UB_V3F = 0x2A23
85
+ CCW = 0x0901
86
+ CLAMP = 0x2900
87
+ CLEAR = 0x1500
88
+ CLIENT_ALL_ATTRIB_BITS = 0xffffffff
89
+ CLIENT_ATTRIB_STACK_DEPTH = 0x0BB1
90
+ CLIENT_PIXEL_STORE_BIT = 0x00000001
91
+ CLIENT_VERTEX_ARRAY_BIT = 0x00000002
92
+ CLIP_PLANE0 = 0x3000
93
+ CLIP_PLANE1 = 0x3001
94
+ CLIP_PLANE2 = 0x3002
95
+ CLIP_PLANE3 = 0x3003
96
+ CLIP_PLANE4 = 0x3004
97
+ CLIP_PLANE5 = 0x3005
98
+ COEFF = 0x0A00
99
+ COLOR = 0x1800
100
+ COLOR_ARRAY = 0x8076
101
+ COLOR_ARRAY_POINTER = 0x8090
102
+ COLOR_ARRAY_SIZE = 0x8081
103
+ COLOR_ARRAY_STRIDE = 0x8083
104
+ COLOR_ARRAY_TYPE = 0x8082
105
+ COLOR_BUFFER_BIT = 0x00004000
106
+ COLOR_CLEAR_VALUE = 0x0C22
107
+ COLOR_INDEX = 0x1900
108
+ COLOR_INDEX1_EXT = 0x80E2
109
+ COLOR_INDEX12_EXT = 0x80E6
110
+ COLOR_INDEX16_EXT = 0x80E7
111
+ COLOR_INDEX2_EXT = 0x80E3
112
+ COLOR_INDEX4_EXT = 0x80E4
113
+ COLOR_INDEX8_EXT = 0x80E5
114
+ COLOR_INDEXES = 0x1603
115
+ COLOR_LOGIC_OP = 0x0BF2
116
+ COLOR_MATERIAL = 0x0B57
117
+ COLOR_MATERIAL_FACE = 0x0B55
118
+ COLOR_MATERIAL_PARAMETER = 0x0B56
119
+ COLOR_WRITEMASK = 0x0C23
120
+ COMPILE = 0x1300
121
+ COMPILE_AND_EXECUTE = 0x1301
122
+ CONSTANT_ATTENUATION = 0x1207
123
+ COPY = 0x1503
124
+ COPY_INVERTED = 0x150C
125
+ COPY_PIXEL_TOKEN = 0x0706
126
+ CULL_FACE = 0x0B44
127
+ CULL_FACE_MODE = 0x0B45
128
+ CURRENT_BIT = 0x00000001
129
+ CURRENT_COLOR = 0x0B00
130
+ CURRENT_INDEX = 0x0B01
131
+ CURRENT_NORMAL = 0x0B02
132
+ CURRENT_RASTER_COLOR = 0x0B04
133
+ CURRENT_RASTER_DISTANCE = 0x0B09
134
+ CURRENT_RASTER_INDEX = 0x0B05
135
+ CURRENT_RASTER_POSITION = 0x0B07
136
+ CURRENT_RASTER_POSITION_VALID = 0x0B08
137
+ CURRENT_RASTER_TEXTURE_COORDS = 0x0B06
138
+ CURRENT_TEXTURE_COORDS = 0x0B03
139
+ CW = 0x0900
140
+ DECAL = 0x2101
141
+ DECR = 0x1E03
142
+ DEPTH = 0x1801
143
+ DEPTH_BIAS = 0x0D1F
144
+ DEPTH_BITS = 0x0D56
145
+ DEPTH_BUFFER_BIT = 0x00000100
146
+ DEPTH_CLEAR_VALUE = 0x0B73
147
+ DEPTH_COMPONENT = 0x1902
148
+ DEPTH_FUNC = 0x0B74
149
+ DEPTH_RANGE = 0x0B70
150
+ DEPTH_SCALE = 0x0D1E
151
+ DEPTH_TEST = 0x0B71
152
+ DEPTH_WRITEMASK = 0x0B72
153
+ DIFFUSE = 0x1201
154
+ DITHER = 0x0BD0
155
+ DOMAIN = 0x0A02
156
+ DONT_CARE = 0x1100
157
+ DOUBLE = 0x140A
158
+ DOUBLEBUFFER = 0x0C32
159
+ DRAW_BUFFER = 0x0C01
160
+ DRAW_PIXEL_TOKEN = 0x0705
161
+ DST_ALPHA = 0x0304
162
+ DST_COLOR = 0x0306
163
+ EDGE_FLAG = 0x0B43
164
+ EDGE_FLAG_ARRAY = 0x8079
165
+ EDGE_FLAG_ARRAY_POINTER = 0x8093
166
+ EDGE_FLAG_ARRAY_STRIDE = 0x808C
167
+ EMISSION = 0x1600
168
+ ENABLE_BIT = 0x00002000
169
+ EQUAL = 0x0202
170
+ EQUIV = 0x1509
171
+ EVAL_BIT = 0x00010000
172
+ EXP = 0x0800
173
+ EXP2 = 0x0801
174
+ EXTENSIONS = 0x1F03
175
+ EYE_LINEAR = 0x2400
176
+ EYE_PLANE = 0x2502
177
+ FALSE = 0
178
+ FASTEST = 0x1101
179
+ FEEDBACK = 0x1C01
180
+ FEEDBACK_BUFFER_POINTER = 0x0DF0
181
+ FEEDBACK_BUFFER_SIZE = 0x0DF1
182
+ FEEDBACK_BUFFER_TYPE = 0x0DF2
183
+ FILL = 0x1B02
184
+ FLAT = 0x1D00
185
+ FLOAT = 0x1406
186
+ FOG = 0x0B60
187
+ FOG_BIT = 0x00000080
188
+ FOG_COLOR = 0x0B66
189
+ FOG_DENSITY = 0x0B62
190
+ FOG_END = 0x0B64
191
+ FOG_HINT = 0x0C54
192
+ FOG_INDEX = 0x0B61
193
+ FOG_MODE = 0x0B65
194
+ FOG_START = 0x0B63
195
+ FRONT = 0x0404
196
+ FRONT_AND_BACK = 0x0408
197
+ FRONT_FACE = 0x0B46
198
+ FRONT_LEFT = 0x0400
199
+ FRONT_RIGHT = 0x0401
200
+ GEQUAL = 0x0206
201
+ GREATER = 0x0204
202
+ GREEN = 0x1904
203
+ GREEN_BIAS = 0x0D19
204
+ GREEN_BITS = 0x0D53
205
+ GREEN_SCALE = 0x0D18
206
+ HINT_BIT = 0x00008000
207
+ INCR = 0x1E02
208
+ INDEX_ARRAY = 0x8077
209
+ INDEX_ARRAY_POINTER = 0x8091
210
+ INDEX_ARRAY_STRIDE = 0x8086
211
+ INDEX_ARRAY_TYPE = 0x8085
212
+ INDEX_BITS = 0x0D51
213
+ INDEX_CLEAR_VALUE = 0x0C20
214
+ INDEX_LOGIC_OP = 0x0BF1
215
+ INDEX_MODE = 0x0C30
216
+ INDEX_OFFSET = 0x0D13
217
+ INDEX_SHIFT = 0x0D12
218
+ INDEX_WRITEMASK = 0x0C21
219
+ INT = 0x1404
220
+ INTENSITY = 0x8049
221
+ INTENSITY12 = 0x804C
222
+ INTENSITY16 = 0x804D
223
+ INTENSITY4 = 0x804A
224
+ INTENSITY8 = 0x804B
225
+ INVALID_ENUM = 0x0500
226
+ INVALID_OPERATION = 0x0502
227
+ INVALID_VALUE = 0x0501
228
+ INVERT = 0x150A
229
+ KEEP = 0x1E00
230
+ LEFT = 0x0406
231
+ LEQUAL = 0x0203
232
+ LESS = 0x0201
233
+ LIGHT_MODEL_AMBIENT = 0x0B53
234
+ LIGHT_MODEL_LOCAL_VIEWER = 0x0B51
235
+ LIGHT_MODEL_TWO_SIDE = 0x0B52
236
+ LIGHT0 = 0x4000
237
+ LIGHT1 = 0x4001
238
+ LIGHT2 = 0x4002
239
+ LIGHT3 = 0x4003
240
+ LIGHT4 = 0x4004
241
+ LIGHT5 = 0x4005
242
+ LIGHT6 = 0x4006
243
+ LIGHT7 = 0x4007
244
+ LIGHTING = 0x0B50
245
+ LIGHTING_BIT = 0x00000040
246
+ LINE = 0x1B01
247
+ LINE_BIT = 0x00000004
248
+ LINE_LOOP = 0x0002
249
+ LINE_RESET_TOKEN = 0x0707
250
+ LINE_SMOOTH = 0x0B20
251
+ LINE_SMOOTH_HINT = 0x0C52
252
+ LINE_STIPPLE = 0x0B24
253
+ LINE_STIPPLE_PATTERN = 0x0B25
254
+ LINE_STIPPLE_REPEAT = 0x0B26
255
+ LINE_STRIP = 0x0003
256
+ LINE_TOKEN = 0x0702
257
+ LINE_WIDTH = 0x0B21
258
+ LINE_WIDTH_GRANULARITY = 0x0B23
259
+ LINE_WIDTH_RANGE = 0x0B22
260
+ LINEAR = 0x2601
261
+ LINEAR_ATTENUATION = 0x1208
262
+ LINEAR_MIPMAP_LINEAR = 0x2703
263
+ LINEAR_MIPMAP_NEAREST = 0x2701
264
+ LINES = 0x0001
265
+ LIST_BASE = 0x0B32
266
+ LIST_BIT = 0x00020000
267
+ LIST_INDEX = 0x0B33
268
+ LIST_MODE = 0x0B30
269
+ LOAD = 0x0101
270
+ LOGIC_OP = 0x0BF1
271
+ LOGIC_OP_MODE = 0x0BF0
272
+ LUMINANCE = 0x1909
273
+ LUMINANCE_ALPHA = 0x190A
274
+ LUMINANCE12 = 0x8041
275
+ LUMINANCE12_ALPHA12 = 0x8047
276
+ LUMINANCE12_ALPHA4 = 0x8046
277
+ LUMINANCE16 = 0x8042
278
+ LUMINANCE16_ALPHA16 = 0x8048
279
+ LUMINANCE4 = 0x803F
280
+ LUMINANCE4_ALPHA4 = 0x8043
281
+ LUMINANCE6_ALPHA2 = 0x8044
282
+ LUMINANCE8 = 0x8040
283
+ LUMINANCE8_ALPHA8 = 0x8045
284
+ MAP_COLOR = 0x0D10
285
+ MAP_STENCIL = 0x0D11
286
+ MAP1_COLOR_4 = 0x0D90
287
+ MAP1_GRID_DOMAIN = 0x0DD0
288
+ MAP1_GRID_SEGMENTS = 0x0DD1
289
+ MAP1_INDEX = 0x0D91
290
+ MAP1_NORMAL = 0x0D92
291
+ MAP1_TEXTURE_COORD_1 = 0x0D93
292
+ MAP1_TEXTURE_COORD_2 = 0x0D94
293
+ MAP1_TEXTURE_COORD_3 = 0x0D95
294
+ MAP1_TEXTURE_COORD_4 = 0x0D96
295
+ MAP1_VERTEX_3 = 0x0D97
296
+ MAP1_VERTEX_4 = 0x0D98
297
+ MAP2_COLOR_4 = 0x0DB0
298
+ MAP2_GRID_DOMAIN = 0x0DD2
299
+ MAP2_GRID_SEGMENTS = 0x0DD3
300
+ MAP2_INDEX = 0x0DB1
301
+ MAP2_NORMAL = 0x0DB2
302
+ MAP2_TEXTURE_COORD_1 = 0x0DB3
303
+ MAP2_TEXTURE_COORD_2 = 0x0DB4
304
+ MAP2_TEXTURE_COORD_3 = 0x0DB5
305
+ MAP2_TEXTURE_COORD_4 = 0x0DB6
306
+ MAP2_VERTEX_3 = 0x0DB7
307
+ MAP2_VERTEX_4 = 0x0DB8
308
+ MATRIX_MODE = 0x0BA0
309
+ MAX_ATTRIB_STACK_DEPTH = 0x0D35
310
+ MAX_CLIENT_ATTRIB_STACK_DEPTH = 0x0D3B
311
+ MAX_CLIP_PLANES = 0x0D32
312
+ MAX_EVAL_ORDER = 0x0D30
313
+ MAX_LIGHTS = 0x0D31
314
+ MAX_LIST_NESTING = 0x0B31
315
+ MAX_MODELVIEW_STACK_DEPTH = 0x0D36
316
+ MAX_NAME_STACK_DEPTH = 0x0D37
317
+ MAX_PIXEL_MAP_TABLE = 0x0D34
318
+ MAX_PROJECTION_STACK_DEPTH = 0x0D38
319
+ MAX_TEXTURE_SIZE = 0x0D33
320
+ MAX_TEXTURE_STACK_DEPTH = 0x0D39
321
+ MAX_VIEWPORT_DIMS = 0x0D3A
322
+ MODELVIEW = 0x1700
323
+ MODELVIEW_MATRIX = 0x0BA6
324
+ MODELVIEW_STACK_DEPTH = 0x0BA3
325
+ MODULATE = 0x2100
326
+ MULT = 0x0103
327
+ N3F_V3F = 0x2A25
328
+ NAME_STACK_DEPTH = 0x0D70
329
+ NAND = 0x150E
330
+ NEAREST = 0x2600
331
+ NEAREST_MIPMAP_LINEAR = 0x2702
332
+ NEAREST_MIPMAP_NEAREST = 0x2700
333
+ NEVER = 0x0200
334
+ NICEST = 0x1102
335
+ NO_ERROR = 0
336
+ NONE = 0
337
+ NOOP = 0x1505
338
+ NOR = 0x1508
339
+ NORMAL_ARRAY = 0x8075
340
+ NORMAL_ARRAY_POINTER = 0x808F
341
+ NORMAL_ARRAY_STRIDE = 0x807F
342
+ NORMAL_ARRAY_TYPE = 0x807E
343
+ NORMALIZE = 0x0BA1
344
+ NOTEQUAL = 0x0205
345
+ OBJECT_LINEAR = 0x2401
346
+ OBJECT_PLANE = 0x2501
347
+ ONE = 1
348
+ ONE_MINUS_DST_ALPHA = 0x0305
349
+ ONE_MINUS_DST_COLOR = 0x0307
350
+ ONE_MINUS_SRC_ALPHA = 0x0303
351
+ ONE_MINUS_SRC_COLOR = 0x0301
352
+ OR = 0x1507
353
+ OR_INVERTED = 0x150D
354
+ OR_REVERSE = 0x150B
355
+ ORDER = 0x0A01
356
+ OUT_OF_MEMORY = 0x0505
357
+ PACK_ALIGNMENT = 0x0D05
358
+ PACK_LSB_FIRST = 0x0D01
359
+ PACK_ROW_LENGTH = 0x0D02
360
+ PACK_SKIP_PIXELS = 0x0D04
361
+ PACK_SKIP_ROWS = 0x0D03
362
+ PACK_SWAP_BYTES = 0x0D00
363
+ PASS_THROUGH_TOKEN = 0x0700
364
+ PERSPECTIVE_CORRECTION_HINT = 0x0C50
365
+ PIXEL_MAP_A_TO_A = 0x0C79
366
+ PIXEL_MAP_A_TO_A_SIZE = 0x0CB9
367
+ PIXEL_MAP_B_TO_B = 0x0C78
368
+ PIXEL_MAP_B_TO_B_SIZE = 0x0CB8
369
+ PIXEL_MAP_G_TO_G = 0x0C77
370
+ PIXEL_MAP_G_TO_G_SIZE = 0x0CB7
371
+ PIXEL_MAP_I_TO_A = 0x0C75
372
+ PIXEL_MAP_I_TO_A_SIZE = 0x0CB5
373
+ PIXEL_MAP_I_TO_B = 0x0C74
374
+ PIXEL_MAP_I_TO_B_SIZE = 0x0CB4
375
+ PIXEL_MAP_I_TO_G = 0x0C73
376
+ PIXEL_MAP_I_TO_G_SIZE = 0x0CB3
377
+ PIXEL_MAP_I_TO_I = 0x0C70
378
+ PIXEL_MAP_I_TO_I_SIZE = 0x0CB0
379
+ PIXEL_MAP_I_TO_R = 0x0C72
380
+ PIXEL_MAP_I_TO_R_SIZE = 0x0CB2
381
+ PIXEL_MAP_R_TO_R = 0x0C76
382
+ PIXEL_MAP_R_TO_R_SIZE = 0x0CB6
383
+ PIXEL_MAP_S_TO_S = 0x0C71
384
+ PIXEL_MAP_S_TO_S_SIZE = 0x0CB1
385
+ PIXEL_MODE_BIT = 0x00000020
386
+ POINT = 0x1B00
387
+ POINT_BIT = 0x00000002
388
+ POINT_SIZE = 0x0B11
389
+ POINT_SIZE_GRANULARITY = 0x0B13
390
+ POINT_SIZE_RANGE = 0x0B12
391
+ POINT_SMOOTH = 0x0B10
392
+ POINT_SMOOTH_HINT = 0x0C51
393
+ POINT_TOKEN = 0x0701
394
+ POINTS = 0x0000
395
+ POLYGON = 0x0009
396
+ POLYGON_BIT = 0x00000008
397
+ POLYGON_MODE = 0x0B40
398
+ POLYGON_OFFSET_FACTOR = 0x8038
399
+ POLYGON_OFFSET_FILL = 0x8037
400
+ POLYGON_OFFSET_LINE = 0x2A02
401
+ POLYGON_OFFSET_POINT = 0x2A01
402
+ POLYGON_OFFSET_UNITS = 0x2A00
403
+ POLYGON_SMOOTH = 0x0B41
404
+ POLYGON_SMOOTH_HINT = 0x0C53
405
+ POLYGON_STIPPLE = 0x0B42
406
+ POLYGON_STIPPLE_BIT = 0x00000010
407
+ POLYGON_TOKEN = 0x0703
408
+ POSITION = 0x1203
409
+ PROJECTION = 0x1701
410
+ PROJECTION_MATRIX = 0x0BA7
411
+ PROJECTION_STACK_DEPTH = 0x0BA4
412
+ PROXY_TEXTURE_1D = 0x8063
413
+ PROXY_TEXTURE_2D = 0x8064
414
+ Q = 0x2003
415
+ QUAD_STRIP = 0x0008
416
+ QUADRATIC_ATTENUATION = 0x1209
417
+ QUADS = 0x0007
418
+ R = 0x2002
419
+ R3_G3_B2 = 0x2A10
420
+ READ_BUFFER = 0x0C02
421
+ RED = 0x1903
422
+ RED_BIAS = 0x0D15
423
+ RED_BITS = 0x0D52
424
+ RED_SCALE = 0x0D14
425
+ RENDER = 0x1C00
426
+ RENDER_MODE = 0x0C40
427
+ RENDERER = 0x1F01
428
+ REPEAT = 0x2901
429
+ REPLACE = 0x1E01
430
+ RETURN = 0x0102
431
+ RGB = 0x1907
432
+ RGB10 = 0x8052
433
+ RGB10_A2 = 0x8059
434
+ RGB12 = 0x8053
435
+ RGB16 = 0x8054
436
+ RGB4 = 0x804F
437
+ RGB5 = 0x8050
438
+ RGB5_A1 = 0x8057
439
+ RGB8 = 0x8051
440
+ RGBA = 0x1908
441
+ RGBA_MODE = 0x0C31
442
+ RGBA12 = 0x805A
443
+ RGBA16 = 0x805B
444
+ RGBA2 = 0x8055
445
+ RGBA4 = 0x8056
446
+ RGBA8 = 0x8058
447
+ RIGHT = 0x0407
448
+ S = 0x2000
449
+ SCISSOR_BIT = 0x00080000
450
+ SCISSOR_BOX = 0x0C10
451
+ SCISSOR_TEST = 0x0C11
452
+ SELECT = 0x1C02
453
+ SELECTION_BUFFER_POINTER = 0x0DF3
454
+ SELECTION_BUFFER_SIZE = 0x0DF4
455
+ SET = 0x150F
456
+ SHADE_MODEL = 0x0B54
457
+ SHININESS = 0x1601
458
+ SHORT = 0x1402
459
+ SMOOTH = 0x1D01
460
+ SPECULAR = 0x1202
461
+ SPHERE_MAP = 0x2402
462
+ SPOT_CUTOFF = 0x1206
463
+ SPOT_DIRECTION = 0x1204
464
+ SPOT_EXPONENT = 0x1205
465
+ SRC_ALPHA = 0x0302
466
+ SRC_ALPHA_SATURATE = 0x0308
467
+ SRC_COLOR = 0x0300
468
+ STACK_OVERFLOW = 0x0503
469
+ STACK_UNDERFLOW = 0x0504
470
+ STENCIL = 0x1802
471
+ STENCIL_BITS = 0x0D57
472
+ STENCIL_BUFFER_BIT = 0x00000400
473
+ STENCIL_CLEAR_VALUE = 0x0B91
474
+ STENCIL_FAIL = 0x0B94
475
+ STENCIL_FUNC = 0x0B92
476
+ STENCIL_INDEX = 0x1901
477
+ STENCIL_PASS_DEPTH_FAIL = 0x0B95
478
+ STENCIL_PASS_DEPTH_PASS = 0x0B96
479
+ STENCIL_REF = 0x0B97
480
+ STENCIL_TEST = 0x0B90
481
+ STENCIL_VALUE_MASK = 0x0B93
482
+ STENCIL_WRITEMASK = 0x0B98
483
+ STEREO = 0x0C33
484
+ SUBPIXEL_BITS = 0x0D50
485
+ T = 0x2001
486
+ T2F_C3F_V3F = 0x2A2A
487
+ T2F_C4F_N3F_V3F = 0x2A2C
488
+ T2F_C4UB_V3F = 0x2A29
489
+ T2F_N3F_V3F = 0x2A2B
490
+ T2F_V3F = 0x2A27
491
+ T4F_C4F_N3F_V4F = 0x2A2D
492
+ T4F_V4F = 0x2A28
493
+ TEXTURE = 0x1702
494
+ TEXTURE_1D = 0x0DE0
495
+ TEXTURE_2D = 0x0DE1
496
+ TEXTURE_ALPHA_SIZE = 0x805F
497
+ TEXTURE_BINDING_1D = 0x8068
498
+ TEXTURE_BINDING_2D = 0x8069
499
+ TEXTURE_BIT = 0x00040000
500
+ TEXTURE_BLUE_SIZE = 0x805E
501
+ TEXTURE_BORDER = 0x1005
502
+ TEXTURE_BORDER_COLOR = 0x1004
503
+ TEXTURE_COMPONENTS = 0x1003
504
+ TEXTURE_COORD_ARRAY = 0x8078
505
+ TEXTURE_COORD_ARRAY_POINTER = 0x8092
506
+ TEXTURE_COORD_ARRAY_SIZE = 0x8088
507
+ TEXTURE_COORD_ARRAY_STRIDE = 0x808A
508
+ TEXTURE_COORD_ARRAY_TYPE = 0x8089
509
+ TEXTURE_ENV = 0x2300
510
+ TEXTURE_ENV_COLOR = 0x2201
511
+ TEXTURE_ENV_MODE = 0x2200
512
+ TEXTURE_GEN_MODE = 0x2500
513
+ TEXTURE_GEN_Q = 0x0C63
514
+ TEXTURE_GEN_R = 0x0C62
515
+ TEXTURE_GEN_S = 0x0C60
516
+ TEXTURE_GEN_T = 0x0C61
517
+ TEXTURE_GREEN_SIZE = 0x805D
518
+ TEXTURE_HEIGHT = 0x1001
519
+ TEXTURE_INTENSITY_SIZE = 0x8061
520
+ TEXTURE_INTERNAL_FORMAT = 0x1003
521
+ TEXTURE_LUMINANCE_SIZE = 0x8060
522
+ TEXTURE_MAG_FILTER = 0x2800
523
+ TEXTURE_MATRIX = 0x0BA8
524
+ TEXTURE_MIN_FILTER = 0x2801
525
+ TEXTURE_PRIORITY = 0x8066
526
+ TEXTURE_RED_SIZE = 0x805C
527
+ TEXTURE_RESIDENT = 0x8067
528
+ TEXTURE_STACK_DEPTH = 0x0BA5
529
+ TEXTURE_WIDTH = 0x1000
530
+ TEXTURE_WRAP_S = 0x2802
531
+ TEXTURE_WRAP_T = 0x2803
532
+ TRANSFORM_BIT = 0x00001000
533
+ TRIANGLE_FAN = 0x0006
534
+ TRIANGLE_STRIP = 0x0005
535
+ TRIANGLES = 0x0004
536
+ TRUE = 1
537
+ UNPACK_ALIGNMENT = 0x0CF5
538
+ UNPACK_LSB_FIRST = 0x0CF1
539
+ UNPACK_ROW_LENGTH = 0x0CF2
540
+ UNPACK_SKIP_PIXELS = 0x0CF4
541
+ UNPACK_SKIP_ROWS = 0x0CF3
542
+ UNPACK_SWAP_BYTES = 0x0CF0
543
+ UNSIGNED_BYTE = 0x1401
544
+ UNSIGNED_INT = 0x1405
545
+ UNSIGNED_SHORT = 0x1403
546
+ V2F = 0x2A20
547
+ V3F = 0x2A21
548
+ VENDOR = 0x1F00
549
+ VERSION = 0x1F02
550
+ VERTEX_ARRAY = 0x8074
551
+ VERTEX_ARRAY_POINTER = 0x808E
552
+ VERTEX_ARRAY_SIZE = 0x807A
553
+ VERTEX_ARRAY_STRIDE = 0x807C
554
+ VERTEX_ARRAY_TYPE = 0x807B
555
+ VIEWPORT = 0x0BA2
556
+ VIEWPORT_BIT = 0x00000800
557
+ XOR = 0x1506
558
+ ZERO = 0
559
+ ZOOM_X = 0x0D16
560
+ ZOOM_Y = 0x0D17
561
+
562
+ [
563
+ [ :Accum, [ :uint, :float ], :void ],
564
+ [ :AlphaFunc, [ :uint, :float ], :void ],
565
+ [ :AreTexturesResident, [ :int, :pointer, :pointer ], :bool ],
566
+ [ :ArrayElement, [ :int ], :void ],
567
+ [ :Begin, [ :uint ], :void ],
568
+ [ :BindTexture, [ :uint, :uint ], :void ],
569
+ [ :Bitmap, [ :int, :int, :float, :float, :float, :float, :pointer ], :void ],
570
+ [ :BlendFunc, [ :uint, :uint ], :void ],
571
+ [ :CallList, [ :uint ], :void ],
572
+ [ :CallLists, [ :int, :uint, :pointer ], :void ],
573
+ [ :Clear, [ :uint ], :void ],
574
+ [ :ClearAccum, [ :float, :float, :float, :float ], :void ],
575
+ [ :ClearColor, [ :float, :float, :float, :float ], :void ],
576
+ [ :ClearDepth, [ :double ], :void ],
577
+ [ :ClearIndex, [ :float ], :void ],
578
+ [ :ClearStencil, [ :int ], :void ],
579
+ [ :ClipPlane, [ :uint, :pointer ], :void ],
580
+ [ :Color3b, [ :char, :char, :char ], :void ],
581
+ [ :Color3bv, [ :pointer ], :void ],
582
+ [ :Color3d, [ :double, :double, :double ], :void ],
583
+ [ :Color3dv, [ :pointer ], :void ],
584
+ [ :Color3f, [ :float, :float, :float ], :void ],
585
+ [ :Color3fv, [ :pointer ], :void ],
586
+ [ :Color3i, [ :int, :int, :int ], :void ],
587
+ [ :Color3iv, [ :pointer ], :void ],
588
+ [ :Color3s, [ :short, :short, :short ], :void ],
589
+ [ :Color3sv, [ :pointer ], :void ],
590
+ [ :Color3ub, [ :uchar, :uchar, :uchar ], :void ],
591
+ [ :Color3ubv, [ :pointer ], :void ],
592
+ [ :Color3ui, [ :uint, :uint, :uint ], :void ],
593
+ [ :Color3uiv, [ :pointer ], :void ],
594
+ [ :Color3us, [ :ushort, :ushort, :ushort ], :void ],
595
+ [ :Color3usv, [ :pointer ], :void ],
596
+ [ :Color4b, [ :char, :char, :char, :char ], :void ],
597
+ [ :Color4bv, [ :pointer ], :void ],
598
+ [ :Color4d, [ :double, :double, :double, :double ], :void ],
599
+ [ :Color4dv, [ :pointer ], :void ],
600
+ [ :Color4f, [ :float, :float, :float, :float ], :void ],
601
+ [ :Color4fv, [ :pointer ], :void ],
602
+ [ :Color4i, [ :int, :int, :int, :int ], :void ],
603
+ [ :Color4iv, [ :pointer ], :void ],
604
+ [ :Color4s, [ :short, :short, :short, :short ], :void ],
605
+ [ :Color4sv, [ :pointer ], :void ],
606
+ [ :Color4ub, [ :uchar, :uchar, :uchar, :uchar ], :void ],
607
+ [ :Color4ubv, [ :pointer ], :void ],
608
+ [ :Color4ui, [ :uint, :uint, :uint, :uint ], :void ],
609
+ [ :Color4uiv, [ :pointer ], :void ],
610
+ [ :Color4us, [ :ushort, :ushort, :ushort, :ushort ], :void ],
611
+ [ :Color4usv, [ :pointer ], :void ],
612
+ [ :ColorMask, [ :uchar, :uchar, :uchar, :uchar ], :void ],
613
+ [ :ColorMaterial, [ :uint, :uint ], :void ],
614
+ [ :ColorPointer, [ :int, :uint, :int, :pointer ], :void ],
615
+ [ :CopyPixels, [ :int, :int, :int, :int, :uint ], :void ],
616
+ [ :CopyTexImage1D, [ :uint, :int, :uint, :int, :int, :int, :int ], :void ],
617
+ [ :CopyTexImage2D, [ :uint, :int, :uint, :int, :int, :int, :int, :int ], :void ],
618
+ [ :CopyTexSubImage1D, [ :uint, :int, :int, :int, :int, :int ], :void ],
619
+ [ :CopyTexSubImage2D, [ :uint, :int, :int, :int, :int, :int, :int, :int ], :void ],
620
+ [ :CullFace, [ :uint ], :void ],
621
+ [ :DeleteLists, [ :uint, :int ], :void ],
622
+ [ :DeleteTextures, [ :int, :pointer ], :void ],
623
+ [ :DepthFunc, [ :uint ], :void ],
624
+ [ :DepthMask, [ :uchar ], :void ],
625
+ [ :DepthRange, [ :double, :double ], :void ],
626
+ [ :Disable, [ :uint ], :void ],
627
+ [ :DisableClientState, [ :uint ], :void ],
628
+ [ :DrawArrays, [ :uint, :int, :int ], :void ],
629
+ [ :DrawBuffer, [ :uint ], :void ],
630
+ [ :DrawElements, [ :uint, :int, :uint, :pointer ], :void ],
631
+ [ :DrawPixels, [ :int, :int, :uint, :uint, :pointer ], :void ],
632
+ [ :EdgeFlag, [ :uchar ], :void ],
633
+ [ :EdgeFlagPointer, [ :int, :pointer ], :void ],
634
+ [ :EdgeFlagv, [ :pointer ], :void ],
635
+ [ :Enable, [ :uint ], :void ],
636
+ [ :EnableClientState, [ :uint ], :void ],
637
+ [ :End, [ ], :void ],
638
+ [ :EndList, [ ], :void ],
639
+ [ :EvalCoord1d, [ :double ], :void ],
640
+ [ :EvalCoord1dv, [ :pointer ], :void ],
641
+ [ :EvalCoord1f, [ :float ], :void ],
642
+ [ :EvalCoord1fv, [ :pointer ], :void ],
643
+ [ :EvalCoord2d, [ :double, :double ], :void ],
644
+ [ :EvalCoord2dv, [ :pointer ], :void ],
645
+ [ :EvalCoord2f, [ :float, :float ], :void ],
646
+ [ :EvalCoord2fv, [ :pointer ], :void ],
647
+ [ :EvalMesh1, [ :uint, :int, :int ], :void ],
648
+ [ :EvalMesh2, [ :uint, :int, :int, :int, :int ], :void ],
649
+ [ :EvalPoint1, [ :int ], :void ],
650
+ [ :EvalPoint2, [ :int, :int ], :void ],
651
+ [ :FeedbackBuffer, [ :int, :uint, :pointer ], :void ],
652
+ [ :Finish, [ ], :void ],
653
+ [ :Flush, [ ], :void ],
654
+ [ :Fogf, [ :uint, :float ], :void ],
655
+ [ :Fogfv, [ :uint, :pointer ], :void ],
656
+ [ :Fogi, [ :uint, :int ], :void ],
657
+ [ :Fogiv, [ :uint, :pointer ], :void ],
658
+ [ :FrontFace, [ :uint ], :void ],
659
+ [ :Frustum, [ :double, :double, :double, :double, :double, :double ], :void ],
660
+ [ :GenLists, [ :int ], :uint ],
661
+ [ :GenTextures, [ :int, :pointer ], :void ],
662
+ [ :GetBooleanv, [ :uint, :pointer ], :void ],
663
+ [ :GetClipPlane, [ :uint, :pointer ], :void ],
664
+ [ :GetDoublev, [ :uint, :pointer ], :void ],
665
+ [ :GetError, [ ], :uint ],
666
+ [ :GetFloatv, [ :uint, :pointer ], :void ],
667
+ [ :GetIntegerv, [ :uint, :pointer ], :void ],
668
+ [ :GetLightfv, [ :uint, :uint, :pointer ], :void ],
669
+ [ :GetLightiv, [ :uint, :uint, :pointer ], :void ],
670
+ [ :GetMapdv, [ :uint, :uint, :pointer ], :void ],
671
+ [ :GetMapfv, [ :uint, :uint, :pointer ], :void ],
672
+ [ :GetMapiv, [ :uint, :uint, :pointer ], :void ],
673
+ [ :GetMaterialfv, [ :uint, :uint, :pointer ], :void ],
674
+ [ :GetMaterialiv, [ :uint, :uint, :pointer ], :void ],
675
+ [ :GetPixelMapfv, [ :uint, :pointer ], :void ],
676
+ [ :GetPixelMapuiv, [ :uint, :pointer ], :void ],
677
+ [ :GetPixelMapusv, [ :uint, :pointer ], :void ],
678
+ [ :GetPointerv, [ :uint, :pointer ], :void ],
679
+ [ :GetPolygonStipple, [ :pointer ], :void ],
680
+ [ :GetString, [ :uint ], :string ],
681
+ [ :GetTexEnvfv, [ :uint, :uint, :pointer ], :void ],
682
+ [ :GetTexEnviv, [ :uint, :uint, :pointer ], :void ],
683
+ [ :GetTexGendv, [ :uint, :uint, :pointer ], :void ],
684
+ [ :GetTexGenfv, [ :uint, :uint, :pointer ], :void ],
685
+ [ :GetTexGeniv, [ :uint, :uint, :pointer ], :void ],
686
+ [ :GetTexImage, [ :uint, :int, :uint, :uint, :pointer ], :void ],
687
+ [ :GetTexLevelParameterfv, [ :uint, :int, :uint, :pointer ], :void ],
688
+ [ :GetTexLevelParameteriv, [ :uint, :int, :uint, :pointer ], :void ],
689
+ [ :GetTexParameterfv, [ :uint, :uint, :pointer ], :void ],
690
+ [ :GetTexParameteriv, [ :uint, :uint, :pointer ], :void ],
691
+ [ :Hint, [ :uint, :uint ], :void ],
692
+ [ :Indexd, [ :double ], :void ],
693
+ [ :Indexdv, [ :pointer ], :void ],
694
+ [ :Indexf, [ :float ], :void ],
695
+ [ :Indexfv, [ :pointer ], :void ],
696
+ [ :Indexi, [ :int ], :void ],
697
+ [ :Indexiv, [ :pointer ], :void ],
698
+ [ :IndexMask, [ :uint ], :void ],
699
+ [ :IndexPointer, [ :uint, :int, :pointer ], :void ],
700
+ [ :Indexs, [ :short ], :void ],
701
+ [ :Indexsv, [ :pointer ], :void ],
702
+ [ :Indexub, [ :uchar ], :void ],
703
+ [ :Indexubv, [ :pointer ], :void ],
704
+ [ :InitNames, [ ], :void ],
705
+ [ :InterleavedArrays, [ :uint, :int, :pointer ], :void ],
706
+ [ :IsEnabled, [ :uint ], :uchar ],
707
+ [ :IsList, [ :uint ], :uchar ],
708
+ [ :IsTexture, [ :uint ], :uchar ],
709
+ [ :Lightf, [ :uint, :uint, :float ], :void ],
710
+ [ :Lightfv, [ :uint, :uint, :pointer ], :void ],
711
+ [ :Lighti, [ :uint, :uint, :int ], :void ],
712
+ [ :Lightiv, [ :uint, :uint, :pointer ], :void ],
713
+ [ :LightModelf, [ :uint, :float ], :void ],
714
+ [ :LightModelfv, [ :uint, :pointer ], :void ],
715
+ [ :LightModeli, [ :uint, :int ], :void ],
716
+ [ :LightModeliv, [ :uint, :pointer ], :void ],
717
+ [ :LineStipple, [ :int, :ushort ], :void ],
718
+ [ :LineWidth, [ :float ], :void ],
719
+ [ :ListBase, [ :uint ], :void ],
720
+ [ :LoadIdentity, [ ], :void ],
721
+ [ :LoadMatrixd, [ :pointer ], :void ],
722
+ [ :LoadMatrixf, [ :pointer ], :void ],
723
+ [ :LoadName, [ :uint ], :void ],
724
+ [ :LogicOp, [ :uint ], :void ],
725
+ [ :Map1d, [ :uint, :double, :double, :int, :int, :pointer ], :void ],
726
+ [ :Map1f, [ :uint, :float, :float, :int, :int, :pointer ], :void ],
727
+ [ :Map2d, [ :uint, :double, :double, :int, :int, :double, :double, :int, :int, :pointer ], :void ],
728
+ [ :Map2f, [ :uint, :float, :float, :int, :int, :float, :float, :int, :int, :pointer ], :void ],
729
+ [ :MapGrid1d, [ :int, :double, :double ], :void ],
730
+ [ :MapGrid1f, [ :int, :float, :float ], :void ],
731
+ [ :MapGrid2d, [ :int, :double, :double, :int, :double, :double ], :void ],
732
+ [ :MapGrid2f, [ :int, :float, :float, :int, :float, :float ], :void ],
733
+ [ :Materialf, [ :uint, :uint, :float ], :void ],
734
+ [ :Materialfv, [ :uint, :uint, :pointer ], :void ],
735
+ [ :Materiali, [ :uint, :uint, :int ], :void ],
736
+ [ :Materialiv, [ :uint, :uint, :pointer ], :void ],
737
+ [ :MatrixMode, [ :uint ], :void ],
738
+ [ :MultMatrixd, [ :pointer ], :void ],
739
+ [ :MultMatrixf, [ :pointer ], :void ],
740
+ [ :NewList, [ :uint, :uint ], :void ],
741
+ [ :Normal3b, [ :char, :char, :char ], :void ],
742
+ [ :Normal3bv, [ :pointer ], :void ],
743
+ [ :Normal3d, [ :double, :double, :double ], :void ],
744
+ [ :Normal3dv, [ :pointer ], :void ],
745
+ [ :Normal3f, [ :float, :float, :float ], :void ],
746
+ [ :Normal3fv, [ :pointer ], :void ],
747
+ [ :Normal3i, [ :int, :int, :int ], :void ],
748
+ [ :Normal3iv, [ :pointer ], :void ],
749
+ [ :Normal3s, [ :short, :short, :short ], :void ],
750
+ [ :Normal3sv, [ :pointer ], :void ],
751
+ [ :NormalPointer, [ :uint, :int, :pointer ], :void ],
752
+ [ :Ortho, [ :double, :double, :double, :double, :double, :double ], :void ],
753
+ [ :PassThrough, [ :float ], :void ],
754
+ [ :PixelMapfv, [ :uint, :int, :pointer ], :void ],
755
+ [ :PixelMapuiv, [ :uint, :int, :pointer ], :void ],
756
+ [ :PixelMapusv, [ :uint, :int, :pointer ], :void ],
757
+ [ :PixelStoref, [ :uint, :float ], :void ],
758
+ [ :PixelStorei, [ :uint, :int ], :void ],
759
+ [ :PixelTransferf, [ :uint, :float ], :void ],
760
+ [ :PixelTransferi, [ :uint, :int ], :void ],
761
+ [ :PixelZoom, [ :float, :float ], :void ],
762
+ [ :PointSize, [ :float ], :void ],
763
+ [ :PolygonMode, [ :uint, :uint ], :void ],
764
+ [ :PolygonOffset, [ :float, :float ], :void ],
765
+ [ :PolygonStipple, [ :pointer ], :void ],
766
+ [ :PopAttrib, [ ], :void ],
767
+ [ :PopClientAttrib, [ ], :void ],
768
+ [ :PopMatrix, [ ], :void ],
769
+ [ :PopName, [ ], :void ],
770
+ [ :PrioritizeTextures, [ :int, :pointer, :pointer ], :void ],
771
+ [ :PushAttrib, [ :uint ], :void ],
772
+ [ :PushClientAttrib, [ :uint ], :void ],
773
+ [ :PushMatrix, [ ], :void ],
774
+ [ :PushName, [ :uint ], :void ],
775
+ [ :RasterPos2d, [ :double, :double ], :void ],
776
+ [ :RasterPos2dv, [ :pointer ], :void ],
777
+ [ :RasterPos2f, [ :float, :float ], :void ],
778
+ [ :RasterPos2fv, [ :pointer ], :void ],
779
+ [ :RasterPos2i, [ :int, :int ], :void ],
780
+ [ :RasterPos2iv, [ :pointer ], :void ],
781
+ [ :RasterPos2s, [ :short, :short ], :void ],
782
+ [ :RasterPos2sv, [ :pointer ], :void ],
783
+ [ :RasterPos3d, [ :double, :double, :double ], :void ],
784
+ [ :RasterPos3dv, [ :pointer ], :void ],
785
+ [ :RasterPos3f, [ :float, :float, :float ], :void ],
786
+ [ :RasterPos3fv, [ :pointer ], :void ],
787
+ [ :RasterPos3i, [ :int, :int, :int ], :void ],
788
+ [ :RasterPos3iv, [ :pointer ], :void ],
789
+ [ :RasterPos3s, [ :short, :short, :short ], :void ],
790
+ [ :RasterPos3sv, [ :pointer ], :void ],
791
+ [ :RasterPos4d, [ :double, :double, :double, :double ], :void ],
792
+ [ :RasterPos4dv, [ :pointer ], :void ],
793
+ [ :RasterPos4f, [ :float, :float, :float, :float ], :void ],
794
+ [ :RasterPos4fv, [ :pointer ], :void ],
795
+ [ :RasterPos4i, [ :int, :int, :int, :int ], :void ],
796
+ [ :RasterPos4iv, [ :pointer ], :void ],
797
+ [ :RasterPos4s, [ :short, :short, :short, :short ], :void ],
798
+ [ :RasterPos4sv, [ :pointer ], :void ],
799
+ [ :ReadBuffer, [ :uint ], :void ],
800
+ [ :ReadPixels, [ :int, :int, :int, :int, :uint, :uint, :pointer ], :void ],
801
+ [ :Rectd, [ :double, :double, :double, :double ], :void ],
802
+ [ :Rectdv, [ :pointer, :pointer ], :void ],
803
+ [ :Rectf, [ :float, :float, :float, :float ], :void ],
804
+ [ :Rectfv, [ :pointer, :pointer ], :void ],
805
+ [ :Recti, [ :int, :int, :int, :int ], :void ],
806
+ [ :Rectiv, [ :pointer, :pointer ], :void ],
807
+ [ :Rects, [ :short, :short, :short, :short ], :void ],
808
+ [ :Rectsv, [ :pointer, :pointer ], :void ],
809
+ [ :RenderMode, [ :uint ], :int ],
810
+ [ :Rotated, [ :double, :double, :double, :double ], :void ],
811
+ [ :Rotatef, [ :float, :float, :float, :float ], :void ],
812
+ [ :Scaled, [ :double, :double, :double ], :void ],
813
+ [ :Scalef, [ :float, :float, :float ], :void ],
814
+ [ :Scissor, [ :int, :int, :int, :int ], :void ],
815
+ [ :SelectBuffer, [ :int, :pointer ], :void ],
816
+ [ :ShadeModel, [ :uint ], :void ],
817
+ [ :StencilFunc, [ :uint, :int, :uint ], :void ],
818
+ [ :StencilMask, [ :uint ], :void ],
819
+ [ :StencilOp, [ :uint, :uint, :uint ], :void ],
820
+ [ :TexCoord1d, [ :double ], :void ],
821
+ [ :TexCoord1dv, [ :pointer ], :void ],
822
+ [ :TexCoord1f, [ :float ], :void ],
823
+ [ :TexCoord1fv, [ :pointer ], :void ],
824
+ [ :TexCoord1i, [ :int ], :void ],
825
+ [ :TexCoord1iv, [ :pointer ], :void ],
826
+ [ :TexCoord1s, [ :short ], :void ],
827
+ [ :TexCoord1sv, [ :pointer ], :void ],
828
+ [ :TexCoord2d, [ :double, :double ], :void ],
829
+ [ :TexCoord2dv, [ :pointer ], :void ],
830
+ [ :TexCoord2f, [ :float, :float ], :void ],
831
+ [ :TexCoord2fv, [ :pointer ], :void ],
832
+ [ :TexCoord2i, [ :int, :int ], :void ],
833
+ [ :TexCoord2iv, [ :pointer ], :void ],
834
+ [ :TexCoord2s, [ :short, :short ], :void ],
835
+ [ :TexCoord2sv, [ :pointer ], :void ],
836
+ [ :TexCoord3d, [ :double, :double, :double ], :void ],
837
+ [ :TexCoord3dv, [ :pointer ], :void ],
838
+ [ :TexCoord3f, [ :float, :float, :float ], :void ],
839
+ [ :TexCoord3fv, [ :pointer ], :void ],
840
+ [ :TexCoord3i, [ :int, :int, :int ], :void ],
841
+ [ :TexCoord3iv, [ :pointer ], :void ],
842
+ [ :TexCoord3s, [ :short, :short, :short ], :void ],
843
+ [ :TexCoord3sv, [ :pointer ], :void ],
844
+ [ :TexCoord4d, [ :double, :double, :double, :double ], :void ],
845
+ [ :TexCoord4dv, [ :pointer ], :void ],
846
+ [ :TexCoord4f, [ :float, :float, :float, :float ], :void ],
847
+ [ :TexCoord4fv, [ :pointer ], :void ],
848
+ [ :TexCoord4i, [ :int, :int, :int, :int ], :void ],
849
+ [ :TexCoord4iv, [ :pointer ], :void ],
850
+ [ :TexCoord4s, [ :short, :short, :short, :short ], :void ],
851
+ [ :TexCoord4sv, [ :pointer ], :void ],
852
+ [ :TexCoordPointer, [ :int, :uint, :int, :pointer ], :void ],
853
+ [ :TexEnvf, [ :uint, :uint, :float ], :void ],
854
+ [ :TexEnvfv, [ :uint, :uint, :pointer ], :void ],
855
+ [ :TexEnvi, [ :uint, :uint, :int ], :void ],
856
+ [ :TexEnviv, [ :uint, :uint, :pointer ], :void ],
857
+ [ :TexGend, [ :uint, :uint, :double ], :void ],
858
+ [ :TexGendv, [ :uint, :uint, :pointer ], :void ],
859
+ [ :TexGenf, [ :uint, :uint, :float ], :void ],
860
+ [ :TexGenfv, [ :uint, :uint, :pointer ], :void ],
861
+ [ :TexGeni, [ :uint, :uint, :int ], :void ],
862
+ [ :TexGeniv, [ :uint, :uint, :pointer ], :void ],
863
+ [ :TexImage1D, [ :uint, :int, :int, :int, :int, :uint, :uint, :pointer ], :void ],
864
+ [ :TexImage2D, [ :uint, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void ],
865
+ [ :TexParameterf, [ :uint, :uint, :float ], :void ],
866
+ [ :TexParameterfv, [ :uint, :uint, :pointer ], :void ],
867
+ [ :TexParameteri, [ :uint, :uint, :int ], :void ],
868
+ [ :TexParameteriv, [ :uint, :uint, :pointer ], :void ],
869
+ [ :TexSubImage1D, [ :uint, :int, :int, :int, :uint, :uint, :pointer ], :void ],
870
+ [ :TexSubImage2D, [ :uint, :int, :int, :int, :int, :int, :uint, :uint, :pointer ], :void ],
871
+ [ :Translated, [ :double, :double, :double ], :void ],
872
+ [ :Translatef, [ :float, :float, :float ], :void ],
873
+ [ :Vertex2d, [ :double, :double ], :void ],
874
+ [ :Vertex2dv, [ :pointer ], :void ],
875
+ [ :Vertex2f, [ :float, :float ], :void ],
876
+ [ :Vertex2fv, [ :pointer ], :void ],
877
+ [ :Vertex2i, [ :int, :int ], :void ],
878
+ [ :Vertex2iv, [ :pointer ], :void ],
879
+ [ :Vertex2s, [ :short, :short ], :void ],
880
+ [ :Vertex2sv, [ :pointer ], :void ],
881
+ [ :Vertex3d, [ :double, :double, :double ], :void ],
882
+ [ :Vertex3dv, [ :pointer ], :void ],
883
+ [ :Vertex3f, [ :float, :float, :float ], :void ],
884
+ [ :Vertex3fv, [ :pointer ], :void ],
885
+ [ :Vertex3i, [ :int, :int, :int ], :void ],
886
+ [ :Vertex3iv, [ :pointer ], :void ],
887
+ [ :Vertex3s, [ :short, :short, :short ], :void ],
888
+ [ :Vertex3sv, [ :pointer ], :void ],
889
+ [ :Vertex4d, [ :double, :double, :double, :double ], :void ],
890
+ [ :Vertex4dv, [ :pointer ], :void ],
891
+ [ :Vertex4f, [ :float, :float, :float, :float ], :void ],
892
+ [ :Vertex4fv, [ :pointer ], :void ],
893
+ [ :Vertex4i, [ :int, :int, :int, :int ], :void ],
894
+ [ :Vertex4iv, [ :pointer ], :void ],
895
+ [ :Vertex4s, [ :short, :short, :short, :short ], :void ],
896
+ [ :Vertex4sv, [ :pointer ], :void ],
897
+ [ :VertexPointer, [ :int, :uint, :int, :pointer ], :void ],
898
+ [ :Viewport, [ :int, :int, :int, :int ], :void ]
899
+ ].each do |name, args, ret|
900
+ attach_function name, "gl#{name}", args, ret
901
+ RenderContext.class_eval "def gl#{name}(*args) GL.#{name}(*args) end"
902
+ end
903
+ end
904
+ end
905
+
906
+ require_relative 'wgl' #TODO platforms